Expand description
functions execute standard — async handler stub.
Modules§
Structs§
- Agent
Instance Hierarchy - A unique agent instance participating in this execution, announced
exactly once — right after its instance lock is acquired (the same
moment
agents spawnannounces its own hierarchy). The constanttype:"agent_instance_hierarchy"discriminator disambiguates this variant inside the untaggedResponseItemunion, mirroringtype:"mcp"onplugins run’sMcp. - Args
- Command
- Input
Args - Exactly-one-of
--input-inline | --input-file | --input-python-inline | --input-python-file. Scoped to its own#[group]annotation on a dedicated sub-struct so therequired = true, multiple = falseenforcement only applies to these fields — hoisting the annotation to the outerArgswould pull every field into the “input_group” group via clap derive’s default-group rule. Mirrors thesuper::{FunctionArgs, ProfileArgs}pattern. - Listener
Execution - One
/listenbroadcast run offunctions execute standardin its unary form (the plainexecute): the actualRequest, the producer’sAgentArguments, and the unary response future. Seecrate::cli::websocket_listener. - Listener
Execution Streaming - One
/listenbroadcast run offunctions execute standardin its streaming form (execute_streaming— the request setdangerous_advanced.stream: true): the actualRequest, the producer’sAgentArguments, and the response-item stream. Seecrate::cli::websocket_listener. - Request
- Request
Dangerous Advanced
Enums§
- Agent
Instance Hierarchy Type - Single-variant discriminator for
AgentInstanceHierarchy’stypefield. Always"agent_instance_hierarchy"on the wire. - Listener
Execution Variant - This leaf’s multiple listener executions — one variant per
execute fn (
Executionfor the plainexecute,Streamingforexecute_streaming), discriminated per request offdangerous_advanced.stream. The branch enum’s single variant for this leaf wraps this. - Path
- Request
Input - Response
Item - Schema
Functions§
Type Aliases§
- Response
- Non-chunk variant of
ResponseItem. Returned by the unaryexecutepath (withdangerous_advanced.streamcleared) when the cli emits a single bare id string.