Skip to main content

Crate arabica_cli

Crate arabica_cli 

Source
Expand description

arabica-cli: the composition host that binds the canonical Command/Event protocol to stdio.

Per docs/protocol.md §1, a composition host wires the existing modules in one process and exposes the protocol without adding vocabulary of its own; it is not a UI surface and is not blocked by the protocol freeze checklist. arabica-server is the HTTP + SSE host; this crate is the stdio one. Interactive terminal chat, arabica acp (Agent Client Protocol v1), and structure -p (one-shot execution) share the same runtime composition; see docs/runtime_core_architecture.md Appendix B for the decision record.

Modules§

acp
arabica acp: Agent Client Protocol v1 over stdio.
auth
User-owned credential storage for the terminal CLI.
config
User-owned CLI settings and optional user-file credentials.
evaluation
Host composition for detached evaluation workers, shared per ARABICA_HOME.
host
Composes the production crates into one CLI-shaped runtime.
interactive
Line-oriented interactive terminal binding for the coding runtime.
mcp
MCP tools supplied by an ACP client for one session.
models
Dynamic model discovery and catalog synchronization for CLI and Desktop hosts.
print
structure -p: run one task non-interactively and exit.
runner
Remote runners over the Loop–Runner Protocol: arabica runner serve on the machine that owns a workspace, and the --runner <name> connection the agent loop opens to it.
sessions
arabica sessions list: show sessions stored under $ARABICA_HOME (arabica_adapters::SqliteSessionStore), the same database -p’s --continue/--resume <id> (crates/arabica-cli/src/print.rs) pick back up.
settings
Structured, credential-redacted editing of the user-owned configuration.
skills
Local skill discovery. Runtime receives immutable text, never filesystem paths.
tui
Fullscreen terminal conversation: a scrolling history pane on top, a Claude-style divider, and a pinned editor block at the bottom. Output buffers into Transcript (rows grouped into blocks) and the renderer paints the pane each frame, so block highlight, scrolling, and the divider all stay consistent without scrollback surgery.
update
Signed release updates for standalone CLI installations.