Directories
¶
| Path | Synopsis |
|---|---|
|
Command bench is Smif's benchmark (docs/rfc-benchmark.md, tiers S, R and T).
|
Command bench is Smif's benchmark (docs/rfc-benchmark.md, tiers S, R and T). |
|
cmd
|
|
|
smif
command
Command smif is the Smif CLI, daemon, MCP server, hooks and status line in one static binary (RFC 4.1).
|
Command smif is the Smif CLI, daemon, MCP server, hooks and status line in one static binary (RFC 4.1). |
|
internal
|
|
|
api
Package api is Smif's wire protocol: newline-delimited JSON-RPC 2.0 over a Unix socket (RFC 5.4), plus the request and response types of every method in RFC 7.1.
|
Package api is Smif's wire protocol: newline-delimited JSON-RPC 2.0 over a Unix socket (RFC 5.4), plus the request and response types of every method in RFC 7.1. |
|
audit
Package audit mirrors committed audit rows into the append-only daily JSONL log (RFC 8.1, 8.3).
|
Package audit mirrors committed audit rows into the append-only daily JSONL log (RFC 8.1, 8.3). |
|
auth
Package auth manages agent tokens, run-scoped worker tokens and peer credential checks (RFC 5.4, 8.2).
|
Package auth manages agent tokens, run-scoped worker tokens and peer credential checks (RFC 5.4, 8.2). |
|
blob
Package blob is content-addressed attachment storage under blobs/sha256/ab/cd<rest> (RFC 8.1).
|
Package blob is content-addressed attachment storage under blobs/sha256/ab/cd<rest> (RFC 8.1). |
|
config
Package config loads and validates ~/.config/smif/config.toml (RFC 7.6).
|
Package config loads and validates ~/.config/smif/config.toml (RFC 7.6). |
|
daemon
Package daemon wires Smif together: the socket API, the store, the router, the scheduler, the supervisor and the runners.
|
Package daemon wires Smif together: the socket API, the store, the router, the scheduler, the supervisor and the runners. |
|
envelope
Package envelope defines the immutable message envelope (RFC 5.1) and the limits checked at ingress.
|
Package envelope defines the immutable message envelope (RFC 5.1) and the limits checked at ingress. |
|
harness
Package harness is the layer between the daemon and each coding agent's own files (ADR-0019).
|
Package harness is the layer between the daemon and each coding agent's own files (ADR-0019). |
|
harness/claude
Package claude is the Claude Code provider (ADR-0019): session files, transcripts, the file status, the fork route, the process name and the history of past sessions (history.go, ADR-0021).
|
Package claude is the Claude Code provider (ADR-0019): session files, transcripts, the file status, the fork route, the process name and the history of past sessions (history.go, ADR-0021). |
|
harness/codex
Package codex is the Codex CLI provider (ADR-0019).
|
Package codex is the Codex CLI provider (ADR-0019). |
|
harness/copilot
Package copilot is the GitHub Copilot CLI provider (ADR-0019).
|
Package copilot is the GitHub Copilot CLI provider (ADR-0019). |
|
harness/droid
Package droid is the Factory Droid provider (ADR-0019).
|
Package droid is the Factory Droid provider (ADR-0019). |
|
harness/hermes
Package hermes is the Hermes Agent provider.
|
Package hermes is the Hermes Agent provider. |
|
harness/opencode
Package opencode is the OpenCode V2 provider (ADR-0019).
|
Package opencode is the OpenCode V2 provider (ADR-0019). |
|
harness/qwen
Package qwen is the Qwen Code provider (ADR-0019).
|
Package qwen is the Qwen Code provider (ADR-0019). |
|
install
Package install adds and removes Smif's hooks, status line, slash command, MCP registration and service unit (RFC 7.3, 7.4, R-OPS-1).
|
Package install adds and removes Smif's hooks, status line, slash command, MCP registration and service unit (RFC 7.3, 7.4, R-OPS-1). |
|
machines
Package machines adds another machine to the session list (ADR-0024): it finds candidates, and it runs the one setup both `smif remote add` and the Machines screen use.
|
Package machines adds another machine to the session list (ADR-0024): it finds candidates, and it runs the one setup both `smif remote add` and the Machines screen use. |
|
mcpserver
Package mcpserver is the stdio MCP server interactive sessions and onward-enabled workers use to send mail (RFC 7.2).
|
Package mcpserver is the stdio MCP server interactive sessions and onward-enabled workers use to send mail (RFC 7.2). |
|
notify
Package notify raises OS notifications for needs_human, dead letters and budget exhaustion (RFC 7.4).
|
Package notify raises OS notifications for needs_human, dead letters and budget exhaustion (RFC 7.4). |
|
paths
Package paths resolves Smif's config, data and socket locations.
|
Package paths resolves Smif's config, data and socket locations. |
|
presence
Package presence turns Claude Code hook and status-line payloads into presence updates (RFC 6.4, 7.4).
|
Package presence turns Claude Code hook and status-line payloads into presence updates (RFC 6.4, 7.4). |
|
router
Package router decides, in code, how a message is handled (RFC 6.1, 6.6, R-ISO-3): allowlists first, then hop and thread guards, then the first matching rule.
|
Package router decides, in code, how a message is handled (RFC 6.1, 6.6, R-ISO-3): allowlists first, then hop and thread guards, then the first matching rule. |
|
runner
Package runner defines the handler interface and the structured result every handler returns (RFC 6.3, 7.5, R-RUN-2).
|
Package runner defines the handler interface and the structured result every handler returns (RFC 6.3, 7.5, R-RUN-2). |
|
runner/claude
Package claude runs Claude Code workers headless (RFC 6.3).
|
Package claude runs Claude Code workers headless (RFC 6.3). |
|
runner/codex
Package codex runs a read-only mail worker on `codex exec` (ADR-0022).
|
Package codex runs a read-only mail worker on `codex exec` (ADR-0022). |
|
runner/command
Package command runs deterministic command handlers (RFC 7.5): the envelope on stdin, one JSON result object on stdout, no LLM.
|
Package command runs deterministic command handlers (RFC 7.5): the envelope on stdin, one JSON result object on stdout, no LLM. |
|
scheduler
Package scheduler orders runnable messages and enforces concurrency caps (RFC 6.5, R-CON-1): one worker per agent, a global worker cap, and a separate command-handler pool.
|
Package scheduler orders runnable messages and enforces concurrency caps (RFC 6.5, R-CON-1): one worker per agent, a global worker cap, and a separate command-handler pool. |
|
statusline
Package statusline renders Smif's status-line segment and wraps an existing status-line command (RFC 7.4, R-HUM-1).
|
Package statusline renders Smif's status-line segment and wraps an existing status-line command (RFC 7.4, R-HUM-1). |
|
store
Package store owns Smif's SQLite database: messages, runs, presence, cursors, budgets, blobs, threads and the audit table (RFC 8.1).
|
Package store owns Smif's SQLite database: messages, runs, presence, cursors, budgets, blobs, threads and the audit table (RFC 8.1). |
|
supervisor
Package supervisor runs handler processes in their own process group so a timeout or cancel kills the whole tree with kill(-pgid) (RFC 4.2, 6.7).
|
Package supervisor runs handler processes in their own process group so a timeout or cancel kills the whole tree with kill(-pgid) (RFC 4.2, 6.7). |
|
ui
Package ui is the human terminal UI (`smif ui`): a Bubble Tea program that polls the daemon socket with the human token and draws the overview.
|
Package ui is the human terminal UI (`smif ui`): a Bubble Tea program that polls the daemon socket with the human token and draws the overview. |
|
workspace
Package workspace manages per-agent git worktrees and thread branches (RFC 6.4, D5).
|
Package workspace manages per-agent git worktrees and thread branches (RFC 6.4, D5). |
|
site
|
|
|
demo/fakeclaude
command
Command claude stands in for a Claude Code process in the site's recordings (director.py): it waits until it is killed, while its tty echoes whatever Smif types.
|
Command claude stands in for a Claude Code process in the site's recordings (director.py): it waits until it is killed, while its tty echoes whatever Smif types. |
Click to show internal directories.
Click to hide internal directories.