@forgeax/view 0.2.1-beta-20260924075842

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 (585) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +742 -0
  3. package/dist/modules/backend.mjs +54 -0
  4. package/dist/modules/backend.mjs.map +7 -0
  5. package/dist/modules/browser.mjs +180 -0
  6. package/dist/modules/browser.mjs.map +7 -0
  7. package/dist/modules/carrier-contract.mjs +38 -0
  8. package/dist/modules/carrier-contract.mjs.map +7 -0
  9. package/dist/modules/carrier.mjs +13 -0
  10. package/dist/modules/carrier.mjs.map +7 -0
  11. package/dist/modules/chunks/chunk-2ASWB6IX.mjs +225 -0
  12. package/dist/modules/chunks/chunk-2ASWB6IX.mjs.map +7 -0
  13. package/dist/modules/chunks/chunk-2IJKOG2F.mjs +801 -0
  14. package/dist/modules/chunks/chunk-2IJKOG2F.mjs.map +7 -0
  15. package/dist/modules/chunks/chunk-2K3BBJ5S.mjs +9 -0
  16. package/dist/modules/chunks/chunk-2K3BBJ5S.mjs.map +7 -0
  17. package/dist/modules/chunks/chunk-32GD5LL6.mjs +482 -0
  18. package/dist/modules/chunks/chunk-32GD5LL6.mjs.map +7 -0
  19. package/dist/modules/chunks/chunk-3B4KFAEC.mjs +10 -0
  20. package/dist/modules/chunks/chunk-3B4KFAEC.mjs.map +7 -0
  21. package/dist/modules/chunks/chunk-46O5WX43.mjs +25 -0
  22. package/dist/modules/chunks/chunk-46O5WX43.mjs.map +7 -0
  23. package/dist/modules/chunks/chunk-47J5JXAB.mjs +237 -0
  24. package/dist/modules/chunks/chunk-47J5JXAB.mjs.map +7 -0
  25. package/dist/modules/chunks/chunk-4BXQOUDQ.mjs +17 -0
  26. package/dist/modules/chunks/chunk-4BXQOUDQ.mjs.map +7 -0
  27. package/dist/modules/chunks/chunk-4GQWYU2V.mjs +126 -0
  28. package/dist/modules/chunks/chunk-4GQWYU2V.mjs.map +7 -0
  29. package/dist/modules/chunks/chunk-4N5X2PRQ.mjs +48 -0
  30. package/dist/modules/chunks/chunk-4N5X2PRQ.mjs.map +7 -0
  31. package/dist/modules/chunks/chunk-4WXD2KYX.mjs +56 -0
  32. package/dist/modules/chunks/chunk-4WXD2KYX.mjs.map +7 -0
  33. package/dist/modules/chunks/chunk-6ZWWVAZK.mjs +468 -0
  34. package/dist/modules/chunks/chunk-6ZWWVAZK.mjs.map +7 -0
  35. package/dist/modules/chunks/chunk-73UZNRHN.mjs +296 -0
  36. package/dist/modules/chunks/chunk-73UZNRHN.mjs.map +7 -0
  37. package/dist/modules/chunks/chunk-7ITLCRND.mjs +10 -0
  38. package/dist/modules/chunks/chunk-7ITLCRND.mjs.map +7 -0
  39. package/dist/modules/chunks/chunk-7TGVWKH7.mjs +59 -0
  40. package/dist/modules/chunks/chunk-7TGVWKH7.mjs.map +7 -0
  41. package/dist/modules/chunks/chunk-7URFF53W.mjs +42 -0
  42. package/dist/modules/chunks/chunk-7URFF53W.mjs.map +7 -0
  43. package/dist/modules/chunks/chunk-7YSDRIFN.mjs +14 -0
  44. package/dist/modules/chunks/chunk-7YSDRIFN.mjs.map +7 -0
  45. package/dist/modules/chunks/chunk-AAFVCQPK.mjs +52 -0
  46. package/dist/modules/chunks/chunk-AAFVCQPK.mjs.map +7 -0
  47. package/dist/modules/chunks/chunk-AEK7ZESQ.mjs +18 -0
  48. package/dist/modules/chunks/chunk-AEK7ZESQ.mjs.map +7 -0
  49. package/dist/modules/chunks/chunk-AL6ZWIEU.mjs +42 -0
  50. package/dist/modules/chunks/chunk-AL6ZWIEU.mjs.map +7 -0
  51. package/dist/modules/chunks/chunk-ALT7XVMQ.mjs +73 -0
  52. package/dist/modules/chunks/chunk-ALT7XVMQ.mjs.map +7 -0
  53. package/dist/modules/chunks/chunk-ASI2HBE6.mjs +116 -0
  54. package/dist/modules/chunks/chunk-ASI2HBE6.mjs.map +7 -0
  55. package/dist/modules/chunks/chunk-ATWGCH7I.mjs +174 -0
  56. package/dist/modules/chunks/chunk-ATWGCH7I.mjs.map +7 -0
  57. package/dist/modules/chunks/chunk-C45U6IIY.mjs +692 -0
  58. package/dist/modules/chunks/chunk-C45U6IIY.mjs.map +7 -0
  59. package/dist/modules/chunks/chunk-C7R3YRA7.mjs +98 -0
  60. package/dist/modules/chunks/chunk-C7R3YRA7.mjs.map +7 -0
  61. package/dist/modules/chunks/chunk-CRMICXKN.mjs +87 -0
  62. package/dist/modules/chunks/chunk-CRMICXKN.mjs.map +7 -0
  63. package/dist/modules/chunks/chunk-CUH2G6UF.mjs +81 -0
  64. package/dist/modules/chunks/chunk-CUH2G6UF.mjs.map +7 -0
  65. package/dist/modules/chunks/chunk-D7GWRZLL.mjs +77 -0
  66. package/dist/modules/chunks/chunk-D7GWRZLL.mjs.map +7 -0
  67. package/dist/modules/chunks/chunk-DBWUIBE3.mjs +10 -0
  68. package/dist/modules/chunks/chunk-DBWUIBE3.mjs.map +7 -0
  69. package/dist/modules/chunks/chunk-DQWVWWUU.mjs +77 -0
  70. package/dist/modules/chunks/chunk-DQWVWWUU.mjs.map +7 -0
  71. package/dist/modules/chunks/chunk-DZZ2WFEU.mjs +122 -0
  72. package/dist/modules/chunks/chunk-DZZ2WFEU.mjs.map +7 -0
  73. package/dist/modules/chunks/chunk-E4UIAN26.mjs +58 -0
  74. package/dist/modules/chunks/chunk-E4UIAN26.mjs.map +7 -0
  75. package/dist/modules/chunks/chunk-EJGBVKFE.mjs +77 -0
  76. package/dist/modules/chunks/chunk-EJGBVKFE.mjs.map +7 -0
  77. package/dist/modules/chunks/chunk-EPSTTHWV.mjs +173 -0
  78. package/dist/modules/chunks/chunk-EPSTTHWV.mjs.map +7 -0
  79. package/dist/modules/chunks/chunk-ER7T6QJ3.mjs +64 -0
  80. package/dist/modules/chunks/chunk-ER7T6QJ3.mjs.map +7 -0
  81. package/dist/modules/chunks/chunk-FD4BAJ6K.mjs +389 -0
  82. package/dist/modules/chunks/chunk-FD4BAJ6K.mjs.map +7 -0
  83. package/dist/modules/chunks/chunk-FJM6WWIY.mjs +80 -0
  84. package/dist/modules/chunks/chunk-FJM6WWIY.mjs.map +7 -0
  85. package/dist/modules/chunks/chunk-FKCQYDLX.mjs +162 -0
  86. package/dist/modules/chunks/chunk-FKCQYDLX.mjs.map +7 -0
  87. package/dist/modules/chunks/chunk-FLGC65SR.mjs +10 -0
  88. package/dist/modules/chunks/chunk-FLGC65SR.mjs.map +7 -0
  89. package/dist/modules/chunks/chunk-FMCACPX5.mjs +289 -0
  90. package/dist/modules/chunks/chunk-FMCACPX5.mjs.map +7 -0
  91. package/dist/modules/chunks/chunk-FOBRLUQV.mjs +51 -0
  92. package/dist/modules/chunks/chunk-FOBRLUQV.mjs.map +7 -0
  93. package/dist/modules/chunks/chunk-FV3DSKZB.mjs +33 -0
  94. package/dist/modules/chunks/chunk-FV3DSKZB.mjs.map +7 -0
  95. package/dist/modules/chunks/chunk-G7BAFAGO.mjs +98 -0
  96. package/dist/modules/chunks/chunk-G7BAFAGO.mjs.map +7 -0
  97. package/dist/modules/chunks/chunk-GQBZMCTK.mjs +145 -0
  98. package/dist/modules/chunks/chunk-GQBZMCTK.mjs.map +7 -0
  99. package/dist/modules/chunks/chunk-GYWIY7AL.mjs +131 -0
  100. package/dist/modules/chunks/chunk-GYWIY7AL.mjs.map +7 -0
  101. package/dist/modules/chunks/chunk-H3KNBALD.mjs +256 -0
  102. package/dist/modules/chunks/chunk-H3KNBALD.mjs.map +7 -0
  103. package/dist/modules/chunks/chunk-H3M22JDL.mjs +144 -0
  104. package/dist/modules/chunks/chunk-H3M22JDL.mjs.map +7 -0
  105. package/dist/modules/chunks/chunk-HES3DNTM.mjs +40 -0
  106. package/dist/modules/chunks/chunk-HES3DNTM.mjs.map +7 -0
  107. package/dist/modules/chunks/chunk-I5BFP7SS.mjs +2392 -0
  108. package/dist/modules/chunks/chunk-I5BFP7SS.mjs.map +7 -0
  109. package/dist/modules/chunks/chunk-IGRMZYRD.mjs +15 -0
  110. package/dist/modules/chunks/chunk-IGRMZYRD.mjs.map +7 -0
  111. package/dist/modules/chunks/chunk-IKNGC766.mjs +321 -0
  112. package/dist/modules/chunks/chunk-IKNGC766.mjs.map +7 -0
  113. package/dist/modules/chunks/chunk-IVHNYKZB.mjs +35 -0
  114. package/dist/modules/chunks/chunk-IVHNYKZB.mjs.map +7 -0
  115. package/dist/modules/chunks/chunk-JHOURMYW.mjs +101 -0
  116. package/dist/modules/chunks/chunk-JHOURMYW.mjs.map +7 -0
  117. package/dist/modules/chunks/chunk-JURXMRFA.mjs +282 -0
  118. package/dist/modules/chunks/chunk-JURXMRFA.mjs.map +7 -0
  119. package/dist/modules/chunks/chunk-JWZIREC3.mjs +18 -0
  120. package/dist/modules/chunks/chunk-JWZIREC3.mjs.map +7 -0
  121. package/dist/modules/chunks/chunk-KHRTIZ56.mjs +1400 -0
  122. package/dist/modules/chunks/chunk-KHRTIZ56.mjs.map +7 -0
  123. package/dist/modules/chunks/chunk-KLJZZ23J.mjs +102 -0
  124. package/dist/modules/chunks/chunk-KLJZZ23J.mjs.map +7 -0
  125. package/dist/modules/chunks/chunk-KNBAYU5I.mjs +49 -0
  126. package/dist/modules/chunks/chunk-KNBAYU5I.mjs.map +7 -0
  127. package/dist/modules/chunks/chunk-KSZNCFU4.mjs +125 -0
  128. package/dist/modules/chunks/chunk-KSZNCFU4.mjs.map +7 -0
  129. package/dist/modules/chunks/chunk-L45W6KM6.mjs +158 -0
  130. package/dist/modules/chunks/chunk-L45W6KM6.mjs.map +7 -0
  131. package/dist/modules/chunks/chunk-LERMYZRC.mjs +239 -0
  132. package/dist/modules/chunks/chunk-LERMYZRC.mjs.map +7 -0
  133. package/dist/modules/chunks/chunk-LKJCXYSJ.mjs +91 -0
  134. package/dist/modules/chunks/chunk-LKJCXYSJ.mjs.map +7 -0
  135. package/dist/modules/chunks/chunk-MBS3EICT.mjs +25 -0
  136. package/dist/modules/chunks/chunk-MBS3EICT.mjs.map +7 -0
  137. package/dist/modules/chunks/chunk-MUOQZPVH.mjs +609 -0
  138. package/dist/modules/chunks/chunk-MUOQZPVH.mjs.map +7 -0
  139. package/dist/modules/chunks/chunk-MVEPGFSB.mjs +1 -0
  140. package/dist/modules/chunks/chunk-MVEPGFSB.mjs.map +7 -0
  141. package/dist/modules/chunks/chunk-NBJKLWJ5.mjs +42 -0
  142. package/dist/modules/chunks/chunk-NBJKLWJ5.mjs.map +7 -0
  143. package/dist/modules/chunks/chunk-NBLGKTEM.mjs +86 -0
  144. package/dist/modules/chunks/chunk-NBLGKTEM.mjs.map +7 -0
  145. package/dist/modules/chunks/chunk-NI7CS3I2.mjs +110 -0
  146. package/dist/modules/chunks/chunk-NI7CS3I2.mjs.map +7 -0
  147. package/dist/modules/chunks/chunk-NJH2OJFC.mjs +2113 -0
  148. package/dist/modules/chunks/chunk-NJH2OJFC.mjs.map +7 -0
  149. package/dist/modules/chunks/chunk-OBK4LIJB.mjs +20 -0
  150. package/dist/modules/chunks/chunk-OBK4LIJB.mjs.map +7 -0
  151. package/dist/modules/chunks/chunk-PEUT3FW7.mjs +1 -0
  152. package/dist/modules/chunks/chunk-PEUT3FW7.mjs.map +7 -0
  153. package/dist/modules/chunks/chunk-PRZOWPDN.mjs +66 -0
  154. package/dist/modules/chunks/chunk-PRZOWPDN.mjs.map +7 -0
  155. package/dist/modules/chunks/chunk-Q4RXBGQS.mjs +55 -0
  156. package/dist/modules/chunks/chunk-Q4RXBGQS.mjs.map +7 -0
  157. package/dist/modules/chunks/chunk-QBHBKOIL.mjs +55 -0
  158. package/dist/modules/chunks/chunk-QBHBKOIL.mjs.map +7 -0
  159. package/dist/modules/chunks/chunk-QD6CCRMG.mjs +20 -0
  160. package/dist/modules/chunks/chunk-QD6CCRMG.mjs.map +7 -0
  161. package/dist/modules/chunks/chunk-QF4V23GW.mjs +39 -0
  162. package/dist/modules/chunks/chunk-QF4V23GW.mjs.map +7 -0
  163. package/dist/modules/chunks/chunk-QK6W7MJO.mjs +42 -0
  164. package/dist/modules/chunks/chunk-QK6W7MJO.mjs.map +7 -0
  165. package/dist/modules/chunks/chunk-QL7V6DK7.mjs +34 -0
  166. package/dist/modules/chunks/chunk-QL7V6DK7.mjs.map +7 -0
  167. package/dist/modules/chunks/chunk-QLBQQKRI.mjs +25 -0
  168. package/dist/modules/chunks/chunk-QLBQQKRI.mjs.map +7 -0
  169. package/dist/modules/chunks/chunk-QLZQGZDC.mjs +418 -0
  170. package/dist/modules/chunks/chunk-QLZQGZDC.mjs.map +7 -0
  171. package/dist/modules/chunks/chunk-QSKQZGK7.mjs +1625 -0
  172. package/dist/modules/chunks/chunk-QSKQZGK7.mjs.map +7 -0
  173. package/dist/modules/chunks/chunk-QURKBAG4.mjs +25 -0
  174. package/dist/modules/chunks/chunk-QURKBAG4.mjs.map +7 -0
  175. package/dist/modules/chunks/chunk-R274XBEH.mjs +53 -0
  176. package/dist/modules/chunks/chunk-R274XBEH.mjs.map +7 -0
  177. package/dist/modules/chunks/chunk-R4I4JEY5.mjs +77 -0
  178. package/dist/modules/chunks/chunk-R4I4JEY5.mjs.map +7 -0
  179. package/dist/modules/chunks/chunk-RR6L6VVR.mjs +9 -0
  180. package/dist/modules/chunks/chunk-RR6L6VVR.mjs.map +7 -0
  181. package/dist/modules/chunks/chunk-RXF7SBBZ.mjs +125 -0
  182. package/dist/modules/chunks/chunk-RXF7SBBZ.mjs.map +7 -0
  183. package/dist/modules/chunks/chunk-SR66S6EJ.mjs +138 -0
  184. package/dist/modules/chunks/chunk-SR66S6EJ.mjs.map +7 -0
  185. package/dist/modules/chunks/chunk-SSQMQJ52.mjs +27 -0
  186. package/dist/modules/chunks/chunk-SSQMQJ52.mjs.map +7 -0
  187. package/dist/modules/chunks/chunk-TP26TASL.mjs +20 -0
  188. package/dist/modules/chunks/chunk-TP26TASL.mjs.map +7 -0
  189. package/dist/modules/chunks/chunk-TSAEK5P3.mjs +50 -0
  190. package/dist/modules/chunks/chunk-TSAEK5P3.mjs.map +7 -0
  191. package/dist/modules/chunks/chunk-UAY27HT3.mjs +68 -0
  192. package/dist/modules/chunks/chunk-UAY27HT3.mjs.map +7 -0
  193. package/dist/modules/chunks/chunk-UDLIWGWS.mjs +103 -0
  194. package/dist/modules/chunks/chunk-UDLIWGWS.mjs.map +7 -0
  195. package/dist/modules/chunks/chunk-UDVQHPWV.mjs +89 -0
  196. package/dist/modules/chunks/chunk-UDVQHPWV.mjs.map +7 -0
  197. package/dist/modules/chunks/chunk-UM23W3G7.mjs +237 -0
  198. package/dist/modules/chunks/chunk-UM23W3G7.mjs.map +7 -0
  199. package/dist/modules/chunks/chunk-VDZJWEAA.mjs +214 -0
  200. package/dist/modules/chunks/chunk-VDZJWEAA.mjs.map +7 -0
  201. package/dist/modules/chunks/chunk-VIGOJWSO.mjs +42 -0
  202. package/dist/modules/chunks/chunk-VIGOJWSO.mjs.map +7 -0
  203. package/dist/modules/chunks/chunk-VY3S5BWI.mjs +284 -0
  204. package/dist/modules/chunks/chunk-VY3S5BWI.mjs.map +7 -0
  205. package/dist/modules/chunks/chunk-VZXGRZYU.mjs +47 -0
  206. package/dist/modules/chunks/chunk-VZXGRZYU.mjs.map +7 -0
  207. package/dist/modules/chunks/chunk-W5DMQZB5.mjs +42 -0
  208. package/dist/modules/chunks/chunk-W5DMQZB5.mjs.map +7 -0
  209. package/dist/modules/chunks/chunk-WOMHSTVZ.mjs +918 -0
  210. package/dist/modules/chunks/chunk-WOMHSTVZ.mjs.map +7 -0
  211. package/dist/modules/chunks/chunk-XFQT7XCG.mjs +42 -0
  212. package/dist/modules/chunks/chunk-XFQT7XCG.mjs.map +7 -0
  213. package/dist/modules/chunks/chunk-XJZEVRYX.mjs +98 -0
  214. package/dist/modules/chunks/chunk-XJZEVRYX.mjs.map +7 -0
  215. package/dist/modules/chunks/chunk-XUYFV23R.mjs +317 -0
  216. package/dist/modules/chunks/chunk-XUYFV23R.mjs.map +7 -0
  217. package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs +58 -0
  218. package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs.map +7 -0
  219. package/dist/modules/chunks/chunk-YTHGRKGI.mjs +147 -0
  220. package/dist/modules/chunks/chunk-YTHGRKGI.mjs.map +7 -0
  221. package/dist/modules/chunks/chunk-YVQSDKAO.mjs +341 -0
  222. package/dist/modules/chunks/chunk-YVQSDKAO.mjs.map +7 -0
  223. package/dist/modules/chunks/chunk-YYXQDUVT.mjs +123 -0
  224. package/dist/modules/chunks/chunk-YYXQDUVT.mjs.map +7 -0
  225. package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs +142 -0
  226. package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs.map +7 -0
  227. package/dist/modules/chunks/chunk-ZLNWF4ET.mjs +9 -0
  228. package/dist/modules/chunks/chunk-ZLNWF4ET.mjs.map +7 -0
  229. package/dist/modules/chunks/chunk-ZLU5QW2O.mjs +9 -0
  230. package/dist/modules/chunks/chunk-ZLU5QW2O.mjs.map +7 -0
  231. package/dist/modules/chunks/chunk-ZNZPYE2V.mjs +28 -0
  232. package/dist/modules/chunks/chunk-ZNZPYE2V.mjs.map +7 -0
  233. package/dist/modules/chunks/core-564N45MO.mjs +7480 -0
  234. package/dist/modules/chunks/core-564N45MO.mjs.map +7 -0
  235. package/dist/modules/chunks/css-BKH4SVJG.mjs +8 -0
  236. package/dist/modules/chunks/css-BKH4SVJG.mjs.map +7 -0
  237. package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs +3241 -0
  238. package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs.map +7 -0
  239. package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs +8 -0
  240. package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs.map +7 -0
  241. package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs +8 -0
  242. package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs.map +7 -0
  243. package/dist/modules/chunks/glsl-UC3YWUD2.mjs +18 -0
  244. package/dist/modules/chunks/glsl-UC3YWUD2.mjs.map +7 -0
  245. package/dist/modules/chunks/html-FRVIUV63.mjs +19 -0
  246. package/dist/modules/chunks/html-FRVIUV63.mjs.map +7 -0
  247. package/dist/modules/chunks/javascript-LN3OC7S2.mjs +8 -0
  248. package/dist/modules/chunks/javascript-LN3OC7S2.mjs.map +7 -0
  249. package/dist/modules/chunks/json-5CUGWTOP.mjs +11 -0
  250. package/dist/modules/chunks/json-5CUGWTOP.mjs.map +7 -0
  251. package/dist/modules/chunks/json5-YZQI5VNO.mjs +11 -0
  252. package/dist/modules/chunks/json5-YZQI5VNO.mjs.map +7 -0
  253. package/dist/modules/chunks/jsonc-SWID6VOZ.mjs +11 -0
  254. package/dist/modules/chunks/jsonc-SWID6VOZ.mjs.map +7 -0
  255. package/dist/modules/chunks/jsx-A7RDCLJO.mjs +11 -0
  256. package/dist/modules/chunks/jsx-A7RDCLJO.mjs.map +7 -0
  257. package/dist/modules/chunks/markdown-QTCU5KP5.mjs +11 -0
  258. package/dist/modules/chunks/markdown-QTCU5KP5.mjs.map +7 -0
  259. package/dist/modules/chunks/python-LAZONBIB.mjs +11 -0
  260. package/dist/modules/chunks/python-LAZONBIB.mjs.map +7 -0
  261. package/dist/modules/chunks/rust-XWTPJFJO.mjs +11 -0
  262. package/dist/modules/chunks/rust-XWTPJFJO.mjs.map +7 -0
  263. package/dist/modules/chunks/scss-CFXRHUUW.mjs +15 -0
  264. package/dist/modules/chunks/scss-CFXRHUUW.mjs.map +7 -0
  265. package/dist/modules/chunks/shellscript-OHO3LCVU.mjs +11 -0
  266. package/dist/modules/chunks/shellscript-OHO3LCVU.mjs.map +7 -0
  267. package/dist/modules/chunks/toml-IOHFZJ5B.mjs +11 -0
  268. package/dist/modules/chunks/toml-IOHFZJ5B.mjs.map +7 -0
  269. package/dist/modules/chunks/tsx-2E6WNX2E.mjs +11 -0
  270. package/dist/modules/chunks/tsx-2E6WNX2E.mjs.map +7 -0
  271. package/dist/modules/chunks/typescript-PBKAS54P.mjs +11 -0
  272. package/dist/modules/chunks/typescript-PBKAS54P.mjs.map +7 -0
  273. package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs +11 -0
  274. package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs.map +7 -0
  275. package/dist/modules/chunks/xml-JECR2ACB.mjs +18 -0
  276. package/dist/modules/chunks/xml-JECR2ACB.mjs.map +7 -0
  277. package/dist/modules/chunks/yaml-P2SV4LOE.mjs +11 -0
  278. package/dist/modules/chunks/yaml-P2SV4LOE.mjs.map +7 -0
  279. package/dist/modules/cli-contributions.mjs +32 -0
  280. package/dist/modules/cli-contributions.mjs.map +7 -0
  281. package/dist/modules/cli.mjs +14 -0
  282. package/dist/modules/cli.mjs.map +7 -0
  283. package/dist/modules/command-executor.mjs +65 -0
  284. package/dist/modules/command-executor.mjs.map +7 -0
  285. package/dist/modules/commands.mjs +10 -0
  286. package/dist/modules/commands.mjs.map +7 -0
  287. package/dist/modules/embedded.mjs +18608 -0
  288. package/dist/modules/embedded.mjs.map +7 -0
  289. package/dist/modules/extension-bridge.mjs +18 -0
  290. package/dist/modules/extension-bridge.mjs.map +7 -0
  291. package/dist/modules/frontend-root.mjs +61 -0
  292. package/dist/modules/frontend-root.mjs.map +7 -0
  293. package/dist/modules/index.mjs +784 -0
  294. package/dist/modules/index.mjs.map +7 -0
  295. package/dist/modules/page.mjs +45 -0
  296. package/dist/modules/page.mjs.map +7 -0
  297. package/dist/modules/pages/scene.mjs +18 -0
  298. package/dist/modules/pages/scene.mjs.map +7 -0
  299. package/dist/modules/plugin.mjs +56 -0
  300. package/dist/modules/plugin.mjs.map +7 -0
  301. package/dist/modules/plugins/asset/frontend.mjs +23 -0
  302. package/dist/modules/plugins/asset/frontend.mjs.map +7 -0
  303. package/dist/modules/plugins/asset/i18n.mjs +15 -0
  304. package/dist/modules/plugins/asset/i18n.mjs.map +7 -0
  305. package/dist/modules/plugins/asset/identity.mjs +42 -0
  306. package/dist/modules/plugins/asset/identity.mjs.map +7 -0
  307. package/dist/modules/plugins/asset/schema.mjs +10 -0
  308. package/dist/modules/plugins/asset/schema.mjs.map +7 -0
  309. package/dist/modules/plugins/asset/ui.mjs +16 -0
  310. package/dist/modules/plugins/asset/ui.mjs.map +7 -0
  311. package/dist/modules/plugins/content-browser/frontend.mjs +17 -0
  312. package/dist/modules/plugins/content-browser/frontend.mjs.map +7 -0
  313. package/dist/modules/plugins/content-browser/i18n.mjs +15 -0
  314. package/dist/modules/plugins/content-browser/i18n.mjs.map +7 -0
  315. package/dist/modules/plugins/content-browser/identity.mjs +22 -0
  316. package/dist/modules/plugins/content-browser/identity.mjs.map +7 -0
  317. package/dist/modules/plugins/content-browser/schema.mjs +12 -0
  318. package/dist/modules/plugins/content-browser/schema.mjs.map +7 -0
  319. package/dist/modules/plugins/content-browser/ui.mjs +15 -0
  320. package/dist/modules/plugins/content-browser/ui.mjs.map +7 -0
  321. package/dist/modules/plugins/display/api.mjs +10 -0
  322. package/dist/modules/plugins/display/api.mjs.map +7 -0
  323. package/dist/modules/plugins/display/backend.mjs +16 -0
  324. package/dist/modules/plugins/display/backend.mjs.map +7 -0
  325. package/dist/modules/plugins/display/carrier-contract.mjs +38 -0
  326. package/dist/modules/plugins/display/carrier-contract.mjs.map +7 -0
  327. package/dist/modules/plugins/display/carrier.mjs +13 -0
  328. package/dist/modules/plugins/display/carrier.mjs.map +7 -0
  329. package/dist/modules/plugins/display/effects.mjs +8 -0
  330. package/dist/modules/plugins/display/effects.mjs.map +7 -0
  331. package/dist/modules/plugins/display/frontend.mjs +14 -0
  332. package/dist/modules/plugins/display/frontend.mjs.map +7 -0
  333. package/dist/modules/plugins/display/i18n.mjs +58 -0
  334. package/dist/modules/plugins/display/i18n.mjs.map +7 -0
  335. package/dist/modules/plugins/display/identity.mjs +30 -0
  336. package/dist/modules/plugins/display/identity.mjs.map +7 -0
  337. package/dist/modules/plugins/display/page-broker.mjs +12 -0
  338. package/dist/modules/plugins/display/page-broker.mjs.map +7 -0
  339. package/dist/modules/plugins/display/schema.mjs +40 -0
  340. package/dist/modules/plugins/display/schema.mjs.map +7 -0
  341. package/dist/modules/plugins/display/ui.mjs +9 -0
  342. package/dist/modules/plugins/display/ui.mjs.map +7 -0
  343. package/dist/modules/plugins/inspector/frontend.mjs +17 -0
  344. package/dist/modules/plugins/inspector/frontend.mjs.map +7 -0
  345. package/dist/modules/plugins/inspector/i18n.mjs +15 -0
  346. package/dist/modules/plugins/inspector/i18n.mjs.map +7 -0
  347. package/dist/modules/plugins/inspector/identity.mjs +22 -0
  348. package/dist/modules/plugins/inspector/identity.mjs.map +7 -0
  349. package/dist/modules/plugins/inspector/schema.mjs +12 -0
  350. package/dist/modules/plugins/inspector/schema.mjs.map +7 -0
  351. package/dist/modules/plugins/inspector/ui.mjs +16 -0
  352. package/dist/modules/plugins/inspector/ui.mjs.map +7 -0
  353. package/dist/modules/plugins/material/frontend.mjs +25 -0
  354. package/dist/modules/plugins/material/frontend.mjs.map +7 -0
  355. package/dist/modules/plugins/material/i18n.mjs +15 -0
  356. package/dist/modules/plugins/material/i18n.mjs.map +7 -0
  357. package/dist/modules/plugins/material/identity.mjs +60 -0
  358. package/dist/modules/plugins/material/identity.mjs.map +7 -0
  359. package/dist/modules/plugins/material/schema.mjs +47 -0
  360. package/dist/modules/plugins/material/schema.mjs.map +7 -0
  361. package/dist/modules/plugins/material/ui.mjs +28 -0
  362. package/dist/modules/plugins/material/ui.mjs.map +7 -0
  363. package/dist/modules/plugins/mesh/frontend.mjs +23 -0
  364. package/dist/modules/plugins/mesh/frontend.mjs.map +7 -0
  365. package/dist/modules/plugins/mesh/i18n.mjs +15 -0
  366. package/dist/modules/plugins/mesh/i18n.mjs.map +7 -0
  367. package/dist/modules/plugins/mesh/identity.mjs +54 -0
  368. package/dist/modules/plugins/mesh/identity.mjs.map +7 -0
  369. package/dist/modules/plugins/mesh/schema.mjs +10 -0
  370. package/dist/modules/plugins/mesh/schema.mjs.map +7 -0
  371. package/dist/modules/plugins/mesh/ui.mjs +26 -0
  372. package/dist/modules/plugins/mesh/ui.mjs.map +7 -0
  373. package/dist/modules/plugins/plugins/api.mjs +11 -0
  374. package/dist/modules/plugins/plugins/api.mjs.map +7 -0
  375. package/dist/modules/plugins/plugins/backend.mjs +21 -0
  376. package/dist/modules/plugins/plugins/backend.mjs.map +7 -0
  377. package/dist/modules/plugins/plugins/cli.mjs +12 -0
  378. package/dist/modules/plugins/plugins/cli.mjs.map +7 -0
  379. package/dist/modules/plugins/plugins/frontend.mjs +17 -0
  380. package/dist/modules/plugins/plugins/frontend.mjs.map +7 -0
  381. package/dist/modules/plugins/plugins/i18n.mjs +15 -0
  382. package/dist/modules/plugins/plugins/i18n.mjs.map +7 -0
  383. package/dist/modules/plugins/plugins/identity.mjs +26 -0
  384. package/dist/modules/plugins/plugins/identity.mjs.map +7 -0
  385. package/dist/modules/plugins/plugins/runtime.mjs +50 -0
  386. package/dist/modules/plugins/plugins/runtime.mjs.map +7 -0
  387. package/dist/modules/plugins/plugins/schema.mjs +12 -0
  388. package/dist/modules/plugins/plugins/schema.mjs.map +7 -0
  389. package/dist/modules/plugins/plugins/ui/panel.mjs +14 -0
  390. package/dist/modules/plugins/plugins/ui/panel.mjs.map +7 -0
  391. package/dist/modules/plugins/plugins/ui.mjs +15 -0
  392. package/dist/modules/plugins/plugins/ui.mjs.map +7 -0
  393. package/dist/modules/plugins/scene/frontend.mjs +18 -0
  394. package/dist/modules/plugins/scene/frontend.mjs.map +7 -0
  395. package/dist/modules/plugins/scene/identity.mjs +14 -0
  396. package/dist/modules/plugins/scene/identity.mjs.map +7 -0
  397. package/dist/modules/plugins/scene-tree/frontend.mjs +17 -0
  398. package/dist/modules/plugins/scene-tree/frontend.mjs.map +7 -0
  399. package/dist/modules/plugins/scene-tree/i18n.mjs +15 -0
  400. package/dist/modules/plugins/scene-tree/i18n.mjs.map +7 -0
  401. package/dist/modules/plugins/scene-tree/identity.mjs +22 -0
  402. package/dist/modules/plugins/scene-tree/identity.mjs.map +7 -0
  403. package/dist/modules/plugins/scene-tree/schema.mjs +12 -0
  404. package/dist/modules/plugins/scene-tree/schema.mjs.map +7 -0
  405. package/dist/modules/plugins/scene-tree/ui.mjs +16 -0
  406. package/dist/modules/plugins/scene-tree/ui.mjs.map +7 -0
  407. package/dist/modules/plugins/texture/frontend.mjs +23 -0
  408. package/dist/modules/plugins/texture/frontend.mjs.map +7 -0
  409. package/dist/modules/plugins/texture/i18n.mjs +15 -0
  410. package/dist/modules/plugins/texture/i18n.mjs.map +7 -0
  411. package/dist/modules/plugins/texture/identity.mjs +54 -0
  412. package/dist/modules/plugins/texture/identity.mjs.map +7 -0
  413. package/dist/modules/plugins/texture/schema.mjs +10 -0
  414. package/dist/modules/plugins/texture/schema.mjs.map +7 -0
  415. package/dist/modules/plugins/texture/ui.mjs +26 -0
  416. package/dist/modules/plugins/texture/ui.mjs.map +7 -0
  417. package/dist/modules/plugins/viewport/frontend.mjs +27 -0
  418. package/dist/modules/plugins/viewport/frontend.mjs.map +7 -0
  419. package/dist/modules/plugins/viewport/identity.mjs +28 -0
  420. package/dist/modules/plugins/viewport/identity.mjs.map +7 -0
  421. package/dist/modules/plugins/viewport/presentation-identity.mjs +10 -0
  422. package/dist/modules/plugins/viewport/presentation-identity.mjs.map +7 -0
  423. package/dist/modules/plugins/viewport/presentation.mjs +18 -0
  424. package/dist/modules/plugins/viewport/presentation.mjs.map +7 -0
  425. package/dist/modules/plugins/viewport/schema.mjs +18 -0
  426. package/dist/modules/plugins/viewport/schema.mjs.map +7 -0
  427. package/dist/modules/plugins/viewport/workspace-shell.mjs +29 -0
  428. package/dist/modules/plugins/viewport/workspace-shell.mjs.map +7 -0
  429. package/dist/modules/shell/contract.mjs +10 -0
  430. package/dist/modules/shell/contract.mjs.map +7 -0
  431. package/dist/modules/shell/frontend.mjs +14 -0
  432. package/dist/modules/shell/frontend.mjs.map +7 -0
  433. package/dist/modules/shell/layout-zones.mjs +20 -0
  434. package/dist/modules/shell/layout-zones.mjs.map +7 -0
  435. package/dist/modules/start-cli.mjs +57 -0
  436. package/dist/modules/start-cli.mjs.map +7 -0
  437. package/dist/modules/start.mjs +18 -0
  438. package/dist/modules/start.mjs.map +7 -0
  439. package/dist/modules/viewer/catalog/backend.mjs +47 -0
  440. package/dist/modules/viewer/catalog/backend.mjs.map +7 -0
  441. package/dist/modules/viewer/catalog/frontend.mjs +55 -0
  442. package/dist/modules/viewer/catalog/frontend.mjs.map +7 -0
  443. package/dist/modules/viewer/catalog/shared.mjs +43 -0
  444. package/dist/modules/viewer/catalog/shared.mjs.map +7 -0
  445. package/dist/modules/viewer/catalog.mjs +85 -0
  446. package/dist/modules/viewer/catalog.mjs.map +7 -0
  447. package/dist/modules/viewer/cli.mjs +23 -0
  448. package/dist/modules/viewer/cli.mjs.map +7 -0
  449. package/dist/modules/viewer-host/frontend.mjs +65 -0
  450. package/dist/modules/viewer-host/frontend.mjs.map +7 -0
  451. package/dist/modules/viewer-host/page-registry.mjs +27 -0
  452. package/dist/modules/viewer-host/page-registry.mjs.map +7 -0
  453. package/dist/modules/viewer-host/slot-registry.mjs +8 -0
  454. package/dist/modules/viewer-host/slot-registry.mjs.map +7 -0
  455. package/dist/modules/viewer-host.mjs +43 -0
  456. package/dist/modules/viewer-host.mjs.map +7 -0
  457. package/dist/modules/viewer.mjs +85 -0
  458. package/dist/modules/viewer.mjs.map +7 -0
  459. package/dist/modules/workspace/adopt-surface.mjs +16 -0
  460. package/dist/modules/workspace/adopt-surface.mjs.map +7 -0
  461. package/dist/modules/workspace/api.mjs +8 -0
  462. package/dist/modules/workspace/api.mjs.map +7 -0
  463. package/dist/modules/workspace/backend.mjs +23 -0
  464. package/dist/modules/workspace/backend.mjs.map +7 -0
  465. package/dist/modules/workspace/broker.mjs +16 -0
  466. package/dist/modules/workspace/broker.mjs.map +7 -0
  467. package/dist/modules/workspace/cli.mjs +9 -0
  468. package/dist/modules/workspace/cli.mjs.map +7 -0
  469. package/dist/modules/workspace/client.mjs +15 -0
  470. package/dist/modules/workspace/client.mjs.map +7 -0
  471. package/dist/modules/workspace/command-error.mjs +16 -0
  472. package/dist/modules/workspace/command-error.mjs.map +7 -0
  473. package/dist/modules/workspace/contract.mjs +71 -0
  474. package/dist/modules/workspace/contract.mjs.map +7 -0
  475. package/dist/modules/workspace/demo-client.mjs +127 -0
  476. package/dist/modules/workspace/demo-client.mjs.map +7 -0
  477. package/dist/modules/workspace/engine-adapter.mjs +16 -0
  478. package/dist/modules/workspace/engine-adapter.mjs.map +7 -0
  479. package/dist/modules/workspace/engine-presentation.mjs +10 -0
  480. package/dist/modules/workspace/engine-presentation.mjs.map +7 -0
  481. package/dist/modules/workspace/extension-bridge.mjs +18 -0
  482. package/dist/modules/workspace/extension-bridge.mjs.map +7 -0
  483. package/dist/modules/workspace/frontend-plugin.mjs +18 -0
  484. package/dist/modules/workspace/frontend-plugin.mjs.map +7 -0
  485. package/dist/modules/workspace/frontend.mjs +29 -0
  486. package/dist/modules/workspace/frontend.mjs.map +7 -0
  487. package/dist/modules/workspace/id.mjs +8 -0
  488. package/dist/modules/workspace/id.mjs.map +7 -0
  489. package/dist/modules/workspace/inspection-presentation.mjs +12 -0
  490. package/dist/modules/workspace/inspection-presentation.mjs.map +7 -0
  491. package/dist/modules/workspace/locale-bridge.mjs +14 -0
  492. package/dist/modules/workspace/locale-bridge.mjs.map +7 -0
  493. package/dist/modules/workspace/page-title.mjs +13 -0
  494. package/dist/modules/workspace/page-title.mjs.map +7 -0
  495. package/dist/modules/workspace/presentation.mjs +18 -0
  496. package/dist/modules/workspace/presentation.mjs.map +7 -0
  497. package/dist/modules/workspace/preview-surface.mjs +17 -0
  498. package/dist/modules/workspace/preview-surface.mjs.map +7 -0
  499. package/dist/modules/workspace/project-session.mjs +18 -0
  500. package/dist/modules/workspace/project-session.mjs.map +7 -0
  501. package/dist/modules/workspace/render-resize-sync.mjs +12 -0
  502. package/dist/modules/workspace/render-resize-sync.mjs.map +7 -0
  503. package/dist/modules/workspace/resident.mjs +16 -0
  504. package/dist/modules/workspace/resident.mjs.map +7 -0
  505. package/dist/modules/workspace/resource-open.mjs +34 -0
  506. package/dist/modules/workspace/resource-open.mjs.map +7 -0
  507. package/dist/modules/workspace/resource-page.mjs +27 -0
  508. package/dist/modules/workspace/resource-page.mjs.map +7 -0
  509. package/dist/modules/workspace/tool-runtime.mjs +14 -0
  510. package/dist/modules/workspace/tool-runtime.mjs.map +7 -0
  511. package/dist/modules/workspace/view-trace.mjs +60 -0
  512. package/dist/modules/workspace/view-trace.mjs.map +7 -0
  513. package/dist/modules/workspace/workspace-client-connection.mjs +22 -0
  514. package/dist/modules/workspace/workspace-client-connection.mjs.map +7 -0
  515. package/dist/modules/workspace/workspace-recovery.mjs +35 -0
  516. package/dist/modules/workspace/workspace-recovery.mjs.map +7 -0
  517. package/dist/modules/workspace/workspace-state.mjs +12 -0
  518. package/dist/modules/workspace/workspace-state.mjs.map +7 -0
  519. package/dist/modules/workspace-frontend.mjs +17 -0
  520. package/dist/modules/workspace-frontend.mjs.map +7 -0
  521. package/dist/viewer/assets/chunk-CilyBKbf.js +1 -0
  522. package/dist/viewer/assets/core-DSQma37-.js +13 -0
  523. package/dist/viewer/assets/core-DSQma37-.js.map +1 -0
  524. package/dist/viewer/assets/css-Bq1BXecw.js +2 -0
  525. package/dist/viewer/assets/css-Bq1BXecw.js.map +1 -0
  526. package/dist/viewer/assets/css-CWQWazmX.js +1 -0
  527. package/dist/viewer/assets/embedded-D4ZDx--W.js +2 -0
  528. package/dist/viewer/assets/embedded-D4ZDx--W.js.map +1 -0
  529. package/dist/viewer/assets/engine-javascript-BvokIV9O.js +142 -0
  530. package/dist/viewer/assets/engine-javascript-BvokIV9O.js.map +1 -0
  531. package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js +2 -0
  532. package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js.map +1 -0
  533. package/dist/viewer/assets/github-light-default-BqhWxAZd.js +2 -0
  534. package/dist/viewer/assets/github-light-default-BqhWxAZd.js.map +1 -0
  535. package/dist/viewer/assets/glsl-BJgVnv11.js +2 -0
  536. package/dist/viewer/assets/glsl-BJgVnv11.js.map +1 -0
  537. package/dist/viewer/assets/html-AaaHGGyt.js +2 -0
  538. package/dist/viewer/assets/html-AaaHGGyt.js.map +1 -0
  539. package/dist/viewer/assets/javascript-BX9W64FE.js +1 -0
  540. package/dist/viewer/assets/javascript-DQODvD07.js +2 -0
  541. package/dist/viewer/assets/javascript-DQODvD07.js.map +1 -0
  542. package/dist/viewer/assets/json-CpcIDpT7.js +2 -0
  543. package/dist/viewer/assets/json-CpcIDpT7.js.map +1 -0
  544. package/dist/viewer/assets/json5-Czq4A7dk.js +2 -0
  545. package/dist/viewer/assets/json5-Czq4A7dk.js.map +1 -0
  546. package/dist/viewer/assets/jsonc-BXDfCMmu.js +2 -0
  547. package/dist/viewer/assets/jsonc-BXDfCMmu.js.map +1 -0
  548. package/dist/viewer/assets/jsx-DAWscEnf.js +2 -0
  549. package/dist/viewer/assets/jsx-DAWscEnf.js.map +1 -0
  550. package/dist/viewer/assets/main-C-2CHTN_.js +15 -0
  551. package/dist/viewer/assets/main-C-2CHTN_.js.map +1 -0
  552. package/dist/viewer/assets/markdown-Cx1FMNw-.js +2 -0
  553. package/dist/viewer/assets/markdown-Cx1FMNw-.js.map +1 -0
  554. package/dist/viewer/assets/panels-entry-Ddhfjgf0.js +46 -0
  555. package/dist/viewer/assets/panels-entry-Ddhfjgf0.js.map +1 -0
  556. package/dist/viewer/assets/python-CYPKjWV9.js +2 -0
  557. package/dist/viewer/assets/python-CYPKjWV9.js.map +1 -0
  558. package/dist/viewer/assets/rust-0e5cNx_V.js +2 -0
  559. package/dist/viewer/assets/rust-0e5cNx_V.js.map +1 -0
  560. package/dist/viewer/assets/scss-B-aKzLbT.js +2 -0
  561. package/dist/viewer/assets/scss-B-aKzLbT.js.map +1 -0
  562. package/dist/viewer/assets/shellscript-CpXD-pSm.js +2 -0
  563. package/dist/viewer/assets/shellscript-CpXD-pSm.js.map +1 -0
  564. package/dist/viewer/assets/style-ClttNKZk.css +2 -0
  565. package/dist/viewer/assets/styles-BXozhwiU.js +11 -0
  566. package/dist/viewer/assets/styles-BXozhwiU.js.map +1 -0
  567. package/dist/viewer/assets/toml-GmchYTXa.js +2 -0
  568. package/dist/viewer/assets/toml-GmchYTXa.js.map +1 -0
  569. package/dist/viewer/assets/tsx-Crj1Bi53.js +2 -0
  570. package/dist/viewer/assets/tsx-Crj1Bi53.js.map +1 -0
  571. package/dist/viewer/assets/typescript-xi0cSHCO.js +2 -0
  572. package/dist/viewer/assets/typescript-xi0cSHCO.js.map +1 -0
  573. package/dist/viewer/assets/wgsl-BoEPRo9U.js +2 -0
  574. package/dist/viewer/assets/wgsl-BoEPRo9U.js.map +1 -0
  575. package/dist/viewer/assets/xml-B8JqQrMD.js +2 -0
  576. package/dist/viewer/assets/xml-B8JqQrMD.js.map +1 -0
  577. package/dist/viewer/assets/yaml-DsIB85X9.js +2 -0
  578. package/dist/viewer/assets/yaml-DsIB85X9.js.map +1 -0
  579. package/dist/viewer/index.html +15 -0
  580. package/dist/viewer/panels.js +1 -0
  581. package/host.pack.json +13 -0
  582. package/package.json +174 -0
  583. package/skills/forgeax-view-cli/SKILL.md +74 -0
  584. package/skills/forgeax-view-start/SKILL.md +202 -0
  585. package/skills/forgeax-view-start/scripts/start-view.mjs +202 -0
@@ -0,0 +1,284 @@
1
+ import {
2
+ reportWorkspaceCommandError
3
+ } from "./chunk-ASI2HBE6.mjs";
4
+ import {
5
+ VIEW_WORKSPACE_SERVICES,
6
+ VIEW_WORKSPACE_STATE_TOPIC,
7
+ ViewWorkspaceError,
8
+ createWorkspaceRequest,
9
+ requireWorkspaceString
10
+ } from "./chunk-32GD5LL6.mjs";
11
+
12
+ // packages/view-workspace-core/src/client.mjs
13
+ var VIEW_INSPECTOR_TOPIC = "forgeax.view.inspector.changed";
14
+ function workspaceBrowserEndpoint(endpoint, token, baseHref, role, frontendTicket) {
15
+ requireWorkspaceString(endpoint, "endpoint");
16
+ requireWorkspaceString(token, "token");
17
+ const url = new URL(endpoint, baseHref);
18
+ if (url.protocol !== "ws:" && url.protocol !== "wss:") throw new TypeError("View frontend endpoint must use ws: or wss:");
19
+ url.searchParams.set("token", token);
20
+ if (role !== void 0) url.searchParams.set("role", role);
21
+ if (role === "frontend" && frontendTicket !== void 0) url.searchParams.set("frontendTicket", frontendTicket);
22
+ return url.toString();
23
+ }
24
+ function decodeWorkspaceTransportError(error) {
25
+ if (error instanceof ViewWorkspaceError) return error;
26
+ const transportCode = error?.code;
27
+ const remoteCode = typeof error?.detail?.remoteCode === "string" ? error.detail.remoteCode : void 0;
28
+ const code = [transportCode, remoteCode].find(
29
+ (candidate) => typeof candidate === "string" && candidate.startsWith("view-")
30
+ );
31
+ if (code === void 0) return error;
32
+ const message = typeof error?.message === "string" && error.message.trim() !== "" ? error.message : String(error);
33
+ return new ViewWorkspaceError(
34
+ code,
35
+ typeof error?.expected === "string" ? error.expected : message,
36
+ typeof error?.hint === "string" ? error.hint : message,
37
+ {
38
+ ...error?.detail && typeof error.detail === "object" ? error.detail : {},
39
+ transportCode,
40
+ ...remoteCode === void 0 ? {} : { remoteCode },
41
+ ...typeof error?.name === "string" ? { name: error.name } : {}
42
+ }
43
+ );
44
+ }
45
+ var ViewWorkspaceClient = class {
46
+ constructor({ transport, clientId, token } = {}) {
47
+ if (!transport || typeof transport.request !== "function") {
48
+ throw new TypeError("View workspace client requires an Engine Host transport");
49
+ }
50
+ this.transport = transport;
51
+ this.clientId = requireWorkspaceString(clientId, "clientId");
52
+ this.token = token === void 0 ? void 0 : requireWorkspaceString(token, "token");
53
+ }
54
+ call(operation, args = {}, { signal, generation, requestId } = {}) {
55
+ const request = createWorkspaceRequest(operation, args, {
56
+ clientId: this.clientId,
57
+ token: this.token,
58
+ requestId
59
+ });
60
+ return Promise.resolve().then(() => this.transport.request(VIEW_WORKSPACE_SERVICES.call, request, { signal, generation })).catch((error) => {
61
+ const decoded = decodeWorkspaceTransportError(error);
62
+ reportWorkspaceCommandError(decoded, { operation, signal });
63
+ throw decoded;
64
+ });
65
+ }
66
+ sources(options = {}) {
67
+ return this.call("plugins.sources", {}, options);
68
+ }
69
+ inspectPlugins(options = {}) {
70
+ const { signal, requestId, ...args } = options;
71
+ return this.call("plugins.inspect", args, { signal, requestId });
72
+ }
73
+ watchPlugins(options = {}) {
74
+ const { signal, requestId, ...args } = options;
75
+ return this.call("plugins.watch", args, { signal, requestId });
76
+ }
77
+ capabilities(options = {}) {
78
+ return this.transport.request(VIEW_WORKSPACE_SERVICES.capabilities, void 0, options);
79
+ }
80
+ getState(options = {}) {
81
+ return this.call("tabs.get", {}, options);
82
+ }
83
+ selectTab(tabId, options = {}) {
84
+ return this.call("tabs.select", { tabId }, options);
85
+ }
86
+ selectSceneEntity(entityId, { label, tabId, targetId, targetGeneration, ...options } = {}) {
87
+ return this.call(
88
+ "scene.select",
89
+ {
90
+ entityId,
91
+ targetId,
92
+ targetGeneration,
93
+ ...tabId === void 0 ? {} : { tabId },
94
+ ...label === void 0 ? {} : { label }
95
+ },
96
+ options
97
+ );
98
+ }
99
+ clearSceneSelection({ tabId, targetId, targetGeneration, ...options } = {}) {
100
+ return this.call("scene.clear", { targetId, targetGeneration, ...tabId === void 0 ? {} : { tabId } }, options);
101
+ }
102
+ openProject(root, { tabId, expectedTargetId, ...options } = {}) {
103
+ return this.call("project.open", { root, tabId, ...expectedTargetId === void 0 ? {} : { expectedTargetId } }, options);
104
+ }
105
+ reopenProject({ root, tabId, expectedTargetId, expectedTargetState, ...options } = {}) {
106
+ return this.call(
107
+ "project.reopen",
108
+ {
109
+ ...root === void 0 ? {} : { root },
110
+ ...tabId === void 0 ? {} : { tabId },
111
+ ...expectedTargetId === void 0 ? {} : { expectedTargetId },
112
+ ...expectedTargetState === void 0 ? {} : { expectedTargetState }
113
+ },
114
+ options
115
+ );
116
+ }
117
+ closeProject(projectId, { tabId, ...options } = {}) {
118
+ return this.call("project.close", { projectId, tabId }, options);
119
+ }
120
+ listAssets(projectId, { tabId, ...options } = {}) {
121
+ return this.call("assets.list", { projectId, tabId }, options);
122
+ }
123
+ inspectAsset(guid, { projectId, tabId, ...options } = {}) {
124
+ return this.call("asset.inspect", { guid, tabId, ...projectId === void 0 ? {} : { projectId } }, options);
125
+ }
126
+ rebuildAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {
127
+ return this.call(
128
+ "asset-source.rebuild",
129
+ {
130
+ guid,
131
+ tabId,
132
+ ...projectId === void 0 ? {} : { projectId },
133
+ ...expectedRevision === void 0 ? {} : { expectedRevision },
134
+ ...requestId === void 0 ? {} : { requestId }
135
+ },
136
+ options
137
+ );
138
+ }
139
+ coldCookAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {
140
+ return this.call(
141
+ "asset-source.cold-cook",
142
+ {
143
+ guid,
144
+ tabId,
145
+ ...projectId === void 0 ? {} : { projectId },
146
+ ...expectedRevision === void 0 ? {} : { expectedRevision },
147
+ ...requestId === void 0 ? {} : { requestId }
148
+ },
149
+ options
150
+ );
151
+ }
152
+ openAsset(guid, { projectId, width, height, tabId, ...options } = {}) {
153
+ return this.call(
154
+ "asset.open",
155
+ {
156
+ guid,
157
+ tabId,
158
+ ...projectId === void 0 ? {} : { projectId },
159
+ ...width === void 0 ? {} : { width },
160
+ ...height === void 0 ? {} : { height }
161
+ },
162
+ options
163
+ );
164
+ }
165
+ closePreview({ targetId, targetGeneration, tabId, ...options } = {}) {
166
+ return this.call(
167
+ "preview.close",
168
+ { tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId } },
169
+ options
170
+ );
171
+ }
172
+ capture(options = {}) {
173
+ const { signal, generation, requestId, targetId, targetGeneration, tabId, ...args } = options;
174
+ return this.call(
175
+ "preview.capture",
176
+ { tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId }, ...args },
177
+ { signal, generation, requestId }
178
+ );
179
+ }
180
+ resizePreview({ targetId, targetGeneration, width, height, tabId, ...options } = {}) {
181
+ return this.call(
182
+ "preview.resize",
183
+ {
184
+ tabId,
185
+ targetGeneration,
186
+ ...targetId === void 0 ? {} : { targetId },
187
+ width,
188
+ height
189
+ },
190
+ options
191
+ );
192
+ }
193
+ getCamera({ targetId, targetGeneration, tabId, ...options } = {}) {
194
+ return this.call("camera.get", { tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId } }, options);
195
+ }
196
+ beginCamera({ targetId, targetGeneration, baseVersion, interactionId, tabId, ...options } = {}) {
197
+ return this.call(
198
+ "camera.begin",
199
+ {
200
+ tabId,
201
+ targetGeneration,
202
+ ...targetId === void 0 ? {} : { targetId },
203
+ baseVersion,
204
+ ...interactionId === void 0 ? {} : { interactionId }
205
+ },
206
+ options
207
+ );
208
+ }
209
+ updateCamera({ targetId, targetGeneration, interactionId, camera, input, tabId, ...options } = {}) {
210
+ return this.call(
211
+ "camera.update",
212
+ {
213
+ tabId,
214
+ targetGeneration,
215
+ targetId,
216
+ interactionId,
217
+ ...camera === void 0 ? {} : { camera },
218
+ ...input === void 0 ? {} : { input }
219
+ },
220
+ options
221
+ );
222
+ }
223
+ commitCamera({ targetId, targetGeneration, interactionId, operationId, expectedVersion, camera, tabId, ...options } = {}) {
224
+ return this.call(
225
+ "camera.commit",
226
+ { tabId, targetId, targetGeneration, interactionId, operationId, expectedVersion, camera },
227
+ options
228
+ );
229
+ }
230
+ abortCamera({ targetId, targetGeneration, interactionId, reason, tabId, ...options } = {}) {
231
+ return this.call(
232
+ "camera.abort",
233
+ {
234
+ tabId,
235
+ targetGeneration,
236
+ targetId,
237
+ interactionId,
238
+ ...reason === void 0 ? {} : { reason }
239
+ },
240
+ options
241
+ );
242
+ }
243
+ getSceneTree({ projectId, targetId, targetGeneration, tabId, offset, limit, revision, ...options } = {}) {
244
+ return this.call(
245
+ "scene-tree.get",
246
+ {
247
+ tabId,
248
+ ...projectId === void 0 ? {} : { projectId },
249
+ ...targetId === void 0 ? {} : { targetId },
250
+ ...targetGeneration === void 0 ? {} : { targetGeneration },
251
+ ...offset === void 0 ? {} : { offset },
252
+ ...limit === void 0 ? {} : { limit },
253
+ ...revision === void 0 ? {} : { revision }
254
+ },
255
+ options
256
+ );
257
+ }
258
+ subscribe(listener) {
259
+ if (typeof this.transport.subscribe !== "function") return () => {
260
+ };
261
+ return this.transport.subscribe(VIEW_WORKSPACE_STATE_TOPIC, listener);
262
+ }
263
+ subscribeInspector(listener) {
264
+ return this.transport.subscribe?.(VIEW_INSPECTOR_TOPIC, listener) ?? (() => {
265
+ });
266
+ }
267
+ onDisconnect(listener) {
268
+ return this.transport.onDisconnect?.(listener) ?? (() => {
269
+ });
270
+ }
271
+ close(reason) {
272
+ this.transport.close?.(reason);
273
+ }
274
+ };
275
+ function createViewWorkspaceClient(options) {
276
+ return new ViewWorkspaceClient(options);
277
+ }
278
+
279
+ export {
280
+ workspaceBrowserEndpoint,
281
+ ViewWorkspaceClient,
282
+ createViewWorkspaceClient
283
+ };
284
+ //# sourceMappingURL=chunk-VY3S5BWI.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../packages/view-workspace-core/src/client.mjs"],
4
+ "sourcesContent": ["import {\n VIEW_WORKSPACE_SERVICES,\n VIEW_WORKSPACE_STATE_TOPIC,\n ViewWorkspaceError,\n createWorkspaceRequest,\n requireWorkspaceString,\n} from './contract.mjs';\nimport { reportWorkspaceCommandError } from './command-error.mjs';\nconst VIEW_INSPECTOR_TOPIC = 'forgeax.view.inspector.changed';\n\nexport function workspaceBrowserEndpoint(endpoint, token, baseHref, role, frontendTicket) {\n requireWorkspaceString(endpoint, 'endpoint');\n requireWorkspaceString(token, 'token');\n const url = new URL(endpoint, baseHref);\n if (url.protocol !== 'ws:' && url.protocol !== 'wss:') throw new TypeError('View frontend endpoint must use ws: or wss:');\n url.searchParams.set('token', token);\n if (role !== undefined) url.searchParams.set('role', role);\n if (role === 'frontend' && frontendTicket !== undefined) url.searchParams.set('frontendTicket', frontendTicket);\n return url.toString();\n}\n\nfunction decodeWorkspaceTransportError(error) {\n if (error instanceof ViewWorkspaceError) return error;\n const transportCode = error?.code;\n const remoteCode =\n typeof error?.detail?.remoteCode === 'string'\n ? error.detail.remoteCode\n : undefined;\n const code = [transportCode, remoteCode].find(\n (candidate) => typeof candidate === 'string' && candidate.startsWith('view-'),\n );\n if (code === undefined) return error;\n const message = typeof error?.message === 'string' && error.message.trim() !== ''\n ? error.message\n : String(error);\n return new ViewWorkspaceError(\n code,\n typeof error?.expected === 'string' ? error.expected : message,\n typeof error?.hint === 'string' ? error.hint : message,\n {\n ...(error?.detail && typeof error.detail === 'object' ? error.detail : {}),\n transportCode,\n ...(remoteCode === undefined ? {} : { remoteCode }),\n ...(typeof error?.name === 'string' ? { name: error.name } : {}),\n },\n );\n}\n\n/**\n * Typed client used by both the View frontend and an independent CLI process.\n * It has no local domain state: every operation goes through the Engine Host\n * workspace service and every returned value is the backend authority's value.\n */\nexport class ViewWorkspaceClient {\n constructor({ transport, clientId, token } = {}) {\n if (!transport || typeof transport.request !== 'function') {\n throw new TypeError('View workspace client requires an Engine Host transport');\n }\n this.transport = transport;\n this.clientId = requireWorkspaceString(clientId, 'clientId');\n this.token = token === undefined ? undefined : requireWorkspaceString(token, 'token');\n }\n\n call(operation, args = {}, { signal, generation, requestId } = {}) {\n const request = createWorkspaceRequest(operation, args, {\n clientId: this.clientId,\n token: this.token,\n requestId,\n });\n return Promise.resolve()\n .then(() => this.transport.request(VIEW_WORKSPACE_SERVICES.call, request, { signal, generation }))\n .catch((error) => {\n const decoded = decodeWorkspaceTransportError(error);\n reportWorkspaceCommandError(decoded, { operation, signal });\n throw decoded;\n });\n }\n\n sources(options = {}) {\n return this.call('plugins.sources', {}, options);\n }\n\n inspectPlugins(options = {}) {\n // generation identifies the inspected source, not the workspace transport service.\n const { signal, requestId, ...args } = options;\n return this.call('plugins.inspect', args, { signal, requestId });\n }\n\n watchPlugins(options = {}) {\n const { signal, requestId, ...args } = options;\n return this.call('plugins.watch', args, { signal, requestId });\n }\n\n capabilities(options = {}) {\n return this.transport.request(VIEW_WORKSPACE_SERVICES.capabilities, undefined, options);\n }\n\n getState(options = {}) {\n return this.call('tabs.get', {}, options);\n }\n\n selectTab(tabId, options = {}) {\n return this.call('tabs.select', { tabId }, options);\n }\n\n selectSceneEntity(entityId, { label, tabId, targetId, targetGeneration, ...options } = {}) {\n return this.call(\n 'scene.select',\n {\n entityId, targetId, targetGeneration,\n ...(tabId === undefined ? {} : { tabId }),\n ...(label === undefined ? {} : { label }),\n },\n options,\n );\n }\n\n clearSceneSelection({ tabId, targetId, targetGeneration, ...options } = {}) {\n return this.call('scene.clear', { targetId, targetGeneration, ...(tabId === undefined ? {} : { tabId }) }, options);\n }\n\n openProject(root, { tabId, expectedTargetId, ...options } = {}) {\n return this.call('project.open', { root, tabId, ...(expectedTargetId === undefined ? {} : { expectedTargetId }) }, options);\n }\n\n reopenProject({ root, tabId, expectedTargetId, expectedTargetState, ...options } = {}) {\n return this.call(\n 'project.reopen',\n {\n ...(root === undefined ? {} : { root }),\n ...(tabId === undefined ? {} : { tabId }),\n ...(expectedTargetId === undefined ? {} : { expectedTargetId }),\n ...(expectedTargetState === undefined ? {} : { expectedTargetState }),\n },\n options,\n );\n }\n\n closeProject(projectId, { tabId, ...options } = {}) {\n return this.call('project.close', { projectId, tabId }, options);\n }\n\n listAssets(projectId, { tabId, ...options } = {}) {\n return this.call('assets.list', { projectId, tabId }, options);\n }\n\n inspectAsset(guid, { projectId, tabId, ...options } = {}) {\n return this.call('asset.inspect', { guid, tabId, ...(projectId === undefined ? {} : { projectId }) }, options);\n }\n\n rebuildAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {\n return this.call(\n 'asset-source.rebuild',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(expectedRevision === undefined ? {} : { expectedRevision }),\n ...(requestId === undefined ? {} : { requestId }),\n },\n options,\n );\n }\n\n coldCookAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {\n return this.call(\n 'asset-source.cold-cook',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(expectedRevision === undefined ? {} : { expectedRevision }),\n ...(requestId === undefined ? {} : { requestId }),\n },\n options,\n );\n }\n\n openAsset(guid, { projectId, width, height, tabId, ...options } = {}) {\n return this.call(\n 'asset.open',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(width === undefined ? {} : { width }),\n ...(height === undefined ? {} : { height }),\n },\n options,\n );\n }\n\n closePreview({ targetId, targetGeneration, tabId, ...options } = {}) {\n return this.call(\n 'preview.close',\n { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }) },\n options,\n );\n }\n\n capture(options = {}) {\n const { signal, generation, requestId, targetId, targetGeneration, tabId, ...args } = options;\n return this.call(\n 'preview.capture',\n { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }), ...args },\n { signal, generation, requestId },\n );\n }\n\n resizePreview({ targetId, targetGeneration, width, height, tabId, ...options } = {}) {\n return this.call(\n 'preview.resize',\n {\n tabId,\n targetGeneration,\n ...(targetId === undefined ? {} : { targetId }),\n width,\n height,\n },\n options,\n );\n }\n\n getCamera({ targetId, targetGeneration, tabId, ...options } = {}) {\n return this.call('camera.get', { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }) }, options);\n }\n\n beginCamera({ targetId, targetGeneration, baseVersion, interactionId, tabId, ...options } = {}) {\n return this.call(\n 'camera.begin',\n {\n tabId,\n targetGeneration,\n ...(targetId === undefined ? {} : { targetId }),\n baseVersion,\n ...(interactionId === undefined ? {} : { interactionId }),\n },\n options,\n );\n }\n\n updateCamera({ targetId, targetGeneration, interactionId, camera, input, tabId, ...options } = {}) {\n return this.call(\n 'camera.update',\n {\n tabId,\n targetGeneration,\n targetId,\n interactionId,\n ...(camera === undefined ? {} : { camera }),\n ...(input === undefined ? {} : { input }),\n },\n options,\n );\n }\n\n commitCamera({ targetId, targetGeneration, interactionId, operationId, expectedVersion, camera, tabId, ...options } = {}) {\n return this.call(\n 'camera.commit',\n { tabId, targetId, targetGeneration, interactionId, operationId, expectedVersion, camera },\n options,\n );\n }\n\n abortCamera({ targetId, targetGeneration, interactionId, reason, tabId, ...options } = {}) {\n return this.call(\n 'camera.abort',\n {\n tabId,\n targetGeneration,\n targetId,\n interactionId,\n ...(reason === undefined ? {} : { reason }),\n },\n options,\n );\n }\n\n getSceneTree({ projectId, targetId, targetGeneration, tabId, offset, limit, revision, ...options } = {}) {\n return this.call(\n 'scene-tree.get',\n {\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(targetId === undefined ? {} : { targetId }),\n ...(targetGeneration === undefined ? {} : { targetGeneration }),\n ...(offset === undefined ? {} : { offset }),\n ...(limit === undefined ? {} : { limit }),\n ...(revision === undefined ? {} : { revision }),\n },\n options,\n );\n }\n\n subscribe(listener) {\n if (typeof this.transport.subscribe !== 'function') return () => {};\n return this.transport.subscribe(VIEW_WORKSPACE_STATE_TOPIC, listener);\n }\n\n subscribeInspector(listener) {\n return this.transport.subscribe?.(VIEW_INSPECTOR_TOPIC, listener) ?? (() => {});\n }\n\n onDisconnect(listener) {\n return this.transport.onDisconnect?.(listener) ?? (() => {});\n }\n\n close(reason) {\n this.transport.close?.(reason);\n }\n}\n\nexport function createViewWorkspaceClient(options) {\n return new ViewWorkspaceClient(options);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;AAQA,IAAM,uBAAuB;AAEtB,SAAS,yBAAyB,UAAU,OAAO,UAAU,MAAM,gBAAgB;AACxF,yBAAuB,UAAU,UAAU;AAC3C,yBAAuB,OAAO,OAAO;AACrC,QAAM,MAAM,IAAI,IAAI,UAAU,QAAQ;AACtC,MAAI,IAAI,aAAa,SAAS,IAAI,aAAa,OAAQ,OAAM,IAAI,UAAU,6CAA6C;AACxH,MAAI,aAAa,IAAI,SAAS,KAAK;AACnC,MAAI,SAAS,OAAW,KAAI,aAAa,IAAI,QAAQ,IAAI;AACzD,MAAI,SAAS,cAAc,mBAAmB,OAAW,KAAI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AAC,IAAI,EAAE,SAAS;AAAA,QAC7C,GAAI,qBAAqB,SAAY,CAAC,IAAI,EAAE,iBAAiB;AAAA,QAC7D,GAAI,WAAW,SAAY,CAAC,IAAI,EAAE,OAAO;AAAA,QACzC,GAAI,UAAU,SAAY,CAAC,IAAI,EAAE,MAAM;AAAA,QACvC,GAAI,aAAa,SAAY,CAAC,IAAI,EAAE,SAAS;AAAA,MAC/C;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAAA,EAEA,UAAU,UAAU;AAClB,QAAI,OAAO,KAAK,UAAU,cAAc,WAAY,QAAO,MAAM;AAAA,IAAC;AAClE,WAAO,KAAK,UAAU,UAAU,4BAA4B,QAAQ;AAAA,EACtE;AAAA,EAEA,mBAAmB,UAAU;AAC3B,WAAO,KAAK,UAAU,YAAY,sBAAsB,QAAQ,MAAM,MAAM;AAAA,IAAC;AAAA,EAC/E;AAAA,EAEA,aAAa,UAAU;AACrB,WAAO,KAAK,UAAU,eAAe,QAAQ,MAAM,MAAM;AAAA,IAAC;AAAA,EAC5D;AAAA,EAEA,MAAM,QAAQ;AACZ,SAAK,UAAU,QAAQ,MAAM;AAAA,EAC/B;AACF;AAEO,SAAS,0BAA0B,SAAS;AACjD,SAAO,IAAI,oBAAoB,OAAO;AACxC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,47 @@
1
+ import {
2
+ VIEW_PAGE_TYPES
3
+ } from "./chunk-32GD5LL6.mjs";
4
+ import {
5
+ __export
6
+ } from "./chunk-FLGC65SR.mjs";
7
+
8
+ // packages/view-plugin-plugins/src/identity.mjs
9
+ var identity_exports = {};
10
+ __export(identity_exports, {
11
+ BACKEND_MODULE: () => BACKEND_MODULE,
12
+ BACKEND_PLUGIN_ID: () => BACKEND_PLUGIN_ID,
13
+ FRONTEND_MODULE: () => FRONTEND_MODULE,
14
+ FRONTEND_PLUGIN_ID: () => FRONTEND_PLUGIN_ID,
15
+ PAGE_TYPE: () => PAGE_TYPE,
16
+ PANEL_LAYOUT: () => PANEL_LAYOUT,
17
+ PLUGIN_ID: () => PLUGIN_ID,
18
+ SLOT: () => SLOT,
19
+ TITLE_I18N_KEY: () => TITLE_I18N_KEY
20
+ });
21
+ var PLUGIN_ID = "forgeax.view.plugins";
22
+ var BACKEND_PLUGIN_ID = "forgeax.view.service.plugin-inspection.backend";
23
+ var FRONTEND_PLUGIN_ID = "forgeax.view.page.plugin-browser.frontend";
24
+ var BACKEND_MODULE = "@forgeax/view/plugins/plugins/backend";
25
+ var FRONTEND_MODULE = "@forgeax/view/plugins/plugins/frontend";
26
+ var SLOT = "plugins";
27
+ var PAGE_TYPE = VIEW_PAGE_TYPES.plugins;
28
+ var PANEL_LAYOUT = Object.freeze({
29
+ dock: "fill",
30
+ stack: "tabs",
31
+ order: 0
32
+ });
33
+ var TITLE_I18N_KEY = "view.slots.plugins";
34
+
35
+ export {
36
+ PLUGIN_ID,
37
+ BACKEND_PLUGIN_ID,
38
+ FRONTEND_PLUGIN_ID,
39
+ BACKEND_MODULE,
40
+ FRONTEND_MODULE,
41
+ SLOT,
42
+ PAGE_TYPE,
43
+ PANEL_LAYOUT,
44
+ TITLE_I18N_KEY,
45
+ identity_exports
46
+ };
47
+ //# sourceMappingURL=chunk-VZXGRZYU.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../packages/view-plugin-plugins/src/identity.mjs"],
4
+ "sourcesContent": ["import { VIEW_PAGE_TYPES } from '@forgeax/view-workspace-core/contract';\n\nexport const PLUGIN_ID = 'forgeax.view.plugins';\nexport const BACKEND_PLUGIN_ID = 'forgeax.view.service.plugin-inspection.backend';\nexport const FRONTEND_PLUGIN_ID = 'forgeax.view.page.plugin-browser.frontend';\nexport const BACKEND_MODULE = '@forgeax/view/plugins/plugins/backend';\nexport const FRONTEND_MODULE = '@forgeax/view/plugins/plugins/frontend';\nexport const SLOT = 'plugins';\nexport const PAGE_TYPE = VIEW_PAGE_TYPES.plugins;\nexport const PANEL_LAYOUT = Object.freeze({\n dock: 'fill',\n stack: 'tabs',\n order: 0,\n});\nexport const TITLE_I18N_KEY = 'view.slots.plugins';\n"],
5
+ "mappings": ";;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,YAAY;AAClB,IAAM,oBAAoB;AAC1B,IAAM,qBAAqB;AAC3B,IAAM,iBAAiB;AACvB,IAAM,kBAAkB;AACxB,IAAM,OAAO;AACb,IAAM,YAAY,gBAAgB;AAClC,IAAM,eAAe,OAAO,OAAO;AAAA,EACxC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AACT,CAAC;AACM,IAAM,iBAAiB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,42 @@
1
+ import {
2
+ PluginsPanel
3
+ } from "./chunk-QLZQGZDC.mjs";
4
+ import {
5
+ OverlayRootProvider
6
+ } from "./chunk-NJH2OJFC.mjs";
7
+
8
+ // packages/view-plugin-plugins/src/ui/mount.tsx
9
+ import { createRoot } from "react-dom/client";
10
+
11
+ // packages/view-plugin-plugins/src/ui/plugins.css
12
+ var css = "/* packages/view-plugin-plugins/src/ui/plugins.css */\n.fx-plugins {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n overflow: hidden;\n}\n.fx-plugins-header .fx-panel-header__slot:nth-child(2) {\n flex: 1;\n justify-content: flex-end;\n}\n.fx-plugins-toolbar {\n width: min(100%, 320px);\n}\n.fx-plugins-toolbar .fx-search {\n flex: 1;\n}\n.fx-plugins-toolbar .fx-input {\n height: var(--fx-component-control-height-compact);\n}\n.fx-plugins-filters {\n display: flex;\n flex-direction: column;\n gap: var(--fx-ref-space-6);\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\n}\n.fx-plugins-filter-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugins-filter-label {\n min-width: 48px;\n color: var(--fx-color-text-muted);\n}\n.fx-plugin-filter {\n max-width: 100%;\n overflow-wrap: anywhere;\n border-radius: var(--fx-radius-control);\n}\n.fx-plugin-filter[aria-pressed=true] {\n background: var(--fx-color-selection-bg);\n color: var(--fx-color-selection-fg);\n box-shadow: inset 0 0 0 1px var(--fx-color-selection-indicator);\n}\n.fx-plugin-filter span {\n font-variant-numeric: tabular-nums;\n color: var(--fx-color-text-secondary);\n}\n.fx-plugins-filter-help {\n color: var(--fx-color-text-muted);\n}\n.fx-plugin-source-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\n border-block: var(--fx-border-width) solid var(--fx-color-border-subtle);\n background: var(--fx-color-surface-sidebar);\n overflow-wrap: anywhere;\n}\n.fx-plugins-notice {\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n max-height: 120px;\n overflow: auto;\n color: var(--fx-color-text-secondary);\n overflow-wrap: anywhere;\n}\n.fx-plugins-notice p {\n margin: 0;\n}\n.fx-plugin-tags {\n display: flex;\n flex-wrap: wrap;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugin-copy .fx-plugin-operations {\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.fx-plugins-summary {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\n background: var(--fx-color-surface-sidebar);\n}\n.fx-plugins-summary > .fx-text {\n display: inline-flex;\n align-items: center;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugins-summary .fx-icon {\n width: var(--fx-component-control-icon-size);\n height: var(--fx-component-control-icon-size);\n}\n.fx-plugins-list {\n flex: 1;\n min-height: 0;\n overflow: auto;\n padding: var(--fx-ref-space-4) 0;\n background: var(--fx-color-surface-canvas);\n}\n.fx-plugin-row {\n display: flex;\n align-items: center;\n width: 100%;\n min-height: 48px;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n border: 0;\n border-inline-start: 2px solid transparent;\n background: transparent;\n color: var(--fx-color-text-primary);\n text-align: left;\n cursor: pointer;\n}\n.fx-plugin-row:hover {\n background: var(--fx-color-surface-hover);\n}\n.fx-plugin-row.selected {\n border-inline-start-color: var(--fx-color-selection-indicator);\n background: var(--fx-color-selection-bg);\n color: var(--fx-color-selection-fg);\n}\n.fx-plugin-icon {\n display: grid;\n place-items: center;\n width: var(--fx-component-control-height-default);\n height: var(--fx-component-control-height-default);\n flex: 0 0 auto;\n border: var(--fx-border-width) solid var(--fx-color-border-subtle);\n border-radius: var(--fx-radius-control);\n background: var(--fx-color-surface-inset);\n color: var(--fx-color-text-secondary);\n}\n.fx-plugin-copy {\n display: flex;\n flex: 1;\n min-width: 0;\n flex-direction: column;\n}\n.fx-plugin-copy strong {\n overflow: hidden;\n color: var(--fx-color-text-primary);\n font-weight: var(--fx-ref-font-weight-500);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.fx-plugin-copy small {\n overflow: hidden;\n color: var(--fx-color-text-muted);\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.fx-plugin-version {\n color: var(--fx-color-text-muted);\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\n}\n.fx-plugin-type,\n.fx-plugin-state {\n flex: 0 0 auto;\n text-transform: uppercase;\n}\n.fx-plugins-empty-icon {\n width: var(--fx-ref-space-32);\n height: var(--fx-ref-space-32);\n color: var(--fx-color-text-muted);\n}\n@media (max-width: 520px) {\n .fx-plugin-version {\n display: none;\n }\n .fx-plugin-row {\n flex-wrap: wrap;\n }\n .fx-plugin-copy {\n flex-basis: calc(100% - 52px);\n }\n .fx-plugins-header {\n flex-wrap: wrap;\n }\n}\n";
13
+ if (typeof document !== "undefined" && !document.querySelector('style[data-forgeax-css="L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw"]')) {
14
+ const style = document.createElement("style");
15
+ style.dataset.forgeaxCss = "L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw";
16
+ style.textContent = css;
17
+ document.head.append(style);
18
+ }
19
+
20
+ // packages/view-plugin-plugins/src/ui/mount.tsx
21
+ import { jsx } from "react/jsx-runtime";
22
+ async function mountPluginsPanel(props) {
23
+ if (!props.mountElement) throw new TypeError("mountPluginsPanel requires mountElement");
24
+ const root = createRoot(props.mountElement);
25
+ root.render(
26
+ /* @__PURE__ */ jsx(OverlayRootProvider, { root: props.overlayRoot ?? props.mountElement, children: /* @__PURE__ */ jsx(
27
+ PluginsPanel,
28
+ {
29
+ hostAssembly: props.hostAssembly,
30
+ connectionId: props.connectionId,
31
+ client: props.client,
32
+ workspaceClient: props.workspaceClient
33
+ }
34
+ ) })
35
+ );
36
+ return async () => root.unmount();
37
+ }
38
+
39
+ export {
40
+ mountPluginsPanel
41
+ };
42
+ //# sourceMappingURL=chunk-W5DMQZB5.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../packages/view-plugin-plugins/src/ui/mount.tsx", "../../../packages/view-plugin-plugins/src/ui/plugins.css"],
4
+ "sourcesContent": ["import { OverlayRootProvider } from '@forgeax/view-components';\nimport '../i18n/index.mjs';\nimport { createRoot } from 'react-dom/client';\nimport { PluginsPanel } from './PluginsPanel';\nimport './plugins.css';\n\nexport async function mountPluginsPanel(props: {\n hostAssembly?: unknown;\n connectionId?: string;\n client?: unknown;\n workspaceClient?: unknown;\n mountElement: HTMLElement;\n overlayRoot?: HTMLElement;\n}) {\n if (!props.mountElement) throw new TypeError('mountPluginsPanel requires mountElement');\n const root = createRoot(props.mountElement);\n root.render(\n <OverlayRootProvider root={props.overlayRoot ?? props.mountElement}>\n <PluginsPanel\n hostAssembly={props.hostAssembly}\n connectionId={props.connectionId}\n client={props.client as never}\n workspaceClient={props.workspaceClient as never}\n />\n </OverlayRootProvider>,\n );\n return async () => root.unmount();\n}\n", "\n const css = \"/* packages/view-plugin-plugins/src/ui/plugins.css */\\n.fx-plugins {\\n display: flex;\\n flex-direction: column;\\n width: 100%;\\n height: 100%;\\n min-height: 0;\\n overflow: hidden;\\n}\\n.fx-plugins-header .fx-panel-header__slot:nth-child(2) {\\n flex: 1;\\n justify-content: flex-end;\\n}\\n.fx-plugins-toolbar {\\n width: min(100%, 320px);\\n}\\n.fx-plugins-toolbar .fx-search {\\n flex: 1;\\n}\\n.fx-plugins-toolbar .fx-input {\\n height: var(--fx-component-control-height-compact);\\n}\\n.fx-plugins-filters {\\n display: flex;\\n flex-direction: column;\\n gap: var(--fx-ref-space-6);\\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n}\\n.fx-plugins-filter-row {\\n display: flex;\\n align-items: center;\\n flex-wrap: wrap;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugins-filter-label {\\n min-width: 48px;\\n color: var(--fx-color-text-muted);\\n}\\n.fx-plugin-filter {\\n max-width: 100%;\\n overflow-wrap: anywhere;\\n border-radius: var(--fx-radius-control);\\n}\\n.fx-plugin-filter[aria-pressed=true] {\\n background: var(--fx-color-selection-bg);\\n color: var(--fx-color-selection-fg);\\n box-shadow: inset 0 0 0 1px var(--fx-color-selection-indicator);\\n}\\n.fx-plugin-filter span {\\n font-variant-numeric: tabular-nums;\\n color: var(--fx-color-text-secondary);\\n}\\n.fx-plugins-filter-help {\\n color: var(--fx-color-text-muted);\\n}\\n.fx-plugin-source-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\\n border-block: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n background: var(--fx-color-surface-sidebar);\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-notice {\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n max-height: 120px;\\n overflow: auto;\\n color: var(--fx-color-text-secondary);\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-notice p {\\n margin: 0;\\n}\\n.fx-plugin-tags {\\n display: flex;\\n flex-wrap: wrap;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugin-copy .fx-plugin-operations {\\n white-space: normal;\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-summary {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n background: var(--fx-color-surface-sidebar);\\n}\\n.fx-plugins-summary > .fx-text {\\n display: inline-flex;\\n align-items: center;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugins-summary .fx-icon {\\n width: var(--fx-component-control-icon-size);\\n height: var(--fx-component-control-icon-size);\\n}\\n.fx-plugins-list {\\n flex: 1;\\n min-height: 0;\\n overflow: auto;\\n padding: var(--fx-ref-space-4) 0;\\n background: var(--fx-color-surface-canvas);\\n}\\n.fx-plugin-row {\\n display: flex;\\n align-items: center;\\n width: 100%;\\n min-height: 48px;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n border: 0;\\n border-inline-start: 2px solid transparent;\\n background: transparent;\\n color: var(--fx-color-text-primary);\\n text-align: left;\\n cursor: pointer;\\n}\\n.fx-plugin-row:hover {\\n background: var(--fx-color-surface-hover);\\n}\\n.fx-plugin-row.selected {\\n border-inline-start-color: var(--fx-color-selection-indicator);\\n background: var(--fx-color-selection-bg);\\n color: var(--fx-color-selection-fg);\\n}\\n.fx-plugin-icon {\\n display: grid;\\n place-items: center;\\n width: var(--fx-component-control-height-default);\\n height: var(--fx-component-control-height-default);\\n flex: 0 0 auto;\\n border: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n border-radius: var(--fx-radius-control);\\n background: var(--fx-color-surface-inset);\\n color: var(--fx-color-text-secondary);\\n}\\n.fx-plugin-copy {\\n display: flex;\\n flex: 1;\\n min-width: 0;\\n flex-direction: column;\\n}\\n.fx-plugin-copy strong {\\n overflow: hidden;\\n color: var(--fx-color-text-primary);\\n font-weight: var(--fx-ref-font-weight-500);\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.fx-plugin-copy small {\\n overflow: hidden;\\n color: var(--fx-color-text-muted);\\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.fx-plugin-version {\\n color: var(--fx-color-text-muted);\\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\\n}\\n.fx-plugin-type,\\n.fx-plugin-state {\\n flex: 0 0 auto;\\n text-transform: uppercase;\\n}\\n.fx-plugins-empty-icon {\\n width: var(--fx-ref-space-32);\\n height: var(--fx-ref-space-32);\\n color: var(--fx-color-text-muted);\\n}\\n@media (max-width: 520px) {\\n .fx-plugin-version {\\n display: none;\\n }\\n .fx-plugin-row {\\n flex-wrap: wrap;\\n }\\n .fx-plugin-copy {\\n flex-basis: calc(100% - 52px);\\n }\\n .fx-plugins-header {\\n flex-wrap: wrap;\\n }\\n}\\n\";\n if (typeof document !== 'undefined' && !document.querySelector('style[data-forgeax-css=\"L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw\"]')) {\n const style = document.createElement('style');\n style.dataset.forgeaxCss = \"L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw\";\n style.textContent = css;\n document.head.append(style);\n }\n export default css;\n "],
5
+ "mappings": ";;;;;;;;AAEA,SAAS,kBAAkB;;;ACDjB,IAAM,MAAM;AACZ,IAAI,OAAO,aAAa,eAAe,CAAC,SAAS,cAAc,sLAAsL,GAAG;AACtP,QAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,QAAM,QAAQ,aAAa;AAC3B,QAAM,cAAc;AACpB,WAAS,KAAK,OAAO,KAAK;AAC5B;;;ADWJ;AAZN,eAAsB,kBAAkB,OAOrC;AACD,MAAI,CAAC,MAAM,aAAc,OAAM,IAAI,UAAU,yCAAyC;AACtF,QAAM,OAAO,WAAW,MAAM,YAAY;AAC1C,OAAK;AAAA,IACH,oBAAC,uBAAoB,MAAM,MAAM,eAAe,MAAM,cACpD;AAAA,MAAC;AAAA;AAAA,QACC,cAAc,MAAM;AAAA,QACpB,cAAc,MAAM;AAAA,QACpB,QAAQ,MAAM;AAAA,QACd,iBAAiB,MAAM;AAAA;AAAA,IACzB,GACF;AAAA,EACF;AACA,SAAO,YAAY,KAAK,QAAQ;AAClC;",
6
+ "names": []
7
+ }