Microsoft/vscode

Git - changes tool should avoid context blowout

Open

#276,413 建立於 2025年11月10日

在 GitHub 查看
 (5 留言) (0 反應) (1 負責人)TypeScript (74,848 star) (10,221 fork)batch import
feature-requestgithelp wanted

描述

Type: Bug

  1. Ask agent to "review #changes" in a large changeset
  2. 🐛 #changes tool calls adds 50k tokens to a conversation, causing quick summarization cycle

Expected: Make #changes smarter to NOT include ALL details when a changeset is massive, but allow the agent to progressively disclose context.

Without changes, the agent will usually list changed files first and then do smarter exploration of what changed.

VS Code version: Code - Insiders 1.106.0-insider (Universal) (48cdf17f0e856e1daca2ad2747814085a2453df0, 2025-11-07T21:38:27.361Z) OS version: Darwin arm64 24.6.0 Modes:

Item Value
CPUs Apple M4 Pro (14 x 2400)
GPU Status 2d_canvas: enableddirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: enabled_ontrees_in_viz: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off
Load (avg) 5, 5, 6
Memory (System) 24.00GB (0.10GB free)
Process Argv --log trace --enable-proposed-api digitarald.agent-memory --crash-reporter-id 9b206efe-c338-4f34-baff-2aab1c48a82e
Screen Reader no
VM 0%

貢獻者指南

Git - changes tool should avoid context blowout · Microsoft/vscode#276413 | Good First Issue