picoclaw/pkg
yuchou87 6892d006d6 perf(agent): reduce memory footprint by storing minimal MCP dependencies
Replace full *config.Config reference with config.MCPConfig value type
in AgentLoop to allow garbage collection of unused configuration data.

Changes:
- AgentLoop now stores only MCPConfig and workspacePath (minimal deps)
- Add mcp.Manager.LoadFromMCPConfig() for minimal dependency version
- Keep LoadFromConfig() for backward compatibility
- Full Config object can be GC'd after NewAgentLoop() returns

This optimization reduces memory usage by not holding references to
unused channel, provider, gateway, and device configurations.
2026-02-17 10:39:39 +08:00
..
agent perf(agent): reduce memory footprint by storing minimal MCP dependencies 2026-02-17 10:39:39 +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 perf(agent): reduce memory footprint by storing minimal MCP dependencies 2026-02-17 10:39:39 +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