Expand description
outrig image add – interactive scaffolding of a new image-config.
Walks the user through name, base image, toolchains, and MCP servers, then
writes .agents/outrig/images/<name>/Dockerfile and appends matching
[images.<name>] and [images.<name>.mcp] blocks to the repo
config.toml. The TOML mutation goes through toml_edit so any
surrounding comments and formatting survive.
run constructs real terminal I/O; run_with is the test seam that takes
an arbitrary PromptSource.
Constants§
- DOC_
SYNC_ FIELDS - Slice of every
Fielddeclared in this module, forprompt_doc_sync.rs.
Functions§
- run
- CLI entry point. Resolves the repo root from
cwd(walking up, with a fallback prompt to bootstrap a fresh.agents/outrig/config.tomlif none is found) before running the interactive image-add flow. OnePromptSourceis threaded through both halves so the user sees a single conversation.global_overrideplumbs--global-configinto the bootstrap path so the model-section can list models from the right global config. - run_
with - Drives the interactive flow against an arbitrary
PromptSource.