@codingame/monaco-vscode-chat-service-override 37.1.0 → 37.2.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 (205) hide show
  1. package/index.js +15 -5
  2. package/package.json +5 -5
  3. package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.js +1 -1
  4. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.d.ts +104 -0
  5. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +827 -0
  6. package/vscode/src/vs/workbench/api/browser/mainThreadChatCodeMapper.d.ts +15 -0
  7. package/vscode/src/vs/workbench/api/browser/mainThreadChatCodeMapper.js +71 -0
  8. package/vscode/src/vs/workbench/api/browser/mainThreadChatContext.d.ts +16 -0
  9. package/vscode/src/vs/workbench/api/browser/mainThreadChatContext.js +95 -0
  10. package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.d.ts +22 -0
  11. package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.js +286 -0
  12. package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.d.ts +10 -0
  13. package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.js +38 -0
  14. package/vscode/src/vs/workbench/api/browser/mainThreadChatQuota.d.ts +9 -0
  15. package/vscode/src/vs/workbench/api/browser/mainThreadChatQuota.js +22 -0
  16. package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.d.ts +130 -0
  17. package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +907 -0
  18. package/vscode/src/vs/workbench/api/browser/mainThreadChatStatus.d.ts +10 -0
  19. package/vscode/src/vs/workbench/api/browser/mainThreadChatStatus.js +28 -0
  20. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.d.ts +27 -0
  21. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.js +167 -0
  22. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.d.ts +46 -0
  23. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +356 -0
  24. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +2 -2
  30. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +1 -1
  31. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +2 -2
  32. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +1 -1
  35. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +1 -1
  37. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +1 -1
  39. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +5 -3
  42. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +1 -1
  43. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +2 -2
  44. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +2 -2
  45. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +1 -1
  47. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +1 -1
  48. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +1 -1
  49. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +1 -1
  50. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.d.ts +1 -1
  51. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.js +1 -1
  52. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.d.ts +1 -1
  53. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +1 -1
  54. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.d.ts +1 -1
  55. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  56. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +1 -1
  57. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +1 -1
  58. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +2 -2
  59. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +1 -1
  60. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +1 -1
  61. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +3 -3
  62. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +1 -1
  63. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.d.ts +1 -1
  64. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +1 -1
  65. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +1 -1
  66. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.d.ts +1 -1
  67. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +1 -1
  68. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.d.ts +1 -1
  69. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +1 -1
  70. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +1 -1
  71. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +1 -1
  72. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +1 -1
  73. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
  74. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +12 -12
  75. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +1 -1
  76. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +1 -1
  77. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.d.ts +1 -1
  78. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.d.ts +1 -1
  79. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.d.ts +1 -1
  80. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.d.ts +1 -1
  81. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.d.ts +1 -1
  82. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +1 -1
  83. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.d.ts +1 -1
  84. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.d.ts +1 -1
  85. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +1 -1
  86. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.d.ts +1 -1
  87. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.d.ts +1 -1
  88. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.d.ts +1 -1
  89. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +1 -1
  90. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.d.ts +1 -1
  91. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +1 -1
  92. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +1 -1
  93. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +1 -1
  94. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +1 -1
  95. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +1 -1
  96. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +2 -2
  97. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +2 -0
  98. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +57 -0
  99. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +2 -2
  100. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +1 -1
  101. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +1 -1
  102. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.d.ts +1 -1
  103. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +1 -1
  104. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +1 -1
  105. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +1 -1
  106. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +1 -1
  107. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.d.ts +1 -1
  108. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.js +1 -1
  109. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.js +1 -1
  110. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
  111. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +2 -2
  112. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +1 -1
  113. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +1 -1
  114. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +1 -1
  115. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +3 -3
  116. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +1 -1
  117. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +1 -1
  118. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +1 -1
  119. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +1 -1
  120. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +1 -1
  121. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +1 -1
  122. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +1 -1
  123. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +1 -1
  124. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +2 -2
  125. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
  126. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +10 -2
  127. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.js +1 -1
  128. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +1 -1
  129. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugEvents.d.ts +1 -1
  130. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +253 -0
  131. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +20 -0
  132. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +1 -1
  133. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +1 -1
  134. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +2 -2
  135. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +300 -0
  136. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +272 -0
  137. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +25 -0
  138. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +178 -0
  139. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +78 -0
  140. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +51 -0
  141. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +2 -2
  142. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +2 -2
  143. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +67 -0
  144. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +195 -0
  145. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +67 -0
  146. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +294 -0
  147. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +212 -0
  148. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +955 -0
  149. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +31 -0
  150. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +122 -0
  151. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.d.ts +1 -1
  152. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js +1 -1
  153. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +65 -0
  154. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +698 -0
  155. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +50 -0
  156. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +78 -0
  157. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +77 -0
  158. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +120 -0
  159. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +10 -0
  160. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +23 -0
  161. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +92 -0
  162. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +335 -0
  163. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +235 -0
  164. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +1673 -0
  165. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +202 -0
  166. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +872 -0
  167. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +36 -0
  168. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +239 -0
  169. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.d.ts +21 -0
  170. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.js +143 -0
  171. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.d.ts +24 -0
  172. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +298 -0
  173. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +25 -0
  174. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +177 -0
  175. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +73 -0
  176. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +577 -0
  177. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +11 -0
  178. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +90 -0
  179. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +16 -0
  180. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +130 -0
  181. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.d.ts +12 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.js +53 -0
  183. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +5 -0
  184. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +12 -0
  185. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.d.ts +10 -0
  186. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +91 -0
  187. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +38 -0
  188. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +518 -0
  189. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +6 -0
  190. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +231 -0
  191. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +1 -1
  192. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +4 -4
  193. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +1 -1
  194. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +1 -1
  195. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +1 -1
  196. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +1 -1
  197. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +1 -1
  198. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +1 -1
  199. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +1 -1
  200. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +1 -1
  201. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +1 -1
  202. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +1 -1
  203. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.d.ts +1 -1
  204. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.js +1 -1
  205. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.js +1 -1
@@ -20,9 +20,9 @@ import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platf
20
20
  import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
21
21
  import { IAgentPluginRepositoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service';
22
22
  import { ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
23
- import { PluginSourceKind, MarketplaceType, hasSourceChanged } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService';
23
+ import { PluginSourceKind, MarketplaceType, hasSourceChanged } from '../common/plugins/pluginMarketplaceService.js';
24
24
  import { IPluginMarketplaceService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service';
25
- import { parseMarketplaceReference, MarketplaceReferenceKind, readConfiguredMarketplaces, parseMarketplaceReferences } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/marketplaceReference';
25
+ import { parseMarketplaceReference, MarketplaceReferenceKind, readConfiguredMarketplaces, parseMarketplaceReferences } from '../common/plugins/marketplaceReference.js';
26
26
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
27
27
 
28
28
  let PluginInstallService = class PluginInstallService {
@@ -7,7 +7,7 @@ import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/pla
7
7
  import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
8
8
  import { ITerminalService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service";
9
9
  import { IEnsureRepositoryOptions, IPullRepositoryOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService";
10
- import { IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
10
+ import { IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "../common/plugins/pluginMarketplaceService.js";
11
11
  import { IPluginSource } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginSource";
12
12
  import { IPluginGitService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginGitService.service";
13
13
  declare abstract class AbstractGitPluginSource implements IPluginSource {
@@ -19,7 +19,7 @@ import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platfor
19
19
  import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
20
20
  import { TerminalCapability } from '@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/capabilities/capabilities';
21
21
  import { ITerminalService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
22
- import { PluginSourceKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService';
22
+ import { PluginSourceKind } from '../common/plugins/pluginMarketplaceService.js';
23
23
  import { IPluginGitService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginGitService.service';
24
24
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
25
25
 
@@ -19,7 +19,7 @@ import { IExtensionsWorkbenchService } from '@codingame/monaco-vscode-api/vscode
19
19
  import { AgentPluginEditorInput } from './agentPluginEditor/agentPluginEditorInput.js';
20
20
  import { AgentPluginItemKind } from './agentPluginEditor/agentPluginItems.js';
21
21
  import { ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
22
- import { parseMarketplaceReference, MarketplaceReferenceKind, readConfiguredMarketplaces, parseMarketplaceReferences } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/marketplaceReference';
22
+ import { parseMarketplaceReference, MarketplaceReferenceKind, readConfiguredMarketplaces, parseMarketplaceReferences } from '../common/plugins/marketplaceReference.js';
23
23
  import { IPluginInstallService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service';
24
24
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
25
25
 
@@ -18,9 +18,9 @@ import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platf
18
18
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
19
19
  import { HOOKS_BY_TARGET, HOOK_METADATA } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
20
20
  import { formatHookCommandLabel, getEffectiveCommandFieldKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookSchema';
21
- import { resolveCopilotCliHookType, getCopilotCliHookTypeName } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat';
22
- import { getHookSourceFormat, HookSourceFormat, buildNewHookEntry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility';
23
- import { getClaudeHookTypeName, resolveClaudeHookType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat';
21
+ import { resolveCopilotCliHookType, getCopilotCliHookTypeName } from '../../common/promptSyntax/hookCopilotCliCompat.js';
22
+ import { getHookSourceFormat, HookSourceFormat, buildNewHookEntry } from '../../common/promptSyntax/hookCompatibility.js';
23
+ import { getClaudeHookTypeName, resolveClaudeHookType } from '../../common/promptSyntax/hookClaudeCompat.js';
24
24
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
25
25
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
26
26
  import { findHookCommandSelection, parseAllHookFiles, findHookCommandInYaml } from './hookUtils.js';
@@ -3,7 +3,7 @@ import { findNodeAtLocation, parseTree, parse } from '@codingame/monaco-vscode-a
3
3
  import { PromptsType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
4
4
  import { formatHookCommandLabel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookSchema';
5
5
  import { HOOK_METADATA, HookType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
6
- import { parseHooksFromFile, parseHooksIgnoringDisableAll } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility';
6
+ import { parseHooksFromFile, parseHooksIgnoringDisableAll } from '../../common/promptSyntax/hookCompatibility.js';
7
7
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
8
8
 
9
9
  function offsetToPosition(content, offset) {
@@ -15,7 +15,7 @@ import { formatHookCommandLabel } from '@codingame/monaco-vscode-api/vscode/vs/w
15
15
  import { HookType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
16
16
  import { PromptsType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
17
17
  import { IPromptsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service';
18
- import { lastInstructionsCollectionResult } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions';
18
+ import { lastInstructionsCollectionResult } from '../common/promptSyntax/computeAutomaticInstructions.js';
19
19
 
20
20
  var PromptsDebugContribution_1;
21
21
  let PromptsDebugContribution = class PromptsDebugContribution extends Disposable {
@@ -47,7 +47,7 @@ import { chatSessionResourceToId, getChatSessionType } from '@codingame/monaco-v
47
47
  import { HookType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
48
48
  import { CopilotChatSettingId, CopilotToolId } from '../../common/tools/copilotToolIds.js';
49
49
  import { ILanguageModelToolsConfirmationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.service';
50
- import { TerminalToolId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/terminalToolIds';
50
+ import { TerminalToolId } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/tools/terminalToolIds';
51
51
  import { ToolDataSource, VSCodeToolReference, SpecedToolAliases, toolMatchesModel, isToolSet, createToolSchemaUri, ToolInvocationPresentation, stringifyPromptTsxPart, ToolSetForModel, ToolAndToolSetEnablementMap, ToolSet } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
52
52
  import { IToolResultCompressor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service';
53
53
  import { getToolConfirmationAlert } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider';
@@ -18,7 +18,7 @@ import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs
18
18
  import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
19
19
  import { ToolDataSource } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
20
20
  import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
21
- import { createToolSimpleTextResult } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers';
21
+ import { createToolSimpleTextResult } from '../../common/tools/builtinTools/toolHelpers.js';
22
22
  import { resolveSymbolToolFileUri, errorResult, findLineNumber, findSymbolColumn, isSymbolToolResourceInScope } from './toolHelpers.js';
23
23
 
24
24
  const RenameToolId = "vscode_renameSymbol";
@@ -3,7 +3,7 @@ import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/comm
3
3
  import { escapeRegExpCharacters } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
4
4
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
5
5
  import { ChatPermissionLevel, isAutoApproveLevel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
6
- import { createToolSimpleTextResult } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers';
6
+ import { createToolSimpleTextResult } from '../../common/tools/builtinTools/toolHelpers.js';
7
7
  import { WorkingDirectory } from '../../common/workingDirectory.js';
8
8
 
9
9
  function isSymbolToolResourceInScope(resource, workspaceContextService, uriIdentityService, workingDirectory) {
@@ -21,7 +21,7 @@ import { QueryType, resultIsMatch } from '@codingame/monaco-vscode-api/vscode/vs
21
21
  import { ISearchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search.service';
22
22
  import { ToolDataSource } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
23
23
  import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
24
- import { createToolSimpleTextResult } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers';
24
+ import { createToolSimpleTextResult } from '../../common/tools/builtinTools/toolHelpers.js';
25
25
  import { resolveSymbolToolFileUri, errorResult, findLineNumber, findSymbolColumn, isSymbolToolResourceInScope } from './toolHelpers.js';
26
26
 
27
27
  const UsagesToolId = "vscode_listCodeUsages";
@@ -17,7 +17,7 @@ import { getCompletionAction } from '../../../../../../../platform/agentHost/com
17
17
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
18
18
  import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
19
19
  import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
20
- import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
20
+ import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
21
21
  import { isAgentHostTarget } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
22
22
  import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
23
23
  import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
@@ -6,7 +6,7 @@ import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core
6
6
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
7
7
  import { getCommandArgumentHint } from '../../../../../../../platform/agentHost/common/meta/agentCompletionAttachmentMeta.js';
8
8
  import { getAgentHostCompletionReferenceKindFromValue, AgentHostCompletionReferenceKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
9
- import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
9
+ import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
10
10
  import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget';
11
11
  import { getInputPlaceholderColor, getRangeForPlaceholder } from './chatInputPlaceholderDecoration.js';
12
12
 
@@ -46,7 +46,7 @@ import { IChatAgentService, IChatAgentNameService } from '@codingame/monaco-vsco
46
46
  import { getAttachableImageExtension } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
47
47
  import { ChatRequestAgentPart, chatSubcommandLeader, chatAgentLeader, ChatRequestAgentSubcommandPart, ChatRequestSlashPromptPart, ChatRequestTextPart, chatVariableLeader, ChatRequestToolPart, ChatRequestToolSetPart } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
48
48
  import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service';
49
- import { toAttachedContextDynamicVariable } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables';
49
+ import { toAttachedContextDynamicVariable } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables';
50
50
  import { ChatModeKind, ChatAgentLocation, isSupportedChatFileScheme } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
51
51
  import { isToolSet } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
52
52
  import { isAgentHostTarget } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
@@ -56,7 +56,7 @@ import { matchesSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workb
56
56
  import { ChatSubmitAction } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
57
57
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
58
58
  import { resizeImage } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatImageUtils';
59
- import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
59
+ import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
60
60
  import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
61
61
  import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
62
62
  import { computeCompletionRanges, isEmptyUpToCompletionWord, escapeForCharClass, getCompletionRangeWord, getAttachedContextCompletionMatch, getAttachedContextCompletionSortText, attachedContextCompletionAdditionalTriggerCharacters } from './chatInputCompletionUtils.js';
@@ -17,7 +17,7 @@ import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbe
17
17
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
18
18
  import { chatSlashCommandBackground, chatSlashCommandForeground } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatColors';
19
19
  import { ChatRequestTextPart, ChatRequestSlashPromptPart, ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestSlashCommandPart, ChatRequestToolPart, ChatRequestToolSetPart, ChatRequestDynamicVariablePart, chatAgentLeader, chatSubcommandLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
20
- import { slashReg, agentReg, variableReg } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
20
+ import { slashReg, agentReg, variableReg } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
21
21
  import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget';
22
22
  import { registerChatInputReferenceDecorationType } from './chatInputReferenceDecorations.js';
23
23
  import { NativeEditContextRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/controller/editContext/native/nativeEditContextRegistry';
@@ -11,9 +11,17 @@ import { ChatEditorHoverWrapper } from './editorHoverWrapper.js';
11
11
  import { extractAgentAndCommand, ChatRequestDynamicVariablePart } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
12
12
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
13
13
  import { isImageVariableEntry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
14
- import { coerceImageBuffer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatImageExtraction';
15
- import { createImageHoverContent } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets';
14
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/lazy';
15
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
16
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
16
17
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
18
+ import '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
19
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
20
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
21
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
22
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
23
+ import { coerceImageBuffer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatImageBuffer';
24
+ import { createImageHoverContent } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets';
17
25
 
18
26
  let ChatAgentHoverParticipant = class ChatAgentHoverParticipant {
19
27
  constructor(editor, instantiationService, chatWidgetService, commandService) {
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { themeColorFromId } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
3
3
  import { TrackedRangeStickiness } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
4
- import { dynamicVariableDecorationType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
4
+ import { dynamicVariableDecorationType } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
5
5
  import { chatSlashCommandBackground, chatSlashCommandForeground } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatColors';
6
6
 
7
7
  function registerChatInputReferenceDecorationType(codeEditorService, decorationType = dynamicVariableDecorationType) {
@@ -35,7 +35,7 @@ import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workb
35
35
  import { IActivityService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service";
36
36
  import { IAgentSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service";
37
37
  import { IAgentHostEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService.service";
38
- import { IAgentSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
38
+ import { IAgentSession } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
39
39
  import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
40
40
  import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
41
41
  import { IMicCaptureService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service";
@@ -1,4 +1,4 @@
1
- import { IChatDebugEvent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService";
1
+ import { IChatDebugEvent } from "./chatDebugService.js";
2
2
  /**
3
3
  * Checks whether a debug event matches a single text search term.
4
4
  * Used by both the debug panel filter and the listDebugEvents tool.
@@ -0,0 +1,253 @@
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
3
+ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
4
+ export declare const CHAT_DEBUG_HAS_ACTIVE_SESSION: RawContextKey<boolean>;
5
+ export declare const CHAT_DEBUG_ACTIVE_SESSION_IS_AGENT_HOST: RawContextKey<boolean>;
6
+ /**
7
+ * The severity level of a chat debug log event.
8
+ */
9
+ export declare enum ChatDebugLogLevel {
10
+ Trace = 0,
11
+ Info = 1,
12
+ Warning = 2,
13
+ Error = 3
14
+ }
15
+ /**
16
+ * The result of a hook execution.
17
+ */
18
+ export declare enum ChatDebugHookResult {
19
+ /** The hook executed successfully (exit code 0). */
20
+ Success = 0,
21
+ /** The hook returned a blocking error (exit code 2). */
22
+ Error = 1,
23
+ /** The hook returned a non-blocking warning (other non-zero exit codes). */
24
+ NonBlockingError = 2
25
+ }
26
+ /**
27
+ * Common properties shared by all chat debug event types.
28
+ */
29
+ export interface IChatDebugEventCommon {
30
+ readonly id?: string;
31
+ readonly sessionResource: URI;
32
+ readonly created: Date;
33
+ readonly parentEventId?: string;
34
+ }
35
+ /**
36
+ * A tool call event in the chat debug log.
37
+ */
38
+ export interface IChatDebugToolCallEvent extends IChatDebugEventCommon {
39
+ readonly kind: "toolCall";
40
+ readonly toolName: string;
41
+ readonly toolCallId?: string;
42
+ readonly input?: string;
43
+ readonly output?: string;
44
+ readonly result?: "success" | "error";
45
+ readonly durationInMillis?: number;
46
+ }
47
+ /**
48
+ * A model turn event representing an LLM request/response.
49
+ */
50
+ export interface IChatDebugModelTurnEvent extends IChatDebugEventCommon {
51
+ readonly kind: "modelTurn";
52
+ readonly model?: string;
53
+ readonly requestName?: string;
54
+ readonly inputTokens?: number;
55
+ readonly outputTokens?: number;
56
+ readonly cachedTokens?: number;
57
+ readonly totalTokens?: number;
58
+ readonly copilotUsageNanoAiu?: number;
59
+ readonly durationInMillis?: number;
60
+ }
61
+ /**
62
+ * A generic log event for unstructured or miscellaneous messages.
63
+ */
64
+ export interface IChatDebugGenericEvent extends IChatDebugEventCommon {
65
+ readonly kind: "generic";
66
+ readonly name: string;
67
+ readonly details?: string;
68
+ readonly level: ChatDebugLogLevel;
69
+ readonly category?: string;
70
+ }
71
+ /**
72
+ * A subagent invocation event, representing a spawned sub-agent within a session.
73
+ */
74
+ export interface IChatDebugSubagentInvocationEvent extends IChatDebugEventCommon {
75
+ readonly kind: "subagentInvocation";
76
+ readonly agentName: string;
77
+ readonly description?: string;
78
+ readonly status?: "running" | "completed" | "failed";
79
+ readonly durationInMillis?: number;
80
+ readonly toolCallCount?: number;
81
+ readonly modelTurnCount?: number;
82
+ }
83
+ /**
84
+ * A named section within a user message or agent response.
85
+ */
86
+ export interface IChatDebugMessageSection {
87
+ readonly name: string;
88
+ readonly content: string;
89
+ }
90
+ /**
91
+ * A user message event, representing the full prompt sent by the user.
92
+ */
93
+ export interface IChatDebugUserMessageEvent extends IChatDebugEventCommon {
94
+ readonly kind: "userMessage";
95
+ readonly message: string;
96
+ readonly sections: readonly IChatDebugMessageSection[];
97
+ }
98
+ /**
99
+ * An agent response event, representing the agent's response.
100
+ */
101
+ export interface IChatDebugAgentResponseEvent extends IChatDebugEventCommon {
102
+ readonly kind: "agentResponse";
103
+ readonly message: string;
104
+ readonly sections: readonly IChatDebugMessageSection[];
105
+ }
106
+ /**
107
+ * Union of all internal chat debug event types.
108
+ */
109
+ export type IChatDebugEvent = IChatDebugToolCallEvent | IChatDebugModelTurnEvent | IChatDebugGenericEvent | IChatDebugSubagentInvocationEvent | IChatDebugUserMessageEvent | IChatDebugAgentResponseEvent;
110
+ /**
111
+ * Plain text content for a resolved debug event.
112
+ */
113
+ export interface IChatDebugEventTextContent {
114
+ readonly kind: "text";
115
+ readonly value: string;
116
+ }
117
+ /**
118
+ * The status of a file in a file list content.
119
+ */
120
+ export type ChatDebugFileStatus = "loaded" | "skipped";
121
+ /**
122
+ * A single file entry in a file list content.
123
+ */
124
+ export interface IChatDebugFileEntry {
125
+ readonly uri: URI;
126
+ readonly name?: string;
127
+ readonly status: ChatDebugFileStatus;
128
+ readonly storage?: string;
129
+ readonly extensionId?: string;
130
+ readonly skipReason?: string;
131
+ readonly errorMessage?: string;
132
+ readonly duplicateOf?: URI;
133
+ }
134
+ /**
135
+ * A source folder entry in a file list content.
136
+ */
137
+ export interface IChatDebugSourceFolderEntry {
138
+ readonly uri: URI;
139
+ readonly storage: string;
140
+ }
141
+ /**
142
+ * Structured file list content for a resolved debug event.
143
+ * Contains resolved files and skipped/failed paths for rich rendering.
144
+ */
145
+ export interface IChatDebugEventFileListContent {
146
+ readonly kind: "fileList";
147
+ readonly discoveryType: string;
148
+ readonly durationInMillis: number;
149
+ readonly files: readonly IChatDebugFileEntry[];
150
+ readonly sourceFolders?: readonly IChatDebugSourceFolderEntry[];
151
+ }
152
+ /**
153
+ * Structured message content for a resolved debug event,
154
+ * containing collapsible sections.
155
+ */
156
+ export interface IChatDebugEventMessageContent {
157
+ readonly kind: "message";
158
+ readonly type: "user" | "agent";
159
+ readonly message: string;
160
+ readonly sections: readonly IChatDebugMessageSection[];
161
+ }
162
+ /**
163
+ * Structured tool call content for a resolved debug event.
164
+ * Contains the tool name, status, arguments, and output for rich rendering.
165
+ */
166
+ export interface IChatDebugEventToolCallContent {
167
+ readonly kind: "toolCall";
168
+ readonly toolName: string;
169
+ readonly result?: "success" | "error";
170
+ readonly durationInMillis?: number;
171
+ readonly input?: string;
172
+ readonly output?: string;
173
+ }
174
+ /**
175
+ * Structured model turn content for a resolved debug event.
176
+ * Contains request metadata, token usage, and timing for rich rendering.
177
+ */
178
+ export interface IChatDebugEventModelTurnContent {
179
+ readonly kind: "modelTurn";
180
+ readonly requestName: string;
181
+ readonly model?: string;
182
+ readonly status?: string;
183
+ readonly durationInMillis?: number;
184
+ readonly timeToFirstTokenInMillis?: number;
185
+ readonly requestId?: string;
186
+ readonly maxInputTokens?: number;
187
+ readonly maxOutputTokens?: number;
188
+ readonly inputTokens?: number;
189
+ readonly outputTokens?: number;
190
+ readonly cachedTokens?: number;
191
+ readonly totalTokens?: number;
192
+ readonly requestOptions?: string;
193
+ readonly errorMessage?: string;
194
+ readonly sections?: readonly IChatDebugMessageSection[];
195
+ }
196
+ /**
197
+ * Structured hook execution content for a resolved debug event.
198
+ * Contains the hook type, command, input, output, and result for rich rendering.
199
+ */
200
+ export interface IChatDebugEventHookContent {
201
+ readonly kind: "hook";
202
+ readonly hookType: string;
203
+ readonly command?: string;
204
+ readonly result?: ChatDebugHookResult;
205
+ readonly durationInMillis?: number;
206
+ readonly input?: string;
207
+ readonly output?: string;
208
+ readonly exitCode?: number;
209
+ readonly errorMessage?: string;
210
+ }
211
+ /**
212
+ * A single entry in the customization resolution log.
213
+ */
214
+ export interface IChatDebugCustomizationLogEntry {
215
+ readonly category: "applying" | "skipped" | "referenced" | "skill" | "custom-agent" | "hook";
216
+ readonly name: string;
217
+ readonly uri?: URI;
218
+ readonly reason?: string;
219
+ }
220
+ /**
221
+ * Structured customization summary content for a resolved debug event.
222
+ * Contains per-file resolution logs showing how applyTo patterns, agent
223
+ * instructions, and referenced files were resolved by the instructions
224
+ * context computer.
225
+ */
226
+ export interface IChatDebugEventCustomizationSummaryContent {
227
+ readonly kind: "customizationSummary";
228
+ /** Per-file resolution detail entries. */
229
+ readonly resolutionLogs: readonly IChatDebugCustomizationLogEntry[];
230
+ /** Total wall-clock time of the collect() call in milliseconds. */
231
+ readonly durationInMillis: number;
232
+ /** Counts by type for the summary header. */
233
+ readonly counts: {
234
+ readonly instructions: number;
235
+ readonly skills: number;
236
+ readonly agents: number;
237
+ readonly hooks: number;
238
+ readonly skipped: number;
239
+ };
240
+ }
241
+ /**
242
+ * Union of all resolved event content types.
243
+ */
244
+ export type IChatDebugResolvedEventContent = IChatDebugEventTextContent | IChatDebugEventFileListContent | IChatDebugEventMessageContent | IChatDebugEventToolCallContent | IChatDebugEventModelTurnContent | IChatDebugEventHookContent | IChatDebugEventCustomizationSummaryContent;
245
+ /**
246
+ * Provider interface for debug events.
247
+ */
248
+ export interface IChatDebugLogProvider {
249
+ provideChatDebugLog(sessionResource: URI, token: CancellationToken): Promise<IChatDebugEvent[] | undefined>;
250
+ resolveChatDebugLogEvent?(eventId: string, token: CancellationToken): Promise<IChatDebugResolvedEventContent | undefined>;
251
+ provideChatDebugLogExport?(sessionResource: URI, token: CancellationToken): Promise<Uint8Array | undefined>;
252
+ resolveChatDebugLogImport?(data: Uint8Array, token: CancellationToken): Promise<URI | undefined>;
253
+ }
@@ -0,0 +1,20 @@
1
+
2
+ import { RawContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
3
+
4
+ const CHAT_DEBUG_HAS_ACTIVE_SESSION = ( new RawContextKey("chatDebug.hasActiveSession", false));
5
+ const CHAT_DEBUG_ACTIVE_SESSION_IS_AGENT_HOST = ( new RawContextKey("chatDebug.activeSessionIsAgentHost", false));
6
+ var ChatDebugLogLevel;
7
+ (function(ChatDebugLogLevel) {
8
+ ChatDebugLogLevel[ChatDebugLogLevel["Trace"] = 0] = "Trace";
9
+ ChatDebugLogLevel[ChatDebugLogLevel["Info"] = 1] = "Info";
10
+ ChatDebugLogLevel[ChatDebugLogLevel["Warning"] = 2] = "Warning";
11
+ ChatDebugLogLevel[ChatDebugLogLevel["Error"] = 3] = "Error";
12
+ })(ChatDebugLogLevel || (ChatDebugLogLevel = {}));
13
+ var ChatDebugHookResult;
14
+ (function(ChatDebugHookResult) {
15
+ ChatDebugHookResult[ChatDebugHookResult["Success"] = 0] = "Success";
16
+ ChatDebugHookResult[ChatDebugHookResult["Error"] = 1] = "Error";
17
+ ChatDebugHookResult[ChatDebugHookResult["NonBlockingError"] = 2] = "NonBlockingError";
18
+ })(ChatDebugHookResult || (ChatDebugHookResult = {}));
19
+
20
+ export { CHAT_DEBUG_ACTIVE_SESSION_IS_AGENT_HOST, CHAT_DEBUG_HAS_ACTIVE_SESSION, ChatDebugHookResult, ChatDebugLogLevel };
@@ -2,7 +2,7 @@ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/c
2
2
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
3
3
  import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
4
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
5
- import { ChatDebugLogLevel, IChatDebugEvent, IChatDebugLogProvider, IChatDebugResolvedEventContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService";
5
+ import { ChatDebugLogLevel, IChatDebugEvent, IChatDebugLogProvider, IChatDebugResolvedEventContent } from "./chatDebugService.js";
6
6
  import { IChatDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService.service";
7
7
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
8
8
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
@@ -7,7 +7,7 @@ import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/c
7
7
  import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
8
8
  import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
9
9
  import { extUri } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
10
- import { CHAT_DEBUG_HAS_ACTIVE_SESSION, CHAT_DEBUG_ACTIVE_SESSION_IS_AGENT_HOST, ChatDebugLogLevel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService';
10
+ import { CHAT_DEBUG_HAS_ACTIVE_SESSION, CHAT_DEBUG_ACTIVE_SESSION_IS_AGENT_HOST, ChatDebugLogLevel } from './chatDebugService.js';
11
11
  import { isAgentHostTarget, localChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
12
12
  import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
13
13
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
@@ -40,7 +40,7 @@ import { chatEditingSessionIsReady } from '@codingame/monaco-vscode-api/vscode/v
40
40
  import { logChangesToStateModel, normalizeSerializableChatData, ChatModel, getRestoredChatRequestSource, ChatRequestModel, ChatRequestRemovalReason, updateRanges, toChatHistoryContent } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
41
41
  import { ChatModelStore } from '../model/chatModelStore.js';
42
42
  import { ChatRequestTextPart, ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestSlashCommandPart, getPromptText, chatSubcommandLeader, chatAgentLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
43
- import { ChatRequestParser } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
43
+ import { ChatRequestParser } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
44
44
  import { ChatPendingRequestChangeEventName, ChatRequestQueueKind, ChatMcpServersStarting, ChatStopCancellationNoopEventName, ResponseModelState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
45
45
  import { ChatServiceTelemetry, ChatRequestTelemetry } from './chatServiceTelemetry.js';
46
46
  import { isAgentHostTarget, localChatSessionType, isTerminalCommandPrompt } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
@@ -60,7 +60,7 @@ import { ChatSessionOperationLog } from '../model/chatSessionOperationLog.js';
60
60
  import { IPromptsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service';
61
61
  import { AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING, TROUBLESHOOT_COMMAND_NAME, COPILOT_SKILL_URI_SCHEME, TROUBLESHOOT_SKILL_PATH } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
62
62
  import { mergeHooks } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookSchema';
63
- import { ComputeAutomaticInstructions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions';
63
+ import { ComputeAutomaticInstructions } from '../promptSyntax/computeAutomaticInstructions.js';
64
64
  import { CustomizationMigrationHintTarget } from '../promptSyntax/service/customizationMigrationService.js';
65
65
  import { findLast } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arraysFind';
66
66
  import { ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';