fabro/crates
Bryan Helmkamp ee831c2db0 Introduce ToolContext struct to simplify ToolExecutor type
Bundle the execution parameters (env, cancel) into a single
ToolContext struct, reducing the ToolExecutor closure signature
from 3 parameters to 2. This makes the type alias simpler and
means future parameters won't change the signature.

Key changes:
- Add ToolContext { env, cancel } in tool_registry.rs
- Update ToolExecutor type alias: Fn(Value, ToolContext) -> ...
- Update all tool factories in tools.rs, v4a_patch.rs,
  subagent.rs, mcp_integration.rs, and skills.rs
- Update all call sites in session.rs and tool_execution.rs
- Update test helpers and test call sites

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-27 23:46:23 -05:00
..
agent Introduce ToolContext struct to simplify ToolExecutor type 2026-02-27 23:46:23 -05:00
attractor Add structured compaction with file tracking 2026-02-27 22:46:29 -05:00
git-storage Add git-storage crate for storing data in git object database 2026-02-24 23:17:44 -05:00
llm Add gpt-5.3-codex model and make it the default codex alias 2026-02-27 21:40:01 -05:00
mcp Add MCP client support for connecting to external tool servers 2026-02-27 23:28:33 -05:00
util Consolidate redact and terminal crates into util 2026-02-27 18:44:19 -05:00