MCPcopy
hub / github.com/claude-code-best/claude-code / loadRawTranscriptJsonl

Function loadRawTranscriptJsonl

src/components/Feedback.tsx:153–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151}
152
153async function loadRawTranscriptJsonl(): Promise<string | null> {
154 try {
155 const transcriptPath = getTranscriptPath();
156 const { size } = await stat(transcriptPath);
157 if (size > MAX_TRANSCRIPT_READ_BYTES) {
158 logForDebugging(`Skipping raw transcript read: file too large (${size} bytes)`, { level: 'warn' });
159 return null;
160 }
161 return await readFile(transcriptPath, 'utf-8');
162 } catch {
163 return null;
164 }
165}
166
167export function Feedback({
168 abortSignal,

Callers 1

FeedbackFunction · 0.85

Calls 4

statFunction · 0.85
readFileFunction · 0.85
getTranscriptPathFunction · 0.50
logForDebuggingFunction · 0.50

Tested by

no test coverage detected