(input: Input)
| 96 | : `${input.setting} = ${input.value}` |
| 97 | }, |
| 98 | async checkPermissions(input: Input) { |
| 99 | // Auto-allow reading configs |
| 100 | if (input.value === undefined) { |
| 101 | return { behavior: 'allow' as const, updatedInput: input } |
| 102 | } |
| 103 | return { |
| 104 | behavior: 'ask' as const, |
| 105 | message: `Set ${input.setting} to ${jsonStringify(input.value)}`, |
| 106 | } |
| 107 | }, |
| 108 | renderToolUseMessage, |
| 109 | renderToolResultMessage, |
| 110 | renderToolUseRejectedMessage, |
nothing calls this directly
no test coverage detected