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

Function recordSidechainTranscript

src/utils/sessionStorage.ts:1609–1620  ·  view source on GitHub ↗
(
  messages: Message[],
  agentId?: string,
  startingParentUuid?: UUID | null,
)

Source from the content-addressed store, hash-verified

1607}
1608
1609export async function recordSidechainTranscript(
1610 messages: Message[],
1611 agentId?: string,
1612 startingParentUuid?: UUID | null,
1613) {
1614 await getProject().insertMessageChain(
1615 cleanMessagesForLogging(messages),
1616 true,
1617 agentId,
1618 startingParentUuid,
1619 )
1620}
1621
1622export async function recordQueueOperation(queueOp: QueueOperationMessage) {
1623 await getProject().insertQueueOperation(queueOp)

Callers 3

runAgentFunction · 0.85
runForkedAgentFunction · 0.85
startBackgroundSessionFunction · 0.85

Calls 3

getProjectFunction · 0.85
cleanMessagesForLoggingFunction · 0.85
insertMessageChainMethod · 0.80

Tested by

no test coverage detected