Commit Graph

252 Commits

Author SHA1 Message Date
Matt Bierner
af32b7b329 Revert "Add min-release-age in npmrc files"
This reverts commit a440ae0518.
2026-03-11 10:07:42 -07:00
Matt Bierner
15186d2e20 Merge pull request #300665 from mjbvz/dev/mjbvz/intellectual-snake
Fix the `github` extension for esbuild
2026-03-10 23:07:03 -07:00
Matt Bierner
599fc96f2f Fix the github extension for esbuild 2026-03-10 22:53:03 -07:00
Matt Bierner
a440ae0518 Add min-release-age in npmrc files
For #299632

Not fully enabled unless you're using a recent npm. Next step will be to bump the min node/npm versions for the workspace too
2026-03-10 20:33:07 -07:00
Matt Bierner
e74071cd63 Fix import 2026-03-09 09:38:32 -07:00
Matt Bierner
02d9c6d239 Also set type: module again 2026-03-09 09:38:05 -07:00
Matt Bierner
26876d30a1 Revert main change 2026-03-09 08:59:46 -07:00
Matt Bierner
13a604e50c Revert "Revert "Port github extension to use esbuild" (#298920)"
This reverts commit 51f5cafd6f.
2026-03-09 08:10:36 -07:00
Sandeep Somavarapu
2b32258b0e merge to main (#299794)
* sessions - fix chat input shrinking at narrow widths (#299498)

style - set width to 100% for `interactive-input-part`

* modal - force focus into first modal editor always

* fix: update precondition for FixDiagnosticsAction and hide input widget on command execution (#299499)

fixes https://github.com/microsoft/vscode/issues/299251

* refactor: remove workspace context service dependency from FolderPicker

* Add logging for agent feedback actions

* modal - some fixes to actions and layout

* modal - surface some editor actions in a new toolbar (#299582)

* modal - surface some editor actions in a new toolbar

* ccr

* keybindings - remove "Edit as JSON" as its now available from the title menu

* settings - remove "Edit as JSON" as its now available from the title menu

* update hover fixes

* terminal fixes

* terminal improvements

* Sessions: fix auth scopes of gh FSP

* sessions customizations: make it easier to scan mcp/plugin marketplac… (#299636)

sessions customizations: make it easier to scan mcp/plugin marketplace list

* sessions: add built-in prompt files with override support (#299629)

* sessions: add built-in prompt files with override support

Ship bundled .prompt.md files with the Sessions app that appear as
slash commands out of the box. Built-in prompts use a BUILTIN_STORAGE
constant (cast as PromptsStorage) defined in the aiCustomization layer,
avoiding changes to the core PromptsStorage enum and prompt service types.

- AgenticPromptsService discovers prompts from vs/sessions/prompts/
  at runtime via FileAccess and injects them into the listing pipeline
- Override logic: user/workspace prompts with matching names take
  precedence over built-in ones
- Built-in prompts open as read-only in the management editor
- Sessions tree view, workspace service, and counts handle BUILTIN_STORAGE
- Add /create-pr as the first built-in prompt
- Bundle prompt files via gulpfile resource includes

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

* Update src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.ts

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

* sessions: use AICustomizationPromptsStorage type for builtin storage

Adopt the new AICustomizationPromptsStorage union type in the sessions
tree view method signature. Use string-keyed Records and targeted casts
at the PromptsStorage boundary to stay type-safe.

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

* sessions: remove PromptsStorage casts, widen IStorageSourceFilter

Use AICustomizationPromptsStorage in sessions-local interfaces
(IAICustomizationGroupItem, IAICustomizationFileItem) and widen
IStorageSourceFilter.sources to readonly string[] so BUILTIN_STORAGE
flows through without casts. The only remaining cast is at the
IPromptPath creation boundary in AgenticPromptsService.

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

* sessions: move BUILTIN_STORAGE to sessions common layer

Move AICustomizationPromptsStorage type and BUILTIN_STORAGE constant
from the workbench browser UI module to sessions/contrib/chat/common
so that AgenticPromptsService (a service) does not depend on UI code.

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

---------

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

* sessions: fix ESLint dangerous type assertion in builtin prompts (#299663)

Replace the `as IPromptPath` cast in discoverBuiltinPrompts with a
createBuiltinPromptPath factory function that contains the type
narrowing in one place, satisfying the code-no-dangerous-type-assertions
ESLint rule.

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

* Enhance Agent Sessions Control and Renderer with observable active session resource

* fix terminal

* Enable model management in NewChatWidget

* review feedback

* different competion settings for copilot markdown and plaintext

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 09:09:01 -08:00
Osvaldo Ortega
093376241c Sessions window: contributed pr actions 2026-03-04 15:45:55 -08:00
Osvaldo Ortega
26b6024286 Using merge strategy 2026-03-03 15:43:40 -08:00
Benjamin Pasero
8f0ea5c65c sessions - shorter button for PR open/create (#298257) 2026-02-27 16:11:16 +01:00
Osvaldo Ortega
756602da18 Set GitHub context for open pull requests based on session resolution 2026-02-26 16:26:55 -08:00
Osvaldo Ortega
c040dd4b13 Refactor pull request handling to open repository page on API failure and update command to open pull request 2026-02-26 15:18:43 -08:00
Osvaldo Ortega
19a12a4ff3 Update pull request state handling to include all states in checks 2026-02-26 15:16:05 -08:00
Osvaldo Ortega
7c32c58bbd Remove 'state: open' from pull request creation and check functions 2026-02-26 15:09:54 -08:00
Osvaldo Ortega
c4f26872d1 Add command to check for open pull requests and refactor session repository resolution 2026-02-26 15:08:16 -08:00
Osvaldo Ortega
6ce4655c56 enable virtual workspaces capability in package.json 2026-02-26 14:54:56 -08:00
Osvaldo Ortega
68f9ece10a add logging for activation in GitHub extension 2026-02-26 14:48:20 -08:00
Osvaldo Ortega
abf18a18fc Refactor code structure for improved readability and maintainability 2026-02-26 14:40:52 -08:00
Osvaldo Ortega
0d0acbcde2 remove unnecessary context setting for open pull request in createPullRequest function 2026-02-26 11:58:29 -08:00
Osvaldo Ortega
21049d3dc8 add openPullRequest command and update related logic in GitHub extension 2026-02-26 11:55:52 -08:00
Matt Bierner
2fedd2e043 Adopt esbuild for a few more extensions
- extension-editing
- terminal-suggest
- tunnel-forwarding
- php language features
2026-02-18 15:20:02 -08:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Matt Bierner
cca17c1b7f Use ts-go for building our extensions
Also reverts to use experimental decorators due to stage 3 decorators not being supported yet https://github.com/microsoft/typescript-go/issues/2354

The skipLib check is needed to work around some jsdom types issues
2026-02-02 20:06:00 -08:00
Matt Bierner
ee01088b74 Update roots 2026-01-30 13:12:58 -08:00
Matt Bierner
0d9a2ef2b0 Add explicit rootDirs 2026-01-30 11:07:53 -08:00
Ladislau Szomoru
2b52b93770 Git - enable ESLint rule for git extensions (#277156)
* Initial commit with all exceptions

* First pass of fixing

* Add ignored files explicitly
2025-11-13 15:35:01 +00:00
Ladislau Szomoru
ffcd44e6a1 Git - remove the use of in (#277077) 2025-11-13 08:51:35 +00:00
Matt Bierner
dd281f1d90 Remove allowSyntheticDefaultImports 2025-11-10 09:01:56 -08:00
Ladislau Szomoru
da14a6ea3a GitHub - use different link for hover commands and links in the commit message (#275518) 2025-11-05 09:46:59 +00:00
Matt Bierner
e8b2531c8b Merge pull request #271470 from mjbvz/dev/mjbvz/panicky-mockingbird
Enforce single quote string usage in extension tests
2025-10-15 11:16:49 -07:00
Ladislau Szomoru
a1d4cfa3d8 SCM - graph hover provided by extension (#271519)
* Git - 💄 consolidate git blame and timeline hover code

* Git - Delete code that was commented out

* SCM - graph hover provided by extension

* Apply suggestion from @Copilot

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

* More fixes

* More fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-15 14:22:12 +00:00
Matt Bierner
1c35a4d05c Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Matt Bierner
8f232fff89 Exclude a few more files from published extensions 2025-08-13 10:15:20 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
2baf1b4cde Runtime fixes for stage 3 decorators 2025-08-06 14:32:43 -07:00
Matt Bierner
d8c9852fe9 Don't use experimental decorators in extensions
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Ladislau Szomoru
90fcd05e94 GitHub - update remote order for git blame actions (#257816) 2025-07-25 12:06:47 +00:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
9913e0238a GitHub - cleanup octokit auth (#251266)
Refactor auth
2025-06-12 12:41:33 +02:00
Ladislau Szomoru
39500b94ef GitHub - fix auth regression (#250556)
* Revert "GitHub - fix regression in `getOctokitGraphql()` (#249355)"

This reverts commit 3381c264e1.

* Fix graphql client caching
2025-06-03 13:13:53 -07:00
nomike
c80442dee0 Enhance GithHub publishing logic to handle renamed repositories (#245024)
* Enhance GithHub publishing logic to handle renamed repositories.

* Make "result" const as it is never reassigned.

* Pull request feedback

---------

Co-authored-by: nomike <nomike@nomike.cpm>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-27 13:20:25 +00:00
Ladislau Szomoru
e806b1ba01 GitHub - only prompt once to authenticate in the avatar provider (#249785) 2025-05-26 01:30:03 -07:00
Ladislau Szomoru
3381c264e1 GitHub - fix regression in getOctokitGraphql() (#249355) 2025-05-20 16:43:20 +02:00
Ladislau Szomoru
70107d1562 GitHub - fix graphql query regression following the ESM migration (#249340) 2025-05-20 12:09:15 +02:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Johannes Rieken
cb0950e9d7 Migrate github extension to ESM (2nd attempt) (#248312)
* Revert "GitHub - revert ESM migration (#247322)"

This reverts commit 2047ab0fff.

* use `"@vscode/extension-telemetry": "^1.0.0"` which doesn't use default export anymore
2025-05-07 15:52:46 +02:00
Ladislau Szomoru
2047ab0fff GitHub - revert ESM migration (#247322)
* Revert "fix github extension bundling (#247314)"

This reverts commit 0cffb673f5.

* Revert "migrate github-extension to ESM"

This reverts commit 493874c390.

* Add missing JS file
2025-04-24 19:24:59 +02:00