Skip to main content

Crate oino

Crate oino 

Source
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

ModuleContents
cli::argscli::args::parse_args → cli::args::Args
cli::helphelp text with extension flags
cli::files@file arguments, first message
cli::list_models--list-models table
cli::packagesinstall/remove/update/list/config
cli::self_updateoino update [--check] from the release manifest
startupservices, session selection, model/tool options
loadershare-dir, installed and -e packages, builtin: components
modes::printtext and JSON output
modes::rpcRPC server on stdio
modes::interactivethe TUI over an in-process backend
modes::acpACP 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 by oino_core::extensions::sources — dist.md §5) plus the builtin:<id> test components (feature faux) and the WasmRuntime construction.
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.