MCPcopy Create free account
hub / github.com/agent-tower/core / updateEntryContent

Function updateEntryContent

packages/server/src/output/utils/patch.ts:61–69  ·  view source on GitHub ↗
(index: number, content: string)

Source from the content-addressed store, hash-verified

59 * 更新条目内容
60 */
61export function updateEntryContent(index: number, content: string): JsonPatch {
62 return [
63 {
64 op: 'replace',
65 path: `/entries/${index}/content`,
66 value: content,
67 },
68 ]
69}
70
71/**
72 * 更新工具状态

Callers 9

handleErrorMethod · 0.85
appendAssistantTextMethod · 0.85
handleStreamEventMethod · 0.85
handleAssistantMethod · 0.85
handleThinkingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected