(command, args)
| 12 | import path from 'node:path'; |
| 13 | import { fileURLToPath } from 'node:url'; |
| 14 | import { spawnSync } from 'node:child_process'; |
| 15 | import { patchClaudeAgentAcp } from '../../server/scripts/patch-claude-agent-acp.mjs'; |
| 16 | |
| 17 | const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
| 18 | const packageRoot = path.resolve(__dirname, '..'); |
| 19 | const monorepoRoot = path.resolve(packageRoot, '../..'); |
| 20 | const runtimeDir = path.join(packageRoot, 'runtime'); |
| 21 | const serverRuntimeDir = path.join(runtimeDir, 'server'); |
| 22 | const webRuntimeDir = path.join(runtimeDir, 'web'); |
| 23 | const nodeRuntimeDir = path.join(runtimeDir, 'node'); |
| 24 | |
| 25 | function run(command, args) { |
| 26 | const result = spawnSync(command, args, { |
| 27 | cwd: monorepoRoot, |
| 28 | stdio: 'inherit', |
no outgoing calls
no test coverage detected