Run Claude sessions on tasks with event streaming and restart recovery

This commit is contained in:
Ian Gulliver
2026-10-13 22:30:39 -07:00
parent 2328904131
commit 09951e64e7
16 changed files with 1630 additions and 170 deletions
+2 -2
View File
@@ -45,6 +45,6 @@ CLI → host:
- `can_use_tool` only arrives when a permission prompt would show; under `bypassPermissions` it should not.
- `control_cancel_request` abandons an in-flight request.
## MCP tools are deferred
## MCP tool loading
The CLI hides MCP tool schemas behind its `ToolSearch` tool: an agent calls `ToolSearch` with `select:mcp__byre__report` before it can call `report`, costing an extra model turn every session.
By default the CLI hides MCP tool schemas behind its `ToolSearch` tool, so an agent spends a model turn on `ToolSearch` before it can call a byre tool. `"alwaysLoad": true` in the server's `--mcp-config` entry puts byre's tools in the prompt from the first turn.