MCPcopy Create free account
hub / github.com/anomalyco/opencode / event.test.ts

File event.test.ts

packages/opencode/test/acp/event.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "bun:test"
2import type { AgentSideConnection } from "@agentclientprotocol/sdk"
3import { LayerNode } from "@opencode-ai/core/effect/layer-node"
4import type { Event, Message, OpencodeClient, Part, SessionMessageResponse, ToolPart } from "@opencode-ai/sdk/v2"

Callers

nothing calls this directly

Calls 15

createKnownSessionFunction · 0.85
assistantToolMessageFunction · 0.85
toolUpdatesFunction · 0.85
loadSessionMethod · 0.80
pushMethod · 0.80
streamMethod · 0.80
replayMessageMethod · 0.80
atMethod · 0.80
createHarnessFunction · 0.70
textDeltaFunction · 0.70
pollUntilFunction · 0.70
assistantMessageFunction · 0.70

Tested by

no test coverage detected