@codingame/monaco-vscode-chat-service-override 37.0.0 → 37.1.0

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 (324) hide show
  1. package/index.js +11 -0
  2. package/package.json +5 -5
  3. package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.js +1 -1
  4. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +74 -0
  5. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +90 -0
  6. package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.d.ts +8 -0
  7. package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.js +16 -0
  8. package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +53 -53
  9. package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.d.ts +16 -0
  10. package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.js +14 -0
  11. package/vscode/src/vs/platform/agentHost/common/agentMerge.js +7 -7
  12. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +24 -0
  13. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +13 -0
  14. package/vscode/src/vs/platform/agentHost/common/agentModelNotices.d.ts +22 -0
  15. package/vscode/src/vs/platform/agentHost/common/agentModelNotices.js +21 -0
  16. package/vscode/src/vs/platform/agentHost/common/agentModelPricing.d.ts +114 -0
  17. package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +56 -0
  18. package/vscode/src/vs/platform/agentHost/common/changesetUri.js +15 -1
  19. package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.d.ts +73 -0
  20. package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +141 -0
  21. package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.js +42 -1
  22. package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.d.ts +27 -0
  23. package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.js +14 -0
  24. package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.d.ts +14 -0
  25. package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.js +11 -0
  26. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +13 -13
  27. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +1 -1
  28. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +4 -1
  29. package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.d.ts +4 -0
  30. package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.js +6 -0
  31. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +1 -1
  32. package/vscode/src/vs/workbench/browser/chatChangesPill.js +2 -2
  33. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +28 -28
  34. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
  35. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +18 -18
  36. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +3 -3
  37. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
  38. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
  39. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +11 -11
  40. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
  41. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
  42. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
  43. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
  44. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
  45. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
  46. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +28 -28
  47. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +1 -1
  48. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +18 -18
  49. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
  50. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +93 -93
  51. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
  53. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +8 -8
  54. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +7 -7
  55. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +7 -7
  56. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  57. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
  58. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
  59. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  60. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
  61. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +12 -12
  62. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
  63. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +14 -14
  64. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  65. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +15 -15
  66. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
  67. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
  68. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +32 -32
  69. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +9 -9
  70. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +5 -5
  71. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
  72. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +2 -2
  73. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  74. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +12 -12
  75. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +15 -15
  76. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.d.ts +34 -0
  77. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.js +229 -0
  78. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +57 -0
  79. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +460 -0
  80. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.d.ts +1 -0
  81. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +92 -0
  82. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.d.ts +23 -0
  83. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.js +46 -0
  84. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +142 -0
  85. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +746 -0
  86. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +77 -0
  87. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +474 -0
  88. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.d.ts +169 -0
  89. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.js +261 -0
  90. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +20 -0
  91. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +90 -0
  92. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.d.ts +35 -0
  93. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.js +73 -0
  94. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.d.ts +20 -0
  95. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.js +61 -0
  96. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +112 -0
  97. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +192 -0
  98. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
  99. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.d.ts +21 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +137 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +301 -12
  102. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +84 -0
  103. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +96 -0
  104. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +884 -0
  105. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +5868 -0
  106. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +19 -19
  107. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.d.ts +27 -0
  108. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +129 -0
  109. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +42 -0
  110. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +221 -0
  111. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +125 -0
  112. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +345 -0
  113. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +1 -1
  114. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.d.ts +1 -0
  115. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +68 -0
  116. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.d.ts +62 -0
  117. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +163 -0
  118. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.d.ts +54 -0
  119. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +219 -0
  120. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.d.ts +10 -0
  121. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.js +50 -0
  122. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.d.ts +42 -0
  123. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +132 -0
  124. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.d.ts +1 -0
  125. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +85 -0
  126. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.d.ts +79 -0
  127. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +161 -0
  128. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +18 -0
  129. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +13 -0
  130. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +28 -0
  131. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +71 -0
  132. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +35 -0
  133. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +205 -0
  134. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +1 -1
  135. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +50 -50
  136. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +3 -3
  137. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  138. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  139. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  140. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  141. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +22 -22
  142. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  143. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  144. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.js +6 -6
  145. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.js +7 -7
  146. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +3 -3
  147. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +15 -15
  148. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +126 -126
  149. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +44 -44
  150. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +137 -137
  151. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +3 -3
  152. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.js +6 -6
  153. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +37 -37
  154. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +1 -1
  156. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +6 -6
  157. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +145 -145
  158. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.js +29 -29
  159. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +9 -9
  160. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +40 -40
  161. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +7 -7
  162. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +8 -8
  163. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +5 -5
  164. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +75 -75
  165. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +115 -115
  166. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +4 -4
  167. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +50 -50
  168. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
  169. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +344 -344
  170. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +37 -37
  171. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +5 -5
  172. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
  173. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
  174. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
  175. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
  176. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  177. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +3 -3
  178. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
  179. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  180. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  181. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  182. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
  183. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
  184. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  185. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
  186. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  187. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  188. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +35 -35
  189. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  190. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +40 -40
  191. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  192. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
  193. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
  194. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
  195. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
  196. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
  197. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
  198. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
  199. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
  200. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
  201. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  202. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +2 -2
  203. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.js +3 -3
  204. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +8 -8
  205. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
  206. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +63 -63
  207. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
  208. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
  209. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +12 -12
  210. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +1 -1
  211. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
  212. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +35 -35
  213. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +1 -1
  214. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
  215. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  216. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +19 -19
  217. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
  218. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  219. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +26 -26
  220. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +16 -16
  221. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +20 -20
  222. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +62 -62
  223. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +10 -10
  224. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +19 -19
  225. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +1 -1
  226. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +7 -7
  227. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
  228. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
  229. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
  230. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  231. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
  232. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
  233. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +6 -6
  234. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +27 -27
  235. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
  236. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
  237. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
  238. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +27 -27
  239. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +3 -3
  240. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  241. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
  242. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
  243. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  244. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
  245. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  246. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
  247. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +5 -5
  248. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
  249. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +4 -4
  250. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +3 -3
  251. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +1 -1
  252. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
  253. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
  254. package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.js +18 -18
  255. package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.js +2 -2
  256. package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +10 -10
  257. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
  258. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +25 -25
  259. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +8 -8
  260. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
  261. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
  262. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  263. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +1 -1
  264. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +17 -17
  265. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
  266. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
  267. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +1 -1
  268. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +10 -10
  269. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
  270. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +3 -3
  271. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
  272. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
  273. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +11 -11
  274. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
  275. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +8 -8
  276. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
  277. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +12 -12
  278. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
  279. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
  280. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
  281. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +12 -12
  282. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +154 -154
  283. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.js +9 -9
  284. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  285. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
  286. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +10 -10
  287. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
  288. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
  289. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  290. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +1 -1
  291. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
  292. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  293. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  294. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
  295. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
  296. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  297. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  298. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +10 -10
  299. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
  300. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
  301. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
  302. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
  303. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +3 -3
  304. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  305. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
  306. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
  307. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  308. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
  309. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  310. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  311. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
  312. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
  313. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +73 -73
  314. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
  315. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
  316. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
  317. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
  318. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  319. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +4 -4
  320. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
  321. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +0 -30
  322. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +0 -87
  323. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +0 -205
  324. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +0 -1580
@@ -17,7 +17,7 @@ const GetTaskOutputToolData = {
17
17
  id: TerminalToolId.GetTaskOutput,
18
18
  toolReferenceName: "getTaskOutput",
19
19
  legacyToolReferenceFullNames: ["runTasks/getTaskOutput"],
20
- displayName: ( localize(17179, "Get Task Output")),
20
+ displayName: ( localize(17484, "Get Task Output")),
21
21
  modelDescription: "Get the output of a task",
22
22
  source: ToolDataSource.Internal,
23
23
  inputSchema: {
@@ -63,19 +63,19 @@ let GetTaskOutputTool = class GetTaskOutputTool extends Disposable {
63
63
  );
64
64
  if (!task) {
65
65
  return {
66
- invocationMessage: ( new MarkdownString(( localize(17180, "Task not found: `{0}`", args.id))))
66
+ invocationMessage: ( new MarkdownString(( localize(17485, "Task not found: `{0}`", args.id))))
67
67
  };
68
68
  }
69
69
  const taskLabel = task._label;
70
70
  const activeTasks = await this._tasksService.getActiveTasks();
71
71
  if (activeTasks.includes(task)) {
72
72
  return {
73
- invocationMessage: ( new MarkdownString(( localize(17181, "The task `{0}` is already running.", taskLabel))))
73
+ invocationMessage: ( new MarkdownString(( localize(17486, "The task `{0}` is already running.", taskLabel))))
74
74
  };
75
75
  }
76
76
  return {
77
- invocationMessage: ( new MarkdownString(( localize(17182, "Checking output for task `{0}`", taskLabel)))),
78
- pastTenseMessage: ( new MarkdownString(( localize(17183, "Checked output for task `{0}`", taskLabel))))
77
+ invocationMessage: ( new MarkdownString(( localize(17487, "Checking output for task `{0}`", taskLabel)))),
78
+ pastTenseMessage: ( new MarkdownString(( localize(17488, "Checked output for task `{0}`", taskLabel))))
79
79
  };
80
80
  }
81
81
  async invoke(invocation, _countTokens, _progress, token) {
@@ -95,7 +95,7 @@ let GetTaskOutputTool = class GetTaskOutputTool extends Disposable {
95
95
  kind: "text",
96
96
  value: `Task not found: ${args.id}`
97
97
  }],
98
- toolResultMessage: ( new MarkdownString(( localize(17180, "Task not found: `{0}`", args.id))))
98
+ toolResultMessage: ( new MarkdownString(( localize(17485, "Task not found: `{0}`", args.id))))
99
99
  };
100
100
  }
101
101
  const dependencyTasks = await resolveDependencyTasks(task, args.workspaceFolder, this._configurationService, this._tasksService);
@@ -110,7 +110,7 @@ let GetTaskOutputTool = class GetTaskOutputTool extends Disposable {
110
110
  kind: "text",
111
111
  value: `Terminal not found for task ${taskLabel}`
112
112
  }],
113
- toolResultMessage: ( new MarkdownString(( localize(17184, "Terminal not found for task `{0}`", taskLabel))))
113
+ toolResultMessage: ( new MarkdownString(( localize(17489, "Terminal not found for task `{0}`", taskLabel))))
114
114
  };
115
115
  }
116
116
  const startMarkersByTerminalInstanceId = task.configurationProperties.isBackground ? ( new Map()) : undefined;
@@ -56,7 +56,7 @@ let RunTaskTool = class RunTaskTool {
56
56
  kind: "text",
57
57
  value: `Task not found: ${args.id}`
58
58
  }],
59
- toolResultMessage: ( new MarkdownString(( localize(17185, "Task not found: `{0}`", args.id))))
59
+ toolResultMessage: ( new MarkdownString(( localize(17490, "Task not found: `{0}`", args.id))))
60
60
  };
61
61
  }
62
62
  const taskLabel = task._label;
@@ -67,7 +67,7 @@ let RunTaskTool = class RunTaskTool {
67
67
  kind: "text",
68
68
  value: `The task ${taskLabel} is already running.`
69
69
  }],
70
- toolResultMessage: ( new MarkdownString(( localize(17186, "The task `{0}` is already running.", taskLabel))))
70
+ toolResultMessage: ( new MarkdownString(( localize(17491, "The task `{0}` is already running.", taskLabel))))
71
71
  };
72
72
  }
73
73
  const dependencyTasks = await resolveDependencyTasks(task, args.workspaceFolder, this._configurationService, this._tasksService);
@@ -93,7 +93,7 @@ let RunTaskTool = class RunTaskTool {
93
93
  kind: "text",
94
94
  value: `Task started but no terminal was found for: ${taskLabel}`
95
95
  }],
96
- toolResultMessage: ( new MarkdownString(( localize(17187, "Task started but no terminal was found for: `{0}`", taskLabel))))
96
+ toolResultMessage: ( new MarkdownString(( localize(17492, "Task started but no terminal was found for: `{0}`", taskLabel))))
97
97
  };
98
98
  }
99
99
  const terminals = this._terminalService.instances.filter(t => ( resources.some(r => r.path === t.resource.path && r.scheme === t.resource.scheme)));
@@ -103,7 +103,7 @@ let RunTaskTool = class RunTaskTool {
103
103
  kind: "text",
104
104
  value: `Task started but no terminal was found for: ${taskLabel}`
105
105
  }],
106
- toolResultMessage: ( new MarkdownString(( localize(17187, "Task started but no terminal was found for: `{0}`", taskLabel))))
106
+ toolResultMessage: ( new MarkdownString(( localize(17492, "Task started but no terminal was found for: `{0}`", taskLabel))))
107
107
  };
108
108
  }
109
109
  const store = ( new DisposableStore());
@@ -178,29 +178,29 @@ let RunTaskTool = class RunTaskTool {
178
178
  );
179
179
  if (!task) {
180
180
  return {
181
- invocationMessage: ( new MarkdownString(( localize(17185, "Task not found: `{0}`", args.id))))
181
+ invocationMessage: ( new MarkdownString(( localize(17490, "Task not found: `{0}`", args.id))))
182
182
  };
183
183
  }
184
184
  const taskLabel = task._label;
185
185
  const activeTasks = await this._tasksService.getActiveTasks();
186
186
  if (task && activeTasks.includes(task)) {
187
187
  return {
188
- invocationMessage: ( new MarkdownString(( localize(17188, "The task is already running."))))
188
+ invocationMessage: ( new MarkdownString(( localize(17493, "The task is already running."))))
189
189
  };
190
190
  }
191
191
  if (await this._isTaskActive(task)) {
192
192
  return {
193
- invocationMessage: ( new MarkdownString(( localize(17189, "`{0}` is already running.", taskLabel)))),
194
- pastTenseMessage: ( new MarkdownString(( localize(17190, "`{0}` was already running.", taskLabel)))),
193
+ invocationMessage: ( new MarkdownString(( localize(17494, "`{0}` is already running.", taskLabel)))),
194
+ pastTenseMessage: ( new MarkdownString(( localize(17495, "`{0}` was already running.", taskLabel)))),
195
195
  confirmationMessages: undefined
196
196
  };
197
197
  }
198
198
  return {
199
- invocationMessage: ( new MarkdownString(( localize(17191, "Running `{0}`", taskLabel)))),
200
- pastTenseMessage: ( new MarkdownString(task?.configurationProperties.isBackground ? ( localize(17192, "Started `{0}`", taskLabel)) : ( localize(17193, "Ran `{0}`", taskLabel)))),
199
+ invocationMessage: ( new MarkdownString(( localize(17496, "Running `{0}`", taskLabel)))),
200
+ pastTenseMessage: ( new MarkdownString(task?.configurationProperties.isBackground ? ( localize(17497, "Started `{0}`", taskLabel)) : ( localize(17498, "Ran `{0}`", taskLabel)))),
201
201
  confirmationMessages: task ? {
202
- title: ( localize(17194, "Allow task run?")),
203
- message: ( localize(17195, "Allow to run the task `{0}`?", taskLabel))
202
+ title: ( localize(17499, "Allow task run?")),
203
+ message: ( localize(17500, "Allow to run the task `{0}`?", taskLabel))
204
204
  } : undefined
205
205
  };
206
206
  }
@@ -210,9 +210,9 @@ const RunTaskToolData = {
210
210
  id: TerminalToolId.RunTask,
211
211
  toolReferenceName: "runTask",
212
212
  legacyToolReferenceFullNames: ["runTasks/runTask"],
213
- displayName: ( localize(17196, "Run Task")),
213
+ displayName: ( localize(17501, "Run Task")),
214
214
  modelDescription: `Runs a VS Code task.\n\n- If you see that an appropriate task exists for building or running code, prefer to use this tool to run the task instead of using the ${TerminalToolId.RunInTerminal} tool.\n- Make sure that any appropriate build or watch task is running before trying to run tests or execute code.\n- If the user asks to run a task, use this tool to do so.`,
215
- userDescription: ( localize(17197, "Run tasks in the workspace")),
215
+ userDescription: ( localize(17502, "Run tasks in the workspace")),
216
216
  icon: Codicon.tools,
217
217
  source: ToolDataSource.Internal,
218
218
  inputSchema: {
@@ -26,7 +26,7 @@ function toolResultMessageFromResponse(
26
26
  ) {
27
27
  let resultSummary = "";
28
28
  if (result?.exitCode) {
29
- resultSummary = ( localize(17198, "Task `{0}` failed with exit code {1}.", taskLabel, result.exitCode));
29
+ resultSummary = ( localize(17503, "Task `{0}` failed with exit code {1}.", taskLabel, result.exitCode));
30
30
  } else {
31
31
  resultSummary += `\`${taskLabel}\` task `;
32
32
  const problemCount = toolResultDetails.length;
@@ -92,7 +92,7 @@ let TerminalSandboxService = class TerminalSandboxService extends Disposable {
92
92
  }
93
93
  e.join(this._engine.cleanupTempDir(), {
94
94
  id: "join.deleteFilesInSandboxTempDir",
95
- label: ( localize(17278, "Delete Files in Sandbox Temp Dir")),
95
+ label: ( localize(17583, "Delete Files in Sandbox Temp Dir")),
96
96
  order: WillShutdownJoinerOrder.Default
97
97
  });
98
98
  }));
@@ -357,10 +357,10 @@ let TerminalSandboxService = class TerminalSandboxService extends Disposable {
357
357
  if (!request) {
358
358
  return ( new DisposableStore());
359
359
  }
360
- const part = ( new ChatElicitationRequestPart(( localize(17279, "The terminal is awaiting input.")), ( new MarkdownString(( localize(
361
- 17280,
360
+ const part = ( new ChatElicitationRequestPart(( localize(17584, "The terminal is awaiting input.")), ( new MarkdownString(( localize(
361
+ 17585,
362
362
  "Applying sandbox prerequisites may prompt for your sudo password. Select Focus Terminal to type it in the terminal."
363
- )))), "", ( localize(17281, "Focus Terminal")), undefined, async () => {
363
+ )))), "", ( localize(17586, "Focus Terminal")), undefined, async () => {
364
364
  await promptContext.focusTerminal();
365
365
  return ElicitationState.Pending;
366
366
  }));
@@ -65,13 +65,13 @@ class CommentsActionViewItem extends ActionViewItem {
65
65
  }
66
66
  updateLabel() {
67
67
  if (this._action.id === this._overlayOptions.submitActionId && this.label) {
68
- this.label.textContent = ( localize(19096, "Submit {0}", this._commentCount.get()));
68
+ this.label.textContent = ( localize(19404, "Submit {0}", this._commentCount.get()));
69
69
  return;
70
70
  }
71
71
  super.updateLabel();
72
72
  }
73
73
  getTooltip() {
74
- const value = this._action.id === this._overlayOptions.submitActionId ? ( localize(19097, "Submit Feedback ({0})", this._commentCount.get())) : super.getTooltip();
74
+ const value = this._action.id === this._overlayOptions.submitActionId ? ( localize(19405, "Submit Feedback ({0})", this._commentCount.get())) : super.getTooltip();
75
75
  return value && !this.options.keybinding ? this._keybindingService.appendKeybinding(value, this._action.id) : value;
76
76
  }
77
77
  }
@@ -134,7 +134,7 @@ let AgentEditorCommentsOverlayWidget = class AgentEditorCommentsOverlayWidget ex
134
134
  activeIdx,
135
135
  totalCount
136
136
  } = that._navigationBearings.read(reader);
137
- this.label.innerText = totalCount > 0 ? ( localize(19098, "{0}/{1}", activeIdx === -1 ? 1 : activeIdx + 1, totalCount)) : ( localize(19099, "0/0"));
137
+ this.label.innerText = totalCount > 0 ? ( localize(19406, "{0}/{1}", activeIdx === -1 ? 1 : activeIdx + 1, totalCount)) : ( localize(19407, "0/0"));
138
138
  }
139
139
  }));
140
140
  }
@@ -1,30 +0,0 @@
1
- import { type ActionEnvelope, type ChatErrorAction, type StateAction } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/actions";
2
- import { type ChatState, type ErrorInfo, type Turn } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
3
- interface ILegacyChatErrorAction extends Omit<ChatErrorAction, "part"> {
4
- readonly error: ErrorInfo;
5
- }
6
- type CompatibleTurn = Turn | (Turn & {
7
- readonly error: ErrorInfo;
8
- });
9
- type CompatibleActionEnvelope = Omit<ActionEnvelope, "action"> & {
10
- readonly action: StateAction | ILegacyChatErrorAction;
11
- };
12
- /**
13
- * Reads the top-level error field emitted by AHP hosts before durable error
14
- * response parts were introduced.
15
- */
16
- export declare function readLegacyTurnError(turn: CompatibleTurn): ErrorInfo | undefined;
17
- /**
18
- * Moves a legacy completed-turn error into its durable response-part position.
19
- */
20
- export declare function normalizeLegacyTurnError(turn: CompatibleTurn): Turn;
21
- /**
22
- * Normalizes legacy completed-turn errors in a chat snapshot.
23
- */
24
- export declare function normalizeLegacyChatStateErrors(state: ChatState): ChatState;
25
- /**
26
- * Normalizes legacy error payloads before a server action reaches reducers or
27
- * action observers.
28
- */
29
- export declare function normalizeLegacyActionEnvelope(envelope: CompatibleActionEnvelope): ActionEnvelope;
30
- export {};
@@ -1,87 +0,0 @@
1
-
2
- import { hasKey } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
3
- import { ActionType } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/common/actions';
4
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-root/state';
5
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-session/state';
6
- import { TurnState, ResponsePartKind } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-chat/state';
7
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-terminal/state';
8
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-changeset/state';
9
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state';
10
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-automation/state';
11
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-automation-run/state';
12
-
13
- function normalizeLegacyTurnError(turn) {
14
- if (turn.state !== TurnState.Error || !hasKey(turn, {
15
- error: true
16
- })) {
17
- return turn;
18
- }
19
- const {
20
- error,
21
- ...normalizedTurn
22
- } = turn;
23
- const finalPart = turn.responseParts[turn.responseParts.length - 1];
24
- return {
25
- ...normalizedTurn,
26
- responseParts: finalPart?.kind === ResponsePartKind.Error ? turn.responseParts : [...turn.responseParts, {
27
- kind: ResponsePartKind.Error,
28
- error
29
- }]
30
- };
31
- }
32
- function normalizeLegacyChatStateErrors(state) {
33
- const turns = ( state.turns.map(normalizeLegacyTurnError));
34
- return ( turns.some((turn, index) => turn !== state.turns[index])) ? {
35
- ...state,
36
- turns
37
- } : state;
38
- }
39
- function normalizeLegacyActionEnvelope(envelope) {
40
- const action = envelope.action;
41
- switch (action.type) {
42
- case ActionType.ChatError:
43
- if (hasKey(action, {
44
- error: true
45
- })) {
46
- const {
47
- error,
48
- ...normalizedAction
49
- } = action;
50
- return {
51
- ...envelope,
52
- action: {
53
- ...normalizedAction,
54
- part: {
55
- kind: ResponsePartKind.Error,
56
- error
57
- }
58
- }
59
- };
60
- }
61
- return {
62
- ...envelope,
63
- action
64
- };
65
- case ActionType.ChatTurnsLoaded:
66
- {
67
- const turns = ( action.turns.map(normalizeLegacyTurnError));
68
- return ( turns.some((turn, index) => turn !== action.turns[index])) ? {
69
- ...envelope,
70
- action: {
71
- ...action,
72
- turns
73
- }
74
- } : {
75
- ...envelope,
76
- action
77
- };
78
- }
79
- default:
80
- return {
81
- ...envelope,
82
- action
83
- };
84
- }
85
- }
86
-
87
- export { normalizeLegacyActionEnvelope, normalizeLegacyChatStateErrors, normalizeLegacyTurnError };
@@ -1,205 +0,0 @@
1
- import { ICopilotTokenInfo, IDefaultAccount, IDefaultAccountAuthenticationProvider, IPolicyData } from "@codingame/monaco-vscode-api/vscode/vs/base/common/defaultAccount";
2
- import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
3
- import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
- import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
5
- import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
6
- import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
7
- import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
8
- import { IDefaultAccountProvider, IDefaultAccountRefreshOptions, IManagedSettingsCompatibilityError, ManagedSettingsFetchStatus } from "@codingame/monaco-vscode-api/vscode/vs/platform/defaultAccount/common/defaultAccount";
9
- import { IDefaultAccountService } from "@codingame/monaco-vscode-api/vscode/vs/platform/defaultAccount/common/defaultAccount.service";
10
- import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
11
- import { IFileManagedSettingsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/copilotManagedSettings.service";
12
- import { INativeManagedSettingsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/copilotManagedSettings.service";
13
- import { IManagedSettingsFreshness } from "@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/managedSettingsFreshness";
14
- import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
15
- import { IRequestService } from "@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service";
16
- import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
17
- import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
18
- import { IAuthenticationExtensionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/authentication/common/authentication.service";
19
- import { IAuthenticationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/authentication/common/authentication.service";
20
- import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
21
- import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
22
- import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
23
- interface IDefaultAccountConfig {
24
- readonly preferredExtensions: string[];
25
- readonly authenticationProvider: {
26
- readonly default: {
27
- readonly id: string;
28
- readonly name: string;
29
- };
30
- readonly enterprise: {
31
- readonly id: string;
32
- readonly name: string;
33
- };
34
- readonly enterpriseProviderConfig: string;
35
- readonly enterpriseProviderUriSetting: string;
36
- readonly scopes: string[][];
37
- };
38
- readonly tokenEntitlementUrl: string;
39
- readonly entitlementUrl: string;
40
- readonly mcpRegistryDataUrl: string;
41
- readonly managedSettingsUrl: string;
42
- }
43
- export declare const DEFAULT_ACCOUNT_SIGN_IN_COMMAND = "workbench.actions.accounts.signIn";
44
- export declare enum DefaultAccountStatus {
45
- Uninitialized = "uninitialized",
46
- Unavailable = "unavailable",
47
- Available = "available"
48
- }
49
- export declare const CONTEXT_DEFAULT_ACCOUNT_STATE: RawContextKey<string>;
50
- export declare class DefaultAccountService extends Disposable implements IDefaultAccountService {
51
- _serviceBrand: undefined;
52
- private defaultAccount;
53
- get currentDefaultAccount(): IDefaultAccount | null;
54
- get policyData(): IPolicyData | null;
55
- get copilotTokenInfo(): ICopilotTokenInfo | null;
56
- get managedSettingsFetchStatus(): ManagedSettingsFetchStatus;
57
- get managedSettingsFetchedAt(): number | null;
58
- get managedSettingsRawResponse(): unknown;
59
- get managedSettingsCompatibilityError(): IManagedSettingsCompatibilityError | null;
60
- get managedSettingsFreshness(): IManagedSettingsFreshness;
61
- private readonly initBarrier;
62
- private readonly _onDidChangeDefaultAccount;
63
- readonly onDidChangeDefaultAccount: Event<IDefaultAccount | null>;
64
- private readonly _onDidChangePolicyData;
65
- readonly onDidChangePolicyData: Event<IPolicyData | null>;
66
- private readonly _onDidChangeCopilotTokenInfo;
67
- readonly onDidChangeCopilotTokenInfo: Event<ICopilotTokenInfo | null>;
68
- private readonly _onDidChangeManagedSettingsCompatibilityError;
69
- readonly onDidChangeManagedSettingsCompatibilityError: Event<IManagedSettingsCompatibilityError | null>;
70
- private readonly _onDidChangeManagedSettingsFreshness;
71
- readonly onDidChangeManagedSettingsFreshness: Event<IManagedSettingsFreshness>;
72
- private readonly defaultAccountConfig?;
73
- private defaultAccountProvider;
74
- constructor(productService: IProductService);
75
- getDefaultAccount(): Promise<IDefaultAccount | null>;
76
- getDefaultAccountAuthenticationProvider(): IDefaultAccountAuthenticationProvider;
77
- setDefaultAccountProvider(provider: IDefaultAccountProvider): void;
78
- refresh(options?: IDefaultAccountRefreshOptions): Promise<IDefaultAccount | null>;
79
- signIn(options?: {
80
- additionalScopes?: readonly string[];
81
- [key: string]: unknown;
82
- }): Promise<IDefaultAccount | null>;
83
- signOut(): Promise<void>;
84
- resolveGitHubUrl(path: string): string;
85
- private setDefaultAccount;
86
- }
87
- export declare class DefaultAccountProvider extends Disposable implements IDefaultAccountProvider {
88
- private readonly defaultAccountConfig;
89
- private readonly configurationService;
90
- private readonly authenticationService;
91
- private readonly authenticationExtensionsService;
92
- private readonly telemetryService;
93
- private readonly extensionService;
94
- private readonly requestService;
95
- private readonly logService;
96
- private readonly environmentService;
97
- private readonly productService;
98
- private readonly storageService;
99
- private readonly hostService;
100
- private readonly commandService;
101
- private readonly nativeManagedSettingsService;
102
- private readonly fileManagedSettingsService;
103
- private _defaultAccount;
104
- get defaultAccount(): IDefaultAccount | null;
105
- private _policyData;
106
- get policyData(): IPolicyData | null;
107
- private _copilotTokenInfo;
108
- get copilotTokenInfo(): ICopilotTokenInfo | null;
109
- private _managedSettingsFetchStatus;
110
- get managedSettingsFetchStatus(): ManagedSettingsFetchStatus;
111
- get managedSettingsFetchedAt(): number | null;
112
- private _managedSettingsRawResponse;
113
- get managedSettingsRawResponse(): unknown;
114
- private _managedSettingsCompatibilityError;
115
- get managedSettingsCompatibilityError(): IManagedSettingsCompatibilityError | null;
116
- private _managedSettingsFreshness;
117
- get managedSettingsFreshness(): IManagedSettingsFreshness;
118
- private readonly _onDidChangeDefaultAccount;
119
- readonly onDidChangeDefaultAccount: Event<IDefaultAccount | null>;
120
- private readonly _onDidChangePolicyData;
121
- readonly onDidChangePolicyData: Event<IPolicyData | null>;
122
- private readonly _onDidChangeCopilotTokenInfo;
123
- readonly onDidChangeCopilotTokenInfo: Event<ICopilotTokenInfo | null>;
124
- private readonly _onDidChangeManagedSettingsCompatibilityError;
125
- readonly onDidChangeManagedSettingsCompatibilityError: Event<IManagedSettingsCompatibilityError | null>;
126
- private readonly _onDidChangeManagedSettingsFreshness;
127
- readonly onDidChangeManagedSettingsFreshness: Event<IManagedSettingsFreshness>;
128
- private readonly accountStatusContext;
129
- private initialized;
130
- private readonly initPromise;
131
- private readonly updateThrottler;
132
- private readonly accountDataPollScheduler;
133
- private readonly failedManagedSettingsFreshness;
134
- constructor(defaultAccountConfig: IDefaultAccountConfig, configurationService: IConfigurationService, authenticationService: IAuthenticationService, authenticationExtensionsService: IAuthenticationExtensionsService, telemetryService: ITelemetryService, extensionService: IExtensionService, requestService: IRequestService, logService: ILogService, environmentService: IWorkbenchEnvironmentService, productService: IProductService, contextKeyService: IContextKeyService, storageService: IStorageService, hostService: IHostService, commandService: ICommandService, nativeManagedSettingsService: INativeManagedSettingsService, fileManagedSettingsService: IFileManagedSettingsService);
135
- private getCachedAccountData;
136
- private init;
137
- private whenDefaultAccountAuthenticationProviderAvailable;
138
- refresh(options?: IDefaultAccountRefreshOptions): Promise<IDefaultAccount | null>;
139
- private refetchDefaultAccount;
140
- private updateDefaultAccount;
141
- private doUpdateDefaultAccount;
142
- private fetchDefaultAccount;
143
- private isAccountProviderAvailable;
144
- private setDefaultAccount;
145
- private setPolicyData;
146
- private setManagedSettingsCompatibilityError;
147
- private setManagedSettingsFreshness;
148
- private blockPendingManagedSettingsFreshness;
149
- private updateManagedSettingsFreshnessRequirement;
150
- private onManagedSettingsSourceChanged;
151
- private initializeManagedSettingsSources;
152
- private blockManagedSettingsFreshnessWithoutToken;
153
- private getCachedServerManagedSettings;
154
- private getScopedServerManagedSettings;
155
- private setCopilotTokenInfo;
156
- private cachePolicyData;
157
- private scheduleAccountDataPoll;
158
- private extractFromToken;
159
- private getDefaultAccountForAuthenticationProvider;
160
- private getDefaultAccountFromAuthenticatedSessions;
161
- private findMatchingProviderSession;
162
- private getSessions;
163
- private scopesMatch;
164
- private getTokenEntitlements;
165
- private requestTokenEntitlements;
166
- private getEntitlements;
167
- private getMcpRegistryProvider;
168
- private requestMcpRegistryProvider;
169
- private getManagedSettings;
170
- private createManagedSettingsFreshnessScope;
171
- private resolveManagedSettingsFreshnessAfterSuccess;
172
- private toBlockedManagedSettingsFreshness;
173
- private requestManagedSettings;
174
- private canRequestManagedSettings;
175
- private updateFailedManagedSettingsFreshness;
176
- private getManagedSettingsScopeKey;
177
- private readManagedSettingsCompatibilityError;
178
- private reportManagedSettingsOutcome;
179
- /**
180
- * Detects a rate-limited GitHub response. Mirrors the public-API check in
181
- * `githubRepoFetcher.ts`:
182
- * - Canonical `429 Too Many Requests`.
183
- * - Primary quota exhaustion: `403` with `X-RateLimit-Remaining: 0`.
184
- * - Secondary throttling: GitHub omits `X-RateLimit-Remaining` but sets
185
- * `Retry-After` (on a non-2xx response). We treat any non-success status
186
- * that carries `Retry-After` as a back-off signal.
187
- */
188
- private isRateLimited;
189
- private _rateLimitBackoffUntil;
190
- private request;
191
- private isDataStale;
192
- private getEntitlementUrl;
193
- private getTokenEntitlementUrl;
194
- private getMcpRegistryDataUrl;
195
- private getManagedSettingsUrl;
196
- getDefaultAccountAuthenticationProvider(): IDefaultAccountAuthenticationProvider;
197
- resolveGitHubUrl(path: string): string;
198
- private getEnterpriseUrl;
199
- signIn(options?: {
200
- additionalScopes?: readonly string[];
201
- [key: string]: unknown;
202
- }): Promise<IDefaultAccount | null>;
203
- signOut(): Promise<void>;
204
- }
205
- export {};