internal/

directory
v0.2.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: GPL-2.0, GPL-3.0

Directories

Path Synopsis
Package api defines the internal contracts between vibekit components.
Package api defines the internal contracts between vibekit components.
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.
Package bridge manages a single kiro-cli ACP subprocess.
Package bridge manages a single kiro-cli ACP subprocess.
Package buffer provides the per-chat assistant turn buffering subsystem.
Package buffer provides the per-chat assistant turn buffering subsystem.
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.
archive
Package archive implements the chat archive lifecycle: move to archive, list, restore, update summary, delete, and age-based purge.
Package archive implements the chat archive lifecycle: move to archive, list, restore, update summary, delete, and age-based purge.
gc
Package gc implements the blob garbage collector for the checkpoint subsystem.
Package gc implements the blob garbage collector for the checkpoint subsystem.
types
Package types defines checkpoint domain types shared between the checkpoint implementation and its consumers (api, hub).
Package types defines checkpoint domain types shared between the checkpoint implementation and its consumers (api, hub).
Package command implements the POST /api/command dispatch table.
Package command implements the POST /api/command dispatch table.
Package composition wires all vibekit services together and manages application lifecycle.
Package composition wires all vibekit services together and manages application lifecycle.
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.
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.
Package fileutil provides small filesystem helper utilities used across vibekit packages.
Package fileutil provides small filesystem helper utilities used across vibekit packages.
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).
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.
gitea
Package gitea provides the Gitea/Codeberg ForgeOps implementation.
Package gitea provides the Gitea/Codeberg ForgeOps implementation.
github
Package github provides the GitHub ForgeOps implementation.
Package github provides the GitHub ForgeOps implementation.
gitlab
Package gitlab provides the GitLab ForgeOps implementation.
Package gitlab provides the GitLab ForgeOps implementation.
oauth
Package oauth implements the GitHub OAuth device flow protocol.
Package oauth implements the GitHub OAuth device flow protocol.
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.
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.
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.
Package ids provides random identifier generation for stored records.
Package ids provides random identifier generation for stored records.
Package ignore is a gitignore-style agent read filter.
Package ignore is a gitignore-style agent read filter.
Package kiroauth reads (and refreshes) the ambient kiro-cli SSO access token so vibekit can answer the v3 (KAS) host-mediated auth callback (_kiro/auth/getAccessToken) over the ACP bridge.
Package kiroauth reads (and refreshes) the ambient kiro-cli SSO access token so vibekit can answer the v3 (KAS) host-mediated auth callback (_kiro/auth/getAccessToken) over the ACP bridge.
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.
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.
prewarm
Package prewarm handles npx package pre-warming for MCP servers.
Package prewarm handles npx package pre-warming for MCP servers.
Package pending implements the staging store for Supervised mode.
Package pending implements the staging store for Supervised mode.
Package permissions holds vibekit's one remaining permission control: the Supervised-mode default for newly-auto-created chats (SupervisedDefault, permissions_read.go).
Package permissions holds vibekit's one remaining permission control: the Supervised-mode default for newly-auto-created chats (SupervisedDefault, permissions_read.go).
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.
Package push manages Web Push subscriptions and delivers VAPID-signed notifications.
Package push manages Web Push subscriptions and delivers VAPID-signed notifications.
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.
Package server — REST Idempotency-Key dedup middleware.
Package server — REST Idempotency-Key dedup middleware.
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.
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.
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.
Package translate handles ACP → domain event translation.
Package translate handles ACP → domain event translation.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL