UNPKG

@jjdenhertog/ai-driven-development

Version:

AI-driven development workflow with learning capabilities for Claude

20 lines 624 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseTranscriptFile = parseTranscriptFile; const fs_extra_1 = require("fs-extra"); function parseTranscriptFile(transcriptPath) { const transcriptContent = (0, fs_extra_1.readFileSync)(transcriptPath, 'utf8'); return transcriptContent .split('\n') .filter(line => line.trim()) .map(line => { try { return JSON.parse(line); } catch (_a) { return null; } }) .filter(entry => entry !== null); } //# sourceMappingURL=parseTranscriptFile.js.map