Skip to main content

Module spawn

Module spawn 

Source
Expand description

agents spawn — async handler stub.

Modules§

request_schema
response_schema

Structs§

Args
Command
ListenerExecution
One /listen broadcast run of agents spawn in its unary form (the plain execute): the actual Request, the producer’s AgentArguments, and the unary response future. See crate::cli::websocket_listener.
ListenerExecutionStreaming
One /listen broadcast run of agents spawn in its streaming form (execute_streaming — the request set dangerous_advanced.stream: true): the actual Request, the producer’s AgentArguments, and the response-item stream. See crate::cli::websocket_listener.
MessageArgs
Required user-message group. Mirrors agents instances message’s shape: exactly one of the five flags must be set.
Request
RequestDangerousAdvanced

Enums§

ListenerExecutionVariant
This leaf’s multiple listener executions — one variant per execute fn (Execution for the plain execute, Streaming for execute_streaming), discriminated per request off dangerous_advanced.stream. The branch enum’s single variant for this leaf wraps this.
Path
ResponseItem
Schema

Functions§

execute
execute_streaming
execute_streaming_transform
execute_transform

Type Aliases§

Response
Non-chunk variant of ResponseItem. Returned by the unary execute path (with dangerous_advanced.stream cleared) when the cli emits a single bare id string.