| 5 | ) => boolean | string | { required: boolean; reason?: string; key?: string } |
| 6 | |
| 7 | export interface PermissionServerLike { |
| 8 | requestPermission(params: { |
| 9 | sessionId: string |
| 10 | toolName: string |
| 11 | toolCallId: string |
| 12 | input: any |
| 13 | cacheKey?: string |
| 14 | }): Promise<{ approved: boolean; reason?: string }> |
| 15 | } |
| 16 | |
| 17 | export interface WithPermissionOptions { |
| 18 | toolName: string |
no outgoing calls
no test coverage detected