Expand description
Modules§
- agent_
check - Agent frontmatter permission check.
- aliases
- User-defined aliases:
git-style shortcuts defined inroba.tomlthat expand to a prompt template (plus default flags / a pinned agent) and dispatch like a normalrobacall. - cli
- Clap-derived CLI structs.
Cliis the top-level entry; default invocation (no subcommand) dispatches tocrate::run_askwith the flattenedAskArgs. - cost
roba cost– aggregate token usage from session history.- doctor
roba doctor– a health check for the claude boundary.- env
ROBA_<PARAM>env-var override layer.- error
- JSON error envelope for
--jsonmode. - history
roba history,roba last, and the--pickinteractive chooser.- output
- Output-side helpers: formatters for the cost footer, truncation, refusal heuristics, code-block extraction.
- profile
- Config system for
roba. - prompt
- Prompt input + composition.
- rates
- Per-model dollar-rate table for cost reporting.
- render
- Presentation / “eye candy” subsystem.
- session
- Session continuation and permission preset application.
- stream
- Streaming-mode pipeline (–stream).
Functions§
- classify_
exit_ code - Map an anyhow error chain to a stable exit code:
- dispatch
- Dispatch a parsed
Clito the matching runner. Subcommands (history, last) run synchronously; the default action (run_ask) is async. - run_ask
- Default action: resolve a prompt, send it through claude, render the result.