feat(copilot): implement TranscriptAnalyzer for JSONL transcripts#592
Conversation
PR SummaryMedium Risk Overview This adds JSONL parsing to compute transcript position (line count), extract modified files from Written by Cursor Bugbot for commit e2ab2f3. Configure here. |
There was a problem hiding this comment.
Pull request overview
Implements Copilot CLI transcript analysis for JSONL events.jsonl so Entire can extract prompts, summaries, and modified-file metadata from Copilot sessions.
Changes:
- Added
TranscriptAnalyzerimplementation forCopilotCLIAgent, including prompt/summary extraction and modified-file detection viatool.execution_completeevents. - Added unit tests covering event parsing, prompt/summary extraction, modified-file extraction, and transcript position counting.
- Updated Copilot CLI agent documentation to describe the new transcript-derived metadata behavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| cmd/entire/cli/agent/copilotcli/transcript.go | Adds JSONL parsing and TranscriptAnalyzer methods for Copilot CLI transcripts. |
| cmd/entire/cli/agent/copilotcli/transcript_test.go | Adds tests for parsing and extraction logic, plus interface implementation checks. |
| cmd/entire/cli/agent/copilotcli/AGENT.md | Documents tool.execution_complete and the new TranscriptAnalyzer behavior. |
No description provided.