@jxsuite/studio 5.2.0 → 5.4.0

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 (398) hide show
  1. package/data/css-meta.json +28 -27
  2. package/dist/chunks/{cf-account-picker-h4dab9bq.js → cf-account-picker-3f08rry6.js} +21 -18
  3. package/dist/chunks/{cf-settings-adg74qsk.js → cf-settings-m79r7p5y.js} +4 -4
  4. package/dist/chunks/{components-5y78e05d.js → components-xm826zjw.js} +3 -3
  5. package/dist/chunks/{content-source-sgg1sv6n.js → content-source-jt7rbcbc.js} +22 -22
  6. package/dist/chunks/{convert-to-repeater-mf1cxgfn.js → convert-to-repeater-vg38bq99.js} +22 -22
  7. package/dist/chunks/{editor-3qhbg51x.js → editor-ddy019sn.js} +2 -2
  8. package/dist/chunks/entry-commands-64nb2a9a.js +42 -0
  9. package/dist/chunks/{extension-sections-c6zwzbre.js → extension-sections-r73an5s6.js} +31 -30
  10. package/dist/chunks/{file-ops-vrpq1jjk.js → file-ops-3xan8mnj.js} +21 -21
  11. package/dist/chunks/{files-msaf95y6.js → files-egsb0ry8.js} +30 -29
  12. package/dist/chunks/{format-host-f64fnesp.js → format-host-mym8qnd0.js} +3 -3
  13. package/dist/chunks/{fs-events-3y6y0nrm.js → fs-events-z2gg8qjt.js} +4 -4
  14. package/dist/chunks/{git-panel-bv5e22j0.js → git-panel-a05atk6q.js} +20 -20
  15. package/dist/chunks/{grid-view-1p6hsyjx.css → grid-view-3g1h2re8.css} +956 -139
  16. package/dist/chunks/{grid-view-paj67nr5.js → grid-view-qaqer9kr.js} +24 -24
  17. package/dist/chunks/{icons-yy10wk9r.js → icons-drxq9q10.js} +8 -2
  18. package/dist/chunks/{iframe-host-dh5np8vk.js → iframe-host-psetcv20.js} +11 -11
  19. package/dist/chunks/{index-n4j7qxyr.js → index-9yjae3hz.js} +4 -4
  20. package/dist/chunks/{javascript-4abzjcy9.css → javascript-bc9z461d.css} +688 -54
  21. package/dist/chunks/{javascript-xvrfrpkb.js → javascript-hr5sg57n.js} +2 -2
  22. package/dist/chunks/{jsonMode-vvmpmk34.css → jsonMode-qqd9nm1t.css} +1120 -303
  23. package/dist/chunks/{jsonMode-tyx2kj6p.js → jsonMode-zs88v0wr.js} +4 -4
  24. package/dist/chunks/{jx-validate-j0wxk72w.js → jx-validate-epp2z3s3.js} +2 -2
  25. package/dist/chunks/layers-panel-83a16ytx.js +41 -0
  26. package/dist/chunks/{layers-1vcfdbet.js → layers-s6mc01ry.js} +3 -3
  27. package/dist/chunks/{listbox-6v2ac08j.js → listbox-b7jxnhq1.js} +19 -3
  28. package/dist/chunks/{media-picker-p49nhqhs.js → media-picker-nhn6rv4w.js} +11 -11
  29. package/dist/chunks/{menu-qht48vnc.js → menu-8j4qxjrp.js} +4 -4
  30. package/dist/chunks/{monaco-binding-sw6en4dw.js → monaco-binding-e8d9wzyk.js} +3 -3
  31. package/dist/chunks/{monaco-buffer-pykwbm92.js → monaco-buffer-jaq1t9zj.js} +2 -2
  32. package/dist/chunks/{monaco-setup-8vbyqnhr.css → monaco-setup-ey9cjcm3.css} +954 -137
  33. package/dist/chunks/{monaco-setup-8r62fj6y.js → monaco-setup-gsjdysze.js} +7 -7
  34. package/dist/chunks/{platform-ts9cg1a4.js → platform-fnchmhy7.js} +5 -3
  35. package/dist/chunks/publish-panel-ak6hxfma.js +27 -0
  36. package/dist/chunks/quick-search-c63mkt3b.js +47 -0
  37. package/dist/chunks/{references-h69xp9zz.js → references-f7bdv3z5.js} +3 -3
  38. package/dist/chunks/right-panel-t5n8wttg.js +45 -0
  39. package/dist/chunks/{split-g7nm1rgb.js → split-4cz4b6ef.js} +14 -3
  40. package/dist/chunks/{studio-sar8g54p.js → studio-01269reb.js} +8 -8
  41. package/dist/chunks/{studio-rnyf3f8e.js → studio-0a4gncx0.js} +3 -3
  42. package/dist/chunks/{studio-e1f24eff.js → studio-0d4p4wxj.js} +6778 -2993
  43. package/dist/chunks/{studio-4wbb9ct0.js → studio-1tejxvba.js} +3006 -1855
  44. package/dist/chunks/{studio-p6pmwkvh.js → studio-3nprwbd9.js} +147 -28
  45. package/dist/chunks/{studio-4c041r8y.js → studio-40z39dme.js} +3 -3
  46. package/dist/chunks/{studio-68fydsrj.js → studio-482eeazk.js} +20 -20
  47. package/dist/chunks/{studio-y4f9fdge.js → studio-4998spet.js} +10 -9
  48. package/dist/chunks/{studio-nq5yf5mp.js → studio-557bmn0x.js} +2 -2
  49. package/dist/chunks/{studio-hdc2jt3z.js → studio-5w26wza5.js} +3 -3
  50. package/dist/chunks/{studio-6nzaktvy.js → studio-6pwn9j8c.js} +6 -3
  51. package/dist/chunks/{studio-wnsyffg1.js → studio-6vg0x5fz.js} +3 -2
  52. package/dist/chunks/{studio-vn5hske5.js → studio-7d3c1m59.js} +12 -5
  53. package/dist/chunks/{studio-28vs5k2y.js → studio-9vsvz7w7.js} +7 -7
  54. package/dist/chunks/{studio-t3adrr56.js → studio-9wm0xzpf.js} +19 -19
  55. package/dist/chunks/{studio-38emantv.js → studio-a5h5j33a.js} +19 -5
  56. package/dist/chunks/{studio-ympe0n7a.js → studio-ag3z6shb.js} +10 -4
  57. package/dist/chunks/studio-aj9drheq.js +177 -0
  58. package/dist/chunks/{studio-vt0tj32j.js → studio-apv9x70c.js} +189 -130
  59. package/dist/chunks/{studio-c04nzbby.js → studio-b9q3znz8.js} +2 -2
  60. package/dist/chunks/{studio-2mdbbc76.js → studio-bh47w0cy.js} +9 -10
  61. package/dist/chunks/{studio-ez11dmdh.js → studio-dgdm6vvt.js} +264 -52
  62. package/dist/chunks/{studio-5nz00bhh.js → studio-dwdcr2e8.js} +4 -4
  63. package/dist/chunks/{studio-nqgawfks.js → studio-fbcyz234.js} +146 -139
  64. package/dist/chunks/{studio-kcgff4r0.js → studio-fgmfksz8.js} +2 -2
  65. package/dist/chunks/{studio-x72j58vw.js → studio-fqpkpq1t.js} +7 -4
  66. package/dist/chunks/{studio-15f3kxqe.js → studio-fy320dfc.js} +62 -68
  67. package/dist/chunks/{studio-zjjde71a.js → studio-gjj4bbfx.js} +2 -2
  68. package/dist/chunks/{studio-66arbpc2.js → studio-jfhxy8h3.js} +16 -15
  69. package/dist/chunks/{studio-d0300636.js → studio-ks2zzth2.js} +17 -2
  70. package/dist/chunks/{studio-c07s5ckd.js → studio-kwewmhhq.js} +4 -4
  71. package/dist/chunks/{studio-01jeck2y.js → studio-m58xn8at.js} +26 -25
  72. package/dist/chunks/{studio-mpzwze9x.js → studio-mfkh1q8d.js} +17 -17
  73. package/dist/chunks/{studio-etvx9s2g.js → studio-mrh0a92f.js} +17 -17
  74. package/dist/chunks/{studio-qa7fzxan.js → studio-mt79tn56.js} +3 -3
  75. package/dist/chunks/{studio-hhskq2mr.js → studio-ne593z1j.js} +39 -32
  76. package/dist/chunks/{studio-h4nvnjvz.js → studio-ptfcxkz5.js} +418 -232
  77. package/dist/chunks/{studio-4xmjcrg3.js → studio-qxye31h7.js} +7 -7
  78. package/dist/chunks/{studio-a1pswps3.js → studio-rav5bpmp.js} +81 -59
  79. package/dist/chunks/{studio-ncn9e189.js → studio-rwmmbrth.js} +6 -6
  80. package/dist/chunks/{studio-en82c639.js → studio-sceg8ws0.js} +8 -8
  81. package/dist/chunks/{studio-wjpgxywa.js → studio-sjas5b3a.js} +19 -13
  82. package/dist/chunks/{studio-4r14yzyy.js → studio-vd67b66d.js} +3 -3
  83. package/dist/chunks/{studio-14d9tq4d.js → studio-w475cbf9.js} +10 -10
  84. package/dist/chunks/{studio-ctm7bhx5.js → studio-w7gpcvfj.js} +9 -9
  85. package/dist/chunks/{studio-9j6sfeba.js → studio-xrbfdxgk.js} +7 -7
  86. package/dist/chunks/{studio-x10fp4tp.js → studio-y49b6mjv.js} +35 -35
  87. package/dist/chunks/{studio-5t7ena5z.js → studio-ygvr9e4q.js} +10 -10
  88. package/dist/chunks/{studio-z2smx5ce.js → studio-yxmmjy2a.js} +9 -6
  89. package/dist/chunks/{tsMode-jy4m86rv.js → tsMode-ay4c78ne.js} +4 -4
  90. package/dist/chunks/{tsMode-hnxxb73h.css → tsMode-c72wyz27.css} +954 -137
  91. package/dist/chunks/{workspace-bnw54cha.js → workspace-b9k2frks.js} +5 -5
  92. package/dist/chunks/{ws-client-ny4zc51r.js → ws-client-erze4czt.js} +356 -20
  93. package/dist/codicon.ttf +0 -0
  94. package/dist/iframe-entry.js +20 -18
  95. package/dist/studio.css +956 -139
  96. package/dist/studio.js +1511 -851
  97. package/dist/workers/editor.worker.js +196 -107
  98. package/dist/workers/json.worker.js +196 -107
  99. package/dist/workers/ts.worker.js +196 -107
  100. package/package.json +18 -17
  101. package/src/about/about-modal.ts +4 -3
  102. package/src/browse/library-commands.ts +15 -13
  103. package/src/browse/library-pane.ts +2 -2
  104. package/src/canvas/canvas-render.ts +97 -83
  105. package/src/canvas/canvas-surface.ts +2 -2
  106. package/src/canvas/canvas-utils.ts +42 -32
  107. package/src/canvas/diff-toolbar.ts +21 -2
  108. package/src/canvas/diff-view.ts +30 -6
  109. package/src/canvas/iframe-entry.ts +2 -2
  110. package/src/canvas/iframe-host.ts +5 -5
  111. package/src/canvas/iframe-interaction.ts +7 -6
  112. package/src/canvas/iframe-overlay.ts +1 -1
  113. package/src/canvas/iframe-protocol.ts +6 -5
  114. package/src/canvas/iframe-render.ts +3 -3
  115. package/src/canvas/popover-state.ts +1 -1
  116. package/src/canvas/stage-scrollbar.ts +112 -0
  117. package/src/canvas/surface-registry.ts +9 -2
  118. package/src/collab/collab-commands.ts +8 -6
  119. package/src/collab/collab-session.ts +4 -4
  120. package/src/collab/collab-state.ts +4 -4
  121. package/src/collab/presence-chips.ts +3 -3
  122. package/src/commands/app-commands.ts +7 -7
  123. package/src/commands/budget.ts +17 -16
  124. package/src/commands/command-args.ts +10 -9
  125. package/src/commands/context.ts +20 -10
  126. package/src/commands/defaults.ts +30 -29
  127. package/src/commands/levels.ts +8 -6
  128. package/src/commands/live-context.ts +12 -10
  129. package/src/commands/reference.ts +5 -5
  130. package/src/commands/registry.ts +2 -2
  131. package/src/content/draft-state.ts +9 -8
  132. package/src/content/entry-commands.ts +16 -14
  133. package/src/content/entry-editor.ts +2 -2
  134. package/src/content/entry-fields.ts +1 -1
  135. package/src/editor/context-menu.ts +4 -4
  136. package/src/editor/convert-to-component.ts +6 -5
  137. package/src/editor/inline-edit.ts +3 -3
  138. package/src/editor/shortcuts.ts +88 -20
  139. package/src/editor/slash-menu.ts +11 -10
  140. package/src/files/elements.ts +4 -5
  141. package/src/files/file-ops.ts +1 -1
  142. package/src/files/files.ts +21 -17
  143. package/src/files/serialize-document.ts +1 -1
  144. package/src/format/convert-file.ts +5 -5
  145. package/src/github/github-auth-status.ts +107 -0
  146. package/src/github/github-auth.ts +18 -82
  147. package/src/github/github-publish.ts +7 -6
  148. package/src/grid/cell-editors.ts +8 -7
  149. package/src/grid/grid-layout.ts +1 -1
  150. package/src/grid/grid-open.ts +6 -5
  151. package/src/grid/grid-panel.ts +13 -12
  152. package/src/grid/redirects-grid.ts +14 -11
  153. package/src/grid/redirects.ts +10 -5
  154. package/src/grid/sources/content-source.ts +10 -9
  155. package/src/hosting/document.ts +28 -1
  156. package/src/hosting/stage.ts +15 -4
  157. package/src/i18n/i18n-commands.ts +9 -7
  158. package/src/new-project/location-fields.ts +16 -3
  159. package/src/new-project/new-project-modal.ts +23 -7
  160. package/src/page-params.ts +6 -6
  161. package/src/panels/activity-panel.ts +11 -10
  162. package/src/panels/ai-chat/chat-view.ts +27 -14
  163. package/src/panels/ai-chat/composer.ts +10 -3
  164. package/src/panels/ai-panel.ts +87 -29
  165. package/src/panels/block-action-bar.ts +59 -33
  166. package/src/panels/bottom-dock.ts +22 -22
  167. package/src/panels/chat-panel.ts +40 -5
  168. package/src/panels/data-explorer.ts +9 -9
  169. package/src/panels/data-grid.ts +1 -1
  170. package/src/panels/editors.ts +8 -8
  171. package/src/panels/elements-panel.ts +7 -8
  172. package/src/panels/empty-state.ts +1 -1
  173. package/src/panels/events-panel.ts +13 -12
  174. package/src/panels/formula-workspace.ts +8 -5
  175. package/src/panels/frontmatter-fields.ts +4 -1
  176. package/src/panels/frontmatter-panel.ts +18 -18
  177. package/src/panels/git-panel.ts +19 -13
  178. package/src/panels/head-panel.ts +9 -10
  179. package/src/panels/i18n-panel.ts +6 -4
  180. package/src/panels/imports-panel.ts +1 -1
  181. package/src/panels/jump-bar.ts +20 -18
  182. package/src/panels/layers-panel.ts +19 -17
  183. package/src/panels/left-panel.ts +3 -3
  184. package/src/panels/navigator-panels.ts +8 -8
  185. package/src/panels/overlays.ts +1 -1
  186. package/src/panels/pane-context.ts +56 -28
  187. package/src/panels/pane-grid.ts +9 -8
  188. package/src/panels/panel-registry.ts +47 -19
  189. package/src/panels/problems-panel.ts +11 -12
  190. package/src/panels/properties-panel.ts +21 -20
  191. package/src/panels/provenance.ts +3 -3
  192. package/src/panels/quick-search.ts +15 -11
  193. package/src/panels/right-panel.ts +4 -3
  194. package/src/panels/seo-modal.ts +5 -4
  195. package/src/panels/settings-menu.ts +9 -9
  196. package/src/panels/settings-pane.ts +3 -3
  197. package/src/panels/signals-panel.ts +16 -9
  198. package/src/panels/statement-editor.ts +12 -9
  199. package/src/panels/style-panel.ts +45 -41
  200. package/src/panels/stylebook-panel.ts +0 -1
  201. package/src/panels/tab-strip.ts +26 -23
  202. package/src/platform-errors.ts +2 -2
  203. package/src/platform.ts +44 -4
  204. package/src/platforms/cloud.ts +11 -1
  205. package/src/platforms/default-platform.ts +141 -4
  206. package/src/platforms/devserver.ts +23 -3
  207. package/src/publish/deploy-checklist.ts +11 -10
  208. package/src/publish/publish-commands.ts +9 -8
  209. package/src/services/a11y-report.ts +1 -1
  210. package/src/services/ai-ask.ts +39 -16
  211. package/src/services/ai-command-tools.ts +28 -14
  212. package/src/services/ai-import-tools.ts +43 -29
  213. package/src/services/ai-project-tools.ts +20 -38
  214. package/src/services/ai-settings.ts +55 -2
  215. package/src/services/ai-tools.ts +69 -58
  216. package/src/services/ai-write-report.ts +4 -4
  217. package/src/services/ai-writes.ts +74 -55
  218. package/src/services/automation.ts +12 -12
  219. package/src/services/clock.ts +2 -1
  220. package/src/services/connection.ts +2 -2
  221. package/src/services/context-manager.ts +69 -6
  222. package/src/services/directory-picker.ts +93 -27
  223. package/src/services/document-assistant.ts +86 -17
  224. package/src/services/gated-registry.ts +4 -3
  225. package/src/services/idle.ts +5 -4
  226. package/src/services/live-surfaces.ts +2 -1
  227. package/src/services/module-preloads.ts +67 -0
  228. package/src/services/notify.ts +9 -7
  229. package/src/services/popover-report.ts +3 -3
  230. package/src/services/preview-eval.ts +1 -1
  231. package/src/services/project-adoption.ts +34 -1
  232. package/src/services/project-path.ts +53 -0
  233. package/src/services/settings/kernel.ts +13 -2
  234. package/src/services/tool-executor.ts +135 -30
  235. package/src/services/tool-outcomes.ts +143 -0
  236. package/src/settings/contexts-section.ts +8 -8
  237. package/src/settings/contributed-section.ts +6 -6
  238. package/src/settings/css-vars-editor.ts +6 -5
  239. package/src/settings/extension-commands.ts +19 -18
  240. package/src/settings/extension-sections.ts +7 -7
  241. package/src/settings/extensions-section.ts +3 -3
  242. package/src/settings/general-settings.ts +21 -18
  243. package/src/settings/preferences-accounts.ts +3 -3
  244. package/src/settings/preferences-dialog.ts +9 -8
  245. package/src/settings/preferences-sections.ts +1 -1
  246. package/src/settings/project-sections.ts +2 -2
  247. package/src/settings/section-registry.ts +7 -6
  248. package/src/settings/settings-document.ts +41 -43
  249. package/src/shell/tree.ts +29 -0
  250. package/src/shell.ts +63 -55
  251. package/src/site-context.ts +1 -1
  252. package/src/store.ts +2 -2
  253. package/src/studio.ts +52 -28
  254. package/src/style/live-preview.ts +8 -8
  255. package/src/style/project-styles.ts +8 -9
  256. package/src/style/token-ref.ts +2 -2
  257. package/src/surfaces/about.json +6 -2
  258. package/src/surfaces/add-repo.json +2 -2
  259. package/src/surfaces/add-repo.ts +2 -2
  260. package/src/surfaces/ai-chat.json +14 -6
  261. package/src/surfaces/ai-chat.ts +4 -2
  262. package/src/surfaces/ai-credentials-form.json +53 -49
  263. package/src/surfaces/ai-credentials-form.ts +18 -4
  264. package/src/surfaces/ai-managed-connect.json +4 -4
  265. package/src/surfaces/block-action-bar.json +4 -4
  266. package/src/surfaces/block-action-bar.ts +3 -3
  267. package/src/surfaces/boot-failure.json +228 -0
  268. package/src/surfaces/boot-failure.ts +156 -0
  269. package/src/surfaces/bottom-dock.json +1 -1
  270. package/src/surfaces/canvas-stage.json +9 -40
  271. package/src/surfaces/canvas-stage.ts +9 -9
  272. package/src/surfaces/cf-account-picker.json +11 -8
  273. package/src/surfaces/commandbar.ts +11 -10
  274. package/src/surfaces/convert-repeater.ts +3 -2
  275. package/src/surfaces/dialog.json +7 -1
  276. package/src/surfaces/dialog.ts +2 -2
  277. package/src/surfaces/doc-header.json +6 -13
  278. package/src/surfaces/doc-header.ts +4 -5
  279. package/src/surfaces/entry-editor.json +1 -1
  280. package/src/surfaces/entry-editor.ts +2 -1
  281. package/src/surfaces/expression-editor.json +5 -5
  282. package/src/surfaces/files-panel.json +4 -3
  283. package/src/surfaces/files-panel.ts +1 -1
  284. package/src/surfaces/formula-palette.json +10 -9
  285. package/src/surfaces/formula-palette.ts +11 -7
  286. package/src/surfaces/git-panel.json +167 -109
  287. package/src/surfaces/git-panel.ts +2 -2
  288. package/src/surfaces/github-auth.json +2 -1
  289. package/src/surfaces/github-publish.ts +3 -3
  290. package/src/surfaces/grid-open.json +1 -1
  291. package/src/surfaces/grid-panel.json +2 -2
  292. package/src/surfaces/grid-views.json +1 -1
  293. package/src/surfaces/inspector-dock.json +2 -2
  294. package/src/surfaces/jump-bar.json +1 -1
  295. package/src/surfaces/jump-bar.ts +1 -1
  296. package/src/surfaces/library-pane.ts +2 -1
  297. package/src/surfaces/logic-panel.json +7 -7
  298. package/src/surfaces/logic-panel.ts +6 -4
  299. package/src/surfaces/logic-workspace.json +2 -2
  300. package/src/surfaces/logic-workspace.ts +2 -2
  301. package/src/surfaces/media-browser.ts +3 -3
  302. package/src/surfaces/media-pane.ts +2 -1
  303. package/src/surfaces/menu.ts +5 -5
  304. package/src/surfaces/new-project.json +1 -1
  305. package/src/surfaces/palette.json +8 -7
  306. package/src/surfaces/pane-context.json +86 -57
  307. package/src/surfaces/pane-context.ts +2 -1
  308. package/src/surfaces/pane-grid.json +3 -3
  309. package/src/surfaces/panel-activity.json +2 -1
  310. package/src/surfaces/panel-deploy-checklist.json +1 -1
  311. package/src/surfaces/panel-elements.ts +2 -1
  312. package/src/surfaces/panel-i18n.ts +2 -1
  313. package/src/surfaces/panel-outline.json +1 -1
  314. package/src/surfaces/panel-outline.ts +4 -3
  315. package/src/surfaces/panel-page.json +2 -2
  316. package/src/surfaces/panel-page.ts +4 -1
  317. package/src/surfaces/panel-problems.json +4 -3
  318. package/src/surfaces/panel-problems.ts +2 -2
  319. package/src/surfaces/panel-signals.json +23 -8
  320. package/src/surfaces/panel-signals.ts +5 -1
  321. package/src/surfaces/panel-stylebook-layers.json +1 -1
  322. package/src/surfaces/panel-stylebook-layers.ts +2 -2
  323. package/src/surfaces/preferences.json +21 -8
  324. package/src/surfaces/preferences.ts +9 -1
  325. package/src/surfaces/properties-panel.json +4 -4
  326. package/src/surfaces/properties-panel.ts +2 -2
  327. package/src/surfaces/publish.json +1 -1
  328. package/src/surfaces/publish.ts +2 -1
  329. package/src/surfaces/push-plan.json +4 -3
  330. package/src/surfaces/rail.json +2 -2
  331. package/src/surfaces/rail.ts +10 -4
  332. package/src/surfaces/reference-field.json +1 -1
  333. package/src/surfaces/schema-form.json +2 -2
  334. package/src/surfaces/schema-form.ts +1 -1
  335. package/src/surfaces/seo.json +1 -1
  336. package/src/surfaces/seo.ts +2 -2
  337. package/src/surfaces/settings-contributed.ts +2 -1
  338. package/src/surfaces/settings-css-vars.json +4 -4
  339. package/src/surfaces/settings-deploy.json +4 -4
  340. package/src/surfaces/settings-deploy.ts +2 -1
  341. package/src/surfaces/settings-extensions.json +6 -6
  342. package/src/surfaces/settings-extensions.ts +6 -2
  343. package/src/surfaces/settings-locales.json +4 -4
  344. package/src/surfaces/settings-overview.ts +2 -1
  345. package/src/surfaces/settings-pane.ts +3 -2
  346. package/src/surfaces/settings-rawjson.ts +1 -1
  347. package/src/surfaces/slash-menu.ts +4 -4
  348. package/src/surfaces/statements.json +3 -3
  349. package/src/surfaces/statusbar.ts +23 -23
  350. package/src/surfaces/style-panel.json +9 -5
  351. package/src/surfaces/style-panel.ts +3 -3
  352. package/src/surfaces/tab-strip.json +2 -2
  353. package/src/surfaces/target-line.json +1 -1
  354. package/src/surfaces/target-line.ts +12 -10
  355. package/src/surfaces/welcome.json +7 -2
  356. package/src/tabs/doc-op-apply.ts +5 -5
  357. package/src/tabs/patch-ops.ts +3 -3
  358. package/src/tabs/project-config.ts +10 -10
  359. package/src/tabs/selection.ts +1 -1
  360. package/src/tabs/tab.ts +13 -14
  361. package/src/tabs/transact.ts +18 -24
  362. package/src/types.ts +27 -3
  363. package/src/ui/ai-credentials-form.ts +74 -16
  364. package/src/ui/ai-managed-connect.ts +68 -19
  365. package/src/ui/color-selector.ts +1 -1
  366. package/src/ui/expression-editor.ts +3 -3
  367. package/src/ui/form-controls.ts +6 -5
  368. package/src/ui/formula-catalog.ts +4 -4
  369. package/src/ui/formula-chips.ts +2 -2
  370. package/src/ui/layers.ts +20 -18
  371. package/src/ui/panel-resize.ts +8 -28
  372. package/src/ui/popover-surface.ts +2 -2
  373. package/src/ui/progress-modal.ts +3 -3
  374. package/src/ui/regions.ts +14 -9
  375. package/src/ui/schema-form.ts +10 -9
  376. package/src/ui/timing.ts +9 -7
  377. package/src/ui/value-source.ts +4 -4
  378. package/src/ui/virtual-window.ts +58 -5
  379. package/src/utils/base64.ts +20 -1
  380. package/src/utils/canvas-media.ts +1 -1
  381. package/src/utils/studio-utils.ts +0 -31
  382. package/src/view.ts +4 -3
  383. package/src/workspace/pane-derive.ts +14 -13
  384. package/src/workspace/session.ts +7 -6
  385. package/src/workspace/workspace.ts +49 -39
  386. package/styles/canvas.css +1 -27
  387. package/styles/inspector.css +4 -3
  388. package/styles/overlays.css +1 -1
  389. package/styles/tokens.css +17 -1
  390. package/styles/tokens.json +6 -1
  391. package/dist/chunks/entry-commands-w9qsxa6q.js +0 -42
  392. package/dist/chunks/layers-panel-fksbdg4q.js +0 -40
  393. package/dist/chunks/publish-panel-vz23wwmg.js +0 -27
  394. package/dist/chunks/quick-search-e9rp74m8.js +0 -46
  395. package/dist/chunks/right-panel-j97t2yvy.js +0 -45
  396. package/dist/chunks/studio-727xh0e3.js +0 -76
  397. package/src/files/json-layout.ts +0 -474
  398. package/src/services/ai-turn-signal.ts +0 -70
@@ -112,7 +112,6 @@ function assert(condition, messageOrError = "unexpected state") {
112
112
  }
113
113
  function assertFn(condition) {
114
114
  if (!condition()) {
115
- debugger;
116
115
  condition();
117
116
  onUnexpectedError(new BugIndicatingError("Assertion Failed"));
118
117
  }
@@ -560,7 +559,7 @@ function _format(message, args) {
560
559
  result = message;
561
560
  } else {
562
561
  result = message.replace(/\{(\d+)\}/g, (match, rest) => {
563
- const index = rest[0];
562
+ const index = parseInt(rest, 10);
564
563
  const arg = args[index];
565
564
  let result = match;
566
565
  if (typeof arg === "string") {
@@ -598,8 +597,10 @@ var LANGUAGE_DEFAULT = "en";
598
597
  var _isWindows = false;
599
598
  var _isMacintosh = false;
600
599
  var _isLinux = false;
600
+ var _isChromeOS = false;
601
601
  var _isNative = false;
602
602
  var _isWeb = false;
603
+ var _isElectron = false;
603
604
  var _isIOS = false;
604
605
  var _isMobile = false;
605
606
  var _locale = undefined;
@@ -621,6 +622,7 @@ if (typeof nodeProcess === "object") {
621
622
  _isMacintosh = nodeProcess.platform === "darwin";
622
623
  _isLinux = nodeProcess.platform === "linux";
623
624
  _isLinux && !!nodeProcess.env["SNAP"] && nodeProcess.env["SNAP_REVISION"];
625
+ _isElectron = isElectronProcess;
624
626
  !!nodeProcess.env["CI"] || !!nodeProcess.env["BUILD_ARTIFACTSTAGINGDIRECTORY"] || nodeProcess.env["GITHUB_WORKSPACE"];
625
627
  _locale = LANGUAGE_DEFAULT;
626
628
  _language = LANGUAGE_DEFAULT;
@@ -641,6 +643,7 @@ if (typeof nodeProcess === "object") {
641
643
  _isMacintosh = _userAgent.indexOf("Macintosh") >= 0;
642
644
  _isIOS = (_userAgent.indexOf("Macintosh") >= 0 || _userAgent.indexOf("iPad") >= 0 || _userAgent.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0;
643
645
  _isLinux = _userAgent.indexOf("Linux") >= 0;
646
+ _isChromeOS = _userAgent.indexOf("CrOS") >= 0;
644
647
  _isMobile = _userAgent?.indexOf("Mobi") >= 0;
645
648
  _isWeb = true;
646
649
  _language = getNLSLanguage() || LANGUAGE_DEFAULT;
@@ -660,6 +663,7 @@ if (_isMacintosh) {
660
663
  var isWindows = _isWindows;
661
664
  var isMacintosh = _isMacintosh;
662
665
  var isNative = _isNative;
666
+ var isElectron = _isElectron;
663
667
  var isWeb = _isWeb;
664
668
  var isWebWorker = _isWeb && typeof $globalThis.importScripts === "function";
665
669
  var webWorkerOrigin = isWebWorker ? $globalThis.origin : undefined;
@@ -697,6 +701,7 @@ var isFirefox = !!(userAgent && userAgent.indexOf("Firefox") >= 0);
697
701
  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0));
698
702
  var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0);
699
703
  var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0);
704
+ var hasElectronUserAgent = !!(userAgent && userAgent.indexOf("Electron") >= 0);
700
705
 
701
706
  // ../../node_modules/monaco-editor/esm/vs/base/common/process.js
702
707
  var safeProcess;
@@ -876,7 +881,7 @@ var Event;
876
881
  return d;
877
882
  }
878
883
  function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) {
879
- let subscription;
884
+ let subscription = Disposable.None;
880
885
  let output = undefined;
881
886
  let handle = undefined;
882
887
  let numDebouncedCalls = 0;
@@ -1296,12 +1301,13 @@ class EventProfiling {
1296
1301
  }
1297
1302
  }
1298
1303
  var _globalLeakWarningThreshold = -1;
1304
+ var leakageMonitorId = 1;
1305
+ function nextLeakageMonitorName() {
1306
+ return (leakageMonitorId++).toString(16).padStart(3, "0");
1307
+ }
1299
1308
 
1300
1309
  class LeakageMonitor {
1301
- static {
1302
- this._idPool = 1;
1303
- }
1304
- constructor(_errorHandler, threshold, name = (LeakageMonitor._idPool++).toString(16).padStart(3, "0")) {
1310
+ constructor(_errorHandler, threshold, name = nextLeakageMonitorName()) {
1305
1311
  this._errorHandler = _errorHandler;
1306
1312
  this.threshold = threshold;
1307
1313
  this.name = name;
@@ -1318,8 +1324,9 @@ class LeakageMonitor {
1318
1324
  if (!this._stacks) {
1319
1325
  this._stacks = new Map;
1320
1326
  }
1321
- const count = this._stacks.get(stack.value) || 0;
1322
- this._stacks.set(stack.value, count + 1);
1327
+ const stackKey = stack.value;
1328
+ const count = this._stacks.get(stackKey) || 0;
1329
+ this._stacks.set(stackKey, count + 1);
1323
1330
  this._warnCountdown -= 1;
1324
1331
  if (this._warnCountdown <= 0) {
1325
1332
  this._warnCountdown = threshold * 0.5;
@@ -1333,8 +1340,12 @@ class LeakageMonitor {
1333
1340
  this._errorHandler(error);
1334
1341
  }
1335
1342
  return () => {
1336
- const count = this._stacks.get(stack.value) || 0;
1337
- this._stacks.set(stack.value, count - 1);
1343
+ const count = this._stacks.get(stackKey) || 0;
1344
+ if (count <= 1) {
1345
+ this._stacks.delete(stackKey);
1346
+ } else {
1347
+ this._stacks.set(stackKey, count - 1);
1348
+ }
1338
1349
  };
1339
1350
  }
1340
1351
  getMostFrequentStack() {
@@ -1400,10 +1411,20 @@ class Emitter {
1400
1411
  constructor(options) {
1401
1412
  this._size = 0;
1402
1413
  this._options = options;
1403
- this._leakageMon = this._options?.leakWarningThreshold ? new LeakageMonitor(options?.onListenerError ?? onUnexpectedError, this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold, this._options?.leakWarningName) : undefined;
1414
+ if (this._options?.leakWarningThreshold) {
1415
+ this._leakWarningThreshold = this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold;
1416
+ this._leakWarningName = this._options?.leakWarningName ?? nextLeakageMonitorName();
1417
+ this._leakWarningErrorHandler = this._options?.onListenerError ?? onUnexpectedError;
1418
+ }
1404
1419
  this._perfMon = this._options?._profName ? new EventProfiling(this._options._profName) : undefined;
1405
1420
  this._deliveryQueue = this._options?.deliveryQueue;
1406
1421
  }
1422
+ _getLeakageMonitor() {
1423
+ if (this._leakWarningThreshold === undefined || this._leakWarningName === undefined || this._leakWarningErrorHandler === undefined) {
1424
+ return;
1425
+ }
1426
+ return this._leakageMon ??= new LeakageMonitor(this._leakWarningErrorHandler, this._leakWarningThreshold, this._leakWarningName);
1427
+ }
1407
1428
  dispose() {
1408
1429
  if (!this._disposed) {
1409
1430
  this._disposed = true;
@@ -1420,15 +1441,18 @@ class Emitter {
1420
1441
  }
1421
1442
  get event() {
1422
1443
  this._event ??= (callback, thisArgs, disposables) => {
1423
- if (this._leakageMon && this._size > this._leakageMon.threshold ** 2) {
1424
- const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;
1425
- console.warn(message);
1426
- const tuple = this._leakageMon.getMostFrequentStack() ?? ["UNKNOWN stack", -1];
1427
- const kind = tuple[1] / this._size > 0.3 ? "dominated" : "popular";
1428
- const error = new ListenerRefusalError(kind, `${message}. HINT: Stack shows most frequent listener (${tuple[1]}-times)`, tuple[0], this._size, this._options?.leakWarningName);
1429
- const errorHandler = this._options?.onListenerError || onUnexpectedError;
1430
- errorHandler(error);
1431
- return Disposable.None;
1444
+ if (this._leakWarningThreshold !== undefined && this._size > this._leakWarningThreshold ** 2) {
1445
+ const leakageMon = this._getLeakageMonitor();
1446
+ if (leakageMon) {
1447
+ const message = `[${leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${leakageMon.threshold})`;
1448
+ console.warn(message);
1449
+ const tuple = leakageMon.getMostFrequentStack() ?? ["UNKNOWN stack", -1];
1450
+ const kind = tuple[1] / this._size > 0.3 ? "dominated" : "popular";
1451
+ const error = new ListenerRefusalError(kind, `${message}. HINT: Stack shows most frequent listener (${tuple[1]}-times)`, tuple[0], this._size, this._options?.leakWarningName);
1452
+ const errorHandler = this._options?.onListenerError || onUnexpectedError;
1453
+ errorHandler(error);
1454
+ return Disposable.None;
1455
+ }
1432
1456
  }
1433
1457
  if (this._disposed) {
1434
1458
  return Disposable.None;
@@ -1438,9 +1462,12 @@ class Emitter {
1438
1462
  }
1439
1463
  const contained = new UniqueContainer(callback);
1440
1464
  let removeMonitor;
1441
- if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) {
1442
- contained.stack = Stacktrace.create();
1443
- removeMonitor = this._leakageMon.check(contained.stack, this._size + 1);
1465
+ if (this._leakWarningThreshold !== undefined && this._size >= Math.ceil(this._leakWarningThreshold * 0.2)) {
1466
+ const leakageMon = this._getLeakageMonitor();
1467
+ if (leakageMon) {
1468
+ contained.stack = Stacktrace.create();
1469
+ removeMonitor = leakageMon.check(contained.stack, this._size + 1);
1470
+ }
1444
1471
  }
1445
1472
  if (!this._listeners) {
1446
1473
  this._options?.onWillAddFirstListener?.(this);
@@ -5557,21 +5584,30 @@ function encodeURIComponentFast(uriComponent, isPath, isAuthority) {
5557
5584
  return res !== undefined ? res : uriComponent;
5558
5585
  }
5559
5586
  function encodeURIComponentMinimal(path) {
5560
- let res = undefined;
5561
- for (let pos = 0;pos < path.length; pos++) {
5587
+ let pos = path.indexOf("?");
5588
+ const hashPos = path.indexOf("#");
5589
+ if (pos === -1 || hashPos !== -1 && hashPos < pos) {
5590
+ pos = hashPos;
5591
+ }
5592
+ if (pos === -1) {
5593
+ return path;
5594
+ }
5595
+ let res = path.substring(0, pos);
5596
+ let copyStart = pos;
5597
+ for (;pos < path.length; pos++) {
5562
5598
  const code = path.charCodeAt(pos);
5563
5599
  if (code === 35 || code === 63) {
5564
- if (res === undefined) {
5565
- res = path.substr(0, pos);
5600
+ if (copyStart < pos) {
5601
+ res += path.substring(copyStart, pos);
5566
5602
  }
5567
5603
  res += encodeTable[code];
5568
- } else {
5569
- if (res !== undefined) {
5570
- res += path[pos];
5571
- }
5604
+ copyStart = pos + 1;
5572
5605
  }
5573
5606
  }
5574
- return res !== undefined ? res : path;
5607
+ if (copyStart < path.length) {
5608
+ res += path.substring(copyStart);
5609
+ }
5610
+ return res;
5575
5611
  }
5576
5612
  function uriToFsPath(uri, keepDriveLetterCasing) {
5577
5613
  let value;
@@ -5628,14 +5664,15 @@ function _asFormatted(uri, skipEncoding) {
5628
5664
  }
5629
5665
  }
5630
5666
  if (path) {
5667
+ const lowerScheme = scheme.toLowerCase();
5631
5668
  if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {
5632
5669
  const code = path.charCodeAt(1);
5633
- if (code >= 65 && code <= 90) {
5670
+ if (code >= 65 && code <= 90 && lowerScheme !== "http" && lowerScheme !== "https") {
5634
5671
  path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;
5635
5672
  }
5636
5673
  } else if (path.length >= 2 && path.charCodeAt(1) === 58) {
5637
5674
  const code = path.charCodeAt(0);
5638
- if (code >= 65 && code <= 90) {
5675
+ if (code >= 65 && code <= 90 && lowerScheme !== "http" && lowerScheme !== "https") {
5639
5676
  path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;
5640
5677
  }
5641
5678
  }
@@ -6487,7 +6524,50 @@ var codiconsLibrary = {
6487
6524
  vscodeInsidersOutline: register("vscode-insiders-outline", 60617),
6488
6525
  vscodeOutline: register("vscode-outline", 60618),
6489
6526
  voiceMode: register("voice-mode", 60619),
6490
- voiceModeCompact: register("voice-mode-compact", 60620)
6527
+ voiceModeCompact: register("voice-mode-compact", 60620),
6528
+ micDownload: register("mic-download", 60621),
6529
+ micDownloadCompact: register("mic-download-compact", 60622),
6530
+ voiceModeDownload: register("voice-mode-download", 60623),
6531
+ voiceModeDownloadCompact: register("voice-mode-download-compact", 60624),
6532
+ googleGemini: register("google-gemini", 60625),
6533
+ kimi: register("kimi", 60626),
6534
+ microsoft: register("microsoft", 60627),
6535
+ fish1Happy: register("fish1-happy", 60628),
6536
+ fish1Neutral: register("fish1-neutral", 60629),
6537
+ fish1Sad: register("fish1-sad", 60630),
6538
+ fish1VerySad: register("fish1-very-sad", 60631),
6539
+ fish2Happy: register("fish2-happy", 60632),
6540
+ fish2Neutral: register("fish2-neutral", 60633),
6541
+ fish2Sad: register("fish2-sad", 60634),
6542
+ fish2VerySad: register("fish2-very-sad", 60635),
6543
+ fish3Happy: register("fish3-happy", 60636),
6544
+ fish3Neutral: register("fish3-neutral", 60637),
6545
+ fish3Sad: register("fish3-sad", 60638),
6546
+ fish3VerySad: register("fish3-very-sad", 60639),
6547
+ fish4Happy: register("fish4-happy", 60640),
6548
+ fish4Neutral: register("fish4-neutral", 60641),
6549
+ fish4Sad: register("fish4-sad", 60642),
6550
+ fish4VerySad: register("fish4-very-sad", 60643),
6551
+ personVoice: register("person-voice", 60644),
6552
+ personVoiceCompact: register("person-voice-compact", 60645),
6553
+ personVoiceFilled: register("person-voice-filled", 60646),
6554
+ personVoiceFilledCompact: register("person-voice-filled-compact", 60647),
6555
+ cloudDownloadCompact: register("cloud-download-compact", 60648),
6556
+ cloudUploadCompact: register("cloud-upload-compact", 60649),
6557
+ micCompact: register("mic-compact", 60650),
6558
+ arrowUpCompact: register("arrow-up-compact", 60651),
6559
+ xai: register("xai", 60652),
6560
+ arrowCircleUpSparkle: register("arrow-circle-up-sparkle", 60653),
6561
+ closeSmall: register("close-small", 60654),
6562
+ bookCompact: register("book-compact", 60655),
6563
+ micOff: register("mic-off", 60656),
6564
+ micOffCompact: register("mic-off-compact", 60657),
6565
+ copilotDot: register("copilot-dot", 60658),
6566
+ copilotDotCompact: register("copilot-dot-compact", 60659),
6567
+ layoutDensityCompact: register("layout-density-compact", 60660),
6568
+ layoutDensityDefault: register("layout-density-default", 60661),
6569
+ gripperCorner: register("gripper-corner", 60662),
6570
+ meteredConnection: register("metered-connection", 60663)
6491
6571
  };
6492
6572
 
6493
6573
  // ../../node_modules/monaco-editor/esm/vs/base/common/codicons.js
@@ -6679,7 +6759,6 @@ var CompletionItemKinds;
6679
6759
  byKind.set(13, Codicon.symbolValue);
6680
6760
  byKind.set(15, Codicon.symbolEnum);
6681
6761
  byKind.set(14, Codicon.symbolConstant);
6682
- byKind.set(15, Codicon.symbolEnum);
6683
6762
  byKind.set(16, Codicon.symbolEnumMember);
6684
6763
  byKind.set(17, Codicon.symbolKeyword);
6685
6764
  byKind.set(28, Codicon.symbolSnippet);
@@ -6705,63 +6784,63 @@ var CompletionItemKinds;
6705
6784
  function toLabel(kind) {
6706
6785
  switch (kind) {
6707
6786
  case 0:
6708
- return localize(763, "Method");
6787
+ return localize(778, "Method");
6709
6788
  case 1:
6710
- return localize(764, "Function");
6789
+ return localize(779, "Function");
6711
6790
  case 2:
6712
- return localize(765, "Constructor");
6791
+ return localize(780, "Constructor");
6713
6792
  case 3:
6714
- return localize(766, "Field");
6793
+ return localize(781, "Field");
6715
6794
  case 4:
6716
- return localize(767, "Variable");
6795
+ return localize(782, "Variable");
6717
6796
  case 5:
6718
- return localize(768, "Class");
6797
+ return localize(783, "Class");
6719
6798
  case 6:
6720
- return localize(769, "Struct");
6799
+ return localize(784, "Struct");
6721
6800
  case 7:
6722
- return localize(770, "Interface");
6801
+ return localize(785, "Interface");
6723
6802
  case 8:
6724
- return localize(771, "Module");
6803
+ return localize(786, "Module");
6725
6804
  case 9:
6726
- return localize(772, "Property");
6805
+ return localize(787, "Property");
6727
6806
  case 10:
6728
- return localize(773, "Event");
6807
+ return localize(788, "Event");
6729
6808
  case 11:
6730
- return localize(774, "Operator");
6809
+ return localize(789, "Operator");
6731
6810
  case 12:
6732
- return localize(775, "Unit");
6811
+ return localize(790, "Unit");
6733
6812
  case 13:
6734
- return localize(776, "Value");
6813
+ return localize(791, "Value");
6735
6814
  case 14:
6736
- return localize(777, "Constant");
6815
+ return localize(792, "Constant");
6737
6816
  case 15:
6738
- return localize(778, "Enum");
6817
+ return localize(793, "Enum");
6739
6818
  case 16:
6740
- return localize(779, "Enum Member");
6819
+ return localize(794, "Enum Member");
6741
6820
  case 17:
6742
- return localize(780, "Keyword");
6821
+ return localize(795, "Keyword");
6743
6822
  case 18:
6744
- return localize(781, "Text");
6823
+ return localize(796, "Text");
6745
6824
  case 19:
6746
- return localize(782, "Color");
6825
+ return localize(797, "Color");
6747
6826
  case 20:
6748
- return localize(783, "File");
6827
+ return localize(798, "File");
6749
6828
  case 21:
6750
- return localize(784, "Reference");
6829
+ return localize(799, "Reference");
6751
6830
  case 22:
6752
- return localize(785, "Custom Color");
6831
+ return localize(800, "Custom Color");
6753
6832
  case 23:
6754
- return localize(786, "Folder");
6833
+ return localize(801, "Folder");
6755
6834
  case 24:
6756
- return localize(787, "Type Parameter");
6835
+ return localize(802, "Type Parameter");
6757
6836
  case 25:
6758
- return localize(788, "User");
6837
+ return localize(803, "User");
6759
6838
  case 26:
6760
- return localize(789, "Issue");
6839
+ return localize(804, "Issue");
6761
6840
  case 27:
6762
- return localize(790, "Tool");
6841
+ return localize(805, "Tool");
6763
6842
  case 28:
6764
- return localize(791, "Snippet");
6843
+ return localize(806, "Snippet");
6765
6844
  default:
6766
6845
  return "";
6767
6846
  }
@@ -6842,32 +6921,32 @@ var DocumentHighlightKind;
6842
6921
  DocumentHighlightKind[DocumentHighlightKind["Write"] = 2] = "Write";
6843
6922
  })(DocumentHighlightKind || (DocumentHighlightKind = {}));
6844
6923
  var symbolKindNames = {
6845
- [17]: localize(792, "array"),
6846
- [16]: localize(793, "boolean"),
6847
- [4]: localize(794, "class"),
6848
- [13]: localize(795, "constant"),
6849
- [8]: localize(796, "constructor"),
6850
- [9]: localize(797, "enumeration"),
6851
- [21]: localize(798, "enumeration member"),
6852
- [23]: localize(799, "event"),
6853
- [7]: localize(800, "field"),
6854
- [0]: localize(801, "file"),
6855
- [11]: localize(802, "function"),
6856
- [10]: localize(803, "interface"),
6857
- [19]: localize(804, "key"),
6858
- [5]: localize(805, "method"),
6859
- [1]: localize(806, "module"),
6860
- [2]: localize(807, "namespace"),
6861
- [20]: localize(808, "null"),
6862
- [15]: localize(809, "number"),
6863
- [18]: localize(810, "object"),
6864
- [24]: localize(811, "operator"),
6865
- [3]: localize(812, "package"),
6866
- [6]: localize(813, "property"),
6867
- [14]: localize(814, "string"),
6868
- [22]: localize(815, "struct"),
6869
- [25]: localize(816, "type parameter"),
6870
- [12]: localize(817, "variable")
6924
+ [17]: localize(807, "array"),
6925
+ [16]: localize(808, "boolean"),
6926
+ [4]: localize(809, "class"),
6927
+ [13]: localize(810, "constant"),
6928
+ [8]: localize(811, "constructor"),
6929
+ [9]: localize(812, "enumeration"),
6930
+ [21]: localize(813, "enumeration member"),
6931
+ [23]: localize(814, "event"),
6932
+ [7]: localize(815, "field"),
6933
+ [0]: localize(816, "file"),
6934
+ [11]: localize(817, "function"),
6935
+ [10]: localize(818, "interface"),
6936
+ [19]: localize(819, "key"),
6937
+ [5]: localize(820, "method"),
6938
+ [1]: localize(821, "module"),
6939
+ [2]: localize(822, "namespace"),
6940
+ [20]: localize(823, "null"),
6941
+ [15]: localize(824, "number"),
6942
+ [18]: localize(825, "object"),
6943
+ [24]: localize(826, "operator"),
6944
+ [3]: localize(827, "package"),
6945
+ [6]: localize(828, "property"),
6946
+ [14]: localize(829, "string"),
6947
+ [22]: localize(830, "struct"),
6948
+ [25]: localize(831, "type parameter"),
6949
+ [12]: localize(832, "variable")
6871
6950
  };
6872
6951
  var SymbolKinds;
6873
6952
  (function(SymbolKinds) {
@@ -7254,19 +7333,22 @@ var EditorOption;
7254
7333
  EditorOption[EditorOption["inertialScroll"] = 158] = "inertialScroll";
7255
7334
  EditorOption[EditorOption["inlayHints"] = 159] = "inlayHints";
7256
7335
  EditorOption[EditorOption["wrapOnEscapedLineFeeds"] = 160] = "wrapOnEscapedLineFeeds";
7257
- EditorOption[EditorOption["effectiveCursorStyle"] = 161] = "effectiveCursorStyle";
7258
- EditorOption[EditorOption["editorClassName"] = 162] = "editorClassName";
7259
- EditorOption[EditorOption["pixelRatio"] = 163] = "pixelRatio";
7260
- EditorOption[EditorOption["tabFocusMode"] = 164] = "tabFocusMode";
7261
- EditorOption[EditorOption["layoutInfo"] = 165] = "layoutInfo";
7262
- EditorOption[EditorOption["wrappingInfo"] = 166] = "wrappingInfo";
7263
- EditorOption[EditorOption["defaultColorDecorators"] = 167] = "defaultColorDecorators";
7264
- EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 168] = "colorDecoratorsActivatedOn";
7265
- EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 169] = "inlineCompletionsAccessibilityVerbose";
7266
- EditorOption[EditorOption["effectiveEditContext"] = 170] = "effectiveEditContext";
7267
- EditorOption[EditorOption["scrollOnMiddleClick"] = 171] = "scrollOnMiddleClick";
7268
- EditorOption[EditorOption["effectiveAllowVariableFonts"] = 172] = "effectiveAllowVariableFonts";
7269
- EditorOption[EditorOption["doubleClickSelectsBlock"] = 173] = "doubleClickSelectsBlock";
7336
+ EditorOption[EditorOption["wordWrapIndicator"] = 161] = "wordWrapIndicator";
7337
+ EditorOption[EditorOption["effectiveCursorStyle"] = 162] = "effectiveCursorStyle";
7338
+ EditorOption[EditorOption["editorClassName"] = 163] = "editorClassName";
7339
+ EditorOption[EditorOption["pixelRatio"] = 164] = "pixelRatio";
7340
+ EditorOption[EditorOption["tabFocusMode"] = 165] = "tabFocusMode";
7341
+ EditorOption[EditorOption["layoutInfo"] = 166] = "layoutInfo";
7342
+ EditorOption[EditorOption["wrappingInfo"] = 167] = "wrappingInfo";
7343
+ EditorOption[EditorOption["defaultColorDecorators"] = 168] = "defaultColorDecorators";
7344
+ EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 169] = "colorDecoratorsActivatedOn";
7345
+ EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 170] = "inlineCompletionsAccessibilityVerbose";
7346
+ EditorOption[EditorOption["effectiveEditContext"] = 171] = "effectiveEditContext";
7347
+ EditorOption[EditorOption["scrollOnMiddleClick"] = 172] = "scrollOnMiddleClick";
7348
+ EditorOption[EditorOption["effectiveAllowVariableFonts"] = 173] = "effectiveAllowVariableFonts";
7349
+ EditorOption[EditorOption["doubleClickSelectsBlock"] = 174] = "doubleClickSelectsBlock";
7350
+ EditorOption[EditorOption["fullwidthCharacterWidth"] = 175] = "fullwidthCharacterWidth";
7351
+ EditorOption[EditorOption["effectiveFullwidthCharacterWidth"] = 176] = "effectiveFullwidthCharacterWidth";
7270
7352
  })(EditorOption || (EditorOption = {}));
7271
7353
  var EndOfLinePreference;
7272
7354
  (function(EndOfLinePreference) {
@@ -11651,6 +11733,7 @@ var Schemas;
11651
11733
  Schemas.internal = "private";
11652
11734
  Schemas.walkThrough = "walkThrough";
11653
11735
  Schemas.walkThroughSnippet = "walkThroughSnippet";
11736
+ Schemas.vscodeOnboardingSample = "vscode-onboarding-sample";
11654
11737
  Schemas.http = "http";
11655
11738
  Schemas.https = "https";
11656
11739
  Schemas.file = "file";
@@ -11678,7 +11761,11 @@ var Schemas;
11678
11761
  Schemas.vscodeChatCodeCompareBlock = "vscode-chat-code-compare-block";
11679
11762
  Schemas.vscodeChatEditor = "vscode-chat-editor";
11680
11763
  Schemas.vscodeChatInput = "chatSessionInput";
11764
+ Schemas.sessionsChatInput = "sessions-chat";
11681
11765
  Schemas.vscodeLocalChatSession = "vscode-chat-session";
11766
+ Schemas.vscodeChatResponseResource = "vscode-chat-response-resource";
11767
+ Schemas.agentHostTerminal = "agenthost-terminal";
11768
+ Schemas.vscodeChatTerminalOutput = "vscode-chat-terminal-output";
11682
11769
  Schemas.webviewPanel = "webview-panel";
11683
11770
  Schemas.vscodeWebview = "vscode-webview";
11684
11771
  Schemas.vscodeBrowser = "vscode-browser";
@@ -11742,6 +11829,7 @@ class RemoteAuthoritiesImpl {
11742
11829
  }
11743
11830
  var RemoteAuthorities = new RemoteAuthoritiesImpl;
11744
11831
  var nodeModulesPath = "vs/../../node_modules";
11832
+ var nodeModulesAsarPath = "vs/../../node_modules.asar";
11745
11833
  var VSCODE_AUTHORITY = "vscode-app";
11746
11834
 
11747
11835
  class FileAccessImpl {
@@ -11824,9 +11912,10 @@ var COI;
11824
11912
  // ../../node_modules/monaco-editor/esm/vs/amdX.js
11825
11913
  function resolveAmdNodeModulePath(nodeModuleName, pathInsideNodeModule) {
11826
11914
  const product = globalThis._VSCODE_PRODUCT_JSON;
11827
- Boolean((product ?? globalThis.vscode?.context?.configuration()?.product)?.commit);
11915
+ const isBuilt = Boolean((product ?? globalThis.vscode?.context?.configuration()?.product)?.commit);
11916
+ const useASAR = isBuilt && (isElectron || isWebWorker && hasElectronUserAgent);
11828
11917
  const nodeModulePath = `${nodeModuleName}/${pathInsideNodeModule}`;
11829
- const actualNodeModulesPath = nodeModulesPath;
11918
+ const actualNodeModulesPath = useASAR ? nodeModulesAsarPath : nodeModulesPath;
11830
11919
  const resourcePath = `${actualNodeModulesPath}/${nodeModulePath}`;
11831
11920
  return FileAccess.asBrowserUri(resourcePath).toString(true);
11832
11921
  }