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

Function recordSidechainTranscript

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

Source from the content-addressed store, hash-verified

1449}
1450
1451export async function recordSidechainTranscript(
1452 messages: Message[],
1453 agentId?: string,
1454 startingParentUuid?: UUID | null,
1455) {
1456 await getProject().insertMessageChain(
1457 cleanMessagesForLogging(messages),
1458 true,
1459 agentId,
1460 startingParentUuid,
1461 )
1462}
1463
1464export async function recordQueueOperation(queueOp: QueueOperationMessage) {
1465 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