(file: string, root: string)
| 381 | } |
| 382 | |
| 383 | function commandNameFromFile(file: string, root: string): string { |
| 384 | const relative = path.relative(root, file).replace(/\.md$/i, ''); |
| 385 | return relative.split(path.sep).join('/'); |
| 386 | } |
| 387 | |
| 388 | async function normalizePluginMcpServer(input: { |
| 389 | readonly pluginRoot: string; |
no outgoing calls
no test coverage detected