mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 20:25:40 +01:00
35e83ba6564b3ea786bc88dc8eaebb9ae4cb908a
* feat: add conversation transcript lookup after summarization After conversation history is compacted, inform the model it can look up the full pre-compaction transcript via read_file. The transcript is a JSONL file produced by ISessionTranscriptService. Key changes: - Add isTranscriptUri() to ISessionTranscriptService for read_file allowlisting - Allowlist transcript URIs in assertFileOkForTool and isFileExternalAndNeedsConfirmation - Lazily start transcript session in SummarizedConversationHistory before summarization runs (idempotent if hooks already started it) - After summarization, flush transcript and pass path to SummaryMessageElement which tells the model about the file - Gate behind ConfigKey.ConversationTranscriptLookup (ExperimentBased, default off) - Add setting in package.json preview section with onExp tag * fix: update transcript lookup instruction to use ToolName.ReadFile
Description
Languages
TypeScript
76.2%
jsonc
19.4%
CSS
1.3%
JavaScript
0.7%
C
0.7%
Other
1.4%