(target: string)
| 141 | } |
| 142 | |
| 143 | export function parseUdsTarget(target: string): { |
| 144 | socketPath: string |
| 145 | } { |
| 146 | if (target.includes('#token=')) { |
| 147 | throw new Error( |
| 148 | 'UDS target must not include an inline auth token; use the ListPeers address', |
| 149 | ) |
| 150 | } |
| 151 | return { socketPath: target } |
| 152 | } |
| 153 | |
| 154 | function getCapabilityDir(): string { |
| 155 | return join(getClaudeConfigHomeDir(), 'messaging-capabilities') |
no outgoing calls
no test coverage detected