Expand description
oino: the headless Oino binary over oino-core (modes.md §1–§3).
The command line (fixed flags and semantics): interactive mode (the oino-tui
client), print mode, JSON event stream mode, RPC mode and ACP mode on stdio. Every mode
loads the share-dir, installed and -e extension packages (loader). Package subcommands
(install, remove, update, list, config) and the self-update (oino update) run
before flag parsing; serve is not available yet.
§API map
| Module | Contents |
|---|---|
cli::args | cli::args::parse_args → cli::args::Args |
cli::help | help text with extension flags |
cli::files | @file arguments, first message |
cli::list_models | --list-models table |
cli::packages | install/remove/update/list/config |
cli::self_update | oino update [--check] from the release manifest |
startup | services, session selection, model/tool options |
loader | share-dir, installed and -e packages, builtin: components |
modes::print | text and JSON output |
modes::rpc | RPC server on stdio |
modes::interactive | the TUI over an in-process backend |
modes::acp | ACP agent on stdio (oino-acp) |
faux (feature) | — |
Modules§
- cli
- Command-line parsing and the pieces the headless binary needs.
- loader
- Extension sources (
-e/--extension, installed packages and the distribution share dir, all resolved byoino_core::extensions::sources— dist.md §5) plus thebuiltin:<id>test components (featurefaux) and theWasmRuntimeconstruction. - modes
- Run modes: interactive (TUI), print/JSON, RPC and ACP.
- startup
- Startup: services, session selection, model/tool options, runtime.
Constants§
- VERSION
- The version printed by
-v.
Functions§
- run
- Runs the CLI with
command_line(without the program name); returns the exit code.