@hienlh/ppm 0.22.11 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (887) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/CLAUDE.md +14 -0
  3. package/THIRD-PARTY-NOTICES.md +1 -1
  4. package/assets/skills/ppm/SKILL.md +1 -1
  5. package/assets/skills/ppm/references/http-api.md +1 -1
  6. package/bun.lock +17 -0
  7. package/dist/web/assets/__vite-browser-external-CHpXvvmW.js +1 -0
  8. package/dist/web/assets/accounts-settings-section-BR7t8CEk.js +1 -0
  9. package/dist/web/assets/ai-resource-editor-BFVg2d2a.js +1 -0
  10. package/dist/web/assets/ai-settings-section-BJw7E_lM.js +1 -0
  11. package/dist/web/assets/ai-settings-section-CO-i3ghA.js +1 -0
  12. package/dist/web/assets/angular-html-D-rbk4zq.js +1 -0
  13. package/dist/web/assets/angular-ts-B_ldKah2.js +1 -0
  14. package/dist/web/assets/api-client-BgedDTvo.js +1 -0
  15. package/dist/web/assets/api-client-c8YOpTlT.js +1 -0
  16. package/dist/web/assets/api-settings-0s1Rfgcu.js +1 -0
  17. package/dist/web/assets/api-settings-Bnp28Ysw.js +1 -0
  18. package/dist/web/assets/api-themes-Pp-AZvwV.js +1 -0
  19. package/dist/web/assets/apl-19Dr02g6.js +1 -0
  20. package/dist/web/assets/appearance-settings-section-Ck_FPs9g.js +1 -0
  21. package/dist/web/assets/architecture-PBZL5I3N-B_n8ddB4.js +1 -0
  22. package/dist/web/assets/astro-1q5o0N64.js +1 -0
  23. package/dist/web/assets/audio-preview-DXtE1Lpz.js +1 -0
  24. package/dist/web/assets/blade-BNgXZCCk.js +1 -0
  25. package/dist/web/assets/branch-review-tab-CNVxMRuo.js +1 -0
  26. package/dist/web/assets/bsl-C5u8-gEq.js +1 -0
  27. package/dist/web/assets/button-CBehaXpV.js +1 -0
  28. package/dist/web/assets/c-Dko4ZphN.js +1 -0
  29. package/dist/web/assets/cairo-CrhmfCJH.js +1 -0
  30. package/dist/web/assets/chat-tab-DqLqcBci.js +1 -0
  31. package/dist/web/assets/chat-tab-MdU9Jr3F.js +15 -0
  32. package/dist/web/assets/cobol-BgRxrYyZ.js +1 -0
  33. package/dist/web/assets/code-editor-wEeCvvMR.js +7 -0
  34. package/dist/web/assets/codex-daily-guard-B21M4m-P.js +1 -0
  35. package/dist/web/assets/coffee-9hmEOIYs.js +1 -0
  36. package/dist/web/assets/conflict-editor-Cu-z_LdX.js +19 -0
  37. package/dist/web/assets/context-menu-CjYTq8DI.js +1 -0
  38. package/dist/web/assets/cpp-BntsLe3X.js +1 -0
  39. package/dist/web/assets/createLucideIcon-DBXq3G0e.js +1 -0
  40. package/dist/web/assets/crystal-CoXN2Gj8.js +1 -0
  41. package/dist/web/assets/css-DKuKlxIj.js +1 -0
  42. package/dist/web/assets/csv-preview-DHbBIqUu.js +2 -0
  43. package/dist/web/assets/data-grid-overlay-editor-2ERlh7_N.js +1 -0
  44. package/dist/web/assets/data-grid-types-DatI2Wee.js +1 -0
  45. package/dist/web/assets/database-viewer-_McYjRzc.js +1 -0
  46. package/dist/web/assets/design-export-client-SWCbGwwU.js +1 -0
  47. package/dist/web/assets/design-responsive-dialog-CcJETHO2.js +1 -0
  48. package/dist/web/assets/design-tab-C0TUD5g-.js +33 -0
  49. package/dist/web/assets/designs-sidebar-panel-XCAwSNtg.js +1 -0
  50. package/dist/web/assets/dialog-tzBRkGeW.js +1 -0
  51. package/dist/web/assets/diff-viewer-C4z-_68x.js +4 -0
  52. package/dist/web/assets/dist-CgtN5c7X.js +1 -0
  53. package/dist/web/assets/dist-wmDsBD_Z.js +1 -0
  54. package/dist/web/assets/docx-preview-C-UKGMXR.js +12 -0
  55. package/dist/web/assets/edge-gf7weBFr.js +1 -0
  56. package/dist/web/assets/edit-diff-preview-8nIct7kS.js +7 -0
  57. package/dist/web/assets/editor-language-service-D8hW_eew.js +1 -0
  58. package/dist/web/assets/elixir-DOEwBYus.js +1 -0
  59. package/dist/web/assets/elm-7yx1A5qt.js +1 -0
  60. package/dist/web/assets/erb-Bm_J_rBw.js +1 -0
  61. package/dist/web/assets/erlang-DgkAVj5y.js +1 -0
  62. package/dist/web/assets/esm-wquH4IhX.js +2 -0
  63. package/dist/web/assets/explorer-body-CdxolRQG.js +2 -0
  64. package/dist/web/assets/explorer-window-content-D1fkI_cL.js +1 -0
  65. package/dist/web/assets/extension-manager-section-CAaSoAuG.js +1 -0
  66. package/dist/web/assets/extension-webview-DmBZun_i.js +12 -0
  67. package/dist/web/assets/file-icons-BlOxPo3P.js +1 -0
  68. package/dist/web/assets/file-store-CTlJqj2m.js +1 -0
  69. package/dist/web/assets/files-settings-section-BFIzSuBh.js +1 -0
  70. package/dist/web/assets/format-date-BMtvCeb9.js +1 -0
  71. package/dist/web/assets/format-file-meta-DLaHgkdx.js +1 -0
  72. package/dist/web/assets/fortran-fixed-form-s8lQifxM.js +1 -0
  73. package/dist/web/assets/fs-api-RVc5RtTA.js +1 -0
  74. package/dist/web/assets/fsharp-D6bmDjka.js +1 -0
  75. package/dist/web/assets/gdresource-wPII3GWW.js +1 -0
  76. package/dist/web/assets/general-settings-section-BLLUvdhX.js +1 -0
  77. package/dist/web/assets/git-commit-DqLhxK6K.js +1 -0
  78. package/dist/web/assets/git-log-panel-Lq2Vkm8w.js +1 -0
  79. package/dist/web/assets/git-rebase-Cy0Mp9W1.js +1 -0
  80. package/dist/web/assets/git-repo-store-DFTJ5ngK.js +1 -0
  81. package/dist/web/assets/gitGraph-HDMCJU4V-w1WApLyy.js +1 -0
  82. package/dist/web/assets/glide-data-grid-CHdKFqis.js +141 -0
  83. package/dist/web/assets/glimmer-js-CmHFqq4N.js +1 -0
  84. package/dist/web/assets/glimmer-ts-vLmZC1JJ.js +1 -0
  85. package/dist/web/assets/glsl-DArPh0ws.js +1 -0
  86. package/dist/web/assets/graphql-B-_Ilekp.js +1 -0
  87. package/dist/web/assets/group-chat-tab-D2bluLme.js +1 -0
  88. package/dist/web/assets/hack-4KVRpwwM.js +1 -0
  89. package/dist/web/assets/haml-DoK94C5G.js +1 -0
  90. package/dist/web/assets/handlebars-D0_6yNlK.js +1 -0
  91. package/dist/web/assets/html-BOqZwhzR.js +1 -0
  92. package/dist/web/assets/html-derivative-If_2xbJ8.js +1 -0
  93. package/dist/web/assets/http-B6pQhqN4.js +1 -0
  94. package/dist/web/assets/hurl-BjW79rql.js +1 -0
  95. package/dist/web/assets/hxml-B1Yl76u6.js +1 -0
  96. package/dist/web/assets/icons-CO_II6D-.js +1 -0
  97. package/dist/web/assets/image-preview-78Fguk1f.js +1 -0
  98. package/dist/web/assets/index-CzYrKDUF.css +1 -0
  99. package/dist/web/assets/index-DSbUqWiH.js +52 -0
  100. package/dist/web/assets/info-3K5VOQVL-Bv1wKdPY.js +1 -0
  101. package/dist/web/assets/input-CP31LZnN.js +1 -0
  102. package/dist/web/assets/java-DPqGHyuh.js +1 -0
  103. package/dist/web/assets/javascript-D8x_R8ev.js +1 -0
  104. package/dist/web/assets/jinja-DOkXV84k.js +1 -0
  105. package/dist/web/assets/jira-watcher-section-BOe_ztas.js +1 -0
  106. package/dist/web/assets/jison-CGzlyBWT.js +1 -0
  107. package/dist/web/assets/json-kcFjaEWA.js +1 -0
  108. package/dist/web/assets/jsx-BzlJCumN.js +1 -0
  109. package/dist/web/assets/julia-CZrbm1Fa.js +1 -0
  110. package/dist/web/assets/just-bRG6zWI_.js +1 -0
  111. package/dist/web/assets/keybindings-store-DFPJBiXT.js +1 -0
  112. package/dist/web/assets/keyboard-shortcuts-section-CJubMhMq.js +1 -0
  113. package/dist/web/assets/latex-CZHLEkde.js +1 -0
  114. package/dist/web/assets/lib-KePrAxj7.js +4 -0
  115. package/dist/web/assets/liquid-Dcfq3Ccc.js +1 -0
  116. package/dist/web/assets/lua-Ggfu9EYp.js +1 -0
  117. package/dist/web/assets/markdown-renderer-6oU-L6RN.js +5 -0
  118. package/dist/web/assets/markdown-renderer-DxSQ4aqW.js +1 -0
  119. package/dist/web/assets/marko-BUwN_Iax.js +1 -0
  120. package/dist/web/assets/mdc-CIifdeNY.js +1 -0
  121. package/dist/web/assets/media-url-GqzhazJS.js +1 -0
  122. package/dist/web/assets/mobile-bottom-sheet-Cf4kV1hS.js +1 -0
  123. package/dist/web/assets/mobile-explorer-sheet-D0968cuP.js +1 -0
  124. package/dist/web/assets/monaco-dotenv-language-COsgiuQg.js +1 -0
  125. package/dist/web/assets/new-chat-provider-CJx_waY3.js +1 -0
  126. package/dist/web/assets/new-design-dialog-CbrMbKum.js +1 -0
  127. package/dist/web/assets/nextflow-DufnRZW1.js +1 -0
  128. package/dist/web/assets/nginx-DtUJGfad.js +1 -0
  129. package/dist/web/assets/nim-BeBPwibr.js +1 -0
  130. package/dist/web/assets/notification-store-BO3RInEL.js +1 -0
  131. package/dist/web/assets/notifications-settings-section-Bfxqz65i.js +1 -0
  132. package/dist/web/assets/number-overlay-editor-xzM7GhYV.js +9 -0
  133. package/dist/web/assets/onboarding-entry-CcvySZ_l.js +1 -0
  134. package/dist/web/assets/onboarding-quick-orientation-CT4PylG0.js +1 -0
  135. package/dist/web/assets/overview-panel-DshAIz6C.js +1 -0
  136. package/dist/web/assets/packet-RMMSAZCW-Scl5HE6U.js +1 -0
  137. package/dist/web/assets/panel-store-BUQ-CPsd.js +1 -0
  138. package/dist/web/assets/pdf-preview-BWim6mu1.js +1 -0
  139. package/dist/web/assets/perl-hV0EoLCp.js +1 -0
  140. package/dist/web/assets/php-N1YBqBhK.js +1 -0
  141. package/dist/web/assets/pie-UPGHQEXC-sY83O9qJ.js +1 -0
  142. package/dist/web/assets/portal-container-context-NFSuymMu.js +1 -0
  143. package/dist/web/assets/postgres-viewer-HwlL1UTJ.js +3 -0
  144. package/dist/web/assets/ppmbot-settings-section-CHr2FIDj.js +1 -0
  145. package/dist/web/assets/pptx-export-D6DOknBD.js +111 -0
  146. package/dist/web/assets/problems-panel-41z59l78.js +1 -0
  147. package/dist/web/assets/process-table-CVMEMJqQ.js +1 -0
  148. package/dist/web/assets/project-framework-store-XxFXcUpb.js +1 -0
  149. package/dist/web/assets/project-store-C5gJXkvb.js +1 -0
  150. package/dist/web/assets/proxy-settings-section-B4dkvCCx.js +1 -0
  151. package/dist/web/assets/pug-IMA1knL7.js +1 -0
  152. package/dist/web/assets/qml-DuwVuXga.js +1 -0
  153. package/dist/web/assets/query-audit-section-Cn11xqgz.js +1 -0
  154. package/dist/web/assets/r-DsXT2lmn.js +1 -0
  155. package/dist/web/assets/radar-KQ55EAFF-CNhm_kzj.js +1 -0
  156. package/dist/web/assets/razor-Be4LE-G0.js +1 -0
  157. package/dist/web/assets/react-CzUPVyyG.js +1 -0
  158. package/dist/web/assets/regexp-ztLDvplH.js +1 -0
  159. package/dist/web/assets/remote-desktop-clipboard-notice-Co4vEiiB.js +1 -0
  160. package/dist/web/assets/remote-desktop-mobile-sheet-Cv4yo7K4.js +2 -0
  161. package/dist/web/assets/remote-desktop-mobile-view-CcuulHIu.js +1 -0
  162. package/dist/web/assets/remote-desktop-readiness-gate-ouPRvBlu.js +1 -0
  163. package/dist/web/assets/remote-desktop-window-content-DmH3jBuG.js +1 -0
  164. package/dist/web/assets/rolldown-runtime-C5c2KzVm.js +1 -0
  165. package/dist/web/assets/rst-BdtOZUlL.js +1 -0
  166. package/dist/web/assets/ruby-DTna6e9n.js +1 -0
  167. package/dist/web/assets/run-in-terminal-SU9cwoZ4.js +1 -0
  168. package/dist/web/assets/sas-X50YKLBX.js +1 -0
  169. package/dist/web/assets/schedules-settings-section-Dy6hARk0.js +1 -0
  170. package/dist/web/assets/scroll-area-xAtds1T-.js +1 -0
  171. package/dist/web/assets/scss-cQk9zuqD.js +1 -0
  172. package/dist/web/assets/send-to-chat-TSKk3fI9.js +1 -0
  173. package/dist/web/assets/separator-D8SNZI6E.js +1 -0
  174. package/dist/web/assets/settings-body-CZSwxG0i.js +2 -0
  175. package/dist/web/assets/settings-store-DXmQug0m.js +2 -0
  176. package/dist/web/assets/settings-tab-B_WPC-y7.js +1 -0
  177. package/dist/web/assets/settings-window-content-CSWdwQn1.js +1 -0
  178. package/dist/web/assets/shaderlab-CSeOcwk6.js +1 -0
  179. package/dist/web/assets/shellscript-Dtzjnpp9.js +1 -0
  180. package/dist/web/assets/shellsession-AqADqsjv.js +1 -0
  181. package/dist/web/assets/soy-DeMex-y3.js +1 -0
  182. package/dist/web/assets/sparql-CDZTYDwx.js +1 -0
  183. package/dist/web/assets/sql-BS_vTOM8.js +1 -0
  184. package/dist/web/assets/sql-query-editor-6Ee_Zn5j.js +1 -0
  185. package/dist/web/assets/sqlite-viewer-Cj0S_m9V.js +1 -0
  186. package/dist/web/assets/stata-PkjbLwNy.js +1 -0
  187. package/dist/web/assets/surrealql-BJ6bKPXV.js +1 -0
  188. package/dist/web/assets/svelte-D4u1sGpe.js +1 -0
  189. package/dist/web/assets/system-monitor-body-PQqXdK4a.js +2 -0
  190. package/dist/web/assets/system-monitor-tab-BEjvgQuQ.js +1 -0
  191. package/dist/web/assets/system-monitor-window-content-DZwvvN-M.js +1 -0
  192. package/dist/web/assets/tab-host-window-content-CnV4Z4Yt.js +1 -0
  193. package/dist/web/assets/tab-store-DqeaGhhE.js +1 -0
  194. package/dist/web/assets/team-member-sheet-8EVCTM-X.js +2 -0
  195. package/dist/web/assets/team-member-window-content-Bc0ydBAn.js +1 -0
  196. package/dist/web/assets/templ-vtFoIgGG.js +1 -0
  197. package/dist/web/assets/terminal-tab-0b63-txz.js +3 -0
  198. package/dist/web/assets/tex-o6JLe3Qo.js +1 -0
  199. package/dist/web/assets/tool-cards-C09WknHl.js +9 -0
  200. package/dist/web/assets/treemap-KZPCXAKY-CfpX4ULx.js +1 -0
  201. package/dist/web/assets/ts-tags-DkmPnhIx.js +1 -0
  202. package/dist/web/assets/tsx-BUq9xm2T.js +1 -0
  203. package/dist/web/assets/twig-I9ja_Rk_.js +1 -0
  204. package/dist/web/assets/typescript-CP3RLBKz.js +1 -0
  205. package/dist/web/assets/use-blob-url-mZfScQdx.js +1 -0
  206. package/dist/web/assets/use-inline-blame-BuAc9IXE.js +16 -0
  207. package/dist/web/assets/use-is-mobile-CkO33jqU.js +1 -0
  208. package/dist/web/assets/use-lsp-DAtq1G0M.js +6 -0
  209. package/dist/web/assets/use-monaco-theme-Ch_znquJ.js +1 -0
  210. package/dist/web/assets/use-open-team-member-DHzZiJZw.js +1 -0
  211. package/dist/web/assets/use-visual-viewport-C307OVeV.js +1 -0
  212. package/dist/web/assets/use-websocket-DGEOad8p.js +1 -0
  213. package/dist/web/assets/vendor-markdown-QKPNiWEd.js +291 -0
  214. package/dist/web/assets/vendor-mermaid-eg2XWIjK.js +2921 -0
  215. package/dist/web/assets/vendor-ui-BHh12_0v.js +45 -0
  216. package/dist/web/assets/video-preview-DH3RtwVT.js +1 -0
  217. package/dist/web/assets/vue-DJf-APPD.js +1 -0
  218. package/dist/web/assets/vue-html-DUJ89Ycn.js +1 -0
  219. package/dist/web/assets/vue-vine-CWUFwuRE.js +1 -0
  220. package/dist/web/assets/window-pip-registry-DH07f_8k.js +1 -0
  221. package/dist/web/assets/window-store-B4cbZ5rr.js +1 -0
  222. package/dist/web/assets/ws-auth-B_y5rMfZ.js +1 -0
  223. package/dist/web/assets/xml-DshhaDKq.js +1 -0
  224. package/dist/web/assets/xsl-BlRNlmF7.js +1 -0
  225. package/dist/web/assets/yaml-seUOGdyI.js +1 -0
  226. package/dist/web/index.html +37 -36
  227. package/dist/web/sw.js +1 -1
  228. package/docs/architecture/workspace-and-ui.md +47 -0
  229. package/docs/project-roadmap.md +16 -0
  230. package/docs/system-architecture.md +11 -1
  231. package/package.json +4 -1
  232. package/scripts/gen-product-icons.ts +10 -0
  233. package/src/providers/claude-agent-sdk-query-options.ts +68 -1
  234. package/src/providers/claude-agent-sdk.ts +44 -15
  235. package/src/providers/codex-app-server/codex-event-mapper.ts +18 -1
  236. package/src/providers/codex-app-server/codex-jsonrpc-client.ts +4 -3
  237. package/src/providers/codex-app-server/codex-permission-map.ts +11 -1
  238. package/src/providers/codex-app-server/codex-protocol.ts +5 -0
  239. package/src/providers/codex-app-server/codex-provider.ts +32 -15
  240. package/src/providers/codex-app-server/codex-thread-params.ts +96 -0
  241. package/src/server/helpers/preview-asset-guard.ts +36 -0
  242. package/src/server/index.ts +15 -0
  243. package/src/server/routes/chat.ts +41 -4
  244. package/src/server/routes/design-check.ts +48 -0
  245. package/src/server/routes/design-comments.ts +63 -0
  246. package/src/server/routes/design-export.ts +84 -0
  247. package/src/server/routes/design-preview.ts +159 -0
  248. package/src/server/routes/design-route-helpers.ts +25 -0
  249. package/src/server/routes/design-style.ts +28 -0
  250. package/src/server/routes/design-tweaks.ts +38 -0
  251. package/src/server/routes/design-undo.ts +27 -0
  252. package/src/server/routes/designs.ts +101 -0
  253. package/src/server/routes/html-preview.ts +4 -24
  254. package/src/server/routes/project-scoped.ts +2 -0
  255. package/src/server/ws/chat.ts +8 -1
  256. package/src/server/ws/global.ts +22 -1
  257. package/src/services/chat.service.ts +64 -1
  258. package/src/services/db.service.ts +73 -4
  259. package/src/services/design/bridge/bridge-anchor-resolve.ts +96 -0
  260. package/src/services/design/bridge/bridge-core.ts +205 -0
  261. package/src/services/design/bridge/bridge-element-info.ts +180 -0
  262. package/src/services/design/bridge/bridge-extract-blocks.ts +115 -0
  263. package/src/services/design/bridge/bridge-extract-images.ts +96 -0
  264. package/src/services/design/bridge/bridge-extract-slides.ts +169 -0
  265. package/src/services/design/bridge/bridge-extract-text.ts +187 -0
  266. package/src/services/design/bridge/bridge-layout-boxes.ts +137 -0
  267. package/src/services/design/bridge/bridge-layout-check.ts +99 -0
  268. package/src/services/design/bridge/bridge-layout-grid.ts +165 -0
  269. package/src/services/design/bridge/bridge-layout-screenshot.ts +106 -0
  270. package/src/services/design/bridge/bridge-nav-guard.ts +61 -0
  271. package/src/services/design/bridge/bridge-picker-overlay.ts +54 -0
  272. package/src/services/design/bridge/bridge-picker.ts +174 -0
  273. package/src/services/design/bridge/bridge-pins.ts +157 -0
  274. package/src/services/design/bridge/bridge-script.ts +104 -0
  275. package/src/services/design/bridge/bridge-transform-math.ts +104 -0
  276. package/src/services/design/bridge/bridge-transform-overlay.ts +94 -0
  277. package/src/services/design/bridge/bridge-transform-style.ts +78 -0
  278. package/src/services/design/bridge/bridge-transform.ts +201 -0
  279. package/src/services/design/bridge/bridge-tweaks.ts +118 -0
  280. package/src/services/design/check/design-canvas-check-broker.ts +77 -0
  281. package/src/services/design/comments/design-comment-element-context.ts +81 -0
  282. package/src/services/design/comments/design-comments-store.ts +81 -0
  283. package/src/services/design/design-comments.service.ts +140 -0
  284. package/src/services/design/design-edit-undo-journal.ts +125 -0
  285. package/src/services/design/design-error.ts +19 -0
  286. package/src/services/design/design-events.ts +46 -0
  287. package/src/services/design/design-fs.ts +67 -0
  288. package/src/services/design/design-instructions.ts +97 -0
  289. package/src/services/design/design-lock.ts +74 -0
  290. package/src/services/design/design-manifest.ts +92 -0
  291. package/src/services/design/design-paths.ts +97 -0
  292. package/src/services/design/design-restore-journal.ts +143 -0
  293. package/src/services/design/design-restore.service.ts +77 -0
  294. package/src/services/design/design-safe-walk.ts +114 -0
  295. package/src/services/design/design-slug.ts +35 -0
  296. package/src/services/design/design-snapshot-history.ts +159 -0
  297. package/src/services/design/design-snapshots.service.ts +161 -0
  298. package/src/services/design/design-starter-template.ts +100 -0
  299. package/src/services/design/design-store.service.ts +156 -0
  300. package/src/services/design/design-style-patch.service.ts +83 -0
  301. package/src/services/design/design-tool-policy.ts +111 -0
  302. package/src/services/design/design-turn-snapshot.ts +80 -0
  303. package/src/services/design/design-tweaks-commit.service.ts +138 -0
  304. package/src/services/design/design-write-rate-limit.ts +51 -0
  305. package/src/services/design/export/css-url-inline.ts +130 -0
  306. package/src/services/design/export/design-export-asset-reader.ts +57 -0
  307. package/src/services/design/export/design-export-entry.ts +33 -0
  308. package/src/services/design/export/design-standalone-html.ts +167 -0
  309. package/src/services/design/export/design-zip-export.ts +106 -0
  310. package/src/services/design/mcp/design-mcp-access.ts +16 -0
  311. package/src/services/design/mcp/design-mcp-endpoint.ts +118 -0
  312. package/src/services/design/mcp/design-mcp-tokens.ts +82 -0
  313. package/src/services/design/mcp/design-mcp-tool.ts +41 -0
  314. package/src/services/design/preview/design-csp.ts +31 -0
  315. package/src/services/design/preview/design-preview-html.ts +98 -0
  316. package/src/services/design/preview/design-preview-scope.ts +66 -0
  317. package/src/services/design/preview/design-preview-tokens.ts +137 -0
  318. package/src/services/design/preview/expired-page.ts +30 -0
  319. package/src/services/design/preview/html-instrument.ts +119 -0
  320. package/src/services/design/preview/print-view.ts +62 -0
  321. package/src/services/design/source/css-root-selector.ts +20 -0
  322. package/src/services/design/source/css-root-vars-patch.ts +202 -0
  323. package/src/services/design/source/design-source-file.ts +62 -0
  324. package/src/services/design/source/design-style-sources.ts +101 -0
  325. package/src/services/design/source/element-source-range.ts +65 -0
  326. package/src/services/design/source/html-style-blocks.ts +87 -0
  327. package/src/services/design/source/inline-style-declarations.ts +131 -0
  328. package/src/services/design/source/inline-style-patch.ts +79 -0
  329. package/src/services/design/source/tweak-patch-plan.ts +143 -0
  330. package/src/services/file-watcher/ignore-rules.ts +9 -1
  331. package/src/services/server-listen-address.ts +25 -0
  332. package/src/shared/design-bridge-messages-check.ts +44 -0
  333. package/src/shared/design-bridge-messages-picker.ts +142 -0
  334. package/src/shared/design-bridge-messages-slides.ts +37 -0
  335. package/src/shared/design-bridge-messages-transform.ts +121 -0
  336. package/src/shared/design-bridge-messages-tweaks.ts +65 -0
  337. package/src/shared/design-bridge-protocol.ts +158 -0
  338. package/src/shared/design-canvas-check-format.ts +69 -0
  339. package/src/shared/design-canvas-check.ts +148 -0
  340. package/src/shared/design-cdn-hosts.ts +17 -0
  341. package/src/shared/design-comment-types.ts +111 -0
  342. package/src/shared/design-slide-doc-parse.ts +140 -0
  343. package/src/shared/design-slide-doc.ts +91 -0
  344. package/src/shared/design-system-init-prompt.ts +35 -0
  345. package/src/shared/design-tweaks.ts +175 -0
  346. package/src/shared/design-types.ts +63 -0
  347. package/src/shared/untrusted-text.ts +15 -0
  348. package/src/types/chat.ts +22 -0
  349. package/src/types/config.ts +1 -1
  350. package/src/web/components/chat/chat-history-bar.tsx +18 -15
  351. package/src/web/components/chat/chat-history-panel.tsx +3 -9
  352. package/src/web/components/chat/chat-tab.tsx +74 -40
  353. package/src/web/components/chat/message-input.tsx +11 -4
  354. package/src/web/components/chat/session-history-list.tsx +5 -9
  355. package/src/web/components/design/canvas/canvas-geometry.ts +47 -0
  356. package/src/web/components/design/canvas/design-canvas-pane.tsx +192 -0
  357. package/src/web/components/design/canvas/design-issues-badge.tsx +71 -0
  358. package/src/web/components/design/canvas/device-frame-presets.ts +37 -0
  359. package/src/web/components/design/canvas/use-design-bridge.ts +169 -0
  360. package/src/web/components/design/canvas/use-design-canvas-check.ts +110 -0
  361. package/src/web/components/design/canvas/use-design-canvas.ts +107 -0
  362. package/src/web/components/design/canvas/use-design-live-reload.ts +86 -0
  363. package/src/web/components/design/canvas/use-design-preview-url.ts +74 -0
  364. package/src/web/components/design/canvas/use-expanded-canvas-escape.ts +29 -0
  365. package/src/web/components/design/comments/comment-composer.tsx +107 -0
  366. package/src/web/components/design/comments/comment-overlay-geometry.ts +50 -0
  367. package/src/web/components/design/comments/comment-pins-overlay.tsx +70 -0
  368. package/src/web/components/design/comments/comments-panel.tsx +118 -0
  369. package/src/web/components/design/comments/comments-send-preview.tsx +43 -0
  370. package/src/web/components/design/comments/design-comments-layer.tsx +73 -0
  371. package/src/web/components/design/comments/element-action-bar.tsx +105 -0
  372. package/src/web/components/design/comments/use-comment-pins.ts +118 -0
  373. package/src/web/components/design/comments/use-design-comments-feature.ts +124 -0
  374. package/src/web/components/design/comments/use-design-comments.ts +89 -0
  375. package/src/web/components/design/comments/use-element-picker.ts +87 -0
  376. package/src/web/components/design/design-chat-pane.tsx +51 -0
  377. package/src/web/components/design/design-layout-controls.tsx +84 -0
  378. package/src/web/components/design/design-mobile-layout.tsx +34 -0
  379. package/src/web/components/design/design-split-layout.tsx +99 -0
  380. package/src/web/components/design/design-tab-context.ts +44 -0
  381. package/src/web/components/design/design-tab.tsx +116 -0
  382. package/src/web/components/design/design-toolbar-list.tsx +36 -0
  383. package/src/web/components/design/design-toolbar.tsx +200 -0
  384. package/src/web/components/design/designs-sidebar-panel.tsx +117 -0
  385. package/src/web/components/design/dialogs/delete-design-dialog.tsx +69 -0
  386. package/src/web/components/design/dialogs/design-responsive-dialog.tsx +48 -0
  387. package/src/web/components/design/dialogs/new-design-dialog.tsx +113 -0
  388. package/src/web/components/design/dialogs/rename-design-dialog.tsx +56 -0
  389. package/src/web/components/design/export/export-menu.tsx +108 -0
  390. package/src/web/components/design/export/export-warnings-sheet.tsx +35 -0
  391. package/src/web/components/design/export/pptx-export.ts +38 -0
  392. package/src/web/components/design/export/use-design-export.ts +142 -0
  393. package/src/web/components/design/history/design-history-panel.tsx +119 -0
  394. package/src/web/components/design/transform/design-undo-stack.ts +90 -0
  395. package/src/web/components/design/transform/transform-readout.tsx +50 -0
  396. package/src/web/components/design/transform/use-canvas-transform.ts +181 -0
  397. package/src/web/components/design/tweaks/tweak-control.tsx +94 -0
  398. package/src/web/components/design/tweaks/tweaks-panel.tsx +99 -0
  399. package/src/web/components/design/tweaks/use-design-tweaks.ts +151 -0
  400. package/src/web/components/design/use-design-auto-check.ts +94 -0
  401. package/src/web/components/design/use-design-layout.ts +55 -0
  402. package/src/web/components/design/use-design-summary.ts +63 -0
  403. package/src/web/components/layout/command-palette-design-commands.tsx +75 -0
  404. package/src/web/components/layout/command-palette.tsx +12 -4
  405. package/src/web/components/layout/editor-panel.tsx +4 -10
  406. package/src/web/components/layout/mobile-drawer.tsx +9 -2
  407. package/src/web/components/layout/mobile-nav.tsx +3 -2
  408. package/src/web/components/layout/mobile-tab-switcher-sheet.tsx +4 -5
  409. package/src/web/components/layout/sidebar.tsx +8 -1
  410. package/src/web/components/layout/tab-bar.tsx +3 -2
  411. package/src/web/components/layout/tab-content.tsx +5 -0
  412. package/src/web/components/layout/tab-pool.tsx +1 -0
  413. package/src/web/components/onboarding/onboarding-quick-orientation.tsx +1 -0
  414. package/src/web/hooks/use-chat.ts +8 -4
  415. package/src/web/hooks/use-design-session-redirect.ts +39 -0
  416. package/src/web/hooks/use-design-session-state.ts +94 -0
  417. package/src/web/hooks/use-global-events.ts +4 -1
  418. package/src/web/hooks/use-session-history.ts +4 -10
  419. package/src/web/hooks/use-url-sync.ts +10 -2
  420. package/src/web/lib/design/api-design-comments.ts +42 -0
  421. package/src/web/lib/design/api-design-edits.ts +62 -0
  422. package/src/web/lib/design/api-design-tweaks.ts +64 -0
  423. package/src/web/lib/design/api-designs.ts +81 -0
  424. package/src/web/lib/design/deliver-to-design-chat.ts +63 -0
  425. package/src/web/lib/design/design-auto-check-rounds.ts +32 -0
  426. package/src/web/lib/design/design-change-filter.ts +27 -0
  427. package/src/web/lib/design/design-comments-prompt.ts +55 -0
  428. package/src/web/lib/design/design-export-client.ts +101 -0
  429. package/src/web/lib/design/design-handoff-prompt.ts +48 -0
  430. package/src/web/lib/design/design-layout-mode.ts +79 -0
  431. package/src/web/lib/design/design-tab-metadata.ts +41 -0
  432. package/src/web/lib/design/design-transform-proposal.ts +62 -0
  433. package/src/web/lib/design/design-tweaks-model.ts +76 -0
  434. package/src/web/lib/design/design-ui-events.ts +25 -0
  435. package/src/web/lib/design/design-view-prefs.ts +90 -0
  436. package/src/web/lib/design/open-design-tab.ts +78 -0
  437. package/src/web/lib/design/pptx-slide-mapper.ts +118 -0
  438. package/src/web/lib/feature-badges.ts +2 -0
  439. package/src/web/lib/fluent-icon.tsx +38 -2
  440. package/src/web/lib/icons.generated.tsx +17 -1
  441. package/src/web/lib/patch-tab-metadata.ts +30 -0
  442. package/src/web/lib/send-to-chat.ts +16 -2
  443. package/src/web/lib/sidebar-tabs/tab-registry.ts +2 -0
  444. package/src/web/lib/tab-session-id.ts +16 -0
  445. package/src/web/lib/tab-type-icons.ts +2 -1
  446. package/src/web/stores/panel-store.ts +29 -1
  447. package/src/web/stores/panel-utils.ts +8 -1
  448. package/src/web/stores/settings-store.ts +2 -2
  449. package/src/web/stores/tab-store.ts +2 -1
  450. package/src/web/stores/window-panel-persistence.ts +1 -0
  451. package/dist/web/assets/accounts-settings-section-BDXYG6tT.js +0 -1
  452. package/dist/web/assets/ai-resource-editor-C3rKcZKN.js +0 -1
  453. package/dist/web/assets/ai-settings-section-ArqD8Nlg.js +0 -1
  454. package/dist/web/assets/ai-settings-section-DeWoAdLc.js +0 -1
  455. package/dist/web/assets/angular-html-DnrsWZqK.js +0 -1
  456. package/dist/web/assets/angular-ts-BXEqA9t1.js +0 -1
  457. package/dist/web/assets/api-client-Jn3njtNw.js +0 -1
  458. package/dist/web/assets/api-client-rSFnnCj4.js +0 -1
  459. package/dist/web/assets/api-settings-BZFSteM_.js +0 -1
  460. package/dist/web/assets/api-themes-CvKtX6Hd.js +0 -1
  461. package/dist/web/assets/apl-DUQ6Oyth.js +0 -1
  462. package/dist/web/assets/appearance-settings-section-K5o_Di4V.js +0 -1
  463. package/dist/web/assets/architecture-PBZL5I3N-B9M_VqZI.js +0 -1
  464. package/dist/web/assets/astro-CakOjJ6X.js +0 -1
  465. package/dist/web/assets/audio-preview-CwCDCN-_.js +0 -1
  466. package/dist/web/assets/blade-C903KM82.js +0 -1
  467. package/dist/web/assets/branch-review-tab-BNpYiUhC.js +0 -1
  468. package/dist/web/assets/bsl-slfcE_kB.js +0 -1
  469. package/dist/web/assets/button-B9CTrsEf.js +0 -1
  470. package/dist/web/assets/c-BWO-aeyf.js +0 -1
  471. package/dist/web/assets/cairo-DRwEaH6w.js +0 -1
  472. package/dist/web/assets/chat-tab-CC8KANoK.js +0 -15
  473. package/dist/web/assets/cobol--n4m6b70.js +0 -1
  474. package/dist/web/assets/code-editor-Ccf0Egrc.js +0 -7
  475. package/dist/web/assets/codex-daily-guard-CKk2WFlV.js +0 -1
  476. package/dist/web/assets/coffee-CjyFmw8_.js +0 -1
  477. package/dist/web/assets/conflict-editor-BCKbdpXy.js +0 -19
  478. package/dist/web/assets/context-menu-C6pIsf83.js +0 -1
  479. package/dist/web/assets/cpp-D18jdQPZ.js +0 -1
  480. package/dist/web/assets/createLucideIcon-DoiEKeJ_.js +0 -1
  481. package/dist/web/assets/crystal-CySzfH-7.js +0 -1
  482. package/dist/web/assets/css-Ca_hTmU6.js +0 -1
  483. package/dist/web/assets/csv-preview-I3a2lGUx.js +0 -2
  484. package/dist/web/assets/data-grid-overlay-editor-BD9eJweQ.js +0 -1
  485. package/dist/web/assets/data-grid-types-C6UX8kgh.js +0 -1
  486. package/dist/web/assets/database-viewer-DCuBR-bZ.js +0 -1
  487. package/dist/web/assets/dialog-B84_DJQ8.js +0 -1
  488. package/dist/web/assets/diff-viewer-DGaBe_Ln.js +0 -4
  489. package/dist/web/assets/dist-BD2gbdy0.js +0 -1
  490. package/dist/web/assets/docx-preview-CeH6p2Oi.js +0 -12
  491. package/dist/web/assets/edge-B6b5FHmU.js +0 -1
  492. package/dist/web/assets/edit-diff-preview-BG5DsLJG.js +0 -7
  493. package/dist/web/assets/editor-language-service-BaocEaLc.js +0 -1
  494. package/dist/web/assets/elixir-Dpo1rvn2.js +0 -1
  495. package/dist/web/assets/elm-D9CNOsWT.js +0 -1
  496. package/dist/web/assets/erb-sY7Yee1W.js +0 -1
  497. package/dist/web/assets/erlang-CfyrBxyF.js +0 -1
  498. package/dist/web/assets/esm-5AhGJcV8.js +0 -2
  499. package/dist/web/assets/explorer-body-2GYIYmUh.js +0 -2
  500. package/dist/web/assets/explorer-window-content-CYQSEX-g.js +0 -1
  501. package/dist/web/assets/extension-manager-section-BFAGdy3G.js +0 -1
  502. package/dist/web/assets/extension-webview-D5TXIBMf.js +0 -12
  503. package/dist/web/assets/file-icons-wS-OmEVu.js +0 -1
  504. package/dist/web/assets/file-store-Ds3qJ4hC.js +0 -1
  505. package/dist/web/assets/files-settings-section-BE6o-oHu.js +0 -1
  506. package/dist/web/assets/format-file-meta-eKLstbCL.js +0 -1
  507. package/dist/web/assets/fortran-fixed-form-N67gM_wp.js +0 -1
  508. package/dist/web/assets/fs-api-orca76dV.js +0 -1
  509. package/dist/web/assets/fsharp-Dq0K01wX.js +0 -1
  510. package/dist/web/assets/gdresource-DkFbszqY.js +0 -1
  511. package/dist/web/assets/general-settings-section-mQiXM537.js +0 -1
  512. package/dist/web/assets/git-commit-Ddt_nerD.js +0 -1
  513. package/dist/web/assets/git-log-panel-DqbcM9eC.js +0 -1
  514. package/dist/web/assets/git-rebase-CVK5OA7i.js +0 -1
  515. package/dist/web/assets/git-repo-store-BCEPfUGT.js +0 -1
  516. package/dist/web/assets/gitGraph-HDMCJU4V-D3RB33aA.js +0 -1
  517. package/dist/web/assets/glide-data-grid-BjEF7M5i.js +0 -141
  518. package/dist/web/assets/glimmer-js-51jbYnyY.js +0 -1
  519. package/dist/web/assets/glimmer-ts-C5L1J32J.js +0 -1
  520. package/dist/web/assets/glsl-BcsfmwJZ.js +0 -1
  521. package/dist/web/assets/graphql-dv4wuJsK.js +0 -1
  522. package/dist/web/assets/group-chat-tab-aX2GEnkD.js +0 -1
  523. package/dist/web/assets/hack-DLE5d3bx.js +0 -1
  524. package/dist/web/assets/haml-CoKfcM3E.js +0 -1
  525. package/dist/web/assets/handlebars-Bn0jy8pD.js +0 -1
  526. package/dist/web/assets/html-DXzY5Cew.js +0 -1
  527. package/dist/web/assets/html-derivative-DhcVfYuw.js +0 -1
  528. package/dist/web/assets/http-DepeIWQ1.js +0 -1
  529. package/dist/web/assets/hurl-CfsP4sCj.js +0 -1
  530. package/dist/web/assets/hxml-IfVkY3HL.js +0 -1
  531. package/dist/web/assets/icons-DQjqk0lJ.js +0 -1
  532. package/dist/web/assets/image-preview-CWncz5iI.js +0 -1
  533. package/dist/web/assets/index-BoaecXhu.js +0 -52
  534. package/dist/web/assets/index-aXJy_SvC.css +0 -1
  535. package/dist/web/assets/info-3K5VOQVL-DDX-2VB7.js +0 -1
  536. package/dist/web/assets/input-QNG_gTHh.js +0 -1
  537. package/dist/web/assets/java-JWdrzVo8.js +0 -1
  538. package/dist/web/assets/javascript-5aQKJRxB.js +0 -1
  539. package/dist/web/assets/jinja-DcCmNDQ8.js +0 -1
  540. package/dist/web/assets/jira-watcher-section-BKn3A8zI.js +0 -1
  541. package/dist/web/assets/jison-Bt-5cKVZ.js +0 -1
  542. package/dist/web/assets/json-BOq7QblK.js +0 -1
  543. package/dist/web/assets/jsx-BSLWViGE.js +0 -1
  544. package/dist/web/assets/julia-DewYVRtE.js +0 -1
  545. package/dist/web/assets/just-CLT_ggBy.js +0 -1
  546. package/dist/web/assets/keybindings-store-Brz0qepi.js +0 -1
  547. package/dist/web/assets/keyboard-shortcuts-section-Ck8KIbJ8.js +0 -1
  548. package/dist/web/assets/latex-DXmcayW1.js +0 -1
  549. package/dist/web/assets/lib-BWyA9SvU.js +0 -4
  550. package/dist/web/assets/liquid-BVcHf0IA.js +0 -1
  551. package/dist/web/assets/lua-BYupsB1B.js +0 -1
  552. package/dist/web/assets/markdown-renderer-BGuM2PBI.js +0 -5
  553. package/dist/web/assets/markdown-renderer-Ddz8tPbb.js +0 -1
  554. package/dist/web/assets/marko-CsD0R5tv.js +0 -1
  555. package/dist/web/assets/mdc-DP2tC4Kc.js +0 -1
  556. package/dist/web/assets/media-url-CVO4m4zr.js +0 -1
  557. package/dist/web/assets/mobile-bottom-sheet-C3TniEP-.js +0 -1
  558. package/dist/web/assets/mobile-explorer-sheet-DpKfB6iF.js +0 -1
  559. package/dist/web/assets/monaco-dotenv-language-DD8_UQG7.js +0 -1
  560. package/dist/web/assets/nextflow-FQM6iZO2.js +0 -1
  561. package/dist/web/assets/nginx-Bg0TK_a9.js +0 -1
  562. package/dist/web/assets/nim-D1kSCHdq.js +0 -1
  563. package/dist/web/assets/notification-store-ByCdTvCC.js +0 -1
  564. package/dist/web/assets/notifications-settings-section-C5v8FoH9.js +0 -1
  565. package/dist/web/assets/number-overlay-editor-Bsr04yCI.js +0 -9
  566. package/dist/web/assets/onboarding-entry-C81awoR5.js +0 -1
  567. package/dist/web/assets/onboarding-quick-orientation-Dqmis-E5.js +0 -1
  568. package/dist/web/assets/overview-panel-9OdBcYJC.js +0 -1
  569. package/dist/web/assets/packet-RMMSAZCW-B0ZSm6VM.js +0 -1
  570. package/dist/web/assets/panel-store-D20Zuf3i.js +0 -1
  571. package/dist/web/assets/pdf-preview-DuR07OfN.js +0 -1
  572. package/dist/web/assets/perl-B6QNc69s.js +0 -1
  573. package/dist/web/assets/php-Bvwf1t96.js +0 -1
  574. package/dist/web/assets/pie-UPGHQEXC-DKM0oPn7.js +0 -1
  575. package/dist/web/assets/portal-container-context-BarKmT4S.js +0 -1
  576. package/dist/web/assets/postgres-viewer-CGf7_g6Z.js +0 -3
  577. package/dist/web/assets/ppmbot-settings-section-DeTFU1b-.js +0 -1
  578. package/dist/web/assets/problems-panel-Bgkcge5_.js +0 -1
  579. package/dist/web/assets/process-table-DH7pnH5I.js +0 -1
  580. package/dist/web/assets/project-framework-store-ViZgce6y.js +0 -1
  581. package/dist/web/assets/project-store-hNvwfqX3.js +0 -1
  582. package/dist/web/assets/proxy-settings-section-DMGMRHH-.js +0 -1
  583. package/dist/web/assets/pug-I8oitXP4.js +0 -1
  584. package/dist/web/assets/qml-LKb7CHg-.js +0 -1
  585. package/dist/web/assets/query-audit-section-CpiXQVcS.js +0 -1
  586. package/dist/web/assets/r-DHu15BOo.js +0 -1
  587. package/dist/web/assets/radar-KQ55EAFF-DKhtzXmy.js +0 -1
  588. package/dist/web/assets/razor-CIPT897U.js +0 -1
  589. package/dist/web/assets/react-Bghu0NUO.js +0 -1
  590. package/dist/web/assets/regexp-Vdt2OEkk.js +0 -1
  591. package/dist/web/assets/remote-desktop-clipboard-notice-Bj5FtU0O.js +0 -1
  592. package/dist/web/assets/remote-desktop-mobile-sheet-BhwVrKxv.js +0 -2
  593. package/dist/web/assets/remote-desktop-mobile-view-B1oAqbjG.js +0 -1
  594. package/dist/web/assets/remote-desktop-readiness-gate-2LE86aTu.js +0 -1
  595. package/dist/web/assets/remote-desktop-window-content-u8HwuzyN.js +0 -1
  596. package/dist/web/assets/rolldown-runtime-FhOqtrmT.js +0 -1
  597. package/dist/web/assets/rst-BpcmfJFA.js +0 -1
  598. package/dist/web/assets/ruby-Cx413jgE.js +0 -1
  599. package/dist/web/assets/run-in-terminal-BFR70TLU.js +0 -1
  600. package/dist/web/assets/sas-B3ui_NHy.js +0 -1
  601. package/dist/web/assets/schedules-settings-section-C8XNDdi9.js +0 -1
  602. package/dist/web/assets/scroll-area-C0fQWNnx.js +0 -1
  603. package/dist/web/assets/scss-V4NlXnGi.js +0 -1
  604. package/dist/web/assets/send-to-chat-C8l7AcV4.js +0 -1
  605. package/dist/web/assets/separator-DwDoQpxS.js +0 -1
  606. package/dist/web/assets/settings-body-DelxmiKf.js +0 -2
  607. package/dist/web/assets/settings-store-m6qOXoy4.js +0 -2
  608. package/dist/web/assets/settings-tab-Cb_dFdA6.js +0 -1
  609. package/dist/web/assets/settings-window-content-5EQQfC1t.js +0 -1
  610. package/dist/web/assets/shaderlab-Cf7qZ4DR.js +0 -1
  611. package/dist/web/assets/shellscript-DRxJLgrx.js +0 -1
  612. package/dist/web/assets/shellsession-BfA8Fmhb.js +0 -1
  613. package/dist/web/assets/soy-CGKN9rxg.js +0 -1
  614. package/dist/web/assets/sparql-CArCsIdI.js +0 -1
  615. package/dist/web/assets/sql-ljEiM8nf.js +0 -1
  616. package/dist/web/assets/sql-query-editor-B3wrPR6K.js +0 -1
  617. package/dist/web/assets/sqlite-viewer-iQXNp0kH.js +0 -1
  618. package/dist/web/assets/stata-CplvndbA.js +0 -1
  619. package/dist/web/assets/surrealql-DwX1PCpP.js +0 -1
  620. package/dist/web/assets/svelte-DYCNmQjy.js +0 -1
  621. package/dist/web/assets/system-monitor-body-5grJyA7C.js +0 -2
  622. package/dist/web/assets/system-monitor-tab-CJr797F8.js +0 -1
  623. package/dist/web/assets/system-monitor-window-content-OGAhFXXo.js +0 -1
  624. package/dist/web/assets/tab-host-window-content-C-eEo8I7.js +0 -1
  625. package/dist/web/assets/tab-store-krAuHQ6_.js +0 -1
  626. package/dist/web/assets/team-member-sheet-CRvJUtdh.js +0 -2
  627. package/dist/web/assets/team-member-window-content-C97N4RXb.js +0 -1
  628. package/dist/web/assets/templ-b_h2-Z9l.js +0 -1
  629. package/dist/web/assets/terminal-tab-eZwpkvEe.js +0 -3
  630. package/dist/web/assets/tex-022M3-MR.js +0 -1
  631. package/dist/web/assets/tool-cards-Bg4vjDYu.js +0 -9
  632. package/dist/web/assets/treemap-KZPCXAKY-CxqsD_6n.js +0 -1
  633. package/dist/web/assets/ts-tags-BUl0AdO6.js +0 -1
  634. package/dist/web/assets/tsx-CKaH7SzK.js +0 -1
  635. package/dist/web/assets/twig-CMzYUcSa.js +0 -1
  636. package/dist/web/assets/typescript-DZozDFsi.js +0 -1
  637. package/dist/web/assets/use-blob-url-C0VR6Uhh.js +0 -1
  638. package/dist/web/assets/use-inline-blame-CzR8CnOZ.js +0 -16
  639. package/dist/web/assets/use-is-mobile-TkcwP1Gx.js +0 -1
  640. package/dist/web/assets/use-lsp-BAoOSc-L.js +0 -6
  641. package/dist/web/assets/use-monaco-theme-Gd8cpt9n.js +0 -1
  642. package/dist/web/assets/use-open-team-member-y9sVhaNr.js +0 -1
  643. package/dist/web/assets/use-visual-viewport-Lp878uzs.js +0 -1
  644. package/dist/web/assets/use-websocket-CDfXkXo3.js +0 -1
  645. package/dist/web/assets/vendor-markdown-CuWCHIVb.js +0 -291
  646. package/dist/web/assets/vendor-mermaid-D6lgjvVE.js +0 -2921
  647. package/dist/web/assets/vendor-ui-DmZ-Mb-H.js +0 -45
  648. package/dist/web/assets/video-preview-BYJ3aVo1.js +0 -1
  649. package/dist/web/assets/vue-D83SsURi.js +0 -1
  650. package/dist/web/assets/vue-html-BGU-OYYb.js +0 -1
  651. package/dist/web/assets/vue-vine-1sHE1gZn.js +0 -1
  652. package/dist/web/assets/window-pip-registry-D1oXq-Dq.js +0 -1
  653. package/dist/web/assets/window-store-UC1jJeLM.js +0 -1
  654. package/dist/web/assets/ws-auth-CaxV807E.js +0 -1
  655. package/dist/web/assets/xml-bWQJszMK.js +0 -1
  656. package/dist/web/assets/xsl-DTMc1Tsm.js +0 -1
  657. package/dist/web/assets/yaml-4pzZq5KT.js +0 -1
  658. /package/dist/web/assets/{abap-DrxZXLHj.js → abap-DWbETETF.js} +0 -0
  659. /package/dist/web/assets/{actionscript-3-DOPR4pRC.js → actionscript-3-C278tgAF.js} +0 -0
  660. /package/dist/web/assets/{ada-DkqjEnDr.js → ada-C_5J29IC.js} +0 -0
  661. /package/dist/web/assets/{andromeeda-BSZjevw2.js → andromeeda-Ct0fb9Zo.js} +0 -0
  662. /package/dist/web/assets/{apache-DYwdQ5F_.js → apache-oMwCqc2o.js} +0 -0
  663. /package/dist/web/assets/{apex-Dohu7DfB.js → apex-n6XQQudq.js} +0 -0
  664. /package/dist/web/assets/{applescript-CdfGIVqp.js → applescript-QDMA6blY.js} +0 -0
  665. /package/dist/web/assets/{apply-theme-CbR31K6I.js → apply-theme-aVoqSG0I.js} +0 -0
  666. /package/dist/web/assets/{ara-i3_3TMnI.js → ara-D6rg_rTp.js} +0 -0
  667. /package/dist/web/assets/{asciidoc-DJFM-7vl.js → asciidoc-DVeBWv0S.js} +0 -0
  668. /package/dist/web/assets/{asm-bMFssizQ.js → asm-DzHQzzqu.js} +0 -0
  669. /package/dist/web/assets/{aurora-x-CetC7M8b.js → aurora-x-pJESoXa6.js} +0 -0
  670. /package/dist/web/assets/{awk-FFWx9ZrE.js → awk-BwfK4mzn.js} +0 -0
  671. /package/dist/web/assets/{ayu-dark-D4ION2wO.js → ayu-dark-CG-9c7ej.js} +0 -0
  672. /package/dist/web/assets/{ayu-light-BZN99P5A.js → ayu-light-BGUfMG6m.js} +0 -0
  673. /package/dist/web/assets/{ayu-mirage-B-IpsKiL.js → ayu-mirage-CMD89qy6.js} +0 -0
  674. /package/dist/web/assets/{ballerina-DhyJcKkq.js → ballerina-CP5gYaiB.js} +0 -0
  675. /package/dist/web/assets/{bat-GOVQY81F.js → bat-DCRdiK45.js} +0 -0
  676. /package/dist/web/assets/{beancount-BO749Rhc.js → beancount-DHkDiOKO.js} +0 -0
  677. /package/dist/web/assets/{berry-CHYYKXmK.js → berry-B6TPldKS.js} +0 -0
  678. /package/dist/web/assets/{bibtex-BnYiDnxT.js → bibtex-DIor8yh9.js} +0 -0
  679. /package/dist/web/assets/{bicep-kljgR_G3.js → bicep-BbIdLZZ_.js} +0 -0
  680. /package/dist/web/assets/{bird2-DnLtJGhV.js → bird2-C76TmOG1.js} +0 -0
  681. /package/dist/web/assets/{c3-fc_jio6D.js → c3-CqZ77xXr.js} +0 -0
  682. /package/dist/web/assets/{cadence-DopRCrdB.js → cadence-BlaAb6F6.js} +0 -0
  683. /package/dist/web/assets/{can-open-in-ppm-CUW3vVJg.js → can-open-in-ppm-D8T6Xca-.js} +0 -0
  684. /package/dist/web/assets/{catppuccin-frappe-DL6iCUa8.js → catppuccin-frappe-BuV7Zg67.js} +0 -0
  685. /package/dist/web/assets/{catppuccin-latte-DNF7n3uY.js → catppuccin-latte-B7HXEZf7.js} +0 -0
  686. /package/dist/web/assets/{catppuccin-macchiato-ByMic_k0.js → catppuccin-macchiato-B0KctcoC.js} +0 -0
  687. /package/dist/web/assets/{catppuccin-mocha-DcrJtZtv.js → catppuccin-mocha-Bofr5rzo.js} +0 -0
  688. /package/dist/web/assets/{clarity-0cRLlvQe.js → clarity-CerfZ3dW.js} +0 -0
  689. /package/dist/web/assets/{clojure-DPqZAcpI.js → clojure-BCEG1uj6.js} +0 -0
  690. /package/dist/web/assets/{cmake-Bx26bw5u.js → cmake-CRxSSKSr.js} +0 -0
  691. /package/dist/web/assets/{codeowners-BpgxIgxr.js → codeowners-BqW6DYSk.js} +0 -0
  692. /package/dist/web/assets/{codeql-TRoWjo5g.js → codeql-DlnOpgWF.js} +0 -0
  693. /package/dist/web/assets/{common-lisp-Ctohamsb.js → common-lisp-DgIX9jkq.js} +0 -0
  694. /package/dist/web/assets/{coq-BO6TJSED.js → coq-CFeLOER-.js} +0 -0
  695. /package/dist/web/assets/{csharp-DSy4nlrl.js → csharp-BGFGcV8G.js} +0 -0
  696. /package/dist/web/assets/{csv-DND7YJXD.js → csv-Cx126-fo.js} +0 -0
  697. /package/dist/web/assets/{csv-parser-DZ_75eCb.js → csv-parser-BXeH-yzY.js} +0 -0
  698. /package/dist/web/assets/{cue-BUnWK221.js → cue-Cd0PEGFL.js} +0 -0
  699. /package/dist/web/assets/{cypher-CInm9Etl.js → cypher-QS9S-1Nu.js} +0 -0
  700. /package/dist/web/assets/{d-BbsB8r6R.js → d-Bx6zK6J7.js} +0 -0
  701. /package/dist/web/assets/{dark-plus-DkzIiuQX.js → dark-plus-DLqXEd2I.js} +0 -0
  702. /package/dist/web/assets/{dart-BG2nw7Se.js → dart-BL2C2Z6E.js} +0 -0
  703. /package/dist/web/assets/{dax-j4h6VhlV.js → dax-ClxUDxvY.js} +0 -0
  704. /package/dist/web/assets/{desktop-Dg34JDlS.js → desktop-DLEkw1UR.js} +0 -0
  705. /package/dist/web/assets/{diff-CRrKo-mH.js → diff-Dlp9KQSL.js} +0 -0
  706. /package/dist/web/assets/{dist-D39GQICe.js → dist-CDpxSUMU.js} +0 -0
  707. /package/dist/web/assets/{docker-DAtcxZjt.js → docker-DVBsQYb-.js} +0 -0
  708. /package/dist/web/assets/{dotenv-DNUcgQCn.js → dotenv-DjBB7S8B.js} +0 -0
  709. /package/dist/web/assets/{dracula-bhhaShNC.js → dracula-Cu055q9D.js} +0 -0
  710. /package/dist/web/assets/{dracula-soft-CeHAoi-D.js → dracula-soft-BiX_luwV.js} +0 -0
  711. /package/dist/web/assets/{dream-maker-BMH1JI2G.js → dream-maker-S6ie6kFg.js} +0 -0
  712. /package/dist/web/assets/{editor-font-D_4aaSCa.js → editor-font-BOjGgYeg.js} +0 -0
  713. /package/dist/web/assets/{emacs-lisp-BaAYIdWN.js → emacs-lisp-DpOda430.js} +0 -0
  714. /package/dist/web/assets/{everforest-dark-Cs91gPa_.js → everforest-dark-BAfSXdLG.js} +0 -0
  715. /package/dist/web/assets/{everforest-light-lTkE6qWA.js → everforest-light-Dp59kp4R.js} +0 -0
  716. /package/dist/web/assets/{fennel-CmhYEhcM.js → fennel-CNaNUmMo.js} +0 -0
  717. /package/dist/web/assets/{fish-p1jauFum.js → fish-C8Z04ic7.js} +0 -0
  718. /package/dist/web/assets/{fluent-BsH-lUh2.js → fluent-Bugk01mf.js} +0 -0
  719. /package/dist/web/assets/{format-bytes-amUJ8Js8.js → format-bytes-DBBzVCYA.js} +0 -0
  720. /package/dist/web/assets/{fortran-free-form-CB6SdVKB.js → fortran-free-form-csIz6MQj.js} +0 -0
  721. /package/dist/web/assets/{gdscript--YoKuvEA.js → gdscript-fdzYQLfk.js} +0 -0
  722. /package/dist/web/assets/{gdshader-BRtMwf5z.js → gdshader-CfsEtDeZ.js} +0 -0
  723. /package/dist/web/assets/{genie-wrzVG2Z8.js → genie-CtHN5N2Q.js} +0 -0
  724. /package/dist/web/assets/{gherkin-HnpURN27.js → gherkin-gSp2ZJTf.js} +0 -0
  725. /package/dist/web/assets/{github-dark-XlZ3pGhn.js → github-dark-D7O9efii.js} +0 -0
  726. /package/dist/web/assets/{github-dark-default-D_R0hfJe.js → github-dark-default-Bv2wIhqD.js} +0 -0
  727. /package/dist/web/assets/{github-dark-dimmed-BHQgHLnK.js → github-dark-dimmed-BuY_SpCX.js} +0 -0
  728. /package/dist/web/assets/{github-dark-high-contrast-Pbl4mEFe.js → github-dark-high-contrast-Chv0f5Wu.js} +0 -0
  729. /package/dist/web/assets/{github-light-0P0VANJn.js → github-light-DV8f-W2f.js} +0 -0
  730. /package/dist/web/assets/{github-light-default-DTfsnyDq.js → github-light-default-CNBSU3dB.js} +0 -0
  731. /package/dist/web/assets/{github-light-high-contrast-DKITR-5Y.js → github-light-high-contrast-sg94tHwU.js} +0 -0
  732. /package/dist/web/assets/{gleam-refSZtkM.js → gleam-w7270-PJ.js} +0 -0
  733. /package/dist/web/assets/{gn-BZ9cGckR.js → gn-yo_iE_A_.js} +0 -0
  734. /package/dist/web/assets/{gnuplot-CMHqDcTW.js → gnuplot-DSBPrzl4.js} +0 -0
  735. /package/dist/web/assets/{go-bFdCrzvY.js → go-D1S7g97D.js} +0 -0
  736. /package/dist/web/assets/{groovy-Dvz5tluQ.js → groovy-C7xW-5IV.js} +0 -0
  737. /package/dist/web/assets/{gruvbox-dark-hard-D0Z-pclr.js → gruvbox-dark-hard-BZald7Z_.js} +0 -0
  738. /package/dist/web/assets/{gruvbox-dark-medium-BG6oIRQR.js → gruvbox-dark-medium-v6W4PZne.js} +0 -0
  739. /package/dist/web/assets/{gruvbox-dark-soft-ILJ-3tU6.js → gruvbox-dark-soft-CN5mIGkw.js} +0 -0
  740. /package/dist/web/assets/{gruvbox-light-hard-Bl95khkz.js → gruvbox-light-hard-D3NIGRxd.js} +0 -0
  741. /package/dist/web/assets/{gruvbox-light-medium-CdislFOh.js → gruvbox-light-medium-m4ShuCnD.js} +0 -0
  742. /package/dist/web/assets/{gruvbox-light-soft-CTcEyxlX.js → gruvbox-light-soft-BEEYNyk-.js} +0 -0
  743. /package/dist/web/assets/{haskell-D9jfkQuH.js → haskell-CgtdXIH3.js} +0 -0
  744. /package/dist/web/assets/{haxe-Ckfl4osD.js → haxe-D7HQqtIx.js} +0 -0
  745. /package/dist/web/assets/{hcl-t03N4k5N.js → hcl-C-YHDaXH.js} +0 -0
  746. /package/dist/web/assets/{hjson-B_TIVRki.js → hjson-BrgEMvJK.js} +0 -0
  747. /package/dist/web/assets/{hlsl-BBCTeANz.js → hlsl-BsDumu1j.js} +0 -0
  748. /package/dist/web/assets/{horizon-CRY-xdGU.js → horizon-D9Kre3KQ.js} +0 -0
  749. /package/dist/web/assets/{horizon-bright-BpUM2C5u.js → horizon-bright-DJq8c_Yq.js} +0 -0
  750. /package/dist/web/assets/{houston-RVyAGlyS.js → houston-B9tnxzX8.js} +0 -0
  751. /package/dist/web/assets/{hy-BHFJHuHd.js → hy-DUYVvXOj.js} +0 -0
  752. /package/dist/web/assets/{image-gallery-DdQblMAe.js → image-gallery-DvAgPQ3L.js} +0 -0
  753. /package/dist/web/assets/{image-preview-geometry-BFKR37Pj.js → image-preview-geometry-B-SdD7_D.js} +0 -0
  754. /package/dist/web/assets/{imba-DyG0_0MS.js → imba-CGW-TsRm.js} +0 -0
  755. /package/dist/web/assets/{ini-CsCTH-_o.js → ini-PqgYiEAV.js} +0 -0
  756. /package/dist/web/assets/{json5-g3g-IFTV.js → json5-sbkvqHou.js} +0 -0
  757. /package/dist/web/assets/{jsonc-DQHBJwib.js → jsonc-pnywfpws.js} +0 -0
  758. /package/dist/web/assets/{jsonl-zFLDm4eB.js → jsonl-ZPOQ0pRn.js} +0 -0
  759. /package/dist/web/assets/{jsonnet-DgNm2IGn.js → jsonnet-B_Q7j1YF.js} +0 -0
  760. /package/dist/web/assets/{jssm-BErkU0In.js → jssm-K-xYeQyp.js} +0 -0
  761. /package/dist/web/assets/{kanagawa-dragon-Dgymfjca.js → kanagawa-dragon-DAdLBtU8.js} +0 -0
  762. /package/dist/web/assets/{kanagawa-lotus-CWZEYd27.js → kanagawa-lotus-5BwvVGu8.js} +0 -0
  763. /package/dist/web/assets/{kanagawa-wave-CQg17ecf.js → kanagawa-wave-C0h9fsDT.js} +0 -0
  764. /package/dist/web/assets/{kdl-DY4GHmJC.js → kdl-DXSsFcms.js} +0 -0
  765. /package/dist/web/assets/{kotlin-DeGTz7bl.js → kotlin-BXNIvloo.js} +0 -0
  766. /package/dist/web/assets/{kusto-BN-OqpQj.js → kusto-wM3eio5V.js} +0 -0
  767. /package/dist/web/assets/{laserwave-bAqiAiOp.js → laserwave-FcbxdP2A.js} +0 -0
  768. /package/dist/web/assets/{lean-CAypLWCf.js → lean-RenzGeoM.js} +0 -0
  769. /package/dist/web/assets/{less-ikHAUlPb.js → less-CcUdtNJi.js} +0 -0
  770. /package/dist/web/assets/{libesm-cUHvIIuW.js → libesm-DMnQ3WlF.js} +0 -0
  771. /package/dist/web/assets/{light-plus-BamuTcT9.js → light-plus-BsMoOZJR.js} +0 -0
  772. /package/dist/web/assets/{llvm-CddObVkW.js → llvm-CyylMBuq.js} +0 -0
  773. /package/dist/web/assets/{log-CWbfGTTc.js → log-BOi0GB58.js} +0 -0
  774. /package/dist/web/assets/{logo-AHyhxX3Z.js → logo-BQUr3X2Y.js} +0 -0
  775. /package/dist/web/assets/{luau-y7she9L3.js → luau-3YZRDIsh.js} +0 -0
  776. /package/dist/web/assets/{make-DP3sQaP3.js → make-DEkKRDRU.js} +0 -0
  777. /package/dist/web/assets/{markdown-9Nuxib8a.js → markdown-BmFN0-A1.js} +0 -0
  778. /package/dist/web/assets/{material-theme-DDpm-uS7.js → material-theme-DqLHjEZ8.js} +0 -0
  779. /package/dist/web/assets/{material-theme-darker-CHk91wbm.js → material-theme-darker-DhbvULnI.js} +0 -0
  780. /package/dist/web/assets/{material-theme-lighter-LkmOI8KM.js → material-theme-lighter-C_aA4yVe.js} +0 -0
  781. /package/dist/web/assets/{material-theme-ocean-PpkUhB4-.js → material-theme-ocean-Pk5JltJS.js} +0 -0
  782. /package/dist/web/assets/{material-theme-palenight-DZAigXgW.js → material-theme-palenight-DNi3VguV.js} +0 -0
  783. /package/dist/web/assets/{matlab-CexKVVPc.js → matlab-BqUtv2ml.js} +0 -0
  784. /package/dist/web/assets/{mdx-BrcepHfI.js → mdx-DFMrnHBn.js} +0 -0
  785. /package/dist/web/assets/{mermaid-CNFhZZaG.js → mermaid-BpyuE0L_.js} +0 -0
  786. /package/dist/web/assets/{min-dark-hd3nbDV4.js → min-dark-DVfCMEPW.js} +0 -0
  787. /package/dist/web/assets/{min-light-AqA5jmks.js → min-light-B96aMADV.js} +0 -0
  788. /package/dist/web/assets/{mipsasm-B3x4L8Zk.js → mipsasm-DHhEcvKr.js} +0 -0
  789. /package/dist/web/assets/{mojo-CvfXy3YL.js → mojo-BQ6HsVIQ.js} +0 -0
  790. /package/dist/web/assets/{monokai-CdxwmnU_.js → monokai-amcXAKGG.js} +0 -0
  791. /package/dist/web/assets/{moonbit-6Z_VCO0_.js → moonbit-CGSXXQJI.js} +0 -0
  792. /package/dist/web/assets/{move-B2__B6Po.js → move-BOa4mq0q.js} +0 -0
  793. /package/dist/web/assets/{narrat-D6vL6wL-.js → narrat-dBYNSnhr.js} +0 -0
  794. /package/dist/web/assets/{nextflow-groovy-L-FBME4e.js → nextflow-groovy-Dm2Y_qgn.js} +0 -0
  795. /package/dist/web/assets/{night-owl-DjKrkDjv.js → night-owl-Dy9ibYHN.js} +0 -0
  796. /package/dist/web/assets/{night-owl-light-CeGjPuUQ.js → night-owl-light-DamYjQKi.js} +0 -0
  797. /package/dist/web/assets/{nix-dr279CcA.js → nix-C1LyoszC.js} +0 -0
  798. /package/dist/web/assets/{nord-Dxn-_H_Y.js → nord-LtGRYAFI.js} +0 -0
  799. /package/dist/web/assets/{nushell-DgeAQO7j.js → nushell-BMoOkt47.js} +0 -0
  800. /package/dist/web/assets/{objective-c-CO0-Pacn.js → objective-c-CILaOZJu.js} +0 -0
  801. /package/dist/web/assets/{objective-cpp-SkrjegYw.js → objective-cpp-D5Fo-SoM.js} +0 -0
  802. /package/dist/web/assets/{ocaml-CAihtkib.js → ocaml-D1TCTCEJ.js} +0 -0
  803. /package/dist/web/assets/{odin-D0XZbUDB.js → odin-CjdYcmpW.js} +0 -0
  804. /package/dist/web/assets/{one-dark-pro-BUMNMxjX.js → one-dark-pro-GpsZUGZl.js} +0 -0
  805. /package/dist/web/assets/{one-light-C0Ui69Bx.js → one-light-DlketcS4.js} +0 -0
  806. /package/dist/web/assets/{openscad-fZ9ggqM-.js → openscad-BoT8wwuI.js} +0 -0
  807. /package/dist/web/assets/{pascal-DvZm-eun.js → pascal-Cqy403Sf.js} +0 -0
  808. /package/dist/web/assets/{pkl-CQSIp_z8.js → pkl-D6gRI9qQ.js} +0 -0
  809. /package/dist/web/assets/{plastic-CMspsouJ.js → plastic-DgvX8DXX.js} +0 -0
  810. /package/dist/web/assets/{plsql-B_HL7UfT.js → plsql-CTDnCVE3.js} +0 -0
  811. /package/dist/web/assets/{po-DxAfbdfe.js → po-DDnzm7AQ.js} +0 -0
  812. /package/dist/web/assets/{poimandres-JGmqmwux.js → poimandres-C4HQwFp-.js} +0 -0
  813. /package/dist/web/assets/{polar-_mNmplk8.js → polar-WBTQdMzX.js} +0 -0
  814. /package/dist/web/assets/{postcss-GpU0Sjqc.js → postcss-CWxogTg1.js} +0 -0
  815. /package/dist/web/assets/{powerquery-B1IP1lCQ.js → powerquery-DVtReIRR.js} +0 -0
  816. /package/dist/web/assets/{powershell-BiSO9XmG.js → powershell-Cb_RNzSh.js} +0 -0
  817. /package/dist/web/assets/{prisma-4QqDYSnH.js → prisma-nKLUh3DY.js} +0 -0
  818. /package/dist/web/assets/{prolog-BNjvyRqT.js → prolog-BD9orEy4.js} +0 -0
  819. /package/dist/web/assets/{proto-RNOumnkw.js → proto-B-AFoz75.js} +0 -0
  820. /package/dist/web/assets/{puppet-CDfv5o8f.js → puppet-DDW6wWm4.js} +0 -0
  821. /package/dist/web/assets/{purescript-YTjSoifd.js → purescript-DXy49AJg.js} +0 -0
  822. /package/dist/web/assets/{python-Mh7JD25U.js → python-BQnvDlc7.js} +0 -0
  823. /package/dist/web/assets/{qmldir-Da_ZrqZy.js → qmldir-CboMQXQW.js} +0 -0
  824. /package/dist/web/assets/{qss-DANVkyhy.js → qss-8XaprLEt.js} +0 -0
  825. /package/dist/web/assets/{racket-CwPOn4T1.js → racket-ChcVp15M.js} +0 -0
  826. /package/dist/web/assets/{raku-B04lBsXd.js → raku-dEgEXW0A.js} +0 -0
  827. /package/dist/web/assets/{red-MW6Zm5pd.js → red-hmwjontD.js} +0 -0
  828. /package/dist/web/assets/{reg-44SURM-E.js → reg-CIkOufh2.js} +0 -0
  829. /package/dist/web/assets/{rel-Gu5Erhpm.js → rel-NXKKDiTi.js} +0 -0
  830. /package/dist/web/assets/{resolve-theme-BNubecVz.js → resolve-theme-B87m6l4i.js} +0 -0
  831. /package/dist/web/assets/{riscv-DZDP0Ce7.js → riscv-BEIzhPcg.js} +0 -0
  832. /package/dist/web/assets/{ron-BwLObbl6.js → ron-CW2Bt8rN.js} +0 -0
  833. /package/dist/web/assets/{rose-pine-Bz6ToXok.js → rose-pine-DhnBfr5a.js} +0 -0
  834. /package/dist/web/assets/{rose-pine-dawn-LyFogzAh.js → rose-pine-dawn-Jyj59rVs.js} +0 -0
  835. /package/dist/web/assets/{rose-pine-moon-CpjkefjD.js → rose-pine-moon-BMulxhJC.js} +0 -0
  836. /package/dist/web/assets/{rosmsg-BldDLaz1.js → rosmsg-DuctJm-Q.js} +0 -0
  837. /package/dist/web/assets/{rust-74skZ8CC.js → rust-FbJ2fCp9.js} +0 -0
  838. /package/dist/web/assets/{sass-CitUFDWl.js → sass-Dfxwdu2h.js} +0 -0
  839. /package/dist/web/assets/{scala-D2kl5ghT.js → scala-ClsSR0wG.js} +0 -0
  840. /package/dist/web/assets/{scheme-DZqhC9Xs.js → scheme-Jj_Cc-8H.js} +0 -0
  841. /package/dist/web/assets/{sdbl-D6a8sHP9.js → sdbl-Bi8D_DGN.js} +0 -0
  842. /package/dist/web/assets/{slack-dark-DrlPLUB_.js → slack-dark-B7gbmJT9.js} +0 -0
  843. /package/dist/web/assets/{slack-ochin-Djgychog.js → slack-ochin-O7j_c76D.js} +0 -0
  844. /package/dist/web/assets/{smalltalk-CYQHXftK.js → smalltalk-BD5-U3JK.js} +0 -0
  845. /package/dist/web/assets/{snazzy-light-BQAdF14K.js → snazzy-light-BbiRB69_.js} +0 -0
  846. /package/dist/web/assets/{solarized-dark-JDtJfY-g.js → solarized-dark-2OWHYEBu.js} +0 -0
  847. /package/dist/web/assets/{solarized-light-DHzVPLDD.js → solarized-light-Cew4YqT3.js} +0 -0
  848. /package/dist/web/assets/{solidity-CYCEiPu1.js → solidity-Bpbne2Tx.js} +0 -0
  849. /package/dist/web/assets/{splunk-B7RHmJY2.js → splunk-Dq86L1_O.js} +0 -0
  850. /package/dist/web/assets/{ssh-config-B74-n00O.js → ssh-config-j5hsMvbs.js} +0 -0
  851. /package/dist/web/assets/{stylus-xlRhcbpN.js → stylus-DWhCIBg0.js} +0 -0
  852. /package/dist/web/assets/{swift-DTFwWJtu.js → swift-29fG5ztW.js} +0 -0
  853. /package/dist/web/assets/{synthwave-84-BuCpuX2E.js → synthwave-84-DraIUmiw.js} +0 -0
  854. /package/dist/web/assets/{system-verilog-CgxJCrOK.js → system-verilog-DqcJAWq_.js} +0 -0
  855. /package/dist/web/assets/{systemd-D0x7_XYJ.js → systemd-BUPJrx1D.js} +0 -0
  856. /package/dist/web/assets/{talonscript-B50aQRuc.js → talonscript-BGYbnAKh.js} +0 -0
  857. /package/dist/web/assets/{tasl-Byv8gHCL.js → tasl-CwbSJqng.js} +0 -0
  858. /package/dist/web/assets/{tcl-CzMjCzWo.js → tcl-Ba9376wa.js} +0 -0
  859. /package/dist/web/assets/{terraform-D6GH4CXG.js → terraform-ChSasWu8.js} +0 -0
  860. /package/dist/web/assets/{tokyo-night-CQ4rTpHY.js → tokyo-night-Bbw1Yguv.js} +0 -0
  861. /package/dist/web/assets/{toml-D9W-BuJE.js → toml-CYb7zi5B.js} +0 -0
  862. /package/dist/web/assets/{tsv-BddanT8p.js → tsv-P2eVmwf9.js} +0 -0
  863. /package/dist/web/assets/{turtle-BddVklvD.js → turtle-DIoQTATC.js} +0 -0
  864. /package/dist/web/assets/{typespec-D60I2kfB.js → typespec-Dpr1bC2k.js} +0 -0
  865. /package/dist/web/assets/{typst-Bxvc-9ID.js → typst-D4WMCDMn.js} +0 -0
  866. /package/dist/web/assets/{utils-Bmf_8h7Y.js → utils-btZ8C8-R.js} +0 -0
  867. /package/dist/web/assets/{v-kVYZE10o.js → v-B1wY-VFU.js} +0 -0
  868. /package/dist/web/assets/{vala-B3zj44PV.js → vala-BKqhrirP.js} +0 -0
  869. /package/dist/web/assets/{vb-CHgWrFTj.js → vb-S9PHCa7-.js} +0 -0
  870. /package/dist/web/assets/{vendor-xterm-_yyu5n32.js → vendor-xterm-BHKF_Nsf.js} +0 -0
  871. /package/dist/web/assets/{verilog-zIMuE3hE.js → verilog-CrztYl3V.js} +0 -0
  872. /package/dist/web/assets/{vesper-BjqPTQr0.js → vesper-C5KfcyFv.js} +0 -0
  873. /package/dist/web/assets/{vhdl-Q2EtgpQN.js → vhdl-D0qMeIJu.js} +0 -0
  874. /package/dist/web/assets/{viml-CrtDZkFz.js → viml-Dsv9mRPK.js} +0 -0
  875. /package/dist/web/assets/{vitesse-black-D2VWO3oN.js → vitesse-black-rJvNN5GN.js} +0 -0
  876. /package/dist/web/assets/{vitesse-dark-lleZmHBJ.js → vitesse-dark-CYp0WWjf.js} +0 -0
  877. /package/dist/web/assets/{vitesse-light-utUY298S.js → vitesse-light-BczSAvzE.js} +0 -0
  878. /package/dist/web/assets/{vyper-LQ1KxOUo.js → vyper-DM7bKz7E.js} +0 -0
  879. /package/dist/web/assets/{wasm-CJ9U4zWg.js → wasm-BXCHhbrz.js} +0 -0
  880. /package/dist/web/assets/{wasm-B-mpMVDM.js → wasm-CAJoqhGc.js} +0 -0
  881. /package/dist/web/assets/{wenyan-LqMyA7px.js → wenyan-NQ8fdbEq.js} +0 -0
  882. /package/dist/web/assets/{wgsl-eI4U21sm.js → wgsl-C88C7vmC.js} +0 -0
  883. /package/dist/web/assets/{wikitext-CuWC2dfS.js → wikitext-D92r7uX8.js} +0 -0
  884. /package/dist/web/assets/{wit-CCPY0MNz.js → wit-DNvTfQjW.js} +0 -0
  885. /package/dist/web/assets/{wolfram-CXhjyJun.js → wolfram-CNS5lCGj.js} +0 -0
  886. /package/dist/web/assets/{zenscript-BzHPI08Q.js → zenscript-B_rGi-H_.js} +0 -0
  887. /package/dist/web/assets/{zig-CBuhKUve.js → zig-BRi9UYQa.js} +0 -0
@@ -0,0 +1 @@
1
+ import{t as e}from"./react-CzUPVyyG.js";var t=[`n`,`s`,`e`,`w`,`ne`,`nw`,`se`,`sw`],n={w:360,h:240},r={w:880,h:560},i=48,a=(e,t,n)=>Math.min(n,Math.max(t,e));function o(e){return 30+a(Math.trunc(e),0,8)}function s(e,t){let r=Math.max(n.w,Math.min(e.w,Math.max(t.w,n.w))),i=Math.max(n.h,Math.min(e.h,Math.max(t.h,n.h))),o=a(e.x,48-r,Math.max(48-r,t.w-48)),s=a(e.y,0,Math.max(0,t.h-48));return{x:Math.round(o),y:Math.round(s),w:Math.round(r),h:Math.round(i)}}function c(e,t,r,i,a=n){let{x:o,y:s,w:c,h:l}=e;if(t.includes(`e`))c=Math.max(a.w,e.w+r);else if(t.includes(`w`)){let t=e.x+e.w;c=Math.max(a.w,e.w-r),o=t-c}if(t.includes(`s`))l=Math.max(a.h,e.h+i);else if(t.includes(`n`)){let t=e.y+e.h;l=Math.max(a.h,e.h-i),s=t-l}return{x:o,y:s,w:c,h:l}}function l(e,t){let a=Math.min(r.w,Math.max(n.w,t.w-i*2)),o=Math.min(r.h,Math.max(n.h,t.h-i*2)),c=e.length%8;return s({x:i+c*24,y:i+c*24,w:a,h:o},t)}function u(e,t,n,r){return s({...e,x:e.x+t,y:e.y+n},r)}var d=[`explorer`,`team-member`,`system-monitor`,`tab-host`,`remote-desktop`,`settings`],f=`ppm-windows`,p=d.filter(e=>e!==`team-member`),m=[`normal`,`maximized`,`minimized`];function h(e){if(!e||typeof e!=`object`)return!1;let t=e;return[`x`,`y`,`w`,`h`].every(e=>typeof t[e]==`number`&&Number.isFinite(t[e]))}function g(e){if(e===void 0)return!0;if(!e||typeof e!=`object`||Array.isArray(e))return!1;try{return JSON.stringify(e),!0}catch{return!1}}function _(e){return g(e.payload)?{id:e.id,kind:e.kind,rect:e.rect,state:e.state,payload:e.payload}:null}function v(e){try{let t=[...e].sort((e,t)=>e.rank-t.rank).map(_).filter(e=>e!==null);t.length===0?localStorage.removeItem(f):localStorage.setItem(f,JSON.stringify(t))}catch{}}function y(e){let t=null;try{t=localStorage.getItem(f)}catch{return[]}if(!t)return[];let n;try{n=JSON.parse(t)}catch{return[]}if(!Array.isArray(n))return[];let r=[];for(let t of n){if(!t||typeof t!=`object`)continue;let n=t;if(typeof n.id!=`string`||!p.includes(n.kind)||!h(n.rect)||!g(n.payload))continue;let i=m.includes(n.state)?n.state:`normal`;r.push({id:n.id,kind:n.kind,rect:s(n.rect,e),state:i,payload:n.payload})}return r}var b={w:1280,h:800},x=e=>Object.values(e).sort((e,t)=>e.rank-t.rank);function S(e){let t={};return e.forEach((e,n)=>{t[e.id]=e.rank===n?e:{...e,rank:n}}),t}function C(e){v(Object.values(e))}function w(){return`win-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`}var T=e((e,t)=>({windows:{},bounds:b,restored:!1,open:(n,r,i)=>{let{windows:a,bounds:o}=t(),c=x(a);if(c.length>=8){let e=c[0];return t().focus(e.id),e.id}let u=w(),d=i?s(i,o):l(c.map(e=>e.rect),o),f=S([...c,{id:u,kind:n,rect:d,rank:c.length,state:`normal`,payload:r}]);return e({windows:f}),C(f),u},close:n=>{let{windows:r}=t();if(!r[n])return;let i=S(x(r).filter(e=>e.id!==n));e({windows:i}),C(i)},focus:n=>{let{windows:r}=t(),i=r[n];if(!i)return;let a=x(r);if(a[a.length-1]?.id===n)return;let o=S([...a.filter(e=>e.id!==n),i]);e({windows:o}),C(o)},move:(n,r)=>{let{windows:i,bounds:a}=t(),o=i[n];if(!o)return;let c=s({...o.rect,...r},a),l={...i,[n]:{...o,rect:c}};e({windows:l}),C(l)},resize:(n,r)=>{let{windows:i,bounds:a}=t(),o=i[n];if(!o)return;let c={...i,[n]:{...o,rect:s(r,a)}};e({windows:c}),C(c)},setState:(n,r)=>{let{windows:i}=t(),a=i[n];if(!a||a.state===r)return;let o={...i,[n]:{...a,state:r}};e({windows:o}),C(o)},setPayload:(n,r)=>{let{windows:i}=t(),a=i[n];if(!a)return;let o={...a.payload,...r};if(Object.entries(o).every(([e,t])=>a.payload?.[e]===t)&&Object.keys(o).length===Object.keys(a.payload??{}).length)return;let s={...i,[n]:{...a,payload:o}};e({windows:s}),C(s)},setBounds:n=>{let r=t();if(r.bounds.w===n.w&&r.bounds.h===n.h)return;let i={};for(let e of Object.values(r.windows)){let t=s(e.rect,n);i[e.id]=t.x===e.rect.x&&t.y===e.rect.y&&t.w===e.rect.w&&t.h===e.rect.h?e:{...e,rect:t}}e({bounds:n,windows:i})},restoreAll:n=>{t().restored||e({bounds:n,windows:S(y(n).slice(0,8).map((e,t)=>({id:e.id,kind:e.kind,rect:e.rect,rank:t,state:e.state,payload:e.payload}))),restored:!0})}}));function E(e){return x(e)}export{s as a,c as i,E as n,u as o,t as r,o as s,T as t};
@@ -0,0 +1 @@
1
+ import{r as e}from"./api-client-c8YOpTlT.js";function t(t){let n=e();return!n||/[?&]token=/.test(t)?t:`${t}${t.includes(`?`)?`&`:`?`}token=${encodeURIComponent(n)}`}export{t};
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-C5c2KzVm.js";import{t}from"./java-DPqGHyuh.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)),i=[...t,r];export{n,i as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./xml-DshhaDKq.js";var t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),n=[...e,t];export{n as default};
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-C5c2KzVm.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];export{t as n,n as t};
@@ -9,42 +9,43 @@
9
9
  <link rel="preconnect" href="https://fonts.googleapis.com" />
10
10
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11
11
  <link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&family=Geist:wght@400;500;600;700&display=swap" rel="stylesheet" />
12
- <script type="module" crossorigin src="/assets/index-BoaecXhu.js"></script>
13
- <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-FhOqtrmT.js">
14
- <link rel="modulepreload" crossorigin href="/assets/vendor-mermaid-D6lgjvVE.js">
15
- <link rel="modulepreload" crossorigin href="/assets/vendor-markdown-CuWCHIVb.js">
16
- <link rel="modulepreload" crossorigin href="/assets/vendor-ui-DmZ-Mb-H.js">
17
- <link rel="modulepreload" crossorigin href="/assets/utils-Bmf_8h7Y.js">
18
- <link rel="modulepreload" crossorigin href="/assets/button-B9CTrsEf.js">
19
- <link rel="modulepreload" crossorigin href="/assets/createLucideIcon-DoiEKeJ_.js">
20
- <link rel="modulepreload" crossorigin href="/assets/api-client-Jn3njtNw.js">
21
- <link rel="modulepreload" crossorigin href="/assets/react-Bghu0NUO.js">
22
- <link rel="modulepreload" crossorigin href="/assets/settings-store-m6qOXoy4.js">
23
- <link rel="modulepreload" crossorigin href="/assets/file-store-Ds3qJ4hC.js">
24
- <link rel="modulepreload" crossorigin href="/assets/window-store-UC1jJeLM.js">
25
- <link rel="modulepreload" crossorigin href="/assets/panel-store-D20Zuf3i.js">
26
- <link rel="modulepreload" crossorigin href="/assets/window-pip-registry-D1oXq-Dq.js">
27
- <link rel="modulepreload" crossorigin href="/assets/portal-container-context-BarKmT4S.js">
28
- <link rel="modulepreload" crossorigin href="/assets/icons-DQjqk0lJ.js">
29
- <link rel="modulepreload" crossorigin href="/assets/dialog-B84_DJQ8.js">
30
- <link rel="modulepreload" crossorigin href="/assets/use-is-mobile-TkcwP1Gx.js">
31
- <link rel="modulepreload" crossorigin href="/assets/onboarding-quick-orientation-Dqmis-E5.js">
32
- <link rel="modulepreload" crossorigin href="/assets/fs-api-orca76dV.js">
33
- <link rel="modulepreload" crossorigin href="/assets/format-file-meta-eKLstbCL.js">
34
- <link rel="modulepreload" crossorigin href="/assets/context-menu-C6pIsf83.js">
35
- <link rel="modulepreload" crossorigin href="/assets/input-QNG_gTHh.js">
36
- <link rel="modulepreload" crossorigin href="/assets/use-visual-viewport-Lp878uzs.js">
37
- <link rel="modulepreload" crossorigin href="/assets/mobile-bottom-sheet-C3TniEP-.js">
38
- <link rel="modulepreload" crossorigin href="/assets/scroll-area-C0fQWNnx.js">
39
- <link rel="modulepreload" crossorigin href="/assets/project-framework-store-ViZgce6y.js">
40
- <link rel="modulepreload" crossorigin href="/assets/file-icons-wS-OmEVu.js">
41
- <link rel="modulepreload" crossorigin href="/assets/git-repo-store-BCEPfUGT.js">
42
- <link rel="modulepreload" crossorigin href="/assets/project-store-hNvwfqX3.js">
43
- <link rel="modulepreload" crossorigin href="/assets/ws-auth-CaxV807E.js">
44
- <link rel="modulepreload" crossorigin href="/assets/tab-store-krAuHQ6_.js">
45
- <link rel="modulepreload" crossorigin href="/assets/apply-theme-CbR31K6I.js">
46
- <link rel="modulepreload" crossorigin href="/assets/resolve-theme-BNubecVz.js">
47
- <link rel="stylesheet" crossorigin href="/assets/index-aXJy_SvC.css">
12
+ <script type="module" crossorigin src="/assets/index-DSbUqWiH.js"></script>
13
+ <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-C5c2KzVm.js">
14
+ <link rel="modulepreload" crossorigin href="/assets/vendor-mermaid-eg2XWIjK.js">
15
+ <link rel="modulepreload" crossorigin href="/assets/vendor-markdown-QKPNiWEd.js">
16
+ <link rel="modulepreload" crossorigin href="/assets/vendor-ui-BHh12_0v.js">
17
+ <link rel="modulepreload" crossorigin href="/assets/utils-btZ8C8-R.js">
18
+ <link rel="modulepreload" crossorigin href="/assets/button-CBehaXpV.js">
19
+ <link rel="modulepreload" crossorigin href="/assets/createLucideIcon-DBXq3G0e.js">
20
+ <link rel="modulepreload" crossorigin href="/assets/api-client-c8YOpTlT.js">
21
+ <link rel="modulepreload" crossorigin href="/assets/react-CzUPVyyG.js">
22
+ <link rel="modulepreload" crossorigin href="/assets/settings-store-DXmQug0m.js">
23
+ <link rel="modulepreload" crossorigin href="/assets/file-store-CTlJqj2m.js">
24
+ <link rel="modulepreload" crossorigin href="/assets/window-store-B4cbZ5rr.js">
25
+ <link rel="modulepreload" crossorigin href="/assets/panel-store-BUQ-CPsd.js">
26
+ <link rel="modulepreload" crossorigin href="/assets/window-pip-registry-DH07f_8k.js">
27
+ <link rel="modulepreload" crossorigin href="/assets/portal-container-context-NFSuymMu.js">
28
+ <link rel="modulepreload" crossorigin href="/assets/icons-CO_II6D-.js">
29
+ <link rel="modulepreload" crossorigin href="/assets/dialog-tzBRkGeW.js">
30
+ <link rel="modulepreload" crossorigin href="/assets/use-is-mobile-CkO33jqU.js">
31
+ <link rel="modulepreload" crossorigin href="/assets/onboarding-quick-orientation-CT4PylG0.js">
32
+ <link rel="modulepreload" crossorigin href="/assets/fs-api-RVc5RtTA.js">
33
+ <link rel="modulepreload" crossorigin href="/assets/format-file-meta-DLaHgkdx.js">
34
+ <link rel="modulepreload" crossorigin href="/assets/context-menu-CjYTq8DI.js">
35
+ <link rel="modulepreload" crossorigin href="/assets/input-CP31LZnN.js">
36
+ <link rel="modulepreload" crossorigin href="/assets/use-visual-viewport-C307OVeV.js">
37
+ <link rel="modulepreload" crossorigin href="/assets/mobile-bottom-sheet-Cf4kV1hS.js">
38
+ <link rel="modulepreload" crossorigin href="/assets/scroll-area-xAtds1T-.js">
39
+ <link rel="modulepreload" crossorigin href="/assets/project-framework-store-XxFXcUpb.js">
40
+ <link rel="modulepreload" crossorigin href="/assets/file-icons-BlOxPo3P.js">
41
+ <link rel="modulepreload" crossorigin href="/assets/format-date-BMtvCeb9.js">
42
+ <link rel="modulepreload" crossorigin href="/assets/git-repo-store-DFTJ5ngK.js">
43
+ <link rel="modulepreload" crossorigin href="/assets/project-store-C5gJXkvb.js">
44
+ <link rel="modulepreload" crossorigin href="/assets/ws-auth-B_y5rMfZ.js">
45
+ <link rel="modulepreload" crossorigin href="/assets/tab-store-DqeaGhhE.js">
46
+ <link rel="modulepreload" crossorigin href="/assets/apply-theme-aVoqSG0I.js">
47
+ <link rel="modulepreload" crossorigin href="/assets/resolve-theme-B87m6l4i.js">
48
+ <link rel="stylesheet" crossorigin href="/assets/index-CzYrKDUF.css">
48
49
  <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
49
50
  <body class="text-text font-sans antialiased" style="background: var(--bg)">
50
51
  <!-- FOUC guard: apply the persisted theme mode before first paint.
package/dist/web/sw.js CHANGED
@@ -1 +1 @@
1
- try{self[`workbox:core:7.3.0`]&&_()}catch{}var e=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n},t=class extends Error{constructor(t,n){let r=e(t,n);super(r),this.name=t,this.details=n}},n={googleAnalytics:`googleAnalytics`,precache:`precache-v2`,prefix:`workbox`,runtime:`runtime`,suffix:typeof registration<`u`?registration.scope:``},r=e=>[n.prefix,e,n.suffix].filter(e=>e&&e.length>0).join(`-`),i=e=>{for(let t of Object.keys(n))e(t)},a={updateDetails:e=>{i(t=>{typeof e[t]==`string`&&(n[t]=e[t])})},getGoogleAnalyticsName:e=>e||r(n.googleAnalytics),getPrecacheName:e=>e||r(n.precache),getPrefix:()=>n.prefix,getRuntimeName:e=>e||r(n.runtime),getSuffix:()=>n.suffix};function o(e,t){let n=t();return e.waitUntil(n),n}try{self[`workbox:precaching:7.3.0`]&&_()}catch{}var s=`__WB_REVISION__`;function c(e){if(!e)throw new t(`add-to-cache-list-unexpected-type`,{entry:e});if(typeof e==`string`){let t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}let{revision:n,url:r}=e;if(!r)throw new t(`add-to-cache-list-unexpected-type`,{entry:e});if(!n){let e=new URL(r,location.href);return{cacheKey:e.href,url:e.href}}let i=new URL(r,location.href),a=new URL(r,location.href);return i.searchParams.set(s,n),{cacheKey:i.href,url:a.href}}var l=class{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type===`install`&&t&&t.originalRequest&&t.originalRequest instanceof Request){let e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}},u=class{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{let n=t?.cacheKey||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}},d;function f(){if(d===void 0){let e=new Response(``);if(`body`in e)try{new Response(e.body),d=!0}catch{d=!1}d=!1}return d}async function p(e,n){let r=null;if(e.url&&(r=new URL(e.url).origin),r!==self.location.origin)throw new t(`cross-origin-copy-response`,{origin:r});let i=e.clone(),a={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=n?n(a):a,s=f()?i.body:await i.blob();return new Response(s,o)}var m=e=>new URL(String(e),location.href).href.replace(RegExp(`^${location.origin}`),``);function h(e,t){let n=new URL(e);for(let e of t)n.searchParams.delete(e);return n.href}async function g(e,t,n,r){let i=h(t.url,n);if(t.url===i)return e.match(t,r);let a=Object.assign(Object.assign({},r),{ignoreSearch:!0}),o=await e.keys(t,a);for(let t of o)if(i===h(t.url,n))return e.match(t,r)}var v=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}},y=new Set;async function b(){for(let e of y)await e()}function x(e){return new Promise(t=>setTimeout(t,e))}try{self[`workbox:strategies:7.3.0`]&&_()}catch{}function S(e){return typeof e==`string`?new Request(e):e}var C=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new v,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(let e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:n}=this,r=S(e);if(r.mode===`navigate`&&n instanceof FetchEvent&&n.preloadResponse){let e=await n.preloadResponse;if(e)return e}let i=this.hasCallback(`fetchDidFail`)?r.clone():null;try{for(let e of this.iterateCallbacks(`requestWillFetch`))r=await e({request:r.clone(),event:n})}catch(e){if(e instanceof Error)throw new t(`plugin-error-request-will-fetch`,{thrownErrorMessage:e.message})}let a=r.clone();try{let e;e=await fetch(r,r.mode===`navigate`?void 0:this._strategy.fetchOptions);for(let t of this.iterateCallbacks(`fetchDidSucceed`))e=await t({event:n,request:a,response:e});return e}catch(e){throw i&&await this.runCallbacks(`fetchDidFail`,{error:e,event:n,originalRequest:i.clone(),request:a.clone()}),e}}async fetchAndCachePut(e){let t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){let t=S(e),n,{cacheName:r,matchOptions:i}=this._strategy,a=await this.getCacheKey(t,`read`),o=Object.assign(Object.assign({},i),{cacheName:r});n=await caches.match(a,o);for(let e of this.iterateCallbacks(`cachedResponseWillBeUsed`))n=await e({cacheName:r,matchOptions:i,cachedResponse:n,request:a,event:this.event})||void 0;return n}async cachePut(e,n){let r=S(e);await x(0);let i=await this.getCacheKey(r,`write`);if(!n)throw new t(`cache-put-with-no-response`,{url:m(i.url)});let a=await this._ensureResponseSafeToCache(n);if(!a)return!1;let{cacheName:o,matchOptions:s}=this._strategy,c=await self.caches.open(o),l=this.hasCallback(`cacheDidUpdate`),u=l?await g(c,i.clone(),[`__WB_REVISION__`],s):null;try{await c.put(i,l?a.clone():a)}catch(e){if(e instanceof Error)throw e.name===`QuotaExceededError`&&await b(),e}for(let e of this.iterateCallbacks(`cacheDidUpdate`))await e({cacheName:o,oldResponse:u,newResponse:a.clone(),request:i,event:this.event});return!0}async getCacheKey(e,t){let n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(let e of this.iterateCallbacks(`cacheKeyWillBeUsed`))r=S(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if(typeof t[e]==`function`){let n=this._pluginStateMap.get(t);yield r=>{let i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){for(;this._extendLifetimePromises.length;){let e=this._extendLifetimePromises.splice(0),t=(await Promise.allSettled(e)).find(e=>e.status===`rejected`);if(t)throw t.reason}}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(let e of this.iterateCallbacks(`cacheWillUpdate`))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}},w=class{constructor(e={}){this.cacheName=a.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});let t=e.event,n=typeof e.request==`string`?new Request(e.request):e.request,r=`params`in e?e.params:void 0,i=new C(this,{event:t,request:n,params:r}),a=this._getResponse(i,n,t);return[a,this._awaitComplete(a,i,n,t)]}async _getResponse(e,n,r){await e.runCallbacks(`handlerWillStart`,{event:r,request:n});let i;try{if(i=await this._handle(n,e),!i||i.type===`error`)throw new t(`no-response`,{url:n.url})}catch(t){if(t instanceof Error){for(let a of e.iterateCallbacks(`handlerDidError`))if(i=await a({error:t,event:r,request:n}),i)break}if(!i)throw t}for(let t of e.iterateCallbacks(`handlerWillRespond`))i=await t({event:r,request:n,response:i});return i}async _awaitComplete(e,t,n,r){let i,a;try{i=await e}catch{}try{await t.runCallbacks(`handlerDidRespond`,{event:r,request:n,response:i}),await t.doneWaiting()}catch(e){e instanceof Error&&(a=e)}if(await t.runCallbacks(`handlerDidComplete`,{event:r,request:n,response:i,error:a}),t.destroy(),a)throw a}},T=class e extends w{constructor(t={}){t.cacheName=a.getPrecacheName(t.cacheName),super(t),this._fallbackToNetwork=t.fallbackToNetwork!==!1,this.plugins.push(e.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){return await t.cacheMatch(e)||(t.event&&t.event.type===`install`?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,n){let r,i=n.params||{};if(this._fallbackToNetwork){let t=i.integrity,a=e.integrity,o=!a||a===t;r=await n.fetch(new Request(e,{integrity:e.mode===`no-cors`?void 0:a||t})),t&&o&&e.mode!==`no-cors`&&(this._useDefaultCacheabilityPluginIfNeeded(),await n.cachePut(e,r.clone()))}else throw new t(`missing-precache-entry`,{cacheName:this.cacheName,url:e.url});return r}async _handleInstall(e,n){this._useDefaultCacheabilityPluginIfNeeded();let r=await n.fetch(e);if(!await n.cachePut(e,r.clone()))throw new t(`bad-precaching-response`,{url:e.url,status:r.status});return r}_useDefaultCacheabilityPluginIfNeeded(){let t=null,n=0;for(let[r,i]of this.plugins.entries())i!==e.copyRedirectedCacheableResponsesPlugin&&(i===e.defaultPrecacheCacheabilityPlugin&&(t=r),i.cacheWillUpdate&&n++);n===0?this.plugins.push(e.defaultPrecacheCacheabilityPlugin):n>1&&t!==null&&this.plugins.splice(t,1)}};T.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:e}){return!e||e.status>=400?null:e}},T.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:e}){return e.redirected?await p(e):e}};var E=class{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new T({cacheName:a.getPrecacheName(e),plugins:[...t,new u({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||=(self.addEventListener(`install`,this.install),self.addEventListener(`activate`,this.activate),!0)}addToCacheList(e){let n=[];for(let r of e){typeof r==`string`?n.push(r):r&&r.revision===void 0&&n.push(r.url);let{cacheKey:e,url:i}=c(r),a=typeof r!=`string`&&r.revision?`reload`:`default`;if(this._urlsToCacheKeys.has(i)&&this._urlsToCacheKeys.get(i)!==e)throw new t(`add-to-cache-list-conflicting-entries`,{firstEntry:this._urlsToCacheKeys.get(i),secondEntry:e});if(typeof r!=`string`&&r.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==r.integrity)throw new t(`add-to-cache-list-conflicting-integrities`,{url:i});this._cacheKeysToIntegrities.set(e,r.integrity)}if(this._urlsToCacheKeys.set(i,e),this._urlsToCacheModes.set(i,a),n.length>0){let e=`Workbox is precaching URLs without revision info: ${n.join(`, `)}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return o(e,async()=>{let t=new l;this.strategy.plugins.push(t);for(let[t,n]of this._urlsToCacheKeys){let r=this._cacheKeysToIntegrities.get(n),i=this._urlsToCacheModes.get(t),a=new Request(t,{integrity:r,cache:i,credentials:`same-origin`});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:a,event:e}))}let{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}})}activate(e){return o(e,async()=>{let e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(let i of t)n.has(i.url)||(await e.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){let n=this.getCacheKeyForURL(e);if(!n)throw new t(`non-precached-url`,{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:n},t.params),this.strategy.handle(t))}},D,O=()=>(D||=new E,D);try{self[`workbox:routing:7.3.0`]&&_()}catch{}var k=e=>e&&typeof e==`object`?e:{handle:e},A=class{constructor(e,t,n=`GET`){this.handler=k(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=k(e)}},j=class extends A{constructor(e,t,n){super(({url:t})=>{let n=e.exec(t.href);if(n&&!(t.origin!==location.origin&&n.index!==0))return n.slice(1)},t,n)}},M=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener(`fetch`,(e=>{let{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener(`message`,(e=>{if(e.data&&e.data.type===`CACHE_URLS`){let{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(t=>{typeof t==`string`&&(t=[t]);let n=new Request(...t);return this.handleRequest({request:n,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}}))}handleRequest({request:e,event:t}){let n=new URL(e.url,location.href);if(!n.protocol.startsWith(`http`))return;let r=n.origin===location.origin,{params:i,route:a}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n}),o=a&&a.handler,s=e.method;if(!o&&this._defaultHandlerMap.has(s)&&(o=this._defaultHandlerMap.get(s)),!o)return;let c;try{c=o.handle({url:n,request:e,event:t,params:i})}catch(e){c=Promise.reject(e)}let l=a&&a.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch(async r=>{if(l)try{return await l.handle({url:n,request:e,event:t,params:i})}catch(e){e instanceof Error&&(r=e)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r})),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){let i=this._routes.get(n.method)||[];for(let a of i){let i,o=a.match({url:e,sameOrigin:t,request:n,event:r});if(o)return i=o,(Array.isArray(i)&&i.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o==`boolean`)&&(i=void 0),{route:a,params:i}}return{}}setDefaultHandler(e,t=`GET`){this._defaultHandlerMap.set(t,k(e))}setCatchHandler(e){this._catchHandler=k(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t(`unregister-route-but-not-found-with-method`,{method:e.method});let n=this._routes.get(e.method).indexOf(e);if(n>-1)this._routes.get(e.method).splice(n,1);else throw new t(`unregister-route-route-not-registered`)}},N,P=()=>(N||(N=new M,N.addFetchListener(),N.addCacheListener()),N);function F(e,n,r){let i;if(typeof e==`string`){let t=new URL(e,location.href);i=new A(({url:e})=>e.href===t.href,n,r)}else if(e instanceof RegExp)i=new j(e,n,r);else if(typeof e==`function`)i=new A(e,n,r);else if(e instanceof A)i=e;else throw new t(`unsupported-route-type`,{moduleName:`workbox-routing`,funcName:`registerRoute`,paramName:`capture`});return P().registerRoute(i),i}function I(e,t=[]){for(let n of[...e.searchParams.keys()])t.some(e=>e.test(n))&&e.searchParams.delete(n);return e}function*L(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n=`index.html`,cleanURLs:r=!0,urlManipulation:i}={}){let a=new URL(e,location.href);a.hash=``,yield a.href;let o=I(a,t);if(yield o.href,n&&o.pathname.endsWith(`/`)){let e=new URL(o.href);e.pathname+=n,yield e.href}if(r){let e=new URL(o.href);e.pathname+=`.html`,yield e.href}if(i){let e=i({url:a});for(let t of e)yield t.href}}var R=class extends A{constructor(e,t){super(({request:n})=>{let r=e.getURLsToCacheKeys();for(let i of L(n.url,t)){let t=r.get(i);if(t)return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}},e.strategy)}};function z(e){F(new R(O(),e))}var B=`-precache-`,V=async(e,t=B)=>{let n=(await self.caches.keys()).filter(n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e);return await Promise.all(n.map(e=>self.caches.delete(e))),n};function H(){self.addEventListener(`activate`,(e=>{let t=a.getPrecacheName();e.waitUntil(V(t).then(e=>{}))}))}function U(e){O().precache(e)}function W(e,t){U(e),z(t)}var G=class extends w{async _handle(e,n){let r=await n.cacheMatch(e),i;if(!r)try{r=await n.fetchAndCachePut(e)}catch(e){e instanceof Error&&(i=e)}if(!r)throw new t(`no-response`,{url:e.url,error:i});return r}};W([{"revision":"333e3615fde4e82166314688d1e3e18e","url":"index.html"},{"revision":"26dccd02a2ef7522892015154f5e3680","url":"manifest.webmanifest"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-512.svg"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-192.svg"},{"revision":null,"url":"assets/index-aXJy_SvC.css"},{"revision":null,"url":"assets/index-BoaecXhu.js"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-192.svg"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-512.svg"},{"revision":"26dccd02a2ef7522892015154f5e3680","url":"manifest.webmanifest"}]),H();var K=e=>(e.headers.get(`content-type`)??``).startsWith(`text/html`);F(({url:e})=>e.pathname.startsWith(`/assets/`),new G({cacheName:`ppm-assets`,plugins:[{cacheWillUpdate:async({response:e})=>K(e)?null:e,cachedResponseWillBeUsed:async({cachedResponse:e})=>e&&K(e)?null:e}]})),self.skipWaiting(),self.addEventListener(`activate`,()=>{self.clients.claim()});
1
+ try{self[`workbox:core:7.3.0`]&&_()}catch{}var e=(e,...t)=>{let n=e;return t.length>0&&(n+=` :: ${JSON.stringify(t)}`),n},t=class extends Error{constructor(t,n){let r=e(t,n);super(r),this.name=t,this.details=n}},n={googleAnalytics:`googleAnalytics`,precache:`precache-v2`,prefix:`workbox`,runtime:`runtime`,suffix:typeof registration<`u`?registration.scope:``},r=e=>[n.prefix,e,n.suffix].filter(e=>e&&e.length>0).join(`-`),i=e=>{for(let t of Object.keys(n))e(t)},a={updateDetails:e=>{i(t=>{typeof e[t]==`string`&&(n[t]=e[t])})},getGoogleAnalyticsName:e=>e||r(n.googleAnalytics),getPrecacheName:e=>e||r(n.precache),getPrefix:()=>n.prefix,getRuntimeName:e=>e||r(n.runtime),getSuffix:()=>n.suffix};function o(e,t){let n=t();return e.waitUntil(n),n}try{self[`workbox:precaching:7.3.0`]&&_()}catch{}var s=`__WB_REVISION__`;function c(e){if(!e)throw new t(`add-to-cache-list-unexpected-type`,{entry:e});if(typeof e==`string`){let t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}let{revision:n,url:r}=e;if(!r)throw new t(`add-to-cache-list-unexpected-type`,{entry:e});if(!n){let e=new URL(r,location.href);return{cacheKey:e.href,url:e.href}}let i=new URL(r,location.href),a=new URL(r,location.href);return i.searchParams.set(s,n),{cacheKey:i.href,url:a.href}}var l=class{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type===`install`&&t&&t.originalRequest&&t.originalRequest instanceof Request){let e=t.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}},u=class{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{let n=t?.cacheKey||this._precacheController.getCacheKeyForURL(e.url);return n?new Request(n,{headers:e.headers}):e},this._precacheController=e}},d;function f(){if(d===void 0){let e=new Response(``);if(`body`in e)try{new Response(e.body),d=!0}catch{d=!1}d=!1}return d}async function p(e,n){let r=null;if(e.url&&(r=new URL(e.url).origin),r!==self.location.origin)throw new t(`cross-origin-copy-response`,{origin:r});let i=e.clone(),a={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=n?n(a):a,s=f()?i.body:await i.blob();return new Response(s,o)}var m=e=>new URL(String(e),location.href).href.replace(RegExp(`^${location.origin}`),``);function h(e,t){let n=new URL(e);for(let e of t)n.searchParams.delete(e);return n.href}async function g(e,t,n,r){let i=h(t.url,n);if(t.url===i)return e.match(t,r);let a=Object.assign(Object.assign({},r),{ignoreSearch:!0}),o=await e.keys(t,a);for(let t of o)if(i===h(t.url,n))return e.match(t,r)}var v=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}},y=new Set;async function b(){for(let e of y)await e()}function x(e){return new Promise(t=>setTimeout(t,e))}try{self[`workbox:strategies:7.3.0`]&&_()}catch{}function S(e){return typeof e==`string`?new Request(e):e}var C=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new v,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(let e of this._plugins)this._pluginStateMap.set(e,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:n}=this,r=S(e);if(r.mode===`navigate`&&n instanceof FetchEvent&&n.preloadResponse){let e=await n.preloadResponse;if(e)return e}let i=this.hasCallback(`fetchDidFail`)?r.clone():null;try{for(let e of this.iterateCallbacks(`requestWillFetch`))r=await e({request:r.clone(),event:n})}catch(e){if(e instanceof Error)throw new t(`plugin-error-request-will-fetch`,{thrownErrorMessage:e.message})}let a=r.clone();try{let e;e=await fetch(r,r.mode===`navigate`?void 0:this._strategy.fetchOptions);for(let t of this.iterateCallbacks(`fetchDidSucceed`))e=await t({event:n,request:a,response:e});return e}catch(e){throw i&&await this.runCallbacks(`fetchDidFail`,{error:e,event:n,originalRequest:i.clone(),request:a.clone()}),e}}async fetchAndCachePut(e){let t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){let t=S(e),n,{cacheName:r,matchOptions:i}=this._strategy,a=await this.getCacheKey(t,`read`),o=Object.assign(Object.assign({},i),{cacheName:r});n=await caches.match(a,o);for(let e of this.iterateCallbacks(`cachedResponseWillBeUsed`))n=await e({cacheName:r,matchOptions:i,cachedResponse:n,request:a,event:this.event})||void 0;return n}async cachePut(e,n){let r=S(e);await x(0);let i=await this.getCacheKey(r,`write`);if(!n)throw new t(`cache-put-with-no-response`,{url:m(i.url)});let a=await this._ensureResponseSafeToCache(n);if(!a)return!1;let{cacheName:o,matchOptions:s}=this._strategy,c=await self.caches.open(o),l=this.hasCallback(`cacheDidUpdate`),u=l?await g(c,i.clone(),[`__WB_REVISION__`],s):null;try{await c.put(i,l?a.clone():a)}catch(e){if(e instanceof Error)throw e.name===`QuotaExceededError`&&await b(),e}for(let e of this.iterateCallbacks(`cacheDidUpdate`))await e({cacheName:o,oldResponse:u,newResponse:a.clone(),request:i,event:this.event});return!0}async getCacheKey(e,t){let n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(let e of this.iterateCallbacks(`cacheKeyWillBeUsed`))r=S(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if(typeof t[e]==`function`){let n=this._pluginStateMap.get(t);yield r=>{let i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){for(;this._extendLifetimePromises.length;){let e=this._extendLifetimePromises.splice(0),t=(await Promise.allSettled(e)).find(e=>e.status===`rejected`);if(t)throw t.reason}}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(let e of this.iterateCallbacks(`cacheWillUpdate`))if(t=await e({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}},w=class{constructor(e={}){this.cacheName=a.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});let t=e.event,n=typeof e.request==`string`?new Request(e.request):e.request,r=`params`in e?e.params:void 0,i=new C(this,{event:t,request:n,params:r}),a=this._getResponse(i,n,t);return[a,this._awaitComplete(a,i,n,t)]}async _getResponse(e,n,r){await e.runCallbacks(`handlerWillStart`,{event:r,request:n});let i;try{if(i=await this._handle(n,e),!i||i.type===`error`)throw new t(`no-response`,{url:n.url})}catch(t){if(t instanceof Error){for(let a of e.iterateCallbacks(`handlerDidError`))if(i=await a({error:t,event:r,request:n}),i)break}if(!i)throw t}for(let t of e.iterateCallbacks(`handlerWillRespond`))i=await t({event:r,request:n,response:i});return i}async _awaitComplete(e,t,n,r){let i,a;try{i=await e}catch{}try{await t.runCallbacks(`handlerDidRespond`,{event:r,request:n,response:i}),await t.doneWaiting()}catch(e){e instanceof Error&&(a=e)}if(await t.runCallbacks(`handlerDidComplete`,{event:r,request:n,response:i,error:a}),t.destroy(),a)throw a}},T=class e extends w{constructor(t={}){t.cacheName=a.getPrecacheName(t.cacheName),super(t),this._fallbackToNetwork=t.fallbackToNetwork!==!1,this.plugins.push(e.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){return await t.cacheMatch(e)||(t.event&&t.event.type===`install`?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,n){let r,i=n.params||{};if(this._fallbackToNetwork){let t=i.integrity,a=e.integrity,o=!a||a===t;r=await n.fetch(new Request(e,{integrity:e.mode===`no-cors`?void 0:a||t})),t&&o&&e.mode!==`no-cors`&&(this._useDefaultCacheabilityPluginIfNeeded(),await n.cachePut(e,r.clone()))}else throw new t(`missing-precache-entry`,{cacheName:this.cacheName,url:e.url});return r}async _handleInstall(e,n){this._useDefaultCacheabilityPluginIfNeeded();let r=await n.fetch(e);if(!await n.cachePut(e,r.clone()))throw new t(`bad-precaching-response`,{url:e.url,status:r.status});return r}_useDefaultCacheabilityPluginIfNeeded(){let t=null,n=0;for(let[r,i]of this.plugins.entries())i!==e.copyRedirectedCacheableResponsesPlugin&&(i===e.defaultPrecacheCacheabilityPlugin&&(t=r),i.cacheWillUpdate&&n++);n===0?this.plugins.push(e.defaultPrecacheCacheabilityPlugin):n>1&&t!==null&&this.plugins.splice(t,1)}};T.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:e}){return!e||e.status>=400?null:e}},T.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:e}){return e.redirected?await p(e):e}};var E=class{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new T({cacheName:a.getPrecacheName(e),plugins:[...t,new u({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||=(self.addEventListener(`install`,this.install),self.addEventListener(`activate`,this.activate),!0)}addToCacheList(e){let n=[];for(let r of e){typeof r==`string`?n.push(r):r&&r.revision===void 0&&n.push(r.url);let{cacheKey:e,url:i}=c(r),a=typeof r!=`string`&&r.revision?`reload`:`default`;if(this._urlsToCacheKeys.has(i)&&this._urlsToCacheKeys.get(i)!==e)throw new t(`add-to-cache-list-conflicting-entries`,{firstEntry:this._urlsToCacheKeys.get(i),secondEntry:e});if(typeof r!=`string`&&r.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==r.integrity)throw new t(`add-to-cache-list-conflicting-integrities`,{url:i});this._cacheKeysToIntegrities.set(e,r.integrity)}if(this._urlsToCacheKeys.set(i,e),this._urlsToCacheModes.set(i,a),n.length>0){let e=`Workbox is precaching URLs without revision info: ${n.join(`, `)}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return o(e,async()=>{let t=new l;this.strategy.plugins.push(t);for(let[t,n]of this._urlsToCacheKeys){let r=this._cacheKeysToIntegrities.get(n),i=this._urlsToCacheModes.get(t),a=new Request(t,{integrity:r,cache:i,credentials:`same-origin`});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:a,event:e}))}let{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}})}activate(e){return o(e,async()=>{let e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),n=new Set(this._urlsToCacheKeys.values()),r=[];for(let i of t)n.has(i.url)||(await e.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){let n=this.getCacheKeyForURL(e);if(!n)throw new t(`non-precached-url`,{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:n},t.params),this.strategy.handle(t))}},D,O=()=>(D||=new E,D);try{self[`workbox:routing:7.3.0`]&&_()}catch{}var k=e=>e&&typeof e==`object`?e:{handle:e},A=class{constructor(e,t,n=`GET`){this.handler=k(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=k(e)}},j=class extends A{constructor(e,t,n){super(({url:t})=>{let n=e.exec(t.href);if(n&&!(t.origin!==location.origin&&n.index!==0))return n.slice(1)},t,n)}},M=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener(`fetch`,(e=>{let{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)}))}addCacheListener(){self.addEventListener(`message`,(e=>{if(e.data&&e.data.type===`CACHE_URLS`){let{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(t=>{typeof t==`string`&&(t=[t]);let n=new Request(...t);return this.handleRequest({request:n,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}}))}handleRequest({request:e,event:t}){let n=new URL(e.url,location.href);if(!n.protocol.startsWith(`http`))return;let r=n.origin===location.origin,{params:i,route:a}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n}),o=a&&a.handler,s=e.method;if(!o&&this._defaultHandlerMap.has(s)&&(o=this._defaultHandlerMap.get(s)),!o)return;let c;try{c=o.handle({url:n,request:e,event:t,params:i})}catch(e){c=Promise.reject(e)}let l=a&&a.catchHandler;return c instanceof Promise&&(this._catchHandler||l)&&(c=c.catch(async r=>{if(l)try{return await l.handle({url:n,request:e,event:t,params:i})}catch(e){e instanceof Error&&(r=e)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw r})),c}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){let i=this._routes.get(n.method)||[];for(let a of i){let i,o=a.match({url:e,sameOrigin:t,request:n,event:r});if(o)return i=o,(Array.isArray(i)&&i.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o==`boolean`)&&(i=void 0),{route:a,params:i}}return{}}setDefaultHandler(e,t=`GET`){this._defaultHandlerMap.set(t,k(e))}setCatchHandler(e){this._catchHandler=k(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t(`unregister-route-but-not-found-with-method`,{method:e.method});let n=this._routes.get(e.method).indexOf(e);if(n>-1)this._routes.get(e.method).splice(n,1);else throw new t(`unregister-route-route-not-registered`)}},N,P=()=>(N||(N=new M,N.addFetchListener(),N.addCacheListener()),N);function F(e,n,r){let i;if(typeof e==`string`){let t=new URL(e,location.href);i=new A(({url:e})=>e.href===t.href,n,r)}else if(e instanceof RegExp)i=new j(e,n,r);else if(typeof e==`function`)i=new A(e,n,r);else if(e instanceof A)i=e;else throw new t(`unsupported-route-type`,{moduleName:`workbox-routing`,funcName:`registerRoute`,paramName:`capture`});return P().registerRoute(i),i}function I(e,t=[]){for(let n of[...e.searchParams.keys()])t.some(e=>e.test(n))&&e.searchParams.delete(n);return e}function*L(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:n=`index.html`,cleanURLs:r=!0,urlManipulation:i}={}){let a=new URL(e,location.href);a.hash=``,yield a.href;let o=I(a,t);if(yield o.href,n&&o.pathname.endsWith(`/`)){let e=new URL(o.href);e.pathname+=n,yield e.href}if(r){let e=new URL(o.href);e.pathname+=`.html`,yield e.href}if(i){let e=i({url:a});for(let t of e)yield t.href}}var R=class extends A{constructor(e,t){super(({request:n})=>{let r=e.getURLsToCacheKeys();for(let i of L(n.url,t)){let t=r.get(i);if(t)return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}},e.strategy)}};function z(e){F(new R(O(),e))}var B=`-precache-`,V=async(e,t=B)=>{let n=(await self.caches.keys()).filter(n=>n.includes(t)&&n.includes(self.registration.scope)&&n!==e);return await Promise.all(n.map(e=>self.caches.delete(e))),n};function H(){self.addEventListener(`activate`,(e=>{let t=a.getPrecacheName();e.waitUntil(V(t).then(e=>{}))}))}function U(e){O().precache(e)}function W(e,t){U(e),z(t)}var G=class extends w{async _handle(e,n){let r=await n.cacheMatch(e),i;if(!r)try{r=await n.fetchAndCachePut(e)}catch(e){e instanceof Error&&(i=e)}if(!r)throw new t(`no-response`,{url:e.url,error:i});return r}};W([{"revision":"9db3a3833e25b48633acf31a622ba775","url":"index.html"},{"revision":"26dccd02a2ef7522892015154f5e3680","url":"manifest.webmanifest"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-512.svg"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-192.svg"},{"revision":null,"url":"assets/index-DSbUqWiH.js"},{"revision":null,"url":"assets/index-CzYrKDUF.css"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-192.svg"},{"revision":"a0fb34fc84eb148d51812cd62669f20d","url":"icon-512.svg"},{"revision":"26dccd02a2ef7522892015154f5e3680","url":"manifest.webmanifest"}]),H();var K=e=>(e.headers.get(`content-type`)??``).startsWith(`text/html`);F(({url:e})=>e.pathname.startsWith(`/assets/`),new G({cacheName:`ppm-assets`,plugins:[{cacheWillUpdate:async({response:e})=>K(e)?null:e,cachedResponseWillBeUsed:async({cachedResponse:e})=>e&&K(e)?null:e}]})),self.skipWaiting(),self.addEventListener(`activate`,()=>{self.clients.claim()});
@@ -232,6 +232,53 @@ KaTeX renders through `remark-math`, which reads `$$ … $$` only — single-dol
232
232
 
233
233
  A link may name one place in the file — `app.ts:120`, `app.ts:120-140`, `app.ts#L120` — which `src/web/lib/source-location.ts` splits off the path for both readers of it. The editor reveals that line (selecting the range when one is given) and a tab already open on the file is updated rather than left where it was. A suffix naming an impossible line rejects the link instead of quietly opening line 1. The same suffix travels into the command palette on the search fallback, so it strips it before matching filenames and still jumps once a candidate is picked — including in filesystem (`/`, `~/`, `C:\`) mode, where the directory is listed without it.
234
234
 
235
+ ## Design mode
236
+
237
+ A **Design tab** puts a design chat beside a live, sandboxed canvas of what the agent builds: a page or a slide deck (`kind` `page` or `slides`), made of plain HTML/CSS files the user can export or hand off to real code. It opens from the sidebar's Designs section, the palette's "New Design…" (the dialog is hosted by `command-palette-design-commands.tsx`, since the palette is mounted on every layout) or the deep link `/project/<p>/design/<slug>`. The layout follows the tab's own width, not the viewport (`lib/design/design-layout-mode.ts`): a draggable chat/canvas split at 940px and up, one pane below 860px (the previous layout holds in between, so dragging a panel divider does not flicker), switched by a Canvas | Chat toggle in the toolbar. The toolbar's Layout menu pins Auto / Split / Canvas only / Chat only per device (`design-view-prefs.ts`), and Expand canvas lifts the canvas over the whole window (Esc or Exit full view to leave). Below `md` it is always one pane with a Canvas / Chat / More bar in the thumb zone. Every one of these is the same tree (`design-split-layout.tsx`) restyled by CSS, because moving the iframe reloads the design and unmounting the chat drops its socket; the one reload left is PPM's shell moving the whole tab into its mobile slot when the viewport crosses `md`. UI in `src/web/components/design/`, one tab per design, never popped out (`NON_POPPABLE_TAB_TYPES`: the bridge accepts messages only from an iframe whose parent is the main window).
238
+
239
+ **Storage** (`src/services/design/`, REST under `/api/project/:name/designs`, `src/server/routes/designs.ts` plus one sub-router per feature):
240
+ - `designs/<slug>/` is the design: `index.html` (the entry), `design.json` (`title`, `kind`, `entry`, timestamps and the agent's `tweaks[]`; unknown fields are carried through) and whatever else the agent writes.
241
+ - `designs/DESIGN.md` and `designs/tokens.css` are the project's design system, shared by every design (a page links `../tokens.css`).
242
+ - `designs/<slug>/.design/` is the canvas's own data and is never part of the design: its `.gitignore` is `*`, the file watcher skips it (`file-watcher/ignore-rules.ts`), the preview route never serves it. `history/<id>/{meta.json,files/}` holds snapshots (`turn`, `pre-restore`, `before-edit`, `manual`; 100 protected + 30 `before-edit` kept, tree-hash dedupe, a design over 50 MB or 5000 files is skipped), `comments.json` the pinned comments. Because nothing there is watched, History and Comments refresh on `design:history_changed` / `design:comments_changed` from `/ws/global` (`design-events.ts`).
243
+ - Restore snapshots the current state first and swaps through a journal (`design-restore-journal.ts`), so a crash mid-restore is finished from the staged copy on the next access rather than leaving half a design.
244
+ - Every tree operation goes through `design-safe-walk.ts` (no symlinks, no FIFOs, no credential paths, depth and size caps).
245
+
246
+ **The design session** is an ordinary chat session whose `session_metadata.design_slug` is fixed at creation (`POST /chat/sessions` with `designSlug`, accepted only on a provider with `supportsDesignInstructions` — Claude and Codex). `chatService.prepareSendOptions` rebuilds the instruction block from the stored slug on every turn, whoever sends it (WebSocket, `ppm chat send`, scheduler, bots): Claude gets it appended to the `claude_code` preset, Codex as `developerInstructions` (`design-instructions.ts`). The permission mode defaults exactly as for a new chat (the provider's configured default, normally `bypassPermissions`), because a design agent reads and searches the project constantly and a stricter default asked on every file. A user who picks `acceptEdits` for a design session gets the tighter design policy: project file reads and writes are approved, shell and every other tool ask (`design-tool-policy.ts` for Claude, `workspace-write` + `untrusted` for Codex). Every `done`, and every terminal background task, schedules a `turn` snapshot 2 s later (`design-turn-snapshot.ts`). The tab keeps the session in design mode: a fork is swapped in place, `/clear` starts the next session in the same tab, the embedded history lists only this design's sessions, and opening a design session from anywhere focuses its design tab (`openSessionInItsTab`, `tabSessionId()` in `src/web/lib/tab-session-id.ts`).
247
+
248
+ **The canvas** (`src/server/routes/design-preview.ts`):
249
+ - `POST /api/design-preview` (authenticated) mints a token for one design and one purpose. A canvas token lives 30 min idle and 8 h at most, and is extended only by authenticated refreshes; within the last hour a refresh rotates it. Print and standalone tokens last 10 min and cannot be refreshed. Unauthenticated content reads never extend a token (`design-preview-tokens.ts`).
250
+ - `/api/design-preview/content/<token>/<slug>/…` is mounted before auth and serves `designs/<slug>/**` plus the `../tokens.css` alias, nothing else. ACAO is `null`, which answers the sandboxed document's `Origin: null` and nobody else.
251
+ - `buildDesignCsp` (`preview/design-csp.ts`): `sandbox allow-scripts` (with `allow-modals` for the print view only), inline scripts and `'unsafe-eval'`, the CDN hosts in `src/shared/design-cdn-hosts.ts` for scripts, styles, fonts and images, and `connect-src` limited to the design's own files. Accepted residuals: jsdelivr and unpkg execute any npm/GitHub code, and a design script can still navigate its own frame; there is no shell `frame-src`, so the bridge's link guard and the 3 s liveness check are what catch it.
252
+ - The HTML is instrumented with parse5 (`preview/html-instrument.ts`): every source element gets `data-ppm-id`, its start-tag offset in the BOM-less text, valid only for that file's `gen` (16 hex chars of SHA-256; linked stylesheets report theirs in `cssGens`). The bridge script is the first thing in `<head>`.
253
+ - A dead token serves the expired page (`preview/expired-page.ts`), which posts `expired`; the canvas re-mints and reloads.
254
+
255
+ **Bridge and trust model** (`src/shared/design-bridge-protocol.ts`, frame side `src/services/design/bridge/`):
256
+ - Messages are `{ppm: "design-bridge", v: 1, nonce, type}` envelopes. The parent accepts one only from the iframe's current `contentWindow` *and* with the nonce minted for the current load (`?n=`), and validates every field. A frame that navigated itself is still the same `contentWindow`; only the nonce tells a foreign page apart.
257
+ - Everything the frame sends is untrusted, because the page's own scripts can post the same shapes. Nothing is ever written on a frame message alone.
258
+ - Bridge features ship as `fn.toString()` (`bridge-script.ts`), so they may use only what they are handed; shared helpers travel as `ppm.lib`.
259
+ - Every `ready` is a new document: a live reload, a token rotation, or the tab pool reparenting the iframe (which reloads it with the same URL). Features register `onReplay` to put their state back (scroll, picker, pins, Move target).
260
+
261
+ **Write-backs:**
262
+ - *Comments.* An anchor is `ppmId` + tag + text quote with prefix/suffix + a CSS path. It is re-resolved on every `ready` (same tag only, 0.55 similarity threshold, orphaned rather than guessed) and re-checked against the source by the server. The element context in a prompt is a snippet the server slices from the source (`design-comment-element-context.ts`), fenced as untrusted (`design-comments-prompt.ts`). "Send to AI" shows the whole message first and only fills the design chat's composer.
263
+ - *Tweaks.* `design.json` declares controls bound to CSS custom properties. Moving one restyles the frame live; Apply patches the last winning declaration in the design's own `:root` or appends a `:root` block (`source/tweak-patch-plan.ts`). A value in `../tokens.css`, inside an at-rule or behind `!important` is refused, and values pass an allowlist, not a denylist.
264
+ - *Move and resize.* The frame's `transform-commit` is a proposal. The parent writes it only with Move on, the chat idle, its own target, the current `ready` gen and `navigator.userActivation.isActive` (`src/web/lib/design/design-transform-proposal.ts`). The server re-checks the gen (409 `stale`) and the tag at the offset (409 `element-moved`), rate-limits (1 per 500 ms, 30 per minute), snapshots `before-edit` and writes only `translate`/`width`/`height` px into that element's `style` attribute.
265
+ - *Undo* reverses the exact spans a canvas write replaced, with 32 characters of context on each side, so later AI edits elsewhere survive. The journal is in memory (50 writes per design, lost on restart); `cannot-undo` points to History (`design-edit-undo-journal.ts`).
266
+
267
+ **Exports** (`src/server/routes/design-export.ts`, `src/services/design/export/`, client `src/web/components/design/export/`):
268
+ - ZIP: the design folder plus `DESIGN.md`/`tokens.css`, no dotfiles or `.design/`, capped at 5000 files / 512 MB.
269
+ - Standalone HTML: local CSS, images, fonts and scripts inlined as data URLs within per-asset and total budgets. Whatever stays linked is listed (`X-PPM-Export-Warning-List`).
270
+ - PDF: the print view is a print-purpose token with `@page` rules and one page per `section.slide`, opened by a real `rel="noopener noreferrer"` link. Fidelity is the browser's own print engine.
271
+ - PPTX: the bridge measures the laid-out slides (`bridge-extract-slides.ts`), `pptx-slide-mapper.ts` turns them into native text boxes, shapes and images, and `pptxgenjs` runs in a lazy chunk (`pptx-export.ts`). Gradients and shadows are approximated and images the canvas cannot read are skipped; each one is listed after the save, with the fonts PowerPoint needs.
272
+ - Every download Blob is `application/octet-stream` (`design-export-client.ts`).
273
+ - *Hand off to code* opens a new, ordinary chat with an editable brief (`design-handoff-prompt.ts`) that treats everything under `designs/` as untrusted reference material.
274
+
275
+ **Canvas self-check.** The agent runs on the server and never sees the canvas, so the frame measures itself (`bridge-layout-grid.ts`, `bridge-layout-boxes.ts`): grid items auto-placed into implicit tracks (found with an absolutely positioned `1 / -1` probe, whose box is the explicit grid), sideways page overflow, elements running off the viewport, text cut off by an `overflow: hidden` ancestor, content squeezed under 4 px, and overlapping in-flow siblings; the parent adds the runtime issues it collected and the device frame. At most 30 findings of 300 characters, validated again by the parent and the server (`src/shared/design-canvas-check.ts`) and fenced as untrusted when an agent reads them.
276
+ - *`design_check` tool.* `/api/design-mcp` is a minimal MCP Streamable HTTP endpoint (JSON responses only) mounted before auth and authorized by a per-session capability token (`design/mcp/`, in memory, stored by SHA-256, bound to session + project + slug, revoked with the session). `chatService` adds it to a design session's options with a URL on the port the server actually bound (`server-listen-address.ts`). Claude gets it as an `http` MCP server with the token in `Authorization` and the tool pre-approved; Codex gets a `mcp_servers.ppm_design` config override on `thread/start`/`thread/resume` with `bearer_token_env_var`, so the token lives only in that app-server's environment. A call emits `design:check_request` on `/ws/global`; the first open canvas POSTs `/designs/:slug/check/:requestId` (authenticated, 768 KB cap) and the tool returns the text plus a JPEG screenshot (≤ 1280 px, ≤ 400 KB) drawn in the frame by `modern-screenshot`, whose source the parent sends in the lazy chunk it lives in. No canvas open means an error after 20 s.
277
+ - *After each turn* (`use-design-auto-check.ts`): when the canvas reloaded during the turn or within 8 s of its end, it is measured once quiet for 700 ms; findings go into the issues badge and, at most twice per user message, back to the agent as a `[Canvas check]` message — sent only into an empty, idle composer, otherwise added as a chip.
278
+ - Real-browser check of the grid rule and the screenshot: `node tests/e2e/design-canvas-check-e2e.mjs` (no PPM server; needs Playwright and Chrome).
279
+
280
+ End to end: `tests/e2e/design-mode-e2e.mjs` (1366 px and 390 px, isolated server, scripted providers).
281
+
235
282
  ## Terminal Flow
236
283
 
237
284
  ```
@@ -14,6 +14,22 @@ PPM is the **lightest path from phone to code** — a self-hosted, BYOK, multi-d
14
14
 
15
15
  ## Completed Milestones
16
16
 
17
+ ### Design mode (Claude Design port) (next release)
18
+
19
+ - A Design tab per design: the design chat beside a live, sandboxed canvas that reloads as the
20
+ agent writes, at desktop, tablet, phone and slide frames. Desktop split, phone Canvas/Chat bar.
21
+ - Design sessions (Claude and Codex) get design instructions on every turn and start in the
22
+ same permission mode as any new chat; a project design system (`designs/DESIGN.md`,
23
+ `designs/tokens.css`) is shared.
24
+ - Version history with a snapshot after every changing turn and crash-safe restore.
25
+ - Pinned element comments that follow their element through edits, sent to the AI as
26
+ server-built, fenced snippets; tweak sliders bound to CSS variables; drag and resize written
27
+ back into the element's `style` with an exact undo.
28
+ - Exports: ZIP, standalone HTML, PDF via a print view, and PPTX with editable text; "Hand off to
29
+ code" starts an ordinary chat with a build brief.
30
+ - See `docs/architecture/workspace-and-ui.md` → "Design mode". Verified by
31
+ `tests/e2e/design-mode-e2e.mjs` at 1366 px and 390 px.
32
+
17
33
  ### Adaptive onboarding (0.22.3)
18
34
 
19
35
  - Adaptive onboarding: choose experience and goal, follow contextual guidance, pause/resume,
@@ -8,7 +8,7 @@ deployment and the error/security posture. Subsystem detail lives beside it:
8
8
  | [AI Chat & Providers](architecture/ai-chat-and-providers.md) | Provider adapters, AI configuration, the persistent chat streaming session |
9
9
  | [Extension System](architecture/extensions.md) | Manifest, lifecycle, RPC, worker isolation, contribution registry, dev workflow |
10
10
  | [Data & Storage](architecture/data-and-storage.md) | SQLite schema and access, database viewer, MCP server management, group-chat model |
11
- | [Workspace & UI](architecture/workspace-and-ui.md) | Workspace switching, editor, terminal, git, file service, OS File Explorer, tab-host windows and Document PiP |
11
+ | [Workspace & UI](architecture/workspace-and-ui.md) | Workspace switching, editor, terminal, git, file service, Design mode, OS File Explorer, tab-host windows and Document PiP |
12
12
  | [Integrations](architecture/integrations.md) | PPMBot Telegram coordinator, Jira watcher auto-debug |
13
13
  | [Plugins & Tracing](architecture/plugins-and-tracing.md) | *Design, not built.* The append-only session-event log (including browser errors) and the seam inventory behind "Everything is a Plugin. Every run is traceable." |
14
14
 
@@ -617,5 +617,15 @@ PPM is single-machine by design; multi-machine would require:
617
617
  | **API** | No sensitive data in logs | Token masked in debug output |
618
618
  | **CORS** | Same-origin only | WS on same host as HTTP API |
619
619
 
620
+ **Design mode** runs AI-written HTML and scripts beside the app, with write-back to the files they
621
+ came from, so the canvas is fenced in on both sides. The page loads from a per-design capability URL
622
+ (`/api/design-preview/content/<token>/…`, minted and refreshed only through the authenticated API)
623
+ into a `sandbox="allow-scripts"` iframe with an opaque origin, under a CSP whose `connect-src` is the
624
+ design's own files. The frame talks to the app only through nonce-checked `postMessage`, and it
625
+ can only *propose* writes: the parent requires a real user gesture and the server re-checks the
626
+ file's gen and rate-limits. A design session is an ordinary chat session carrying a design slug,
627
+ which gives every turn the design instructions; its permission mode defaults like any other chat. Details:
628
+ [Workspace & UI → Design mode](architecture/workspace-and-ui.md#design-mode).
629
+
620
630
  ---
621
631
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hienlh/ppm",
3
- "version": "0.22.11",
3
+ "version": "0.23.1",
4
4
  "description": "Personal Project Manager — mobile-first web IDE with AI assistance",
5
5
  "author": "hienlh",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -86,9 +86,12 @@
86
86
  "lucide-react": "^0.577.0",
87
87
  "mammoth": "^1.12.0",
88
88
  "mermaid": "^11.13.0",
89
+ "modern-screenshot": "^4.7.0",
89
90
  "monaco-editor": "0.55.1",
90
91
  "next-themes": "^0.4.6",
92
+ "parse5": "^7.3.0",
91
93
  "postgres": "^3.4.8",
94
+ "pptxgenjs": "^4.0.1",
92
95
  "qrcode-terminal": "^0.12.0",
93
96
  "qrcode.react": "^4.2.0",
94
97
  "radix-ui": "^1.4.3",
@@ -227,6 +227,16 @@ const MAP: Record<string, string | null> = {
227
227
  MonitorX: "desktop-off",
228
228
  MonitorSmartphone: "phone-desktop",
229
229
  Smartphone: "phone",
230
+ Tablet: "tablet",
231
+ Printer: "print",
232
+
233
+ // --- Design mode: canvas frames, tools and exports
234
+ Presentation: "slide-text",
235
+ SlidersHorizontal: "options",
236
+ Move: "arrow-move",
237
+ MousePointerClick: "cursor-click",
238
+ MessageSquarePlus: "chat-add",
239
+ FileArchive: "folder-zip",
230
240
  HardDrive: "hard-drive",
231
241
  Cpu: "developer-board",
232
242
  Usb: "usb-stick",
@@ -5,7 +5,10 @@
5
5
  // outside this set and crashes the subprocess (notably "extra" — the app UI
6
6
  // label "Extra" must map to "xhigh" before reaching this layer).
7
7
 
8
- import type { ThinkingConfig } from "@anthropic-ai/claude-agent-sdk";
8
+ import type { McpHttpServerConfig, ThinkingConfig } from "@anthropic-ai/claude-agent-sdk";
9
+ import {
10
+ CLAUDE_DESIGN_MCP_SERVER, DESIGN_CHECK_TOOL_TIMEOUT_MS, type DesignMcpAccess,
11
+ } from "../services/design/mcp/design-mcp-tool.ts";
9
12
 
10
13
  export const VALID_EFFORT_VALUES = ["low", "medium", "high", "xhigh", "max"] as const;
11
14
  export type EffortValue = (typeof VALID_EFFORT_VALUES)[number];
@@ -74,6 +77,70 @@ export function isThinkingEnabled(
74
77
  return effective == null ? true : effective !== 0;
75
78
  }
76
79
 
80
+ /** The only system-prompt shape PPM sends: Claude Code's own prompt, optionally extended. */
81
+ export interface PresetSystemPromptOption {
82
+ type: "preset";
83
+ preset: "claude_code";
84
+ append?: string;
85
+ }
86
+
87
+ /**
88
+ * Compose the SDK `systemPrompt` option from the provider's "Additional Instructions"
89
+ * (`system_prompt`) and a design session's instruction block.
90
+ *
91
+ * Both are appended to the preset, never used as a replacing `custom` prompt: the setting
92
+ * is labelled as *additional* instructions, and replacing Claude Code's prompt would drop
93
+ * its tool-use guidance. Computed on every turn, so nothing depends on the SDK recording
94
+ * the prompt on the session's first request.
95
+ */
96
+ export function buildSystemPromptOption(
97
+ additional?: string,
98
+ design?: string,
99
+ ): PresetSystemPromptOption {
100
+ const parts = [additional, design]
101
+ .map((part) => part?.trim())
102
+ .filter((part): part is string => !!part);
103
+ return parts.length
104
+ ? { type: "preset", preset: "claude_code", append: parts.join("\n\n") }
105
+ : { type: "preset", preset: "claude_code" };
106
+ }
107
+
108
+ /**
109
+ * A PreToolUse hook's permission verdict in the shape the CLI actually honours.
110
+ *
111
+ * `hookEventName` is not decoration: the bundled CLI reads `permissionDecision` only when
112
+ * `hookSpecificOutput.hookEventName === "PreToolUse"`, and it rejects a callback hook whose
113
+ * output names no (or another) event with "Hook returned incorrect event name". Without
114
+ * it, a "deny" the user clicked is not a deny. The reason travels as
115
+ * `permissionDecisionReason`, the field the CLI reports back to the model.
116
+ */
117
+ export function preToolUseDecision(decision: "allow" | "deny", reason?: string) {
118
+ return {
119
+ hookSpecificOutput: {
120
+ hookEventName: "PreToolUse" as const,
121
+ permissionDecision: decision,
122
+ ...(reason ? { permissionDecisionReason: reason } : {}),
123
+ },
124
+ };
125
+ }
126
+
127
+ /**
128
+ * The design MCP server (`design_check`) as the SDK's `http` server config, for a design
129
+ * session only; `{}` otherwise, so an ordinary chat's server list is exactly what it was.
130
+ * The bearer token is the session's capability and travels in the header, never the URL.
131
+ */
132
+ export function designMcpServers(access: DesignMcpAccess | undefined): Record<string, McpHttpServerConfig> {
133
+ if (!access) return {};
134
+ return {
135
+ [CLAUDE_DESIGN_MCP_SERVER]: {
136
+ type: "http",
137
+ url: access.url,
138
+ headers: { Authorization: `Bearer ${access.token}` },
139
+ timeout: DESIGN_CHECK_TOOL_TIMEOUT_MS,
140
+ },
141
+ };
142
+ }
143
+
77
144
  /** Resolve per-call overrides against provider config. Per-call wins, else config, else omit. */
78
145
  export function buildModelQueryOptions(
79
146
  opts: ModelQueryOverrides,