Skip to main content

Module api

Module api 

Source
Expand description

api tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/api/mod.rs — matches on the SDK’s tier Request variants and dispatches to local leaf executes. All api leaves are unary, so every arm wraps a single value in a one-shot stream.

Modules§

config
config api sub-tier.
kill
api kill --global — terminate the api server by killing the owner(s) of its machine-wide lock at <dir>/bin/locks key api. Idempotent: a count of zero is not an error. There is exactly one api lock, so no concurrency is needed.
spawn
api spawn — start the objectiveai-api server in the background.

Functions§

execute