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

Function resolveAgentBrowserTool

src/platforms/web/agent-browser-tool.ts:35–44  ·  view source on GitHub ↗
(options: {
  stateDir?: string;
})

Source from the content-addressed store, hash-verified

33};
34
35export async function resolveAgentBrowserTool(options: {
36 stateDir?: string;
37}): Promise<AgentBrowserTool> {
38 const status = getManagedAgentBrowserStatus(options);
39 if (status.installed) {
40 return createManagedTool(status);
41 }
42
43 throw missingManagedToolError(status);
44}
45
46export async function setupManagedAgentBrowser(options: {
47 stateDir?: string;

Callers 2

runAgentBrowserCommandFunction · 0.90

Calls 3

createManagedToolFunction · 0.85
missingManagedToolErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…