@gitpod/gitpod-protocol 0.1.5-wth-argo.0 → 0.1.5-yh-vmoptions-fork.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/data/gitpod-schema.json +206 -28
  2. package/lib/accounting-protocol.d.ts +162 -0
  3. package/lib/accounting-protocol.d.ts.map +1 -0
  4. package/lib/accounting-protocol.js +107 -0
  5. package/lib/accounting-protocol.js.map +1 -0
  6. package/lib/admin-protocol.d.ts +32 -4
  7. package/lib/admin-protocol.d.ts.map +1 -1
  8. package/lib/admin-protocol.js +15 -0
  9. package/lib/admin-protocol.js.map +1 -1
  10. package/lib/analytics.d.ts +44 -0
  11. package/lib/analytics.d.ts.map +1 -0
  12. package/lib/analytics.js +10 -0
  13. package/lib/analytics.js.map +1 -0
  14. package/lib/auth.d.ts.map +1 -1
  15. package/lib/context-url.d.ts +31 -0
  16. package/lib/context-url.d.ts.map +1 -0
  17. package/lib/context-url.js +102 -0
  18. package/lib/context-url.js.map +1 -0
  19. package/lib/context-url.spec.d.ts +14 -0
  20. package/lib/context-url.spec.d.ts.map +1 -0
  21. package/lib/context-url.spec.js +109 -0
  22. package/lib/context-url.spec.js.map +1 -0
  23. package/lib/email-protocol.d.ts +1 -2
  24. package/lib/email-protocol.d.ts.map +1 -1
  25. package/lib/email-protocol.js +4 -4
  26. package/lib/email-protocol.js.map +1 -1
  27. package/lib/encryption/container-module.d.ts.map +1 -1
  28. package/lib/encryption/container-module.js +5 -4
  29. package/lib/encryption/container-module.js.map +1 -1
  30. package/lib/encryption/encryption-engine.d.ts.map +1 -1
  31. package/lib/encryption/encryption-engine.js +25 -26
  32. package/lib/encryption/encryption-engine.js.map +1 -1
  33. package/lib/encryption/encryption-engine.spec.d.ts.map +1 -1
  34. package/lib/encryption/encryption-engine.spec.js +29 -37
  35. package/lib/encryption/encryption-engine.spec.js.map +1 -1
  36. package/lib/encryption/encryption-service.d.ts.map +1 -1
  37. package/lib/encryption/encryption-service.js +30 -44
  38. package/lib/encryption/encryption-service.js.map +1 -1
  39. package/lib/encryption/key-provider.d.ts.map +1 -1
  40. package/lib/encryption/key-provider.js +31 -38
  41. package/lib/encryption/key-provider.js.map +1 -1
  42. package/lib/env.d.ts +0 -6
  43. package/lib/env.d.ts.map +1 -1
  44. package/lib/env.js +7 -27
  45. package/lib/env.js.map +1 -1
  46. package/lib/gitpod-file-parser.d.ts.map +1 -1
  47. package/lib/gitpod-file-parser.js +26 -42
  48. package/lib/gitpod-file-parser.js.map +1 -1
  49. package/lib/gitpod-file-parser.spec.js +145 -142
  50. package/lib/gitpod-file-parser.spec.js.map +1 -1
  51. package/lib/gitpod-service.d.ts +180 -33
  52. package/lib/gitpod-service.d.ts.map +1 -1
  53. package/lib/gitpod-service.js +194 -273
  54. package/lib/gitpod-service.js.map +1 -1
  55. package/lib/headless-workspace-log.d.ts +9 -11
  56. package/lib/headless-workspace-log.d.ts.map +1 -1
  57. package/lib/headless-workspace-log.js +6 -8
  58. package/lib/headless-workspace-log.js.map +1 -1
  59. package/lib/ide-frontend-service.d.ts +5 -1
  60. package/lib/ide-frontend-service.d.ts.map +1 -1
  61. package/lib/ide-protocol.d.ts +105 -0
  62. package/lib/ide-protocol.d.ts.map +1 -0
  63. package/lib/{util/without.js → ide-protocol.js} +2 -2
  64. package/lib/ide-protocol.js.map +1 -0
  65. package/lib/index.d.ts +16 -10
  66. package/lib/index.d.ts.map +1 -1
  67. package/lib/index.js +7 -1
  68. package/lib/index.js.map +1 -1
  69. package/lib/installation-admin-protocol.d.ts +27 -0
  70. package/lib/installation-admin-protocol.d.ts.map +1 -0
  71. package/lib/installation-admin-protocol.js +30 -0
  72. package/lib/installation-admin-protocol.js.map +1 -0
  73. package/lib/license-protocol.d.ts +7 -0
  74. package/lib/license-protocol.d.ts.map +1 -1
  75. package/lib/license-protocol.js.map +1 -1
  76. package/lib/messaging/browser/connection.d.ts +5 -3
  77. package/lib/messaging/browser/connection.d.ts.map +1 -1
  78. package/lib/messaging/browser/connection.js +184 -34
  79. package/lib/messaging/browser/connection.js.map +1 -1
  80. package/lib/messaging/browser/window-connection.d.ts +4 -4
  81. package/lib/messaging/browser/window-connection.d.ts.map +1 -1
  82. package/lib/messaging/browser/window-connection.js +42 -59
  83. package/lib/messaging/browser/window-connection.js.map +1 -1
  84. package/lib/messaging/client-call-metrics.d.ts +35 -0
  85. package/lib/messaging/client-call-metrics.d.ts.map +1 -0
  86. package/lib/messaging/client-call-metrics.js +83 -0
  87. package/lib/messaging/client-call-metrics.js.map +1 -0
  88. package/lib/messaging/error.d.ts +6 -1
  89. package/lib/messaging/error.d.ts.map +1 -1
  90. package/lib/messaging/error.js +12 -2
  91. package/lib/messaging/error.js.map +1 -1
  92. package/lib/messaging/handler.d.ts +10 -0
  93. package/lib/messaging/handler.d.ts.map +1 -1
  94. package/lib/messaging/handler.js +1 -1
  95. package/lib/messaging/node/connection.d.ts +1 -17
  96. package/lib/messaging/node/connection.d.ts.map +1 -1
  97. package/lib/messaging/node/connection.js +24 -60
  98. package/lib/messaging/node/connection.js.map +1 -1
  99. package/lib/messaging/proxy-factory.d.ts +3 -1
  100. package/lib/messaging/proxy-factory.d.ts.map +1 -1
  101. package/lib/messaging/proxy-factory.js +75 -162
  102. package/lib/messaging/proxy-factory.js.map +1 -1
  103. package/lib/oss-allowlist.d.ts +14 -0
  104. package/lib/oss-allowlist.d.ts.map +1 -0
  105. package/lib/oss-allowlist.js +8 -0
  106. package/lib/oss-allowlist.js.map +1 -0
  107. package/lib/payment-protocol.d.ts +18 -0
  108. package/lib/payment-protocol.d.ts.map +1 -0
  109. package/lib/payment-protocol.js +13 -0
  110. package/lib/payment-protocol.js.map +1 -0
  111. package/lib/permission.d.ts +10 -3
  112. package/lib/permission.d.ts.map +1 -1
  113. package/lib/permission.js +41 -31
  114. package/lib/permission.js.map +1 -1
  115. package/lib/plans.d.ts +210 -0
  116. package/lib/plans.d.ts.map +1 -0
  117. package/lib/plans.js +605 -0
  118. package/lib/plans.js.map +1 -0
  119. package/lib/protocol.d.ts +196 -83
  120. package/lib/protocol.d.ts.map +1 -1
  121. package/lib/protocol.js +264 -200
  122. package/lib/protocol.js.map +1 -1
  123. package/lib/snapshot-url.d.ts +14 -0
  124. package/lib/snapshot-url.d.ts.map +1 -0
  125. package/lib/snapshot-url.js +26 -0
  126. package/lib/snapshot-url.js.map +1 -0
  127. package/{src/util/without.ts → lib/snapshot-url.spec.d.ts} +2 -3
  128. package/lib/snapshot-url.spec.d.ts.map +1 -0
  129. package/lib/snapshot-url.spec.js +41 -0
  130. package/lib/snapshot-url.spec.js.map +1 -0
  131. package/lib/team-subscription-protocol.d.ts +91 -0
  132. package/lib/team-subscription-protocol.d.ts.map +1 -0
  133. package/lib/team-subscription-protocol.js +74 -0
  134. package/lib/team-subscription-protocol.js.map +1 -0
  135. package/lib/teams-projects-protocol.d.ts +118 -0
  136. package/lib/teams-projects-protocol.d.ts.map +1 -0
  137. package/lib/teams-projects-protocol.js +30 -0
  138. package/lib/teams-projects-protocol.js.map +1 -0
  139. package/lib/typings/globals.d.ts +2 -2
  140. package/lib/typings/globals.d.ts.map +1 -1
  141. package/lib/util/analytics.d.ts +8 -0
  142. package/lib/util/analytics.d.ts.map +1 -0
  143. package/lib/util/analytics.js +88 -0
  144. package/lib/util/analytics.js.map +1 -0
  145. package/lib/util/async-iterator.d.ts.map +1 -1
  146. package/lib/util/async-iterator.js +57 -135
  147. package/lib/util/async-iterator.js.map +1 -1
  148. package/lib/util/cancelable.js +17 -59
  149. package/lib/util/cancelable.js.map +1 -1
  150. package/lib/util/date-time.js +11 -11
  151. package/lib/util/date-time.js.map +1 -1
  152. package/lib/util/deferred.js +10 -12
  153. package/lib/util/deferred.js.map +1 -1
  154. package/lib/util/disposable.d.ts.map +1 -1
  155. package/lib/util/disposable.js +27 -40
  156. package/lib/util/disposable.js.map +1 -1
  157. package/lib/util/event.d.ts.map +1 -1
  158. package/lib/util/event.js +63 -77
  159. package/lib/util/event.js.map +1 -1
  160. package/lib/util/garbage-collected-cache.d.ts +1 -0
  161. package/lib/util/garbage-collected-cache.d.ts.map +1 -1
  162. package/lib/util/garbage-collected-cache.js +27 -47
  163. package/lib/util/garbage-collected-cache.js.map +1 -1
  164. package/lib/util/generate-workspace-id.d.ts +6 -1
  165. package/lib/util/generate-workspace-id.d.ts.map +1 -1
  166. package/lib/util/generate-workspace-id.js +469 -502
  167. package/lib/util/generate-workspace-id.js.map +1 -1
  168. package/lib/util/generate-workspace-id.spec.js +68 -78
  169. package/lib/util/generate-workspace-id.spec.js.map +1 -1
  170. package/lib/util/gitpod-cookie.d.ts +20 -0
  171. package/lib/util/gitpod-cookie.d.ts.map +1 -0
  172. package/lib/util/gitpod-cookie.js +41 -0
  173. package/lib/util/gitpod-cookie.js.map +1 -0
  174. package/lib/util/gitpod-host-url.d.ts +1 -2
  175. package/lib/util/gitpod-host-url.d.ts.map +1 -1
  176. package/lib/util/gitpod-host-url.js +108 -109
  177. package/lib/util/gitpod-host-url.js.map +1 -1
  178. package/lib/util/gitpod-host-url.spec.d.ts +7 -1
  179. package/lib/util/gitpod-host-url.spec.d.ts.map +1 -1
  180. package/lib/util/gitpod-host-url.spec.js +113 -31
  181. package/lib/util/gitpod-host-url.spec.js.map +1 -1
  182. package/lib/util/grpc.d.ts +15 -0
  183. package/lib/util/grpc.d.ts.map +1 -0
  184. package/lib/util/grpc.js +18 -0
  185. package/lib/util/grpc.js.map +1 -0
  186. package/lib/util/jaeger-client-types.d.ts +68 -0
  187. package/lib/util/jaeger-client-types.d.ts.map +1 -0
  188. package/lib/{theia-plugins.js → util/jaeger-client-types.js} +1 -1
  189. package/lib/util/jaeger-client-types.js.map +1 -0
  190. package/lib/util/logging.d.ts +49 -33
  191. package/lib/util/logging.d.ts.map +1 -1
  192. package/lib/util/logging.js +125 -129
  193. package/lib/util/logging.js.map +1 -1
  194. package/lib/util/make-link.js +5 -5
  195. package/lib/util/make-link.js.map +1 -1
  196. package/lib/util/parse-workspace-id.d.ts +10 -0
  197. package/lib/util/parse-workspace-id.d.ts.map +1 -1
  198. package/lib/util/parse-workspace-id.js +31 -7
  199. package/lib/util/parse-workspace-id.js.map +1 -1
  200. package/lib/util/parse-workspace-id.spec.d.ts +4 -0
  201. package/lib/util/parse-workspace-id.spec.d.ts.map +1 -1
  202. package/lib/util/parse-workspace-id.spec.js +123 -84
  203. package/lib/util/parse-workspace-id.spec.js.map +1 -1
  204. package/lib/util/queue.js +16 -55
  205. package/lib/util/queue.js.map +1 -1
  206. package/lib/util/queue.spec.js +147 -288
  207. package/lib/util/queue.spec.js.map +1 -1
  208. package/lib/util/repeat.d.ts +15 -0
  209. package/lib/util/repeat.d.ts.map +1 -0
  210. package/lib/util/repeat.js +55 -0
  211. package/lib/util/repeat.js.map +1 -0
  212. package/lib/util/semaphore.d.ts.map +1 -1
  213. package/lib/util/semaphore.js +15 -46
  214. package/lib/util/semaphore.js.map +1 -1
  215. package/lib/util/skip-if.d.ts.map +1 -1
  216. package/lib/util/skip-if.js +6 -6
  217. package/lib/util/skip-if.js.map +1 -1
  218. package/lib/util/timeutil.d.ts +1 -0
  219. package/lib/util/timeutil.d.ts.map +1 -1
  220. package/lib/util/timeutil.js +35 -17
  221. package/lib/util/timeutil.js.map +1 -1
  222. package/lib/util/timeutil.spec.d.ts.map +1 -1
  223. package/lib/util/timeutil.spec.js +21 -24
  224. package/lib/util/timeutil.spec.js.map +1 -1
  225. package/lib/util/tracing.d.ts +52 -6
  226. package/lib/util/tracing.d.ts.map +1 -1
  227. package/lib/util/tracing.js +197 -64
  228. package/lib/util/tracing.js.map +1 -1
  229. package/lib/util/tracing.spec.d.ts +7 -0
  230. package/lib/util/tracing.spec.d.ts.map +1 -0
  231. package/lib/util/tracing.spec.js +121 -0
  232. package/lib/util/tracing.spec.js.map +1 -0
  233. package/lib/util/workspace-port-authentication.d.ts +7 -7
  234. package/lib/util/workspace-port-authentication.d.ts.map +1 -1
  235. package/lib/util/workspace-port-authentication.js +10 -12
  236. package/lib/util/workspace-port-authentication.js.map +1 -1
  237. package/lib/workspace-cluster.d.ts +76 -0
  238. package/lib/workspace-cluster.d.ts.map +1 -0
  239. package/lib/workspace-cluster.js +31 -0
  240. package/lib/workspace-cluster.js.map +1 -0
  241. package/lib/workspace-instance.d.ts +45 -5
  242. package/lib/workspace-instance.d.ts.map +1 -1
  243. package/lib/wsready.d.ts +1 -1
  244. package/lib/wsready.d.ts.map +1 -1
  245. package/lib/wsready.js +2 -2
  246. package/package.json +32 -18
  247. package/pkg-yarn.lock +18 -10
  248. package/provenance-bundle.jsonl +2 -0
  249. package/src/accounting-protocol.ts +241 -0
  250. package/src/admin-protocol.ts +70 -19
  251. package/src/analytics.ts +52 -0
  252. package/src/auth.ts +2 -2
  253. package/src/context-url.spec.ts +67 -0
  254. package/src/context-url.ts +109 -0
  255. package/src/email-protocol.ts +5 -7
  256. package/src/encryption/container-module.ts +2 -3
  257. package/src/encryption/encryption-engine.spec.ts +9 -8
  258. package/src/encryption/encryption-engine.ts +14 -14
  259. package/src/encryption/encryption-service.ts +4 -5
  260. package/src/encryption/key-provider.ts +16 -19
  261. package/src/env.ts +0 -22
  262. package/src/gitpod-file-parser.spec.ts +55 -61
  263. package/src/gitpod-file-parser.ts +16 -17
  264. package/src/gitpod-service.ts +348 -110
  265. package/src/headless-workspace-log.ts +12 -14
  266. package/src/ide-frontend-service.ts +6 -2
  267. package/src/ide-protocol.ts +119 -0
  268. package/src/index.ts +16 -10
  269. package/src/installation-admin-protocol.ts +42 -0
  270. package/src/license-protocol.ts +12 -6
  271. package/src/messaging/browser/connection.ts +197 -18
  272. package/src/messaging/browser/window-connection.ts +39 -29
  273. package/src/messaging/client-call-metrics.ts +96 -0
  274. package/src/messaging/error.ts +18 -5
  275. package/src/messaging/handler.ts +13 -1
  276. package/src/messaging/node/connection.ts +23 -70
  277. package/src/messaging/proxy-factory.ts +35 -34
  278. package/src/oss-allowlist.ts +15 -0
  279. package/src/payment-protocol.ts +20 -0
  280. package/src/permission.ts +42 -33
  281. package/src/plans.ts +679 -0
  282. package/src/protocol.ts +493 -275
  283. package/src/snapshot-url.spec.ts +27 -0
  284. package/src/snapshot-url.ts +27 -0
  285. package/src/team-subscription-protocol.ts +147 -0
  286. package/src/teams-projects-protocol.ts +153 -0
  287. package/src/typings/globals.ts +4 -4
  288. package/src/util/analytics.ts +109 -0
  289. package/src/util/async-iterator.ts +4 -5
  290. package/src/util/cancelable.ts +3 -3
  291. package/src/util/date-time.ts +8 -8
  292. package/src/util/deferred.ts +6 -6
  293. package/src/util/disposable.ts +3 -6
  294. package/src/util/event.ts +9 -11
  295. package/src/util/garbage-collected-cache.ts +11 -8
  296. package/src/util/generate-workspace-id.spec.ts +37 -10
  297. package/src/util/generate-workspace-id.ts +464 -438
  298. package/src/util/gitpod-cookie.ts +38 -0
  299. package/src/util/gitpod-host-url.spec.ts +59 -8
  300. package/src/util/gitpod-host-url.ts +52 -40
  301. package/src/util/grpc.ts +15 -0
  302. package/src/util/jaeger-client-types.ts +102 -0
  303. package/src/util/logging.ts +145 -72
  304. package/src/util/make-link.ts +6 -7
  305. package/src/util/parse-workspace-id.spec.ts +37 -8
  306. package/src/util/parse-workspace-id.ts +32 -7
  307. package/src/util/queue.spec.ts +28 -26
  308. package/src/util/repeat.ts +45 -0
  309. package/src/util/semaphore.ts +6 -8
  310. package/src/util/skip-if.ts +10 -7
  311. package/src/util/timeutil.spec.ts +14 -15
  312. package/src/util/timeutil.ts +25 -15
  313. package/src/util/tracing.spec.ts +88 -0
  314. package/src/util/tracing.ts +200 -31
  315. package/src/util/workspace-port-authentication.ts +10 -13
  316. package/src/workspace-cluster.ts +107 -0
  317. package/src/workspace-instance.ts +98 -31
  318. package/src/wsready.ts +3 -3
  319. package/data/builtin-theia-plugins.json +0 -372
  320. package/lib/messaging/connection-error-handler.d.ts +0 -27
  321. package/lib/messaging/connection-error-handler.d.ts.map +0 -1
  322. package/lib/messaging/connection-error-handler.js +0 -46
  323. package/lib/messaging/connection-error-handler.js.map +0 -1
  324. package/lib/theia-plugins.d.ts +0 -11
  325. package/lib/theia-plugins.d.ts.map +0 -1
  326. package/lib/theia-plugins.js.map +0 -1
  327. package/lib/util/context-url.d.ts +0 -13
  328. package/lib/util/context-url.d.ts.map +0 -1
  329. package/lib/util/context-url.js +0 -26
  330. package/lib/util/context-url.js.map +0 -1
  331. package/lib/util/context-url.spec.d.ts +0 -10
  332. package/lib/util/context-url.spec.d.ts.map +0 -1
  333. package/lib/util/context-url.spec.js +0 -52
  334. package/lib/util/context-url.spec.js.map +0 -1
  335. package/lib/util/repeater.d.ts +0 -22
  336. package/lib/util/repeater.d.ts.map +0 -1
  337. package/lib/util/repeater.js +0 -118
  338. package/lib/util/repeater.js.map +0 -1
  339. package/lib/util/safe-promise.d.ts +0 -11
  340. package/lib/util/safe-promise.d.ts.map +0 -1
  341. package/lib/util/safe-promise.js +0 -34
  342. package/lib/util/safe-promise.js.map +0 -1
  343. package/lib/util/without.d.ts +0 -7
  344. package/lib/util/without.d.ts.map +0 -1
  345. package/lib/util/without.js.map +0 -1
  346. package/src/messaging/connection-error-handler.ts +0 -62
  347. package/src/theia-plugins.ts +0 -11
  348. package/src/util/context-url.spec.ts +0 -25
  349. package/src/util/context-url.ts +0 -23
  350. package/src/util/jaeger-client.d.ts +0 -105
  351. package/src/util/repeater.ts +0 -49
  352. package/src/util/safe-promise.ts +0 -26
@@ -1,372 +0,0 @@
1
- [
2
- {
3
- "loc": "vscode.bat-1.44.2.vsix",
4
- "name": "vscode.bat@1.44.2",
5
- "url": "https://open-vsx.org/api/vscode/bat/1.44.2/file/vscode.bat-1.44.2.vsix"
6
- },
7
- {
8
- "loc": "vscode.clojure-1.44.2.vsix",
9
- "name": "vscode.clojure@1.44.2",
10
- "url": "https://open-vsx.org/api/vscode/clojure/1.44.2/file/vscode.clojure-1.44.2.vsix"
11
- },
12
- {
13
- "loc": "vscode.coffeescript-1.44.2.vsix",
14
- "name": "vscode.coffeescript@1.44.2",
15
- "url": "https://open-vsx.org/api/vscode/coffeescript/1.44.2/file/vscode.coffeescript-1.44.2.vsix"
16
- },
17
- {
18
- "loc": "vscode.cpp-1.44.2.vsix",
19
- "name": "vscode.cpp@1.44.2",
20
- "url": "https://open-vsx.org/api/vscode/cpp/1.44.2/file/vscode.cpp-1.44.2.vsix"
21
- },
22
- {
23
- "loc": "vscode.csharp-1.44.2.vsix",
24
- "name": "vscode.csharp@1.44.2",
25
- "url": "https://open-vsx.org/api/vscode/csharp/1.44.2/file/vscode.csharp-1.44.2.vsix"
26
- },
27
- {
28
- "loc": "llvm-vs-code-extensions.vscode-clangd-0.1.5.vsix",
29
- "name": "llvm-vs-code-extensions.vscode-clangd@0.1.5",
30
- "url": "https://open-vsx.org/api/llvm-vs-code-extensions/vscode-clangd/0.1.5/file/llvm-vs-code-extensions.vscode-clangd-0.1.5.vsix"
31
- },
32
- {
33
- "loc": "vscode.css-1.51.1.vsix",
34
- "name": "vscode.css@1.51.1",
35
- "url": "https://open-vsx.org/api/vscode/css/1.51.1/file/vscode.css-1.51.1.vsix"
36
- },
37
- {
38
- "loc": "vscode.css-language-features-1.51.1.vsix",
39
- "name": "vscode.css-language-features@1.51.1",
40
- "url": "https://open-vsx.org/api/vscode/css-language-features/1.51.1/file/vscode.css-language-features-1.51.1.vsix"
41
- },
42
- {
43
- "loc": "vscode.debug-auto-launch-1.44.2.vsix",
44
- "name": "vscode.debug-auto-launch@1.44.2",
45
- "url": "https://open-vsx.org/api/vscode/debug-auto-launch/1.44.2/file/vscode.debug-auto-launch-1.44.2.vsix"
46
- },
47
- {
48
- "loc": "vscode.emmet-1.44.2.vsix",
49
- "name": "vscode.emmet@1.44.2",
50
- "url": "https://open-vsx.org/api/vscode/emmet/1.44.2/file/vscode.emmet-1.44.2.vsix"
51
- },
52
- {
53
- "loc": "vscode.fsharp-1.44.2.vsix",
54
- "name": "vscode.fsharp@1.44.2",
55
- "url": "https://open-vsx.org/api/vscode/fsharp/1.44.2/file/vscode.fsharp-1.44.2.vsix"
56
- },
57
- {
58
- "loc": "vscode.go-1.44.2.vsix",
59
- "name": "vscode.go@1.44.2",
60
- "url": "https://open-vsx.org/api/vscode/go/1.44.2/file/vscode.go-1.44.2.vsix"
61
- },
62
- {
63
- "loc": "vscode.groovy-1.44.2.vsix",
64
- "name": "vscode.groovy@1.44.2",
65
- "url": "https://open-vsx.org/api/vscode/groovy/1.44.2/file/vscode.groovy-1.44.2.vsix"
66
- },
67
- {
68
- "loc": "vscode.handlebars-1.44.2.vsix",
69
- "name": "vscode.handlebars@1.44.2",
70
- "url": "https://open-vsx.org/api/vscode/handlebars/1.44.2/file/vscode.handlebars-1.44.2.vsix"
71
- },
72
- {
73
- "loc": "vscode.hlsl-1.44.2.vsix",
74
- "name": "vscode.hlsl@1.44.2",
75
- "url": "https://open-vsx.org/api/vscode/hlsl/1.44.2/file/vscode.hlsl-1.44.2.vsix"
76
- },
77
- {
78
- "loc": "vscode.html-1.51.1.vsix",
79
- "name": "vscode.html@1.51.1",
80
- "url": "https://open-vsx.org/api/vscode/html/1.51.1/file/vscode.html-1.51.1.vsix"
81
- },
82
- {
83
- "loc": "vscode.html-language-features-1.51.1.vsix",
84
- "name": "vscode.html-language-features@1.51.1",
85
- "url": "https://open-vsx.org/api/vscode/html-language-features/1.51.1/file/vscode.html-language-features-1.51.1.vsix"
86
- },
87
- {
88
- "loc": "vscode.ini-1.44.2.vsix",
89
- "name": "vscode.ini@1.44.2",
90
- "url": "https://open-vsx.org/api/vscode/ini/1.44.2/file/vscode.ini-1.44.2.vsix"
91
- },
92
- {
93
- "loc": "vscode.java-1.48.0.vsix",
94
- "name": "vscode.java@1.48.0",
95
- "url": "https://open-vsx.org/api/vscode/java/1.48.0/file/vscode.java-1.48.0.vsix"
96
- },
97
- {
98
- "loc": "vscode.javascript-1.44.2.vsix",
99
- "name": "vscode.javascript@1.44.2",
100
- "url": "https://open-vsx.org/api/vscode/javascript/1.44.2/file/vscode.javascript-1.44.2.vsix"
101
- },
102
- {
103
- "loc": "vscode.json-1.44.2.vsix",
104
- "name": "vscode.json@1.44.2",
105
- "url": "https://open-vsx.org/api/vscode/json/1.44.2/file/vscode.json-1.44.2.vsix"
106
- },
107
- {
108
- "loc": "vscode.json-language-features-1.46.1.vsix",
109
- "name": "vscode.json-language-features@1.46.1",
110
- "url": "https://open-vsx.org/api/vscode/json-language-features/1.46.1/file/vscode.json-language-features-1.46.1.vsix"
111
- },
112
- {
113
- "loc": "vscode.less-1.44.2.vsix",
114
- "name": "vscode.less@1.44.2",
115
- "url": "https://open-vsx.org/api/vscode/less/1.44.2/file/vscode.less-1.44.2.vsix"
116
- },
117
- {
118
- "loc": "vscode.log-1.44.2.vsix",
119
- "name": "vscode.log@1.44.2",
120
- "url": "https://open-vsx.org/api/vscode/log/1.44.2/file/vscode.log-1.44.2.vsix"
121
- },
122
- {
123
- "loc": "vscode.lua-1.44.2.vsix",
124
- "name": "vscode.lua@1.44.2",
125
- "url": "https://open-vsx.org/api/vscode/lua/1.44.2/file/vscode.lua-1.44.2.vsix"
126
- },
127
- {
128
- "loc": "vscode.make-1.44.2.vsix",
129
- "name": "vscode.make@1.44.2",
130
- "url": "https://open-vsx.org/api/vscode/make/1.44.2/file/vscode.make-1.44.2.vsix"
131
- },
132
- {
133
- "loc": "vscode.markdown-1.44.2.vsix",
134
- "name": "vscode.markdown@1.44.2",
135
- "url": "https://open-vsx.org/api/vscode/markdown/1.44.2/file/vscode.markdown-1.44.2.vsix"
136
- },
137
- {
138
- "loc": "vscode.npm-1.39.1.vsix",
139
- "name": "vscode.npm@1.39.1",
140
- "url": "https://open-vsx.org/api/vscode/npm/1.39.1/file/vscode.npm-1.39.1.vsix"
141
- },
142
- {
143
- "loc": "vscode.objective-c-1.44.2.vsix",
144
- "name": "vscode.objective-c@1.44.2",
145
- "url": "https://open-vsx.org/api/vscode/objective-c/1.44.2/file/vscode.objective-c-1.44.2.vsix"
146
- },
147
- {
148
- "loc": "vscode.perl-1.44.2.vsix",
149
- "name": "vscode.perl@1.44.2",
150
- "url": "https://open-vsx.org/api/vscode/perl/1.44.2/file/vscode.perl-1.44.2.vsix"
151
- },
152
- {
153
- "loc": "vscode.php-1.44.2.vsix",
154
- "name": "vscode.php@1.44.2",
155
- "url": "https://open-vsx.org/api/vscode/php/1.44.2/file/vscode.php-1.44.2.vsix"
156
- },
157
- {
158
- "loc": "vscode.powershell-1.44.2.vsix",
159
- "name": "vscode.powershell@1.44.2",
160
- "url": "https://open-vsx.org/api/vscode/powershell/1.44.2/file/vscode.powershell-1.44.2.vsix"
161
- },
162
- {
163
- "loc": "vscode.pug-1.44.2.vsix",
164
- "name": "vscode.pug@1.44.2",
165
- "url": "https://open-vsx.org/api/vscode/pug/1.44.2/file/vscode.pug-1.44.2.vsix"
166
- },
167
- {
168
- "loc": "vscode.python-1.47.3.vsix",
169
- "name": "vscode.python@1.47.3",
170
- "url": "https://open-vsx.org/api/vscode/python/1.47.3/file/vscode.python-1.47.3.vsix"
171
- },
172
- {
173
- "loc": "vscode.r-1.44.2.vsix",
174
- "name": "vscode.r@1.44.2",
175
- "url": "https://open-vsx.org/api/vscode/r/1.44.2/file/vscode.r-1.44.2.vsix"
176
- },
177
- {
178
- "loc": "vscode.razor-1.44.2.vsix",
179
- "name": "vscode.razor@1.44.2",
180
- "url": "https://open-vsx.org/api/vscode/razor/1.44.2/file/vscode.razor-1.44.2.vsix"
181
- },
182
- {
183
- "loc": "vscode.ruby-1.44.2.vsix",
184
- "name": "vscode.ruby@1.44.2",
185
- "url": "https://open-vsx.org/api/vscode/ruby/1.44.2/file/vscode.ruby-1.44.2.vsix"
186
- },
187
- {
188
- "loc": "vscode.rust-1.44.2.vsix",
189
- "name": "vscode.rust@1.44.2",
190
- "url": "https://open-vsx.org/api/vscode/rust/1.44.2/file/vscode.rust-1.44.2.vsix"
191
- },
192
- {
193
- "loc": "vscode.scss-1.44.2.vsix",
194
- "name": "vscode.scss@1.44.2",
195
- "url": "https://open-vsx.org/api/vscode/scss/1.44.2/file/vscode.scss-1.44.2.vsix"
196
- },
197
- {
198
- "loc": "vscode.shaderlab-1.44.2.vsix",
199
- "name": "vscode.shaderlab@1.44.2",
200
- "url": "https://open-vsx.org/api/vscode/shaderlab/1.44.2/file/vscode.shaderlab-1.44.2.vsix"
201
- },
202
- {
203
- "loc": "vscode.shellscript-1.44.2.vsix",
204
- "name": "vscode.shellscript@1.44.2",
205
- "url": "https://open-vsx.org/api/vscode/shellscript/1.44.2/file/vscode.shellscript-1.44.2.vsix"
206
- },
207
- {
208
- "loc": "vscode.sql-1.44.2.vsix",
209
- "name": "vscode.sql@1.44.2",
210
- "url": "https://open-vsx.org/api/vscode/sql/1.44.2/file/vscode.sql-1.44.2.vsix"
211
- },
212
- {
213
- "loc": "vscode.swift-1.44.2.vsix",
214
- "name": "vscode.swift@1.44.2",
215
- "url": "https://open-vsx.org/api/vscode/swift/1.44.2/file/vscode.swift-1.44.2.vsix"
216
- },
217
- {
218
- "loc": "vscode.typescript-1.44.2.vsix",
219
- "name": "vscode.typescript@1.44.2",
220
- "url": "https://open-vsx.org/api/vscode/typescript/1.44.2/file/vscode.typescript-1.44.2.vsix"
221
- },
222
- {
223
- "loc": "vscode.typescript-language-features-1.44.2.vsix",
224
- "name": "vscode.typescript-language-features@1.44.2",
225
- "url": "https://open-vsx.org/api/vscode/typescript-language-features/1.44.2/file/vscode.typescript-language-features-1.44.2.vsix"
226
- },
227
- {
228
- "loc": "vscode.vb-1.44.2.vsix",
229
- "name": "vscode.vb@1.44.2",
230
- "url": "https://open-vsx.org/api/vscode/vb/1.44.2/file/vscode.vb-1.44.2.vsix"
231
- },
232
- {
233
- "loc": "vscode.xml-1.44.2.vsix",
234
- "name": "vscode.xml@1.44.2",
235
- "url": "https://open-vsx.org/api/vscode/xml/1.44.2/file/vscode.xml-1.44.2.vsix"
236
- },
237
- {
238
- "loc": "vscode.yaml-1.44.2.vsix",
239
- "name": "vscode.yaml@1.44.2",
240
- "url": "https://open-vsx.org/api/vscode/yaml/1.44.2/file/vscode.yaml-1.44.2.vsix"
241
- },
242
- {
243
- "loc": "redhat.java-0.65.0.vsix",
244
- "name": "redhat.java@0.65.0",
245
- "url": "https://open-vsx.org/api/redhat/java/0.65.0/file/redhat.java-0.65.0.vsix"
246
- },
247
- {
248
- "loc": "vscjava.vscode-java-debug-0.27.1.vsix",
249
- "name": "vscjava.vscode-java-debug@0.27.1",
250
- "url": "https://open-vsx.org/api/vscjava/vscode-java-debug/0.27.1/file/vscjava.vscode-java-debug-0.27.1.vsix"
251
- },
252
- {
253
- "loc": "vscjava.vscode-java-dependency-0.9.0.vsix",
254
- "name": "vscjava.vscode-java-dependency@0.9.0",
255
- "url": "https://open-vsx.org/api/vscjava/vscode-java-dependency/0.9.0/file/vscjava.vscode-java-dependency-0.9.0.vsix"
256
- },
257
- {
258
- "loc": "ms-vscode.node-debug-1.38.4.vsix",
259
- "name": "ms-vscode.node-debug@1.38.4",
260
- "url": "https://open-vsx.org/api/ms-vscode/node-debug/1.38.4/file/ms-vscode.node-debug-1.38.4.vsix"
261
- },
262
- {
263
- "loc": "ms-vscode.node-debug2-1.33.0.vsix",
264
- "name": "ms-vscode.node-debug2@1.33.0",
265
- "url": "https://open-vsx.org/api/ms-vscode/node-debug2/1.33.0/file/ms-vscode.node-debug2-1.33.0.vsix"
266
- },
267
- {
268
- "loc": "ms-python.python-2020.7.96456.vsix",
269
- "name": "ms-python.python@2020.7.96456",
270
- "url": "https://open-vsx.org/api/ms-python/python/2020.7.96456/file/ms-python.python-2020.7.96456.vsix"
271
- },
272
- {
273
- "loc": "golang.Go-0.14.4.vsix",
274
- "name": "golang.Go@0.14.4",
275
- "url": "https://open-vsx.org/api/golang/Go/0.14.4/file/golang.Go-0.14.4.vsix"
276
- },
277
- {
278
- "loc": "redhat.vscode-xml-0.11.0.vsix",
279
- "name": "redhat.vscode-xml@0.11.0",
280
- "url": "https://open-vsx.org/api/redhat/vscode-xml/0.11.0/file/redhat.vscode-xml-0.11.0.vsix"
281
- },
282
- {
283
- "loc": "redhat.vscode-yaml-0.8.0.vsix",
284
- "name": "redhat.vscode-yaml@0.8.0",
285
- "url": "https://open-vsx.org/api/redhat/vscode-yaml/0.8.0/file/redhat.vscode-yaml-0.8.0.vsix"
286
- },
287
- {
288
- "loc": "bmewburn.vscode-intelephense-client-1.4.0.vsix",
289
- "name": "bmewburn.vscode-intelephense-client@1.4.0",
290
- "url": "https://open-vsx.org/api/bmewburn/vscode-intelephense-client/1.4.0/file/bmewburn.vscode-intelephense-client-1.4.0.vsix"
291
- },
292
- {
293
- "loc": "felixfbecker.php-debug-1.13.0.vsix",
294
- "name": "felixfbecker.php-debug@1.13.0",
295
- "url": "https://open-vsx.org/api/felixfbecker/php-debug/1.13.0/file/felixfbecker.php-debug-1.13.0.vsix"
296
- },
297
- {
298
- "loc": "rust-lang.rust-0.7.8.vsix",
299
- "name": "rust-lang.rust@0.7.8",
300
- "url": "https://open-vsx.org/api/rust-lang/rust/0.7.8/file/rust-lang.rust-0.7.8.vsix"
301
- },
302
- {
303
- "loc": "vscode.theme-abyss-1.44.2.vsix",
304
- "name": "vscode.theme-abyss@1.44.2",
305
- "url": "https://open-vsx.org/api/vscode/theme-abyss/1.44.2/file/vscode.theme-abyss-1.44.2.vsix"
306
- },
307
- {
308
- "loc": "vscode.theme-kimbie-dark-1.44.2.vsix",
309
- "name": "vscode.theme-kimbie-dark@1.44.2",
310
- "url": "https://open-vsx.org/api/vscode/theme-kimbie-dark/1.44.2/file/vscode.theme-kimbie-dark-1.44.2.vsix"
311
- },
312
- {
313
- "loc": "vscode.theme-monokai-1.44.2.vsix",
314
- "name": "vscode.theme-monokai@1.44.2",
315
- "url": "https://open-vsx.org/api/vscode/theme-monokai/1.44.2/file/vscode.theme-monokai-1.44.2.vsix"
316
- },
317
- {
318
- "loc": "vscode.theme-monokai-dimmed-1.44.2.vsix",
319
- "name": "vscode.theme-monokai-dimmed@1.44.2",
320
- "url": "https://open-vsx.org/api/vscode/theme-monokai-dimmed/1.44.2/file/vscode.theme-monokai-dimmed-1.44.2.vsix"
321
- },
322
- {
323
- "loc": "vscode.theme-quietlight-1.44.2.vsix",
324
- "name": "vscode.theme-quietlight@1.44.2",
325
- "url": "https://open-vsx.org/api/vscode/theme-quietlight/1.44.2/file/vscode.theme-quietlight-1.44.2.vsix"
326
- },
327
- {
328
- "loc": "vscode.theme-red-1.44.2.vsix",
329
- "name": "vscode.theme-red@1.44.2",
330
- "url": "https://open-vsx.org/api/vscode/theme-red/1.44.2/file/vscode.theme-red-1.44.2.vsix"
331
- },
332
- {
333
- "loc": "vscode.theme-solarized-dark-1.44.2.vsix",
334
- "name": "vscode.theme-solarized-dark@1.44.2",
335
- "url": "https://open-vsx.org/api/vscode/theme-solarized-dark/1.44.2/file/vscode.theme-solarized-dark-1.44.2.vsix"
336
- },
337
- {
338
- "loc": "vscode.theme-solarized-light-1.44.2.vsix",
339
- "name": "vscode.theme-solarized-light@1.44.2",
340
- "url": "https://open-vsx.org/api/vscode/theme-solarized-light/1.44.2/file/vscode.theme-solarized-light-1.44.2.vsix"
341
- },
342
- {
343
- "loc": "vscode.theme-tomorrow-night-blue-1.44.2.vsix",
344
- "name": "vscode.theme-tomorrow-night-blue@1.44.2",
345
- "url": "https://open-vsx.org/api/vscode/theme-tomorrow-night-blue/1.44.2/file/vscode.theme-tomorrow-night-blue-1.44.2.vsix"
346
- },
347
- {
348
- "loc": "vscode.vscode-theme-seti-1.44.2.vsix",
349
- "name": "vscode.vscode-theme-seti@1.44.2",
350
- "url": "https://open-vsx.org/api/vscode/vscode-theme-seti/1.44.2/file/vscode.vscode-theme-seti-1.44.2.vsix"
351
- },
352
- {
353
- "loc": "vscode.merge-conflict-1.44.2.vsix",
354
- "name": "vscode.merge-conflict@1.44.2",
355
- "url": "https://open-vsx.org/api/vscode/merge-conflict/1.44.2/file/vscode.merge-conflict-1.44.2.vsix"
356
- },
357
- {
358
- "loc": "references-view-0.0.47.vsix",
359
- "name": "ms-vscode.references-view@0.0.47",
360
- "url": "https://open-vsx.org/api/ms-vscode/references-view/0.0.47/file/ms-vscode.references-view-0.0.47.vsix"
361
- },
362
- {
363
- "loc": "EditorConfig.EditorConfig-0.15.1.vsix",
364
- "name": "EditorConfig.EditorConfig@0.15.1",
365
- "url": "https://open-vsx.org/api/EditorConfig/EditorConfig/0.15.1/file/EditorConfig.EditorConfig-0.15.1.vsix"
366
- },
367
- {
368
- "loc": "vscode.docker-1.47.3.vsix",
369
- "name": "vscode.docker@1.47.3",
370
- "url": "https://open-vsx.org/api/vscode/docker/1.47.3/file/vscode.docker-1.47.3.vsix"
371
- }
372
- ]
@@ -1,27 +0,0 @@
1
- import { Message } from "vscode-jsonrpc";
2
- export interface ResolvedConnectionErrorHandlerOptions {
3
- readonly serverName: string;
4
- /**
5
- * The maximum amount of errors allowed before stopping the server.
6
- */
7
- readonly maxErrors: number;
8
- /**
9
- * The maimum amount of restarts allowed in the restart interval.
10
- */
11
- readonly maxRestarts: number;
12
- /**
13
- * In minutes.
14
- */
15
- readonly restartInterval: number;
16
- }
17
- export declare type ConnectionErrorHandlerOptions = Partial<ResolvedConnectionErrorHandlerOptions> & {
18
- readonly serverName: string;
19
- };
20
- export declare class ConnectionErrorHandler {
21
- protected readonly options: ResolvedConnectionErrorHandlerOptions;
22
- constructor(options: ConnectionErrorHandlerOptions);
23
- shouldStop(error: Error, message?: Message, count?: number): boolean;
24
- protected readonly restarts: number[];
25
- shouldRestart(): boolean;
26
- }
27
- //# sourceMappingURL=connection-error-handler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-error-handler.d.ts","sourceRoot":"","sources":["../../src/messaging/connection-error-handler.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,MAAM,WAAW,qCAAqC;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACnC;AAED,oBAAY,6BAA6B,GAAG,OAAO,CAAC,qCAAqC,CAAC,GAAG;IACzF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC9B,CAAC;AAEF,qBAAa,sBAAsB;IAE/B,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,qCAAqC,CAAC;gBACtD,OAAO,EAAE,6BAA6B;IASlD,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO;IAIpE,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAM;IAC3C,aAAa,IAAI,OAAO;CAc3B"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (C) 2017 TypeFox and others.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7
- */
8
- var __assign = (this && this.__assign) || function () {
9
- __assign = Object.assign || function(t) {
10
- for (var s, i = 1, n = arguments.length; i < n; i++) {
11
- s = arguments[i];
12
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
13
- t[p] = s[p];
14
- }
15
- return t;
16
- };
17
- return __assign.apply(this, arguments);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.ConnectionErrorHandler = void 0;
21
- var logging_1 = require("../util/logging");
22
- var ConnectionErrorHandler = /** @class */ (function () {
23
- function ConnectionErrorHandler(options) {
24
- this.restarts = [];
25
- this.options = __assign({ maxErrors: 3, maxRestarts: 5, restartInterval: 3 }, options);
26
- }
27
- ConnectionErrorHandler.prototype.shouldStop = function (error, message, count) {
28
- return !count || count > this.options.maxErrors;
29
- };
30
- ConnectionErrorHandler.prototype.shouldRestart = function () {
31
- this.restarts.push(Date.now());
32
- if (this.restarts.length <= this.options.maxRestarts) {
33
- return true;
34
- }
35
- var diff = this.restarts[this.restarts.length - 1] - this.restarts[0];
36
- if (diff <= this.options.restartInterval * 60 * 1000) {
37
- logging_1.log.error("Server " + this.options.serverName + " crashed " + this.options.maxRestarts + " times in the last " + this.options.restartInterval + " minutes. Will not restart");
38
- return false;
39
- }
40
- this.restarts.shift();
41
- return true;
42
- };
43
- return ConnectionErrorHandler;
44
- }());
45
- exports.ConnectionErrorHandler = ConnectionErrorHandler;
46
- //# sourceMappingURL=connection-error-handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-error-handler.js","sourceRoot":"","sources":["../../src/messaging/connection-error-handler.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;AAGH,2CAAsC;AAsBtC;IAGI,gCAAY,OAAsC;QAa/B,aAAQ,GAAa,EAAE,CAAC;QAZvC,IAAI,CAAC,OAAO,cACR,SAAS,EAAE,CAAC,EACZ,WAAW,EAAE,CAAC,EACd,eAAe,EAAE,CAAC,IACf,OAAO,CACb,CAAC;IACN,CAAC;IAED,2CAAU,GAAV,UAAW,KAAY,EAAE,OAAiB,EAAE,KAAc;QACtD,OAAO,CAAC,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IACpD,CAAC;IAGD,8CAAa,GAAb;QACI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE;YAClD,OAAO,IAAI,CAAC;SACf;QACD,IAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACxE,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,eAAe,GAAG,EAAE,GAAG,IAAI,EAAE;YAClD,aAAG,CAAC,KAAK,CAAC,YAAU,IAAI,CAAC,OAAO,CAAC,UAAU,iBAAY,IAAI,CAAC,OAAO,CAAC,WAAW,2BAAsB,IAAI,CAAC,OAAO,CAAC,eAAe,+BAA4B,CAAC,CAAC;YAC/J,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEL,6BAAC;AAAD,CAAC,AA/BD,IA+BC;AA/BY,wDAAsB"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- export interface PluginIndexEntry {
7
- loc: string;
8
- name: string;
9
- url: string;
10
- }
11
- //# sourceMappingURL=theia-plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theia-plugins.d.ts","sourceRoot":"","sources":["../src/theia-plugins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theia-plugins.js","sourceRoot":"","sources":["../src/theia-plugins.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 TypeFox GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- /**
7
- * The field "contextUrl" might contain prefixes like:
8
- * - envvar1=value1/...
9
- * - prebuild/...
10
- * This is the analogon to the (Prefix)ContextParser structure in "server".
11
- */
12
- export declare function contextUrlToUrl(contextUrl: string | undefined): URL | undefined;
13
- //# sourceMappingURL=context-url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-url.d.ts","sourceRoot":"","sources":["../../src/util/context-url.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,GAAG,GAAG,SAAS,CAU/E"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2020 TypeFox GmbH. All rights reserved.
4
- * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.contextUrlToUrl = void 0;
9
- /**
10
- * The field "contextUrl" might contain prefixes like:
11
- * - envvar1=value1/...
12
- * - prebuild/...
13
- * This is the analogon to the (Prefix)ContextParser structure in "server".
14
- */
15
- function contextUrlToUrl(contextUrl) {
16
- if (contextUrl === undefined) {
17
- return undefined;
18
- }
19
- if (contextUrl.startsWith("http")) {
20
- return new URL(contextUrl);
21
- }
22
- var finding = contextUrl.search("/http");
23
- return new URL(contextUrl.substr(finding + 1));
24
- }
25
- exports.contextUrlToUrl = contextUrlToUrl;
26
- //# sourceMappingURL=context-url.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-url.js","sourceRoot":"","sources":["../../src/util/context-url.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,UAA8B;IAC5D,IAAI,UAAU,KAAK,SAAS,EAAE;QAC5B,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;QACjC,OAAO,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC;KAC5B;IACD,IAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,IAAI,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC;AAVD,0CAUC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 TypeFox GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- export declare class ContextUrlTest {
7
- parseContextUrl_withEnvVar(): void;
8
- parseContextUrl_withPrebuild(): void;
9
- }
10
- //# sourceMappingURL=context-url.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-url.spec.d.ts","sourceRoot":"","sources":["../../src/util/context-url.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,qBACa,cAAc;IAEV,0BAA0B;IAK1B,4BAA4B;CAI5C"}
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2020 TypeFox GmbH. All rights reserved.
4
- * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
6
- */
7
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
- return c > 3 && r && Object.defineProperty(target, key, r), r;
12
- };
13
- var __metadata = (this && this.__metadata) || function (k, v) {
14
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ContextUrlTest = void 0;
18
- var chai = require("chai");
19
- var mocha_typescript_1 = require("mocha-typescript");
20
- var context_url_1 = require("./context-url");
21
- var expect = chai.expect;
22
- var ContextUrlTest = /** @class */ (function () {
23
- function ContextUrlTest() {
24
- }
25
- ContextUrlTest.prototype.parseContextUrl_withEnvVar = function () {
26
- var actual = context_url_1.contextUrlToUrl("passedin=test%20value/https://github.com/gitpod-io/gitpod-test-repo");
27
- expect(actual === null || actual === void 0 ? void 0 : actual.pathname).to.equal("/gitpod-io/gitpod-test-repo");
28
- };
29
- ContextUrlTest.prototype.parseContextUrl_withPrebuild = function () {
30
- var actual = context_url_1.contextUrlToUrl("prebuild/https://github.com/gitpod-io/gitpod-test-repo");
31
- expect(actual === null || actual === void 0 ? void 0 : actual.host).to.equal("github.com");
32
- };
33
- __decorate([
34
- mocha_typescript_1.test,
35
- __metadata("design:type", Function),
36
- __metadata("design:paramtypes", []),
37
- __metadata("design:returntype", void 0)
38
- ], ContextUrlTest.prototype, "parseContextUrl_withEnvVar", null);
39
- __decorate([
40
- mocha_typescript_1.test,
41
- __metadata("design:type", Function),
42
- __metadata("design:paramtypes", []),
43
- __metadata("design:returntype", void 0)
44
- ], ContextUrlTest.prototype, "parseContextUrl_withPrebuild", null);
45
- ContextUrlTest = __decorate([
46
- mocha_typescript_1.suite
47
- ], ContextUrlTest);
48
- return ContextUrlTest;
49
- }());
50
- exports.ContextUrlTest = ContextUrlTest;
51
- module.exports = new ContextUrlTest();
52
- //# sourceMappingURL=context-url.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-url.spec.js","sourceRoot":"","sources":["../../src/util/context-url.spec.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAEH,2BAA6B;AAC7B,qDAA+C;AAC/C,6CAAgD;AAChD,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AAG3B;IAAA;IAWA,CAAC;IATgB,mDAA0B,GAAjC;QACF,IAAM,MAAM,GAAG,6BAAe,CAAC,qEAAqE,CAAC,CAAC;QACtG,MAAM,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;IACrE,CAAC;IAEY,qDAA4B,GAAnC;QACF,IAAM,MAAM,GAAG,6BAAe,CAAC,wDAAwD,CAAC,CAAC;QACzF,MAAM,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;IARK;QAAL,uBAAI;;;;oEAGJ;IAEK;QAAL,uBAAI;;;;sEAGJ;IAVQ,cAAc;QAD1B,wBAAK;OACO,cAAc,CAW1B;IAAD,qBAAC;CAAA,AAXD,IAWC;AAXY,wCAAc;AAY3B,MAAM,CAAC,OAAO,GAAG,IAAI,cAAc,EAAE,CAAA"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- import { Deferred } from "./deferred";
7
- /**
8
- * Repeats a given function until it is stopped
9
- */
10
- export declare class Repeater {
11
- protected readonly fn: () => Promise<void> | void;
12
- protected readonly timeout: number;
13
- protected shouldRun: boolean;
14
- protected finished: Deferred<void>;
15
- protected timer?: any;
16
- constructor(fn: () => Promise<void> | void, timeout: number);
17
- start(): Promise<void>;
18
- run(): Promise<void>;
19
- protected sleep(timeout: number): Promise<unknown>;
20
- stop(): Promise<void>;
21
- }
22
- //# sourceMappingURL=repeater.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"repeater.d.ts","sourceRoot":"","sources":["../../src/util/repeater.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC;;GAEG;AACH,qBAAa,QAAQ;IAKL,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAAE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM;IAJjG,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAClC,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC;gBAES,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,EAAqB,OAAO,EAAE,MAAM;IAE3F,KAAK;IAIL,GAAG;cAcO,KAAK,CAAC,OAAO,EAAE,MAAM;IAI/B,IAAI;CAOb"}