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
executefunction;bin/outrig.rsstays a thin dispatch table. - config_
init outrig config init– interactive writer for the global config.- error
- Error type for the binary. Wraps
outrig::error::OutrigErrorplus 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 addgenerates 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>/.