picoclaw/pkg/tools/fs
Dark aura 1fc04f7c77 feat: implement permission tool usage from frontend to backend
Complete end-to-end permission flow for tool execution:
- Add POST /api/permission/grant endpoint with gateway proxy
- Add permission checks for list_dir, edit_file, append_file tools
- Fix frontend PermissionPrompt to call grant API instead of chat messages
- Add grantPermission() to frontend API client
- Expose PermissionCache via AgentInstance for API access
- Wire up permission grant callback through gateway to agent loop

Inspired by opencode's permission system architecture.
2026-05-06 04:21:22 +01:00
..
edit.go feat: implement permission tool usage from frontend to backend 2026-05-06 04:21:22 +01:00
edit_test.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
filesystem.go feat: implement permission tool usage from frontend to backend 2026-05-06 04:21:22 +01:00
filesystem_test.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
load_image.go fix(feishu): fix image download with API fallback and post image support (#2708) 2026-04-30 11:08:00 +08:00
load_image_test.go fix(feishu): fix image download with API fallback and post image support (#2708) 2026-04-30 11:08:00 +08:00
send_file.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
send_file_test.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
shared.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00