Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
brainjar
command
Package main is the entry point for the brainjar CLI.
|
Package main is the entry point for the brainjar CLI. |
|
database
|
|
|
gen
|
|
|
internal
|
|
|
backend
Package backend wires the app layer to a concrete store.
|
Package backend wires the app layer to a concrete store. |
|
bundle
Package bundle defines the content-bundle serialization format used by pack export/import (file-based CLI) and admin export/import (HTTP).
|
Package bundle defines the content-bundle serialization format used by pack export/import (file-based CLI) and admin export/import (HTTP). |
|
cli
Package cli implements the brainjar command-line interface on top of cobra.
|
Package cli implements the brainjar command-line interface on top of cobra. |
|
guides
Package guides ships brainjar-authored markdown content as Claude Code SKILL.md files.
|
Package guides ships brainjar-authored markdown content as Claude Code SKILL.md files. |
|
http/server
Package server implements the brainjar HTTP server.
|
Package server implements the brainjar HTTP server. |
|
mcp/server
Package server builds the brainjar MCP server.
|
Package server builds the brainjar MCP server. |
|
mcp/tools
Package tools holds the brainjar MCP tool implementations.
|
Package tools holds the brainjar MCP tool implementations. |
|
platform
Package platform adapts brainjar's composed prompts to agent-specific config files on disk.
|
Package platform adapts brainjar's composed prompts to agent-specific config files on disk. |
|
platform/adapterkit
Package adapterkit holds the helpers shared by every brainjar Platform adapter: marker constants, brainjar brand strings, atomic file / JSON I/O, hook-entry identity, and the managed-section merge algorithm.
|
Package adapterkit holds the helpers shared by every brainjar Platform adapter: marker constants, brainjar brand strings, atomic file / JSON I/O, hook-entry identity, and the managed-section merge algorithm. |
|
platform/claude
Package claude is the brainjar Platform adapter for Claude Code.
|
Package claude is the brainjar Platform adapter for Claude Code. |
|
platform/codex
Package codex is the brainjar Platform adapter for OpenAI Codex CLI.
|
Package codex is the brainjar Platform adapter for OpenAI Codex CLI. |
|
platform/cursor
Package cursor is the brainjar Platform adapter for the Cursor IDE (cursor.com).
|
Package cursor is the brainjar Platform adapter for the Cursor IDE (cursor.com). |
|
platform/skillemit
Package skillemit owns the per-scope skill writer + pruner shared between the embedded guides emit step and every platform adapter that knows how to land workspace skills on disk (Claude today, more later).
|
Package skillemit owns the per-scope skill writer + pruner shared between the embedded guides emit step and every platform adapter that knows how to land workspace skills on disk (Claude today, more later). |
|
platform/testutil
Package testutil provides shared test contracts that every platform adapter runs against.
|
Package testutil provides shared test contracts that every platform adapter runs against. |
|
secrets
Package secrets resolves an api_key_ref (e.g.
|
Package secrets resolves an api_key_ref (e.g. |
|
updater
Package updater implements `brainjar upgrade` — in-process self-update that fetches the latest release from R2, verifies the cosign bundle against a pinned identity, and atomically swaps the running binary.
|
Package updater implements `brainjar upgrade` — in-process self-update that fetches the latest release from R2, verifies the cosign bundle against a pinned identity, and atomically swaps the running binary. |
|
pkg
|
|
|
errors
Package errors is brainjar's single domain-error type.
|
Package errors is brainjar's single domain-error type. |
|
version
Package version holds the brainjar binary version as a single source of truth.
|
Package version holds the brainjar binary version as a single source of truth. |
Click to show internal directories.
Click to hide internal directories.