@codingame/monaco-vscode-chat-service-override 29.1.1 → 30.0.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 (258) hide show
  1. package/index.js +5 -2
  2. package/package.json +5 -5
  3. package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +37 -39
  4. package/vscode/src/vs/platform/agentHost/common/agentService.js +3 -1
  5. package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +11 -1
  6. package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +4 -4
  7. package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +132 -42
  8. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +54 -0
  9. package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.d.ts +15 -0
  10. package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +5 -1
  11. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +188 -51
  12. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +7 -6
  13. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +1 -1
  14. package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +7 -2
  15. package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.d.ts +6 -0
  16. package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js +14 -0
  17. package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +18 -0
  18. package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +13 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
  20. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +37 -16
  21. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
  22. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +59 -59
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
  25. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +10 -8
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +37 -3
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +4 -4
  28. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +6 -6
  30. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  32. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
  33. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +20 -11
  34. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +14 -14
  35. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +18 -13
  36. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  37. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +10 -10
  38. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
  39. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +19 -19
  40. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.d.ts +36 -0
  41. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +482 -0
  42. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +8 -8
  43. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +2 -2
  44. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  45. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +10 -2
  46. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +43 -10
  47. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +13 -13
  48. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +3 -3
  49. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +74 -76
  50. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +5 -5
  51. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  53. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  54. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  55. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  56. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +27 -35
  57. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  58. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  59. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.d.ts +5 -8
  60. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +86 -80
  61. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.d.ts +3 -2
  62. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.js +38 -4
  63. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +14 -14
  64. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +38 -18
  65. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +427 -167
  66. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +37 -37
  67. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +15 -0
  68. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +108 -37
  69. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.d.ts +8 -1
  70. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +28 -2
  71. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +2 -0
  72. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +11 -1
  73. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +1 -3
  74. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +3 -20
  75. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +4 -0
  76. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +65 -68
  77. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +2 -0
  78. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +1 -0
  79. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +64 -51
  80. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.js +19 -19
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +288 -195
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +21 -21
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +19 -19
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +21 -21
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +21 -21
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +28 -28
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +1 -0
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +3 -0
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +1 -0
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +5 -2
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +1 -0
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +2 -1
  107. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +10 -3
  108. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +4 -2
  109. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +19 -7
  110. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +3 -2
  111. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +54 -12
  112. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +1 -1
  113. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +3 -3
  114. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +1 -1
  115. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +9 -8
  116. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +14 -14
  117. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
  118. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +2 -2
  119. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +50 -50
  120. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +11 -11
  121. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
  122. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
  123. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  124. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
  125. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +3 -1
  126. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +86 -17
  127. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
  128. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  129. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -26
  130. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +12 -12
  131. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +19 -19
  132. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +65 -65
  133. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +24 -16
  134. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +17 -17
  135. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +2 -6
  136. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +4 -4
  137. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
  138. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +4 -4
  139. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
  140. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  141. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
  142. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +3 -6
  143. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +54 -39
  144. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +16 -16
  145. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.d.ts +24 -3
  146. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +72 -14
  147. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +6 -6
  148. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +26 -26
  149. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +3 -3
  150. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  151. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileContributions.js +181 -0
  152. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +3 -3
  153. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  154. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
  155. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  156. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
  157. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +8 -6
  158. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +37 -37
  159. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +28 -23
  160. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +6 -6
  161. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
  162. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  163. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +9 -9
  164. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.js +6 -6
  165. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.d.ts +12 -0
  166. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.js +62 -0
  167. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +1 -10
  168. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +148 -88
  169. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
  170. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +1 -1
  171. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
  172. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
  173. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +1 -0
  174. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +16 -9
  175. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
  176. package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.d.ts +8 -0
  177. package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.js +158 -0
  178. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +8 -3
  179. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +155 -76
  180. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +1 -2
  181. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +5 -4
  182. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.d.ts +5 -1
  183. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +7 -6
  184. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +31 -1
  185. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +228 -1
  186. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +66 -0
  187. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +190 -0
  188. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +25 -3
  189. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +130 -107
  190. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.d.ts +1 -0
  191. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +19 -18
  192. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +5 -5
  193. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
  194. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +12 -12
  195. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +2 -18
  196. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +169 -266
  197. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +12 -10
  198. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +149 -206
  199. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +3 -3
  200. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +27 -22
  201. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.d.ts +20 -8
  202. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js +183 -43
  203. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  204. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +1 -1
  205. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +2 -3
  206. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
  207. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +21 -21
  208. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  209. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +11 -11
  210. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  211. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  212. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +11 -11
  213. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +6 -6
  214. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  215. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +1 -1
  216. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  217. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
  218. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
  219. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +2 -2
  220. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
  221. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +3 -1
  222. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +4 -2
  223. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +3 -2
  224. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
  225. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +1 -0
  226. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +1 -0
  227. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.d.ts +1 -3
  228. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +26 -23
  229. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.js +3 -3
  230. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  231. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
  232. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
  233. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +4 -9
  234. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  235. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +16 -6
  236. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  237. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  238. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +9 -9
  239. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
  240. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +150 -50
  241. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +2 -2
  242. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
  243. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
  244. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
  245. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  246. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +66 -5
  247. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +239 -48
  248. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.d.ts +0 -14
  249. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +0 -208
  250. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +0 -22
  251. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +0 -637
  252. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.d.ts +0 -24
  253. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +0 -384
  254. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalCustomizations.d.ts +0 -33
  255. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalCustomizations.js +0 -47
  256. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/internalCustomizations/internalSkill.d.ts +0 -30
  257. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileContributions.js +0 -55
  258. /package/vscode/src/vs/workbench/contrib/chat/{common → browser}/promptSyntax/promptFileContributions.d.ts +0 -0
@@ -19,10 +19,10 @@ async function renderHookContent(content, languageService, clipboardService, scr
19
19
  statusParts.push(formatHookResult(content.result));
20
20
  }
21
21
  if (content.exitCode !== undefined) {
22
- statusParts.push(( localize(5818, "Exit Code: {0}", content.exitCode)));
22
+ statusParts.push(( localize(5864, "Exit Code: {0}", content.exitCode)));
23
23
  }
24
24
  if (content.durationInMillis !== undefined) {
25
- statusParts.push(( localize(5819, "{0}ms", content.durationInMillis)));
25
+ statusParts.push(( localize(5865, "{0}ms", content.durationInMillis)));
26
26
  }
27
27
  if (statusParts.length > 0) {
28
28
  append(container, $(
@@ -37,28 +37,28 @@ async function renderHookContent(content, languageService, clipboardService, scr
37
37
  plainText,
38
38
  tokenizedHtml
39
39
  } = await tokenizeContent(content.command, languageService);
40
- renderSection(sectionsContainer, ( localize(5820, "Command")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
40
+ renderSection(sectionsContainer, ( localize(5866, "Command")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
41
41
  }
42
42
  if (content.input) {
43
43
  const {
44
44
  plainText,
45
45
  tokenizedHtml
46
46
  } = await tokenizeContent(content.input, languageService);
47
- renderSection(sectionsContainer, ( localize(5821, "Input")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
47
+ renderSection(sectionsContainer, ( localize(5867, "Input")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
48
48
  }
49
49
  if (content.output) {
50
50
  const {
51
51
  plainText,
52
52
  tokenizedHtml
53
53
  } = await tokenizeContent(content.output, languageService);
54
- renderSection(sectionsContainer, ( localize(5822, "Output")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
54
+ renderSection(sectionsContainer, ( localize(5868, "Output")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
55
55
  }
56
56
  if (content.errorMessage) {
57
57
  const {
58
58
  plainText,
59
59
  tokenizedHtml
60
60
  } = await tokenizeContent(content.errorMessage, languageService);
61
- renderSection(sectionsContainer, ( localize(5823, "Error")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
61
+ renderSection(sectionsContainer, ( localize(5869, "Error")), plainText, tokenizedHtml, disposables, false, clipboardService, scrollable);
62
62
  }
63
63
  return {
64
64
  element: container,
@@ -68,35 +68,35 @@ async function renderHookContent(content, languageService, clipboardService, scr
68
68
  function formatHookResult(result) {
69
69
  switch (result) {
70
70
  case ChatDebugHookResult.Success:
71
- return localize(5824, "Success");
71
+ return localize(5870, "Success");
72
72
  case ChatDebugHookResult.Error:
73
- return localize(5825, "Error");
73
+ return localize(5871, "Error");
74
74
  case ChatDebugHookResult.NonBlockingError:
75
- return localize(5826, "Non-blocking Error");
75
+ return localize(5872, "Non-blocking Error");
76
76
  default:
77
77
  return String(result);
78
78
  }
79
79
  }
80
80
  function hookContentToPlainText(content) {
81
81
  const lines = [];
82
- lines.push(( localize(5827, "Hook Type: {0}", content.hookType)));
82
+ lines.push(( localize(5873, "Hook Type: {0}", content.hookType)));
83
83
  if (content.result !== undefined) {
84
- lines.push(( localize(5828, "Result: {0}", formatHookResult(content.result))));
84
+ lines.push(( localize(5874, "Result: {0}", formatHookResult(content.result))));
85
85
  }
86
86
  if (content.exitCode !== undefined) {
87
- lines.push(( localize(5829, "Exit Code: {0}", content.exitCode)));
87
+ lines.push(( localize(5875, "Exit Code: {0}", content.exitCode)));
88
88
  }
89
89
  if (content.durationInMillis !== undefined) {
90
- lines.push(( localize(5830, "Duration: {0}ms", content.durationInMillis)));
90
+ lines.push(( localize(5876, "Duration: {0}ms", content.durationInMillis)));
91
91
  }
92
92
  if (content.command) {
93
93
  lines.push("");
94
- lines.push(`[${( localize(5820, "Command"))}]`);
94
+ lines.push(`[${( localize(5866, "Command"))}]`);
95
95
  lines.push(content.command);
96
96
  }
97
97
  if (content.input) {
98
98
  lines.push("");
99
- lines.push(`[${( localize(5821, "Input"))}]`);
99
+ lines.push(`[${( localize(5867, "Input"))}]`);
100
100
  try {
101
101
  const parsed = JSON.parse(content.input);
102
102
  lines.push(JSON.stringify(parsed, null, 2));
@@ -106,7 +106,7 @@ function hookContentToPlainText(content) {
106
106
  }
107
107
  if (content.output) {
108
108
  lines.push("");
109
- lines.push(`[${( localize(5822, "Output"))}]`);
109
+ lines.push(`[${( localize(5868, "Output"))}]`);
110
110
  try {
111
111
  const parsed = JSON.parse(content.output);
112
112
  lines.push(JSON.stringify(parsed, null, 2));
@@ -116,7 +116,7 @@ function hookContentToPlainText(content) {
116
116
  }
117
117
  if (content.errorMessage) {
118
118
  lines.push("");
119
- lines.push(`[${( localize(5823, "Error"))}]`);
119
+ lines.push(`[${( localize(5869, "Error"))}]`);
120
120
  lines.push(content.errorMessage);
121
121
  }
122
122
  return lines.join("\n");
@@ -98,13 +98,13 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
98
98
  syncContextKeys();
99
99
  const childInstantiationService = this._register(this.instantiationService.createChild(( new ServiceCollection([IContextKeyService, scopedContextKeyService]))));
100
100
  this.filterWidget = this._register(childInstantiationService.createInstance(FilterWidget, {
101
- placeholder: ( localize(5831, "Filter (e.g. text, !exclude, before:YYYY-MM-DDTHH:MM:SS)")),
102
- ariaLabel: ( localize(5832, "Filter debug events"))
101
+ placeholder: ( localize(5877, "Filter (e.g. text, !exclude, before:YYYY-MM-DDTHH:MM:SS)")),
102
+ ariaLabel: ( localize(5878, "Filter debug events"))
103
103
  }));
104
104
  this.viewModeToggle = this._register(( new Button(this.headerContainer, {
105
105
  ...defaultButtonStyles,
106
106
  secondary: true,
107
- title: ( localize(5833, "Toggle between list and tree view"))
107
+ title: ( localize(5879, "Toggle between list and tree view"))
108
108
  })));
109
109
  this.viewModeToggle.element.classList.add("chat-debug-view-mode-toggle", "monaco-text-button");
110
110
  this.updateViewModeToggle();
@@ -116,7 +116,7 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
116
116
  const troubleshootButton = this._register(( new Button(this.headerContainer, {
117
117
  ...defaultButtonStyles,
118
118
  secondary: true,
119
- title: ( localize(5834, "Add snapshot to Chat"))
119
+ title: ( localize(5880, "Add snapshot to Chat"))
120
120
  })));
121
121
  troubleshootButton.element.classList.add("chat-debug-troubleshoot-button", "monaco-text-button");
122
122
  append(
@@ -147,16 +147,16 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
147
147
  this.tableHeader = append(mainColumn, $(".chat-debug-table-header"));
148
148
  append(
149
149
  this.tableHeader,
150
- $("span.chat-debug-col-created", undefined, ( localize(5835, "Created")))
150
+ $("span.chat-debug-col-created", undefined, ( localize(5881, "Created")))
151
151
  );
152
- append(this.tableHeader, $("span.chat-debug-col-name", undefined, ( localize(5836, "Name"))));
152
+ append(this.tableHeader, $("span.chat-debug-col-name", undefined, ( localize(5882, "Name"))));
153
153
  append(
154
154
  this.tableHeader,
155
- $("span.chat-debug-col-details", undefined, ( localize(5837, "Details")))
155
+ $("span.chat-debug-col-details", undefined, ( localize(5883, "Details")))
156
156
  );
157
157
  this.progressBar = this._register(( new ProgressBar(mainColumn, {
158
158
  ...defaultProgressBarStyles,
159
- ariaLabel: ( localize(5838, "Chat debug logs loading progress"))
159
+ ariaLabel: ( localize(5884, "Chat debug logs loading progress"))
160
160
  })));
161
161
  this.bodyContainer = append(mainColumn, $(".chat-debug-logs-body"));
162
162
  this.listContainer = append(this.bodyContainer, $(".chat-debug-list-container"));
@@ -165,30 +165,30 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
165
165
  getAriaLabel: e => {
166
166
  switch (e.kind) {
167
167
  case "toolCall":
168
- return localize(5839, "Tool call: {0}{1}", e.toolName, e.result ? ` (${e.result})` : "");
168
+ return localize(5885, "Tool call: {0}{1}", e.toolName, e.result ? ` (${e.result})` : "");
169
169
  case "modelTurn":
170
170
  return localize(
171
- 5840,
171
+ 5886,
172
172
  "Model turn: {0}{1}",
173
- e.model ?? ( localize(5841, "model")),
174
- e.totalTokens ? ( localize(5842, " {0} tokens", e.totalTokens)) : ""
173
+ e.model ?? ( localize(5887, "model")),
174
+ e.totalTokens ? ( localize(5888, " {0} tokens", e.totalTokens)) : ""
175
175
  );
176
176
  case "generic":
177
177
  return `${e.category ? e.category + ": " : ""}${e.name}: ${e.details ?? ""}`;
178
178
  case "subagentInvocation":
179
179
  return localize(
180
- 5843,
180
+ 5889,
181
181
  "Subagent: {0}{1}",
182
182
  e.agentName,
183
183
  e.description ? ` - ${e.description}` : ""
184
184
  );
185
185
  case "userMessage":
186
- return localize(5844, "User message: {0}", e.message);
186
+ return localize(5890, "User message: {0}", e.message);
187
187
  case "agentResponse":
188
- return localize(5845, "Agent response: {0}", e.message);
188
+ return localize(5891, "Agent response: {0}", e.message);
189
189
  }
190
190
  },
191
- getWidgetAriaLabel: () => ( localize(5846, "Chat Debug Events"))
191
+ getWidgetAriaLabel: () => ( localize(5892, "Chat Debug Events"))
192
192
  };
193
193
  let nextFallbackId = 0;
194
194
  const fallbackIds = ( new WeakMap());
@@ -295,7 +295,7 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
295
295
  return;
296
296
  }
297
297
  const sessionTitle = this.chatService.getSessionTitle(this.currentSessionResource) || LocalChatSessionUri.parseLocalSessionId(this.currentSessionResource) || ( this.currentSessionResource.toString());
298
- this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(5847, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle, true)), ( new TextBreadcrumbItem(( localize(5848, "Logs"))))]);
298
+ this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(5893, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle, true)), ( new TextBreadcrumbItem(( localize(5894, "Logs"))))]);
299
299
  }
300
300
  layout(dimension) {
301
301
  this.currentDimension = dimension;
@@ -459,15 +459,15 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
459
459
  ));
460
460
  const labelContainer = append(el, $("span.chat-debug-view-mode-labels"));
461
461
  const treeLabel = append(labelContainer, $("span.chat-debug-view-mode-label"));
462
- treeLabel.textContent = ( localize(5849, "Tree View"));
462
+ treeLabel.textContent = ( localize(5895, "Tree View"));
463
463
  const listLabel = append(labelContainer, $("span.chat-debug-view-mode-label"));
464
- listLabel.textContent = ( localize(5850, "List View"));
464
+ listLabel.textContent = ( localize(5896, "List View"));
465
465
  if (isTree) {
466
466
  listLabel.classList.add("hidden");
467
467
  } else {
468
468
  treeLabel.classList.add("hidden");
469
469
  }
470
- const activeLabel = isTree ? ( localize(5851, "Switch to List View")) : ( localize(5852, "Switch to Tree View"));
470
+ const activeLabel = isTree ? ( localize(5897, "Switch to List View")) : ( localize(5898, "Switch to Tree View"));
471
471
  el.setAttribute("aria-label", activeLabel);
472
472
  this.viewModeToggle.setTitle(activeLabel);
473
473
  }
@@ -486,7 +486,7 @@ let ChatDebugLogsView = class ChatDebugLogsView extends Disposable {
486
486
  const name = getEventNameText(event);
487
487
  this.contextMenuService.showContextMenu({
488
488
  getAnchor: () => isMouseEvent(browserEvent) ? ( new StandardMouseEvent(getWindow(this.container), browserEvent)) : this.container,
489
- getActions: () => [( new Action("chatDebug.copyTimestamp", ( localize(5853, "Copy Timestamp")), undefined, true, () => this.clipboardService.writeText(timestamp))), ( new Action("chatDebug.copyRow", ( localize(5854, "Copy Row")), undefined, true, () => this.clipboardService.writeText(row))), ( new Separator()), ( new Action("chatDebug.filterBefore", ( localize(5855, "Filter Before Timestamp")), undefined, true, () => this.applyFilterToken(`before:${timestamp}`))), ( new Action("chatDebug.filterAfter", ( localize(5856, "Filter After Timestamp")), undefined, true, () => this.applyFilterToken(`after:${timestamp}`))), ( new Action("chatDebug.filterName", ( localize(5857, "Filter Name")), undefined, !!name, () => this.applyFilterToken(name)))]
489
+ getActions: () => [( new Action("chatDebug.copyTimestamp", ( localize(5899, "Copy Timestamp")), undefined, true, () => this.clipboardService.writeText(timestamp))), ( new Action("chatDebug.copyRow", ( localize(5900, "Copy Row")), undefined, true, () => this.clipboardService.writeText(row))), ( new Separator()), ( new Action("chatDebug.filterBefore", ( localize(5901, "Filter Before Timestamp")), undefined, true, () => this.applyFilterToken(`before:${timestamp}`))), ( new Action("chatDebug.filterAfter", ( localize(5902, "Filter After Timestamp")), undefined, true, () => this.applyFilterToken(`after:${timestamp}`))), ( new Action("chatDebug.filterName", ( localize(5903, "Filter Name")), undefined, !!name, () => this.applyFilterToken(name)))]
490
490
  });
491
491
  }
492
492
  applyFilterToken(token) {
@@ -11,7 +11,7 @@ async function renderUserMessageContent(event, languageService, clipboardService
11
11
  container.tabIndex = 0;
12
12
  append(
13
13
  container,
14
- $("div.chat-debug-message-content-title", undefined, ( localize(5858, "User Message")))
14
+ $("div.chat-debug-message-content-title", undefined, ( localize(5904, "User Message")))
15
15
  );
16
16
  append(
17
17
  container,
@@ -21,7 +21,7 @@ async function renderUserMessageContent(event, languageService, clipboardService
21
21
  const sectionsContainer = append(container, $("div.chat-debug-message-sections"));
22
22
  append(
23
23
  sectionsContainer,
24
- $("div.chat-debug-message-sections-label", undefined, ( localize(5859, "Prompt Sections ({0})", event.sections.length)))
24
+ $("div.chat-debug-message-sections-label", undefined, ( localize(5905, "Prompt Sections ({0})", event.sections.length)))
25
25
  );
26
26
  for (const section of event.sections) {
27
27
  const {
@@ -51,7 +51,7 @@ async function renderAgentResponseContent(event, languageService, clipboardServi
51
51
  container.tabIndex = 0;
52
52
  append(
53
53
  container,
54
- $("div.chat-debug-message-content-title", undefined, ( localize(5860, "Agent Response")))
54
+ $("div.chat-debug-message-content-title", undefined, ( localize(5906, "Agent Response")))
55
55
  );
56
56
  append(
57
57
  container,
@@ -61,7 +61,7 @@ async function renderAgentResponseContent(event, languageService, clipboardServi
61
61
  const sectionsContainer = append(container, $("div.chat-debug-message-sections"));
62
62
  append(
63
63
  sectionsContainer,
64
- $("div.chat-debug-message-sections-label", undefined, ( localize(5861, "Response Sections ({0})", event.sections.length)))
64
+ $("div.chat-debug-message-sections-label", undefined, ( localize(5907, "Response Sections ({0})", event.sections.length)))
65
65
  );
66
66
  for (const section of event.sections) {
67
67
  const {
@@ -87,7 +87,7 @@ async function renderAgentResponseContent(event, languageService, clipboardServi
87
87
  }
88
88
  function messageEventToPlainText(event) {
89
89
  const lines = [];
90
- const label = event.kind === "userMessage" ? ( localize(5858, "User Message")) : ( localize(5860, "Agent Response"));
90
+ const label = event.kind === "userMessage" ? ( localize(5904, "User Message")) : ( localize(5906, "Agent Response"));
91
91
  lines.push(`${label}: ${event.message}`);
92
92
  lines.push("");
93
93
  for (const section of event.sections) {
@@ -101,7 +101,7 @@ async function renderResolvedMessageContent(content, languageService, clipboardS
101
101
  const disposables = ( new DisposableStore());
102
102
  const container = $("div.chat-debug-message-content");
103
103
  container.tabIndex = 0;
104
- const title = content.type === "user" ? ( localize(5858, "User Message")) : ( localize(5860, "Agent Response"));
104
+ const title = content.type === "user" ? ( localize(5904, "User Message")) : ( localize(5906, "Agent Response"));
105
105
  append(container, $("div.chat-debug-message-content-title", undefined, title));
106
106
  append(
107
107
  container,
@@ -109,7 +109,7 @@ async function renderResolvedMessageContent(content, languageService, clipboardS
109
109
  );
110
110
  if (content.sections.length > 0) {
111
111
  const sectionsContainer = append(container, $("div.chat-debug-message-sections"));
112
- const label = content.type === "user" ? ( localize(5859, "Prompt Sections ({0})", content.sections.length)) : ( localize(5861, "Response Sections ({0})", content.sections.length));
112
+ const label = content.type === "user" ? ( localize(5905, "Prompt Sections ({0})", content.sections.length)) : ( localize(5907, "Response Sections ({0})", content.sections.length));
113
113
  append(
114
114
  sectionsContainer,
115
115
  $("div.chat-debug-message-sections-label", undefined, label)
@@ -138,7 +138,7 @@ async function renderResolvedMessageContent(content, languageService, clipboardS
138
138
  }
139
139
  function resolvedMessageToPlainText(content) {
140
140
  const lines = [];
141
- const label = content.type === "user" ? ( localize(5858, "User Message")) : ( localize(5860, "Agent Response"));
141
+ const label = content.type === "user" ? ( localize(5904, "User Message")) : ( localize(5906, "Agent Response"));
142
142
  lines.push(`${label}: ${content.message}`);
143
143
  lines.push("");
144
144
  for (const section of content.sections) {
@@ -13,7 +13,7 @@ async function renderModelTurnContent(content, languageService, clipboardService
13
13
  container.tabIndex = 0;
14
14
  append(
15
15
  container,
16
- $("div.chat-debug-message-content-title", undefined, ( localize(5862, "Model Turn")))
16
+ $("div.chat-debug-message-content-title", undefined, ( localize(5908, "Model Turn")))
17
17
  );
18
18
  const statusParts = [];
19
19
  if (content.requestName) {
@@ -26,7 +26,7 @@ async function renderModelTurnContent(content, languageService, clipboardService
26
26
  statusParts.push(content.status);
27
27
  }
28
28
  if (content.durationInMillis !== undefined) {
29
- statusParts.push(( localize(5863, "{0}ms", numberFormatter.value.format(content.durationInMillis))));
29
+ statusParts.push(( localize(5909, "{0}ms", numberFormatter.value.format(content.durationInMillis))));
30
30
  }
31
31
  if (statusParts.length > 0) {
32
32
  append(container, $(
@@ -38,49 +38,49 @@ async function renderModelTurnContent(content, languageService, clipboardService
38
38
  const detailsContainer = append(container, $("div.chat-debug-model-turn-details"));
39
39
  if (content.inputTokens !== undefined) {
40
40
  append(detailsContainer, $("div", undefined, ( localize(
41
- 5864,
41
+ 5910,
42
42
  "Input tokens: {0}",
43
43
  numberFormatter.value.format(content.inputTokens)
44
44
  ))));
45
45
  }
46
46
  if (content.outputTokens !== undefined) {
47
47
  append(detailsContainer, $("div", undefined, ( localize(
48
- 5865,
48
+ 5911,
49
49
  "Output tokens: {0}",
50
50
  numberFormatter.value.format(content.outputTokens)
51
51
  ))));
52
52
  }
53
53
  if (content.cachedTokens !== undefined) {
54
54
  append(detailsContainer, $("div", undefined, ( localize(
55
- 5866,
55
+ 5912,
56
56
  "Cached tokens: {0}",
57
57
  numberFormatter.value.format(content.cachedTokens)
58
58
  ))));
59
59
  }
60
60
  if (content.totalTokens !== undefined) {
61
61
  append(detailsContainer, $("div", undefined, ( localize(
62
- 5867,
62
+ 5913,
63
63
  "Total tokens: {0}",
64
64
  numberFormatter.value.format(content.totalTokens)
65
65
  ))));
66
66
  }
67
67
  if (content.timeToFirstTokenInMillis !== undefined) {
68
68
  append(detailsContainer, $("div", undefined, ( localize(
69
- 5868,
69
+ 5914,
70
70
  "Time to first token: {0}ms",
71
71
  numberFormatter.value.format(content.timeToFirstTokenInMillis)
72
72
  ))));
73
73
  }
74
74
  if (content.maxInputTokens !== undefined) {
75
75
  append(detailsContainer, $("div", undefined, ( localize(
76
- 5869,
76
+ 5915,
77
77
  "Max input tokens: {0}",
78
78
  numberFormatter.value.format(content.maxInputTokens)
79
79
  ))));
80
80
  }
81
81
  if (content.maxOutputTokens !== undefined) {
82
82
  append(detailsContainer, $("div", undefined, ( localize(
83
- 5870,
83
+ 5916,
84
84
  "Max output tokens: {0}",
85
85
  numberFormatter.value.format(content.maxOutputTokens)
86
86
  ))));
@@ -88,14 +88,14 @@ async function renderModelTurnContent(content, languageService, clipboardService
88
88
  if (content.errorMessage) {
89
89
  append(
90
90
  detailsContainer,
91
- $("div.chat-debug-model-turn-error", undefined, ( localize(5871, "Error: {0}", content.errorMessage)))
91
+ $("div.chat-debug-model-turn-error", undefined, ( localize(5917, "Error: {0}", content.errorMessage)))
92
92
  );
93
93
  }
94
94
  if (content.sections && content.sections.length > 0) {
95
95
  const sectionsContainer = append(container, $("div.chat-debug-message-sections"));
96
96
  append(
97
97
  sectionsContainer,
98
- $("div.chat-debug-message-sections-label", undefined, ( localize(5872, "Sections ({0})", content.sections.length)))
98
+ $("div.chat-debug-message-sections-label", undefined, ( localize(5918, "Sections ({0})", content.sections.length)))
99
99
  );
100
100
  for (const section of content.sections) {
101
101
  const {
@@ -121,71 +121,71 @@ async function renderModelTurnContent(content, languageService, clipboardService
121
121
  }
122
122
  function modelTurnContentToPlainText(content) {
123
123
  const lines = [];
124
- lines.push(( localize(5873, "Request: {0}", content.requestName)));
124
+ lines.push(( localize(5919, "Request: {0}", content.requestName)));
125
125
  if (content.model) {
126
- lines.push(( localize(5874, "Model: {0}", content.model)));
126
+ lines.push(( localize(5920, "Model: {0}", content.model)));
127
127
  }
128
128
  if (content.status && content.status !== "unknown") {
129
- lines.push(( localize(5875, "Status: {0}", content.status)));
129
+ lines.push(( localize(5921, "Status: {0}", content.status)));
130
130
  }
131
131
  if (content.durationInMillis !== undefined) {
132
132
  lines.push(( localize(
133
- 5876,
133
+ 5922,
134
134
  "Duration: {0}ms",
135
135
  numberFormatter.value.format(content.durationInMillis)
136
136
  )));
137
137
  }
138
138
  if (content.timeToFirstTokenInMillis !== undefined) {
139
139
  lines.push(( localize(
140
- 5877,
140
+ 5923,
141
141
  "Time to first token: {0}ms",
142
142
  numberFormatter.value.format(content.timeToFirstTokenInMillis)
143
143
  )));
144
144
  }
145
145
  if (content.inputTokens !== undefined) {
146
146
  lines.push(( localize(
147
- 5878,
147
+ 5924,
148
148
  "Input tokens: {0}",
149
149
  numberFormatter.value.format(content.inputTokens)
150
150
  )));
151
151
  }
152
152
  if (content.outputTokens !== undefined) {
153
153
  lines.push(( localize(
154
- 5879,
154
+ 5925,
155
155
  "Output tokens: {0}",
156
156
  numberFormatter.value.format(content.outputTokens)
157
157
  )));
158
158
  }
159
159
  if (content.cachedTokens !== undefined) {
160
160
  lines.push(( localize(
161
- 5880,
161
+ 5926,
162
162
  "Cached tokens: {0}",
163
163
  numberFormatter.value.format(content.cachedTokens)
164
164
  )));
165
165
  }
166
166
  if (content.totalTokens !== undefined) {
167
167
  lines.push(( localize(
168
- 5881,
168
+ 5927,
169
169
  "Total tokens: {0}",
170
170
  numberFormatter.value.format(content.totalTokens)
171
171
  )));
172
172
  }
173
173
  if (content.maxInputTokens !== undefined) {
174
174
  lines.push(( localize(
175
- 5882,
175
+ 5928,
176
176
  "Max input tokens: {0}",
177
177
  numberFormatter.value.format(content.maxInputTokens)
178
178
  )));
179
179
  }
180
180
  if (content.maxOutputTokens !== undefined) {
181
181
  lines.push(( localize(
182
- 5883,
182
+ 5929,
183
183
  "Max output tokens: {0}",
184
184
  numberFormatter.value.format(content.maxOutputTokens)
185
185
  )));
186
186
  }
187
187
  if (content.errorMessage) {
188
- lines.push(( localize(5884, "Error: {0}", content.errorMessage)));
188
+ lines.push(( localize(5930, "Error: {0}", content.errorMessage)));
189
189
  }
190
190
  if (content.sections && content.sections.length > 0) {
191
191
  lines.push("");
@@ -106,7 +106,7 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
106
106
  return;
107
107
  }
108
108
  const sessionTitle = this.chatService.getSessionTitle(this.currentSessionResource) || LocalChatSessionUri.parseLocalSessionId(this.currentSessionResource) || ( this.currentSessionResource.toString());
109
- this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(5885, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle))]);
109
+ this.breadcrumbWidget.setItems([( new TextBreadcrumbItem(( localize(5931, "Agent Debug Logs")), true)), ( new TextBreadcrumbItem(sessionTitle))]);
110
110
  }
111
111
  load() {
112
112
  clearNode(this.content);
@@ -122,8 +122,8 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
122
122
  titleEl.append(sessionTitle);
123
123
  const titleActions = append(titleRow, $(".chat-debug-overview-title-actions"));
124
124
  const revealSessionBtn = this.loadDisposables.add(( new Button(titleActions, {
125
- ariaLabel: ( localize(5886, "Reveal Chat Session")),
126
- title: ( localize(5886, "Reveal Chat Session"))
125
+ ariaLabel: ( localize(5932, "Reveal Chat Session")),
126
+ title: ( localize(5932, "Reveal Chat Session"))
127
127
  })));
128
128
  revealSessionBtn.element.classList.add("chat-debug-icon-button");
129
129
  revealSessionBtn.icon = Codicon.goToFile;
@@ -142,36 +142,36 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
142
142
  const details = [];
143
143
  const sessionType = getChatSessionType(sessionUri);
144
144
  const contribution = this.chatSessionsService.getChatSessionContribution(sessionType);
145
- const sessionTypeName = contribution?.displayName || (sessionType === localChatSessionType ? ( localize(5887, "Local")) : sessionType);
145
+ const sessionTypeName = contribution?.displayName || (sessionType === localChatSessionType ? ( localize(5933, "Local")) : sessionType);
146
146
  details.push({
147
- label: ( localize(5888, "Session Type")),
147
+ label: ( localize(5934, "Session Type")),
148
148
  value: sessionTypeName
149
149
  });
150
150
  if (model) {
151
151
  const locationLabel = this.getLocationLabel(model.initialLocation);
152
152
  details.push({
153
- label: ( localize(5889, "Location")),
153
+ label: ( localize(5935, "Location")),
154
154
  value: locationLabel
155
155
  });
156
156
  const inProgress = model.requestInProgress.get();
157
- const statusLabel = inProgress ? ( localize(5890, "In Progress")) : ( localize(5891, "Idle"));
157
+ const statusLabel = inProgress ? ( localize(5936, "In Progress")) : ( localize(5937, "Idle"));
158
158
  details.push({
159
- label: ( localize(5892, "Status")),
159
+ label: ( localize(5938, "Status")),
160
160
  value: statusLabel
161
161
  });
162
162
  const timing = model.timing;
163
163
  details.push({
164
- label: ( localize(5893, "Created")),
164
+ label: ( localize(5939, "Created")),
165
165
  value: ( new Date(timing.created)).toLocaleString()
166
166
  });
167
167
  if (timing.lastRequestEnded) {
168
168
  details.push({
169
- label: ( localize(5894, "Last Activity")),
169
+ label: ( localize(5940, "Last Activity")),
170
170
  value: ( new Date(timing.lastRequestEnded)).toLocaleString()
171
171
  });
172
172
  } else if (timing.lastRequestStarted) {
173
173
  details.push({
174
- label: ( localize(5894, "Last Activity")),
174
+ label: ( localize(5940, "Last Activity")),
175
175
  value: ( new Date(timing.lastRequestStarted)).toLocaleString()
176
176
  });
177
177
  }
@@ -180,7 +180,7 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
180
180
  const section = append(this.content, $(".chat-debug-overview-section"));
181
181
  append(
182
182
  section,
183
- $("h3.chat-debug-overview-section-label", undefined, ( localize(5895, "Session Details")))
183
+ $("h3.chat-debug-overview-section-label", undefined, ( localize(5941, "Session Details")))
184
184
  );
185
185
  const detailsGrid = append(section, $(".chat-debug-overview-details"));
186
186
  for (const detail of details) {
@@ -193,13 +193,13 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
193
193
  getLocationLabel(location) {
194
194
  switch (location) {
195
195
  case ChatAgentLocation.Chat:
196
- return localize(5896, "Chat Panel");
196
+ return localize(5942, "Chat Panel");
197
197
  case ChatAgentLocation.Terminal:
198
- return localize(5897, "Terminal");
198
+ return localize(5943, "Terminal");
199
199
  case ChatAgentLocation.Notebook:
200
- return localize(5898, "Notebook");
200
+ return localize(5944, "Notebook");
201
201
  case ChatAgentLocation.EditorInline:
202
- return localize(5899, "Editor Inline");
202
+ return localize(5945, "Editor Inline");
203
203
  default:
204
204
  return String(location);
205
205
  }
@@ -208,7 +208,7 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
208
208
  const metricsSection = append(this.content, $(".chat-debug-overview-section"));
209
209
  append(
210
210
  metricsSection,
211
- $("h3.chat-debug-overview-section-label", undefined, ( localize(5900, "Summary")))
211
+ $("h3.chat-debug-overview-section-label", undefined, ( localize(5946, "Summary")))
212
212
  );
213
213
  this.metricsContainer = append(metricsSection, $(".chat-debug-overview-metrics"));
214
214
  if (showShimmer) {
@@ -219,17 +219,17 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
219
219
  const actionsSection = append(this.content, $(".chat-debug-overview-section"));
220
220
  append(
221
221
  actionsSection,
222
- $("h3.chat-debug-overview-section-label", undefined, ( localize(5901, "Explore Trace Data")))
222
+ $("h3.chat-debug-overview-section-label", undefined, ( localize(5947, "Explore Trace Data")))
223
223
  );
224
224
  const row = append(actionsSection, $(".chat-debug-overview-actions"));
225
225
  const viewLogsBtn = this.loadDisposables.add(( new Button(row, {
226
226
  ...defaultButtonStyles,
227
227
  secondary: true,
228
228
  supportIcons: true,
229
- title: ( localize(5902, "View Logs"))
229
+ title: ( localize(5948, "View Logs"))
230
230
  })));
231
231
  viewLogsBtn.element.classList.add("chat-debug-overview-action-button");
232
- viewLogsBtn.label = `$(list-flat) ${( localize(5902, "View Logs"))}`;
232
+ viewLogsBtn.label = `$(list-flat) ${( localize(5948, "View Logs"))}`;
233
233
  this.loadDisposables.add(viewLogsBtn.onDidClick(() => {
234
234
  this._onNavigate.fire(OverviewNavigation.Logs);
235
235
  }));
@@ -237,16 +237,16 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
237
237
  ...defaultButtonStyles,
238
238
  secondary: true,
239
239
  supportIcons: true,
240
- title: ( localize(5903, "Agent Flow Chart"))
240
+ title: ( localize(5949, "Agent Flow Chart"))
241
241
  })));
242
242
  flowChartBtn.element.classList.add("chat-debug-overview-action-button");
243
- flowChartBtn.label = `$(type-hierarchy) ${( localize(5903, "Agent Flow Chart"))}`;
243
+ flowChartBtn.label = `$(type-hierarchy) ${( localize(5949, "Agent Flow Chart"))}`;
244
244
  this.loadDisposables.add(flowChartBtn.onDidClick(() => {
245
245
  this._onNavigate.fire(OverviewNavigation.FlowChart);
246
246
  }));
247
247
  }
248
248
  renderMetricsShimmer(container) {
249
- const placeholderLabels = [( localize(5904, "Model Turns")), ( localize(5905, "Tool Calls")), ( localize(5906, "Total Tokens")), ( localize(5907, "Errors")), ( localize(5908, "Total Events"))];
249
+ const placeholderLabels = [( localize(5950, "Model Turns")), ( localize(5951, "Tool Calls")), ( localize(5952, "Total Tokens")), ( localize(5953, "Errors")), ( localize(5954, "Total Events"))];
250
250
  for (const label of placeholderLabels) {
251
251
  const card = append(container, $(".chat-debug-overview-metric-card"));
252
252
  append(card, $("div.chat-debug-overview-metric-label", undefined, label));
@@ -263,19 +263,19 @@ let ChatDebugOverviewView = class ChatDebugOverviewView extends Disposable {
263
263
  );
264
264
  const totalTokens = modelTurns.reduce((sum, e) => sum + (e.totalTokens ?? 0), 0);
265
265
  const metrics = [{
266
- label: ( localize(5904, "Model Turns")),
266
+ label: ( localize(5950, "Model Turns")),
267
267
  value: String(modelTurns.length)
268
268
  }, {
269
- label: ( localize(5905, "Tool Calls")),
269
+ label: ( localize(5951, "Tool Calls")),
270
270
  value: String(toolCalls.length)
271
271
  }, {
272
- label: ( localize(5906, "Total Tokens")),
272
+ label: ( localize(5952, "Total Tokens")),
273
273
  value: numberFormatter.value.format(totalTokens)
274
274
  }, {
275
- label: ( localize(5907, "Errors")),
275
+ label: ( localize(5953, "Errors")),
276
276
  value: String(errors.length)
277
277
  }, {
278
- label: ( localize(5908, "Total Events")),
278
+ label: ( localize(5954, "Total Events")),
279
279
  value: String(events.length)
280
280
  }];
281
281
  for (const metric of metrics) {