Documentation
¶
Overview ¶
Vibekit for Kiro: ACP-based web interface for kiro-cli.
One kiro-cli subprocess per active chat; multiple browsers on the same chat share the same bridge and context. Server is the source of truth; the browser projects server state via SSE + GET /api/chats.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bundle
command
Command bundle builds vibekit's browser client: it bundles the TypeScript entrypoints with esbuild (a Go library — no Node, no npm, per the fleet's no-Node-in-the-builder doctrine) and assembles the CSS bundle from the manifest files.
|
Command bundle builds vibekit's browser client: it bundles the TypeScript entrypoints with esbuild (a Go library — no Node, no npm, per the fleet's no-Node-in-the-builder doctrine) and assembles the CSS bundle from the manifest files. |
|
wire-codegen
command
Command wire-codegen generates TypeScript interfaces, validating decoders, and an SSE event→decoder registry from Go wire types using the wiregen library (AST-based; github.com/cplieger/wiregen/v2).
|
Command wire-codegen generates TypeScript interfaces, validating decoders, and an SSE event→decoder registry from Go wire types using the wiregen library (AST-based; github.com/cplieger/wiregen/v2). |
|
internal
|
|
|
api
Package api defines the internal contracts between vibekit components.
|
Package api defines the internal contracts between vibekit components. |
|
auth
Package auth wires the /api/whoami, /api/login, /api/logout endpoints that shell out to the bundled kiro-cli binary for identity operations.
|
Package auth wires the /api/whoami, /api/login, /api/logout endpoints that shell out to the bundled kiro-cli binary for identity operations. |
|
bridge
Package bridge manages a single kiro-cli ACP subprocess.
|
Package bridge manages a single kiro-cli ACP subprocess. |
|
buffer
Package buffer provides the per-chat assistant turn buffering subsystem.
|
Package buffer provides the per-chat assistant turn buffering subsystem. |
|
chat
Package chat implements per-chat persistence: one JSON file per chat under <dir>/<chat_id>.json.
|
Package chat implements per-chat persistence: one JSON file per chat under <dir>/<chat_id>.json. |
|
chat/archive
Package archive implements chat RETENTION: the age-based purge and its scheduler.
|
Package archive implements chat RETENTION: the age-based purge and its scheduler. |
|
checkpoint
Package checkpoint is a line-diff primitive, and nothing else.
|
Package checkpoint is a line-diff primitive, and nothing else. |
|
command
Package command implements the POST /api/command dispatch table.
|
Package command implements the POST /api/command dispatch table. |
|
composition
Package composition wires all vibekit services together and manages application lifecycle.
|
Package composition wires all vibekit services together and manages application lifecycle. |
|
dedup
Package dedup provides a bounded, TTL-based idempotency cache for deduplicating repeated requests by request ID.
|
Package dedup provides a bounded, TTL-based idempotency cache for deduplicating repeated requests by request ID. |
|
filehandler
Package filehandler provides HTTP endpoints for browsing, reading, editing, uploading, and downloading files.
|
Package filehandler provides HTTP endpoints for browsing, reading, editing, uploading, and downloading files. |
|
fileutil
Package fileutil provides small filesystem helper utilities used across vibekit packages.
|
Package fileutil provides small filesystem helper utilities used across vibekit packages. |
|
forges
Package forges integrates remote git forges (GitHub, GitLab, Gitea/Codeberg) by orchestrating their first-party CLI tools (gh, glab, tea).
|
Package forges integrates remote git forges (GitHub, GitLab, Gitea/Codeberg) by orchestrating their first-party CLI tools (gh, glab, tea). |
|
forges/cliexec
Package cliexec provides CLI subprocess execution with structured output capture, size-capped buffers, and typed errors.
|
Package cliexec provides CLI subprocess execution with structured output capture, size-capped buffers, and typed errors. |
|
forges/oauth
Package oauth implements the GitHub OAuth device flow protocol.
|
Package oauth implements the GitHub OAuth device flow protocol. |
|
git
Package git provides HTTP handlers and utilities for git operations and AI-assisted workflows.
|
Package git provides HTTP handlers and utilities for git operations and AI-assisted workflows. |
|
gitexec
Package gitexec provides hardened git subprocess execution and credential scrubbing shared by the git and forges packages.
|
Package gitexec provides hardened git subprocess execution and credential scrubbing shared by the git and forges packages. |
|
hub
Package hub coordinates the server's per-chat runtime: SSE fan-out, ACP bridge lifecycle, and POST /api/command dispatch — plus the service surfaces that ride the shared utility bridge (knowledge, specs, hooks, governance, account usage, policy), checkpoint HTTP, agent terminals, the browser PTY shell shim, and the MCP runtime registry.
|
Package hub coordinates the server's per-chat runtime: SSE fan-out, ACP bridge lifecycle, and POST /api/command dispatch — plus the service surfaces that ride the shared utility bridge (knowledge, specs, hooks, governance, account usage, policy), checkpoint HTTP, agent terminals, the browser PTY shell shim, and the MCP runtime registry. |
|
ids
Package ids provides random identifier generation for stored records.
|
Package ids provides random identifier generation for stored records. |
|
ignore
Package ignore is a gitignore-style agent read filter.
|
Package ignore is a gitignore-style agent read filter. |
|
kiroauth
Package kiroauth answers the v3 (KAS) host-mediated auth callback (_kiro/auth/getAccessToken) by asking kiro-cli itself for a fresh access token.
|
Package kiroauth answers the v3 (KAS) host-mediated auth callback (_kiro/auth/getAccessToken) by asking kiro-cli itself for a fresh access token. |
|
kirosession
Package kirosession reaps kiro-cli / KAS on-disk session state that vibekit no longer needs.
|
Package kirosession reaps kiro-cli / KAS on-disk session state that vibekit no longer needs. |
|
logctl
Package logctl owns the process-wide slog handler so settings toggles can flip the log level at runtime without restarting the container.
|
Package logctl owns the process-wide slog handler so settings toggles can flip the log level at runtime without restarting the container. |
|
mcp
Package mcp persists and serves the user's configured MCP (Model Context Protocol) servers.
|
Package mcp persists and serves the user's configured MCP (Model Context Protocol) servers. |
|
mcp/prewarm
Package prewarm handles npx package pre-warming for MCP servers.
|
Package prewarm handles npx package pre-warming for MCP servers. |
|
policyfile
Package policyfile reads and writes kiro-cli's native Cedar permission policy files (permissions.yaml) for the user and workspace scopes.
|
Package policyfile reads and writes kiro-cli's native Cedar permission policy files (permissions.yaml) for the user and workspace scopes. |
|
push
Package push manages Web Push subscriptions and delivers VAPID-signed notifications.
|
Package push manages Web Push subscriptions and delivers VAPID-signed notifications. |
|
push/crypto
Package crypto provides RFC 8291 encryption helpers and VAPID JWT construction for Web Push.
|
Package crypto provides RFC 8291 encryption helpers and VAPID JWT construction for Web Push. |
|
redact
Package redact removes credential-shaped substrings from text before it is persisted, re-served, or exported.
|
Package redact removes credential-shaped substrings from text before it is persisted, re-served, or exported. |
|
schedule
Package schedule computes when a recurring workflow run is next due.
|
Package schedule computes when a recurring workflow run is next due. |
|
secretstore
Package secretstore persists the opaque credential blobs KAS asks vibekit to hold on its behalf via the v3 `_kiro/secret/*` requests.
|
Package secretstore persists the opaque credential blobs KAS asks vibekit to hold on its behalf via the v3 `_kiro/secret/*` requests. |
|
server
Package server — REST Idempotency-Key dedup middleware.
|
Package server — REST Idempotency-Key dedup middleware. |
|
settings
Package settings provides a single-source-of-truth reader for <configDir>/config.json.
|
Package settings provides a single-source-of-truth reader for <configDir>/config.json. |
|
steering
Package steering generates the environment.md steering file kiro-cli reads on every session.
|
Package steering generates the environment.md steering file kiro-cli reads on every session. |
|
testsupport
Package testsupport provides shared test fakes for interfaces defined in the api package.
|
Package testsupport provides shared test fakes for interfaces defined in the api package. |
|
translate
Package translate handles ACP → domain event translation.
|
Package translate handles ACP → domain event translation. |
|
version
Package version holds the single-source-of-truth build version string for vibekit.
|
Package version holds the single-source-of-truth build version string for vibekit. |
|
workflow
Package workflow decodes KAS's workflow-run wire shapes.
|
Package workflow decodes KAS's workflow-run wire shapes. |
|
workspace
Package workspace provides path helpers for kiro-cli's per-user state directory.
|
Package workspace provides path helpers for kiro-cli's per-user state directory. |
|
scripts
|
|
|
wirecheck
command
Command wirecheck asserts wire-protocol compatibility between the Go server half (the web-terminal-engine module go.mod pins, used by the PTY shell in internal/hub) and the bundled TS client half (the Dockerfile-ARG- pinned npm artifact that static-src/shell.ts imports).
|
Command wirecheck asserts wire-protocol compatibility between the Go server half (the web-terminal-engine module go.mod pins, used by the PTY shell in internal/hub) and the bundled TS client half (the Dockerfile-ARG- pinned npm artifact that static-src/shell.ts imports). |
Click to show internal directories.
Click to hide internal directories.