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

File entry.body.test.ts

packages/opencode/test/cli/run/entry.body.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 { ToolPart } from "@opencode-ai/sdk/v2"
3import { entryBody, entryCanStream, entryDone } from "@/cli/cmd/run/entry.body"
4import type { StreamCommit, ToolSnapshot } from "@/cli/cmd/run/types"

Callers

nothing calls this directly

Calls 8

entryBodyFunction · 0.90
entryCanStreamFunction · 0.90
entryDoneFunction · 0.90
testFunction · 0.85
structuredFunction · 0.85
commitFunction · 0.70
toolCommitFunction · 0.70
describeFunction · 0.50

Tested by

no test coverage detected