(example: typeof EXAMPLE_COMMANDS[0])
| 247 | }; |
| 248 | |
| 249 | const applyExample = (example: typeof EXAMPLE_COMMANDS[0]) => { |
| 250 | setCommandForm(prev => ({ |
| 251 | ...prev, |
| 252 | name: example.name, |
| 253 | description: example.description, |
| 254 | content: example.content, |
| 255 | allowedTools: example.allowedTools |
| 256 | })); |
| 257 | }; |
| 258 | |
| 259 | // Filter commands |
| 260 | const filteredCommands = commands.filter(cmd => { |
no outgoing calls
no test coverage detected