Skip to main content
Reference · Information

senkani_bundle

Live Savings repo-level

Budget-bounded repo snapshot — symbol outlines + dep graph + KB entities + README in a canonical, truncation-robust order. Local or remote.

Signature

senkani_mcp.call(tool="senkani_bundle", args={...})

Behavior

`BundleComposer` composes outputs within a fixed token budget. Sections order is canonical so partial truncation still produces a parseable brief. Local mode snapshots the current workspace; remote mode (`remote: "owner/name"`) uses `senkani_repo` to snapshot any public GitHub repo. Two output formats: `format: "markdown"` (default) or `format: "json"` (stable-schema `BundleDocument`).

Inputs

Name
Type
Default
Description
budget_tokens
integer
8000
Max tokens in the output bundle.
remote
string
`owner/name` for a public GitHub repo. Omit for local mode.
format
string
markdown
`markdown` or `json`.
include
array
all
Subset of `[outlines, deps, kb, readme]`.

Output

Markdown document or a `BundleDocument` JSON.

Example

{"tool":"senkani_bundle","args":{"budget_tokens":6000}}
Host allowlist (api.github.com, raw.githubusercontent.com) + SecretDetector on every scanned file.

See also

Source: Sources/Bundle/BundleComposer.swift