Skip to main content

Crate outrig_cli

Crate outrig_cli 

Source
Expand description

Internals of the outrig CLI binary, exposed as a library so the integration tests in tests/ can reach them. End users should depend on the outrig crate (the library) instead.

Modules§

cli
CLI subcommand entry points. Each subcommand owns its arg struct and its execute function; bin/outrig.rs stays a thin dispatch table.
config_init
outrig config init – interactive writer for the global config.
error
Error type for the binary. Wraps outrig::error::OutrigError plus the bin-only variants for LLM resolution and Rig prompt failures.
hf
Minimal HuggingFace tree-listing helper used by outrig config init.
image_setup
Scaffolding for new image-configs: outrig image add generates a Dockerfile plus a [images.<name>] block by rendering a curated set of base-image templates.
init
outrig init – three-phase orchestrator for end-to-end setup.
llm
Resolve agent -> model -> provider; build Rig agent.
mcp_self
Self-description MCP server for outrig mcp self.
repl
Interactive stdin/stdout REPL with slash commands.
rig_tool
MCP -> Rig dynamic-tool adapter.
session
SessionStore: layout under <session-root>/<sid>/.