Skip to main content

Crate terminal_jarvis

Crate terminal_jarvis 

Source

Modules§

catalog
Public face of the catalog domain: loading, truth, and validation of the harness catalog.
cli
Public face of the cli domain: the command-line entry point.
context
Public face of the context domain: environment and session state.
contracts
Public face of the contracts domain: the shared data shapes every other domain depends on. Consumers import from contracts, never from contracts::structs internals.
converse
Converse: two coding harnesses talking to each other in a tui tab. Each turn is one one-shot headless invocation (opencode run, hermes -z), captured and painted into the frame between turns so the exchange is watchable and Ctrl-C always stops the current child, never the session scaffold. The token bill is explicit: a fixed turn cap per conversation.
diagnostics
Public face of the diagnostics domain: collecting and rendering the environment report.
gates
Public face of the gates domain: per-invocation gate selection and the loader/runner that apply it.
runtime
Public face of the runtime domain: the harness execution loop.
security
Security: PATH resolution and the harness environment contract.
tui
Public face of the tui domain: the interactive switcher for the harness catalog. run is invoked by the cli domain for the tui action and for bare invocations on a terminal. The domain is a thin, line-oriented shell over the headless command surface – every slash command and selection maps onto the exact Action grammar the cli parses, so TUI and headless never drift. guard is pure and unit-tested; run only executes it.