@vscode/chat-lib 0.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 (1561) hide show
  1. package/LICENSE.txt +21 -0
  2. package/README.md +13 -0
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts +32 -0
  4. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -0
  5. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +159 -0
  6. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -0
  7. package/dist/src/_internal/extension/common/constants.d.ts +37 -0
  8. package/dist/src/_internal/extension/common/constants.d.ts.map +1 -0
  9. package/dist/src/_internal/extension/common/constants.js +59 -0
  10. package/dist/src/_internal/extension/common/constants.js.map +1 -0
  11. package/dist/src/_internal/extension/inlineEdits/common/delayer.d.ts +24 -0
  12. package/dist/src/_internal/extension/inlineEdits/common/delayer.d.ts.map +1 -0
  13. package/dist/src/_internal/extension/inlineEdits/common/delayer.js +100 -0
  14. package/dist/src/_internal/extension/inlineEdits/common/delayer.js.map +1 -0
  15. package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts +19 -0
  16. package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts.map +1 -0
  17. package/dist/src/_internal/extension/inlineEdits/common/editRebase.js +275 -0
  18. package/dist/src/_internal/extension/inlineEdits/common/editRebase.js.map +1 -0
  19. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts +16 -0
  20. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts.map +1 -0
  21. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js +147 -0
  22. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js.map +1 -0
  23. package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.d.ts +47 -0
  24. package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.d.ts.map +1 -0
  25. package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.js +189 -0
  26. package/dist/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.js.map +1 -0
  27. package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.d.ts +15 -0
  28. package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.d.ts.map +1 -0
  29. package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.js +137 -0
  30. package/dist/src/_internal/extension/inlineEdits/common/rejectionCollector.js.map +1 -0
  31. package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.d.ts +18 -0
  32. package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.d.ts.map +1 -0
  33. package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.js +156 -0
  34. package/dist/src/_internal/extension/inlineEdits/node/debugRecorder.js.map +1 -0
  35. package/dist/src/_internal/extension/inlineEdits/node/importFiltering.d.ts +7 -0
  36. package/dist/src/_internal/extension/inlineEdits/node/importFiltering.d.ts.map +1 -0
  37. package/dist/src/_internal/extension/inlineEdits/node/importFiltering.js +24 -0
  38. package/dist/src/_internal/extension/inlineEdits/node/importFiltering.js.map +1 -0
  39. package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts +8 -0
  40. package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts.map +1 -0
  41. package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.js +7 -0
  42. package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.js.map +1 -0
  43. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +47 -0
  44. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -0
  45. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js +230 -0
  46. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js.map +1 -0
  47. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts +73 -0
  48. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -0
  49. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +629 -0
  50. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -0
  51. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts +241 -0
  52. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -0
  53. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +680 -0
  54. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -0
  55. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +38 -0
  56. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -0
  57. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js +16 -0
  58. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -0
  59. package/dist/src/_internal/extension/prompt/common/importStatement.d.ts +2 -0
  60. package/dist/src/_internal/extension/prompt/common/importStatement.d.ts.map +1 -0
  61. package/dist/src/_internal/extension/prompt/common/importStatement.js +28 -0
  62. package/dist/src/_internal/extension/prompt/common/importStatement.js.map +1 -0
  63. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +62 -0
  64. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -0
  65. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +639 -0
  66. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -0
  67. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts +42 -0
  68. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts.map +1 -0
  69. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js +125 -0
  70. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js.map +1 -0
  71. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts +60 -0
  72. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts.map +1 -0
  73. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js +416 -0
  74. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js.map +1 -0
  75. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts +30 -0
  76. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts.map +1 -0
  77. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js +64 -0
  78. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js.map +1 -0
  79. package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts +26 -0
  80. package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts.map +1 -0
  81. package/dist/src/_internal/extension/prompts/node/inline/visualization.js +41 -0
  82. package/dist/src/_internal/extension/prompts/node/inline/visualization.js.map +1 -0
  83. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +51 -0
  84. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -0
  85. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +517 -0
  86. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -0
  87. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts +23 -0
  88. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts.map +1 -0
  89. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js +96 -0
  90. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js.map +1 -0
  91. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +75 -0
  92. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -0
  93. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +796 -0
  94. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -0
  95. package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts +8 -0
  96. package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts.map +1 -0
  97. package/dist/src/_internal/extension/xtab/node/xtabUtils.js +55 -0
  98. package/dist/src/_internal/extension/xtab/node/xtabUtils.js.map +1 -0
  99. package/dist/src/_internal/platform/authentication/common/authentication.d.ts +145 -0
  100. package/dist/src/_internal/platform/authentication/common/authentication.d.ts.map +1 -0
  101. package/dist/src/_internal/platform/authentication/common/authentication.js +156 -0
  102. package/dist/src/_internal/platform/authentication/common/authentication.js.map +1 -0
  103. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts +190 -0
  104. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts.map +1 -0
  105. package/dist/src/_internal/platform/authentication/common/copilotToken.js +181 -0
  106. package/dist/src/_internal/platform/authentication/common/copilotToken.js.map +1 -0
  107. package/dist/src/_internal/platform/authentication/common/copilotTokenManager.d.ts +50 -0
  108. package/dist/src/_internal/platform/authentication/common/copilotTokenManager.d.ts.map +1 -0
  109. package/dist/src/_internal/platform/authentication/common/copilotTokenManager.js +14 -0
  110. package/dist/src/_internal/platform/authentication/common/copilotTokenManager.js.map +1 -0
  111. package/dist/src/_internal/platform/authentication/common/copilotTokenStore.d.ts +23 -0
  112. package/dist/src/_internal/platform/authentication/common/copilotTokenStore.d.ts.map +1 -0
  113. package/dist/src/_internal/platform/authentication/common/copilotTokenStore.js +30 -0
  114. package/dist/src/_internal/platform/authentication/common/copilotTokenStore.js.map +1 -0
  115. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +23 -0
  116. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -0
  117. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js +92 -0
  118. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -0
  119. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts +80 -0
  120. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -0
  121. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +274 -0
  122. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -0
  123. package/dist/src/_internal/platform/chat/common/chatMLFetcher.d.ts +48 -0
  124. package/dist/src/_internal/platform/chat/common/chatMLFetcher.d.ts.map +1 -0
  125. package/dist/src/_internal/platform/chat/common/chatMLFetcher.js +77 -0
  126. package/dist/src/_internal/platform/chat/common/chatMLFetcher.js.map +1 -0
  127. package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts +54 -0
  128. package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts.map +1 -0
  129. package/dist/src/_internal/platform/chat/common/chatQuotaService.js +10 -0
  130. package/dist/src/_internal/platform/chat/common/chatQuotaService.js.map +1 -0
  131. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts +16 -0
  132. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts.map +1 -0
  133. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js +99 -0
  134. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js.map +1 -0
  135. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +264 -0
  136. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -0
  137. package/dist/src/_internal/platform/chat/common/commonTypes.js +299 -0
  138. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -0
  139. package/dist/src/_internal/platform/chat/common/conversationOptions.d.ts +9 -0
  140. package/dist/src/_internal/platform/chat/common/conversationOptions.d.ts.map +1 -0
  141. package/dist/src/_internal/platform/chat/common/conversationOptions.js +10 -0
  142. package/dist/src/_internal/platform/chat/common/conversationOptions.js.map +1 -0
  143. package/dist/src/_internal/platform/chat/common/globalStringUtils.d.ts +10 -0
  144. package/dist/src/_internal/platform/chat/common/globalStringUtils.d.ts.map +1 -0
  145. package/dist/src/_internal/platform/chat/common/globalStringUtils.js +52 -0
  146. package/dist/src/_internal/platform/chat/common/globalStringUtils.js.map +1 -0
  147. package/dist/src/_internal/platform/chat/common/interactionService.d.ts +18 -0
  148. package/dist/src/_internal/platform/chat/common/interactionService.d.ts.map +1 -0
  149. package/dist/src/_internal/platform/chat/common/interactionService.js +28 -0
  150. package/dist/src/_internal/platform/chat/common/interactionService.js.map +1 -0
  151. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +513 -0
  152. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -0
  153. package/dist/src/_internal/platform/configuration/common/configurationService.js +529 -0
  154. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -0
  155. package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.d.ts +15 -0
  156. package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.d.ts.map +1 -0
  157. package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js +33 -0
  158. package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js.map +1 -0
  159. package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts +94 -0
  160. package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts.map +1 -0
  161. package/dist/src/_internal/platform/configuration/common/jsonSchema.js +36 -0
  162. package/dist/src/_internal/platform/configuration/common/jsonSchema.js.map +1 -0
  163. package/dist/src/_internal/platform/configuration/common/validator.d.ts +35 -0
  164. package/dist/src/_internal/platform/configuration/common/validator.d.ts.map +1 -0
  165. package/dist/src/_internal/platform/configuration/common/validator.js +195 -0
  166. package/dist/src/_internal/platform/configuration/common/validator.js.map +1 -0
  167. package/dist/src/_internal/platform/diff/common/diffService.d.ts +27 -0
  168. package/dist/src/_internal/platform/diff/common/diffService.d.ts.map +1 -0
  169. package/dist/src/_internal/platform/diff/common/diffService.js +10 -0
  170. package/dist/src/_internal/platform/diff/common/diffService.js.map +1 -0
  171. package/dist/src/_internal/platform/diff/common/diffWorker.d.ts +34 -0
  172. package/dist/src/_internal/platform/diff/common/diffWorker.d.ts.map +1 -0
  173. package/dist/src/_internal/platform/diff/common/diffWorker.js +44 -0
  174. package/dist/src/_internal/platform/diff/common/diffWorker.js.map +1 -0
  175. package/dist/src/_internal/platform/diff/node/diffServiceImpl.d.ts +14 -0
  176. package/dist/src/_internal/platform/diff/node/diffServiceImpl.d.ts.map +1 -0
  177. package/dist/src/_internal/platform/diff/node/diffServiceImpl.js +95 -0
  178. package/dist/src/_internal/platform/diff/node/diffServiceImpl.js.map +1 -0
  179. package/dist/src/_internal/platform/editing/common/abstractText.d.ts +58 -0
  180. package/dist/src/_internal/platform/editing/common/abstractText.d.ts.map +1 -0
  181. package/dist/src/_internal/platform/editing/common/abstractText.js +129 -0
  182. package/dist/src/_internal/platform/editing/common/abstractText.js.map +1 -0
  183. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts +38 -0
  184. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts.map +1 -0
  185. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js +96 -0
  186. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js.map +1 -0
  187. package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.d.ts +28 -0
  188. package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.d.ts.map +1 -0
  189. package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.js +158 -0
  190. package/dist/src/_internal/platform/editing/common/positionOffsetTransformer.js.map +1 -0
  191. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts +55 -0
  192. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts.map +1 -0
  193. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js +195 -0
  194. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js.map +1 -0
  195. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts +15 -0
  196. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -0
  197. package/dist/src/_internal/platform/endpoint/common/capiClient.js +25 -0
  198. package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -0
  199. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +55 -0
  200. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -0
  201. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +111 -0
  202. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -0
  203. package/dist/src/_internal/platform/endpoint/common/domainService.d.ts +18 -0
  204. package/dist/src/_internal/platform/endpoint/common/domainService.d.ts.map +1 -0
  205. package/dist/src/_internal/platform/endpoint/common/domainService.js +12 -0
  206. package/dist/src/_internal/platform/endpoint/common/domainService.js.map +1 -0
  207. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +83 -0
  208. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -0
  209. package/dist/src/_internal/platform/endpoint/common/endpointProvider.js +23 -0
  210. package/dist/src/_internal/platform/endpoint/common/endpointProvider.js.map +1 -0
  211. package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts +7 -0
  212. package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts.map +1 -0
  213. package/dist/src/_internal/platform/endpoint/common/endpointTypes.js +15 -0
  214. package/dist/src/_internal/platform/endpoint/common/endpointTypes.js.map +1 -0
  215. package/dist/src/_internal/platform/endpoint/common/licenseAgreement.d.ts +7 -0
  216. package/dist/src/_internal/platform/endpoint/common/licenseAgreement.d.ts.map +1 -0
  217. package/dist/src/_internal/platform/endpoint/common/licenseAgreement.js +14 -0
  218. package/dist/src/_internal/platform/endpoint/common/licenseAgreement.js.map +1 -0
  219. package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.d.ts +31 -0
  220. package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.d.ts.map +1 -0
  221. package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.js +73 -0
  222. package/dist/src/_internal/platform/endpoint/common/statefulMarkerContainer.js.map +1 -0
  223. package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.d.ts +17 -0
  224. package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.d.ts.map +1 -0
  225. package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.js +37 -0
  226. package/dist/src/_internal/platform/endpoint/common/thinkingDataContainer.js.map +1 -0
  227. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.d.ts +7 -0
  228. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.d.ts.map +1 -0
  229. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js +30 -0
  230. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js.map +1 -0
  231. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +90 -0
  232. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -0
  233. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +349 -0
  234. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -0
  235. package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.d.ts +19 -0
  236. package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.d.ts.map +1 -0
  237. package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.js +80 -0
  238. package/dist/src/_internal/platform/endpoint/node/domainServiceImpl.js.map +1 -0
  239. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.d.ts +4 -0
  240. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.d.ts.map +1 -0
  241. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js +39 -0
  242. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js.map +1 -0
  243. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +13 -0
  244. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -0
  245. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +308 -0
  246. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -0
  247. package/dist/src/_internal/platform/env/common/envService.d.ts +84 -0
  248. package/dist/src/_internal/platform/env/common/envService.d.ts.map +1 -0
  249. package/dist/src/_internal/platform/env/common/envService.js +64 -0
  250. package/dist/src/_internal/platform/env/common/envService.js.map +1 -0
  251. package/dist/src/_internal/platform/env/common/nullEnvService.d.ts +21 -0
  252. package/dist/src/_internal/platform/env/common/nullEnvService.d.ts.map +1 -0
  253. package/dist/src/_internal/platform/env/common/nullEnvService.js +57 -0
  254. package/dist/src/_internal/platform/env/common/nullEnvService.js.map +1 -0
  255. package/dist/src/_internal/platform/env/common/packagejson.d.ts +42 -0
  256. package/dist/src/_internal/platform/env/common/packagejson.d.ts.map +1 -0
  257. package/dist/src/_internal/platform/env/common/packagejson.js +12 -0
  258. package/dist/src/_internal/platform/env/common/packagejson.js.map +1 -0
  259. package/dist/src/_internal/platform/git/common/gitExtensionService.d.ts +12 -0
  260. package/dist/src/_internal/platform/git/common/gitExtensionService.d.ts.map +1 -0
  261. package/dist/src/_internal/platform/git/common/gitExtensionService.js +10 -0
  262. package/dist/src/_internal/platform/git/common/gitExtensionService.js.map +1 -0
  263. package/dist/src/_internal/platform/git/common/nullGitExtensionService.d.ts +11 -0
  264. package/dist/src/_internal/platform/git/common/nullGitExtensionService.d.ts.map +1 -0
  265. package/dist/src/_internal/platform/git/common/nullGitExtensionService.js +19 -0
  266. package/dist/src/_internal/platform/git/common/nullGitExtensionService.js.map +1 -0
  267. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +7 -0
  268. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -0
  269. package/dist/src/_internal/platform/github/common/githubAPI.js +42 -0
  270. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -0
  271. package/dist/src/_internal/platform/github/common/githubService.d.ts +63 -0
  272. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -0
  273. package/dist/src/_internal/platform/github/common/githubService.js +37 -0
  274. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -0
  275. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts +9 -0
  276. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts.map +1 -0
  277. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js +21 -0
  278. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js.map +1 -0
  279. package/dist/src/_internal/platform/ignore/common/ignoreService.d.ts +30 -0
  280. package/dist/src/_internal/platform/ignore/common/ignoreService.d.ts.map +1 -0
  281. package/dist/src/_internal/platform/ignore/common/ignoreService.js +73 -0
  282. package/dist/src/_internal/platform/ignore/common/ignoreService.js.map +1 -0
  283. package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts +162 -0
  284. package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts.map +1 -0
  285. package/dist/src/_internal/platform/inlineCompletions/common/api.js +3 -0
  286. package/dist/src/_internal/platform/inlineCompletions/common/api.js.map +1 -0
  287. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.d.ts +14 -0
  288. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.d.ts.map +1 -0
  289. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.js +31 -0
  290. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.js.map +1 -0
  291. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.d.ts +20 -0
  292. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.d.ts.map +1 -0
  293. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.js +44 -0
  294. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/documentId.js.map +1 -0
  295. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.d.ts +73 -0
  296. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.d.ts.map +1 -0
  297. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.js +142 -0
  298. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/edit.js.map +1 -0
  299. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.d.ts +14 -0
  300. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.d.ts.map +1 -0
  301. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.js +59 -0
  302. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.js.map +1 -0
  303. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.d.ts +6 -0
  304. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.d.ts.map +1 -0
  305. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.js +16 -0
  306. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.js.map +1 -0
  307. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.d.ts +44 -0
  308. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.d.ts.map +1 -0
  309. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.js +57 -0
  310. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.js.map +1 -0
  311. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.d.ts +8 -0
  312. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.d.ts.map +1 -0
  313. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.js +16 -0
  314. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/languageId.js.map +1 -0
  315. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.d.ts +36 -0
  316. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.d.ts.map +1 -0
  317. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.js +68 -0
  318. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/permutation.js.map +1 -0
  319. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.d.ts +16 -0
  320. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.d.ts.map +1 -0
  321. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.js +42 -0
  322. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.js.map +1 -0
  323. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.d.ts +24 -0
  324. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.d.ts.map +1 -0
  325. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.js +62 -0
  326. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.js.map +1 -0
  327. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.d.ts +3 -0
  328. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.d.ts.map +1 -0
  329. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.js +125 -0
  330. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.js.map +1 -0
  331. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.d.ts +46 -0
  332. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.d.ts.map +1 -0
  333. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.js +171 -0
  334. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.js.map +1 -0
  335. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.d.ts +9 -0
  336. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.d.ts.map +1 -0
  337. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.js +32 -0
  338. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.js.map +1 -0
  339. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +50 -0
  340. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -0
  341. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +54 -0
  342. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -0
  343. package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.d.ts +5 -0
  344. package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.d.ts.map +1 -0
  345. package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.js +14 -0
  346. package/dist/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.js.map +1 -0
  347. package/dist/src/_internal/platform/inlineEdits/common/editReason.d.ts +98 -0
  348. package/dist/src/_internal/platform/inlineEdits/common/editReason.d.ts.map +1 -0
  349. package/dist/src/_internal/platform/inlineEdits/common/editReason.js +111 -0
  350. package/dist/src/_internal/platform/inlineEdits/common/editReason.js.map +1 -0
  351. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +132 -0
  352. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -0
  353. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +398 -0
  354. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -0
  355. package/dist/src/_internal/platform/inlineEdits/common/observableGit.d.ts +11 -0
  356. package/dist/src/_internal/platform/inlineEdits/common/observableGit.d.ts.map +1 -0
  357. package/dist/src/_internal/platform/inlineEdits/common/observableGit.js +50 -0
  358. package/dist/src/_internal/platform/inlineEdits/common/observableGit.js.map +1 -0
  359. package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts +90 -0
  360. package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts.map +1 -0
  361. package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js +169 -0
  362. package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js.map +1 -0
  363. package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.d.ts +34 -0
  364. package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.d.ts.map +1 -0
  365. package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.js +185 -0
  366. package/dist/src/_internal/platform/inlineEdits/common/responseProcessor.js.map +1 -0
  367. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +223 -0
  368. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -0
  369. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +315 -0
  370. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -0
  371. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts +14 -0
  372. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts.map +1 -0
  373. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js +53 -0
  374. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js.map +1 -0
  375. package/dist/src/_internal/platform/inlineEdits/common/utils/observable.d.ts +16 -0
  376. package/dist/src/_internal/platform/inlineEdits/common/utils/observable.d.ts.map +1 -0
  377. package/dist/src/_internal/platform/inlineEdits/common/utils/observable.js +38 -0
  378. package/dist/src/_internal/platform/inlineEdits/common/utils/observable.js.map +1 -0
  379. package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.d.ts +3 -0
  380. package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.d.ts.map +1 -0
  381. package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.js +26 -0
  382. package/dist/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.js.map +1 -0
  383. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts +19 -0
  384. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts.map +1 -0
  385. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js +44 -0
  386. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js.map +1 -0
  387. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.d.ts +45 -0
  388. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.d.ts.map +1 -0
  389. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.js +49 -0
  390. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.js.map +1 -0
  391. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.d.ts +17 -0
  392. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.d.ts.map +1 -0
  393. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.js +300 -0
  394. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.js.map +1 -0
  395. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.d.ts +37 -0
  396. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.d.ts.map +1 -0
  397. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.js +116 -0
  398. package/dist/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.js.map +1 -0
  399. package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts +13 -0
  400. package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts.map +1 -0
  401. package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js +10 -0
  402. package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js.map +1 -0
  403. package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts +13 -0
  404. package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts.map +1 -0
  405. package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js +31 -0
  406. package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js.map +1 -0
  407. package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts +146 -0
  408. package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts.map +1 -0
  409. package/dist/src/_internal/platform/languageServer/common/languageContextService.js +42 -0
  410. package/dist/src/_internal/platform/languageServer/common/languageContextService.js.map +1 -0
  411. package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.d.ts +26 -0
  412. package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.d.ts.map +1 -0
  413. package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.js +53 -0
  414. package/dist/src/_internal/platform/languages/common/languageDiagnosticsService.js.map +1 -0
  415. package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.d.ts +11 -0
  416. package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.d.ts.map +1 -0
  417. package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.js +30 -0
  418. package/dist/src/_internal/platform/languages/common/testLanguageDiagnosticsService.js.map +1 -0
  419. package/dist/src/_internal/platform/log/common/logService.d.ts +100 -0
  420. package/dist/src/_internal/platform/log/common/logService.d.ts.map +1 -0
  421. package/dist/src/_internal/platform/log/common/logService.js +178 -0
  422. package/dist/src/_internal/platform/log/common/logService.js.map +1 -0
  423. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts +69 -0
  424. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts.map +1 -0
  425. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js +23 -0
  426. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js.map +1 -0
  427. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts +80 -0
  428. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts.map +1 -0
  429. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js +77 -0
  430. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js.map +1 -0
  431. package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts +26 -0
  432. package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts.map +1 -0
  433. package/dist/src/_internal/platform/nesFetch/common/responseStream.js +125 -0
  434. package/dist/src/_internal/platform/nesFetch/common/responseStream.js.map +1 -0
  435. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts +27 -0
  436. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts.map +1 -0
  437. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js +222 -0
  438. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js.map +1 -0
  439. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts +10 -0
  440. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts.map +1 -0
  441. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js +86 -0
  442. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js.map +1 -0
  443. package/dist/src/_internal/platform/networking/common/fetch.d.ts +256 -0
  444. package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -0
  445. package/dist/src/_internal/platform/networking/common/fetch.js +51 -0
  446. package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -0
  447. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +53 -0
  448. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -0
  449. package/dist/src/_internal/platform/networking/common/fetcherService.js +46 -0
  450. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -0
  451. package/dist/src/_internal/platform/networking/common/networking.d.ts +213 -0
  452. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -0
  453. package/dist/src/_internal/platform/networking/common/networking.js +148 -0
  454. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -0
  455. package/dist/src/_internal/platform/networking/common/openai.d.ts +202 -0
  456. package/dist/src/_internal/platform/networking/common/openai.d.ts.map +1 -0
  457. package/dist/src/_internal/platform/networking/common/openai.js +144 -0
  458. package/dist/src/_internal/platform/networking/common/openai.js.map +1 -0
  459. package/dist/src/_internal/platform/networking/node/chatStream.d.ts +9 -0
  460. package/dist/src/_internal/platform/networking/node/chatStream.d.ts.map +1 -0
  461. package/dist/src/_internal/platform/networking/node/chatStream.js +117 -0
  462. package/dist/src/_internal/platform/networking/node/chatStream.js.map +1 -0
  463. package/dist/src/_internal/platform/networking/node/stream.d.ts +145 -0
  464. package/dist/src/_internal/platform/networking/node/stream.d.ts.map +1 -0
  465. package/dist/src/_internal/platform/networking/node/stream.js +595 -0
  466. package/dist/src/_internal/platform/networking/node/stream.js.map +1 -0
  467. package/dist/src/_internal/platform/notebook/common/alternativeContent.d.ts +28 -0
  468. package/dist/src/_internal/platform/notebook/common/alternativeContent.d.ts.map +1 -0
  469. package/dist/src/_internal/platform/notebook/common/alternativeContent.js +85 -0
  470. package/dist/src/_internal/platform/notebook/common/alternativeContent.js.map +1 -0
  471. package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.d.ts +6 -0
  472. package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.d.ts.map +1 -0
  473. package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.js +14 -0
  474. package/dist/src/_internal/platform/notebook/common/alternativeContentFormat.js.map +1 -0
  475. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts +31 -0
  476. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts.map +1 -0
  477. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js +14 -0
  478. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js.map +1 -0
  479. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts +15 -0
  480. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts.map +1 -0
  481. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js +232 -0
  482. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js.map +1 -0
  483. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts +16 -0
  484. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts.map +1 -0
  485. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js +231 -0
  486. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js.map +1 -0
  487. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts +13 -0
  488. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts.map +1 -0
  489. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js +191 -0
  490. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js.map +1 -0
  491. package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.d.ts +34 -0
  492. package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.d.ts.map +1 -0
  493. package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.js +123 -0
  494. package/dist/src/_internal/platform/notebook/common/alternativeNotebookDocument.js.map +1 -0
  495. package/dist/src/_internal/platform/notebook/common/helpers.d.ts +79 -0
  496. package/dist/src/_internal/platform/notebook/common/helpers.d.ts.map +1 -0
  497. package/dist/src/_internal/platform/notebook/common/helpers.js +157 -0
  498. package/dist/src/_internal/platform/notebook/common/helpers.js.map +1 -0
  499. package/dist/src/_internal/platform/notebook/common/notebookService.d.ts +34 -0
  500. package/dist/src/_internal/platform/notebook/common/notebookService.d.ts.map +1 -0
  501. package/dist/src/_internal/platform/notebook/common/notebookService.js +10 -0
  502. package/dist/src/_internal/platform/notebook/common/notebookService.js.map +1 -0
  503. package/dist/src/_internal/platform/openai/node/fetch.d.ts +77 -0
  504. package/dist/src/_internal/platform/openai/node/fetch.d.ts.map +1 -0
  505. package/dist/src/_internal/platform/openai/node/fetch.js +408 -0
  506. package/dist/src/_internal/platform/openai/node/fetch.js.map +1 -0
  507. package/dist/src/_internal/platform/parser/node/nodes.d.ts +93 -0
  508. package/dist/src/_internal/platform/parser/node/nodes.d.ts.map +1 -0
  509. package/dist/src/_internal/platform/parser/node/nodes.js +133 -0
  510. package/dist/src/_internal/platform/parser/node/nodes.js.map +1 -0
  511. package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.d.ts +14 -0
  512. package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.d.ts.map +1 -0
  513. package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.js +28 -0
  514. package/dist/src/_internal/platform/requestLogger/node/nullRequestLogger.js.map +1 -0
  515. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +198 -0
  516. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -0
  517. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +177 -0
  518. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -0
  519. package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.d.ts +12 -0
  520. package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.d.ts.map +1 -0
  521. package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.js +19 -0
  522. package/dist/src/_internal/platform/simulationTestContext/common/simulationTestContext.js.map +1 -0
  523. package/dist/src/_internal/platform/snippy/common/snippyService.d.ts +13 -0
  524. package/dist/src/_internal/platform/snippy/common/snippyService.d.ts.map +1 -0
  525. package/dist/src/_internal/platform/snippy/common/snippyService.js +16 -0
  526. package/dist/src/_internal/platform/snippy/common/snippyService.js.map +1 -0
  527. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts +46 -0
  528. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts.map +1 -0
  529. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js +23 -0
  530. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js.map +1 -0
  531. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts +18 -0
  532. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts.map +1 -0
  533. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js +50 -0
  534. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js.map +1 -0
  535. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts +145 -0
  536. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts.map +1 -0
  537. package/dist/src/_internal/platform/telemetry/common/telemetry.js +87 -0
  538. package/dist/src/_internal/platform/telemetry/common/telemetry.js.map +1 -0
  539. package/dist/src/_internal/platform/telemetry/common/telemetryData.d.ts +60 -0
  540. package/dist/src/_internal/platform/telemetry/common/telemetryData.d.ts.map +1 -0
  541. package/dist/src/_internal/platform/telemetry/common/telemetryData.js +169 -0
  542. package/dist/src/_internal/platform/telemetry/common/telemetryData.js.map +1 -0
  543. package/dist/src/_internal/platform/thinking/common/thinking.d.ts +49 -0
  544. package/dist/src/_internal/platform/thinking/common/thinking.d.ts.map +1 -0
  545. package/dist/src/_internal/platform/thinking/common/thinking.js +11 -0
  546. package/dist/src/_internal/platform/thinking/common/thinking.js.map +1 -0
  547. package/dist/src/_internal/platform/thinking/common/thinkingUtils.d.ts +6 -0
  548. package/dist/src/_internal/platform/thinking/common/thinkingUtils.d.ts.map +1 -0
  549. package/dist/src/_internal/platform/thinking/common/thinkingUtils.js +56 -0
  550. package/dist/src/_internal/platform/thinking/common/thinkingUtils.js.map +1 -0
  551. package/dist/src/_internal/platform/tokenizer/node/cl100k_base.tiktoken +100256 -0
  552. package/dist/src/_internal/platform/tokenizer/node/o200k_base.tiktoken +199998 -0
  553. package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.d.ts +3 -0
  554. package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.d.ts.map +1 -0
  555. package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.js +24 -0
  556. package/dist/src/_internal/platform/tokenizer/node/parseTikTokens.js.map +1 -0
  557. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.d.ts +17 -0
  558. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.d.ts.map +1 -0
  559. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.js +58 -0
  560. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerImpl.js.map +1 -0
  561. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.d.ts +2 -0
  562. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.d.ts.map +1 -0
  563. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.js +25 -0
  564. package/dist/src/_internal/platform/tokenizer/node/tikTokenizerWorker.js.map +1 -0
  565. package/dist/src/_internal/platform/tokenizer/node/tokenizer.d.ts +32 -0
  566. package/dist/src/_internal/platform/tokenizer/node/tokenizer.d.ts.map +1 -0
  567. package/dist/src/_internal/platform/tokenizer/node/tokenizer.js +308 -0
  568. package/dist/src/_internal/platform/tokenizer/node/tokenizer.js.map +1 -0
  569. package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts +104 -0
  570. package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts.map +1 -0
  571. package/dist/src/_internal/platform/workspace/common/workspaceService.js +176 -0
  572. package/dist/src/_internal/platform/workspace/common/workspaceService.js.map +1 -0
  573. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts +115 -0
  574. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts.map +1 -0
  575. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.js +33 -0
  576. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.js.map +1 -0
  577. package/dist/src/_internal/util/common/anomalyDetection.d.ts +16 -0
  578. package/dist/src/_internal/util/common/anomalyDetection.d.ts.map +1 -0
  579. package/dist/src/_internal/util/common/anomalyDetection.js +100 -0
  580. package/dist/src/_internal/util/common/anomalyDetection.js.map +1 -0
  581. package/dist/src/_internal/util/common/arrays.d.ts +18 -0
  582. package/dist/src/_internal/util/common/arrays.d.ts.map +1 -0
  583. package/dist/src/_internal/util/common/arrays.js +80 -0
  584. package/dist/src/_internal/util/common/arrays.js.map +1 -0
  585. package/dist/src/_internal/util/common/async.d.ts +35 -0
  586. package/dist/src/_internal/util/common/async.d.ts.map +1 -0
  587. package/dist/src/_internal/util/common/async.js +146 -0
  588. package/dist/src/_internal/util/common/async.js.map +1 -0
  589. package/dist/src/_internal/util/common/cache.d.ts +42 -0
  590. package/dist/src/_internal/util/common/cache.d.ts.map +1 -0
  591. package/dist/src/_internal/util/common/cache.js +157 -0
  592. package/dist/src/_internal/util/common/cache.js.map +1 -0
  593. package/dist/src/_internal/util/common/crypto.d.ts +3 -0
  594. package/dist/src/_internal/util/common/crypto.d.ts.map +1 -0
  595. package/dist/src/_internal/util/common/crypto.js +33 -0
  596. package/dist/src/_internal/util/common/crypto.js.map +1 -0
  597. package/dist/src/_internal/util/common/errors.d.ts +3 -0
  598. package/dist/src/_internal/util/common/errors.d.ts.map +1 -0
  599. package/dist/src/_internal/util/common/errors.js +22 -0
  600. package/dist/src/_internal/util/common/errors.js.map +1 -0
  601. package/dist/src/_internal/util/common/imageUtils.d.ts +23 -0
  602. package/dist/src/_internal/util/common/imageUtils.d.ts.map +1 -0
  603. package/dist/src/_internal/util/common/imageUtils.js +148 -0
  604. package/dist/src/_internal/util/common/imageUtils.js.map +1 -0
  605. package/dist/src/_internal/util/common/languages.d.ts +560 -0
  606. package/dist/src/_internal/util/common/languages.d.ts.map +1 -0
  607. package/dist/src/_internal/util/common/languages.js +901 -0
  608. package/dist/src/_internal/util/common/languages.js.map +1 -0
  609. package/dist/src/_internal/util/common/notebooks.d.ts +88 -0
  610. package/dist/src/_internal/util/common/notebooks.d.ts.map +1 -0
  611. package/dist/src/_internal/util/common/notebooks.js +270 -0
  612. package/dist/src/_internal/util/common/notebooks.js.map +1 -0
  613. package/dist/src/_internal/util/common/result.d.ts +32 -0
  614. package/dist/src/_internal/util/common/result.d.ts.map +1 -0
  615. package/dist/src/_internal/util/common/result.js +65 -0
  616. package/dist/src/_internal/util/common/result.js.map +1 -0
  617. package/dist/src/_internal/util/common/services.d.ts +17 -0
  618. package/dist/src/_internal/util/common/services.d.ts.map +1 -0
  619. package/dist/src/_internal/util/common/services.js +32 -0
  620. package/dist/src/_internal/util/common/services.js.map +1 -0
  621. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +301 -0
  622. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -0
  623. package/dist/src/_internal/util/common/test/shims/chatTypes.js +380 -0
  624. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -0
  625. package/dist/src/_internal/util/common/test/shims/editing.d.ts +101 -0
  626. package/dist/src/_internal/util/common/test/shims/editing.d.ts.map +1 -0
  627. package/dist/src/_internal/util/common/test/shims/editing.js +149 -0
  628. package/dist/src/_internal/util/common/test/shims/editing.js.map +1 -0
  629. package/dist/src/_internal/util/common/test/shims/enums.d.ts +50 -0
  630. package/dist/src/_internal/util/common/test/shims/enums.d.ts.map +1 -0
  631. package/dist/src/_internal/util/common/test/shims/enums.js +65 -0
  632. package/dist/src/_internal/util/common/test/shims/enums.js.map +1 -0
  633. package/dist/src/_internal/util/common/test/shims/l10n.d.ts +8 -0
  634. package/dist/src/_internal/util/common/test/shims/l10n.d.ts.map +1 -0
  635. package/dist/src/_internal/util/common/test/shims/l10n.js +26 -0
  636. package/dist/src/_internal/util/common/test/shims/l10n.js.map +1 -0
  637. package/dist/src/_internal/util/common/test/shims/newSymbolName.d.ts +13 -0
  638. package/dist/src/_internal/util/common/test/shims/newSymbolName.d.ts.map +1 -0
  639. package/dist/src/_internal/util/common/test/shims/newSymbolName.js +24 -0
  640. package/dist/src/_internal/util/common/test/shims/newSymbolName.js.map +1 -0
  641. package/dist/src/_internal/util/common/test/shims/terminal.d.ts +26 -0
  642. package/dist/src/_internal/util/common/test/shims/terminal.d.ts.map +1 -0
  643. package/dist/src/_internal/util/common/test/shims/terminal.js +34 -0
  644. package/dist/src/_internal/util/common/test/shims/terminal.js.map +1 -0
  645. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts +4 -0
  646. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -0
  647. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +113 -0
  648. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -0
  649. package/dist/src/_internal/util/common/time.d.ts +8 -0
  650. package/dist/src/_internal/util/common/time.d.ts.map +1 -0
  651. package/dist/src/_internal/util/common/time.js +30 -0
  652. package/dist/src/_internal/util/common/time.js.map +1 -0
  653. package/dist/src/_internal/util/common/tokenizer.d.ts +19 -0
  654. package/dist/src/_internal/util/common/tokenizer.d.ts.map +1 -0
  655. package/dist/src/_internal/util/common/tokenizer.js +14 -0
  656. package/dist/src/_internal/util/common/tokenizer.js.map +1 -0
  657. package/dist/src/_internal/util/common/tracing.d.ts +8 -0
  658. package/dist/src/_internal/util/common/tracing.d.ts.map +1 -0
  659. package/dist/src/_internal/util/common/tracing.js +49 -0
  660. package/dist/src/_internal/util/common/tracing.js.map +1 -0
  661. package/dist/src/_internal/util/common/types.d.ts +7 -0
  662. package/dist/src/_internal/util/common/types.d.ts.map +1 -0
  663. package/dist/src/_internal/util/common/types.js +35 -0
  664. package/dist/src/_internal/util/common/types.js.map +1 -0
  665. package/dist/src/_internal/util/common/variableLengthQuantity.d.ts +9 -0
  666. package/dist/src/_internal/util/common/variableLengthQuantity.d.ts.map +1 -0
  667. package/dist/src/_internal/util/common/variableLengthQuantity.js +38 -0
  668. package/dist/src/_internal/util/common/variableLengthQuantity.js.map +1 -0
  669. package/dist/src/_internal/util/node/worker.d.ts +44 -0
  670. package/dist/src/_internal/util/node/worker.d.ts.map +1 -0
  671. package/dist/src/_internal/util/node/worker.js +115 -0
  672. package/dist/src/_internal/util/node/worker.js.map +1 -0
  673. package/dist/src/_internal/util/vs/base/common/arrays.d.ts +299 -0
  674. package/dist/src/_internal/util/vs/base/common/arrays.d.ts.map +1 -0
  675. package/dist/src/_internal/util/vs/base/common/arrays.js +836 -0
  676. package/dist/src/_internal/util/vs/base/common/arrays.js.map +1 -0
  677. package/dist/src/_internal/util/vs/base/common/arraysFind.d.ts +69 -0
  678. package/dist/src/_internal/util/vs/base/common/arraysFind.d.ts.map +1 -0
  679. package/dist/src/_internal/util/vs/base/common/arraysFind.js +193 -0
  680. package/dist/src/_internal/util/vs/base/common/arraysFind.js.map +1 -0
  681. package/dist/src/_internal/util/vs/base/common/assert.d.ts +35 -0
  682. package/dist/src/_internal/util/vs/base/common/assert.d.ts.map +1 -0
  683. package/dist/src/_internal/util/vs/base/common/assert.js +86 -0
  684. package/dist/src/_internal/util/vs/base/common/assert.js.map +1 -0
  685. package/dist/src/_internal/util/vs/base/common/async.d.ts +764 -0
  686. package/dist/src/_internal/util/vs/base/common/async.d.ts.map +1 -0
  687. package/dist/src/_internal/util/vs/base/common/async.js +2037 -0
  688. package/dist/src/_internal/util/vs/base/common/async.js.map +1 -0
  689. package/dist/src/_internal/util/vs/base/common/buffer.d.ts +92 -0
  690. package/dist/src/_internal/util/vs/base/common/buffer.d.ts.map +1 -0
  691. package/dist/src/_internal/util/vs/base/common/buffer.js +480 -0
  692. package/dist/src/_internal/util/vs/base/common/buffer.js.map +1 -0
  693. package/dist/src/_internal/util/vs/base/common/cache.d.ts +47 -0
  694. package/dist/src/_internal/util/vs/base/common/cache.d.ts.map +1 -0
  695. package/dist/src/_internal/util/vs/base/common/cache.js +95 -0
  696. package/dist/src/_internal/util/vs/base/common/cache.js.map +1 -0
  697. package/dist/src/_internal/util/vs/base/common/cancellation.d.ts +31 -0
  698. package/dist/src/_internal/util/vs/base/common/cancellation.d.ts.map +1 -0
  699. package/dist/src/_internal/util/vs/base/common/cancellation.js +120 -0
  700. package/dist/src/_internal/util/vs/base/common/cancellation.js.map +1 -0
  701. package/dist/src/_internal/util/vs/base/common/charCode.d.ts +428 -0
  702. package/dist/src/_internal/util/vs/base/common/charCode.d.ts.map +1 -0
  703. package/dist/src/_internal/util/vs/base/common/charCode.js +4 -0
  704. package/dist/src/_internal/util/vs/base/common/charCode.js.map +1 -0
  705. package/dist/src/_internal/util/vs/base/common/codicons.d.ts +681 -0
  706. package/dist/src/_internal/util/vs/base/common/codicons.d.ts.map +1 -0
  707. package/dist/src/_internal/util/vs/base/common/codicons.js +59 -0
  708. package/dist/src/_internal/util/vs/base/common/codicons.js.map +1 -0
  709. package/dist/src/_internal/util/vs/base/common/codiconsLibrary.d.ts +607 -0
  710. package/dist/src/_internal/util/vs/base/common/codiconsLibrary.d.ts.map +1 -0
  711. package/dist/src/_internal/util/vs/base/common/codiconsLibrary.js +619 -0
  712. package/dist/src/_internal/util/vs/base/common/codiconsLibrary.js.map +1 -0
  713. package/dist/src/_internal/util/vs/base/common/codiconsUtil.d.ts +9 -0
  714. package/dist/src/_internal/util/vs/base/common/codiconsUtil.d.ts.map +1 -0
  715. package/dist/src/_internal/util/vs/base/common/codiconsUtil.js +25 -0
  716. package/dist/src/_internal/util/vs/base/common/codiconsUtil.js.map +1 -0
  717. package/dist/src/_internal/util/vs/base/common/collections.d.ts +49 -0
  718. package/dist/src/_internal/util/vs/base/common/collections.d.ts.map +1 -0
  719. package/dist/src/_internal/util/vs/base/common/collections.js +134 -0
  720. package/dist/src/_internal/util/vs/base/common/collections.js.map +1 -0
  721. package/dist/src/_internal/util/vs/base/common/diff/diff.d.ts +151 -0
  722. package/dist/src/_internal/util/vs/base/common/diff/diff.d.ts.map +1 -0
  723. package/dist/src/_internal/util/vs/base/common/diff/diff.js +1064 -0
  724. package/dist/src/_internal/util/vs/base/common/diff/diff.js.map +1 -0
  725. package/dist/src/_internal/util/vs/base/common/diff/diffChange.d.ts +39 -0
  726. package/dist/src/_internal/util/vs/base/common/diff/diffChange.d.ts.map +1 -0
  727. package/dist/src/_internal/util/vs/base/common/diff/diffChange.js +38 -0
  728. package/dist/src/_internal/util/vs/base/common/diff/diffChange.js.map +1 -0
  729. package/dist/src/_internal/util/vs/base/common/equals.d.ts +38 -0
  730. package/dist/src/_internal/util/vs/base/common/equals.d.ts.map +1 -0
  731. package/dist/src/_internal/util/vs/base/common/equals.js +166 -0
  732. package/dist/src/_internal/util/vs/base/common/equals.js.map +1 -0
  733. package/dist/src/_internal/util/vs/base/common/errors.d.ts +114 -0
  734. package/dist/src/_internal/util/vs/base/common/errors.d.ts.map +1 -0
  735. package/dist/src/_internal/util/vs/base/common/errors.js +274 -0
  736. package/dist/src/_internal/util/vs/base/common/errors.js.map +1 -0
  737. package/dist/src/_internal/util/vs/base/common/event.d.ts +567 -0
  738. package/dist/src/_internal/util/vs/base/common/event.d.ts.map +1 -0
  739. package/dist/src/_internal/util/vs/base/common/event.js +1405 -0
  740. package/dist/src/_internal/util/vs/base/common/event.js.map +1 -0
  741. package/dist/src/_internal/util/vs/base/common/extpath.d.ts +58 -0
  742. package/dist/src/_internal/util/vs/base/common/extpath.d.ts.map +1 -0
  743. package/dist/src/_internal/util/vs/base/common/extpath.js +363 -0
  744. package/dist/src/_internal/util/vs/base/common/extpath.js.map +1 -0
  745. package/dist/src/_internal/util/vs/base/common/filters.d.ts +63 -0
  746. package/dist/src/_internal/util/vs/base/common/filters.d.ts.map +1 -0
  747. package/dist/src/_internal/util/vs/base/common/filters.js +821 -0
  748. package/dist/src/_internal/util/vs/base/common/filters.js.map +1 -0
  749. package/dist/src/_internal/util/vs/base/common/functional.d.ts +5 -0
  750. package/dist/src/_internal/util/vs/base/common/functional.d.ts.map +1 -0
  751. package/dist/src/_internal/util/vs/base/common/functional.js +35 -0
  752. package/dist/src/_internal/util/vs/base/common/functional.js.map +1 -0
  753. package/dist/src/_internal/util/vs/base/common/glob.d.ts +72 -0
  754. package/dist/src/_internal/util/vs/base/common/glob.d.ts.map +1 -0
  755. package/dist/src/_internal/util/vs/base/common/glob.js +622 -0
  756. package/dist/src/_internal/util/vs/base/common/glob.js.map +1 -0
  757. package/dist/src/_internal/util/vs/base/common/hash.d.ts +41 -0
  758. package/dist/src/_internal/util/vs/base/common/hash.d.ts.map +1 -0
  759. package/dist/src/_internal/util/vs/base/common/hash.js +320 -0
  760. package/dist/src/_internal/util/vs/base/common/hash.js.map +1 -0
  761. package/dist/src/_internal/util/vs/base/common/htmlContent.d.ts +59 -0
  762. package/dist/src/_internal/util/vs/base/common/htmlContent.d.ts.map +1 -0
  763. package/dist/src/_internal/util/vs/base/common/htmlContent.js +179 -0
  764. package/dist/src/_internal/util/vs/base/common/htmlContent.js.map +1 -0
  765. package/dist/src/_internal/util/vs/base/common/iconLabels.d.ts +21 -0
  766. package/dist/src/_internal/util/vs/base/common/iconLabels.d.ts.map +1 -0
  767. package/dist/src/_internal/util/vs/base/common/iconLabels.js +95 -0
  768. package/dist/src/_internal/util/vs/base/common/iconLabels.js.map +1 -0
  769. package/dist/src/_internal/util/vs/base/common/iterator.d.ts +33 -0
  770. package/dist/src/_internal/util/vs/base/common/iterator.d.ts.map +1 -0
  771. package/dist/src/_internal/util/vs/base/common/iterator.js +188 -0
  772. package/dist/src/_internal/util/vs/base/common/iterator.js.map +1 -0
  773. package/dist/src/_internal/util/vs/base/common/lazy.d.ts +23 -0
  774. package/dist/src/_internal/util/vs/base/common/lazy.d.ts.map +1 -0
  775. package/dist/src/_internal/util/vs/base/common/lazy.js +57 -0
  776. package/dist/src/_internal/util/vs/base/common/lazy.js.map +1 -0
  777. package/dist/src/_internal/util/vs/base/common/lifecycle.d.ts +262 -0
  778. package/dist/src/_internal/util/vs/base/common/lifecycle.d.ts.map +1 -0
  779. package/dist/src/_internal/util/vs/base/common/lifecycle.js +703 -0
  780. package/dist/src/_internal/util/vs/base/common/lifecycle.js.map +1 -0
  781. package/dist/src/_internal/util/vs/base/common/linkedList.d.ts +16 -0
  782. package/dist/src/_internal/util/vs/base/common/linkedList.d.ts.map +1 -0
  783. package/dist/src/_internal/util/vs/base/common/linkedList.js +130 -0
  784. package/dist/src/_internal/util/vs/base/common/linkedList.js.map +1 -0
  785. package/dist/src/_internal/util/vs/base/common/map.d.ts +175 -0
  786. package/dist/src/_internal/util/vs/base/common/map.d.ts.map +1 -0
  787. package/dist/src/_internal/util/vs/base/common/map.js +796 -0
  788. package/dist/src/_internal/util/vs/base/common/map.js.map +1 -0
  789. package/dist/src/_internal/util/vs/base/common/marshallingIds.d.ts +29 -0
  790. package/dist/src/_internal/util/vs/base/common/marshallingIds.d.ts.map +1 -0
  791. package/dist/src/_internal/util/vs/base/common/marshallingIds.js +4 -0
  792. package/dist/src/_internal/util/vs/base/common/marshallingIds.js.map +1 -0
  793. package/dist/src/_internal/util/vs/base/common/mime.d.ts +19 -0
  794. package/dist/src/_internal/util/vs/base/common/mime.d.ts.map +1 -0
  795. package/dist/src/_internal/util/vs/base/common/mime.js +127 -0
  796. package/dist/src/_internal/util/vs/base/common/mime.js.map +1 -0
  797. package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.d.ts +10 -0
  798. package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.d.ts.map +1 -0
  799. package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.js +324 -0
  800. package/dist/src/_internal/util/vs/base/common/naturalLanguage/korean.js.map +1 -0
  801. package/dist/src/_internal/util/vs/base/common/network.d.ts +189 -0
  802. package/dist/src/_internal/util/vs/base/common/network.d.ts.map +1 -0
  803. package/dist/src/_internal/util/vs/base/common/network.js +386 -0
  804. package/dist/src/_internal/util/vs/base/common/network.js.map +1 -0
  805. package/dist/src/_internal/util/vs/base/common/numbers.d.ts +71 -0
  806. package/dist/src/_internal/util/vs/base/common/numbers.d.ts.map +1 -0
  807. package/dist/src/_internal/util/vs/base/common/numbers.js +148 -0
  808. package/dist/src/_internal/util/vs/base/common/numbers.js.map +1 -0
  809. package/dist/src/_internal/util/vs/base/common/objects.d.ts +36 -0
  810. package/dist/src/_internal/util/vs/base/common/objects.d.ts.map +1 -0
  811. package/dist/src/_internal/util/vs/base/common/objects.js +231 -0
  812. package/dist/src/_internal/util/vs/base/common/objects.js.map +1 -0
  813. package/dist/src/_internal/util/vs/base/common/observable.d.ts +2 -0
  814. package/dist/src/_internal/util/vs/base/common/observable.d.ts.map +1 -0
  815. package/dist/src/_internal/util/vs/base/common/observable.js +24 -0
  816. package/dist/src/_internal/util/vs/base/common/observable.js.map +1 -0
  817. package/dist/src/_internal/util/vs/base/common/observableInternal/base.d.ts +169 -0
  818. package/dist/src/_internal/util/vs/base/common/observableInternal/base.d.ts.map +1 -0
  819. package/dist/src/_internal/util/vs/base/common/observableInternal/base.js +18 -0
  820. package/dist/src/_internal/util/vs/base/common/observableInternal/base.js.map +1 -0
  821. package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.d.ts +45 -0
  822. package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.d.ts.map +1 -0
  823. package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.js +76 -0
  824. package/dist/src/_internal/util/vs/base/common/observableInternal/changeTracker.js.map +1 -0
  825. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.d.ts +3 -0
  826. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.d.ts.map +1 -0
  827. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.js +15 -0
  828. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.js.map +1 -0
  829. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.d.ts +6 -0
  830. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.d.ts.map +1 -0
  831. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.js +24 -0
  832. package/dist/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.js.map +1 -0
  833. package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.d.ts +21 -0
  834. package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.d.ts.map +1 -0
  835. package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.js +64 -0
  836. package/dist/src/_internal/util/vs/base/common/observableInternal/debugLocation.js.map +1 -0
  837. package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.d.ts +34 -0
  838. package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.d.ts.map +1 -0
  839. package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.js +112 -0
  840. package/dist/src/_internal/util/vs/base/common/observableInternal/debugName.js.map +1 -0
  841. package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.d.ts +16 -0
  842. package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.d.ts.map +1 -0
  843. package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.js +57 -0
  844. package/dist/src/_internal/util/vs/base/common/observableInternal/experimental/utils.js.map +1 -0
  845. package/dist/src/_internal/util/vs/base/common/observableInternal/index.d.ts +25 -0
  846. package/dist/src/_internal/util/vs/base/common/observableInternal/index.d.ts.map +1 -0
  847. package/dist/src/_internal/util/vs/base/common/observableInternal/index.js +101 -0
  848. package/dist/src/_internal/util/vs/base/common/observableInternal/index.js.map +1 -0
  849. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +41 -0
  850. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts.map +1 -0
  851. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.js +346 -0
  852. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.js.map +1 -0
  853. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.d.ts +5 -0
  854. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.d.ts.map +1 -0
  855. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.js +68 -0
  856. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.js.map +1 -0
  857. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +44 -0
  858. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts.map +1 -0
  859. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +445 -0
  860. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js.map +1 -0
  861. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.d.ts +42 -0
  862. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.d.ts.map +1 -0
  863. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.js +59 -0
  864. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.js.map +1 -0
  865. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.d.ts +14 -0
  866. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.d.ts.map +1 -0
  867. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.js +69 -0
  868. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.js.map +1 -0
  869. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.d.ts +31 -0
  870. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.d.ts.map +1 -0
  871. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.js +97 -0
  872. package/dist/src/_internal/util/vs/base/common/observableInternal/logging/logging.js.map +1 -0
  873. package/dist/src/_internal/util/vs/base/common/observableInternal/map.d.ts +19 -0
  874. package/dist/src/_internal/util/vs/base/common/observableInternal/map.d.ts.map +1 -0
  875. package/dist/src/_internal/util/vs/base/common/observableInternal/map.js +65 -0
  876. package/dist/src/_internal/util/vs/base/common/observableInternal/map.js.map +1 -0
  877. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.d.ts +55 -0
  878. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.d.ts.map +1 -0
  879. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.js +133 -0
  880. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -0
  881. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.d.ts +6 -0
  882. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.d.ts.map +1 -0
  883. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.js +36 -0
  884. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.js.map +1 -0
  885. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.d.ts +47 -0
  886. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.d.ts.map +1 -0
  887. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.js +99 -0
  888. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derived.js.map +1 -0
  889. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.d.ts +83 -0
  890. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.d.ts.map +1 -0
  891. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.js +355 -0
  892. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -0
  893. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +28 -0
  894. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts.map +1 -0
  895. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.js +124 -0
  896. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.js.map +1 -0
  897. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +34 -0
  898. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.d.ts.map +1 -0
  899. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.js +118 -0
  900. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -0
  901. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.d.ts +12 -0
  902. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.d.ts.map +1 -0
  903. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.js +45 -0
  904. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.js.map +1 -0
  905. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +6 -0
  906. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts.map +1 -0
  907. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +39 -0
  908. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.js.map +1 -0
  909. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.d.ts +38 -0
  910. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.d.ts.map +1 -0
  911. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.js +105 -0
  912. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.js.map +1 -0
  913. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +9 -0
  914. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.d.ts.map +1 -0
  915. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.js +16 -0
  916. package/dist/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.js.map +1 -0
  917. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.d.ts +57 -0
  918. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.d.ts.map +1 -0
  919. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.js +139 -0
  920. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.js.map +1 -0
  921. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +53 -0
  922. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.d.ts.map +1 -0
  923. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.js +212 -0
  924. package/dist/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -0
  925. package/dist/src/_internal/util/vs/base/common/observableInternal/set.d.ts +18 -0
  926. package/dist/src/_internal/util/vs/base/common/observableInternal/set.d.ts.map +1 -0
  927. package/dist/src/_internal/util/vs/base/common/observableInternal/set.js +63 -0
  928. package/dist/src/_internal/util/vs/base/common/observableInternal/set.js.map +1 -0
  929. package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.d.ts +28 -0
  930. package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.d.ts.map +1 -0
  931. package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.js +116 -0
  932. package/dist/src/_internal/util/vs/base/common/observableInternal/transaction.js.map +1 -0
  933. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.d.ts +76 -0
  934. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.d.ts.map +1 -0
  935. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.js +113 -0
  936. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/promise.js.map +1 -0
  937. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.d.ts +8 -0
  938. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.d.ts.map +1 -0
  939. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.js +59 -0
  940. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.js.map +1 -0
  941. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.d.ts +44 -0
  942. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.d.ts.map +1 -0
  943. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.js +256 -0
  944. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utils.js.map +1 -0
  945. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.d.ts +11 -0
  946. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.d.ts.map +1 -0
  947. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.js +85 -0
  948. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.js.map +1 -0
  949. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts +11 -0
  950. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts.map +1 -0
  951. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.js +26 -0
  952. package/dist/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.js.map +1 -0
  953. package/dist/src/_internal/util/vs/base/common/path.d.ts +40 -0
  954. package/dist/src/_internal/util/vs/base/common/path.d.ts.map +1 -0
  955. package/dist/src/_internal/util/vs/base/common/path.js +1494 -0
  956. package/dist/src/_internal/util/vs/base/common/path.js.map +1 -0
  957. package/dist/src/_internal/util/vs/base/common/platform.d.ts +100 -0
  958. package/dist/src/_internal/util/vs/base/common/platform.d.ts.map +1 -0
  959. package/dist/src/_internal/util/vs/base/common/platform.js +254 -0
  960. package/dist/src/_internal/util/vs/base/common/platform.js.map +1 -0
  961. package/dist/src/_internal/util/vs/base/common/process.d.ts +28 -0
  962. package/dist/src/_internal/util/vs/base/common/process.d.ts.map +1 -0
  963. package/dist/src/_internal/util/vs/base/common/process.js +69 -0
  964. package/dist/src/_internal/util/vs/base/common/process.js.map +1 -0
  965. package/dist/src/_internal/util/vs/base/common/resources.d.ts +188 -0
  966. package/dist/src/_internal/util/vs/base/common/resources.d.ts.map +1 -0
  967. package/dist/src/_internal/util/vs/base/common/resources.js +324 -0
  968. package/dist/src/_internal/util/vs/base/common/resources.js.map +1 -0
  969. package/dist/src/_internal/util/vs/base/common/sequence.d.ts +20 -0
  970. package/dist/src/_internal/util/vs/base/common/sequence.d.ts.map +1 -0
  971. package/dist/src/_internal/util/vs/base/common/sequence.js +22 -0
  972. package/dist/src/_internal/util/vs/base/common/sequence.js.map +1 -0
  973. package/dist/src/_internal/util/vs/base/common/sseParser.d.ts +78 -0
  974. package/dist/src/_internal/util/vs/base/common/sseParser.d.ts.map +1 -0
  975. package/dist/src/_internal/util/vs/base/common/sseParser.js +175 -0
  976. package/dist/src/_internal/util/vs/base/common/sseParser.js.map +1 -0
  977. package/dist/src/_internal/util/vs/base/common/stopwatch.d.ts +11 -0
  978. package/dist/src/_internal/util/vs/base/common/stopwatch.d.ts.map +1 -0
  979. package/dist/src/_internal/util/vs/base/common/stopwatch.js +30 -0
  980. package/dist/src/_internal/util/vs/base/common/stopwatch.js.map +1 -0
  981. package/dist/src/_internal/util/vs/base/common/stream.d.ts +212 -0
  982. package/dist/src/_internal/util/vs/base/common/stream.d.ts.map +1 -0
  983. package/dist/src/_internal/util/vs/base/common/stream.js +495 -0
  984. package/dist/src/_internal/util/vs/base/common/stream.js.map +1 -0
  985. package/dist/src/_internal/util/vs/base/common/strings.d.ts +264 -0
  986. package/dist/src/_internal/util/vs/base/common/strings.d.ts.map +1 -0
  987. package/dist/src/_internal/util/vs/base/common/strings.js +1162 -0
  988. package/dist/src/_internal/util/vs/base/common/strings.js.map +1 -0
  989. package/dist/src/_internal/util/vs/base/common/symbols.d.ts +5 -0
  990. package/dist/src/_internal/util/vs/base/common/symbols.d.ts.map +1 -0
  991. package/dist/src/_internal/util/vs/base/common/symbols.js +13 -0
  992. package/dist/src/_internal/util/vs/base/common/symbols.js.map +1 -0
  993. package/dist/src/_internal/util/vs/base/common/themables.d.ts +31 -0
  994. package/dist/src/_internal/util/vs/base/common/themables.d.ts.map +1 -0
  995. package/dist/src/_internal/util/vs/base/common/themables.js +92 -0
  996. package/dist/src/_internal/util/vs/base/common/themables.js.map +1 -0
  997. package/dist/src/_internal/util/vs/base/common/types.d.ts +184 -0
  998. package/dist/src/_internal/util/vs/base/common/types.d.ts.map +1 -0
  999. package/dist/src/_internal/util/vs/base/common/types.js +265 -0
  1000. package/dist/src/_internal/util/vs/base/common/types.js.map +1 -0
  1001. package/dist/src/_internal/util/vs/base/common/uint.d.ts +32 -0
  1002. package/dist/src/_internal/util/vs/base/common/uint.d.ts.map +1 -0
  1003. package/dist/src/_internal/util/vs/base/common/uint.js +24 -0
  1004. package/dist/src/_internal/util/vs/base/common/uint.js.map +1 -0
  1005. package/dist/src/_internal/util/vs/base/common/uri.d.ts +172 -0
  1006. package/dist/src/_internal/util/vs/base/common/uri.d.ts.map +1 -0
  1007. package/dist/src/_internal/util/vs/base/common/uri.js +653 -0
  1008. package/dist/src/_internal/util/vs/base/common/uri.js.map +1 -0
  1009. package/dist/src/_internal/util/vs/base/common/uuid.d.ts +5 -0
  1010. package/dist/src/_internal/util/vs/base/common/uuid.d.ts.map +1 -0
  1011. package/dist/src/_internal/util/vs/base/common/uuid.js +66 -0
  1012. package/dist/src/_internal/util/vs/base/common/uuid.js.map +1 -0
  1013. package/dist/src/_internal/util/vs/editor/common/core/editOperation.d.ts +28 -0
  1014. package/dist/src/_internal/util/vs/editor/common/core/editOperation.d.ts.map +1 -0
  1015. package/dist/src/_internal/util/vs/editor/common/core/editOperation.js +35 -0
  1016. package/dist/src/_internal/util/vs/editor/common/core/editOperation.js.map +1 -0
  1017. package/dist/src/_internal/util/vs/editor/common/core/edits/edit.d.ts +109 -0
  1018. package/dist/src/_internal/util/vs/editor/common/core/edits/edit.d.ts.map +1 -0
  1019. package/dist/src/_internal/util/vs/editor/common/core/edits/edit.js +341 -0
  1020. package/dist/src/_internal/util/vs/editor/common/core/edits/edit.js.map +1 -0
  1021. package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.d.ts +53 -0
  1022. package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.d.ts.map +1 -0
  1023. package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.js +322 -0
  1024. package/dist/src/_internal/util/vs/editor/common/core/edits/lineEdit.js.map +1 -0
  1025. package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.d.ts +135 -0
  1026. package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.d.ts.map +1 -0
  1027. package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.js +437 -0
  1028. package/dist/src/_internal/util/vs/editor/common/core/edits/stringEdit.js.map +1 -0
  1029. package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.d.ts +50 -0
  1030. package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.d.ts.map +1 -0
  1031. package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.js +348 -0
  1032. package/dist/src/_internal/util/vs/editor/common/core/edits/textEdit.js.map +1 -0
  1033. package/dist/src/_internal/util/vs/editor/common/core/position.d.ts +91 -0
  1034. package/dist/src/_internal/util/vs/editor/common/core/position.d.ts.map +1 -0
  1035. package/dist/src/_internal/util/vs/editor/common/core/position.js +142 -0
  1036. package/dist/src/_internal/util/vs/editor/common/core/position.js.map +1 -0
  1037. package/dist/src/_internal/util/vs/editor/common/core/range.d.ts +195 -0
  1038. package/dist/src/_internal/util/vs/editor/common/core/range.d.ts.map +1 -0
  1039. package/dist/src/_internal/util/vs/editor/common/core/range.js +424 -0
  1040. package/dist/src/_internal/util/vs/editor/common/core/range.js.map +1 -0
  1041. package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.d.ts +108 -0
  1042. package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.d.ts.map +1 -0
  1043. package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.js +357 -0
  1044. package/dist/src/_internal/util/vs/editor/common/core/ranges/lineRange.js.map +1 -0
  1045. package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.d.ts +79 -0
  1046. package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.d.ts.map +1 -0
  1047. package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.js +242 -0
  1048. package/dist/src/_internal/util/vs/editor/common/core/ranges/offsetRange.js.map +1 -0
  1049. package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.d.ts +40 -0
  1050. package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.d.ts.map +1 -0
  1051. package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.js +105 -0
  1052. package/dist/src/_internal/util/vs/editor/common/core/text/abstractText.js.map +1 -0
  1053. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.d.ts +3 -0
  1054. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.d.ts.map +1 -0
  1055. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.js +28 -0
  1056. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffset.js.map +1 -0
  1057. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts +39 -0
  1058. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts.map +1 -0
  1059. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js +110 -0
  1060. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js.map +1 -0
  1061. package/dist/src/_internal/util/vs/editor/common/core/text/textLength.d.ts +34 -0
  1062. package/dist/src/_internal/util/vs/editor/common/core/text/textLength.d.ts.map +1 -0
  1063. package/dist/src/_internal/util/vs/editor/common/core/text/textLength.js +134 -0
  1064. package/dist/src/_internal/util/vs/editor/common/core/text/textLength.js.map +1 -0
  1065. package/dist/src/_internal/util/vs/editor/common/core/wordHelper.d.ts +28 -0
  1066. package/dist/src/_internal/util/vs/editor/common/core/wordHelper.d.ts.map +1 -0
  1067. package/dist/src/_internal/util/vs/editor/common/core/wordHelper.js +137 -0
  1068. package/dist/src/_internal/util/vs/editor/common/core/wordHelper.js.map +1 -0
  1069. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +83 -0
  1070. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts.map +1 -0
  1071. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +154 -0
  1072. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js.map +1 -0
  1073. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +9 -0
  1074. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts.map +1 -0
  1075. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +104 -0
  1076. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js.map +1 -0
  1077. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +8 -0
  1078. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts.map +1 -0
  1079. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +165 -0
  1080. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js.map +1 -0
  1081. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.d.ts +4 -0
  1082. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.d.ts.map +1 -0
  1083. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +251 -0
  1084. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js.map +1 -0
  1085. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.d.ts +9 -0
  1086. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.d.ts.map +1 -0
  1087. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +213 -0
  1088. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js.map +1 -0
  1089. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +10 -0
  1090. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts.map +1 -0
  1091. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +380 -0
  1092. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js.map +1 -0
  1093. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts +13 -0
  1094. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts.map +1 -0
  1095. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +36 -0
  1096. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js.map +1 -0
  1097. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +32 -0
  1098. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts.map +1 -0
  1099. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +208 -0
  1100. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js.map +1 -0
  1101. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts +23 -0
  1102. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts.map +1 -0
  1103. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +64 -0
  1104. package/dist/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.js.map +1 -0
  1105. package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +70 -0
  1106. package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.d.ts.map +1 -0
  1107. package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.js +501 -0
  1108. package/dist/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.js.map +1 -0
  1109. package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.d.ts +46 -0
  1110. package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.d.ts.map +1 -0
  1111. package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.js +33 -0
  1112. package/dist/src/_internal/util/vs/editor/common/diff/linesDiffComputer.js.map +1 -0
  1113. package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.d.ts +84 -0
  1114. package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.d.ts.map +1 -0
  1115. package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.js +287 -0
  1116. package/dist/src/_internal/util/vs/editor/common/diff/rangeMapping.js.map +1 -0
  1117. package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.d.ts +71 -0
  1118. package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.d.ts.map +1 -0
  1119. package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.js +234 -0
  1120. package/dist/src/_internal/util/vs/editor/common/model/prefixSumComputer.js.map +1 -0
  1121. package/dist/src/_internal/util/vs/nls.d.ts +143 -0
  1122. package/dist/src/_internal/util/vs/nls.d.ts.map +1 -0
  1123. package/dist/src/_internal/util/vs/nls.js +84 -0
  1124. package/dist/src/_internal/util/vs/nls.js.map +1 -0
  1125. package/dist/src/_internal/util/vs/nls.messages.d.ts +3 -0
  1126. package/dist/src/_internal/util/vs/nls.messages.d.ts.map +1 -0
  1127. package/dist/src/_internal/util/vs/nls.messages.js +22 -0
  1128. package/dist/src/_internal/util/vs/nls.messages.js.map +1 -0
  1129. package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.d.ts +10 -0
  1130. package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.d.ts.map +1 -0
  1131. package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.js +17 -0
  1132. package/dist/src/_internal/util/vs/platform/instantiation/common/descriptors.js.map +1 -0
  1133. package/dist/src/_internal/util/vs/platform/instantiation/common/graph.d.ts +26 -0
  1134. package/dist/src/_internal/util/vs/platform/instantiation/common/graph.d.ts.map +1 -0
  1135. package/dist/src/_internal/util/vs/platform/instantiation/common/graph.js +99 -0
  1136. package/dist/src/_internal/util/vs/platform/instantiation/common/graph.js.map +1 -0
  1137. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.d.ts +70 -0
  1138. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.d.ts.map +1 -0
  1139. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.js +48 -0
  1140. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiation.js.map +1 -0
  1141. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.d.ts +56 -0
  1142. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.d.ts.map +1 -0
  1143. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.js +406 -0
  1144. package/dist/src/_internal/util/vs/platform/instantiation/common/instantiationService.js.map +1 -0
  1145. package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.d.ts +10 -0
  1146. package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.d.ts.map +1 -0
  1147. package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.js +25 -0
  1148. package/dist/src/_internal/util/vs/platform/instantiation/common/serviceCollection.js.map +1 -0
  1149. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +32 -0
  1150. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.d.ts.map +1 -0
  1151. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.js +103 -0
  1152. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.js.map +1 -0
  1153. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +8 -0
  1154. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts.map +1 -0
  1155. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +38 -0
  1156. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.js.map +1 -0
  1157. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.d.ts +12 -0
  1158. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.d.ts.map +1 -0
  1159. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.js +53 -0
  1160. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/location.js.map +1 -0
  1161. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.d.ts +21 -0
  1162. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.d.ts.map +1 -0
  1163. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.js +72 -0
  1164. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.js.map +1 -0
  1165. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.d.ts +85 -0
  1166. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.d.ts.map +1 -0
  1167. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.js +243 -0
  1168. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.js.map +1 -0
  1169. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.d.ts +30 -0
  1170. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.d.ts.map +1 -0
  1171. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.js +178 -0
  1172. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/position.js.map +1 -0
  1173. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.d.ts +27 -0
  1174. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.d.ts.map +1 -0
  1175. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.js +148 -0
  1176. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/range.js.map +1 -0
  1177. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.d.ts +21 -0
  1178. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.d.ts.map +1 -0
  1179. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.js +84 -0
  1180. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.js.map +1 -0
  1181. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.d.ts +13 -0
  1182. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.d.ts.map +1 -0
  1183. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.js +95 -0
  1184. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.js.map +1 -0
  1185. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +14 -0
  1186. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts.map +1 -0
  1187. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +30 -0
  1188. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.js.map +1 -0
  1189. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +46 -0
  1190. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts.map +1 -0
  1191. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.js +82 -0
  1192. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.js.map +1 -0
  1193. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.d.ts +25 -0
  1194. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.d.ts.map +1 -0
  1195. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.js +93 -0
  1196. package/dist/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.js.map +1 -0
  1197. package/dist/src/_internal/vscodeTypes.d.ts +95 -0
  1198. package/dist/src/_internal/vscodeTypes.d.ts.map +1 -0
  1199. package/dist/src/_internal/vscodeTypes.js +133 -0
  1200. package/dist/src/_internal/vscodeTypes.js.map +1 -0
  1201. package/dist/src/main.d.ts +13 -0
  1202. package/dist/src/main.d.ts.map +1 -0
  1203. package/dist/src/main.js +190 -0
  1204. package/dist/src/main.js.map +1 -0
  1205. package/dist/src/package.json +4063 -0
  1206. package/package.json +64 -0
  1207. package/src/_internal/extension/byok/node/openAIEndpoint.ts +171 -0
  1208. package/src/_internal/extension/common/constants.ts +90 -0
  1209. package/src/_internal/extension/inlineEdits/common/delayer.ts +108 -0
  1210. package/src/_internal/extension/inlineEdits/common/editRebase.ts +268 -0
  1211. package/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.tsx +163 -0
  1212. package/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.ts +225 -0
  1213. package/src/_internal/extension/inlineEdits/common/rejectionCollector.ts +164 -0
  1214. package/src/_internal/extension/inlineEdits/node/debugRecorder.ts +205 -0
  1215. package/src/_internal/extension/inlineEdits/node/importFiltering.ts +25 -0
  1216. package/src/_internal/extension/inlineEdits/node/nesConfigs.ts +12 -0
  1217. package/src/_internal/extension/inlineEdits/node/nextEditCache.ts +278 -0
  1218. package/src/_internal/extension/inlineEdits/node/nextEditProvider.ts +778 -0
  1219. package/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.ts +983 -0
  1220. package/src/_internal/extension/inlineEdits/node/nextEditResult.ts +40 -0
  1221. package/src/_internal/extension/prompt/common/importStatement.ts +25 -0
  1222. package/src/_internal/extension/prompt/node/chatMLFetcher.ts +706 -0
  1223. package/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.ts +146 -0
  1224. package/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.ts +527 -0
  1225. package/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.ts +76 -0
  1226. package/src/_internal/extension/prompts/node/inline/visualization.ts +65 -0
  1227. package/src/_internal/extension/vscode.proposed.activeComment.d.ts +23 -0
  1228. package/src/_internal/extension/vscode.proposed.aiRelatedInformation.d.ts +49 -0
  1229. package/src/_internal/extension/vscode.proposed.aiSettingsSearch.d.ts +31 -0
  1230. package/src/_internal/extension/vscode.proposed.aiTextSearchProvider.d.ts +41 -0
  1231. package/src/_internal/extension/vscode.proposed.authLearnMore.d.ts +16 -0
  1232. package/src/_internal/extension/vscode.proposed.chatBinaryReferenceData.d.ts +41 -0
  1233. package/src/_internal/extension/vscode.proposed.chatEditing.d.ts +29 -0
  1234. package/src/_internal/extension/vscode.proposed.chatParticipantAdditions.d.ts +636 -0
  1235. package/src/_internal/extension/vscode.proposed.chatParticipantPrivate.d.ts +276 -0
  1236. package/src/_internal/extension/vscode.proposed.chatProvider.d.ts +62 -0
  1237. package/src/_internal/extension/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
  1238. package/src/_internal/extension/vscode.proposed.chatReferenceDiagnostic.d.ts +23 -0
  1239. package/src/_internal/extension/vscode.proposed.chatSessionsProvider.d.ts +218 -0
  1240. package/src/_internal/extension/vscode.proposed.chatStatusItem.d.ts +61 -0
  1241. package/src/_internal/extension/vscode.proposed.codeActionAI.d.ts +16 -0
  1242. package/src/_internal/extension/vscode.proposed.commentReveal.d.ts +32 -0
  1243. package/src/_internal/extension/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts +8 -0
  1244. package/src/_internal/extension/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
  1245. package/src/_internal/extension/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
  1246. package/src/_internal/extension/vscode.proposed.dataChannels.d.ts +19 -0
  1247. package/src/_internal/extension/vscode.proposed.defaultChatParticipant.d.ts +52 -0
  1248. package/src/_internal/extension/vscode.proposed.documentFiltersExclusive.d.ts +13 -0
  1249. package/src/_internal/extension/vscode.proposed.embeddings.d.ts +33 -0
  1250. package/src/_internal/extension/vscode.proposed.extensionsAny.d.ts +40 -0
  1251. package/src/_internal/extension/vscode.proposed.findFiles2.d.ts +125 -0
  1252. package/src/_internal/extension/vscode.proposed.findTextInFiles.d.ts +104 -0
  1253. package/src/_internal/extension/vscode.proposed.findTextInFiles2.d.ts +144 -0
  1254. package/src/_internal/extension/vscode.proposed.inlineCompletionsAdditions.d.ts +202 -0
  1255. package/src/_internal/extension/vscode.proposed.interactive.d.ts +11 -0
  1256. package/src/_internal/extension/vscode.proposed.languageModelCapabilities.d.ts +25 -0
  1257. package/src/_internal/extension/vscode.proposed.languageModelDataPart.d.ts +163 -0
  1258. package/src/_internal/extension/vscode.proposed.languageModelSystem.d.ts +17 -0
  1259. package/src/_internal/extension/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
  1260. package/src/_internal/extension/vscode.proposed.languageModelToolResultAudience.d.ts +36 -0
  1261. package/src/_internal/extension/vscode.proposed.mappedEditsProvider.d.ts +110 -0
  1262. package/src/_internal/extension/vscode.proposed.newSymbolNamesProvider.d.ts +47 -0
  1263. package/src/_internal/extension/vscode.proposed.readonlyMessage.d.ts +14 -0
  1264. package/src/_internal/extension/vscode.proposed.resolvers.d.ts +475 -0
  1265. package/src/_internal/extension/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
  1266. package/src/_internal/extension/vscode.proposed.taskProblemMatcherStatus.d.ts +42 -0
  1267. package/src/_internal/extension/vscode.proposed.terminalDataWriteEvent.d.ts +32 -0
  1268. package/src/_internal/extension/vscode.proposed.terminalExecuteCommandEvent.d.ts +48 -0
  1269. package/src/_internal/extension/vscode.proposed.terminalQuickFixProvider.d.ts +87 -0
  1270. package/src/_internal/extension/vscode.proposed.terminalSelection.d.ts +16 -0
  1271. package/src/_internal/extension/vscode.proposed.testObserver.d.ts +199 -0
  1272. package/src/_internal/extension/vscode.proposed.textDocumentChangeReason.d.ts +30 -0
  1273. package/src/_internal/extension/vscode.proposed.textSearchProvider.d.ts +281 -0
  1274. package/src/_internal/extension/vscode.proposed.textSearchProvider2.d.ts +297 -0
  1275. package/src/_internal/extension/xtab/common/promptCrafting.ts +670 -0
  1276. package/src/_internal/extension/xtab/node/xtabEndpoint.ts +102 -0
  1277. package/src/_internal/extension/xtab/node/xtabProvider.ts +976 -0
  1278. package/src/_internal/extension/xtab/node/xtabUtils.ts +62 -0
  1279. package/src/_internal/platform/authentication/common/authentication.ts +309 -0
  1280. package/src/_internal/platform/authentication/common/copilotToken.ts +300 -0
  1281. package/src/_internal/platform/authentication/common/copilotTokenManager.ts +59 -0
  1282. package/src/_internal/platform/authentication/common/copilotTokenStore.ts +40 -0
  1283. package/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.ts +96 -0
  1284. package/src/_internal/platform/authentication/node/copilotTokenManager.ts +303 -0
  1285. package/src/_internal/platform/chat/common/chatMLFetcher.ts +124 -0
  1286. package/src/_internal/platform/chat/common/chatQuotaService.ts +63 -0
  1287. package/src/_internal/platform/chat/common/chatQuotaServiceImpl.ts +96 -0
  1288. package/src/_internal/platform/chat/common/commonTypes.ts +353 -0
  1289. package/src/_internal/platform/chat/common/conversationOptions.ts +16 -0
  1290. package/src/_internal/platform/chat/common/globalStringUtils.ts +54 -0
  1291. package/src/_internal/platform/chat/common/interactionService.ts +35 -0
  1292. package/src/_internal/platform/configuration/common/configurationService.ts +803 -0
  1293. package/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.ts +39 -0
  1294. package/src/_internal/platform/configuration/common/jsonSchema.ts +139 -0
  1295. package/src/_internal/platform/configuration/common/validator.ts +242 -0
  1296. package/src/_internal/platform/diff/common/diffService.ts +41 -0
  1297. package/src/_internal/platform/diff/common/diffWorker.ts +83 -0
  1298. package/src/_internal/platform/diff/node/diffServiceImpl.ts +85 -0
  1299. package/src/_internal/platform/editing/common/abstractText.ts +177 -0
  1300. package/src/_internal/platform/editing/common/notebookDocumentSnapshot.ts +122 -0
  1301. package/src/_internal/platform/editing/common/positionOffsetTransformer.ts +202 -0
  1302. package/src/_internal/platform/editing/common/textDocumentSnapshot.ts +274 -0
  1303. package/src/_internal/platform/endpoint/common/capiClient.ts +37 -0
  1304. package/src/_internal/platform/endpoint/common/chatModelCapabilities.ts +115 -0
  1305. package/src/_internal/platform/endpoint/common/domainService.ts +27 -0
  1306. package/src/_internal/platform/endpoint/common/endpointProvider.ts +104 -0
  1307. package/src/_internal/platform/endpoint/common/endpointTypes.ts +12 -0
  1308. package/src/_internal/platform/endpoint/common/licenseAgreement.ts +11 -0
  1309. package/src/_internal/platform/endpoint/common/statefulMarkerContainer.tsx +85 -0
  1310. package/src/_internal/platform/endpoint/common/thinkingDataContainer.tsx +44 -0
  1311. package/src/_internal/platform/endpoint/node/capiClientImpl.ts +18 -0
  1312. package/src/_internal/platform/endpoint/node/chatEndpoint.ts +435 -0
  1313. package/src/_internal/platform/endpoint/node/domainServiceImpl.ts +80 -0
  1314. package/src/_internal/platform/endpoint/node/proxyXtabEndpoint.ts +43 -0
  1315. package/src/_internal/platform/endpoint/node/responsesApi.ts +326 -0
  1316. package/src/_internal/platform/env/common/envService.ts +134 -0
  1317. package/src/_internal/platform/env/common/nullEnvService.ts +68 -0
  1318. package/src/_internal/platform/env/common/packagejson.ts +49 -0
  1319. package/src/_internal/platform/git/common/gitExtensionService.ts +21 -0
  1320. package/src/_internal/platform/git/common/nullGitExtensionService.ts +20 -0
  1321. package/src/_internal/platform/git/vscode/git.d.ts +414 -0
  1322. package/src/_internal/platform/github/common/githubAPI.ts +44 -0
  1323. package/src/_internal/platform/github/common/githubService.ts +87 -0
  1324. package/src/_internal/platform/github/common/nullOctokitServiceImpl.ts +21 -0
  1325. package/src/_internal/platform/ignore/common/ignoreService.ts +72 -0
  1326. package/src/_internal/platform/inlineCompletions/common/api.ts +198 -0
  1327. package/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.ts +32 -0
  1328. package/src/_internal/platform/inlineEdits/common/dataTypes/documentId.ts +52 -0
  1329. package/src/_internal/platform/inlineEdits/common/dataTypes/edit.ts +165 -0
  1330. package/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.ts +74 -0
  1331. package/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.ts +14 -0
  1332. package/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.ts +107 -0
  1333. package/src/_internal/platform/inlineEdits/common/dataTypes/languageId.ts +14 -0
  1334. package/src/_internal/platform/inlineEdits/common/dataTypes/permutation.ts +69 -0
  1335. package/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.ts +49 -0
  1336. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.ts +74 -0
  1337. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.ts +132 -0
  1338. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.ts +184 -0
  1339. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.ts +32 -0
  1340. package/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.ts +89 -0
  1341. package/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.ts +10 -0
  1342. package/src/_internal/platform/inlineEdits/common/editReason.ts +134 -0
  1343. package/src/_internal/platform/inlineEdits/common/inlineEditLogContext.ts +490 -0
  1344. package/src/_internal/platform/inlineEdits/common/observableGit.ts +49 -0
  1345. package/src/_internal/platform/inlineEdits/common/observableWorkspace.ts +239 -0
  1346. package/src/_internal/platform/inlineEdits/common/responseProcessor.ts +249 -0
  1347. package/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.ts +468 -0
  1348. package/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.ts +59 -0
  1349. package/src/_internal/platform/inlineEdits/common/utils/observable.ts +54 -0
  1350. package/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.ts +29 -0
  1351. package/src/_internal/platform/inlineEdits/common/utils/utils.ts +56 -0
  1352. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.ts +60 -0
  1353. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.ts +353 -0
  1354. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.ts +176 -0
  1355. package/src/_internal/platform/languageContextProvider/common/languageContextProviderService.ts +25 -0
  1356. package/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.ts +38 -0
  1357. package/src/_internal/platform/languageServer/common/languageContextService.ts +186 -0
  1358. package/src/_internal/platform/languages/common/languageDiagnosticsService.ts +67 -0
  1359. package/src/_internal/platform/languages/common/testLanguageDiagnosticsService.ts +28 -0
  1360. package/src/_internal/platform/log/common/logService.ts +232 -0
  1361. package/src/_internal/platform/nesFetch/common/completionsAPI.ts +78 -0
  1362. package/src/_internal/platform/nesFetch/common/completionsFetchService.ts +118 -0
  1363. package/src/_internal/platform/nesFetch/common/responseStream.ts +151 -0
  1364. package/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.ts +236 -0
  1365. package/src/_internal/platform/nesFetch/node/streamTransformer.ts +95 -0
  1366. package/src/_internal/platform/networking/common/fetch.ts +349 -0
  1367. package/src/_internal/platform/networking/common/fetcherService.ts +84 -0
  1368. package/src/_internal/platform/networking/common/networking.ts +442 -0
  1369. package/src/_internal/platform/networking/common/openai.ts +273 -0
  1370. package/src/_internal/platform/networking/node/chatStream.ts +137 -0
  1371. package/src/_internal/platform/networking/node/stream.ts +749 -0
  1372. package/src/_internal/platform/notebook/common/alternativeContent.ts +89 -0
  1373. package/src/_internal/platform/notebook/common/alternativeContentFormat.ts +10 -0
  1374. package/src/_internal/platform/notebook/common/alternativeContentProvider.json.ts +262 -0
  1375. package/src/_internal/platform/notebook/common/alternativeContentProvider.text.ts +243 -0
  1376. package/src/_internal/platform/notebook/common/alternativeContentProvider.ts +41 -0
  1377. package/src/_internal/platform/notebook/common/alternativeContentProvider.xml.ts +205 -0
  1378. package/src/_internal/platform/notebook/common/alternativeNotebookDocument.ts +155 -0
  1379. package/src/_internal/platform/notebook/common/helpers.ts +212 -0
  1380. package/src/_internal/platform/notebook/common/notebookService.ts +43 -0
  1381. package/src/_internal/platform/openai/node/fetch.ts +596 -0
  1382. package/src/_internal/platform/parser/node/nodes.ts +190 -0
  1383. package/src/_internal/platform/requestLogger/node/nullRequestLogger.ts +26 -0
  1384. package/src/_internal/platform/requestLogger/node/requestLogger.ts +383 -0
  1385. package/src/_internal/platform/simulationTestContext/common/simulationTestContext.ts +29 -0
  1386. package/src/_internal/platform/snippy/common/snippyService.ts +25 -0
  1387. package/src/_internal/platform/telemetry/common/nullExperimentationService.ts +64 -0
  1388. package/src/_internal/platform/telemetry/common/nullTelemetryService.ts +53 -0
  1389. package/src/_internal/platform/telemetry/common/telemetry.ts +215 -0
  1390. package/src/_internal/platform/telemetry/common/telemetryData.ts +205 -0
  1391. package/src/_internal/platform/thinking/common/thinking.ts +61 -0
  1392. package/src/_internal/platform/thinking/common/thinkingUtils.ts +57 -0
  1393. package/src/_internal/platform/tokenizer/node/parseTikTokens.ts +23 -0
  1394. package/src/_internal/platform/tokenizer/node/tikTokenizerImpl.ts +74 -0
  1395. package/src/_internal/platform/tokenizer/node/tikTokenizerWorker.ts +24 -0
  1396. package/src/_internal/platform/tokenizer/node/tokenizer.ts +357 -0
  1397. package/src/_internal/platform/workspace/common/workspaceService.ts +226 -0
  1398. package/src/_internal/platform/workspaceRecorder/common/workspaceLog.ts +118 -0
  1399. package/src/_internal/util/common/anomalyDetection.ts +112 -0
  1400. package/src/_internal/util/common/arrays.ts +81 -0
  1401. package/src/_internal/util/common/async.ts +155 -0
  1402. package/src/_internal/util/common/cache.ts +183 -0
  1403. package/src/_internal/util/common/crypto.ts +41 -0
  1404. package/src/_internal/util/common/errors.ts +22 -0
  1405. package/src/_internal/util/common/globals.d.ts +12 -0
  1406. package/src/_internal/util/common/imageUtils.ts +154 -0
  1407. package/src/_internal/util/common/languages.ts +940 -0
  1408. package/src/_internal/util/common/notebooks.ts +286 -0
  1409. package/src/_internal/util/common/result.ts +71 -0
  1410. package/src/_internal/util/common/services.ts +43 -0
  1411. package/src/_internal/util/common/test/shims/chatTypes.ts +448 -0
  1412. package/src/_internal/util/common/test/shims/editing.ts +233 -0
  1413. package/src/_internal/util/common/test/shims/enums.ts +61 -0
  1414. package/src/_internal/util/common/test/shims/l10n.ts +37 -0
  1415. package/src/_internal/util/common/test/shims/newSymbolName.ts +23 -0
  1416. package/src/_internal/util/common/test/shims/terminal.ts +33 -0
  1417. package/src/_internal/util/common/test/shims/vscodeTypesShim.ts +115 -0
  1418. package/src/_internal/util/common/time.ts +31 -0
  1419. package/src/_internal/util/common/tokenizer.ts +30 -0
  1420. package/src/_internal/util/common/tracing.ts +52 -0
  1421. package/src/_internal/util/common/types.ts +33 -0
  1422. package/src/_internal/util/common/variableLengthQuantity.ts +40 -0
  1423. package/src/_internal/util/node/worker.ts +130 -0
  1424. package/src/_internal/util/vs/base/common/arrays.ts +926 -0
  1425. package/src/_internal/util/vs/base/common/arraysFind.ts +206 -0
  1426. package/src/_internal/util/vs/base/common/assert.ts +89 -0
  1427. package/src/_internal/util/vs/base/common/async.ts +2582 -0
  1428. package/src/_internal/util/vs/base/common/buffer.ts +501 -0
  1429. package/src/_internal/util/vs/base/common/cache.ts +122 -0
  1430. package/src/_internal/util/vs/base/common/cancellation.ts +150 -0
  1431. package/src/_internal/util/vs/base/common/charCode.ts +452 -0
  1432. package/src/_internal/util/vs/base/common/codicons.ts +66 -0
  1433. package/src/_internal/util/vs/base/common/codiconsLibrary.ts +618 -0
  1434. package/src/_internal/util/vs/base/common/codiconsUtil.ts +30 -0
  1435. package/src/_internal/util/vs/base/common/collections.ts +156 -0
  1436. package/src/_internal/util/vs/base/common/diff/diff.ts +1317 -0
  1437. package/src/_internal/util/vs/base/common/diff/diffChange.ts +62 -0
  1438. package/src/_internal/util/vs/base/common/equals.ts +148 -0
  1439. package/src/_internal/util/vs/base/common/errors.ts +342 -0
  1440. package/src/_internal/util/vs/base/common/event.ts +1782 -0
  1441. package/src/_internal/util/vs/base/common/extpath.ts +425 -0
  1442. package/src/_internal/util/vs/base/common/filters.ts +928 -0
  1443. package/src/_internal/util/vs/base/common/functional.ts +34 -0
  1444. package/src/_internal/util/vs/base/common/glob.ts +839 -0
  1445. package/src/_internal/util/vs/base/common/hash.ts +326 -0
  1446. package/src/_internal/util/vs/base/common/htmlContent.ts +212 -0
  1447. package/src/_internal/util/vs/base/common/iconLabels.ts +118 -0
  1448. package/src/_internal/util/vs/base/common/iterator.ts +196 -0
  1449. package/src/_internal/util/vs/base/common/lazy.ts +59 -0
  1450. package/src/_internal/util/vs/base/common/lifecycle.ts +845 -0
  1451. package/src/_internal/util/vs/base/common/linkedList.ts +144 -0
  1452. package/src/_internal/util/vs/base/common/map.ts +954 -0
  1453. package/src/_internal/util/vs/base/common/marshallingIds.ts +35 -0
  1454. package/src/_internal/util/vs/base/common/mime.ts +136 -0
  1455. package/src/_internal/util/vs/base/common/naturalLanguage/korean.ts +425 -0
  1456. package/src/_internal/util/vs/base/common/network.ts +429 -0
  1457. package/src/_internal/util/vs/base/common/numbers.ts +166 -0
  1458. package/src/_internal/util/vs/base/common/objects.ts +242 -0
  1459. package/src/_internal/util/vs/base/common/observable.ts +10 -0
  1460. package/src/_internal/util/vs/base/common/observableInternal/base.ts +208 -0
  1461. package/src/_internal/util/vs/base/common/observableInternal/changeTracker.ts +96 -0
  1462. package/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.ts +9 -0
  1463. package/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.ts +12 -0
  1464. package/src/_internal/util/vs/base/common/observableInternal/debugLocation.ts +88 -0
  1465. package/src/_internal/util/vs/base/common/observableInternal/debugName.ts +150 -0
  1466. package/src/_internal/util/vs/base/common/observableInternal/experimental/utils.ts +62 -0
  1467. package/src/_internal/util/vs/base/common/observableInternal/index.ts +61 -0
  1468. package/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.ts +388 -0
  1469. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerApi.d.ts +154 -0
  1470. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.ts +80 -0
  1471. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.ts +485 -0
  1472. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.ts +103 -0
  1473. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.ts +69 -0
  1474. package/src/_internal/util/vs/base/common/observableInternal/logging/logging.ts +133 -0
  1475. package/src/_internal/util/vs/base/common/observableInternal/map.ts +81 -0
  1476. package/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.ts +172 -0
  1477. package/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.ts +44 -0
  1478. package/src/_internal/util/vs/base/common/observableInternal/observables/derived.ts +190 -0
  1479. package/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.ts +445 -0
  1480. package/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.ts +154 -0
  1481. package/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.ts +174 -0
  1482. package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.ts +67 -0
  1483. package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.ts +62 -0
  1484. package/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.ts +131 -0
  1485. package/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.ts +37 -0
  1486. package/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.ts +188 -0
  1487. package/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.ts +256 -0
  1488. package/src/_internal/util/vs/base/common/observableInternal/set.ts +78 -0
  1489. package/src/_internal/util/vs/base/common/observableInternal/transaction.ts +115 -0
  1490. package/src/_internal/util/vs/base/common/observableInternal/utils/promise.ts +129 -0
  1491. package/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.ts +65 -0
  1492. package/src/_internal/util/vs/base/common/observableInternal/utils/utils.ts +281 -0
  1493. package/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.ts +101 -0
  1494. package/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.ts +31 -0
  1495. package/src/_internal/util/vs/base/common/path.ts +1591 -0
  1496. package/src/_internal/util/vs/base/common/platform.ts +282 -0
  1497. package/src/_internal/util/vs/base/common/process.ts +78 -0
  1498. package/src/_internal/util/vs/base/common/resources.ts +446 -0
  1499. package/src/_internal/util/vs/base/common/sequence.ts +36 -0
  1500. package/src/_internal/util/vs/base/common/sseParser.ts +247 -0
  1501. package/src/_internal/util/vs/base/common/stopwatch.ts +43 -0
  1502. package/src/_internal/util/vs/base/common/stream.ts +792 -0
  1503. package/src/_internal/util/vs/base/common/strings.ts +1364 -0
  1504. package/src/_internal/util/vs/base/common/symbols.ts +11 -0
  1505. package/src/_internal/util/vs/base/common/themables.ts +106 -0
  1506. package/src/_internal/util/vs/base/common/types.ts +345 -0
  1507. package/src/_internal/util/vs/base/common/uint.ts +61 -0
  1508. package/src/_internal/util/vs/base/common/uri.ts +752 -0
  1509. package/src/_internal/util/vs/base/common/uuid.ts +72 -0
  1510. package/src/_internal/util/vs/base-common.d.ts +42 -0
  1511. package/src/_internal/util/vs/editor/common/core/editOperation.ts +62 -0
  1512. package/src/_internal/util/vs/editor/common/core/edits/edit.ts +399 -0
  1513. package/src/_internal/util/vs/editor/common/core/edits/lineEdit.ts +414 -0
  1514. package/src/_internal/util/vs/editor/common/core/edits/stringEdit.ts +568 -0
  1515. package/src/_internal/util/vs/editor/common/core/edits/textEdit.ts +411 -0
  1516. package/src/_internal/util/vs/editor/common/core/position.ts +186 -0
  1517. package/src/_internal/util/vs/editor/common/core/range.ts +519 -0
  1518. package/src/_internal/util/vs/editor/common/core/ranges/lineRange.ts +416 -0
  1519. package/src/_internal/util/vs/editor/common/core/ranges/offsetRange.ts +275 -0
  1520. package/src/_internal/util/vs/editor/common/core/text/abstractText.ts +127 -0
  1521. package/src/_internal/util/vs/editor/common/core/text/positionToOffset.ts +26 -0
  1522. package/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.ts +144 -0
  1523. package/src/_internal/util/vs/editor/common/core/text/textLength.ts +150 -0
  1524. package/src/_internal/util/vs/editor/common/core/wordHelper.ts +177 -0
  1525. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.ts +210 -0
  1526. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.ts +109 -0
  1527. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.ts +178 -0
  1528. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.ts +331 -0
  1529. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.ts +273 -0
  1530. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.ts +475 -0
  1531. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.ts +47 -0
  1532. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.ts +248 -0
  1533. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.ts +76 -0
  1534. package/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.ts +693 -0
  1535. package/src/_internal/util/vs/editor/common/diff/linesDiffComputer.ts +61 -0
  1536. package/src/_internal/util/vs/editor/common/diff/rangeMapping.ts +418 -0
  1537. package/src/_internal/util/vs/editor/common/model/prefixSumComputer.ts +304 -0
  1538. package/src/_internal/util/vs/nls.messages.ts +21 -0
  1539. package/src/_internal/util/vs/nls.ts +243 -0
  1540. package/src/_internal/util/vs/platform/instantiation/common/descriptors.ts +23 -0
  1541. package/src/_internal/util/vs/platform/instantiation/common/graph.ts +113 -0
  1542. package/src/_internal/util/vs/platform/instantiation/common/instantiation.ts +127 -0
  1543. package/src/_internal/util/vs/platform/instantiation/common/instantiationService.ts +483 -0
  1544. package/src/_internal/util/vs/platform/instantiation/common/serviceCollection.ts +34 -0
  1545. package/src/_internal/util/vs/vscode-globals-nls.d.ts +42 -0
  1546. package/src/_internal/util/vs/vscode-globals-product.d.ts +35 -0
  1547. package/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.ts +109 -0
  1548. package/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.ts +34 -0
  1549. package/src/_internal/util/vs/workbench/api/common/extHostTypes/location.ts +51 -0
  1550. package/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.ts +83 -0
  1551. package/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.ts +296 -0
  1552. package/src/_internal/util/vs/workbench/api/common/extHostTypes/position.ts +195 -0
  1553. package/src/_internal/util/vs/workbench/api/common/extHostTypes/range.ts +167 -0
  1554. package/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.ts +94 -0
  1555. package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.ts +103 -0
  1556. package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.ts +44 -0
  1557. package/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.ts +89 -0
  1558. package/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.ts +99 -0
  1559. package/src/_internal/vscodeTypes.ts +100 -0
  1560. package/src/main.ts +207 -0
  1561. package/src/package.json +4063 -0
@@ -0,0 +1,595 @@
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Licensed under the MIT License. See License.txt in the project root for license information.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SSEProcessor = void 0;
8
+ exports.splitChunk = splitChunk;
9
+ exports.convertToAPIJsonData = convertToAPIJsonData;
10
+ exports.sendCommunicationErrorTelemetry = sendCommunicationErrorTelemetry;
11
+ const logService_1 = require("../../log/common/logService");
12
+ const telemetryData_1 = require("../../telemetry/common/telemetryData");
13
+ const thinkingUtils_1 = require("../../thinking/common/thinkingUtils");
14
+ const fetch_1 = require("../common/fetch");
15
+ const openai_1 = require("../common/openai");
16
+ /** Gathers together many chunks of a single completion choice. */
17
+ class APIJsonDataStreaming {
18
+ constructor() {
19
+ this._text = [];
20
+ this._newText = [];
21
+ }
22
+ get text() {
23
+ return this._text;
24
+ }
25
+ append(choice) {
26
+ if (choice.text) {
27
+ const str = APIJsonDataStreaming._removeCR(choice.text);
28
+ this._text.push(str);
29
+ this._newText.push(str);
30
+ }
31
+ if (choice.delta?.content) {
32
+ const str = APIJsonDataStreaming._removeCR(choice.delta.content);
33
+ this._text.push(str);
34
+ this._newText.push(str);
35
+ }
36
+ if (choice.delta?.function_call && (choice.delta.function_call.name || choice.delta.function_call.arguments)) {
37
+ const str = APIJsonDataStreaming._removeCR(choice.delta.function_call.arguments);
38
+ this._text.push(str);
39
+ this._newText.push(str);
40
+ }
41
+ }
42
+ flush() {
43
+ const delta = this._newText.join('');
44
+ this._newText = [];
45
+ return delta;
46
+ }
47
+ static _removeCR(text) {
48
+ return text.replace(/\r$/g, '');
49
+ }
50
+ toJSON() {
51
+ return {
52
+ text: this._text,
53
+ newText: this._newText
54
+ };
55
+ }
56
+ }
57
+ class StreamingToolCall {
58
+ constructor() {
59
+ this.arguments = '';
60
+ }
61
+ update(toolCall) {
62
+ if (toolCall.id) {
63
+ this.id = toolCall.id;
64
+ }
65
+ if (toolCall.function?.name) {
66
+ this.name = toolCall.function.name;
67
+ }
68
+ if (toolCall.function?.arguments) {
69
+ this.arguments += toolCall.function.arguments;
70
+ }
71
+ }
72
+ }
73
+ class StreamingToolCalls {
74
+ constructor() {
75
+ this.toolCalls = [];
76
+ }
77
+ getToolCalls() {
78
+ return this.toolCalls.map(call => {
79
+ return {
80
+ name: call.name,
81
+ arguments: call.arguments,
82
+ id: call.id,
83
+ };
84
+ });
85
+ }
86
+ hasToolCalls() {
87
+ return this.toolCalls.length > 0;
88
+ }
89
+ update(choice) {
90
+ choice.delta?.tool_calls?.forEach(toolCall => {
91
+ let currentCall = this.toolCalls.at(-1);
92
+ if (!currentCall || (toolCall.id && currentCall.id !== toolCall.id)) {
93
+ currentCall = new StreamingToolCall();
94
+ this.toolCalls.push(currentCall);
95
+ }
96
+ currentCall.update(toolCall);
97
+ });
98
+ }
99
+ }
100
+ // Given a string of lines separated by one or more newlines, returns complete
101
+ // lines and any remaining partial line data. Exported for test only.
102
+ function splitChunk(chunk) {
103
+ const dataLines = chunk.split('\n');
104
+ const newExtra = dataLines.pop(); // will be empty string if chunk ends with "\n"
105
+ return [dataLines.filter(line => line !== ''), newExtra];
106
+ }
107
+ /**
108
+ * Processes an HTTP request containing what is assumed to be an SSE stream of
109
+ * OpenAI API data. Yields a stream of `FinishedCompletion` objects, each as
110
+ * soon as it's finished.
111
+ */
112
+ class SSEProcessor {
113
+ constructor(logService, telemetryService, expectedNumChoices, response, body, cancellationToken) {
114
+ this.logService = logService;
115
+ this.telemetryService = telemetryService;
116
+ this.expectedNumChoices = expectedNumChoices;
117
+ this.response = response;
118
+ this.body = body;
119
+ this.cancellationToken = cancellationToken;
120
+ this.requestId = (0, fetch_1.getRequestId)(this.response);
121
+ /**
122
+ * A key & value being here means at least one chunk with that choice index
123
+ * has been received. A null value means we've already finished the given
124
+ * solution and should not process incoming tokens further.
125
+ */
126
+ this.solutions = {};
127
+ this.completedFunctionCallIdxs = new Map();
128
+ this.functionCalls = {};
129
+ this.toolCalls = new StreamingToolCalls();
130
+ this.functionCallName = undefined;
131
+ }
132
+ static async create(logService, telemetryService, expectedNumChoices, response, cancellationToken) {
133
+ const body = (await response.body());
134
+ body.setEncoding('utf8');
135
+ return new SSEProcessor(logService, telemetryService, expectedNumChoices, response, body, cancellationToken);
136
+ }
137
+ /**
138
+ * Yields finished completions as soon as they are available. The finishedCb
139
+ * is used to determine when a completion is done and should be truncated.
140
+ * It is called on the whole of the received solution text, once at the end
141
+ * of the completion (if it stops by itself) and also on any chunk that has
142
+ * a newline in it.
143
+ *
144
+ * Closes the server request stream when all choices are finished/truncated
145
+ * (as long as fastCancellation is true).
146
+ *
147
+ * Note that for this to work, the caller must consume the entire stream.
148
+ * This happens automatically when using a `for await` loop, but when
149
+ * iterating manually this needs to be done by calling `.next()` until it
150
+ * returns an item with done = true (or calling `.return()`).
151
+ */
152
+ async *processSSE(finishedCb = async () => undefined) {
153
+ try {
154
+ // If it's n > 1 we don't handle usage as the usage is global for the stream and all our code assumes per choice
155
+ // Therefore we will just skip over the usage and yield the completions
156
+ if (this.expectedNumChoices > 1) {
157
+ for await (const usageOrCompletions of this.processSSEInner(finishedCb)) {
158
+ if (!(0, openai_1.isApiUsage)(usageOrCompletions)) {
159
+ yield usageOrCompletions;
160
+ }
161
+ }
162
+ }
163
+ else {
164
+ let completion;
165
+ let usage;
166
+ // Process both the usage and the completions, then yield one combined completions
167
+ for await (const usageOrCompletions of this.processSSEInner(finishedCb)) {
168
+ if ((0, openai_1.isApiUsage)(usageOrCompletions)) {
169
+ usage = usageOrCompletions;
170
+ }
171
+ else {
172
+ completion = usageOrCompletions;
173
+ }
174
+ }
175
+ if (this.maybeCancel('after receiving the completion, but maybe before we got the usage')) {
176
+ return;
177
+ }
178
+ if (completion) {
179
+ completion.usage = usage;
180
+ yield completion;
181
+ }
182
+ }
183
+ }
184
+ finally {
185
+ this.cancel();
186
+ this.logService.info(`request done: requestId: [${this.requestId.headerRequestId}] model deployment ID: [${this.requestId.deploymentId}]`);
187
+ }
188
+ }
189
+ async *processSSEInner(finishedCb) {
190
+ // Collects pieces of the SSE stream that haven't been fully processed yet.
191
+ let extraData = '';
192
+ // This flag is set when at least for one solution we finished early (via `finishedCb`).
193
+ let hadEarlyFinishedSolution = false;
194
+ // Iterate over arbitrarily sized chunks coming in from the network.
195
+ for await (const chunk of this.body) {
196
+ if (this.maybeCancel('after awaiting body chunk')) {
197
+ return;
198
+ }
199
+ // this.logService.public.debug(chunk.toString());
200
+ const [dataLines, remainder] = splitChunk(extraData + chunk.toString());
201
+ extraData = remainder;
202
+ // Each dataLine is complete since we've seen at least one \n after it
203
+ // The platform agent can return a 'function_call' finish_reason, which isn't a real function call
204
+ // but is echoing internal function call messages back to us. So don't treat them as real function calls
205
+ // if we received more data after that
206
+ let allowCompletingSolution = true;
207
+ let thinkingFound = false;
208
+ for (const dataLine of dataLines) {
209
+ // Lines which start with a `:` are SSE Comments per the spec and can be ignored
210
+ if (dataLine.startsWith(':')) {
211
+ continue;
212
+ }
213
+ const lineWithoutData = dataLine.slice('data:'.length).trim();
214
+ if (lineWithoutData === '[DONE]') {
215
+ thinkingFound = false;
216
+ yield* this.finishSolutions();
217
+ return;
218
+ }
219
+ // TODO @lramos15 - This should not be an ugly inlined type like this
220
+ let json;
221
+ try {
222
+ json = JSON.parse(lineWithoutData);
223
+ }
224
+ catch (e) {
225
+ this.logService.error(`Error parsing JSON stream data for request id ${this.requestId.headerRequestId}:${dataLine}`);
226
+ sendCommunicationErrorTelemetry(this.telemetryService, `Error parsing JSON stream data for request id ${this.requestId.headerRequestId}:`, dataLine);
227
+ continue;
228
+ }
229
+ // Track usage data for this stream. Usage is global and not per choice. Therefore it's emitted as its own chunk
230
+ if (json.usage) {
231
+ yield json.usage;
232
+ }
233
+ // A message with a confirmation may or may not have 'choices'
234
+ if (json.copilot_confirmation && isCopilotConfirmation(json.copilot_confirmation)) {
235
+ await finishedCb('', 0, { text: '', copilotConfirmation: json.copilot_confirmation });
236
+ }
237
+ if (!json.choices) {
238
+ // Currently there are messages with a null 'choices' that include copilot_references- ignore these
239
+ if (!json.copilot_references && !json.copilot_confirmation) {
240
+ if (json.error !== undefined) {
241
+ this.logService.error(`Error in response for request id ${this.requestId.headerRequestId}:${json.error.message}`);
242
+ sendCommunicationErrorTelemetry(this.telemetryService, `Error in response for request id ${this.requestId.headerRequestId}:`, json.error.message);
243
+ // Encountered an error mid stream we immediately yield as the response is not usable.
244
+ yield {
245
+ index: 0,
246
+ finishOffset: undefined,
247
+ solution: new APIJsonDataStreaming(),
248
+ reason: openai_1.FinishedCompletionReason.ServerError,
249
+ error: json.error,
250
+ requestId: this.requestId,
251
+ };
252
+ }
253
+ else {
254
+ this.logService.error(`Unexpected response with no choices or error for request id ${this.requestId.headerRequestId}`);
255
+ sendCommunicationErrorTelemetry(this.telemetryService, `Unexpected response with no choices or error for request id ${this.requestId.headerRequestId}`);
256
+ }
257
+ }
258
+ // There are also messages with a null 'choices' that include copilot_errors- report these
259
+ if (json.copilot_errors) {
260
+ await finishedCb('', 0, { text: '', copilotErrors: json.copilot_errors });
261
+ }
262
+ if (json.copilot_references) {
263
+ await finishedCb('', 0, { text: '', copilotReferences: json.copilot_references });
264
+ }
265
+ continue;
266
+ }
267
+ if (this.requestId.created === 0) {
268
+ // Would only be 0 if we're the first actual response chunk
269
+ this.requestId = (0, fetch_1.getRequestId)(this.response, json);
270
+ if (this.requestId.created === 0 && json.choices?.length) { // An initial chunk is sent with an empty choices array and no id, to hold `prompt_filter_results`
271
+ this.logService.error(`Request id invalid, should have "completionId" and "created": ${JSON.stringify(this.requestId)} ${this.requestId}`);
272
+ sendCommunicationErrorTelemetry(this.telemetryService, `Request id invalid, should have "completionId" and "created": ${JSON.stringify(this.requestId)}`, this.requestId);
273
+ }
274
+ }
275
+ for (let i = 0; i < json.choices.length; i++) {
276
+ const choice = json.choices[i];
277
+ this.logChoice(choice);
278
+ const thinkingDelta = (0, thinkingUtils_1.extractThinkingDeltaFromChoice)(choice);
279
+ // Once we observe any thinking text or an id in this batch, keep the flag true
280
+ thinkingFound ||= !!(thinkingDelta?.text || thinkingDelta?.id);
281
+ if (!(choice.index in this.solutions)) {
282
+ this.solutions[choice.index] = new APIJsonDataStreaming();
283
+ }
284
+ const solution = this.solutions[choice.index];
285
+ if (solution === null) {
286
+ if (thinkingDelta) {
287
+ await finishedCb('', choice.index, { text: '', thinking: thinkingDelta });
288
+ }
289
+ continue; // already finished
290
+ }
291
+ let finishOffset;
292
+ const emitSolution = async (delta) => {
293
+ if (delta?.vulnAnnotations && (!Array.isArray(delta.vulnAnnotations) || !delta.vulnAnnotations.every(a => (0, fetch_1.isCopilotAnnotation)(a)))) {
294
+ delta.vulnAnnotations = undefined;
295
+ }
296
+ // Validate code citation annotations carefully, because the API is a work in progress
297
+ if (delta?.ipCodeCitations && (!Array.isArray(delta.ipCodeCitations) || !delta.ipCodeCitations.every(fetch_1.isCodeCitationAnnotation))) {
298
+ delta.ipCodeCitations = undefined;
299
+ }
300
+ finishOffset = await finishedCb(solution.text.join(''), choice.index, {
301
+ text: solution.flush(),
302
+ logprobs: choice.logprobs,
303
+ codeVulnAnnotations: delta?.vulnAnnotations,
304
+ ipCitations: delta?.ipCodeCitations,
305
+ copilotReferences: delta?.references,
306
+ copilotToolCalls: delta?.toolCalls,
307
+ _deprecatedCopilotFunctionCalls: delta?.functionCalls,
308
+ beginToolCalls: delta?.beginToolCalls,
309
+ copilotErrors: delta?.errors,
310
+ thinking: thinkingDelta ?? delta?.thinking,
311
+ });
312
+ if (finishOffset !== undefined) {
313
+ hadEarlyFinishedSolution = true;
314
+ }
315
+ return this.maybeCancel('after awaiting finishedCb');
316
+ };
317
+ let handled = true;
318
+ if (choice.delta?.tool_calls) {
319
+ if (!this.toolCalls.hasToolCalls() && solution.text.length > 0) {
320
+ const firstToolName = choice.delta.tool_calls.at(0)?.function?.name;
321
+ if (firstToolName) {
322
+ // Flush the linkifier stream. See #16465
323
+ solution.append({ index: 0, delta: { content: ' ' } });
324
+ await emitSolution({ beginToolCalls: [{ name: firstToolName }] });
325
+ }
326
+ }
327
+ this.toolCalls.update(choice);
328
+ }
329
+ else if (choice.delta?.copilot_annotations?.CodeVulnerability || choice.delta?.copilot_annotations?.IPCodeCitations) {
330
+ if (await emitSolution()) {
331
+ continue;
332
+ }
333
+ if (!hadEarlyFinishedSolution) {
334
+ solution.append(choice);
335
+ if (await emitSolution({ vulnAnnotations: choice.delta?.copilot_annotations?.CodeVulnerability, ipCodeCitations: choice.delta?.copilot_annotations?.IPCodeCitations })) {
336
+ continue;
337
+ }
338
+ }
339
+ }
340
+ else if (choice.delta?.role === 'function') {
341
+ if (choice.delta.content) {
342
+ try {
343
+ const references = JSON.parse(choice.delta.content);
344
+ if (Array.isArray(references)) {
345
+ if (await emitSolution({ references: references })) {
346
+ continue;
347
+ }
348
+ }
349
+ }
350
+ catch (ex) {
351
+ this.logService.error(`Error parsing function references: ${JSON.stringify(ex)}`);
352
+ }
353
+ }
354
+ }
355
+ else if (choice.delta?.function_call && (choice.delta.function_call.name || choice.delta.function_call.arguments)) {
356
+ allowCompletingSolution = false;
357
+ this.functionCallName ??= choice.delta.function_call.name;
358
+ this.functionCalls[this.functionCallName] ??= new APIJsonDataStreaming();
359
+ const functionCall = this.functionCalls[this.functionCallName];
360
+ functionCall.append(choice);
361
+ }
362
+ else if ((choice.finish_reason === openai_1.FinishedCompletionReason.FunctionCall || choice.finish_reason === openai_1.FinishedCompletionReason.Stop) && this.functionCallName) {
363
+ // We don't want to yield the function call until we have all the data
364
+ const functionCallStreamObj = this.functionCalls[this.functionCallName];
365
+ const functionCall = { name: this.functionCallName, arguments: functionCallStreamObj.flush() };
366
+ this.completedFunctionCallIdxs.set(choice.index, 'function');
367
+ try {
368
+ if (await emitSolution({ functionCalls: [functionCall] })) {
369
+ continue;
370
+ }
371
+ }
372
+ catch (error) {
373
+ this.logService.error(error);
374
+ }
375
+ this.functionCalls[this.functionCallName] = null;
376
+ this.functionCallName = undefined;
377
+ if (choice.finish_reason === openai_1.FinishedCompletionReason.FunctionCall) {
378
+ // See note about the 'function_call' finish_reason below
379
+ continue;
380
+ }
381
+ }
382
+ else {
383
+ handled = false;
384
+ }
385
+ if ((choice.finish_reason === openai_1.FinishedCompletionReason.ToolCalls || choice.finish_reason === openai_1.FinishedCompletionReason.Stop) && this.toolCalls.hasToolCalls()) {
386
+ handled = true;
387
+ const toolCalls = this.toolCalls.getToolCalls();
388
+ this.completedFunctionCallIdxs.set(choice.index, 'tool');
389
+ const toolId = toolCalls.length > 0 ? toolCalls[0].id : undefined;
390
+ try {
391
+ if (await emitSolution({ toolCalls: toolCalls, thinking: (toolId && thinkingFound) ? { metadata: { toolId } } : undefined })) {
392
+ continue;
393
+ }
394
+ }
395
+ catch (error) {
396
+ this.logService.error(error);
397
+ }
398
+ }
399
+ if (!handled) {
400
+ solution.append(choice);
401
+ // Call finishedCb to determine if the solution is now complete.
402
+ if (await emitSolution()) {
403
+ continue;
404
+ }
405
+ }
406
+ const solutionDone = Boolean(choice.finish_reason) || finishOffset !== undefined;
407
+ if (!solutionDone) {
408
+ continue;
409
+ }
410
+ // NOTE: When there is a finish_reason the text of subsequent chunks is always '',
411
+ // (current chunk might still have useful text, that is why we add it above).
412
+ // So we know that we already got all the text to be displayed for the user.
413
+ // TODO: This might contain additional logprobs for excluded next tokens. We should
414
+ // filter out indices that correspond to excluded tokens. It will not affect the
415
+ // text though.
416
+ yield {
417
+ solution,
418
+ finishOffset,
419
+ reason: choice.finish_reason ?? openai_1.FinishedCompletionReason.ClientTrimmed,
420
+ filterReason: choiceToFilterReason(choice),
421
+ requestId: this.requestId,
422
+ index: choice.index,
423
+ };
424
+ if (this.maybeCancel('after yielding finished choice')) {
425
+ return;
426
+ }
427
+ if (allowCompletingSolution) {
428
+ this.solutions[choice.index] = null;
429
+ }
430
+ }
431
+ }
432
+ }
433
+ // Yield whatever solutions remain incomplete in case no [DONE] was received.
434
+ // This shouldn't happen in practice unless there was an error somewhere.
435
+ for (const [index, solution] of Object.entries(this.solutions)) {
436
+ const solutionIndex = Number(index); // Convert `index` from string to number
437
+ if (solution === null) {
438
+ continue; // already finished
439
+ }
440
+ yield {
441
+ solution,
442
+ finishOffset: undefined,
443
+ reason: openai_1.FinishedCompletionReason.ClientIterationDone,
444
+ requestId: this.requestId,
445
+ index: solutionIndex,
446
+ };
447
+ if (this.maybeCancel('after yielding after iteration done')) {
448
+ return;
449
+ }
450
+ }
451
+ // Error message can be present in `extraData`
452
+ //
453
+ // When `finishedCb` decides to finish a solution early, it is possible that
454
+ // we will have unfinished or partial JSON data in `extraData` because we
455
+ // break out of the above for loop as soon as all solutions are finished.
456
+ //
457
+ // We don't want to alarm ourselves with such partial JSON data.
458
+ if (extraData.length > 0 && !hadEarlyFinishedSolution) {
459
+ try {
460
+ const extraDataJson = JSON.parse(extraData);
461
+ if (extraDataJson.error !== undefined) {
462
+ this.logService.error(extraDataJson.error, `Error in response: ${extraDataJson.error.message}`);
463
+ sendCommunicationErrorTelemetry(this.telemetryService, `Error in response: ${extraDataJson.error.message}`, extraDataJson.error);
464
+ }
465
+ }
466
+ catch (e) {
467
+ this.logService.error(`Error parsing extraData for request id ${this.requestId.headerRequestId}: ${extraData}`);
468
+ sendCommunicationErrorTelemetry(this.telemetryService, `Error parsing extraData for request id ${this.requestId.headerRequestId}: ${extraData}`);
469
+ }
470
+ }
471
+ }
472
+ /** Yields the solutions that weren't yet finished, with a 'DONE' reason. */
473
+ async *finishSolutions() {
474
+ for (const [index, solution] of Object.entries(this.solutions)) {
475
+ const solutionIndex = Number(index); // Convert `index` from string to number
476
+ if (solution === null) {
477
+ continue; // already finished
478
+ }
479
+ if (this.completedFunctionCallIdxs.has(solutionIndex)) {
480
+ yield {
481
+ solution,
482
+ finishOffset: undefined,
483
+ reason: this.completedFunctionCallIdxs.get(solutionIndex) === 'function' ? openai_1.FinishedCompletionReason.FunctionCall : openai_1.FinishedCompletionReason.ToolCalls,
484
+ requestId: this.requestId,
485
+ index: solutionIndex,
486
+ };
487
+ continue;
488
+ }
489
+ yield {
490
+ solution,
491
+ finishOffset: undefined,
492
+ reason: openai_1.FinishedCompletionReason.ClientDone,
493
+ requestId: this.requestId,
494
+ index: solutionIndex,
495
+ };
496
+ if (this.maybeCancel('after yielding on DONE')) {
497
+ return;
498
+ }
499
+ }
500
+ }
501
+ /**
502
+ * Returns whether the cancellation token was cancelled and closes the
503
+ * stream if it was.
504
+ */
505
+ maybeCancel(description) {
506
+ if (this.cancellationToken?.isCancellationRequested) {
507
+ this.logService.debug('Cancelled: ' + description);
508
+ this.cancel();
509
+ return true;
510
+ }
511
+ return false;
512
+ }
513
+ cancel() {
514
+ this.body.destroy();
515
+ }
516
+ logChoice(choice) {
517
+ const choiceCopy = { ...choice };
518
+ delete choiceCopy.index;
519
+ delete choiceCopy.content_filter_results;
520
+ delete choiceCopy.content_filter_offsets;
521
+ this.logService.trace(`choice ${JSON.stringify(choiceCopy)}`);
522
+ }
523
+ }
524
+ exports.SSEProcessor = SSEProcessor;
525
+ // data: {"choices":null,"copilot_confirmation":{"type":"action","title":"Are you sure you want to proceed?","message":"This action is irreversible.","confirmation":{"id":"123"}},"id":null}
526
+ function isCopilotConfirmation(obj) {
527
+ return typeof obj.title === 'string' &&
528
+ typeof obj.message === 'string' &&
529
+ !!obj.confirmation;
530
+ }
531
+ // Function to convert from APIJsonDataStreaming to APIJsonData format
532
+ function convertToAPIJsonData(streamingData) {
533
+ const joinedText = streamingData.text.join('');
534
+ const out = {
535
+ text: joinedText,
536
+ tokens: streamingData.text,
537
+ };
538
+ return out;
539
+ }
540
+ /**
541
+ * Given a choice from the API call, returns the reason for filtering out the choice, or undefined if the choice should not be filtered out.
542
+ * @param choice The choice from the API call
543
+ * @returns The reason for filtering out the choice, or undefined if the choice should not be filtered out.
544
+ */
545
+ function choiceToFilterReason(choice) {
546
+ if (choice.finish_reason !== openai_1.FinishedCompletionReason.ContentFilter) {
547
+ return undefined;
548
+ }
549
+ if (choice.delta?.copilot_annotations?.TextCopyright) {
550
+ return openai_1.FilterReason.Copyright;
551
+ }
552
+ if (choice.delta?.copilot_annotations?.Sexual || choice.delta?.copilot_annotations?.SexualPattern) {
553
+ return openai_1.FilterReason.Sexual;
554
+ }
555
+ if (choice.delta?.copilot_annotations?.Violence) {
556
+ return openai_1.FilterReason.Violence;
557
+ }
558
+ if (choice.delta?.copilot_annotations?.HateSpeech || choice.delta?.copilot_annotations?.HateSpeechPattern) {
559
+ return openai_1.FilterReason.Hate;
560
+ }
561
+ if (choice.delta?.copilot_annotations?.SelfHarm) {
562
+ return openai_1.FilterReason.SelfHarm;
563
+ }
564
+ if (choice.delta?.copilot_annotations?.PromptPromBlockList) {
565
+ return openai_1.FilterReason.Prompt;
566
+ }
567
+ if (!choice.content_filter_results) {
568
+ return undefined;
569
+ }
570
+ for (const filter of Object.keys(choice.content_filter_results)) {
571
+ if (choice.content_filter_results[filter]?.filtered) {
572
+ return filter;
573
+ }
574
+ }
575
+ return undefined;
576
+ }
577
+ function sendCommunicationErrorTelemetry(telemetryService, message, extra) {
578
+ const args = [message, extra];
579
+ const secureMessage = (args.length > 0 ? JSON.stringify(args) : 'no msg');
580
+ const enhancedData = telemetryData_1.TelemetryData.createAndMarkAsIssued({
581
+ context: 'fetch',
582
+ level: logService_1.LogLevel[logService_1.LogLevel.Error],
583
+ message: secureMessage,
584
+ });
585
+ // send full content to secure telemetry
586
+ telemetryService.sendEnhancedGHTelemetryErrorEvent('log', enhancedData.properties, enhancedData.measurements);
587
+ const data = telemetryData_1.TelemetryData.createAndMarkAsIssued({
588
+ context: 'fetch',
589
+ level: logService_1.LogLevel[logService_1.LogLevel.Error],
590
+ message: '[redacted]',
591
+ });
592
+ // send content that excludes customer data to standard telemetry
593
+ telemetryService.sendGHTelemetryErrorEvent('log', data.properties, data.measurements);
594
+ }
595
+ //# sourceMappingURL=stream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../../../../src/_internal/platform/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,aAAa;KACtB,CAAC,CAAC;IAEH,wCAAwC;IACxC,gBAAgB,CAAC,iCAAiC,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IAE9G,MAAM,IAAI,GAAG,6BAAa,CAAC,qBAAqB,CAAC;QAChD,OAAO,EAAE,OAAO;QAChB,KAAK,EAAE,qBAAQ,CAAC,qBAAQ,CAAC,KAAK,CAAC;QAC/B,OAAO,EAAE,YAAY;KACrB,CAAC,CAAC;IAEH,iEAAiE;IACjE,gBAAgB,CAAC,yBAAyB,CACzC,KAAK,EACL,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,CACjB,CAAC;AACH,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { LanguageModelChat, NotebookDocument, Uri } from 'vscode';
2
+ import { Range } from '../../../util/common/test/shims/vscodeTypesShim';
3
+ import { IConfigurationService } from '../../configuration/common/configurationService';
4
+ import { IChatEndpoint } from '../../networking/common/networking';
5
+ import { IExperimentationService } from '../../telemetry/common/nullExperimentationService';
6
+ import { BaseAlternativeNotebookContentProvider } from './alternativeContentProvider';
7
+ export type AlternativeContentFormat = 'xml' | 'text' | 'json';
8
+ export declare function getAlternativeNotebookDocumentProvider(kind: 'xml' | 'text' | 'json'): BaseAlternativeNotebookContentProvider;
9
+ /**
10
+ * Given the content, determine the format of the content.
11
+ */
12
+ export declare function inferAlternativeNotebookContentFormat(content: string): AlternativeContentFormat;
13
+ export declare const IAlternativeNotebookContentService: import("../../../util/common/services").ServiceIdentifier<IAlternativeNotebookContentService>;
14
+ export interface IAlternativeNotebookContentService {
15
+ readonly _serviceBrand: undefined;
16
+ getFormat(options: LanguageModelChat | IChatEndpoint | undefined): AlternativeContentFormat;
17
+ create(format: AlternativeContentFormat): BaseAlternativeNotebookContentProvider;
18
+ }
19
+ export declare class AlternativeNotebookContentService implements IAlternativeNotebookContentService {
20
+ private readonly configurationService;
21
+ private readonly experimentationService;
22
+ readonly _serviceBrand: undefined;
23
+ constructor(configurationService: IConfigurationService, experimentationService: IExperimentationService);
24
+ getFormat(options: LanguageModelChat | IChatEndpoint | undefined): AlternativeContentFormat;
25
+ create(format: AlternativeContentFormat): BaseAlternativeNotebookContentProvider;
26
+ }
27
+ export declare function getAltNotebookRange(range: Range, cellUri: Uri, notebook: NotebookDocument, format: AlternativeContentFormat): Range | undefined;
28
+ //# sourceMappingURL=alternativeContent.d.ts.map