MCPcopy Create free account
hub / github.com/callstack/agent-device / missingManagedToolError

Function missingManagedToolError

src/platforms/web/agent-browser-tool.ts:216–225  ·  view source on GitHub ↗
(status: AgentBrowserToolStatus)

Source from the content-addressed store, hash-verified

214}
215
216function missingManagedToolError(status: AgentBrowserToolStatus): AppError {
217 return new AppError('TOOL_MISSING', 'Managed web browser backend is not installed.', {
218 version: MANAGED_AGENT_BROWSER_VERSION,
219 installDir: status.installDir,
220 hint:
221 status.nodeSupported === false
222 ? `Web automation requires Node ${MINIMUM_WEB_NODE_MAJOR}+; current Node is ${process.version}.`
223 : 'Run `agent-device web setup` to install the managed web backend.',
224 });
225}
226
227function assertWebNodeSupported(nodeMajor: number): void {
228 if (nodeMajor >= MINIMUM_WEB_NODE_MAJOR) return;

Callers 3

resolveAgentBrowserToolFunction · 0.85
createManagedToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…