@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.
- package/CHANGELOG.md +11 -0
- package/README.md +742 -0
- package/dist/modules/backend.mjs +54 -0
- package/dist/modules/backend.mjs.map +7 -0
- package/dist/modules/browser.mjs +180 -0
- package/dist/modules/browser.mjs.map +7 -0
- package/dist/modules/carrier-contract.mjs +38 -0
- package/dist/modules/carrier-contract.mjs.map +7 -0
- package/dist/modules/carrier.mjs +13 -0
- package/dist/modules/carrier.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2ASWB6IX.mjs +225 -0
- package/dist/modules/chunks/chunk-2ASWB6IX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2IJKOG2F.mjs +801 -0
- package/dist/modules/chunks/chunk-2IJKOG2F.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2K3BBJ5S.mjs +9 -0
- package/dist/modules/chunks/chunk-2K3BBJ5S.mjs.map +7 -0
- package/dist/modules/chunks/chunk-32GD5LL6.mjs +482 -0
- package/dist/modules/chunks/chunk-32GD5LL6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-3B4KFAEC.mjs +10 -0
- package/dist/modules/chunks/chunk-3B4KFAEC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-46O5WX43.mjs +25 -0
- package/dist/modules/chunks/chunk-46O5WX43.mjs.map +7 -0
- package/dist/modules/chunks/chunk-47J5JXAB.mjs +237 -0
- package/dist/modules/chunks/chunk-47J5JXAB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4BXQOUDQ.mjs +17 -0
- package/dist/modules/chunks/chunk-4BXQOUDQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4GQWYU2V.mjs +126 -0
- package/dist/modules/chunks/chunk-4GQWYU2V.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4N5X2PRQ.mjs +48 -0
- package/dist/modules/chunks/chunk-4N5X2PRQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4WXD2KYX.mjs +56 -0
- package/dist/modules/chunks/chunk-4WXD2KYX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-6ZWWVAZK.mjs +468 -0
- package/dist/modules/chunks/chunk-6ZWWVAZK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-73UZNRHN.mjs +296 -0
- package/dist/modules/chunks/chunk-73UZNRHN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7ITLCRND.mjs +10 -0
- package/dist/modules/chunks/chunk-7ITLCRND.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7TGVWKH7.mjs +59 -0
- package/dist/modules/chunks/chunk-7TGVWKH7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7URFF53W.mjs +42 -0
- package/dist/modules/chunks/chunk-7URFF53W.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7YSDRIFN.mjs +14 -0
- package/dist/modules/chunks/chunk-7YSDRIFN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AAFVCQPK.mjs +52 -0
- package/dist/modules/chunks/chunk-AAFVCQPK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AEK7ZESQ.mjs +18 -0
- package/dist/modules/chunks/chunk-AEK7ZESQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AL6ZWIEU.mjs +42 -0
- package/dist/modules/chunks/chunk-AL6ZWIEU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ALT7XVMQ.mjs +73 -0
- package/dist/modules/chunks/chunk-ALT7XVMQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ASI2HBE6.mjs +116 -0
- package/dist/modules/chunks/chunk-ASI2HBE6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ATWGCH7I.mjs +174 -0
- package/dist/modules/chunks/chunk-ATWGCH7I.mjs.map +7 -0
- package/dist/modules/chunks/chunk-C45U6IIY.mjs +692 -0
- package/dist/modules/chunks/chunk-C45U6IIY.mjs.map +7 -0
- package/dist/modules/chunks/chunk-C7R3YRA7.mjs +98 -0
- package/dist/modules/chunks/chunk-C7R3YRA7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-CRMICXKN.mjs +87 -0
- package/dist/modules/chunks/chunk-CRMICXKN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-CUH2G6UF.mjs +81 -0
- package/dist/modules/chunks/chunk-CUH2G6UF.mjs.map +7 -0
- package/dist/modules/chunks/chunk-D7GWRZLL.mjs +77 -0
- package/dist/modules/chunks/chunk-D7GWRZLL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DBWUIBE3.mjs +10 -0
- package/dist/modules/chunks/chunk-DBWUIBE3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DQWVWWUU.mjs +77 -0
- package/dist/modules/chunks/chunk-DQWVWWUU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DZZ2WFEU.mjs +122 -0
- package/dist/modules/chunks/chunk-DZZ2WFEU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-E4UIAN26.mjs +58 -0
- package/dist/modules/chunks/chunk-E4UIAN26.mjs.map +7 -0
- package/dist/modules/chunks/chunk-EJGBVKFE.mjs +77 -0
- package/dist/modules/chunks/chunk-EJGBVKFE.mjs.map +7 -0
- package/dist/modules/chunks/chunk-EPSTTHWV.mjs +173 -0
- package/dist/modules/chunks/chunk-EPSTTHWV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ER7T6QJ3.mjs +64 -0
- package/dist/modules/chunks/chunk-ER7T6QJ3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FD4BAJ6K.mjs +389 -0
- package/dist/modules/chunks/chunk-FD4BAJ6K.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FJM6WWIY.mjs +80 -0
- package/dist/modules/chunks/chunk-FJM6WWIY.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FKCQYDLX.mjs +162 -0
- package/dist/modules/chunks/chunk-FKCQYDLX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FLGC65SR.mjs +10 -0
- package/dist/modules/chunks/chunk-FLGC65SR.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FMCACPX5.mjs +289 -0
- package/dist/modules/chunks/chunk-FMCACPX5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FOBRLUQV.mjs +51 -0
- package/dist/modules/chunks/chunk-FOBRLUQV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FV3DSKZB.mjs +33 -0
- package/dist/modules/chunks/chunk-FV3DSKZB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-G7BAFAGO.mjs +98 -0
- package/dist/modules/chunks/chunk-G7BAFAGO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-GQBZMCTK.mjs +145 -0
- package/dist/modules/chunks/chunk-GQBZMCTK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-GYWIY7AL.mjs +131 -0
- package/dist/modules/chunks/chunk-GYWIY7AL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-H3KNBALD.mjs +256 -0
- package/dist/modules/chunks/chunk-H3KNBALD.mjs.map +7 -0
- package/dist/modules/chunks/chunk-H3M22JDL.mjs +144 -0
- package/dist/modules/chunks/chunk-H3M22JDL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-HES3DNTM.mjs +40 -0
- package/dist/modules/chunks/chunk-HES3DNTM.mjs.map +7 -0
- package/dist/modules/chunks/chunk-I5BFP7SS.mjs +2392 -0
- package/dist/modules/chunks/chunk-I5BFP7SS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IGRMZYRD.mjs +15 -0
- package/dist/modules/chunks/chunk-IGRMZYRD.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IKNGC766.mjs +321 -0
- package/dist/modules/chunks/chunk-IKNGC766.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IVHNYKZB.mjs +35 -0
- package/dist/modules/chunks/chunk-IVHNYKZB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JHOURMYW.mjs +101 -0
- package/dist/modules/chunks/chunk-JHOURMYW.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JURXMRFA.mjs +282 -0
- package/dist/modules/chunks/chunk-JURXMRFA.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JWZIREC3.mjs +18 -0
- package/dist/modules/chunks/chunk-JWZIREC3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KHRTIZ56.mjs +1400 -0
- package/dist/modules/chunks/chunk-KHRTIZ56.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KLJZZ23J.mjs +102 -0
- package/dist/modules/chunks/chunk-KLJZZ23J.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KNBAYU5I.mjs +49 -0
- package/dist/modules/chunks/chunk-KNBAYU5I.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KSZNCFU4.mjs +125 -0
- package/dist/modules/chunks/chunk-KSZNCFU4.mjs.map +7 -0
- package/dist/modules/chunks/chunk-L45W6KM6.mjs +158 -0
- package/dist/modules/chunks/chunk-L45W6KM6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-LERMYZRC.mjs +239 -0
- package/dist/modules/chunks/chunk-LERMYZRC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-LKJCXYSJ.mjs +91 -0
- package/dist/modules/chunks/chunk-LKJCXYSJ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MBS3EICT.mjs +25 -0
- package/dist/modules/chunks/chunk-MBS3EICT.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MUOQZPVH.mjs +609 -0
- package/dist/modules/chunks/chunk-MUOQZPVH.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MVEPGFSB.mjs +1 -0
- package/dist/modules/chunks/chunk-MVEPGFSB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NBJKLWJ5.mjs +42 -0
- package/dist/modules/chunks/chunk-NBJKLWJ5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NBLGKTEM.mjs +86 -0
- package/dist/modules/chunks/chunk-NBLGKTEM.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NI7CS3I2.mjs +110 -0
- package/dist/modules/chunks/chunk-NI7CS3I2.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NJH2OJFC.mjs +2113 -0
- package/dist/modules/chunks/chunk-NJH2OJFC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-OBK4LIJB.mjs +20 -0
- package/dist/modules/chunks/chunk-OBK4LIJB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-PEUT3FW7.mjs +1 -0
- package/dist/modules/chunks/chunk-PEUT3FW7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-PRZOWPDN.mjs +66 -0
- package/dist/modules/chunks/chunk-PRZOWPDN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-Q4RXBGQS.mjs +55 -0
- package/dist/modules/chunks/chunk-Q4RXBGQS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QBHBKOIL.mjs +55 -0
- package/dist/modules/chunks/chunk-QBHBKOIL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QD6CCRMG.mjs +20 -0
- package/dist/modules/chunks/chunk-QD6CCRMG.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QF4V23GW.mjs +39 -0
- package/dist/modules/chunks/chunk-QF4V23GW.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QK6W7MJO.mjs +42 -0
- package/dist/modules/chunks/chunk-QK6W7MJO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QL7V6DK7.mjs +34 -0
- package/dist/modules/chunks/chunk-QL7V6DK7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QLBQQKRI.mjs +25 -0
- package/dist/modules/chunks/chunk-QLBQQKRI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QLZQGZDC.mjs +418 -0
- package/dist/modules/chunks/chunk-QLZQGZDC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QSKQZGK7.mjs +1625 -0
- package/dist/modules/chunks/chunk-QSKQZGK7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QURKBAG4.mjs +25 -0
- package/dist/modules/chunks/chunk-QURKBAG4.mjs.map +7 -0
- package/dist/modules/chunks/chunk-R274XBEH.mjs +53 -0
- package/dist/modules/chunks/chunk-R274XBEH.mjs.map +7 -0
- package/dist/modules/chunks/chunk-R4I4JEY5.mjs +77 -0
- package/dist/modules/chunks/chunk-R4I4JEY5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-RR6L6VVR.mjs +9 -0
- package/dist/modules/chunks/chunk-RR6L6VVR.mjs.map +7 -0
- package/dist/modules/chunks/chunk-RXF7SBBZ.mjs +125 -0
- package/dist/modules/chunks/chunk-RXF7SBBZ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-SR66S6EJ.mjs +138 -0
- package/dist/modules/chunks/chunk-SR66S6EJ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-SSQMQJ52.mjs +27 -0
- package/dist/modules/chunks/chunk-SSQMQJ52.mjs.map +7 -0
- package/dist/modules/chunks/chunk-TP26TASL.mjs +20 -0
- package/dist/modules/chunks/chunk-TP26TASL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-TSAEK5P3.mjs +50 -0
- package/dist/modules/chunks/chunk-TSAEK5P3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UAY27HT3.mjs +68 -0
- package/dist/modules/chunks/chunk-UAY27HT3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UDLIWGWS.mjs +103 -0
- package/dist/modules/chunks/chunk-UDLIWGWS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UDVQHPWV.mjs +89 -0
- package/dist/modules/chunks/chunk-UDVQHPWV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UM23W3G7.mjs +237 -0
- package/dist/modules/chunks/chunk-UM23W3G7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VDZJWEAA.mjs +214 -0
- package/dist/modules/chunks/chunk-VDZJWEAA.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VIGOJWSO.mjs +42 -0
- package/dist/modules/chunks/chunk-VIGOJWSO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VY3S5BWI.mjs +284 -0
- package/dist/modules/chunks/chunk-VY3S5BWI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VZXGRZYU.mjs +47 -0
- package/dist/modules/chunks/chunk-VZXGRZYU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-W5DMQZB5.mjs +42 -0
- package/dist/modules/chunks/chunk-W5DMQZB5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-WOMHSTVZ.mjs +918 -0
- package/dist/modules/chunks/chunk-WOMHSTVZ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XFQT7XCG.mjs +42 -0
- package/dist/modules/chunks/chunk-XFQT7XCG.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XJZEVRYX.mjs +98 -0
- package/dist/modules/chunks/chunk-XJZEVRYX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XUYFV23R.mjs +317 -0
- package/dist/modules/chunks/chunk-XUYFV23R.mjs.map +7 -0
- package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs +58 -0
- package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YTHGRKGI.mjs +147 -0
- package/dist/modules/chunks/chunk-YTHGRKGI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YVQSDKAO.mjs +341 -0
- package/dist/modules/chunks/chunk-YVQSDKAO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YYXQDUVT.mjs +123 -0
- package/dist/modules/chunks/chunk-YYXQDUVT.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs +142 -0
- package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZLNWF4ET.mjs +9 -0
- package/dist/modules/chunks/chunk-ZLNWF4ET.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZLU5QW2O.mjs +9 -0
- package/dist/modules/chunks/chunk-ZLU5QW2O.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZNZPYE2V.mjs +28 -0
- package/dist/modules/chunks/chunk-ZNZPYE2V.mjs.map +7 -0
- package/dist/modules/chunks/core-564N45MO.mjs +7480 -0
- package/dist/modules/chunks/core-564N45MO.mjs.map +7 -0
- package/dist/modules/chunks/css-BKH4SVJG.mjs +8 -0
- package/dist/modules/chunks/css-BKH4SVJG.mjs.map +7 -0
- package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs +3241 -0
- package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs.map +7 -0
- package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs +8 -0
- package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs.map +7 -0
- package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs +8 -0
- package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs.map +7 -0
- package/dist/modules/chunks/glsl-UC3YWUD2.mjs +18 -0
- package/dist/modules/chunks/glsl-UC3YWUD2.mjs.map +7 -0
- package/dist/modules/chunks/html-FRVIUV63.mjs +19 -0
- package/dist/modules/chunks/html-FRVIUV63.mjs.map +7 -0
- package/dist/modules/chunks/javascript-LN3OC7S2.mjs +8 -0
- package/dist/modules/chunks/javascript-LN3OC7S2.mjs.map +7 -0
- package/dist/modules/chunks/json-5CUGWTOP.mjs +11 -0
- package/dist/modules/chunks/json-5CUGWTOP.mjs.map +7 -0
- package/dist/modules/chunks/json5-YZQI5VNO.mjs +11 -0
- package/dist/modules/chunks/json5-YZQI5VNO.mjs.map +7 -0
- package/dist/modules/chunks/jsonc-SWID6VOZ.mjs +11 -0
- package/dist/modules/chunks/jsonc-SWID6VOZ.mjs.map +7 -0
- package/dist/modules/chunks/jsx-A7RDCLJO.mjs +11 -0
- package/dist/modules/chunks/jsx-A7RDCLJO.mjs.map +7 -0
- package/dist/modules/chunks/markdown-QTCU5KP5.mjs +11 -0
- package/dist/modules/chunks/markdown-QTCU5KP5.mjs.map +7 -0
- package/dist/modules/chunks/python-LAZONBIB.mjs +11 -0
- package/dist/modules/chunks/python-LAZONBIB.mjs.map +7 -0
- package/dist/modules/chunks/rust-XWTPJFJO.mjs +11 -0
- package/dist/modules/chunks/rust-XWTPJFJO.mjs.map +7 -0
- package/dist/modules/chunks/scss-CFXRHUUW.mjs +15 -0
- package/dist/modules/chunks/scss-CFXRHUUW.mjs.map +7 -0
- package/dist/modules/chunks/shellscript-OHO3LCVU.mjs +11 -0
- package/dist/modules/chunks/shellscript-OHO3LCVU.mjs.map +7 -0
- package/dist/modules/chunks/toml-IOHFZJ5B.mjs +11 -0
- package/dist/modules/chunks/toml-IOHFZJ5B.mjs.map +7 -0
- package/dist/modules/chunks/tsx-2E6WNX2E.mjs +11 -0
- package/dist/modules/chunks/tsx-2E6WNX2E.mjs.map +7 -0
- package/dist/modules/chunks/typescript-PBKAS54P.mjs +11 -0
- package/dist/modules/chunks/typescript-PBKAS54P.mjs.map +7 -0
- package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs +11 -0
- package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs.map +7 -0
- package/dist/modules/chunks/xml-JECR2ACB.mjs +18 -0
- package/dist/modules/chunks/xml-JECR2ACB.mjs.map +7 -0
- package/dist/modules/chunks/yaml-P2SV4LOE.mjs +11 -0
- package/dist/modules/chunks/yaml-P2SV4LOE.mjs.map +7 -0
- package/dist/modules/cli-contributions.mjs +32 -0
- package/dist/modules/cli-contributions.mjs.map +7 -0
- package/dist/modules/cli.mjs +14 -0
- package/dist/modules/cli.mjs.map +7 -0
- package/dist/modules/command-executor.mjs +65 -0
- package/dist/modules/command-executor.mjs.map +7 -0
- package/dist/modules/commands.mjs +10 -0
- package/dist/modules/commands.mjs.map +7 -0
- package/dist/modules/embedded.mjs +18608 -0
- package/dist/modules/embedded.mjs.map +7 -0
- package/dist/modules/extension-bridge.mjs +18 -0
- package/dist/modules/extension-bridge.mjs.map +7 -0
- package/dist/modules/frontend-root.mjs +61 -0
- package/dist/modules/frontend-root.mjs.map +7 -0
- package/dist/modules/index.mjs +784 -0
- package/dist/modules/index.mjs.map +7 -0
- package/dist/modules/page.mjs +45 -0
- package/dist/modules/page.mjs.map +7 -0
- package/dist/modules/pages/scene.mjs +18 -0
- package/dist/modules/pages/scene.mjs.map +7 -0
- package/dist/modules/plugin.mjs +56 -0
- package/dist/modules/plugin.mjs.map +7 -0
- package/dist/modules/plugins/asset/frontend.mjs +23 -0
- package/dist/modules/plugins/asset/frontend.mjs.map +7 -0
- package/dist/modules/plugins/asset/i18n.mjs +15 -0
- package/dist/modules/plugins/asset/i18n.mjs.map +7 -0
- package/dist/modules/plugins/asset/identity.mjs +42 -0
- package/dist/modules/plugins/asset/identity.mjs.map +7 -0
- package/dist/modules/plugins/asset/schema.mjs +10 -0
- package/dist/modules/plugins/asset/schema.mjs.map +7 -0
- package/dist/modules/plugins/asset/ui.mjs +16 -0
- package/dist/modules/plugins/asset/ui.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/frontend.mjs +17 -0
- package/dist/modules/plugins/content-browser/frontend.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/i18n.mjs +15 -0
- package/dist/modules/plugins/content-browser/i18n.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/identity.mjs +22 -0
- package/dist/modules/plugins/content-browser/identity.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/schema.mjs +12 -0
- package/dist/modules/plugins/content-browser/schema.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/ui.mjs +15 -0
- package/dist/modules/plugins/content-browser/ui.mjs.map +7 -0
- package/dist/modules/plugins/display/api.mjs +10 -0
- package/dist/modules/plugins/display/api.mjs.map +7 -0
- package/dist/modules/plugins/display/backend.mjs +16 -0
- package/dist/modules/plugins/display/backend.mjs.map +7 -0
- package/dist/modules/plugins/display/carrier-contract.mjs +38 -0
- package/dist/modules/plugins/display/carrier-contract.mjs.map +7 -0
- package/dist/modules/plugins/display/carrier.mjs +13 -0
- package/dist/modules/plugins/display/carrier.mjs.map +7 -0
- package/dist/modules/plugins/display/effects.mjs +8 -0
- package/dist/modules/plugins/display/effects.mjs.map +7 -0
- package/dist/modules/plugins/display/frontend.mjs +14 -0
- package/dist/modules/plugins/display/frontend.mjs.map +7 -0
- package/dist/modules/plugins/display/i18n.mjs +58 -0
- package/dist/modules/plugins/display/i18n.mjs.map +7 -0
- package/dist/modules/plugins/display/identity.mjs +30 -0
- package/dist/modules/plugins/display/identity.mjs.map +7 -0
- package/dist/modules/plugins/display/page-broker.mjs +12 -0
- package/dist/modules/plugins/display/page-broker.mjs.map +7 -0
- package/dist/modules/plugins/display/schema.mjs +40 -0
- package/dist/modules/plugins/display/schema.mjs.map +7 -0
- package/dist/modules/plugins/display/ui.mjs +9 -0
- package/dist/modules/plugins/display/ui.mjs.map +7 -0
- package/dist/modules/plugins/inspector/frontend.mjs +17 -0
- package/dist/modules/plugins/inspector/frontend.mjs.map +7 -0
- package/dist/modules/plugins/inspector/i18n.mjs +15 -0
- package/dist/modules/plugins/inspector/i18n.mjs.map +7 -0
- package/dist/modules/plugins/inspector/identity.mjs +22 -0
- package/dist/modules/plugins/inspector/identity.mjs.map +7 -0
- package/dist/modules/plugins/inspector/schema.mjs +12 -0
- package/dist/modules/plugins/inspector/schema.mjs.map +7 -0
- package/dist/modules/plugins/inspector/ui.mjs +16 -0
- package/dist/modules/plugins/inspector/ui.mjs.map +7 -0
- package/dist/modules/plugins/material/frontend.mjs +25 -0
- package/dist/modules/plugins/material/frontend.mjs.map +7 -0
- package/dist/modules/plugins/material/i18n.mjs +15 -0
- package/dist/modules/plugins/material/i18n.mjs.map +7 -0
- package/dist/modules/plugins/material/identity.mjs +60 -0
- package/dist/modules/plugins/material/identity.mjs.map +7 -0
- package/dist/modules/plugins/material/schema.mjs +47 -0
- package/dist/modules/plugins/material/schema.mjs.map +7 -0
- package/dist/modules/plugins/material/ui.mjs +28 -0
- package/dist/modules/plugins/material/ui.mjs.map +7 -0
- package/dist/modules/plugins/mesh/frontend.mjs +23 -0
- package/dist/modules/plugins/mesh/frontend.mjs.map +7 -0
- package/dist/modules/plugins/mesh/i18n.mjs +15 -0
- package/dist/modules/plugins/mesh/i18n.mjs.map +7 -0
- package/dist/modules/plugins/mesh/identity.mjs +54 -0
- package/dist/modules/plugins/mesh/identity.mjs.map +7 -0
- package/dist/modules/plugins/mesh/schema.mjs +10 -0
- package/dist/modules/plugins/mesh/schema.mjs.map +7 -0
- package/dist/modules/plugins/mesh/ui.mjs +26 -0
- package/dist/modules/plugins/mesh/ui.mjs.map +7 -0
- package/dist/modules/plugins/plugins/api.mjs +11 -0
- package/dist/modules/plugins/plugins/api.mjs.map +7 -0
- package/dist/modules/plugins/plugins/backend.mjs +21 -0
- package/dist/modules/plugins/plugins/backend.mjs.map +7 -0
- package/dist/modules/plugins/plugins/cli.mjs +12 -0
- package/dist/modules/plugins/plugins/cli.mjs.map +7 -0
- package/dist/modules/plugins/plugins/frontend.mjs +17 -0
- package/dist/modules/plugins/plugins/frontend.mjs.map +7 -0
- package/dist/modules/plugins/plugins/i18n.mjs +15 -0
- package/dist/modules/plugins/plugins/i18n.mjs.map +7 -0
- package/dist/modules/plugins/plugins/identity.mjs +26 -0
- package/dist/modules/plugins/plugins/identity.mjs.map +7 -0
- package/dist/modules/plugins/plugins/runtime.mjs +50 -0
- package/dist/modules/plugins/plugins/runtime.mjs.map +7 -0
- package/dist/modules/plugins/plugins/schema.mjs +12 -0
- package/dist/modules/plugins/plugins/schema.mjs.map +7 -0
- package/dist/modules/plugins/plugins/ui/panel.mjs +14 -0
- package/dist/modules/plugins/plugins/ui/panel.mjs.map +7 -0
- package/dist/modules/plugins/plugins/ui.mjs +15 -0
- package/dist/modules/plugins/plugins/ui.mjs.map +7 -0
- package/dist/modules/plugins/scene/frontend.mjs +18 -0
- package/dist/modules/plugins/scene/frontend.mjs.map +7 -0
- package/dist/modules/plugins/scene/identity.mjs +14 -0
- package/dist/modules/plugins/scene/identity.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/frontend.mjs +17 -0
- package/dist/modules/plugins/scene-tree/frontend.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/i18n.mjs +15 -0
- package/dist/modules/plugins/scene-tree/i18n.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/identity.mjs +22 -0
- package/dist/modules/plugins/scene-tree/identity.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/schema.mjs +12 -0
- package/dist/modules/plugins/scene-tree/schema.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/ui.mjs +16 -0
- package/dist/modules/plugins/scene-tree/ui.mjs.map +7 -0
- package/dist/modules/plugins/texture/frontend.mjs +23 -0
- package/dist/modules/plugins/texture/frontend.mjs.map +7 -0
- package/dist/modules/plugins/texture/i18n.mjs +15 -0
- package/dist/modules/plugins/texture/i18n.mjs.map +7 -0
- package/dist/modules/plugins/texture/identity.mjs +54 -0
- package/dist/modules/plugins/texture/identity.mjs.map +7 -0
- package/dist/modules/plugins/texture/schema.mjs +10 -0
- package/dist/modules/plugins/texture/schema.mjs.map +7 -0
- package/dist/modules/plugins/texture/ui.mjs +26 -0
- package/dist/modules/plugins/texture/ui.mjs.map +7 -0
- package/dist/modules/plugins/viewport/frontend.mjs +27 -0
- package/dist/modules/plugins/viewport/frontend.mjs.map +7 -0
- package/dist/modules/plugins/viewport/identity.mjs +28 -0
- package/dist/modules/plugins/viewport/identity.mjs.map +7 -0
- package/dist/modules/plugins/viewport/presentation-identity.mjs +10 -0
- package/dist/modules/plugins/viewport/presentation-identity.mjs.map +7 -0
- package/dist/modules/plugins/viewport/presentation.mjs +18 -0
- package/dist/modules/plugins/viewport/presentation.mjs.map +7 -0
- package/dist/modules/plugins/viewport/schema.mjs +18 -0
- package/dist/modules/plugins/viewport/schema.mjs.map +7 -0
- package/dist/modules/plugins/viewport/workspace-shell.mjs +29 -0
- package/dist/modules/plugins/viewport/workspace-shell.mjs.map +7 -0
- package/dist/modules/shell/contract.mjs +10 -0
- package/dist/modules/shell/contract.mjs.map +7 -0
- package/dist/modules/shell/frontend.mjs +14 -0
- package/dist/modules/shell/frontend.mjs.map +7 -0
- package/dist/modules/shell/layout-zones.mjs +20 -0
- package/dist/modules/shell/layout-zones.mjs.map +7 -0
- package/dist/modules/start-cli.mjs +57 -0
- package/dist/modules/start-cli.mjs.map +7 -0
- package/dist/modules/start.mjs +18 -0
- package/dist/modules/start.mjs.map +7 -0
- package/dist/modules/viewer/catalog/backend.mjs +47 -0
- package/dist/modules/viewer/catalog/backend.mjs.map +7 -0
- package/dist/modules/viewer/catalog/frontend.mjs +55 -0
- package/dist/modules/viewer/catalog/frontend.mjs.map +7 -0
- package/dist/modules/viewer/catalog/shared.mjs +43 -0
- package/dist/modules/viewer/catalog/shared.mjs.map +7 -0
- package/dist/modules/viewer/catalog.mjs +85 -0
- package/dist/modules/viewer/catalog.mjs.map +7 -0
- package/dist/modules/viewer/cli.mjs +23 -0
- package/dist/modules/viewer/cli.mjs.map +7 -0
- package/dist/modules/viewer-host/frontend.mjs +65 -0
- package/dist/modules/viewer-host/frontend.mjs.map +7 -0
- package/dist/modules/viewer-host/page-registry.mjs +27 -0
- package/dist/modules/viewer-host/page-registry.mjs.map +7 -0
- package/dist/modules/viewer-host/slot-registry.mjs +8 -0
- package/dist/modules/viewer-host/slot-registry.mjs.map +7 -0
- package/dist/modules/viewer-host.mjs +43 -0
- package/dist/modules/viewer-host.mjs.map +7 -0
- package/dist/modules/viewer.mjs +85 -0
- package/dist/modules/viewer.mjs.map +7 -0
- package/dist/modules/workspace/adopt-surface.mjs +16 -0
- package/dist/modules/workspace/adopt-surface.mjs.map +7 -0
- package/dist/modules/workspace/api.mjs +8 -0
- package/dist/modules/workspace/api.mjs.map +7 -0
- package/dist/modules/workspace/backend.mjs +23 -0
- package/dist/modules/workspace/backend.mjs.map +7 -0
- package/dist/modules/workspace/broker.mjs +16 -0
- package/dist/modules/workspace/broker.mjs.map +7 -0
- package/dist/modules/workspace/cli.mjs +9 -0
- package/dist/modules/workspace/cli.mjs.map +7 -0
- package/dist/modules/workspace/client.mjs +15 -0
- package/dist/modules/workspace/client.mjs.map +7 -0
- package/dist/modules/workspace/command-error.mjs +16 -0
- package/dist/modules/workspace/command-error.mjs.map +7 -0
- package/dist/modules/workspace/contract.mjs +71 -0
- package/dist/modules/workspace/contract.mjs.map +7 -0
- package/dist/modules/workspace/demo-client.mjs +127 -0
- package/dist/modules/workspace/demo-client.mjs.map +7 -0
- package/dist/modules/workspace/engine-adapter.mjs +16 -0
- package/dist/modules/workspace/engine-adapter.mjs.map +7 -0
- package/dist/modules/workspace/engine-presentation.mjs +10 -0
- package/dist/modules/workspace/engine-presentation.mjs.map +7 -0
- package/dist/modules/workspace/extension-bridge.mjs +18 -0
- package/dist/modules/workspace/extension-bridge.mjs.map +7 -0
- package/dist/modules/workspace/frontend-plugin.mjs +18 -0
- package/dist/modules/workspace/frontend-plugin.mjs.map +7 -0
- package/dist/modules/workspace/frontend.mjs +29 -0
- package/dist/modules/workspace/frontend.mjs.map +7 -0
- package/dist/modules/workspace/id.mjs +8 -0
- package/dist/modules/workspace/id.mjs.map +7 -0
- package/dist/modules/workspace/inspection-presentation.mjs +12 -0
- package/dist/modules/workspace/inspection-presentation.mjs.map +7 -0
- package/dist/modules/workspace/locale-bridge.mjs +14 -0
- package/dist/modules/workspace/locale-bridge.mjs.map +7 -0
- package/dist/modules/workspace/page-title.mjs +13 -0
- package/dist/modules/workspace/page-title.mjs.map +7 -0
- package/dist/modules/workspace/presentation.mjs +18 -0
- package/dist/modules/workspace/presentation.mjs.map +7 -0
- package/dist/modules/workspace/preview-surface.mjs +17 -0
- package/dist/modules/workspace/preview-surface.mjs.map +7 -0
- package/dist/modules/workspace/project-session.mjs +18 -0
- package/dist/modules/workspace/project-session.mjs.map +7 -0
- package/dist/modules/workspace/render-resize-sync.mjs +12 -0
- package/dist/modules/workspace/render-resize-sync.mjs.map +7 -0
- package/dist/modules/workspace/resident.mjs +16 -0
- package/dist/modules/workspace/resident.mjs.map +7 -0
- package/dist/modules/workspace/resource-open.mjs +34 -0
- package/dist/modules/workspace/resource-open.mjs.map +7 -0
- package/dist/modules/workspace/resource-page.mjs +27 -0
- package/dist/modules/workspace/resource-page.mjs.map +7 -0
- package/dist/modules/workspace/tool-runtime.mjs +14 -0
- package/dist/modules/workspace/tool-runtime.mjs.map +7 -0
- package/dist/modules/workspace/view-trace.mjs +60 -0
- package/dist/modules/workspace/view-trace.mjs.map +7 -0
- package/dist/modules/workspace/workspace-client-connection.mjs +22 -0
- package/dist/modules/workspace/workspace-client-connection.mjs.map +7 -0
- package/dist/modules/workspace/workspace-recovery.mjs +35 -0
- package/dist/modules/workspace/workspace-recovery.mjs.map +7 -0
- package/dist/modules/workspace/workspace-state.mjs +12 -0
- package/dist/modules/workspace/workspace-state.mjs.map +7 -0
- package/dist/modules/workspace-frontend.mjs +17 -0
- package/dist/modules/workspace-frontend.mjs.map +7 -0
- package/dist/viewer/assets/chunk-CilyBKbf.js +1 -0
- package/dist/viewer/assets/core-DSQma37-.js +13 -0
- package/dist/viewer/assets/core-DSQma37-.js.map +1 -0
- package/dist/viewer/assets/css-Bq1BXecw.js +2 -0
- package/dist/viewer/assets/css-Bq1BXecw.js.map +1 -0
- package/dist/viewer/assets/css-CWQWazmX.js +1 -0
- package/dist/viewer/assets/embedded-D4ZDx--W.js +2 -0
- package/dist/viewer/assets/embedded-D4ZDx--W.js.map +1 -0
- package/dist/viewer/assets/engine-javascript-BvokIV9O.js +142 -0
- package/dist/viewer/assets/engine-javascript-BvokIV9O.js.map +1 -0
- package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js +2 -0
- package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js.map +1 -0
- package/dist/viewer/assets/github-light-default-BqhWxAZd.js +2 -0
- package/dist/viewer/assets/github-light-default-BqhWxAZd.js.map +1 -0
- package/dist/viewer/assets/glsl-BJgVnv11.js +2 -0
- package/dist/viewer/assets/glsl-BJgVnv11.js.map +1 -0
- package/dist/viewer/assets/html-AaaHGGyt.js +2 -0
- package/dist/viewer/assets/html-AaaHGGyt.js.map +1 -0
- package/dist/viewer/assets/javascript-BX9W64FE.js +1 -0
- package/dist/viewer/assets/javascript-DQODvD07.js +2 -0
- package/dist/viewer/assets/javascript-DQODvD07.js.map +1 -0
- package/dist/viewer/assets/json-CpcIDpT7.js +2 -0
- package/dist/viewer/assets/json-CpcIDpT7.js.map +1 -0
- package/dist/viewer/assets/json5-Czq4A7dk.js +2 -0
- package/dist/viewer/assets/json5-Czq4A7dk.js.map +1 -0
- package/dist/viewer/assets/jsonc-BXDfCMmu.js +2 -0
- package/dist/viewer/assets/jsonc-BXDfCMmu.js.map +1 -0
- package/dist/viewer/assets/jsx-DAWscEnf.js +2 -0
- package/dist/viewer/assets/jsx-DAWscEnf.js.map +1 -0
- package/dist/viewer/assets/main-C-2CHTN_.js +15 -0
- package/dist/viewer/assets/main-C-2CHTN_.js.map +1 -0
- package/dist/viewer/assets/markdown-Cx1FMNw-.js +2 -0
- package/dist/viewer/assets/markdown-Cx1FMNw-.js.map +1 -0
- package/dist/viewer/assets/panels-entry-Ddhfjgf0.js +46 -0
- package/dist/viewer/assets/panels-entry-Ddhfjgf0.js.map +1 -0
- package/dist/viewer/assets/python-CYPKjWV9.js +2 -0
- package/dist/viewer/assets/python-CYPKjWV9.js.map +1 -0
- package/dist/viewer/assets/rust-0e5cNx_V.js +2 -0
- package/dist/viewer/assets/rust-0e5cNx_V.js.map +1 -0
- package/dist/viewer/assets/scss-B-aKzLbT.js +2 -0
- package/dist/viewer/assets/scss-B-aKzLbT.js.map +1 -0
- package/dist/viewer/assets/shellscript-CpXD-pSm.js +2 -0
- package/dist/viewer/assets/shellscript-CpXD-pSm.js.map +1 -0
- package/dist/viewer/assets/style-ClttNKZk.css +2 -0
- package/dist/viewer/assets/styles-BXozhwiU.js +11 -0
- package/dist/viewer/assets/styles-BXozhwiU.js.map +1 -0
- package/dist/viewer/assets/toml-GmchYTXa.js +2 -0
- package/dist/viewer/assets/toml-GmchYTXa.js.map +1 -0
- package/dist/viewer/assets/tsx-Crj1Bi53.js +2 -0
- package/dist/viewer/assets/tsx-Crj1Bi53.js.map +1 -0
- package/dist/viewer/assets/typescript-xi0cSHCO.js +2 -0
- package/dist/viewer/assets/typescript-xi0cSHCO.js.map +1 -0
- package/dist/viewer/assets/wgsl-BoEPRo9U.js +2 -0
- package/dist/viewer/assets/wgsl-BoEPRo9U.js.map +1 -0
- package/dist/viewer/assets/xml-B8JqQrMD.js +2 -0
- package/dist/viewer/assets/xml-B8JqQrMD.js.map +1 -0
- package/dist/viewer/assets/yaml-DsIB85X9.js +2 -0
- package/dist/viewer/assets/yaml-DsIB85X9.js.map +1 -0
- package/dist/viewer/index.html +15 -0
- package/dist/viewer/panels.js +1 -0
- package/host.pack.json +13 -0
- package/package.json +174 -0
- package/skills/forgeax-view-cli/SKILL.md +74 -0
- package/skills/forgeax-view-start/SKILL.md +202 -0
- package/skills/forgeax-view-start/scripts/start-view.mjs +202 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createViewBackend,
|
|
3
|
+
createViewHostBinding,
|
|
4
|
+
createViewPlatformBinding
|
|
5
|
+
} from "./chunks/chunk-EPSTTHWV.mjs";
|
|
6
|
+
import "./chunks/chunk-XFQT7XCG.mjs";
|
|
7
|
+
import "./chunks/chunk-L45W6KM6.mjs";
|
|
8
|
+
import "./chunks/chunk-XUYFV23R.mjs";
|
|
9
|
+
import "./chunks/chunk-QD6CCRMG.mjs";
|
|
10
|
+
import "./chunks/chunk-JHOURMYW.mjs";
|
|
11
|
+
import "./chunks/chunk-R4I4JEY5.mjs";
|
|
12
|
+
import "./chunks/chunk-C45U6IIY.mjs";
|
|
13
|
+
import "./chunks/chunk-IVHNYKZB.mjs";
|
|
14
|
+
import "./chunks/chunk-73UZNRHN.mjs";
|
|
15
|
+
import "./chunks/chunk-KHRTIZ56.mjs";
|
|
16
|
+
import "./chunks/chunk-IGRMZYRD.mjs";
|
|
17
|
+
import "./chunks/chunk-H3M22JDL.mjs";
|
|
18
|
+
import "./chunks/chunk-RXF7SBBZ.mjs";
|
|
19
|
+
import "./chunks/chunk-Y5HXCPPQ.mjs";
|
|
20
|
+
import "./chunks/chunk-QK6W7MJO.mjs";
|
|
21
|
+
import "./chunks/chunk-VIGOJWSO.mjs";
|
|
22
|
+
import "./chunks/chunk-7URFF53W.mjs";
|
|
23
|
+
import "./chunks/chunk-KNBAYU5I.mjs";
|
|
24
|
+
import "./chunks/chunk-TSAEK5P3.mjs";
|
|
25
|
+
import "./chunks/chunk-VZXGRZYU.mjs";
|
|
26
|
+
import "./chunks/chunk-VDZJWEAA.mjs";
|
|
27
|
+
import "./chunks/chunk-EJGBVKFE.mjs";
|
|
28
|
+
import "./chunks/chunk-D7GWRZLL.mjs";
|
|
29
|
+
import "./chunks/chunk-NBLGKTEM.mjs";
|
|
30
|
+
import "./chunks/chunk-YYXQDUVT.mjs";
|
|
31
|
+
import "./chunks/chunk-LERMYZRC.mjs";
|
|
32
|
+
import "./chunks/chunk-ALT7XVMQ.mjs";
|
|
33
|
+
import "./chunks/chunk-SSQMQJ52.mjs";
|
|
34
|
+
import "./chunks/chunk-C7R3YRA7.mjs";
|
|
35
|
+
import "./chunks/chunk-VY3S5BWI.mjs";
|
|
36
|
+
import "./chunks/chunk-FMCACPX5.mjs";
|
|
37
|
+
import "./chunks/chunk-FKCQYDLX.mjs";
|
|
38
|
+
import "./chunks/chunk-2IJKOG2F.mjs";
|
|
39
|
+
import "./chunks/chunk-ASI2HBE6.mjs";
|
|
40
|
+
import "./chunks/chunk-RR6L6VVR.mjs";
|
|
41
|
+
import "./chunks/chunk-46O5WX43.mjs";
|
|
42
|
+
import "./chunks/chunk-FJM6WWIY.mjs";
|
|
43
|
+
import "./chunks/chunk-32GD5LL6.mjs";
|
|
44
|
+
import "./chunks/chunk-TP26TASL.mjs";
|
|
45
|
+
import "./chunks/chunk-ZLNWF4ET.mjs";
|
|
46
|
+
import "./chunks/chunk-CUH2G6UF.mjs";
|
|
47
|
+
import "./chunks/chunk-GQBZMCTK.mjs";
|
|
48
|
+
import "./chunks/chunk-FLGC65SR.mjs";
|
|
49
|
+
export {
|
|
50
|
+
createViewBackend,
|
|
51
|
+
createViewHostBinding,
|
|
52
|
+
createViewPlatformBinding
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=backend.mjs.map
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VIEW_LAYOUT_HOST_ID
|
|
3
|
+
} from "./chunks/chunk-7YSDRIFN.mjs";
|
|
4
|
+
import {
|
|
5
|
+
VIEW_EXTENSION_CAPABILITIES,
|
|
6
|
+
VIEW_EXTENSION_ID,
|
|
7
|
+
createViewExtensionTransport,
|
|
8
|
+
createViewExtensionWorkspaceClient
|
|
9
|
+
} from "./chunks/chunk-LKJCXYSJ.mjs";
|
|
10
|
+
import {
|
|
11
|
+
connectViewFrontend,
|
|
12
|
+
mountViewViewer,
|
|
13
|
+
mountViewWorkspace
|
|
14
|
+
} from "./chunks/chunk-ZFXZ2NUI.mjs";
|
|
15
|
+
import {
|
|
16
|
+
createViewSlotRegistry
|
|
17
|
+
} from "./chunks/chunk-SR66S6EJ.mjs";
|
|
18
|
+
import "./chunks/chunk-YVQSDKAO.mjs";
|
|
19
|
+
import "./chunks/chunk-4WXD2KYX.mjs";
|
|
20
|
+
import "./chunks/chunk-GYWIY7AL.mjs";
|
|
21
|
+
import "./chunks/chunk-QURKBAG4.mjs";
|
|
22
|
+
import "./chunks/chunk-6ZWWVAZK.mjs";
|
|
23
|
+
import "./chunks/chunk-MBS3EICT.mjs";
|
|
24
|
+
import "./chunks/chunk-QLBQQKRI.mjs";
|
|
25
|
+
import "./chunks/chunk-ZNZPYE2V.mjs";
|
|
26
|
+
import "./chunks/chunk-NBJKLWJ5.mjs";
|
|
27
|
+
import "./chunks/chunk-AL6ZWIEU.mjs";
|
|
28
|
+
import "./chunks/chunk-UAY27HT3.mjs";
|
|
29
|
+
import "./chunks/chunk-YTHGRKGI.mjs";
|
|
30
|
+
import {
|
|
31
|
+
ViewWorkspaceInputController,
|
|
32
|
+
ViewWorkspaceShell,
|
|
33
|
+
createBrowserPagePresentation
|
|
34
|
+
} from "./chunks/chunk-QSKQZGK7.mjs";
|
|
35
|
+
import "./chunks/chunk-7TGVWKH7.mjs";
|
|
36
|
+
import "./chunks/chunk-UDVQHPWV.mjs";
|
|
37
|
+
import "./chunks/chunk-PEUT3FW7.mjs";
|
|
38
|
+
import "./chunks/chunk-UDLIWGWS.mjs";
|
|
39
|
+
import "./chunks/chunk-4BXQOUDQ.mjs";
|
|
40
|
+
import "./chunks/chunk-G7BAFAGO.mjs";
|
|
41
|
+
import "./chunks/chunk-QF4V23GW.mjs";
|
|
42
|
+
import "./chunks/chunk-FV3DSKZB.mjs";
|
|
43
|
+
import "./chunks/chunk-OBK4LIJB.mjs";
|
|
44
|
+
import {
|
|
45
|
+
VIEW_INSPECTOR_API_VERSION,
|
|
46
|
+
VIEW_INSPECTOR_OPERATIONS,
|
|
47
|
+
VIEW_INSPECTOR_SERVICES,
|
|
48
|
+
VIEW_INSPECTOR_TOPIC,
|
|
49
|
+
ViewInspectorClient,
|
|
50
|
+
ViewInspectorPanel,
|
|
51
|
+
createInspectorRequest,
|
|
52
|
+
createViewInspectorToolContributions
|
|
53
|
+
} from "./chunks/chunk-KHRTIZ56.mjs";
|
|
54
|
+
import "./chunks/chunk-IGRMZYRD.mjs";
|
|
55
|
+
import "./chunks/chunk-H3M22JDL.mjs";
|
|
56
|
+
import "./chunks/chunk-RXF7SBBZ.mjs";
|
|
57
|
+
import "./chunks/chunk-Y5HXCPPQ.mjs";
|
|
58
|
+
import "./chunks/chunk-QK6W7MJO.mjs";
|
|
59
|
+
import "./chunks/chunk-VIGOJWSO.mjs";
|
|
60
|
+
import "./chunks/chunk-7URFF53W.mjs";
|
|
61
|
+
import {
|
|
62
|
+
DISPLAY_SURFACE_ID
|
|
63
|
+
} from "./chunks/chunk-KNBAYU5I.mjs";
|
|
64
|
+
import "./chunks/chunk-TSAEK5P3.mjs";
|
|
65
|
+
import "./chunks/chunk-VZXGRZYU.mjs";
|
|
66
|
+
import "./chunks/chunk-VDZJWEAA.mjs";
|
|
67
|
+
import "./chunks/chunk-EJGBVKFE.mjs";
|
|
68
|
+
import "./chunks/chunk-D7GWRZLL.mjs";
|
|
69
|
+
import "./chunks/chunk-NBLGKTEM.mjs";
|
|
70
|
+
import "./chunks/chunk-YYXQDUVT.mjs";
|
|
71
|
+
import "./chunks/chunk-LERMYZRC.mjs";
|
|
72
|
+
import "./chunks/chunk-ALT7XVMQ.mjs";
|
|
73
|
+
import "./chunks/chunk-SSQMQJ52.mjs";
|
|
74
|
+
import "./chunks/chunk-C7R3YRA7.mjs";
|
|
75
|
+
import {
|
|
76
|
+
ViewWorkspaceClient,
|
|
77
|
+
createViewWorkspaceClient
|
|
78
|
+
} from "./chunks/chunk-VY3S5BWI.mjs";
|
|
79
|
+
import "./chunks/chunk-FMCACPX5.mjs";
|
|
80
|
+
import "./chunks/chunk-FKCQYDLX.mjs";
|
|
81
|
+
import "./chunks/chunk-2IJKOG2F.mjs";
|
|
82
|
+
import "./chunks/chunk-ASI2HBE6.mjs";
|
|
83
|
+
import "./chunks/chunk-RR6L6VVR.mjs";
|
|
84
|
+
import "./chunks/chunk-46O5WX43.mjs";
|
|
85
|
+
import "./chunks/chunk-FJM6WWIY.mjs";
|
|
86
|
+
import {
|
|
87
|
+
VIEW_DISPLAY_TAB_ID,
|
|
88
|
+
VIEW_FILE_GET_SERVICE,
|
|
89
|
+
VIEW_PAGE_TYPES,
|
|
90
|
+
VIEW_WORKSPACE_API_VERSION,
|
|
91
|
+
VIEW_WORKSPACE_COOK_MODES,
|
|
92
|
+
VIEW_WORKSPACE_CORE_OPERATIONS,
|
|
93
|
+
VIEW_WORKSPACE_DOMAIN_OPERATIONS,
|
|
94
|
+
VIEW_WORKSPACE_OPERATIONS,
|
|
95
|
+
VIEW_WORKSPACE_SERVICES,
|
|
96
|
+
VIEW_WORKSPACE_STATE_TOPIC,
|
|
97
|
+
VIEW_WORKSPACE_TAB_ID,
|
|
98
|
+
ViewWorkspaceError,
|
|
99
|
+
assertWorkspaceRequest,
|
|
100
|
+
cloneWorkspaceValue,
|
|
101
|
+
createWorkspaceRequest,
|
|
102
|
+
isOpaqueWorkspaceDiagnostic,
|
|
103
|
+
jsonUnchanged,
|
|
104
|
+
requireWorkspaceInteger,
|
|
105
|
+
requireWorkspaceObject,
|
|
106
|
+
requireWorkspaceString,
|
|
107
|
+
serializeWorkspaceAsset,
|
|
108
|
+
serializeWorkspaceDdc,
|
|
109
|
+
serializeWorkspaceInspection,
|
|
110
|
+
serializeWorkspaceOpenRequest,
|
|
111
|
+
serializeWorkspaceProject,
|
|
112
|
+
serializeWorkspaceResourceOpens,
|
|
113
|
+
serializeWorkspaceState,
|
|
114
|
+
serializeWorkspaceTarget,
|
|
115
|
+
workspaceCapabilities,
|
|
116
|
+
workspaceError,
|
|
117
|
+
workspaceInspectionFactRows,
|
|
118
|
+
workspaceUiFingerprint
|
|
119
|
+
} from "./chunks/chunk-32GD5LL6.mjs";
|
|
120
|
+
import "./chunks/chunk-TP26TASL.mjs";
|
|
121
|
+
import "./chunks/chunk-ZLNWF4ET.mjs";
|
|
122
|
+
import "./chunks/chunk-FLGC65SR.mjs";
|
|
123
|
+
export {
|
|
124
|
+
DISPLAY_SURFACE_ID as VIEW_DISPLAY_SURFACE_ID,
|
|
125
|
+
VIEW_DISPLAY_TAB_ID,
|
|
126
|
+
VIEW_EXTENSION_CAPABILITIES,
|
|
127
|
+
VIEW_EXTENSION_ID,
|
|
128
|
+
VIEW_FILE_GET_SERVICE,
|
|
129
|
+
VIEW_INSPECTOR_API_VERSION,
|
|
130
|
+
VIEW_INSPECTOR_OPERATIONS,
|
|
131
|
+
VIEW_INSPECTOR_SERVICES,
|
|
132
|
+
VIEW_INSPECTOR_TOPIC,
|
|
133
|
+
VIEW_LAYOUT_HOST_ID,
|
|
134
|
+
VIEW_PAGE_TYPES,
|
|
135
|
+
VIEW_WORKSPACE_API_VERSION,
|
|
136
|
+
VIEW_WORKSPACE_COOK_MODES,
|
|
137
|
+
VIEW_WORKSPACE_CORE_OPERATIONS,
|
|
138
|
+
VIEW_WORKSPACE_DOMAIN_OPERATIONS,
|
|
139
|
+
VIEW_WORKSPACE_OPERATIONS,
|
|
140
|
+
VIEW_WORKSPACE_SERVICES,
|
|
141
|
+
VIEW_WORKSPACE_STATE_TOPIC,
|
|
142
|
+
VIEW_WORKSPACE_TAB_ID,
|
|
143
|
+
ViewInspectorClient,
|
|
144
|
+
ViewInspectorPanel,
|
|
145
|
+
ViewWorkspaceClient,
|
|
146
|
+
ViewWorkspaceError,
|
|
147
|
+
ViewWorkspaceInputController,
|
|
148
|
+
ViewWorkspaceShell,
|
|
149
|
+
assertWorkspaceRequest,
|
|
150
|
+
cloneWorkspaceValue,
|
|
151
|
+
connectViewFrontend,
|
|
152
|
+
createBrowserPagePresentation,
|
|
153
|
+
createInspectorRequest,
|
|
154
|
+
createViewExtensionTransport,
|
|
155
|
+
createViewExtensionWorkspaceClient,
|
|
156
|
+
createViewInspectorToolContributions,
|
|
157
|
+
createViewSlotRegistry,
|
|
158
|
+
createViewWorkspaceClient,
|
|
159
|
+
createWorkspaceRequest,
|
|
160
|
+
isOpaqueWorkspaceDiagnostic,
|
|
161
|
+
jsonUnchanged,
|
|
162
|
+
mountViewViewer,
|
|
163
|
+
mountViewWorkspace,
|
|
164
|
+
requireWorkspaceInteger,
|
|
165
|
+
requireWorkspaceObject,
|
|
166
|
+
requireWorkspaceString,
|
|
167
|
+
serializeWorkspaceAsset,
|
|
168
|
+
serializeWorkspaceDdc,
|
|
169
|
+
serializeWorkspaceInspection,
|
|
170
|
+
serializeWorkspaceOpenRequest,
|
|
171
|
+
serializeWorkspaceProject,
|
|
172
|
+
serializeWorkspaceResourceOpens,
|
|
173
|
+
serializeWorkspaceState,
|
|
174
|
+
serializeWorkspaceTarget,
|
|
175
|
+
workspaceCapabilities,
|
|
176
|
+
workspaceError,
|
|
177
|
+
workspaceInspectionFactRows,
|
|
178
|
+
workspaceUiFingerprint
|
|
179
|
+
};
|
|
180
|
+
//# sourceMappingURL=browser.mjs.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BROWSER_CARRIER,
|
|
3
|
+
FALLBACK_REASONS,
|
|
4
|
+
GPU_MODES,
|
|
5
|
+
VIEW_CARRIER,
|
|
6
|
+
VIEW_PROTOCOL,
|
|
7
|
+
VIEW_PROTOCOL_VERSION,
|
|
8
|
+
assertLeaseTarget,
|
|
9
|
+
browserFallback,
|
|
10
|
+
createLeaseRequest,
|
|
11
|
+
createRunIdentity,
|
|
12
|
+
deserializeRequest,
|
|
13
|
+
isFallbackDecision,
|
|
14
|
+
normalizeRunIdentity,
|
|
15
|
+
sameRun,
|
|
16
|
+
serializeTarget,
|
|
17
|
+
viewDecision
|
|
18
|
+
} from "./chunks/chunk-GQBZMCTK.mjs";
|
|
19
|
+
import "./chunks/chunk-FLGC65SR.mjs";
|
|
20
|
+
export {
|
|
21
|
+
BROWSER_CARRIER,
|
|
22
|
+
FALLBACK_REASONS,
|
|
23
|
+
GPU_MODES,
|
|
24
|
+
VIEW_CARRIER,
|
|
25
|
+
VIEW_PROTOCOL,
|
|
26
|
+
VIEW_PROTOCOL_VERSION,
|
|
27
|
+
assertLeaseTarget,
|
|
28
|
+
browserFallback,
|
|
29
|
+
createLeaseRequest,
|
|
30
|
+
createRunIdentity,
|
|
31
|
+
deserializeRequest,
|
|
32
|
+
isFallbackDecision,
|
|
33
|
+
normalizeRunIdentity,
|
|
34
|
+
sameRun,
|
|
35
|
+
serializeTarget,
|
|
36
|
+
viewDecision
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=carrier-contract.mjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VIEW_ENGINE_CARRIER_CONTRACT,
|
|
3
|
+
ViewCarrierAdapter,
|
|
4
|
+
createViewCarrierAdapter
|
|
5
|
+
} from "./chunks/chunk-CUH2G6UF.mjs";
|
|
6
|
+
import "./chunks/chunk-GQBZMCTK.mjs";
|
|
7
|
+
import "./chunks/chunk-FLGC65SR.mjs";
|
|
8
|
+
export {
|
|
9
|
+
VIEW_ENGINE_CARRIER_CONTRACT,
|
|
10
|
+
ViewCarrierAdapter,
|
|
11
|
+
createViewCarrierAdapter
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=carrier.mjs.map
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import {
|
|
2
|
+
connectViewWorkspace
|
|
3
|
+
} from "./chunk-73UZNRHN.mjs";
|
|
4
|
+
import {
|
|
5
|
+
VIEW_WORKSPACE_OPERATIONS
|
|
6
|
+
} from "./chunk-32GD5LL6.mjs";
|
|
7
|
+
|
|
8
|
+
// src/cli.mjs
|
|
9
|
+
import { randomUUID } from "node:crypto";
|
|
10
|
+
import { realpathSync } from "node:fs";
|
|
11
|
+
import { fileURLToPath } from "node:url";
|
|
12
|
+
var HELP = `forgeax-view workspace
|
|
13
|
+
|
|
14
|
+
Call the View workspace API through the resident Engine Host.
|
|
15
|
+
|
|
16
|
+
Usage:
|
|
17
|
+
forgeax-view workspace --operation <operation> [--args <json>] [options]
|
|
18
|
+
forgeax-view workspace --batch <json-array> [options]
|
|
19
|
+
|
|
20
|
+
Operations:
|
|
21
|
+
${VIEW_WORKSPACE_OPERATIONS.join(", ")}
|
|
22
|
+
|
|
23
|
+
Connection options:
|
|
24
|
+
--endpoint <ws-url> or FORGEAX_VIEW_WORKSPACE_ENDPOINT
|
|
25
|
+
--token <token> or FORGEAX_VIEW_WORKSPACE_TOKEN
|
|
26
|
+
--client-id <id> or FORGEAX_VIEW_CLIENT_ID (default: unique per process)
|
|
27
|
+
--follow keep plugins.watch subscribed until disconnect or abort
|
|
28
|
+
|
|
29
|
+
The JSON passed to --args is sent unchanged to the Engine-owned API. This
|
|
30
|
+
command does not implement project, asset, scene, or camera behavior locally.
|
|
31
|
+
Use --batch to keep one authenticated client connection for a camera
|
|
32
|
+
begin/update/commit transaction. Inspector watch requires --follow so the
|
|
33
|
+
authenticated subscription remains alive after the watch response.
|
|
34
|
+
`;
|
|
35
|
+
var OPERATIONS = new Set(VIEW_WORKSPACE_OPERATIONS);
|
|
36
|
+
function valueAfter(argv, index, flag) {
|
|
37
|
+
const value = argv[index + 1];
|
|
38
|
+
if (value === void 0 || value.startsWith("--")) {
|
|
39
|
+
throw new Error(`${flag} requires a value`);
|
|
40
|
+
}
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
function parseArgs(argv, env = process.env) {
|
|
44
|
+
let endpoint = env.FORGEAX_VIEW_WORKSPACE_ENDPOINT;
|
|
45
|
+
let token = env.FORGEAX_VIEW_WORKSPACE_TOKEN;
|
|
46
|
+
let clientId = env.FORGEAX_VIEW_CLIENT_ID;
|
|
47
|
+
let operation;
|
|
48
|
+
let input = "{}";
|
|
49
|
+
let inputSeen = false;
|
|
50
|
+
let batchInput;
|
|
51
|
+
let follow = false;
|
|
52
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
53
|
+
const flag = argv[index];
|
|
54
|
+
if (flag === "--help" || flag === "-h") return { help: true };
|
|
55
|
+
if (flag === "--endpoint") {
|
|
56
|
+
endpoint = valueAfter(argv, index, flag);
|
|
57
|
+
index += 1;
|
|
58
|
+
} else if (flag === "--token") {
|
|
59
|
+
token = valueAfter(argv, index, flag);
|
|
60
|
+
index += 1;
|
|
61
|
+
} else if (flag === "--client-id") {
|
|
62
|
+
clientId = valueAfter(argv, index, flag);
|
|
63
|
+
index += 1;
|
|
64
|
+
} else if (flag === "--operation") {
|
|
65
|
+
operation = valueAfter(argv, index, flag);
|
|
66
|
+
index += 1;
|
|
67
|
+
} else if (flag === "--args") {
|
|
68
|
+
input = valueAfter(argv, index, flag);
|
|
69
|
+
inputSeen = true;
|
|
70
|
+
index += 1;
|
|
71
|
+
} else if (flag === "--batch") {
|
|
72
|
+
batchInput = valueAfter(argv, index, flag);
|
|
73
|
+
index += 1;
|
|
74
|
+
} else if (flag === "--follow") {
|
|
75
|
+
follow = true;
|
|
76
|
+
} else if (flag === "workspace" || flag === "call") {
|
|
77
|
+
} else if (operation === void 0 && !flag.startsWith("--")) {
|
|
78
|
+
operation = flag;
|
|
79
|
+
} else {
|
|
80
|
+
throw new Error(`unknown argument ${flag}`);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (batchInput !== void 0 && (operation !== void 0 || inputSeen))
|
|
84
|
+
throw new Error("--operation/--args cannot be combined with --batch");
|
|
85
|
+
if (operation === void 0 && batchInput === void 0) throw new Error("workspace operation is required");
|
|
86
|
+
if (follow && (batchInput !== void 0 || operation !== "plugins.watch")) {
|
|
87
|
+
throw new Error("--follow is only supported for plugins.watch");
|
|
88
|
+
}
|
|
89
|
+
if (typeof endpoint !== "string" || endpoint.trim() === "") {
|
|
90
|
+
throw new Error("View workspace endpoint is required (--endpoint or FORGEAX_VIEW_WORKSPACE_ENDPOINT)");
|
|
91
|
+
}
|
|
92
|
+
if (typeof token !== "string" || token.trim() === "") {
|
|
93
|
+
throw new Error("View workspace token is required (--token or FORGEAX_VIEW_WORKSPACE_TOKEN)");
|
|
94
|
+
}
|
|
95
|
+
const parseObject = (raw, flag) => {
|
|
96
|
+
let value;
|
|
97
|
+
try {
|
|
98
|
+
value = JSON.parse(raw);
|
|
99
|
+
} catch {
|
|
100
|
+
throw new Error(`${flag} must be valid JSON`);
|
|
101
|
+
}
|
|
102
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) {
|
|
103
|
+
throw new Error(`${flag} must be a JSON object`);
|
|
104
|
+
}
|
|
105
|
+
return value;
|
|
106
|
+
};
|
|
107
|
+
const parseOperation = (candidate) => {
|
|
108
|
+
if (typeof candidate !== "string" || !OPERATIONS.has(candidate)) {
|
|
109
|
+
throw new Error(`unsupported workspace operation ${candidate}`);
|
|
110
|
+
}
|
|
111
|
+
return candidate;
|
|
112
|
+
};
|
|
113
|
+
if (operation === "plugins.watch" && !follow && batchInput === void 0) {
|
|
114
|
+
throw new Error("plugins.watch requires --follow to keep the subscription alive");
|
|
115
|
+
}
|
|
116
|
+
const client = clientId ?? `forgeax-cli-${randomUUID()}`;
|
|
117
|
+
if (batchInput !== void 0) {
|
|
118
|
+
let batch;
|
|
119
|
+
try {
|
|
120
|
+
batch = JSON.parse(batchInput);
|
|
121
|
+
} catch {
|
|
122
|
+
throw new Error("--batch must be valid JSON");
|
|
123
|
+
}
|
|
124
|
+
if (!Array.isArray(batch) || batch.length === 0) throw new Error("--batch must be a non-empty JSON array");
|
|
125
|
+
const calls = batch.map((entry, index) => {
|
|
126
|
+
if (entry === null || typeof entry !== "object" || Array.isArray(entry)) {
|
|
127
|
+
throw new Error(`--batch item ${index} must be an object`);
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
operation: parseOperation(entry.operation),
|
|
131
|
+
args: entry.args === void 0 ? {} : parseObject(JSON.stringify(entry.args), `--batch item ${index}.args`)
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
return { endpoint, token, clientId: client, batch: calls };
|
|
135
|
+
}
|
|
136
|
+
return {
|
|
137
|
+
endpoint,
|
|
138
|
+
token,
|
|
139
|
+
clientId: client,
|
|
140
|
+
operation: parseOperation(operation),
|
|
141
|
+
args: parseObject(input, "--args"),
|
|
142
|
+
follow
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function resultError(error) {
|
|
146
|
+
return {
|
|
147
|
+
ok: false,
|
|
148
|
+
error: {
|
|
149
|
+
code: typeof error?.code === "string" ? error.code : "view-cli-failed",
|
|
150
|
+
...typeof error?.expected === "string" ? { expected: error.expected } : {},
|
|
151
|
+
hint: typeof error?.hint === "string" ? error.hint : error?.message ?? String(error),
|
|
152
|
+
...error?.detail === void 0 ? {} : { detail: error.detail }
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
async function runViewWorkspaceCli(argv, { connect = connectViewWorkspace, signal } = {}) {
|
|
157
|
+
let options;
|
|
158
|
+
try {
|
|
159
|
+
options = parseArgs(argv);
|
|
160
|
+
if (options.help) return { exitCode: 0, value: HELP };
|
|
161
|
+
const client = await connect({
|
|
162
|
+
endpoint: options.endpoint,
|
|
163
|
+
token: options.token,
|
|
164
|
+
clientId: options.clientId
|
|
165
|
+
});
|
|
166
|
+
try {
|
|
167
|
+
let value;
|
|
168
|
+
if (options.batch === void 0) {
|
|
169
|
+
value = await client.call(options.operation, options.args, { signal });
|
|
170
|
+
} else {
|
|
171
|
+
value = [];
|
|
172
|
+
for (const call of options.batch)
|
|
173
|
+
value.push(await client.call(call.operation, call.args, { signal }));
|
|
174
|
+
}
|
|
175
|
+
if (options.follow) {
|
|
176
|
+
const events = [];
|
|
177
|
+
const unsubscribe = client.subscribeInspector?.((event) => events.push(event));
|
|
178
|
+
await new Promise((resolve) => {
|
|
179
|
+
if (signal?.aborted) {
|
|
180
|
+
resolve();
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const onAbort = () => {
|
|
184
|
+
signal?.removeEventListener("abort", onAbort);
|
|
185
|
+
removeDisconnect?.();
|
|
186
|
+
resolve();
|
|
187
|
+
};
|
|
188
|
+
const removeDisconnect = client.onDisconnect?.(() => {
|
|
189
|
+
signal?.removeEventListener("abort", onAbort);
|
|
190
|
+
resolve();
|
|
191
|
+
});
|
|
192
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
193
|
+
});
|
|
194
|
+
unsubscribe?.();
|
|
195
|
+
return { exitCode: 0, value: { ok: true, value, events } };
|
|
196
|
+
}
|
|
197
|
+
return { exitCode: 0, value: { ok: true, value } };
|
|
198
|
+
} finally {
|
|
199
|
+
client.close?.("view CLI request complete");
|
|
200
|
+
}
|
|
201
|
+
} catch (error) {
|
|
202
|
+
return { exitCode: 1, value: resultError(error) };
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
function isDirectInvocation() {
|
|
206
|
+
if (process.argv[1] === void 0) return false;
|
|
207
|
+
const modulePath = fileURLToPath(import.meta.url);
|
|
208
|
+
try {
|
|
209
|
+
return realpathSync(process.argv[1]) === realpathSync(modulePath);
|
|
210
|
+
} catch {
|
|
211
|
+
return process.argv[1] === modulePath;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (isDirectInvocation()) {
|
|
215
|
+
const result = await runViewWorkspaceCli(process.argv.slice(2));
|
|
216
|
+
if (typeof result.value === "string") process.stdout.write(result.value);
|
|
217
|
+
else process.stdout.write(`${JSON.stringify(result.value, null, result.value?.ok ? 0 : 2)}
|
|
218
|
+
`);
|
|
219
|
+
process.exitCode = result.exitCode;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export {
|
|
223
|
+
runViewWorkspaceCli
|
|
224
|
+
};
|
|
225
|
+
//# sourceMappingURL=chunk-2ASWB6IX.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/cli.mjs"],
|
|
4
|
+
"sourcesContent": ["#!/usr/bin/env node\n\nimport { randomUUID } from 'node:crypto';\nimport { realpathSync } from 'node:fs';\nimport { fileURLToPath } from 'node:url';\n\nimport { connectViewWorkspace } from '@forgeax/view-workspace-core/resident';\nimport { VIEW_WORKSPACE_OPERATIONS } from '@forgeax/view-workspace-core/contract';\n\nconst HELP = `forgeax-view workspace\n\nCall the View workspace API through the resident Engine Host.\n\nUsage:\n forgeax-view workspace --operation <operation> [--args <json>] [options]\n forgeax-view workspace --batch <json-array> [options]\n\nOperations:\n ${VIEW_WORKSPACE_OPERATIONS.join(', ')}\n\nConnection options:\n --endpoint <ws-url> or FORGEAX_VIEW_WORKSPACE_ENDPOINT\n --token <token> or FORGEAX_VIEW_WORKSPACE_TOKEN\n --client-id <id> or FORGEAX_VIEW_CLIENT_ID (default: unique per process)\n --follow keep plugins.watch subscribed until disconnect or abort\n\nThe JSON passed to --args is sent unchanged to the Engine-owned API. This\ncommand does not implement project, asset, scene, or camera behavior locally.\nUse --batch to keep one authenticated client connection for a camera\nbegin/update/commit transaction. Inspector watch requires --follow so the\nauthenticated subscription remains alive after the watch response.\n`;\n\nconst OPERATIONS = new Set(VIEW_WORKSPACE_OPERATIONS);\n\nfunction valueAfter(argv, index, flag) {\n const value = argv[index + 1];\n if (value === undefined || value.startsWith('--')) {\n throw new Error(`${flag} requires a value`);\n }\n return value;\n}\n\nfunction parseArgs(argv, env = process.env) {\n let endpoint = env.FORGEAX_VIEW_WORKSPACE_ENDPOINT;\n let token = env.FORGEAX_VIEW_WORKSPACE_TOKEN;\n let clientId = env.FORGEAX_VIEW_CLIENT_ID;\n let operation;\n let input = '{}';\n let inputSeen = false;\n let batchInput;\n let follow = false;\n for (let index = 0; index < argv.length; index += 1) {\n const flag = argv[index];\n if (flag === '--help' || flag === '-h') return { help: true };\n if (flag === '--endpoint') {\n endpoint = valueAfter(argv, index, flag);\n index += 1;\n } else if (flag === '--token') {\n token = valueAfter(argv, index, flag);\n index += 1;\n } else if (flag === '--client-id') {\n clientId = valueAfter(argv, index, flag);\n index += 1;\n } else if (flag === '--operation') {\n operation = valueAfter(argv, index, flag);\n index += 1;\n } else if (flag === '--args') {\n input = valueAfter(argv, index, flag);\n inputSeen = true;\n index += 1;\n } else if (flag === '--batch') {\n batchInput = valueAfter(argv, index, flag);\n index += 1;\n } else if (flag === '--follow') {\n follow = true;\n } else if (flag === 'workspace' || flag === 'call') {\n // Keep the command prefix explicit but allow the operation to be the\n // first positional for a short shell form.\n } else if (operation === undefined && !flag.startsWith('--')) {\n operation = flag;\n } else {\n throw new Error(`unknown argument ${flag}`);\n }\n }\n if (batchInput !== undefined && (operation !== undefined || inputSeen))\n throw new Error('--operation/--args cannot be combined with --batch');\n if (operation === undefined && batchInput === undefined) throw new Error('workspace operation is required');\n if (follow && (batchInput !== undefined || operation !== 'plugins.watch')) {\n throw new Error('--follow is only supported for plugins.watch');\n }\n if (typeof endpoint !== 'string' || endpoint.trim() === '') {\n throw new Error('View workspace endpoint is required (--endpoint or FORGEAX_VIEW_WORKSPACE_ENDPOINT)');\n }\n if (typeof token !== 'string' || token.trim() === '') {\n throw new Error('View workspace token is required (--token or FORGEAX_VIEW_WORKSPACE_TOKEN)');\n }\n const parseObject = (raw, flag) => {\n let value;\n try {\n value = JSON.parse(raw);\n } catch {\n throw new Error(`${flag} must be valid JSON`);\n }\n if (value === null || typeof value !== 'object' || Array.isArray(value)) {\n throw new Error(`${flag} must be a JSON object`);\n }\n return value;\n };\n const parseOperation = (candidate) => {\n if (typeof candidate !== 'string' || !OPERATIONS.has(candidate)) {\n throw new Error(`unsupported workspace operation ${candidate}`);\n }\n return candidate;\n };\n if (operation === 'plugins.watch' && !follow && batchInput === undefined) {\n throw new Error('plugins.watch requires --follow to keep the subscription alive');\n }\n const client = clientId ?? `forgeax-cli-${randomUUID()}`;\n if (batchInput !== undefined) {\n let batch;\n try {\n batch = JSON.parse(batchInput);\n } catch {\n throw new Error('--batch must be valid JSON');\n }\n if (!Array.isArray(batch) || batch.length === 0) throw new Error('--batch must be a non-empty JSON array');\n const calls = batch.map((entry, index) => {\n if (entry === null || typeof entry !== 'object' || Array.isArray(entry)) {\n throw new Error(`--batch item ${index} must be an object`);\n }\n return {\n operation: parseOperation(entry.operation),\n args: entry.args === undefined ? {} : parseObject(JSON.stringify(entry.args), `--batch item ${index}.args`),\n };\n });\n return { endpoint, token, clientId: client, batch: calls };\n }\n return {\n endpoint,\n token,\n clientId: client,\n operation: parseOperation(operation),\n args: parseObject(input, '--args'),\n follow,\n };\n}\n\nfunction resultError(error) {\n return {\n ok: false,\n error: {\n code: typeof error?.code === 'string' ? error.code : 'view-cli-failed',\n ...(typeof error?.expected === 'string' ? { expected: error.expected } : {}),\n hint: typeof error?.hint === 'string' ? error.hint : error?.message ?? String(error),\n ...(error?.detail === undefined ? {} : { detail: error.detail }),\n },\n };\n}\n\n/** Execute one thin CLI request; all domain semantics stay in View/Engine API. */\nexport async function runViewWorkspaceCli(argv, { connect = connectViewWorkspace, signal } = {}) {\n let options;\n try {\n options = parseArgs(argv);\n if (options.help) return { exitCode: 0, value: HELP };\n const client = await connect({\n endpoint: options.endpoint,\n token: options.token,\n clientId: options.clientId,\n });\n try {\n let value;\n if (options.batch === undefined) {\n value = await client.call(options.operation, options.args, { signal });\n } else {\n value = [];\n for (const call of options.batch)\n value.push(await client.call(call.operation, call.args, { signal }));\n }\n if (options.follow) {\n const events = [];\n const unsubscribe = client.subscribeInspector?.((event) => events.push(event));\n await new Promise((resolve) => {\n if (signal?.aborted) {\n resolve();\n return;\n }\n const onAbort = () => {\n signal?.removeEventListener('abort', onAbort);\n removeDisconnect?.();\n resolve();\n };\n const removeDisconnect = client.onDisconnect?.(() => {\n signal?.removeEventListener('abort', onAbort);\n resolve();\n });\n signal?.addEventListener('abort', onAbort, { once: true });\n });\n unsubscribe?.();\n return { exitCode: 0, value: { ok: true, value, events } };\n }\n return { exitCode: 0, value: { ok: true, value } };\n } finally {\n client.close?.('view CLI request complete');\n }\n } catch (error) {\n return { exitCode: 1, value: resultError(error) };\n }\n}\n\nfunction isDirectInvocation() {\n if (process.argv[1] === undefined) return false;\n const modulePath = fileURLToPath(import.meta.url);\n try {\n return realpathSync(process.argv[1]) === realpathSync(modulePath);\n } catch {\n return process.argv[1] === modulePath;\n }\n}\n\nif (isDirectInvocation()) {\n const result = await runViewWorkspaceCli(process.argv.slice(2));\n if (typeof result.value === 'string') process.stdout.write(result.value);\n else process.stdout.write(`${JSON.stringify(result.value, null, result.value?.ok ? 0 : 2)}\\n`);\n process.exitCode = result.exitCode;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAEA,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAK9B,IAAM,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAST,0BAA0B,KAAK,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