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

File session.ts

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

Source from the content-addressed store, hash-verified

1import type { McpServer } from "@agentclientprotocol/sdk"
2import type { Message, Part } from "@opencode-ai/sdk/v2"
3import { LayerNode } from "@opencode-ai/core/effect/layer-node"
4import { ProviderV2 } from "@opencode-ai/core/provider"

Callers

nothing calls this directly

Calls 13

makeSessionFunction · 0.85
partMetadataKeyFunction · 0.85
asMethod · 0.80
snapshotFunction · 0.70
updateMethod · 0.65
getMethod · 0.65
fnFunction · 0.50
updateFunction · 0.50
getFunction · 0.50
makeMethod · 0.45
setMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected