@volter/game-editor 0.5.113 → 0.5.114
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/BUNDLED_NOTICES +22 -22
- package/catalog/entries/blender.json +2 -2
- package/catalog/entries/music.json +2 -2
- package/dist/.vite/manifest.json +2162 -2162
- package/dist/assets/{AssetBudgetPanel-YOmIrgrb.js → AssetBudgetPanel-C2cPjuBg.js} +3 -3
- package/dist/assets/{AudioViewer-bTwqa-Sq.js → AudioViewer-Bpo_jpIi.js} +1 -1
- package/dist/assets/{CanvasBoardDocument-DH0GumqR.js → CanvasBoardDocument-DwBIeMZ4.js} +1 -1
- package/dist/assets/{CanvasSceneViewport-GSbXiEc2.js → CanvasSceneViewport-BNdmWk-Z.js} +1 -1
- package/dist/assets/{ColorInput-CM13COOy.js → ColorInput-BDfmeGV7.js} +1 -1
- package/dist/assets/{ColorPicker-EVo4ngxp.js → ColorPicker-CirredSr.js} +1 -1
- package/dist/assets/{EntityModelDocument-BTYbMslU.js → EntityModelDocument-CVSuhql6.js} +1 -1
- package/dist/assets/{EnvironmentAssetDocument-CxncdHY1.js → EnvironmentAssetDocument-zoSJqmVn.js} +1 -1
- package/dist/assets/{GameplaySessionTimeline-PDuA7cCk.js → GameplaySessionTimeline-CXuEu0EC.js} +1 -1
- package/dist/assets/{ImageViewer-Dr9tOsGR.js → ImageViewer-BlwxCH_J.js} +1 -1
- package/dist/assets/InspectorObjectPreview-BIP7icp4.js +1 -0
- package/dist/assets/{JsonAssetDocument-95S-d0FJ.js → JsonAssetDocument-Bca1OEvU.js} +1 -1
- package/dist/assets/{LiveModuleDocument-tqAYWVCZ.js → LiveModuleDocument-BKw3vGr0.js} +1 -1
- package/dist/assets/{LutAssetDocument-DOpqQnUe.js → LutAssetDocument-Cg-37y7Y.js} +1 -1
- package/dist/assets/{ModelAssetDocument-DrWymVJX.js → ModelAssetDocument-DMj74VoY.js} +1 -1
- package/dist/assets/{NonThreeAuthoringBootstrap-Gnetb5kf.js → NonThreeAuthoringBootstrap-CTZ5QGOi.js} +1 -1
- package/dist/assets/{Object3DDocumentToolbar-LEaER56N.js → Object3DDocumentToolbar-YqAXNX73.js} +1 -1
- package/dist/assets/Object3DDocumentViewport-BAFF8tXA.js +2 -0
- package/dist/assets/{Object3DPreview-CI9SLEn2.js → Object3DPreview-DhldNd5m.js} +1 -1
- package/dist/assets/{OnlineAssetDetail-C1_UGp0X.js → OnlineAssetDetail-ClT4eFxW.js} +1 -1
- package/dist/assets/{PlayBar-BqFW5mT2.js → PlayBar-Siahnvsw.js} +1 -1
- package/dist/assets/{QuarksAssetDocument-B1-XXOIo.js → QuarksAssetDocument-BCJCpXzv.js} +1 -1
- package/dist/assets/{ReactCanvasControls-BF1bVCnc.js → ReactCanvasControls-C2Dg7PAS.js} +1 -1
- package/dist/assets/{RootSelectionOverlay-BF32ngZd.js → RootSelectionOverlay-B76QTxXQ.js} +1 -1
- package/dist/assets/{ShaderAssetDocument-Dp1QXqID.js → ShaderAssetDocument-BC_bMDIb.js} +1 -1
- package/dist/assets/{ShadowEditor-4Db4i5w5.js → ShadowEditor-BmMIsUKh.js} +1 -1
- package/dist/assets/{SourceAssetViewer-BmlLDth6.js → SourceAssetViewer-Cq0O9fPd.js} +1 -1
- package/dist/assets/{StageHost-BQL5IEe5.js → StageHost-DL-rn1xw.js} +2 -2
- package/dist/assets/{StoryPreviewMount-wz2HTXNK.js → StoryPreviewMount-Bb6bAFFD.js} +1 -1
- package/dist/assets/{ThreeBoardDocument-DEAY51YS.js → ThreeBoardDocument-DVKtb195.js} +2 -2
- package/dist/assets/{ThreeIsolationSceneContent-BTsDcsEk.js → ThreeIsolationSceneContent-Cgn5gNZK.js} +1 -1
- package/dist/assets/{ToolObject3DPreview-DwuMA8jQ.js → ToolObject3DPreview-CC6zmX0_.js} +1 -1
- package/dist/assets/{Toolbar-D1TipTFF.js → Toolbar-CtuKETND.js} +1 -1
- package/dist/assets/{TransientHint-DzC7ZR7m.js → TransientHint-BznxmBhK.js} +1 -1
- package/dist/assets/{VideoViewer-Dh6AS4So.js → VideoViewer-Bf8CFBye.js} +1 -1
- package/dist/assets/{ViewportShadingMenu-B3YlrMIP.js → ViewportShadingMenu-CHI1Ybps.js} +1 -1
- package/dist/assets/{active-ingest-DyPN4pXx.js → active-ingest-CdkBLhUn.js} +2 -2
- package/dist/assets/{animation-clock-Cgc__YFh.js → animation-clock-iXNr3pAB.js} +1 -1
- package/dist/assets/{animation-mixers.service-gxCtRrOy.js → animation-mixers.service-44VFyY6S.js} +1 -1
- package/dist/assets/{animation-timeline.utility-DB9Ux44B.js → animation-timeline.utility-Dc7J3kL7.js} +1 -1
- package/dist/assets/{asset-budget-asset.menu-B00KTyex.js → asset-budget-asset.menu-2A17aYDp.js} +1 -1
- package/dist/assets/{asset-budget.action-DBNBL_EX.js → asset-budget.action-D5zTxlwK.js} +1 -1
- package/dist/assets/{asset-budget.document-BdNi2KSS.js → asset-budget.document-BnfZWG-Z.js} +1 -1
- package/dist/assets/{asset-budget.menu-B5ac_4XU.js → asset-budget.menu-B80Zj_Gc.js} +1 -1
- package/dist/assets/{asset-editor-persistence-BB9WAcxO.js → asset-editor-persistence-CDltpHCs.js} +1 -1
- package/dist/assets/{asset-loaders-BIr1M5-7.js → asset-loaders-CNaS8TZG.js} +1 -1
- package/dist/assets/{asset-preview-SYBnd0Vm.js → asset-preview-DJuOkxhj.js} +1 -1
- package/dist/assets/{audio-unlock.service-DzxNWnKh.js → audio-unlock.service-BrBhpJMC.js} +1 -1
- package/dist/assets/{audio.utility-B-NT_pSF.js → audio.utility-B4-eoTPZ.js} +1 -1
- package/dist/assets/autoplay.service-CFvofovm.js +1 -0
- package/dist/assets/{babylon-authoring-adapter-ClEvING-.js → babylon-authoring-adapter-vZdL2Gto.js} +1 -1
- package/dist/assets/{binding-resolver-DrkSEcWH.js → binding-resolver-OJ_J6yIE.js} +2 -2
- package/dist/assets/{blender-node-editor.document-BLudqWaR.js → blender-node-editor.document-BDczfFxt.js} +1 -1
- package/dist/assets/{blender-properties-tab-CgQrdCmF.js → blender-properties-tab-CjgK0Bbk.js} +1 -1
- package/dist/assets/{blender-runtime-host-DzGwnLBS.js → blender-runtime-host-Dlc9w0Zh.js} +1 -1
- package/dist/assets/{blender-runtime-skin-C2nxKTQ1.js → blender-runtime-skin-D1UM12LE.js} +1 -1
- package/dist/assets/{blender-runtime.document-DF4Kd_X3.js → blender-runtime.document-CCV5Y9OE.js} +1 -1
- package/dist/assets/{blender-screenshot.menu-CgmIjtZz.js → blender-screenshot.menu-C36rWtiC.js} +1 -1
- package/dist/assets/{blender-timeline.document-C4mTn6aP.js → blender-timeline.document-lk_PIJob.js} +1 -1
- package/dist/assets/{blender-uv-editor.document-CJAzjOUQ.js → blender-uv-editor.document-CTmIU4Kh.js} +1 -1
- package/dist/assets/{blender-version.status-D7gCX70i.js → blender-version.status-DJlu7qr4.js} +1 -1
- package/dist/assets/{blender.command-B6fKa6tA.js → blender.command-DzCCQQOZ.js} +1 -1
- package/dist/assets/{board-guides-CxjOETvX.js → board-guides-BlBRZmTQ.js} +1 -1
- package/dist/assets/{bridge.command-a-jcQB8T.js → bridge.command-ClY9S8Un.js} +3 -3
- package/dist/assets/{browserAll-BuXe7m07.js → browserAll-Mv9lBgrZ.js} +1 -1
- package/dist/assets/{build-player.document-BD0PnuJ8.js → build-player.document-Cy7MEpas.js} +1 -1
- package/dist/assets/{build-profiles.document-CVkrs6H4.js → build-profiles.document-WaCFbiLP.js} +1 -1
- package/dist/assets/{build-progress.status-FeI4UjwE.js → build-progress.status-DTcmGi_P.js} +1 -1
- package/dist/assets/{build-session-DgvoUFRy.js → build-session-DbpKkNJV.js} +1 -1
- package/dist/assets/{build.action-De0QZn5x.js → build.action-C2j5_dxu.js} +1 -1
- package/dist/assets/{build.command-Etx4MsuF.js → build.command-DioIRVgu.js} +1 -1
- package/dist/assets/{build.header-CrYpkM9P.js → build.header-BzewhRVE.js} +1 -1
- package/dist/assets/{build.menu-DblGKZpN.js → build.menu-BzXblcjm.js} +1 -1
- package/dist/assets/{build.service-CnNOfCLi.js → build.service-nY7pgo8P.js} +1 -1
- package/dist/assets/{camera-BfeEfKS0.js → camera-C4iahwRu.js} +1 -1
- package/dist/assets/{camera-runtime.inspector-Cz9u-_ud.js → camera-runtime.inspector-0hl6Lpc7.js} +1 -1
- package/dist/assets/{canvas-design-mount-Dw9d5RCT.js → canvas-design-mount-ZR59B_S-.js} +3 -3
- package/dist/assets/{canvas-entry-runtime-C2NiPlg5.js → canvas-entry-runtime-DfwjEnac.js} +2 -2
- package/dist/assets/{canvas-preview-frames-DgjyhrhI.js → canvas-preview-frames-BK9lbVhI.js} +1 -1
- package/dist/assets/{canvas-story-capture.service-DJNBPJ5i.js → canvas-story-capture.service-BB37SSiy.js} +2 -2
- package/dist/assets/{capability-coverage-DR7JrSFb.js → capability-coverage-BbGACSQ7.js} +1 -1
- package/dist/assets/{collaboration-presence-CANQ_L1j.js → collaboration-presence-Bsr8DNTC.js} +1 -1
- package/dist/assets/{collider-DfVDH8FN.js → collider-CNgw-tJm.js} +1 -1
- package/dist/assets/{component-board.service-CeMs1Lk8.js → component-board.service-ABJTCD9U.js} +2 -2
- package/dist/assets/{component-board.service-kbY79QZo.js → component-board.service-BkvLOF6E.js} +2 -2
- package/dist/assets/{component-board.service-DVoLrHrs.js → component-board.service-DrGTgtOW.js} +2 -2
- package/dist/assets/{component-contracts.service-MNL4lwbm.js → component-contracts.service-AJNTJQUd.js} +1 -1
- package/dist/assets/{component-instance-root-Cau6CbHE.js → component-instance-root-DSo9btvO.js} +1 -1
- package/dist/assets/{component-verbs.command-qIVRD_Xw.js → component-verbs.command-DAZikwtn.js} +1 -1
- package/dist/assets/{component-verbs.service-B5JxoJav.js → component-verbs.service-CbmTNwUC.js} +1 -1
- package/dist/assets/{config-RCXzlzsa.js → config-ByW2y5rs.js} +2 -2
- package/dist/assets/{configurations-IGbOtv8A.js → configurations-LzOt_ui9.js} +1 -1
- package/dist/assets/{connection.status-ByfpCgpC.js → connection.status-fh7qO4aP.js} +1 -1
- package/dist/assets/{constraints.inspector-uzln0fl-.js → constraints.inspector-BILU-OeN.js} +1 -1
- package/dist/assets/{content-bounds-D-AXJalq.js → content-bounds-kt7VKpcn.js} +1 -1
- package/dist/assets/{contract-system-adapters-DFS6S5jR.js → contract-system-adapters-Cozx6nCn.js} +1 -1
- package/dist/assets/{coverage.service-CVsV-Ujp.js → coverage.service-CswPRFnJ.js} +1 -1
- package/dist/assets/{create-runtime-SfhwBdX4.js → create-runtime-CNEjmtin.js} +1 -1
- package/dist/assets/{curve-o1Gq54K5.js → curve-BKb_W-u_.js} +1 -1
- package/dist/assets/{data-asset-BHGaqife.js → data-asset-C39Y1A_d.js} +1 -1
- package/dist/assets/{data-ref-BAsRympT.js → data-ref-tKY-R3JG.js} +1 -1
- package/dist/assets/{debug-bridge-CP_QGmkP.js → debug-bridge-CLBVU34P.js} +1 -1
- package/dist/assets/{debug-registry-CKJW2aaQ.js → debug-registry-PtCg-gAQ.js} +1 -1
- package/dist/assets/{deferred-ingest-play-NdjNkEVn.js → deferred-ingest-play-DlgkyiVk.js} +2 -2
- package/dist/assets/{design-time-canvas-mount-DkXsU3H1.js → design-time-canvas-mount-DlS15mlk.js} +2 -2
- package/dist/assets/{design-time-layers-BV3mP1Sf.js → design-time-layers-BSk9iy6A.js} +1 -1
- package/dist/assets/{design-time-mount.service-BrbX9-Z0.js → design-time-mount.service-bV28BtPG.js} +2 -2
- package/dist/assets/{design-time-mount.service-BFusXbnS.js → design-time-mount.service-yeuApmeU.js} +2 -2
- package/dist/assets/{design-time-react-mount-BYKVfWQS.js → design-time-react-mount-7EgUpZDW.js} +1 -1
- package/dist/assets/{document-preview-three-BOP4aWm7.js → document-preview-three-DcVcoC1y.js} +1 -1
- package/dist/assets/{dom-authoring-adapter-R0NT6Dgv.js → dom-authoring-adapter-Dnjvh9yG.js} +1 -1
- package/dist/assets/{draco3d-B28c7B_w.js → draco3d-3EapKinA.js} +1 -1
- package/dist/assets/{edit-mode-audio.service-D4hfjqDu.js → edit-mode-audio.service-ffiNgJwH.js} +1 -1
- package/dist/assets/{edit-mode-authoring-FKyNiefy.js → edit-mode-authoring-BEqEkXIT.js} +1 -1
- package/dist/assets/{edit-mode-networking.service-BixjLG2r.js → edit-mode-networking.service-9uQLb9Fc.js} +1 -1
- package/dist/assets/{editor-api-B8AYtjAH.js → editor-api-TexfN2js.js} +1 -1
- package/dist/assets/{editor-layers-L_zFs_uY.js → editor-layers-DB9_uFyw.js} +1 -1
- package/dist/assets/{editor-shell-store-DOiPmqow.js → editor-shell-store-DAFZw7de.js} +1 -1
- package/dist/assets/{entity-object-CvrkMcCz.js → entity-object-CG32Sh-D.js} +1 -1
- package/dist/assets/{extend-Kvra-g2p.js → extend-BJCYmdCg.js} +1 -1
- package/dist/assets/{fork-menu-BuRnpNg9.js → fork-menu-B0CAnsQ0.js} +1 -1
- package/dist/assets/{frame-debugger-store-Bz-SsB7V.js → frame-debugger-store-DRPBji06.js} +1 -1
- package/dist/assets/{game-contract-seams-gtPhkpZH.js → game-contract-seams-D3jp9kfH.js} +1 -1
- package/dist/assets/{game-css-scope-transform-BJ-6sqe3.js → game-css-scope-transform-CNq9C0a8.js} +1 -1
- package/dist/assets/{game-document.service-Dtsjp-QD.js → game-document.service-Ikp3u-8X.js} +1 -1
- package/dist/assets/{game-eval.command-Bx_q6yCj.js → game-eval.command-DR0dtfPa.js} +1 -1
- package/dist/assets/{game-module-access-C8FuQkAK.js → game-module-access-DceYIduW.js} +1 -1
- package/dist/assets/{game-network-BfrYV3Wu.js → game-network-DOCCFwtp.js} +3 -3
- package/dist/assets/{gameplay-export-CagiJo3l.js → gameplay-export-BfVqSEgT.js} +1 -1
- package/dist/assets/{gameplay-replay-BGDvgIWD.js → gameplay-replay-D9quLJQt.js} +1 -1
- package/dist/assets/{gameplay.command-C1gvtyuv.js → gameplay.command-CVuLo_kD.js} +1 -1
- package/dist/assets/{generation-jobs-B3vV9DA5.js → generation-jobs-dFYEPPwC.js} +1 -1
- package/dist/assets/{generation.service-CAQ3QEXE.js → generation.service-DtP2HZFd.js} +1 -1
- package/dist/assets/{generations-maNAZ6ie.js → generations-BqaARHQz.js} +1 -1
- package/dist/assets/{generations.status-BHOoDM64.js → generations.status-DpyocrDb.js} +1 -1
- package/dist/assets/{hierarchy-marks-BBOKHySh.js → hierarchy-marks-Ducimsnh.js} +1 -1
- package/dist/assets/{hosted-asset-materialization-1nbID23w.js → hosted-asset-materialization-CibGdw61.js} +1 -1
- package/dist/assets/{index-D7-TEN6k.js → index-4Vg6KHJs.js} +1 -1
- package/dist/assets/{index-DV2EMzou.js → index-BMshF0VP.js} +1 -1
- package/dist/assets/{index-BNk1xsv9.js → index-BaM5nplw.js} +1 -1
- package/dist/assets/{index-BUrCxsh5.js → index-CKoL9Z8h.js} +1 -1
- package/dist/assets/{index-DxZ4l0Lx.js → index-Cs_hnykK.js} +8 -8
- package/dist/assets/{index-CIQueasL.js → index-CyN2UjMe.js} +1 -1
- package/dist/assets/{index-CokH1Dgb.js → index-DMA-GnGs.js} +1 -1
- package/dist/assets/{index-y3CKXb3j.js → index-Df0th-r3.js} +1 -1
- package/dist/assets/{index-2-K3RgL5.js → index-M1-SoN0U.js} +2 -2
- package/dist/assets/{inference-diagnostics-5lf-ZIbs.js → inference-diagnostics-aOHTUQ5I.js} +1 -1
- package/dist/assets/{ingest-boot-viewport-D4jEOuoN.js → ingest-boot-viewport-J9SqqmBi.js} +1 -1
- package/dist/assets/{ingest-siblings-FkhDSlt8.js → ingest-siblings-DI-4N8EJ.js} +1 -1
- package/dist/assets/{ingest-source-persistence-Ci1cjdJ9.js → ingest-source-persistence-BlQ86Ezy.js} +1 -1
- package/dist/assets/{ingest.service-DCcj8m5Y.js → ingest.service-DGJl6Kg1.js} +1 -1
- package/dist/assets/{inspect-CR7QdMOn.js → inspect-CSzAyD3t.js} +1 -1
- package/dist/assets/instances.command-DCKGMDy5.js +1 -0
- package/dist/assets/{json-history-resource-C5b3fL6s.js → json-history-resource-C5lzztrI.js} +1 -1
- package/dist/assets/{layered-pick-BxRnQHJy.js → layered-pick-Da3YPGWE.js} +1 -1
- package/dist/assets/{light-DCa8P1uY.js → light-D9BNM9LO.js} +1 -1
- package/dist/assets/{live-project-verbs-De2cikPw.js → live-project-verbs-CeLmddwY.js} +1 -1
- package/dist/assets/{machine.document-ZHRCTuWw.js → machine.document-D9RIS2J1.js} +1 -1
- package/dist/assets/{machines.finder-_EknWXAa.js → machines.finder-B_-K7mbg.js} +1 -1
- package/dist/assets/{material-CKTGcoVC.js → material-Di4_5UR9.js} +1 -1
- package/dist/assets/{material-factory-Dqmsa3qq.js → material-factory-Cdk5ozUy.js} +1 -1
- package/dist/assets/{mesh-D7E7Tpno.js → mesh-B3l7POsp.js} +1 -1
- package/dist/assets/{model-asset-sections.service-BODa7-eZ.js → model-asset-sections.service-wBLLtK1P.js} +1 -1
- package/dist/assets/{model-inspection-C3HZSfTa.js → model-inspection-QwuuTlfj.js} +1 -1
- package/dist/assets/{model-thumbnail-DU5Hb25u.js → model-thumbnail-BXNwjwVQ.js} +1 -1
- package/dist/assets/{models.finder-DGHllLJN.js → models.finder-BlvEy8zN.js} +1 -1
- package/dist/assets/{module-mode-D94Fe5TK.js → module-mode-DJJCSruV.js} +2 -2
- package/dist/assets/{mount-canvas-ingest-root-C7z5voqs.js → mount-canvas-ingest-root-BKB4WIx_.js} +2 -2
- package/dist/assets/{mount-dom-ingest-root-DQe5ADSt.js → mount-dom-ingest-root-PRkBWUWu.js} +2 -2
- package/dist/assets/{mount-ingest-root-Cux7Vat0.js → mount-ingest-root-CQLOfg6j.js} +2 -2
- package/dist/assets/{mount-manifest-DA9vvNwK.js → mount-manifest-GP2eO4t9.js} +1 -1
- package/dist/assets/{mount-three-ingest-root-DdLSbSi_.js → mount-three-ingest-root-T3wn7mca.js} +1 -1
- package/dist/assets/{mounted-authoring-CdPS27uW.js → mounted-authoring-Db9gY4N3.js} +1 -1
- package/dist/assets/{mounted-story-viewport-source-smY_3Xvs.js → mounted-story-viewport-source-C9HGOm_J.js} +1 -1
- package/dist/assets/{native-debug-module-D3XVzf2G.js → native-debug-module-QRchsh2v.js} +1 -1
- package/dist/assets/{navigation-BL2K8g78.js → navigation-C-8TPzHJ.js} +1 -1
- package/dist/assets/{navmesh.menu-yn3UhjtF.js → navmesh.menu-D0aY0A-x.js} +1 -1
- package/dist/assets/{navmesh.service-Be0ucoLP.js → navmesh.service-CZ7uSgkz.js} +1 -1
- package/dist/assets/network-observer.service-CD9z9tBp.js +1 -0
- package/dist/assets/{network.utility-7WMTdKbC.js → network.utility-BOHNhfSD.js} +1 -1
- package/dist/assets/{object3d-document-session-registry-BOhbeWPh.js → object3d-document-session-registry-PE-4fjz1.js} +2 -2
- package/dist/assets/{oid-transform-D1XfG014.js → oid-transform-B32kPrkS.js} +1 -1
- package/dist/assets/{particles-Cry0sotq.js → particles-DkCd4wzc.js} +1 -1
- package/dist/assets/{pixi-authoring-adapter-D4r0NNmF.js → pixi-authoring-adapter-Cz6GKyRX.js} +1 -1
- package/dist/assets/{pixi-live-write-target-CBs8-AZJ.js → pixi-live-write-target-Dvo0ZrpJ.js} +1 -1
- package/dist/assets/{play.command-Dr0f3V-I.js → play.command-jRmgmt62.js} +2 -2
- package/dist/assets/{presentation-DZPpkAZH.js → presentation-BWLM0Zst.js} +1 -1
- package/dist/assets/{product-Ds7m0MXl.js → product-NPUDoYQp.js} +1 -1
- package/dist/assets/{profiler.action-hX-xAN1Q.js → profiler.action-BdEeMmlP.js} +1 -1
- package/dist/assets/{profiler.menu-DII7IA6d.js → profiler.menu-DmaIMEQp.js} +1 -1
- package/dist/assets/{profiler.utility-BaEdm9wI.js → profiler.utility-BqCXFtf4.js} +1 -1
- package/dist/assets/{project-authoring-session-0PLEfHVB.js → project-authoring-session-DWdfTjb4.js} +2 -2
- package/dist/assets/{properties-bone-constraints.inspector-bnTZA2Sx.js → properties-bone-constraints.inspector-Do18oyXm.js} +1 -1
- package/dist/assets/{properties-bone.inspector-Ba_BALxK.js → properties-bone.inspector-DHRW9Zdy.js} +1 -1
- package/dist/assets/{properties-collection.inspector-BB7SCk6k.js → properties-collection.inspector-B_ZqDhIB.js} +1 -1
- package/dist/assets/{properties-constraints.inspector-QvPC5CKU.js → properties-constraints.inspector-DGUezsPF.js} +1 -1
- package/dist/assets/{properties-data.inspector-C8DURz4h.js → properties-data.inspector-DW6_t8_e.js} +1 -1
- package/dist/assets/{properties-material.inspector-BevMJr27.js → properties-material.inspector-CjK7oKK4.js} +1 -1
- package/dist/assets/{properties-modifiers.inspector-Y5pMiksE.js → properties-modifiers.inspector-BzIR7FjM.js} +1 -1
- package/dist/assets/{properties-object.inspector-CQ42THXn.js → properties-object.inspector-3fsVkAFS.js} +1 -1
- package/dist/assets/{properties-output.inspector-Bt_7itt6.js → properties-output.inspector-D1zWlLWX.js} +1 -1
- package/dist/assets/{properties-particles.inspector-Bh8XwGWa.js → properties-particles.inspector-CwNWZhyR.js} +1 -1
- package/dist/assets/{properties-physics.inspector-C9Kg9opR.js → properties-physics.inspector-BnmFQq_i.js} +1 -1
- package/dist/assets/{properties-render.inspector-D0QyE0hB.js → properties-render.inspector-Di2qTS4q.js} +1 -1
- package/dist/assets/{properties-scene.inspector-1MvLgJS8.js → properties-scene.inspector-1UZaXfw2.js} +1 -1
- package/dist/assets/{properties-texture.inspector-DEavbeV5.js → properties-texture.inspector-BaV5U-Qu.js} +1 -1
- package/dist/assets/{properties-view-layer.inspector-CLgXfOvJ.js → properties-view-layer.inspector-DxW9C8im.js} +1 -1
- package/dist/assets/{properties-world.inspector-Czxm5_qb.js → properties-world.inspector-Cb8cuI2F.js} +1 -1
- package/dist/assets/{r3f-design-session-Ds-Lh4CE.js → r3f-design-session-kg4aFo9v.js} +2 -2
- package/dist/assets/{r3f-physics-binding-Ddy2AMqs.js → r3f-physics-binding-C37YJGMW.js} +1 -1
- package/dist/assets/{r3f-source-authoring-adapter-IyBCACL1.js → r3f-source-authoring-adapter-ZKBMZbYR.js} +1 -1
- package/dist/assets/{react-canvas-navigation-DJjAqkef.js → react-canvas-navigation-DgndsFAo.js} +1 -1
- package/dist/assets/{react-inspector.service-CSk2kWPq.js → react-inspector.service-9bE0o_8D.js} +1 -1
- package/dist/assets/{react-story-board-Bcx-zIef.js → react-story-board-CCITskgO.js} +1 -1
- package/dist/assets/{react-three-rapier.esm-1NxU3dq9.js → react-three-rapier.esm-CIOYSgKg.js} +1 -1
- package/dist/assets/{react-world-authoring-adapter-OePxORCc.js → react-world-authoring-adapter-DK4jMqyN.js} +1 -1
- package/dist/assets/{realm-services-DpinxOxM.js → realm-services-BAZP9e8H.js} +1 -1
- package/dist/assets/{reflection-probe-capture.inspector-C_6oDrHo.js → reflection-probe-capture.inspector-BOCEOfun.js} +1 -1
- package/dist/assets/{registry-BS9FkzwE.js → registry-PeJ-uX3W.js} +1 -1
- package/dist/assets/{relative-import-specifier-D6hnbTcT.js → relative-import-specifier-BfGfJFJZ.js} +1 -1
- package/dist/assets/{render-env-C1fESfcu.js → render-env-ChDPR7QW.js} +1 -1
- package/dist/assets/{render-features-DHKbJ7Fz.js → render-features-BIgyjcOC.js} +1 -1
- package/dist/assets/{render-settings-ClSYLEFT.js → render-settings-C7hqpFnK.js} +1 -1
- package/dist/assets/{resolve-three-Bbo0SWwc.js → resolve-three-Dpd-fg3k.js} +3 -3
- package/dist/assets/{root-seam-contract-XS-29MWj.js → root-seam-contract-Crgu32u5.js} +1 -1
- package/dist/assets/{run-selection-DLf4qvaj.js → run-selection-xpSMOXG0.js} +1 -1
- package/dist/assets/{scene-capture-L3kI0vHP.js → scene-capture-D1sFvwyj.js} +1 -1
- package/dist/assets/{scene-document.service-BghK8Rt9.js → scene-document.service-BM50fy1J.js} +2 -2
- package/dist/assets/{scene-framing-BWych0aQ.js → scene-framing-BX1UTrnD.js} +1 -1
- package/dist/assets/{seeded-random-Ce4p3AkI.js → seeded-random-C85bEVkS.js} +1 -1
- package/dist/assets/{setup-renderer-DxcHRzSg.js → setup-renderer-DcKuhISr.js} +1 -1
- package/dist/assets/{source-object3d-authoring-adapter-CUFQCDZj.js → source-object3d-authoring-adapter-h3b7vPiK.js} +1 -1
- package/dist/assets/{source-persistence-backend-BsZyLz63.js → source-persistence-backend-DgTsuLXb.js} +1 -1
- package/dist/assets/{stage-keyboard-Bfxkwdni.js → stage-keyboard-BI4HOf1S.js} +1 -1
- package/dist/assets/{stage-overlay-set-bbNN2SNO.js → stage-overlay-set-Cssqqj_A.js} +1 -1
- package/dist/assets/{stage-presence-markers-C8xYcF2L.js → stage-presence-markers-7odF6Jqg.js} +1 -1
- package/dist/assets/{stage-transform-tools-p5sisbub.js → stage-transform-tools-CtyYmuLT.js} +1 -1
- package/dist/assets/{standard-viewport-dressing-I7UKATya.js → standard-viewport-dressing-C0D_Lkzi.js} +1 -1
- package/dist/assets/{state-watch.action-CAqCjd3J.js → state-watch.action-BjfXq_IH.js} +1 -1
- package/dist/assets/{state-watch.menu-DWN-p-a3.js → state-watch.menu-BRJo7Z-c.js} +1 -1
- package/dist/assets/{state-watch.utility-CMGyVLnH.js → state-watch.utility-D_swl2pz.js} +1 -1
- package/dist/assets/{story-capture-BGhtcQBF.js → story-capture-CMY7BKUL.js} +1 -1
- package/dist/assets/{story-documents-DaK12Qjv.js → story-documents-BwW_Ypnc.js} +1 -1
- package/dist/assets/{story-documents.service-CMNLzj5f.js → story-documents.service-B6YGoAas.js} +1 -1
- package/dist/assets/{story-documents.service-fChFb24G.js → story-documents.service-DpNKV5ve.js} +1 -1
- package/dist/assets/{story-media-presence-2zp3uRLL.js → story-media-presence-DgTM3l4X.js} +1 -1
- package/dist/assets/{story-pixi-preview-hxfq6ofD.js → story-pixi-preview-anB4NVfT.js} +1 -1
- package/dist/assets/{story-presentation-C_FXa1VN.js → story-presentation-Cm5Vl6Oh.js} +1 -1
- package/dist/assets/{story-three-preview-uQ3ADzPv.js → story-three-preview-BOD7-hxP.js} +2 -2
- package/dist/assets/{studio-environment-B1C4moYZ.js → studio-environment-Bg-I7fM-.js} +1 -1
- package/dist/assets/{surface-state-BZNvmNKu.js → surface-state-DUwBtx3k.js} +1 -1
- package/dist/assets/{syntactic-prop-specs-BA6l20Yy.js → syntactic-prop-specs-Bmxu19np.js} +1 -1
- package/dist/assets/{team-playtest.service-C5Vi2OJZ.js → team-playtest.service-CGh7mX2E.js} +1 -1
- package/dist/assets/{three-oA8NOIIL.js → three-CWmJa1qe.js} +1 -1
- package/dist/assets/{three-authoring-adapter-BckRZAFC.js → three-authoring-adapter-CwQ2Hl3O.js} +1 -1
- package/dist/assets/three-authoring.service-CSdBG8i-.js +2 -0
- package/dist/assets/{three-ingest-runtime-DZKrRIHE.js → three-ingest-runtime-Drh7DqsE.js} +1 -1
- package/dist/assets/{three-integration-iaJQ46tu.js → three-integration-D9SLXYnU.js} +2 -2
- package/dist/assets/three-integration.service-W2S36XB9.js +1 -0
- package/dist/assets/{three-projection-core-BDAHFfdE.js → three-projection-core-BxrVlHmD.js} +1 -1
- package/dist/assets/{three-state-BV7x8kw3.js → three-state-kIB-8XUB.js} +1 -1
- package/dist/assets/{three-story-capture.service-CaUSNiDk.js → three-story-capture.service-C8l6znQN.js} +2 -2
- package/dist/assets/{three-story-model-B6IgeeuY.js → three-story-model-DzqvFyFn.js} +1 -1
- package/dist/assets/{three-viewport-presentation-CKn-D0y1.js → three-viewport-presentation-2yL9mtBn.js} +1 -1
- package/dist/assets/{transform-mode-request-APlKqsfP.js → transform-mode-request-CwuDcUbZ.js} +1 -1
- package/dist/assets/{transport-strip-C-sBBXum.js → transport-strip-BK2izTHN.js} +1 -1
- package/dist/assets/transport.header-BB3O8i1G.js +1 -0
- package/dist/assets/{tuples-vz7GNWYe.js → tuples-DBc-K60w.js} +1 -1
- package/dist/assets/{ui-board-document-C5xsL6QI.js → ui-board-document-DM7FjXkv.js} +2 -2
- package/dist/assets/{user-data-BWhINAlG.js → user-data-B0afWRON.js} +1 -1
- package/dist/assets/{utility-view-state-DUssk2Y5.js → utility-view-state-BqtZzIZO.js} +1 -1
- package/dist/assets/{viewport-door-D_nXAmUt.js → viewport-door-DXf2BTtM.js} +1 -1
- package/dist/assets/{viewport-root-presentation-DKZfgm-u.js → viewport-root-presentation-DMXg0y2c.js} +1 -1
- package/dist/assets/{viewport-surface-status-BK9OGt3f.js → viewport-surface-status-Cb9tNbMn.js} +1 -1
- package/dist/assets/{webworkerAll-Du9ligfF.js → webworkerAll-SNqnnw8n.js} +1 -1
- package/dist/assets/{workspace-arrangement-BgwQc-qT.js → workspace-arrangement-4Fa_8tpk.js} +1 -1
- package/dist/assets/{world-documents-DeHr136o.js → world-documents-D_jW5Rdo.js} +1 -1
- package/dist/assets/{world-root-stage-binding-BM10opvf.js → world-root-stage-binding-jICg_fta.js} +1 -1
- package/dist/assets/{xstate-animation-binding-B_oh3YqN.js → xstate-animation-binding-D99r_COR.js} +1 -1
- package/dist/assets/{xstate-animation-meta-DJXYGNX1.js → xstate-animation-meta-DKGLnaIK.js} +1 -1
- package/dist-node/cli.js +358 -91
- package/package.json +16 -16
- package/dist/assets/InspectorObjectPreview-CmjfAk0I.js +0 -1
- package/dist/assets/Object3DDocumentViewport-CgifoYVE.js +0 -2
- package/dist/assets/autoplay.service-BOi_pnfg.js +0 -1
- package/dist/assets/instances.command-BvUqb2mS.js +0 -1
- package/dist/assets/network-observer.service-BS91UFhk.js +0 -1
- package/dist/assets/three-authoring.service-K1UPw3op.js +0 -2
- package/dist/assets/three-integration.service-DYpZ_rFP.js +0 -1
- package/dist/assets/transport.header-CxVZN4ZW.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ab as a}from"./index-
|
|
1
|
+
import{ab as a}from"./index-Cs_hnykK.js";import{s as n,n as s}from"./command-results-CUQD49AB.js";import{g as m,a as p}from"./game-network-DOCCFwtp.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./index-OZVqp6xS.js";import"./index-Da9JhEvW.js";import"./native-debug-module-QRchsh2v.js";import"./native-entry-surface-BE8LJNdu.js";import"./debug-registry-PtCg-gAQ.js";import"./contract-system-adapters-Cozx6nCn.js";import"./game-contract-seams-D3jp9kfH.js";import"./seeded-random-C85bEVkS.js";import"./game-audio-BeCyd0Ha.js";import"./rapier-physics-adapter-CaZqWLu0.js";import"./events-156d8d12.esm-CYeuVCYr.js";import"./three.module-BLhyNg0e.js";import"./three.core-3arARmh6.js";import"./index-bQE2NA0D.js";import"./live-project-verbs-CeLmddwY.js";import"./capability-coverage-BbGACSQ7.js";import"./edit-mode-authoring-BEqEkXIT.js";import"./json-history-resource-C5lzztrI.js";import"./binding-resolver-OJ_J6yIE.js";import"./adapter-surface-Y37Nzcyw.js";import"./structural-signature-Dc7skRiy.js";import"./webgl-frame-capture-DdJkM2mi.js";import"./realm-services-BAZP9e8H.js";import"./canvas-entry-runtime-DfwjEnac.js";import"./three-ingest-runtime-Drh7DqsE.js";import"./EffectComposer-BEAt0PtQ.js";import"./CopyShader-BzTUYzf6.js";import"./ShaderPass-DTnDQXm0.js";import"./Pass-D1MRT672.js";import"./CSS3DRenderer-BsAqfavI.js";import"./relative-path-guard-GiM7Lsz8.js";import"./react-root-BHA-cdrW.js";import"./editor-presentation-activity-CqJH4G9t.js";import"./active-ingest-CdkBLhUn.js";import"./ingest-source-persistence-BlQ86Ezy.js";import"./pixi-story-model-DNkfnWUV.js";import"./surface-content-Dg9Kkazf.js";import"./viewport-root-presentation-DMXg0y2c.js";import"./mounted-authoring-Db9gY4N3.js";import"./entity-object-CG32Sh-D.js";import"./user-data-B0afWRON.js";import"./workspace-arrangement-4Fa_8tpk.js";import"./three-contract-Dkt6PmWY.js";import"./three-CWmJa1qe.js";import"./editor-layers-DB9_uFyw.js";import"./component-instance-root-DSo9btvO.js";import"./viewport-editor-controls-BYaAZ_Ku.js";import"./three-authoring-adapter-CwQ2Hl3O.js";import"./source-persistence-backend-DgTsuLXb.js";import"./three-projection-core-BxrVlHmD.js";import"./body-marks-C1LxJtQb.js";import"./user-data-CODoGZqA.js";import"./object-marks-BnvSuCTt.js";import"./structural-ids-BOo2BRoY.js";import"./object3d-authoring-subject-XccsO0xG.js";import"./r3f-physics-binding-C37YJGMW.js";import"./deferred-ingest-play-DlgkyiVk.js";import"./rrweb-Cd2ifIRP.js";import"./react-world-authoring-adapter-DK4jMqyN.js";import"./board-guides-BlBRZmTQ.js";import"./relative-import-specifier-BfGfJFJZ.js";import"./story-arg-descriptors-Ek86ExX7.js";import"./inspect-CSzAyD3t.js";import"./inference-diagnostics-aOHTUQ5I.js";import"./writer-tw6EcuVO.js";import"./three-state-kIB-8XUB.js";import"./editor-shell-store-DAFZw7de.js";import"./output-pass-HurwNl0G.js";import"./viewport-door-DXf2BTtM.js";import"./game-surface-defaults-D8S4cRxi.js";const Le="workspace.command",Ue={"list-gameplay-state":{derivedRefresh:"if-content-changed",handle:()=>{const e=a().debug;return e?{ok:!0,data:{providers:e.providers()}}:p()?{ok:!0,data:{providers:[]}}:s()}},"inspect-gameplay-state":{derivedRefresh:"if-content-changed",handle:e=>{const t=a().debug;if(!t)return p()?{ok:!0,data:{state:null}}:s();const r=e.keys;try{const o={};if(r&&r.length>0)for(const i of r)o[i]=t.state(i);else Object.assign(o,t.stateAll());return{ok:!0,data:{state:o}}}catch(o){return n(o)}}},"list-debug-commands":{derivedRefresh:"if-content-changed",handle:()=>{const e=a().debug;return e?{ok:!0,data:{commands:e.commands()}}:p()?{ok:!0,data:{commands:[]}}:s()}},"invoke-debug-command":{derivedRefresh:"always",handle:async e=>{const t=a().debug;if(!t)return p()?{ok:!1,error:`debug: no command registered under "${e.name}" — this game exposes no debug adapter`,data:{code:"DEBUG_COMMAND_NOT_REGISTERED",registered:[]}}:s();try{return{ok:!0,data:{result:await t.invoke(e.name,e.args??[])}}}catch(r){return n(r)}}},"inject-input":{derivedRefresh:"none",handle:e=>{const t=m();if(!t)return{ok:!1,error:"not in play mode — start play before injecting input"};let r;try{r=t.getInputTarget(e.worldId)}catch(o){return n(o)}if(!r)return{ok:!1,error:"this play session has no input door: no root entry exports `debug.input`"};try{if(e.kind==="action"){const i=e.atTick;return typeof i=="number"?(r.scheduleActionAtTick(i,e.action,e.value),{ok:!0,data:{scheduled:!0,tick:i}}):{ok:!0,data:r.setVirtualAction(e.action,e.value)}}const o=e.sourceId;switch(e.kind){case"axis":r.injectAxis(o,e.value);break;case"vector2":r.injectVector2(o,e.value);break;case"pointerDelta":r.injectPointerDelta(o,e.value);break;case"pointerPosition":r.injectPointerPosition(o,e.value);break;default:return{ok:!1,error:`unknown injection kind "${e.kind}"`}}return{ok:!0,data:{delivered:!0}}}catch(o){return n(o)}}},"set-time-scale":{derivedRefresh:"none",handle:e=>{const t=m();return t?(t.loop.timeScale=e.timeScale,{ok:!0,data:{timeScale:t.loop.timeScale}}):{ok:!1,error:"not in play mode — start play before setting time-scale"}}},"set-seed":{derivedRefresh:"none",handle:e=>{const t=m();return t?t.determinismDeclared?t.random?(t.random.reseed(e.seed),{ok:!0,data:{seed:t.random.seed}}):{ok:!1,error:"this play session has no first-party ctx.random to reseed"}:{ok:!1,error:"this project's manifest does not declare determinism.seededRandom — play.seed.set has no documented contract to reseed against (D15)",data:{code:"DETERMINISM_NOT_DECLARED"}}:{ok:!1,error:"not in play mode — start play before setting the seed"}}},"run-ticks":{derivedRefresh:"none",handle:async e=>{const t=m();if(!t)return{ok:!1,error:"not in play mode — start play before running ticks"};if(!t.runTicks)return{ok:!1,error:"this play session has no first-party Game to run ticks on",data:{code:"RUN_TICKS_UNAVAILABLE"}};try{const r=e.n,o=e.render;return t.runTicksSettled?await t.runTicksSettled(r,o?{render:o}:void 0):t.runTicks(r,o?{render:o}:void 0),{ok:!0}}catch(r){return n(r)}}}};export{Ue as commands,Le as point};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a3 as l,a4 as a,ac as c}from"./index-
|
|
1
|
+
import{a3 as l,a4 as a,ac as c}from"./index-Cs_hnykK.js";const g={version:1,jobs:[]};let u=g,i=null,s=0,o=!1;const r=new Set;function w(e,n=null){u=e,i=n,s++;for(const d of r)d()}function J(){return u}function v(){return i}function E(){return s}function y(e){return r.add(e),()=>r.delete(e)}function p(e){return e.status==="queued"||e.status==="running"}function h(e){return!p(e)&&(!e.readAt||Date.parse(e.readAt)<Date.parse(e.updatedAt))}function b(e){return e.filter(h).length}async function t(){try{const e=await fetch("/__editor/generations");w(await l(e,"Generation activity request failed"))}catch(e){i=e instanceof Error?e.message:String(e),s++;for(const n of r)n()}}async function G(){if(!o){o=!0;try{const e=await fetch("/__editor/generations/reconcile",{method:"POST"});a(e,"Generation reconciliation failed"),await t()}finally{o=!1}}}async function _(e){const n=await c(e.poll.tool,e.poll.input);if(!n.ok)throw new Error(n.error.message);if(n.generationWarning)throw new Error(n.generationWarning);return await t(),await f(e.id),n.data}async function S(e){if(!e.accept)throw new Error("This completed generation has no project asset to add.");const n=await c(e.accept.tool,e.accept.input,{confirm:!0});if(!n.ok)throw new Error(n.error.message);if(n.generationWarning)throw new Error(n.generationWarning);await t(),await f(e.id)}async function f(e){const n=await fetch(`/__editor/generations/${encodeURIComponent(e)}/read`,{method:"POST"});a(n,"Mark generation read failed"),await t()}async function T(e){const n=await fetch(`/__editor/generations/${encodeURIComponent(e)}`,{method:"DELETE"});a(n,"Forget generation job failed"),await t()}function A(){t();const e=window.setInterval(()=>void t(),2e3);return()=>{window.clearInterval(e)}}export{b as a,p as b,S as c,v as d,h as e,T as f,J as g,A as h,_ as i,E as j,f as m,G as p,t as r,y as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jn as K,jo as Q,fc as I,dN as O,h2 as E,jp as Y,jq as A,aN as X,a6 as g,h4 as Z,fo as H,jr as ee,js as te,jt as w,ju as ne,jv as re,jw as oe,jx as ae,jy as se,jz as ie,bv as le,aL as h,hV as ce,eB as P,hF as R,bQ as B,Z as de,a7 as _,gi as ue,jA as me,jB as pe,jC as ge,g$ as ve,jD as fe,b7 as he,jE as xe,f6 as je,ad as ye,f8 as Ne}from"./index-DxZ4l0Lx.js";import{a as t}from"./jsx-runtime-DPjLkJKQ.js";import{r as u}from"./index-nmcBqr7Y.js";import{m as Ce}from"./model-thumbnail-DU5Hb25u.js";import"./index-CtzuWnCS.js";import{s as T,g as x,c as z,f as M,i as Ee,b as F,p as Se,r as J,d as ke,e as Te,m as $e,h as be,j as Ae,a as we}from"./generation-jobs-B3vV9DA5.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";import"./renderer-ownership-BovSEcLv.js";import"./studio-environment-B1C4moYZ.js";import"./user-data-BWhINAlG.js";import"./workspace-arrangement-BgwQc-qT.js";import"./KTX2Loader-CaqVE6nY.js";import"./three.module-BLhyNg0e.js";import"./three.core-3arARmh6.js";import"./GLTFLoader-KeoruJgS.js";import"./BufferGeometryUtils-B22h7jo4.js";import"./environment-Dg-YaLsA.js";import"./RoomEnvironment-BkknvS_I.js";import"./EXRLoader-CITMBvGd.js";import"./HDRLoader-BTGuGhVo.js";function j(e){switch(e.status){case"queued":return"queued";case"running":return"running";case"failed":return"failed";case"cancelled":return"cancelled";default:return e.acceptedAt?"ready":e.accept?e.pollError?"save-failed":"saving":"no-asset"}}function L(e){const n=j(e);return n!=="queued"&&n!=="running"&&n!=="saving"}function U(e,n){return e.status==="succeeded"&&!!e.accept&&!e.acceptedAt&&!!(e.pollError??n)}const $={queued:"Queued",running:"Running",saving:"Saving","save-failed":"Couldn't save",ready:"In project","no-asset":"No file",failed:"Failed",cancelled:"Cancelled"},Re=new Map([...["png","jpg","jpeg","webp","gif","avif","svg","bmp"].map(e=>[e,"image"]),...["mp4","webm","ogv","mov","m4v"].map(e=>[e,"video"]),...["mp3","wav","ogg","oga","m4a","flac","aac"].map(e=>[e,"audio"]),...["glb","gltf","fbx","obj","stl","ply","dae","3ds","usdz","spz"].map(e=>[e,"model"])]);function De(e){const n=e.slice(e.lastIndexOf("/")+1).toLowerCase(),r=n.lastIndexOf(".");return r>0?n.slice(r+1):""}function q(e){return(e.outputPaths??[]).map(n=>{const r=K.find(o=>n.startsWith(`${o}/`)),a=r?Q(r,n.slice(r.length+1)):null;return{path:n,name:n.slice(n.lastIndexOf("/")+1),kind:Re.get(De(n))??"file",url:a}})}function D(e,n){const r=e.trim();return r.length<=n?r:`${r.slice(0,n-1).trimEnd()}…`}function C(e){const n=Oe(e);if(n)return n;const r=q(e);if(r.length===0)return D(e.label,64);const a=r[0],o=Ie(a.path);return r.length>1?o?`${o} · ${r.length} files`:`${r.length} files`:Ge.test(a.name)?o?`${o}/${a.name}`:D(e.label,64):a.name}const Ge=/^(image|video|audio|model|panorama|output)(-\d+)?\./;function Ie(e){const n=e.split("/").slice(-2,-1)[0];return n?/^[0-9a-f]{8,}$/i.test(n)||/^[0-9a-f-]{16,}$/i.test(n)?null:n:null}function Oe(e){const n=e.accept?.input;if(!n||typeof n!="object")return null;const r=n.outputName;return typeof r=="string"&&r.trim().length>0?r.trim():null}function Pe(e){for(const n of[e.accept?.input,e.poll.input]){const r=W(n,0);if(r)return r}return null}function W(e,n){if(n>3||typeof e!="object"||e===null)return null;const r=e,a=r.prompt;if(typeof a=="string"&&a.trim().length>0)return a.trim();for(const o of Object.values(r)){const l=W(o,n+1);if(l)return l}return null}function G(e){return e.operation}function Be(e){return e.mode==="managed"?"Volter subscription":e.mode==="direct"?"Your provider key":"Mock"}function _e(e){return e.route==="mock"?"Free · mock":e.route==="managed"?e.settledCredits!==void 0?`${e.settledCredits} credits`:e.estimatedCredits!==void 0?`Up to ${e.estimatedCredits} credits`:"Credit estimate unavailable":e.settledAmount!==void 0?`$${e.settledAmount.toFixed(3)}`:e.estimatedAmount!==void 0?`Up to $${e.estimatedAmount.toFixed(3)}`:"USD estimate unavailable"}function ze(e){return e.route==="mock"?!0:e.route==="managed"?e.settledCredits!==void 0:e.settledAmount!==void 0}function Me(e){const n=Math.floor((Date.now()-Date.parse(e))/6e4);if(!Number.isFinite(n)||n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);if(r<24)return`${r}h ago`;const a=Math.floor(r/24);return a<7?`${a}d ago`:`${Math.floor(a/7)}w ago`}const S="generation:",Fe="generation:create";function Je(e){return e.route==="mock"?"Free mock":e.route==="managed"?e.settledCredits!==void 0?`${e.settledCredits} credits settled`:e.estimatedCredits!==void 0?`Up to ${e.estimatedCredits} credits`:"Volter subscription · estimate unavailable":e.settledAmount!==void 0?`$${e.settledAmount.toFixed(3)} settled`:e.estimatedAmount!==void 0?`Up to $${e.estimatedAmount.toFixed(3)}`:"BYOK · estimate unavailable"}function V(e){return I({id:`${S}${e.id}`,title:e.label,kind:"generation",workspaceRole:"authored-subject",provenance:{origin:`${e.provider}:${e.externalId}`},Content:qe,closeable:!0,presentation:()=>({kind:"generation",id:e.id})})}function k(){return I({id:Fe,title:"Create Asset",kind:"generation",workspaceRole:"workspace-task",provenance:{origin:"registered generation tools"},Content:Le,closeable:!0,presentation:()=>({kind:"generation",id:"create"})})}function Le(){u.useSyncExternalStore(O,E),u.useSyncExternalStore(Y,A,A);const e=ee(),[n,r]=u.useState(""),a=n.trim().toLowerCase(),o=E().filter(i=>i.point==="workspace.document"&&i.tool?.generation?.role==="submit").filter(i=>a?[i.title,i.tool?.generation?.provider,i.tool?.summary,i.tool?.description].filter(Boolean).some(c=>String(c).toLowerCase().includes(a)):!0),l=new Map;for(const i of o){const c=i.tool?.generation?.provider??"other";l.set(c,[...l.get(c)??[],i])}return t.jsxs("div",{className:"volter-tool-page","data-testid":"generation-create-catalog",children:[t.jsxs("header",{className:"volter-tool-header",children:[t.jsx("div",{className:"volter-tool-eyebrow",children:"Installed provider extensions"}),t.jsx("h2",{className:"volter-tool-title",children:"Create an asset"}),t.jsxs("p",{className:"volter-tool-description",children:["Choose a native provider operation. Mock, managed, and BYOK execution remain explicit in the operation you open. Current default: ",e.preferredRoute,"."]})]}),t.jsx(X,{type:"search","aria-label":"Search generation tools",placeholder:"Search operations or providers…",value:n,onChange:i=>r(i.target.value)}),[...l.entries()].map(([i,c])=>t.jsxs("section",{className:"volter-tool-card",children:[t.jsx("h3",{className:"volter-tool-section-title",children:i}),t.jsx("div",{className:"volter-generation-create-grid",children:c.map(m=>t.jsxs(g,{variant:"ghost",className:"volter-generation-create-card",onClick:()=>Z(m.id),children:[t.jsx("strong",{children:m.title}),t.jsx("span",{children:m.tool?.summary})]},m.id))})]},i)),o.length===0&&t.jsx("div",{className:"volter-generation-document-empty",children:"No installed generation operation matches this search."})]})}function Ue({job:e,result:n,documentId:r,active:a}){u.useSyncExternalStore(O,E),u.useSyncExternalStore(te,w,w);const o=ne(e.poll.tool,e,n);if(!o)return t.jsx("pre",{className:"volter-generation-native-result",children:JSON.stringify(n,null,2)});const l=o.Component;return t.jsx(re,{file:o.file,children:t.jsx(l,{tool:o.tool,contributionId:o.id,client:ie(),surfaces:oe,account:se(),play:ae(),documentId:r,active:a,job:e,result:n})})}function qe({documentId:e,active:n}){const{jobs:r}=u.useSyncExternalStore(T,x,x),a=e.startsWith(S)?e.slice(S.length):e,o=r.find(d=>d.id===a),[l,i]=u.useState(),[c,m]=u.useState(!1),[s,p]=u.useState(null),[v,f]=u.useState(!1),y=async d=>{m(!0),p(null);try{i(await Ee(d))}catch(N){p(N instanceof Error?N.message:String(N))}finally{m(!1)}};if(u.useEffect(()=>{o&&y(o)},[o?.id,o?.status]),!o)return t.jsx("div",{className:"volter-generation-document-empty",children:"This generation is no longer in project activity."});const b=s??(j(o)==="save-failed"?`Could not save into the project: ${o.pollError}`:null);return t.jsxs("div",{className:"volter-generation-document","data-status":o.status,children:[t.jsxs("header",{className:"volter-generation-document-header",children:[t.jsxs("div",{children:[t.jsxs("div",{className:"volter-tool-eyebrow",children:[o.provider," · ",o.operation]}),t.jsx("h2",{className:"volter-tool-title",children:o.label}),t.jsxs("div",{className:"volter-generation-job-meta",children:[$[j(o)]," · ",Je(o.billing)]})]}),t.jsxs("div",{className:"volter-tool-actions",children:[t.jsx(g,{size:"compact",variant:"ghost",disabled:c,onClick:()=>void y(o),children:c?"Refreshing…":"Refresh"}),U(o,s)&&t.jsx(g,{size:"compact",variant:"primary",disabled:v,onClick:()=>{f(!0),p(null),z(o).catch(d=>p(d instanceof Error?d.message:String(d))).finally(()=>f(!1))},children:v?"Saving…":"Retry save"})]})]}),o.message&&t.jsx("div",{className:"volter-tool-status",children:o.message}),b&&t.jsx("div",{className:"volter-tool-status","data-tone":"error",role:"alert",children:b}),t.jsx("section",{className:"volter-generation-result","aria-label":"Generation result",children:l===void 0?t.jsx("div",{className:"volter-generation-document-empty",children:c?"Loading provider result…":"No provider result is available yet."}):t.jsx(Ue,{job:o,result:l,documentId:e,active:n})}),o.outputPaths&&o.outputPaths.length>0&&t.jsxs("section",{className:"volter-generation-output-paths",children:[t.jsx("strong",{children:"Project assets"}),o.outputPaths.map(d=>t.jsx("code",{children:d},d))]}),L(o)&&t.jsx("div",{className:"volter-generation-document-footer",children:t.jsx(g,{size:"compact",variant:"ghost",disabled:v,onClick:()=>{f(!0),M(o.id).then(()=>H(e)).catch(d=>p(d instanceof Error?d.message:String(d))).finally(()=>f(!1))},children:"Remove from activity"})})]})}function We({output:e,onOpen:n}){const r=e.url;if(r&&e.kind==="image"){const a=t.jsx("img",{className:"volter-generation-output-media",src:r,alt:e.name,loading:"lazy"});return n?t.jsx(g,{variant:"ghost",className:"volter-generation-output-open",onClick:n,"aria-label":`Open ${e.name}`,children:a}):a}return r&&e.kind==="video"?t.jsx("video",{className:"volter-generation-output-media",src:r,controls:!0,preload:"metadata",playsInline:!0,title:e.name}):r&&e.kind==="audio"?t.jsxs("div",{className:"volter-generation-output-audio",children:[t.jsx(me,{url:r,name:e.name}),t.jsx("audio",{src:r,controls:!0,preload:"metadata",title:e.name})]}):e.url&&e.kind==="model"&&Ce(e.url)?t.jsx(pe,{url:e.url}):t.jsxs("div",{className:"volter-generation-output-file",children:[t.jsx(_,{icon:e.kind==="model"?ge:ve}),t.jsx(h,{variant:"caption",tone:"muted",children:e.name}),n&&t.jsx(g,{size:"compact",variant:"ghost",onClick:n,children:"Open file"})]})}const Ve={queued:"loading",running:"loading",saving:"loading","save-failed":"error",ready:"success","no-asset":"neutral",failed:"error",cancelled:"neutral"},Ke={queued:e=>e.queuePosition===void 0?"Waiting for the provider to start.":`Position ${e.queuePosition} in the provider queue.`,running:e=>e.message??"The provider is working on it.",saving:()=>"Downloading the finished output into this project.","save-failed":e=>e.pollError??"The finished output could not be saved.",ready:()=>"Saved into this project.","no-asset":()=>"The operation finished without a file this project can hold.",failed:e=>e.message??"The provider reported a failure.",cancelled:()=>"This generation was cancelled."};function Qe({job:e,state:n}){const r=n==="queued"||n==="running"||n==="saving",a=n==="failed"||n==="save-failed";return t.jsxs("div",{className:"volter-generation-state-media","data-state":n,children:[t.jsx(P,{compact:!0,tone:Ve[n],...a?{icon:t.jsx(_,{icon:ue})}:{},title:$[n],description:Ke[n](e)}),r&&t.jsx("progress",{className:"volter-generation-progress","aria-label":`${e.label} progress`,...n==="running"&&e.progress!==void 0?{value:e.progress,max:1}:{}})]})}function Ye({job:e,busy:n,error:r,run:a}){return t.jsxs("div",{className:"volter-generation-card-actions",children:[U(e,r)&&t.jsx(g,{size:"compact",variant:"primary",disabled:n,onClick:()=>a(()=>z(e)),children:n?"Saving…":"Retry save"}),t.jsx(g,{size:"compact",variant:"ghost",onClick:()=>V(e),children:"Details"}),L(e)&&t.jsx(g,{size:"compact",variant:"ghost",disabled:n,onClick:()=>a(()=>M(e.id)),children:"Remove"})]})}function Xe({job:e,busy:n,error:r,run:a}){const o=j(e),l=q(e),i=Pe(e),c=Te(e),m=s=>{if(!s.url)return;const p=fe(he(s.name));if(p)return()=>xe(s.url,p)};return t.jsxs("article",{className:"volter-generation-card","data-state":o,"aria-busy":F(e),"aria-label":C(e),onClickCapture:()=>{c&&$e(e.id).catch(s=>{de.warn(`Could not mark generation as seen: ${s instanceof Error?s.message:String(s)}`,"generations")})},children:[t.jsx("div",{className:"volter-generation-card-media","data-outputs":Math.min(l.length,4),children:l.length===0?t.jsx(Qe,{job:e,state:o}):l.map(s=>t.jsx("div",{className:"volter-generation-output",title:s.path,children:t.jsx(We,{output:s,onOpen:m(s)})},s.path))}),t.jsxs("div",{className:"volter-generation-card-body",children:[t.jsxs("div",{className:"volter-generation-card-heading",children:[t.jsx(h,{variant:"label",truncate:!0,title:C(e),children:C(e)}),t.jsxs(R,{className:"volter-generation-chip","data-state":o,children:[$[o],o==="running"&&e.progress!==void 0?` · ${Math.round(e.progress*100)}%`:""]}),c&&t.jsx(R,{className:"volter-generation-chip","data-state":"new",children:"New"})]}),t.jsxs(h,{variant:"caption",tone:"muted",truncate:!0,title:G(e),children:[e.provider," · ",G(e)]}),t.jsxs(h,{variant:"caption",tone:"dim",children:[_e(e.billing),ze(e.billing)?"":" (est.)"," · ",Be(e)," ·"," ",Me(e.updatedAt)]}),i&&t.jsx("p",{className:"volter-generation-card-prompt",title:i,children:i}),(r??e.pollError)&&t.jsx(B,{tone:r||o==="save-failed"?"error":"warning",className:"volter-generation-card-alert",children:r??(o==="save-failed"?`Could not save into the project: ${e.pollError}`:`Polling will retry: ${e.pollError}`)}),t.jsx(Ye,{job:e,busy:n,error:r,run:a})]})]})}function Ze(){const{jobs:e}=u.useSyncExternalStore(T,x,x),[n,r]=u.useState(null),[a,o]=u.useState({}),l=e.filter(F).length,i=e.filter(s=>j(s)==="saving").length,c=async(s,p)=>{r(s),o(v=>{const f={...v};return delete f[s],f});try{await p()}catch(v){const f=v instanceof Error?v.message:String(v);o(y=>({...y,[s]:f}))}finally{r(null)}},m=ke();return t.jsxs("div",{className:"volter-generation-gallery",children:[t.jsxs(le,{label:"Generations",compact:!0,className:"volter-generation-gallery-bar",children:[t.jsx(h,{variant:"label",children:"Generations"}),t.jsxs(h,{variant:"caption",tone:"muted",children:[e.length," ",e.length===1?"generation":"generations",l>0?` · ${l} running`:"",i>0?` · ${i} saving`:""]}),t.jsx(ce,{}),t.jsx(g,{size:"compact",variant:"ghost",onClick:()=>void Se().then(J),children:"Refresh"}),t.jsx(g,{size:"compact",variant:"primary",onClick:()=>k(),children:"New asset"})]}),m&&t.jsx(B,{tone:"error",className:"volter-generation-gallery-alert",children:m}),e.length===0?t.jsx(P,{className:"volter-generation-gallery-empty",title:"No generated assets yet",description:"Preview generated images, video, audio and models here. Create an asset to get started.",action:t.jsx(g,{size:"compact",variant:"primary",onClick:()=>k(),children:"New asset"})}):t.jsx("section",{className:"volter-generation-grid","aria-label":"Generated assets",children:e.map(s=>t.jsx(Xe,{job:s,busy:n===s.id,error:a[s.id]??null,run:p=>void c(s.id,p)},s.id))})]})}const kt="workspace.service",He="generation";function et(){const e=we(x().jobs);return e>0?{count:e,severity:"info"}:null}function Tt(){const e=[be(),je({...ye.generations,order:15,Content:Ze,badge:et,subscribeBadge:T,badgeSnapshot:Ae,visibleByDefault:!1,closeable:!0}),Ne({id:He,owner:"@volter/editor-game/generation",open:(n,r)=>{if(r.id==="create")return k();const a=x().jobs.find(o=>o.id===r.id);return a?V(a):null},settle:J})];return()=>{for(const n of e)n()}}export{kt as point,Tt as start};
|
|
1
|
+
import{jn as K,jo as Q,fc as I,dN as O,h2 as E,jp as Y,jq as A,aN as X,a6 as g,h4 as Z,fo as H,jr as ee,js as te,jt as w,ju as ne,jv as re,jw as oe,jx as ae,jy as se,jz as ie,bv as le,aL as h,hV as ce,eB as P,hF as R,bQ as B,Z as de,a7 as _,gi as ue,jA as me,jB as pe,jC as ge,g$ as ve,jD as fe,b7 as he,jE as xe,f6 as je,ad as ye,f8 as Ne}from"./index-Cs_hnykK.js";import{a as t}from"./jsx-runtime-DPjLkJKQ.js";import{r as u}from"./index-nmcBqr7Y.js";import{m as Ce}from"./model-thumbnail-BXNwjwVQ.js";import"./index-CtzuWnCS.js";import{s as T,g as x,c as z,f as M,i as Ee,b as F,p as Se,r as J,d as ke,e as Te,m as $e,h as be,j as Ae,a as we}from"./generation-jobs-dFYEPPwC.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";import"./renderer-ownership-BovSEcLv.js";import"./studio-environment-Bg-I7fM-.js";import"./user-data-B0afWRON.js";import"./workspace-arrangement-4Fa_8tpk.js";import"./KTX2Loader-CaqVE6nY.js";import"./three.module-BLhyNg0e.js";import"./three.core-3arARmh6.js";import"./GLTFLoader-KeoruJgS.js";import"./BufferGeometryUtils-B22h7jo4.js";import"./environment-Dg-YaLsA.js";import"./RoomEnvironment-BkknvS_I.js";import"./EXRLoader-CITMBvGd.js";import"./HDRLoader-BTGuGhVo.js";function j(e){switch(e.status){case"queued":return"queued";case"running":return"running";case"failed":return"failed";case"cancelled":return"cancelled";default:return e.acceptedAt?"ready":e.accept?e.pollError?"save-failed":"saving":"no-asset"}}function L(e){const n=j(e);return n!=="queued"&&n!=="running"&&n!=="saving"}function U(e,n){return e.status==="succeeded"&&!!e.accept&&!e.acceptedAt&&!!(e.pollError??n)}const $={queued:"Queued",running:"Running",saving:"Saving","save-failed":"Couldn't save",ready:"In project","no-asset":"No file",failed:"Failed",cancelled:"Cancelled"},Re=new Map([...["png","jpg","jpeg","webp","gif","avif","svg","bmp"].map(e=>[e,"image"]),...["mp4","webm","ogv","mov","m4v"].map(e=>[e,"video"]),...["mp3","wav","ogg","oga","m4a","flac","aac"].map(e=>[e,"audio"]),...["glb","gltf","fbx","obj","stl","ply","dae","3ds","usdz","spz"].map(e=>[e,"model"])]);function De(e){const n=e.slice(e.lastIndexOf("/")+1).toLowerCase(),r=n.lastIndexOf(".");return r>0?n.slice(r+1):""}function q(e){return(e.outputPaths??[]).map(n=>{const r=K.find(o=>n.startsWith(`${o}/`)),a=r?Q(r,n.slice(r.length+1)):null;return{path:n,name:n.slice(n.lastIndexOf("/")+1),kind:Re.get(De(n))??"file",url:a}})}function D(e,n){const r=e.trim();return r.length<=n?r:`${r.slice(0,n-1).trimEnd()}…`}function C(e){const n=Oe(e);if(n)return n;const r=q(e);if(r.length===0)return D(e.label,64);const a=r[0],o=Ie(a.path);return r.length>1?o?`${o} · ${r.length} files`:`${r.length} files`:Ge.test(a.name)?o?`${o}/${a.name}`:D(e.label,64):a.name}const Ge=/^(image|video|audio|model|panorama|output)(-\d+)?\./;function Ie(e){const n=e.split("/").slice(-2,-1)[0];return n?/^[0-9a-f]{8,}$/i.test(n)||/^[0-9a-f-]{16,}$/i.test(n)?null:n:null}function Oe(e){const n=e.accept?.input;if(!n||typeof n!="object")return null;const r=n.outputName;return typeof r=="string"&&r.trim().length>0?r.trim():null}function Pe(e){for(const n of[e.accept?.input,e.poll.input]){const r=W(n,0);if(r)return r}return null}function W(e,n){if(n>3||typeof e!="object"||e===null)return null;const r=e,a=r.prompt;if(typeof a=="string"&&a.trim().length>0)return a.trim();for(const o of Object.values(r)){const l=W(o,n+1);if(l)return l}return null}function G(e){return e.operation}function Be(e){return e.mode==="managed"?"Volter subscription":e.mode==="direct"?"Your provider key":"Mock"}function _e(e){return e.route==="mock"?"Free · mock":e.route==="managed"?e.settledCredits!==void 0?`${e.settledCredits} credits`:e.estimatedCredits!==void 0?`Up to ${e.estimatedCredits} credits`:"Credit estimate unavailable":e.settledAmount!==void 0?`$${e.settledAmount.toFixed(3)}`:e.estimatedAmount!==void 0?`Up to $${e.estimatedAmount.toFixed(3)}`:"USD estimate unavailable"}function ze(e){return e.route==="mock"?!0:e.route==="managed"?e.settledCredits!==void 0:e.settledAmount!==void 0}function Me(e){const n=Math.floor((Date.now()-Date.parse(e))/6e4);if(!Number.isFinite(n)||n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);if(r<24)return`${r}h ago`;const a=Math.floor(r/24);return a<7?`${a}d ago`:`${Math.floor(a/7)}w ago`}const S="generation:",Fe="generation:create";function Je(e){return e.route==="mock"?"Free mock":e.route==="managed"?e.settledCredits!==void 0?`${e.settledCredits} credits settled`:e.estimatedCredits!==void 0?`Up to ${e.estimatedCredits} credits`:"Volter subscription · estimate unavailable":e.settledAmount!==void 0?`$${e.settledAmount.toFixed(3)} settled`:e.estimatedAmount!==void 0?`Up to $${e.estimatedAmount.toFixed(3)}`:"BYOK · estimate unavailable"}function V(e){return I({id:`${S}${e.id}`,title:e.label,kind:"generation",workspaceRole:"authored-subject",provenance:{origin:`${e.provider}:${e.externalId}`},Content:qe,closeable:!0,presentation:()=>({kind:"generation",id:e.id})})}function k(){return I({id:Fe,title:"Create Asset",kind:"generation",workspaceRole:"workspace-task",provenance:{origin:"registered generation tools"},Content:Le,closeable:!0,presentation:()=>({kind:"generation",id:"create"})})}function Le(){u.useSyncExternalStore(O,E),u.useSyncExternalStore(Y,A,A);const e=ee(),[n,r]=u.useState(""),a=n.trim().toLowerCase(),o=E().filter(i=>i.point==="workspace.document"&&i.tool?.generation?.role==="submit").filter(i=>a?[i.title,i.tool?.generation?.provider,i.tool?.summary,i.tool?.description].filter(Boolean).some(c=>String(c).toLowerCase().includes(a)):!0),l=new Map;for(const i of o){const c=i.tool?.generation?.provider??"other";l.set(c,[...l.get(c)??[],i])}return t.jsxs("div",{className:"volter-tool-page","data-testid":"generation-create-catalog",children:[t.jsxs("header",{className:"volter-tool-header",children:[t.jsx("div",{className:"volter-tool-eyebrow",children:"Installed provider extensions"}),t.jsx("h2",{className:"volter-tool-title",children:"Create an asset"}),t.jsxs("p",{className:"volter-tool-description",children:["Choose a native provider operation. Mock, managed, and BYOK execution remain explicit in the operation you open. Current default: ",e.preferredRoute,"."]})]}),t.jsx(X,{type:"search","aria-label":"Search generation tools",placeholder:"Search operations or providers…",value:n,onChange:i=>r(i.target.value)}),[...l.entries()].map(([i,c])=>t.jsxs("section",{className:"volter-tool-card",children:[t.jsx("h3",{className:"volter-tool-section-title",children:i}),t.jsx("div",{className:"volter-generation-create-grid",children:c.map(m=>t.jsxs(g,{variant:"ghost",className:"volter-generation-create-card",onClick:()=>Z(m.id),children:[t.jsx("strong",{children:m.title}),t.jsx("span",{children:m.tool?.summary})]},m.id))})]},i)),o.length===0&&t.jsx("div",{className:"volter-generation-document-empty",children:"No installed generation operation matches this search."})]})}function Ue({job:e,result:n,documentId:r,active:a}){u.useSyncExternalStore(O,E),u.useSyncExternalStore(te,w,w);const o=ne(e.poll.tool,e,n);if(!o)return t.jsx("pre",{className:"volter-generation-native-result",children:JSON.stringify(n,null,2)});const l=o.Component;return t.jsx(re,{file:o.file,children:t.jsx(l,{tool:o.tool,contributionId:o.id,client:ie(),surfaces:oe,account:se(),play:ae(),documentId:r,active:a,job:e,result:n})})}function qe({documentId:e,active:n}){const{jobs:r}=u.useSyncExternalStore(T,x,x),a=e.startsWith(S)?e.slice(S.length):e,o=r.find(d=>d.id===a),[l,i]=u.useState(),[c,m]=u.useState(!1),[s,p]=u.useState(null),[v,f]=u.useState(!1),y=async d=>{m(!0),p(null);try{i(await Ee(d))}catch(N){p(N instanceof Error?N.message:String(N))}finally{m(!1)}};if(u.useEffect(()=>{o&&y(o)},[o?.id,o?.status]),!o)return t.jsx("div",{className:"volter-generation-document-empty",children:"This generation is no longer in project activity."});const b=s??(j(o)==="save-failed"?`Could not save into the project: ${o.pollError}`:null);return t.jsxs("div",{className:"volter-generation-document","data-status":o.status,children:[t.jsxs("header",{className:"volter-generation-document-header",children:[t.jsxs("div",{children:[t.jsxs("div",{className:"volter-tool-eyebrow",children:[o.provider," · ",o.operation]}),t.jsx("h2",{className:"volter-tool-title",children:o.label}),t.jsxs("div",{className:"volter-generation-job-meta",children:[$[j(o)]," · ",Je(o.billing)]})]}),t.jsxs("div",{className:"volter-tool-actions",children:[t.jsx(g,{size:"compact",variant:"ghost",disabled:c,onClick:()=>void y(o),children:c?"Refreshing…":"Refresh"}),U(o,s)&&t.jsx(g,{size:"compact",variant:"primary",disabled:v,onClick:()=>{f(!0),p(null),z(o).catch(d=>p(d instanceof Error?d.message:String(d))).finally(()=>f(!1))},children:v?"Saving…":"Retry save"})]})]}),o.message&&t.jsx("div",{className:"volter-tool-status",children:o.message}),b&&t.jsx("div",{className:"volter-tool-status","data-tone":"error",role:"alert",children:b}),t.jsx("section",{className:"volter-generation-result","aria-label":"Generation result",children:l===void 0?t.jsx("div",{className:"volter-generation-document-empty",children:c?"Loading provider result…":"No provider result is available yet."}):t.jsx(Ue,{job:o,result:l,documentId:e,active:n})}),o.outputPaths&&o.outputPaths.length>0&&t.jsxs("section",{className:"volter-generation-output-paths",children:[t.jsx("strong",{children:"Project assets"}),o.outputPaths.map(d=>t.jsx("code",{children:d},d))]}),L(o)&&t.jsx("div",{className:"volter-generation-document-footer",children:t.jsx(g,{size:"compact",variant:"ghost",disabled:v,onClick:()=>{f(!0),M(o.id).then(()=>H(e)).catch(d=>p(d instanceof Error?d.message:String(d))).finally(()=>f(!1))},children:"Remove from activity"})})]})}function We({output:e,onOpen:n}){const r=e.url;if(r&&e.kind==="image"){const a=t.jsx("img",{className:"volter-generation-output-media",src:r,alt:e.name,loading:"lazy"});return n?t.jsx(g,{variant:"ghost",className:"volter-generation-output-open",onClick:n,"aria-label":`Open ${e.name}`,children:a}):a}return r&&e.kind==="video"?t.jsx("video",{className:"volter-generation-output-media",src:r,controls:!0,preload:"metadata",playsInline:!0,title:e.name}):r&&e.kind==="audio"?t.jsxs("div",{className:"volter-generation-output-audio",children:[t.jsx(me,{url:r,name:e.name}),t.jsx("audio",{src:r,controls:!0,preload:"metadata",title:e.name})]}):e.url&&e.kind==="model"&&Ce(e.url)?t.jsx(pe,{url:e.url}):t.jsxs("div",{className:"volter-generation-output-file",children:[t.jsx(_,{icon:e.kind==="model"?ge:ve}),t.jsx(h,{variant:"caption",tone:"muted",children:e.name}),n&&t.jsx(g,{size:"compact",variant:"ghost",onClick:n,children:"Open file"})]})}const Ve={queued:"loading",running:"loading",saving:"loading","save-failed":"error",ready:"success","no-asset":"neutral",failed:"error",cancelled:"neutral"},Ke={queued:e=>e.queuePosition===void 0?"Waiting for the provider to start.":`Position ${e.queuePosition} in the provider queue.`,running:e=>e.message??"The provider is working on it.",saving:()=>"Downloading the finished output into this project.","save-failed":e=>e.pollError??"The finished output could not be saved.",ready:()=>"Saved into this project.","no-asset":()=>"The operation finished without a file this project can hold.",failed:e=>e.message??"The provider reported a failure.",cancelled:()=>"This generation was cancelled."};function Qe({job:e,state:n}){const r=n==="queued"||n==="running"||n==="saving",a=n==="failed"||n==="save-failed";return t.jsxs("div",{className:"volter-generation-state-media","data-state":n,children:[t.jsx(P,{compact:!0,tone:Ve[n],...a?{icon:t.jsx(_,{icon:ue})}:{},title:$[n],description:Ke[n](e)}),r&&t.jsx("progress",{className:"volter-generation-progress","aria-label":`${e.label} progress`,...n==="running"&&e.progress!==void 0?{value:e.progress,max:1}:{}})]})}function Ye({job:e,busy:n,error:r,run:a}){return t.jsxs("div",{className:"volter-generation-card-actions",children:[U(e,r)&&t.jsx(g,{size:"compact",variant:"primary",disabled:n,onClick:()=>a(()=>z(e)),children:n?"Saving…":"Retry save"}),t.jsx(g,{size:"compact",variant:"ghost",onClick:()=>V(e),children:"Details"}),L(e)&&t.jsx(g,{size:"compact",variant:"ghost",disabled:n,onClick:()=>a(()=>M(e.id)),children:"Remove"})]})}function Xe({job:e,busy:n,error:r,run:a}){const o=j(e),l=q(e),i=Pe(e),c=Te(e),m=s=>{if(!s.url)return;const p=fe(he(s.name));if(p)return()=>xe(s.url,p)};return t.jsxs("article",{className:"volter-generation-card","data-state":o,"aria-busy":F(e),"aria-label":C(e),onClickCapture:()=>{c&&$e(e.id).catch(s=>{de.warn(`Could not mark generation as seen: ${s instanceof Error?s.message:String(s)}`,"generations")})},children:[t.jsx("div",{className:"volter-generation-card-media","data-outputs":Math.min(l.length,4),children:l.length===0?t.jsx(Qe,{job:e,state:o}):l.map(s=>t.jsx("div",{className:"volter-generation-output",title:s.path,children:t.jsx(We,{output:s,onOpen:m(s)})},s.path))}),t.jsxs("div",{className:"volter-generation-card-body",children:[t.jsxs("div",{className:"volter-generation-card-heading",children:[t.jsx(h,{variant:"label",truncate:!0,title:C(e),children:C(e)}),t.jsxs(R,{className:"volter-generation-chip","data-state":o,children:[$[o],o==="running"&&e.progress!==void 0?` · ${Math.round(e.progress*100)}%`:""]}),c&&t.jsx(R,{className:"volter-generation-chip","data-state":"new",children:"New"})]}),t.jsxs(h,{variant:"caption",tone:"muted",truncate:!0,title:G(e),children:[e.provider," · ",G(e)]}),t.jsxs(h,{variant:"caption",tone:"dim",children:[_e(e.billing),ze(e.billing)?"":" (est.)"," · ",Be(e)," ·"," ",Me(e.updatedAt)]}),i&&t.jsx("p",{className:"volter-generation-card-prompt",title:i,children:i}),(r??e.pollError)&&t.jsx(B,{tone:r||o==="save-failed"?"error":"warning",className:"volter-generation-card-alert",children:r??(o==="save-failed"?`Could not save into the project: ${e.pollError}`:`Polling will retry: ${e.pollError}`)}),t.jsx(Ye,{job:e,busy:n,error:r,run:a})]})]})}function Ze(){const{jobs:e}=u.useSyncExternalStore(T,x,x),[n,r]=u.useState(null),[a,o]=u.useState({}),l=e.filter(F).length,i=e.filter(s=>j(s)==="saving").length,c=async(s,p)=>{r(s),o(v=>{const f={...v};return delete f[s],f});try{await p()}catch(v){const f=v instanceof Error?v.message:String(v);o(y=>({...y,[s]:f}))}finally{r(null)}},m=ke();return t.jsxs("div",{className:"volter-generation-gallery",children:[t.jsxs(le,{label:"Generations",compact:!0,className:"volter-generation-gallery-bar",children:[t.jsx(h,{variant:"label",children:"Generations"}),t.jsxs(h,{variant:"caption",tone:"muted",children:[e.length," ",e.length===1?"generation":"generations",l>0?` · ${l} running`:"",i>0?` · ${i} saving`:""]}),t.jsx(ce,{}),t.jsx(g,{size:"compact",variant:"ghost",onClick:()=>void Se().then(J),children:"Refresh"}),t.jsx(g,{size:"compact",variant:"primary",onClick:()=>k(),children:"New asset"})]}),m&&t.jsx(B,{tone:"error",className:"volter-generation-gallery-alert",children:m}),e.length===0?t.jsx(P,{className:"volter-generation-gallery-empty",title:"No generated assets yet",description:"Preview generated images, video, audio and models here. Create an asset to get started.",action:t.jsx(g,{size:"compact",variant:"primary",onClick:()=>k(),children:"New asset"})}):t.jsx("section",{className:"volter-generation-grid","aria-label":"Generated assets",children:e.map(s=>t.jsx(Xe,{job:s,busy:n===s.id,error:a[s.id]??null,run:p=>void c(s.id,p)},s.id))})]})}const kt="workspace.service",He="generation";function et(){const e=we(x().jobs);return e>0?{count:e,severity:"info"}:null}function Tt(){const e=[be(),je({...ye.generations,order:15,Content:Ze,badge:et,subscribeBadge:T,badgeSnapshot:Ae,visibleByDefault:!1,closeable:!0}),Ne({id:He,owner:"@volter/editor-game/generation",open:(n,r)=>{if(r.id==="create")return k();const a=x().jobs.find(o=>o.id===r.id);return a?V(a):null},settle:J})];return()=>{for(const n of e)n()}}export{kt as point,Tt as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dZ as p,u as o,x as n,c6 as e,v as l,w as t,c4 as d,e1 as c}from"./index-
|
|
1
|
+
import{dZ as p,u as o,x as n,c6 as e,v as l,w as t,c4 as d,e1 as c}from"./index-Cs_hnykK.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";const u=d(["queued","running","succeeded","failed","cancelled"]),g=p("route",[o({route:n("mock")}).strict(),o({route:n("managed"),estimatedCredits:e().nonnegative().optional(),settledCredits:e().nonnegative().optional()}).strict(),o({route:n("byok"),currency:n("USD"),estimatedAmount:e().nonnegative().optional(),settledAmount:e().nonnegative().optional()}).strict()]),r=o({tool:t().min(1),input:c()}).strict(),v=o({id:t().min(1),provider:t().min(1),externalId:t().min(1),label:t().min(1),operation:t().min(1),mode:d(["mock","direct","managed"]),status:u,createdAt:t().datetime(),updatedAt:t().datetime(),progress:e().min(0).max(1).optional(),providerStatus:t().optional(),queuePosition:e().int().nonnegative().optional(),message:t().optional(),lastPolledAt:t().datetime().optional(),lastProviderChangeAt:t().datetime().optional(),pollError:t().optional(),pollErrorAt:t().datetime().optional(),pollFailureCount:e().int().nonnegative().optional(),nextPollAt:t().datetime().optional(),billing:g,poll:r,cancel:r.optional(),accept:r.optional(),acceptedAt:t().datetime().optional(),readAt:t().datetime().optional(),provenanceOperationId:t().optional(),outputPaths:l(t()).optional()}).strict(),k=o({version:n(1),jobs:l(v)}).strict();function y(m,s){if(m!=="managed")return{};const{estimatedCredits:i,settledCredits:a}=s;return i===void 0&&a===void 0?{}:{billing:{route:"managed",...i===void 0?{}:{estimatedCredits:i},...a===void 0?{}:{settledCredits:a}}}}export{g as GenerationBillingSchema,v as GenerationJobSchema,u as GenerationJobStatusSchema,k as GenerationJobsDocumentSchema,y as managedBilling};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./jsx-runtime-DPjLkJKQ.js";import{a6 as r,r as a,ad as i}from"./index-
|
|
1
|
+
import{a as s}from"./jsx-runtime-DPjLkJKQ.js";import{a6 as r,r as a,ad as i}from"./index-Cs_hnykK.js";import{r as u}from"./index-nmcBqr7Y.js";import"./index-CtzuWnCS.js";import{s as c,g as o,a as p,b as m}from"./generation-jobs-dFYEPPwC.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";const I="workspace.status",$="Generations",C="left",T=24;function U(){const{jobs:e}=u.useSyncExternalStore(c,o,o),n=p(e),t=e.filter(m).length;return s.jsxs(r,{type:"button",variant:"ghost",size:"compact",className:"volter-status-action","data-testid":"status-generations","aria-label":`Generations, ${n} unseen, ${t} running`,title:`${n} unseen generation results, ${t} running — open Generations`,onClick:()=>a().workspace.showUtility(i.generations.id),children:["Generations · ",n,t>0?` · ${t} running`:""]})}export{C as align,U as default,T as order,I as point,$ as title};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as n}from"./workspace-arrangement-
|
|
1
|
+
import{g as n}from"./workspace-arrangement-4Fa_8tpk.js";function r(t){const o=n(t,"volterComponentRoot");return typeof o=="string"&&o?o:void 0}function i(t){return n(t,"volterBuiltInternal")===!0}export{r as c,i};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{kE as E,w as l,u as y,kF as P,v as b,b3 as T}from"./index-
|
|
1
|
+
import{kE as E,w as l,u as y,kF as P,v as b,b3 as T}from"./index-Cs_hnykK.js";import{i as x}from"./relative-path-guard-GiM7Lsz8.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";const d=".volter/assets.json",k=y({key:l().min(1),license:l().min(1).optional(),sourceHash:l().regex(/^sha256-[a-f0-9]{64}$/,'sourceHash must be "sha256-<64 hex>"').optional(),materializedAt:l().datetime()}).strict(),O=E(l().min(1),k);function z(e){if(!/^[a-f0-9]{64}$/.test(e))throw new Error(`Not a sha256 digest, refusing to record it as a sourceHash: ${e}`);return`sha256-${e}`}function m(e){const t=e.replaceAll("\\","/").replace(/^\.\//,"").replace(/^\/+/,"");if(!t)throw new Error("An asset ledger path cannot be empty.");if(!x(t))throw new Error(`An asset ledger path cannot escape the project: ${e}`);return t}function _(e){return O.parse(e)}function D(e){if(e==null||e.trim()==="")return{};let t;try{t=JSON.parse(e)}catch(s){throw new Error(`${d} is not valid JSON: ${String(s)}`)}return _(t)}function I(e,t,s){const r=m(t),n=k.parse(s),a={...e,[r]:n},i={};for(const u of Object.keys(a).sort())i[u]=a[u];return i}function M(e){const t={};for(const s of Object.keys(e).sort())t[s]=e[s];return`${JSON.stringify(t,null,2)}
|
|
2
2
|
`}function U(e,t,s){const r=globalThis.navigator?.locks;return r?r.request(`volter:${e}:${P(t)}`,s):s()}const H=1e4,N=15;function j(){return globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random()}`}async function R(e,t,s={}){const r=s.staleAfterMs??H,n=s.retryDelayMs??N,a=s.now??Date.now,i=s.sleep??(o=>new Promise(c=>setTimeout(c,o))),u=s.token??j;for(;;){const o=JSON.stringify({at:a(),owner:s.owner??"unknown",token:u()});if(await e.createIfAbsent(o))try{return await t()}finally{await e.removeIfHeldBy(o)}const c=await e.read();if(c!==null){if(a()-B(c)>r){await e.removeIfHeldBy(c);continue}await i(n)}}}function B(e){try{const t=JSON.parse(e);return typeof t.at=="number"?t.at:0}catch{return 0}}function F(){const e=new Map;return(t,s)=>{const n=(e.get(t)??Promise.resolve()).then(s,s),a=n.then(()=>{},()=>{});return e.set(t,a),a.then(()=>{e.get(t)===a&&e.delete(t)}),n}}async function S(e){return await e.exists(d)?D(await e.read(d)):{}}async function J(e,t){await e.write(d,M(t))}const f=`${d}.lock`,C=F(),A=new WeakMap;let $=0;function K(e){const t=A.get(e);if(t!==void 0)return t;$+=1;const s=`${e.id}#${$}`;return A.set(e,s),s}async function W(e,t){const s={key:t.key,...t.license?{license:t.license}:{},...t.sourceSha256?{sourceHash:z(t.sourceSha256)}:{},materializedAt:t.materializedAt??new Date().toISOString()};await C(K(e),()=>R({createIfAbsent:r=>e.writeIfAbsent(f,r),read:async()=>await e.exists(f)?e.read(f):null,removeIfHeldBy:r=>U(e.id,f,async()=>{await e.exists(f)&&await e.read(f)===r&&await e.remove(f)})},async()=>{const r=await S(e);await J(e,I(r,m(t.destPath),s))},{owner:e.id}))}const G=y({key:l().regex(/^[^:]+:.+$/,'An asset key must be "source:id"'),dest:l().min(1),sha256:l().regex(/^[a-f0-9]{64}$/,"A pack entry must pin the sha256 of its bytes as 64 lowercase hex digits")}).strict(),Y=y({packs:E(l().min(1),b(G))}).strict();function q(e){return Y.parse(e)}function V(e){const t=[],s=new Map;for(const[r,n]of Object.entries(e.packs))for(const a of n){const i=s.get(a.dest);if(i!==void 0)throw new Error(`Two packs declare the same destination "${a.dest}": "${i}" and "${r}".`);s.set(a.dest,r),t.push({...a,pack:r})}return t}const w="asset-manifest.json",v="https://volter-asset-library.aaron-0ed.workers.dev";function L(e){return(e.baseUrl??v).replace(/\/+$/,"")}function Q(e){return e.signal?{signal:e.signal}:{}}async function X(e,t={}){const s=L(t),r=await fetch(`${s}/v1/assets/${encodeURIComponent(e)}`,Q(t));if(!r.ok)return null;const n=await r.json();return!n||typeof n!="object"||!Array.isArray(n.files)?null:n}function Z(e,t,s,r){return`${L(e?{baseUrl:e}:{})}/v1/assets/${encodeURIComponent(t)}/files/${s}`}async function he(e,t={}){const s=await ee(e),r={declared:s.length,materialized:[],alreadyPresent:[],failed:[]};if(s.length===0)return r;const n=await S(e);for(const a of s){if(t.signal?.aborted)break;if(n[m(a.dest)]&&await e.exists(a.dest)){r.alreadyPresent.push(a),t.onProgress?.(a,"already-present");continue}try{await te(e,a,t),r.materialized.push(a),t.onProgress?.(a,"materialized")}catch(i){r.failed.push({entry:a,reason:i instanceof Error?i.message:String(i)}),t.onProgress?.(a,"failed")}}return r}async function ee(e){if(!await e.exists(w))return[];const t=await e.read(w);let s;try{s=JSON.parse(t)}catch(r){throw new Error(`${w} is not valid JSON: ${r instanceof Error?r.message:String(r)}`)}return V(q(s))}async function te(e,t,s){const r=await se(t,s);await e.write(t.dest,r.bytes),await W(e,{destPath:t.dest,key:t.key,license:r.license,sourceSha256:t.sha256})}async function se(e,t={}){const s=e.key.indexOf(":");if(s<0)throw new Error(`Malformed asset key "${e.key}" (expected "source:id").`);const r=e.key.slice(0,s),n=e.key.slice(s+1);if(r!=="local")throw new Error(`Asset key "${e.key}": only the "local" (cloud-hosted) source can be materialized from the cloud worker.`);const a=t.baseUrl??v,i=t.signal?{baseUrl:a,signal:t.signal}:{baseUrl:a},u=await X(n,i);if(!u)throw new Error(`"${e.key}" is not hosted by the cloud asset library.`);const o=u.files[0];if(!o)throw new Error(`"${e.key}" has no files in the cloud library.`);if(o.dependencies.length>0)throw new Error(`"${e.key}" has ${o.dependencies.length} dependency file(s) — a pack entry names exactly one destination file.`);if(o.main.sha256!==e.sha256)throw new Error(`"${e.key}" → ${e.dest}: the cloud library reports sha256:${o.main.sha256} but ${w} pins sha256:${e.sha256}. Nothing was fetched or written; the pin is only re-cut by a reviewed change to the declaration.`);const c=Z(a,n,0),h=await fetch(c,t.signal?{signal:t.signal}:{});if(!h.ok)throw new Error(`${c} returned ${h.status} ${h.statusText}.`);const p=new Uint8Array(await h.arrayBuffer()),g=await T(p);if(g!==e.sha256)throw new Error(`"${e.key}" → ${e.dest}: ${c} delivered sha256:${g} but the declaration pins sha256:${e.sha256}. Nothing was written.`);return{bytes:p,license:u.license}}export{w as ASSET_MANIFEST_PATH,se as fetchVerifiedPackEntry,he as materializeDeclaredAssetPacks};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CameraDescriptorSchema as f}from"./camera-
|
|
1
|
+
import{CameraDescriptorSchema as f}from"./camera-C4iahwRu.js";import{ColliderDescriptorSchema as x}from"./collider-CNgw-tJm.js";import{LightDescriptorSchema as l}from"./light-D9BNM9LO.js";import{MaterialDescriptorSchema as M}from"./material-Di4_5UR9.js";import{MeshDescriptorSchema as d}from"./mesh-B3l7POsp.js";import{ParticlesDescriptorSchema as T}from"./particles-DkCd4wzc.js";import{PostProcessingDescriptorSchema as v,RenderEnvironmentSchema as E,ToneMappingDescriptorSchema as L}from"./render-env-ChDPR7QW.js";import{QuatSchema as R,TransformSchema as V,Vec3Schema as b}from"./tuples-DBc-K60w.js";import"./index-Cs_hnykK.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./render-features-BIgyjcOC.js";export{f as CameraDescriptorSchema,x as ColliderDescriptorSchema,l as LightDescriptorSchema,M as MaterialDescriptorSchema,d as MeshDescriptorSchema,T as ParticlesDescriptorSchema,v as PostProcessingDescriptorSchema,R as QuatSchema,E as RenderEnvironmentSchema,L as ToneMappingDescriptorSchema,V as TransformSchema,b as Vec3Schema};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as f,i as c,e as x,u as d}from"./extend-
|
|
1
|
+
import{C as f,i as c,e as x,u as d}from"./extend-BJCYmdCg.js";import{A as z,a as B,c as D}from"./extend-BJCYmdCg.js";import{A as k}from"./index-M1-SoN0U.js";import{r as s}from"./index-nmcBqr7Y.js";import"./jsx-runtime-DPjLkJKQ.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-bQE2NA0D.js";import"./index-D_NuPfjr.js";import"./index-Cs_hnykK.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";function A(){const t=s.useContext(f);return c(t.app instanceof k,"No Context found with `%s`. Make sure to wrap component with `%s`","Application","AppProvider"),t}function R(t){s.useMemo(()=>{x(t)},[t])}function T(t){const{app:p,isInitialised:n}=A();let e,o,i=!0,r;typeof t=="function"?e=t:(e=t.callback,o=t.context,i=t.isEnabled??!0,r=t.priority),c(),d(()=>{if(n){const a=p?.ticker,l=i,m=o,u=e;return i&&a&&a.add(e,o,r),()=>{l&&a?.remove(u,m)}}},[p?.ticker,e,o,i,n,r])}export{z as Application,B as applyProps,D as createRoot,x as extend,A as useApplication,R as useExtend,T as useTick};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as H,a as r,b as D,c as O,C as i,D as o,H as t,N as m,d as p,P as I,e as N,R as d,S as n,f as U,g as C,h as c,W as M,i as h,j as G,k as g,l as y,m as V,n as f,o as K,p as Y,q as B,s as F}from"./index-
|
|
1
|
+
import{A as H,a as r,b as D,c as O,C as i,D as o,H as t,N as m,d as p,P as I,e as N,R as d,S as n,f as U,g as C,h as c,W as M,i as h,j as G,k as g,l as y,m as V,n as f,o as K,p as Y,q as B,s as F}from"./index-Cs_hnykK.js";import{createRootBinding as u}from"./binding-Bmxqznjk.js";import{MOUNTED_CANVAS_SURFACE_SHAPE as x,MOUNTED_DOM_SURFACE_SHAPE as l,MOUNTED_ROOT_BASE_SHAPE as L,MOUNTED_THREE_SURFACE_SHAPE as b,ROOT_ADAPTER_SHAPE as j,ROOT_STATE_OBSERVER_SHAPE as k}from"./root-seam-contract-Crgu32u5.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";export{H as AUDIO_ADAPTER_SHAPE,r as AUTHORING_ADAPTER_SHAPE,D as AUTHORING_PROVIDER_KEYS,O as AUTHORING_PROVIDER_SHAPES,i as CAMERA_ADAPTER_SHAPE,o as DEBUG_ADAPTER_SHAPE,t as HIERARCHY_PROVIDER_SHAPE,x as MOUNTED_CANVAS_SURFACE_SHAPE,l as MOUNTED_DOM_SURFACE_SHAPE,L as MOUNTED_ROOT_BASE_SHAPE,b as MOUNTED_THREE_SURFACE_SHAPE,m as NAVIGATION_ADAPTER_SHAPE,p as NETWORKING_ADAPTER_SHAPE,I as PHYSICS_2D_ADAPTER_SHAPE,N as PHYSICS_ADAPTER_SHAPE,d as RENDER_DEBUG_ADAPTER_SHAPE,j as ROOT_ADAPTER_SHAPE,k as ROOT_STATE_OBSERVER_SHAPE,n as SEAM_PROOF_STAGES,U as SYSTEM_ADAPTERS_SHAPE,C as SYSTEM_PROVIDER_SHAPES,c as SeamEvidenceLedger,M as WRITE_ANCHOR_KINDS,u as createRootBinding,h as defineSeamShape,G as displayKeyedPhysics,g as emptyWriteAnchorKindCounts,y as gradeSeamCarrier,V as gradeSeamEvidence,f as inspectSeamShape,K as measureAuthoringProviders,Y as nodeKeyedPhysics,B as physicsOwnerOf,F as seamStageAtLeast};
|