MCPcopy Index your code
hub / github.com/anomalyco/opencode / textUpdated

Function textUpdated

packages/opencode/test/cli/run/stream.transport.test.ts:290–300  ·  view source on GitHub ↗
(part: TextPart)

Source from the content-addressed store, hash-verified

288}
289
290function textUpdated(part: TextPart): SdkEvent {
291 return {
292 id: `evt-${part.id}-updated`,
293 type: "message.part.updated",
294 properties: {
295 sessionID: part.sessionID,
296 part,
297 time: 1,
298 },
299 }
300}
301
302function reasoningPart(id: string, messageID: string, text: string): ReasoningPart {
303 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected