picoclaw/pkg
yuchou87 0f6fadb445 fix(agent): register MCP tools after server initialization
Critical bug fix:
- MCP tools were never registered because servers loaded in Run()
  but tool registration happened in NewAgentLoop() with empty manager
- Move MCP tool registration from createToolRegistry to Run()
- Register MCP tools for both main agent and subag after successful server loading
- Add subagentManager field to AgentLoop for dynamic registration
- Add tool_count logging for better observability

This ensures MCP tools are properly available to both agent and subagents.
2026-02-16 20:00:37 +08:00
..
agent fix(agent): register MCP tools after server initialization 2026-02-16 20:00:37 +08:00
auth fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
bus Prevent panic on publish after MessageBus is closed (#223) 2026-02-16 15:04:25 +08:00
channels fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
config Merge branch 'main' into mcp-tools-support 2026-02-16 16:37:24 +08:00
constants refactor(tools): extract shared logic for internal channels and tool definitions 2026-02-13 15:05:16 +08:00
cron fix: tighten file perms and enforce Slack ACL checks (#186) 2026-02-16 16:06:39 +08:00
devices feat: add device hotplug event notifications (USB on Linux) 2026-02-14 17:03:04 +08:00
health Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes. (#104) 2026-02-16 11:53:11 +08:00
heartbeat * fix: heartbeat/service_test.go test failed 2026-02-13 22:19:18 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
mcp fix(mcp): resolve relative envFile paths against workspace directory 2026-02-16 19:38:27 +08:00
migrate Merge branch 'main' of https://github.com/sipeed/picoclaw 2026-02-13 15:36:43 +05:30
providers fix: codex agent 400 error (#102) 2026-02-16 11:46:02 +08:00
session Feat issue 183 (#189) 2026-02-16 16:30:54 +08:00
skills feat(skills): add validation for skill info and test cases (#231) 2026-02-16 02:12:50 +08:00
state refactor(heartbeat): add configurable interval and channel-aware routing 2026-02-13 11:13:32 +08:00
tools fix(tools): preserve MCP tool InputSchema via JSON marshal/unmarshal 2026-02-16 19:50:00 +08:00
utils Remove duplicate file extension in DownloadFile (#230) 2026-02-16 02:20:20 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00