@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
@@ -0,0 +1,169 @@
1
+ import { Emitter } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
+ import { IJSONSchema } from "@codingame/monaco-vscode-api/vscode/vs/base/common/jsonSchema";
3
+ import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
4
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
5
+ import { FileType, IFileChange, IFileDeleteOptions, IFileOverwriteOptions, IFileSystemProviderWithFileReadWriteCapability, IFileWriteOptions, IStat, IWatchOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
6
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
7
+ import { ConfigPropertySchema, ConfigSchema } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
8
+ /**
9
+ * Minimal config shape shared by session and root configuration.
10
+ */
11
+ export interface IAgentHostConfigLike {
12
+ readonly schema: ConfigSchema;
13
+ readonly values: Record<string, unknown>;
14
+ }
15
+ /**
16
+ * Filter applied to schema properties to decide which ones surface in the
17
+ * editable document (and in the derived JSON schema).
18
+ */
19
+ export type AgentHostConfigPropertyFilter = (key: string, schema: ConfigPropertySchema) => boolean;
20
+ /**
21
+ * Localized strings used to decorate the serialized JSONC document.
22
+ */
23
+ export interface IAgentHostSettingsLocale {
24
+ /** Header comment line describing the document. */
25
+ readonly header: string;
26
+ /** Secondary hint comment describing save semantics. */
27
+ readonly saveHint: string;
28
+ /** Error message thrown when the document fails to parse as JSONC. */
29
+ readonly parseError: string;
30
+ /** Error message thrown when the parsed document is not a JSON object. */
31
+ readonly notObject: string;
32
+ }
33
+ /**
34
+ * Convert a config property schema (protocol shape) into an
35
+ * {@link IJSONSchema} suitable for registration with the JSON language
36
+ * service.
37
+ */
38
+ export declare function convertPropertySchema(schema: ConfigPropertySchema): IJSONSchema;
39
+ /**
40
+ * Build a JSON schema describing the filtered properties of an agent-host
41
+ * config. Properties that pass {@link filter} are included; others are
42
+ * dropped. `required` entries are carried through when the referenced
43
+ * property survives the filter.
44
+ */
45
+ export declare function buildAgentHostConfigJsonSchema(config: IAgentHostConfigLike, filter: AgentHostConfigPropertyFilter): IJSONSchema;
46
+ /**
47
+ * Serialize the filtered config values into a commented, pretty-printed
48
+ * JSONC document.
49
+ */
50
+ export declare function serializeAgentHostConfigDocument(config: IAgentHostConfigLike | undefined, filter: AgentHostConfigPropertyFilter, locale: IAgentHostSettingsLocale): string;
51
+ /**
52
+ * Abstract filesystem provider backing the synthetic agent-host settings
53
+ * JSONC editors. Subclasses supply scheme-specific URI parsing, target
54
+ * resolution (e.g. a sessions provider, or the ambient agent host),
55
+ * config-fetching, change-watching, and replace-dispatch hooks; the base
56
+ * handles the boilerplate (`stat`/`readFile`/`writeFile`/error shapes).
57
+ */
58
+ export declare abstract class AbstractAgentHostConfigFileSystemProvider<TContext, TTarget> extends Disposable implements IFileSystemProviderWithFileReadWriteCapability {
59
+ protected readonly _logService: ILogService;
60
+ readonly capabilities: number;
61
+ private readonly _onDidChangeCapabilities;
62
+ readonly onDidChangeCapabilities: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
63
+ protected readonly _onDidChangeFile: Emitter<readonly IFileChange[]>;
64
+ readonly onDidChangeFile: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<readonly IFileChange[]>;
65
+ constructor(_logService: ILogService);
66
+ /** URI scheme label used in error messages (e.g. `'agent-host-settings'`). */
67
+ protected abstract readonly _schemeLabel: string;
68
+ /** Log trace-tag (e.g. `'AgentHostSettings'`). */
69
+ protected abstract readonly _traceTag: string;
70
+ /** Localized strings for the JSONC document and write-path errors. */
71
+ protected abstract readonly _locale: IAgentHostSettingsLocale;
72
+ /** Parse a URI of the subclass's scheme into a typed context. */
73
+ protected abstract _parseUri(resource: URI): TContext | undefined;
74
+ /**
75
+ * Resolve the backing target (e.g. a sessions provider, the ambient
76
+ * agent host, a refcounted session subscription) for a parsed context.
77
+ * Called once per {@link stat}/{@link readFile}/{@link writeFile} call
78
+ * and once per {@link watch} call; every resolution that returns a
79
+ * target is paired with exactly one {@link _releaseTarget} call (see
80
+ * there for the ownership contract). Returning `undefined` signals the
81
+ * target genuinely could not be resolved (e.g. an unknown provider id) -
82
+ * a target whose backing value is merely pending or errored should still
83
+ * be resolved and returned so callers can render that state.
84
+ */
85
+ protected abstract _resolveTarget(ctx: TContext): TTarget | undefined;
86
+ /**
87
+ * Release a target obtained from {@link _resolveTarget}. Called exactly
88
+ * once for every resolution that returned a defined target: after
89
+ * {@link stat}/{@link readFile}/{@link writeFile} complete (including on
90
+ * error), and when a {@link watch} caller disposes its returned
91
+ * disposable. Default is a no-op for targets with no per-resolution
92
+ * ownership (e.g. a shared provider or the ambient agent host);
93
+ * subclasses whose {@link _resolveTarget} acquires a scoped resource
94
+ * (e.g. a refcounted subscription reference) must override this to
95
+ * release it symmetrically.
96
+ */
97
+ protected _releaseTarget(_target: TTarget, _ctx: TContext): void;
98
+ /** Error to throw when {@link _resolveTarget} returns `undefined` for a parsed context. */
99
+ protected _missingTargetError(_ctx: TContext): Error;
100
+ /** Render the current config for a context as a JSONC document. */
101
+ protected abstract _serialize(target: TTarget, ctx: TContext): string;
102
+ /**
103
+ * Subscribe for changes relevant to the given context. When a change is
104
+ * detected the subclass should invoke {@link fire}.
105
+ */
106
+ protected abstract _watchChanges(target: TTarget, ctx: TContext, fire: () => void): IDisposable;
107
+ /** Register / refresh the JSON schema for the given context. */
108
+ protected abstract _ensureSchemaRegistered(target: TTarget, ctx: TContext): void;
109
+ /** Whether the backing config is currently available. */
110
+ protected abstract _hasConfig(target: TTarget, ctx: TContext): boolean;
111
+ /** Dispatch a replace write of the parsed JSONC document. */
112
+ protected abstract _replaceConfig(target: TTarget, ctx: TContext, values: Record<string, unknown>): Promise<void>;
113
+ /**
114
+ * Build a short human-readable description of `ctx` for log messages
115
+ * when a write is ignored due to missing config (e.g. a session id).
116
+ */
117
+ protected abstract _describeForTrace(ctx: TContext): string;
118
+ watch(resource: URI, _opts: IWatchOptions): IDisposable;
119
+ stat(resource: URI): Promise<IStat>;
120
+ readdir(): Promise<[
121
+ string,
122
+ FileType
123
+ ][]>;
124
+ readFile(resource: URI): Promise<Uint8Array>;
125
+ writeFile(resource: URI, content: Uint8Array, _opts: IFileWriteOptions): Promise<void>;
126
+ mkdir(): Promise<void>;
127
+ delete(_resource: URI, _opts: IFileDeleteOptions): Promise<void>;
128
+ rename(_from: URI, _to: URI, _opts: IFileOverwriteOptions): Promise<void>;
129
+ private _resolveOrThrow;
130
+ }
131
+ /**
132
+ * Abstract base for the schema registrars that keep JSON schemas registered
133
+ * on the {@link IJSONContributionRegistry} for the synthetic settings
134
+ * editors. Subclasses plumb the target type that identifies what a schema
135
+ * belongs to (an `ISession`/`IAgentHostSessionsProvider` for the sessions
136
+ * window, the ambient `IAgentHostService` for the editor window) and any
137
+ * lifecycle needed to discover/observe/dispose targets.
138
+ *
139
+ * Registration is lazy - {@link ensureRegistered} is called by the
140
+ * filesystem provider when a settings file is first read.
141
+ */
142
+ export declare abstract class AbstractAgentHostConfigSchemaRegistrar<TTarget> extends Disposable {
143
+ private readonly _schemaRegistry;
144
+ /** Per-target registered-schema disposables, keyed by the settings URI string. */
145
+ private readonly _targetSchemas;
146
+ /**
147
+ * Tracks the {@link ConfigSchema} identity last used to register a schema
148
+ * for a given settings URI so we can skip re-registration when only
149
+ * values have changed.
150
+ */
151
+ private readonly _lastSchemaIdentity;
152
+ /** Stringified URI identifying the settings document for a target. */
153
+ protected abstract _settingsUri(target: TTarget): string;
154
+ /** `vscode://schemas/...` schema id used for JSON language service registration. */
155
+ protected abstract _schemaId(target: TTarget): string;
156
+ /** Fetch the backing config for a target. Returns `undefined` when none yet. */
157
+ protected abstract _getConfig(target: TTarget): IAgentHostConfigLike | undefined;
158
+ /** Filter applied to schema properties when building the JSON schema. */
159
+ protected abstract _propertyFilter(): AgentHostConfigPropertyFilter;
160
+ /**
161
+ * Ensures a JSON schema is registered for the given target. Safe to
162
+ * call repeatedly; a no-op when the cached schema identity matches.
163
+ */
164
+ ensureRegistered(target: TTarget): void;
165
+ /** Whether a schema is currently registered for `target`. */
166
+ protected _isRegistered(target: TTarget): boolean;
167
+ protected _refreshSchema(target: TTarget): void;
168
+ protected _disposeSchemaForTarget(target: TTarget): void;
169
+ }
@@ -0,0 +1,261 @@
1
+
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
4
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
5
+ import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
6
+ import { Disposable, toDisposable, DisposableMap, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
7
+ import { FileSystemProviderCapabilities, createFileSystemProviderError, FileSystemProviderErrorCode, FileChangeType, FileType } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
8
+ import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
9
+ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
10
+ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
11
+
12
+ function convertPropertySchema(schema) {
13
+ const out = {
14
+ type: schema.type,
15
+ title: schema.title,
16
+ description: schema.description,
17
+ default: schema.default
18
+ };
19
+ if (schema.enum && schema.enum.length > 0) {
20
+ out.enum = [...schema.enum];
21
+ if (schema.enumDescriptions && schema.enumDescriptions.length > 0) {
22
+ out.enumDescriptions = [...schema.enumDescriptions];
23
+ }
24
+ }
25
+ if (schema.type === "array" && schema.items) {
26
+ out.items = convertPropertySchema(schema.items);
27
+ }
28
+ if (schema.type === "object" && schema.properties) {
29
+ const properties = {};
30
+ for (const [key, value] of Object.entries(schema.properties)) {
31
+ properties[key] = convertPropertySchema(value);
32
+ }
33
+ out.properties = properties;
34
+ if (schema.required && schema.required.length > 0) {
35
+ out.required = [...schema.required];
36
+ }
37
+ }
38
+ return out;
39
+ }
40
+ function buildAgentHostConfigJsonSchema(config, filter) {
41
+ const properties = {};
42
+ const required = [];
43
+ for (const [key, schema] of Object.entries(config.schema.properties)) {
44
+ if (!filter(key, schema)) {
45
+ continue;
46
+ }
47
+ properties[key] = convertPropertySchema(schema);
48
+ if (config.schema.required?.includes(key)) {
49
+ required.push(key);
50
+ }
51
+ }
52
+ const result = {
53
+ type: "object",
54
+ properties,
55
+ additionalProperties: true
56
+ };
57
+ if (required.length > 0) {
58
+ result.required = required;
59
+ }
60
+ return result;
61
+ }
62
+ function buildHeaderComment(locale, props) {
63
+ const lines = [];
64
+ lines.push(`// ${locale.header}`);
65
+ lines.push(`// ${locale.saveHint}`);
66
+ if (props && props.length > 0) {
67
+ lines.push("//");
68
+ for (const [key, schema] of props) {
69
+ const suffix = schema.enum && schema.enum.length > 0 ? ` (${schema.enum.join(" | ")})` : "";
70
+ const title = schema.title || key;
71
+ lines.push(`// ${key}: ${title}${suffix}`);
72
+ if (schema.description) {
73
+ lines.push(`// ${schema.description}`);
74
+ }
75
+ }
76
+ }
77
+ lines.push("");
78
+ return lines.join("\n");
79
+ }
80
+ function serializeAgentHostConfigDocument(config, filter, locale) {
81
+ if (!config) {
82
+ return `${buildHeaderComment(locale, undefined)}{}\n`;
83
+ }
84
+ const editableProps = Object.entries(config.schema.properties).filter(([key, schema]) => filter(key, schema));
85
+ const values = {};
86
+ for (const [key] of editableProps) {
87
+ if (config.values[key] !== undefined) {
88
+ values[key] = config.values[key];
89
+ }
90
+ }
91
+ return `${buildHeaderComment(locale, editableProps)}${JSON.stringify(values, null, 2)}\n`;
92
+ }
93
+ let AbstractAgentHostConfigFileSystemProvider = class AbstractAgentHostConfigFileSystemProvider extends Disposable {
94
+ constructor(_logService) {
95
+ super();
96
+ this._logService = _logService;
97
+ this.capabilities = FileSystemProviderCapabilities.FileReadWrite | FileSystemProviderCapabilities.PathCaseSensitive;
98
+ this._onDidChangeCapabilities = this._register(( new Emitter()));
99
+ this.onDidChangeCapabilities = this._onDidChangeCapabilities.event;
100
+ this._onDidChangeFile = this._register(( new Emitter()));
101
+ this.onDidChangeFile = this._onDidChangeFile.event;
102
+ }
103
+ _releaseTarget(_target, _ctx) {}
104
+ _missingTargetError(_ctx) {
105
+ return createFileSystemProviderError(
106
+ `${this._schemeLabel} target is not available`,
107
+ FileSystemProviderErrorCode.FileNotFound
108
+ );
109
+ }
110
+ watch(resource, _opts) {
111
+ const parsed = this._parseUri(resource);
112
+ if (!parsed) {
113
+ return Disposable.None;
114
+ }
115
+ const target = this._resolveTarget(parsed);
116
+ if (!target) {
117
+ return Disposable.None;
118
+ }
119
+ const watcher = this._watchChanges(target, parsed, () => {
120
+ this._onDidChangeFile.fire([{
121
+ type: FileChangeType.UPDATED,
122
+ resource
123
+ }]);
124
+ });
125
+ return toDisposable(() => {
126
+ watcher.dispose();
127
+ this._releaseTarget(target, parsed);
128
+ });
129
+ }
130
+ async stat(resource) {
131
+ const {
132
+ target,
133
+ ctx
134
+ } = this._resolveOrThrow(resource);
135
+ try {
136
+ const content = this._serialize(target, ctx);
137
+ return {
138
+ type: FileType.File,
139
+ ctime: 0,
140
+ mtime: 0,
141
+ size: VSBuffer.fromString(content).byteLength,
142
+ permissions: 0
143
+ };
144
+ } finally {
145
+ this._releaseTarget(target, ctx);
146
+ }
147
+ }
148
+ async readdir() {
149
+ throw createFileSystemProviderError("readdir not supported", FileSystemProviderErrorCode.NoPermissions);
150
+ }
151
+ async readFile(resource) {
152
+ const {
153
+ target,
154
+ ctx
155
+ } = this._resolveOrThrow(resource);
156
+ try {
157
+ const content = this._serialize(target, ctx);
158
+ this._ensureSchemaRegistered(target, ctx);
159
+ return VSBuffer.fromString(content).buffer;
160
+ } finally {
161
+ this._releaseTarget(target, ctx);
162
+ }
163
+ }
164
+ async writeFile(resource, content, _opts) {
165
+ const {
166
+ target,
167
+ ctx
168
+ } = this._resolveOrThrow(resource);
169
+ try {
170
+ const text = ( VSBuffer.wrap(content).toString());
171
+ const errors = [];
172
+ const parsedJson = parse(text, errors);
173
+ if (errors.length > 0) {
174
+ throw createFileSystemProviderError(this._locale.parseError, FileSystemProviderErrorCode.Unavailable);
175
+ }
176
+ if (parsedJson === null || typeof parsedJson !== "object" || Array.isArray(parsedJson)) {
177
+ throw createFileSystemProviderError(this._locale.notObject, FileSystemProviderErrorCode.Unavailable);
178
+ }
179
+ if (!this._hasConfig(target, ctx)) {
180
+ this._logService.trace(
181
+ `[${this._traceTag}] No config state for ${this._describeForTrace(ctx)}; ignoring write.`
182
+ );
183
+ this._onDidChangeFile.fire([{
184
+ type: FileChangeType.UPDATED,
185
+ resource
186
+ }]);
187
+ return;
188
+ }
189
+ await this._replaceConfig(target, ctx, parsedJson);
190
+ this._onDidChangeFile.fire([{
191
+ type: FileChangeType.UPDATED,
192
+ resource
193
+ }]);
194
+ } finally {
195
+ this._releaseTarget(target, ctx);
196
+ }
197
+ }
198
+ async mkdir() {
199
+ throw createFileSystemProviderError("mkdir not supported", FileSystemProviderErrorCode.NoPermissions);
200
+ }
201
+ async delete(_resource, _opts) {
202
+ throw createFileSystemProviderError("delete not supported", FileSystemProviderErrorCode.NoPermissions);
203
+ }
204
+ async rename(_from, _to, _opts) {
205
+ throw createFileSystemProviderError("rename not supported", FileSystemProviderErrorCode.NoPermissions);
206
+ }
207
+ _resolveOrThrow(resource) {
208
+ const ctx = this._parseUri(resource);
209
+ if (!ctx) {
210
+ throw createFileSystemProviderError(`Invalid ${this._schemeLabel} URI: ${( resource.toString())}`, FileSystemProviderErrorCode.FileNotFound);
211
+ }
212
+ const target = this._resolveTarget(ctx);
213
+ if (!target) {
214
+ throw this._missingTargetError(ctx);
215
+ }
216
+ return {
217
+ target,
218
+ ctx
219
+ };
220
+ }
221
+ };
222
+ AbstractAgentHostConfigFileSystemProvider = ( __decorate([( __param(0, ILogService))], AbstractAgentHostConfigFileSystemProvider));
223
+ class AbstractAgentHostConfigSchemaRegistrar extends Disposable {
224
+ constructor() {
225
+ super(...arguments);
226
+ this._schemaRegistry = ( Registry.as(Extensions.JSONContribution));
227
+ this._targetSchemas = this._register(( new DisposableMap()));
228
+ this._lastSchemaIdentity = ( new Map());
229
+ }
230
+ ensureRegistered(target) {
231
+ this._refreshSchema(target);
232
+ }
233
+ _isRegistered(target) {
234
+ return ( this._lastSchemaIdentity.has(this._settingsUri(target)));
235
+ }
236
+ _refreshSchema(target) {
237
+ const config = this._getConfig(target);
238
+ if (!config) {
239
+ return;
240
+ }
241
+ const settingsUri = this._settingsUri(target);
242
+ const identity = config.schema;
243
+ if (this._lastSchemaIdentity.get(settingsUri) === identity) {
244
+ return;
245
+ }
246
+ const schema = buildAgentHostConfigJsonSchema(config, this._propertyFilter());
247
+ const schemaId = this._schemaId(target);
248
+ this._targetSchemas.deleteAndDispose(settingsUri);
249
+ const store = ( new DisposableStore());
250
+ this._schemaRegistry.registerSchema(schemaId, schema, store);
251
+ store.add(this._schemaRegistry.registerSchemaAssociation(schemaId, settingsUri));
252
+ store.add(toDisposable(() => this._lastSchemaIdentity.delete(settingsUri)));
253
+ this._targetSchemas.set(settingsUri, store);
254
+ this._lastSchemaIdentity.set(settingsUri, identity);
255
+ }
256
+ _disposeSchemaForTarget(target) {
257
+ this._targetSchemas.deleteAndDispose(this._settingsUri(target));
258
+ }
259
+ }
260
+
261
+ export { AbstractAgentHostConfigFileSystemProvider, AbstractAgentHostConfigSchemaRegistrar, buildAgentHostConfigJsonSchema, convertPropertySchema, serializeAgentHostConfigDocument };
@@ -0,0 +1,20 @@
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IAgentHostEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService.service";
3
+ import { IAgentHostService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service";
4
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
5
+ import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
6
+ /**
7
+ * Forwards Copilot-CLI settings into the **local** agent host's root config so
8
+ * `CopilotAgent` and `CopilotSessionLauncher` can read them. Gated on
9
+ * Agent Host runtime availability. The schema-gate / hydration-retry / loop-guard
10
+ * machinery lives in the shared
11
+ * {@link AgentHostRootConfigForwarder}; this contribution only declares the keys.
12
+ */
13
+ export declare class AgentHostCopilotCliSettingsContribution extends Disposable implements IWorkbenchContribution {
14
+ private readonly _configurationService;
15
+ private readonly _agentHostEnablementService;
16
+ static readonly ID = "workbench.contrib.agentHostCopilotCliSettings";
17
+ private readonly _forwarder;
18
+ constructor(agentHostService: IAgentHostService, _configurationService: IConfigurationService, _agentHostEnablementService: IAgentHostEnablementService);
19
+ private _pushOnSettingChange;
20
+ }
@@ -0,0 +1,90 @@
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 '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
5
+ import { isObject } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
6
+ import { IAgentHostEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService.service';
7
+ import { IAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service';
8
+ import { CopilotCliConfigKey, AgentHostCopilotSdkLogLevelSettingId, AgentHostOpus48PromptEnabledSettingId, CopilotClaudeAdvisorEnabledSettingId, AgentHostToolSearchEnabledSettingId, AgentHostToolSearchDeferThresholdSettingId, normalizeToolSearchDeferThreshold, AgentHostReasoningSummaryEnabledSettingId, CopilotAutoModeTiersEnabledSettingId, CopilotAutoModeTierOverrideSettingId, CopilotSubagentModelGuidanceEnabledSettingId, AgentHostCopilotModelCapabilityOverridesSettingId, AgentHostShellToolInitScriptEnabledSettingId } from '@codingame/monaco-vscode-katex-common/vscode/vs/platform/agentHost/common/copilotCliConfig';
9
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
10
+ import { AgentHostRootConfigForwarder } from './agentHostRootConfigForwarder.js';
11
+ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
12
+
13
+ let AgentHostCopilotCliSettingsContribution = class AgentHostCopilotCliSettingsContribution extends Disposable {
14
+ static {
15
+ this.ID = "workbench.contrib.agentHostCopilotCliSettings";
16
+ }
17
+ constructor(agentHostService, _configurationService, _agentHostEnablementService) {
18
+ super();
19
+ this._configurationService = _configurationService;
20
+ this._agentHostEnablementService = _agentHostEnablementService;
21
+ const keys = [{
22
+ key: CopilotCliConfigKey.CopilotSdkLogLevel,
23
+ computeValue: () => this._configurationService.getValue(AgentHostCopilotSdkLogLevelSettingId) ?? "info",
24
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostCopilotSdkLogLevelSettingId)
25
+ }, {
26
+ key: CopilotCliConfigKey.Opus48Prompt,
27
+ computeValue: () => this._configurationService.getValue(AgentHostOpus48PromptEnabledSettingId) === true,
28
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostOpus48PromptEnabledSettingId)
29
+ }, {
30
+ key: CopilotCliConfigKey.ClaudeAdvisor,
31
+ computeValue: () => this._configurationService.getValue(CopilotClaudeAdvisorEnabledSettingId) === true,
32
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, CopilotClaudeAdvisorEnabledSettingId)
33
+ }, {
34
+ key: CopilotCliConfigKey.ToolSearchEnabled,
35
+ computeValue: () => this._configurationService.getValue(AgentHostToolSearchEnabledSettingId) === true,
36
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostToolSearchEnabledSettingId)
37
+ }, {
38
+ key: CopilotCliConfigKey.ToolSearchDeferThreshold,
39
+ computeValue: () => normalizeToolSearchDeferThreshold(
40
+ this._configurationService.getValue(AgentHostToolSearchDeferThresholdSettingId)
41
+ ),
42
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostToolSearchDeferThresholdSettingId)
43
+ }, {
44
+ key: CopilotCliConfigKey.ReasoningSummary,
45
+ computeValue: () => this._configurationService.getValue(AgentHostReasoningSummaryEnabledSettingId),
46
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostReasoningSummaryEnabledSettingId)
47
+ }, {
48
+ key: CopilotCliConfigKey.AutoModeTiers,
49
+ computeValue: () => this._configurationService.getValue(CopilotAutoModeTiersEnabledSettingId) === true,
50
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, CopilotAutoModeTiersEnabledSettingId)
51
+ }, {
52
+ key: CopilotCliConfigKey.AutoModeTierOverride,
53
+ computeValue: () => this._configurationService.getValue(CopilotAutoModeTierOverrideSettingId) ?? "",
54
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, CopilotAutoModeTierOverrideSettingId)
55
+ }, {
56
+ key: CopilotCliConfigKey.SubagentModelGuidance,
57
+ computeValue: () => this._configurationService.getValue(CopilotSubagentModelGuidanceEnabledSettingId) === true,
58
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, CopilotSubagentModelGuidanceEnabledSettingId)
59
+ }, {
60
+ key: CopilotCliConfigKey.ModelCapabilityOverrides,
61
+ computeValue: () => {
62
+ const value = this._configurationService.getValue(AgentHostCopilotModelCapabilityOverridesSettingId);
63
+ return isObject(value) ? value : {};
64
+ },
65
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostCopilotModelCapabilityOverridesSettingId)
66
+ }, {
67
+ key: CopilotCliConfigKey.EnableShellInitScript,
68
+ computeValue: () => this._configurationService.getValue(AgentHostShellToolInitScriptEnabledSettingId) === true,
69
+ registerTriggers: (store, push) => this._pushOnSettingChange(store, push, AgentHostShellToolInitScriptEnabledSettingId)
70
+ }];
71
+ this._forwarder = this._register(( new AgentHostRootConfigForwarder(keys, agentHostService)));
72
+ this._register(autorun(reader => {
73
+ if (this._agentHostEnablementService.enabled.read(reader)) {
74
+ this._forwarder.start();
75
+ } else {
76
+ this._forwarder.stop();
77
+ }
78
+ }));
79
+ }
80
+ _pushOnSettingChange(store, push, settingId) {
81
+ store.add(this._configurationService.onDidChangeConfiguration(e => {
82
+ if (e.affectsConfiguration(settingId)) {
83
+ push();
84
+ }
85
+ }));
86
+ }
87
+ };
88
+ AgentHostCopilotCliSettingsContribution = ( __decorate([( __param(0, IAgentHostService)), ( __param(1, IConfigurationService)), ( __param(2, IAgentHostEnablementService))], AgentHostCopilotCliSettingsContribution));
89
+
90
+ export { AgentHostCopilotCliSettingsContribution };