Skip to main content

Module install

Module install 

Source
Expand description

plugins install sub-tier. Mirrors objectiveai-sdk-rs/src/cli/command/plugins/install/mod.rs. Both leaves (filesystem, github) are unary; this dispatcher returns a one-shot stream wrapping the chosen leaf’s Response.

Modules§

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

Functions§

execute