MCPcopy
hub / github.com/superagent-ai/grok-cli / loadRawTranscript

Function loadRawTranscript

src/storage/transcript.ts:91–93  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

89}
90
91export function loadRawTranscript(sessionId: string): ModelMessage[] {
92 return loadMessageRows(sessionId).map((row) => JSON.parse(row.message_json) as ModelMessage);
93}
94
95export function loadTranscriptState(sessionId: string): LoadedTranscriptState {
96 const rows = loadMessageRows(sessionId);

Callers

nothing calls this directly

Calls 1

loadMessageRowsFunction · 0.85

Tested by

no test coverage detected