0xmrpeter 18cc04d3f3 feat: implement file service path whitelisting for agents
- Added functionality to allow agents to read attachments from the file-service upload directory by whitelisting the base directory.
- Enhanced AgentInstance with addAllowedPath method to manage additional read paths.
- Updated SessionFactory to inject extra filesystem paths for agents, ensuring they can access necessary files without compromising workspace security.
- Refactored AgentSwitchHandler to utilize the file service for managing allowed paths during agent switching.

This change improves the flexibility of agent interactions with external files while maintaining security boundaries.
2026-04-03 14:38:16 +07:00
..