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

Function addNormalizedEntry

packages/server/src/output/utils/patch.ts:35–43  ·  view source on GitHub ↗
(index: number, entry: NormalizedEntry)

Source from the content-addressed store, hash-verified

33 * 添加标准化条目
34 */
35export function addNormalizedEntry(index: number, entry: NormalizedEntry): JsonPatch {
36 return [
37 {
38 op: 'add',
39 path: `/entries/${index}`,
40 value: entry,
41 },
42 ]
43}
44
45/**
46 * 替换标准化条目

Callers 15

handleItemStartedMethod · 0.85
handleItemCompletedMethod · 0.85
upsertMcpToolEntryMethod · 0.85
handleUsageMethod · 0.85
handleErrorMethod · 0.85
finishMethod · 0.85
handleApiRetryMethod · 0.85
appendAssistantTextMethod · 0.85
handleToolUseMethod · 0.85
addThinkingMethod · 0.85
handleResultMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected