Directories
¶
| Path | Synopsis |
|---|---|
|
apps
|
|
|
cli
command
Command blitz is Blitz's command line: an interactive session (the REPL) in the current directory, a one-shot run with a prompt (`blitz "…"`, `blitz exec`), and the commands around them: doctor, config, service, workers and license.
|
Command blitz is Blitz's command line: an interactive session (the REPL) in the current directory, a one-shot run with a prompt (`blitz "…"`, `blitz exec`), and the commands around them: doctor, config, service, workers and license. |
|
cli/internal/tui
Package tui is the CLI's interactive session: the prompt with its history and completion, the slash commands, streamed Markdown output, approvals and questions answered at the terminal, and Ctrl+C to stop a turn.
|
Package tui is the CLI's interactive session: the prompt with its history and completion, the slash commands, streamed Markdown output, approvals and questions answered at the terminal, and Ctrl+C to stop a turn. |
|
desktop
command
Command blitz-desktop is Blitz's desktop app: a window laid out like an IDE (the workspace's files, an editor and the agent's chat), driving the per-user Blitz service (spec_desktop_024).
|
Command blitz-desktop is Blitz's desktop app: a window laid out like an IDE (the workspace's files, an editor and the agent's chat), driving the per-user Blitz service (spec_desktop_024). |
|
service
command
blitzd is the per-user Blitz service: it holds every workspace a client opens (the desktop app, and the CLI when it attaches) and runs the workers' schedules.
|
blitzd is the per-user Blitz service: it holds every workspace a client opens (the desktop app, and the CLI when it attaches) and runs the workers' schedules. |
|
service/internal/daemon
Package daemon runs the Blitz service: every workspace a client opens, served over the per-user socket, and the workers' schedules.
|
Package daemon runs the Blitz service: every workspace a client opens, served over the per-user socket, and the workers' schedules. |
|
service/internal/server
Package server serves Blitz's API (proto/blitz/v1) over Connect: one process holding every workspace a user opens, each an engine.Workspace.
|
Package server serves Blitz's API (proto/blitz/v1) over Connect: one process holding every workspace a user opens, each an engine.Workspace. |
|
service/servicetest
Package servicetest runs the Blitz service in a test, for packages outside the service that test against it (the client, the CLI, the desktop app).
|
Package servicetest runs the Blitz service in a test, for packages outside the service that test against it (the client, the CLI, the desktop app). |
|
build
|
|
|
analyzers/doccomment
Package doccomment is a nogo analyzer: every package has a package comment, and every exported declaration a doc comment (spec_release_readiness_030 RR-12).
|
Package doccomment is a nogo analyzer: every package has a package comment, and every exported declaration a doc comment (spec_release_readiness_030 RR-12). |
|
pkg
|
|
|
api
Package api is the contract between Blitz's front ends and its engine: the Backend a front end drives, and the values, events and errors that cross it.
|
Package api is the contract between Blitz's front ends and its engine: the Backend a front end drives, and the values, events and errors that cross it. |
|
client
Package client is a workspace held by the Blitz service, reached over its socket: an api.Backend, so front ends drive it exactly as they drive a local *engine.Workspace.
|
Package client is a workspace held by the Blitz service, reached over its socket: an api.Backend, so front ends drive it exactly as they drive a local *engine.Workspace. |
|
config
Package config loads Blitz's settings: one TOML file, .env.toml, in ~/.blitz (or $MODENV_PREFIX, or --config), with a workspace's own settings laid over it from ~/.blitz/workspaces, API keys resolved from the OS keychain, and environment variables applied last.
|
Package config loads Blitz's settings: one TOML file, .env.toml, in ~/.blitz (or $MODENV_PREFIX, or --config), with a workspace's own settings laid over it from ~/.blitz/workspaces, API keys resolved from the OS keychain, and environment variables applied last. |
|
engine
Package engine is Blitz without a user interface: it opens a workspace (registries, tools, sessions, the model and the engine) and exposes what a front end needs as an api.Backend.
|
Package engine is Blitz without a user interface: it opens a workspace (registries, tools, sessions, the model and the engine) and exposes what a front end needs as an api.Backend. |
|
engine/agents
Package agents loads the agents a workspace offers: the built-in ones and Markdown files with YAML frontmatter from ~/.blitz/agents (and the project's, when it's trusted), each a name, a description, a system prompt, the tools it may use and optionally its own model (spec_agents_014).
|
Package agents loads the agents a workspace offers: the built-in ones and Markdown files with YAML frontmatter from ~/.blitz/agents (and the project's, when it's trusted), each a name, a description, a system prompt, the tools it may use and optionally its own model (spec_agents_014). |
|
engine/agents/builtin
Package builtin holds the agents Blitz ships with, as Markdown files embedded in the binary.
|
Package builtin holds the agents Blitz ships with, as Markdown files embedded in the binary. |
|
engine/audit
Package audit writes an append-only JSONL record of what tools did and what the user approved or denied.
|
Package audit writes an append-only JSONL record of what tools did and what the user approved or denied. |
|
engine/breaker
Package breaker is a small circuit breaker for dependencies that fail persistently (MCP servers, model APIs): after a run of failures calls are refused for a cooldown that grows with each failed trial.
|
Package breaker is a small circuit breaker for dependencies that fail persistently (MCP servers, model APIs): after a run of failures calls are refused for a cooldown that grows with each failed trial. |
|
engine/commands
Package commands loads custom slash commands: Markdown files whose body is a prompt, from the user's and the project's command directories, plus the bundled ones.
|
Package commands loads custom slash commands: Markdown files whose body is a prompt, from the user's and the project's command directories, plus the bundled ones. |
|
engine/memory
Package memory loads project instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, BLITZ.md), the files they import, and rule files, which are added to the agents' system prompt.
|
Package memory loads project instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, BLITZ.md), the files they import, and rule files, which are added to the agents' system prompt. |
|
engine/runtime
Package runtime runs the agent: it wraps Google's ADK runner, builds the agent tree with its tools and sub-agents, runs a prompt as a turn within its limits, delivers steering mid-turn, answers side questions without touching history, compacts history, and records usage and traces.
|
Package runtime runs the agent: it wraps Google's ADK runner, builds the agent tree with its tools and sub-agents, runs a prompt as a turn within its limits, delivers steering mid-turn, answers side questions without touching history, compacts history, and records usage and traces. |
|
engine/session
Package session stores conversations: each session's metadata and its messages and events on disk, snapshots to branch from, search over a session's history, and the store ADK reads the conversation from (spec_sessions_017).
|
Package session stores conversations: each session's metadata and its messages and events on disk, snapshots to branch from, search over a session's history, and the store ADK reads the conversation from (spec_sessions_017). |
|
engine/skills
Package skills loads the skills a workspace offers: a SKILL.md with frontmatter and instructions, optionally scripts, from the built-in set, ~/.blitz/skills and (when trusted) the project; and the policy that caps what their scripts may do (spec_skills_013).
|
Package skills loads the skills a workspace offers: a SKILL.md with frontmatter and instructions, optionally scripts, from the built-in set, ~/.blitz/skills and (when trusted) the project; and the policy that caps what their scripts may do (spec_skills_013). |
|
engine/skills/builtin
Package builtin holds the skills Blitz ships with (a SKILL.md each), embedded in the binary.
|
Package builtin holds the skills Blitz ships with (a SKILL.md each), embedded in the binary. |
|
engine/tools
Package tools is everything the agent can do and the rules it does it under: file tools through the workspace's sandbox (with checkpoints for undo), shell commands under the command policy and the OS sandbox, approvals and permission rules, web fetch and search, MCP servers, skill scripts, images, the task list and questions to the user (spec_filetools_006, spec_shell_007, spec_approvals_005).
|
Package tools is everything the agent can do and the rules it does it under: file tools through the workspace's sandbox (with checkpoints for undo), shell commands under the command policy and the OS sandbox, approvals and permission rules, web fetch and search, MCP servers, skill scripts, images, the task list and questions to the user (spec_filetools_006, spec_shell_007, spec_approvals_005). |
|
engine/workers
Package workers reads workers: scheduled workflows a workspace defines in workers/<name>/WORKER.md (ROADMAP item 24).
|
Package workers reads workers: scheduled workflows a workspace defines in workers/<name>/WORKER.md (ROADMAP item 24). |
|
i18n
Package i18n translates user-interface text.
|
Package i18n translates user-interface text. |
|
images
Package images prepares pictures for vision models and keeps them out of session files.
|
Package images prepares pictures for vision models and keeps them out of session files. |
|
legal
Package legal holds Blitz's license terms, embedded in every program: the Apache License 2.0, the NOTICE (Blitz's copyright and Code Puppy's MIT notice) and the notices of the third-party software the programs include.
|
Package legal holds Blitz's license terms, embedded in every program: the Apache License 2.0, the NOTICE (Blitz's copyright and Code Puppy's MIT notice) and the notices of the third-party software the programs include. |
|
loginitem
Package loginitem starts the Blitz service (blitzd) at login and controls it: a launchd agent on macOS, a systemd user unit on Linux.
|
Package loginitem starts the Blitz service (blitzd) at login and controls it: a launchd agent on macOS, a systemd user unit on Linux. |
|
observability
Package observability provides the diagnostic log and OpenTelemetry export.
|
Package observability provides the diagnostic log and OpenTelemetry export. |
|
redact
Package redact masks secrets in text before it is written to disk.
|
Package redact masks secrets in text before it is written to disk. |
|
secrets
Package secrets keeps Blitz's secrets (API keys) out of its settings files: in the macOS Keychain, in the Secret Service on Linux (GNOME Keyring, KWallet), or, where neither is available, in an owner-only file beside the settings.
|
Package secrets keeps Blitz's secrets (API keys) out of its settings files: in the macOS Keychain, in the Secret Service on Linux (GNOME Keyring, KWallet), or, where neither is available, in an owner-only file beside the settings. |
|
socket
Package socket is where the per-user Blitz service listens and how clients reach it: a Unix socket that only its user can open.
|
Package socket is where the per-user Blitz service listens and how clients reach it: a Unix socket that only its user can open. |
|
textutil
Package textutil holds small string helpers shared by tools and the TUI.
|
Package textutil holds small string helpers shared by tools and the TUI. |
|
tools
|
|
|
codeowners
command
Command codeowners writes .github/CODEOWNERS from OWNERS.txt, so GitHub requests reviews from the maintainers who own the paths a change touches (spec_release_readiness_030 RR-42).
|
Command codeowners writes .github/CODEOWNERS from OWNERS.txt, so GitHub requests reviews from the maintainers who own the paths a change touches (spec_release_readiness_030 RR-42). |
|
coverage
command
Command coverage summarizes the Go tests' coverage from the LCOV report `bazel coverage --combined_report=lcov` writes: the total and each package's and file's share of lines covered.
|
Command coverage summarizes the Go tests' coverage from the LCOV report `bazel coverage --combined_report=lcov` writes: the total and each package's and file's share of lines covered. |
|
notices
command
Command notices writes THIRD_PARTY_NOTICES: the license of every Go module linked into Blitz's programs and of every npm package bundled into the desktop app's page, from the copies Bazel fetched.
|
Command notices writes THIRD_PARTY_NOTICES: the license of every Go module linked into Blitz's programs and of every npm package bundled into the desktop app's page, from the copies Bazel fetched. |
|
specs
command
Command specs checks the specs against the repository (spec_release_readiness_030 RR-21): every spec is in the specs index, and every repository path a spec names in backquotes exists.
|
Command specs checks the specs against the repository (spec_release_readiness_030 RR-21): every spec is in the specs index, and every repository path a spec names in backquotes exists. |
Click to show internal directories.
Click to hide internal directories.
