Commit graph

3 commits

Author SHA1 Message Date
anthrodjear
d1c6f6e44c feat(tools): implement permission prompting for filesystem operations
Integrate `PermissionCache` into `WriteFileTool`, `EditFileTool`, `AppendFileTool`, and `ListDirTool` to allow user approval for actions outside the workspace.

- Add `PermissionPrompter` interface and `TerminalPrompter` implementation.
- Update `AgentInstance` to initialize and register the permission cache and `RequestPermissionTool`.
- Refactor filesystem tools to support permission checks via a `PermissionChecker` interface.
- Add `plan.md` documenting the multi-wave permission implementation strategy.
2026-05-05 11:27:12 +03:00
anthrodjear
8d720c5e93 docs(docs): document exec tool architecture and sandboxing
Add detailed technical reference for the `exec` tool, covering:
- Execution flow (registration, LLM invocation, and action routing)
- Synchronous vs. background session management
- Platform-specific isolation mechanisms (bubblewrap, restricted tokens)
- Security implementation including built-in deny patterns
- Instructions for disabling or removing the tool

Update project map and session log to reflect these documentation changes.
2026-05-05 05:55:28 +03:00
anthrodjear
ab23be43a9 docs: add project documentation and architecture guides
Add comprehensive documentation including:
- CLAUDE.md for build instructions and environment setup
- project-map.md for directory structure and key file overview
- docs/reference/tools-api.md for detailed tools API and architecture
- session-log.md for tracking development decisions
- updates to plugin tool injection documentation regarding security risks
2026-05-05 05:49:21 +03:00