Skip to main content

Module types

Module types 

Source
Expand description

Cross-cutting agent types shared by the kernel, runtime, and tools.

These types were extracted from agent.rs during Goal 219. They have no dependency on the deprecated Agent / StepEvent types and are re-exported from crate::agent::* for backward compatibility.

When Goal 219 Commit 2 deletes the deprecated Agent path, this module will be the sole owner of these four types.

Enums§

FinishReason
Why the agent’s run terminated.
PermissionDecision
Decision returned by a permission hook to allow, deny, or transform a tool call.
PlanningMode
Controls whether the agent executes tools immediately or presents a plan first.