MCPcopy Create free account
hub / github.com/anomalyco/opencode / part

Function part

packages/app/src/context/global-sync/session-cache.test.ts:23–30  ·  view source on GitHub ↗
(id: string, sessionID: string, messageID: string)

Source from the content-addressed store, hash-verified

21 }) as Message
22
23const part = (id: string, sessionID: string, messageID: string) =>
24 ({
25 id,
26 sessionID,
27 messageID,
28 type: "text",
29 text: id,
30 }) as Part
31
32describe("app session cache", () => {
33 test("dropSessionCaches clears orphaned parts without message rows", () => {

Callers 2

renderAssistantPartGroupFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected