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

Function recordContentReplacement

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

Source from the content-addressed store, hash-verified

1529}
1530
1531export async function recordContentReplacement(
1532 replacements: ContentReplacementRecord[],
1533 agentId?: AgentId,
1534) {
1535 await getProject().insertContentReplacement(replacements, agentId)
1536}
1537
1538/**
1539 * 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