Structs§
- Http
Worker Client - InMemory
Worker Client - In-memory client used in tests.
- Worker
Message - Individual message emitted by a worker.
- Worker
Request - Request payload for invoking a worker.
- Worker
Response - Response envelope returned by worker executions.
- Worker
Routing Config - Routing configuration for the repo worker.
Enums§
- Worker
Client Error - Worker
Transport - Which transport to use for talking to the worker endpoint.
Constants§
- DEFAULT_
WORKER_ ID - Canonical default worker identifier for the repo assistant.
- DEFAULT_
WORKER_ NATS_ SUBJECT - Default NATS subject used when no override is provided.
- WORKER_
ENVELOPE_ VERSION - Worker envelope schema version.
Traits§
Functions§
- empty_
worker_ response_ for - forward_
to_ worker - Sends a worker request via the provided client and maps the response back to outbound envelopes.
- worker_
messages_ to_ outbound - Converts a worker response into outbound envelopes targeting the same channel context.
- worker_
routes_ from_ env - Parse a simple worker route map from the
WORKER_ROUTESenv var.