Expand description
SessionsTool + companion types over brainwires-session::SessionBroker.
Session-control tools exposed to the agent.
The agent uses these to inspect or orchestrate other chat sessions running in the same host process — listing peers, reading their history, pushing a message into one, or spawning a fresh sub-session (e.g. for a research task it wants to delegate and poll later).
Session state lives outside this crate (in the gateway, typically), so
this module only defines the tool schemas plus a [SessionBroker] trait
that the host implements over its actual registry.
Structs§
- Sessions
Tool - Bundle of four session-control tools, all backed by a single
SessionBroker.
Constants§
- TOOL_
SESSIONS_ HISTORY - Tool name for the session-history tool.
- TOOL_
SESSIONS_ LIST - Tool name for the list-sessions tool.
- TOOL_
SESSIONS_ SEND - Tool name for the send-to-session tool.
- TOOL_
SESSIONS_ SPAWN - Tool name for the spawn-session tool.