7import { spawn, spawnSync } from 'node:child_process'
8import { closeSync, writeFileSync, mkdirSync, existsSync, openSync, readFileSync, unlinkSync } from 'node:fs'
⋯
11import { OV_DIR, DEFAULT_WORKSPACE, readConfig, writeJson, configPath, onPath, fail, ok, info, slugify, stripSlash, chmodSafe } from './lib.mjs'
12import { connectAgentWs, assertWebSocket } from './ws.mjs'
13import { agentAddedByName, agentStateRequest, buildTaskCompletionReport, claudeEventEvidence, classifyConversationTarget, codexEventEvidence, codexPolicyBlock, combineRuntimeWorkEv...
⋯
138'Bash(rm:*)', 'Bash(sudo:*)', 'Bash(chmod:*)', 'Bash(curl:*)', 'Bash(wget:*)',
139'Bash(npm publish:*)', 'Bash(pnpm publish:*)',
140'Bash(gh pr merge:*)', 'Bash(gh repo delete:*)',
⋯
233const cha