MCPcopy
hub / github.com/anomalyco/opencode / prompt.ts

File prompt.ts

packages/opencode/src/session/prompt.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { LayerNode } from "@opencode-ai/core/effect/layer-node"
2import { PermissionV1 } from "@opencode-ai/core/v1/permission"
3import path from "path"
4import { SessionV1 } from "@opencode-ai/core/v1/session"

Callers

nothing calls this directly

Calls 15

decodeDataUrlFunction · 0.90
getModelFunction · 0.85
ulidFunction · 0.85
eqFunction · 0.85
mcpResourceBase64SizeFunction · 0.85
formatMcpResourceBytesFunction · 0.85
execReadFunction · 0.85
createUserMessageFunction · 0.85
pushMethod · 0.80
streamMethod · 0.80

Tested by

no test coverage detected