Skip to main content

Module swiss_system

Module swiss_system 

Source
Expand description

functions execute swiss-system — async handler stub.

Modules§

request_schema
response_schema

Structs§

AgentInstanceHierarchy
A unique agent instance participating in this execution, announced exactly once — right after its instance lock is acquired (the same moment agents spawn announces its own hierarchy). The constant type:"agent_instance_hierarchy" discriminator disambiguates this variant inside the untagged ResponseItem union, mirroring type:"mcp" on plugins run’s Mcp.
Args
Command
InputArgs
Exactly-one-of --input-inline | --input-file | --input-python-inline | --input-python-file. See super::standard::InputArgs for the group-id rationale.
ListenerExecution
One /listen broadcast run of functions execute swiss_system in its unary form (the plain execute): the actual Request, the producer’s AgentArguments, and the unary response future. See crate::cli::broadcast_listener.
ListenerExecutionStreaming
One /listen broadcast run of functions execute swiss_system 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::broadcast_listener.
Request
RequestDangerousAdvanced

Enums§

AgentInstanceHierarchyType
Single-variant discriminator for AgentInstanceHierarchy’s type field. Always "agent_instance_hierarchy" on the wire.
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
RequestInput
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.