Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
path from
"node:path"
2
import
{ pathToFileURL } from
"node:url"
3
import
{ LayerNode } from
"@opencode-ai/core/effect/layer-node"
4
import
{
type
Tool } from
"ai"
Callers
nothing calls this directly
Calls
15
serviceUse
Function · 0.90
withTimeout
Function · 0.90
remoteURL
Function · 0.85
closeClient
Function · 0.85
requestTimeout
Function · 0.85
collectFromConnected
Function · 0.85
resume
Function · 0.85
as
Method · 0.80
spawn
Method · 0.80
push
Method · 0.80
getPrompt
Method · 0.80
readResource
Method · 0.80
Tested by
no test coverage detected