MCPcopy Index your code
hub / github.com/anomalyco/opencode / session-data.test.ts

File session-data.test.ts

packages/opencode/test/cli/run/session-data.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "bun:test"
2import type { Event } from "@opencode-ai/sdk/v2"
3import { createSessionData, flushInterrupted, reduceSessionData } from "@/cli/cmd/run/session-data"
4import type { StreamCommit } from "@/cli/cmd/run/types"

Callers

nothing calls this directly

Calls 11

createSessionDataFunction · 0.90
flushInterruptedFunction · 0.90
testFunction · 0.85
reduceFunction · 0.70
deltaFunction · 0.70
assistantFunction · 0.70
textFunction · 0.70
userFunction · 0.70
reasoningFunction · 0.70
toolFunction · 0.70
describeFunction · 0.50

Tested by

no test coverage detected