Files
clawdbot/src/agents
sheeek a8c153ec78 feat(tools): add agent-specific tool filtering
Add tool filtering layer for per-agent restrictions:
- Extract agentId from sessionKey
- Load routing.agents[agentId].tools via resolveAgentConfig()
- Apply agent-specific allow/deny before sandbox filtering

Filtering order:
1. Global (agent.tools)
2. Agent-specific (routing.agents[id].tools) ← NEW
3. Sandbox (agent.sandbox.tools)
4. Subagent policy

This enables different tool permissions per agent
(e.g., main: all tools, family: read only).
2026-01-07 17:31:40 +01:00
..
2026-01-04 14:38:51 +00:00
2025-12-25 03:29:36 +01:00
2026-01-07 00:04:44 +01:00
2026-01-06 19:54:50 +01:00
2026-01-01 17:30:15 +01:00