Skip to main content

Module swarms

Module swarms 

Source
Expand description

swarms tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/swarms/mod.rs. list is a streaming leaf (one ResponseItem per swarm); get and publish are unary.

Modules§

get
swarms get <path> — fetch a swarm by its remote path. The SDK’s TryFrom<Args> has already parsed the docker-style key=value,... string into a RemotePathCommitOptional.
list
swarms list — enumerate swarms from the local filesystem state. Streams one ResponseItem (a RemotePath) per swarm found under <state>/swarms/<owner>/<repository>.
publish
swarms publish — write a RemoteSwarmBase to the local filesystem under <base>/swarms/<repository> and return the resulting git commit SHA. Body and commit message can be supplied inline, from a JSON file, or produced by Python (the embedded WASI rustpython).

Functions§

execute