MCPcopy Index your code
hub / github.com/Noumena-Network/code / recordContentReplacement

Function recordContentReplacement

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

Source from the content-addressed store, hash-verified

1650}
1651
1652export async function recordContentReplacement(
1653 replacements: ContentReplacementRecord[],
1654 agentId?: AgentId,
1655) {
1656 await getProject().insertContentReplacement(replacements, agentId)
1657}
1658
1659/**
1660 * 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