Bhavya U 35e83ba656 feat: add conversation transcript lookup after summarization (#4475)
* 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
2026-03-18 06:06:21 +00:00
S
Description
Languages
TypeScript 76.2%
jsonc 19.4%
CSS 1.3%
JavaScript 0.7%
C 0.7%
Other 1.4%