(input, context)
| 133 | return pattern => matchWildcardPattern(pattern, file_path) |
| 134 | }, |
| 135 | async checkPermissions(input, context): Promise<PermissionDecision> { |
| 136 | const appState = context.getAppState() |
| 137 | return checkWritePermissionForTool( |
| 138 | FileWriteTool, |
| 139 | input, |
| 140 | appState.toolPermissionContext, |
| 141 | ) |
| 142 | }, |
| 143 | renderToolUseRejectedMessage, |
| 144 | renderToolUseErrorMessage, |
| 145 | renderToolResultMessage, |
nothing calls this directly
no test coverage detected