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

File content.test.ts

packages/opencode/test/acp/content.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 { ContentBlock } from "@agentclientprotocol/sdk"
3import { pathToFileURL } from "node:url"
4import { contentBlockToParts, partsToContentChunks, promptContentToParts } from "../../src/acp/content"

Callers

nothing calls this directly

Calls 5

contentBlockToPartsFunction · 0.90
promptContentToPartsFunction · 0.90
partsToContentChunksFunction · 0.90
testFunction · 0.85
describeFunction · 0.50

Tested by

no test coverage detected