pi-webapp 0.1.31-alpha.4 → 0.1.31

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 (466) hide show
  1. package/README.md +3 -1
  2. package/README.zh-CN.md +3 -1
  3. package/bin/package-pi-cli.d.mts +1 -0
  4. package/bin/package-pi-cli.mjs +26 -0
  5. package/bin/pi-webapp.mjs +4 -2
  6. package/dist/extension.js +35 -33
  7. package/dist/hosted-recovery.js +8 -0
  8. package/dist/hosted-worker.js +3 -0
  9. package/docs/diagrams.md +22 -53
  10. package/docs/hosted-agent-wiring.md +206 -0
  11. package/docs/hosted-alpha-release.md +72 -0
  12. package/docs/hosted-confirmation-lifecycle.md +49 -0
  13. package/docs/hosted-excalidraw-migration.md +46 -0
  14. package/docs/hosted-linked-update.md +101 -0
  15. package/docs/hosted-multiview-transport.md +61 -0
  16. package/docs/hosted-ori39-compatibility.md +106 -0
  17. package/docs/hosted-ori40-fault-lifecycle.md +74 -0
  18. package/docs/hosted-ori42-management.md +81 -0
  19. package/docs/hosted-paired-updater.md +61 -0
  20. package/docs/hosted-platform-acceptance-ori41.md +135 -0
  21. package/docs/hosted-platform-fixes-ori41.md +153 -0
  22. package/docs/hosted-plugin-gc.md +53 -0
  23. package/docs/hosted-plugin-installation.md +150 -0
  24. package/docs/hosted-plugin-runtime.md +122 -0
  25. package/docs/hosted-plugin-ui-integration.md +69 -0
  26. package/docs/hosted-production-acceptance.md +93 -0
  27. package/docs/hosted-production-bootstrap.md +141 -0
  28. package/docs/hosted-update-recovery.md +171 -0
  29. package/docs/sentry.md +15 -11
  30. package/package.json +18 -16
  31. package/web/dist/.vite/manifest.json +113 -1682
  32. package/web/dist/assets/app-CkT84si6.js +544 -0
  33. package/web/dist/assets/app.css +1 -1
  34. package/web/dist/assets/app.js +7 -5
  35. package/web/dist/assets/asciidoc-fDuF7HNn.js +2 -0
  36. package/web/dist/assets/bat-CIKKTCO7.js +2 -0
  37. package/web/dist/assets/bibtex-D13O2Wvh.js +2 -0
  38. package/web/dist/assets/c-BxgHfdNM.js +2 -0
  39. package/web/dist/assets/clojure-CiHGeAtp.js +2 -0
  40. package/web/dist/assets/cmake-DmzJtVCe.js +2 -0
  41. package/web/dist/assets/{cpp-DMGWgsSz.js → cpp-WTsyTmWk.js} +3 -1
  42. package/web/dist/assets/csharp-BusYHIEz.js +2 -0
  43. package/web/dist/assets/css-D-q0lhfR.js +2 -0
  44. package/web/dist/assets/csv-DFLln536.js +2 -0
  45. package/web/dist/assets/dart-CafiI-9_.js +2 -0
  46. package/web/dist/assets/diff-Br1ISN9_.js +2 -0
  47. package/web/dist/assets/dotenv-CIz2XDph.js +2 -0
  48. package/web/dist/assets/{elixir-sVOXZpgC.js → elixir-R3IvWmT5.js} +3 -1
  49. package/web/dist/assets/{erlang-C4_gHZ2S.js → erlang-NGps-vi9.js} +3 -1
  50. package/web/dist/assets/fish-ByHW6pZw.js +2 -0
  51. package/web/dist/assets/{fsharp-Cv5ra58w.js → fsharp-BOBx9XdV.js} +3 -1
  52. package/web/dist/assets/go-BeHf35-M.js +2 -0
  53. package/web/dist/assets/{graphql-B_h7z8QF.js → graphql-Bu7dAtew.js} +3 -1
  54. package/web/dist/assets/groovy-zjY2ZfG0.js +2 -0
  55. package/web/dist/assets/haskell-CMvfT32Y.js +2 -0
  56. package/web/dist/assets/hcl-RKiXyu-a.js +2 -0
  57. package/web/dist/assets/{html-BQzGhNSS.js → html-COcRjUs1.js} +3 -1
  58. package/web/dist/assets/{html-derivative-Bhd9D5yb.js → html-derivative-C2Epw9Yg.js} +3 -1
  59. package/web/dist/assets/{http-D8BvZbjX.js → http-BtEaP0_p.js} +3 -1
  60. package/web/dist/assets/ini-DuzuNcum.js +2 -0
  61. package/web/dist/assets/java-K8yEFi64.js +2 -0
  62. package/web/dist/assets/javascript-D_ijBMSX.js +2 -0
  63. package/web/dist/assets/{julia-DGlqHGmw.js → julia-yApUWuwQ.js} +3 -1
  64. package/web/dist/assets/kotlin-BSbocnsc.js +2 -0
  65. package/web/dist/assets/latex-B2rh6wcV.js +2 -0
  66. package/web/dist/assets/less-DrDudO82.js +2 -0
  67. package/web/dist/assets/log-ljR8DmTe.js +2 -0
  68. package/web/dist/assets/{lua-KeJfiUHt.js → lua-DyIUvKwX.js} +3 -1
  69. package/web/dist/assets/make-D75dUjYA.js +2 -0
  70. package/web/dist/assets/markdown-CW047eNb.js +2 -0
  71. package/web/dist/assets/mdx-XsqTTZB4.js +2 -0
  72. package/web/dist/assets/nix-CipIrdNI.js +2 -0
  73. package/web/dist/assets/{perl-D7MbmVge.js → perl-CpGQZpC_.js} +3 -1
  74. package/web/dist/assets/{php-JejPRwzT.js → php-mDUeg8is.js} +3 -1
  75. package/web/dist/assets/{plugin-DtO0gZBn.js → plugin-BNln-AV2.js} +3 -1
  76. package/web/dist/assets/{plugin-B4TCKNbA.js → plugin-BR-ExlfJ.js} +5 -3
  77. package/web/dist/assets/{plugin-Dtwg42bN.js → plugin-DO3fYZIM.js} +3 -1
  78. package/web/dist/assets/plugin2.css +1 -1
  79. package/web/dist/assets/powershell-jgDnaG9I.js +2 -0
  80. package/web/dist/assets/proto-BIjSd36w.js +2 -0
  81. package/web/dist/assets/python-D7_Ztkaq.js +2 -0
  82. package/web/dist/assets/r-CJzV5ecV.js +2 -0
  83. package/web/dist/assets/{rst-Bz1_glFI.js → rst-D36AriVO.js} +3 -1
  84. package/web/dist/assets/{ruby-oizq67Sq.js → ruby-DfvZI7yF.js} +3 -1
  85. package/web/dist/assets/rust-DSBpfBj6.js +2 -0
  86. package/web/dist/assets/scala-C5J7wQ_u.js +2 -0
  87. package/web/dist/assets/{scss-DMeWdmPn.js → scss-Ce0Xtdy1.js} +3 -1
  88. package/web/dist/assets/sql-B8q9hRYB.js +2 -0
  89. package/web/dist/assets/{svelte-BEhn2A1K.js → svelte-Bbeskamu.js} +3 -1
  90. package/web/dist/assets/swift-BYyWkiAC.js +2 -0
  91. package/web/dist/assets/system-verilog-DeQRavVp.js +2 -0
  92. package/web/dist/assets/{telemetry-client-Cvi2eILd.js → telemetry-client-CBQBug9X.js} +3 -1
  93. package/web/dist/assets/toml-D4Tpftfr.js +2 -0
  94. package/web/dist/assets/vb-CT8kYl35.js +2 -0
  95. package/web/dist/assets/verilog-CRrcH6Pt.js +2 -0
  96. package/web/dist/assets/{vue-C1O1jwon.js → vue-_U3Asls5.js} +3 -1
  97. package/web/dist/assets/{xml-Db5pMVNY.js → xml-DCBoxqhY.js} +3 -1
  98. package/web/dist/assets/yaml-jmrW97Mk.js +2 -0
  99. package/assets/diagrams-NOTICES.txt +0 -703
  100. package/web/dist/.vite/static-assets.json +0 -1
  101. package/web/dist/assets/Assistant-Bold.woff2 +0 -0
  102. package/web/dist/assets/Assistant-Medium.woff2 +0 -0
  103. package/web/dist/assets/Assistant-Regular.woff2 +0 -0
  104. package/web/dist/assets/Assistant-SemiBold.woff2 +0 -0
  105. package/web/dist/assets/abnfDiagram-VCTEODGH-DOPlOkUJ.js +0 -1
  106. package/web/dist/assets/app-gCk-2TDF.js +0 -542
  107. package/web/dist/assets/ar-SA-G6X2FPQ2-DZfey2lT.js +0 -10
  108. package/web/dist/assets/arc-DG_vwUrU.js +0 -1
  109. package/web/dist/assets/architectureDiagram-5GKGNRK7-ECpwUvbT.js +0 -36
  110. package/web/dist/assets/az-AZ-76LH7QW2-DWGJksfR.js +0 -1
  111. package/web/dist/assets/bg-BG-XCXSNQG7-ZxUgqtcs.js +0 -5
  112. package/web/dist/assets/blockDiagram-I7D4REHJ-s2II5Siy.js +0 -129
  113. package/web/dist/assets/bn-BD-2XOGV67Q-Db0cVQ4Y.js +0 -5
  114. package/web/dist/assets/c4Diagram-7LVT6UL2-B3dXdnJP.js +0 -38
  115. package/web/dist/assets/ca-ES-6MX7JW3Y-DnTHsp9g.js +0 -8
  116. package/web/dist/assets/channel-BNmt9r9T.js +0 -1
  117. package/web/dist/assets/chunk-2Q5K7J3B-4JenjRP2.js +0 -1
  118. package/web/dist/assets/chunk-5VM5RSS4-DcZaSc8t.js +0 -15
  119. package/web/dist/assets/chunk-F27PBJKO-DT--4dNr.js +0 -1
  120. package/web/dist/assets/chunk-IMKFNOWR-DkcD9Q04.js +0 -231
  121. package/web/dist/assets/chunk-JWPE2WC7-DcfbcRY9.js +0 -1
  122. package/web/dist/assets/chunk-POPQ4Y6H-BGw17ABw.js +0 -1
  123. package/web/dist/assets/chunk-SVP7TREG-CdlJhbkL.js +0 -88
  124. package/web/dist/assets/chunk-TICWLB2K-B30eF_rg.js +0 -206
  125. package/web/dist/assets/chunk-XXDRQBXY-D8lcfHi6.js +0 -1
  126. package/web/dist/assets/classDiagram-ZZMXUADV-CYExlNpU.js +0 -1
  127. package/web/dist/assets/classDiagram-v2-VYDZK3BY-BOCqfMKB.js +0 -1
  128. package/web/dist/assets/cose-bilkent-JH36ORCC-DeCM8oGs.js +0 -1
  129. package/web/dist/assets/cs-CZ-2BRQDIVT-DuMpkIPQ.js +0 -11
  130. package/web/dist/assets/cynefin-OW5HDTMX-Cd2IdigE.js +0 -178
  131. package/web/dist/assets/cynefinDiagram-5FMLGOSQ-CHHc8NfT.js +0 -62
  132. package/web/dist/assets/cytoscape.esm-D53fhQAk.js +0 -331
  133. package/web/dist/assets/da-DK-5WZEPLOC-D3x0whDi.js +0 -5
  134. package/web/dist/assets/dagre-GXQ25YYZ-BlnSzJm3.js +0 -4
  135. package/web/dist/assets/de-DE-XR44H4JA-PvFlf9-o.js +0 -8
  136. package/web/dist/assets/defaultLocale-DJbf9fPl.js +0 -1
  137. package/web/dist/assets/diagram-S7CK7UJ4-C8cpqu4g.js +0 -30
  138. package/web/dist/assets/diagram-UQ7AKVKN-CiE5Y0hF.js +0 -41
  139. package/web/dist/assets/diagram-VSXAHHWV-wFDYB5SE.js +0 -3
  140. package/web/dist/assets/diagram-VX7I27RA-BJB4bQJ8.js +0 -24
  141. package/web/dist/assets/diagram-Z3DM3KII-DDfhenF6.js +0 -24
  142. package/web/dist/assets/directory-open-01563666-CIgzoJPA.js +0 -1
  143. package/web/dist/assets/directory-open-4ed118d0-CnVxIWxR.js +0 -1
  144. package/web/dist/assets/ebnfDiagram-PWID7BFC-CKfU0hGL.js +0 -1
  145. package/web/dist/assets/el-GR-BZB4AONW-CSxYW7dT.js +0 -10
  146. package/web/dist/assets/erDiagram-RLTQ6QDP-DPjb8P7m.js +0 -99
  147. package/web/dist/assets/es-ES-U4NZUMDT-Bt1KalfH.js +0 -9
  148. package/web/dist/assets/eu-ES-A7QVB2H4-l87AYtlV.js +0 -11
  149. package/web/dist/assets/excalidraw/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  150. package/web/dist/assets/excalidraw/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  151. package/web/dist/assets/excalidraw/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  152. package/web/dist/assets/excalidraw/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  153. package/web/dist/assets/excalidraw/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  154. package/web/dist/assets/excalidraw/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  155. package/web/dist/assets/excalidraw/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  156. package/web/dist/assets/excalidraw/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  157. package/web/dist/assets/excalidraw/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  158. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  159. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  160. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  161. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  162. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  163. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  164. package/web/dist/assets/excalidraw/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  165. package/web/dist/assets/excalidraw/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  166. package/web/dist/assets/excalidraw/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  167. package/web/dist/assets/excalidraw/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  168. package/web/dist/assets/excalidraw/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  169. package/web/dist/assets/excalidraw/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  170. package/web/dist/assets/excalidraw/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  171. package/web/dist/assets/excalidraw/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  172. package/web/dist/assets/excalidraw/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  173. package/web/dist/assets/excalidraw/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  174. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  175. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  176. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  177. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  178. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  179. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  180. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  181. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  182. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  183. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  184. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  185. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  186. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  187. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  188. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  189. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  190. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  191. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  192. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  193. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  194. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  195. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  196. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  197. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  198. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  199. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  200. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  201. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  202. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  203. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  204. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  205. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  206. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  207. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  208. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  209. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  210. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  211. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  212. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  213. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  214. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  215. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  216. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  217. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  218. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  219. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  220. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  221. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  222. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  223. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  224. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  225. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  226. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  227. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  228. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  229. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  230. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  231. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  232. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  233. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  234. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  235. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  236. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  237. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  238. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  239. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  240. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  241. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  242. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  243. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  244. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  245. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  246. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  247. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  248. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  249. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  250. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  251. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  252. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  253. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  254. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  255. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  256. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  257. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  258. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  259. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  260. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  261. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  262. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  263. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  264. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  265. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  266. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  267. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  268. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  269. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  270. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  271. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  272. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  273. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  274. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  275. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  276. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  277. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  278. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  279. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  280. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  281. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  282. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  283. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  284. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  285. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  286. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  287. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  288. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  289. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  290. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  291. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  292. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  293. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  294. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  295. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  296. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  297. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  298. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  299. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  300. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  301. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  302. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  303. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  304. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  305. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  306. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  307. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  308. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  309. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  310. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  311. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  312. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  313. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  314. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  315. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  316. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  317. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  318. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  319. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  320. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  321. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  322. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  323. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  324. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  325. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  326. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  327. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  328. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  329. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  330. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  331. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  332. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  333. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  334. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  335. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  336. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  337. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  338. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  339. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  340. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  341. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  342. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  343. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  344. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  345. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  346. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  347. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  348. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  349. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  350. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  351. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  352. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  353. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  354. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  355. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  356. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  357. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  358. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  359. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  360. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  361. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  362. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  363. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  364. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  365. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  366. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  367. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  368. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  369. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  370. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  371. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  372. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  373. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  374. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  375. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  376. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  377. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  378. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  379. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  380. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  381. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  382. package/web/dist/assets/excalidraw/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  383. package/web/dist/assets/fa-IR-HGAKTJCU-DIaro9Hx.js +0 -8
  384. package/web/dist/assets/fi-FI-Z5N7JZ37-COLyTVSp.js +0 -6
  385. package/web/dist/assets/file-open-002ab408-Cy0lZgj6.js +0 -1
  386. package/web/dist/assets/file-open-7c801643-DbefhMI_.js +0 -1
  387. package/web/dist/assets/file-save-3189631c-BPCcZ2YS.js +0 -1
  388. package/web/dist/assets/file-save-745eba88-C1L7DNUT.js +0 -1
  389. package/web/dist/assets/flowDiagram-HODETNUW-CBEJA9iU.js +0 -168
  390. package/web/dist/assets/fr-FR-RHASNOE6-Dqi638pn.js +0 -9
  391. package/web/dist/assets/ganttDiagram-EL5Y4UJY-vAHRozpM.js +0 -292
  392. package/web/dist/assets/gitGraphDiagram-WWUBYQGX-DCXKE3o8.js +0 -106
  393. package/web/dist/assets/gl-ES-HMX3MZ6V-Dfcw_231.js +0 -10
  394. package/web/dist/assets/he-IL-6SHJWFNN-BSAgg49S.js +0 -10
  395. package/web/dist/assets/hi-IN-IWLTKZ5I-BqI-UNou.js +0 -4
  396. package/web/dist/assets/hu-HU-A5ZG7DT2-B16ap7C1.js +0 -7
  397. package/web/dist/assets/id-ID-SAP4L64H-BUqRAxnn.js +0 -10
  398. package/web/dist/assets/image-blob-reduce.esm-BusboIaP.js +0 -7
  399. package/web/dist/assets/index-jgQcOxOn.js +0 -330
  400. package/web/dist/assets/infoDiagram-27XIBGKW-vfG1s0OL.js +0 -2
  401. package/web/dist/assets/init-DJLlxTyT.js +0 -1
  402. package/web/dist/assets/ishikawaDiagram-5VMMS53U-Bci9k7OW.js +0 -70
  403. package/web/dist/assets/it-IT-JPQ66NNP-BWRN1Ku9.js +0 -11
  404. package/web/dist/assets/ja-JP-DBVTYXUO-No6piD4d.js +0 -8
  405. package/web/dist/assets/journeyDiagram-3NMN7TZE-DPaDQjfX.js +0 -139
  406. package/web/dist/assets/kaa-6HZHGXH3-DdHIcOCS.js +0 -1
  407. package/web/dist/assets/kab-KAB-ZGHBKWFO-2wPJRIz0.js +0 -8
  408. package/web/dist/assets/kanban-definition-UXKFOSKX-COZcNcrM.js +0 -89
  409. package/web/dist/assets/kk-KZ-P5N5QNE5-BnVddHiG.js +0 -1
  410. package/web/dist/assets/km-KH-HSX4SM5Z-CaQh_1Zz.js +0 -11
  411. package/web/dist/assets/ko-KR-MTYHY66A-BiAIKUW_.js +0 -9
  412. package/web/dist/assets/ku-TR-6OUDTVRD-Cmqyx_qg.js +0 -9
  413. package/web/dist/assets/layout-D1ZAr34W.js +0 -1
  414. package/web/dist/assets/linear-CMBY9Ynj.js +0 -1
  415. package/web/dist/assets/lt-LT-XHIRWOB4-FPPi26PI.js +0 -3
  416. package/web/dist/assets/lv-LV-5QDEKY6T-CdfhNxb4.js +0 -7
  417. package/web/dist/assets/mindmap-definition-YA3MSWOX-DO_oVGmk.js +0 -96
  418. package/web/dist/assets/mr-IN-CRQNXWMA-D5Mv5ubd.js +0 -13
  419. package/web/dist/assets/my-MM-5M5IBNSE-CG_XcsDc.js +0 -1
  420. package/web/dist/assets/nb-NO-T6EIAALU-ButcGDIE.js +0 -10
  421. package/web/dist/assets/nl-NL-IS3SIHDZ-B4RCIW6U.js +0 -8
  422. package/web/dist/assets/nn-NO-6E72VCQL-Xesywhmp.js +0 -8
  423. package/web/dist/assets/oc-FR-POXYY2M6-DScPx0Ux.js +0 -8
  424. package/web/dist/assets/ordinal-DwN7YuHj.js +0 -1
  425. package/web/dist/assets/pa-IN-N4M65BXN-VndNSoj5.js +0 -4
  426. package/web/dist/assets/pegDiagram-XKGWAZYB-DDMhIEdn.js +0 -1
  427. package/web/dist/assets/percentages-BXMCSKIN-VuFdtdZF.js +0 -215
  428. package/web/dist/assets/percentages-BXMCSKIN.css +0 -1
  429. package/web/dist/assets/pica-GNj3eWcB.js +0 -7
  430. package/web/dist/assets/pieDiagram-E7YTZNPT-CV4Axk4E.js +0 -39
  431. package/web/dist/assets/pl-PL-T2D74RX3-B2jYVPHk.js +0 -9
  432. package/web/dist/assets/plugin-BAyOcS28.js +0 -3
  433. package/web/dist/assets/plugin3.css +0 -1
  434. package/web/dist/assets/pt-BR-5N22H2LF-cpUpSu3B.js +0 -9
  435. package/web/dist/assets/pt-PT-UZXXM6DQ-Bm5o1aNS.js +0 -9
  436. package/web/dist/assets/quadrantDiagram-AXDQQJYC-BrOice72.js +0 -7
  437. package/web/dist/assets/railroadDiagram-O6MQD6OU-CkIA7mzY.js +0 -1
  438. package/web/dist/assets/requirementDiagram-BXWQKSXE-BLZfWa3W.js +0 -84
  439. package/web/dist/assets/ro-RO-JPDTUUEW-D5ewbr8v.js +0 -11
  440. package/web/dist/assets/roundRect-lnpiQ-4W.js +0 -1
  441. package/web/dist/assets/ru-RU-B4JR7IUQ-BM4UrPha.js +0 -9
  442. package/web/dist/assets/sankeyDiagram-P5KCCOFB-yD9hxLJX.js +0 -40
  443. package/web/dist/assets/sequenceDiagram-WJ2MYXX4-CVqyJvFC.js +0 -162
  444. package/web/dist/assets/si-LK-N5RQ5JYF-BnIjQwpQ.js +0 -1
  445. package/web/dist/assets/sizeCapture-INFHLROL-CkvfPyS2.js +0 -1
  446. package/web/dist/assets/sk-SK-C5VTKIMK-C0h1qdby.js +0 -6
  447. package/web/dist/assets/sl-SI-NN7IZMDC-DNV45ffS.js +0 -6
  448. package/web/dist/assets/stateDiagram-D77RDMKH-Nh0i53vT.js +0 -1
  449. package/web/dist/assets/stateDiagram-v2-MP3YSRHH-BM-K9bmc.js +0 -1
  450. package/web/dist/assets/subset-shared.chunk-TuA1fSFQ.js +0 -84
  451. package/web/dist/assets/subset-worker.chunk-BTM-pM_r.js +0 -1
  452. package/web/dist/assets/sv-SE-XGPEYMSR-uosawlJJ.js +0 -10
  453. package/web/dist/assets/swimlanes-42K2YHIH-CrScVzJe.js +0 -1
  454. package/web/dist/assets/swimlanesDiagram-VR7AAH4N-BSX45RRS.js +0 -8
  455. package/web/dist/assets/ta-IN-2NMHFXQM-Dt9s5QjW.js +0 -9
  456. package/web/dist/assets/th-TH-HPSO5L25-BxufhAju.js +0 -2
  457. package/web/dist/assets/timeline-definition-24CTP7MA-CJbJt2dR.js +0 -120
  458. package/web/dist/assets/tr-TR-DEFEU3FU-BIQE9Xm7.js +0 -7
  459. package/web/dist/assets/uk-UA-QMV73CPH-DhyX8oOD.js +0 -6
  460. package/web/dist/assets/vennDiagram-4TSXK5OY-Dvn1Sbov.js +0 -34
  461. package/web/dist/assets/vi-VN-M7AON7JQ-BCPc5pcG.js +0 -5
  462. package/web/dist/assets/wardleyDiagram-VM6X3IG4-D6lZMm5T.js +0 -78
  463. package/web/dist/assets/xychartDiagram-S5SC5T6Z-h2UKcCAm.js +0 -7
  464. package/web/dist/assets/zh-CN-LNUGB5OW-n8E34oE-.js +0 -10
  465. package/web/dist/assets/zh-HK-E62DVLB3-BaW9jv7O.js +0 -1
  466. package/web/dist/assets/zh-TW-RAJ6MFWO-Ba9nSPFU.js +0 -9
@@ -0,0 +1,69 @@
1
+ # Hosted UI / all-window barrier handoff (ORI-26)
2
+
3
+ Historical frontend milestone; current optional-default ownership and builtin removal
4
+ are documented in [migration verification](hosted-excalidraw-migration.md). The earlier
5
+ scope below is preserved as provenance, not the current composition.
6
+
7
+ This change was an inspectable frontend/coordinator implementation, **not production activation of Excalidraw**. The existing built-in drawings and v1 runtime remain. No tools are registered by the browser. Parent integration must reject duplicate tool ownership before enabling an external replacement; disabling built-in drawings is a separate parity-gated decision.
8
+
9
+ ## Delivered paths
10
+
11
+ - `src/contracts/hosted-plugins.ts`: JSON catalog/cards, management, action and view DTOs.
12
+ - `src/host/client/hosted/`: authenticated fetch, exact-target-origin MessageChannel FrameAdapter, per-mount RPC timeouts, every-frame registry, view long-poll client, controller/panel/editor/tool components, streaming updates, offline official catalog/management UI.
13
+ - `PiApp.tsx`: hosted contributions alongside v1, controller mounts, all-frame beforeSend and session-navigation flush; thrown errors preserve the existing composer draft.
14
+ - `PluginPanel.tsx`: user tab close first flushes all session frames; failures keep the tab open. Hidden tabs remain mounted and participate.
15
+ - `PluginManagementPage.tsx`: independent hosted management section. Catalog failure doesn't disable v1 management.
16
+ - `src/host/server/plugins/hosted/views.ts`: one coordinator per plugin, scoped view capabilities, bounded 20-second long polling, 15-second freeze barrier, all-window acknowledgements and generation-aware checkpoint admission. Dirty/disconnected views do not expire.
17
+
18
+ ## Parent-owned route wiring (not edited here)
19
+
20
+ All routes must use the normal authenticated host transport, origin/CSRF policy, capability checks and existing error serialization. `access-token.ts` supplies the same browser Bearer token. No iframe input supplies cwd/workspace; resolve scope on the server from authenticated session access.
21
+
22
+ 1. `GET /api/hosted-plugins` returns `HostedPluginCatalog`. Include static official cards even if not installed. `installed` is immutable-registry presence, `enabled` is acknowledged intent/runtime state, not synonyms. Return immutable, manifest/digest-qualified `documentUrl` / `controllerUrl`, current integer `generation`, and the package's data-only `contribution` for enabled packages. Only manifest-listed documents/assets may be served; the UI never imports package JS into the host realm. Do not use browser-facing `describe` as authorization policy.
23
+ 2. `POST /api/hosted-plugins/manage` accepts `HostedManageInput`; returns the updated catalog after acknowledgement. Support install/enable/disable/update/uninstall/check/retry. Default updates call `supervisor.replace()` normally and return `pendingVersion` while editors/workspaces are open. Re-attempt a pending replacement after views close (or an explicit user retry). `reopenEditors?: true` is additive: it is emitted only after the explicit undo-history-reset warning. The parent must call `coordinator.allowImmediateReopen(true)` only for that operation, and reset it on every completion/failure path. Busy interactions and missing acknowledgements still fail. Disable/uninstall must also use this barrier before UI teardown. Never clear workspace files or silently resolve uncertain outcomes.
24
+ 3. `POST /api/hosted-plugins/action` accepts `HostedActionInput`. Bind its session to authenticated workspace/session; reject stale generation **before invoking**, rather than letting `supervisor.invoke()` substitute the current generation for stale browser input. Preserve `{code,message,status?,reason?}` on error. Normal actions call `supervisor.invoke()`.
25
+ - The host adapter, not the frame, attaches `viewToken`/`mountId` to the envelope.
26
+ - During draining, only admit a host-owned checkpoint-only action allowlist (Excalidraw's `sync`, plus any explicitly reviewed prerequisite reads) when `coordinator.authorizesFlush(input, authenticatedScope)` returns true. Then use the supervisor's host-only `flushAction()` with that authenticated invocation scope. Never expose `flushAction()` based merely on an action name, `reopenEditors`, cwd, arbitrary frame data, or a token outside the active barrier.
27
+ 4. `POST /api/hosted-plugins/views` parses/validates the DTO and calls `coordinator.handle(input, {ownerId,workspaceId,sessionId})`; owner must be stable across that browser's requests and isolated from other users. Validate session authorization on **every** register/poll/ack/change/close. HTTP request bounds should allow a 20-second long poll. One outstanding poll per view is allowed. Request abort does not forget the view.
28
+ 5. Compose supervisor hooks with the retained Agent tool-batch gate:
29
+
30
+ ```ts
31
+ const hooks = {
32
+ canSwitch: async () => await batchGate.canSwitch() && views.canSwitch(),
33
+ freeze: async () => { await batchGate.freeze(); await views.freeze(); },
34
+ committed: async active => {
35
+ await retainedAdapter.publishDescriptors(active);
36
+ await views.committed(active);
37
+ },
38
+ resume: async () => { await views.resume(); await batchGate.resume(); },
39
+ };
40
+ ```
41
+
42
+ The host must not resume new tool batches until the new descriptors/generation are visible. After activation, failures request reconnect; never roll back new-generation edits. Call `views.committed({generation})` only after the broker's active pointer is committed. Browser clients acknowledge, close their frozen old mounts and refetch the catalog to remount. Old registrations remain generation-bound, never mutated into current capabilities.
43
+
44
+ ## Safety/lifecycle semantics
45
+
46
+ - Each connection is created only after its document load. URL parameters contain exact parentOrigin/pluginId/mountId/generation; only that iframe Window receives the port using the exact target origin. The package validates the corresponding source/origin/identity tuple. Arbitrary window messages are not RPC. Subsequent iframe navigation disposes the connection; port RPC never accepts a caller-supplied session/cwd.
47
+ - All mounted realms (controller, hidden workspace/editor and each tool thumbnail) flush concurrently and **all** are awaited even if another fails. Readiness errors/timeouts and a changing mount set fail the send; no composer clearing occurs before `bridge.send()`.
48
+ - Immediate reopening clears native undo/redo history; persistent snapshots recover content, not undo history. Default is to wait for editors to close.
49
+ - Scope/generation-bound server tokens cannot acknowledge another window's barrier. New registration is rejected during freeze. A lost, busy or negative acknowledgement retains the old generation. Late dirty/busy changes invalidate frozen status.
50
+ - Bounded polls stop on network failure instead of busy-looping or replaying uncertain actions. Reconnection is explicit refresh/reload/catalog change. A dirty view is never silently removed by TTL.
51
+ - On ordinary tab/session navigation, pre-close flush happens while the iframe is alive; teardown reports clean close and attempts RPC dispose before closing the port. React/browser removal can prevent the final dispose reply; local resources/port are bounded by RPC timeout, and realm removal itself releases editor resources. Abrupt browser/tab/process loss or nonstandard teardown without that pre-close flush can leave an unknown/dirty registration. **Do not auto-clear it**; an explicit recovery/backup/re-handshake policy is a remaining host UX requirement.
52
+ - The coordinator is in-memory and owned by one serving host process. This is not a distributed/restart-persistent view registry. Parent must retain/reconcile uncertain views across host restart or require authenticated clients to re-register before allowing a switch. Cross-host broadcasts/persistent recovery and full end-to-end restart/upgrade acceptance are not certified here.
53
+ - These are realm/lifecycle boundaries, not a sandbox against malicious same-origin plugin code.
54
+
55
+ ## Verification performed
56
+
57
+ ```sh
58
+ npm run check
59
+ node --import ./test/setup-env.mjs --experimental-strip-types --test \
60
+ test/hosted-views.test.ts test/web-plugins.test.ts test/hosted-plugins.test.ts
61
+ node test/hosted-frame.browser.mjs
62
+ git diff --check
63
+ ```
64
+
65
+ The browser test uses the host's actual FrameAdapter against the read-only sibling package's prebuilt real Excalidraw frame, served cross-origin through Playwright routes. `HOSTED_PLUGIN_DIST` can override the fixture directory. It exercises exact handshake parameters, native rectangle drag and checkpoint flush, IME-busy rejection, freeze/restore undo warning metadata, session fence and dispose. No registry or external network access is used. Dependencies were symlinked from the sibling host; no install was run.
66
+
67
+ Unit/integration coverage includes all-frame failure aggregation/readiness/offline errors, mount-set changes, default editor deferral, explicit immediate-mode busy rejection, two-window barrier, missing ack old-preserving timeout, dirty-view non-expiry, owner/scope/generation isolation, checkpoint-only barrier capability admission and bounded polls. Existing hosted subprocess/state tests and v1 discovery test remain green.
68
+
69
+ Not claimed: complete host enable/install/uninstall/restart/hot-upgrade E2E, full management browser tests, packaged Electron/OS matrix, distributed registry persistence, or every native editor menu/undo/streaming regression. Those require the parent-owned authenticated routes/installer/session adapters and parity decision. No npm publish, push or release merge was performed.
@@ -0,0 +1,93 @@
1
+ # Hosted Excalidraw — final local integration acceptance
2
+
3
+ ## Verdict and authorization
4
+
5
+ Authorized local engineering implementation is complete against the revised user scope, **not a public release or all-platform certification**. All ORI-39/40/41/42 deliveries are integrated on `feat/excalidraw-hosted-v2`. No shared-alpha edits, merge into alpha, push, CI dispatch or npm publication were performed by this task.
6
+
7
+ Current source includes host `c66394c` plus the final evidence/smoke bookkeeping commit; exact final HEADs are in the delivered manifest. Plugin HEAD is `7e5773d` (both ORI-39 historical recovery and ORI-41 focus/download fixes). The current independently built, unpublished 0.1.0 tgz is **15,654,521 bytes**, **427 controlled resources**, SHA-256 **85c142bca9f8baa6f6a64ec993082177233ee7abda49a68b748900540235183d**. This supersedes older archives as the integrated verification artifact, not as an immutable public version.
8
+
9
+ ### Explicit user changes
10
+
11
+ - ORI-22 comment `50dad8d0-f1c7-4809-af9e-1ccefdc8c028`: no update-strategy configuration; installed official plugins update with the software. Legacy notify/automatic/pinned preferences are migrated, not merely hidden. Manual independent checks/updates remain available. Uninstalled plugins are not installed, disabled plugins are not enabled, compatible higher versions are not downgraded. Open editors stage updates until safely closed; immediate reopening requires the undo-reset warning.
12
+ - ORI-41 user comment `039ed747-dd9b-4796-9a14-419138519404`: fix actual failures; inspect GitHub capability, and skip unavailable testing if it cannot supply that capability. Read-only capability discovery found existing workflows cannot validate the unpublished local pair or provide actual GUI/IME/dialog receipts within the preserved no-push/no-dispatch boundary. Windows x64/Linux x64/macOS x64 packaged GUI, OS-native Chinese IME/native chooser interactions and unavailable WebKit are **SKIP, not PASS**. This is a recorded scope exception, not product certification or weakened release guards.
13
+
14
+ ## Joint executed results
15
+
16
+ | Gate | Current integrated result |
17
+ | --- | --- |
18
+ | Host check / build | PASS |
19
+ | Full Node suite, exact integrated tgz and pinned pair fixture | **424 PASS / 0 FAIL / 1 Windows-only SKIP** |
20
+ | Desktop unit suite | **94 PASS / 0 FAIL**; total Node + desktop **518 PASS** |
21
+ | Plugin check / build / resource verification | PASS; **17 tests PASS** |
22
+ | Independent plugin copied-dependency-closure build | PASS, no host private imports or shared-root resolution |
23
+ | Complete hosted Chromium, including actual stress | **32 clean body + shutdown PASS / 0 FAIL / 1 obsolete transport diagnostic SKIP**; strict reporter gate exit 0, no retries/flaky |
24
+ | Firefox core matrix, fonts/download/lifecycle | **17 clean body + shutdown PASS / 0 FAIL / 1 same obsolete diagnostic SKIP**; strict gate exit 0 |
25
+ | Management UI retained screenshots/CSS checks | **8 PASS**: zh/en × light/dark × 390/1440, full App/HTTP; additional rerun for retained screenshots |
26
+ | Normal desktop prepare / app-directory package | PASS, current host source, macOS arm64 |
27
+ | Packaged native drawing smoke | PASS drawing, actual moved geometry, undo/redo, inserted Chinese text, Chinese-path save, PNG bytes, generation reopen, disable/re-enable, scene/file/session/backend+worker+shell identities |
28
+ | Packaged connection-loss recovery | PASS actual ACK HTTP503 injection refuses switch, retains exact realm/scene/generation; explicit retry obtains real resume ACKs from both mounts; next switch succeeds with scene/session/PIDs retained |
29
+ | Packaged signature integrity | PASS deep/strict verification, **ad-hoc, not notarized/public distribution** |
30
+ | Clean host tgz, offline scripts-disabled installation | PASS; inspected entire installed dependency closure and built browser/backend payload: **0 drawing dependencies, editor code or drawing fonts**; KaTeX fonts remain unrelated math assets |
31
+
32
+ Browser installation/update successes use the exact local tgz and deterministic local registry transport. Provider transport is a local fixture driving the real SDK object. They do not claim a public npm install or remote-model test. The production lifecycle tests also assert zero plugin downloads before installation, absent official card, no exposed drawing tools, zero external requests and unchanged SDK/parent identities.
33
+
34
+ ## A01–A25 disposition
35
+
36
+ | ID | Final local evidence / limits |
37
+ | --- | --- |
38
+ | A01 | Clean offline installed host archive inspection + actual App absent-card/zero-download assertions PASS. Host has no editor/fonts or default plugin dependency. All-target public artifacts not certified. |
39
+ | A02 | Complete browser App/HTTP/worker install-enable-edit-export lifecycle and retained SDK object/boot identity PASS; current macOS packaged PIDs/session/boot invariants PASS. |
40
+ | A03 | SDK/TUI policy, direct/nested/codemode/tombstone negatives PASS. Disabled/uninstalled tools cannot execute. |
41
+ | A04 | Actual independently packed v1 plan command/factory/review UI/action followed by v2 install PASS; plan and empty allowlist cannot gain write capability. |
42
+ | A05 | Real SDK 128-delta/33,938-character fixture stream, pending old-schema batch, same-profile concurrent updates and new-schema admission PASS. No remote-provider or indefinite stream-load certification. |
43
+ | A06 | Native mixed 100-element Chinese/text/freehand/bound-arrow/group/background scene PASS; actual edit/save/viewport/switch, complete canonical scene hash/revision and canvas backing pixels preserved. |
44
+ | A07 | Held native drag, synthetic composition and dirty flush/composer protection PASS. OS-native IME SKIP under user scope exception, not simulated into a pass. |
45
+ | A08 | Default pending until actual editor tab closes, safe application, explicit undo-reset consent and within-generation native undo/redo PASS. |
46
+ | A09 | Progressive tool arguments, initial candidate materialization, reject/apply, unlabeled shapes and stale hand-edit protection PASS, including real removed-view teardown/retry. |
47
+ | A10 | Source/Open/SVG/white+transparent PNG/save/backup/theme/locale/narrow browser flows PASS; packaged save/PNG PASS. Native file chooser interactions SKIP per user scope. |
48
+ | A11 | Same-profile responsive windows, competing CAS, losing geometry rescue/explicit Restore, retained/background sessions and actual lost-ACK reconnect PASS. Destroyed unconfirmed edits are not silently claimed recoverable. |
49
+ | A12 | Real UI/HTTP download interruption and identity-bound cancel, partial archive/no execution, hash failures and precise file-layer staging ENOSPC PASS. ENOSPC injection is not physical full-disk/power-loss certification. |
50
+ | A13 | Archive paths/links/budgets/integrity/undeclared assets negatives, strict CSP and bounded identity-bound download relay PASS. No security header/permission widening. |
51
+ | A14 | Captured old-generation sync/save after commit rejected 409; actual checkpoint/native-file bytes unchanged. Newer confirmed editing survives subsequent failures. PASS bounded fault matrix. |
52
+ | A15 | Failed candidate/health/prepare retains old version; unsupported reverse schema preserves latest data and explicitly refuses destructive rollback. PASS defined recovery contract, not arbitrary future inverse migration. |
53
+ | A16 | Real SIGKILL across prepare/commit/cleanup and pair-owner recovery PASS. Stopped-owner recovery remains explicit/offline; no TTL lock stealing. Physical power loss outside this bounded test. |
54
+ | A17 | Compatible stable selection, no blind latest/downgrade, explicit no-compatible-release diagnostic and manual independent check/update PASS. No user strategy selector or automatic timer invented. |
55
+ | A18 | Startup software-linked synchronization, legacy pin migration, disabled/absent/no-downgrade, offline fallback with subsequent retry and controlled npm/desktop business-package pair selection/restart PASS. Supersedes original pin-choice UX. Native OS installer atomicity is not claimed. |
56
+ | A19 | Disable/uninstall/reinstall retain .excalidraw, original source and backups; recovered data retain ownership. PASS. |
57
+ | A20 | Current 70 different local-version controller/tool/editor/worker cycles PASS: 70 old PIDs exit, 210 clean disposal observations, 3 active ports, final detached iframe references 0, 6 unique tools and 2 retained versions/states. Bounded post-GC growth within smoke budget; not a universal lifetime leak proof. |
58
+ | A21 | Actual v1 command/factory/UI, real retained SDK streaming/background paths and mountTui runtime/policy tests PASS. Physical terminal key/picker automation was not performed; does not substitute for these actual adapter tests or certify every SDK version. |
59
+ | A22 | Current macOS arm64 sandboxed packaged application PASS bounded native scope. Windows/Linux/Intel Mac GUI, real OS IME and native dialogs SKIP per user's explicit exception. |
60
+ | A23 | Current Chromium full hosted suite and Firefox core/fonts/download suite PASS, zero third-party drawing/font requests. WebKit crashes before blank-page creation: SKIP as unavailable runtime; no Safari certification. |
61
+ | A24 | Old ID/history card/alias/checkpoint/localStorage one-time migration and explicit restore-as-new/download PASS. Missing history remains 404 instead of fabricating a blank/latest scene. No dual builtin/external registration. |
62
+ | A25 | Specified local staged switch, 100 elements, 20 warmups + 50 measurements: P50 **1000.37ms**, P95 **1232.57ms**, max **1319.58ms**, unchanged <=2s target PASS. Separate loopback 15,654,521-byte transfer **36.57ms**, install P95 **785.80ms**; raw child CPU/RSS and browser heap recorded. Not registry/internet latency or cross-platform/held-gesture SLO certification. |
63
+
64
+ ## Retained failures and integration bookkeeping
65
+
66
+ All historical failed logs are preserved and not counted as passes.
67
+
68
+ 1. First complete Chromium run had 31 passes and 2 skips; strict gate correctly returned exit1 because the opt-in stress row was skipped. Reran the entire suite with `HOSTED_STRESS=1`: 32 passes/1 obsolete diagnostic skip, gate0. The gate was not weakened.
69
+ 2. First packaged baseline probe expected native `window.confirm`, obsolete after ORI-42's system Modal. It failed before disabling. Updated the probe to visibly locate `Close plugin views?` and click Continue; actual disabled/retained-state assertions pass. Product implementation was not changed to match the old probe.
70
+ 3. First packaged recovery probe could lose an observed resume ACK when its response arrived before asynchronous decoding of its poll response. The probe now joins independently captured successful ACKs with actual resume commands by exact mount+command identity at assertion time. Both real mount acknowledgements and subsequent successful switch remain required, with no fabricated ACK or sleep-based success.
71
+ 4. Current relay adds a controlled chunk (427 vs historical 426). Archive census defaults to the integrated 427 and supports an explicit positive integer override for pinned historical fixtures; linked/pair tests still verify exact SHA-256. Resource hash/MIME/path verification remains unchanged.
72
+
73
+ ## Reproduction
74
+
75
+ ```sh
76
+ export HOSTED_EXCALIDRAW_TGZ=/absolute/path/chengzhiyi-pi-excalidraw-0.1.0.tgz
77
+ export HOSTED_EXCALIDRAW_SHA256=85c142bca9f8baa6f6a64ec993082177233ee7abda49a68b748900540235183d
78
+ export ORI38_EXCALIDRAW_TGZ="$HOSTED_EXCALIDRAW_TGZ" ORI38_EXCALIDRAW_SHA256="$HOSTED_EXCALIDRAW_SHA256"
79
+ export HOSTED_PLAN_V1_TGZ=/absolute/path/chengzhiyi-pi-plan-mode-0.1.0.tgz
80
+ npm run check && npm run build && npm test
81
+ HOSTED_STRESS=1 PLAYWRIGHT_JSON_OUTPUT_FILE=chromium.json \
82
+ node node_modules/@playwright/test/cli.js test test/browser/hosted-*.spec.ts --reporter=line,json
83
+ node scripts/verify-hosted-browser-results.mjs chromium.json
84
+ PLAYWRIGHT_JSON_OUTPUT_FILE=firefox.json node node_modules/@playwright/test/cli.js test \
85
+ -c playwright.hosted-matrix.config.ts --project=firefox --reporter=line,json
86
+ node scripts/verify-hosted-browser-results.mjs firefox.json
87
+ npm run desktop:prepare && npm run desktop:package -- --dir
88
+ export PI_WEB_DESKTOP_EXECUTABLE="$PWD/desktop-release/mac-arm64/pi.app/Contents/MacOS/pi"
89
+ node --experimental-strip-types scripts/smoke-hosted-desktop.mjs
90
+ node --experimental-strip-types scripts/smoke-hosted-platform.mjs
91
+ ```
92
+
93
+ Build only on the target OS. The delivered artifact manifest includes full source snapshots, incremental patches, exact hashes, raw success/failure logs, resource samples and current management screenshots. Earlier per-child reports remain historical independent evidence, not substitute results for this combination. npm registry publication and alpha integration remain separate, unperformed actions requiring their own authority; a visible official catalog card does not make an unpublished package downloadable.
@@ -0,0 +1,141 @@
1
+ # Hosted production bootstrap (ORI-28)
2
+
3
+ ## Optional official plugin, default hosted ownership
4
+
5
+ Start a **new host process** after migrating from a builtin-era host. Hosted is
6
+ now the only drawing owner; no flag is required. `PI_WEBAPP_HOSTED_EXCALIDRAW` is
7
+ retired (even `0` cannot bring the builtin back). The official package is absent
8
+ until explicitly installed; offline startup restores enabled installed intent only.
9
+ Files, terminal, git and v1 plugins (including plan mode) remain. The adapter rejects
10
+ conflicting tools without overwriting owners, reloading or replacing sessions.
11
+ Reloading an older builtin host into this ownership mode is explicitly refused.
12
+
13
+ The root editor dependency, exclusive overrides, builtin drawing client/server,
14
+ font/chunk build hook and notices are removed. Only tiny metadata/icon/history
15
+ recovery remain. See [migration and package verification](hosted-excalidraw-migration.md).
16
+ This is not authorization for publication, push, release merge or credentials.
17
+
18
+ ## Composition and authenticated boundaries
19
+
20
+ `pi-host.ts` owns one `HostedPluginIntegration`, created lazily without opening
21
+ resources in the extension factory. TUI `session_start` mounts the same adapter and
22
+ starts offline runtime restoration. Every SDK `WorkspaceSessions` construction
23
+ receives that adapter's inline factory; retained/background sessions stay attached
24
+ until real shutdown. Hosted actions never reload or replace any AgentSession.
25
+
26
+ `BridgeHost.hosted` connects inventory/manage/action/views/assets to the actual
27
+ manager and coordinators. Existing bridge authentication, origin and bounded-JSON
28
+ checks remain authoritative. Scope is resolved on every call from the current TUI
29
+ or an actual retained non-closing SDK runtime; saved session IDs alone do not grant
30
+ access. `cwd`, workspace and owner fields in browser bodies are ignored. Workspace
31
+ identity is a hash of the canonical host cwd. Owner identity is the stable local
32
+ OS/agent-directory principal behind the bridge bearer token, not a browser ID.
33
+ This bridge is a single-local-principal host, not multi-user tenancy.
34
+
35
+ The catalog returns full `HostedPluginCatalog` DTOs after acknowledged management,
36
+ including pending versions and manager errors. Document/controller paths come from
37
+ the verified installed manifest (both `./dist/...` and `dist/...` normalize), joined
38
+ to the manager's generation-rotating capability/digest asset base. Only reviewed
39
+ static Excalidraw frontend contribution data from package commit `6328c63` is
40
+ supplied. Frontend `describe` is never an authorization source and no plugin code
41
+ is imported into the host realm. Candidate tools must match the six reviewed
42
+ name/action pairs and readonly policy; schema/description data stays data-only.
43
+ Tool execution results are converted to SDK `{content, details}` by the host.
44
+
45
+ Normal UI actions use a host-owned reviewed action allowlist and manager.invoke,
46
+ with current generation and exact retained scope. UI actions are not model tool
47
+ policy calls. Model tools separately enforce enabled/allowlist/plan/nested/exposure
48
+ policy through HostedAgentAdapter; nested calls are denied by default. Existing v1
49
+ plan-mode extension hooks remain authoritative and can conservatively deny these
50
+ tools; this integration does not synthesize execution grants from persisted plans.
51
+
52
+ ## Switching order and recovery
53
+
54
+ All host management, startup reconciliation and shutdown share one global queue.
55
+ The outer `adapter.freeze()` closes new batch admission **before** manager/supervisor
56
+ drain. Already-admitted batches keep using the still-active old worker through
57
+ `agent_settled`, including automatic followups. Management is exposed only via host
58
+ HTTP, never a model tool/extension command that waits for its own settlement.
59
+
60
+ Supervisor hooks require the outer gate, freeze every registered frame, preflight
61
+ candidate ownership/official readonly policy before persistent activation, publish
62
+ the new retained-session descriptors, commit view generation, then thaw admission.
63
+ The prerequisite parent seam is `validateCandidate` (original `1c7d901`, locally
64
+ cherry-picked as `f6e425c`; parent subsequently rebased its equivalent commit).
65
+ The manager lifecycle option is intentionally not nested inside the outer queue.
66
+
67
+ Default enable/update waits for editor closure and exposes `pendingVersion`.
68
+ `reopenEditors: true` is the UI's explicit undo-reset warning branch; that setting
69
+ is scoped to one queued operation and cleared on every exit. Retry is explicit.
70
+ While gated, only `sync` and reviewed prerequisite `get`/`list` can enter
71
+ manager.flush, and only with an exact owner/workspace/session/mount/generation view
72
+ capability in the coordinator's **currently pending freeze barrier**. A normal
73
+ request, guessed action name, old capability or reopen flag cannot use this route.
74
+ Every view operation resolves retained authorization anew; old committed identities
75
+ may only poll/ack/close their bound handshake, not register/change or execute edits.
76
+
77
+ Publication failure after broker commit is sticky: catalog reports recovery,
78
+ management reports failure, and normal admission remains frozen. The new active
79
+ pointer/data is never silently rolled back. A dedicated operator recovery UX is
80
+ still required; do not automatically steal abandoned runtime locks. Missing/dirty
81
+ views never expire by TTL. Ordinary precommit failure resumes old views/tools.
82
+
83
+ ## Startup and shutdown
84
+
85
+ Before manager.start, coordinators initialize from each broker's persisted active
86
+ generation. Offline start loads only previously enabled installed packages; an
87
+ absent official card does not trigger registry access. Restart advances generation
88
+ and requires fresh authenticated registration, so old clients cannot edit without
89
+ re-handshake. Host-version reconciliation is recorded atomically in
90
+ `host-version.json` once per host version. It only considers installed plugins,
91
+ preserves disabled intent and pin choices, and leaves compatible installed code on
92
+ registry failure. Failed offline reconciliation retries on the next process startup (not in a busy
93
+ loop); successful unchanged host versions do not repeat the registry check.
94
+ Host-linked startup synchronizes installed stable compatible versions even with
95
+ independent `notify` policy. Pins are validated and retained with visible required
96
+ action on incompatibility; pending editor activation does not mark reconciliation
97
+ complete. See [host-linked update scope](hosted-linked-update.md).
98
+
99
+ Quit drains all retained Agent batches and frame barriers before worker shutdown;
100
+ enabled installed intent remains persisted. Dirty/disconnected frames can refuse
101
+ shutdown; this must not be reported as a successful checkpoint or fixed by deleting
102
+ locks. Process crash, distributed views, automatic lock recovery and recovery UX
103
+ are not certified here.
104
+
105
+ ## Verification
106
+
107
+ ```
108
+ npm run check
109
+ node --import ./test/setup-env.mjs --experimental-strip-types --test \
110
+ test/hosted-bootstrap.test.ts test/hosted-integration*.test.ts \
111
+ test/hosted-agent*.test.ts test/hosted-views.test.ts test/hosted-routes.test.ts \
112
+ test/hosted-installation.test.ts test/hosted-plugins.test.ts \
113
+ test/background-sessions.test.ts test/drawing-*.test.ts test/legacy-checkpoints.test.ts \
114
+ test/prompt-queue-bridge.test.ts test/web-plugins.test.ts
115
+ npm run build
116
+ ```
117
+
118
+ Historical bootstrap milestone: 42 tests passed, with actual SDK, Node worker, manager and authenticated HTTP fixtures,
119
+ without provider networking. Coverage includes actual pi-host opt-in lifecycle,
120
+ old-schema batches finishing before drain, concurrent management serialization,
121
+ retained/new same-object session tools, install/enable/update/retry/disable/uninstall
122
+ without reload, no builtin drawing UI/catalog/routes in opt-in mode, retained-scope
123
+ forgery rejection, wrong generations, barrier-only checkpoint admission, official
124
+ readonly/foreign ownership candidate rejection before pointer commit, sticky
125
+ publication errors, offline restart generations and persistent host-version checks.
126
+ Existing adapter tests cover disabled/nested/codemode/plan/allowlist denial; existing
127
+ coordinator tests cover two-window/missing-ack/dirty-view barriers. Additionally the
128
+ existing `hosted-excalidraw-archive.test.ts` passed (1 test) with the explicitly
129
+ supplied sibling `artifacts/chengzhiyi-pi-excalidraw-0.1.0.tgz`: real 426-resource
130
+ package, legacy import/edit/save/restart/disable/uninstall persistence. That test
131
+ certifies the manager/package layer, not a full browser-plus-bootstrap end-to-end.
132
+
133
+ Build succeeds with existing large-chunk/use-client warnings and the parent-owned
134
+ worker debug-ID proxy's missing default-export warning. Current default/package
135
+ results supersede the older milestone counts above; see the migration report.
136
+
137
+ Not claimed: full management browser/TUI interaction, real-provider concurrency,
138
+ Electron/OS packaging matrix, final Excalidraw parity or release acceptance. ORI-36
139
+ supersedes the earlier policy behavior: host-linked synchronization and independent
140
+ notification are explicitly separated in the UI. Signed catalog, full native
141
+ paired updates and recovery/GC release limits remain explicit gates.
@@ -0,0 +1,171 @@
1
+ # Official plugin update policy and stopped-owner recovery (ORI-33)
2
+
3
+ Bounded implementation on `feat/hosted-update-recovery`. No publication, push,
4
+ release merge, dependency installation or shared-alpha changes. This is not full
5
+ A01–A25 release acceptance. See [runtime](hosted-plugin-runtime.md),
6
+ [installation](hosted-plugin-installation.md), [GC](hosted-plugin-gc.md) and the
7
+ [historical production matrix](hosted-production-acceptance.md).
8
+
9
+ ## Software-linked updates (supersedes ORI-33 policy UI in ORI-42)
10
+
11
+ Installed official plugins follow software updates without a strategy setting.
12
+ Legacy `notify`, `automatic`, and `pinned` records are validated and normalized to
13
+ `notify` (manual independent checks; fixed software-linked updates). Startup
14
+ persists that migration under the policy lock. Old pins no longer block install,
15
+ manual update, pending retry or controlled host/plugin combination selection.
16
+ The legacy policy endpoint remains parser-compatible but cannot reinstate a pin.
17
+
18
+ Absent plugins are not installed; disabled plugins remain disabled. Compatible
19
+ higher versions are not downgraded. Open editors defer activation; after closing
20
+ editors, use Apply pending update, or explicitly accept the reopen/undo reset
21
+ confirmation. No page reload, fake close acknowledgement or TTL is used.
22
+
23
+ Independent check never downloads a tarball. Manual update remains available.
24
+ The paired business-package updater checks for newer compatible official code
25
+ as well as required upgrades. Offline/download failure retains compatible local
26
+ code; incompatible combinations fail before host selection. Native OS updater
27
+ coverage is not expanded by this change.
28
+
29
+ Checks and structured failure codes persist in `policies/update-checks.json`.
30
+ An equal release is not an available upgrade. `host-version.json` is written only
31
+ when synchronization succeeds. A controlled pair admitted using offline fallback
32
+ does not mark synchronization complete: the next startup retries. No background
33
+ interval or repeated mutation retry runs. Diagnostics are collapsed in the UI;
34
+ metadata 404, missing tarball, no compatible release and network failure remain
35
+ distinct. See [ORI-42 evidence and reproduction](hosted-ori42-management.md).
36
+
37
+ ## Offline operator recovery — no automatic stealing
38
+
39
+ `runtime.lock` and `transaction.lock` are never removed by startup, PID inference,
40
+ heartbeat timeout, UI or an HTTP endpoint. The utility below is **offline only**.
41
+ Its confirmation is an operator attestation, not an OS-enforced proof of dead
42
+ ownership. Filesystem rename is NOT an online compare-and-swap primitive.
43
+
44
+ Before invoking a mutation, the operator MUST:
45
+
46
+ 1. Stop **all** host/bridge services and plugin child processes using this storage,
47
+ including other desktop windows, terminals and machines sharing it. Disable
48
+ service restart/watchdogs and retain exclusive filesystem custody. A missing
49
+ PID (or reused PID) is insufficient evidence. Record the actual service-stop /
50
+ process-tree evidence externally; do not merely close the browser.
51
+ 2. Back up the complete hosted storage tree **and relevant workspace files** to a
52
+ separate location and verify the copy. Never use an old snapshot as the active
53
+ pointer when newer generation writes might have been accepted.
54
+ 3. Inspect exact paths and byte hashes with the tool. Review active/previous,
55
+ transition, fork and lock metadata against that backup. It lists hashes, not
56
+ arbitrary file contents; inspect the named local JSON records with local tools.
57
+ 4. Keep owners stopped throughout inspection, confirmation and repair. If external
58
+ isolation cannot be established, **do not run recovery**. Escalate rather than
59
+ trying to detect dead ownership from a PID.
60
+
61
+ The build ships `dist/hosted-recovery.js`. From source, substitute
62
+ `node --experimental-strip-types scripts/hosted-stopped-recovery.ts` for
63
+ `node dist/hosted-recovery.js`. It is a local CLI, not a new network/filesystem API.
64
+ Use a trusted installed/source checkout. `DATA_ROOT` is `<hosted root>/data` and
65
+ `BROKER_ROOT` is `DATA_ROOT/sha256(pluginId)` (the report root for that plugin).
66
+
67
+ ```sh
68
+ CONFIRMATION=ALL_HOSTS_AND_PLUGIN_WORKERS_STOPPED_AND_BACKUP_VERIFIED
69
+ node dist/hosted-recovery.js inspect "$BROKER_ROOT"
70
+ # Review report; manually copy its exact fingerprint only AFTER the checks above.
71
+ node dist/hosted-recovery.js recover-locks "$BROKER_ROOT" "$FINGERPRINT" "$CONFIRMATION"
72
+ ```
73
+
74
+ Every input file is included in the fingerprint. Changed bytes, unsafe links,
75
+ oversized/non-regular files, missing consent or old fingerprints refuse recovery.
76
+ Only root `runtime.lock` / `transaction.lock` are renamed to fingerprint-qualified
77
+ `recovered-*.json` audit records; an audit receipt is written. No active pointer,
78
+ state snapshot, journal or workspace bytes are removed by this operation. A crash
79
+ mid-recovery is inspectable and needs a fresh report. Never reuse a fingerprint.
80
+ The same lock operation can inspect/recover a known installer/policy root's
81
+ transaction lock, but it does not repair their unknown/corrupt journals.
82
+
83
+ ### Activation transition / abandoned fork
84
+
85
+ After lock quarantine, refresh the report and fingerprint. A known activation
86
+ journal can be reconciled offline, using the **data parent** and exact plugin ID:
87
+
88
+ ```sh
89
+ node dist/hosted-recovery.js inspect "$BROKER_ROOT"
90
+ node dist/hosted-recovery.js reconcile-transition "$DATA_ROOT" \
91
+ '@chengzhiyi/pi-excalidraw' "$FINGERPRINT" "$CONFIRMATION"
92
+ ```
93
+
94
+ The broker accepts only a journal whose complete before/next pointer matches the
95
+ actual active pointer. A committed transition completes previous-snapshot metadata;
96
+ an uncommitted transition never replaces the active pointer. Unknown/corrupt or
97
+ unrelated pointer/journal combinations preserve evidence and refuse recovery.
98
+
99
+ A crash before activation can leave `fork.json`. Startup deliberately will not
100
+ guess it away. Once transition reconciliation has completed, inspect **again**:
101
+
102
+ ```sh
103
+ node dist/hosted-recovery.js inspect "$BROKER_ROOT"
104
+ node dist/hosted-recovery.js recover-fork "$DATA_ROOT" \
105
+ '@chengzhiyi/pi-excalidraw' "$FINGERPRINT" "$CONFIRMATION"
106
+ ```
107
+
108
+ Only a recognized, inactive fork not referenced by active/previous and with no
109
+ transition can be quarantined. Its snapshot bytes remain. Normal reference-aware
110
+ GC later validates any unreferenced snapshot before removal. A referenced or
111
+ unknown fork is refused even with confirmation. If recovery rejects anything,
112
+ keep the backup, stop and inspect; never bulk-delete journals/locks. Workspace
113
+ `*.excalidraw.lock` files and uncertain file intents are intentionally **not**
114
+ handled by this tool: reconcile the actual workspace save against expected/next
115
+ hashes with the operator before a separate scoped repair. No arbitrary file-lock
116
+ or file-write endpoint has been added.
117
+
118
+ Restart one owner only after recovery. Confirm inventory, enabled intent, active
119
+ version/generation and latest drawing revisions; compare workspace hashes to the
120
+ verified backup. The UI explains the offline recovery path for lock errors.
121
+
122
+ ## Fault matrix and reproducible evidence
123
+
124
+ New `test/hosted-update-recovery.test.ts` runs 14 cases. SIGKILL cases use real
125
+ subprocesses and real on-disk locks. Injection is a constructor callback supplied
126
+ only by the test fixture; there is no environment-variable or HTTP kill switch.
127
+
128
+ | Fault / gate | Verified result | Remaining limit |
129
+ | --- | --- | --- |
130
+ | A12 network interrupted during archive | Existing immutable package digest unchanged; persisted failure | OS disk-full/fsync/device-failure and every download cancellation timing NOT exhaustively injected |
131
+ | A12 malformed archive/integrity/cancel | Existing installer negative tests pass | Not a packaged updater fault suite |
132
+ | health: candidate child SIGKILL | Old PID, active pointer, state and saved file hash unchanged; old runtime callable | Arbitrary native/plugin hangs not exhaustively covered |
133
+ | forked: host killed after snapshot copy | Old active pointer/write set survives; orphan reservation blocks GC until explicit fingerprinted recovery; retry works | Requires external offline fencing |
134
+ | prepared: killed after transition journal | Before pointer authoritative; same controlled fork recovery and retry | No automatic lock stealing |
135
+ | committed: killed after active rename, before cleanup | Next pointer authoritative; old-generation writes rejected; recovery then new writes remain after repeat recovery | Power loss/directory fsync behavior per OS NOT certified |
136
+ | cleaned: killed after metadata cleanup | Next pointer only; workspace hash unchanged; new writes retained | Same platform caveat |
137
+ | unknown journal vs active | Refuse without deleting journal or replacing pointer | Manual forensic restoration required |
138
+ | active/previous referenced fork | Refuse even with confirmation | Never resolves ambiguity by rollback |
139
+ | A15 schema differs after latest accepted writes | Explicit migration-required rejection; latest state/pointer preserved | No cross-schema migration or rollback implementation |
140
+ | A17 independent check / linked default / automatic / pinned / absent / disabled | Actual manager transport counters, persisted diagnostics, no newer release and no-compatible explanations | New UI compiles/builds; no new browser policy-control interaction run |
141
+ | A18 failed vs successful startup | Failure retries on next startup; success checks once per host version | Full paired application/plugin updater remains out of scope |
142
+
143
+ Validation on this worktree:
144
+
145
+ - `npm run check`: PASS.
146
+ - `npm run build`: PASS; existing chunk-size / source-map proxy default-export
147
+ warnings (including the new CLI entry), not runtime/test failures.
148
+ - Full `npm test` with exact external archive: Node **374 passed, 1 Windows-only
149
+ skipped**; desktop Node **90 passed**. **464 passed, 1 skipped** in total.
150
+ - All focused hosted tests: **60 passed, zero skipped** (includes exact archive).
151
+ - Bundled CLI invalid-argument usage exits 2, without modifying storage.
152
+ - Exact external archive SHA256:
153
+ `6eee13fe4dab6d68b20d17a0fe68741eba79dc085097149e609678b667c09f31`.
154
+
155
+ ```sh
156
+ npm run check
157
+ npm run build
158
+ HOSTED_EXCALIDRAW_TGZ=/absolute/path/to/chengzhiyi-pi-excalidraw-0.1.0.tgz npm test
159
+ HOSTED_EXCALIDRAW_TGZ=/absolute/path/to/chengzhiyi-pi-excalidraw-0.1.0.tgz \
160
+ node --import ./test/setup-env.mjs --experimental-strip-types --test \
161
+ --test-concurrency=4 test/hosted-*.test.ts
162
+ ```
163
+
164
+ The counts above are the historical ORI-33 milestone; see the ORI-36 report for current validation.
165
+
166
+ The strict CSP, third-party font/code prohibition, generation/CAS broker,
167
+ parent/session identity and native undo lifecycle are unchanged. No generic
168
+ frontend frame-lifecycle files or browser tests changed. Real packaged
169
+ macOS/Windows/Linux recovery, power-loss/fsync, disk-full, signed provenance,
170
+ cross-schema migration and coordinated desktop host/plugin upgrades remain
171
+ explicit release gates, not claims of this patch.
package/docs/sentry.md CHANGED
@@ -1,20 +1,20 @@
1
1
  # Sentry error collection
2
2
 
3
- Browser and extension error reporting are enabled by default with this built-in public DSN:
3
+ **Browser and extension error reporting are disabled by default.** No reporting SDK is loaded and no Sentry events are sent unless `PI_WEB_SENTRY_ENABLED=true` is explicitly set. A DSN alone does not enable reporting, including an inherited DSN override. Opting in uses this built-in public DSN unless overridden:
4
4
 
5
5
  ```text
6
6
  https://070c0b7c5ac18d940c294e63ecfa0793@o4506663318716416.ingest.us.sentry.io/4512191040716800
7
7
  ```
8
8
 
9
- Start Pi and run `/web`; no environment configuration is needed. To override the default destination, set `PI_WEB_SENTRY_DSN` in the **Pi process environment**. Pi does not automatically read `.env`; `.env.example` is a configuration reference.
9
+ Normal startup needs no telemetry configuration. To intentionally opt in, set `PI_WEB_SENTRY_ENABLED=true` in the **Pi process environment** and optionally override `PI_WEB_SENTRY_DSN`. Pi does not automatically read `.env`; `.env.example` is a configuration reference. Previously configured `PI_WEB_SENTRY_ENABLED=true` remains an explicit opt-in; remove it or set it to `false` to stop reporting.
10
10
 
11
11
  ```sh
12
- PI_WEB_SENTRY_DSN='https://PUBLIC_KEY@o123.ingest.sentry.io/123' pi
12
+ PI_WEB_SENTRY_ENABLED=true PI_WEB_SENTRY_DSN='https://PUBLIC_KEY@o123.ingest.sentry.io/123' pi
13
13
  ```
14
14
 
15
15
  Replace the example with your project's public DSN. `PI_WEB_SENTRY_BROWSER_DSN` and `PI_WEB_SENTRY_NODE_DSN` override the common destination; an explicitly empty override disables that side. An explicitly empty common DSN disables both sides unless a per-side DSN overrides it. Use `PI_WEB_SENTRY_ENABLED=false` to disable both regardless of DSN overrides; disabled SDKs are not loaded and no events are sent. `PI_WEB_SENTRY_ENVIRONMENT` defaults to `production`. Restart Pi after changing runtime configuration. The host's `SENTRY_DSN` is deliberately ignored.
16
16
 
17
- ## What is collected
17
+ ## What is collected when explicitly enabled
18
18
 
19
19
  - Browser errors, unhandled rejections, React render failures, HTTP/response parsing failures, invalid NDJSON/protocol events and unexpected connection failures.
20
20
  - Extension request/workspace/configuration failures, asynchronous Agent and tool failures, and provider-login failures. Fatal exceptions attributable to this extension are best effort; process exit can prevent delivery.
@@ -69,7 +69,9 @@ Request failures and asynchronous error events include additive `errorId`, `requ
69
69
 
70
70
  `npm run build` produces matching browser/extension release IDs and debug IDs. It archives bundles/maps in `.sentry-artifacts/<buildId>/` and removes `.map` files from `web/dist` and `dist`. Archive directories are git-ignored and excluded from the npm package. These private files contain application source; store them as access-controlled CI artifacts. Ordinary local builds do not upload or contact Sentry.
71
71
 
72
- For an upload-required release build, provide these **CI-only** variables:
72
+ The current publishing workflow uses an offline, disabled-by-default release mode. It retains TypeScript/tests, private local maps, exact package comparison, release-channel/SHA checks and hash-bound verification receipts. It verifies the packaged Node default is disabled and serves the packaged browser to confirm no reporting SDK or external requests, including after synthetic errors. No Sentry upload, event ingestion or Sentry credentials are required, and no event IDs are fabricated. This does **not** claim live source-map symbolication has been verified for the release. User opt-in reporting is best effort; restoring upload/live verification requires a deliberate workflow change.
73
+
74
+ For an **optional** upload-required build, provide these **CI-only** variables:
73
75
 
74
76
  ```sh
75
77
  export SENTRY_AUTH_TOKEN='YOUR_CI_TOKEN'
@@ -78,11 +80,11 @@ export SENTRY_PROJECT='YOUR_PROJECT'
78
80
  npm run build:sentry
79
81
  ```
80
82
 
81
- Use `SENTRY_BROWSER_PROJECT` / `SENTRY_NODE_PROJECT` for separate projects. The upload-required command fails on missing credentials or upload failure, and still removes maps from public output. Do not publish after a failed command. Auth tokens are never part of runtime configuration. The ordinary npm `prepack` rebuilds locally without uploading; use `npm pack --ignore-scripts` or `npm publish --ignore-scripts` only after checks and a successful `build:sentry` to package the exact uploaded artifacts.
83
+ Use `SENTRY_BROWSER_PROJECT` / `SENTRY_NODE_PROJECT` for separate projects. The upload-required command fails on missing credentials or upload failure, and still removes maps from public output. Do not publish after a failed command. Auth tokens are never part of runtime configuration. The ordinary npm `prepack` rebuilds locally without uploading; use `npm pack --ignore-scripts` or `npm publish --ignore-scripts` only after checks and the appropriate local/offline or upload/live verification to package the exact checked artifacts.
82
84
 
83
- ### Required Actions configuration
85
+ ### Optional live-verification configuration
84
86
 
85
- The publishing workflow now fails closed until both credentials exist:
87
+ The current disabled release does not use these credentials. The optional `build:sentry` / `verify:sentry` path fails closed until both credentials exist:
86
88
 
87
89
  - Repository secret `SENTRY_AUTH_TOKEN`: source-map upload and release permissions.
88
90
  - Repository secret `SENTRY_VERIFY_AUTH_TOKEN`: event/project read permission (`project:read` or equivalent).
@@ -99,8 +101,10 @@ After the uploaded build, run:
99
101
  mkdir -p .ci/release
100
102
  npm pack --ignore-scripts --json --pack-destination .ci/release > .ci/release/pack.json
101
103
  npm run verify:package -- --pack-manifest .ci/release/pack.json
102
- # Requires SENTRY_VERIFY_AUTH_TOKEN, SENTRY_ORG and the destination project(s).
103
- npm run verify:sentry -- --pack-manifest .ci/release/pack.json
104
+ # Current release: no Sentry network/credentials; verify disabled Node/browser defaults.
105
+ node scripts/verify-sentry-release.mjs --telemetry-disabled --pack-manifest .ci/release/pack.json
106
+ # Optional live mode instead: requires uploaded artifacts and Sentry credentials.
107
+ # npm run verify:sentry -- --pack-manifest .ci/release/pack.json
104
108
  node scripts/publish-verified-release.mjs
105
109
  ```
106
110
 
@@ -108,7 +112,7 @@ node scripts/publish-verified-release.mjs
108
112
 
109
113
  `verify:sentry` first checks credentials and the package, then invokes the packaged Node verification entry and serves the packaged browser assets on loopback with synthetic configuration. It sends only synthetic events to the configured Sentry DSNs with `environment=sentry-verification`; normal imports and normal browser environments do not run these probes. The Node entry requires `PI_WEB_SENTRY_VERIFY_RELEASE=true` and the verification environment; the browser requires a verification-configured server and the explicit `sentry_release_probe=1` URL flag. The CLI sets up these guards itself.
110
114
 
111
- The verifier waits at most 120 seconds for the real events, checks release/build/side/Debug IDs, and requires original application frames to resolve to TypeScript. The synthetic exception must resolve to the exact source file and line recorded in the archived map. Browser maps give application sources stable `app:///src/` and `app:///web/src/` paths before upload. Unmapped external SDK dependencies do not invalidate resolved application frames. A successful run writes `.ci/release/verified.json` with event IDs and the tarball SHA-256. The publisher verifies that receipt and hash before publishing that tarball with lifecycle scripts disabled. Missing credentials, failed uploads, mismatched package assets, unmapped application frames, missing receipts, or changed tarballs block publication. Version synchronization to main occurs only after these checks succeed.
115
+ The verifier waits at most 120 seconds for the real events, checks release/build/side/Debug IDs, and requires original application frames to resolve to TypeScript. The synthetic exception must resolve to the exact source file and line recorded in the archived map. Browser maps give application sources stable `app:///src/` and `app:///web/src/` paths before upload. Unmapped external SDK dependencies do not invalidate resolved application frames. A successful run writes `.ci/release/verified.json` with event IDs and the tarball SHA-256. The publisher verifies the receipt's explicit mode and tarball hash before publishing with lifecycle scripts disabled. Live mode requires real-format Node/browser event IDs; disabled mode requires successful Node/browser disabled checks and forbids event IDs. Missing receipts, unknown modes, failed checks or changed tarballs block publication. Missing credentials, failed uploads and unmapped frames additionally block the optional live path. Release versions are chosen for the artifact only; there is no version-only main commit.
112
116
 
113
117
  For mapping failures, use Sentry's event source-map debugger or its `source-map-debug` API, and inspect matching Debug IDs for application bundles. Old tool-result events without original stacks remain limited even after source maps are uploaded.
114
118