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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/index.d.ts +1 -0
  2. package/index.js +103 -10
  3. package/package.json +5 -5
  4. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +10 -3
  5. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +54 -17
  6. package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.d.ts +14 -0
  7. package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.js +46 -0
  8. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +7 -2
  9. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +34 -2
  10. package/vscode/src/vs/platform/agentHost/browser/{remoteAgentHostProtocolClient.d.ts → agentHostProtocolClient.d.ts} +240 -60
  11. package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.js +1911 -0
  12. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +30 -33
  13. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +381 -315
  14. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +3 -1
  15. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +2 -0
  16. package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.d.ts +9 -0
  17. package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.js +20 -0
  18. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +74 -0
  19. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +90 -0
  20. package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.d.ts +144 -0
  21. package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.js +20 -0
  22. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.d.ts +14 -6
  23. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +14 -10
  24. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +1 -1
  25. package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.d.ts +47 -0
  26. package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.js +75 -0
  27. package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.d.ts +68 -0
  28. package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.js +161 -0
  29. package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.d.ts +8 -0
  30. package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.js +16 -0
  31. package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +288 -45
  32. package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.d.ts +16 -0
  33. package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.js +14 -0
  34. package/vscode/src/vs/platform/agentHost/common/agentMerge.d.ts +261 -0
  35. package/vscode/src/vs/platform/agentHost/common/agentMerge.js +67 -0
  36. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +24 -0
  37. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +13 -0
  38. package/vscode/src/vs/platform/agentHost/common/agentModelNotices.d.ts +22 -0
  39. package/vscode/src/vs/platform/agentHost/common/agentModelNotices.js +21 -0
  40. package/vscode/src/vs/platform/agentHost/common/agentModelPricing.d.ts +114 -0
  41. package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +56 -0
  42. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.d.ts +53 -0
  43. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.js +45 -0
  44. package/vscode/src/vs/platform/agentHost/common/changesetUri.d.ts +130 -0
  45. package/vscode/src/vs/platform/agentHost/common/changesetUri.js +41 -0
  46. package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.d.ts +73 -0
  47. package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +141 -0
  48. package/vscode/src/vs/platform/agentHost/common/customAgents.d.ts +8 -2
  49. package/vscode/src/vs/platform/agentHost/common/customAgents.js +7 -0
  50. package/vscode/src/vs/platform/agentHost/common/meta/agentChatSurfaceMeta.d.ts +39 -0
  51. package/vscode/src/vs/platform/agentHost/common/meta/agentChatSurfaceMeta.js +25 -0
  52. package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.d.ts +110 -0
  53. package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.js +79 -0
  54. package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.d.ts +27 -0
  55. package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.js +14 -0
  56. package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.d.ts +14 -0
  57. package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.js +11 -0
  58. package/vscode/src/vs/platform/agentHost/common/meta/agentHostArtifactRemovalMeta.d.ts +4 -0
  59. package/vscode/src/vs/platform/agentHost/common/meta/clientPluginCustomizationMeta.d.ts +7 -0
  60. package/vscode/src/vs/platform/agentHost/common/meta/clientPluginCustomizationMeta.js +14 -0
  61. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +3 -3
  62. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +16 -24
  63. package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.d.ts +8 -0
  64. package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.js +8 -0
  65. package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.d.ts +75 -0
  66. package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.js +84 -0
  67. package/vscode/src/vs/platform/agentHost/common/shellInitScript.d.ts +24 -0
  68. package/vscode/src/vs/platform/agentHost/common/shellInitScript.js +63 -0
  69. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +71 -20
  70. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +187 -26
  71. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.js +2 -2
  72. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.d.ts +4 -0
  73. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.js +37 -0
  74. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.d.ts +4 -0
  75. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.js +45 -0
  76. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.d.ts +5 -4
  77. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.js +100 -35
  78. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.js +193 -49
  79. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.js +161 -40
  80. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.d.ts +1 -1
  81. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.js +5 -1
  82. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/reducer-helpers.d.ts +2 -2
  83. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.d.ts +1 -0
  84. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.js +7 -0
  85. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.d.ts +1 -1
  86. package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.js +114 -3
  87. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +28 -5
  88. package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +7 -2
  89. package/vscode/src/vs/platform/agentHost/common/state/sessionWorkingDirectories.d.ts +34 -0
  90. package/vscode/src/vs/platform/agentHost/common/state/sessionWorkingDirectories.js +28 -0
  91. package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.d.ts +4 -0
  92. package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.js +6 -0
  93. package/vscode/src/vs/platform/agentHost/common/worktreePaths.d.ts +24 -0
  94. package/vscode/src/vs/platform/agentHost/common/worktreePaths.js +15 -0
  95. package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.d.ts +1 -1
  96. package/vscode/src/vs/platform/chat/common/aiAgentEnv.d.ts +18 -0
  97. package/vscode/src/vs/platform/chat/common/aiAgentEnv.js +6 -0
  98. package/vscode/src/vs/platform/networkFilter/common/domainMatcher.d.ts +5 -1
  99. package/vscode/src/vs/platform/networkFilter/common/domainMatcher.js +77 -5
  100. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +1 -1
  101. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +9 -5
  102. package/vscode/src/vs/platform/networkFilter/common/settings.d.ts +1 -5
  103. package/vscode/src/vs/platform/networkFilter/common/settings.js +0 -4
  104. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +19 -7
  105. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +49 -37
  106. package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.d.ts +2 -1
  107. package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.js +12 -0
  108. package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.js +1 -2
  109. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +1 -0
  110. package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveParseSafety.d.ts +5 -0
  111. package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveParseSafety.js +7 -0
  112. package/vscode/src/vs/platform/terminal/common/autoApprove/cmdDelayedExpansion.d.ts +5 -0
  113. package/vscode/src/vs/platform/terminal/common/autoApprove/cmdDelayedExpansion.js +8 -0
  114. package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers → platform/terminal/common/autoApprove}/sedFileWriteParser.d.ts +1 -2
  115. package/vscode/src/vs/workbench/browser/chatChangesPill.d.ts +29 -0
  116. package/vscode/src/vs/workbench/browser/chatChangesPill.js +84 -0
  117. package/vscode/src/vs/workbench/common/chatPullRequest.d.ts +19 -0
  118. package/vscode/src/vs/workbench/common/chatPullRequest.js +53 -0
  119. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +342 -155
  120. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
  121. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.d.ts +25 -2
  122. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +150 -67
  123. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +5 -3
  124. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.d.ts +5 -1
  125. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js +39 -9
  126. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.d.ts +1 -1
  127. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
  128. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
  129. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.d.ts +4 -2
  130. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +54 -17
  131. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
  132. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.d.ts +1 -1
  133. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
  134. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.d.ts +1 -1
  135. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
  136. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.d.ts +6 -0
  137. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.js +5 -1
  138. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.d.ts +1 -1
  139. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.d.ts +1 -1
  140. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
  141. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/media/voiceModeOnboarding.css +252 -0
  142. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
  143. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
  144. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.d.ts +146 -0
  145. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +889 -0
  146. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +2 -2
  147. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +2 -7
  148. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +3 -54
  149. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +32 -3
  150. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +214 -161
  151. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +10 -9
  152. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +2 -1
  153. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +256 -72
  154. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +2 -1
  156. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +11 -12
  157. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +19 -15
  158. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +30 -14
  159. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +19 -10
  160. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +9 -9
  161. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  162. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.d.ts +6 -0
  163. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +237 -0
  164. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -6
  165. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  166. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +10 -10
  167. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.d.ts +6 -0
  168. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +68 -61
  169. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +17 -21
  170. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +17 -21
  171. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  172. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.d.ts +5 -0
  173. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +68 -14
  174. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
  175. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +21 -19
  176. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.d.ts +7 -2
  177. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +222 -72
  178. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.d.ts +64 -17
  179. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +530 -305
  180. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.d.ts +25 -0
  181. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +63 -0
  182. package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.d.ts +30 -0
  183. package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.js +37 -0
  184. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.d.ts +6 -0
  185. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +95 -0
  186. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +10 -6
  187. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  188. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +2 -1
  189. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +18 -1
  190. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +86 -47
  191. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +61 -47
  192. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.d.ts +34 -0
  193. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.js +229 -0
  194. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +57 -0
  195. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +460 -0
  196. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +92 -0
  197. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +43 -24
  198. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +326 -76
  199. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.d.ts +23 -0
  200. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.js +46 -0
  201. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +142 -0
  202. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +746 -0
  203. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +77 -0
  204. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +474 -0
  205. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.d.ts +169 -0
  206. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.js +261 -0
  207. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +20 -0
  208. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +90 -0
  209. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +112 -5
  210. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +33 -7
  211. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.d.ts +35 -0
  212. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.js +73 -0
  213. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.d.ts +20 -0
  214. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.js +61 -0
  215. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.d.ts +20 -0
  216. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.js +26 -0
  217. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +112 -0
  218. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +192 -0
  219. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +28 -10
  220. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +110 -126
  221. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +131 -0
  222. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +638 -0
  223. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +41 -0
  224. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +202 -0
  225. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.d.ts +24 -1
  226. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +26 -5
  227. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +10 -7
  228. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.d.ts +21 -0
  229. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +137 -0
  230. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.d.ts +20 -0
  231. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.js +55 -0
  232. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +62 -0
  233. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +329 -0
  234. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +84 -0
  235. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +96 -0
  236. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +884 -0
  237. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +5868 -0
  238. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +59 -0
  239. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +624 -0
  240. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.d.ts +27 -0
  241. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +129 -0
  242. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +42 -0
  243. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +221 -0
  244. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +125 -0
  245. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +345 -0
  246. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.d.ts +90 -0
  247. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +207 -0
  248. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +68 -0
  249. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.d.ts +62 -0
  250. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +163 -0
  251. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.d.ts +31 -0
  252. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.js +140 -0
  253. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.d.ts +54 -0
  254. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +219 -0
  255. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.d.ts +10 -0
  256. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.js +50 -0
  257. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.d.ts +42 -0
  258. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +132 -0
  259. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.d.ts +4 -0
  260. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.js +5 -1
  261. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +5 -4
  262. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +74 -5
  263. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +511 -171
  264. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.d.ts +1 -0
  265. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +85 -0
  266. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.d.ts +79 -0
  267. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +161 -0
  268. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +32 -0
  269. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +48 -0
  270. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +18 -0
  271. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +13 -0
  272. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +28 -0
  273. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +71 -0
  274. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +35 -0
  275. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +205 -0
  276. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +55 -6
  277. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +210 -20
  278. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +43 -24
  279. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +46 -10
  280. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +216 -110
  281. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +9 -4
  282. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +26 -17
  283. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  284. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  285. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  286. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  287. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +30 -26
  288. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/agenttitlebarstatuswidget.css +5 -2
  289. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/media/unifiedQuickAccess.css +6 -6
  290. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  291. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  292. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.d.ts +3 -0
  293. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.js +62 -0
  294. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/sessionSummaryHover.css +104 -0
  295. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.d.ts +115 -0
  296. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.js +168 -0
  297. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.d.ts +24 -0
  298. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.js +32 -0
  299. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.d.ts +1 -0
  300. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +56 -0
  301. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.d.ts +0 -4
  302. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +16 -17
  303. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +7 -3
  304. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +1 -0
  305. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.d.ts +2 -0
  306. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +10 -1
  307. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +48 -1
  308. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +913 -220
  309. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.d.ts +1 -1
  310. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +148 -84
  311. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +161 -17
  312. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +2367 -247
  313. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.d.ts +5 -2
  314. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +21 -13
  315. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.d.ts +26 -0
  316. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.js +34 -0
  317. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.d.ts +2 -0
  318. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.js +23 -0
  319. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.d.ts +15 -0
  320. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.js +3 -0
  321. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.d.ts +10 -2
  322. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +143 -68
  323. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +1 -0
  324. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +10 -5
  325. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.d.ts +40 -0
  326. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +302 -0
  327. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.d.ts +1 -2
  328. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +49 -8
  329. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.js +3 -3
  330. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.d.ts +38 -0
  331. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.js +240 -0
  332. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.d.ts +1 -0
  333. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +53 -0
  334. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.d.ts +82 -0
  335. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +762 -0
  336. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.d.ts +80 -0
  337. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.js +279 -0
  338. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +44 -0
  339. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +437 -0
  340. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.d.ts +85 -6
  341. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +697 -15
  342. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +7 -7
  343. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.d.ts +40 -10
  344. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +164 -42
  345. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +6 -9
  346. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +260 -31
  347. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +2097 -589
  348. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +32 -0
  349. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +860 -0
  350. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +2229 -1338
  351. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +79 -26
  352. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/customizationMigrationDashboard.css +354 -0
  353. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +85 -9
  354. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +1550 -357
  355. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +2 -4
  356. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +13 -27
  357. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.d.ts +38 -26
  358. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +637 -319
  359. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +28 -10
  360. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatPasteTargetService.d.ts +10 -0
  361. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatPasteTargetService.js +22 -0
  362. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.d.ts +15 -0
  363. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.js +38 -0
  364. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/transcriptContextAttachmentWidget.contribution.d.ts +8 -0
  365. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/transcriptContextAttachmentWidget.contribution.js +38 -0
  366. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +4 -1
  367. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +1675 -633
  368. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +93 -6
  369. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +823 -52
  370. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.d.ts +132 -0
  371. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +446 -0
  372. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostUsageSidecar.d.ts +183 -0
  373. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostUsageSidecar.js +218 -0
  374. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +45 -42
  375. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.d.ts +11 -0
  376. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +163 -136
  377. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
  378. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +7 -7
  379. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.d.ts +22 -2
  380. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +105 -14
  381. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  382. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.d.ts +32 -0
  383. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +49 -0
  384. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
  385. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  386. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  387. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  388. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +27 -22
  389. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.d.ts +6 -0
  390. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +22 -23
  391. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  392. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +25 -25
  393. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  394. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  395. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.d.ts +7 -2
  396. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +76 -43
  397. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  398. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugTypes.d.ts +3 -2
  399. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugTypes.js +1 -0
  400. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +145 -0
  401. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +839 -0
  402. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/media/chatDebug.css +277 -3
  403. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  404. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +6 -6
  405. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
  406. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +8 -8
  407. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
  408. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +16 -16
  409. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -4
  410. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
  411. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +8 -4
  412. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
  413. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +6 -3
  414. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +35 -19
  415. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +16 -9
  416. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +4 -3
  417. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +4 -4
  418. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +4 -0
  419. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +7 -2
  420. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  421. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/notebookCellChanges.d.ts +5 -5
  422. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +3 -3
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.d.ts +86 -0
  424. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.js +282 -0
  425. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +14 -10
  426. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
  427. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +5 -0
  428. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +37 -25
  429. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +7 -5
  430. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +135 -82
  431. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -3
  432. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutlineCreator.d.ts +17 -0
  433. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutlineCreator.js +28 -0
  434. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +5 -5
  435. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +32 -32
  436. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.d.ts +7 -0
  437. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.js +114 -0
  438. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.d.ts +45 -0
  439. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +326 -0
  440. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.d.ts +33 -0
  441. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +99 -0
  442. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.d.ts +17 -0
  443. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +46 -0
  444. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.d.ts +27 -0
  445. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +301 -0
  446. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.d.ts +22 -0
  447. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +103 -0
  448. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.d.ts +9 -36
  449. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +103 -196
  450. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  451. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +35 -29
  452. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +2 -0
  453. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +51 -12
  454. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  455. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +31 -27
  456. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +65 -20
  457. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +291 -138
  458. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/chatSetup.css +9 -0
  459. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/microsoft-dark.svg +1 -0
  460. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/media/microsoft-light.svg +1 -0
  461. package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChat.d.ts +9 -0
  462. package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChat.js +24 -0
  463. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +2 -1
  464. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +59 -35
  465. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +7 -2
  466. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +221 -145
  467. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +15 -29
  468. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +21 -3
  469. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.d.ts +22 -0
  470. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.js +27 -0
  471. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.d.ts +9 -0
  472. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +23 -21
  473. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +6 -1
  474. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +62 -6
  475. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.d.ts +15 -1
  476. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +97 -8
  477. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
  478. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +6 -6
  479. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.d.ts +11 -2
  480. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.js +24 -16
  481. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
  482. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  483. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.d.ts +44 -0
  484. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.js +232 -0
  485. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.d.ts +36 -0
  486. package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.js +127 -0
  487. package/vscode/src/vs/workbench/contrib/chat/browser/exploreAgentDefaultModel.js +1 -1
  488. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.d.ts +18 -0
  489. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.js +55 -0
  490. package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.js +4 -3
  491. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
  492. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +236 -0
  493. package/vscode/src/vs/workbench/contrib/chat/browser/planAgentDefaultModel.js +1 -1
  494. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.d.ts +9 -0
  495. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +260 -0
  496. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.d.ts +39 -5
  497. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.js +155 -56
  498. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.d.ts +10 -14
  499. package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.js +29 -14
  500. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +2 -0
  501. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +76 -24
  502. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
  503. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +53 -32
  504. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +1 -1
  505. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +17 -17
  506. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +8 -7
  507. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.d.ts +1 -1
  508. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +29 -71
  509. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.d.ts +3 -0
  510. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +36 -40
  511. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.d.ts +3 -0
  512. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +5 -5
  513. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  514. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
  515. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
  516. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  517. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +9 -16
  518. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  519. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +5 -13
  520. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/media/promptTimeline.css +820 -0
  521. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptBucketing.d.ts +38 -0
  522. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptBucketing.js +100 -0
  523. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.d.ts +1 -0
  524. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +51 -0
  525. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.d.ts +30 -0
  526. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +113 -0
  527. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.d.ts +146 -0
  528. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +440 -0
  529. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineLayout.d.ts +16 -0
  530. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineLayout.js +5 -0
  531. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.d.ts +194 -0
  532. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +525 -0
  533. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRail.d.ts +33 -0
  534. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.d.ts +128 -0
  535. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +460 -0
  536. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.d.ts +38 -0
  537. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +120 -0
  538. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineWidgetContrib.d.ts +53 -0
  539. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineWidgetContrib.js +160 -0
  540. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +25 -22
  541. package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.d.ts +13 -0
  542. package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.js +52 -0
  543. package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.d.ts +22 -0
  544. package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.js +58 -0
  545. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.d.ts +63 -0
  546. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.js +361 -0
  547. package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatEditorTopologyTelemetry.d.ts +35 -0
  548. package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatEditorTopologyTelemetry.js +90 -0
  549. package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +25 -18
  550. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.d.ts +3 -1
  551. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +77 -41
  552. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +60 -43
  553. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.d.ts +4 -1
  554. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +60 -16
  555. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +10 -8
  556. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +13 -4
  557. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.d.ts +3 -1
  558. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +44 -24
  559. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +4 -4
  560. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  561. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.d.ts +52 -6
  562. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.js +446 -79
  563. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.d.ts +11 -0
  564. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.js +13 -0
  565. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.d.ts +66 -0
  566. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +297 -0
  567. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.d.ts +137 -0
  568. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +714 -0
  569. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentOpenChat.css +379 -0
  570. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.d.ts +10 -0
  571. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +78 -0
  572. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.d.ts +36 -0
  573. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.js +172 -0
  574. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.d.ts +5 -1
  575. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +8 -1
  576. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.d.ts +15 -0
  577. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.js +30 -0
  578. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.d.ts +11 -1
  579. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +41 -13
  580. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.d.ts +5 -2
  581. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +133 -3
  582. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.d.ts +3 -2
  583. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.js +11 -2
  584. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatEditorInputContentProvider.js +4 -4
  585. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.d.ts +1 -0
  586. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +96 -0
  587. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.d.ts +12 -0
  588. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.js +36 -1
  589. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +67 -17
  590. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +23 -37
  591. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.d.ts +18 -0
  592. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +72 -3
  593. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.d.ts +11 -0
  594. package/vscode/src/vs/workbench/contrib/{agentsVoice/common/agentsVoiceColors.js → chat/browser/widget/input/editor/chatInputPlaceholderDecoration.js} +17 -15
  595. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.d.ts +3 -0
  596. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.js +16 -0
  597. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +2 -2
  598. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.d.ts +6 -4
  599. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +21 -13
  600. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +48 -8
  601. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +457 -142
  602. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +1 -1
  603. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +22 -14
  604. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +6 -22
  605. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.d.ts +22 -0
  606. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.js +163 -0
  607. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +27 -5
  608. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +79 -32
  609. package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.d.ts +6 -0
  610. package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.js +12 -0
  611. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +44 -11
  612. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +404 -51
  613. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +64 -4
  614. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +33 -2
  615. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.d.ts +68 -0
  616. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.js +70 -0
  617. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +5 -2
  618. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +18 -5
  619. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +43 -14
  620. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.d.ts +4 -0
  621. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +4 -9
  622. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +164 -71
  623. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.d.ts +1 -1
  624. package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js +1 -1
  625. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
  626. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
  627. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
  628. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +12 -12
  629. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.d.ts +3 -1
  630. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +19 -10
  631. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +3 -1
  632. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +172 -159
  633. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.d.ts +115 -0
  634. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.js +69 -0
  635. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.d.ts +60 -0
  636. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.js +139 -0
  637. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  638. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.d.ts +5 -0
  639. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.js +21 -1
  640. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +25 -2
  641. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +55 -18
  642. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
  643. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +10 -10
  644. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
  645. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +1 -0
  646. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
  647. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  648. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.d.ts +59 -0
  649. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +323 -0
  650. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.d.ts +30 -0
  651. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.js +79 -0
  652. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +6 -2
  653. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +118 -13
  654. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  655. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  656. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
  657. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
  658. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  659. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +8 -8
  660. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +1 -0
  661. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.d.ts +81 -0
  662. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +85 -0
  663. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +17 -17
  664. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +1 -1
  665. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +23 -23
  666. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +1 -1
  667. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +17 -3
  668. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +81 -7
  669. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.d.ts +30 -0
  670. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.js +86 -0
  671. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +10 -2
  672. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +97 -18
  673. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +2 -22
  674. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +10 -8
  675. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/largeOutputFileWriter.js +2 -1
  676. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +2 -0
  677. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +42 -36
  678. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +8 -0
  679. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +10 -0
  680. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -4
  681. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +2 -1
  682. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  683. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +25 -16
  684. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +4 -3
  685. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/consoleCompactor/consoleCompactor.d.ts +70 -0
  686. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/consoleCompactor/consoleCompactor.js +4316 -0
  687. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  688. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
  689. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  690. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  691. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +4 -4
  692. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
  693. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
  694. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +6 -1
  695. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +188 -148
  696. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
  697. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
  698. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
  699. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
  700. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  701. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +7 -0
  702. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +82 -3
  703. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.d.ts +5 -6
  704. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +5 -42
  705. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalOutput.d.ts +2 -0
  706. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalOutput.js +8 -0
  707. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -0
  708. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +27 -8
  709. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.d.ts +30 -0
  710. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +175 -0
  711. package/vscode/src/vs/workbench/services/agentEditorComments/browser/media/agentEditorCommentsOverlayWidget.css +65 -0
  712. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.d.ts +47 -0
  713. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.js +129 -0
  714. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +26 -8
  715. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +89 -27
  716. package/vscode/src/vs/workbench/services/agentHost/browser/webAgentHostEnablementService.d.ts +8 -0
  717. package/vscode/src/vs/workbench/services/agentHost/browser/webAgentHostEnablementService.js +28 -0
  718. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +5 -1
  719. package/vscode/src/vs/workbench/services/agentHost/common/agentHostResourceService.d.ts +18 -18
  720. package/vscode/src/vs/workbench/services/agentHost/common/agentHostResourceService.js +159 -60
  721. package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.d.ts +47 -0
  722. package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.js +362 -0
  723. package/vscode/src/vs/platform/agentHost/browser/agentHost.config.contribution.js +0 -40
  724. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +0 -1110
  725. package/vscode/src/vs/platform/agentHost/common/agentHost.config.contribution.js +0 -76
  726. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.d.ts +0 -63
  727. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.js +0 -25
  728. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +0 -254
  729. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +0 -451
  730. package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +0 -1294
  731. package/vscode/src/vs/platform/agentHost/common/agentService.js +0 -92
  732. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.d.ts +0 -186
  733. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.js +0 -10
  734. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.d.ts +0 -42
  735. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.js +0 -7
  736. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.d.ts +0 -15
  737. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +0 -15
  738. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.d.ts +0 -2
  739. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.d.ts +0 -19
  740. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +0 -243
  741. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.d.ts +0 -24
  742. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.js +0 -77
  743. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +0 -92
  744. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +0 -224
  745. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.d.ts +0 -23
  746. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.js +0 -52
  747. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.d.ts +0 -16
  748. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +0 -96
  749. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentDisabledInputTipContribution.d.ts +0 -27
  750. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentDisabledInputTipContribution.js +0 -152
  751. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.d.ts +0 -87
  752. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.js +0 -772
  753. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.d.ts +0 -30
  754. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.js +0 -29
  755. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.d.ts +0 -20
  756. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +0 -40
  757. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/media/planReviewFeedback.css +0 -160
  758. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.d.ts +0 -9
  759. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.js +0 -123
  760. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.d.ts +0 -37
  761. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.js +0 -572
  762. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.d.ts +0 -125
  763. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +0 -399
  764. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.d.ts +0 -321
  765. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.js +0 -2117
  766. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.d.ts +0 -57
  767. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.js +0 -367
  768. package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.d.ts +0 -78
  769. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.d.ts +0 -13
  770. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.d.ts +0 -11
  771. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.js +0 -6
  772. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.d.ts +0 -16
  773. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.js +0 -6
  774. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.d.ts +0 -46
  775. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.d.ts +0 -36
  776. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.js +0 -6
  777. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.d.ts +0 -12
  778. package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.js +0 -6
  779. package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.d.ts +0 -9
  780. package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.js +0 -6
  781. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +0 -15
  782. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +0 -177
  783. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +0 -67
  784. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +0 -195
  785. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +0 -65
  786. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +0 -264
  787. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +0 -190
  788. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +0 -865
  789. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +0 -31
  790. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +0 -122
  791. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +0 -24
  792. /package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers → platform/terminal/common/autoApprove}/sedFileWriteParser.js +0 -0
  793. /package/vscode/src/vs/{platform/agentHost/browser/agentHost.config.contribution.d.ts → workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.d.ts} +0 -0
  794. /package/vscode/src/vs/{platform/agentHost/common/agentHost.config.contribution.d.ts → workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.d.ts} +0 -0
@@ -1,11 +1,17 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
2
3
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
3
4
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
- import { type Customization, type RootConfigState } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
5
- import { AgentCustomization } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState";
5
+ import { IAgentHostResourceUriMapper } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri";
6
+ import { IAgentHostConnectionsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostConnectionsService.service";
7
+ import { CustomizationEnablementKind, McpServerCustomization, type Customization, type CustomizationEnablement, type PluginCustomization, type RootConfigState } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
8
+ import { AgentCustomization, type ISessionFolderPickerDecision } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState";
6
9
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
7
10
  import { IMcpServerConfiguration } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpPlatformTypes";
8
11
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
12
+ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service";
13
+ import { IAgentHostUntitledProvisionalSessionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service";
14
+ import { IAgentHostActiveClientService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service";
9
15
  import { IAgentHostMcpServer } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostMcpServer";
10
16
  import { IAgentHostCustomizationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service";
11
17
  export declare class NullAgentHostCustomizationService implements IAgentHostCustomizationService {
@@ -14,22 +20,34 @@ export declare class NullAgentHostCustomizationService implements IAgentHostCust
14
20
  readonly onDidChangeCustomizations: Event<any>;
15
21
  getCustomAgents(_sessionResource: URI): readonly AgentCustomization[];
16
22
  getCustomizations(_sessionResource: URI): readonly Customization[];
23
+ whenCustomizationsReady(_sessionResource: URI, _token?: CancellationToken): Promise<void>;
24
+ getFolderPickerDecision(_sessionResource: URI): ISessionFolderPickerDecision | undefined;
17
25
  getWorkingDirectory(sessionResource: URI): string | undefined;
26
+ getWorkingDirectories(_sessionResource: URI): readonly string[];
27
+ getClientWorkingDirectoryUris(_sessionResource: URI): readonly URI[];
18
28
  getMcpServers(_sessionResource: URI): readonly IAgentHostMcpServer[];
19
29
  addMcpServer(_sessionResource: URI, _name: string, _config: IMcpServerConfiguration): void;
20
30
  authenticateMcpServer(_sessionResource: URI, _serverId: string): Promise<boolean>;
31
+ setCustomizationEnablement(_sessionResource: URI, _customizationId: string, _currentEnablement: readonly CustomizationEnablement[] | undefined, _kind: CustomizationEnablementKind, _enabled: boolean): void;
32
+ showMcpServerLog(_sessionResource: URI, _serverId: string, beforeShow?: () => Promise<void>): Promise<void>;
21
33
  }
22
34
  export interface IAgentHostCustomizationTarget {
23
35
  readonly customizations: readonly Customization[];
36
+ readonly resourceUris: IAgentHostResourceUriMapper;
37
+ readonly folderPickerDecision?: ISessionFolderPickerDecision;
24
38
  readonly workingDirectory?: string;
25
- readonly logOutputChannelId?: string;
39
+ /** Host-side URI strings, also used in protocol enablement decisions. */
40
+ readonly workingDirectories?: readonly string[];
26
41
  readonly rootConfig?: RootConfigState;
42
+ isBundledMcpServer(pluginUri: string, serverName: string): boolean;
27
43
  authenticate(request: {
28
44
  resource: string;
29
45
  scopes?: readonly string[];
30
46
  token: string;
31
47
  }): Promise<unknown>;
32
- setCustomizationEnabled(rawId: string, enabled: boolean): void;
48
+ setCustomizationEnablement(rawId: string, enablement: readonly CustomizationEnablement[]): void;
49
+ startMcpServer(rawId: string): Promise<void>;
50
+ stopMcpServer(rawId: string): Promise<void>;
33
51
  setRootConfigValue(property: string, value: unknown): void;
34
52
  }
35
53
  export declare abstract class AbstractAgentHostCustomizationService extends Disposable implements IAgentHostCustomizationService {
@@ -40,18 +58,107 @@ export declare abstract class AbstractAgentHostCustomizationService extends Disp
40
58
  private readonly _onDidChangeCustomizations;
41
59
  readonly onDidChangeCustomAgents: Event<void>;
42
60
  readonly onDidChangeCustomizations: Event<void>;
61
+ private readonly _mcpLogRegistry;
62
+ /**
63
+ * Sessions whose MCP diagnostics we mirror into per-server Output channels.
64
+ * A session is tracked once the user reveals a server's output; from then
65
+ * on every state change is recorded via {@link onDidChangeCustomizations},
66
+ * so subsequent failures and recoveries land in the channel history.
67
+ */
68
+ private readonly _mcpDiagnosticSessions;
43
69
  protected constructor(_instantiationService: IInstantiationService, _logService: ILogService);
44
70
  protected abstract _resolveTarget(sessionResource: URI): IAgentHostCustomizationTarget | undefined;
45
71
  getCustomAgents(sessionResource: URI): readonly AgentCustomization[];
46
72
  getCustomizations(sessionResource: URI): readonly Customization[];
73
+ /**
74
+ * Targets resolved by this base are backed by already-materialized provider
75
+ * state, so a snapshot is available as soon as the target resolves.
76
+ */
77
+ whenCustomizationsReady(_sessionResource: URI, _token?: CancellationToken): Promise<void>;
78
+ getFolderPickerDecision(sessionResource: URI): ISessionFolderPickerDecision | undefined;
47
79
  getWorkingDirectory(sessionResource: URI): string | undefined;
80
+ getWorkingDirectories(sessionResource: URI): readonly string[];
81
+ getClientWorkingDirectoryUris(sessionResource: URI): readonly URI[];
48
82
  getMcpServers(sessionResource: URI): readonly IAgentHostMcpServer[];
83
+ showMcpServerLog(sessionResource: URI, serverId: string, beforeShow?: () => Promise<void>): Promise<void>;
84
+ /**
85
+ * Registers `sessionResource` for MCP diagnostics mirroring and records the
86
+ * currently-observed state of each of its servers. Idempotent: registering
87
+ * an already-tracked session simply re-records (dedup'd by state signature).
88
+ */
89
+ private _trackMcpDiagnostics;
90
+ /** Re-records every tracked session's MCP server states (on any customizations change). */
91
+ private _recordMcpDiagnostics;
92
+ /** Stops mirroring and disposes all MCP diagnostics channels for a session that is going away. */
93
+ protected _disposeMcpDiagnostics(sessionResource: URI): void;
49
94
  addMcpServer(sessionResource: URI, name: string, config: IMcpServerConfiguration): void;
50
95
  authenticateMcpServer(sessionResource: URI, serverId: string): Promise<boolean>;
96
+ setCustomizationEnablement(sessionResource: URI, customizationId: string, currentEnablement: readonly CustomizationEnablement[] | undefined, kind: CustomizationEnablementKind, enabled: boolean): void;
97
+ private _workspaceEnablementEntry;
51
98
  protected _fireCustomAgentsChanged(): void;
52
99
  protected _fireCustomizationsChanged(): void;
53
- private _flattenMcpServers;
54
100
  private _findMcpServer;
101
+ private _findCustomization;
55
102
  protected _scopedMcpServerId(sessionResource: URI, rawId: string): string;
56
103
  private _isScopedMcpServerIdForRawId;
57
104
  }
105
+ /** One MCP server customization, with the position it was published at. */
106
+ export interface IMcpServerCustomizationEntry {
107
+ readonly server: McpServerCustomization;
108
+ /**
109
+ * The plugin that declares this server. Absent both for a server published at the top level
110
+ * and for one declared by a {@link CustomizationType.Directory} container, so it says nothing
111
+ * about where in the tree the server sits -- use {@link isTopLevel} for that.
112
+ */
113
+ readonly plugin?: PluginCustomization;
114
+ /** Whether the agent host published this server as a customization of the session itself. */
115
+ readonly isTopLevel: boolean;
116
+ }
117
+ /** Every MCP server customization in a session, including duplicates of the same server. */
118
+ export declare function flattenMcpServerCustomizations(customizations: readonly Customization[]): readonly IMcpServerCustomizationEntry[];
119
+ /**
120
+ * The MCP servers to *show* for a session: one entry per server.
121
+ *
122
+ * A session can carry two customizations for one server: the declaration, published as a child of
123
+ * whatever declared it, and a top-level entry the agent host mints for a server the SDK reports
124
+ * before that child resolves by name. A child is dropped when a top-level customization already
125
+ * speaks for its name, because the top-level copy is the one the host keeps live and resolves for
126
+ * lifecycle and enablement.
127
+ *
128
+ * Tree position is the signal, not the shape of the minted id and not the absence of an owning
129
+ * plugin -- a directory-declared child has none either. Only presentation dedupes; lookups
130
+ * elsewhere walk every customization, so an id from either copy still resolves. Servers of the
131
+ * same name from different containers are left alone, because they are different servers.
132
+ */
133
+ export declare function getPresentableMcpServerCustomizations(customizations: readonly Customization[]): readonly IMcpServerCustomizationEntry[];
134
+ export declare class WorkbenchAgentHostCustomizationService extends AbstractAgentHostCustomizationService {
135
+ private readonly _connectionsService;
136
+ private readonly _provisionalSessionService;
137
+ private readonly _chatService;
138
+ private readonly _activeClientService;
139
+ private readonly _sessionStateSubscriptions;
140
+ /** Overridable so tests can exercise the timeout without real-time waits. */
141
+ protected readonly _snapshotTimeoutMs: number;
142
+ constructor(_connectionsService: IAgentHostConnectionsService, _provisionalSessionService: IAgentHostUntitledProvisionalSessionService, instantiationService: IInstantiationService, logService: ILogService, _chatService: IChatService, _activeClientService: IAgentHostActiveClientService);
143
+ protected _resolveTarget(sessionResource: URI): IAgentHostCustomizationTarget | undefined;
144
+ /**
145
+ * Session state arrives asynchronously over the protocol, so a freshly
146
+ * created subscription reports `undefined` until its first snapshot lands.
147
+ *
148
+ * The wait is memoized per subscription so that the many source-folder
149
+ * queries behind a single migration hint observe one shared deadline rather
150
+ * than restarting it per prompt type. It is bounded because the chat request
151
+ * path blocks on this before sending the user's message: once it elapses,
152
+ * callers fall back to the current (possibly empty) snapshot rather than
153
+ * stalling the send again on every subsequent query.
154
+ */
155
+ whenCustomizationsReady(sessionResource: URI, token?: CancellationToken): Promise<void>;
156
+ private _awaitFirstSnapshot;
157
+ private _ensureSessionStateSubscription;
158
+ /**
159
+ * Resolves a chat session resource to the backend agent-session URI plus
160
+ * the {@link IAgentConnection} (local or remote) that owns it. Returns
161
+ * `undefined` for sessions not backed by an agent host.
162
+ */
163
+ private _resolveSessionTarget;
164
+ }
@@ -1,25 +1,35 @@
1
1
 
2
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/charCode';
3
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/marshallingIds';
4
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
5
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
6
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
7
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
2
8
  import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
9
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
3
10
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
- import '../../../../../../platform/agentHost/common/agentHostSchema.js';
5
- import '../../../../../../platform/agentHost/common/agentService.js';
6
- import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService';
11
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
12
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostSchema';
7
13
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
14
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
8
15
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-root/state';
9
16
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-session/state';
10
17
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-chat/state';
11
18
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-terminal/state';
12
19
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-changeset/state';
13
20
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state';
21
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-automation/state';
22
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/channels-automation-run/state';
14
23
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/common/actions';
15
24
  import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState';
16
25
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
26
+ import '@codingame/monaco-vscode-api/vscode/vs/nls';
17
27
  import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
18
28
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/oauth';
19
- import '@codingame/monaco-vscode-api/vscode/vs/base/common/charCode';
20
- import '@codingame/monaco-vscode-api/vscode/vs/base/common/marshallingIds';
21
- import '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
22
- import '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
29
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
30
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
31
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
32
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
23
33
 
24
34
  class NullAgentHostCustomizationService {
25
35
  constructor() {
@@ -32,9 +42,21 @@ class NullAgentHostCustomizationService {
32
42
  getCustomizations(_sessionResource) {
33
43
  return [];
34
44
  }
45
+ whenCustomizationsReady(_sessionResource, _token) {
46
+ return Promise.resolve();
47
+ }
48
+ getFolderPickerDecision(_sessionResource) {
49
+ return undefined;
50
+ }
35
51
  getWorkingDirectory(sessionResource) {
36
52
  return undefined;
37
53
  }
54
+ getWorkingDirectories(_sessionResource) {
55
+ return [];
56
+ }
57
+ getClientWorkingDirectoryUris(_sessionResource) {
58
+ return [];
59
+ }
38
60
  getMcpServers(_sessionResource) {
39
61
  return [];
40
62
  }
@@ -42,6 +64,10 @@ class NullAgentHostCustomizationService {
42
64
  authenticateMcpServer(_sessionResource, _serverId) {
43
65
  return Promise.resolve(false);
44
66
  }
67
+ setCustomizationEnablement(_sessionResource, _customizationId, _currentEnablement, _kind, _enabled) {}
68
+ async showMcpServerLog(_sessionResource, _serverId, beforeShow) {
69
+ await beforeShow?.();
70
+ }
45
71
  }
46
72
 
47
73
  export { NullAgentHostCustomizationService };
@@ -0,0 +1,35 @@
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { type ProgressParams } from "../../../../../../platform/agentHost/common/state/sessionActions.js";
3
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
4
+ import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
5
+ /**
6
+ * Renders agent-host `progress` notifications as notification progress bars.
7
+ *
8
+ * Shared by the Agents window (via `BaseAgentHostSessionsProvider`) and the
9
+ * editor window (via `AgentHostContribution`) so both surfaces render the
10
+ * agent host's lazy, first-use SDK download identically.
11
+ *
12
+ * Progress is correlated by {@link ProgressParams.progressToken}; today's only
13
+ * producer is the SDK download, which the host surfaces as a single stream per
14
+ * provider keyed by the download's own stable identity — so one indicator per
15
+ * download regardless of how many sessions await it. Determinate when the host
16
+ * knows the `total` (`Content-Length`), or a byte-count spinner otherwise. The
17
+ * operation is complete — and the notification dismissed — once
18
+ * `progress >= total`. The human-readable brand noun rides on
19
+ * {@link ProgressParams.message}.
20
+ */
21
+ export declare class AgentHostDownloadProgress extends Disposable {
22
+ private readonly _progressService;
23
+ private readonly _configurationService;
24
+ /**
25
+ * Active progress indicators keyed by `progressToken`. The host emits a
26
+ * single stream per download keyed by the download's own stable identity
27
+ * (so distinct sessions of a provider share one indicator). Each entry owns
28
+ * one long-running notification progress (opened on the first frame), driven
29
+ * via {@link IActiveDownload.report} and dismissed via
30
+ * {@link IActiveDownload.complete} once `progress >= total`.
31
+ */
32
+ private readonly _activeDownloads;
33
+ constructor(_progressService: IProgressService, _configurationService: IConfigurationService);
34
+ handleProgress(progress: ProgressParams): void;
35
+ }
@@ -0,0 +1,73 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { DeferredPromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
4
+ import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
5
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
6
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
7
+ import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
8
+ import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
9
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
10
+ import { ChatAIDisabledSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/chat/common/chatSettings';
11
+
12
+ let AgentHostDownloadProgress = class AgentHostDownloadProgress extends Disposable {
13
+ constructor(_progressService, _configurationService) {
14
+ super();
15
+ this._progressService = _progressService;
16
+ this._configurationService = _configurationService;
17
+ this._activeDownloads = ( new Map());
18
+ this._register(toDisposable(() => {
19
+ for (const download of ( this._activeDownloads.values())) {
20
+ download.complete();
21
+ }
22
+ this._activeDownloads.clear();
23
+ }));
24
+ }
25
+ handleProgress(progress) {
26
+ if (this._configurationService.getValue(ChatAIDisabledSettingId)) {
27
+ return;
28
+ }
29
+ const isComplete = progress.total !== undefined && progress.progress >= progress.total;
30
+ if (isComplete) {
31
+ this._activeDownloads.get(progress.progressToken)?.complete();
32
+ this._activeDownloads.delete(progress.progressToken);
33
+ return;
34
+ }
35
+ let entry = this._activeDownloads.get(progress.progressToken);
36
+ if (!entry) {
37
+ const deferred = ( new DeferredPromise());
38
+ let report;
39
+ const title = progress.message ?? ( localize(6013, "Downloading"));
40
+ this._progressService.withProgress({
41
+ location: ProgressLocation.Notification,
42
+ title
43
+ }, p => {
44
+ report = step => p.report(step);
45
+ return deferred.p;
46
+ });
47
+ entry = {
48
+ lastPercent: 0,
49
+ report: step => report?.(step),
50
+ complete: () => deferred.complete()
51
+ };
52
+ this._activeDownloads.set(progress.progressToken, entry);
53
+ }
54
+ if (progress.total && progress.total > 0) {
55
+ const percent = Math.max(0, Math.min(100, Math.round((progress.progress / progress.total) * 100)));
56
+ const increment = percent - entry.lastPercent;
57
+ entry.lastPercent = percent;
58
+ entry.report({
59
+ message: ( localize(6014, "{0}%", percent)),
60
+ increment: increment > 0 ? increment : 0,
61
+ total: 100
62
+ });
63
+ } else {
64
+ const megabytes = (progress.progress / (1024 * 1024)).toFixed(1);
65
+ entry.report({
66
+ message: ( localize(6015, "{0} MB", megabytes))
67
+ });
68
+ }
69
+ }
70
+ };
71
+ AgentHostDownloadProgress = ( __decorate([( __param(0, IProgressService)), ( __param(1, IConfigurationService))], AgentHostDownloadProgress));
72
+
73
+ export { AgentHostDownloadProgress };
@@ -0,0 +1,20 @@
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
3
+ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
4
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
5
+ import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
6
+ import { IWorkbenchAssignmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/assignment/common/assignmentService.service";
7
+ /**
8
+ * Resolves the strictly hidden editor harness-picker setting against its experiment treatment.
9
+ * Hidden settings are excluded from the generic configuration experiment resolver.
10
+ */
11
+ export declare class AgentHostExistingSessionHarnessPickerEnablement extends Disposable implements IWorkbenchContribution {
12
+ private readonly configurationService;
13
+ private readonly assignmentService;
14
+ private readonly logService;
15
+ static readonly ID = "workbench.contrib.agentHostExistingSessionHarnessPickerEnablement";
16
+ private readonly enabledContext;
17
+ private updateRequest;
18
+ constructor(configurationService: IConfigurationService, contextKeyService: IContextKeyService, assignmentService: IWorkbenchAssignmentService, logService: ILogService);
19
+ private update;
20
+ }
@@ -0,0 +1,61 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { AgentHostExistingSessionHarnessPickerEnabledSettingId, AGENT_HOST_EXISTING_SESSION_HARNESS_PICKER_ENABLED_CONTEXT_KEY } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService';
5
+ import { isConfigured } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration';
6
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
7
+ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
8
+ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
9
+ import { IWorkbenchAssignmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/assignment/common/assignmentService.service';
10
+
11
+ const treatmentId = `config.${AgentHostExistingSessionHarnessPickerEnabledSettingId}`;
12
+ let AgentHostExistingSessionHarnessPickerEnablement = class AgentHostExistingSessionHarnessPickerEnablement extends Disposable {
13
+ static {
14
+ this.ID = "workbench.contrib.agentHostExistingSessionHarnessPickerEnablement";
15
+ }
16
+ constructor(configurationService, contextKeyService, assignmentService, logService) {
17
+ super();
18
+ this.configurationService = configurationService;
19
+ this.assignmentService = assignmentService;
20
+ this.logService = logService;
21
+ this.updateRequest = 0;
22
+ this.enabledContext = AGENT_HOST_EXISTING_SESSION_HARNESS_PICKER_ENABLED_CONTEXT_KEY.bindTo(contextKeyService);
23
+ this._register(this.configurationService.onDidChangeConfiguration(event => {
24
+ if (event.affectsConfiguration(AgentHostExistingSessionHarnessPickerEnabledSettingId)) {
25
+ void this.update();
26
+ }
27
+ }));
28
+ this._register(this.assignmentService.onDidRefetchAssignments(() => void this.update()));
29
+ void this.update();
30
+ }
31
+ async update() {
32
+ const request = ++this.updateRequest;
33
+ const inspection = this.configurationService.inspect(AgentHostExistingSessionHarnessPickerEnabledSettingId);
34
+ if (isConfigured(inspection)) {
35
+ this.enabledContext.set(inspection.value === true);
36
+ return;
37
+ }
38
+ let enabled = false;
39
+ try {
40
+ enabled = (await this.assignmentService.getTreatment(treatmentId)) === true;
41
+ } catch (error) {
42
+ if (this._store.isDisposed || request !== this.updateRequest) {
43
+ return;
44
+ }
45
+ this.logService.warn(
46
+ `[AgentHostExistingSessionHarnessPickerEnablement] Failed to resolve treatment '${treatmentId}'.`,
47
+ error
48
+ );
49
+ }
50
+ if (this._store.isDisposed || request !== this.updateRequest) {
51
+ return;
52
+ }
53
+ const currentInspection = this.configurationService.inspect(AgentHostExistingSessionHarnessPickerEnabledSettingId);
54
+ this.enabledContext.set(
55
+ isConfigured(currentInspection) ? currentInspection.value === true : enabled
56
+ );
57
+ }
58
+ };
59
+ AgentHostExistingSessionHarnessPickerEnablement = ( __decorate([( __param(0, IConfigurationService)), ( __param(1, IContextKeyService)), ( __param(2, IWorkbenchAssignmentService)), ( __param(3, ILogService))], AgentHostExistingSessionHarnessPickerEnablement));
60
+
61
+ export { AgentHostExistingSessionHarnessPickerEnablement };
@@ -0,0 +1,20 @@
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import type { Turn } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState";
3
+ import type { ModelSelection } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
4
+ import { IAgentHostImportConversationStore } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service";
5
+ /**
6
+ * A conversation being imported ("Continue in…") into a new agent-host session:
7
+ * the translated {@link Turn}s plus the source session's selected model, so the
8
+ * new session resumes on the same model instead of the host's default.
9
+ */
10
+ export interface IAgentHostImportConversation {
11
+ readonly turns: readonly Turn[];
12
+ readonly model?: ModelSelection;
13
+ }
14
+ export declare class AgentHostImportConversationStore implements IAgentHostImportConversationStore {
15
+ readonly _serviceBrand: undefined;
16
+ private readonly _pending;
17
+ set(resource: URI, conversation: IAgentHostImportConversation): void;
18
+ take(resource: URI): IAgentHostImportConversation | undefined;
19
+ rename(oldResource: URI, newResource: URI): void;
20
+ }
@@ -0,0 +1,26 @@
1
+
2
+
3
+ class AgentHostImportConversationStore {
4
+ constructor() {
5
+ this._pending = ( new Map());
6
+ }
7
+ set(resource, conversation) {
8
+ if (conversation.turns.length > 0) {
9
+ this._pending.set(( resource.toString()), conversation);
10
+ }
11
+ }
12
+ take(resource) {
13
+ const key = ( resource.toString());
14
+ const conversation = this._pending.get(key);
15
+ this._pending.delete(key);
16
+ return conversation;
17
+ }
18
+ rename(oldResource, newResource) {
19
+ const conversation = this.take(oldResource);
20
+ if (conversation) {
21
+ this._pending.set(( newResource.toString()), conversation);
22
+ }
23
+ }
24
+ }
25
+
26
+ export { AgentHostImportConversationStore };
@@ -0,0 +1,112 @@
1
+ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
2
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
+ import { SessionModelInfo } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState";
4
+ import { ILanguageModelChatMetadataAndIdentifier, ILanguageModelChatProvider } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels";
5
+ import { ILanguageModelsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels.service";
6
+ /**
7
+ * Returns whether an agent host provider exposes a synthetic "Auto" model to
8
+ * fall back to.
9
+ *
10
+ * Today only the Copilot CLI harness exposes an Auto selection and can run
11
+ * without an explicit model, so it shows "Auto" rather than a "No models
12
+ * available" state when no models are listed. Other harnesses (Claude,
13
+ * Codex, …) require an explicit model.
14
+ *
15
+ * `provider` is the underlying agent provider id (e.g. `'copilotcli'`,
16
+ * `'claude'`, `'codex'`), not the `agent-host-<provider>` session type.
17
+ *
18
+ * TODO: hoist this capability onto the agent host protocol (e.g. a
19
+ * `supportsAutoModel?: boolean` on `IAgentDescriptor` / `AgentInfo`) so each
20
+ * agent declares its own value instead of this allow-list living in core.
21
+ */
22
+ export declare function agentHostProviderSupportsAutoModel(provider: string): boolean;
23
+ /**
24
+ * Read-only view of the workbench model catalogue an agent host's models are enriched from.
25
+ *
26
+ * Narrowed to the reads {@link AgentHostLanguageModelProvider} performs (all plain lookups into
27
+ * already-registered models, so none of them re-enter a provider) plus the change signal, both so
28
+ * the dependency stays obviously side-effect free and so tests can supply a small fake.
29
+ */
30
+ export type IAgentHostModelCatalogue = Pick<ILanguageModelsService, "getLanguageModelIds" | "lookupLanguageModel" | "onDidChangeLanguageModels">;
31
+ /**
32
+ * Exposes models available from the agent host process as selectable
33
+ * language models in the chat model picker. Models are provided from
34
+ * root state (via {@link AgentInfo.models}) rather than via RPC.
35
+ */
36
+ export declare class AgentHostLanguageModelProvider extends Disposable implements ILanguageModelChatProvider {
37
+ private readonly _sessionType;
38
+ private readonly _vendor;
39
+ private readonly _catalogue?;
40
+ private readonly _onDidChange;
41
+ readonly onDidChange: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
42
+ private _models;
43
+ constructor(_sessionType: string, _vendor: string, _catalogue?: IAgentHostModelCatalogue | undefined);
44
+ /**
45
+ * Called by {@link AgentHostContribution} when models change in root state.
46
+ */
47
+ updateModels(models: readonly SessionModelInfo[]): void;
48
+ provideLanguageModelChatInfo(_options: unknown, _token: CancellationToken): Promise<ILanguageModelChatMetadataAndIdentifier[]>;
49
+ /**
50
+ * The workbench catalogue entry describing the same model, when one is known.
51
+ *
52
+ * A host driving the Copilot SDK advertises no billing and, where the SDK omits them, no token
53
+ * limits — so the CAPI-backed Copilot catalogue fills the gaps.
54
+ *
55
+ * Matching by raw model id does not prove the two describe the same offering — they can differ
56
+ * by entitlement, policy, rollout or billing route — so this is restricted to models billed
57
+ * through Copilot and only ever fills fields the host left absent.
58
+ *
59
+ * The token-limit half is a shim: those are native protocol fields, and a host that populates
60
+ * them makes the fallback dead. The billing half is not. Pricing is deliberately kept off the
61
+ * agent host protocol as operator-sensitive, so a client that wants to show it has to source it
62
+ * itself. Removing this join therefore means dropping pricing for these models, which is a
63
+ * product decision rather than a cleanup.
64
+ */
65
+ private _catalogueEntryFor;
66
+ /**
67
+ * Translate a host's model {@link ConfigSchema} into the picker's schema shape.
68
+ *
69
+ * Values and display text belong to the producer; the workbench only picks the group
70
+ * ({@link _groupForConfigKey}). The one exception is a reasoning-effort enum with no display
71
+ * text at all, labelled locally rather than rendering raw values like `xhigh`.
72
+ *
73
+ * A property is never dropped for want of local enrichment: a host advertises one because it
74
+ * will honour it, and a new model, a staged rollout and an unresolved catalogue all look
75
+ * identical from here.
76
+ */
77
+ private _toLanguageModelConfigurationSchema;
78
+ /** Config keys whose enum values are reasoning-effort levels, whatever the producer named them. */
79
+ private static readonly _reasoningEffortKeys;
80
+ /**
81
+ * Localized labels and descriptions for a reasoning-effort enum whose producer supplied none.
82
+ *
83
+ * A host that derives its schema from an upstream SDK advertises the accepted effort values
84
+ * without display text, because it has none the SDK did not give it — the Copilot agent host
85
+ * inside a cloud sandbox does exactly that. Deriving the text here keeps the picker from
86
+ * rendering raw values like `xhigh`, and matches what the agents that build their schema
87
+ * locally already emit.
88
+ *
89
+ * Only synthesized when every enum value is a string, since labels align with `enum` by index
90
+ * and a partial list would mislabel the rest.
91
+ *
92
+ * No `default` is synthesized: schema defaults are merged into the configuration that is sent
93
+ * (see `resolveModelConfiguration`), so inventing one would send an explicit effort where the
94
+ * host expects the value omitted and the backend to choose.
95
+ */
96
+ private static _reasoningEffortDisplay;
97
+ private static _groupForConfigKey;
98
+ /**
99
+ * Derives the picker group id for a model — the vendor its models are bucketed
100
+ * under. A producer may pin the group id explicitly in `_meta` (e.g. Claude
101
+ * stamps its transport vendor — `copilot`/`anthropic` — there while keeping
102
+ * `provider` as the `claude` routing owner); that wins. Otherwise BYOK models
103
+ * are surfaced by the agent host under the `vendor/[group/]id` selection id (see
104
+ * `resolveByokSessionConfig`), so their upstream vendor is the id prefix; native
105
+ * harness models have no prefix and group under their `provider` (the harness,
106
+ * e.g. `copilotcli`). The picker resolves the display name from the vendor
107
+ * registry — no name mapping lives here.
108
+ */
109
+ private _modelGroupFor;
110
+ sendChatRequest(): Promise<never>;
111
+ provideTokenCount(): Promise<number>;
112
+ }