MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / recordSidechainTranscript

Function recordSidechainTranscript

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

Source from the content-addressed store, hash-verified

1486}
1487
1488export async function recordSidechainTranscript(
1489 messages: Message[],
1490 agentId?: string,
1491 startingParentUuid?: UUID | null,
1492) {
1493 await getProject().insertMessageChain(
1494 cleanMessagesForLogging(messages),
1495 true,
1496 agentId,
1497 startingParentUuid,
1498 )
1499}
1500
1501export async function recordQueueOperation(queueOp: QueueOperationMessage) {
1502 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