Skip to main content

Module install

Module install 

Source
Expand description

tools install sub-tier. Mirrors objectiveai-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’s Response.

Modules§

filesystem
tools install filesystem — return the static INSTRUCTIONS.md asset describing how to install a tool from a local path.
github
tools install github — fetch the manifest, check the whitelist, and install the tool under ~/.objectiveai/bin/tools/<owner>/<repository>/<version>/. The bare-naked contract surfaces the untrusted decision as the typed Error::NotWhitelisted { kind: "tool", .. } variant.

Functions§

execute