@adaas/a-frame 0.1.1 → 0.1.2
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/.conf/tsconfig.browser.json +7 -1
- package/.conf/tsconfig.node.json +7 -1
- package/dist/browser/A-FrameBrowserStorageBlobs.context-CZTTvpn2.d.mts +53 -0
- package/dist/browser/A-FrameBrowserStorageBlobs.context-CaGTyatz.d.mts +40 -0
- package/dist/browser/A-FrameBrowserStorageBlobs.context-DjeEH8cn.d.mts +53 -0
- package/dist/browser/A-FrameBrowserStorageBlobs.context-vCsuTea9.d.mts +40 -0
- package/dist/browser/A-FrameBundle.types-LzfgdMiQ.d.mts +71 -0
- package/dist/browser/A-FrameChannel.component-4mTNctXL.d.mts +704 -0
- package/dist/browser/A-FrameChannel.types-BXEKJK9t.d.mts +205 -0
- package/dist/browser/A-FrameChannel.types-Ba3wgUZj.d.mts +199 -0
- package/dist/browser/A-FrameChannel.types-BfINhQZe.d.mts +145 -0
- package/dist/browser/A-FrameChannel.types-DfacgYL1.d.mts +199 -0
- package/dist/browser/A-FrameCompletion.entity-Dzy9sIa8.d.mts +72 -0
- package/dist/browser/A-FrameDefinition.entity-C1aK-gdl.d.mts +370 -0
- package/dist/browser/A-FrameDefinition.entity-CKPXsarS.d.mts +358 -0
- package/dist/browser/A-FrameDefinition.entity-yA0GsBoe.d.mts +143 -0
- package/dist/browser/A-FrameDefinition.types-BT02yAhQ.d.mts +232 -0
- package/dist/browser/A-FrameDynamicContentOperation.context-CoViNb19.d.mts +297 -0
- package/dist/browser/A-FrameDynamicContentOperation.context-Dd7Lb7X2.d.mts +266 -0
- package/dist/browser/A-FrameDynamicPatch.entity-BRuF1tqs.d.mts +29 -0
- package/dist/browser/A-FrameDynamicStructure.entity-DMvI_EPT.d.mts +210 -0
- package/dist/browser/A-FrameDynamicStructure.entity-DxkPP9mR.d.mts +235 -0
- package/dist/browser/A-FrameEnv.types-DnK-CYVk.d.mts +21 -0
- package/dist/browser/A-FrameNamespace.entity-BDg1FUgo.d.mts +136 -0
- package/dist/browser/A-FrameSchema.entity-DjYIhsoj.d.mts +141 -0
- package/dist/browser/A-FrameSegment.entity-D1xjjWvG.d.mts +161 -0
- package/dist/browser/A-FrameSegment.entity-D7Aj39Wh.d.mts +146 -0
- package/dist/browser/bundle.d.mts +6 -2
- package/dist/browser/bundle.mjs +1 -1
- package/dist/browser/bundle.mjs.map +1 -1
- package/dist/browser/channel.d.mts +51 -74
- package/dist/browser/channel.mjs +1 -2
- package/dist/browser/channel.mjs.map +1 -1
- package/dist/browser/chunk-2RNFZSBL.mjs +2 -0
- package/dist/browser/chunk-2RNFZSBL.mjs.map +1 -0
- package/dist/browser/chunk-46LRNZRG.mjs +2 -0
- package/dist/browser/chunk-46LRNZRG.mjs.map +1 -0
- package/dist/browser/chunk-52HFO3OY.mjs +2 -0
- package/dist/browser/chunk-52HFO3OY.mjs.map +1 -0
- package/dist/browser/chunk-643KGQKR.mjs +3 -0
- package/dist/browser/chunk-643KGQKR.mjs.map +1 -0
- package/dist/browser/chunk-66BBIZAM.mjs +3 -0
- package/dist/browser/chunk-66BBIZAM.mjs.map +1 -0
- package/dist/browser/chunk-6NPQURSO.mjs +2 -0
- package/dist/browser/chunk-6NPQURSO.mjs.map +1 -0
- package/dist/browser/chunk-6WAOMX7M.mjs +2 -0
- package/dist/browser/chunk-6WAOMX7M.mjs.map +1 -0
- package/dist/browser/chunk-77HU5SRQ.mjs +2 -0
- package/dist/browser/chunk-77HU5SRQ.mjs.map +1 -0
- package/dist/browser/chunk-AET6XULU.mjs +2 -0
- package/dist/browser/chunk-AET6XULU.mjs.map +1 -0
- package/dist/browser/chunk-BIBPE2GT.mjs +3 -0
- package/dist/browser/chunk-BIBPE2GT.mjs.map +1 -0
- package/dist/browser/chunk-CDJKU4DK.mjs +2 -0
- package/dist/browser/chunk-CDJKU4DK.mjs.map +1 -0
- package/dist/browser/chunk-CT67Y46H.mjs +3 -0
- package/dist/browser/chunk-CT67Y46H.mjs.map +1 -0
- package/dist/browser/chunk-EFC7OUNO.mjs +2 -0
- package/dist/browser/chunk-EFC7OUNO.mjs.map +1 -0
- package/dist/browser/chunk-EJIX7H7A.mjs +2 -0
- package/dist/browser/chunk-EJIX7H7A.mjs.map +1 -0
- package/dist/browser/chunk-FHJ5ATND.mjs +3 -0
- package/dist/browser/chunk-FHJ5ATND.mjs.map +1 -0
- package/dist/browser/chunk-FVH2EEVP.mjs +3 -0
- package/dist/browser/chunk-FVH2EEVP.mjs.map +1 -0
- package/dist/browser/chunk-G6ULYKSU.mjs +2 -0
- package/dist/browser/chunk-G6ULYKSU.mjs.map +1 -0
- package/dist/browser/chunk-G7MKGKG5.mjs +2 -0
- package/dist/browser/chunk-G7MKGKG5.mjs.map +1 -0
- package/dist/browser/chunk-GOMJPGVB.mjs +3 -0
- package/dist/browser/chunk-GOMJPGVB.mjs.map +1 -0
- package/dist/browser/chunk-INQV5UZA.mjs +2 -0
- package/dist/browser/chunk-INQV5UZA.mjs.map +1 -0
- package/dist/browser/chunk-INXPVBTZ.mjs +2 -0
- package/dist/browser/chunk-INXPVBTZ.mjs.map +1 -0
- package/dist/browser/chunk-KFMVTZ7T.mjs +2 -0
- package/dist/browser/chunk-KFMVTZ7T.mjs.map +1 -0
- package/dist/browser/chunk-LK6C7C3S.mjs +2 -0
- package/dist/browser/chunk-LK6C7C3S.mjs.map +1 -0
- package/dist/browser/chunk-LOGRQOWP.mjs +3 -0
- package/dist/browser/chunk-LOGRQOWP.mjs.map +1 -0
- package/dist/browser/chunk-LZACYSUC.mjs +3 -0
- package/dist/browser/chunk-LZACYSUC.mjs.map +1 -0
- package/dist/browser/chunk-NTOIVRX3.mjs +2 -0
- package/dist/browser/chunk-NTOIVRX3.mjs.map +1 -0
- package/dist/browser/chunk-OES2N3X7.mjs +3 -0
- package/dist/browser/chunk-OES2N3X7.mjs.map +1 -0
- package/dist/browser/chunk-OFKV5GNB.mjs +1 -1
- package/dist/browser/chunk-OFKV5GNB.mjs.map +1 -1
- package/dist/browser/chunk-OVLM5A32.mjs +3 -0
- package/dist/browser/chunk-OVLM5A32.mjs.map +1 -0
- package/dist/browser/chunk-QATIN7CO.mjs +1 -1
- package/dist/browser/chunk-QATIN7CO.mjs.map +1 -1
- package/dist/browser/chunk-QOL7CAUZ.mjs +2 -0
- package/dist/browser/chunk-QOL7CAUZ.mjs.map +1 -0
- package/dist/browser/chunk-RCB3PX4V.mjs +2 -0
- package/dist/browser/chunk-RCB3PX4V.mjs.map +1 -0
- package/dist/browser/chunk-RWQSCROK.mjs +3 -0
- package/dist/browser/chunk-RWQSCROK.mjs.map +1 -0
- package/dist/browser/chunk-TIAUMK2X.mjs +2 -0
- package/dist/browser/chunk-TIAUMK2X.mjs.map +1 -0
- package/dist/browser/chunk-TQPC5MYM.mjs +3 -0
- package/dist/browser/chunk-TQPC5MYM.mjs.map +1 -0
- package/dist/browser/chunk-UNIKTCXL.mjs +3 -0
- package/dist/browser/chunk-UNIKTCXL.mjs.map +1 -0
- package/dist/browser/chunk-UULJJ5C5.mjs +3 -0
- package/dist/browser/chunk-UULJJ5C5.mjs.map +1 -0
- package/dist/browser/chunk-VSSANMPF.mjs +2 -0
- package/dist/browser/chunk-VSSANMPF.mjs.map +1 -0
- package/dist/browser/chunk-VW2BZYNY.mjs +2 -0
- package/dist/browser/chunk-VW2BZYNY.mjs.map +1 -0
- package/dist/browser/chunk-WAXBOWM6.mjs +3 -0
- package/dist/browser/chunk-WAXBOWM6.mjs.map +1 -0
- package/dist/browser/chunk-WXCQCHAX.mjs +2 -0
- package/dist/browser/chunk-WXCQCHAX.mjs.map +1 -0
- package/dist/browser/chunk-XKKBIIZG.mjs +3 -0
- package/dist/browser/chunk-XKKBIIZG.mjs.map +1 -0
- package/dist/browser/chunk-XR7FVA5M.mjs +3 -0
- package/dist/browser/chunk-XR7FVA5M.mjs.map +1 -0
- package/dist/browser/chunk-YQJFTBGV.mjs +1 -1
- package/dist/browser/chunk-YQJFTBGV.mjs.map +1 -1
- package/dist/browser/chunk-YTAMZDWC.mjs +3 -0
- package/dist/browser/chunk-YTAMZDWC.mjs.map +1 -0
- package/dist/browser/chunk-ZEONOTRL.mjs +2 -0
- package/dist/browser/chunk-ZEONOTRL.mjs.map +1 -0
- package/dist/browser/completion.d.mts +10 -0
- package/dist/browser/completion.mjs +2 -0
- package/dist/browser/completion.mjs.map +1 -0
- package/dist/browser/core.d.mts +7 -6
- package/dist/browser/core.mjs +1 -1
- package/dist/browser/core.mjs.map +1 -1
- package/dist/browser/credentials.d.mts +74 -0
- package/dist/browser/credentials.mjs +2 -0
- package/dist/browser/credentials.mjs.map +1 -0
- package/dist/browser/definition.d.mts +3 -2
- package/dist/browser/definition.mjs +1 -1
- package/dist/browser/dynamic-content.d.mts +13 -0
- package/dist/browser/dynamic-content.mjs +2 -0
- package/dist/browser/dynamic-content.mjs.map +1 -0
- package/dist/browser/dynamic-feature.d.mts +66 -6
- package/dist/browser/dynamic-feature.mjs +3 -1
- package/dist/browser/dynamic-feature.mjs.map +1 -1
- package/dist/browser/dynamic-structure.d.mts +77 -3
- package/dist/browser/dynamic-structure.mjs +1 -1
- package/dist/browser/dynamic-structure.mjs.map +1 -1
- package/dist/browser/env.d.mts +16 -2
- package/dist/browser/env.mjs +1 -1
- package/dist/browser/frame-index.d.mts +70 -9
- package/dist/browser/frame-index.mjs +1 -1
- package/dist/browser/models.d.mts +64 -0
- package/dist/browser/models.mjs +2 -0
- package/dist/browser/models.mjs.map +1 -0
- package/dist/browser/namespace.d.mts +1 -1
- package/dist/browser/namespace.mjs +1 -1
- package/dist/browser/schema.d.mts +10 -0
- package/dist/browser/schema.mjs +2 -0
- package/dist/browser/schema.mjs.map +1 -0
- package/dist/browser/segment.d.mts +13 -0
- package/dist/browser/segment.mjs +2 -0
- package/dist/browser/segment.mjs.map +1 -0
- package/dist/browser/storage.d.mts +13 -7
- package/dist/browser/storage.mjs +1 -1
- package/dist/browser/vector.d.mts +7 -0
- package/dist/browser/vector.mjs +1 -1
- package/dist/cli.cjs +5593 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/node/A-FrameChannel.component--YErPxf4.d.mts +97 -0
- package/dist/node/A-FrameChannel.component-BjgqMh1B.d.ts +97 -0
- package/dist/node/A-FrameChannel.component-C0O3TaRD.d.ts +679 -0
- package/dist/node/A-FrameChannel.component-CgBZYBz0.d.mts +379 -0
- package/dist/node/A-FrameChannel.component-CkZserv3.d.ts +97 -0
- package/dist/node/A-FrameChannel.component-DMA-3sUB.d.mts +679 -0
- package/dist/node/A-FrameChannel.component-DYV8omYR.d.ts +379 -0
- package/dist/node/A-FrameChannel.component-DwgYNfFn.d.mts +97 -0
- package/dist/node/A-FrameChannel.types-B3_xWKEO.d.mts +151 -0
- package/dist/node/A-FrameChannel.types-BGcVXTqa.d.ts +205 -0
- package/dist/node/A-FrameChannel.types-Boi8QqDK.d.mts +205 -0
- package/dist/node/A-FrameChannel.types-BsE6bNky.d.mts +205 -0
- package/dist/node/A-FrameChannel.types-C-gxXl8m.d.ts +151 -0
- package/dist/node/A-FrameChannel.types-DD2B11rf.d.ts +205 -0
- package/dist/node/A-FrameChannel.types-DYMgRiCF.d.mts +205 -0
- package/dist/node/A-FrameChannel.types-DwyZRsOy.d.ts +205 -0
- package/dist/node/A-FrameCompletion.entity-Brx11JMp.d.ts +72 -0
- package/dist/node/A-FrameCompletion.entity-Dzy9sIa8.d.mts +72 -0
- package/dist/node/A-FrameDefinition.entity-BIF0sclD.d.ts +370 -0
- package/dist/node/A-FrameDefinition.entity-Bt9ua6cn.d.ts +358 -0
- package/dist/node/A-FrameDefinition.entity-C0kzaGJ0.d.ts +143 -0
- package/dist/node/A-FrameDefinition.entity-C1aK-gdl.d.mts +370 -0
- package/dist/node/A-FrameDefinition.entity-CKPXsarS.d.mts +358 -0
- package/dist/node/A-FrameDefinition.entity-yA0GsBoe.d.mts +143 -0
- package/dist/node/A-FrameDefinition.types-BA_pLGpo.d.ts +232 -0
- package/dist/node/A-FrameDefinition.types-BT02yAhQ.d.mts +232 -0
- package/dist/node/A-FrameDynamicContentOperation.context-C_aH1gEn.d.ts +297 -0
- package/dist/node/A-FrameDynamicContentOperation.context-CoViNb19.d.mts +297 -0
- package/dist/node/A-FrameDynamicContentOperation.context-DRqH2c3o.d.ts +266 -0
- package/dist/node/A-FrameDynamicContentOperation.context-Dd7Lb7X2.d.mts +266 -0
- package/dist/node/A-FrameDynamicPatch.entity-BRuF1tqs.d.mts +29 -0
- package/dist/node/A-FrameDynamicPatch.entity-BRuF1tqs.d.ts +29 -0
- package/dist/node/A-FrameDynamicStructure.entity-BVCbolMd.d.ts +210 -0
- package/dist/node/A-FrameDynamicStructure.entity-DMvI_EPT.d.mts +210 -0
- package/dist/node/A-FrameDynamicStructure.entity-DxkPP9mR.d.mts +235 -0
- package/dist/node/A-FrameDynamicStructure.entity-DxkPP9mR.d.ts +235 -0
- package/dist/node/A-FrameLogger.component.env-node-DIDBeuiz.d.mts +114 -0
- package/dist/node/A-FrameLogger.component.env-node-DIDBeuiz.d.ts +114 -0
- package/dist/node/A-FrameNamespace.entity-BDg1FUgo.d.mts +136 -0
- package/dist/node/A-FrameNamespace.entity-HDXcLGcS.d.ts +136 -0
- package/dist/node/A-FrameSchema.entity-DjYIhsoj.d.mts +141 -0
- package/dist/node/A-FrameSchema.entity-DjYIhsoj.d.ts +141 -0
- package/dist/node/A-FrameSegment.entity-C0izuOmC.d.ts +161 -0
- package/dist/node/A-FrameSegment.entity-CMCgFCWU.d.ts +146 -0
- package/dist/node/A-FrameSegment.entity-D1xjjWvG.d.mts +161 -0
- package/dist/node/A-FrameSegment.entity-D7Aj39Wh.d.mts +146 -0
- package/dist/node/A-FrameStorage.component-BnNKzvpY.d.mts +107 -0
- package/dist/node/A-FrameStorage.component-CDztogHV.d.mts +107 -0
- package/dist/node/A-FrameStorage.component-CW0YgKDI.d.mts +107 -0
- package/dist/node/A-FrameStorage.component-D4UEkIBx.d.mts +107 -0
- package/dist/node/A-FrameStorage.component-DV_jwK6r.d.ts +107 -0
- package/dist/node/A-FrameStorage.component-Di4EvbtC.d.ts +107 -0
- package/dist/node/A-FrameStorage.component-emIH1a1M.d.ts +107 -0
- package/dist/node/A-FrameStorage.component-y-JPiIQ4.d.ts +107 -0
- package/dist/node/bundle.cjs +66 -21
- package/dist/node/bundle.cjs.map +1 -1
- package/dist/node/bundle.d.mts +88 -24
- package/dist/node/bundle.d.ts +88 -24
- package/dist/node/bundle.mjs +65 -20
- package/dist/node/bundle.mjs.map +1 -1
- package/dist/node/channel.cjs +33 -26
- package/dist/node/channel.d.mts +10 -6
- package/dist/node/channel.d.ts +10 -6
- package/dist/node/channel.mjs +13 -6
- package/dist/node/chunk-2HUSP34L.mjs +55 -0
- package/dist/node/chunk-2HUSP34L.mjs.map +1 -0
- package/dist/node/chunk-2KXGI2E5.cjs +474 -0
- package/dist/node/chunk-2KXGI2E5.cjs.map +1 -0
- package/dist/node/chunk-2OQMOIR5.mjs +170 -0
- package/dist/node/chunk-2OQMOIR5.mjs.map +1 -0
- package/dist/node/chunk-2UI7RJ4Q.mjs +207 -0
- package/dist/node/chunk-2UI7RJ4Q.mjs.map +1 -0
- package/dist/node/chunk-3SLICJ3L.cjs +265 -0
- package/dist/node/chunk-3SLICJ3L.cjs.map +1 -0
- package/dist/node/chunk-3ZDHQOIU.cjs +92 -0
- package/dist/node/chunk-3ZDHQOIU.cjs.map +1 -0
- package/dist/node/chunk-5BKCX2RO.mjs +1 -1
- package/dist/node/chunk-5BKCX2RO.mjs.map +1 -1
- package/dist/node/chunk-5NCGXLP2.mjs +6 -0
- package/dist/node/chunk-5NCGXLP2.mjs.map +1 -0
- package/dist/node/chunk-5OTXZ7BB.mjs +53 -0
- package/dist/node/chunk-5OTXZ7BB.mjs.map +1 -0
- package/dist/node/chunk-5PYIATGT.mjs +469 -0
- package/dist/node/chunk-5PYIATGT.mjs.map +1 -0
- package/dist/node/chunk-64QCZG53.cjs +57 -0
- package/dist/node/chunk-64QCZG53.cjs.map +1 -0
- package/dist/node/chunk-652OEICJ.cjs +4 -0
- package/dist/node/chunk-652OEICJ.cjs.map +1 -0
- package/dist/node/chunk-674ZX6XJ.mjs +187 -0
- package/dist/node/chunk-674ZX6XJ.mjs.map +1 -0
- package/dist/node/chunk-6ID2IXYX.mjs +6 -0
- package/dist/node/chunk-6ID2IXYX.mjs.map +1 -0
- package/dist/node/chunk-7EM3Q7HA.mjs +655 -0
- package/dist/node/chunk-7EM3Q7HA.mjs.map +1 -0
- package/dist/node/chunk-7MVVMISA.cjs +293 -0
- package/dist/node/chunk-7MVVMISA.cjs.map +1 -0
- package/dist/node/chunk-7NSLGCAZ.mjs +1395 -0
- package/dist/node/chunk-7NSLGCAZ.mjs.map +1 -0
- package/dist/node/chunk-7OLLATCC.mjs +1289 -0
- package/dist/node/chunk-7OLLATCC.mjs.map +1 -0
- package/dist/node/chunk-7SEZMRLI.cjs +183 -0
- package/dist/node/chunk-7SEZMRLI.cjs.map +1 -0
- package/dist/node/chunk-A4CVDMSV.mjs +608 -0
- package/dist/node/chunk-A4CVDMSV.mjs.map +1 -0
- package/dist/node/chunk-A7CJIUYY.cjs +4 -0
- package/dist/node/chunk-A7CJIUYY.cjs.map +1 -0
- package/dist/node/chunk-ALFFUJ2J.mjs +163 -0
- package/dist/node/chunk-ALFFUJ2J.mjs.map +1 -0
- package/dist/node/chunk-AMMQ76RJ.mjs +179 -0
- package/dist/node/chunk-AMMQ76RJ.mjs.map +1 -0
- package/dist/node/chunk-AUKWKGVA.cjs +688 -0
- package/dist/node/chunk-AUKWKGVA.cjs.map +1 -0
- package/dist/node/chunk-AY6UMDWD.cjs +270 -0
- package/dist/node/chunk-AY6UMDWD.cjs.map +1 -0
- package/dist/node/chunk-B7ZDJXD3.cjs +1 -1
- package/dist/node/chunk-B7ZDJXD3.cjs.map +1 -1
- package/dist/node/chunk-BBYOL3LM.cjs +1308 -0
- package/dist/node/chunk-BBYOL3LM.cjs.map +1 -0
- package/dist/node/chunk-BINGAHFW.cjs +1308 -0
- package/dist/node/chunk-BINGAHFW.cjs.map +1 -0
- package/dist/node/chunk-BSBY37MG.cjs +55 -0
- package/dist/node/chunk-BSBY37MG.cjs.map +1 -0
- package/dist/node/chunk-BWX7HFTH.cjs +209 -0
- package/dist/node/chunk-BWX7HFTH.cjs.map +1 -0
- package/dist/node/chunk-C37B34MH.cjs +188 -0
- package/dist/node/chunk-C37B34MH.cjs.map +1 -0
- package/dist/node/chunk-C6BBKHQG.cjs +250 -0
- package/dist/node/chunk-C6BBKHQG.cjs.map +1 -0
- package/dist/node/chunk-CLCAS67N.cjs +8 -0
- package/dist/node/chunk-CLCAS67N.cjs.map +1 -0
- package/dist/node/chunk-CNU3CRTR.mjs +43 -0
- package/dist/node/chunk-CNU3CRTR.mjs.map +1 -0
- package/dist/node/chunk-CV5FPKU6.mjs +6 -0
- package/dist/node/chunk-CV5FPKU6.mjs.map +1 -0
- package/dist/node/chunk-CZYOAFIR.mjs +129 -0
- package/dist/node/chunk-CZYOAFIR.mjs.map +1 -0
- package/dist/node/chunk-D2HTYEJZ.cjs +209 -0
- package/dist/node/chunk-D2HTYEJZ.cjs.map +1 -0
- package/dist/node/chunk-EMLZZPOT.cjs +1446 -0
- package/dist/node/chunk-EMLZZPOT.cjs.map +1 -0
- package/dist/node/chunk-EOIXXXBV.cjs +55 -0
- package/dist/node/chunk-EOIXXXBV.cjs.map +1 -0
- package/dist/node/chunk-F4UCOZW5.mjs +1 -1
- package/dist/node/chunk-F4UCOZW5.mjs.map +1 -1
- package/dist/node/chunk-F64CK4NI.mjs +53 -0
- package/dist/node/chunk-F64CK4NI.mjs.map +1 -0
- package/dist/node/chunk-FAV62EUG.cjs +35 -0
- package/dist/node/chunk-FAV62EUG.cjs.map +1 -0
- package/dist/node/chunk-GHSPKZUN.mjs +529 -0
- package/dist/node/chunk-GHSPKZUN.mjs.map +1 -0
- package/dist/node/chunk-GRNVK7DW.mjs +97 -0
- package/dist/node/chunk-GRNVK7DW.mjs.map +1 -0
- package/dist/node/chunk-H5VGRPD5.cjs +8 -0
- package/dist/node/chunk-H5VGRPD5.cjs.map +1 -0
- package/dist/node/chunk-HAMDDCPS.cjs +8 -0
- package/dist/node/chunk-HAMDDCPS.cjs.map +1 -0
- package/dist/node/chunk-HAORARSB.cjs +75 -0
- package/dist/node/chunk-HAORARSB.cjs.map +1 -0
- package/dist/node/chunk-HELNAM5Y.cjs +8 -0
- package/dist/node/chunk-HELNAM5Y.cjs.map +1 -0
- package/dist/node/chunk-HET6L5PD.mjs +530 -0
- package/dist/node/chunk-HET6L5PD.mjs.map +1 -0
- package/dist/node/chunk-HI5SEX53.mjs +264 -0
- package/dist/node/chunk-HI5SEX53.mjs.map +1 -0
- package/dist/node/chunk-HZGFXE4Q.mjs +6 -0
- package/dist/node/chunk-HZGFXE4Q.mjs.map +1 -0
- package/dist/node/chunk-IAL2NK2V.mjs +73 -0
- package/dist/node/chunk-IAL2NK2V.mjs.map +1 -0
- package/dist/node/chunk-IHELFDCW.mjs +327 -0
- package/dist/node/chunk-IHELFDCW.mjs.map +1 -0
- package/dist/node/chunk-ILD6OSYW.mjs +966 -0
- package/dist/node/chunk-ILD6OSYW.mjs.map +1 -0
- package/dist/node/chunk-IP6DFAO7.mjs +264 -0
- package/dist/node/chunk-IP6DFAO7.mjs.map +1 -0
- package/dist/node/chunk-IYEDO7OQ.cjs +276 -0
- package/dist/node/chunk-IYEDO7OQ.cjs.map +1 -0
- package/dist/node/chunk-JFPGFPQD.mjs +1413 -0
- package/dist/node/chunk-JFPGFPQD.mjs.map +1 -0
- package/dist/node/chunk-JHZGTVYF.cjs +999 -0
- package/dist/node/chunk-JHZGTVYF.cjs.map +1 -0
- package/dist/node/chunk-JN3UJBUH.mjs +608 -0
- package/dist/node/chunk-JN3UJBUH.mjs.map +1 -0
- package/dist/node/chunk-JNPDXCCN.mjs +530 -0
- package/dist/node/chunk-JNPDXCCN.mjs.map +1 -0
- package/dist/node/chunk-JQBYDEMW.mjs +1 -1
- package/dist/node/chunk-JQBYDEMW.mjs.map +1 -1
- package/dist/node/chunk-JQJ7N4NL.cjs +267 -0
- package/dist/node/chunk-JQJ7N4NL.cjs.map +1 -0
- package/dist/node/chunk-K4AJBPPY.cjs +174 -0
- package/dist/node/chunk-K4AJBPPY.cjs.map +1 -0
- package/dist/node/chunk-K7SXPJPK.cjs +131 -0
- package/dist/node/chunk-K7SXPJPK.cjs.map +1 -0
- package/dist/node/chunk-KFW4GE7H.mjs +1289 -0
- package/dist/node/chunk-KFW4GE7H.mjs.map +1 -0
- package/dist/node/chunk-KKL2DF2D.cjs +518 -0
- package/dist/node/chunk-KKL2DF2D.cjs.map +1 -0
- package/dist/node/chunk-KKMKQGTR.cjs +620 -0
- package/dist/node/chunk-KKMKQGTR.cjs.map +1 -0
- package/dist/node/chunk-KNTO7FCZ.mjs +207 -0
- package/dist/node/chunk-KNTO7FCZ.mjs.map +1 -0
- package/dist/node/chunk-KTKVW3PH.mjs +286 -0
- package/dist/node/chunk-KTKVW3PH.mjs.map +1 -0
- package/dist/node/chunk-KZPSF32W.mjs +33 -0
- package/dist/node/chunk-KZPSF32W.mjs.map +1 -0
- package/dist/node/chunk-LWKFCMA7.mjs +129 -0
- package/dist/node/chunk-LWKFCMA7.mjs.map +1 -0
- package/dist/node/chunk-M2ZSE6YJ.mjs +512 -0
- package/dist/node/chunk-M2ZSE6YJ.mjs.map +1 -0
- package/dist/node/chunk-M6DJYGDO.cjs +167 -0
- package/dist/node/chunk-M6DJYGDO.cjs.map +1 -0
- package/dist/node/chunk-MAHKDTOQ.mjs +3 -0
- package/dist/node/chunk-MAHKDTOQ.mjs.map +1 -0
- package/dist/node/chunk-MM2R2OM6.cjs +541 -0
- package/dist/node/chunk-MM2R2OM6.cjs.map +1 -0
- package/dist/node/chunk-MSOD5UQH.cjs +45 -0
- package/dist/node/chunk-MSOD5UQH.cjs.map +1 -0
- package/dist/node/chunk-MVAWR76Q.cjs +276 -0
- package/dist/node/chunk-MVAWR76Q.cjs.map +1 -0
- package/dist/node/chunk-MXUO7OR5.cjs +97 -0
- package/dist/node/chunk-MXUO7OR5.cjs.map +1 -0
- package/dist/node/chunk-N4THTV6P.cjs +131 -0
- package/dist/node/chunk-N4THTV6P.cjs.map +1 -0
- package/dist/node/chunk-NIXKAQVP.cjs +1 -1
- package/dist/node/chunk-NIXKAQVP.cjs.map +1 -1
- package/dist/node/chunk-NUPXUUPM.cjs +1428 -0
- package/dist/node/chunk-NUPXUUPM.cjs.map +1 -0
- package/dist/node/chunk-NWOUVAIS.cjs +45 -0
- package/dist/node/chunk-NWOUVAIS.cjs.map +1 -0
- package/dist/node/chunk-OK7I5OQ3.mjs +89 -0
- package/dist/node/chunk-OK7I5OQ3.mjs.map +1 -0
- package/dist/node/chunk-OMGYXCFM.mjs +248 -0
- package/dist/node/chunk-OMGYXCFM.mjs.map +1 -0
- package/dist/node/chunk-OYZAQMKD.mjs +263 -0
- package/dist/node/chunk-OYZAQMKD.mjs.map +1 -0
- package/dist/node/chunk-P2LULMNL.cjs +189 -0
- package/dist/node/chunk-P2LULMNL.cjs.map +1 -0
- package/dist/node/chunk-PABEFHCO.mjs +63 -0
- package/dist/node/chunk-PABEFHCO.mjs.map +1 -0
- package/dist/node/chunk-Q5NYJQP2.cjs +8 -0
- package/dist/node/chunk-Q5NYJQP2.cjs.map +1 -0
- package/dist/node/chunk-QCEWWJ3N.cjs +65 -0
- package/dist/node/chunk-QCEWWJ3N.cjs.map +1 -0
- package/dist/node/chunk-QW4AZ3Z2.cjs +542 -0
- package/dist/node/chunk-QW4AZ3Z2.cjs.map +1 -0
- package/dist/node/chunk-RK5WSZ5J.mjs +43 -0
- package/dist/node/chunk-RK5WSZ5J.mjs.map +1 -0
- package/dist/node/chunk-RPHYBPXT.mjs +30 -0
- package/dist/node/chunk-RPHYBPXT.mjs.map +1 -0
- package/dist/node/chunk-RVXASBMQ.mjs +273 -0
- package/dist/node/chunk-RVXASBMQ.mjs.map +1 -0
- package/dist/node/chunk-RVZTZD32.mjs +187 -0
- package/dist/node/chunk-RVZTZD32.mjs.map +1 -0
- package/dist/node/chunk-RWLKISZQ.mjs +273 -0
- package/dist/node/chunk-RWLKISZQ.mjs.map +1 -0
- package/dist/node/chunk-SESXQJDD.cjs +999 -0
- package/dist/node/chunk-SESXQJDD.cjs.map +1 -0
- package/dist/node/chunk-SKIEPTFS.mjs +6 -0
- package/dist/node/chunk-SKIEPTFS.mjs.map +1 -0
- package/dist/node/chunk-SL7FT5R5.mjs +94 -0
- package/dist/node/chunk-SL7FT5R5.mjs.map +1 -0
- package/dist/node/chunk-SXHQW74T.mjs +43 -0
- package/dist/node/chunk-SXHQW74T.mjs.map +1 -0
- package/dist/node/chunk-TEJKDVNT.cjs +620 -0
- package/dist/node/chunk-TEJKDVNT.cjs.map +1 -0
- package/dist/node/chunk-TQS5WYND.cjs +352 -0
- package/dist/node/chunk-TQS5WYND.cjs.map +1 -0
- package/dist/node/chunk-UCAWV2IG.mjs +184 -0
- package/dist/node/chunk-UCAWV2IG.mjs.map +1 -0
- package/dist/node/chunk-UDUJDEAO.cjs +189 -0
- package/dist/node/chunk-UDUJDEAO.cjs.map +1 -0
- package/dist/node/chunk-VMJDL4SS.cjs +542 -0
- package/dist/node/chunk-VMJDL4SS.cjs.map +1 -0
- package/dist/node/chunk-VNOZTB3B.cjs +8 -0
- package/dist/node/chunk-VNOZTB3B.cjs.map +1 -0
- package/dist/node/chunk-VPMBZGYR.mjs +327 -0
- package/dist/node/chunk-VPMBZGYR.mjs.map +1 -0
- package/dist/node/chunk-WEPNBKOA.mjs +6 -0
- package/dist/node/chunk-WEPNBKOA.mjs.map +1 -0
- package/dist/node/chunk-WTBRJXFG.cjs +100 -0
- package/dist/node/chunk-WTBRJXFG.cjs.map +1 -0
- package/dist/node/chunk-WXCQCHAX.mjs +3 -0
- package/dist/node/chunk-WXCQCHAX.mjs.map +1 -0
- package/dist/node/chunk-X3TRPYGV.cjs +352 -0
- package/dist/node/chunk-X3TRPYGV.cjs.map +1 -0
- package/dist/node/chunk-XFUF7SDO.cjs +1 -1
- package/dist/node/chunk-XFUF7SDO.cjs.map +1 -1
- package/dist/node/chunk-XP2EPEBM.mjs +966 -0
- package/dist/node/chunk-XP2EPEBM.mjs.map +1 -0
- package/dist/node/chunk-XPIJ6BKP.cjs +45 -0
- package/dist/node/chunk-XPIJ6BKP.cjs.map +1 -0
- package/dist/node/chunk-YRVBMP7I.cjs +542 -0
- package/dist/node/chunk-YRVBMP7I.cjs.map +1 -0
- package/dist/node/chunk-ZIHSN5EE.mjs +530 -0
- package/dist/node/chunk-ZIHSN5EE.mjs.map +1 -0
- package/dist/node/chunk-ZNQMUU7I.cjs +32 -0
- package/dist/node/chunk-ZNQMUU7I.cjs.map +1 -0
- package/dist/node/completion.cjs +23 -0
- package/dist/node/completion.cjs.map +1 -0
- package/dist/node/completion.d.mts +10 -0
- package/dist/node/completion.d.ts +10 -0
- package/dist/node/completion.mjs +6 -0
- package/dist/node/completion.mjs.map +1 -0
- package/dist/node/core.cjs +67 -38
- package/dist/node/core.cjs.map +1 -1
- package/dist/node/core.d.mts +13 -8
- package/dist/node/core.d.ts +13 -8
- package/dist/node/core.mjs +58 -29
- package/dist/node/core.mjs.map +1 -1
- package/dist/node/credentials.cjs +17 -0
- package/dist/node/credentials.cjs.map +1 -0
- package/dist/node/credentials.d.mts +74 -0
- package/dist/node/credentials.d.ts +74 -0
- package/dist/node/credentials.mjs +4 -0
- package/dist/node/credentials.mjs.map +1 -0
- package/dist/node/definition.cjs +6 -4
- package/dist/node/definition.d.mts +3 -2
- package/dist/node/definition.d.ts +3 -2
- package/dist/node/definition.mjs +4 -2
- package/dist/node/dynamic-content.cjs +30 -0
- package/dist/node/dynamic-content.cjs.map +1 -0
- package/dist/node/dynamic-content.d.mts +13 -0
- package/dist/node/dynamic-content.d.ts +13 -0
- package/dist/node/dynamic-content.mjs +9 -0
- package/dist/node/dynamic-content.mjs.map +1 -0
- package/dist/node/dynamic-feature.cjs +41 -7
- package/dist/node/dynamic-feature.cjs.map +1 -1
- package/dist/node/dynamic-feature.d.mts +66 -6
- package/dist/node/dynamic-feature.d.ts +66 -6
- package/dist/node/dynamic-feature.mjs +16 -9
- package/dist/node/dynamic-feature.mjs.map +1 -1
- package/dist/node/dynamic-structure.cjs +45 -136
- package/dist/node/dynamic-structure.cjs.map +1 -1
- package/dist/node/dynamic-structure.d.mts +77 -3
- package/dist/node/dynamic-structure.d.ts +77 -3
- package/dist/node/dynamic-structure.mjs +16 -135
- package/dist/node/dynamic-structure.mjs.map +1 -1
- package/dist/node/env.cjs +3 -3
- package/dist/node/env.d.mts +26 -0
- package/dist/node/env.d.ts +26 -0
- package/dist/node/env.mjs +2 -2
- package/dist/node/frame-index.cjs +7 -4
- package/dist/node/frame-index.d.mts +70 -9
- package/dist/node/frame-index.d.ts +70 -9
- package/dist/node/frame-index.mjs +6 -3
- package/dist/node/logger.d.mts +4 -113
- package/dist/node/logger.d.ts +4 -113
- package/dist/node/models.cjs +14 -0
- package/dist/node/models.cjs.map +1 -0
- package/dist/node/models.d.mts +64 -0
- package/dist/node/models.d.ts +64 -0
- package/dist/node/models.mjs +5 -0
- package/dist/node/models.mjs.map +1 -0
- package/dist/node/namespace.cjs +7 -5
- package/dist/node/namespace.d.mts +1 -1
- package/dist/node/namespace.d.ts +1 -1
- package/dist/node/namespace.mjs +4 -2
- package/dist/node/schema.cjs +22 -0
- package/dist/node/schema.cjs.map +1 -0
- package/dist/node/schema.d.mts +10 -0
- package/dist/node/schema.d.ts +10 -0
- package/dist/node/schema.mjs +5 -0
- package/dist/node/schema.mjs.map +1 -0
- package/dist/node/segment.cjs +25 -0
- package/dist/node/segment.cjs.map +1 -0
- package/dist/node/segment.d.mts +13 -0
- package/dist/node/segment.d.ts +13 -0
- package/dist/node/segment.mjs +8 -0
- package/dist/node/segment.mjs.map +1 -0
- package/dist/node/storage.cjs +17 -14
- package/dist/node/storage.d.mts +18 -6
- package/dist/node/storage.d.ts +18 -6
- package/dist/node/storage.mjs +11 -8
- package/dist/node/vector.cjs +2 -2
- package/dist/node/vector.d.mts +7 -0
- package/dist/node/vector.d.ts +7 -0
- package/dist/node/vector.mjs +1 -1
- package/examples/article/main.ts +358 -0
- package/examples/components.ts +660 -0
- package/examples/feature/file-system.components.ts +211 -0
- package/examples/feature/main.ts +374 -0
- package/examples/interaction/main.ts +426 -0
- package/examples/logger.ts +126 -0
- package/examples/structure/main.ts +195 -0
- package/examples/structure/renderer.ts +296 -0
- package/examples/structure/server-app.components.ts +387 -0
- package/jest.config.browser.ts +9 -0
- package/jest.config.examples.ts +49 -0
- package/jest.config.integration.ts +38 -0
- package/jest.config.ts +56 -27
- package/jest.config.unit.ts +38 -0
- package/package.json +75 -7
- package/src/index.ts +13 -0
- package/src/lib/A-Frame/A-Frame.component.env-browser.ts +14 -3
- package/src/lib/A-Frame/A-Frame.component.env-node.ts +45 -15
- package/src/lib/A-Frame/A-Frame.context.ts +9 -8
- package/src/lib/A-Frame/decorators/A-FrameDefine.decorator.ts +4 -4
- package/src/lib/A-FrameBundle/A-FrameBundle.builder.env-node.ts +95 -25
- package/src/lib/A-FrameBundle/A-FrameBundle.constants.ts +1 -1
- package/src/lib/A-FrameBundle/A-FrameBundle.types.ts +54 -13
- package/src/lib/A-FrameBundle/index.browser.ts +1 -1
- package/src/lib/A-FrameBundle/index.ts +1 -1
- package/src/lib/A-FrameCLI/A-FrameCLI.container.ts +18 -7
- package/src/lib/A-FrameChannel/A-FrameChannel.component.env-browser.ts +0 -2
- package/src/lib/A-FrameChannel/A-FrameChannel.component.env-node.ts +14 -15
- package/src/lib/A-FrameChannel/A-FrameChannel.component.ts +542 -7
- package/src/lib/A-FrameChannel/A-FrameChannel.constants.ts +2 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.types.ts +65 -1
- package/src/lib/A-FrameChannel/A-FrameChannelDsgStream.entity.ts +112 -0
- package/src/lib/A-FrameChannel/A-FrameChannelStream.entity.ts +1 -0
- package/src/lib/A-FrameChannel/index.browser.ts +5 -0
- package/src/lib/A-FrameCompletion/A-FrameCompletion.constants.ts +3 -0
- package/src/lib/A-FrameCompletion/A-FrameCompletion.entity.ts +128 -0
- package/src/lib/A-FrameCompletion/A-FrameCompletion.types.ts +40 -0
- package/src/lib/A-FrameCompletion/index.ts +3 -0
- package/src/lib/A-FrameCredentials/A-FrameCredentials.constants.ts +5 -0
- package/src/lib/A-FrameCredentials/A-FrameCredentials.entity.ts +120 -0
- package/src/lib/A-FrameCredentials/A-FrameCredentials.types.ts +39 -0
- package/src/lib/A-FrameCredentials/index.ts +3 -0
- package/src/lib/A-FrameDefinition/A-FrameDefinition.entity.ts +23 -1
- package/src/lib/A-FrameDefinition/A-FrameDefinition.types.ts +34 -1
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContent.constants.ts +5 -0
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContent.entity.ts +348 -0
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContent.error.ts +10 -0
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContent.types.ts +116 -0
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContentIndex.context.ts +288 -0
- package/src/lib/A-FrameDynamicContent/A-FrameDynamicContentOperation.context.ts +26 -0
- package/src/lib/A-FrameDynamicContent/index.ts +5 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.constants.ts +6 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.entity.ts +253 -4
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.error.ts +11 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.types.ts +188 -4
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeatureOperation.context.ts +33 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameMethodMapIndex.context.ts +99 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameMethodMapper.component.ts +182 -0
- package/src/lib/A-FrameDynamicFeature/index.ts +6 -1
- package/src/lib/A-FrameDynamicPatch/index.ts +2 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameComponentMapIndex.context.ts +99 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameComponentMapper.component.ts +320 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.constants.ts +2 -1
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.entity.ts +240 -128
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.types.ts +183 -87
- package/src/lib/A-FrameDynamicStructure/index.ts +3 -0
- package/src/lib/A-FrameEnv/A-FrameEnv.fragment.env-browser.ts +5 -1
- package/src/lib/A-FrameEnv/A-FrameEnv.fragment.env-node.ts +23 -1
- package/src/lib/A-FrameEnv/A-FrameEnv.types.ts +12 -0
- package/src/lib/A-FrameIndex/A-FrameIndex.context.ts +63 -13
- package/src/lib/A-FrameIndex/A-FrameIndex.types.ts +53 -0
- package/src/lib/A-FrameModels/A-FrameModels.constants.ts +75 -0
- package/src/lib/A-FrameModels/index.ts +1 -0
- package/src/lib/A-FrameNamespace/A-FrameNamespace.entity.ts +10 -3
- package/src/lib/A-FrameNamespace/A-FrameNamespace.types.ts +5 -0
- package/src/lib/A-FrameSchema/A-FrameSchema.constants.ts +4 -0
- package/src/lib/A-FrameSchema/A-FrameSchema.entity.ts +154 -0
- package/src/lib/A-FrameSchema/A-FrameSchema.types.ts +88 -0
- package/src/lib/A-FrameSchema/index.ts +3 -0
- package/src/lib/A-FrameSegment/A-FrameSegment.constants.ts +12 -0
- package/src/lib/A-FrameSegment/A-FrameSegment.entity.ts +221 -0
- package/src/lib/A-FrameSegment/A-FrameSegment.types.ts +91 -0
- package/src/lib/A-FrameSegment/index.ts +3 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.codec.ts +10 -4
- package/src/lib/A-FrameStorage/browser/A-FrameBrowserStorage.component.ts +21 -0
- package/src/lib/A-FrameStorage/browser/A-FrameBrowserStorageBlobs.context.ts +39 -21
- package/src/lib/A-FrameStorage/node/A-FrameNodeStorage.component.ts +124 -42
- package/src/lib/A-FrameVector/A-FrameVector.entity.ts +24 -0
- package/tests/A-Frame.browser.test.ts +167 -57
- package/tests/A-FrameDynamicContent.browser.test.ts +74 -0
- package/tests/integration/A-Frame.integration.test.ts +272 -0
- package/tests/integration/A-FrameCompletion.integration.test.ts +88 -0
- package/tests/integration/A-FrameContentMapping.integration.test.ts +261 -0
- package/tests/integration/A-FrameDefinition.integration.test.ts +154 -0
- package/tests/integration/A-FrameDynamicContent.integration.test.ts +126 -0
- package/tests/integration/A-FrameDynamicFeature.integration.test.ts +337 -0
- package/tests/integration/A-FrameDynamicStructure.integration.test.ts +264 -0
- package/tests/integration/A-FrameNamespace.integration.test.ts +109 -0
- package/tests/integration/A-FrameSchema.integration.test.ts +74 -0
- package/tests/integration/A-FrameSegment.integration.test.ts +102 -0
- package/tests/integration/A-FrameStorage.integration.test.ts +598 -0
- package/tests/jest.setup.browser.ts +1 -1
- package/tests/jest.setup.ts +4 -0
- package/tests/jest.setup.unit.ts +30 -0
- package/tests/unit/A-FrameChannel.unit.test.ts +124 -0
- package/tests/unit/A-FrameCompletion.unit.test.ts +25 -0
- package/tests/unit/A-FrameDefinition.unit.test.ts +36 -0
- package/tests/unit/A-FrameDynamicContent.unit.test.ts +28 -0
- package/tests/unit/A-FrameNamespace.unit.test.ts +35 -0
- package/tests/unit/A-FrameSchema.unit.test.ts +31 -0
- package/tests/unit/A-FrameSegment.unit.test.ts +20 -0
- package/tests/unit/mocks/MockA_FrameChannel.ts +112 -0
- package/tsconfig.browser.json +2 -0
- package/tsconfig.json +6 -0
- package/tsup.config.ts +52 -0
- package/tests/A-Frame.test.ts +0 -98
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
import { A_TYPES__Ctor, A_Component, A_Fragment, A_Container, A_TYPES__Entity_Serialized, A_Entity } from '@adaas/a-concept';
|
|
2
|
+
import { I as IA_Frame_Channel, c as A_FrameChannelRequest, s as A_Frame_GenerateResponse, m as A_FrameEmbedOptions, r as A_Frame_EmbedResponse, q as A_Frame_CredentialResponse } from './A-FrameChannel.types-DD2B11rf.js';
|
|
3
|
+
import { A_FrameEnv } from './env.js';
|
|
4
|
+
import { A as A_FrameDefinition } from './A-FrameDefinition.entity-C0kzaGJ0.js';
|
|
5
|
+
import { A as A_FrameNamespace } from './A-FrameNamespace.entity-HDXcLGcS.js';
|
|
6
|
+
import { o as A_FrameDynamicPatch_Serialized, m as A_FrameDynamicPatch, f as A_FrameDynamicContent, i as A_FrameDynamicContentOperation } from './A-FrameDynamicContentOperation.context-C_aH1gEn.js';
|
|
7
|
+
import { A as A_FrameSegment } from './A-FrameSegment.entity-C0izuOmC.js';
|
|
8
|
+
import { A as A_FrameCompletion } from './A-FrameCompletion.entity-Brx11JMp.js';
|
|
9
|
+
import { A as A_FrameSchema } from './A-FrameSchema.entity-DjYIhsoj.js';
|
|
10
|
+
|
|
11
|
+
declare const A_FrameDynamicStructureFeatures: {
|
|
12
|
+
readonly Load: "_A_FRAME_DYNAMIC_STRUCTURE_LOAD";
|
|
13
|
+
readonly Patch: "_A_FRAME_DYNAMIC_STRUCTURE_PATCH";
|
|
14
|
+
readonly Generate: "_A_FRAME_DYNAMIC_STRUCTURE_GENERATE";
|
|
15
|
+
readonly Map: "_A_FRAME_DYNAMIC_STRUCTURE_MAP";
|
|
16
|
+
};
|
|
17
|
+
declare const A_FrameDynamicStructureEvents: {
|
|
18
|
+
readonly Updated: "_A_FRAME_DYNAMIC_STRUCTURE_UPDATED";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
type DynamicStructureDefaultBasesNames = 'A_Component' | 'A_Container' | 'A_Fragment';
|
|
22
|
+
type BaseClassName = DynamicStructureDefaultBasesNames | A_TYPES__Ctor<A_Component | A_Fragment | A_Container>;
|
|
23
|
+
type A_FrameDynamicStructureOptions = {
|
|
24
|
+
/**
|
|
25
|
+
* Which AI model to use for structure generation and patching.
|
|
26
|
+
* Defaults to `A_FRAME_MODELS.PULSAR` — the architecture model.
|
|
27
|
+
*/
|
|
28
|
+
model?: string;
|
|
29
|
+
/** Context hint passed to the AI to scope the expected architecture style. */
|
|
30
|
+
context?: string;
|
|
31
|
+
/** Free-form hint about meta/prop requirements for component selection. */
|
|
32
|
+
metaHint?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Only include elements whose base class is in this list.
|
|
35
|
+
* Accepts class name strings (e.g. `'A_Component'`) or constructors.
|
|
36
|
+
*/
|
|
37
|
+
includeBases?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment | A_Container>>;
|
|
38
|
+
/**
|
|
39
|
+
* Exclude elements whose base class is in this list.
|
|
40
|
+
*/
|
|
41
|
+
excludeBases?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment | A_Container>>;
|
|
42
|
+
/**
|
|
43
|
+
* Explicit allowlist of component/fragment/entity names for the AI to pick from.
|
|
44
|
+
*/
|
|
45
|
+
enabledComponents?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment | A_Container>>;
|
|
46
|
+
};
|
|
47
|
+
type A_FrameComponentMapOptions = {
|
|
48
|
+
/**
|
|
49
|
+
* Minimum cosine-similarity score (0–1) required for a generated element to
|
|
50
|
+
* be considered matched to a registered component in the local index.
|
|
51
|
+
* Default: `0.7`
|
|
52
|
+
*/
|
|
53
|
+
minScore?: number;
|
|
54
|
+
/**
|
|
55
|
+
* How many times the mapper will invoke the server's select/suggest endpoint
|
|
56
|
+
* for unmatched elements before giving up and recording a `matchError`.
|
|
57
|
+
* Default: `3`
|
|
58
|
+
*/
|
|
59
|
+
maxRetries?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Number of top-scoring candidates to pull from the local index and send to
|
|
62
|
+
* the AI on each retry. Larger values give the AI more choices but increase
|
|
63
|
+
* the request payload size.
|
|
64
|
+
* Default: `5`
|
|
65
|
+
*/
|
|
66
|
+
candidateCount?: number;
|
|
67
|
+
};
|
|
68
|
+
type A_FrameDynamicStructure_Init = {
|
|
69
|
+
/** Goal or description driving structure generation. */
|
|
70
|
+
prompt: string;
|
|
71
|
+
/** Optional generation / filtering options. */
|
|
72
|
+
options?: Partial<A_FrameDynamicStructureOptions & A_FrameComponentMapOptions>;
|
|
73
|
+
};
|
|
74
|
+
type A_FrameDynamicStructure_Serialized = {
|
|
75
|
+
name: string;
|
|
76
|
+
description?: string;
|
|
77
|
+
metadata?: Record<string, unknown>;
|
|
78
|
+
history: Array<A_FrameDynamicPatch_Serialized>;
|
|
79
|
+
} & A_TYPES__Entity_Serialized;
|
|
80
|
+
type A_FrameDynamicStructureFeatureNames = typeof A_FrameDynamicStructureFeatures[keyof typeof A_FrameDynamicStructureFeatures];
|
|
81
|
+
/**
|
|
82
|
+
* A single architectural element in the generated structure as returned by the
|
|
83
|
+
* server. The `prompt` is a one-sentence description of its purpose and
|
|
84
|
+
* responsibilities. `embedding` is the server-computed search vector — present
|
|
85
|
+
* immediately after generate/patch, and used by the mapper for cosine search.
|
|
86
|
+
*/
|
|
87
|
+
type A_FrameDynamicStructureDefinitionEntity = {
|
|
88
|
+
prompt: string;
|
|
89
|
+
/** Why this element is needed — the requirement or concern that justifies its inclusion. */
|
|
90
|
+
role?: string;
|
|
91
|
+
class?: string;
|
|
92
|
+
/** @internal Server-computed search vector; consumed during mapping. */
|
|
93
|
+
embedding?: number[];
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Single element in the component-map result. Carries the original prompt/class
|
|
97
|
+
* from the definition plus the match outcome from the A_FrameComponentMapper.
|
|
98
|
+
*/
|
|
99
|
+
type A_FrameComponentMapEntry = {
|
|
100
|
+
prompt: string;
|
|
101
|
+
/** Why this element is needed — the requirement or concern that justifies its inclusion. */
|
|
102
|
+
role?: string;
|
|
103
|
+
class?: string;
|
|
104
|
+
/** Name of the registered class matched to this element, or `null` if unmatched. */
|
|
105
|
+
matchedClass: string | null;
|
|
106
|
+
/** Cosine-similarity score of the best found candidate (0–1). */
|
|
107
|
+
matchScore: number;
|
|
108
|
+
/** Populated when the element could not be matched after all retries. */
|
|
109
|
+
matchError?: {
|
|
110
|
+
title: string;
|
|
111
|
+
description: string;
|
|
112
|
+
} | null;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Full architecture definition produced by `generate()` or `patch()`.
|
|
116
|
+
*/
|
|
117
|
+
type A_FrameDynamicStructureDefinition = {
|
|
118
|
+
/**
|
|
119
|
+
* Infrastructure/runtime hosts (HTTP server, worker process, database, etc.).
|
|
120
|
+
* Each container lists the components, fragments and entities that belong to it.
|
|
121
|
+
*/
|
|
122
|
+
containers: Array<A_FrameDynamicStructureDefinitionEntity & {
|
|
123
|
+
components: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
124
|
+
fragments: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
125
|
+
entities: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
126
|
+
}>;
|
|
127
|
+
/** Stateless logic units with methods and features (controllers, services, renderers, etc.). */
|
|
128
|
+
components: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
129
|
+
/** Stateful context objects shared across components (session, config, state store, etc.). */
|
|
130
|
+
fragments: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
131
|
+
/** Domain data models with unique identities (User, Article, Order, etc.). */
|
|
132
|
+
entities: Array<A_FrameDynamicStructureDefinitionEntity>;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Result produced by `map()` after matching all definition elements against the
|
|
136
|
+
* local A_FrameIndex. Mirrors the definition's shape but uses
|
|
137
|
+
* `A_FrameComponentMapEntry` nodes (match outcome) instead of raw definition
|
|
138
|
+
* nodes (embeddings).
|
|
139
|
+
*/
|
|
140
|
+
type A_FrameComponentMapResult = {
|
|
141
|
+
containers: Array<A_FrameComponentMapEntry & {
|
|
142
|
+
components: Array<A_FrameComponentMapEntry>;
|
|
143
|
+
fragments: Array<A_FrameComponentMapEntry>;
|
|
144
|
+
entities: Array<A_FrameComponentMapEntry>;
|
|
145
|
+
}>;
|
|
146
|
+
components: Array<A_FrameComponentMapEntry>;
|
|
147
|
+
fragments: Array<A_FrameComponentMapEntry>;
|
|
148
|
+
entities: Array<A_FrameComponentMapEntry>;
|
|
149
|
+
};
|
|
150
|
+
interface A_FrameStructureGenerateResponse {
|
|
151
|
+
definition: A_FrameDynamicStructureDefinition;
|
|
152
|
+
model: string;
|
|
153
|
+
date: string;
|
|
154
|
+
meta: {
|
|
155
|
+
server_version: string;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
interface A_FrameStructureSelectCandidate {
|
|
159
|
+
name: string;
|
|
160
|
+
description?: string;
|
|
161
|
+
}
|
|
162
|
+
interface A_FrameStructureSelectElement {
|
|
163
|
+
prompt: string;
|
|
164
|
+
role?: string;
|
|
165
|
+
candidates: A_FrameStructureSelectCandidate[];
|
|
166
|
+
}
|
|
167
|
+
type A_FrameStructureSelectResolutionType = 'select' | 'suggest' | 'none';
|
|
168
|
+
interface A_FrameStructureSelectResolution {
|
|
169
|
+
elementPrompt: string;
|
|
170
|
+
type: A_FrameStructureSelectResolutionType;
|
|
171
|
+
/** Present when type === 'select' */
|
|
172
|
+
selectedClass?: string;
|
|
173
|
+
/** Present when type === 'suggest' */
|
|
174
|
+
suggestion?: {
|
|
175
|
+
prompt: string;
|
|
176
|
+
role?: string;
|
|
177
|
+
/** Server-computed embedding ready for immediate local re-search. */
|
|
178
|
+
embedding?: number[];
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
interface A_FrameStructureSelectRequest {
|
|
182
|
+
originalPrompt: string;
|
|
183
|
+
elements: A_FrameStructureSelectElement[];
|
|
184
|
+
model?: string;
|
|
185
|
+
}
|
|
186
|
+
interface A_FrameStructureSelectResponse {
|
|
187
|
+
resolutions: A_FrameStructureSelectResolution[];
|
|
188
|
+
model: string;
|
|
189
|
+
date: string;
|
|
190
|
+
meta: {
|
|
191
|
+
server_version: string;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
interface A_FrameStructurePatchResponse {
|
|
195
|
+
patchSummary: string;
|
|
196
|
+
definition: A_FrameDynamicStructureDefinition;
|
|
197
|
+
model: string;
|
|
198
|
+
date: string;
|
|
199
|
+
meta: {
|
|
200
|
+
server_version: string;
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
interface A_FrameStructurePatchResponse {
|
|
204
|
+
patchSummary: string;
|
|
205
|
+
definition: A_FrameDynamicStructureDefinition;
|
|
206
|
+
model: string;
|
|
207
|
+
date: string;
|
|
208
|
+
meta: {
|
|
209
|
+
server_version: string;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
declare class A_FrameDynamicStructure extends A_Entity<A_FrameDynamicStructure_Init, A_FrameDynamicStructure_Serialized> {
|
|
214
|
+
static get concept(): string;
|
|
215
|
+
prompt: string;
|
|
216
|
+
createdAt: number;
|
|
217
|
+
private model;
|
|
218
|
+
private _context;
|
|
219
|
+
private _metaHint;
|
|
220
|
+
private _includeBases;
|
|
221
|
+
private _excludeBases;
|
|
222
|
+
private _enabledComponents;
|
|
223
|
+
private _minScore;
|
|
224
|
+
private _maxRetries;
|
|
225
|
+
private _candidateCount;
|
|
226
|
+
private _definition;
|
|
227
|
+
private _mapResult;
|
|
228
|
+
private _history;
|
|
229
|
+
private _version;
|
|
230
|
+
fromNew(options: A_FrameDynamicStructure_Init): void;
|
|
231
|
+
/** The AI model name used for generation / patching. */
|
|
232
|
+
get modelName(): string;
|
|
233
|
+
/** Context hint forwarded to the AI for scoping architecture style. */
|
|
234
|
+
get contextHint(): string;
|
|
235
|
+
/** Meta/prop hint forwarded to the AI for component selection. */
|
|
236
|
+
get metaHintValue(): string;
|
|
237
|
+
/** Base-class allowlist (string names). */
|
|
238
|
+
get includedBases(): string[];
|
|
239
|
+
/** Base-class denylist (string names). */
|
|
240
|
+
get excludedBases(): string[];
|
|
241
|
+
/** Explicit component allowlist (string names). */
|
|
242
|
+
get enabledComponentsList(): string[];
|
|
243
|
+
/** Minimum cosine-similarity score (0–1) required for a component match. */
|
|
244
|
+
get minScore(): number;
|
|
245
|
+
/** Max server refinement retries per unmatched element. */
|
|
246
|
+
get maxRetries(): number;
|
|
247
|
+
/** Number of top candidates to send to the AI on each retry. */
|
|
248
|
+
get candidateCount(): number;
|
|
249
|
+
/** Current architecture definition as a raw object, or null before first generate(). */
|
|
250
|
+
get definition(): A_FrameDynamicStructureDefinition | null;
|
|
251
|
+
/**
|
|
252
|
+
* Current architecture definition serialised to a formatted JSON string,
|
|
253
|
+
* with server embeddings stripped for readability.
|
|
254
|
+
* Returns an empty-definition JSON before generate() is called.
|
|
255
|
+
*/
|
|
256
|
+
get structure(): string;
|
|
257
|
+
/** Component-mapping result produced by map(), or null before map() is called. */
|
|
258
|
+
get mapResult(): A_FrameComponentMapResult | null;
|
|
259
|
+
/** Immutable patch history. */
|
|
260
|
+
get history(): ReadonlyArray<A_FrameDynamicPatch>;
|
|
261
|
+
/** Current definition version (increments with each patch). */
|
|
262
|
+
get version(): number;
|
|
263
|
+
/**
|
|
264
|
+
* Generate the architecture definition from the entity's prompt.
|
|
265
|
+
* Calls the server's /api/v1/structure/generate endpoint via the A_FrameChannel feature.
|
|
266
|
+
*/
|
|
267
|
+
generate(): Promise<void>;
|
|
268
|
+
/**
|
|
269
|
+
* Apply a natural-language patch instruction to the current definition.
|
|
270
|
+
* Calls the server's /api/v1/structure/patch endpoint via the A_FrameChannel feature.
|
|
271
|
+
*/
|
|
272
|
+
patch(instruction: string): Promise<void>;
|
|
273
|
+
/**
|
|
274
|
+
* Match every element in the current definition against the local A_FrameIndex.
|
|
275
|
+
* Retries unmatched elements via server-side refinement patches.
|
|
276
|
+
*
|
|
277
|
+
* Results are stored separately from the raw definition and are available
|
|
278
|
+
* via `mapResult` after this call completes.
|
|
279
|
+
*/
|
|
280
|
+
map(): Promise<void>;
|
|
281
|
+
/**
|
|
282
|
+
* Populate the definition from a server generate response.
|
|
283
|
+
* Creates the first history entry.
|
|
284
|
+
*/
|
|
285
|
+
hydrateFromGeneration(definition: A_FrameDynamicStructureDefinition, meta: {
|
|
286
|
+
model: string;
|
|
287
|
+
serverVersion: string;
|
|
288
|
+
}): void;
|
|
289
|
+
/**
|
|
290
|
+
* Replace the current definition with a patched version from the server.
|
|
291
|
+
* Increments the version and records a history entry.
|
|
292
|
+
*/
|
|
293
|
+
hydrateFromPatch(definition: A_FrameDynamicStructureDefinition, patchSummary: string, meta: {
|
|
294
|
+
model: string;
|
|
295
|
+
serverVersion: string;
|
|
296
|
+
}): void;
|
|
297
|
+
/**
|
|
298
|
+
* Store the component-mapping result produced by `A_FrameComponentMapper`.
|
|
299
|
+
* Called by the mapper after it finishes matching all elements.
|
|
300
|
+
*/
|
|
301
|
+
hydrateFromMap(result: A_FrameComponentMapResult): void;
|
|
302
|
+
toJSON(): A_FrameDynamicStructure_Serialized;
|
|
303
|
+
private _countElements;
|
|
304
|
+
/** Return a copy of the definition with all `embedding` arrays removed. */
|
|
305
|
+
private _stripEmbeddings;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare class A_FrameDynamicStructureOperation<_InputParams = any> extends A_Fragment {
|
|
309
|
+
protected _meta: Map<string, any>;
|
|
310
|
+
constructor(params?: _InputParams);
|
|
311
|
+
get params(): _InputParams;
|
|
312
|
+
get(key: string): any;
|
|
313
|
+
set(key: string, value: any): void;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare const A_FrameDynamicFeatureFeatures: {
|
|
317
|
+
readonly Generate: "_A_FRAME_DYNAMIC_FEATURE_GENERATE";
|
|
318
|
+
readonly Patch: "_A_FRAME_DYNAMIC_FEATURE_PATCH";
|
|
319
|
+
readonly Map: "_A_FRAME_DYNAMIC_FEATURE_MAP";
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
type A_FrameDynamicFeatureOptions = {
|
|
323
|
+
/**
|
|
324
|
+
* Which AI model to use for workflow generation.
|
|
325
|
+
* Defaults to `A_FRAME_MODELS.PULSAR` — the architecture model.
|
|
326
|
+
*/
|
|
327
|
+
model?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Additional context hint forwarded to the AI — e.g. "microservices",
|
|
330
|
+
* "monolith", "event-driven".
|
|
331
|
+
*/
|
|
332
|
+
context?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Only consider methods whose owning class's base is in this allowlist.
|
|
335
|
+
* Accepts string names or constructors.
|
|
336
|
+
*/
|
|
337
|
+
includeBases?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment>>;
|
|
338
|
+
/**
|
|
339
|
+
* Exclude methods whose owning class's base is in this denylist.
|
|
340
|
+
*/
|
|
341
|
+
excludeBases?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment>>;
|
|
342
|
+
/**
|
|
343
|
+
* Explicit allowlist of component/fragment names the AI may reference.
|
|
344
|
+
*/
|
|
345
|
+
enabledComponents?: Array<string | A_TYPES__Ctor<A_Component | A_Fragment>>;
|
|
346
|
+
/**
|
|
347
|
+
* Minimum cosine-similarity score (0–1) for a workflow step to be matched
|
|
348
|
+
* to a registered method. Default: `0.7`
|
|
349
|
+
*/
|
|
350
|
+
minScore?: number;
|
|
351
|
+
/**
|
|
352
|
+
* How many server refinement retries before a step is marked unmatched.
|
|
353
|
+
* Default: `3`
|
|
354
|
+
*/
|
|
355
|
+
maxRetries?: number;
|
|
356
|
+
};
|
|
357
|
+
type A_FrameDynamicFeature_Init = {
|
|
358
|
+
/** Goal or capability driving workflow generation. */
|
|
359
|
+
prompt: string;
|
|
360
|
+
/** Optional generation / filtering options. */
|
|
361
|
+
options?: Partial<A_FrameDynamicFeatureOptions>;
|
|
362
|
+
};
|
|
363
|
+
type A_FrameDynamicFeature_Serialized = {
|
|
364
|
+
name: string;
|
|
365
|
+
description?: string;
|
|
366
|
+
metadata?: Record<string, unknown>;
|
|
367
|
+
history: Array<A_FrameDynamicPatch_Serialized>;
|
|
368
|
+
} & A_TYPES__Entity_Serialized;
|
|
369
|
+
type A_FrameDynamicFeatureFeatureNames = typeof A_FrameDynamicFeatureFeatures[keyof typeof A_FrameDynamicFeatureFeatures];
|
|
370
|
+
/**
|
|
371
|
+
* A single parameter in a workflow step — describes what the caller should
|
|
372
|
+
* provide or what the step will produce.
|
|
373
|
+
*/
|
|
374
|
+
type A_FrameDynamicFeatureParam = {
|
|
375
|
+
/** Parameter name (camelCase). */
|
|
376
|
+
name: string;
|
|
377
|
+
/** TypeScript type string, e.g. `"string"`, `"number"`, `"UserEntity"`. */
|
|
378
|
+
type: string;
|
|
379
|
+
/** Human-readable purpose of this parameter. */
|
|
380
|
+
description: string;
|
|
381
|
+
/** Whether this parameter must be provided (`true`) or is optional. */
|
|
382
|
+
required: boolean;
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* A single step in the generated workflow definition.
|
|
386
|
+
* Each step corresponds to one method call on a component or fragment.
|
|
387
|
+
*/
|
|
388
|
+
type A_FrameDynamicFeatureStep = {
|
|
389
|
+
/**
|
|
390
|
+
* One-sentence description of this step's purpose — used as the primary
|
|
391
|
+
* key for semantic matching against the A_FrameIndex.
|
|
392
|
+
*/
|
|
393
|
+
prompt: string;
|
|
394
|
+
/** Ordered list of input parameters for this step. */
|
|
395
|
+
inputs: A_FrameDynamicFeatureParam[];
|
|
396
|
+
/** Ordered list of output values produced by this step. */
|
|
397
|
+
outputs: A_FrameDynamicFeatureParam[];
|
|
398
|
+
/** @internal Server-computed search vector (consumed during mapping). */
|
|
399
|
+
embedding?: number[];
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Full workflow definition produced by `generate()` or `patch()`.
|
|
403
|
+
*/
|
|
404
|
+
type A_FrameDynamicFeatureDefinition = {
|
|
405
|
+
/**
|
|
406
|
+
* Short title for the workflow, e.g. "User Registration".
|
|
407
|
+
*/
|
|
408
|
+
title: string;
|
|
409
|
+
/**
|
|
410
|
+
* Description of what the workflow accomplishes end-to-end,
|
|
411
|
+
* what the caller must supply, and what will be returned.
|
|
412
|
+
*/
|
|
413
|
+
description: string;
|
|
414
|
+
/** Ordered sequence of steps that make up the workflow. */
|
|
415
|
+
steps: A_FrameDynamicFeatureStep[];
|
|
416
|
+
/**
|
|
417
|
+
* Supporting components (stateless services / controllers) whose methods
|
|
418
|
+
* are used in the steps. No container grouping — workflows are
|
|
419
|
+
* cross-cutting by nature.
|
|
420
|
+
*/
|
|
421
|
+
components: Array<{
|
|
422
|
+
prompt: string;
|
|
423
|
+
embedding?: number[];
|
|
424
|
+
}>;
|
|
425
|
+
/** Supporting fragments (stateful context objects) referenced in the steps. */
|
|
426
|
+
fragments: Array<{
|
|
427
|
+
prompt: string;
|
|
428
|
+
embedding?: number[];
|
|
429
|
+
}>;
|
|
430
|
+
/** Supporting entities / domain models referenced in step parameters. */
|
|
431
|
+
entities: Array<{
|
|
432
|
+
prompt: string;
|
|
433
|
+
embedding?: number[];
|
|
434
|
+
parameters?: A_FrameDynamicFeatureParam[];
|
|
435
|
+
}>;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* Result of matching one workflow step against the A_FrameIndex.
|
|
439
|
+
*/
|
|
440
|
+
type A_FrameDynamicFeatureStepMapEntry = {
|
|
441
|
+
prompt: string;
|
|
442
|
+
inputs: A_FrameDynamicFeatureParam[];
|
|
443
|
+
outputs: A_FrameDynamicFeatureParam[];
|
|
444
|
+
/** Matched class name, or `null` if unresolved. */
|
|
445
|
+
matchedClass: string | null;
|
|
446
|
+
/** Matched method name, or `null` if unresolved. */
|
|
447
|
+
matchedMethod: string | null;
|
|
448
|
+
/** Cosine-similarity score of the best match (0–1). */
|
|
449
|
+
matchScore: number;
|
|
450
|
+
/** Error details when matching failed after all retries. */
|
|
451
|
+
matchError?: {
|
|
452
|
+
title: string;
|
|
453
|
+
description: string;
|
|
454
|
+
} | null;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Result of matching a supporting element (component / fragment / entity)
|
|
458
|
+
* against the A_FrameIndex.
|
|
459
|
+
*/
|
|
460
|
+
type A_FrameDynamicFeatureElementMapEntry = {
|
|
461
|
+
prompt: string;
|
|
462
|
+
matchedClass: string | null;
|
|
463
|
+
matchScore: number;
|
|
464
|
+
matchError?: {
|
|
465
|
+
title: string;
|
|
466
|
+
description: string;
|
|
467
|
+
} | null;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Full map result produced by `map()` after matching every element against
|
|
471
|
+
* the local A_FrameIndex.
|
|
472
|
+
*/
|
|
473
|
+
type A_FrameDynamicFeatureMapResult = {
|
|
474
|
+
steps: A_FrameDynamicFeatureStepMapEntry[];
|
|
475
|
+
components: A_FrameDynamicFeatureElementMapEntry[];
|
|
476
|
+
fragments: A_FrameDynamicFeatureElementMapEntry[];
|
|
477
|
+
entities: A_FrameDynamicFeatureElementMapEntry[];
|
|
478
|
+
};
|
|
479
|
+
interface A_FrameFeatureGenerateResponse {
|
|
480
|
+
definition: A_FrameDynamicFeatureDefinition;
|
|
481
|
+
model: string;
|
|
482
|
+
date: string;
|
|
483
|
+
meta: {
|
|
484
|
+
server_version: string;
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
interface A_FrameFeaturePatchResponse {
|
|
488
|
+
patchSummary: string;
|
|
489
|
+
definition: A_FrameDynamicFeatureDefinition;
|
|
490
|
+
model: string;
|
|
491
|
+
date: string;
|
|
492
|
+
meta: {
|
|
493
|
+
server_version: string;
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
declare class A_FrameDynamicFeature extends A_Entity<A_FrameDynamicFeature_Init, A_FrameDynamicFeature_Serialized> {
|
|
498
|
+
static get concept(): string;
|
|
499
|
+
prompt: string;
|
|
500
|
+
createdAt: number;
|
|
501
|
+
private _model;
|
|
502
|
+
private _context;
|
|
503
|
+
private _includeBases;
|
|
504
|
+
private _excludeBases;
|
|
505
|
+
private _enabledComponents;
|
|
506
|
+
private _minScore;
|
|
507
|
+
private _maxRetries;
|
|
508
|
+
private _definition;
|
|
509
|
+
private _mapResult;
|
|
510
|
+
private _history;
|
|
511
|
+
private _version;
|
|
512
|
+
fromNew(options: A_FrameDynamicFeature_Init): void;
|
|
513
|
+
get modelName(): string;
|
|
514
|
+
get contextHint(): string;
|
|
515
|
+
get includedBases(): string[];
|
|
516
|
+
get excludedBases(): string[];
|
|
517
|
+
get enabledComponentsList(): string[];
|
|
518
|
+
get minScore(): number;
|
|
519
|
+
get maxRetries(): number;
|
|
520
|
+
/** Current workflow definition, or `null` before first `generate()`. */
|
|
521
|
+
get definition(): A_FrameDynamicFeatureDefinition | null;
|
|
522
|
+
/**
|
|
523
|
+
* Serialised workflow definition (no embedding arrays) — safe to
|
|
524
|
+
* log or persist. Returns an empty shell before `generate()` is called.
|
|
525
|
+
*/
|
|
526
|
+
get workflow(): string;
|
|
527
|
+
/** Component-mapping result produced by `map()`, or `null` before that call. */
|
|
528
|
+
get mapResult(): A_FrameDynamicFeatureMapResult | null;
|
|
529
|
+
/** Immutable patch history. */
|
|
530
|
+
get history(): ReadonlyArray<A_FrameDynamicPatch>;
|
|
531
|
+
/** Version counter — increments with each `patch()` call. */
|
|
532
|
+
get version(): number;
|
|
533
|
+
/**
|
|
534
|
+
* Generate the workflow definition from the entity's prompt.
|
|
535
|
+
*
|
|
536
|
+
* Calls the server's `/api/v1/feature/generate` endpoint. The server
|
|
537
|
+
* returns an ordered list of steps (with embeddings), a list of supporting
|
|
538
|
+
* components/fragments/entities, and a human-readable title + description
|
|
539
|
+
* of the workflow.
|
|
540
|
+
*
|
|
541
|
+
* After this call succeeds, invoke `map()` to match each element to a
|
|
542
|
+
* registered class/method in the local A_FrameIndex.
|
|
543
|
+
*/
|
|
544
|
+
generate(): Promise<void>;
|
|
545
|
+
/**
|
|
546
|
+
* Apply a natural-language patch instruction to refine the current workflow.
|
|
547
|
+
*
|
|
548
|
+
* Calls the server's `/api/v1/feature/patch` endpoint. Increments the
|
|
549
|
+
* version and records a history entry. A previous `map()` result is
|
|
550
|
+
* invalidated — call `map()` again after patching.
|
|
551
|
+
*/
|
|
552
|
+
patch(instruction: string): Promise<void>;
|
|
553
|
+
/**
|
|
554
|
+
* Match every step and supporting element in the current workflow definition
|
|
555
|
+
* against the local A_FrameIndex.
|
|
556
|
+
*
|
|
557
|
+
* Steps are matched to registered *methods* (via embedded method-level
|
|
558
|
+
* definitions indexed with `@A_Frame.Define`). Supporting components,
|
|
559
|
+
* fragments, and entities are matched to registered classes.
|
|
560
|
+
*
|
|
561
|
+
* Unmatched steps are retried via server-side refinement patches (up to
|
|
562
|
+
* `maxRetries` times) before being marked with a `matchError`.
|
|
563
|
+
*
|
|
564
|
+
* Results are stored in `mapResult` after this call completes.
|
|
565
|
+
*/
|
|
566
|
+
map(): Promise<void>;
|
|
567
|
+
hydrateFromGeneration(definition: A_FrameDynamicFeatureDefinition, meta: {
|
|
568
|
+
model: string;
|
|
569
|
+
serverVersion: string;
|
|
570
|
+
}): void;
|
|
571
|
+
hydrateFromPatch(definition: A_FrameDynamicFeatureDefinition, patchSummary: string, meta: {
|
|
572
|
+
model: string;
|
|
573
|
+
serverVersion: string;
|
|
574
|
+
}): void;
|
|
575
|
+
hydrateFromMap(result: A_FrameDynamicFeatureMapResult): void;
|
|
576
|
+
toJSON(): A_FrameDynamicFeature_Serialized;
|
|
577
|
+
private _stripEmbeddings;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Thin context fragment that carries parameters for a single DynamicFeature
|
|
582
|
+
* operation (generate or patch). Injected into the feature execution scope and
|
|
583
|
+
* resolved by channel feature-extension handlers via `@A_Inject`.
|
|
584
|
+
*/
|
|
585
|
+
declare class A_FrameDynamicFeatureOperation<_InputParams = any> extends A_Fragment {
|
|
586
|
+
protected _meta: Map<string, any>;
|
|
587
|
+
constructor(params?: _InputParams);
|
|
588
|
+
get params(): _InputParams;
|
|
589
|
+
get(key: string): any;
|
|
590
|
+
set(key: string, value: any): void;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* A_FrameChannel — Node.js environment
|
|
595
|
+
*
|
|
596
|
+
* HTTP client for the embed-server API.
|
|
597
|
+
* Configuration is resolved from process.env via A_FrameEnv injected at
|
|
598
|
+
* feature execution time — no state is stored on the component itself.
|
|
599
|
+
*
|
|
600
|
+
* Uses the global fetch (available in Node 18+; no extra dependency needed).
|
|
601
|
+
*/
|
|
602
|
+
declare class A_FrameChannel extends A_Component implements IA_Frame_Channel {
|
|
603
|
+
generate(prompt: string): Promise<A_FrameChannelRequest<A_Frame_GenerateResponse>>;
|
|
604
|
+
embed(input: string | string[], options?: A_FrameEmbedOptions): Promise<A_FrameChannelRequest<A_Frame_EmbedResponse>>;
|
|
605
|
+
getCredentials(): Promise<A_FrameChannelRequest<A_Frame_CredentialResponse>>;
|
|
606
|
+
ping(): Promise<A_FrameChannelRequest<boolean>>;
|
|
607
|
+
embedDefinition(definition: A_FrameDefinition, env: A_FrameEnv): Promise<void>;
|
|
608
|
+
embedNamespace(namespace: A_FrameNamespace, env: A_FrameEnv): Promise<void>;
|
|
609
|
+
embedSegment(segment: A_FrameSegment, env: A_FrameEnv): Promise<void>;
|
|
610
|
+
/**
|
|
611
|
+
* Feature implementation for A_FrameDynamicStructure.generate().
|
|
612
|
+
*
|
|
613
|
+
* Calls POST /api/v1/structure/generate — the server returns element
|
|
614
|
+
* descriptions with embeddings. The raw definition (embeddings included) is
|
|
615
|
+
* stored on the entity so the separate `map()` phase can use them later.
|
|
616
|
+
*/
|
|
617
|
+
generateDynamicStructure(structure: A_FrameDynamicStructure, operation: A_FrameDynamicStructureOperation): Promise<void>;
|
|
618
|
+
/**
|
|
619
|
+
* Feature implementation for A_FrameDynamicStructure.patch().
|
|
620
|
+
*
|
|
621
|
+
* Calls POST /api/v1/structure/patch — the server returns an updated
|
|
622
|
+
* definition with fresh embeddings. The raw definition is stored on the
|
|
623
|
+
* entity; run `map()` afterwards to update the component-mapping result.
|
|
624
|
+
*/
|
|
625
|
+
patchDynamicStructure(structure: A_FrameDynamicStructure, operation: A_FrameDynamicStructureOperation): Promise<void>;
|
|
626
|
+
/**
|
|
627
|
+
* Strip embedding arrays and any client-side match fields from a definition
|
|
628
|
+
* before sending it to the server (the server does not need embeddings back).
|
|
629
|
+
*/
|
|
630
|
+
private _stripStructureEmbeddings;
|
|
631
|
+
/**
|
|
632
|
+
* Feature implementation for A_FrameDynamicFeature.generate().
|
|
633
|
+
*
|
|
634
|
+
* Calls POST /api/v1/feature/generate — the server decomposes the prompt
|
|
635
|
+
* into an ordered workflow: title, description, steps (with embeddings),
|
|
636
|
+
* and supporting components/fragments/entities.
|
|
637
|
+
*/
|
|
638
|
+
generateDynamicFeature(feature: A_FrameDynamicFeature, operation: A_FrameDynamicFeatureOperation): Promise<void>;
|
|
639
|
+
/**
|
|
640
|
+
* Feature implementation for A_FrameDynamicFeature.patch().
|
|
641
|
+
*
|
|
642
|
+
* Calls POST /api/v1/feature/patch — the server returns an updated workflow
|
|
643
|
+
* definition with fresh embeddings on all steps and elements.
|
|
644
|
+
*/
|
|
645
|
+
patchDynamicFeature(feature: A_FrameDynamicFeature, operation: A_FrameDynamicFeatureOperation): Promise<void>;
|
|
646
|
+
private _stripFeatureEmbeddings;
|
|
647
|
+
/**
|
|
648
|
+
* Feature implementation for A_FrameDynamicContent.generate().
|
|
649
|
+
*
|
|
650
|
+
* Calls POST /api/v1/content/generate on the server and hydrates the
|
|
651
|
+
* content entity from the returned piece list.
|
|
652
|
+
*/
|
|
653
|
+
generateDynamicContent(content: A_FrameDynamicContent, operation: A_FrameDynamicContentOperation): Promise<void>;
|
|
654
|
+
/**
|
|
655
|
+
* Feature implementation for A_FrameDynamicContent.patch().
|
|
656
|
+
*
|
|
657
|
+
* Sends the current piece list and a patch instruction to the server,
|
|
658
|
+
* then applies the returned operations to the content entity.
|
|
659
|
+
*/
|
|
660
|
+
patchDynamicContent(content: A_FrameDynamicContent, operation: A_FrameDynamicContentOperation): Promise<void>;
|
|
661
|
+
/**
|
|
662
|
+
* Feature implementation for A_FrameCompletion.generate().
|
|
663
|
+
*
|
|
664
|
+
* Calls POST /api/v1/completions/generate on the server, which performs a
|
|
665
|
+
* text completion followed by an embedding of the result in a single
|
|
666
|
+
* round-trip, then hydrates the entity with both values.
|
|
667
|
+
*/
|
|
668
|
+
generateCompletion(completion: A_FrameCompletion, env: A_FrameEnv): Promise<void>;
|
|
669
|
+
/**
|
|
670
|
+
* Calls POST /api/v1/schema/extract on the server.
|
|
671
|
+
*
|
|
672
|
+
* Sends the prompt and schema descriptor to the Nova model, which returns
|
|
673
|
+
* a structured JSON object matching the schema. Hydrates the entity with
|
|
674
|
+
* the extracted data and provenance metadata.
|
|
675
|
+
*/
|
|
676
|
+
extractSchema<T extends Record<string, unknown>>(scheme: A_FrameSchema<T>, env: A_FrameEnv): Promise<void>;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export { type A_FrameDynamicFeatureStepMapEntry as A, type A_FrameDynamicStructure_Serialized as B, type A_FrameStructureGenerateResponse as C, type A_FrameStructurePatchResponse as D, type A_FrameStructureSelectCandidate as E, type A_FrameStructureSelectElement as F, type A_FrameStructureSelectRequest as G, type A_FrameStructureSelectResolution as H, type A_FrameStructureSelectResolutionType as I, type A_FrameStructureSelectResponse as J, type BaseClassName as K, type DynamicStructureDefaultBasesNames as L, type A_FrameDynamicFeatureElementMapEntry as a, type A_FrameDynamicFeatureDefinition as b, type A_FrameDynamicFeatureMapResult as c, A_FrameDynamicFeature as d, A_FrameChannel as e, type A_FrameDynamicFeatureFeatureNames as f, A_FrameDynamicFeatureFeatures as g, A_FrameDynamicFeatureOperation as h, type A_FrameDynamicFeatureOptions as i, type A_FrameDynamicFeatureParam as j, type A_FrameDynamicFeatureStep as k, type A_FrameDynamicFeature_Init as l, type A_FrameDynamicFeature_Serialized as m, type A_FrameFeatureGenerateResponse as n, type A_FrameFeaturePatchResponse as o, type A_FrameComponentMapEntry as p, type A_FrameDynamicStructureDefinition as q, type A_FrameComponentMapResult as r, A_FrameDynamicStructure as s, type A_FrameComponentMapOptions as t, type A_FrameDynamicStructureDefinitionEntity as u, A_FrameDynamicStructureEvents as v, type A_FrameDynamicStructureFeatureNames as w, A_FrameDynamicStructureFeatures as x, type A_FrameDynamicStructureOptions as y, type A_FrameDynamicStructure_Init as z };
|