Expand description
SceneSpec — what a scene is: its identity, tool and module surface,
budgets and per-turn reminders, as data, plus the one behavior a scene
supplies itself, its prompt (ScenePrompt). Bound at session creation
and immutable thereafter.
Structs§
- Execution
Params - Execution limits a scene imposes on its own turns.
- Fixed
Prompt - A prompt that is the same blocks every time and has no session context.
- Module
Surface - Which modules (
agents,mcp,skills, …) a session in the scene runs.allow: Noneruns every module the host assembled; naming one the host did not assemble adds nothing. The delegates a session spawns inherit the narrowed list. - Reminder
Context - Context for building the
<system-reminder>block. - Scene
Prompt Context - Context passed to
ScenePrompt. - Scene
Spec - A scene: everything but its prompt is data, so a host that builds on a built-in scene changes the fields it cares about and keeps the rest, instead of wrapping a trait object and forwarding every method.
- Token
Budget - Token budget configuration for a scene.
- Tool
Surface - Which tools a session in the scene may have, and which of them are advertised by name only.
Enums§
- Reminder
- What the per-turn
<system-reminder>carries, in the order listed.
Constants§
- NEEDS_
A_ USER - Tools that only work when someone answers. A session nobody attends (see
SceneSpec::interactive) does not register them.
Traits§
- Scene
Prompt - The scene’s system prompt and the facts it sends once in the opening context message.