Commit Graph

969 Commits

Author SHA1 Message Date
Connor Peet
0a8edf7b2f plugins: allow updating agent plugins (#300344)
* plugins: allow updating agent plugins

Add update detection and update buttons to the agent plugins view and editor.
This allows users to see when installed plugins have newer versions available
and update them directly from the UI without manually checking for updates.

- Export hasSourceChanged() from pluginMarketplaceService for reuse
- Add 'outdated' and 'liveMarketplacePlugin' fields to IInstalledPluginItem
- Fetch marketplace data in AgentPluginsListView.show() to cross-reference
  installed vs live versions and mark outdated plugins
- Add UpdatePluginAction to list view with live marketplace data
- Add UpdatePluginEditorAction to plugin editor with live marketplace data
- Both update actions re-register the plugin with updated metadata after
  successful update so the UI immediately reflects the new version
- Read fresh installed metadata from pluginMarketplaceService.installedPlugins
  store (not stale IAgentPlugin.fromMarketplace) for accurate version checks
- Pass 'silent' option to runInstall() to show non-blocking notification
  instead of dialog when silent=true
- Re-register plugins with live data after updateAllPlugins() completes
  so stored sourceDescriptor reflects new version/ref/sha

(Commit message generated by Copilot)

* pr comments and cleanup

* fix test failure
2026-03-11 04:57:13 +11:00
Connor Peet
a4e35e0d69 chat: add support for agent plugin sources (#299081)
* chat: add support for agent plugin sources

- Adds support for agent plugins to reference sources as specified in
  PLUGIN_SOURCES.md, enabling installation from GitHub, npm, pip, and
  other package registries
- Integrates source parsing and validation into the plugin installation
  service and repository service
- Adds comprehensive test coverage for plugin source handling and
  installation from various sources
- Creates PLUGIN_SOURCES.md documentation describing how to specify
  plugin source configurations

(Commit message generated by Copilot)

* comments

* windows fixes and fault handling

* fix tests
2026-03-04 07:20:21 -08:00
Osvaldo Ortega
76fa9206f1 Merge pull request #299090 from microsoft/osortega/interior-flea
Session window: merge to local
2026-03-03 18:42:59 -08:00
Osvaldo Ortega
68da1933d0 Clean up 2026-03-03 17:55:47 -08:00
Osvaldo Ortega
55dc53f5d3 Review comments 2026-03-03 17:45:30 -08:00
Osvaldo Ortega
26b6024286 Using merge strategy 2026-03-03 15:43:40 -08:00
Osvaldo Ortega
dd8539f530 Session window: apply patch to local 2026-03-03 08:28:10 -08:00
Ladislau Szomoru
fb87d94563 Git - expose random name generation for branches (#298938) 2026-03-03 12:45:46 +00:00
Matt Bierner
fc4a565437 Merge pull request #298108 from microsoft/dev/mjbvz/other-meadowlark
Port git extension to use esbuild
2026-03-02 09:11:02 -08:00
Ladislau Szomoru
39cd99fe01 Git - add commands to copy information in the repositories view (#298558) 2026-03-01 17:38:47 +01:00
Matt Bierner
a453d99821 Port git extension to use esbuild
Fixes #296355
2026-02-26 14:10:15 -08:00
Benjamin Christopher Simmonds
e30f28558f feat: add clone repository option to folder picker (#297995) 2026-02-26 14:59:13 +01:00
Connor Peet
f6b16889a2 pr comments 2026-02-23 16:20:24 -08:00
Connor Peet
dc4cd84cdb plugins: enable installing plugins from marketplaces
Supports both Copilot marketplaces as well as Claude marketplaces (when configured).

Still todo:

- Currently enumerating plugins hit public GH APIs. But this would fail for private repos. In this case we should generalize the PluginInstallService to allow cloning the repo for the purpose of enumeration, not just install.
- Updating plugins still needs to be hooked up.
- Marketplace-installed plugins should get their own Discovery implementation rather than configuring the setting.
- We should normalize the type of plugin a bit so it flows from the marketplace type rather than getting re-discovered from disk.
2026-02-23 16:08:12 -08: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
Ladislau Szomoru
bae323865a Git - add the ability to disable commit signing (#291822) 2026-01-30 11:45:00 -08:00
Ladislau Szomoru
3fbb12a61c Git - fix open repository command (#290836)
* Git - fix open repository command

* Missed couple of places
2026-01-27 16:41:51 +01:00
Dmitriy Vasyura
0e28a4b760 Add Git: Delete action to run git rm command on the current document (#285411) 2026-01-16 21:36:23 +01:00
Ladislau Szomoru
b69e4fc36a Git - fix default worktree path when creating a worktree in a worktree (#286210) 2026-01-06 13:22:09 -08:00
Ladislau Szomoru
43081d3bac Git - expose list of worktrees through the git extension API (#285087)
* Git - expose list of worktrees through the git extension API

* Fix compilation error

* Add property to `RepositoryState`
2025-12-26 02:04:01 -08:00
Ladislau Szomoru
c95739960f Git - get the diff and num stats for a commit (#284403) 2025-12-19 10:18:29 +00:00
Ladislau Szomoru
abd691b025 Git - polish delete worktree picker (#284242) 2025-12-18 12:22:41 +00:00
Ladislau Szomoru
150682a14a Git - add worktrees node to the Repositories view (#284224)
* Worktree node - initial implementation

* Wire up various commands
2025-12-18 10:48:41 +00:00
Ladislau Szomoru
e255528ff0 Git - update branch protection dialog message (#284037) 2025-12-17 11:58:27 +00:00
Ladislau Szomoru
f297f37463 Git - add "Stashes" node to the repositories view (#279400)
* WIP - Initial implementation

* Get author and committer date for a stash

* Add drop stash command

* More cleanup
2025-11-25 17:13:48 +00:00
Ladislau Szomoru
9c36e3505a Git - add option to restore staged changes when aplying/popping a stash (#278556) 2025-11-20 11:13:37 +00:00
Ladislau Szomoru
7c999f6f62 Git - refactor migrate changes functionality (#278426)
* Git - rework migrate changes

* Add extension API

* Revert some of the options

* Remove staged option

* More cleanup

* More command cleanup
2025-11-19 12:55:43 -08:00
Ladislau Szomoru
5a1c4e6ca5 Git - refactor create/delete worktree and expose extension API (#278107)
* Git - refactor create/delete worktree and expose extension API

* Pull request feedback

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-18 15:37:56 +00:00
Ladislau Szomoru
ae77536e70 Git - cleanup delete worktree command implementation (#278018) 2025-11-18 00:17:55 -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
89fd28901e Git - only dispose worktree repository after it has been deleted (#276207) 2025-11-07 13:55:40 -08:00
Ladislau Szomoru
cc5d8fd3ee Git - do not show warning dialog when you do a non-interactive worktree migration (#276177)
* Git - do not show warning dialog when you do a non-interactive worktree migration

* Fix condition 🤦‍♂️
2025-11-07 12:31:18 -08:00
Ladislau Szomoru
7bdbccd240 Git - improve logic to pick a worktree to migrate changes from (#276048) 2025-11-07 11:38:52 +00:00
Dmitriy Vasyura
90281f7d43 Revert "Git - adopt new QuickInputButton location (#275071)" (#275465)
This reverts commit e092054c98.
2025-11-05 07:24:33 +01:00
Ladislau Szomoru
4e72c81a4e Git - fix editor tab labels and notifications when comparing references (#275292) 2025-11-04 20:17:45 +00:00
Ladislau Szomoru
e092054c98 Git - adopt new QuickInputButton location (#275071) 2025-11-04 10:49:32 +00:00
Ladislau Szomoru
e3babad841 SCM - use unicode codes in labels (#274786) 2025-11-03 16:02:24 +00:00
Ladislau Szomoru
1690fee7d8 Git - improve compare reference notification (#274776)
SCM - improve compare reference notification
2025-11-03 15:13:39 +00:00
Abinash Karmakar
351475e460 fix: include original URI in resource filtering for multi-file diff e… (#271512)
fix: include original URI in resource filtering for multi-file diff editor (#271506)
2025-11-02 18:38:10 +00:00
Ladislau Szomoru
d219d2999a Git - adjust warning message and actions (#274508) 2025-11-01 14:57:40 +00:00
Ladislau Szomoru
69e17b67f1 Git - add more commands to repositories view (#274484)
* Git - add actions to delete branch/tag

* Fix rebase action label

* Git - add more commands
2025-11-01 13:27:56 +01:00
Ladislau Szomoru
c0755c9484 Git - add actions to merge/rebase to repositories view (#274480) 2025-11-01 08:08:31 +00:00
Ladislau Szomoru
edf5868b02 SCM - more improvements to the repositories view (#274438)
* SCM - tweak artifact folder compression

* SCM - fixed more commands and layout

* SCM - more compression changes
2025-10-31 21:49:50 +00:00
Osvaldo Ortega
444b1cb403 Command to create worktrees with defaults (#268398)
* Command to create worktrees with defaults

* Update extensions/git/src/commands.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 11:39:12 -07:00
Ladislau Szomoru
e82ab3b366 SCM - add more commands to the repositories view (#274352)
* SCM - artifact tree improvements

* Add support for compression

* Add more commands
2025-10-31 15:44:15 +01:00
Ladislau Szomoru
105d8dd583 SCM - 💄some follow-up cleanup (#274193) 2025-10-30 13:55:23 -07:00
Ladislau Szomoru
9e8f5336da SCM - plumbing to support artifacts in the repositories view (#274173)
* WIP - ported changes from the old branch

* More work getting the changes ready

* Tweak things

* Git - wire-up checkout command
2025-10-30 12:37:22 -07:00
Ladislau Szomoru
f46638bfc7 Git - improve reference comparison commands (#274143)
* Git - improve compare commands

* Remove an extra check

* Fix bad manual merge
2025-10-30 17:00:30 +00:00
Ladislau Szomoru
16f58dd3ac SCM - add incoming/outgoing nodes to graph (#274059) 2025-10-30 17:04:24 +01:00
Ladislau Szomoru
20ded57d68 Git - use diff instead of diff-tree for showing commit data and comparing branches (#273969) 2025-10-29 16:28:46 +01:00