(status: AgentBrowserToolStatus)
| 113 | } |
| 114 | |
| 115 | function createManagedTool(status: AgentBrowserToolStatus): AgentBrowserTool { |
| 116 | if (!status.installed) throw missingManagedToolError(status); |
| 117 | return { |
| 118 | command: status.binaryPath, |
| 119 | env: managedAgentBrowserEnv(status, process.env), |
| 120 | }; |
| 121 | } |
| 122 | |
| 123 | async function installAgentBrowserPackage(status: AgentBrowserToolStatus): Promise<void> { |
| 124 | const packageRoot = path.join(status.installDir, 'package'); |
no test coverage detected
searching dependent graphs…