MCPcopy
hub / github.com/codeaashu/claude-code / recordContentReplacement

Function recordContentReplacement

src/utils/sessionStorage.ts:1494–1499  ·  view source on GitHub ↗
(
  replacements: ContentReplacementRecord[],
  agentId?: AgentId,
)

Source from the content-addressed store, hash-verified

1492}
1493
1494export async function recordContentReplacement(
1495 replacements: ContentReplacementRecord[],
1496 agentId?: AgentId,
1497) {
1498 await getProject().insertContentReplacement(replacements, agentId)
1499}
1500
1501/**
1502 * Reset the session file pointer after switchSession/regenerateSessionId.

Callers 3

queryLoopFunction · 0.85
onSelectFunction · 0.85

Calls 2

getProjectFunction · 0.85

Tested by

no test coverage detected