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§
- Finish
Reason - Why the agent’s run terminated.
- Permission
Decision - Decision returned by a permission hook to allow, deny, or transform a tool call.
- Planning
Mode - Controls whether the agent executes tools immediately or presents a plan first.