picoclaw/pkg/tools
Leandro Barbosa 272536a11a feat: add multi-agent routing with declarative bindings
Implement per-agent workspace/model/session isolation with 7-level
priority routing cascade (peer > parent_peer > guild > team > account >
channel > default). Backward compatible - empty agents.list creates
implicit "main" agent from defaults.

Core components:
- routing/agent_id.go: ID normalization with pre-compiled regex
- routing/session_key.go: 4 DM scope modes with identity links
- routing/route.go: RouteResolver with priority-based binding matcher
- agent/instance.go: Per-agent state (workspace, sessions, tools, model)
- agent/registry.go: Agent lifecycle, route resolution, subagent ACL

Integration:
- config.go: AgentModelConfig (flexible JSON), bindings, session config
- loop.go: Complete rewrite for multi-agent dispatch
- Channel adapters: peer_kind/peer_id metadata (telegram, discord, slack)
- spawn.go: Subagent allowlist enforcement per agent

Validated end-to-end with Discord channel-based bindings, default
fallback routing, and per-agent session persistence.
2026-02-13 12:12:33 -03:00
..
base.go feat: add cron tool integration with agent 2026-02-11 20:28:46 +08:00
cron.go merged and fixed the issues 2026-02-12 20:29:15 +05:30
edit.go Enforce workspace boundaries with configurable restriction option 2026-02-12 12:46:32 +07:00
filesystem.go Enforce workspace boundaries with configurable restriction option 2026-02-12 12:46:32 +07:00
message.go * First commit 2026-02-09 19:20:19 +08:00
registry.go feat: add cron tool integration with agent 2026-02-11 20:28:46 +08:00
shell.go Merge branch 'main' of https://github.com/SatyamDevv/picoclaw 2026-02-12 20:25:31 +05:30
spawn.go feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
subagent.go feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
types.go * First commit 2026-02-09 19:20:19 +08:00
web.go Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00