Expand description
tools tier dispatch. Mirrors
objectiveai-sdk-rs/src/cli/command/tools/mod.rs. list, run, and
install (a filesystem/github sub-tier) stream; get is unary.
Modules§
- get
tools get— read one tool’s manifest by(owner, name, version). ReturnsNoneif not present.- install
tools installsub-tier. Mirrorsobjectiveai-sdk-rs/src/cli/command/tools/install/mod.rs. Both leaves (filesystem,github) are unary; this dispatcher returns a one-shot stream wrapping the chosen leaf’sResponse.- list
tools list— bare-naked streaming handler stub. Emits oneResponseItemper installed tool.- run
tools run— resolve a tool by(owner, name, version), build its command from the current platform’s exec vector + the caller’s args, run it with the tool’s version folder’scli/subdir as the working directory (perresolve_tool), and yield each stdout/stderr line as aResponseItemas it arrives. A non-zero exit code surfaces as a finalErr(Error::ToolExit(code)).