@codingame/monaco-vscode-chat-service-override 37.6.1 → 38.0.1

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 (690) hide show
  1. package/common.js +64 -2
  2. package/index.js +3 -3
  3. package/package.json +5 -5
  4. package/session.js +5 -1
  5. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +13 -2
  6. package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +164 -12
  7. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +4 -2
  8. package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +8 -2
  9. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +34 -4
  10. package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +345 -48
  11. package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.d.ts +135 -0
  12. package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.js +510 -0
  13. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +4 -1
  14. package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +12 -2
  15. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +2 -11
  16. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +14 -27
  17. package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.d.ts +6 -0
  18. package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +43 -0
  19. package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +158 -73
  20. package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.d.ts +16 -0
  21. package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.js +26 -0
  22. package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.d.ts +273 -0
  23. package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.js +61 -0
  24. package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.d.ts +3 -0
  25. package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.js +30 -0
  26. package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +8 -8
  27. package/vscode/src/vs/platform/agentHost/common/meta/agentHostChatInputState.d.ts +2 -0
  28. package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.d.ts +7 -0
  29. package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.js +17 -0
  30. package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.d.ts +12 -0
  31. package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.js +48 -0
  32. package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.js → vscode/agentCustomizationMeta.js} +2 -2
  33. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.d.ts +16 -0
  34. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.js +16 -0
  35. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.d.ts +8 -0
  36. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.js +20 -0
  37. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.d.ts +8 -0
  38. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.js +11 -0
  39. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelPricing.js +141 -0
  40. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.d.ts +12 -0
  41. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.js +25 -0
  42. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.d.ts +5 -0
  43. package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.js +11 -0
  44. package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.d.ts → vscode/clientPluginCustomizationMeta.d.ts} +10 -0
  45. package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.js → vscode/clientPluginCustomizationMeta.js} +7 -1
  46. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +35 -24
  47. package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +85 -20
  48. package/vscode/src/vs/platform/agentHost/common/sessionDataService.d.ts +440 -0
  49. package/vscode/src/vs/platform/agentHost/common/sessionDataService.js +11 -0
  50. package/vscode/src/vs/platform/agentHost/common/sessionDataService.service.d.ts +104 -0
  51. package/vscode/src/vs/platform/agentHost/common/taskEventReplay.d.ts +48 -0
  52. package/vscode/src/vs/platform/agentHost/common/taskEventReplay.js +238 -0
  53. package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.d.ts +35 -0
  54. package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.js +49 -0
  55. package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.d.ts +9 -0
  56. package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.js +13 -0
  57. package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.d.ts +102 -0
  58. package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.js +260 -0
  59. package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.d.ts +102 -0
  60. package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.js +115 -0
  61. package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.d.ts +46 -0
  62. package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.js +92 -0
  63. package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.d.ts +22 -0
  64. package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.js +158 -0
  65. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +4 -2
  66. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +12 -5
  67. package/vscode/src/vs/platform/otel/common/chatUserInteraction.d.ts +20 -0
  68. package/vscode/src/vs/platform/otel/common/chatUserInteraction.js +45 -0
  69. package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.d.ts +1 -4
  70. package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js +0 -9
  71. package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +1 -4
  72. package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +0 -15
  73. package/vscode/src/vs/platform/sandbox/common/terminalSandboxCommandRules.d.ts +1 -1
  74. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +6 -24
  75. package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +51 -109
  76. package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.d.ts +1 -1
  77. package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.d.ts +1 -1
  78. package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffView.js +7 -7
  79. package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileMultiDiffView.js +8 -8
  80. package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.d.ts +1 -1
  81. package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +11 -10
  82. package/vscode/src/vs/sessions/contrib/chat/browser/branchChatSessionAction.js +2 -2
  83. package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.js +6 -6
  84. package/vscode/src/vs/sessions/contrib/chat/browser/chat.contribution.js +460 -94
  85. package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.d.ts +35 -0
  86. package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.js +652 -0
  87. package/vscode/src/vs/sessions/contrib/chat/browser/newSession.d.ts +9 -0
  88. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.d.ts +11 -0
  89. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.js +118 -0
  90. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionFolderQuickPickAction.js +4 -4
  91. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.d.ts +7 -0
  92. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.js +36 -0
  93. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.d.ts +26 -0
  94. package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.js +145 -0
  95. package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.d.ts +1 -1
  96. package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js +24 -6
  97. package/vscode/src/vs/sessions/contrib/chat/browser/runScriptAction.js +94 -89
  98. package/vscode/src/vs/sessions/contrib/chat/browser/runScriptCustomTaskWidget.js +21 -21
  99. package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.d.ts +0 -1
  100. package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.js +28 -29
  101. package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.d.ts +7 -0
  102. package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.js +501 -107
  103. package/vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js +5 -1
  104. package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.d.ts +3 -3
  105. package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.js +4 -4
  106. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.d.ts +8 -1
  107. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.js +214 -17
  108. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js +16 -9
  109. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsFileSystemProvider.js +4 -4
  110. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js +7 -6
  111. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettingsFileSystemProvider.js +4 -4
  112. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js +226 -0
  113. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openAgentHostStateFileAction.js +1 -1
  114. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.d.ts +11 -0
  115. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js +122 -0
  116. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.d.ts +67 -0
  117. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.js +695 -0
  118. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.d.ts +4 -0
  119. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.js +39 -0
  120. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js +39 -22
  121. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.d.ts +1 -19
  122. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.js +42 -158
  123. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.d.ts +87 -0
  124. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.js +176 -0
  125. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.d.ts +422 -0
  126. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.js +2444 -0
  127. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.d.ts +91 -0
  128. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.js +620 -0
  129. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.d.ts +5 -4
  130. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.js +21 -12
  131. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js +2 -11
  132. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.d.ts +46 -0
  133. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.js +321 -0
  134. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.d.ts +104 -0
  135. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.js +345 -0
  136. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.d.ts +14 -1
  137. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.js +20 -3
  138. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.d.ts +7 -1
  139. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js +8 -12
  140. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.d.ts +8 -4
  141. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.js +88 -84
  142. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/manageRemoteAgentHosts.js +74 -20
  143. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/managedReconnectAgentHostContribution.js +2 -2
  144. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostFilter.css +34 -19
  145. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostPickerSheet.css +35 -3
  146. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.d.ts +37 -0
  147. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +305 -0
  148. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.d.ts +4 -1
  149. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.js +75 -20
  150. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.d.ts +1 -80
  151. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.js +19 -548
  152. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.d.ts +4 -0
  153. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +218 -122
  154. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.d.ts +5 -4
  155. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js +43 -8
  156. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/wslAgentHost.contribution.js +1 -1
  157. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionWorktreeCleanupEditor.css +223 -0
  158. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.d.ts +2 -0
  159. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.js +16 -0
  160. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.d.ts +15 -0
  161. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.js +49 -0
  162. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.d.ts +66 -0
  163. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.js +458 -0
  164. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.d.ts +13 -0
  165. package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.js +35 -0
  166. package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.d.ts +15 -0
  167. package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.js +37 -0
  168. package/vscode/src/vs/sessions/contrib/sessions/browser/mobile/mobileOverlayContribution.js +4 -4
  169. package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.d.ts +1 -1
  170. package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js +5 -1
  171. package/vscode/src/vs/sessions/skills/create-draft-pr/SKILL.md +1 -1
  172. package/vscode/src/vs/sessions/skills/create-pr/SKILL.md +1 -1
  173. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +1 -0
  174. package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +2 -2
  175. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
  176. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +56 -31
  177. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
  178. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +21 -21
  179. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +3 -3
  180. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
  181. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
  182. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +14 -14
  183. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
  184. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
  185. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
  186. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
  188. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
  189. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +30 -29
  190. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +1 -1
  191. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +3 -1
  192. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +44 -8
  193. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.d.ts +11 -0
  194. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.js +34 -0
  195. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +1 -1
  196. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +85 -29
  197. package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatTerminalOutputAccessibleView.js +33 -1
  198. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
  199. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +1 -1
  200. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +318 -103
  201. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
  202. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +60 -28
  203. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +41 -16
  204. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +49 -10
  205. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +7 -7
  206. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
  207. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
  208. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +5 -10
  209. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
  210. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +15 -21
  211. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +16 -15
  212. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
  213. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
  214. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +24 -23
  215. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
  216. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +5 -1
  217. package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +44 -31
  218. package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +32 -32
  219. package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +6 -6
  220. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
  221. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.d.ts +3 -1
  222. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +22 -26
  223. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
  224. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +9 -0
  225. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +180 -26
  226. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +6 -2
  227. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +82 -69
  228. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +4 -1
  229. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +32 -10
  230. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +12 -0
  231. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +5 -1
  232. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +37 -12
  233. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +6 -1
  234. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +53 -7
  235. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.d.ts +25 -0
  236. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.js +144 -0
  237. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +6 -1
  238. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +88 -12
  239. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.d.ts +51 -0
  240. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.js +642 -0
  241. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.d.ts +118 -0
  242. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.js +35 -0
  243. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +9 -1
  244. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +49 -7
  245. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +21 -17
  246. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +38 -10
  247. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.d.ts +50 -0
  248. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.js +415 -0
  249. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +12 -2
  250. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +124 -31
  251. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +7 -2
  252. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +116 -5
  253. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.d.ts +3 -1
  254. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +6 -6
  255. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
  256. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +4 -4
  257. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.d.ts +23 -0
  258. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.js +134 -0
  259. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +14 -36
  260. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +286 -126
  261. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +1 -1
  262. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +3 -2
  263. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.d.ts +17 -0
  264. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.js +94 -0
  265. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.d.ts +14 -0
  266. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.js +63 -0
  267. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +52 -88
  268. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +1030 -349
  269. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +20 -4
  270. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +722 -114
  271. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +1 -1
  272. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +3 -2
  273. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +88 -9
  274. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +16 -1
  275. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +87 -10
  276. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +1 -1
  277. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +2 -2
  278. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +4 -4
  279. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +4 -4
  280. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +4 -3
  281. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +2 -1
  282. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +12 -4
  283. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +191 -60
  284. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +4 -3
  285. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +6 -6
  286. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +4 -0
  287. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +27 -17
  288. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +2 -0
  289. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +2 -2
  290. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.d.ts +1 -0
  291. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.js +127 -0
  292. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.d.ts +44 -0
  293. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.js +415 -0
  294. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.d.ts +25 -0
  295. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.js +160 -0
  296. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +3 -1
  297. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +5 -1
  298. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +7 -2
  299. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +122 -34
  300. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +22 -4
  301. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +74 -39
  302. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +1 -1
  303. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +4 -0
  304. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +89 -68
  305. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +3 -3
  306. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
  307. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
  308. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
  309. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
  310. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +25 -25
  311. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
  312. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
  313. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.d.ts +4 -2
  314. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +50 -22
  315. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.d.ts +21 -0
  316. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.js +122 -0
  317. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.d.ts +81 -1
  318. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +213 -13
  319. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +136 -100
  320. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.d.ts +16 -0
  321. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.js +76 -0
  322. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +1 -1
  323. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +2 -2
  324. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.d.ts +139 -0
  325. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js +944 -0
  326. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.d.ts +1 -0
  327. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.js +119 -0
  328. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.d.ts +110 -0
  329. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js +1485 -0
  330. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.d.ts +38 -0
  331. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.js +48 -0
  332. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.d.ts +50 -0
  333. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js +213 -0
  334. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +19 -12
  335. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +6 -22
  336. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +87 -263
  337. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.d.ts +25 -0
  338. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js +217 -0
  339. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.d.ts +4 -0
  340. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.js +605 -0
  341. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +11 -4
  342. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +377 -184
  343. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
  344. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +2 -0
  345. package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +753 -617
  346. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +1 -1
  347. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +118 -40
  348. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
  349. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
  350. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
  351. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
  352. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
  353. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +3 -3
  354. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
  355. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
  356. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
  357. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
  358. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
  359. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
  360. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
  361. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
  362. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
  363. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
  364. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +35 -35
  365. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
  366. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +4 -2
  367. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +47 -42
  368. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +29 -6
  369. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
  370. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +2 -1
  371. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +6 -3
  372. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
  373. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
  374. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
  375. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
  376. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -3
  377. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +10 -7
  378. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +5 -3
  379. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +11 -5
  380. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +4 -3
  381. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +10 -7
  382. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +10 -10
  383. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +24 -11
  384. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +2 -2
  385. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +16 -20
  386. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +2 -2
  387. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +2 -2
  388. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
  389. package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.js +1 -1
  390. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.d.ts +12 -4
  391. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +52 -61
  392. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +17 -11
  393. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +2 -0
  394. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +3 -0
  395. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
  396. package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.d.ts +4 -0
  397. package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.js +136 -0
  398. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
  399. package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +52 -30
  400. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +71 -17
  401. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.d.ts +12 -5
  402. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +104 -16
  403. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.d.ts +5 -1
  404. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
  405. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.d.ts +3 -1
  406. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +84 -64
  407. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.d.ts +29 -0
  408. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.js +221 -0
  409. package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.d.ts +27 -0
  410. package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.js +72 -0
  411. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.d.ts +4 -0
  412. package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +4 -2
  413. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
  414. package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
  415. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
  416. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +1 -0
  417. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +52 -32
  418. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +3 -1
  419. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +65 -57
  420. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
  421. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.d.ts +82 -0
  422. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.js +213 -0
  423. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -27
  424. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +5 -12
  425. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +93 -45
  426. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +2 -1
  427. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +54 -55
  428. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +5 -1
  429. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +51 -15
  430. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.d.ts +43 -0
  431. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.js +230 -0
  432. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.d.ts +20 -0
  433. package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.js +101 -0
  434. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +30 -19
  435. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +4 -2
  436. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.d.ts +2 -0
  437. package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.js +1 -0
  438. package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.d.ts +27 -0
  439. package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.js +88 -0
  440. package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +7 -7
  441. package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
  442. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
  443. package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
  444. package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.d.ts +34 -0
  445. package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.js +121 -0
  446. package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
  447. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.d.ts +34 -0
  448. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js +192 -0
  449. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.js +11 -24
  450. package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +3 -3
  451. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +232 -1
  452. package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.d.ts +3 -0
  453. package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js +85 -0
  454. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
  455. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +0 -7
  456. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +11 -28
  457. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.d.ts +6 -0
  458. package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.js +18 -0
  459. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +13 -6
  460. package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +250 -92
  461. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +2 -1
  462. package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +39 -47
  463. package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
  464. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
  465. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
  466. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
  467. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
  468. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
  469. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
  470. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
  471. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
  472. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +5 -5
  473. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
  474. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +4 -4
  475. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +3 -3
  476. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +1 -1
  477. package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
  478. package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
  479. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.d.ts +40 -0
  480. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.js +561 -0
  481. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.d.ts +133 -0
  482. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.js +1176 -0
  483. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.d.ts +17 -0
  484. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.js +76 -0
  485. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.d.ts +54 -0
  486. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.js +220 -0
  487. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.d.ts +21 -0
  488. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.js +184 -0
  489. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.d.ts +8 -0
  490. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.js +165 -0
  491. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.d.ts +43 -0
  492. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.js +162 -0
  493. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.d.ts +40 -0
  494. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.js +129 -0
  495. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.d.ts +166 -0
  496. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.js +838 -0
  497. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.d.ts +40 -0
  498. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.js +604 -0
  499. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +45 -0
  500. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +251 -0
  501. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.d.ts +289 -0
  502. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.js +497 -0
  503. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +46 -0
  504. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +277 -0
  505. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.d.ts +6 -0
  506. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.js +41 -0
  507. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.d.ts +1 -0
  508. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +178 -0
  509. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.d.ts +73 -0
  510. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.js +398 -0
  511. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.d.ts +45 -0
  512. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.js +296 -0
  513. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.d.ts +1 -0
  514. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +96 -0
  515. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.d.ts +8 -0
  516. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.js +15 -0
  517. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.d.ts +75 -0
  518. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +559 -0
  519. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.d.ts +43 -0
  520. package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js +26 -0
  521. package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.d.ts +1 -1
  522. package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.js +8 -8
  523. package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +26 -10
  524. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
  525. package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +45 -31
  526. package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +8 -8
  527. package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +1 -1
  528. package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
  529. package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
  530. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.d.ts +22 -0
  531. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.js +110 -0
  532. package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
  533. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +1 -1
  534. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
  535. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +39 -35
  536. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
  537. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.d.ts +5 -1
  538. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +68 -16
  539. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +1 -1
  540. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +16 -1
  541. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +23 -18
  542. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
  543. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +7 -5
  544. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/all_/_.png.js +4 -0
  545. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.png +0 -0
  546. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.spritesheet.png +0 -0
  547. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.png +0 -0
  548. package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.spritesheet.png +0 -0
  549. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
  550. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +15 -18
  551. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +17 -1
  552. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +122 -21
  553. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +7 -1
  554. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +46 -11
  555. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +16 -0
  556. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +18 -3
  557. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +24 -7
  558. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +406 -193
  559. package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.d.ts +58 -0
  560. package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.js +60 -0
  561. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +6 -0
  562. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +5 -1
  563. package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
  564. package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.d.ts +4 -0
  565. package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.js +8 -0
  566. package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.d.ts +3 -0
  567. package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.js +8 -0
  568. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +17 -22
  569. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +455 -237
  570. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
  571. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -2
  572. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +25 -17
  573. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
  574. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
  575. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +11 -14
  576. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.d.ts +1 -1
  577. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +2 -1
  578. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +1 -1
  579. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +156 -155
  580. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.d.ts +43 -0
  581. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js +225 -0
  582. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
  583. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
  584. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +6 -0
  585. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +65 -9
  586. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
  587. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
  588. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.d.ts +4 -0
  589. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js +11 -3
  590. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
  591. package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
  592. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +4 -3
  593. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +46 -24
  594. package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.d.ts +15 -0
  595. package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.js +92 -0
  596. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
  597. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +1 -0
  598. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +22 -15
  599. package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
  600. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
  601. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
  602. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +1 -1
  603. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.js +1 -1
  604. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
  605. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
  606. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
  607. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
  608. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
  609. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  610. package/vscode/src/vs/workbench/contrib/onboarding/browser/onboarding.d.ts +4 -0
  611. package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightStep.d.ts +10 -0
  612. package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
  613. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +10 -10
  614. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
  615. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
  616. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.js +1 -1
  617. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
  618. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +0 -1
  619. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +3 -25
  620. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
  621. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -5
  622. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
  623. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
  624. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
  625. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +1 -1
  626. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
  627. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
  628. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
  629. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
  630. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +4 -4
  631. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
  632. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +0 -1
  633. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +79 -82
  634. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +3 -3
  635. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
  636. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.d.ts +9 -1
  637. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +103 -26
  638. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
  639. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
  640. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
  641. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +1 -1
  642. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.d.ts +2 -2
  643. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +8 -4
  644. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -5
  645. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +16 -60
  646. package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
  647. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.d.ts +1 -1
  648. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.js +1 -1
  649. package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.d.ts +31 -0
  650. package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.js +86 -0
  651. package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.d.ts +76 -0
  652. package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.js +409 -0
  653. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +14 -2
  654. package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +56 -7
  655. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.d.ts +0 -8
  656. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +0 -19
  657. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +0 -24
  658. package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +0 -13
  659. package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +0 -53
  660. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.d.ts +0 -53
  661. package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.js +0 -45
  662. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +0 -108
  663. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.js +0 -15
  664. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.d.ts +0 -31
  665. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.js +0 -150
  666. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/mobilePermissionPicker.contribution.js +0 -37
  667. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.d.ts +0 -26
  668. package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.js +0 -86
  669. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.d.ts +0 -8
  670. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +0 -241
  671. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +0 -142
  672. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +0 -746
  673. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +0 -164
  674. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +0 -485
  675. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.d.ts +0 -137
  676. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +0 -714
  677. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentOpenChat.css +0 -379
  678. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +0 -219
  679. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +0 -222
  680. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +0 -16
  681. package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +0 -39
  682. /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.d.ts → vscode/agentChatSurfaceMeta.d.ts} +0 -0
  683. /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.js → vscode/agentChatSurfaceMeta.js} +0 -0
  684. /package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.d.ts → vscode/agentCustomizationMeta.d.ts} +0 -0
  685. /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.d.ts → vscode/agentEphemeralSessionMeta.d.ts} +0 -0
  686. /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.js → vscode/agentEphemeralSessionMeta.js} +0 -0
  687. /package/vscode/src/vs/platform/agentHost/common/{agentModelPricing.d.ts → meta/vscode/agentModelPricing.d.ts} +0 -0
  688. /package/vscode/src/vs/sessions/contrib/providers/{copilotChatSessions/browser/mobilePermissionPicker.contribution.d.ts → agentHost/browser/mobile/mobileChatPhoneInputPresenter.d.ts} +0 -0
  689. /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.d.ts +0 -0
  690. /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.js +0 -0
@@ -26,7 +26,8 @@ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
26
26
  import { HOOKS_BY_TARGET } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
27
27
  import { GithubPromptHeaderAttributes } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes';
28
28
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
29
- import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
29
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService';
30
+ import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/platform/path/common/pathService.service';
30
31
 
31
32
  const MARKERS_OWNER_ID = "prompts-diagnostics-provider";
32
33
  var PromptValidatorMarkerCode;
@@ -74,13 +75,13 @@ let PromptValidator = class PromptValidator {
74
75
  const location = this.promptsService.getAgentFileURIFromModeFile(promptAST.uri);
75
76
  if (location && (await this.fileService.canCreateFile(location))) {
76
77
  report(toMarker(( localize(
77
- 12812,
78
+ 15185,
78
79
  "Chat modes have been renamed to agents. Please move this file to {0}",
79
80
  (location.toString())
80
81
  )), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
81
82
  } else {
82
83
  report(toMarker(( localize(
83
- 12813,
84
+ 15186,
84
85
  "Chat modes have been renamed to agents. Please move the file to {0}",
85
86
  AGENTS_SOURCE_FOLDER
86
87
  )), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
@@ -93,13 +94,13 @@ let PromptValidator = class PromptValidator {
93
94
  }
94
95
  const nameAttribute = promptAST.header.getAttribute(PromptHeaderAttributes.name);
95
96
  if (!nameAttribute) {
96
- report(toMarker(( localize(12814, "Skill should provide a name.")), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
97
+ report(toMarker(( localize(15187, "Skill should provide a name.")), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
97
98
  } else if (nameAttribute.value.type === "scalar") {
98
99
  const skillName = nameAttribute.value.value.trim();
99
100
  if (skillName.length > 0) {
100
101
  if (!VALID_SKILL_NAME_REGEX.test(skillName)) {
101
102
  report(toMarker(( localize(
102
- 12815,
103
+ 15188,
103
104
  "Skill name may only contain lowercase letters, numbers, and hyphens."
104
105
  )), nameAttribute.value.range, MarkerSeverity.Error));
105
106
  }
@@ -109,7 +110,7 @@ let PromptValidator = class PromptValidator {
109
110
  const folderName = pathParts[skillIndex - 1];
110
111
  if (folderName && skillName !== folderName) {
111
112
  report(toMarker(( localize(
112
- 12816,
113
+ 15189,
113
114
  "The skill name '{0}' should match the folder name '{1}'.",
114
115
  skillName,
115
116
  folderName
@@ -120,12 +121,12 @@ let PromptValidator = class PromptValidator {
120
121
  }
121
122
  const descriptionAttribute = promptAST.header.getAttribute(PromptHeaderAttributes.description);
122
123
  if (!descriptionAttribute) {
123
- report(toMarker(( localize(12817, "Skill should provide a description.")), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
124
+ report(toMarker(( localize(15190, "Skill should provide a description.")), ( new Range(1, 1, 1, 4)), MarkerSeverity.Warning));
124
125
  if (promptAST.header.userInvocable === false) {
125
126
  const userInvocableAttr = promptAST.header.getAttribute(PromptHeaderAttributes.userInvocable);
126
127
  if (userInvocableAttr) {
127
128
  report(toMarker(( localize(
128
- 12818,
129
+ 15191,
129
130
  "A description is required when user-invocable is false, because the model needs a description to decide when to load the skill."
130
131
  )), userInvocableAttr.value.range, MarkerSeverity.Error));
131
132
  }
@@ -134,7 +135,7 @@ let PromptValidator = class PromptValidator {
134
135
  const disableModelInvocationAttr = promptAST.header.getAttribute(PromptHeaderAttributes.disableModelInvocation);
135
136
  if (disableModelInvocationAttr) {
136
137
  report(toMarker(( localize(
137
- 12819,
138
+ 15192,
138
139
  "A description is required when model invocation is enabled, because the model needs a description to decide when to load the skill."
139
140
  )), disableModelInvocationAttr.value.range, MarkerSeverity.Error));
140
141
  }
@@ -145,7 +146,7 @@ let PromptValidator = class PromptValidator {
145
146
  const skillToolEnabled = this.configurationService.getValue("github.copilot.chat.skillTool.enabled");
146
147
  if (!skillToolEnabled) {
147
148
  report(toMarker(( localize(
148
- 12820,
149
+ 15193,
149
150
  "The 'context: fork' attribute requires the skill tool to be enabled (github.copilot.chat.skillTool.enabled)."
150
151
  )), contextAttribute.value.range, MarkerSeverity.Warning));
151
152
  }
@@ -164,7 +165,7 @@ let PromptValidator = class PromptValidator {
164
165
  }
165
166
  const resolved = body.resolveFilePath(ref.content, userHome);
166
167
  if (!resolved) {
167
- report(toMarker(( localize(12821, "Invalid file reference '{0}'.", ref.content)), ref.range, MarkerSeverity.Warning));
168
+ report(toMarker(( localize(15194, "Invalid file reference '{0}'.", ref.content)), ref.range, MarkerSeverity.Warning));
168
169
  continue;
169
170
  }
170
171
  if (promptAST.uri.scheme === resolved.scheme) {
@@ -173,7 +174,7 @@ let PromptValidator = class PromptValidator {
173
174
  const exists = await this.fileService.exists(resolved);
174
175
  if (!exists) {
175
176
  const loc = this.labelService.getUriLabel(resolved);
176
- report(toMarker(( localize(12822, "File '{0}' not found at '{1}'.", ref.content, loc)), ref.range, MarkerSeverity.Warning));
177
+ report(toMarker(( localize(15195, "File '{0}' not found at '{1}'.", ref.content, loc)), ref.range, MarkerSeverity.Warning));
177
178
  }
178
179
  } catch (e) {
179
180
  this.logger.warn(
@@ -196,7 +197,7 @@ let PromptValidator = class PromptValidator {
196
197
  if (currentNames.size === 1) {
197
198
  const newName = Array.from(currentNames)[0];
198
199
  report(toMarker(( localize(
199
- 12823,
200
+ 15196,
200
201
  "Tool or toolset '{0}' has been renamed, use '{1}' instead.",
201
202
  variable.name,
202
203
  newName
@@ -204,7 +205,7 @@ let PromptValidator = class PromptValidator {
204
205
  } else {
205
206
  const newNames = Array.from(currentNames).sort((a, b) => a.localeCompare(b)).join(", ");
206
207
  report(toMarker(( localize(
207
- 12824,
208
+ 15197,
208
209
  "Tool or toolset '{0}' has been renamed, use the following tools instead: {1}",
209
210
  variable.name,
210
211
  newNames
@@ -228,7 +229,7 @@ let PromptValidator = class PromptValidator {
228
229
  const tool = this.languageModelToolsService.getToolByFullReferenceName(variable.name);
229
230
  if (tool && headerToolsMap.get(tool) === false) {
230
231
  report(toMarker(( localize(
231
- 12825,
232
+ 15198,
232
233
  "Tool or toolset '{0}' also needs to be enabled in the header.",
233
234
  variable.name
234
235
  )), variable.range, MarkerSeverity.Warning));
@@ -302,7 +303,7 @@ let PromptValidator = class PromptValidator {
302
303
  switch (promptType) {
303
304
  case PromptsType.prompt:
304
305
  report(toMarker(( localize(
305
- 12826,
306
+ 15199,
306
307
  "Attribute '{0}' is not supported in prompt files. Supported: {1}.",
307
308
  attribute.key,
308
309
  supportedNames.value
@@ -311,7 +312,7 @@ let PromptValidator = class PromptValidator {
311
312
  case PromptsType.agent:
312
313
  if (target === Target.GitHubCopilot) {
313
314
  report(toMarker(( localize(
314
- 12827,
315
+ 15200,
315
316
  "Attribute '{0}' is not supported in custom GitHub Copilot agent files. Supported: {1}.",
316
317
  attribute.key,
317
318
  supportedNames.value
@@ -320,13 +321,13 @@ let PromptValidator = class PromptValidator {
320
321
  ; else {
321
322
  if (( validGithubCopilotAttributeNames.value.has(attribute.key))) {
322
323
  report(toMarker(( localize(
323
- 12828,
324
+ 15201,
324
325
  "Attribute '{0}' is ignored when running locally in VS Code.",
325
326
  attribute.key
326
327
  )), attribute.range, MarkerSeverity.Hint, [MarkerTag.Unnecessary]));
327
328
  } else {
328
329
  report(toMarker(( localize(
329
- 12829,
330
+ 15202,
330
331
  "Attribute '{0}' is not supported in VS Code agent files. Supported: {1}.",
331
332
  attribute.key,
332
333
  supportedNames.value
@@ -337,14 +338,14 @@ let PromptValidator = class PromptValidator {
337
338
  case PromptsType.instructions:
338
339
  if (target === Target.Claude) {
339
340
  report(toMarker(( localize(
340
- 12830,
341
+ 15203,
341
342
  "Attribute '{0}' is not supported in rules files by VS Code agents. Supported: {1}.",
342
343
  attribute.key,
343
344
  supportedNames.value
344
345
  )), attribute.range, MarkerSeverity.Hint, [MarkerTag.Unnecessary]));
345
346
  } else {
346
347
  report(toMarker(( localize(
347
- 12831,
348
+ 15204,
348
349
  "Attribute '{0}' is not supported in instructions files. Supported: {1}.",
349
350
  attribute.key,
350
351
  supportedNames.value
@@ -353,7 +354,7 @@ let PromptValidator = class PromptValidator {
353
354
  break;
354
355
  case PromptsType.skill:
355
356
  report(toMarker(( localize(
356
- 12832,
357
+ 15205,
357
358
  "Attribute '{0}' is not supported by VS Code skills. Supported: {1}.",
358
359
  attribute.key,
359
360
  supportedNames.value
@@ -369,11 +370,11 @@ let PromptValidator = class PromptValidator {
369
370
  return;
370
371
  }
371
372
  if (nameAttribute.value.type !== "scalar") {
372
- report(toMarker(( localize(12833, "The 'name' attribute must be a string.")), nameAttribute.range, MarkerSeverity.Error));
373
+ report(toMarker(( localize(15206, "The 'name' attribute must be a string.")), nameAttribute.range, MarkerSeverity.Error));
373
374
  return;
374
375
  }
375
376
  if (nameAttribute.value.value.trim().length === 0) {
376
- report(toMarker(( localize(12834, "The 'name' attribute must not be empty.")), nameAttribute.value.range, MarkerSeverity.Error));
377
+ report(toMarker(( localize(15207, "The 'name' attribute must not be empty.")), nameAttribute.value.range, MarkerSeverity.Error));
377
378
  return;
378
379
  }
379
380
  }
@@ -383,11 +384,11 @@ let PromptValidator = class PromptValidator {
383
384
  return;
384
385
  }
385
386
  if (descriptionAttribute.value.type !== "scalar") {
386
- report(toMarker(( localize(12835, "The 'description' attribute must be a string.")), descriptionAttribute.range, MarkerSeverity.Error));
387
+ report(toMarker(( localize(15208, "The 'description' attribute must be a string.")), descriptionAttribute.range, MarkerSeverity.Error));
387
388
  return;
388
389
  }
389
390
  if (descriptionAttribute.value.value.trim().length === 0) {
390
- report(toMarker(( localize(12836, "The 'description' attribute should not be empty.")), descriptionAttribute.value.range, MarkerSeverity.Error));
391
+ report(toMarker(( localize(15209, "The 'description' attribute should not be empty.")), descriptionAttribute.value.range, MarkerSeverity.Error));
391
392
  return;
392
393
  }
393
394
  }
@@ -397,11 +398,11 @@ let PromptValidator = class PromptValidator {
397
398
  return;
398
399
  }
399
400
  if (argumentHintAttribute.value.type !== "scalar") {
400
- report(toMarker(( localize(12837, "The 'argument-hint' attribute must be a string.")), argumentHintAttribute.range, MarkerSeverity.Error));
401
+ report(toMarker(( localize(15210, "The 'argument-hint' attribute must be a string.")), argumentHintAttribute.range, MarkerSeverity.Error));
401
402
  return;
402
403
  }
403
404
  if (argumentHintAttribute.value.value.trim().length === 0) {
404
- report(toMarker(( localize(12838, "The 'argument-hint' attribute should not be empty.")), argumentHintAttribute.value.range, MarkerSeverity.Warning));
405
+ report(toMarker(( localize(15211, "The 'argument-hint' attribute should not be empty.")), argumentHintAttribute.value.range, MarkerSeverity.Warning));
405
406
  return;
406
407
  }
407
408
  }
@@ -411,30 +412,30 @@ let PromptValidator = class PromptValidator {
411
412
  return;
412
413
  }
413
414
  if (attribute.value.type !== "scalar" && attribute.value.type !== "sequence") {
414
- report(toMarker(( localize(12839, "The 'model' attribute must be a string or an array of strings.")), attribute.value.range, MarkerSeverity.Error));
415
+ report(toMarker(( localize(15212, "The 'model' attribute must be a string or an array of strings.")), attribute.value.range, MarkerSeverity.Error));
415
416
  return;
416
417
  }
417
418
  const modelNames = [];
418
419
  if (attribute.value.type === "scalar") {
419
420
  const modelName = attribute.value.value.trim();
420
421
  if (modelName.length === 0) {
421
- report(toMarker(( localize(12840, "The 'model' attribute must be a non-empty string.")), attribute.value.range, MarkerSeverity.Error));
422
+ report(toMarker(( localize(15213, "The 'model' attribute must be a non-empty string.")), attribute.value.range, MarkerSeverity.Error));
422
423
  return;
423
424
  }
424
425
  modelNames.push([modelName, attribute.value.range]);
425
426
  } else if (attribute.value.type === "sequence") {
426
427
  if (attribute.value.items.length === 0) {
427
- report(toMarker(( localize(12841, "The 'model' array must not be empty.")), attribute.value.range, MarkerSeverity.Error));
428
+ report(toMarker(( localize(15214, "The 'model' array must not be empty.")), attribute.value.range, MarkerSeverity.Error));
428
429
  return;
429
430
  }
430
431
  for (const item of attribute.value.items) {
431
432
  if (item.type !== "scalar") {
432
- report(toMarker(( localize(12842, "The 'model' array must contain only strings.")), item.range, MarkerSeverity.Error));
433
+ report(toMarker(( localize(15215, "The 'model' array must contain only strings.")), item.range, MarkerSeverity.Error));
433
434
  return;
434
435
  }
435
436
  const modelName = item.value.trim();
436
437
  if (modelName.length === 0) {
437
- report(toMarker(( localize(12843, "Model names in the array must be non-empty strings.")), item.range, MarkerSeverity.Error));
438
+ report(toMarker(( localize(15216, "Model names in the array must be non-empty strings.")), item.range, MarkerSeverity.Error));
438
439
  return;
439
440
  }
440
441
  modelNames.push([modelName, item.range]);
@@ -447,9 +448,9 @@ let PromptValidator = class PromptValidator {
447
448
  for (const [modelName, range] of modelNames) {
448
449
  const modelMetadata = this.findModelByName(modelName);
449
450
  if (!modelMetadata) {
450
- report(toMarker(( localize(12844, "Unknown model '{0}' will be ignored.", modelName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary]));
451
+ report(toMarker(( localize(15217, "Unknown model '{0}' will be ignored.", modelName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary]));
451
452
  } else if (agentKind === ChatModeKind.Agent && !ILanguageModelChatMetadata.suitableForAgentMode(modelMetadata)) {
452
- report(toMarker(( localize(12845, "Model '{0}' is not suited for agent mode.", modelName)), range, MarkerSeverity.Warning));
453
+ report(toMarker(( localize(15218, "Model '{0}' is not suited for agent mode.", modelName)), range, MarkerSeverity.Warning));
453
454
  }
454
455
  }
455
456
  }
@@ -463,13 +464,13 @@ let PromptValidator = class PromptValidator {
463
464
  continue;
464
465
  }
465
466
  if (attribute.value.type !== "scalar") {
466
- report(toMarker(( localize(12846, "The '{0}' attribute must be a string.", claudeAttributeName)), attribute.value.range, MarkerSeverity.Error));
467
+ report(toMarker(( localize(15219, "The '{0}' attribute must be a string.", claudeAttributeName)), attribute.value.range, MarkerSeverity.Error));
467
468
  continue;
468
469
  } else {
469
470
  const modelName = attribute.value.value.trim();
470
471
  if (enumValues.every(model => model.name !== modelName)) {
471
472
  const validValues = enumValues.map(model => model.name).join(", ");
472
- report(toMarker(( localize(12847, "Unknown value '{0}', valid: {1}.", modelName, validValues)), attribute.value.range, MarkerSeverity.Warning));
473
+ report(toMarker(( localize(15220, "Unknown value '{0}', valid: {1}.", modelName, validValues)), attribute.value.range, MarkerSeverity.Warning));
473
474
  }
474
475
  }
475
476
  }
@@ -488,12 +489,12 @@ let PromptValidator = class PromptValidator {
488
489
  if (modeAttribute) {
489
490
  if (agentAttribute) {
490
491
  report(toMarker(( localize(
491
- 12848,
492
+ 15221,
492
493
  "The 'mode' attribute has been deprecated. The 'agent' attribute is used instead."
493
494
  )), modeAttribute.range, MarkerSeverity.Warning, [MarkerTag.Deprecated]));
494
495
  } else {
495
496
  report(toMarker(( localize(
496
- 12849,
497
+ 15222,
497
498
  "The 'mode' attribute has been deprecated. Please rename it to 'agent'."
498
499
  )), modeAttribute.range, MarkerSeverity.Warning, [MarkerTag.Deprecated]));
499
500
  }
@@ -503,12 +504,12 @@ let PromptValidator = class PromptValidator {
503
504
  return undefined;
504
505
  }
505
506
  if (attribute.value.type !== "scalar") {
506
- report(toMarker(( localize(12850, "The '{0}' attribute must be a string.", attribute.key)), attribute.value.range, MarkerSeverity.Error));
507
+ report(toMarker(( localize(15223, "The '{0}' attribute must be a string.", attribute.key)), attribute.value.range, MarkerSeverity.Error));
507
508
  return undefined;
508
509
  }
509
510
  const agentValue = attribute.value.value;
510
511
  if (agentValue.trim().length === 0) {
511
- report(toMarker(( localize(12851, "The '{0}' attribute must be a non-empty string.", attribute.key)), attribute.value.range, MarkerSeverity.Error));
512
+ report(toMarker(( localize(15224, "The '{0}' attribute must be a non-empty string.", attribute.key)), attribute.value.range, MarkerSeverity.Error));
512
513
  return undefined;
513
514
  }
514
515
  return await this.validateAgentValue(attribute.value, report);
@@ -523,7 +524,7 @@ let PromptValidator = class PromptValidator {
523
524
  availableAgents.push(agent.name.get());
524
525
  }
525
526
  const errorMessage = ( localize(
526
- 12852,
527
+ 15225,
527
528
  "Unknown agent '{0}'. Available agents: {1}.",
528
529
  value.value,
529
530
  availableAgents.join(", ")
@@ -538,7 +539,7 @@ let PromptValidator = class PromptValidator {
538
539
  }
539
540
  if (agentKind !== ChatModeKind.Agent) {
540
541
  report(toMarker(( localize(
541
- 12853,
542
+ 15226,
542
543
  "The 'tools' attribute is only supported when using agents. Attribute will be ignored."
543
544
  )), attribute.range, MarkerSeverity.Warning));
544
545
  }
@@ -548,7 +549,7 @@ let PromptValidator = class PromptValidator {
548
549
  }
549
550
  if (value.type !== "sequence") {
550
551
  report(toMarker(( localize(
551
- 12854,
552
+ 15227,
552
553
  "The 'tools' attribute must be an array or a comma separated string."
553
554
  )), attribute.value.range, MarkerSeverity.Error));
554
555
  return;
@@ -564,7 +565,7 @@ let PromptValidator = class PromptValidator {
564
565
  const deprecatedNames = this.languageModelToolsService.getDeprecatedFullReferenceNames();
565
566
  for (const item of valueItem.items) {
566
567
  if (item.type !== "scalar") {
567
- report(toMarker(( localize(12855, "Each tool name in the 'tools' attribute must be a string.")), item.range, MarkerSeverity.Error));
568
+ report(toMarker(( localize(15228, "Each tool name in the 'tools' attribute must be a string.")), item.range, MarkerSeverity.Error));
568
569
  } else if (item.value) {
569
570
  if (!( available.has(item.value))) {
570
571
  const currentNames = deprecatedNames.get(item.value);
@@ -572,7 +573,7 @@ let PromptValidator = class PromptValidator {
572
573
  if (currentNames?.size === 1) {
573
574
  const newName = Array.from(currentNames)[0];
574
575
  report(toMarker(( localize(
575
- 12856,
576
+ 15229,
576
577
  "Tool or toolset '{0}' has been renamed, use '{1}' instead.",
577
578
  item.value,
578
579
  newName
@@ -580,7 +581,7 @@ let PromptValidator = class PromptValidator {
580
581
  } else {
581
582
  const newNames = Array.from(currentNames).sort((a, b) => a.localeCompare(b)).join(", ");
582
583
  report(toMarker(( localize(
583
- 12857,
584
+ 15230,
584
585
  "Tool or toolset '{0}' has been renamed, use the following tools instead: {1}",
585
586
  item.value,
586
587
  newNames
@@ -610,22 +611,22 @@ let PromptValidator = class PromptValidator {
610
611
  const hasExtensionLikeName = splitBySlash[0].includes(".");
611
612
  if (slashCount >= 2) {
612
613
  return toMarker(( localize(
613
- 12858,
614
+ 15231,
614
615
  "Unknown tool '{0}'. It is likely to be a missing MCP server, please ensure it is installed and enabled.",
615
616
  toolReferenceName
616
617
  )), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownMcpServerReference);
617
618
  }
618
619
  if (hasExtensionLikeName) {
619
620
  return toMarker(( localize(
620
- 12859,
621
+ 15232,
621
622
  "Unknown extension tool '{0}'. It is likely to be a missing extension, please ensure it is installed and enabled.",
622
623
  toolReferenceName
623
624
  )), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownExtensionReference);
624
625
  }
625
626
  if (isVariableReference) {
626
- return toMarker(( localize(12860, "Unknown tool or toolset '{0}'.", toolReferenceName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownExtensionOrMcpServerReference);
627
+ return toMarker(( localize(15233, "Unknown tool or toolset '{0}'.", toolReferenceName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownExtensionOrMcpServerReference);
627
628
  } else {
628
- return toMarker(( localize(12861, "Unknown tool '{0}' will be ignored.", toolReferenceName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownExtensionOrMcpServerReference);
629
+ return toMarker(( localize(15234, "Unknown tool '{0}' will be ignored.", toolReferenceName)), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.UnknownExtensionOrMcpServerReference);
629
630
  }
630
631
  }
631
632
  getMissingGithubMcpServerMarker(toolReferenceName, range) {
@@ -633,7 +634,7 @@ let PromptValidator = class PromptValidator {
633
634
  return undefined;
634
635
  }
635
636
  return toMarker(( localize(
636
- 12862,
637
+ 15235,
637
638
  "Tool alias '{0}' requires the GitHub MCP server. Enable the built-in server with setting 'github.copilot.chat.githubMcpServer.enabled' or install extension 'io.github.github/github-mcp-server' from Extensions (`@mcp github`).",
638
639
  toolReferenceName
639
640
  )), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.MissingGithubMcpServer);
@@ -643,7 +644,7 @@ let PromptValidator = class PromptValidator {
643
644
  return undefined;
644
645
  }
645
646
  return toMarker(( localize(
646
- 12863,
647
+ 15236,
647
648
  "Tool alias '{0}' requires the Playwright MCP server. Install it from Extensions (`@mcp playwright`).",
648
649
  toolReferenceName
649
650
  )), range, MarkerSeverity.Hint, [MarkerTag.Unnecessary], PromptValidatorMarkerCode.MissingPlaywrightMcpServer);
@@ -654,25 +655,25 @@ let PromptValidator = class PromptValidator {
654
655
  return;
655
656
  }
656
657
  if (attribute.value.type !== "scalar") {
657
- report(toMarker(( localize(12864, "The 'applyTo' attribute must be a string.")), attribute.value.range, MarkerSeverity.Error));
658
+ report(toMarker(( localize(15237, "The 'applyTo' attribute must be a string.")), attribute.value.range, MarkerSeverity.Error));
658
659
  return;
659
660
  }
660
661
  const pattern = attribute.value.value;
661
662
  try {
662
663
  const patterns = splitGlobAware(pattern, ",");
663
664
  if (patterns.length === 0) {
664
- report(toMarker(( localize(12865, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
665
+ report(toMarker(( localize(15238, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
665
666
  return;
666
667
  }
667
668
  for (const pattern of patterns) {
668
669
  const globPattern = parse(pattern);
669
670
  if (isEmptyPattern(globPattern)) {
670
- report(toMarker(( localize(12865, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
671
+ report(toMarker(( localize(15238, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
671
672
  return;
672
673
  }
673
674
  }
674
675
  } catch (_error) {
675
- report(toMarker(( localize(12865, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
676
+ report(toMarker(( localize(15238, "The 'applyTo' attribute must be a valid glob pattern.")), attribute.value.range, MarkerSeverity.Error));
676
677
  }
677
678
  }
678
679
  validatePaths(attributes, report) {
@@ -681,26 +682,26 @@ let PromptValidator = class PromptValidator {
681
682
  return;
682
683
  }
683
684
  if (attribute.value.type !== "sequence") {
684
- report(toMarker(( localize(12866, "The 'paths' attribute must be an array of glob patterns.")), attribute.value.range, MarkerSeverity.Error));
685
+ report(toMarker(( localize(15239, "The 'paths' attribute must be an array of glob patterns.")), attribute.value.range, MarkerSeverity.Error));
685
686
  return;
686
687
  }
687
688
  for (const item of attribute.value.items) {
688
689
  if (item.type !== "scalar") {
689
- report(toMarker(( localize(12867, "Each entry in the 'paths' attribute must be a string.")), item.range, MarkerSeverity.Error));
690
+ report(toMarker(( localize(15240, "Each entry in the 'paths' attribute must be a string.")), item.range, MarkerSeverity.Error));
690
691
  continue;
691
692
  }
692
693
  const pattern = item.value.trim();
693
694
  if (pattern.length === 0) {
694
- report(toMarker(( localize(12868, "Path entries must be non-empty glob patterns.")), item.range, MarkerSeverity.Error));
695
+ report(toMarker(( localize(15241, "Path entries must be non-empty glob patterns.")), item.range, MarkerSeverity.Error));
695
696
  continue;
696
697
  }
697
698
  try {
698
699
  const globPattern = parse(pattern);
699
700
  if (isEmptyPattern(globPattern)) {
700
- report(toMarker(( localize(12869, "'{0}' is not a valid glob pattern.", pattern)), item.range, MarkerSeverity.Error));
701
+ report(toMarker(( localize(15242, "'{0}' is not a valid glob pattern.", pattern)), item.range, MarkerSeverity.Error));
701
702
  }
702
703
  } catch (_error) {
703
- report(toMarker(( localize(12869, "'{0}' is not a valid glob pattern.", pattern)), item.range, MarkerSeverity.Error));
704
+ report(toMarker(( localize(15242, "'{0}' is not a valid glob pattern.", pattern)), item.range, MarkerSeverity.Error));
704
705
  }
705
706
  }
706
707
  }
@@ -710,7 +711,7 @@ let PromptValidator = class PromptValidator {
710
711
  return;
711
712
  }
712
713
  if (attribute.value.type !== "sequence" && attribute.value.type !== "scalar") {
713
- report(toMarker(( localize(12870, "The 'excludeAgent' attribute must be an string or array.")), attribute.value.range, MarkerSeverity.Error));
714
+ report(toMarker(( localize(15243, "The 'excludeAgent' attribute must be an string or array.")), attribute.value.range, MarkerSeverity.Error));
714
715
  return;
715
716
  }
716
717
  }
@@ -721,7 +722,7 @@ let PromptValidator = class PromptValidator {
721
722
  }
722
723
  if (attribute.value.type !== "map") {
723
724
  report(toMarker(( localize(
724
- 12871,
725
+ 15244,
725
726
  "The 'hooks' attribute must be a map of hook event types to command arrays."
726
727
  )), attribute.value.range, MarkerSeverity.Error));
727
728
  return;
@@ -730,7 +731,7 @@ let PromptValidator = class PromptValidator {
730
731
  for (const prop of attribute.value.properties) {
731
732
  if (!( validHookNames.has(prop.key.value))) {
732
733
  report(toMarker(( localize(
733
- 12872,
734
+ 15245,
734
735
  "Unknown hook event type '{0}'. Supported: {1}.",
735
736
  prop.key.value,
736
737
  Array.from(validHookNames).join(", ")
@@ -738,7 +739,7 @@ let PromptValidator = class PromptValidator {
738
739
  }
739
740
  if (prop.value.type !== "sequence") {
740
741
  report(toMarker(( localize(
741
- 12873,
742
+ 15246,
742
743
  "Hook event '{0}' must have an array of command objects as its value.",
743
744
  prop.key.value
744
745
  )), prop.value.range, MarkerSeverity.Error));
@@ -751,19 +752,19 @@ let PromptValidator = class PromptValidator {
751
752
  }
752
753
  validateHookCommand(item, target, report) {
753
754
  if (item.type !== "map") {
754
- report(toMarker(( localize(12874, "Each hook command must be an object.")), item.range, MarkerSeverity.Error));
755
+ report(toMarker(( localize(15247, "Each hook command must be an object.")), item.range, MarkerSeverity.Error));
755
756
  return;
756
757
  }
757
758
  const hooksProperty = item.properties.find(p => p.key.value === "hooks");
758
759
  if (hooksProperty) {
759
760
  for (const prop of item.properties) {
760
761
  if (prop.key.value !== "hooks" && prop.key.value !== "matcher") {
761
- report(toMarker(( localize(12875, "Unknown property '{0}' in hook matcher.", prop.key.value)), prop.key.range, MarkerSeverity.Warning));
762
+ report(toMarker(( localize(15248, "Unknown property '{0}' in hook matcher.", prop.key.value)), prop.key.range, MarkerSeverity.Warning));
762
763
  }
763
764
  }
764
765
  if (hooksProperty.value.type !== "sequence") {
765
766
  report(toMarker(( localize(
766
- 12876,
767
+ 15249,
767
768
  "The 'hooks' property in a matcher must be an array of command objects."
768
769
  )), hooksProperty.value.range, MarkerSeverity.Error));
769
770
  return;
@@ -792,37 +793,37 @@ let PromptValidator = class PromptValidator {
792
793
  for (const prop of item.properties) {
793
794
  const key = prop.key.value;
794
795
  if (!( validProperties.has(key))) {
795
- report(toMarker(( localize(12877, "Unknown property '{0}' in hook command.", key)), prop.key.range, MarkerSeverity.Warning));
796
+ report(toMarker(( localize(15250, "Unknown property '{0}' in hook command.", key)), prop.key.range, MarkerSeverity.Warning));
796
797
  }
797
798
  if (key === "type") {
798
799
  hasType = true;
799
800
  if (prop.value.type !== "scalar" || prop.value.value !== "command") {
800
- report(toMarker(( localize(12878, "The 'type' property in a hook command must be 'command'.")), prop.value.range, MarkerSeverity.Error));
801
+ report(toMarker(( localize(15251, "The 'type' property in a hook command must be 'command'.")), prop.value.range, MarkerSeverity.Error));
801
802
  }
802
803
  } else if (( validCommandFields.has(key))) {
803
804
  hasCommandField = true;
804
805
  if (prop.value.type !== "scalar" || prop.value.value.trim().length === 0) {
805
806
  report(toMarker(( localize(
806
- 12879,
807
+ 15252,
807
808
  "The '{0}' property in a hook command must be a non-empty string.",
808
809
  key
809
810
  )), prop.value.range, MarkerSeverity.Error));
810
811
  }
811
812
  } else if (key === "cwd") {
812
813
  if (prop.value.type !== "scalar") {
813
- report(toMarker(( localize(12880, "The 'cwd' property in a hook command must be a string.")), prop.value.range, MarkerSeverity.Error));
814
+ report(toMarker(( localize(15253, "The 'cwd' property in a hook command must be a string.")), prop.value.range, MarkerSeverity.Error));
814
815
  }
815
816
  } else if (key === "env") {
816
817
  if (prop.value.type !== "map") {
817
818
  report(toMarker(( localize(
818
- 12881,
819
+ 15254,
819
820
  "The 'env' property in a hook command must be a map of string values."
820
821
  )), prop.value.range, MarkerSeverity.Error));
821
822
  } else {
822
823
  for (const envProp of prop.value.properties) {
823
824
  if (envProp.value.type !== "scalar") {
824
825
  report(toMarker(( localize(
825
- 12882,
826
+ 15255,
826
827
  "Environment variable '{0}' must have a string value.",
827
828
  envProp.key.value
828
829
  )), envProp.value.range, MarkerSeverity.Error));
@@ -831,19 +832,19 @@ let PromptValidator = class PromptValidator {
831
832
  }
832
833
  } else if (key === "timeout" || key === "timeoutSec") {
833
834
  if (prop.value.type !== "scalar" || isNaN(Number(prop.value.value))) {
834
- report(toMarker(( localize(12883, "The '{0}' property in a hook command must be a number.", key)), prop.value.range, MarkerSeverity.Error));
835
+ report(toMarker(( localize(15256, "The '{0}' property in a hook command must be a number.", key)), prop.value.range, MarkerSeverity.Error));
835
836
  }
836
837
  }
837
838
  }
838
839
  if (!hasType) {
839
- report(toMarker(( localize(12884, "Hook command is missing required property 'type'.")), item.range, MarkerSeverity.Error));
840
+ report(toMarker(( localize(15257, "Hook command is missing required property 'type'.")), item.range, MarkerSeverity.Error));
840
841
  }
841
842
  if (!hasCommandField) {
842
843
  if (isCopilotCli) {
843
- report(toMarker(( localize(12885, "Hook command must specify at least one of 'bash' or 'powershell'.")), item.range, MarkerSeverity.Error));
844
+ report(toMarker(( localize(15258, "Hook command must specify at least one of 'bash' or 'powershell'.")), item.range, MarkerSeverity.Error));
844
845
  } else {
845
846
  report(toMarker(( localize(
846
- 12886,
847
+ 15259,
847
848
  "Hook command must specify at least one of 'command', 'windows', 'linux', or 'osx'."
848
849
  )), item.range, MarkerSeverity.Error));
849
850
  }
@@ -855,14 +856,14 @@ let PromptValidator = class PromptValidator {
855
856
  return;
856
857
  }
857
858
  if (attribute.value.type !== "sequence") {
858
- report(toMarker(( localize(12887, "The 'handoffs' attribute must be an array.")), attribute.value.range, MarkerSeverity.Error));
859
+ report(toMarker(( localize(15260, "The 'handoffs' attribute must be an array.")), attribute.value.range, MarkerSeverity.Error));
859
860
  return;
860
861
  }
861
862
  const seenLabels = ( new Map());
862
863
  for (const item of attribute.value.items) {
863
864
  if (item.type !== "map") {
864
865
  report(toMarker(( localize(
865
- 12888,
866
+ 15261,
866
867
  "Each handoff in the 'handoffs' attribute must be an object with 'label', 'agent', 'prompt' and optional 'send'."
867
868
  )), item.range, MarkerSeverity.Error));
868
869
  continue;
@@ -872,44 +873,44 @@ let PromptValidator = class PromptValidator {
872
873
  switch (prop.key.value) {
873
874
  case "label":
874
875
  if (prop.value.type !== "scalar" || prop.value.value.trim().length === 0) {
875
- report(toMarker(( localize(12889, "The 'label' property in a handoff must be a non-empty string.")), prop.value.range, MarkerSeverity.Error));
876
+ report(toMarker(( localize(15262, "The 'label' property in a handoff must be a non-empty string.")), prop.value.range, MarkerSeverity.Error));
876
877
  } else if (!/[a-zA-Z0-9]/.test(prop.value.value)) {
877
878
  report(toMarker(( localize(
878
- 12890,
879
+ 15263,
879
880
  "The 'label' property in a handoff must contain at least one alphanumeric character."
880
881
  )), prop.value.range, MarkerSeverity.Error));
881
882
  }
882
883
  break;
883
884
  case "agent":
884
885
  if (prop.value.type !== "scalar" || prop.value.value.trim().length === 0) {
885
- report(toMarker(( localize(12891, "The 'agent' property in a handoff must be a non-empty string.")), prop.value.range, MarkerSeverity.Error));
886
+ report(toMarker(( localize(15264, "The 'agent' property in a handoff must be a non-empty string.")), prop.value.range, MarkerSeverity.Error));
886
887
  } else {
887
888
  this.validateAgentValue(prop.value, report);
888
889
  }
889
890
  break;
890
891
  case "prompt":
891
892
  if (prop.value.type !== "scalar") {
892
- report(toMarker(( localize(12892, "The 'prompt' property in a handoff must be a string.")), prop.value.range, MarkerSeverity.Error));
893
+ report(toMarker(( localize(15265, "The 'prompt' property in a handoff must be a string.")), prop.value.range, MarkerSeverity.Error));
893
894
  }
894
895
  break;
895
896
  case "send":
896
897
  if (!isTrueOrFalse(prop.value)) {
897
- report(toMarker(( localize(12893, "The 'send' property in a handoff must be a boolean.")), prop.value.range, MarkerSeverity.Error));
898
+ report(toMarker(( localize(15266, "The 'send' property in a handoff must be a boolean.")), prop.value.range, MarkerSeverity.Error));
898
899
  }
899
900
  break;
900
901
  case "showContinueOn":
901
902
  if (!isTrueOrFalse(prop.value)) {
902
- report(toMarker(( localize(12894, "The 'showContinueOn' property in a handoff must be a boolean.")), prop.value.range, MarkerSeverity.Error));
903
+ report(toMarker(( localize(15267, "The 'showContinueOn' property in a handoff must be a boolean.")), prop.value.range, MarkerSeverity.Error));
903
904
  }
904
905
  break;
905
906
  case "model":
906
907
  if (prop.value.type !== "scalar") {
907
- report(toMarker(( localize(12895, "The 'model' property in a handoff must be a string.")), prop.value.range, MarkerSeverity.Error));
908
+ report(toMarker(( localize(15268, "The 'model' property in a handoff must be a string.")), prop.value.range, MarkerSeverity.Error));
908
909
  }
909
910
  break;
910
911
  default:
911
912
  report(toMarker(( localize(
912
- 12896,
913
+ 15269,
913
914
  "Unknown property '{0}' in handoff object. Supported properties are 'label', 'agent', 'prompt' and optional 'send', 'showContinueOn', 'model'.",
914
915
  prop.key.value
915
916
  )), prop.value.range, MarkerSeverity.Warning));
@@ -918,7 +919,7 @@ let PromptValidator = class PromptValidator {
918
919
  }
919
920
  if (required.size > 0) {
920
921
  report(toMarker(( localize(
921
- 12897,
922
+ 15270,
922
923
  "Missing required properties {0} in handoff object.",
923
924
  Array.from(required).map(s => `'${s}'`).join(", ")
924
925
  )), item.range, MarkerSeverity.Error));
@@ -928,7 +929,7 @@ let PromptValidator = class PromptValidator {
928
929
  const normalizedLabel = labelProp.value.value.toLowerCase();
929
930
  if (normalizedLabel && ( seenLabels.has(normalizedLabel))) {
930
931
  report(toMarker(( localize(
931
- 12898,
932
+ 15271,
932
933
  "Duplicate handoff label '{0}'. Each handoff must have a unique label.",
933
934
  labelProp.value.value
934
935
  )), labelProp.value.range, MarkerSeverity.Error));
@@ -944,7 +945,7 @@ let PromptValidator = class PromptValidator {
944
945
  return;
945
946
  }
946
947
  report(toMarker(( localize(
947
- 12899,
948
+ 15272,
948
949
  "The 'infer' attribute is deprecated in favour of 'user-invocable' and 'disable-model-invocation'."
949
950
  )), attribute.value.range, MarkerSeverity.Error));
950
951
  }
@@ -954,18 +955,18 @@ let PromptValidator = class PromptValidator {
954
955
  return;
955
956
  }
956
957
  if (attribute.value.type !== "scalar") {
957
- report(toMarker(( localize(12900, "The 'target' attribute must be a string.")), attribute.value.range, MarkerSeverity.Error));
958
+ report(toMarker(( localize(15273, "The 'target' attribute must be a string.")), attribute.value.range, MarkerSeverity.Error));
958
959
  return;
959
960
  }
960
961
  const targetValue = attribute.value.value.trim();
961
962
  if (targetValue.length === 0) {
962
- report(toMarker(( localize(12901, "The 'target' attribute must be a non-empty string.")), attribute.value.range, MarkerSeverity.Error));
963
+ report(toMarker(( localize(15274, "The 'target' attribute must be a non-empty string.")), attribute.value.range, MarkerSeverity.Error));
963
964
  return;
964
965
  }
965
966
  const validTargets = ["github-copilot", "vscode"];
966
967
  if (!validTargets.includes(targetValue)) {
967
968
  report(toMarker(( localize(
968
- 12902,
969
+ 15275,
969
970
  "The 'target' attribute must be one of: {0}.",
970
971
  validTargets.join(", ")
971
972
  )), attribute.value.range, MarkerSeverity.Error));
@@ -977,7 +978,7 @@ let PromptValidator = class PromptValidator {
977
978
  return;
978
979
  }
979
980
  if (!isTrueOrFalse(attribute.value)) {
980
- report(toMarker(( localize(12903, "The 'user-invocable' attribute must be 'true' or 'false'.")), attribute.value.range, MarkerSeverity.Error));
981
+ report(toMarker(( localize(15276, "The 'user-invocable' attribute must be 'true' or 'false'.")), attribute.value.range, MarkerSeverity.Error));
981
982
  return;
982
983
  }
983
984
  }
@@ -988,7 +989,7 @@ let PromptValidator = class PromptValidator {
988
989
  }
989
990
  if (!isTrueOrFalse(attribute.value)) {
990
991
  report(toMarker(( localize(
991
- 12904,
992
+ 15277,
992
993
  "The 'disable-model-invocation' attribute must be 'true' or 'false'."
993
994
  )), attribute.value.range, MarkerSeverity.Error));
994
995
  return;
@@ -1000,7 +1001,7 @@ let PromptValidator = class PromptValidator {
1000
1001
  return;
1001
1002
  }
1002
1003
  if (attribute.value.type !== "sequence") {
1003
- report(toMarker(( localize(12905, "The 'agents' attribute must be an array.")), attribute.value.range, MarkerSeverity.Error));
1004
+ report(toMarker(( localize(15278, "The 'agents' attribute must be an array.")), attribute.value.range, MarkerSeverity.Error));
1004
1005
  return;
1005
1006
  }
1006
1007
  const agents = (await this.promptsService.getCustomAgents(CancellationToken.None)).filter(a => a.enabled);
@@ -1009,12 +1010,12 @@ let PromptValidator = class PromptValidator {
1009
1010
  const agentNames = [];
1010
1011
  for (const item of attribute.value.items) {
1011
1012
  if (item.type !== "scalar") {
1012
- report(toMarker(( localize(12906, "Each agent name in the 'agents' attribute must be a string.")), item.range, MarkerSeverity.Error));
1013
+ report(toMarker(( localize(15279, "Each agent name in the 'agents' attribute must be a string.")), item.range, MarkerSeverity.Error));
1013
1014
  } else if (item.value) {
1014
1015
  agentNames.push(item.value);
1015
1016
  if (item.value !== "*" && !( availableAgentNames.has(item.value))) {
1016
1017
  report(toMarker(( localize(
1017
- 12907,
1018
+ 15280,
1018
1019
  "Unknown agent '{0}' will be ignored. Available agents: {1}.",
1019
1020
  item.value,
1020
1021
  Array.from(availableAgentNames).join(", ")
@@ -1026,7 +1027,7 @@ let PromptValidator = class PromptValidator {
1026
1027
  const tools = header.tools;
1027
1028
  if (tools && !tools.includes(SpecedToolAliases.agent)) {
1028
1029
  report(toMarker(( localize(
1029
- 12908,
1030
+ 15281,
1030
1031
  "When 'agents' and 'tools' are specified, the 'agent' tool must be included in the 'tools' attribute."
1031
1032
  )), attribute.value.range, MarkerSeverity.Warning));
1032
1033
  }
@@ -1038,20 +1039,20 @@ let PromptValidator = class PromptValidator {
1038
1039
  return;
1039
1040
  }
1040
1041
  if (attribute.value.type !== "map") {
1041
- report(toMarker(( localize(12909, "The 'github' attribute must be an object.")), attribute.value.range, MarkerSeverity.Error));
1042
+ report(toMarker(( localize(15282, "The 'github' attribute must be an object.")), attribute.value.range, MarkerSeverity.Error));
1042
1043
  return;
1043
1044
  }
1044
1045
  for (const prop of attribute.value.properties) {
1045
1046
  if (prop.key.value !== "permissions") {
1046
1047
  report(toMarker(( localize(
1047
- 12910,
1048
+ 15283,
1048
1049
  "Unknown property '{0}' in 'github' object. Supported: 'permissions'.",
1049
1050
  prop.key.value
1050
1051
  )), prop.key.range, MarkerSeverity.Warning));
1051
1052
  continue;
1052
1053
  }
1053
1054
  if (prop.value.type !== "map") {
1054
- report(toMarker(( localize(12911, "The 'permissions' property must be an object.")), prop.value.range, MarkerSeverity.Error));
1055
+ report(toMarker(( localize(15284, "The 'permissions' property must be an object.")), prop.value.range, MarkerSeverity.Error));
1055
1056
  continue;
1056
1057
  }
1057
1058
  for (const permProp of prop.value.properties) {
@@ -1060,7 +1061,7 @@ let PromptValidator = class PromptValidator {
1060
1061
  if (!scopeInfo) {
1061
1062
  const validScopes = ( Object.keys(githubPermissionScopes)).sort().join(", ");
1062
1063
  report(toMarker(( localize(
1063
- 12912,
1064
+ 15285,
1064
1065
  "Unknown permission scope '{0}'. Valid scopes: {1}.",
1065
1066
  scope,
1066
1067
  validScopes
@@ -1068,13 +1069,13 @@ let PromptValidator = class PromptValidator {
1068
1069
  continue;
1069
1070
  }
1070
1071
  if (permProp.value.type !== "scalar") {
1071
- report(toMarker(( localize(12913, "The permission value for '{0}' must be a string.", scope)), permProp.value.range, MarkerSeverity.Error));
1072
+ report(toMarker(( localize(15286, "The permission value for '{0}' must be a string.", scope)), permProp.value.range, MarkerSeverity.Error));
1072
1073
  continue;
1073
1074
  }
1074
1075
  const value = permProp.value.value;
1075
1076
  if (!scopeInfo.allowedValues.includes(value)) {
1076
1077
  report(toMarker(( localize(
1077
- 12914,
1078
+ 15287,
1078
1079
  "Invalid permission value '{0}' for scope '{1}'. Allowed values: {2}.",
1079
1080
  value,
1080
1081
  scope,
@@ -1089,39 +1090,39 @@ PromptValidator = ( __decorate([( __param(0, ILanguageModelsService)), ( __param
1089
1090
  const githubPermissionScopes = {
1090
1091
  "actions": {
1091
1092
  allowedValues: ["read", "write", "none"],
1092
- description: ( localize(12915, "Access to GitHub Actions workflows and runs"))
1093
+ description: ( localize(15288, "Access to GitHub Actions workflows and runs"))
1093
1094
  },
1094
1095
  "checks": {
1095
1096
  allowedValues: ["read", "none"],
1096
- description: ( localize(12916, "Access to check runs and statuses"))
1097
+ description: ( localize(15289, "Access to check runs and statuses"))
1097
1098
  },
1098
1099
  "contents": {
1099
1100
  allowedValues: ["read", "write", "none"],
1100
- description: ( localize(12917, "Access to repository contents (files, commits, branches)"))
1101
+ description: ( localize(15290, "Access to repository contents (files, commits, branches)"))
1101
1102
  },
1102
1103
  "discussions": {
1103
1104
  allowedValues: ["read", "write", "none"],
1104
- description: ( localize(12918, "Access to discussions"))
1105
+ description: ( localize(15291, "Access to discussions"))
1105
1106
  },
1106
1107
  "issues": {
1107
1108
  allowedValues: ["read", "write", "none"],
1108
- description: ( localize(12919, "Access to issues (read, create, update, comment)"))
1109
+ description: ( localize(15292, "Access to issues (read, create, update, comment)"))
1109
1110
  },
1110
1111
  "metadata": {
1111
1112
  allowedValues: ["read"],
1112
- description: ( localize(12920, "Repository metadata (always read-only)"))
1113
+ description: ( localize(15293, "Repository metadata (always read-only)"))
1113
1114
  },
1114
1115
  "pull-requests": {
1115
1116
  allowedValues: ["read", "write", "none"],
1116
- description: ( localize(12921, "Access to pull requests (read, create, update, review)"))
1117
+ description: ( localize(15294, "Access to pull requests (read, create, update, review)"))
1117
1118
  },
1118
1119
  "security-events": {
1119
1120
  allowedValues: ["read", "none"],
1120
- description: ( localize(12922, "Access to security-related events"))
1121
+ description: ( localize(15295, "Access to security-related events"))
1121
1122
  },
1122
1123
  "workflows": {
1123
1124
  allowedValues: ["write", "none"],
1124
- description: ( localize(12923, "Access to modify workflow files"))
1125
+ description: ( localize(15296, "Access to modify workflow files"))
1125
1126
  }
1126
1127
  };
1127
1128
  function isTrueOrFalse(value) {
@@ -1212,91 +1213,91 @@ function isNonRecommendedAttribute(attributeName) {
1212
1213
  }
1213
1214
  const knownClaudeTools = [{
1214
1215
  name: "Bash",
1215
- description: ( localize(12924, "Execute shell commands")),
1216
+ description: ( localize(15297, "Execute shell commands")),
1216
1217
  toolEquivalent: [SpecedToolAliases.execute]
1217
1218
  }, {
1218
1219
  name: "Edit",
1219
- description: ( localize(12925, "Make targeted file edits")),
1220
+ description: ( localize(15298, "Make targeted file edits")),
1220
1221
  toolEquivalent: ["edit/editNotebook", "edit/editFiles"]
1221
1222
  }, {
1222
1223
  name: "Glob",
1223
- description: ( localize(12926, "Find files by pattern")),
1224
+ description: ( localize(15299, "Find files by pattern")),
1224
1225
  toolEquivalent: ["search/fileSearch"]
1225
1226
  }, {
1226
1227
  name: "Grep",
1227
- description: ( localize(12927, "Search file contents with regex")),
1228
+ description: ( localize(15300, "Search file contents with regex")),
1228
1229
  toolEquivalent: ["search/textSearch"]
1229
1230
  }, {
1230
1231
  name: "Read",
1231
- description: ( localize(12928, "Read file contents")),
1232
+ description: ( localize(15301, "Read file contents")),
1232
1233
  toolEquivalent: ["read/readFile", "read/getNotebookSummary"]
1233
1234
  }, {
1234
1235
  name: "Write",
1235
- description: ( localize(12929, "Create/overwrite files")),
1236
+ description: ( localize(15302, "Create/overwrite files")),
1236
1237
  toolEquivalent: ["edit/createDirectory", "edit/createFile", "edit/createJupyterNotebook"]
1237
1238
  }, {
1238
1239
  name: "WebFetch",
1239
- description: ( localize(12930, "Fetch URL content")),
1240
+ description: ( localize(15303, "Fetch URL content")),
1240
1241
  toolEquivalent: [SpecedToolAliases.web]
1241
1242
  }, {
1242
1243
  name: "WebSearch",
1243
- description: ( localize(12931, "Perform web searches")),
1244
+ description: ( localize(15304, "Perform web searches")),
1244
1245
  toolEquivalent: [SpecedToolAliases.web]
1245
1246
  }, {
1246
1247
  name: "Task",
1247
- description: ( localize(12932, "Run subagents for complex tasks")),
1248
+ description: ( localize(15305, "Run subagents for complex tasks")),
1248
1249
  toolEquivalent: [SpecedToolAliases.agent]
1249
1250
  }, {
1250
1251
  name: "Skill",
1251
- description: ( localize(12933, "Execute skills")),
1252
+ description: ( localize(15306, "Execute skills")),
1252
1253
  toolEquivalent: []
1253
1254
  }, {
1254
1255
  name: "LSP",
1255
- description: ( localize(12934, "Code intelligence (requires plugin)")),
1256
+ description: ( localize(15307, "Code intelligence (requires plugin)")),
1256
1257
  toolEquivalent: []
1257
1258
  }, {
1258
1259
  name: "NotebookEdit",
1259
- description: ( localize(12935, "Modify Jupyter notebooks")),
1260
+ description: ( localize(15308, "Modify Jupyter notebooks")),
1260
1261
  toolEquivalent: ["edit/editNotebook"]
1261
1262
  }, {
1262
1263
  name: "AskUserQuestion",
1263
- description: ( localize(12936, "Ask multiple-choice questions")),
1264
+ description: ( localize(15309, "Ask multiple-choice questions")),
1264
1265
  toolEquivalent: ["vscode/askQuestions"]
1265
1266
  }, {
1266
1267
  name: "MCPSearch",
1267
- description: ( localize(12937, "Searches for MCP tools when tool search is enabled")),
1268
+ description: ( localize(15310, "Searches for MCP tools when tool search is enabled")),
1268
1269
  toolEquivalent: []
1269
1270
  }];
1270
1271
  const knownClaudeModels = [{
1271
1272
  name: "sonnet",
1272
- description: ( localize(12938, "Latest Claude Sonnet")),
1273
+ description: ( localize(15311, "Latest Claude Sonnet")),
1273
1274
  modelEquivalent: "Claude Sonnet 4.5 (copilot)"
1274
1275
  }, {
1275
1276
  name: "opus",
1276
- description: ( localize(12939, "Latest Claude Opus")),
1277
+ description: ( localize(15312, "Latest Claude Opus")),
1277
1278
  modelEquivalent: "Claude Opus 4.6 (copilot)"
1278
1279
  }, {
1279
1280
  name: "haiku",
1280
- description: ( localize(12940, "Latest Claude Haiku, fast for simple tasks")),
1281
+ description: ( localize(15313, "Latest Claude Haiku, fast for simple tasks")),
1281
1282
  modelEquivalent: "Claude Haiku 4.5 (copilot)"
1282
1283
  }, {
1283
1284
  name: "inherit",
1284
- description: ( localize(12941, "Inherit model from parent agent or prompt")),
1285
+ description: ( localize(15314, "Inherit model from parent agent or prompt")),
1285
1286
  modelEquivalent: undefined
1286
1287
  }];
1287
1288
  const claudeAgentAttributes = {
1288
1289
  "name": {
1289
1290
  type: "scalar",
1290
- description: ( localize(12942, "Unique identifier using lowercase letters and hyphens (required)"))
1291
+ description: ( localize(15315, "Unique identifier using lowercase letters and hyphens (required)"))
1291
1292
  },
1292
1293
  "description": {
1293
1294
  type: "scalar",
1294
- description: ( localize(12943, "When to delegate to this subagent (required)"))
1295
+ description: ( localize(15316, "When to delegate to this subagent (required)"))
1295
1296
  },
1296
1297
  "tools": {
1297
1298
  type: "sequence",
1298
1299
  description: ( localize(
1299
- 12944,
1300
+ 15317,
1300
1301
  "Array of tools the subagent can use. Inherits all tools if omitted"
1301
1302
  )),
1302
1303
  defaults: ["Read, Edit, Bash"],
@@ -1304,14 +1305,14 @@ const claudeAgentAttributes = {
1304
1305
  },
1305
1306
  "disallowedTools": {
1306
1307
  type: "sequence",
1307
- description: ( localize(12945, "Tools to deny, removed from inherited or specified list")),
1308
+ description: ( localize(15318, "Tools to deny, removed from inherited or specified list")),
1308
1309
  defaults: ["Write, Edit, Bash"],
1309
1310
  items: knownClaudeTools
1310
1311
  },
1311
1312
  "model": {
1312
1313
  type: "scalar",
1313
1314
  description: ( localize(
1314
- 12946,
1315
+ 15319,
1315
1316
  "Model to use: sonnet, opus, haiku, or inherit. Defaults to inherit."
1316
1317
  )),
1317
1318
  defaults: ["sonnet", "opus", "haiku", "inherit"],
@@ -1320,77 +1321,77 @@ const claudeAgentAttributes = {
1320
1321
  "permissionMode": {
1321
1322
  type: "scalar",
1322
1323
  description: ( localize(
1323
- 12947,
1324
+ 15320,
1324
1325
  "Permission mode: default, acceptEdits, dontAsk, bypassPermissions, or plan."
1325
1326
  )),
1326
1327
  defaults: ["default", "acceptEdits", "dontAsk", "bypassPermissions", "plan"],
1327
1328
  enums: [{
1328
1329
  name: "default",
1329
1330
  description: ( localize(
1330
- 12948,
1331
+ 15321,
1331
1332
  "Standard behavior: prompts for permission on first use of each tool."
1332
1333
  ))
1333
1334
  }, {
1334
1335
  name: "acceptEdits",
1335
- description: ( localize(12949, "Automatically accepts file edit permissions for the session."))
1336
+ description: ( localize(15322, "Automatically accepts file edit permissions for the session."))
1336
1337
  }, {
1337
1338
  name: "plan",
1338
1339
  description: ( localize(
1339
- 12950,
1340
+ 15323,
1340
1341
  "Plan Mode: Claude can analyze but not modify files or execute commands."
1341
1342
  ))
1342
1343
  }, {
1343
1344
  name: "delegate",
1344
1345
  description: ( localize(
1345
- 12951,
1346
+ 15324,
1346
1347
  "Coordination-only mode for agent team leads. Only available when an agent team is active."
1347
1348
  ))
1348
1349
  }, {
1349
1350
  name: "dontAsk",
1350
1351
  description: ( localize(
1351
- 12952,
1352
+ 15325,
1352
1353
  "Auto-denies tools unless pre-approved via /permissions or permissions.allow rules."
1353
1354
  ))
1354
1355
  }, {
1355
1356
  name: "bypassPermissions",
1356
1357
  description: ( localize(
1357
- 12953,
1358
+ 15326,
1358
1359
  "Skips all permission prompts (requires safe environment like containers)."
1359
1360
  ))
1360
1361
  }]
1361
1362
  },
1362
1363
  "skills": {
1363
1364
  type: "sequence",
1364
- description: ( localize(12954, "Skills to load into the subagent's context at startup."))
1365
+ description: ( localize(15327, "Skills to load into the subagent's context at startup."))
1365
1366
  },
1366
1367
  "mcpServers": {
1367
1368
  type: "sequence",
1368
- description: ( localize(12955, "MCP servers available to this subagent."))
1369
+ description: ( localize(15328, "MCP servers available to this subagent."))
1369
1370
  },
1370
1371
  "hooks": {
1371
1372
  type: "object",
1372
- description: ( localize(12956, "Lifecycle hooks scoped to this subagent."))
1373
+ description: ( localize(15329, "Lifecycle hooks scoped to this subagent."))
1373
1374
  },
1374
1375
  "memory": {
1375
1376
  type: "scalar",
1376
1377
  description: ( localize(
1377
- 12957,
1378
+ 15330,
1378
1379
  "Persistent memory scope: user, project, or local. Enables cross-session learning."
1379
1380
  )),
1380
1381
  defaults: ["user", "project", "local"],
1381
1382
  enums: [{
1382
1383
  name: "user",
1383
- description: ( localize(12958, "Remember learnings across all projects."))
1384
+ description: ( localize(15331, "Remember learnings across all projects."))
1384
1385
  }, {
1385
1386
  name: "project",
1386
1387
  description: ( localize(
1387
- 12959,
1388
+ 15332,
1388
1389
  "The subagent's knowledge is project-specific and shareable via version control."
1389
1390
  ))
1390
1391
  }, {
1391
1392
  name: "local",
1392
1393
  description: ( localize(
1393
- 12960,
1394
+ 15333,
1394
1395
  "The subagent's knowledge is project-specific but should not be checked into version control."
1395
1396
  ))
1396
1397
  }]
@@ -1400,14 +1401,14 @@ const claudeRulesAttributes = {
1400
1401
  "description": {
1401
1402
  type: "scalar",
1402
1403
  description: ( localize(
1403
- 12961,
1404
+ 15334,
1404
1405
  "A description of what this rule covers, used to provide context about when it applies."
1405
1406
  ))
1406
1407
  },
1407
1408
  "paths": {
1408
1409
  type: "sequence",
1409
1410
  description: ( localize(
1410
- 12962,
1411
+ 15335,
1411
1412
  "Array of glob patterns that describe for which files the rule applies. Based on these patterns, the file is automatically included in the prompt when the context contains a file that matches.\nExample: `['src/**/*.ts', 'test/**']`"
1412
1413
  ))
1413
1414
  }