MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / textPart

Function textPart

tests/message-priority.test.ts:64–72  ·  view source on GitHub ↗
(messageID: string, sessionID: string, id: string, text: string)

Source from the content-addressed store, hash-verified

62}
63
64function textPart(messageID: string, sessionID: string, id: string, text: string) {
65 return {
66 id,
67 messageID,
68 sessionID,
69 type: "text" as const,
70 text,
71 }
72}
73
74function toolPart(
75 messageID: string,

Callers 2

buildMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected