Skip to main content

Module standard

Module standard 

Source
Expand description

functions execute standard — 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. Scoped to its own #[group] annotation on a dedicated sub-struct so the required = true, multiple = false enforcement only applies to these fields — hoisting the annotation to the outer Args would pull every field into the “input_group” group via clap derive’s default-group rule. Mirrors the super::{FunctionArgs, ProfileArgs} pattern.
ListenerExecution
One /listen broadcast run of functions execute standard 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 functions execute standard 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.
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.