Commit Graph

154398 Commits

Author SHA1 Message Date
Matt Bierner
1804dfd6c6 Merge pull request #308888 from mjbvz/dev/mjbvz/petite-wolf
Add new chat session items on the ext host side
2026-04-09 16:10:20 -07:00
Connor Peet
baa9c85c29 Merge pull request #308866 from microsoft/connor4312/ah-terminals-2
agentHost: integrate terminals with tool call
2026-04-09 18:55:48 -04:00
Osvaldo Ortega
e13eb9b0fa sessions: fix "Generate New Task" no-op on existing sessions (#308883)
* Fix 'Generate New Task' no-op on existing sessions

sendAndCreateChat only works for new (untitled) sessions or when
multi-chat is enabled. For existing/completed sessions it threw an
error that was silently swallowed, making the action appear to do
nothing.

Add a _generateNewTask helper that checks the session status:
- Untitled sessions: use sendAndCreateChat (existing first-chat flow)
- Existing sessions: send /generate-run-commands directly to the
  active chat widget via acceptInput

Fixes #308805

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review: use passed-in session, add sendAndCreateChat fallback

- Use session.mainChat.resource instead of re-reading activeSession
  from global state, avoiding stale-reference bugs.
- Fall back to sendAndCreateChat when no chat widget is found for
  the session, so the action is never a silent no-op.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Simplify _generateNewTask: consolidate sendAndCreateChat fallback

Both the untitled and widget-not-found paths called sendAndCreateChat,
so collapse the if/else into a single widget-first-then-fallback flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 22:53:30 +00:00
Matt Bierner
94fed89742 Add new chat session items on the ext host side 2026-04-09 15:32:54 -07:00
Connor Peet
93a9f97101 Merge remote-tracking branch 'origin/main' into connor4312/ah-terminals-2 2026-04-09 15:19:50 -07:00
Matt Bierner
e4749092e1 Merge pull request #308878 from microsoft/dev/mjbvz/fair-echidna
Update distro
2026-04-09 15:12:50 -07:00
Osvaldo Ortega
c5729b10dc sessions: rename inSessions to inAgents and fix updateTask duplication bug (#308876)
Rename the `inSessions` task property to `inAgents` across all source,
tests, JSON configs, and documentation.

Also fix a bug in `updateTask` where `setProperty` with a numeric
array index was inserting a duplicate entry instead of replacing the
existing one. The fix replaces the entire tasks array with the updated
entry mapped in at the correct index, consistent with how `removeTask`
already works.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 14:53:14 -07:00
Rob Lourens
6be8d6a5d4 Add performance workflow and heap-snapshot-analysis skills (#308834)
* Add performance workflow and heap-snapshot-analysis skills

Add two agent skills for memory/performance investigations:

- vscode-performance-workflow: Drives repeatable VS Code scenarios,
  captures heap snapshots, and includes bundled chat smoke runners
  (chat-memory-smoke, chat-session-switch-smoke).
- heap-snapshot-analysis: Parses V8 heap snapshots, compares before/after,
  and traces retainer paths.

Both skills include scratchpad folders (gitignored) for one-off
investigation scripts organized in dated subfolders with findings.md.

(Written by Copilot)

* Rename skill to auto-perf-optimize

(Written by Copilot)

* workspace

Co-authored-by: Copilot <copilot@github.com>

* this

* Comments

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-09 21:53:06 +00:00
Matt Bierner
20775e04a7 Merge pull request #308873 from mjbvz/dev/mjbvz/exuberant-flea
Avoid hardcoding external ingest embedding type
2026-04-09 14:52:59 -07:00
Matt Bierner
9aecaa03dc Merge branch 'main' into dev/mjbvz/fair-echidna 2026-04-09 14:37:46 -07:00
Connor Peet
a475a874b9 Merge pull request #308864 from microsoft/connor4312/ahp-elicitation
agentHost: support askQuestions/elicitation and InProgress
2026-04-09 17:35:55 -04:00
Matt Bierner
7bb6eb7c63 Update extensions/copilot/src/platform/workspaceChunkSearch/node/codeSearch/externalIngestIndex.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-09 14:31:51 -07:00
Osvaldo Ortega
de654a9896 sessions: disable release notes on update (#308851)
Set update.showReleaseNotes to false in the sessions app configuration
defaults so release notes do not auto-open after a version update.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 14:27:46 -07:00
Matt Bierner
2b1482c5e6 Update distro 2026-04-09 14:27:22 -07:00
Christof Marti
571a7d595d Resend all messages when WebSocket's previous response id does not match (#298236) 2026-04-09 21:26:39 +00:00
Connor Peet
ac11331194 tests 2026-04-09 14:21:57 -07:00
Josh Spicer
c00fafef7f Redesign chat customizations welcome page (#308622)
* Redesign chat customizations welcome page

- Extract welcome page into dedicated AICustomizationWelcomePage class
  and aiCustomizationWelcome.css for better code organization
- Replace old banner + card grid with:
  - 'Analyze Your Project and Configure AI' input box that opens
    /agent-customization in chat with user's description
  - 2x3 category card grid (Agents, Skills, Instructions, Hooks,
    MCP Servers, Plugins) with actionable chip buttons
  - Chips prepopulate chat with specific prompts (e.g. 'Create a
    code review agent', 'Enforce coding style')
- Remove redundant 'Chat Customizations' heading (already in tab)
- Remove redundant 'browse by type' pills (cards serve same purpose)
- Improve chip contrast with visible borders and link-colored text
- Tighten card padding and description sizing for cleaner layout

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Polish welcome page: bigger input, separator, more copy

- Make input box taller with rounded corners and inner submit button
  styled like a chat input (pill-shaped submit that fills on hover)
- Add section divider line between input area and card grid
- Add 'Or configure individual customizations:' label above grid
- Expand description copy to mention codebase analysis
- Bump card label font-weight to 600 and restore 12px desc size
- Restore card padding to 14px for better breathing room

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Rework welcome page: stacked list, better input, centered divider

- Replace 2x3 card grid with full-width stacked category list
  where each row shows icon, label, description, and chip buttons
  inline on a single line
- Input box uses cornerRadius-large, proper padding matching chat
  input style, submit button inside with pill shape
- Separator now shows centered text: 'or configure individually'
  with lines extending on both sides
- Reduce max-width to 680px and remove all excess whitespace
- Remove card/grid CSS entirely

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Improve welcome page hierarchy and command styling

- Restore strong page intro with 'Chat Customizations' heading and
  descriptive copy from the original welcome page
- Increase overall scale: wider content, larger workflow heading,
  larger description text, and roomier input box
- Break each section into title row, description row, and command row
  instead of compressing everything into a single line
- Restyle example actions as monospace command-like entries such as
  '/create-skill ...' to better communicate they prepopulate chat
- Make category rows roomier with card-like boundaries and better
  visual hierarchy

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Simplify welcome page into launcher-style sections

- Replace boxed customization cards with lightweight stacked sections
  separated by subtle rules
- Keep the centered 'or configure individually' separator
- Increase overall scale for the intro, workflow heading, copy, and input
- Make command examples look like real slash commands with plain
  command-link styling instead of pill buttons
- Separate each section into title, description, and command rows for
  clearer hierarchy

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Revert welcome page to original design (keep file separation)

Restore the original welcome page layout from main exactly as it was:
- 'Chat Customizations' heading + subtitle
- 'Configure Your AI' getting-started banner
- Responsive card grid with Browse and Generate with AI buttons

The only structural change kept is the file separation:
welcome page logic lives in aiCustomizationWelcomePage.ts and
welcome CSS lives in media/aiCustomizationWelcome.css.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add centered 'or configure individually' divider between banner and cards

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Replace Configure Your AI banner with chat-style input box

Swap the old getting-started banner for a clean input box styled
like the chat input part: cornerRadius-large, input-background,
submit arrow inside. No highlight borders or extra UI chrome.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix input box focus outlines to match chat input part

Remove the double-outline: the inner monaco-inputbox and the native
input element both had their own focus borders showing through. Force
border/outline to none on both inner elements and let only the outer
container show the single focus border. Use transparent as default
border (matching chat input) and add overflow: hidden to clip inner
outlines at the rounded corners.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix inner input box border by passing transparent inputBoxStyles

The InputBox sets an inline style border via applyStyles() which
cannot be overridden by CSS. Pass inputBorder: transparent and
inputBackground: transparent so the inner box is invisible and
only the outer container provides the border.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Refactor agent customizations welcome page

Split the Agent Customizations welcome page into classic and prompt-launcher variants, add a configuration switch for selecting the implementation, and add component fixtures for the welcome page variants.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Polish customization welcome page variants

Refine the classic and prompt-launcher welcome pages so the workflow entry point is more prominent and the category actions are simpler and better aligned.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Swap welcome variants and fix sessions chat prefill

Move the polished workflow-box layout into promptLaunchers (now the default) and restore classic to the origin/main baseline. Add prefillChat callback so the Generate Workflow input works in both the sessions app (via NewChatViewPane.sendQuery) and core VS Code (via workbench.action.chat.open). Enable the getting-started banner in sessions. Fix double-box input styling and card footer alignment.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix input focus outline and polish welcome page layout

Replace InputBox widget with plain <input> element to eliminate the focus border that the global .monaco-workbench input[type=text]:focus rule was applying. Move helper text above the input, match input-row rounding to the outer card, and add strong specificity overrides for all focus states.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 14:15:11 -07:00
dileepyavan
f42a0019d1 Remove codex string from hidden Model B prompt (#308672)
* Update hidden Model B agent prompt for evals

* Refine hidden Model B prompt tag structure

* updating prompt to remove codex string
2026-04-09 21:10:35 +00:00
Matt Bierner
a556f3229a Avoid hardcoding external ingest embedding type
Also updated some telemetry fields so we can do correlations more easily
2026-04-09 14:05:15 -07:00
Eleanor Boyd
6282a77b7d Merge pull request #308821 from eleanorjboyd/alright-peafowl
remove duplicate discount text
2026-04-09 14:03:33 -07:00
Connor Peet
a864395971 comments and tests 2026-04-09 13:56:54 -07:00
Connor Peet
8f569bc218 comments 2026-04-09 13:51:38 -07:00
Ladislau Szomoru
608d5c828a Agents - re-create state listener when repository is closed/opened (#308867)
* Agents - re-create state listener when repository is closed/opened

* Add missing line
2026-04-09 20:47:06 +00:00
Hawk Ticehurst
7829709b0f sessions: round layout sashes (#308856)
Scope the sessions-only sash styling to round the hover indicator and orthogonal drag handles, and document the layout update in LAYOUT.md.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 16:43:53 -04:00
Matt Bierner
ce7d5e4c70 Merge pull request #308739 from maruthang/fix/issue-244597-markdown-default-view-startup
fix: resolve default view for markdown files on first startup
2026-04-09 13:43:49 -07:00
Yogeshwaran C
7c4dbf0d60 Merge pull request #308697 from yogeshwaran-c/fix/testing-peek-visible-document-check
fix: check message location visibility for failureInVisibleDocument peek
2026-04-09 20:31:29 +00:00
Megan Rogge
fc5edfe78e Improve interactive terminal input handling (#308855) 2026-04-09 13:17:01 -07:00
Eleanor Boyd
5d663d5098 Merge pull request #308808 from eleanorjboyd/tremendous-koala
update model hover so tooltip displays without requiring status icon
2026-04-09 13:15:53 -07:00
Connor Peet
6537857598 agentHost: integrate terminals with tool call
We need proper command detection to make this work flawlessly, but this
does the initial hookup replacing the copilot SDK's terminal tools with
our tools which are backed by real PTY's.
2026-04-09 13:12:36 -07:00
Connor Peet
6cc14b067f agentHost: support askQuestions/elicitation and InProgress
Adopts new AHP additions to support this stuff. askQuestions work and
state is updated in the session list.
2026-04-09 13:08:25 -07:00
Rohan Malpani
763d8945e0 feat: enhance sessions view with find widget and header actions (#307679) 2026-04-09 15:48:42 -04:00
Ladislau Szomoru
06f88e480a Background - add exception handling when computing changes (#308849) 2026-04-09 15:44:02 -04:00
Henning Dieterichs
203f80a1f7 Adds telemetry.performance.inputLatencySamplingProbability 2026-04-09 21:42:28 +02:00
Copilot
f8d1c8edca Centralize shouldSendBackgroundNotifications flag for subagent context (#308840) 2026-04-09 19:41:24 +00:00
Megan Rogge
31b6bf6f65 Fix terminal output last line clipping in chat terminal tool progress (#308842)
fix #307571
2026-04-09 15:38:45 -04:00
Ladislau Szomoru
12905f7b18 Agents - hide toolbar in the Changes view for the untitled session (#308812)
* Agents - hide toolbar in the Changes view for the untitled session

* Pull request feedback
2026-04-09 15:35:30 -04:00
Copilot
5ed476651a Fix listener LEAK in chatTerminalToolProgressPart.ts (#308819) 2026-04-09 18:19:05 +00:00
João Moreno
da8f31a0f8 bump timeouts (#308837) 2026-04-09 18:03:59 +00:00
Logan Ramos
56f60d48f8 Remove dead code (#308835) 2026-04-09 11:00:20 -07:00
Ulugbek Abdullaev
c5ac25e125 nes: xtab: refactor: extract _performFetch from _streamEditsImpl (#308778)
refactor(xtab): extract _performFetch from _streamEditsImpl

Separate the HTTP fetch lifecycle (FetchStreamSource setup, makeChatRequest2,
initial error handling, line stream construction with cursor-tag removal and
latency logging) into a dedicated _performFetch method.

This makes the fetch infrastructure self-contained and returns a clean
AsyncIterable<string> line stream + getFetchFailure callback for downstream
format handlers, matching the pattern already used by
XtabCustomDiffPatchResponseHandler.

_streamEditsImpl is now a coordinator: it calls _performFetch, then dispatches
to format handlers, then post-processes edit-window results.

Part of #308744
2026-04-09 10:50:41 -07:00
Justin Chen
35a23cd116 switch to copilot icon for cli (#308831) 2026-04-09 17:33:01 +00:00
Megan Rogge
edd5c9609b remove LLM calls to detect prompts for input, add fg terminal support for send_to_terminal/get_terminal_output (#308587) 2026-04-09 10:31:32 -07:00
Sandeep Somavarapu
fff7426964 support skipping builtin extension (#308825) 2026-04-09 17:23:12 +00:00
Eleanor Boyd
ea1830921d Merge branch 'main' into alright-peafowl 2026-04-09 10:06:31 -07:00
Sandeep Somavarapu
1ec46de152 fix #307208 (#308798) 2026-04-09 09:55:17 -07:00
eleanorjboyd
c6ba46b5d1 remove duplicate discount text 2026-04-09 09:52:22 -07:00
Henning Dieterichs
d075f40d59 fixes lint error 2026-04-09 18:47:23 +02:00
Henning Dieterichs
7892126910 Report all screenshot changes 2026-04-09 18:47:23 +02:00
Henning Dieterichs
e77bff2a84 Removes accidentally added configuration 2026-04-09 18:47:23 +02:00
Henning Dieterichs
bd50466da7 artifacts update: unify artifact rules, agent and subagent artifacts 2026-04-09 18:47:23 +02:00