mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
3f2a399e47
Remove the entire internal/builtin package (bash, fetch, todo, http, fs servers) and all inprocess/builtin transport support from config and connection pool. Add internal/core package with 7 direct fantasy.AgentTool implementations matching pi's coding agent: bash, read, write, edit, grep, find, ls. These execute in-process with zero MCP/JSON serialization overhead. Add internal/message package with crush-inspired custom content blocks: ContentPart interface with TextContent, ReasoningContent, ToolCall, ToolResult, and Finish types. Messages carry heterogeneous Parts slices with type-tagged JSON serialization for persistence and a ToFantasyMessages bridge for LLM provider integration. Core tools are always registered on the agent. External MCP servers remain supported for additional tools, but MCP loading failures are now non-fatal since core tools guarantee a working baseline.