@agent-spaces/server 0.3.4 → 0.3.5

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 (288) hide show
  1. package/dist/adapters/claude-code-runtime/index.js +19 -1
  2. package/dist/adapters/codex-runtime.js +13 -3
  3. package/dist/agents/agent-message-parts.js +9 -1
  4. package/dist/agents/commit-agent.js +7 -15
  5. package/dist/app.js +26 -0
  6. package/dist/package.json +2 -0
  7. package/dist/routes/code-favorites.js +60 -0
  8. package/dist/routes/file.js +13 -0
  9. package/dist/routes/prompt-template.js +48 -0
  10. package/dist/services/agent.js +45 -3
  11. package/dist/services/code-favorites.js +23 -0
  12. package/dist/services/file.js +4 -0
  13. package/dist/services/persistent-agent-context.js +3 -2
  14. package/dist/services/prompt-template.js +93 -0
  15. package/dist/services/pty.js +18 -1
  16. package/dist/storage/code-favorites-store.js +15 -0
  17. package/dist/web/404.html +1 -1
  18. package/dist/web/__next.__PAGE__.txt +4 -4
  19. package/dist/web/__next._full.txt +21 -21
  20. package/dist/web/__next._head.txt +4 -4
  21. package/dist/web/__next._index.txt +13 -13
  22. package/dist/web/__next._tree.txt +2 -2
  23. package/dist/web/_next/static/chunks/0-1pn22sg~67u.js +2 -0
  24. package/dist/web/_next/static/chunks/0-lseun2l1m_t.js +2 -0
  25. package/dist/web/_next/static/chunks/0-wkj-hzh444r.css +4 -0
  26. package/dist/web/_next/static/chunks/{0f6vrjsdauiwl.js → 0-~4vw4_9z_0_.js} +2 -2
  27. package/dist/web/_next/static/chunks/0..g0jl-8qup7.js +1 -0
  28. package/dist/web/_next/static/chunks/0.006.ycpe92w.js +496 -0
  29. package/dist/web/_next/static/chunks/0.6x8f.mb-1qf.js +1 -0
  30. package/dist/web/_next/static/chunks/{0qe5wvs8fe9ip.js → 004wt62de8617.js} +1 -1
  31. package/dist/web/_next/static/chunks/016xz2o-hv3am.js +1 -0
  32. package/dist/web/_next/static/chunks/01gi~q0c6ez6..js +1 -0
  33. package/dist/web/_next/static/chunks/023lpc7n70tav.css +1 -0
  34. package/dist/web/_next/static/chunks/03me5_ir..2ix.js +1 -0
  35. package/dist/web/_next/static/chunks/04fk~8rnrvs44.js +1 -0
  36. package/dist/web/_next/static/chunks/05eu2fdixf7c9.js +1 -0
  37. package/dist/web/_next/static/chunks/05gt_g_vbzh-5.css +1 -0
  38. package/dist/web/_next/static/chunks/06vadtvw631k5.css +1 -0
  39. package/dist/web/_next/static/chunks/07ge_85i__6pb.js +1 -0
  40. package/dist/web/_next/static/chunks/07ne4g8zopykv.js +1 -0
  41. package/dist/web/_next/static/chunks/07xvadmf~8bow.js +1 -0
  42. package/dist/web/_next/static/chunks/08.u~dmq20cak.css +23 -0
  43. package/dist/web/_next/static/chunks/08ag2f8y6f8cr.js +1 -0
  44. package/dist/web/_next/static/chunks/{03sd~wmqw.9gc.js → 08kpa0nox.bb1.js} +2 -2
  45. package/dist/web/_next/static/chunks/08o-zmr-40r5g.js +1 -0
  46. package/dist/web/_next/static/chunks/0_-c.y2qq4ax4.js +270 -0
  47. package/dist/web/_next/static/chunks/0a1rewz7xr-xi.js +1 -0
  48. package/dist/web/_next/static/chunks/0amcocbojo4v2.js +1 -0
  49. package/dist/web/_next/static/chunks/0brrgp3ki5w4_.css +17 -0
  50. package/dist/web/_next/static/chunks/0bzmgi.ynrn.0.css +3 -0
  51. package/dist/web/_next/static/chunks/0c_vfzf1z7-rt.js +2 -0
  52. package/dist/web/_next/static/chunks/0cjmfclopcxho.css +1 -0
  53. package/dist/web/_next/static/chunks/0cs830n97dgjy.js +1 -0
  54. package/dist/web/_next/static/chunks/0d_dp_4ofz0l3.css +3 -0
  55. package/dist/web/_next/static/chunks/0dws-faof-ryx.css +13 -0
  56. package/dist/web/_next/static/chunks/0ejc_zlyocy_r.css +1 -0
  57. package/dist/web/_next/static/chunks/0esty_4gmxfq3.js +1 -0
  58. package/dist/web/_next/static/chunks/0evjw7bao5_e~.js +1 -0
  59. package/dist/web/_next/static/chunks/{0ag4p6m9rze~n.js → 0g-0n6glz_z6w.js} +1 -1
  60. package/dist/web/_next/static/chunks/{145qu5b0tgm9w.js → 0gig.k.rq8d0x.js} +1 -1
  61. package/dist/web/_next/static/chunks/0hl_7y464qll6.css +2 -0
  62. package/dist/web/_next/static/chunks/0hrbuvzuxrjfl.js +1 -0
  63. package/dist/web/_next/static/chunks/0i_3.3rdsu2mw.js +2 -0
  64. package/dist/web/_next/static/chunks/0i_gi.kq2dau8.css +1 -0
  65. package/dist/web/_next/static/chunks/0j00r2f_n-.lx.js +1 -0
  66. package/dist/web/_next/static/chunks/0jh9xnkimjkyh.js +1 -0
  67. package/dist/web/_next/static/chunks/0jokpgh485~28.js +167 -0
  68. package/dist/web/_next/static/chunks/0kvsjgpj7zcb9.css +9 -0
  69. package/dist/web/_next/static/chunks/0l5ab99s37x5f.js +1 -0
  70. package/dist/web/_next/static/chunks/0lcc9r.o.p.sc.js +1 -0
  71. package/dist/web/_next/static/chunks/0lh~x2tf~i1hd.css +2 -0
  72. package/dist/web/_next/static/chunks/0me8ho8j4tq7_.css +2 -0
  73. package/dist/web/_next/static/chunks/0mny8i81aenx3.js +1 -0
  74. package/dist/web/_next/static/chunks/0mt-7av8yrg0o.css +3 -0
  75. package/dist/web/_next/static/chunks/0njy89g5coeyi.js +60 -0
  76. package/dist/web/_next/static/chunks/0nsu~f3voe~0i.js +5 -0
  77. package/dist/web/_next/static/chunks/0ow~co9wcleka.js +173 -0
  78. package/dist/web/_next/static/chunks/0pldvk5_h__t7.css +3 -0
  79. package/dist/web/_next/static/chunks/0qad.lgvtlt0b.css +16 -0
  80. package/dist/web/_next/static/chunks/0qpq0~_58fe9a.js +18 -0
  81. package/dist/web/_next/static/chunks/{0.335m_d-cd_g.js → 0qtc_rbo1oghu.js} +1 -1
  82. package/dist/web/_next/static/chunks/0qz5~3wquy~3q.css +2 -0
  83. package/dist/web/_next/static/chunks/0rv0nj__24y60.js +10 -0
  84. package/dist/web/_next/static/chunks/{145gbwitjxamg.js → 0sz8_nijfiz0p.js} +1 -1
  85. package/dist/web/_next/static/chunks/0tvd~rxgf0oh_.js +1 -0
  86. package/dist/web/_next/static/chunks/0wv0h27jafag4.js +1 -0
  87. package/dist/web/_next/static/chunks/0wwvc4zc2q6bn.js +1 -0
  88. package/dist/web/_next/static/chunks/0x4b-a2ixww6m.js +1 -0
  89. package/dist/web/_next/static/chunks/0z8ipjj2z-3al.css +8 -0
  90. package/dist/web/_next/static/chunks/0zd1o3u04~qvo.js +127 -0
  91. package/dist/web/_next/static/chunks/0~2l1-8o4delc.js +1 -0
  92. package/dist/web/_next/static/chunks/0~w6ugk9s5p-h.css +1 -0
  93. package/dist/web/_next/static/chunks/10jfi.9fw5g48.js +1 -0
  94. package/dist/web/_next/static/chunks/11_tltlhc8.sj.js +1 -0
  95. package/dist/web/_next/static/chunks/125nunjfj2fj0.js +1 -0
  96. package/dist/web/_next/static/chunks/12md9ajfx2o85.css +1 -0
  97. package/dist/web/_next/static/chunks/12odetnu-lyrr.js +167 -0
  98. package/dist/web/_next/static/chunks/12u4g4uzrlten.js +2 -0
  99. package/dist/web/_next/static/chunks/134ozsnbd~0qw.js +1 -0
  100. package/dist/web/_next/static/chunks/13ess~4pdmxma.js +1 -0
  101. package/dist/web/_next/static/chunks/13xfagjq0q~tf.js +1 -0
  102. package/dist/web/_next/static/chunks/143.pbs8a1ivm.js +1 -0
  103. package/dist/web/_next/static/chunks/14_y_s_5rhsd1.css +5 -0
  104. package/dist/web/_next/static/chunks/15hca2.5le07..js +3 -0
  105. package/dist/web/_next/static/chunks/15rf3~h7sugz4.css +19 -0
  106. package/dist/web/_next/static/chunks/16i87txo0qh0h.css +6 -0
  107. package/dist/web/_next/static/chunks/16~udgv7eel6a.css +2 -0
  108. package/dist/web/_next/static/chunks/{turbopack-0-j2hpomozegf.js → turbopack-000x5q9w-wx10.js} +1 -1
  109. package/dist/web/_next/static/chunks/{turbopack-0rrhp9pbrv0p3.js → turbopack-0hrx111grzq49.js} +1 -1
  110. package/dist/web/_next/static/chunks/{turbopack-0_zn00zg5kmqz.js → turbopack-0w-kua.9ymd0x.js} +1 -1
  111. package/dist/web/_next/static/chunks/{turbopack-0l~pq1hytx49z.js → turbopack-15zqm_4ixj.18.js} +1 -1
  112. package/dist/web/_next/static/media/code-icon.0g3wskzlr7oxf.svg +1 -0
  113. package/dist/web/_next/static/media/codicon.0pqe-t5rtghj8.ttf +0 -0
  114. package/dist/web/_next/static/media/continue-tb.0qei4mru4tzd2.png +0 -0
  115. package/dist/web/_next/static/media/dark_modern.09.uq6bp373zs.json +1 -0
  116. package/dist/web/_next/static/media/dark_plus.187umr0~d1_r7.json +1 -0
  117. package/dist/web/_next/static/media/dark_vs.12ju8ocr7rg--.json +1 -0
  118. package/dist/web/_next/static/media/document-dark.0vvlbsi_fdy~4.svg +3 -0
  119. package/dist/web/_next/static/media/document-light.0bfi_yt9e~vk7.svg +3 -0
  120. package/dist/web/_next/static/media/editor.worker.0ffjdaaj15t6e.js +1 -0
  121. package/dist/web/_next/static/media/extensionHost.worker.14sz5xf8-1efr.js +2 -0
  122. package/dist/web/_next/static/media/fake.16yx0-xxqj4pc.html +10 -0
  123. package/dist/web/_next/static/media/folder-dark.02kdicw3013tb.svg +3 -0
  124. package/dist/web/_next/static/media/folder-light.0s165k4fp3.53.svg +3 -0
  125. package/dist/web/_next/static/media/folder-open-dark.0sk6.yh45uqs3.svg +4 -0
  126. package/dist/web/_next/static/media/folder-open-light.10k1v_ugaq8ic.svg +4 -0
  127. package/dist/web/_next/static/media/hc_black.0-ul9e2oc5twb.json +1 -0
  128. package/dist/web/_next/static/media/hc_light.0vi.a7fr.z4gy.json +1 -0
  129. package/dist/web/_next/static/media/index.0jmafs_mwcjgg.html +1341 -0
  130. package/dist/web/_next/static/media/keyboard-dark.0t86n~1rrhj2-.svg +10 -0
  131. package/dist/web/_next/static/media/keyboard-light.0abw0ukjcd9ox.svg +10 -0
  132. package/dist/web/_next/static/media/letterpress-dark.181s2xkw~lfyo.svg +3 -0
  133. package/dist/web/_next/static/media/letterpress-hcDark.0ftfw8fess-5y.svg +3 -0
  134. package/dist/web/_next/static/media/letterpress-hcLight.06x23d0.aixf_.svg +3 -0
  135. package/dist/web/_next/static/media/letterpress-light.0xb1bapis~iw7.svg +3 -0
  136. package/dist/web/_next/static/media/light_modern.00ps-apoc9ph7.json +1 -0
  137. package/dist/web/_next/static/media/light_plus.0ow37ouyuazdz.json +1 -0
  138. package/dist/web/_next/static/media/light_vs.0fdbve5sxkgq1.json +1 -0
  139. package/dist/web/_next/static/media/onig.0dk~55st~1x8..wasm +0 -0
  140. package/dist/web/_next/static/media/opacity-background.0-9.t0ta0ko23.png +0 -0
  141. package/dist/web/_next/static/media/package.0_p8a~hpmb_uj.json +1 -0
  142. package/dist/web/_next/static/media/package.nls.0e5hn-g497b64.json +1 -0
  143. package/dist/web/_next/static/media/pause-tb.0ttrm1r1uuz_c.png +0 -0
  144. package/dist/web/_next/static/media/restart-tb.086872s_sc2qv.png +0 -0
  145. package/dist/web/_next/static/media/root-folder-dark.14iwnfb7p2na~.svg +5 -0
  146. package/dist/web/_next/static/media/root-folder-light.0ljk9fi7sw3.2.svg +5 -0
  147. package/dist/web/_next/static/media/root-folder-open-dark.08vw3g9zvki33.svg +5 -0
  148. package/dist/web/_next/static/media/root-folder-open-light.0f46.ahns5c~..svg +5 -0
  149. package/dist/web/_next/static/media/run-with-debugging-tb.0j1h52k~h~72z.png +0 -0
  150. package/dist/web/_next/static/media/service-worker.0_udu6mraxn4k.js +543 -0
  151. package/dist/web/_next/static/media/stepinto-tb.0cl87yt4ub_j8.png +0 -0
  152. package/dist/web/_next/static/media/stepout-tb.0vjib_bn-_xax.png +0 -0
  153. package/dist/web/_next/static/media/stepover-tb.04beeu~7cxr4l.png +0 -0
  154. package/dist/web/_next/static/media/stop-tb.1498tmu97_y9j.png +0 -0
  155. package/dist/web/_next/static/media/vs_minimal-icon-theme.0-qs73lvw4voi.json +1 -0
  156. package/dist/web/_next/static/media/webWorkerExtensionHostIframe.0x2r1o97s.m0m.html +156 -0
  157. package/dist/web/_next/static/media/worker.081j0x4avp1l1.js +2 -0
  158. package/dist/web/_not-found/__next._full.txt +19 -19
  159. package/dist/web/_not-found/__next._head.txt +4 -4
  160. package/dist/web/_not-found/__next._index.txt +13 -13
  161. package/dist/web/_not-found/__next._not-found.__PAGE__.txt +2 -2
  162. package/dist/web/_not-found/__next._not-found.txt +3 -3
  163. package/dist/web/_not-found/__next._tree.txt +2 -2
  164. package/dist/web/_not-found.html +1 -1
  165. package/dist/web/_not-found.txt +19 -19
  166. package/dist/web/index.html +1 -1
  167. package/dist/web/index.txt +21 -21
  168. package/dist/web/login/__next._full.txt +21 -21
  169. package/dist/web/login/__next._head.txt +4 -4
  170. package/dist/web/login/__next._index.txt +13 -13
  171. package/dist/web/login/__next._tree.txt +2 -2
  172. package/dist/web/login/__next.login.__PAGE__.txt +4 -4
  173. package/dist/web/login/__next.login.txt +3 -3
  174. package/dist/web/login.html +1 -1
  175. package/dist/web/login.txt +21 -21
  176. package/dist/web/settings/__next._full.txt +23 -23
  177. package/dist/web/settings/__next._head.txt +4 -4
  178. package/dist/web/settings/__next._index.txt +13 -13
  179. package/dist/web/settings/__next._tree.txt +2 -2
  180. package/dist/web/settings/__next.settings.__PAGE__.txt +4 -4
  181. package/dist/web/settings/__next.settings.txt +5 -5
  182. package/dist/web/settings/agents/__next._full.txt +23 -23
  183. package/dist/web/settings/agents/__next._head.txt +4 -4
  184. package/dist/web/settings/agents/__next._index.txt +13 -13
  185. package/dist/web/settings/agents/__next._tree.txt +2 -2
  186. package/dist/web/settings/agents/__next.settings.agents.__PAGE__.txt +4 -4
  187. package/dist/web/settings/agents/__next.settings.agents.txt +3 -3
  188. package/dist/web/settings/agents/__next.settings.txt +5 -5
  189. package/dist/web/settings/agents.html +1 -1
  190. package/dist/web/settings/agents.txt +23 -23
  191. package/dist/web/settings/mcps/__next._full.txt +23 -23
  192. package/dist/web/settings/mcps/__next._head.txt +4 -4
  193. package/dist/web/settings/mcps/__next._index.txt +13 -13
  194. package/dist/web/settings/mcps/__next._tree.txt +2 -2
  195. package/dist/web/settings/mcps/__next.settings.mcps.__PAGE__.txt +4 -4
  196. package/dist/web/settings/mcps/__next.settings.mcps.txt +3 -3
  197. package/dist/web/settings/mcps/__next.settings.txt +5 -5
  198. package/dist/web/settings/mcps.html +1 -1
  199. package/dist/web/settings/mcps.txt +23 -23
  200. package/dist/web/settings/models/__next._full.txt +23 -23
  201. package/dist/web/settings/models/__next._head.txt +4 -4
  202. package/dist/web/settings/models/__next._index.txt +13 -13
  203. package/dist/web/settings/models/__next._tree.txt +2 -2
  204. package/dist/web/settings/models/__next.settings.models.__PAGE__.txt +4 -4
  205. package/dist/web/settings/models/__next.settings.models.txt +3 -3
  206. package/dist/web/settings/models/__next.settings.txt +5 -5
  207. package/dist/web/settings/models.html +1 -1
  208. package/dist/web/settings/models.txt +23 -23
  209. package/dist/web/settings/prompts/__next._full.txt +42 -0
  210. package/dist/web/settings/prompts/__next._head.txt +6 -0
  211. package/dist/web/settings/prompts/__next._index.txt +15 -0
  212. package/dist/web/settings/prompts/__next._tree.txt +8 -0
  213. package/dist/web/settings/prompts/__next.settings.prompts.__PAGE__.txt +9 -0
  214. package/dist/web/settings/prompts/__next.settings.prompts.txt +5 -0
  215. package/dist/web/settings/prompts/__next.settings.txt +7 -0
  216. package/dist/web/settings/prompts.html +1 -0
  217. package/dist/web/settings/prompts.txt +42 -0
  218. package/dist/web/settings/providers/__next._full.txt +23 -23
  219. package/dist/web/settings/providers/__next._head.txt +4 -4
  220. package/dist/web/settings/providers/__next._index.txt +13 -13
  221. package/dist/web/settings/providers/__next._tree.txt +2 -2
  222. package/dist/web/settings/providers/__next.settings.providers.__PAGE__.txt +4 -4
  223. package/dist/web/settings/providers/__next.settings.providers.txt +3 -3
  224. package/dist/web/settings/providers/__next.settings.txt +5 -5
  225. package/dist/web/settings/providers.html +1 -1
  226. package/dist/web/settings/providers.txt +23 -23
  227. package/dist/web/settings/skills/__next._full.txt +23 -23
  228. package/dist/web/settings/skills/__next._head.txt +4 -4
  229. package/dist/web/settings/skills/__next._index.txt +13 -13
  230. package/dist/web/settings/skills/__next._tree.txt +2 -2
  231. package/dist/web/settings/skills/__next.settings.skills.__PAGE__.txt +4 -4
  232. package/dist/web/settings/skills/__next.settings.skills.txt +3 -3
  233. package/dist/web/settings/skills/__next.settings.txt +5 -5
  234. package/dist/web/settings/skills.html +1 -1
  235. package/dist/web/settings/skills.txt +23 -23
  236. package/dist/web/settings.html +1 -1
  237. package/dist/web/settings.txt +23 -23
  238. package/dist/web/workflows/__next._full.txt +21 -21
  239. package/dist/web/workflows/__next._head.txt +4 -4
  240. package/dist/web/workflows/__next._index.txt +13 -13
  241. package/dist/web/workflows/__next._tree.txt +2 -2
  242. package/dist/web/workflows/__next.workflows.__PAGE__.txt +4 -4
  243. package/dist/web/workflows/__next.workflows.txt +3 -3
  244. package/dist/web/workflows.html +1 -1
  245. package/dist/web/workflows.txt +21 -21
  246. package/dist/web/workspace/_/__next._full.txt +68 -35
  247. package/dist/web/workspace/_/__next._head.txt +4 -4
  248. package/dist/web/workspace/_/__next._index.txt +13 -13
  249. package/dist/web/workspace/_/__next._tree.txt +15 -3
  250. package/dist/web/workspace/_/__next.workspace.$d$id.__PAGE__.txt +16 -4
  251. package/dist/web/workspace/_/__next.workspace.$d$id.txt +3 -3
  252. package/dist/web/workspace/_/__next.workspace.txt +3 -3
  253. package/dist/web/workspace/_.html +1 -1
  254. package/dist/web/workspace/_.txt +68 -35
  255. package/dist/web/workspaces/__next._full.txt +21 -21
  256. package/dist/web/workspaces/__next._head.txt +4 -4
  257. package/dist/web/workspaces/__next._index.txt +13 -13
  258. package/dist/web/workspaces/__next._tree.txt +2 -2
  259. package/dist/web/workspaces/__next.workspaces.__PAGE__.txt +4 -4
  260. package/dist/web/workspaces/__next.workspaces.txt +3 -3
  261. package/dist/web/workspaces.html +1 -1
  262. package/dist/web/workspaces.txt +21 -21
  263. package/dist/ws/agent-runner.js +158 -20
  264. package/dist/ws/handler.js +6 -1
  265. package/dist/ws/message-parts.js +20 -1
  266. package/dist/ws/terminal-handler.js +12 -7
  267. package/dist/ws/typescript-lsp.js +78 -0
  268. package/package.json +3 -1
  269. package/dist/web/_next/static/chunks/0-a17~4piefz_.js +0 -1
  270. package/dist/web/_next/static/chunks/01tyftu_-l7tm.css +0 -1
  271. package/dist/web/_next/static/chunks/028b9_5cyq-_m.js +0 -1
  272. package/dist/web/_next/static/chunks/0anuxr11yn5iv.js +0 -2
  273. package/dist/web/_next/static/chunks/0e.z4v3cd78dx.js +0 -1
  274. package/dist/web/_next/static/chunks/0egot8y~i-ge3.js +0 -1
  275. package/dist/web/_next/static/chunks/0eq7wt-l.fetc.js +0 -1
  276. package/dist/web/_next/static/chunks/0gtbd3yt7y1gx.js +0 -1
  277. package/dist/web/_next/static/chunks/0j2w71psq6w9u.js +0 -1
  278. package/dist/web/_next/static/chunks/0kyv5yika-41a.js +0 -1
  279. package/dist/web/_next/static/chunks/0ms3tsu4men_j.js +0 -204
  280. package/dist/web/_next/static/chunks/0plreh4_gkxf9.js +0 -1
  281. package/dist/web/_next/static/chunks/0qxk21zejhdbm.js +0 -1
  282. package/dist/web/_next/static/chunks/12gvpt~z9mn8w.js +0 -1
  283. package/dist/web/_next/static/chunks/14iaqoj9-09g..js +0 -2
  284. package/dist/web/_next/static/chunks/15dyaigebtnwg.js +0 -5
  285. package/dist/web/_next/static/chunks/17oc2l.ekcs8b.css +0 -1
  286. /package/dist/web/_next/static/{O5-QCW1u2YNyAUyaoYh6s → Pf6ZjtN82szw-ZzU9lITd}/_buildManifest.js +0 -0
  287. /package/dist/web/_next/static/{O5-QCW1u2YNyAUyaoYh6s → Pf6ZjtN82szw-ZzU9lITd}/_clientMiddlewareManifest.js +0 -0
  288. /package/dist/web/_next/static/{O5-QCW1u2YNyAUyaoYh6s → Pf6ZjtN82szw-ZzU9lITd}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,425024,e=>{"use strict";var t=e.i(650289),i=e.i(619122),n=e.i(770326),o=e.i(331139),r=e.i(4160),s=e.i(621826),a=e.i(608326),l=e.i(920374),c=e.i(951971);let d=s.Registry.as(r.Extensions.JSONContribution);class p{static _toSet(e){let t=new a.ExtensionIdentifierSet;for(let i=0,n=e.length;i<n;i++)t.add(e[i].description.identifier);return t}static compute(e,t){if(!e||!e.length)return new p(t,[]);if(!t||!t.length)return new p([],e);let i=this._toSet(e),n=this._toSet(t);return new p(t.filter(e=>!i.has(e.description.identifier)),e.filter(e=>!n.has(e.description.identifier)))}constructor(e,t){this.added=e,this.removed=t}}class u{constructor(e,t,i){this.name=e,this.defaultExtensionKind=t,this.canHandleResolver=i,this._handler=null,this._users=null,this._delta=null}setHandler(e){if(null!==this._handler)throw Error("Handler already set!");return this._handler=e,this._handle(),{dispose:()=>{this._handler=null}}}acceptUsers(e){this._delta=p.compute(this._users,e),this._users=e,this._handle()}_handle(){if(null!==this._handler&&null!==this._users&&null!==this._delta)try{this._handler(this._users,this._delta)}catch(e){(0,i.onUnexpectedError)(e)}}}let h={type:"string",enum:["ui","workspace"],enumDescriptions:[(0,t.localize)(14009,"UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),(0,t.localize)(14010,"Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote.")]},g="vscode://schemas/vscode-extensions",f={properties:{engines:{type:"object",description:(0,t.localize)(14011,"Engine compatibility."),properties:{vscode:{type:"string",description:(0,t.localize)(14012,"For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5."),default:"^1.22.0"}}},publisher:{description:(0,t.localize)(14013,"The publisher of the VS Code extension."),type:"string"},displayName:{description:(0,t.localize)(14014,"The display name for the extension used in the VS Code gallery."),type:"string"},categories:{description:(0,t.localize)(14015,"The categories used by the VS Code gallery to categorize the extension."),type:"array",uniqueItems:!0,items:{oneOf:[{type:"string",enum:a.EXTENSION_CATEGORIES},{type:"string",const:"Languages",deprecationMessage:(0,t.localize)(14016,"Use 'Programming Languages' instead")}]}},galleryBanner:{type:"object",description:(0,t.localize)(14017,"Banner used in the VS Code marketplace."),properties:{color:{description:(0,t.localize)(14018,"The banner color on the VS Code marketplace page header."),type:"string"},theme:{description:(0,t.localize)(14019,"The color theme for the font used in the banner."),type:"string",enum:["dark","light"]}}},contributes:{description:(0,t.localize)(14020,"All contributions of the VS Code extension represented by this package."),type:"object",properties:{},default:{}},preview:{type:"boolean",description:(0,t.localize)(14021,"Sets the extension to be flagged as a Preview in the Marketplace.")},enableProposedApi:{type:"boolean",deprecationMessage:(0,t.localize)(14022,"Use `enabledApiProposals` instead.")},enabledApiProposals:{markdownDescription:(0,t.localize)(14023,"Enable API proposals to try them out. Only valid **during development**. Extensions **cannot be published** with this property. For more details visit: https://code.visualstudio.com/api/advanced-topics/using-proposed-api"),type:"array",uniqueItems:!0,items:{type:"string",enum:Object.keys(c.allApiProposals).map(e=>e),markdownEnumDescriptions:Object.values(c.allApiProposals).map(e=>e.proposal)}},api:{markdownDescription:(0,t.localize)(14024,"Describe the API provided by this extension. For more details visit: https://code.visualstudio.com/api/advanced-topics/remote-extensions#handling-dependencies-with-remote-extensions"),type:"string",enum:["none"],enumDescriptions:[(0,t.localize)(14025,"Give up entirely the ability to export any APIs. This allows other extensions that depend on this extension to run in a separate extension host process or in a remote machine.")]},activationEvents:{description:(0,t.localize)(14026,"Activation events for the VS Code extension."),type:"array",items:{type:"string",defaultSnippets:[{label:"onWebviewPanel",description:(0,t.localize)(14027,"An activation event emmited when a webview is loaded of a certain viewType"),body:"onWebviewPanel:viewType"},{label:"onLanguage",description:(0,t.localize)(14028,"An activation event emitted whenever a file that resolves to the specified language gets opened."),body:"onLanguage:${1:languageId}"},{label:"onCommand",description:(0,t.localize)(14029,"An activation event emitted whenever the specified command gets invoked."),body:"onCommand:${2:commandId}"},{label:"onDebug",description:(0,t.localize)(14030,"An activation event emitted whenever a user is about to start debugging or about to setup debug configurations."),body:"onDebug"},{label:"onDebugInitialConfigurations",description:(0,t.localize)(14031,'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'),body:"onDebugInitialConfigurations"},{label:"onDebugDynamicConfigurations",description:(0,t.localize)(14032,'An activation event emitted whenever a list of all debug configurations needs to be created (and all provideDebugConfigurations methods for the "dynamic" scope need to be called).'),body:"onDebugDynamicConfigurations"},{label:"onDebugResolve",description:(0,t.localize)(14033,"An activation event emitted whenever a debug session with the specific type is about to be launched (and a corresponding resolveDebugConfiguration method needs to be called)."),body:"onDebugResolve:${6:type}"},{label:"onDebugAdapterProtocolTracker",description:(0,t.localize)(14034,"An activation event emitted whenever a debug session with the specific type is about to be launched and a debug protocol tracker might be needed."),body:"onDebugAdapterProtocolTracker:${6:type}"},{label:"workspaceContains",description:(0,t.localize)(14035,"An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern."),body:"workspaceContains:${4:filePattern}"},{label:"onStartupFinished",description:(0,t.localize)(14036,"An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating)."),body:"onStartupFinished"},{label:"onTaskType",description:(0,t.localize)(14037,"An activation event emitted whenever tasks of a certain type need to be listed or resolved."),body:"onTaskType:${1:taskType}"},{label:"onFileSystem",description:(0,t.localize)(14038,"An activation event emitted whenever a file or folder is accessed with the given scheme."),body:"onFileSystem:${1:scheme}"},{label:"onEditSession",description:(0,t.localize)(14039,"An activation event emitted whenever an edit session is accessed with the given scheme."),body:"onEditSession:${1:scheme}"},{label:"onSearch",description:(0,t.localize)(14040,"An activation event emitted whenever a search is started in the folder with the given scheme."),body:"onSearch:${7:scheme}"},{label:"onView",body:"onView:${5:viewId}",description:(0,t.localize)(14041,"An activation event emitted whenever the specified view is expanded.")},{label:"onUri",body:"onUri",description:(0,t.localize)(14042,"An activation event emitted whenever a system-wide Uri directed towards this extension is open.")},{label:"onOpenExternalUri",body:"onOpenExternalUri",description:(0,t.localize)(14043,"An activation event emitted whenever a external uri (such as an http or https link) is being opened.")},{label:"onCustomEditor",body:"onCustomEditor:${9:viewType}",description:(0,t.localize)(14044,"An activation event emitted whenever the specified custom editor becomes visible.")},{label:"onNotebook",body:"onNotebook:${1:type}",description:(0,t.localize)(14045,"An activation event emitted whenever the specified notebook document is opened.")},{label:"onAuthenticationRequest",body:"onAuthenticationRequest:${11:authenticationProviderId}",description:(0,t.localize)(14046,"An activation event emitted whenever sessions are requested from the specified authentication provider.")},{label:"onRenderer",description:(0,t.localize)(14047,"An activation event emitted whenever a notebook output renderer is used."),body:"onRenderer:${11:rendererId}"},{label:"onTerminalProfile",body:"onTerminalProfile:${1:terminalId}",description:(0,t.localize)(14048,"An activation event emitted when a specific terminal profile is launched.")},{label:"onTerminalQuickFixRequest",body:"onTerminalQuickFixRequest:${1:quickFixId}",description:(0,t.localize)(14049,"An activation event emitted when a command matches the selector associated with this ID")},{label:"onWalkthrough",body:"onWalkthrough:${1:walkthroughID}",description:(0,t.localize)(14050,"An activation event emitted when a specified walkthrough is opened.")},{label:"onIssueReporterOpened",body:"onIssueReporterOpened",description:(0,t.localize)(14051,"An activation event emitted when the issue reporter is opened.")},{label:"onChatParticipant",body:"onChatParticipant:${1:participantId}",description:(0,t.localize)(14052,"An activation event emitted when the specified chat participant is invoked.")},{label:"onLanguageModelChatProvider",body:"onLanguageModelChatProvider:${1:vendor}",description:(0,t.localize)(14053,"An activation event emitted when a chat model provider for the given vendor is requested.")},{label:"onLanguageModelTool",body:"onLanguageModelTool:${1:toolId}",description:(0,t.localize)(14054,"An activation event emitted when the specified language model tool is invoked.")},{label:"onTerminal",body:"onTerminal:{1:shellType}",description:(0,t.localize)(14055,"An activation event emitted when a terminal of the given shell type is opened.")},{label:"onTerminalShellIntegration",body:"onTerminalShellIntegration:${1:shellType}",description:(0,t.localize)(14056,"An activation event emitted when terminal shell integration is activated for the given shell type.")},{label:"onMcpCollection",description:(0,t.localize)(14057,"An activation event emitted whenver a tool from the MCP server is requested."),body:"onMcpCollection:${2:collectionId}"},{label:"*",description:(0,t.localize)(14058,"An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case."),body:"*"}]}},badges:{type:"array",description:(0,t.localize)(14059,"Array of badges to display in the sidebar of the Marketplace's extension page."),items:{type:"object",required:["url","href","description"],properties:{url:{type:"string",description:(0,t.localize)(14060,"Badge image URL.")},href:{type:"string",description:(0,t.localize)(14061,"Badge link.")},description:{type:"string",description:(0,t.localize)(14062,"Badge description.")}}}},markdown:{type:"string",description:(0,t.localize)(14063,"Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."),enum:["github","standard"],default:"github"},qna:{default:"marketplace",description:(0,t.localize)(14064,"Controls the Q&A link in the Marketplace. Set to marketplace to enable the default Marketplace Q & A site. Set to a string to provide the URL of a custom Q & A site. Set to false to disable Q & A altogether."),anyOf:[{type:["string","boolean"],enum:["marketplace",!1]},{type:"string"}]},extensionDependencies:{description:(0,t.localize)(14065,"Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),type:"array",uniqueItems:!0,items:{type:"string",pattern:o.EXTENSION_IDENTIFIER_PATTERN}},extensionPack:{description:(0,t.localize)(14066,"A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),type:"array",uniqueItems:!0,items:{type:"string",pattern:o.EXTENSION_IDENTIFIER_PATTERN}},extensionKind:{description:(0,t.localize)(14067,"Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."),type:"array",items:h,default:["workspace"],defaultSnippets:[{body:["ui"],description:(0,t.localize)(14068,"Define an extension which can run only on the local machine when connected to remote window.")},{body:["workspace"],description:(0,t.localize)(14069,"Define an extension which can run only on the remote machine when connected remote window.")},{body:["ui","workspace"],description:(0,t.localize)(14070,"Define an extension which can run on either side, with a preference towards running on the local machine.")},{body:["workspace","ui"],description:(0,t.localize)(14071,"Define an extension which can run on either side, with a preference towards running on the remote machine.")},{body:[],description:(0,t.localize)(14072,"Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine.")}]},capabilities:{description:(0,t.localize)(14073,"Declare the set of supported capabilities by the extension."),type:"object",properties:{virtualWorkspaces:{description:(0,t.localize)(14074,"Declares whether the extension should be enabled in virtual workspaces. A virtual workspace is a workspace which is not backed by any on-disk resources. When false, this extension will be automatically disabled in virtual workspaces. Default is true."),type:["boolean","object"],defaultSnippets:[{label:"limited",body:{supported:"${1:limited}",description:"${2}"}},{label:"false",body:{supported:!1,description:"${2}"}}],default:(!0).valueOf,properties:{supported:{markdownDescription:(0,t.localize)(14075,"Declares the level of support for virtual workspaces by the extension."),type:["string","boolean"],enum:["limited",!0,!1],enumDescriptions:[(0,t.localize)(14076,"The extension will be enabled in virtual workspaces with some functionality disabled."),(0,t.localize)(14077,"The extension will be enabled in virtual workspaces with all functionality enabled."),(0,t.localize)(14078,"The extension will not be enabled in virtual workspaces.")]},description:{type:"string",markdownDescription:(0,t.localize)(14079,"A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`.")}}},untrustedWorkspaces:{description:(0,t.localize)(14080,"Declares how the extension should be handled in untrusted workspaces."),type:"object",required:["supported"],defaultSnippets:[{body:{supported:"${1:limited}",description:"${2}"}}],properties:{supported:{markdownDescription:(0,t.localize)(14081,"Declares the level of support for untrusted workspaces by the extension."),type:["string","boolean"],enum:["limited",!0,!1],enumDescriptions:[(0,t.localize)(14082,"The extension will be enabled in untrusted workspaces with some functionality disabled."),(0,t.localize)(14083,"The extension will be enabled in untrusted workspaces with all functionality enabled."),(0,t.localize)(14084,"The extension will not be enabled in untrusted workspaces.")]},restrictedConfigurations:{description:(0,t.localize)(14085,"A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."),type:"array",items:{type:"string"}},description:{type:"string",markdownDescription:(0,t.localize)(14086,"A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`.")}}}}},sponsor:{description:(0,t.localize)(14087,"Specify the location from where users can sponsor your extension."),type:"object",defaultSnippets:[{body:{url:"${1:https:}"}}],properties:{url:{description:(0,t.localize)(14088,"URL from where users can sponsor your extension. It must be a valid URL with a HTTP or HTTPS protocol. Example value: https://github.com/sponsors/nvaccess"),type:"string"}}},scripts:{type:"object",properties:{"vscode:prepublish":{description:(0,t.localize)(14089,"Script executed before the package is published as a VS Code extension."),type:"string"},"vscode:uninstall":{description:(0,t.localize)(14090,"Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported."),type:"string"}}},icon:{type:"string",description:(0,t.localize)(14091,"The path to a 128x128 pixel icon.")},l10n:{type:"string",description:(0,t.localize)(14092,"The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.")},pricing:{type:"string",markdownDescription:(0,t.localize)(14093,"The pricing information for the extension. Can be Free (default) or Trial. For more details visit: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#extension-pricing-label"),enum:["Free","Trial"],default:"Free"}}},m="ExtensionsRegistry";s.Registry.add(m,new class{constructor(){this._extensionPoints=new Map}registerExtensionPoint(e){if(this._extensionPoints.has(e.extensionPoint))throw Error("Duplicate extension point: "+e.extensionPoint);let t=new u(e.extensionPoint,e.defaultExtensionKind,e.canHandleResolver);return this._extensionPoints.set(e.extensionPoint,t),e.activationEventsGenerator&&l.ImplicitActivationEvents.register(e.extensionPoint,e.activationEventsGenerator),f.properties.contributes.properties[e.extensionPoint]=e.jsonSchema,d.registerSchema(g,f),t}getExtensionPoints(){return Array.from(this._extensionPoints.values())}});let y=s.Registry.as(m);d.registerSchema(g,f),d.registerSchema("vscode://schemas/vscode-product",{properties:{extensionEnabledApiProposals:{description:(0,t.localize)(14094,"API proposals that the respective extensions can freely use."),type:"object",properties:{},additionalProperties:{anyOf:[{type:"array",uniqueItems:!0,items:{type:"string",enum:Object.keys(c.allApiProposals),markdownEnumDescriptions:Object.values(c.allApiProposals).map(e=>e.proposal)}}]}}}}),e.s(["ExtensionMessageCollector",0,class{constructor(e,t,i){this._messageHandler=e,this._extension=t,this._extensionPointId=i}_msg(e,t){this._messageHandler({type:e,message:t,extensionId:this._extension.identifier,extensionPointId:this._extensionPointId})}error(e){this._msg(n.default.Error,e)}warn(e){this._msg(n.default.Warning,e)}info(e){this._msg(n.default.Info,e)}},"ExtensionsRegistry",0,y],425024)},888961,e=>{"use strict";var t,i=e.i(621826);(t||(t={})).ExtensionFeaturesRegistry="workbench.registry.extensionFeatures",i.Registry.add(t.ExtensionFeaturesRegistry,new class{constructor(){this.extensionFeatures=new Map}registerExtensionFeature(e){if(this.extensionFeatures.has(e.id))throw Error(`Extension feature with id '${e.id}' already exists`);return this.extensionFeatures.set(e.id,e),{dispose:()=>this.extensionFeatures.delete(e.id)}}getExtensionFeature(e){return this.extensionFeatures.get(e)}getExtensionFeatures(){return Array.from(this.extensionFeatures.values())}}),e.s(["Extensions",0,t])},695519,e=>{"use strict";var t=e.i(281482),i=e.i(650289),n=e.i(642897),o=e.i(693162);e.i(488259);var r=e.i(243431),s=e.i(731931),a=e.i(253642),l=e.i(652731),c=e.i(981399),d=e.i(425024);e.i(157255);var p=e.i(853457),u=e.i(611130),h=e.i(888961),g=e.i(621826),f=e.i(526097),m=e.i(454514),y=e.i(399119),v=e.i(535567);let b=d.ExtensionsRegistry.registerExtensionPoint({extensionPoint:"languages",jsonSchema:{description:(0,i.localize)(14155,"Contributes language declarations."),type:"array",items:{type:"object",defaultSnippets:[{body:{id:"${1:languageId}",aliases:["${2:label}"],extensions:["${3:extension}"],configuration:"./language-configuration.json"}}],properties:{id:{description:(0,i.localize)(14156,"ID of the language."),type:"string"},aliases:{description:(0,i.localize)(14157,"Name aliases for the language."),type:"array",items:{type:"string"}},extensions:{description:(0,i.localize)(14158,"File extensions associated to the language."),default:[".foo"],type:"array",items:{type:"string"}},filenames:{description:(0,i.localize)(14159,"File names associated to the language."),type:"array",items:{type:"string"}},filenamePatterns:{description:(0,i.localize)(14160,"File name glob patterns associated to the language."),type:"array",items:{type:"string"}},mimetypes:{description:(0,i.localize)(14161,"Mime types associated to the language."),type:"array",items:{type:"string"}},firstLine:{description:(0,i.localize)(14162,"A regular expression matching the first line of a file of the language."),type:"string"},configuration:{description:(0,i.localize)(14163,"A relative path to a file containing configuration options for the language."),type:"string",default:"./language-configuration.json"},icon:{type:"object",description:(0,i.localize)(14164,"A icon to use as file icon, if no icon theme provides one for the language."),properties:{light:{description:(0,i.localize)(14165,"Icon path when a light theme is used"),type:"string"},dark:{description:(0,i.localize)(14166,"Icon path when a dark theme is used"),type:"string"}}}}}},activationEventsGenerator:function*(e){for(let t of e)t.id&&t.configuration&&(yield`onLanguage:${t.id}`)}});class E extends u.Disposable{constructor(){super(...arguments),this.type="table"}shouldRender(e){return!!e.contributes?.languages}render(e){let t=e.contributes,n=t?.languages||[],o=[];for(let e of n)C(e)&&o.push({id:e.id,name:(e.aliases||[])[0]||e.id,extensions:e.extensions||[],hasGrammar:!1,hasSnippets:!1});let r=(0,m.index)(o,e=>e.id);return((t?.grammars||[]).forEach(e=>{if(!(0,v.isString)(e.language))return;let t=r[e.language];t?t.hasGrammar=!0:(r[(t={id:e.language,name:e.language,extensions:[],hasGrammar:!0,hasSnippets:!1}).id]=t,o.push(t))}),(t?.snippets||[]).forEach(e=>{if(!(0,v.isString)(e.language))return;let t=r[e.language];t?t.hasSnippets=!0:(r[(t={id:e.language,name:e.language,extensions:[],hasGrammar:!1,hasSnippets:!0}).id]=t,o.push(t))}),o.length)?{data:{headers:[(0,i.localize)(14167,"ID"),(0,i.localize)(14168,"Name"),(0,i.localize)(14169,"File Extensions"),(0,i.localize)(14170,"Grammar"),(0,i.localize)(14171,"Snippets")],rows:o.sort((e,t)=>e.id.localeCompare(t.id)).map(e=>[e.id,e.name,new y.MarkdownString().appendMarkdown(`${e.extensions.map(e=>`\`${e}\``).join("&nbsp;")}`),e.hasGrammar?"✔︎":"—",e.hasSnippets?"✔︎":"—"])},dispose:()=>{}}:{data:{headers:[],rows:[]},dispose:()=>{}}}}g.Registry.as(h.Extensions.ExtensionFeaturesRegistry).registerExtensionFeature({id:"languages",label:(0,i.localize)(14172,"Programming Languages"),access:{canToggle:!1},renderer:new f.SyncDescriptor(E)});let x=class extends r.LanguageService{constructor(e,t,n,r){super(n.verbose||n.isExtensionDevelopment||!n.isBuilt),this.logService=r,this._configurationService=t,this._extensionService=e,b.setHandler(e=>{let t=[];for(let n=0,r=e.length;n<r;n++){let r=e[n];if(!Array.isArray(r.value)){r.collector.error((0,i.localize)(14173,"Invalid `contributes.{0}`. Expected an array.",b.name));continue}for(let e=0,i=r.value.length;e<i;e++){let i=r.value[e];if(C(i,r.collector)){let e;i.configuration&&(e=(0,o.joinPath)(r.description.extensionLocation,i.configuration)),t.push({id:i.id,extensions:i.extensions,filenames:i.filenames,filenamePatterns:i.filenamePatterns,firstLine:i.firstLine,aliases:i.aliases,mimetypes:i.mimetypes,configuration:e,icon:i.icon&&{light:(0,o.joinPath)(r.description.extensionLocation,i.icon.light),dark:(0,o.joinPath)(r.description.extensionLocation,i.icon.dark)}})}}}this._registry.setDynamicLanguages(t)}),this.updateMime(),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(l.FILES_ASSOCIATIONS_CONFIG)&&this.updateMime()})),this._extensionService.whenInstalledExtensionsRegistered().then(()=>{this.updateMime()}),this._register(this.onDidRequestRichLanguageFeatures(e=>{this._extensionService.activateByEvent(`onLanguage:${e}`),this._extensionService.activateByEvent("onLanguage")}))}updateMime(){let e=this._configurationService.getValue();(0,n.clearConfiguredLanguageAssociations)(),e.files?.associations&&Object.keys(e.files.associations).forEach(t=>{let i=e.files.associations[t];if("string"!=typeof i)return void this.logService.warn(`Ignoring configured 'files.associations' for '${t}' because its type is not a string but '${typeof i}'`);let o=this.getMimeType(i)||`text/x-${i}`;(0,n.registerConfiguredLanguageAssociation)({id:i,mime:o,filepattern:t})}),this._onDidChange.fire()}};function w(e){return void 0===e||!!Array.isArray(e)&&e.every(e=>"string"==typeof e)}function C(e,t){return e?"string"!=typeof e.id?(t?.error((0,i.localize)(14175,"property `{0}` is mandatory and must be of type `string`","id")),!1):w(e.extensions)?w(e.filenames)?void 0!==e.firstLine&&"string"!=typeof e.firstLine?(t?.error((0,i.localize)(14178,"property `{0}` can be omitted and must be of type `string`","firstLine")),!1):void 0!==e.configuration&&"string"!=typeof e.configuration?(t?.error((0,i.localize)(14179,"property `{0}` can be omitted and must be of type `string`","configuration")),!1):w(e.aliases)?w(e.mimetypes)?void 0===e.icon||"object"==typeof e.icon&&"string"==typeof e.icon.light&&"string"==typeof e.icon.dark||(t?.error((0,i.localize)(14182,"property `{0}` can be omitted and must be of type `object` with properties `{1}` and `{2}` of type `string`","icon","light","dark")),!1):(t?.error((0,i.localize)(14181,"property `{0}` can be omitted and must be of type `string[]`","mimetypes")),!1):(t?.error((0,i.localize)(14180,"property `{0}` can be omitted and must be of type `string[]`","aliases")),!1):(t?.error((0,i.localize)(14177,"property `{0}` can be omitted and must be of type `string[]`","filenames")),!1):(t?.error((0,i.localize)(14176,"property `{0}` can be omitted and must be of type `string[]`","extensions")),!1):(t?.error((0,i.localize)(14174,"Empty value for `contributes.{0}`",b.name)),!1)}x=(0,t.__decorate)([(0,t.__param)(0,c.IExtensionService),(0,t.__param)(1,s.IConfigurationService),(0,t.__param)(2,a.IEnvironmentService),(0,t.__param)(3,p.ILogService)],x),e.s(["WorkbenchLanguageService",0,x,"languagesExtPoint",0,b])},163731,e=>{"use strict";var t,i,n,o,r,s,a,l,c=e.i(600345);function d(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===c.EditorType.ICodeEditor}function p(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===c.EditorType.IDiffEditor}function u(e){return!!e&&"object"==typeof e&&"function"==typeof e.onDidChangeActiveEditor}(t=r||(r={}))[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW",(i=s||(s={}))[i.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",i[i.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",i[i.TOP_CENTER=2]="TOP_CENTER",(n=a||(a={}))[n.UNKNOWN=0]="UNKNOWN",n[n.TEXTAREA=1]="TEXTAREA",n[n.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",n[n.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",n[n.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",n[n.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",n[n.CONTENT_TEXT=6]="CONTENT_TEXT",n[n.CONTENT_EMPTY=7]="CONTENT_EMPTY",n[n.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",n[n.CONTENT_WIDGET=9]="CONTENT_WIDGET",n[n.OVERVIEW_RULER=10]="OVERVIEW_RULER",n[n.SCROLLBAR=11]="SCROLLBAR",n[n.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",n[n.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(o=l||(l={}))[o.Idle=0]="Idle",o[o.ComputingDiff=1]="ComputingDiff",o[o.DiffComputed=2]="DiffComputed",e.s(["ContentWidgetPositionPreference",0,r,"MouseTargetType",0,a,"OverlayWidgetPositionPreference",0,s,"getCodeEditor",0,function(e){return d(e)?e:p(e)?e.getModifiedEditor():u(e)&&d(e.activeCodeEditor)?e.activeCodeEditor:null},"getIEditor",0,function(e){return d(e)||p(e)?e:null},"isCodeEditor",0,d,"isCompositeEditor",0,u,"isDiffEditor",0,p])},407791,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("ILanguageFeaturesService");e.s(["ILanguageFeaturesService",0,t])},531452,e=>{"use strict";var t=e.i(611130);e.i(71224);var i=e.i(229081),n=e.i(4680),o=e.i(314122);e.s(["bindContextKey",0,function(e,i,r,s=n.DebugLocation.ofCaller()){let a=e.bindTo(i),l=new t.DisposableStore;return(0,o.derivedOpts)({debugName:()=>`Set Context Key "${e.key}"`},e=>{let t=r(e);return a.set(t),t},s).recomputeInitiallyAndOnChange(l),l},"observableConfigValue",0,function(e,t,o,r=n.DebugLocation.ofCaller()){return(0,i.observableFromEventOpts)({debugName:()=>`Configuration Key "${e}"`},t=>o.onDidChangeConfiguration(i=>{i.affectsConfiguration(e)&&t(i)}),()=>o.getValue(e)??t,r)}])},454683,e=>{"use strict";e.s(["WebWorkerDescriptor",0,class{constructor(e){this.esmModuleLocation=e.esmModuleLocation,this.esmModuleLocationBundler=e.esmModuleLocationBundler,this.label=e.label}}])},112231,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("textMateTokenizationFeature");e.s(["ITextMateTokenizationService",0,t])},88124,e=>{"use strict";let t="editor.semanticHighlighting";e.s(["SEMANTIC_HIGHLIGHTING_SETTING_ID",0,t,"isSemanticColoringEnabled",0,function(e,i,n){let o=n.getValue(t,{overrideIdentifier:e.getLanguageId(),resource:e.uri})?.enabled;return"boolean"==typeof o?o:i.getColorTheme().semanticHighlighting}])},561460,e=>{"use strict";var t=e.i(650289),i=e.i(292608);e.s(["getParseErrorMessage",0,function(e){switch(e){case i.ParseErrorCode.InvalidSymbol:return(0,t.localize)(111,"Invalid symbol");case i.ParseErrorCode.InvalidNumberFormat:return(0,t.localize)(112,"Invalid number format");case i.ParseErrorCode.PropertyNameExpected:return(0,t.localize)(113,"Property name expected");case i.ParseErrorCode.ValueExpected:return(0,t.localize)(114,"Value expected");case i.ParseErrorCode.ColonExpected:return(0,t.localize)(115,"Colon expected");case i.ParseErrorCode.CommaExpected:return(0,t.localize)(116,"Comma expected");case i.ParseErrorCode.CloseBraceExpected:return(0,t.localize)(117,"Closing brace expected");case i.ParseErrorCode.CloseBracketExpected:return(0,t.localize)(118,"Closing bracket expected");case i.ParseErrorCode.EndOfFileExpected:return(0,t.localize)(119,"End of file expected");default:return""}}])},455162,e=>{"use strict";var t=e.i(488259);let i=(0,t.createDecorator)("extensionGalleryService"),n=(0,t.createDecorator)("extensionManagementService"),o=(0,t.createDecorator)("IGlobalExtensionEnablementService"),r=(0,t.createDecorator)("IExtensionTipsService"),s=(0,t.createDecorator)("IAllowedExtensionsService");e.s(["IAllowedExtensionsService",0,s,"IExtensionGalleryService",0,i,"IExtensionManagementService",0,n,"IExtensionTipsService",0,r,"IGlobalExtensionEnablementService",0,o])},542034,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("extensionsWorkbenchService");e.s(["IExtensionsWorkbenchService",0,t])},322544,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("IUserDataInitializationService");e.s(["IUserDataInitializationService",0,t])},262072,e=>{"use strict";var t=e.i(650289);let i=Object.freeze({View:(0,t.localize2)(1740,"View"),Help:(0,t.localize2)(1741,"Help"),Test:(0,t.localize2)(1742,"Test"),File:(0,t.localize2)(1743,"File"),Preferences:(0,t.localize2)(1744,"Preferences"),Developer:(0,t.localize2)(1745,"Developer")});e.s(["Categories",0,i])},176876,e=>{"use strict";var t=e.i(253642);let i=(0,e.i(488259).refineServiceDecorator)(t.IEnvironmentService);e.s(["IBrowserWorkbenchEnvironmentService",0,i])},633450,e=>{"use strict";var t=e.i(702320),i=e.i(693162),n=e.i(802136),o=e.i(429200),r=e.i(652731),s=e.i(536367);let a=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function l(e){return e.replace(/[\s]/g,"/")}e.s(["fileIconSelectorEscape",0,l,"getIconClasses",0,function(e,c,d,p,u){if(s.ThemeIcon.isThemeIcon(u))return[`codicon-${u.id}`,"predefined-file-icon"];if(n.URI.isUri(u))return[];let h=p===r.FileKind.ROOT_FOLDER?["rootfolder-icon"]:p===r.FileKind.FOLDER?["folder-icon"]:["file-icon"];if(d){let n;if(d.scheme===t.Schemas.data)n=i.DataUri.parseMetaData(d).get(i.DataUri.META_DATA_LABEL);else{let e=d.path.match(a);e?(n=l(e[2].toLowerCase()),e[1]&&h.push(`${l(e[1].toLowerCase())}-name-dir-icon`)):n=l(d.authority.toLowerCase())}if(p===r.FileKind.ROOT_FOLDER)h.push(`${n}-root-name-folder-icon`);else if(p===r.FileKind.FOLDER)h.push(`${n}-name-folder-icon`);else{if(n){if(h.push(`${n}-name-file-icon`),h.push("name-file-icon"),n.length<=255){let e=n.split(".");for(let t=1;t<e.length;t++)h.push(`${e.slice(t).join(".")}-ext-file-icon`)}h.push("ext-file-icon")}let r=function(e,n,r){if(!r)return null;let s=null;if(r.scheme===t.Schemas.data){let e=i.DataUri.parseMetaData(r).get(i.DataUri.META_DATA_MIME);e&&(s=n.getLanguageIdByMimeType(e))}else{let t=e.getModel(r);t&&(s=t.getLanguageId())}return s&&s!==o.PLAINTEXT_LANGUAGE_ID?s:n.guessLanguageIdByFilepathOrFirstLine(r)}(e,c,d);r&&h.push(`${l(r)}-lang-file-icon`)}}return h},"getIconClassesForLanguageId",0,function(e){return["file-icon",`${l(e)}-lang-file-icon`]}])},905192,e=>{"use strict";var t=e.i(488259),i=e.i(970672);let n=(0,t.refineServiceDecorator)(i.IThemeService);e.s(["IWorkbenchThemeService",0,n])},509046,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("preferencesService");e.s(["IPreferencesService",0,t])},317317,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("hostColorSchemeService");e.s(["IHostColorSchemeService",0,t])},184687,e=>{e.q("/_next/static/media/webWorkerExtensionHostIframe.0x2r1o97s.m0m.html")},991307,425761,e=>{"use strict";let t=(0,e.i(488259).createDecorator)("IUserDataProfilesService");async function i(e){await new Promise(t=>setTimeout(t,e))}e.s(["IUserDataProfilesService",0,t],991307),e.s(["memoizedConstructor",0,function(e){var t;let i;return new Proxy(e,{construct:(t=(t,i)=>Reflect.construct(e,i),i=null,(...e)=>(null==i&&(i=t(...e)),i))})},"throttle",0,function(e,t,n){let o=Promise.resolve(),r=null;return async s=>{null==r?(r=s,o=o.then(async()=>await i(n)).then(async()=>{let t=r;r=null,await e(t)})):r=t(r,s),await o}},"unsupported",0,function(){throw Error("unsupported")}],425761)},13853,e=>{"use strict";var t,i,n=e.i(601293),o=e.i(561295);function r(e,t,i){e.has(t)?e.get(t).push(i):e.set(t,[i])}(t=i||(i={}))[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent",e.s(["AutoClosingPairs",0,class{constructor(e){for(const t of(this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map,e))r(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),r(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),r(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),r(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),1===t.close.length&&1===t.open.length&&r(this.autoClosingPairsCloseSingleChar,t.close,t)}},"IndentAction",0,i,"StandardAutoClosingPairConditional",0,class{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;t<i;t++)switch(e.notIn[t]){case"string":this._inString=!1;break;case"comment":this._inComment=!1;break;case"regex":this._inRegEx=!1}}isOK(e){switch(e){case o.StandardTokenType.Other:return!0;case o.StandardTokenType.Comment:return this._inComment;case o.StandardTokenType.String:return this._inString;case o.StandardTokenType.RegEx:return this._inRegEx}}shouldAutoClose(e,t){if(0===e.getTokenCount())return!0;let i=e.findTokenIndexAtOffset(t-2),n=e.getStandardTokenType(i);return this.isOK(n)}_findNeutralCharacterInRange(e,t){for(let i=e;i<=t;i++){let e=String.fromCharCode(i);if(!this.open.includes(e)&&!this.close.includes(e))return e}return null}findNeutralCharacter(){return!this._neutralCharacterSearched&&(this._neutralCharacterSearched=!0,this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(n.CharCode.Digit0,n.CharCode.Digit9)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(n.CharCode.a,n.CharCode.z)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(n.CharCode.A,n.CharCode.Z))),this._neutralCharacter}}])},715658,689318,508898,e=>{"use strict";var t=e.i(781808),i=e.i(611130),n=e.i(98342),o=e.i(786091),r=e.i(771275);function s(e,t,i,n,a,l){if(Array.isArray(e)){let o=0;for(let r of e){let e=s(r,t,i,n,a,l);if(10===e)return e;e>o&&(o=e)}return o}if("string"==typeof e)return n?"*"===e?5:10*(e===i):0;if(!e)return 0;{let{language:s,pattern:c,scheme:d,hasAccessToAllModels:p,notebookType:u}=e;if(!n&&!p)return 0;u&&a&&(t=a);let h=0;if(d)if(d===t.scheme)h=10;else{if("*"!==d)return 0;h=5}if(s)if(s===i)h=10;else{if("*"!==s)return 0;h=Math.max(h,5)}if(u)if(u===l)h=10;else{if("*"!==u||void 0===l)return 0;h=Math.max(h,5)}if(c){let e;if(!((e="string"==typeof c?c:{...c,base:(0,r.normalize)(c.base)})===t.fsPath||(0,o.match)(e,t.fsPath)))return 0;h=10}return h}}e.s(["score",0,s,"targetsNotebooks",0,function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.some(e):!!t.notebookType)}],689318);class a{constructor(e,t,i,n,o){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n,this.recursive=o}equals(e){return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&this.notebookUri?.toString()===e.notebookUri?.toString()&&this.recursive===e.recursive}}class l{get onDidChange(){return this._onDidChange.event}constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new t.Emitter}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,i.toDisposable)(()=>{if(n){let e=this._entries.indexOf(n);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e,!1);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}allNoModel(){return this._entries.map(e=>e.provider)}ordered(e,t=!1){let i=[];return this._orderedForEach(e,t,e=>i.push(e.provider)),i}orderedGroups(e){let t,i,n=[];return this._orderedForEach(e,!1,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t,i){for(let n of(this._updateScores(e,t),this._entries))n._score>0&&i(n)}_updateScores(e,t){let i=this._notebookInfoResolver?.(e.uri),o=i?new a(e.uri,e.getLanguageId(),i.uri,i.type,t):new a(e.uri,e.getLanguageId(),void 0,void 0,t);if(!this._lastCandidate?.equals(o)){for(let i of(this._lastCandidate=o,this._entries))if(i._score=s(i.selector,o.uri,o.languageId,(0,n.shouldSynchronizeModel)(e),o.notebookUri,o.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(i.selector)&&i._score>0)if(t)i._score=0;else{for(let e of this._entries)e._score=0;i._score=1e3;break}this._entries.sort(l._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:c(e.selector)&&!c(t.selector)?1:!c(e.selector)&&c(t.selector)?-1:e._time<t._time?1:e._time>t._time?-1:0}}function c(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(c):!!e.isBuiltin)}e.s(["LanguageFeatureRegistry",0,l],715658);let d=(0,e.i(488259).createDecorator)("ILanguageStatusService");e.s(["ILanguageStatusService",0,d],508898)}]);