Expand description
CommandSource — worker-only abstraction over how the worker
receives the next command to run.
This module is worker-only. The CLI does NOT consume types from here — its local-mode runner is a tree walker that doesn’t need a pull-model command source. See § H.10 of the global hybrid cloud blueprint for the architectural rationale.
The worker (R-1.3) implements a NATS-backed CommandSource that
pulls from a durable consumer. Future worker implementations
(e.g. an HTTP-poll source for serverless deployments under § H.2’s
Cloud Run compute substrate) implement the same trait.
Structs§
- Command
- One command the worker will dispatch to a tool.
Traits§
- Command
Source - Pull-model command source.