Skip to main content

Module script

Module script 

Source

Re-exports§

pub use upstream::*;

Modules§

upstream
Script agent types.

Structs§

Agent
A validated Script Agent with its computed content-addressed ID.
AgentBase
The base configuration for a Script Agent (without computed ID).
Continuation

Enums§

OutputMessage
One message in a script agent’s OUTPUT — the conversation shape minus the user role, since a script speaks only as the assistant (or records tool results); it never puts words in the user’s mouth. The script’s output deserializes as an array of these.
OutputMode
The method used to constrain script output to valid response keys.
Script
The code a script agent executes on the CLIENT, discriminated by a required type field (no default). Flattened into the agent base, so the wire shape is {"upstream":"script","type":"python","python":"…",…}.