(id: string | undefined)
| 53 | // --------------------------------------------------------------------------- |
| 54 | |
| 55 | function findPreset(id: string | undefined): McpPreset | undefined { |
| 56 | if (!id) return undefined; |
| 57 | return mcpPresets.find((p) => p.id === id); |
| 58 | } |
| 59 | |
| 60 | // Splits the raw args field into tokens, honoring double-quoted groups so an |
| 61 | // argument with spaces stays intact. |