MCPcopy Index your code
hub / github.com/anomalyco/opencode / index.ts

File index.ts

packages/opencode/src/mcp/index.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from "node:path"
2import { pathToFileURL } from "node:url"
3import { LayerNode } from "@opencode-ai/core/effect/layer-node"
4import { type Tool } from "ai"

Callers

nothing calls this directly

Calls 15

serviceUseFunction · 0.90
withTimeoutFunction · 0.90
remoteURLFunction · 0.85
closeClientFunction · 0.85
requestTimeoutFunction · 0.85
collectFromConnectedFunction · 0.85
resumeFunction · 0.85
asMethod · 0.80
spawnMethod · 0.80
pushMethod · 0.80
getPromptMethod · 0.80
readResourceMethod · 0.80

Tested by

no test coverage detected