picoclaw/pkg/gateway
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
..
channel_matrix.go fixed the build issue 2026-05-04 12:48:52 +03:00
events.go fix(events): keep runtime observers non-blocking 2026-04-27 13:09:03 +08:00
gateway.go feat: implement permission tool usage from frontend to backend 2026-05-06 04:21:22 +01:00
gateway_test.go fix(events): keep runtime observers non-blocking 2026-04-27 13:09:03 +08:00
listen.go feat(host): complete launcher and gateway multi-host binding support 2026-04-14 14:04:36 +08:00
listen_test.go feat(host): complete launcher and gateway multi-host binding support 2026-04-14 14:04:36 +08:00