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. |
|
electron/winexe
command
Command winexe gives a Windows program Blitz's icon and details (the name Explorer, the taskbar and Task Manager show): it rewrites the resources of the Electron program the Windows zip ships as Blitz.exe (spec_electron_038 EL-06).
|
Command winexe gives a Windows program Blitz's icon and details (the name Explorer, the taskbar and Task Manager show): it rewrites the resources of the Electron program the Windows zip ships as Blitz.exe (spec_electron_038 EL-06). |
|
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/doctor
Package doctor checks a Blitz setup: configuration, credentials, models, the sandbox, permissions and integrations (blitz doctor runs it, through blitzd doctor, so the CLI needn't carry the engine).
|
Package doctor checks a Blitz setup: configuration, credentials, models, the sandbox, permissions and integrations (blitz doctor runs it, through blitzd doctor, so the CLI needn't carry the engine). |
|
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). |
|
tray
command
Command blitz-tray shows the Blitz service in the system tray: an icon with its state and, in its menu, Start, Stop and Restart, Open Blitz and Open the logs.
|
Command blitz-tray shows the Blitz service in the system tray: an icon with its state and, in its menu, Start, Stop and Restart, Open Blitz and Open the logs. |
|
tray/internal/tray
Package tray is the Blitz tray icon's behaviour, apart from the icon library: what the service's state is, the menu for it, and what its items do.
|
Package tray is the Blitz tray icon's behaviour, apart from the icon library: what the service's state is, the menu for it, and what its items do. |
|
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. |
|
config/configtest
Package configtest configures Blitz for tests.
|
Package configtest configures Blitz for tests. |
|
docx
Package docx writes Markdown as a Word document (.docx, Office Open XML) in pure Go, for Export as Word, the export_docx tool and /export (spec_filetools_006 FS-75): GitHub-flavoured Markdown parsed by goldmark, written as WordprocessingML with Word's own heading, list, quote, code and table styles, so the navigation pane, a table of contents and restyling work as in any Word document.
|
Package docx writes Markdown as a Word document (.docx, Office Open XML) in pure Go, for Export as Word, the export_docx tool and /export (spec_filetools_006 FS-75): GitHub-flavoured Markdown parsed by goldmark, written as WordprocessingML with Word's own heading, list, quote, code and table styles, so the navigation pane, a table of contents and restyling work as in any Word document. |
|
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, the project's .agents/agents (prompt text, loaded without trust; a project's agent may loosen the permission mode only once the project is trusted) and enabled plugins, 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, the project's .agents/agents (prompt text, loaded without trust; a project's agent may loosen the permission mode only once the project is trusted) and enabled plugins, 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/browser
Package browser drives a Chromium-family browser through the Chrome DevTools Protocol for the agent's browser tool (spec_parity_027 §5.2): its own throwaway profile, never the user's, with every request it makes going through a proxy that applies the web rules.
|
Package browser drives a Chromium-family browser through the Chrome DevTools Protocol for the agent's browser tool (spec_parity_027 §5.2): its own throwaway profile, never the user's, with every request it makes going through a proxy that applies the web rules. |
|
engine/browser/browsertest
Package browsertest is a fake DevTools page, to test code driving a browser without one: it answers the commands package browser sends as a simple page would, and records them.
|
Package browsertest is a fake DevTools page, to test code driving a browser without one: it answers the commands package browser sends as a simple page would, and records them. |
|
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/lsp
Package lsp talks to language servers for the agent's code intelligence (spec_parity_027 PAR-TOOL-03): definitions, references, hover, symbols and diagnostics, from servers started lazily per language.
|
Package lsp talks to language servers for the agent's code intelligence (spec_parity_027 PAR-TOOL-03): definitions, references, hover, symbols and diagnostics, from servers started lazily per language. |
|
engine/lsp/lsptest
Package lsptest is a fake language server for tests: the test binary runs it when started with BLITZ_FAKE_LSP=1 (call MaybeServe first in TestMain), and Launcher starts that.
|
Package lsptest is a fake language server for tests: the test binary runs it when started with BLITZ_FAKE_LSP=1 (call MaybeServe first in TestMain), and Launcher starts that. |
|
engine/mdpdf
Package mdpdf typesets Markdown as a PDF in pure Go, for the export_pdf tool (spec_filetools_006): GitHub-flavoured Markdown parsed by goldmark, laid out with fpdf in embedded Noto fonts, with an outline of the headings, page numbers, tables, highlighted code and the images the caller lets it read.
|
Package mdpdf typesets Markdown as a PDF in pure Go, for the export_pdf tool (spec_filetools_006): GitHub-flavoured Markdown parsed by goldmark, laid out with fpdf in embedded Noto fonts, with an outline of the headings, page numbers, tables, highlighted code and the images the caller lets it read. |
|
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/search
Package search is workspace search: an index of what a workspace holds (its files, the text of its PDFs and notebooks, its chats, its notes), kept on disk per workspace, brought up to date by scans that read only what changed, and searched by words (SQLite FTS5, ranked by BM25) and by substrings for code (spec_search_035).
|
Package search is workspace search: an index of what a workspace holds (its files, the text of its PDFs and notebooks, its chats, its notes), kept on disk per workspace, brought up to date by scans that read only what changed, and searched by words (SQLite FTS5, ranked by BM25) and by substrings for code (spec_search_035). |
|
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/table
Package table reads delimited tables (CSV, TSV) for the desktop app's table viewer and workspace search (spec_files_029, spec_search_035): their delimiter and encoding (Latin-1 is decoded), a profile of their columns, and pages of rows matched by a search across columns, filters on columns and a sort, streamed so a file of hundreds of megabytes isn't loaded whole.
|
Package table reads delimited tables (CSV, TSV) for the desktop app's table viewer and workspace search (spec_files_029, spec_search_035): their delimiter and encoding (Latin-1 is decoded), a profile of their columns, and pages of rows matched by a search across columns, filters on columns and a sort, streamed so a file of hundreds of megabytes isn't loaded whole. |
|
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). |
|
fileview
Package fileview shows files and folders in the system's own programs: a folder in the file manager, an image or PDF in its viewer, a file selected in its folder.
|
Package fileview shows files and folders in the system's own programs: a folder in the file manager, an image or PDF in its viewer, a file selected in its folder. |
|
i18n
Package i18n translates user-interface text.
|
Package i18n translates user-interface text. |
|
images
Package images prepares pictures and PDFs for models and keeps them out of session files.
|
Package images prepares pictures and PDFs for 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. |
|
markdown
Package markdown parses Markdown the way Blitz's exporters read it (GitHub-flavoured, by goldmark, with $…$ and $$…$$ maths, a leading YAML front matter dropped, as the desktop preview reads it) and gives the plain text of its nodes, for the PDF and Word writers alike.
|
Package markdown parses Markdown the way Blitz's exporters read it (GitHub-flavoured, by goldmark, with $…$ and $$…$$ maths, a leading YAML front matter dropped, as the desktop preview reads it) and gives the plain text of its nodes, for the PDF and Word writers alike. |
|
mcpauth
Package mcpauth signs Blitz in to MCP servers over HTTP with OAuth (spec_parity_027 PAR-MCP-04): the authorization-code flow with PKCE, through a local callback or a code pasted over SSH, with the client registered dynamically.
|
Package mcpauth signs Blitz in to MCP servers over HTTP with OAuth (spec_parity_027 PAR-MCP-04): the authorization-code flow with PKCE, through a local callback or a code pasted over SSH, with the client registered dynamically. |
|
observability
Package observability provides the diagnostic log and OpenTelemetry export.
|
Package observability provides the diagnostic log and OpenTelemetry export. |
|
pagehost
Package pagehost answers the desktop page's calls to the program that serves it: the Electron app's sidecar (blitz-tray --serve), and the tray's page in a browser on Windows.
|
Package pagehost answers the desktop page's calls to the program that serves it: the Electron app's sidecar (blitz-tray --serve), and the tray's page in a browser on Windows. |
|
pageserver
Package pageserver puts the desktop page in front of the service: Proxy forwards the page's API calls to the service's socket (the desktop app's web view and a Server both use it), and a Server serves the page itself to a browser, on a loopback port only whoever holds its link can use.
|
Package pageserver puts the desktop page in front of the service: Proxy forwards the page's API calls to the service's socket (the desktop app's web view and a Server both use it), and a Server serves the page itself to a browser, on a loopback port only whoever holds its link can use. |
|
pdftext
Package pdftext reads PDF files: whether data is one, its page count and its text, page by page (spec_images_011).
|
Package pdftext reads PDF files: whether data is one, its page count and its text, page by page (spec_images_011). |
|
plugins
Package plugins installs and loads Blitz plugins (spec_parity_027 §7.2): a directory with a plugin.toml bundling skills, commands, agents, hooks and MCP servers.
|
Package plugins installs and loads Blitz plugins (spec_parity_027 §7.2): a directory with a plugin.toml bundling skills, commands, agents, hooks and MCP servers. |
|
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. |
|
sandboxsetup
Package sandboxsetup is Linux's OS sandbox, from outside the engine: whether bubblewrap can run here, and, where AppArmor's restriction on unprivileged user namespaces stops it (Ubuntu 24.04 and later), an AppArmor profile that lets bwrap alone have them, installed with the user's password (sudo or pkexec).
|
Package sandboxsetup is Linux's OS sandbox, from outside the engine: whether bubblewrap can run here, and, where AppArmor's restriction on unprivileged user namespaces stops it (Ubuntu 24.04 and later), an AppArmor profile that lets bwrap alone have them, installed with the user's password (sudo or pkexec). |
|
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. |
|
selfupdate
Package selfupdate finds, checks and installs Blitz's releases, for `blitz update` and for the desktop app updating itself: the latest release from GitHub, versions compared, a release's files downloaded and checked against its checksums.txt and that file's signature (the release workflow's, made keylessly with Sigstore, checked here without cosign), then put in place all at once or not at all.
|
Package selfupdate finds, checks and installs Blitz's releases, for `blitz update` and for the desktop app updating itself: the latest release from GitHub, versions compared, a release's files downloaded and checked against its checksums.txt and that file's signature (the release workflow's, made keylessly with Sigstore, checked here without cosign), then put in place all at once or not at all. |
|
shellpath
Package shellpath finds programs as the user's terminal would: on the PATH an interactive login shell sets, which a GUI app or a login item doesn't inherit (Homebrew, the Google Cloud SDK, ~/.local/bin).
|
Package shellpath finds programs as the user's terminal would: on the PATH an interactive login shell sets, which a GUI app or a login item doesn't inherit (Homebrew, the Google Cloud SDK, ~/.local/bin). |
|
signin
Package signin signs in to model providers with each vendor's own tool (gcloud, ant, aws, az), for the Blitz service, so the credentials land where the service reads them.
|
Package signin signs in to model providers with each vendor's own tool (gcloud, ant, aws, az), for the Blitz service, so the credentials land where the service reads them. |
|
skillreg
Package skillreg installs skills from registries (spec_skills_013 SK-90..SK-96): a registry is a URL serving a JSON index of skills, each a .zip archive pinned by its SHA-256, as the Castor skills registry or anyone else can serve it.
|
Package skillreg installs skills from registries (spec_skills_013 SK-90..SK-96): a registry is a URL serving a JSON index of skills, each a .zip archive pinned by its SHA-256, as the Castor skills registry or anyone else can serve it. |
|
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. |
|
worktree
Package worktree gives work its own git worktree, so it can change files without touching the checkout the user works in (spec_parity_027 §8.2): <repo>/.blitz/worktrees/<name> on the branch blitz/<name>, from HEAD or another ref, with the untracked files .worktreeinclude lists (a .env, say) copied in.
|
Package worktree gives work its own git worktree, so it can change files without touching the checkout the user works in (spec_parity_027 §8.2): <repo>/.blitz/worktrees/<name> on the branch blitz/<name>, from HEAD or another ref, with the untracked files .worktreeinclude lists (a .env, say) copied in. |
|
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. |
|
pacman
command
Command pacman makes an Arch Linux package from a payload tar (a pkg_tar rooted at /): the archive pacman installs, with the .PKGINFO and the .MTREE makepkg would write ahead of the payload, every entry owned by root, its parent directories added and its times fixed.
|
Command pacman makes an Arch Linux package from a payload tar (a pkg_tar rooted at /): the archive pacman installs, with the .PKGINFO and the .MTREE makepkg would write ahead of the payload, every entry owned by root, its parent directories added and its times fixed. |
|
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. |
|
vsix
command
Command vsix packs a VS Code extension (apps/vscode) into a .vsix: the zip VS Code installs, with the manifest and content types vsce would write, the extension's files under extension/.
|
Command vsix packs a VS Code extension (apps/vscode) into a .vsix: the zip VS Code installs, with the manifest and content types vsce would write, the extension's files under extension/. |
Click to show internal directories.
Click to hide internal directories.