@vscode/chat-lib 0.3.1-18 → 0.3.1-19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.js +2 -1
  3. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.js.map +1 -1
  4. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  5. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +9 -1
  6. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  7. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +20 -7
  8. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  9. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +115 -109
  10. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  11. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +1 -0
  12. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  13. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +3 -1
  14. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  15. package/dist/src/_internal/platform/configuration/common/configurationService.js +3 -1
  16. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  17. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +1 -0
  18. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
  19. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +4 -0
  20. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
  21. package/dist/src/_internal/platform/log/common/logService.d.ts +30 -0
  22. package/dist/src/_internal/platform/log/common/logService.d.ts.map +1 -1
  23. package/dist/src/_internal/platform/log/common/logService.js.map +1 -1
  24. package/dist/src/_internal/platform/networking/common/anthropic.d.ts +1 -0
  25. package/dist/src/_internal/platform/networking/common/anthropic.d.ts.map +1 -1
  26. package/dist/src/_internal/platform/networking/common/anthropic.js +3 -3
  27. package/dist/src/_internal/platform/networking/common/anthropic.js.map +1 -1
  28. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +1 -0
  29. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  30. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  31. package/dist/src/_internal/platform/networking/common/networking.d.ts +1 -0
  32. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  34. package/dist/src/_internal/util/common/asyncIterableUtils.d.ts +1 -0
  35. package/dist/src/_internal/util/common/asyncIterableUtils.d.ts.map +1 -1
  36. package/dist/src/_internal/util/common/asyncIterableUtils.js +9 -0
  37. package/dist/src/_internal/util/common/asyncIterableUtils.js.map +1 -1
  38. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +1 -2
  39. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  40. package/dist/src/_internal/util/common/test/shims/chatTypes.js +0 -1
  41. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  42. package/dist/src/main.d.ts.map +1 -1
  43. package/dist/src/main.js +3 -0
  44. package/dist/src/main.js.map +1 -1
  45. package/dist/src/package.json +51 -21
  46. package/package.json +1 -1
@@ -90,7 +90,7 @@
90
90
  "l10n": "./l10n",
91
91
  "enabledApiProposals": [
92
92
  "agentSessionsWorkspace",
93
- "chatHooks@3",
93
+ "chatHooks@6",
94
94
  "extensionsAny",
95
95
  "newSymbolNamesProvider",
96
96
  "interactive",
@@ -2292,6 +2292,12 @@
2292
2292
  "icon": "$(terminal)",
2293
2293
  "category": "Copilot CLI"
2294
2294
  },
2295
+ {
2296
+ "command": "github.copilot.cli.sessions.commitToWorktree",
2297
+ "title": "%github.copilot.command.cli.sessions.commitToWorktree%",
2298
+ "icon": "$(git-commit)",
2299
+ "category": "Copilot CLI"
2300
+ },
2295
2301
  {
2296
2302
  "command": "github.copilot.cli.newSession",
2297
2303
  "title": "%github.copilot.command.cli.newSession%",
@@ -2322,6 +2328,10 @@
2322
2328
  "category": "Developer",
2323
2329
  "enablement": "github.copilot.chat.replay.workspaceEditTracing"
2324
2330
  },
2331
+ {
2332
+ "command": "github.copilot.chat.compact",
2333
+ "title": "%github.copilot.command.compactConversation%"
2334
+ },
2325
2335
  {
2326
2336
  "command": "github.copilot.chat.explain",
2327
2337
  "title": "%github.copilot.command.explainThis%",
@@ -2851,15 +2861,23 @@
2851
2861
  "enablement": "github.copilot.chat.copilotCLI.hasSession",
2852
2862
  "category": "Copilot CLI"
2853
2863
  },
2864
+ {
2865
+ "command": "github.copilot.chat.copilotCLI.addSelection",
2866
+ "title": "%github.copilot.command.chat.copilotCLI.addSelection%",
2867
+ "enablement": "github.copilot.chat.copilotCLI.hasSession",
2868
+ "category": "Copilot CLI"
2869
+ },
2854
2870
  {
2855
2871
  "command": "github.copilot.chat.copilotCLI.acceptDiff",
2856
2872
  "title": "%github.copilot.command.chat.copilotCLI.acceptDiff%",
2873
+ "enablement": "github.copilot.chat.copilotCLI.hasActiveDiff",
2857
2874
  "icon": "$(check)",
2858
2875
  "category": "Copilot CLI"
2859
2876
  },
2860
2877
  {
2861
2878
  "command": "github.copilot.chat.copilotCLI.rejectDiff",
2862
2879
  "title": "%github.copilot.command.chat.copilotCLI.rejectDiff%",
2880
+ "enablement": "github.copilot.chat.copilotCLI.hasActiveDiff",
2863
2881
  "icon": "$(close)",
2864
2882
  "category": "Copilot CLI"
2865
2883
  },
@@ -3069,11 +3087,6 @@
3069
3087
  "type": "string",
3070
3088
  "default": "",
3071
3089
  "markdownDescription": "The currently selected completion model ID. To select from a list of available models, use the __\"Change Completions Model\"__ command or open the model picker (from the Copilot menu in the VS Code title bar, select __\"Configure Code Completions\"__ then __\"Change Completions Model\"__. The value must be a valid model ID. An empty value indicates that the default model will be used."
3072
- },
3073
- "github.copilot.chat.growthMessages.enabled": {
3074
- "type": "boolean",
3075
- "default": false,
3076
- "markdownDescription": "Enable educational growth messages to help learn Copilot features. Reload VS Code after updating this setting."
3077
3090
  }
3078
3091
  }
3079
3092
  },
@@ -3256,6 +3269,15 @@
3256
3269
  "onExp"
3257
3270
  ],
3258
3271
  "description": "%github.copilot.config.alternateAnthropicPrompt.enabled%"
3272
+ },
3273
+ "github.copilot.chat.backgroundCompaction": {
3274
+ "type": "boolean",
3275
+ "default": false,
3276
+ "markdownDescription": "%github.copilot.config.backgroundCompaction%",
3277
+ "tags": [
3278
+ "preview",
3279
+ "onExp"
3280
+ ]
3259
3281
  }
3260
3282
  }
3261
3283
  },
@@ -4456,6 +4478,14 @@
4456
4478
  "experimental"
4457
4479
  ]
4458
4480
  },
4481
+ "github.copilot.chat.cli.branchSupport.enabled": {
4482
+ "type": "boolean",
4483
+ "default": false,
4484
+ "markdownDescription": "%github.copilot.config.cli.branchSupport.enabled%",
4485
+ "tags": [
4486
+ "advanced"
4487
+ ]
4488
+ },
4459
4489
  "github.copilot.chat.agentCustomizationSkill.enabled": {
4460
4490
  "type": "boolean",
4461
4491
  "default": false,
@@ -4596,6 +4626,11 @@
4596
4626
  "command": "github.copilot.chat.copilotCLI.addFileReference",
4597
4627
  "group": "copilot",
4598
4628
  "when": "github.copilot.chat.copilotCLI.hasSession && !inOutput && resourceScheme != 'vscode-webview' && resourceScheme != 'webview-panel'"
4629
+ },
4630
+ {
4631
+ "command": "github.copilot.chat.copilotCLI.addSelection",
4632
+ "group": "copilot",
4633
+ "when": "github.copilot.chat.copilotCLI.hasSession && editorHasSelection && !inOutput && resourceScheme != 'vscode-webview' && resourceScheme != 'webview-panel'"
4599
4634
  }
4600
4635
  ],
4601
4636
  "editor/context/chat": [
@@ -4644,6 +4679,11 @@
4644
4679
  "group": "navigation@0"
4645
4680
  }
4646
4681
  ],
4682
+ "chat/contextUsage/actions": [
4683
+ {
4684
+ "command": "github.copilot.chat.compact"
4685
+ }
4686
+ ],
4647
4687
  "chat/newSession": [
4648
4688
  {
4649
4689
  "command": "github.copilot.cli.newSession",
@@ -4665,6 +4705,10 @@
4665
4705
  }
4666
4706
  ],
4667
4707
  "commandPalette": [
4708
+ {
4709
+ "command": "github.copilot.cli.sessions.commitToWorktree",
4710
+ "when": "false"
4711
+ },
4668
4712
  {
4669
4713
  "command": "github.copilot.chat.debug.exportSingleTrajectory",
4670
4714
  "when": "false"
@@ -5714,20 +5758,6 @@
5714
5758
  "capabilities": {
5715
5759
  "supportsFileAttachments": true
5716
5760
  }
5717
- },
5718
- {
5719
- "type": "copilot-growth",
5720
- "name": "growth",
5721
- "displayName": "Growth",
5722
- "icon": "$(lightbulb)",
5723
- "welcomeTitle": "Learn Copilot",
5724
- "welcomeMessage": "Get tips and learn how to use Copilot effectively",
5725
- "isReadOnly": true,
5726
- "inputPlaceholder": "Ask about Copilot features...",
5727
- "order": 99,
5728
- "description": "Educational messages to help you learn Copilot",
5729
- "when": "config.github.copilot.chat.growthMessages.enabled",
5730
- "capabilities": {}
5731
5761
  }
5732
5762
  ],
5733
5763
  "debuggers": [
@@ -5926,7 +5956,7 @@
5926
5956
  "zod": "3.25.76"
5927
5957
  },
5928
5958
  "dependencies": {
5929
- "@anthropic-ai/claude-agent-sdk": "0.2.37",
5959
+ "@anthropic-ai/claude-agent-sdk": "^0.2.39",
5930
5960
  "@anthropic-ai/sdk": "^0.74.0",
5931
5961
  "@github/blackbird-external-ingest-utils": "^0.2.0",
5932
5962
  "@github/copilot": "^0.0.406",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.3.1-18",
3
+ "version": "0.3.1-19",
4
4
  "description": "Chat and inline editing SDK extracted from VS Code Copilot Chat",
5
5
  "main": "dist/src/main.js",
6
6
  "types": "dist/src/main.d.ts",