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. |
||
|---|---|---|
| .. | ||
| channel_matrix.go | ||
| events.go | ||
| gateway.go | ||
| gateway_test.go | ||
| listen.go | ||
| listen_test.go | ||