@vscode/chat-lib 0.0.5-2 → 0.0.5-3

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 (51) hide show
  1. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts +2 -0
  2. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts.map +1 -0
  3. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js +9 -0
  4. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js.map +1 -0
  5. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +1 -0
  6. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -1
  7. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
  8. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +60 -9
  9. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  10. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  11. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +2 -0
  12. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  13. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +3 -0
  14. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -1
  15. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -1
  16. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +1 -0
  17. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +34 -14
  19. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  20. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts +3 -1
  21. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts.map +1 -1
  22. package/dist/src/_internal/platform/authentication/common/copilotToken.js +3 -0
  23. package/dist/src/_internal/platform/authentication/common/copilotToken.js.map +1 -1
  24. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -1
  25. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +1 -0
  26. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -1
  27. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +2 -1
  28. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  29. package/dist/src/_internal/platform/configuration/common/configurationService.js +3 -2
  30. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  31. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +2 -0
  32. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +27 -2
  34. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  35. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts +6 -0
  36. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts.map +1 -0
  37. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js +14 -0
  38. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js.map +1 -0
  39. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +7 -1
  40. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  41. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +7 -1
  42. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  43. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +1 -0
  44. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  45. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  46. package/dist/src/_internal/platform/networking/common/networking.d.ts +4 -0
  47. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  48. package/dist/src/_internal/platform/networking/common/networking.js +2 -0
  49. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  50. package/dist/src/package.json +55 -6
  51. package/package.json +2 -2
@@ -23,7 +23,7 @@
23
23
  "icon": "assets/copilot.png",
24
24
  "pricing": "Trial",
25
25
  "engines": {
26
- "vscode": "^1.106.0-20251022",
26
+ "vscode": "^1.106.0-20251023",
27
27
  "npm": ">=9.0.0",
28
28
  "node": ">=22.14.0"
29
29
  },
@@ -133,7 +133,7 @@
133
133
  "taskExecutionTerminal",
134
134
  "dataChannels",
135
135
  "languageModelThinkingPart",
136
- "chatSessionsProvider@2",
136
+ "chatSessionsProvider@3",
137
137
  "devDeviceId",
138
138
  "contribEditorContentMenu"
139
139
  ],
@@ -1701,6 +1701,36 @@
1701
1701
  "view": "codex-placeholder",
1702
1702
  "when": "true",
1703
1703
  "contents": "%github.copilot.viewsWelcome.codexPlaceholder%"
1704
+ },
1705
+ {
1706
+ "view": "copilot-agents-placeholder",
1707
+ "when": "true",
1708
+ "contents": "%github.copilot.viewsWelcome.agentsPlaceholder%"
1709
+ },
1710
+ {
1711
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1712
+ "when": "workspaceFolderCount == 0",
1713
+ "contents": "%github.copilot.viewsWelcome.noFolder.contents%"
1714
+ },
1715
+ {
1716
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1717
+ "when": "git.state == initialized && gitOpenRepositoryCount == 0 && workspaceFolderCount > 0 && git.parentRepositoryCount == 0",
1718
+ "contents": "%github.copilot.viewsWelcome.noRepo.contents%"
1719
+ },
1720
+ {
1721
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1722
+ "when": "git.state == initialized && workspaceFolderCount > 0 && (git.parentRepositoryCount > 0 || gitOpenRepositoryCount > 0) && !github:hasGitHubRemotes",
1723
+ "contents": "%github.copilot.viewsWelcome.noGitHub.contents%"
1724
+ },
1725
+ {
1726
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1727
+ "when": "github.copilot.chat.cloudSessionsEmpty",
1728
+ "contents": "%github.copilot.viewsWelcome.cloudSessionsEmpty.contents%"
1729
+ },
1730
+ {
1731
+ "view": "workbench.view.chat.sessions.copilotcli",
1732
+ "when": "github.copilot.chat.cliSessionsEmpty",
1733
+ "contents": "%github.copilot.viewsWelcome.cliSessionsEmpty.contents%"
1704
1734
  }
1705
1735
  ],
1706
1736
  "chatViewsWelcome": [
@@ -2212,6 +2242,10 @@
2212
2242
  "command": "github.copilot.cloud.sessions.openInBrowser",
2213
2243
  "title": "%github.copilot.command.openCopilotAgentSessionsInBrowser%",
2214
2244
  "icon": "$(link-external)"
2245
+ },
2246
+ {
2247
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
2248
+ "title": "%github.copilot.command.closeChatSessionPullRequest.title%"
2215
2249
  }
2216
2250
  ],
2217
2251
  "configuration": [
@@ -3461,6 +3495,10 @@
3461
3495
  {
3462
3496
  "command": "github.copilot.cloud.sessions.openInBrowser",
3463
3497
  "when": "false"
3498
+ },
3499
+ {
3500
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
3501
+ "when": "false"
3464
3502
  }
3465
3503
  ],
3466
3504
  "view/title": [
@@ -3783,6 +3821,11 @@
3783
3821
  "command": "github.copilot.cloud.sessions.openInBrowser",
3784
3822
  "when": "chatSessionType == copilot-cloud-agent",
3785
3823
  "group": "context"
3824
+ },
3825
+ {
3826
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
3827
+ "when": "chatSessionType == copilot-cloud-agent",
3828
+ "group": "context"
3786
3829
  }
3787
3830
  ]
3788
3831
  },
@@ -3919,6 +3962,12 @@
3919
3962
  "name": "OpenAI Codex Agent",
3920
3963
  "when": "github.copilot.chat.codex.notInstalled && config.chat.experimental.codex.enabled",
3921
3964
  "icon": "$(file)"
3965
+ },
3966
+ {
3967
+ "id": "copilot-agents-placeholder",
3968
+ "name": "GitHub Copilot Agents",
3969
+ "when": "chatEntitlementSignedOut || !chatIsEnabled",
3970
+ "icon": "$(copilot)"
3922
3971
  }
3923
3972
  ]
3924
3973
  },
@@ -4169,7 +4218,7 @@
4169
4218
  "inputPlaceholder": "Describe your task, type `#` for adding context",
4170
4219
  "order": 2,
4171
4220
  "description": "The Copilot CLI Agent works on your local machine",
4172
- "when": "config.github.copilot.chat.advanced.copilotCLI.enabled",
4221
+ "when": "!chatEntitlementSignedOut && chatIsEnabled",
4173
4222
  "capabilities": {
4174
4223
  "supportsFileAttachments": true,
4175
4224
  "supportsProblemAttachments": true,
@@ -4195,7 +4244,7 @@
4195
4244
  "inputPlaceholder": "Describe your task, type `#` for adding context",
4196
4245
  "order": 1,
4197
4246
  "description": "Delegate tasks to the GitHub Copilot Cloud Agent. The agent works asynchronously in the cloud to implement changes, iterates via chat, and can create or update pull requests as needed.",
4198
- "when": "config.github.copilot.chat.advanced.copilotCodingAgent.enabled",
4247
+ "when": "!chatEntitlementSignedOut && chatIsEnabled",
4199
4248
  "capabilities": {
4200
4249
  "supportsFileAttachments": true
4201
4250
  }
@@ -4390,7 +4439,7 @@
4390
4439
  "@google/genai": "^1.22.0",
4391
4440
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
4392
4441
  "@microsoft/tiktokenizer": "^1.0.10",
4393
- "@vscode/copilot-api": "^0.1.12",
4442
+ "@vscode/copilot-api": "^0.1.13",
4394
4443
  "@vscode/extension-telemetry": "^1.0.0",
4395
4444
  "@vscode/l10n": "^0.0.18",
4396
4445
  "@vscode/prompt-tsx": "^0.4.0-alpha.5",
@@ -4414,4 +4463,4 @@
4414
4463
  "string_decoder": "npm:string_decoder@1.2.0",
4415
4464
  "node-gyp": "npm:node-gyp@10.3.1"
4416
4465
  }
4417
- }
4466
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.0.5-2",
3
+ "version": "0.0.5-3",
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",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@microsoft/tiktokenizer": "^1.0.10",
18
- "@vscode/copilot-api": "^0.1.12",
18
+ "@vscode/copilot-api": "^0.1.13",
19
19
  "@vscode/l10n": "^0.0.18",
20
20
  "@vscode/prompt-tsx": "^0.4.0-alpha.5",
21
21
  "jsonc-parser": "^3.3.1",