Expand description
viewer tier dispatch. Mirrors
objectiveai-sdk-rs/src/cli/command/viewer/mod.rs. All viewer leaves
are unary, so every arm wraps a single value in a one-shot stream.
Modules§
- config
config viewersub-tier.- generate_
secret_ signature_ pair viewer generate-secret-signature-pair— emit a fresh random(secret, signature)pair for viewer authentication. Pure local computation; no IO.- kill
viewer kill --global|--state— terminate viewer server(s) by killing the owner(s) of their per-state lock at<dir>/state/<state>/lockskeyviewer.--statehits the current state;--globalfans out across every state concurrently. Idempotent: a count of zero is not an error.- send
viewer send <path> <body>— POST a JSON body to the viewer’s HTTP server and return its(status, body). Bypasses the SDK’s fire-and-forget viewer client because callers want to see the response synchronously.- spawn
viewer spawn— start theobjectiveai-viewerTauri shell in the background.