Files
vscode/src/vscode-dts
Justin Chen 7508207d29 autopilot mode + secondary chat input toolbar (#296691)
* autopilot mode + /yolo commands

* fix tests

* revert fix

* fix disposable leak

* address a few comments, make sure it works when switching sessions

* make some tests

* fix tests

* some reverts to cleaner state

* add secondary toolbar, permissions

* don't use query selector, surface toolbar in the template

* UI polish: context usage widget, secondary toolbar layout, theme tweaks

- Move context usage widget to secondary toolbar with percentage label on hover
- Adjust secondary toolbar padding/gap and input part bottom padding
- Lower icon-only threshold to 300px
- Darken input placeholder foreground in 2026 dark theme
- Update agent mode description

* update names

* update api for tool call limits

* add true autopilot

* move error retry logic to extension

* address some more comments

* make sure to hide tool

* bump version #

* better tool description

* fix conflict

* enterprise restrictions

* revert some stuff, fix sessions window containers

* fix actions

* fix delegate vs. session target

* fix compile + add setting

---------

Co-authored-by: David Dossett <25163139+daviddossett@users.noreply.github.com>
2026-03-04 19:45:02 +00:00
..

vscode-dts

This is the place for the stable API and for API proposals.

Consume a proposal

  1. find a proposal you are interested in
  2. add its name to your extensions package.json#enabledApiProposals property
  3. run npx vscode-dts dev to download the d.ts files into your project
  4. don't forget that extension using proposed API cannot be published
  5. learn more here: https://code.visualstudio.com/api/advanced-topics/using-proposed-api

Add a new proposal

  1. create a new file in this directory, its name must follow this pattern vscode.proposed.[a-zA-Z]+.d.ts
  2. creating the proposal-file will automatically update src/vs/platform/extensions/common/extensionsApiProposals.ts (make sure to run npm run watch)
  3. declare and implement your proposal
  4. make sure to use the checkProposedApiEnabled and/or isProposedApiEnabled-utils to enforce the API being proposed. Make sure to invoke them with your proposal's name which got generated into extensionsApiProposals.ts
  5. Most likely will need to add your proposed api to vscode-api-tests as well