@theia/plugin-ext 1.67.0-next.56 → 1.67.0-next.59

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 (1317) hide show
  1. package/lib/common/arrays.d.ts +24 -0
  2. package/lib/common/arrays.d.ts.map +1 -0
  3. package/lib/common/arrays.js +61 -0
  4. package/lib/common/arrays.js.map +1 -0
  5. package/lib/common/assert.d.ts +2 -0
  6. package/lib/common/assert.d.ts.map +1 -0
  7. package/lib/common/assert.js +26 -0
  8. package/lib/common/assert.js.map +1 -0
  9. package/lib/common/cache.d.ts +12 -0
  10. package/lib/common/cache.d.ts.map +1 -0
  11. package/lib/common/cache.js +48 -0
  12. package/lib/common/cache.js.map +1 -0
  13. package/lib/common/character-classifier.d.ts +19 -0
  14. package/lib/common/character-classifier.d.ts.map +1 -0
  15. package/lib/common/character-classifier.js +61 -0
  16. package/lib/common/character-classifier.js.map +1 -0
  17. package/lib/common/collections.d.ts +9 -0
  18. package/lib/common/collections.d.ts.map +1 -0
  19. package/lib/common/collections.js +56 -0
  20. package/lib/common/collections.js.map +1 -0
  21. package/lib/common/commands.d.ts +4 -0
  22. package/lib/common/commands.d.ts.map +1 -0
  23. package/lib/common/commands.js +17 -0
  24. package/lib/common/commands.js.map +1 -0
  25. package/lib/common/connection.d.ts +55 -0
  26. package/lib/common/connection.d.ts.map +1 -0
  27. package/lib/common/connection.js +108 -0
  28. package/lib/common/connection.js.map +1 -0
  29. package/lib/common/disposable-util.d.ts +7 -0
  30. package/lib/common/disposable-util.d.ts.map +1 -0
  31. package/lib/common/disposable-util.js +38 -0
  32. package/lib/common/disposable-util.js.map +1 -0
  33. package/lib/common/editor-options.d.ts +31 -0
  34. package/lib/common/editor-options.d.ts.map +1 -0
  35. package/lib/common/editor-options.js +73 -0
  36. package/lib/common/editor-options.js.map +1 -0
  37. package/lib/common/env.d.ts +4 -0
  38. package/lib/common/env.d.ts.map +1 -0
  39. package/lib/common/env.js +18 -0
  40. package/lib/common/env.js.map +1 -0
  41. package/lib/common/errors.d.ts +18 -0
  42. package/lib/common/errors.d.ts.map +1 -0
  43. package/lib/common/errors.js +59 -0
  44. package/lib/common/errors.js.map +1 -0
  45. package/lib/common/id-generator.d.ts +7 -0
  46. package/lib/common/id-generator.d.ts.map +1 -0
  47. package/lib/common/id-generator.js +29 -0
  48. package/lib/common/id-generator.js.map +1 -0
  49. package/lib/common/index.d.ts +4 -0
  50. package/lib/common/index.d.ts.map +1 -0
  51. package/lib/common/index.js +25 -0
  52. package/lib/common/index.js.map +1 -0
  53. package/lib/common/language-pack-service.d.ts +16 -0
  54. package/lib/common/language-pack-service.d.ts.map +1 -0
  55. package/lib/common/language-pack-service.js +21 -0
  56. package/lib/common/language-pack-service.js.map +1 -0
  57. package/lib/common/link-computer.d.ts +42 -0
  58. package/lib/common/link-computer.d.ts.map +1 -0
  59. package/lib/common/link-computer.js +276 -0
  60. package/lib/common/link-computer.js.map +1 -0
  61. package/lib/common/lm-protocol.d.ts +103 -0
  62. package/lib/common/lm-protocol.d.ts.map +1 -0
  63. package/lib/common/lm-protocol.js +21 -0
  64. package/lib/common/lm-protocol.js.map +1 -0
  65. package/lib/common/object-identifier.d.ts +9 -0
  66. package/lib/common/object-identifier.d.ts.map +1 -0
  67. package/lib/common/object-identifier.js +33 -0
  68. package/lib/common/object-identifier.js.map +1 -0
  69. package/lib/common/objects.d.ts +2 -0
  70. package/lib/common/objects.d.ts.map +1 -0
  71. package/lib/common/objects.js +47 -0
  72. package/lib/common/objects.js.map +1 -0
  73. package/lib/common/paths-util.d.ts +4 -0
  74. package/lib/common/paths-util.d.ts.map +1 -0
  75. package/lib/common/paths-util.js +145 -0
  76. package/lib/common/paths-util.js.map +1 -0
  77. package/lib/common/plugin-api-rpc-model.d.ts +776 -0
  78. package/lib/common/plugin-api-rpc-model.d.ts.map +1 -0
  79. package/lib/common/plugin-api-rpc-model.js +179 -0
  80. package/lib/common/plugin-api-rpc-model.js.map +1 -0
  81. package/lib/common/plugin-api-rpc.d.ts +2220 -0
  82. package/lib/common/plugin-api-rpc.d.ts.map +1 -0
  83. package/lib/common/plugin-api-rpc.js +341 -0
  84. package/lib/common/plugin-api-rpc.js.map +1 -0
  85. package/lib/common/plugin-ext-api-contribution.d.ts +89 -0
  86. package/lib/common/plugin-ext-api-contribution.d.ts.map +1 -0
  87. package/lib/common/plugin-ext-api-contribution.js +6 -0
  88. package/lib/common/plugin-ext-api-contribution.js.map +1 -0
  89. package/lib/common/plugin-identifiers.d.ts +47 -0
  90. package/lib/common/plugin-identifiers.d.ts.map +1 -0
  91. package/lib/common/plugin-identifiers.js +90 -0
  92. package/lib/common/plugin-identifiers.js.map +1 -0
  93. package/lib/common/plugin-protocol.d.ts +960 -0
  94. package/lib/common/plugin-protocol.d.ts.map +1 -0
  95. package/lib/common/plugin-protocol.js +73 -0
  96. package/lib/common/plugin-protocol.js.map +1 -0
  97. package/lib/common/reference-map.d.ts +8 -0
  98. package/lib/common/reference-map.d.ts.map +1 -0
  99. package/lib/common/reference-map.js +40 -0
  100. package/lib/common/reference-map.js.map +1 -0
  101. package/lib/common/rpc-protocol.d.ts +83 -0
  102. package/lib/common/rpc-protocol.d.ts.map +1 -0
  103. package/lib/common/rpc-protocol.js +262 -0
  104. package/lib/common/rpc-protocol.js.map +1 -0
  105. package/lib/common/semantic-tokens-dto.d.ts +19 -0
  106. package/lib/common/semantic-tokens-dto.d.ts.map +1 -0
  107. package/lib/common/semantic-tokens-dto.js +163 -0
  108. package/lib/common/semantic-tokens-dto.js.map +1 -0
  109. package/lib/common/test-types.d.ts +103 -0
  110. package/lib/common/test-types.d.ts.map +1 -0
  111. package/lib/common/test-types.js +83 -0
  112. package/lib/common/test-types.js.map +1 -0
  113. package/lib/common/types.d.ts +38 -0
  114. package/lib/common/types.d.ts.map +1 -0
  115. package/lib/common/types.js +122 -0
  116. package/lib/common/types.js.map +1 -0
  117. package/lib/common/uint.d.ts +8 -0
  118. package/lib/common/uint.d.ts.map +1 -0
  119. package/lib/common/uint.js +34 -0
  120. package/lib/common/uint.js.map +1 -0
  121. package/lib/common/uri-components.d.ts +40 -0
  122. package/lib/common/uri-components.d.ts.map +1 -0
  123. package/lib/common/uri-components.js +65 -0
  124. package/lib/common/uri-components.js.map +1 -0
  125. package/lib/hosted/browser/hosted-plugin-watcher.d.ts +16 -0
  126. package/lib/hosted/browser/hosted-plugin-watcher.d.ts.map +1 -0
  127. package/lib/hosted/browser/hosted-plugin-watcher.js +55 -0
  128. package/lib/hosted/browser/hosted-plugin-watcher.js.map +1 -0
  129. package/lib/hosted/browser/hosted-plugin.d.ts +101 -0
  130. package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -0
  131. package/lib/hosted/browser/hosted-plugin.js +605 -0
  132. package/lib/hosted/browser/hosted-plugin.js.map +1 -0
  133. package/lib/hosted/browser/plugin-worker.d.ts +7 -0
  134. package/lib/hosted/browser/plugin-worker.d.ts.map +1 -0
  135. package/lib/hosted/browser/plugin-worker.js +50 -0
  136. package/lib/hosted/browser/plugin-worker.js.map +1 -0
  137. package/lib/hosted/browser/worker/debug-stub.d.ts +4 -0
  138. package/lib/hosted/browser/worker/debug-stub.d.ts.map +1 -0
  139. package/lib/hosted/browser/worker/debug-stub.js +30 -0
  140. package/lib/hosted/browser/worker/debug-stub.js.map +1 -0
  141. package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts +3 -0
  142. package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +1 -0
  143. package/lib/hosted/browser/worker/plugin-manifest-loader.js +108 -0
  144. package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -0
  145. package/lib/hosted/browser/worker/worker-env-ext.d.ts +11 -0
  146. package/lib/hosted/browser/worker/worker-env-ext.d.ts.map +1 -0
  147. package/lib/hosted/browser/worker/worker-env-ext.js +43 -0
  148. package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -0
  149. package/lib/hosted/browser/worker/worker-main.d.ts +2 -0
  150. package/lib/hosted/browser/worker/worker-main.d.ts.map +1 -0
  151. package/lib/hosted/browser/worker/worker-main.js +183 -0
  152. package/lib/hosted/browser/worker/worker-main.js.map +1 -0
  153. package/lib/hosted/browser/worker/worker-plugin-module.d.ts +5 -0
  154. package/lib/hosted/browser/worker/worker-plugin-module.d.ts.map +1 -0
  155. package/lib/hosted/browser/worker/worker-plugin-module.js +80 -0
  156. package/lib/hosted/browser/worker/worker-plugin-module.js.map +1 -0
  157. package/lib/hosted/common/hosted-plugin.d.ts +97 -0
  158. package/lib/hosted/common/hosted-plugin.d.ts.map +1 -0
  159. package/lib/hosted/common/hosted-plugin.js +408 -0
  160. package/lib/hosted/common/hosted-plugin.js.map +1 -0
  161. package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts +17 -0
  162. package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts.map +1 -0
  163. package/lib/hosted/node/hosted-plugin-cli-contribution.js +72 -0
  164. package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -0
  165. package/lib/hosted/node/hosted-plugin-localization-service.d.ts +47 -0
  166. package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +1 -0
  167. package/lib/hosted/node/hosted-plugin-localization-service.js +380 -0
  168. package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -0
  169. package/lib/hosted/node/hosted-plugin-process.d.ts +42 -0
  170. package/lib/hosted/node/hosted-plugin-process.d.ts.map +1 -0
  171. package/lib/hosted/node/hosted-plugin-process.js +205 -0
  172. package/lib/hosted/node/hosted-plugin-process.js.map +1 -0
  173. package/lib/hosted/node/hosted-plugin-protocol.d.ts +22 -0
  174. package/lib/hosted/node/hosted-plugin-protocol.d.ts.map +1 -0
  175. package/lib/hosted/node/hosted-plugin-protocol.js +37 -0
  176. package/lib/hosted/node/hosted-plugin-protocol.js.map +1 -0
  177. package/lib/hosted/node/hosted-plugin.d.ts +29 -0
  178. package/lib/hosted/node/hosted-plugin.d.ts.map +1 -0
  179. package/lib/hosted/node/hosted-plugin.js +99 -0
  180. package/lib/hosted/node/hosted-plugin.js.map +1 -0
  181. package/lib/hosted/node/metadata-scanner.d.ts +18 -0
  182. package/lib/hosted/node/metadata-scanner.d.ts.map +1 -0
  183. package/lib/hosted/node/metadata-scanner.js +73 -0
  184. package/lib/hosted/node/metadata-scanner.js.map +1 -0
  185. package/lib/hosted/node/plugin-activation-events.d.ts +7 -0
  186. package/lib/hosted/node/plugin-activation-events.d.ts.map +1 -0
  187. package/lib/hosted/node/plugin-activation-events.js +96 -0
  188. package/lib/hosted/node/plugin-activation-events.js.map +1 -0
  189. package/lib/hosted/node/plugin-deployer-handler-impl.d.ts +48 -0
  190. package/lib/hosted/node/plugin-deployer-handler-impl.d.ts.map +1 -0
  191. package/lib/hosted/node/plugin-deployer-handler-impl.js +277 -0
  192. package/lib/hosted/node/plugin-deployer-handler-impl.js.map +1 -0
  193. package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts +4 -0
  194. package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +1 -0
  195. package/lib/hosted/node/plugin-ext-hosted-backend-module.js +83 -0
  196. package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +1 -0
  197. package/lib/hosted/node/plugin-host-logger.d.ts +3 -0
  198. package/lib/hosted/node/plugin-host-logger.d.ts.map +1 -0
  199. package/lib/hosted/node/plugin-host-logger.js +39 -0
  200. package/lib/hosted/node/plugin-host-logger.js.map +1 -0
  201. package/lib/hosted/node/plugin-host-module.d.ts +5 -0
  202. package/lib/hosted/node/plugin-host-module.d.ts.map +1 -0
  203. package/lib/hosted/node/plugin-host-module.js +75 -0
  204. package/lib/hosted/node/plugin-host-module.js.map +1 -0
  205. package/lib/hosted/node/plugin-host-proxy.d.ts +19 -0
  206. package/lib/hosted/node/plugin-host-proxy.d.ts.map +1 -0
  207. package/lib/hosted/node/plugin-host-proxy.js +71 -0
  208. package/lib/hosted/node/plugin-host-proxy.js.map +1 -0
  209. package/lib/hosted/node/plugin-host-rpc.d.ts +108 -0
  210. package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -0
  211. package/lib/hosted/node/plugin-host-rpc.js +333 -0
  212. package/lib/hosted/node/plugin-host-rpc.js.map +1 -0
  213. package/lib/hosted/node/plugin-host.d.ts +2 -0
  214. package/lib/hosted/node/plugin-host.d.ts.map +1 -0
  215. package/lib/hosted/node/plugin-host.js +114 -0
  216. package/lib/hosted/node/plugin-host.js.map +1 -0
  217. package/lib/hosted/node/plugin-language-pack-service.d.ts +8 -0
  218. package/lib/hosted/node/plugin-language-pack-service.d.ts.map +1 -0
  219. package/lib/hosted/node/plugin-language-pack-service.js +49 -0
  220. package/lib/hosted/node/plugin-language-pack-service.js.map +1 -0
  221. package/lib/hosted/node/plugin-manifest-loader.d.ts +3 -0
  222. package/lib/hosted/node/plugin-manifest-loader.d.ts.map +1 -0
  223. package/lib/hosted/node/plugin-manifest-loader.js +36 -0
  224. package/lib/hosted/node/plugin-manifest-loader.js.map +1 -0
  225. package/lib/hosted/node/plugin-reader.d.ts +26 -0
  226. package/lib/hosted/node/plugin-reader.d.ts.map +1 -0
  227. package/lib/hosted/node/plugin-reader.js +140 -0
  228. package/lib/hosted/node/plugin-reader.js.map +1 -0
  229. package/lib/hosted/node/plugin-require-override.d.ts +25 -0
  230. package/lib/hosted/node/plugin-require-override.d.ts.map +1 -0
  231. package/lib/hosted/node/plugin-require-override.js +56 -0
  232. package/lib/hosted/node/plugin-require-override.js.map +1 -0
  233. package/lib/hosted/node/plugin-service.d.ts +56 -0
  234. package/lib/hosted/node/plugin-service.d.ts.map +1 -0
  235. package/lib/hosted/node/plugin-service.js +203 -0
  236. package/lib/hosted/node/plugin-service.js.map +1 -0
  237. package/lib/hosted/node/scanners/backend-init-theia.d.ts +3 -0
  238. package/lib/hosted/node/scanners/backend-init-theia.d.ts.map +1 -0
  239. package/lib/hosted/node/scanners/backend-init-theia.js +61 -0
  240. package/lib/hosted/node/scanners/backend-init-theia.js.map +1 -0
  241. package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts +11 -0
  242. package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts.map +1 -0
  243. package/lib/hosted/node/scanners/file-plugin-uri-factory.js +36 -0
  244. package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -0
  245. package/lib/hosted/node/scanners/grammars-reader.d.ts +6 -0
  246. package/lib/hosted/node/scanners/grammars-reader.d.ts.map +1 -0
  247. package/lib/hosted/node/scanners/grammars-reader.js +59 -0
  248. package/lib/hosted/node/scanners/grammars-reader.js.map +1 -0
  249. package/lib/hosted/node/scanners/plugin-uri-factory.d.ts +17 -0
  250. package/lib/hosted/node/scanners/plugin-uri-factory.d.ts.map +1 -0
  251. package/lib/hosted/node/scanners/plugin-uri-factory.js +20 -0
  252. package/lib/hosted/node/scanners/plugin-uri-factory.js.map +1 -0
  253. package/lib/hosted/node/scanners/scanner-theia.d.ts +113 -0
  254. package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -0
  255. package/lib/hosted/node/scanners/scanner-theia.js +923 -0
  256. package/lib/hosted/node/scanners/scanner-theia.js.map +1 -0
  257. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts +3 -0
  258. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts.map +1 -0
  259. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js +27 -0
  260. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js.map +1 -0
  261. package/lib/hosted/node-electron/scanner-theia-electron.d.ts +6 -0
  262. package/lib/hosted/node-electron/scanner-theia-electron.d.ts.map +1 -0
  263. package/lib/hosted/node-electron/scanner-theia-electron.js +36 -0
  264. package/lib/hosted/node-electron/scanner-theia-electron.js.map +1 -0
  265. package/lib/main/browser/authentication-main.d.ts +52 -0
  266. package/lib/main/browser/authentication-main.d.ts.map +1 -0
  267. package/lib/main/browser/authentication-main.js +324 -0
  268. package/lib/main/browser/authentication-main.js.map +1 -0
  269. package/lib/main/browser/clipboard-main.d.ts +10 -0
  270. package/lib/main/browser/clipboard-main.d.ts.map +1 -0
  271. package/lib/main/browser/clipboard-main.js +33 -0
  272. package/lib/main/browser/clipboard-main.js.map +1 -0
  273. package/lib/main/browser/command-registry-main.d.ts +28 -0
  274. package/lib/main/browser/command-registry-main.d.ts.map +1 -0
  275. package/lib/main/browser/command-registry-main.js +113 -0
  276. package/lib/main/browser/command-registry-main.js.map +1 -0
  277. package/lib/main/browser/commands.d.ts +13 -0
  278. package/lib/main/browser/commands.d.ts.map +1 -0
  279. package/lib/main/browser/commands.js +92 -0
  280. package/lib/main/browser/commands.js.map +1 -0
  281. package/lib/main/browser/comments/comment-glyph-widget.d.ts +13 -0
  282. package/lib/main/browser/comments/comment-glyph-widget.d.ts.map +1 -0
  283. package/lib/main/browser/comments/comment-glyph-widget.js +43 -0
  284. package/lib/main/browser/comments/comment-glyph-widget.js.map +1 -0
  285. package/lib/main/browser/comments/comment-thread-widget.d.ts +178 -0
  286. package/lib/main/browser/comments/comment-thread-widget.d.ts.map +1 -0
  287. package/lib/main/browser/comments/comment-thread-widget.js +523 -0
  288. package/lib/main/browser/comments/comment-thread-widget.js.map +1 -0
  289. package/lib/main/browser/comments/comments-context.d.ts +13 -0
  290. package/lib/main/browser/comments/comments-context.d.ts.map +1 -0
  291. package/lib/main/browser/comments/comments-context.js +56 -0
  292. package/lib/main/browser/comments/comments-context.js.map +1 -0
  293. package/lib/main/browser/comments/comments-contribution.d.ts +32 -0
  294. package/lib/main/browser/comments/comments-contribution.d.ts.map +1 -0
  295. package/lib/main/browser/comments/comments-contribution.js +258 -0
  296. package/lib/main/browser/comments/comments-contribution.js.map +1 -0
  297. package/lib/main/browser/comments/comments-decorator.d.ts +16 -0
  298. package/lib/main/browser/comments/comments-decorator.d.ts.map +1 -0
  299. package/lib/main/browser/comments/comments-decorator.js +100 -0
  300. package/lib/main/browser/comments/comments-decorator.js.map +1 -0
  301. package/lib/main/browser/comments/comments-main.d.ts +116 -0
  302. package/lib/main/browser/comments/comments-main.d.ts.map +1 -0
  303. package/lib/main/browser/comments/comments-main.js +358 -0
  304. package/lib/main/browser/comments/comments-main.js.map +1 -0
  305. package/lib/main/browser/comments/comments-service.d.ts +76 -0
  306. package/lib/main/browser/comments/comments-service.d.ts.map +1 -0
  307. package/lib/main/browser/comments/comments-service.js +118 -0
  308. package/lib/main/browser/comments/comments-service.js.map +1 -0
  309. package/lib/main/browser/custom-editors/custom-editor-opener.d.ts +29 -0
  310. package/lib/main/browser/custom-editors/custom-editor-opener.d.ts.map +1 -0
  311. package/lib/main/browser/custom-editors/custom-editor-opener.js +196 -0
  312. package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -0
  313. package/lib/main/browser/custom-editors/custom-editor-service.d.ts +17 -0
  314. package/lib/main/browser/custom-editors/custom-editor-service.d.ts.map +1 -0
  315. package/lib/main/browser/custom-editors/custom-editor-service.js +98 -0
  316. package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -0
  317. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts +10 -0
  318. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts.map +1 -0
  319. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js +49 -0
  320. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js.map +1 -0
  321. package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts +10 -0
  322. package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts.map +1 -0
  323. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js +40 -0
  324. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +1 -0
  325. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +35 -0
  326. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +1 -0
  327. package/lib/main/browser/custom-editors/custom-editor-widget.js +108 -0
  328. package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -0
  329. package/lib/main/browser/custom-editors/custom-editors-main.d.ts +123 -0
  330. package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +1 -0
  331. package/lib/main/browser/custom-editors/custom-editors-main.js +380 -0
  332. package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -0
  333. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +22 -0
  334. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +1 -0
  335. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +128 -0
  336. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +1 -0
  337. package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts +9 -0
  338. package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts.map +1 -0
  339. package/lib/main/browser/data-transfer/data-transfer-type-converters.js +63 -0
  340. package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +1 -0
  341. package/lib/main/browser/debug/debug-main.d.ts +52 -0
  342. package/lib/main/browser/debug/debug-main.d.ts.map +1 -0
  343. package/lib/main/browser/debug/debug-main.js +314 -0
  344. package/lib/main/browser/debug/debug-main.js.map +1 -0
  345. package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts +19 -0
  346. package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts.map +1 -0
  347. package/lib/main/browser/debug/plugin-debug-adapter-contribution.js +43 -0
  348. package/lib/main/browser/debug/plugin-debug-adapter-contribution.js.map +1 -0
  349. package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts +18 -0
  350. package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts.map +1 -0
  351. package/lib/main/browser/debug/plugin-debug-configuration-provider.js +40 -0
  352. package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +1 -0
  353. package/lib/main/browser/debug/plugin-debug-service.d.ts +56 -0
  354. package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -0
  355. package/lib/main/browser/debug/plugin-debug-service.js +365 -0
  356. package/lib/main/browser/debug/plugin-debug-service.js.map +1 -0
  357. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts +31 -0
  358. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts.map +1 -0
  359. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +68 -0
  360. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +1 -0
  361. package/lib/main/browser/debug/plugin-debug-session-factory.d.ts +59 -0
  362. package/lib/main/browser/debug/plugin-debug-session-factory.d.ts.map +1 -0
  363. package/lib/main/browser/debug/plugin-debug-session-factory.js +72 -0
  364. package/lib/main/browser/debug/plugin-debug-session-factory.js.map +1 -0
  365. package/lib/main/browser/decorations/decorations-main.d.ts +16 -0
  366. package/lib/main/browser/decorations/decorations-main.d.ts.map +1 -0
  367. package/lib/main/browser/decorations/decorations-main.js +120 -0
  368. package/lib/main/browser/decorations/decorations-main.js.map +1 -0
  369. package/lib/main/browser/dialogs/modal-notification.d.ts +19 -0
  370. package/lib/main/browser/dialogs/modal-notification.d.ts.map +1 -0
  371. package/lib/main/browser/dialogs/modal-notification.js +102 -0
  372. package/lib/main/browser/dialogs/modal-notification.js.map +1 -0
  373. package/lib/main/browser/dialogs-main.d.ts +17 -0
  374. package/lib/main/browser/dialogs-main.d.ts.map +1 -0
  375. package/lib/main/browser/dialogs-main.js +163 -0
  376. package/lib/main/browser/dialogs-main.js.map +1 -0
  377. package/lib/main/browser/documents-main.d.ts +51 -0
  378. package/lib/main/browser/documents-main.d.ts.map +1 -0
  379. package/lib/main/browser/documents-main.js +252 -0
  380. package/lib/main/browser/documents-main.js.map +1 -0
  381. package/lib/main/browser/editors-and-documents-main.d.ts +41 -0
  382. package/lib/main/browser/editors-and-documents-main.d.ts.map +1 -0
  383. package/lib/main/browser/editors-and-documents-main.js +357 -0
  384. package/lib/main/browser/editors-and-documents-main.js.map +1 -0
  385. package/lib/main/browser/env-main.d.ts +7 -0
  386. package/lib/main/browser/env-main.d.ts.map +1 -0
  387. package/lib/main/browser/env-main.js +64 -0
  388. package/lib/main/browser/env-main.js.map +1 -0
  389. package/lib/main/browser/file-system-main-impl.d.ts +29 -0
  390. package/lib/main/browser/file-system-main-impl.d.ts.map +1 -0
  391. package/lib/main/browser/file-system-main-impl.js +208 -0
  392. package/lib/main/browser/file-system-main-impl.js.map +1 -0
  393. package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts +25 -0
  394. package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts.map +1 -0
  395. package/lib/main/browser/hierarchy/hierarchy-types-converters.js +185 -0
  396. package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -0
  397. package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts +10 -0
  398. package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts.map +1 -0
  399. package/lib/main/browser/keybindings/keybindings-contribution-handler.js +70 -0
  400. package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +1 -0
  401. package/lib/main/browser/label-service-main.d.ts +11 -0
  402. package/lib/main/browser/label-service-main.d.ts.map +1 -0
  403. package/lib/main/browser/label-service-main.js +47 -0
  404. package/lib/main/browser/label-service-main.js.map +1 -0
  405. package/lib/main/browser/languages-main.d.ts +144 -0
  406. package/lib/main/browser/languages-main.d.ts.map +1 -0
  407. package/lib/main/browser/languages-main.js +1179 -0
  408. package/lib/main/browser/languages-main.js.map +1 -0
  409. package/lib/main/browser/lm-main.d.ts +17 -0
  410. package/lib/main/browser/lm-main.d.ts.map +1 -0
  411. package/lib/main/browser/lm-main.js +154 -0
  412. package/lib/main/browser/lm-main.js.map +1 -0
  413. package/lib/main/browser/localization-main.d.ts +9 -0
  414. package/lib/main/browser/localization-main.d.ts.map +1 -0
  415. package/lib/main/browser/localization-main.js +32 -0
  416. package/lib/main/browser/localization-main.js.map +1 -0
  417. package/lib/main/browser/logger-main.d.ts +8 -0
  418. package/lib/main/browser/logger-main.d.ts.map +1 -0
  419. package/lib/main/browser/logger-main.js +53 -0
  420. package/lib/main/browser/logger-main.js.map +1 -0
  421. package/lib/main/browser/main-context.d.ts +4 -0
  422. package/lib/main/browser/main-context.d.ts.map +1 -0
  423. package/lib/main/browser/main-context.js +161 -0
  424. package/lib/main/browser/main-context.js.map +1 -0
  425. package/lib/main/browser/main-file-system-event-service.d.ts +8 -0
  426. package/lib/main/browser/main-file-system-event-service.d.ts.map +1 -0
  427. package/lib/main/browser/main-file-system-event-service.js +66 -0
  428. package/lib/main/browser/main-file-system-event-service.js.map +1 -0
  429. package/lib/main/browser/menus/menus-contribution-handler.d.ts +24 -0
  430. package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +1 -0
  431. package/lib/main/browser/menus/menus-contribution-handler.js +208 -0
  432. package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -0
  433. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +24 -0
  434. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -0
  435. package/lib/main/browser/menus/plugin-menu-command-adapter.js +281 -0
  436. package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -0
  437. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +19 -0
  438. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -0
  439. package/lib/main/browser/menus/vscode-theia-menu-mappings.js +115 -0
  440. package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -0
  441. package/lib/main/browser/message-registry-main.d.ts +11 -0
  442. package/lib/main/browser/message-registry-main.d.ts.map +1 -0
  443. package/lib/main/browser/message-registry-main.js +41 -0
  444. package/lib/main/browser/message-registry-main.js.map +1 -0
  445. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts +52 -0
  446. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts.map +1 -0
  447. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +208 -0
  448. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -0
  449. package/lib/main/browser/notebooks/notebook-documents-main.d.ts +30 -0
  450. package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +1 -0
  451. package/lib/main/browser/notebooks/notebook-documents-main.js +164 -0
  452. package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -0
  453. package/lib/main/browser/notebooks/notebook-dto.d.ts +18 -0
  454. package/lib/main/browser/notebooks/notebook-dto.d.ts.map +1 -0
  455. package/lib/main/browser/notebooks/notebook-dto.js +131 -0
  456. package/lib/main/browser/notebooks/notebook-dto.js.map +1 -0
  457. package/lib/main/browser/notebooks/notebook-editors-main.d.ts +21 -0
  458. package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +1 -0
  459. package/lib/main/browser/notebooks/notebook-editors-main.js +76 -0
  460. package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -0
  461. package/lib/main/browser/notebooks/notebook-kernels-main.d.ts +43 -0
  462. package/lib/main/browser/notebooks/notebook-kernels-main.d.ts.map +1 -0
  463. package/lib/main/browser/notebooks/notebook-kernels-main.js +274 -0
  464. package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -0
  465. package/lib/main/browser/notebooks/notebook-renderers-main.d.ts +12 -0
  466. package/lib/main/browser/notebooks/notebook-renderers-main.d.ts.map +1 -0
  467. package/lib/main/browser/notebooks/notebook-renderers-main.js +39 -0
  468. package/lib/main/browser/notebooks/notebook-renderers-main.js.map +1 -0
  469. package/lib/main/browser/notebooks/notebooks-main.d.ts +25 -0
  470. package/lib/main/browser/notebooks/notebooks-main.d.ts.map +1 -0
  471. package/lib/main/browser/notebooks/notebooks-main.js +134 -0
  472. package/lib/main/browser/notebooks/notebooks-main.js.map +1 -0
  473. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +75 -0
  474. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -0
  475. package/lib/main/browser/notebooks/renderers/cell-output-webview.js +571 -0
  476. package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -0
  477. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts +14 -0
  478. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -0
  479. package/lib/main/browser/notebooks/renderers/output-webview-internal.js +660 -0
  480. package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -0
  481. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +127 -0
  482. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -0
  483. package/lib/main/browser/notebooks/renderers/webview-communication.js +22 -0
  484. package/lib/main/browser/notebooks/renderers/webview-communication.js.map +1 -0
  485. package/lib/main/browser/notification-main.d.ts +7 -0
  486. package/lib/main/browser/notification-main.d.ts.map +1 -0
  487. package/lib/main/browser/notification-main.js +27 -0
  488. package/lib/main/browser/notification-main.js.map +1 -0
  489. package/lib/main/browser/output-channel-registry-main.d.ts +11 -0
  490. package/lib/main/browser/output-channel-registry-main.d.ts.map +1 -0
  491. package/lib/main/browser/output-channel-registry-main.js +53 -0
  492. package/lib/main/browser/output-channel-registry-main.js.map +1 -0
  493. package/lib/main/browser/plugin-authentication-service.d.ts +14 -0
  494. package/lib/main/browser/plugin-authentication-service.d.ts.map +1 -0
  495. package/lib/main/browser/plugin-authentication-service.js +73 -0
  496. package/lib/main/browser/plugin-authentication-service.js.map +1 -0
  497. package/lib/main/browser/plugin-contribution-handler.d.ts +75 -0
  498. package/lib/main/browser/plugin-contribution-handler.d.ts.map +1 -0
  499. package/lib/main/browser/plugin-contribution-handler.js +640 -0
  500. package/lib/main/browser/plugin-contribution-handler.js.map +1 -0
  501. package/lib/main/browser/plugin-ext-argument-processor.d.ts +12 -0
  502. package/lib/main/browser/plugin-ext-argument-processor.d.ts.map +1 -0
  503. package/lib/main/browser/plugin-ext-argument-processor.js +41 -0
  504. package/lib/main/browser/plugin-ext-argument-processor.js.map +1 -0
  505. package/lib/main/browser/plugin-ext-frontend-module.d.ts +8 -0
  506. package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -0
  507. package/lib/main/browser/plugin-ext-frontend-module.js +257 -0
  508. package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -0
  509. package/lib/main/browser/plugin-ext-widget.d.ts +29 -0
  510. package/lib/main/browser/plugin-ext-widget.d.ts.map +1 -0
  511. package/lib/main/browser/plugin-ext-widget.js +122 -0
  512. package/lib/main/browser/plugin-ext-widget.js.map +1 -0
  513. package/lib/main/browser/plugin-frontend-contribution.d.ts +10 -0
  514. package/lib/main/browser/plugin-frontend-contribution.d.ts.map +1 -0
  515. package/lib/main/browser/plugin-frontend-contribution.js +72 -0
  516. package/lib/main/browser/plugin-frontend-contribution.js.map +1 -0
  517. package/lib/main/browser/plugin-frontend-view-contribution.d.ts +7 -0
  518. package/lib/main/browser/plugin-frontend-view-contribution.d.ts.map +1 -0
  519. package/lib/main/browser/plugin-frontend-view-contribution.js +43 -0
  520. package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -0
  521. package/lib/main/browser/plugin-icon-service.d.ts +17 -0
  522. package/lib/main/browser/plugin-icon-service.d.ts.map +1 -0
  523. package/lib/main/browser/plugin-icon-service.js +89 -0
  524. package/lib/main/browser/plugin-icon-service.js.map +1 -0
  525. package/lib/main/browser/plugin-icon-theme-service.d.ts +147 -0
  526. package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -0
  527. package/lib/main/browser/plugin-icon-theme-service.js +554 -0
  528. package/lib/main/browser/plugin-icon-theme-service.js.map +1 -0
  529. package/lib/main/browser/plugin-shared-style.d.ts +41 -0
  530. package/lib/main/browser/plugin-shared-style.d.ts.map +1 -0
  531. package/lib/main/browser/plugin-shared-style.js +137 -0
  532. package/lib/main/browser/plugin-shared-style.js.map +1 -0
  533. package/lib/main/browser/plugin-storage.d.ts +14 -0
  534. package/lib/main/browser/plugin-storage.d.ts.map +1 -0
  535. package/lib/main/browser/plugin-storage.js +47 -0
  536. package/lib/main/browser/plugin-storage.js.map +1 -0
  537. package/lib/main/browser/plugin-terminal-registry.d.ts +5 -0
  538. package/lib/main/browser/plugin-terminal-registry.d.ts.map +1 -0
  539. package/lib/main/browser/plugin-terminal-registry.js +30 -0
  540. package/lib/main/browser/plugin-terminal-registry.js.map +1 -0
  541. package/lib/main/browser/preference-registry-main.d.ts +20 -0
  542. package/lib/main/browser/preference-registry-main.d.ts.map +1 -0
  543. package/lib/main/browser/preference-registry-main.js +107 -0
  544. package/lib/main/browser/preference-registry-main.js.map +1 -0
  545. package/lib/main/browser/quick-open-main.d.ts +36 -0
  546. package/lib/main/browser/quick-open-main.d.ts.map +1 -0
  547. package/lib/main/browser/quick-open-main.js +314 -0
  548. package/lib/main/browser/quick-open-main.js.map +1 -0
  549. package/lib/main/browser/scm-main.d.ts +108 -0
  550. package/lib/main/browser/scm-main.d.ts.map +1 -0
  551. package/lib/main/browser/scm-main.js +348 -0
  552. package/lib/main/browser/scm-main.js.map +1 -0
  553. package/lib/main/browser/secrets-main.d.ts +16 -0
  554. package/lib/main/browser/secrets-main.d.ts.map +1 -0
  555. package/lib/main/browser/secrets-main.js +91 -0
  556. package/lib/main/browser/secrets-main.js.map +1 -0
  557. package/lib/main/browser/selection-provider-command.d.ts +13 -0
  558. package/lib/main/browser/selection-provider-command.d.ts.map +1 -0
  559. package/lib/main/browser/selection-provider-command.js +49 -0
  560. package/lib/main/browser/selection-provider-command.js.map +1 -0
  561. package/lib/main/browser/status-bar-message-registry-main.d.ts +19 -0
  562. package/lib/main/browser/status-bar-message-registry-main.d.ts.map +1 -0
  563. package/lib/main/browser/status-bar-message-registry-main.js +60 -0
  564. package/lib/main/browser/status-bar-message-registry-main.js.map +1 -0
  565. package/lib/main/browser/tabs/tabs-main.d.ts +54 -0
  566. package/lib/main/browser/tabs/tabs-main.d.ts.map +1 -0
  567. package/lib/main/browser/tabs/tabs-main.js +368 -0
  568. package/lib/main/browser/tabs/tabs-main.js.map +1 -0
  569. package/lib/main/browser/tasks-main.d.ts +34 -0
  570. package/lib/main/browser/tasks-main.d.ts.map +1 -0
  571. package/lib/main/browser/tasks-main.js +209 -0
  572. package/lib/main/browser/tasks-main.js.map +1 -0
  573. package/lib/main/browser/terminal-main.d.ts +64 -0
  574. package/lib/main/browser/terminal-main.d.ts.map +1 -0
  575. package/lib/main/browser/terminal-main.js +331 -0
  576. package/lib/main/browser/terminal-main.js.map +1 -0
  577. package/lib/main/browser/test-main.d.ts +144 -0
  578. package/lib/main/browser/test-main.d.ts.map +1 -0
  579. package/lib/main/browser/test-main.js +563 -0
  580. package/lib/main/browser/test-main.js.map +1 -0
  581. package/lib/main/browser/text-editor-main.d.ts +53 -0
  582. package/lib/main/browser/text-editor-main.d.ts.map +1 -0
  583. package/lib/main/browser/text-editor-main.js +443 -0
  584. package/lib/main/browser/text-editor-main.js.map +1 -0
  585. package/lib/main/browser/text-editor-model-service.d.ts +35 -0
  586. package/lib/main/browser/text-editor-model-service.d.ts.map +1 -0
  587. package/lib/main/browser/text-editor-model-service.js +111 -0
  588. package/lib/main/browser/text-editor-model-service.js.map +1 -0
  589. package/lib/main/browser/text-editors-main.d.ts +41 -0
  590. package/lib/main/browser/text-editors-main.d.ts.map +1 -0
  591. package/lib/main/browser/text-editors-main.js +180 -0
  592. package/lib/main/browser/text-editors-main.js.map +1 -0
  593. package/lib/main/browser/theme-icon-override.d.ts +2 -0
  594. package/lib/main/browser/theme-icon-override.d.ts.map +1 -0
  595. package/lib/main/browser/theme-icon-override.js +245 -0
  596. package/lib/main/browser/theme-icon-override.js.map +1 -0
  597. package/lib/main/browser/theming-main.d.ts +10 -0
  598. package/lib/main/browser/theming-main.d.ts.map +1 -0
  599. package/lib/main/browser/theming-main.js +36 -0
  600. package/lib/main/browser/theming-main.js.map +1 -0
  601. package/lib/main/browser/timeline-main.d.ts +14 -0
  602. package/lib/main/browser/timeline-main.d.ts.map +1 -0
  603. package/lib/main/browser/timeline-main.js +51 -0
  604. package/lib/main/browser/timeline-main.js.map +1 -0
  605. package/lib/main/browser/uri-main.d.ts +16 -0
  606. package/lib/main/browser/uri-main.d.ts.map +1 -0
  607. package/lib/main/browser/uri-main.js +64 -0
  608. package/lib/main/browser/uri-main.js.map +1 -0
  609. package/lib/main/browser/view/dnd-file-content-store.d.ts +8 -0
  610. package/lib/main/browser/view/dnd-file-content-store.d.ts.map +1 -0
  611. package/lib/main/browser/view/dnd-file-content-store.js +47 -0
  612. package/lib/main/browser/view/dnd-file-content-store.js.map +1 -0
  613. package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts +12 -0
  614. package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts.map +1 -0
  615. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +83 -0
  616. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +1 -0
  617. package/lib/main/browser/view/plugin-view-registry.d.ts +112 -0
  618. package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -0
  619. package/lib/main/browser/view/plugin-view-registry.js +901 -0
  620. package/lib/main/browser/view/plugin-view-registry.js.map +1 -0
  621. package/lib/main/browser/view/plugin-view-widget.d.ts +53 -0
  622. package/lib/main/browser/view/plugin-view-widget.d.ts.map +1 -0
  623. package/lib/main/browser/view/plugin-view-widget.js +164 -0
  624. package/lib/main/browser/view/plugin-view-widget.js.map +1 -0
  625. package/lib/main/browser/view/tree-view-decorator-service.d.ts +31 -0
  626. package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +1 -0
  627. package/lib/main/browser/view/tree-view-decorator-service.js +58 -0
  628. package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -0
  629. package/lib/main/browser/view/tree-view-widget.d.ts +166 -0
  630. package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -0
  631. package/lib/main/browser/view/tree-view-widget.js +848 -0
  632. package/lib/main/browser/view/tree-view-widget.js.map +1 -0
  633. package/lib/main/browser/view/tree-views-main.d.ts +35 -0
  634. package/lib/main/browser/view/tree-views-main.d.ts.map +1 -0
  635. package/lib/main/browser/view/tree-views-main.js +179 -0
  636. package/lib/main/browser/view/tree-views-main.js.map +1 -0
  637. package/lib/main/browser/view/view-context-key-service.d.ts +17 -0
  638. package/lib/main/browser/view/view-context-key-service.d.ts.map +1 -0
  639. package/lib/main/browser/view/view-context-key-service.js +63 -0
  640. package/lib/main/browser/view/view-context-key-service.js.map +1 -0
  641. package/lib/main/browser/webview/webview-context-keys.d.ts +17 -0
  642. package/lib/main/browser/webview/webview-context-keys.d.ts.map +1 -0
  643. package/lib/main/browser/webview/webview-context-keys.js +65 -0
  644. package/lib/main/browser/webview/webview-context-keys.js.map +1 -0
  645. package/lib/main/browser/webview/webview-environment.d.ts +17 -0
  646. package/lib/main/browser/webview/webview-environment.d.ts.map +1 -0
  647. package/lib/main/browser/webview/webview-environment.js +89 -0
  648. package/lib/main/browser/webview/webview-environment.js.map +1 -0
  649. package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts +5 -0
  650. package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts.map +1 -0
  651. package/lib/main/browser/webview/webview-frontend-preference-contribution.js +40 -0
  652. package/lib/main/browser/webview/webview-frontend-preference-contribution.js.map +1 -0
  653. package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts +12 -0
  654. package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts.map +1 -0
  655. package/lib/main/browser/webview/webview-frontend-security-warnings.js +66 -0
  656. package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +1 -0
  657. package/lib/main/browser/webview/webview-resource-cache.d.ts +18 -0
  658. package/lib/main/browser/webview/webview-resource-cache.d.ts.map +1 -0
  659. package/lib/main/browser/webview/webview-resource-cache.js +83 -0
  660. package/lib/main/browser/webview/webview-resource-cache.js.map +1 -0
  661. package/lib/main/browser/webview/webview-secondary-window-support.d.ts +8 -0
  662. package/lib/main/browser/webview/webview-secondary-window-support.d.ts.map +1 -0
  663. package/lib/main/browser/webview/webview-secondary-window-support.js +52 -0
  664. package/lib/main/browser/webview/webview-secondary-window-support.js.map +1 -0
  665. package/lib/main/browser/webview/webview-theme-data-provider.d.ts +31 -0
  666. package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +1 -0
  667. package/lib/main/browser/webview/webview-theme-data-provider.js +125 -0
  668. package/lib/main/browser/webview/webview-theme-data-provider.js.map +1 -0
  669. package/lib/main/browser/webview/webview-widget-factory.d.ts +9 -0
  670. package/lib/main/browser/webview/webview-widget-factory.d.ts.map +1 -0
  671. package/lib/main/browser/webview/webview-widget-factory.js +40 -0
  672. package/lib/main/browser/webview/webview-widget-factory.js.map +1 -0
  673. package/lib/main/browser/webview/webview.d.ts +150 -0
  674. package/lib/main/browser/webview/webview.d.ts.map +1 -0
  675. package/lib/main/browser/webview/webview.js +591 -0
  676. package/lib/main/browser/webview/webview.js.map +1 -0
  677. package/lib/main/browser/webview-views/webview-views-main.d.ts +34 -0
  678. package/lib/main/browser/webview-views/webview-views-main.d.ts.map +1 -0
  679. package/lib/main/browser/webview-views/webview-views-main.js +133 -0
  680. package/lib/main/browser/webview-views/webview-views-main.js.map +1 -0
  681. package/lib/main/browser/webview-views/webview-views.d.ts +16 -0
  682. package/lib/main/browser/webview-views/webview-views.d.ts.map +1 -0
  683. package/lib/main/browser/webview-views/webview-views.js +23 -0
  684. package/lib/main/browser/webview-views/webview-views.js.map +1 -0
  685. package/lib/main/browser/webviews-main.d.ts +40 -0
  686. package/lib/main/browser/webviews-main.d.ts.map +1 -0
  687. package/lib/main/browser/webviews-main.js +247 -0
  688. package/lib/main/browser/webviews-main.js.map +1 -0
  689. package/lib/main/browser/window-activity-tracker.d.ts +20 -0
  690. package/lib/main/browser/window-activity-tracker.d.ts.map +1 -0
  691. package/lib/main/browser/window-activity-tracker.js +86 -0
  692. package/lib/main/browser/window-activity-tracker.js.map +1 -0
  693. package/lib/main/browser/window-state-main.d.ts +18 -0
  694. package/lib/main/browser/window-state-main.d.ts.map +1 -0
  695. package/lib/main/browser/window-state-main.js +69 -0
  696. package/lib/main/browser/window-state-main.js.map +1 -0
  697. package/lib/main/browser/workspace-main.d.ts +98 -0
  698. package/lib/main/browser/workspace-main.d.ts.map +1 -0
  699. package/lib/main/browser/workspace-main.js +384 -0
  700. package/lib/main/browser/workspace-main.js.map +1 -0
  701. package/lib/main/common/basic-message-registry-main.d.ts +14 -0
  702. package/lib/main/common/basic-message-registry-main.d.ts.map +1 -0
  703. package/lib/main/common/basic-message-registry-main.js +50 -0
  704. package/lib/main/common/basic-message-registry-main.js.map +1 -0
  705. package/lib/main/common/basic-notification-main.d.ts +19 -0
  706. package/lib/main/common/basic-notification-main.d.ts.map +1 -0
  707. package/lib/main/common/basic-notification-main.js +75 -0
  708. package/lib/main/common/basic-notification-main.js.map +1 -0
  709. package/lib/main/common/env-main.d.ts +11 -0
  710. package/lib/main/common/env-main.d.ts.map +1 -0
  711. package/lib/main/common/env-main.js +40 -0
  712. package/lib/main/common/env-main.js.map +1 -0
  713. package/lib/main/common/plugin-paths-protocol.d.ts +9 -0
  714. package/lib/main/common/plugin-paths-protocol.d.ts.map +1 -0
  715. package/lib/main/common/plugin-paths-protocol.js +22 -0
  716. package/lib/main/common/plugin-paths-protocol.js.map +1 -0
  717. package/lib/main/common/plugin-theia-environment.d.ts +8 -0
  718. package/lib/main/common/plugin-theia-environment.d.ts.map +1 -0
  719. package/lib/main/common/plugin-theia-environment.js +40 -0
  720. package/lib/main/common/plugin-theia-environment.js.map +1 -0
  721. package/lib/main/common/webview-preferences.d.ts +13 -0
  722. package/lib/main/common/webview-preferences.d.ts.map +1 -0
  723. package/lib/main/common/webview-preferences.js +47 -0
  724. package/lib/main/common/webview-preferences.js.map +1 -0
  725. package/lib/main/common/webview-protocol.d.ts +13 -0
  726. package/lib/main/common/webview-protocol.d.ts.map +1 -0
  727. package/lib/main/common/webview-protocol.js +32 -0
  728. package/lib/main/common/webview-protocol.js.map +1 -0
  729. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts +4 -0
  730. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts.map +1 -0
  731. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js +26 -0
  732. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js.map +1 -0
  733. package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts +24 -0
  734. package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts.map +1 -0
  735. package/lib/main/electron-browser/webview/electron-webview-widget-factory.js +54 -0
  736. package/lib/main/electron-browser/webview/electron-webview-widget-factory.js.map +1 -0
  737. package/lib/main/node/errors.spec.d.ts +2 -0
  738. package/lib/main/node/errors.spec.d.ts.map +1 -0
  739. package/lib/main/node/errors.spec.js +36 -0
  740. package/lib/main/node/errors.spec.js.map +1 -0
  741. package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts +19 -0
  742. package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts.map +1 -0
  743. package/lib/main/node/handlers/plugin-theia-directory-handler.js +130 -0
  744. package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -0
  745. package/lib/main/node/handlers/plugin-theia-file-handler.d.ts +11 -0
  746. package/lib/main/node/handlers/plugin-theia-file-handler.d.ts.map +1 -0
  747. package/lib/main/node/handlers/plugin-theia-file-handler.js +67 -0
  748. package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -0
  749. package/lib/main/node/paths/const.d.ts +6 -0
  750. package/lib/main/node/paths/const.d.ts.map +1 -0
  751. package/lib/main/node/paths/const.js +25 -0
  752. package/lib/main/node/paths/const.js.map +1 -0
  753. package/lib/main/node/paths/plugin-paths-service.d.ts +26 -0
  754. package/lib/main/node/paths/plugin-paths-service.d.ts.map +1 -0
  755. package/lib/main/node/paths/plugin-paths-service.js +153 -0
  756. package/lib/main/node/paths/plugin-paths-service.js.map +1 -0
  757. package/lib/main/node/plugin-cli-contribution.d.ts +22 -0
  758. package/lib/main/node/plugin-cli-contribution.d.ts.map +1 -0
  759. package/lib/main/node/plugin-cli-contribution.js +80 -0
  760. package/lib/main/node/plugin-cli-contribution.js.map +1 -0
  761. package/lib/main/node/plugin-deployer-contribution.d.ts +9 -0
  762. package/lib/main/node/plugin-deployer-contribution.d.ts.map +1 -0
  763. package/lib/main/node/plugin-deployer-contribution.js +41 -0
  764. package/lib/main/node/plugin-deployer-contribution.js.map +1 -0
  765. package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts +8 -0
  766. package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts.map +1 -0
  767. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js +45 -0
  768. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +1 -0
  769. package/lib/main/node/plugin-deployer-entry-impl.d.ts +35 -0
  770. package/lib/main/node/plugin-deployer-entry-impl.d.ts.map +1 -0
  771. package/lib/main/node/plugin-deployer-entry-impl.js +112 -0
  772. package/lib/main/node/plugin-deployer-entry-impl.js.map +1 -0
  773. package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts +8 -0
  774. package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts.map +1 -0
  775. package/lib/main/node/plugin-deployer-file-handler-context-impl.js +32 -0
  776. package/lib/main/node/plugin-deployer-file-handler-context-impl.js.map +1 -0
  777. package/lib/main/node/plugin-deployer-impl.d.ts +64 -0
  778. package/lib/main/node/plugin-deployer-impl.d.ts.map +1 -0
  779. package/lib/main/node/plugin-deployer-impl.js +350 -0
  780. package/lib/main/node/plugin-deployer-impl.js.map +1 -0
  781. package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts +30 -0
  782. package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts.map +1 -0
  783. package/lib/main/node/plugin-deployer-proxy-entry-impl.js +93 -0
  784. package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +1 -0
  785. package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts +16 -0
  786. package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts.map +1 -0
  787. package/lib/main/node/plugin-deployer-resolver-context-impl.js +43 -0
  788. package/lib/main/node/plugin-deployer-resolver-context-impl.js.map +1 -0
  789. package/lib/main/node/plugin-ext-backend-module.d.ts +3 -0
  790. package/lib/main/node/plugin-ext-backend-module.d.ts.map +1 -0
  791. package/lib/main/node/plugin-ext-backend-module.js +84 -0
  792. package/lib/main/node/plugin-ext-backend-module.js.map +1 -0
  793. package/lib/main/node/plugin-github-resolver.d.ts +24 -0
  794. package/lib/main/node/plugin-github-resolver.d.ts.map +1 -0
  795. package/lib/main/node/plugin-github-resolver.js +136 -0
  796. package/lib/main/node/plugin-github-resolver.js.map +1 -0
  797. package/lib/main/node/plugin-http-resolver.d.ts +21 -0
  798. package/lib/main/node/plugin-http-resolver.d.ts.map +1 -0
  799. package/lib/main/node/plugin-http-resolver.js +92 -0
  800. package/lib/main/node/plugin-http-resolver.js.map +1 -0
  801. package/lib/main/node/plugin-localization-server.d.ts +10 -0
  802. package/lib/main/node/plugin-localization-server.d.ts.map +1 -0
  803. package/lib/main/node/plugin-localization-server.js +51 -0
  804. package/lib/main/node/plugin-localization-server.js.map +1 -0
  805. package/lib/main/node/plugin-mgmt-cli-contribution.d.ts +13 -0
  806. package/lib/main/node/plugin-mgmt-cli-contribution.d.ts.map +1 -0
  807. package/lib/main/node/plugin-mgmt-cli-contribution.js +63 -0
  808. package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -0
  809. package/lib/main/node/plugin-remote-cli-contribution.d.ts +8 -0
  810. package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +1 -0
  811. package/lib/main/node/plugin-remote-cli-contribution.js +40 -0
  812. package/lib/main/node/plugin-remote-cli-contribution.js.map +1 -0
  813. package/lib/main/node/plugin-remote-copy-contribution.d.ts +7 -0
  814. package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +1 -0
  815. package/lib/main/node/plugin-remote-copy-contribution.js +44 -0
  816. package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -0
  817. package/lib/main/node/plugin-server-impl.d.ts +24 -0
  818. package/lib/main/node/plugin-server-impl.d.ts.map +1 -0
  819. package/lib/main/node/plugin-server-impl.js +88 -0
  820. package/lib/main/node/plugin-server-impl.js.map +1 -0
  821. package/lib/main/node/plugin-service.d.ts +24 -0
  822. package/lib/main/node/plugin-service.d.ts.map +1 -0
  823. package/lib/main/node/plugin-service.js +102 -0
  824. package/lib/main/node/plugin-service.js.map +1 -0
  825. package/lib/main/node/plugin-theia-deployer-participant.d.ts +7 -0
  826. package/lib/main/node/plugin-theia-deployer-participant.d.ts.map +1 -0
  827. package/lib/main/node/plugin-theia-deployer-participant.js +36 -0
  828. package/lib/main/node/plugin-theia-deployer-participant.js.map +1 -0
  829. package/lib/main/node/plugin-uninstallation-manager.d.ts +27 -0
  830. package/lib/main/node/plugin-uninstallation-manager.d.ts.map +1 -0
  831. package/lib/main/node/plugin-uninstallation-manager.js +133 -0
  832. package/lib/main/node/plugin-uninstallation-manager.js.map +1 -0
  833. package/lib/main/node/plugins-key-value-storage.d.ts +29 -0
  834. package/lib/main/node/plugins-key-value-storage.d.ts.map +1 -0
  835. package/lib/main/node/plugins-key-value-storage.js +160 -0
  836. package/lib/main/node/plugins-key-value-storage.js.map +1 -0
  837. package/lib/main/node/plugins-key-value-storage.spec.d.ts +17 -0
  838. package/lib/main/node/plugins-key-value-storage.spec.d.ts.map +1 -0
  839. package/lib/main/node/plugins-key-value-storage.spec.js +101 -0
  840. package/lib/main/node/plugins-key-value-storage.spec.js.map +1 -0
  841. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts +8 -0
  842. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts.map +1 -0
  843. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +39 -0
  844. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -0
  845. package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts +9 -0
  846. package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts.map +1 -0
  847. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +55 -0
  848. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +1 -0
  849. package/lib/main/node/temp-dir-util.d.ts +3 -0
  850. package/lib/main/node/temp-dir-util.d.ts.map +1 -0
  851. package/lib/main/node/temp-dir-util.js +40 -0
  852. package/lib/main/node/temp-dir-util.js.map +1 -0
  853. package/lib/main/node/webview-backend-security-warnings.d.ts +6 -0
  854. package/lib/main/node/webview-backend-security-warnings.d.ts.map +1 -0
  855. package/lib/main/node/webview-backend-security-warnings.js +47 -0
  856. package/lib/main/node/webview-backend-security-warnings.js.map +1 -0
  857. package/lib/plugin/authentication-ext.d.ts +32 -0
  858. package/lib/plugin/authentication-ext.d.ts.map +1 -0
  859. package/lib/plugin/authentication-ext.js +108 -0
  860. package/lib/plugin/authentication-ext.js.map +1 -0
  861. package/lib/plugin/clipboard-ext.d.ts +11 -0
  862. package/lib/plugin/clipboard-ext.d.ts.map +1 -0
  863. package/lib/plugin/clipboard-ext.js +48 -0
  864. package/lib/plugin/clipboard-ext.js.map +1 -0
  865. package/lib/plugin/command-registry.d.ts +42 -0
  866. package/lib/plugin/command-registry.d.ts.map +1 -0
  867. package/lib/plugin/command-registry.js +183 -0
  868. package/lib/plugin/command-registry.js.map +1 -0
  869. package/lib/plugin/comments.d.ts +96 -0
  870. package/lib/plugin/comments.d.ts.map +1 -0
  871. package/lib/plugin/comments.js +406 -0
  872. package/lib/plugin/comments.js.map +1 -0
  873. package/lib/plugin/custom-editors.d.ts +46 -0
  874. package/lib/plugin/custom-editors.d.ts.map +1 -0
  875. package/lib/plugin/custom-editors.js +254 -0
  876. package/lib/plugin/custom-editors.js.map +1 -0
  877. package/lib/plugin/debug/debug-ext.d.ts +97 -0
  878. package/lib/plugin/debug/debug-ext.d.ts.map +1 -0
  879. package/lib/plugin/debug/debug-ext.js +459 -0
  880. package/lib/plugin/debug/debug-ext.js.map +1 -0
  881. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +11 -0
  882. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +1 -0
  883. package/lib/plugin/debug/plugin-debug-adapter-creator.js +42 -0
  884. package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +1 -0
  885. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +27 -0
  886. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -0
  887. package/lib/plugin/debug/plugin-debug-adapter-session.js +97 -0
  888. package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -0
  889. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +13 -0
  890. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +1 -0
  891. package/lib/plugin/debug/plugin-debug-adapter-tracker.js +78 -0
  892. package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +1 -0
  893. package/lib/plugin/decorations.d.ts +16 -0
  894. package/lib/plugin/decorations.d.ts.map +1 -0
  895. package/lib/plugin/decorations.js +115 -0
  896. package/lib/plugin/decorations.js.map +1 -0
  897. package/lib/plugin/dialogs.d.ts +11 -0
  898. package/lib/plugin/dialogs.d.ts.map +1 -0
  899. package/lib/plugin/dialogs.js +92 -0
  900. package/lib/plugin/dialogs.js.map +1 -0
  901. package/lib/plugin/document-data.d.ts +41 -0
  902. package/lib/plugin/document-data.d.ts.map +1 -0
  903. package/lib/plugin/document-data.js +316 -0
  904. package/lib/plugin/document-data.js.map +1 -0
  905. package/lib/plugin/documents.d.ts +63 -0
  906. package/lib/plugin/documents.d.ts.map +1 -0
  907. package/lib/plugin/documents.js +272 -0
  908. package/lib/plugin/documents.js.map +1 -0
  909. package/lib/plugin/editors-and-documents.d.ts +27 -0
  910. package/lib/plugin/editors-and-documents.d.ts.map +1 -0
  911. package/lib/plugin/editors-and-documents.js +150 -0
  912. package/lib/plugin/editors-and-documents.js.map +1 -0
  913. package/lib/plugin/env.d.ts +41 -0
  914. package/lib/plugin/env.d.ts.map +1 -0
  915. package/lib/plugin/env.js +114 -0
  916. package/lib/plugin/env.js.map +1 -0
  917. package/lib/plugin/file-system-event-service-ext-impl.d.ts +56 -0
  918. package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +1 -0
  919. package/lib/plugin/file-system-event-service-ext-impl.js +206 -0
  920. package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -0
  921. package/lib/plugin/file-system-ext-impl.d.ts +82 -0
  922. package/lib/plugin/file-system-ext-impl.d.ts.map +1 -0
  923. package/lib/plugin/file-system-ext-impl.js +361 -0
  924. package/lib/plugin/file-system-ext-impl.js.map +1 -0
  925. package/lib/plugin/file-system-watcher.spec.d.ts +2 -0
  926. package/lib/plugin/file-system-watcher.spec.d.ts.map +1 -0
  927. package/lib/plugin/file-system-watcher.spec.js +108 -0
  928. package/lib/plugin/file-system-watcher.spec.js.map +1 -0
  929. package/lib/plugin/known-commands.d.ts +6 -0
  930. package/lib/plugin/known-commands.d.ts.map +1 -0
  931. package/lib/plugin/known-commands.js +402 -0
  932. package/lib/plugin/known-commands.js.map +1 -0
  933. package/lib/plugin/known-commands.spec.d.ts +2 -0
  934. package/lib/plugin/known-commands.spec.d.ts.map +1 -0
  935. package/lib/plugin/known-commands.spec.js +43 -0
  936. package/lib/plugin/known-commands.spec.js.map +1 -0
  937. package/lib/plugin/label-service.d.ts +12 -0
  938. package/lib/plugin/label-service.d.ts.map +1 -0
  939. package/lib/plugin/label-service.js +36 -0
  940. package/lib/plugin/label-service.js.map +1 -0
  941. package/lib/plugin/languages/call-hierarchy.d.ts +21 -0
  942. package/lib/plugin/languages/call-hierarchy.d.ts.map +1 -0
  943. package/lib/plugin/languages/call-hierarchy.js +102 -0
  944. package/lib/plugin/languages/call-hierarchy.js.map +1 -0
  945. package/lib/plugin/languages/code-action.d.ts +25 -0
  946. package/lib/plugin/languages/code-action.d.ts.map +1 -0
  947. package/lib/plugin/languages/code-action.js +138 -0
  948. package/lib/plugin/languages/code-action.js.map +1 -0
  949. package/lib/plugin/languages/color.d.ts +13 -0
  950. package/lib/plugin/languages/color.d.ts.map +1 -0
  951. package/lib/plugin/languages/color.js +59 -0
  952. package/lib/plugin/languages/color.js.map +1 -0
  953. package/lib/plugin/languages/completion.d.ts +21 -0
  954. package/lib/plugin/languages/completion.d.ts.map +1 -0
  955. package/lib/plugin/languages/completion.js +165 -0
  956. package/lib/plugin/languages/completion.js.map +1 -0
  957. package/lib/plugin/languages/declaration.d.ts +12 -0
  958. package/lib/plugin/languages/declaration.d.ts.map +1 -0
  959. package/lib/plugin/languages/declaration.js +59 -0
  960. package/lib/plugin/languages/declaration.js.map +1 -0
  961. package/lib/plugin/languages/definition.d.ts +12 -0
  962. package/lib/plugin/languages/definition.d.ts.map +1 -0
  963. package/lib/plugin/languages/definition.js +59 -0
  964. package/lib/plugin/languages/definition.js.map +1 -0
  965. package/lib/plugin/languages/diagnostics.d.ts +51 -0
  966. package/lib/plugin/languages/diagnostics.d.ts.map +1 -0
  967. package/lib/plugin/languages/diagnostics.js +288 -0
  968. package/lib/plugin/languages/diagnostics.js.map +1 -0
  969. package/lib/plugin/languages/document-drop-edit.d.ts +16 -0
  970. package/lib/plugin/languages/document-drop-edit.d.ts.map +1 -0
  971. package/lib/plugin/languages/document-drop-edit.js +23 -0
  972. package/lib/plugin/languages/document-drop-edit.js.map +1 -0
  973. package/lib/plugin/languages/document-formatting.d.ts +11 -0
  974. package/lib/plugin/languages/document-formatting.d.ts.map +1 -0
  975. package/lib/plugin/languages/document-formatting.js +41 -0
  976. package/lib/plugin/languages/document-formatting.js.map +1 -0
  977. package/lib/plugin/languages/document-highlight.d.ts +13 -0
  978. package/lib/plugin/languages/document-highlight.d.ts.map +1 -0
  979. package/lib/plugin/languages/document-highlight.js +51 -0
  980. package/lib/plugin/languages/document-highlight.js.map +1 -0
  981. package/lib/plugin/languages/evaluatable-expression.d.ts +12 -0
  982. package/lib/plugin/languages/evaluatable-expression.d.ts.map +1 -0
  983. package/lib/plugin/languages/evaluatable-expression.js +41 -0
  984. package/lib/plugin/languages/evaluatable-expression.js.map +1 -0
  985. package/lib/plugin/languages/folding.d.ts +11 -0
  986. package/lib/plugin/languages/folding.d.ts.map +1 -0
  987. package/lib/plugin/languages/folding.js +40 -0
  988. package/lib/plugin/languages/folding.js.map +1 -0
  989. package/lib/plugin/languages/hover.d.ts +12 -0
  990. package/lib/plugin/languages/hover.d.ts.map +1 -0
  991. package/lib/plugin/languages/hover.js +49 -0
  992. package/lib/plugin/languages/hover.js.map +1 -0
  993. package/lib/plugin/languages/implementation.d.ts +12 -0
  994. package/lib/plugin/languages/implementation.d.ts.map +1 -0
  995. package/lib/plugin/languages/implementation.js +59 -0
  996. package/lib/plugin/languages/implementation.js.map +1 -0
  997. package/lib/plugin/languages/inlay-hints.d.ts +20 -0
  998. package/lib/plugin/languages/inlay-hints.d.ts.map +1 -0
  999. package/lib/plugin/languages/inlay-hints.js +128 -0
  1000. package/lib/plugin/languages/inlay-hints.js.map +1 -0
  1001. package/lib/plugin/languages/inline-completion.d.ts +21 -0
  1002. package/lib/plugin/languages/inline-completion.d.ts.map +1 -0
  1003. package/lib/plugin/languages/inline-completion.js +94 -0
  1004. package/lib/plugin/languages/inline-completion.js.map +1 -0
  1005. package/lib/plugin/languages/inline-values.d.ts +11 -0
  1006. package/lib/plugin/languages/inline-values.d.ts.map +1 -0
  1007. package/lib/plugin/languages/inline-values.js +45 -0
  1008. package/lib/plugin/languages/inline-values.js.map +1 -0
  1009. package/lib/plugin/languages/lens.d.ts +20 -0
  1010. package/lib/plugin/languages/lens.d.ts.map +1 -0
  1011. package/lib/plugin/languages/lens.js +90 -0
  1012. package/lib/plugin/languages/lens.js.map +1 -0
  1013. package/lib/plugin/languages/link-provider.d.ts +15 -0
  1014. package/lib/plugin/languages/link-provider.d.ts.map +1 -0
  1015. package/lib/plugin/languages/link-provider.js +74 -0
  1016. package/lib/plugin/languages/link-provider.js.map +1 -0
  1017. package/lib/plugin/languages/linked-editing-range.d.ts +12 -0
  1018. package/lib/plugin/languages/linked-editing-range.d.ts.map +1 -0
  1019. package/lib/plugin/languages/linked-editing-range.js +41 -0
  1020. package/lib/plugin/languages/linked-editing-range.js.map +1 -0
  1021. package/lib/plugin/languages/on-type-formatting.d.ts +12 -0
  1022. package/lib/plugin/languages/on-type-formatting.d.ts.map +1 -0
  1023. package/lib/plugin/languages/on-type-formatting.js +42 -0
  1024. package/lib/plugin/languages/on-type-formatting.js.map +1 -0
  1025. package/lib/plugin/languages/outline.d.ts +21 -0
  1026. package/lib/plugin/languages/outline.d.ts.map +1 -0
  1027. package/lib/plugin/languages/outline.js +116 -0
  1028. package/lib/plugin/languages/outline.js.map +1 -0
  1029. package/lib/plugin/languages/range-formatting.d.ts +11 -0
  1030. package/lib/plugin/languages/range-formatting.d.ts.map +1 -0
  1031. package/lib/plugin/languages/range-formatting.js +42 -0
  1032. package/lib/plugin/languages/range-formatting.js.map +1 -0
  1033. package/lib/plugin/languages/reference.d.ts +12 -0
  1034. package/lib/plugin/languages/reference.d.ts.map +1 -0
  1035. package/lib/plugin/languages/reference.js +48 -0
  1036. package/lib/plugin/languages/reference.js.map +1 -0
  1037. package/lib/plugin/languages/rename.d.ts +15 -0
  1038. package/lib/plugin/languages/rename.d.ts.map +1 -0
  1039. package/lib/plugin/languages/rename.js +115 -0
  1040. package/lib/plugin/languages/rename.js.map +1 -0
  1041. package/lib/plugin/languages/selection-range.d.ts +12 -0
  1042. package/lib/plugin/languages/selection-range.d.ts.map +1 -0
  1043. package/lib/plugin/languages/selection-range.js +66 -0
  1044. package/lib/plugin/languages/selection-range.js.map +1 -0
  1045. package/lib/plugin/languages/semantic-highlighting.d.ts +29 -0
  1046. package/lib/plugin/languages/semantic-highlighting.d.ts.map +1 -0
  1047. package/lib/plugin/languages/semantic-highlighting.js +176 -0
  1048. package/lib/plugin/languages/semantic-highlighting.js.map +1 -0
  1049. package/lib/plugin/languages/signature.d.ts +16 -0
  1050. package/lib/plugin/languages/signature.d.ts.map +1 -0
  1051. package/lib/plugin/languages/signature.js +72 -0
  1052. package/lib/plugin/languages/signature.js.map +1 -0
  1053. package/lib/plugin/languages/type-definition.d.ts +12 -0
  1054. package/lib/plugin/languages/type-definition.d.ts.map +1 -0
  1055. package/lib/plugin/languages/type-definition.js +59 -0
  1056. package/lib/plugin/languages/type-definition.js.map +1 -0
  1057. package/lib/plugin/languages/type-hierarchy.d.ts +19 -0
  1058. package/lib/plugin/languages/type-hierarchy.d.ts.map +1 -0
  1059. package/lib/plugin/languages/type-hierarchy.js +96 -0
  1060. package/lib/plugin/languages/type-hierarchy.js.map +1 -0
  1061. package/lib/plugin/languages/util.d.ts +5 -0
  1062. package/lib/plugin/languages/util.d.ts.map +1 -0
  1063. package/lib/plugin/languages/util.js +28 -0
  1064. package/lib/plugin/languages/util.js.map +1 -0
  1065. package/lib/plugin/languages/workspace-symbol.d.ts +9 -0
  1066. package/lib/plugin/languages/workspace-symbol.d.ts.map +1 -0
  1067. package/lib/plugin/languages/workspace-symbol.js +62 -0
  1068. package/lib/plugin/languages/workspace-symbol.js.map +1 -0
  1069. package/lib/plugin/languages-utils.d.ts +7 -0
  1070. package/lib/plugin/languages-utils.d.ts.map +1 -0
  1071. package/lib/plugin/languages-utils.js +66 -0
  1072. package/lib/plugin/languages-utils.js.map +1 -0
  1073. package/lib/plugin/languages.d.ts +128 -0
  1074. package/lib/plugin/languages.d.ts.map +1 -0
  1075. package/lib/plugin/languages.js +720 -0
  1076. package/lib/plugin/languages.js.map +1 -0
  1077. package/lib/plugin/lm-ext.d.ts +28 -0
  1078. package/lib/plugin/lm-ext.d.ts.map +1 -0
  1079. package/lib/plugin/lm-ext.js +131 -0
  1080. package/lib/plugin/lm-ext.js.map +1 -0
  1081. package/lib/plugin/localization-ext.d.ts +19 -0
  1082. package/lib/plugin/localization-ext.d.ts.map +1 -0
  1083. package/lib/plugin/localization-ext.js +94 -0
  1084. package/lib/plugin/localization-ext.js.map +1 -0
  1085. package/lib/plugin/logger.d.ts +16 -0
  1086. package/lib/plugin/logger.d.ts.map +1 -0
  1087. package/lib/plugin/logger.js +56 -0
  1088. package/lib/plugin/logger.js.map +1 -0
  1089. package/lib/plugin/markdown-string.d.ts +25 -0
  1090. package/lib/plugin/markdown-string.d.ts.map +1 -0
  1091. package/lib/plugin/markdown-string.js +106 -0
  1092. package/lib/plugin/markdown-string.js.map +1 -0
  1093. package/lib/plugin/message-registry.d.ts +10 -0
  1094. package/lib/plugin/message-registry.d.ts.map +1 -0
  1095. package/lib/plugin/message-registry.js +77 -0
  1096. package/lib/plugin/message-registry.js.map +1 -0
  1097. package/lib/plugin/node/debug/debug.spec.d.ts +2 -0
  1098. package/lib/plugin/node/debug/debug.spec.d.ts.map +1 -0
  1099. package/lib/plugin/node/debug/debug.spec.js +88 -0
  1100. package/lib/plugin/node/debug/debug.spec.js.map +1 -0
  1101. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +18 -0
  1102. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +1 -0
  1103. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js +155 -0
  1104. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +1 -0
  1105. package/lib/plugin/node/env-node-ext.d.ts +17 -0
  1106. package/lib/plugin/node/env-node-ext.d.ts.map +1 -0
  1107. package/lib/plugin/node/env-node-ext.js +64 -0
  1108. package/lib/plugin/node/env-node-ext.js.map +1 -0
  1109. package/lib/plugin/node/plugin-container-module.d.ts +75 -0
  1110. package/lib/plugin/node/plugin-container-module.d.ts.map +1 -0
  1111. package/lib/plugin/node/plugin-container-module.js +115 -0
  1112. package/lib/plugin/node/plugin-container-module.js.map +1 -0
  1113. package/lib/plugin/notebook/notebook-document.d.ts +60 -0
  1114. package/lib/plugin/notebook/notebook-document.d.ts.map +1 -0
  1115. package/lib/plugin/notebook/notebook-document.js +383 -0
  1116. package/lib/plugin/notebook/notebook-document.js.map +1 -0
  1117. package/lib/plugin/notebook/notebook-documents.d.ts +17 -0
  1118. package/lib/plugin/notebook/notebook-documents.d.ts.map +1 -0
  1119. package/lib/plugin/notebook/notebook-documents.js +48 -0
  1120. package/lib/plugin/notebook/notebook-documents.js.map +1 -0
  1121. package/lib/plugin/notebook/notebook-editor.d.ts +21 -0
  1122. package/lib/plugin/notebook/notebook-editor.d.ts.map +1 -0
  1123. package/lib/plugin/notebook/notebook-editor.js +99 -0
  1124. package/lib/plugin/notebook/notebook-editor.js.map +1 -0
  1125. package/lib/plugin/notebook/notebook-editors.d.ts +14 -0
  1126. package/lib/plugin/notebook/notebook-editors.d.ts.map +1 -0
  1127. package/lib/plugin/notebook/notebook-editors.js +65 -0
  1128. package/lib/plugin/notebook/notebook-editors.js.map +1 -0
  1129. package/lib/plugin/notebook/notebook-kernels.d.ts +40 -0
  1130. package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -0
  1131. package/lib/plugin/notebook/notebook-kernels.js +536 -0
  1132. package/lib/plugin/notebook/notebook-kernels.js.map +1 -0
  1133. package/lib/plugin/notebook/notebook-renderers.d.ts +14 -0
  1134. package/lib/plugin/notebook/notebook-renderers.d.ts.map +1 -0
  1135. package/lib/plugin/notebook/notebook-renderers.js +63 -0
  1136. package/lib/plugin/notebook/notebook-renderers.js.map +1 -0
  1137. package/lib/plugin/notebook/notebooks.d.ts +62 -0
  1138. package/lib/plugin/notebook/notebooks.d.ts.map +1 -0
  1139. package/lib/plugin/notebook/notebooks.js +381 -0
  1140. package/lib/plugin/notebook/notebooks.js.map +1 -0
  1141. package/lib/plugin/notification.d.ts +18 -0
  1142. package/lib/plugin/notification.d.ts.map +1 -0
  1143. package/lib/plugin/notification.js +68 -0
  1144. package/lib/plugin/notification.js.map +1 -0
  1145. package/lib/plugin/output-channel/log-output-channel.d.ts +24 -0
  1146. package/lib/plugin/output-channel/log-output-channel.d.ts.map +1 -0
  1147. package/lib/plugin/output-channel/log-output-channel.js +101 -0
  1148. package/lib/plugin/output-channel/log-output-channel.js.map +1 -0
  1149. package/lib/plugin/output-channel/output-channel-item.d.ts +18 -0
  1150. package/lib/plugin/output-channel/output-channel-item.d.ts.map +1 -0
  1151. package/lib/plugin/output-channel/output-channel-item.js +60 -0
  1152. package/lib/plugin/output-channel/output-channel-item.js.map +1 -0
  1153. package/lib/plugin/output-channel-registry.d.ts +14 -0
  1154. package/lib/plugin/output-channel-registry.d.ts.map +1 -0
  1155. package/lib/plugin/output-channel-registry.js +45 -0
  1156. package/lib/plugin/output-channel-registry.js.map +1 -0
  1157. package/lib/plugin/path.d.ts +3 -0
  1158. package/lib/plugin/path.d.ts.map +1 -0
  1159. package/lib/plugin/path.js +60 -0
  1160. package/lib/plugin/path.js.map +1 -0
  1161. package/lib/plugin/path.spec.d.ts +2 -0
  1162. package/lib/plugin/path.spec.d.ts.map +1 -0
  1163. package/lib/plugin/path.spec.js +35 -0
  1164. package/lib/plugin/path.spec.js.map +1 -0
  1165. package/lib/plugin/plugin-context.d.ts +60 -0
  1166. package/lib/plugin/plugin-context.d.ts.map +1 -0
  1167. package/lib/plugin/plugin-context.js +1351 -0
  1168. package/lib/plugin/plugin-context.js.map +1 -0
  1169. package/lib/plugin/plugin-icon-path.d.ts +13 -0
  1170. package/lib/plugin/plugin-icon-path.d.ts.map +1 -0
  1171. package/lib/plugin/plugin-icon-path.js +54 -0
  1172. package/lib/plugin/plugin-icon-path.js.map +1 -0
  1173. package/lib/plugin/plugin-manager.d.ts +96 -0
  1174. package/lib/plugin/plugin-manager.d.ts.map +1 -0
  1175. package/lib/plugin/plugin-manager.js +434 -0
  1176. package/lib/plugin/plugin-manager.js.map +1 -0
  1177. package/lib/plugin/plugin-storage.d.ts +45 -0
  1178. package/lib/plugin/plugin-storage.d.ts.map +1 -0
  1179. package/lib/plugin/plugin-storage.js +109 -0
  1180. package/lib/plugin/plugin-storage.js.map +1 -0
  1181. package/lib/plugin/preference-registry.d.ts +41 -0
  1182. package/lib/plugin/preference-registry.d.ts.map +1 -0
  1183. package/lib/plugin/preference-registry.js +337 -0
  1184. package/lib/plugin/preference-registry.js.map +1 -0
  1185. package/lib/plugin/preference-registry.spec.d.ts +2 -0
  1186. package/lib/plugin/preference-registry.spec.d.ts.map +1 -0
  1187. package/lib/plugin/preference-registry.spec.js +247 -0
  1188. package/lib/plugin/preference-registry.spec.js.map +1 -0
  1189. package/lib/plugin/prefix-sum-computer.d.ts +31 -0
  1190. package/lib/plugin/prefix-sum-computer.d.ts.map +1 -0
  1191. package/lib/plugin/prefix-sum-computer.js +173 -0
  1192. package/lib/plugin/prefix-sum-computer.js.map +1 -0
  1193. package/lib/plugin/quick-open.d.ts +182 -0
  1194. package/lib/plugin/quick-open.d.ts.map +1 -0
  1195. package/lib/plugin/quick-open.js +605 -0
  1196. package/lib/plugin/quick-open.js.map +1 -0
  1197. package/lib/plugin/scm.d.ts +55 -0
  1198. package/lib/plugin/scm.d.ts.map +1 -0
  1199. package/lib/plugin/scm.js +740 -0
  1200. package/lib/plugin/scm.js.map +1 -0
  1201. package/lib/plugin/secrets-ext.d.ts +43 -0
  1202. package/lib/plugin/secrets-ext.d.ts.map +1 -0
  1203. package/lib/plugin/secrets-ext.js +84 -0
  1204. package/lib/plugin/secrets-ext.js.map +1 -0
  1205. package/lib/plugin/status-bar/status-bar-item.d.ts +52 -0
  1206. package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -0
  1207. package/lib/plugin/status-bar/status-bar-item.js +190 -0
  1208. package/lib/plugin/status-bar/status-bar-item.js.map +1 -0
  1209. package/lib/plugin/status-bar-message-registry.d.ts +26 -0
  1210. package/lib/plugin/status-bar-message-registry.d.ts.map +1 -0
  1211. package/lib/plugin/status-bar-message-registry.js +100 -0
  1212. package/lib/plugin/status-bar-message-registry.js.map +1 -0
  1213. package/lib/plugin/tabs.d.ts +23 -0
  1214. package/lib/plugin/tabs.d.ts.map +1 -0
  1215. package/lib/plugin/tabs.js +363 -0
  1216. package/lib/plugin/tabs.js.map +1 -0
  1217. package/lib/plugin/tasks/task-provider.d.ts +9 -0
  1218. package/lib/plugin/tasks/task-provider.d.ts.map +1 -0
  1219. package/lib/plugin/tasks/task-provider.js +54 -0
  1220. package/lib/plugin/tasks/task-provider.js.map +1 -0
  1221. package/lib/plugin/tasks/tasks.d.ts +47 -0
  1222. package/lib/plugin/tasks/tasks.d.ts.map +1 -0
  1223. package/lib/plugin/tasks/tasks.js +216 -0
  1224. package/lib/plugin/tasks/tasks.js.map +1 -0
  1225. package/lib/plugin/telemetry-ext.d.ts +44 -0
  1226. package/lib/plugin/telemetry-ext.d.ts.map +1 -0
  1227. package/lib/plugin/telemetry-ext.js +252 -0
  1228. package/lib/plugin/telemetry-ext.js.map +1 -0
  1229. package/lib/plugin/terminal-ext.d.ts +115 -0
  1230. package/lib/plugin/terminal-ext.d.ts.map +1 -0
  1231. package/lib/plugin/terminal-ext.js +502 -0
  1232. package/lib/plugin/terminal-ext.js.map +1 -0
  1233. package/lib/plugin/test-item.d.ts +47 -0
  1234. package/lib/plugin/test-item.d.ts.map +1 -0
  1235. package/lib/plugin/test-item.js +188 -0
  1236. package/lib/plugin/test-item.js.map +1 -0
  1237. package/lib/plugin/tests.d.ts +141 -0
  1238. package/lib/plugin/tests.d.ts.map +1 -0
  1239. package/lib/plugin/tests.js +469 -0
  1240. package/lib/plugin/tests.js.map +1 -0
  1241. package/lib/plugin/text-editor.d.ts +109 -0
  1242. package/lib/plugin/text-editor.d.ts.map +1 -0
  1243. package/lib/plugin/text-editor.js +474 -0
  1244. package/lib/plugin/text-editor.js.map +1 -0
  1245. package/lib/plugin/text-editors.d.ts +44 -0
  1246. package/lib/plugin/text-editors.d.ts.map +1 -0
  1247. package/lib/plugin/text-editors.js +203 -0
  1248. package/lib/plugin/text-editors.js.map +1 -0
  1249. package/lib/plugin/theming.d.ts +16 -0
  1250. package/lib/plugin/theming.d.ts.map +1 -0
  1251. package/lib/plugin/theming.js +62 -0
  1252. package/lib/plugin/theming.js.map +1 -0
  1253. package/lib/plugin/timeline.d.ts +21 -0
  1254. package/lib/plugin/timeline.d.ts.map +1 -0
  1255. package/lib/plugin/timeline.js +161 -0
  1256. package/lib/plugin/timeline.js.map +1 -0
  1257. package/lib/plugin/tree/tree-views.d.ts +108 -0
  1258. package/lib/plugin/tree/tree-views.d.ts.map +1 -0
  1259. package/lib/plugin/tree/tree-views.js +610 -0
  1260. package/lib/plugin/tree/tree-views.js.map +1 -0
  1261. package/lib/plugin/type-converters.d.ts +216 -0
  1262. package/lib/plugin/type-converters.d.ts.map +1 -0
  1263. package/lib/plugin/type-converters.js +1737 -0
  1264. package/lib/plugin/type-converters.js.map +1 -0
  1265. package/lib/plugin/type-converters.spec.d.ts +2 -0
  1266. package/lib/plugin/type-converters.spec.d.ts.map +1 -0
  1267. package/lib/plugin/type-converters.spec.js +396 -0
  1268. package/lib/plugin/type-converters.spec.js.map +1 -0
  1269. package/lib/plugin/types-impl.d.ts +2132 -0
  1270. package/lib/plugin/types-impl.d.ts.map +1 -0
  1271. package/lib/plugin/types-impl.js +3633 -0
  1272. package/lib/plugin/types-impl.js.map +1 -0
  1273. package/lib/plugin/types-impl.spec.d.ts +2 -0
  1274. package/lib/plugin/types-impl.spec.d.ts.map +1 -0
  1275. package/lib/plugin/types-impl.spec.js +79 -0
  1276. package/lib/plugin/types-impl.spec.js.map +1 -0
  1277. package/lib/plugin/uri-ext.d.ts +13 -0
  1278. package/lib/plugin/uri-ext.d.ts.map +1 -0
  1279. package/lib/plugin/uri-ext.js +49 -0
  1280. package/lib/plugin/uri-ext.js.map +1 -0
  1281. package/lib/plugin/webview-views.d.ts +56 -0
  1282. package/lib/plugin/webview-views.d.ts.map +1 -0
  1283. package/lib/plugin/webview-views.js +157 -0
  1284. package/lib/plugin/webview-views.js.map +1 -0
  1285. package/lib/plugin/webviews.d.ts +113 -0
  1286. package/lib/plugin/webviews.d.ts.map +1 -0
  1287. package/lib/plugin/webviews.js +393 -0
  1288. package/lib/plugin/webviews.js.map +1 -0
  1289. package/lib/plugin/window-state.d.ts +19 -0
  1290. package/lib/plugin/window-state.d.ts.map +1 -0
  1291. package/lib/plugin/window-state.js +67 -0
  1292. package/lib/plugin/window-state.js.map +1 -0
  1293. package/lib/plugin/word-helper.d.ts +22 -0
  1294. package/lib/plugin/word-helper.d.ts.map +1 -0
  1295. package/lib/plugin/word-helper.js +126 -0
  1296. package/lib/plugin/word-helper.js.map +1 -0
  1297. package/lib/plugin/workspace.d.ts +75 -0
  1298. package/lib/plugin/workspace.d.ts.map +1 -0
  1299. package/lib/plugin/workspace.js +476 -0
  1300. package/lib/plugin/workspace.js.map +1 -0
  1301. package/lib/plugin-ext-backend-electron-module.d.ts +4 -0
  1302. package/lib/plugin-ext-backend-electron-module.d.ts.map +1 -0
  1303. package/lib/plugin-ext-backend-electron-module.js +25 -0
  1304. package/lib/plugin-ext-backend-electron-module.js.map +1 -0
  1305. package/lib/plugin-ext-backend-module.d.ts +4 -0
  1306. package/lib/plugin-ext-backend-module.d.ts.map +1 -0
  1307. package/lib/plugin-ext-backend-module.js +25 -0
  1308. package/lib/plugin-ext-backend-module.js.map +1 -0
  1309. package/lib/plugin-ext-frontend-electron-module.d.ts +3 -0
  1310. package/lib/plugin-ext-frontend-electron-module.d.ts.map +1 -0
  1311. package/lib/plugin-ext-frontend-electron-module.js +20 -0
  1312. package/lib/plugin-ext-frontend-electron-module.js.map +1 -0
  1313. package/lib/plugin-ext-frontend-module.d.ts +3 -0
  1314. package/lib/plugin-ext-frontend-module.d.ts.map +1 -0
  1315. package/lib/plugin-ext-frontend-module.js +20 -0
  1316. package/lib/plugin-ext-frontend-module.js.map +1 -0
  1317. package/package.json +29 -29
@@ -0,0 +1,1351 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2018-2022 Red Hat, Inc. and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ var _Plugin_pluginManager, _PluginExt_pluginManager;
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.PluginExt = exports.Plugin = exports.createAPIFactory = exports.createAPIObject = void 0;
20
+ const tslib_1 = require("tslib");
21
+ const command_registry_1 = require("./command-registry");
22
+ const event_1 = require("@theia/core/lib/common/event");
23
+ const cancellation_1 = require("@theia/core/lib/common/cancellation");
24
+ const quick_open_1 = require("./quick-open");
25
+ const plugin_api_rpc_1 = require("../common/plugin-api-rpc");
26
+ const status_bar_message_registry_1 = require("./status-bar-message-registry");
27
+ const window_state_1 = require("./window-state");
28
+ const types_impl_1 = require("./types-impl");
29
+ const authentication_ext_1 = require("./authentication-ext");
30
+ const plugin_api_rpc_model_1 = require("../common/plugin-api-rpc-model");
31
+ const text_editors_1 = require("./text-editors");
32
+ const documents_1 = require("./documents");
33
+ const editor_options_1 = require("../common/editor-options");
34
+ const output_channel_registry_1 = require("./output-channel-registry");
35
+ const terminal_ext_1 = require("./terminal-ext");
36
+ const languages_1 = require("./languages");
37
+ const type_converters_1 = require("./type-converters");
38
+ const dialogs_1 = require("./dialogs");
39
+ const notification_1 = require("./notification");
40
+ const language_selector_1 = require("@theia/editor/lib/common/language-selector");
41
+ const markdown_string_1 = require("./markdown-string");
42
+ const tree_views_1 = require("./tree/tree-views");
43
+ const connection_1 = require("../common/connection");
44
+ const tasks_1 = require("./tasks/tasks");
45
+ const file_system_ext_impl_1 = require("./file-system-ext-impl");
46
+ const scm_1 = require("./scm");
47
+ const decorations_1 = require("./decorations");
48
+ const file_system_event_service_ext_impl_1 = require("./file-system-event-service-ext-impl");
49
+ const label_service_1 = require("../plugin/label-service");
50
+ const timeline_1 = require("./timeline");
51
+ const theming_1 = require("./theming");
52
+ const comments_1 = require("./comments");
53
+ const custom_editors_1 = require("./custom-editors");
54
+ const webview_views_1 = require("./webview-views");
55
+ const common_1 = require("../common");
56
+ const endpoint_1 = require("@theia/core/lib/browser/endpoint");
57
+ const files_1 = require("@theia/filesystem/lib/common/files");
58
+ const tabs_1 = require("./tabs");
59
+ const notebooks_1 = require("./notebook/notebooks");
60
+ const telemetry_ext_1 = require("./telemetry-ext");
61
+ const notebook_document_1 = require("./notebook/notebook-document");
62
+ const notebook_renderers_1 = require("./notebook/notebook-renderers");
63
+ const notebook_kernels_1 = require("./notebook/notebook-kernels");
64
+ const notebook_documents_1 = require("./notebook/notebook-documents");
65
+ const notebook_editors_1 = require("./notebook/notebook-editors");
66
+ const tests_1 = require("./tests");
67
+ const uri_ext_1 = require("./uri-ext");
68
+ const logger_1 = require("./logger");
69
+ const lm_ext_1 = require("./lm-ext");
70
+ function createAPIObject(rawObject) {
71
+ return new Proxy(rawObject, {
72
+ get(target, p, receiver) {
73
+ const isOwnProperty = !!Object.getOwnPropertyDescriptor(target, p);
74
+ const val = Reflect.get(target, p);
75
+ if (!isOwnProperty && typeof val === 'function') {
76
+ // bind functions that are inherited from the prototype to the object itself.
77
+ // This should handle the case of events.
78
+ return val.bind(target);
79
+ }
80
+ return val;
81
+ },
82
+ });
83
+ }
84
+ exports.createAPIObject = createAPIObject;
85
+ function createAPIFactory(rpc, pluginManager, envExt, debugExt, preferenceRegistryExt, editorsAndDocumentsExt, workspaceExt, messageRegistryExt, clipboard, webviewExt, localizationExt) {
86
+ const authenticationExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.AUTHENTICATION_EXT, new authentication_ext_1.AuthenticationExtImpl(rpc));
87
+ const commandRegistry = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.COMMAND_REGISTRY_EXT, new command_registry_1.CommandRegistryImpl(rpc));
88
+ const quickOpenExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.QUICK_OPEN_EXT, new quick_open_1.QuickOpenExtImpl(rpc));
89
+ const dialogsExt = new dialogs_1.DialogsExtImpl(rpc);
90
+ const windowStateExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.WINDOW_STATE_EXT, new window_state_1.WindowStateExtImpl(rpc));
91
+ const notificationExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTIFICATION_EXT, new notification_1.NotificationExtImpl(rpc));
92
+ const editors = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TEXT_EDITORS_EXT, new text_editors_1.TextEditorsExtImpl(rpc, editorsAndDocumentsExt));
93
+ const documents = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.DOCUMENTS_EXT, new documents_1.DocumentsExtImpl(rpc, editorsAndDocumentsExt));
94
+ const notebooksExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTEBOOKS_EXT, new notebooks_1.NotebooksExtImpl(rpc, commandRegistry, editorsAndDocumentsExt, documents));
95
+ const notebookEditors = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTEBOOK_EDITORS_EXT, new notebook_editors_1.NotebookEditorsExtImpl(notebooksExt));
96
+ const notebookRenderers = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTEBOOK_RENDERERS_EXT, new notebook_renderers_1.NotebookRenderersExtImpl(rpc, notebooksExt));
97
+ const notebookKernels = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTEBOOK_KERNELS_EXT, new notebook_kernels_1.NotebookKernelsExtImpl(rpc, notebooksExt, commandRegistry, webviewExt, workspaceExt));
98
+ const notebookDocuments = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.NOTEBOOK_DOCUMENTS_EXT, new notebook_documents_1.NotebookDocumentsExtImpl(notebooksExt));
99
+ const statusBarMessageRegistryExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.STATUS_BAR_MESSAGE_REGISTRY_EXT, new status_bar_message_registry_1.StatusBarMessageRegistryExtImpl(rpc, commandRegistry));
100
+ const terminalExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TERMINAL_EXT, new terminal_ext_1.TerminalServiceExtImpl(rpc));
101
+ const outputChannelRegistryExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.OUTPUT_CHANNEL_REGISTRY_EXT, new output_channel_registry_1.OutputChannelRegistryExtImpl(rpc));
102
+ const treeViewsExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TREE_VIEWS_EXT, new tree_views_1.TreeViewsExtImpl(rpc, commandRegistry));
103
+ const tasksExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TASKS_EXT, new tasks_1.TasksExtImpl(rpc, terminalExt));
104
+ const connectionExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.CONNECTION_EXT, new connection_1.ConnectionImpl(rpc.getProxy(plugin_api_rpc_1.PLUGIN_RPC_CONTEXT.CONNECTION_MAIN)));
105
+ const fileSystemExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.FILE_SYSTEM_EXT, new file_system_ext_impl_1.FileSystemExtImpl(rpc));
106
+ const languagesExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.LANGUAGES_EXT, new languages_1.LanguagesExtImpl(rpc, documents, commandRegistry, fileSystemExt));
107
+ const extHostFileSystemEvent = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.ExtHostFileSystemEventService, new file_system_event_service_ext_impl_1.ExtHostFileSystemEventService(rpc, editorsAndDocumentsExt));
108
+ const scmExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.SCM_EXT, new scm_1.ScmExtImpl(rpc, commandRegistry));
109
+ const decorationsExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.DECORATIONS_EXT, new decorations_1.DecorationsExtImpl(rpc));
110
+ const labelServiceExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.LABEL_SERVICE_EXT, new label_service_1.LabelServiceExtImpl(rpc));
111
+ const timelineExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TIMELINE_EXT, new timeline_1.TimelineExtImpl(rpc, commandRegistry));
112
+ const themingExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.THEMING_EXT, new theming_1.ThemingExtImpl(rpc));
113
+ const commentsExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.COMMENTS_EXT, new comments_1.CommentsExtImpl(rpc, commandRegistry, documents));
114
+ const tabsExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TABS_EXT, new tabs_1.TabsExtImpl(rpc));
115
+ const customEditorExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.CUSTOM_EDITORS_EXT, new custom_editors_1.CustomEditorsExtImpl(rpc, documents, webviewExt));
116
+ const webviewViewsExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.WEBVIEW_VIEWS_EXT, new webview_views_1.WebviewViewsExtImpl(rpc, webviewExt));
117
+ const telemetryExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TELEMETRY_EXT, new telemetry_ext_1.TelemetryExtImpl());
118
+ const testingExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.TESTING_EXT, new tests_1.TestingExtImpl(rpc, commandRegistry));
119
+ const uriExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.URI_EXT, new uri_ext_1.UriExtImpl(rpc));
120
+ const lmExt = rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.MCP_SERVER_DEFINITION_REGISTRY_EXT, new lm_ext_1.LmExtImpl(rpc));
121
+ rpc.set(plugin_api_rpc_1.MAIN_RPC_CONTEXT.DEBUG_EXT, debugExt);
122
+ const commandLogger = new logger_1.PluginLogger(rpc, 'commands-plugin');
123
+ return function (plugin) {
124
+ const authentication = {
125
+ registerAuthenticationProvider(id, label, provider, options) {
126
+ return authenticationExt.registerAuthenticationProvider(id, label, provider, options);
127
+ },
128
+ getSession(providerId, scopes, options) {
129
+ return authenticationExt.getSession(plugin, providerId, scopes, options);
130
+ },
131
+ get onDidChangeSessions() {
132
+ return authenticationExt.onDidChangeSessions;
133
+ },
134
+ getAccounts(providerId) {
135
+ return authenticationExt.getAccounts(providerId);
136
+ }
137
+ };
138
+ function commandIsDeclaredInPackage(id, model) {
139
+ var _a;
140
+ const rawCommands = (_a = model.contributes) === null || _a === void 0 ? void 0 : _a.commands;
141
+ if (!rawCommands) {
142
+ return false;
143
+ }
144
+ return Array.isArray(rawCommands) ? rawCommands.some(candidate => candidate.command === id) : rawCommands.command === id;
145
+ }
146
+ const commands = {
147
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
148
+ registerCommand(command, handler, thisArg) {
149
+ // use of the ID when registering commands
150
+ if (typeof command === 'string') {
151
+ if (handler && commandIsDeclaredInPackage(command, plugin.rawModel)) {
152
+ return commandRegistry.registerHandler(command, handler, thisArg);
153
+ }
154
+ return commandRegistry.registerCommand({ id: command }, handler, thisArg);
155
+ }
156
+ return commandRegistry.registerCommand(command, handler, thisArg);
157
+ },
158
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
159
+ executeCommand(commandId, ...args) {
160
+ return commandRegistry.executeCommand(commandId, ...args);
161
+ },
162
+ registerTextEditorCommand(command, handler, thisArg) {
163
+ const internalHandler = (...args) => {
164
+ const activeTextEditor = editors.getActiveEditor();
165
+ if (!activeTextEditor) {
166
+ commandLogger.warn('Cannot execute ' + command + ' because there is no active text editor.');
167
+ return undefined;
168
+ }
169
+ return activeTextEditor.edit((edit) => {
170
+ args.unshift(activeTextEditor, edit);
171
+ handler.apply(thisArg, args);
172
+ }).then(result => {
173
+ if (!result) {
174
+ commandLogger.warn('Edits from command ' + command + ' were not applied.');
175
+ }
176
+ }, err => {
177
+ commandLogger.warn('An error occurred while running command ' + command, err);
178
+ });
179
+ };
180
+ return commandIsDeclaredInPackage(command, plugin.rawModel)
181
+ ? commandRegistry.registerHandler(command, internalHandler)
182
+ : commandRegistry.registerCommand({ id: command }, internalHandler);
183
+ },
184
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
185
+ registerHandler(commandId, handler, thisArg) {
186
+ return commandRegistry.registerHandler(commandId, handler, thisArg);
187
+ },
188
+ getKeyBinding(commandId) {
189
+ return commandRegistry.getKeyBinding(commandId);
190
+ },
191
+ getCommands(filterInternal = false) {
192
+ return commandRegistry.getCommands(filterInternal);
193
+ },
194
+ registerDiffInformationCommand(command, callback, thisArg) {
195
+ const internalHandler = async (...args) => {
196
+ const activeTextEditor = editors.getActiveEditor();
197
+ if (!activeTextEditor) {
198
+ commandLogger.warn('Cannot execute ' + command + ' because there is no active text editor.');
199
+ return undefined;
200
+ }
201
+ const lineChanges = await activeTextEditor.getDiffInformation();
202
+ callback.apply(thisArg, [lineChanges, ...args]);
203
+ };
204
+ if (commandIsDeclaredInPackage(command, plugin.rawModel)) {
205
+ return commandRegistry.registerHandler(command, internalHandler, thisArg);
206
+ }
207
+ return commandRegistry.registerCommand({ id: command }, internalHandler, thisArg);
208
+ }
209
+ };
210
+ const { onDidChangeActiveTerminal, onDidChangeTerminalState, onDidCloseTerminal, onDidOpenTerminal } = terminalExt;
211
+ const showInformationMessage = messageRegistryExt.showMessage.bind(messageRegistryExt, plugin_api_rpc_1.MainMessageType.Info);
212
+ const showWarningMessage = messageRegistryExt.showMessage.bind(messageRegistryExt, plugin_api_rpc_1.MainMessageType.Warning);
213
+ const showErrorMessage = messageRegistryExt.showMessage.bind(messageRegistryExt, plugin_api_rpc_1.MainMessageType.Error);
214
+ const window = {
215
+ get activeTerminal() {
216
+ return terminalExt.activeTerminal;
217
+ },
218
+ get activeTextEditor() {
219
+ return editors.getActiveEditor();
220
+ },
221
+ get visibleTextEditors() {
222
+ return editors.getVisibleTextEditors();
223
+ },
224
+ get terminals() {
225
+ return terminalExt.terminals;
226
+ },
227
+ onDidChangeActiveTerminal,
228
+ onDidChangeActiveTextEditor(listener, thisArg, disposables) {
229
+ return editors.onDidChangeActiveTextEditor(listener, thisArg, disposables);
230
+ },
231
+ onDidChangeVisibleTextEditors(listener, thisArg, disposables) {
232
+ return editors.onDidChangeVisibleTextEditors(listener, thisArg, disposables);
233
+ },
234
+ onDidChangeTextEditorSelection(listener, thisArg, disposables) {
235
+ return editors.onDidChangeTextEditorSelection(listener, thisArg, disposables);
236
+ },
237
+ onDidChangeTextEditorDiffInformation(listener, thisArg, disposables) {
238
+ return editors.onDidChangeTextEditorDiffInformation(listener, thisArg, disposables);
239
+ },
240
+ onDidChangeTextEditorOptions(listener, thisArg, disposables) {
241
+ return editors.onDidChangeTextEditorOptions(listener, thisArg, disposables);
242
+ },
243
+ onDidChangeTextEditorViewColumn(listener, thisArg, disposables) {
244
+ return editors.onDidChangeTextEditorViewColumn(listener, thisArg, disposables);
245
+ },
246
+ onDidChangeTextEditorVisibleRanges(listener, thisArg, disposables) {
247
+ return editors.onDidChangeTextEditorVisibleRanges(listener, thisArg, disposables);
248
+ },
249
+ async showTextDocument(documentArg, columnOrOptions, preserveFocus) {
250
+ let documentOptions;
251
+ const uri = documentArg instanceof types_impl_1.URI ? documentArg : documentArg.uri;
252
+ if (typeof columnOrOptions === 'number') {
253
+ documentOptions = {
254
+ viewColumn: columnOrOptions
255
+ };
256
+ }
257
+ else if (columnOrOptions && (columnOrOptions.preserveFocus || columnOrOptions.preview || columnOrOptions.selection || columnOrOptions.viewColumn)) {
258
+ documentOptions = {
259
+ ...columnOrOptions
260
+ };
261
+ }
262
+ if (preserveFocus) {
263
+ if (documentOptions) {
264
+ documentOptions.preserveFocus = preserveFocus;
265
+ }
266
+ else {
267
+ documentOptions = { preserveFocus };
268
+ }
269
+ }
270
+ await documents.showDocument(uri, documentOptions);
271
+ const textEditor = editors.getVisibleTextEditors().find(editor => editor.document.uri.toString() === uri.toString());
272
+ if (textEditor) {
273
+ return Promise.resolve(textEditor);
274
+ }
275
+ else {
276
+ throw new Error(`Failed to show text document ${documentArg.toString()}`);
277
+ }
278
+ },
279
+ get visibleNotebookEditors() {
280
+ return notebooksExt.visibleApiNotebookEditors;
281
+ },
282
+ onDidChangeVisibleNotebookEditors(listener, thisArg, disposables) {
283
+ return notebooksExt.onDidChangeVisibleNotebookEditors(listener, thisArg, disposables);
284
+ },
285
+ get activeNotebookEditor() {
286
+ return notebooksExt.activeApiNotebookEditor;
287
+ }, onDidChangeActiveNotebookEditor(listener, thisArg, disposables) {
288
+ return notebooksExt.onDidChangeActiveNotebookEditor(listener, thisArg, disposables);
289
+ },
290
+ onDidChangeNotebookEditorSelection(listener, thisArg, disposables) {
291
+ return notebookEditors.onDidChangeNotebookEditorSelection(listener, thisArg, disposables);
292
+ },
293
+ onDidChangeNotebookEditorVisibleRanges(listener, thisArg, disposables) {
294
+ return notebookEditors.onDidChangeNotebookEditorVisibleRanges(listener, thisArg, disposables);
295
+ },
296
+ showNotebookDocument(document, options) {
297
+ return notebooksExt.showNotebookDocument(document, options);
298
+ },
299
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
300
+ showQuickPick(items, options, token) {
301
+ return quickOpenExt.showQuickPick(plugin, items, options, token);
302
+ },
303
+ createQuickPick() {
304
+ return createAPIObject(quickOpenExt.createQuickPick(plugin));
305
+ },
306
+ showWorkspaceFolderPick(options) {
307
+ return workspaceExt.pickWorkspaceFolder(options);
308
+ },
309
+ showInformationMessage,
310
+ showWarningMessage,
311
+ showErrorMessage,
312
+ showOpenDialog(options) {
313
+ return dialogsExt.showOpenDialog(options);
314
+ },
315
+ showSaveDialog(options) {
316
+ return dialogsExt.showSaveDialog(options);
317
+ },
318
+ showUploadDialog(options) {
319
+ return dialogsExt.showUploadDialog(options);
320
+ },
321
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
322
+ setStatusBarMessage(text, arg) {
323
+ return statusBarMessageRegistryExt.setStatusBarMessage(text, arg);
324
+ },
325
+ showInputBox(options, token) {
326
+ return quickOpenExt.showInput(options, token);
327
+ },
328
+ createStatusBarItem(alignmentOrId, priorityOrAlignment, priorityArg) {
329
+ let id;
330
+ let alignment;
331
+ let priority;
332
+ if (typeof alignmentOrId === 'string') {
333
+ id = alignmentOrId;
334
+ alignment = priorityOrAlignment;
335
+ priority = priorityArg;
336
+ }
337
+ else {
338
+ alignment = alignmentOrId;
339
+ priority = priorityOrAlignment;
340
+ }
341
+ // TODO: here
342
+ return statusBarMessageRegistryExt.createStatusBarItem(alignment, priority, id);
343
+ },
344
+ createOutputChannel(name, options) {
345
+ // TODO: here
346
+ return !options
347
+ ? outputChannelRegistryExt.createOutputChannel(name, (0, type_converters_1.pluginToPluginInfo)(plugin))
348
+ : outputChannelRegistryExt.createOutputChannel(name, (0, type_converters_1.pluginToPluginInfo)(plugin), options);
349
+ },
350
+ createWebviewPanel(viewType, title, showOptions, options = {}) {
351
+ return createAPIObject(webviewExt.createWebview(viewType, title, showOptions, options, plugin));
352
+ },
353
+ registerWebviewPanelSerializer(viewType, serializer) {
354
+ return webviewExt.registerWebviewPanelSerializer(viewType, serializer, plugin);
355
+ },
356
+ registerCustomEditorProvider(viewType, provider, options = {}) {
357
+ return customEditorExt.registerCustomEditorProvider(viewType, provider, options, plugin);
358
+ },
359
+ registerWebviewViewProvider(viewType, provider, options) {
360
+ return webviewViewsExt.registerWebviewViewProvider(viewType, provider, plugin, options === null || options === void 0 ? void 0 : options.webviewOptions);
361
+ },
362
+ get state() {
363
+ return windowStateExt.getWindowState();
364
+ },
365
+ onDidChangeWindowState(listener, thisArg, disposables) {
366
+ return windowStateExt.onDidChangeWindowState(listener, thisArg, disposables);
367
+ },
368
+ createTerminal(nameOrOptions, shellPath, shellArgs) {
369
+ return createAPIObject(terminalExt.createTerminal(plugin, nameOrOptions, shellPath, shellArgs));
370
+ },
371
+ onDidChangeTerminalState,
372
+ onDidCloseTerminal,
373
+ onDidOpenTerminal,
374
+ createTextEditorDecorationType(options) {
375
+ return createAPIObject(editors.createTextEditorDecorationType(options));
376
+ },
377
+ registerTreeDataProvider(viewId, treeDataProvider) {
378
+ return treeViewsExt.registerTreeDataProvider(plugin, viewId, treeDataProvider);
379
+ },
380
+ createTreeView(viewId, options) {
381
+ return createAPIObject(treeViewsExt.createTreeView(plugin, viewId, options));
382
+ },
383
+ withScmProgress(task) {
384
+ const options = { location: types_impl_1.ProgressLocation.SourceControl };
385
+ return notificationExt.withProgress(options, () => task({ report() { } }));
386
+ },
387
+ withProgress(options, task) {
388
+ return notificationExt.withProgress(options, task);
389
+ },
390
+ registerFileDecorationProvider(provider) {
391
+ return decorationsExt.registerFileDecorationProvider(provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
392
+ },
393
+ registerUriHandler(handler) {
394
+ return uriExt.registerUriHandler(handler, (0, type_converters_1.pluginToPluginInfo)(plugin));
395
+ },
396
+ createInputBox() {
397
+ return createAPIObject(quickOpenExt.createInputBox(plugin));
398
+ },
399
+ registerTerminalLinkProvider(provider) {
400
+ return terminalExt.registerTerminalLinkProvider(provider);
401
+ },
402
+ registerTerminalProfileProvider(id, provider) {
403
+ return terminalExt.registerTerminalProfileProvider(id, provider);
404
+ },
405
+ get activeColorTheme() {
406
+ return themingExt.activeColorTheme;
407
+ },
408
+ onDidChangeActiveColorTheme(listener, thisArg, disposables) {
409
+ return themingExt.onDidChangeActiveColorTheme(listener, thisArg, disposables);
410
+ },
411
+ get tabGroups() {
412
+ return tabsExt.tabGroups;
413
+ },
414
+ /** @stubbed ExternalUriOpener */
415
+ registerExternalUriOpener(id, opener, metadata) {
416
+ return types_impl_1.Disposable.NULL;
417
+ },
418
+ /** @stubbed ProfileContentHandler */
419
+ registerProfileContentHandler(id, profileContentHandler) {
420
+ return types_impl_1.Disposable.NULL;
421
+ },
422
+ /** @stubbed TerminalCompletionProvider */
423
+ registerTerminalCompletionProvider(provider, ...triggerCharacters) {
424
+ return types_impl_1.Disposable.NULL;
425
+ },
426
+ /** @stubbed TerminalQuickFixProvider */
427
+ registerTerminalQuickFixProvider(id, provider) {
428
+ return terminalExt.registerTerminalQuickFixProvider(id, provider);
429
+ },
430
+ /** Theia-specific TerminalObserver */
431
+ registerTerminalObserver(observer) {
432
+ return terminalExt.registerTerminalObserver(observer);
433
+ },
434
+ /** @stubbed ShareProvider */
435
+ registerShareProvider: () => types_impl_1.Disposable.NULL,
436
+ /** @stubbed Terminal Shell Ingration */
437
+ onDidChangeTerminalShellIntegration: event_1.Event.None,
438
+ /** @stubbed Terminal Shell Ingration */
439
+ onDidEndTerminalShellExecution: event_1.Event.None,
440
+ /** @stubbed Terminal Shell Ingration */
441
+ onDidStartTerminalShellExecution: event_1.Event.None
442
+ };
443
+ function createFileSystemWatcher(pattern, ignoreCreateEvents, ignoreChangeEvents, ignoreDeleteEvents) {
444
+ return createAPIObject(extHostFileSystemEvent.createFileSystemWatcher((0, type_converters_1.fromGlobPattern)(pattern), ignoreCreateEvents, ignoreChangeEvents, ignoreDeleteEvents));
445
+ }
446
+ const workspace = {
447
+ get fs() {
448
+ return fileSystemExt.fileSystem.apiObject;
449
+ },
450
+ get rootPath() {
451
+ return workspaceExt.rootPath;
452
+ },
453
+ get workspaceFolders() {
454
+ return workspaceExt.workspaceFolders;
455
+ },
456
+ get workspaceFile() {
457
+ return workspaceExt.workspaceFile;
458
+ },
459
+ get name() {
460
+ return workspaceExt.name;
461
+ },
462
+ onDidChangeWorkspaceFolders(listener, thisArg, disposables) {
463
+ return workspaceExt.onDidChangeWorkspaceFolders(listener, thisArg, disposables);
464
+ },
465
+ get notebookDocuments() {
466
+ return notebooksExt.getAllApiDocuments();
467
+ },
468
+ get textDocuments() {
469
+ return documents.getAllDocumentData().map(data => data.document);
470
+ },
471
+ onDidChangeTextDocument(listener, thisArg, disposables) {
472
+ return documents.onDidChangeDocument(listener, thisArg, disposables);
473
+ },
474
+ onDidCloseTextDocument(listener, thisArg, disposables) {
475
+ return documents.onDidRemoveDocument(listener, thisArg, disposables);
476
+ },
477
+ onDidOpenNotebookDocument(listener, thisArg, disposables) {
478
+ return notebooksExt.onDidOpenNotebookDocument(listener, thisArg, disposables);
479
+ },
480
+ onDidCloseNotebookDocument(listener, thisArg, disposables) {
481
+ return notebooksExt.onDidCloseNotebookDocument(listener, thisArg, disposables);
482
+ },
483
+ onWillSaveNotebookDocument(listener, thisArg, disposables) {
484
+ return types_impl_1.Disposable.NULL;
485
+ },
486
+ onDidSaveNotebookDocument(listener, thisArg, disposables) {
487
+ return notebookDocuments.onDidSaveNotebookDocument(listener, thisArg, disposables);
488
+ },
489
+ onDidChangeNotebookDocument(listener, thisArg, disposables) {
490
+ return notebookDocuments.onDidChangeNotebookDocument(listener, thisArg, disposables);
491
+ },
492
+ onDidOpenTextDocument(listener, thisArg, disposables) {
493
+ return documents.onDidAddDocument(listener, thisArg, disposables);
494
+ },
495
+ onWillSaveTextDocument(listener, thisArg, disposables) {
496
+ return documents.onWillSaveTextDocument(listener, thisArg, disposables);
497
+ },
498
+ onDidSaveTextDocument(listener, thisArg, disposables) {
499
+ return documents.onDidSaveTextDocument(listener, thisArg, disposables);
500
+ },
501
+ onDidCreateFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.onDidCreateFile(listener, thisArg, disposables),
502
+ onDidDeleteFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.onDidDeleteFile(listener, thisArg, disposables),
503
+ onDidRenameFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.onDidRenameFile(listener, thisArg, disposables),
504
+ onWillCreateFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.getOnWillCreateFileEvent(plugin)(listener, thisArg, disposables),
505
+ onWillDeleteFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.getOnWillDeleteFileEvent(plugin)(listener, thisArg, disposables),
506
+ onWillRenameFiles: (listener, thisArg, disposables) => extHostFileSystemEvent.getOnWillRenameFileEvent(plugin)(listener, thisArg, disposables),
507
+ getConfiguration(section, resource) {
508
+ return preferenceRegistryExt.getConfiguration(section, resource);
509
+ },
510
+ onDidChangeConfiguration(listener, thisArgs, disposables) {
511
+ return preferenceRegistryExt.onDidChangeConfiguration(listener, thisArgs, disposables);
512
+ },
513
+ decode(content, options) {
514
+ return workspaceExt.decode(content, options);
515
+ },
516
+ encode(content, options) {
517
+ return workspaceExt.encode(content, options);
518
+ },
519
+ async openTextDocument(uriOrPathOrOptions, options) {
520
+ let uri;
521
+ let documentOptions;
522
+ if (typeof uriOrPathOrOptions === 'string') {
523
+ // It's a file path
524
+ uri = types_impl_1.URI.file(uriOrPathOrOptions);
525
+ documentOptions = options;
526
+ }
527
+ else if (types_impl_1.URI.isUri(uriOrPathOrOptions)) {
528
+ // It's a URI
529
+ uri = uriOrPathOrOptions;
530
+ documentOptions = options;
531
+ }
532
+ else if (!uriOrPathOrOptions || typeof uriOrPathOrOptions === 'object') {
533
+ // It's options for creating a new document
534
+ documentOptions = uriOrPathOrOptions;
535
+ uri = await documents.createDocumentData(documentOptions);
536
+ }
537
+ else {
538
+ return Promise.reject(new Error('illegal argument - uriOrPathOrOptions'));
539
+ }
540
+ // If we have options with encoding from any source, we need to pass them to openDocument
541
+ const data = await documents.openDocument(uri, documentOptions);
542
+ return data && data.document;
543
+ },
544
+ async openNotebookDocument(uriOrType, content) {
545
+ let uri;
546
+ if (types_impl_1.URI.isUri(uriOrType)) {
547
+ uri = uriOrType;
548
+ await notebooksExt.openNotebookDocument(uriOrType);
549
+ }
550
+ else if (typeof uriOrType === 'string') {
551
+ uri = types_impl_1.URI.revive(await notebooksExt.createNotebookDocument({ viewType: uriOrType, content }));
552
+ }
553
+ else {
554
+ throw new Error('Invalid arguments');
555
+ }
556
+ // Notebook extension will create a document in openNotebookDocument() or create openNotebookDocument()
557
+ return notebooksExt.getNotebookDocument(uri).apiNotebook;
558
+ },
559
+ createFileSystemWatcher,
560
+ findFiles(include, exclude, maxResults, token) {
561
+ return workspaceExt.findFiles(include, exclude, maxResults, token);
562
+ },
563
+ findTextInFiles(query, optionsOrCallback, callbackOrToken, token) {
564
+ return workspaceExt.findTextInFiles(query, optionsOrCallback, callbackOrToken, token);
565
+ },
566
+ save(uri) {
567
+ return editors.save(uri);
568
+ },
569
+ saveAs(uri) {
570
+ return editors.saveAs(uri);
571
+ },
572
+ saveAll(includeUntitled) {
573
+ return editors.saveAll(includeUntitled);
574
+ },
575
+ applyEdit(edit, metadata) {
576
+ return editors.applyWorkspaceEdit(edit, metadata);
577
+ },
578
+ registerTextDocumentContentProvider(scheme, provider) {
579
+ return workspaceExt.registerTextDocumentContentProvider(scheme, provider);
580
+ },
581
+ registerFileSystemProvider(scheme, provider, options) {
582
+ return fileSystemExt.registerFileSystemProvider(scheme, provider, options);
583
+ },
584
+ getWorkspaceFolder(uri) {
585
+ return workspaceExt.getWorkspaceFolder(uri);
586
+ },
587
+ asRelativePath(pathOrUri, includeWorkspace) {
588
+ return workspaceExt.getRelativePath(pathOrUri, includeWorkspace);
589
+ },
590
+ updateWorkspaceFolders: (index, deleteCount, ...workspaceFoldersToAdd) => workspaceExt.updateWorkspaceFolders(index, deleteCount || 0, ...workspaceFoldersToAdd),
591
+ registerTaskProvider(type, provider) {
592
+ return tasks.registerTaskProvider(type, provider);
593
+ },
594
+ registerResourceLabelFormatter(formatter) {
595
+ return labelServiceExt.$registerResourceLabelFormatter(formatter);
596
+ },
597
+ registerTimelineProvider(scheme, provider) {
598
+ return timelineExt.registerTimelineProvider(plugin, scheme, provider);
599
+ },
600
+ registerNotebookSerializer(notebookType, serializer, options) {
601
+ return notebooksExt.registerNotebookSerializer(plugin, notebookType, serializer, options);
602
+ },
603
+ get isTrusted() {
604
+ return workspaceExt.trusted;
605
+ },
606
+ async requestWorkspaceTrust(options) {
607
+ return workspaceExt.requestWorkspaceTrust(options);
608
+ },
609
+ get onDidGrantWorkspaceTrust() {
610
+ return workspaceExt.onDidGrantWorkspaceTrust;
611
+ },
612
+ registerEditSessionIdentityProvider(scheme, provider) {
613
+ return workspaceExt.$registerEditSessionIdentityProvider(scheme, provider);
614
+ },
615
+ /**
616
+ * @stubbed
617
+ * This is a stub implementation, that should minimally satisfy vscode built-in extensions
618
+ * that currently use this proposed API.
619
+ */
620
+ onWillCreateEditSessionIdentity: () => types_impl_1.Disposable.NULL,
621
+ registerCanonicalUriProvider(scheme, provider) {
622
+ return workspaceExt.registerCanonicalUriProvider(scheme, provider);
623
+ },
624
+ getCanonicalUri(uri, options, token) {
625
+ return workspaceExt.getCanonicalUri(uri, options, token);
626
+ },
627
+ /**
628
+ * @stubbed
629
+ * This is a stub implementation, that should minimally satisfy vscode extensions
630
+ * that currently use this proposed API.
631
+ */
632
+ registerPortAttributesProvider: () => types_impl_1.Disposable.NULL
633
+ };
634
+ const onDidChangeLogLevel = new event_1.Emitter();
635
+ const env = Object.freeze({
636
+ get appName() { return envExt.appName; },
637
+ get appRoot() { return envExt.appRoot; },
638
+ get appHost() { return envExt.appHost; },
639
+ get language() { return envExt.language; },
640
+ get isNewAppInstall() { return envExt.isNewAppInstall; },
641
+ get isTelemetryEnabled() { return telemetryExt.isTelemetryEnabled; },
642
+ get onDidChangeTelemetryEnabled() {
643
+ return telemetryExt.onDidChangeTelemetryEnabled;
644
+ },
645
+ createTelemetryLogger(sender, options) {
646
+ return createAPIObject(telemetryExt.createTelemetryLogger(sender, options));
647
+ },
648
+ get remoteName() { return envExt.remoteName; },
649
+ get machineId() { return envExt.machineId; },
650
+ get sessionId() { return envExt.sessionId; },
651
+ get uriScheme() { return envExt.uriScheme; },
652
+ get shell() { return terminalExt.defaultShell; },
653
+ get onDidChangeShell() {
654
+ return terminalExt.onDidChangeShell;
655
+ },
656
+ get uiKind() { return envExt.uiKind; },
657
+ clipboard,
658
+ getEnvVariable(envVarName) {
659
+ return envExt.getEnvVariable(envVarName);
660
+ },
661
+ getQueryParameter(queryParamName) {
662
+ return envExt.getQueryParameter(queryParamName);
663
+ },
664
+ getQueryParameters() {
665
+ return envExt.getQueryParameters();
666
+ },
667
+ getClientOperatingSystem() {
668
+ return envExt.getClientOperatingSystem();
669
+ },
670
+ openExternal(uri) {
671
+ return windowStateExt.openUri(uri);
672
+ },
673
+ asExternalUri(target) {
674
+ return windowStateExt.asExternalUri(target);
675
+ },
676
+ get logLevel() { return types_impl_1.LogLevel.Info; },
677
+ get onDidChangeLogLevel() { return onDidChangeLogLevel.event; }
678
+ });
679
+ const extensions = Object.freeze({
680
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
681
+ getExtension(extensionId, includeFromDifferentExtensionHosts = false) {
682
+ includeFromDifferentExtensionHosts = false;
683
+ const plg = pluginManager.getPluginById(extensionId.toLowerCase());
684
+ if (plg) {
685
+ return new PluginExt(pluginManager, plg);
686
+ }
687
+ return undefined;
688
+ },
689
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
690
+ get all() {
691
+ return pluginManager.getAllPlugins().map(plg => new PluginExt(pluginManager, plg));
692
+ },
693
+ get allAcrossExtensionHosts() {
694
+ // we only support one extension host ATM so equivalent to calling "all()"
695
+ return this.all;
696
+ },
697
+ get onDidChange() {
698
+ return pluginManager.onDidChange;
699
+ }
700
+ });
701
+ const languages = {
702
+ getLanguages() {
703
+ return languagesExt.getLanguages();
704
+ },
705
+ setTextDocumentLanguage(document, languageId) {
706
+ return languagesExt.changeLanguage(document.uri, languageId);
707
+ },
708
+ match(selector, document) {
709
+ return (0, language_selector_1.score)((0, type_converters_1.fromDocumentSelector)(selector), document.uri.scheme, document.uri.path, document.languageId, true);
710
+ },
711
+ get onDidChangeDiagnostics() {
712
+ return languagesExt.onDidChangeDiagnostics;
713
+ },
714
+ getDiagnostics(resource) {
715
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
716
+ return languagesExt.getDiagnostics(resource);
717
+ },
718
+ createDiagnosticCollection(name) {
719
+ return createAPIObject(languagesExt.createDiagnosticCollection(name));
720
+ },
721
+ setLanguageConfiguration(language, configuration) {
722
+ return languagesExt.setLanguageConfiguration(language, configuration);
723
+ },
724
+ registerCompletionItemProvider(selector, provider, ...triggerCharacters) {
725
+ return languagesExt.registerCompletionItemProvider(selector, provider, triggerCharacters, (0, type_converters_1.pluginToPluginInfo)(plugin));
726
+ },
727
+ registerInlineCompletionItemProvider(selector, provider) {
728
+ return languagesExt.registerInlineCompletionsProvider(selector, provider);
729
+ },
730
+ registerDefinitionProvider(selector, provider) {
731
+ return languagesExt.registerDefinitionProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
732
+ },
733
+ registerDeclarationProvider(selector, provider) {
734
+ return languagesExt.registerDeclarationProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
735
+ },
736
+ registerSignatureHelpProvider(selector, provider, first, ...remaining) {
737
+ let metadata;
738
+ if (typeof first === 'object') {
739
+ metadata = first;
740
+ }
741
+ else {
742
+ const triggerCharacters = [];
743
+ metadata = { triggerCharacters, retriggerCharacters: [] };
744
+ if (first) {
745
+ triggerCharacters.push(first, ...remaining);
746
+ }
747
+ }
748
+ return languagesExt.registerSignatureHelpProvider(selector, provider, metadata, (0, type_converters_1.pluginToPluginInfo)(plugin));
749
+ },
750
+ registerTypeDefinitionProvider(selector, provider) {
751
+ return languagesExt.registerTypeDefinitionProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
752
+ },
753
+ registerImplementationProvider(selector, provider) {
754
+ return languagesExt.registerImplementationProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
755
+ },
756
+ registerHoverProvider(selector, provider) {
757
+ return languagesExt.registerHoverProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
758
+ },
759
+ registerEvaluatableExpressionProvider(selector, provider) {
760
+ return languagesExt.registerEvaluatableExpressionProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
761
+ },
762
+ registerInlineValuesProvider(selector, provider) {
763
+ return languagesExt.registerInlineValuesProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
764
+ },
765
+ registerDocumentHighlightProvider(selector, provider) {
766
+ return languagesExt.registerDocumentHighlightProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
767
+ },
768
+ /**
769
+ * @stubbed
770
+ * @monaco-uplift: wait until API is available in Monaco (1.85.0+)
771
+ */
772
+ registerMultiDocumentHighlightProvider(selector, provider) {
773
+ return types_impl_1.Disposable.NULL;
774
+ },
775
+ registerWorkspaceSymbolProvider(provider) {
776
+ return languagesExt.registerWorkspaceSymbolProvider(provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
777
+ },
778
+ registerDocumentFormattingEditProvider(selector, provider) {
779
+ return languagesExt.registerDocumentFormattingEditProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
780
+ },
781
+ registerDocumentRangeFormattingEditProvider(selector, provider) {
782
+ return languagesExt.registerDocumentRangeFormattingEditProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
783
+ },
784
+ registerOnTypeFormattingEditProvider(selector, provider, firstTriggerCharacter, ...moreTriggerCharacters) {
785
+ return languagesExt.registerOnTypeFormattingEditProvider(selector, provider, [firstTriggerCharacter].concat(moreTriggerCharacters), (0, type_converters_1.pluginToPluginInfo)(plugin));
786
+ },
787
+ registerDocumentDropEditProvider(selector, provider, metadata) {
788
+ return languagesExt.registerDocumentDropEditProvider(selector, provider, metadata);
789
+ },
790
+ registerDocumentLinkProvider(selector, provider) {
791
+ return languagesExt.registerDocumentLinkProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
792
+ },
793
+ registerCodeActionsProvider(selector, provider, metadata) {
794
+ return languagesExt.registerCodeActionsProvider(selector, provider, plugin.model, (0, type_converters_1.pluginToPluginInfo)(plugin), metadata);
795
+ },
796
+ registerCodeLensProvider(selector, provider) {
797
+ return languagesExt.registerCodeLensProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
798
+ },
799
+ registerReferenceProvider(selector, provider) {
800
+ return languagesExt.registerReferenceProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
801
+ },
802
+ registerDocumentSymbolProvider(selector, provider, metadata) {
803
+ return languagesExt.registerDocumentSymbolProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin), metadata);
804
+ },
805
+ registerColorProvider(selector, provider) {
806
+ return languagesExt.registerColorProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
807
+ },
808
+ registerInlayHintsProvider(selector, provider) {
809
+ return languagesExt.registerInlayHintsProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
810
+ },
811
+ registerFoldingRangeProvider(selector, provider) {
812
+ return languagesExt.registerFoldingRangeProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
813
+ },
814
+ registerSelectionRangeProvider(selector, provider) {
815
+ return languagesExt.registerSelectionRangeProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
816
+ },
817
+ registerRenameProvider(selector, provider) {
818
+ return languagesExt.registerRenameProvider(selector, provider, (0, type_converters_1.pluginToPluginInfo)(plugin));
819
+ },
820
+ registerDocumentSemanticTokensProvider(selector, provider, legend) {
821
+ return languagesExt.registerDocumentSemanticTokensProvider(selector, provider, legend, (0, type_converters_1.pluginToPluginInfo)(plugin));
822
+ },
823
+ registerDocumentRangeSemanticTokensProvider(selector, provider, legend) {
824
+ return languagesExt.registerDocumentRangeSemanticTokensProvider(selector, provider, legend, (0, type_converters_1.pluginToPluginInfo)(plugin));
825
+ },
826
+ registerCallHierarchyProvider(selector, provider) {
827
+ return languagesExt.registerCallHierarchyProvider(selector, provider);
828
+ },
829
+ registerTypeHierarchyProvider(selector, provider) {
830
+ return languagesExt.registerTypeHierarchyProvider(selector, provider);
831
+ },
832
+ registerLinkedEditingRangeProvider(selector, provider) {
833
+ return languagesExt.registerLinkedEditingRangeProvider(selector, provider);
834
+ },
835
+ createLanguageStatusItem(id, selector) {
836
+ return languagesExt.createLanguageStatusItem(plugin, id, selector);
837
+ },
838
+ registerDocumentPasteEditProvider(selector, provider, metadata) {
839
+ return languagesExt.registerDocumentPasteEditProvider(plugin, selector, provider, metadata);
840
+ }
841
+ };
842
+ const tests = {
843
+ createTestController(id, label) {
844
+ return createAPIObject(testingExt.createTestController(id, label));
845
+ }
846
+ };
847
+ /* End of Tests API */
848
+ const plugins = {
849
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
850
+ get all() {
851
+ return pluginManager.getAllPlugins().map(plg => new PluginExt(pluginManager, plg));
852
+ },
853
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
854
+ getPlugin(pluginId) {
855
+ const plg = pluginManager.getPluginById(pluginId.toLowerCase());
856
+ if (plg) {
857
+ return new PluginExt(pluginManager, plg);
858
+ }
859
+ return undefined;
860
+ },
861
+ get onDidChange() {
862
+ return pluginManager.onDidChange;
863
+ }
864
+ };
865
+ const debuggersContributions = plugin.rawModel.contributes && plugin.rawModel.contributes.debuggers || [];
866
+ debugExt.assistedInject(connectionExt, commandRegistry);
867
+ debugExt.registerDebuggersContributions(plugin.pluginFolder, plugin.model.entryPoint.frontend ? 'frontend' : 'backend', debuggersContributions);
868
+ const debug = {
869
+ get activeDebugSession() {
870
+ return debugExt.activeDebugSession;
871
+ },
872
+ get activeDebugConsole() {
873
+ return debugExt.activeDebugConsole;
874
+ },
875
+ get breakpoints() {
876
+ return debugExt.breakpoints;
877
+ },
878
+ get onDidChangeActiveDebugSession() {
879
+ return debugExt.onDidChangeActiveDebugSession;
880
+ },
881
+ get onDidStartDebugSession() {
882
+ return debugExt.onDidStartDebugSession;
883
+ },
884
+ get onDidReceiveDebugSessionCustomEvent() {
885
+ return debugExt.onDidReceiveDebugSessionCustomEvent;
886
+ },
887
+ get onDidTerminateDebugSession() {
888
+ return debugExt.onDidTerminateDebugSession;
889
+ },
890
+ get onDidChangeBreakpoints() {
891
+ return debugExt.onDidChangeBreakpoints;
892
+ },
893
+ get activeStackItem() {
894
+ return debugExt.activeStackItem;
895
+ },
896
+ get onDidChangeActiveStackItem() {
897
+ return debugExt.onDidChangeActiveStackItem;
898
+ },
899
+ registerDebugAdapterDescriptorFactory(debugType, factory) {
900
+ return debugExt.registerDebugAdapterDescriptorFactory(debugType, factory);
901
+ },
902
+ registerDebugConfigurationProvider(debugType, provider, triggerKind) {
903
+ return debugExt.registerDebugConfigurationProvider(debugType, provider, triggerKind || plugin_api_rpc_1.DebugConfigurationProviderTriggerKind.Initial);
904
+ },
905
+ registerDebugAdapterTrackerFactory(debugType, factory) {
906
+ return debugExt.registerDebugAdapterTrackerFactory(debugType, factory);
907
+ },
908
+ startDebugging(folder, nameOrConfiguration, parentSessionOrOptions) {
909
+ if (!parentSessionOrOptions || (typeof parentSessionOrOptions === 'object' && 'configuration' in parentSessionOrOptions)) {
910
+ return debugExt.startDebugging(folder, nameOrConfiguration, { parentSession: parentSessionOrOptions });
911
+ }
912
+ return debugExt.startDebugging(folder, nameOrConfiguration, parentSessionOrOptions || {});
913
+ },
914
+ stopDebugging(session) {
915
+ return debugExt.stopDebugging(session);
916
+ },
917
+ addBreakpoints(breakpoints) {
918
+ debugExt.addBreakpoints(breakpoints);
919
+ },
920
+ removeBreakpoints(breakpoints) {
921
+ debugExt.removeBreakpoints(breakpoints);
922
+ },
923
+ asDebugSourceUri(source, session) {
924
+ return debugExt.asDebugSourceUri(source, session);
925
+ },
926
+ /** @stubbed Due to proposed API */
927
+ registerDebugVisualizationProvider: () => types_impl_1.Disposable.NULL,
928
+ /** @stubbed Due to proposed API */
929
+ registerDebugVisualizationTreeProvider: () => types_impl_1.Disposable.NULL
930
+ };
931
+ const tasks = {
932
+ registerTaskProvider(type, provider) {
933
+ return tasksExt.registerTaskProvider(type, provider);
934
+ },
935
+ fetchTasks(filter) {
936
+ return tasksExt.fetchTasks(filter);
937
+ },
938
+ executeTask(task) {
939
+ return tasksExt.executeTask(task);
940
+ },
941
+ get taskExecutions() {
942
+ // TODO: here
943
+ return tasksExt.taskExecutions;
944
+ },
945
+ onDidStartTask(listener, thisArg, disposables) {
946
+ return tasksExt.onDidStartTask(listener, thisArg, disposables);
947
+ },
948
+ onDidEndTask(listener, thisArg, disposables) {
949
+ return tasksExt.onDidEndTask(listener, thisArg, disposables);
950
+ },
951
+ onDidStartTaskProcess(listener, thisArg, disposables) {
952
+ return tasksExt.onDidStartTaskProcess(listener, thisArg, disposables);
953
+ },
954
+ onDidEndTaskProcess(listener, thisArg, disposables) {
955
+ return tasksExt.onDidEndTaskProcess(listener, thisArg, disposables);
956
+ }
957
+ };
958
+ const scm = {
959
+ get inputBox() {
960
+ const inputBox = scmExt.getLastInputBox(plugin);
961
+ if (inputBox) {
962
+ return inputBox.apiObject;
963
+ }
964
+ else {
965
+ throw new Error('Input box not found!');
966
+ }
967
+ },
968
+ createSourceControl(id, label, rootUri) {
969
+ return createAPIObject(scmExt.createSourceControl(plugin, id, label, rootUri));
970
+ }
971
+ };
972
+ const comments = {
973
+ createCommentController(id, label) {
974
+ return createAPIObject(commentsExt.createCommentController(plugin, id, label));
975
+ }
976
+ };
977
+ const l10n = {
978
+ // eslint-disable-next-line max-len
979
+ t(...params) {
980
+ if (typeof params[0] === 'string') {
981
+ const key = params.shift();
982
+ // We have either rest args which are Array<string | number | boolean> or an array with a single Record<string, any>.
983
+ // This ensures we get a Record<string | number, any> which will be formatted correctly.
984
+ const argsFormatted = !params || typeof params[0] !== 'object' ? params : params[0];
985
+ return localizationExt.translateMessage(plugin.model.id, { message: key, args: argsFormatted });
986
+ }
987
+ return localizationExt.translateMessage(plugin.model.id, params[0]);
988
+ },
989
+ get bundle() {
990
+ return localizationExt.getBundle(plugin.model.id);
991
+ },
992
+ get uri() {
993
+ return localizationExt.getBundleUri(plugin.model.id);
994
+ }
995
+ };
996
+ // notebooks API (@stubbed)
997
+ // The following implementation is temporarily `@stubbed` and marked as such under `theia.d.ts`
998
+ const notebooks = {
999
+ createNotebookController(id, notebookType, label, handler, rendererScripts) {
1000
+ return notebookKernels.createNotebookController(plugin.model, id, notebookType, label, handler, rendererScripts);
1001
+ },
1002
+ createRendererMessaging(rendererId) {
1003
+ return notebookRenderers.createRendererMessaging(rendererId);
1004
+ },
1005
+ registerNotebookCellStatusBarItemProvider(notebookType, provider) {
1006
+ return notebooksExt.registerNotebookCellStatusBarItemProvider(notebookType, provider);
1007
+ },
1008
+ onDidChangeNotebookCellExecutionState: notebookKernels.onDidChangeNotebookCellExecutionState,
1009
+ createNotebookControllerDetectionTask(notebookType) {
1010
+ return notebookKernels.createNotebookControllerDetectionTask(notebookType);
1011
+ },
1012
+ registerKernelSourceActionProvider(notebookType, provider) {
1013
+ return notebookKernels.registerKernelSourceActionProvider(notebookType, provider);
1014
+ }
1015
+ };
1016
+ const chat = {
1017
+ /** @stubbed MappedEditsProvider */
1018
+ registerMappedEditsProvider(documentSelector, provider) {
1019
+ return types_impl_1.Disposable.NULL;
1020
+ },
1021
+ /** @stubbed MappedEditsProvider */
1022
+ registerMappedEditsProvider2(provider) {
1023
+ return types_impl_1.Disposable.NULL;
1024
+ },
1025
+ /** @stubbed ChatRequestHandler */
1026
+ createChatParticipant(id, handler) {
1027
+ return {
1028
+ id,
1029
+ requestHandler: handler,
1030
+ dispose() { },
1031
+ onDidReceiveFeedback: (listener, thisArgs, disposables) => event_1.Event.None(listener, thisArgs, disposables)
1032
+ };
1033
+ }
1034
+ };
1035
+ const mcpContributions = plugin.rawModel.contributes && plugin.rawModel.contributes.mcpServerDefinitionProviders || [];
1036
+ lmExt.registerMcpContributions(mcpContributions);
1037
+ const lm = {
1038
+ /** @stubbed LanguageModelChat */
1039
+ selectChatModels(selector) {
1040
+ return Promise.resolve([]);
1041
+ },
1042
+ /** @stubbed LanguageModelChat */
1043
+ onDidChangeChatModels: (listener, thisArgs, disposables) => event_1.Event.None(listener, thisArgs, disposables),
1044
+ /** @stubbed LanguageModelTool */
1045
+ invokeTool(name, options, token) {
1046
+ return Promise.resolve({ content: [] });
1047
+ },
1048
+ /** @stubbed LanguageModelTool */
1049
+ registerTool(name, tool) {
1050
+ return types_impl_1.Disposable.NULL;
1051
+ },
1052
+ /** @stubbed LanguageModelTool */
1053
+ tools: [],
1054
+ registerMcpServerDefinitionProvider(id, provider) {
1055
+ return lmExt.registerMcpServerDefinitionProvider(id, provider);
1056
+ },
1057
+ /** @stubbed */
1058
+ registerLanguageModelChatProvider(vendor, provider) {
1059
+ return types_impl_1.Disposable.NULL;
1060
+ }
1061
+ };
1062
+ return {
1063
+ version: require('../../package.json').version,
1064
+ authentication,
1065
+ chat,
1066
+ commands,
1067
+ comments,
1068
+ window,
1069
+ workspace,
1070
+ env,
1071
+ extensions,
1072
+ languages,
1073
+ plugins,
1074
+ debug,
1075
+ tasks,
1076
+ scm,
1077
+ notebooks,
1078
+ l10n,
1079
+ tests,
1080
+ lm,
1081
+ // Types
1082
+ StatusBarAlignment: types_impl_1.StatusBarAlignment,
1083
+ Disposable: types_impl_1.Disposable,
1084
+ EventEmitter: event_1.Emitter,
1085
+ CancellationTokenSource: cancellation_1.CancellationTokenSource,
1086
+ MarkdownString: markdown_string_1.MarkdownString,
1087
+ Position: types_impl_1.Position,
1088
+ Range: types_impl_1.Range,
1089
+ Selection: types_impl_1.Selection,
1090
+ ViewColumn: types_impl_1.ViewColumn,
1091
+ TextEditorSelectionChangeKind: types_impl_1.TextEditorSelectionChangeKind,
1092
+ Uri: types_impl_1.URI,
1093
+ EndOfLine: types_impl_1.EndOfLine,
1094
+ TextEditorRevealType: types_impl_1.TextEditorRevealType,
1095
+ TextEditorCursorStyle: editor_options_1.TextEditorCursorStyle,
1096
+ TextEditorLineNumbersStyle: types_impl_1.TextEditorLineNumbersStyle,
1097
+ ThemeColor: types_impl_1.ThemeColor,
1098
+ ThemeIcon: types_impl_1.ThemeIcon,
1099
+ SnippetString: types_impl_1.SnippetString,
1100
+ DecorationRangeBehavior: types_impl_1.DecorationRangeBehavior,
1101
+ OverviewRulerLane: types_impl_1.OverviewRulerLane,
1102
+ ConfigurationTarget: types_impl_1.ConfigurationTarget,
1103
+ RelativePattern: types_impl_1.RelativePattern,
1104
+ IndentAction: types_impl_1.IndentAction,
1105
+ SyntaxTokenType: types_impl_1.SyntaxTokenType,
1106
+ CompletionItem: types_impl_1.CompletionItem,
1107
+ CompletionItemKind: types_impl_1.CompletionItemKind,
1108
+ CompletionList: types_impl_1.CompletionList,
1109
+ DebugConsoleMode: types_impl_1.DebugConsoleMode,
1110
+ DiagnosticSeverity: types_impl_1.DiagnosticSeverity,
1111
+ DiagnosticRelatedInformation: types_impl_1.DiagnosticRelatedInformation,
1112
+ LanguageStatusSeverity: types_impl_1.LanguageStatusSeverity,
1113
+ Location: types_impl_1.Location,
1114
+ LogLevel: types_impl_1.LogLevel,
1115
+ DiagnosticTag: types_impl_1.DiagnosticTag,
1116
+ CompletionItemTag: types_impl_1.CompletionItemTag,
1117
+ Diagnostic: types_impl_1.Diagnostic,
1118
+ CompletionTriggerKind: types_impl_1.CompletionTriggerKind,
1119
+ TextEdit: types_impl_1.TextEdit,
1120
+ SnippetTextEdit: types_impl_1.SnippetTextEdit,
1121
+ ProgressLocation: types_impl_1.ProgressLocation,
1122
+ ProgressOptions: types_impl_1.ProgressOptions,
1123
+ Progress: types_impl_1.Progress,
1124
+ ParameterInformation: types_impl_1.ParameterInformation,
1125
+ QuickPickItemKind: types_impl_1.QuickPickItemKind,
1126
+ SignatureInformation: types_impl_1.SignatureInformation,
1127
+ SignatureHelp: types_impl_1.SignatureHelp,
1128
+ SignatureHelpTriggerKind: types_impl_1.SignatureHelpTriggerKind,
1129
+ Hover: types_impl_1.Hover,
1130
+ EvaluatableExpression: types_impl_1.EvaluatableExpression,
1131
+ InlineValueEvaluatableExpression: types_impl_1.InlineValueEvaluatableExpression,
1132
+ InlineValueText: types_impl_1.InlineValueText,
1133
+ InlineValueVariableLookup: types_impl_1.InlineValueVariableLookup,
1134
+ InlineValueContext: types_impl_1.InlineValueContext,
1135
+ DocumentHighlightKind: types_impl_1.DocumentHighlightKind,
1136
+ DocumentHighlight: types_impl_1.DocumentHighlight,
1137
+ MultiDocumentHighlight: types_impl_1.MultiDocumentHighlight,
1138
+ DocumentLink: types_impl_1.DocumentLink,
1139
+ DocumentDropEdit: types_impl_1.DocumentDropEdit,
1140
+ DocumentDropOrPasteEditKind: types_impl_1.DocumentDropOrPasteEditKind,
1141
+ CodeLens: types_impl_1.CodeLens,
1142
+ CodeActionKind: types_impl_1.CodeActionKind,
1143
+ CodeActionTrigger: types_impl_1.CodeActionTrigger,
1144
+ CodeActionTriggerKind: types_impl_1.CodeActionTriggerKind,
1145
+ TextDocumentSaveReason: types_impl_1.TextDocumentSaveReason,
1146
+ CodeAction: types_impl_1.CodeAction,
1147
+ DataTransferItem: types_impl_1.DataTransferItem,
1148
+ DataTransfer: types_impl_1.DataTransfer,
1149
+ TreeItem: types_impl_1.TreeItem,
1150
+ TreeItemCollapsibleState: types_impl_1.TreeItemCollapsibleState,
1151
+ TreeItemCheckboxState: types_impl_1.TreeItemCheckboxState,
1152
+ SymbolKind: plugin_api_rpc_model_1.SymbolKind,
1153
+ SymbolTag: types_impl_1.SymbolTag,
1154
+ DocumentSymbol: types_impl_1.DocumentSymbol,
1155
+ WorkspaceEdit: types_impl_1.WorkspaceEdit,
1156
+ SymbolInformation: types_impl_1.SymbolInformation,
1157
+ FileType: types_impl_1.FileType,
1158
+ FilePermission: files_1.FilePermission,
1159
+ FileChangeType: types_impl_1.FileChangeType,
1160
+ ShellQuoting: types_impl_1.ShellQuoting,
1161
+ ShellExecution: types_impl_1.ShellExecution,
1162
+ ProcessExecution: types_impl_1.ProcessExecution,
1163
+ CustomExecution: types_impl_1.CustomExecution,
1164
+ TaskScope: types_impl_1.TaskScope,
1165
+ TaskRevealKind: types_impl_1.TaskRevealKind,
1166
+ TaskPanelKind: types_impl_1.TaskPanelKind,
1167
+ TaskGroup: types_impl_1.TaskGroup,
1168
+ Task: types_impl_1.Task,
1169
+ Task2: types_impl_1.Task2,
1170
+ DebugAdapterExecutable: types_impl_1.DebugAdapterExecutable,
1171
+ DebugAdapterServer: types_impl_1.DebugAdapterServer,
1172
+ DebugAdapterNamedPipeServer: types_impl_1.DebugAdapterNamedPipeServer,
1173
+ DebugAdapterInlineImplementation: types_impl_1.DebugAdapterInlineImplementation,
1174
+ DebugConfigurationProviderTriggerKind: plugin_api_rpc_1.DebugConfigurationProviderTriggerKind,
1175
+ Breakpoint: types_impl_1.Breakpoint,
1176
+ SourceBreakpoint: types_impl_1.SourceBreakpoint,
1177
+ FunctionBreakpoint: types_impl_1.FunctionBreakpoint,
1178
+ DebugStackFrame: types_impl_1.DebugStackFrame,
1179
+ DebugThread: types_impl_1.DebugThread,
1180
+ Color: types_impl_1.Color,
1181
+ ColorInformation: types_impl_1.ColorInformation,
1182
+ ColorPresentation: types_impl_1.ColorPresentation,
1183
+ FoldingRange: types_impl_1.FoldingRange,
1184
+ SelectionRange: types_impl_1.SelectionRange,
1185
+ FoldingRangeKind: types_impl_1.FoldingRangeKind,
1186
+ OperatingSystem: types_impl_1.OperatingSystem,
1187
+ WebviewPanelTargetArea: types_impl_1.WebviewPanelTargetArea,
1188
+ UIKind: types_impl_1.UIKind,
1189
+ FileSystemError: types_impl_1.FileSystemError,
1190
+ CommentThreadState: types_impl_1.CommentThreadState,
1191
+ CommentThreadCollapsibleState: types_impl_1.CommentThreadCollapsibleState,
1192
+ QuickInputButtons: types_impl_1.QuickInputButtons,
1193
+ CommentMode: types_impl_1.CommentMode,
1194
+ CallHierarchyItem: types_impl_1.CallHierarchyItem,
1195
+ CallHierarchyIncomingCall: types_impl_1.CallHierarchyIncomingCall,
1196
+ CallHierarchyOutgoingCall: types_impl_1.CallHierarchyOutgoingCall,
1197
+ TypeHierarchyItem: types_impl_1.TypeHierarchyItem,
1198
+ TimelineItem: types_impl_1.TimelineItem,
1199
+ EnvironmentVariableMutatorType: types_impl_1.EnvironmentVariableMutatorType,
1200
+ SemanticTokensLegend: types_impl_1.SemanticTokensLegend,
1201
+ SemanticTokensBuilder: types_impl_1.SemanticTokensBuilder,
1202
+ SemanticTokens: types_impl_1.SemanticTokens,
1203
+ SemanticTokensEdits: types_impl_1.SemanticTokensEdits,
1204
+ SemanticTokensEdit: types_impl_1.SemanticTokensEdit,
1205
+ TextDocumentChangeReason: types_impl_1.TextDocumentChangeReason,
1206
+ ColorThemeKind: types_impl_1.ColorThemeKind,
1207
+ SourceControlInputBoxValidationType: types_impl_1.SourceControlInputBoxValidationType,
1208
+ FileDecoration: types_impl_1.FileDecoration,
1209
+ TerminalLink: types_impl_1.TerminalLink,
1210
+ TerminalProfile: types_impl_1.TerminalProfile,
1211
+ CancellationError: cancellation_1.CancellationError,
1212
+ ExtensionMode: types_impl_1.ExtensionMode,
1213
+ LinkedEditingRanges: types_impl_1.LinkedEditingRanges,
1214
+ InputBoxValidationSeverity: types_impl_1.InputBoxValidationSeverity,
1215
+ InlayHint: types_impl_1.InlayHint,
1216
+ InlayHintKind: types_impl_1.InlayHintKind,
1217
+ InlayHintLabelPart: types_impl_1.InlayHintLabelPart,
1218
+ TelemetryTrustedValue: types_impl_1.TelemetryTrustedValue,
1219
+ NotebookCellData: types_impl_1.NotebookCellData,
1220
+ NotebookCellExecutionState: types_impl_1.NotebookCellExecutionState,
1221
+ NotebookCellKind: types_impl_1.NotebookCellKind,
1222
+ NotebookCellOutput: types_impl_1.NotebookCellOutput,
1223
+ NotebookCellOutputItem: types_impl_1.NotebookCellOutputItem,
1224
+ NotebookCellStatusBarAlignment: types_impl_1.NotebookCellStatusBarAlignment,
1225
+ NotebookCellStatusBarItem: types_impl_1.NotebookCellStatusBarItem,
1226
+ NotebookControllerAffinity: types_impl_1.NotebookControllerAffinity,
1227
+ NotebookData: types_impl_1.NotebookData,
1228
+ NotebookEditorRevealType: types_impl_1.NotebookEditorRevealType,
1229
+ NotebookDocument: notebook_document_1.NotebookDocument,
1230
+ NotebookRange: types_impl_1.NotebookRange,
1231
+ NotebookEdit: types_impl_1.NotebookEdit,
1232
+ NotebookKernelSourceAction: types_impl_1.NotebookKernelSourceAction,
1233
+ NotebookRendererScript: types_impl_1.NotebookRendererScript,
1234
+ TestRunProfileKind: types_impl_1.TestRunProfileKind,
1235
+ TestTag: types_impl_1.TestTag,
1236
+ TestRunRequest: types_impl_1.TestRunRequest,
1237
+ TestMessage: types_impl_1.TestMessage,
1238
+ TestMessageStackFrame: types_impl_1.TestMessageStackFrame,
1239
+ ExtensionKind: types_impl_1.ExtensionKind,
1240
+ InlineCompletionItem: types_impl_1.InlineCompletionItem,
1241
+ InlineCompletionList: types_impl_1.InlineCompletionList,
1242
+ InlineCompletionTriggerKind: types_impl_1.InlineCompletionTriggerKind,
1243
+ TabInputText: types_impl_1.TextTabInput,
1244
+ TabInputTextDiff: types_impl_1.TextDiffTabInput,
1245
+ TabInputTextMerge: types_impl_1.TextMergeTabInput,
1246
+ TabInputCustom: types_impl_1.CustomEditorTabInput,
1247
+ TabInputNotebook: types_impl_1.NotebookEditorTabInput,
1248
+ TabInputNotebookDiff: types_impl_1.NotebookDiffEditorTabInput,
1249
+ TabInputWebview: types_impl_1.WebviewEditorTabInput,
1250
+ TabInputTerminal: types_impl_1.TerminalEditorTabInput,
1251
+ TerminalLocation: types_impl_1.TerminalLocation,
1252
+ TerminalOutputAnchor: types_impl_1.TerminalOutputAnchor,
1253
+ TerminalExitReason: types_impl_1.TerminalExitReason,
1254
+ DocumentPasteEdit: types_impl_1.DocumentPasteEdit,
1255
+ DocumentPasteEditKind: types_impl_1.DocumentPasteEditKind,
1256
+ DocumentPasteTriggerKind: types_impl_1.DocumentPasteTriggerKind,
1257
+ ExternalUriOpenerPriority: types_impl_1.ExternalUriOpenerPriority,
1258
+ TerminalQuickFixTerminalCommand: types_impl_1.TerminalQuickFixTerminalCommand,
1259
+ TerminalQuickFixOpener: types_impl_1.TerminalQuickFixOpener,
1260
+ EditSessionIdentityMatch: types_impl_1.EditSessionIdentityMatch,
1261
+ TestResultState: types_impl_1.TestResultState,
1262
+ BranchCoverage: types_impl_1.BranchCoverage,
1263
+ DeclarationCoverage: types_impl_1.DeclarationCoverage,
1264
+ FileCoverage: types_impl_1.FileCoverage,
1265
+ StatementCoverage: types_impl_1.StatementCoverage,
1266
+ TestCoverageCount: types_impl_1.TestCoverageCount,
1267
+ ChatRequestTurn: types_impl_1.ChatRequestTurn,
1268
+ ChatResponseTurn: types_impl_1.ChatResponseTurn,
1269
+ ChatResponseAnchorPart: types_impl_1.ChatResponseAnchorPart,
1270
+ ChatResponseCommandButtonPart: types_impl_1.ChatResponseCommandButtonPart,
1271
+ ChatResponseFileTreePart: types_impl_1.ChatResponseFileTreePart,
1272
+ ChatResponseMarkdownPart: types_impl_1.ChatResponseMarkdownPart,
1273
+ ChatResponseProgressPart: types_impl_1.ChatResponseProgressPart,
1274
+ ChatResponseReferencePart: types_impl_1.ChatResponseReferencePart,
1275
+ ChatResultFeedbackKind: types_impl_1.ChatResultFeedbackKind,
1276
+ LanguageModelChatMessage: types_impl_1.LanguageModelChatMessage,
1277
+ LanguageModelChatMessageRole: types_impl_1.LanguageModelChatMessageRole,
1278
+ LanguageModelDataPart: types_impl_1.LanguageModelDataPart,
1279
+ LanguageModelError: types_impl_1.LanguageModelError,
1280
+ LanguageModelChatToolMode: types_impl_1.LanguageModelChatToolMode,
1281
+ LanguageModelPromptTsxPart: types_impl_1.LanguageModelPromptTsxPart,
1282
+ LanguageModelTextPart: types_impl_1.LanguageModelTextPart,
1283
+ LanguageModelToolCallPart: types_impl_1.LanguageModelToolCallPart,
1284
+ LanguageModelToolResult: types_impl_1.LanguageModelToolResult,
1285
+ LanguageModelToolResultPart: types_impl_1.LanguageModelToolResultPart,
1286
+ PortAutoForwardAction: types_impl_1.PortAutoForwardAction,
1287
+ PortAttributes: types_impl_1.PortAttributes,
1288
+ DebugVisualization: types_impl_1.DebugVisualization,
1289
+ TerminalShellExecutionCommandLineConfidence: types_impl_1.TerminalShellExecutionCommandLineConfidence,
1290
+ TerminalCompletionItem: types_impl_1.TerminalCompletionItem,
1291
+ TerminalCompletionItemKind: types_impl_1.TerminalCompletionItemKind,
1292
+ TerminalCompletionList: types_impl_1.TerminalCompletionList,
1293
+ McpHttpServerDefinition: types_impl_1.McpHttpServerDefinition,
1294
+ McpStdioServerDefinition: types_impl_1.McpStdioServerDefinition,
1295
+ TabInputInteractiveWindow: types_impl_1.InteractiveWindowInput,
1296
+ TextEditorChangeKind: types_impl_1.TextEditorChangeKind
1297
+ };
1298
+ };
1299
+ }
1300
+ exports.createAPIFactory = createAPIFactory;
1301
+ class Plugin {
1302
+ constructor(pluginManager, plugin) {
1303
+ _Plugin_pluginManager.set(this, void 0);
1304
+ tslib_1.__classPrivateFieldSet(this, _Plugin_pluginManager, pluginManager, "f");
1305
+ this.id = plugin.model.id;
1306
+ this.pluginPath = plugin.pluginFolder;
1307
+ this.packageJSON = plugin.rawModel;
1308
+ this.pluginType = plugin.model.entryPoint.frontend ? 'frontend' : 'backend';
1309
+ if (this.pluginType === 'frontend') {
1310
+ const { origin } = new endpoint_1.Endpoint();
1311
+ this.pluginUri = types_impl_1.URI.parse(origin + '/' + common_1.PluginPackage.toPluginUrl(plugin.model, ''));
1312
+ }
1313
+ else {
1314
+ this.pluginUri = types_impl_1.URI.parse(plugin.pluginUri);
1315
+ }
1316
+ }
1317
+ get isActive() {
1318
+ return tslib_1.__classPrivateFieldGet(this, _Plugin_pluginManager, "f").isActive(this.id);
1319
+ }
1320
+ get exports() {
1321
+ return tslib_1.__classPrivateFieldGet(this, _Plugin_pluginManager, "f").getPluginExport(this.id);
1322
+ }
1323
+ activate() {
1324
+ return tslib_1.__classPrivateFieldGet(this, _Plugin_pluginManager, "f").activatePlugin(this.id).then(() => this.exports);
1325
+ }
1326
+ }
1327
+ exports.Plugin = Plugin;
1328
+ _Plugin_pluginManager = new WeakMap();
1329
+ class PluginExt extends Plugin {
1330
+ constructor(pluginManager, plugin, isFromDifferentExtensionHost = false) {
1331
+ super(pluginManager, plugin);
1332
+ _PluginExt_pluginManager.set(this, void 0);
1333
+ tslib_1.__classPrivateFieldSet(this, _PluginExt_pluginManager, pluginManager, "f");
1334
+ this.extensionPath = this.pluginPath;
1335
+ this.extensionUri = this.pluginUri;
1336
+ this.extensionKind = pluginManager.getPluginKind();
1337
+ this.isFromDifferentExtensionHost = isFromDifferentExtensionHost;
1338
+ }
1339
+ get isActive() {
1340
+ return tslib_1.__classPrivateFieldGet(this, _PluginExt_pluginManager, "f").isActive(this.id);
1341
+ }
1342
+ get exports() {
1343
+ return tslib_1.__classPrivateFieldGet(this, _PluginExt_pluginManager, "f").getPluginExport(this.id);
1344
+ }
1345
+ activate() {
1346
+ return tslib_1.__classPrivateFieldGet(this, _PluginExt_pluginManager, "f").activatePlugin(this.id).then(() => this.exports);
1347
+ }
1348
+ }
1349
+ exports.PluginExt = PluginExt;
1350
+ _PluginExt_pluginManager = new WeakMap();
1351
+ //# sourceMappingURL=plugin-context.js.map