POSIX single-quote escape for embedding values in the `claude …` command.
(value: string)
| 88 | |
| 89 | /** POSIX single-quote escape for embedding values in the `claude …` command. */ |
| 90 | function q(value: string): string { |
| 91 | return `'${value.replace(/'/g, `'\\''`)}'` |
| 92 | } |
| 93 | |
| 94 | /** Format a host tool-bridge as claude's `--mcp-config` JSON. */ |
| 95 | function bridgeToMcpConfig(bridge: HostToolBridge): string { |
no test coverage detected