@ixo/editor 6.35.5 → 7.0.0
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/dist/{BidConfig-4AQPVSPC.js → BidConfig-ZH625SNZ.js} +12 -13
- package/dist/{BidConfig-4AQPVSPC.js.map → BidConfig-ZH625SNZ.js.map} +1 -1
- package/dist/{BidFlowDetail-ET3TZUFV.js → BidFlowDetail-SZMKY75S.js} +18 -19
- package/dist/{BidFlowDetail-ET3TZUFV.js.map → BidFlowDetail-SZMKY75S.js.map} +1 -1
- package/dist/{CalendarEventCreateConfig-IRPEASQE.js → CalendarEventCreateConfig-F7EYC4VL.js} +13 -14
- package/dist/{CalendarEventCreateConfig-IRPEASQE.js.map → CalendarEventCreateConfig-F7EYC4VL.js.map} +1 -1
- package/dist/{CalendarEventCreateFlowDetail-XGSRNIDZ.js → CalendarEventCreateFlowDetail-JMYDUZRK.js} +14 -15
- package/dist/{CalendarEventCreateFlowDetail-XGSRNIDZ.js.map → CalendarEventCreateFlowDetail-JMYDUZRK.js.map} +1 -1
- package/dist/{CalendarEventListConfig-I3BQR3DL.js → CalendarEventListConfig-RRIV7IZG.js} +13 -14
- package/dist/{CalendarEventListConfig-I3BQR3DL.js.map → CalendarEventListConfig-RRIV7IZG.js.map} +1 -1
- package/dist/{CalendarEventListFlowDetail-SSRTOXIX.js → CalendarEventListFlowDetail-6LN4I3SI.js} +7 -5
- package/dist/{CalendarEventListFlowDetail-SSRTOXIX.js.map → CalendarEventListFlowDetail-6LN4I3SI.js.map} +1 -1
- package/dist/{CalendarEventUpdateConfig-O3YZKZIM.js → CalendarEventUpdateConfig-SARWZZG4.js} +13 -14
- package/dist/{CalendarEventUpdateConfig-O3YZKZIM.js.map → CalendarEventUpdateConfig-SARWZZG4.js.map} +1 -1
- package/dist/{CalendarEventUpdateFlowDetail-K4DSHL6C.js → CalendarEventUpdateFlowDetail-KZ2FG76Z.js} +14 -15
- package/dist/{CalendarEventUpdateFlowDetail-K4DSHL6C.js.map → CalendarEventUpdateFlowDetail-KZ2FG76Z.js.map} +1 -1
- package/dist/{ClaimConfig-2Q5W3Y4C.js → ClaimConfig-PMRVROQ7.js} +12 -13
- package/dist/{ClaimConfig-2Q5W3Y4C.js.map → ClaimConfig-PMRVROQ7.js.map} +1 -1
- package/dist/{ClaimFlowDetail-PKXLVOXC.js → ClaimFlowDetail-3364FIDU.js} +18 -19
- package/dist/{ClaimFlowDetail-PKXLVOXC.js.map → ClaimFlowDetail-3364FIDU.js.map} +1 -1
- package/dist/{CollectionLifecycleConfig-LCCGZ3CJ.js → CollectionLifecycleConfig-YPTZZJ3S.js} +6 -4
- package/dist/{CollectionLifecycleConfig-LCCGZ3CJ.js.map → CollectionLifecycleConfig-YPTZZJ3S.js.map} +1 -1
- package/dist/{CollectionLifecycleFlowDetail-IZCKERFC.js → CollectionLifecycleFlowDetail-OD7OZH6W.js} +17 -18
- package/dist/{CollectionLifecycleFlowDetail-IZCKERFC.js.map → CollectionLifecycleFlowDetail-OD7OZH6W.js.map} +1 -1
- package/dist/{CollectionUsersConfig-WVS7JE2F.js → CollectionUsersConfig-ETJM2G23.js} +15 -16
- package/dist/{CollectionUsersConfig-WVS7JE2F.js.map → CollectionUsersConfig-ETJM2G23.js.map} +1 -1
- package/dist/{CollectionUsersFlowDetail-Y2UH3TU7.js → CollectionUsersFlowDetail-AMPT7UEV.js} +19 -20
- package/dist/{CollectionUsersFlowDetail-Y2UH3TU7.js.map → CollectionUsersFlowDetail-AMPT7UEV.js.map} +1 -1
- package/dist/{CredentialStoreConfig-V3YSYSIT.js → CredentialStoreConfig-ZQFLCBDT.js} +9 -11
- package/dist/{CredentialStoreConfig-V3YSYSIT.js.map → CredentialStoreConfig-ZQFLCBDT.js.map} +1 -1
- package/dist/{CredentialStoreFlowDetail-FL7QAM3S.js → CredentialStoreFlowDetail-5LRH7NH5.js} +9 -10
- package/dist/{CredentialStoreFlowDetail-FL7QAM3S.js.map → CredentialStoreFlowDetail-5LRH7NH5.js.map} +1 -1
- package/dist/{DesignPodFlowDetail-JHJWGNVY.js → DesignPodFlowDetail-ECFMDZZ3.js} +7 -8
- package/dist/{DesignPodFlowDetail-JHJWGNVY.js.map → DesignPodFlowDetail-ECFMDZZ3.js.map} +1 -1
- package/dist/{DomainCardPreviewFlowDetail-Y2FE7O5Z.js → DomainCardPreviewFlowDetail-M7FPXS4N.js} +9 -10
- package/dist/{DomainCardPreviewFlowDetail-Y2FE7O5Z.js.map → DomainCardPreviewFlowDetail-M7FPXS4N.js.map} +1 -1
- package/dist/{DomainIndexerLookupFlowDetail-GJ7WWK7I.js → DomainIndexerLookupFlowDetail-L6GSDWLI.js} +7 -5
- package/dist/{DomainIndexerLookupFlowDetail-GJ7WWK7I.js.map → DomainIndexerLookupFlowDetail-L6GSDWLI.js.map} +1 -1
- package/dist/{DomainSignFlowDetail-BXZ6JBPR.js → DomainSignFlowDetail-5ERYSTPG.js} +10 -11
- package/dist/{DomainSignFlowDetail-BXZ6JBPR.js.map → DomainSignFlowDetail-5ERYSTPG.js.map} +1 -1
- package/dist/{DomainSingleSelectionConfig-ZNKIXB4P.js → DomainSingleSelectionConfig-DTHYPZBO.js} +6 -4
- package/dist/{DomainSingleSelectionConfig-ZNKIXB4P.js.map → DomainSingleSelectionConfig-DTHYPZBO.js.map} +1 -1
- package/dist/{DomainSingleSelectionFlowDetail-HWTQXSLA.js → DomainSingleSelectionFlowDetail-JKNAC2RY.js} +7 -5
- package/dist/{DomainSingleSelectionFlowDetail-HWTQXSLA.js.map → DomainSingleSelectionFlowDetail-JKNAC2RY.js.map} +1 -1
- package/dist/{EmailSendConfig-OQVXHNAF.js → EmailSendConfig-O3XDS5IE.js} +12 -13
- package/dist/{EmailSendConfig-OQVXHNAF.js.map → EmailSendConfig-O3XDS5IE.js.map} +1 -1
- package/dist/{EntityCreateOracleFlowDetail-H2X7CPYU.js → EntityCreateOracleFlowDetail-6XJ4UEL5.js} +9 -10
- package/dist/{EntityCreateOracleFlowDetail-H2X7CPYU.js.map → EntityCreateOracleFlowDetail-6XJ4UEL5.js.map} +1 -1
- package/dist/{EntitySingleSelectionFlowDetail-GFQGX3GA.js → EntitySingleSelectionFlowDetail-5BDIVHQV.js} +8 -6
- package/dist/{EntitySingleSelectionFlowDetail-GFQGX3GA.js.map → EntitySingleSelectionFlowDetail-5BDIVHQV.js.map} +1 -1
- package/dist/{EntityTransferFlowDetail-XEXM34XB.js → EntityTransferFlowDetail-DY2UZ5VA.js} +9 -10
- package/dist/{EntityTransferFlowDetail-XEXM34XB.js.map → EntityTransferFlowDetail-DY2UZ5VA.js.map} +1 -1
- package/dist/{EvalEngineConfig-6B5EXETY.js → EvalEngineConfig-5ZBXA3Q6.js} +17 -18
- package/dist/{EvalEngineConfig-6B5EXETY.js.map → EvalEngineConfig-5ZBXA3Q6.js.map} +1 -1
- package/dist/{EvalEngineFlowDetail-PUFRNO4U.js → EvalEngineFlowDetail-YL3FFONH.js} +11 -10
- package/dist/{EvalEngineFlowDetail-PUFRNO4U.js.map → EvalEngineFlowDetail-YL3FFONH.js.map} +1 -1
- package/dist/{EvaluateBidConfig-FGCVB3YR.js → EvaluateBidConfig-ZU7QUFXL.js} +12 -13
- package/dist/{EvaluateBidConfig-FGCVB3YR.js.map → EvaluateBidConfig-ZU7QUFXL.js.map} +1 -1
- package/dist/{EvaluateBidFlowDetail-4C3K2QVH.js → EvaluateBidFlowDetail-IATWBOE5.js} +17 -18
- package/dist/{EvaluateBidFlowDetail-4C3K2QVH.js.map → EvaluateBidFlowDetail-IATWBOE5.js.map} +1 -1
- package/dist/{EvaluateClaimConfig-LG47V642.js → EvaluateClaimConfig-HEYNWGSN.js} +12 -13
- package/dist/{EvaluateClaimConfig-LG47V642.js.map → EvaluateClaimConfig-HEYNWGSN.js.map} +1 -1
- package/dist/{EvaluateClaimFlowDetail-ITMCSEZT.js → EvaluateClaimFlowDetail-TOX53BGP.js} +18 -19
- package/dist/{EvaluateClaimFlowDetail-ITMCSEZT.js.map → EvaluateClaimFlowDetail-TOX53BGP.js.map} +1 -1
- package/dist/{FormSubmitFlowDetail-IAHDJS6P.js → FormSubmitFlowDetail-CVSUWEAW.js} +9 -10
- package/dist/{FormSubmitFlowDetail-IAHDJS6P.js.map → FormSubmitFlowDetail-CVSUWEAW.js.map} +1 -1
- package/dist/{GovernanceAuthzExecFlowDetail-SQBGU5BX.js → GovernanceAuthzExecFlowDetail-GWKPT7QW.js} +10 -11
- package/dist/{GovernanceAuthzExecFlowDetail-SQBGU5BX.js.map → GovernanceAuthzExecFlowDetail-GWKPT7QW.js.map} +1 -1
- package/dist/{GovernanceAuthzGrantFlowDetail-DZPNLANT.js → GovernanceAuthzGrantFlowDetail-L7EPQQZ6.js} +11 -12
- package/dist/{GovernanceAuthzGrantFlowDetail-DZPNLANT.js.map → GovernanceAuthzGrantFlowDetail-L7EPQQZ6.js.map} +1 -1
- package/dist/{GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js → GovernanceAuthzRevokeFlowDetail-X2VQHRCB.js} +11 -12
- package/dist/{GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js.map → GovernanceAuthzRevokeFlowDetail-X2VQHRCB.js.map} +1 -1
- package/dist/{GovernanceChainVoteFlowDetail-475UDNG6.js → GovernanceChainVoteFlowDetail-BO3DJNDF.js} +10 -11
- package/dist/{GovernanceChainVoteFlowDetail-475UDNG6.js.map → GovernanceChainVoteFlowDetail-BO3DJNDF.js.map} +1 -1
- package/dist/{GovernanceConfigFlowDetail-SQ5PPDRX.js → GovernanceConfigFlowDetail-FZB4R54G.js} +7 -5
- package/dist/{GovernanceConfigFlowDetail-SQ5PPDRX.js.map → GovernanceConfigFlowDetail-FZB4R54G.js.map} +1 -1
- package/dist/{GovernanceContractExecuteFlowDetail-H2ZV6W2E.js → GovernanceContractExecuteFlowDetail-JHIXCNXS.js} +11 -12
- package/dist/{GovernanceContractExecuteFlowDetail-H2ZV6W2E.js.map → GovernanceContractExecuteFlowDetail-JHIXCNXS.js.map} +1 -1
- package/dist/{GovernanceContractInstantiateFlowDetail-YJJMGM54.js → GovernanceContractInstantiateFlowDetail-XWSI2HXG.js} +11 -12
- package/dist/{GovernanceContractInstantiateFlowDetail-YJJMGM54.js.map → GovernanceContractInstantiateFlowDetail-XWSI2HXG.js.map} +1 -1
- package/dist/{GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js → GovernanceContractManageCw20FlowDetail-5QI3FBNT.js} +10 -11
- package/dist/{GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js.map → GovernanceContractManageCw20FlowDetail-5QI3FBNT.js.map} +1 -1
- package/dist/{GovernanceContractMigrateFlowDetail-JDNIKTT3.js → GovernanceContractMigrateFlowDetail-W2DEBKKU.js} +11 -12
- package/dist/{GovernanceContractMigrateFlowDetail-JDNIKTT3.js.map → GovernanceContractMigrateFlowDetail-W2DEBKKU.js.map} +1 -1
- package/dist/{GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js → GovernanceContractUpdateAdminFlowDetail-VZ6245TK.js} +10 -11
- package/dist/{GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js.map → GovernanceContractUpdateAdminFlowDetail-VZ6245TK.js.map} +1 -1
- package/dist/{GovernanceCustomMessageFlowDetail-CXD4ZATO.js → GovernanceCustomMessageFlowDetail-NNTHVM5D.js} +11 -12
- package/dist/{GovernanceCustomMessageFlowDetail-CXD4ZATO.js.map → GovernanceCustomMessageFlowDetail-NNTHVM5D.js.map} +1 -1
- package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js → GovernanceDaoAcceptToMarketplaceFlowDetail-EO3CFNLA.js} +11 -12
- package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js.map → GovernanceDaoAcceptToMarketplaceFlowDetail-EO3CFNLA.js.map} +1 -1
- package/dist/{GovernanceDaoAdminExecFlowDetail-JAEAY2US.js → GovernanceDaoAdminExecFlowDetail-YQCDUW2V.js} +12 -13
- package/dist/{GovernanceDaoAdminExecFlowDetail-JAEAY2US.js.map → GovernanceDaoAdminExecFlowDetail-YQCDUW2V.js.map} +1 -1
- package/dist/{GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js → GovernanceDaoCreateEntityFlowDetail-RSFFRATK.js} +11 -12
- package/dist/{GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js.map → GovernanceDaoCreateEntityFlowDetail-RSFFRATK.js.map} +1 -1
- package/dist/{GovernanceDaoJoinFlowDetail-XYCTCNHO.js → GovernanceDaoJoinFlowDetail-GJWWQPD2.js} +11 -12
- package/dist/{GovernanceDaoJoinFlowDetail-XYCTCNHO.js.map → GovernanceDaoJoinFlowDetail-GJWWQPD2.js.map} +1 -1
- package/dist/{GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js → GovernanceDaoManageStorageFlowDetail-KGMWUB4Z.js} +10 -11
- package/dist/{GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js.map → GovernanceDaoManageStorageFlowDetail-KGMWUB4Z.js.map} +1 -1
- package/dist/{GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js → GovernanceDaoManageSubDaosFlowDetail-3WTI6AX7.js} +11 -12
- package/dist/{GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js.map → GovernanceDaoManageSubDaosFlowDetail-3WTI6AX7.js.map} +1 -1
- package/dist/{GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js → GovernanceDaoUpdateInfoFlowDetail-2DCOJGYV.js} +10 -11
- package/dist/{GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js.map → GovernanceDaoUpdateInfoFlowDetail-2DCOJGYV.js.map} +1 -1
- package/dist/{GovernanceMemberProposalConfig-IGPXEFDB.js → GovernanceMemberProposalConfig-LW6KNHVY.js} +7 -5
- package/dist/{GovernanceMemberProposalConfig-IGPXEFDB.js.map → GovernanceMemberProposalConfig-LW6KNHVY.js.map} +1 -1
- package/dist/{GovernanceMemberProposalFlowDetail-T3VURONF.js → GovernanceMemberProposalFlowDetail-JNO3RPDW.js} +11 -12
- package/dist/{GovernanceMemberProposalFlowDetail-T3VURONF.js.map → GovernanceMemberProposalFlowDetail-JNO3RPDW.js.map} +1 -1
- package/dist/{GovernanceNftBurnFlowDetail-AG4I2O7H.js → GovernanceNftBurnFlowDetail-MG3S2DZB.js} +10 -11
- package/dist/{GovernanceNftBurnFlowDetail-AG4I2O7H.js.map → GovernanceNftBurnFlowDetail-MG3S2DZB.js.map} +1 -1
- package/dist/{GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js → GovernanceNftManageCollectionsFlowDetail-FB5BRSLF.js} +10 -11
- package/dist/{GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js.map → GovernanceNftManageCollectionsFlowDetail-FB5BRSLF.js.map} +1 -1
- package/dist/{GovernanceNftTransferFlowDetail-KXM7DTOV.js → GovernanceNftTransferFlowDetail-27CRQVTA.js} +11 -12
- package/dist/{GovernanceNftTransferFlowDetail-KXM7DTOV.js.map → GovernanceNftTransferFlowDetail-27CRQVTA.js.map} +1 -1
- package/dist/{GovernanceSettingsProposalConfig-4SLJTBLW.js → GovernanceSettingsProposalConfig-WBOTSKNF.js} +7 -5
- package/dist/{GovernanceSettingsProposalConfig-4SLJTBLW.js.map → GovernanceSettingsProposalConfig-WBOTSKNF.js.map} +1 -1
- package/dist/{GovernanceSettingsProposalFlowDetail-VFZPSCLR.js → GovernanceSettingsProposalFlowDetail-W2KXBQM2.js} +10 -11
- package/dist/{GovernanceSettingsProposalFlowDetail-VFZPSCLR.js.map → GovernanceSettingsProposalFlowDetail-W2KXBQM2.js.map} +1 -1
- package/dist/{GovernanceStakingStakeFlowDetail-ULLJ7FLM.js → GovernanceStakingStakeFlowDetail-Z7MCDZDV.js} +10 -11
- package/dist/{GovernanceStakingStakeFlowDetail-ULLJ7FLM.js.map → GovernanceStakingStakeFlowDetail-Z7MCDZDV.js.map} +1 -1
- package/dist/{GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js → GovernanceStakingStakeToGroupFlowDetail-EC6JGRMB.js} +10 -11
- package/dist/{GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js.map → GovernanceStakingStakeToGroupFlowDetail-EC6JGRMB.js.map} +1 -1
- package/dist/{GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js → GovernanceSubmissionConfigProposalFlowDetail-YHO3F7TI.js} +10 -11
- package/dist/{GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js.map → GovernanceSubmissionConfigProposalFlowDetail-YHO3F7TI.js.map} +1 -1
- package/dist/{GovernanceTransactionMintFlowDetail-Y2WRAODH.js → GovernanceTransactionMintFlowDetail-K6PPDCH6.js} +11 -12
- package/dist/{GovernanceTransactionMintFlowDetail-Y2WRAODH.js.map → GovernanceTransactionMintFlowDetail-K6PPDCH6.js.map} +1 -1
- package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js → GovernanceTransactionPerformTokenSwapFlowDetail-6PEN4FED.js} +10 -11
- package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js.map → GovernanceTransactionPerformTokenSwapFlowDetail-6PEN4FED.js.map} +1 -1
- package/dist/{GovernanceTransactionSendFundsConfig-VBKMLSF3.js → GovernanceTransactionSendFundsConfig-JRROE44J.js} +7 -5
- package/dist/{GovernanceTransactionSendFundsConfig-VBKMLSF3.js.map → GovernanceTransactionSendFundsConfig-JRROE44J.js.map} +1 -1
- package/dist/{GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js → GovernanceTransactionSendFundsFlowDetail-Z57XAY3D.js} +11 -12
- package/dist/{GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js.map → GovernanceTransactionSendFundsFlowDetail-Z57XAY3D.js.map} +1 -1
- package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js → GovernanceTransactionSendGroupTokenFlowDetail-OSEHM66P.js} +11 -12
- package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js.map → GovernanceTransactionSendGroupTokenFlowDetail-OSEHM66P.js.map} +1 -1
- package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js → GovernanceTransactionWithdrawTokenSwapFlowDetail-AZFHSIBD.js} +10 -11
- package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js.map → GovernanceTransactionWithdrawTokenSwapFlowDetail-AZFHSIBD.js.map} +1 -1
- package/dist/{GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js → GovernanceValidatorActionsFlowDetail-3YSPIIVG.js} +10 -11
- package/dist/{GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js.map → GovernanceValidatorActionsFlowDetail-3YSPIIVG.js.map} +1 -1
- package/dist/{HarvestConfig-72UJXJ2I.js → HarvestConfig-FXZYEZRA.js} +10 -12
- package/dist/{HarvestConfig-72UJXJ2I.js.map → HarvestConfig-FXZYEZRA.js.map} +1 -1
- package/dist/{HarvestFlowDetail-X3RUH3X3.js → HarvestFlowDetail-Y2AJWJKR.js} +9 -10
- package/dist/{HarvestFlowDetail-X3RUH3X3.js.map → HarvestFlowDetail-Y2AJWJKR.js.map} +1 -1
- package/dist/{HttpRequestConfig-PZAX5VZO.js → HttpRequestConfig-A3UIM3K2.js} +9 -11
- package/dist/{HttpRequestConfig-PZAX5VZO.js.map → HttpRequestConfig-A3UIM3K2.js.map} +1 -1
- package/dist/{HttpRequestFlowDetail-JVLV533Z.js → HttpRequestFlowDetail-VWD64O3P.js} +7 -5
- package/dist/{HttpRequestFlowDetail-JVLV533Z.js.map → HttpRequestFlowDetail-VWD64O3P.js.map} +1 -1
- package/dist/{IdentityCreateFlowDetail-EXJ3Y36S.js → IdentityCreateFlowDetail-DXUI6S4I.js} +17 -18
- package/dist/{IdentityCreateFlowDetail-EXJ3Y36S.js.map → IdentityCreateFlowDetail-DXUI6S4I.js.map} +1 -1
- package/dist/{IidCreateFlowDetail-4BVQYOFR.js → IidCreateFlowDetail-INISHT4R.js} +17 -18
- package/dist/{IidCreateFlowDetail-4BVQYOFR.js.map → IidCreateFlowDetail-INISHT4R.js.map} +1 -1
- package/dist/{KycVerifyConfig-7YN6E4QF.js → KycVerifyConfig-KSECQD2D.js} +9 -11
- package/dist/{KycVerifyConfig-7YN6E4QF.js.map → KycVerifyConfig-KSECQD2D.js.map} +1 -1
- package/dist/{KycVerifyFlowDetail-DTK3GB6S.js → KycVerifyFlowDetail-ZLDIZ4HC.js} +16 -17
- package/dist/{KycVerifyFlowDetail-DTK3GB6S.js.map → KycVerifyFlowDetail-ZLDIZ4HC.js.map} +1 -1
- package/dist/{ListDomainFlowsFlowDetail-XX5AXDZZ.js → ListDomainFlowsFlowDetail-PJQCAY3I.js} +7 -5
- package/dist/{ListDomainFlowsFlowDetail-XX5AXDZZ.js.map → ListDomainFlowsFlowDetail-PJQCAY3I.js.map} +1 -1
- package/dist/{LoadBatchesFlowDetail-GB24T76O.js → LoadBatchesFlowDetail-TL4TQDZ5.js} +9 -10
- package/dist/{LoadBatchesFlowDetail-GB24T76O.js.map → LoadBatchesFlowDetail-TL4TQDZ5.js.map} +1 -1
- package/dist/{MatrixDmConfig-NBII27CS.js → MatrixDmConfig-DRY27FAM.js} +6 -4
- package/dist/{MatrixDmConfig-NBII27CS.js.map → MatrixDmConfig-DRY27FAM.js.map} +1 -1
- package/dist/{MatrixRegisterFlowDetail-D5YNL5QX.js → MatrixRegisterFlowDetail-RXHGTTQF.js} +9 -10
- package/dist/{MatrixRegisterFlowDetail-D5YNL5QX.js.map → MatrixRegisterFlowDetail-RXHGTTQF.js.map} +1 -1
- package/dist/{MemberMultiSelectFlowDetail-6C4ZMSDR.js → MemberMultiSelectFlowDetail-N64ZK7GE.js} +7 -5
- package/dist/{MemberMultiSelectFlowDetail-6C4ZMSDR.js.map → MemberMultiSelectFlowDetail-N64ZK7GE.js.map} +1 -1
- package/dist/{OracleConfig-RW55I2YD.js → OracleConfig-KUPPRFL2.js} +9 -11
- package/dist/{OracleConfig-RW55I2YD.js.map → OracleConfig-KUPPRFL2.js.map} +1 -1
- package/dist/{OracleConfigureOracleFlowDetail-R3JOT72V.js → OracleConfigureOracleFlowDetail-L7GRKOSV.js} +17 -18
- package/dist/{OracleConfigureOracleFlowDetail-R3JOT72V.js.map → OracleConfigureOracleFlowDetail-L7GRKOSV.js.map} +1 -1
- package/dist/{OracleContractFlowDetail-M3PM4AU4.js → OracleContractFlowDetail-D2XZYWVG.js} +9 -10
- package/dist/{OracleContractFlowDetail-M3PM4AU4.js.map → OracleContractFlowDetail-D2XZYWVG.js.map} +1 -1
- package/dist/{OracleDeployFlowDetail-WKTMD2AD.js → OracleDeployFlowDetail-TCFIJYP7.js} +9 -10
- package/dist/{OracleDeployFlowDetail-WKTMD2AD.js.map → OracleDeployFlowDetail-TCFIJYP7.js.map} +1 -1
- package/dist/{OracleDeploySetupFlowDetail-R3BQ7EAU.js → OracleDeploySetupFlowDetail-KMGBPIND.js} +9 -10
- package/dist/{OracleDeploySetupFlowDetail-R3BQ7EAU.js.map → OracleDeploySetupFlowDetail-KMGBPIND.js.map} +1 -1
- package/dist/{OracleDeployStartFlowDetail-EL3CMDMG.js → OracleDeployStartFlowDetail-DTK5PLC5.js} +9 -10
- package/dist/{OracleDeployStartFlowDetail-EL3CMDMG.js.map → OracleDeployStartFlowDetail-DTK5PLC5.js.map} +1 -1
- package/dist/{OracleFlowDetail-5JCJK3GH.js → OracleFlowDetail-FEPE3YYU.js} +9 -10
- package/dist/{OracleFlowDetail-5JCJK3GH.js.map → OracleFlowDetail-FEPE3YYU.js.map} +1 -1
- package/dist/{OraclePromptFlowDetail-O3XNK7HY.js → OraclePromptFlowDetail-2B55RVOO.js} +9 -10
- package/dist/{OraclePromptFlowDetail-O3XNK7HY.js.map → OraclePromptFlowDetail-2B55RVOO.js.map} +1 -1
- package/dist/{OracleStoreConfigFlowDetail-Q6AUUSUL.js → OracleStoreConfigFlowDetail-Q6PTB2TR.js} +9 -10
- package/dist/{OracleStoreConfigFlowDetail-Q6AUUSUL.js.map → OracleStoreConfigFlowDetail-Q6PTB2TR.js.map} +1 -1
- package/dist/{OracleStoreSecretsAndConfigFlowDetail-EIQPZQMF.js → OracleStoreSecretsAndConfigFlowDetail-D2YXIJ57.js} +17 -18
- package/dist/{OracleStoreSecretsAndConfigFlowDetail-EIQPZQMF.js.map → OracleStoreSecretsAndConfigFlowDetail-D2YXIJ57.js.map} +1 -1
- package/dist/{OracleStoreSecretsFlowDetail-WJXCPYSN.js → OracleStoreSecretsFlowDetail-DHNXG3CZ.js} +17 -18
- package/dist/{OracleStoreSecretsFlowDetail-WJXCPYSN.js.map → OracleStoreSecretsFlowDetail-DHNXG3CZ.js.map} +1 -1
- package/dist/{ProposalCreateConfig-7C5W2UHX.js → ProposalCreateConfig-W3XNV7SH.js} +12 -13
- package/dist/{ProposalCreateConfig-7C5W2UHX.js.map → ProposalCreateConfig-W3XNV7SH.js.map} +1 -1
- package/dist/{ProposalCreateFlowDetail-PJB2ANZM.js → ProposalCreateFlowDetail-2ZNJZMSY.js} +19 -20
- package/dist/{ProposalCreateFlowDetail-PJB2ANZM.js.map → ProposalCreateFlowDetail-2ZNJZMSY.js.map} +1 -1
- package/dist/{ProposalVoteConfig-AUU6QCSN.js → ProposalVoteConfig-DDEF76CL.js} +12 -13
- package/dist/{ProposalVoteConfig-AUU6QCSN.js.map → ProposalVoteConfig-DDEF76CL.js.map} +1 -1
- package/dist/{ProposalVoteFlowDetail-IJJ3OHAB.js → ProposalVoteFlowDetail-6BOYU4XJ.js} +10 -11
- package/dist/{ProposalVoteFlowDetail-IJJ3OHAB.js.map → ProposalVoteFlowDetail-6BOYU4XJ.js.map} +1 -1
- package/dist/{ProtocolSelectFlowDetail-XBSJIEIH.js → ProtocolSelectFlowDetail-IKYJQZAO.js} +6 -4
- package/dist/{ProtocolSelectFlowDetail-XBSJIEIH.js.map → ProtocolSelectFlowDetail-IKYJQZAO.js.map} +1 -1
- package/dist/{RetireConfig-EICGSI7K.js → RetireConfig-PQPUZHIW.js} +10 -12
- package/dist/{RetireConfig-EICGSI7K.js.map → RetireConfig-PQPUZHIW.js.map} +1 -1
- package/dist/{RetireFlowDetail-VZ5O4SXI.js → RetireFlowDetail-SP5GBJSA.js} +9 -10
- package/dist/{RetireFlowDetail-VZ5O4SXI.js.map → RetireFlowDetail-SP5GBJSA.js.map} +1 -1
- package/dist/{SandboxProvisionFlowDetail-RUY64INV.js → SandboxProvisionFlowDetail-CQ7XZWNA.js} +9 -10
- package/dist/{SandboxProvisionFlowDetail-RUY64INV.js.map → SandboxProvisionFlowDetail-CQ7XZWNA.js.map} +1 -1
- package/dist/{WalletFundConfig-CMM3EP3B.js → WalletFundConfig-T5S6B2HH.js} +7 -5
- package/dist/{WalletFundConfig-CMM3EP3B.js.map → WalletFundConfig-T5S6B2HH.js.map} +1 -1
- package/dist/{WalletFundFlowDetail-TXWCZA4K.js → WalletFundFlowDetail-WLQLJS34.js} +10 -11
- package/dist/{WalletFundFlowDetail-TXWCZA4K.js.map → WalletFundFlowDetail-WLQLJS34.js.map} +1 -1
- package/dist/{WalletGenerateAndFundFlowDetail-C2LZW3NO.js → WalletGenerateAndFundFlowDetail-7LEBWWEA.js} +7 -5
- package/dist/{WalletGenerateAndFundFlowDetail-C2LZW3NO.js.map → WalletGenerateAndFundFlowDetail-7LEBWWEA.js.map} +1 -1
- package/dist/{WalletGenerateFlowDetail-CQCNDGJA.js → WalletGenerateFlowDetail-CBAVDW7Z.js} +7 -5
- package/dist/{WalletGenerateFlowDetail-CQCNDGJA.js.map → WalletGenerateFlowDetail-CBAVDW7Z.js.map} +1 -1
- package/dist/{XeroContactCreateConfig-MGXISMDB.js → XeroContactCreateConfig-TKJKZAC4.js} +13 -14
- package/dist/{XeroContactCreateConfig-MGXISMDB.js.map → XeroContactCreateConfig-TKJKZAC4.js.map} +1 -1
- package/dist/{XeroContactCreateFlowDetail-45CMV27U.js → XeroContactCreateFlowDetail-O3ZITUCC.js} +14 -15
- package/dist/{XeroContactCreateFlowDetail-45CMV27U.js.map → XeroContactCreateFlowDetail-O3ZITUCC.js.map} +1 -1
- package/dist/{XeroInvoiceCreateConfig-MQBUY5KV.js → XeroInvoiceCreateConfig-LAMB7Q3J.js} +16 -17
- package/dist/{XeroInvoiceCreateConfig-MQBUY5KV.js.map → XeroInvoiceCreateConfig-LAMB7Q3J.js.map} +1 -1
- package/dist/{XeroInvoiceCreateFlowDetail-N6ZLSOFL.js → XeroInvoiceCreateFlowDetail-KIYWUT2B.js} +16 -17
- package/dist/{XeroInvoiceCreateFlowDetail-N6ZLSOFL.js.map → XeroInvoiceCreateFlowDetail-KIYWUT2B.js.map} +1 -1
- package/dist/{XeroInvoiceListConfig-UNX4VEOG.js → XeroInvoiceListConfig-PUUQP4UP.js} +13 -14
- package/dist/{XeroInvoiceListConfig-UNX4VEOG.js.map → XeroInvoiceListConfig-PUUQP4UP.js.map} +1 -1
- package/dist/{XeroInvoiceListFlowDetail-LYHODWH6.js → XeroInvoiceListFlowDetail-YPU6MFSX.js} +7 -5
- package/dist/{XeroInvoiceListFlowDetail-LYHODWH6.js.map → XeroInvoiceListFlowDetail-YPU6MFSX.js.map} +1 -1
- package/dist/{XeroPaymentCreateConfig-KLIV5FAB.js → XeroPaymentCreateConfig-XNMSDVG3.js} +9 -11
- package/dist/{XeroPaymentCreateConfig-KLIV5FAB.js.map → XeroPaymentCreateConfig-XNMSDVG3.js.map} +1 -1
- package/dist/{XeroPaymentCreateFlowDetail-6D5K4Z5O.js → XeroPaymentCreateFlowDetail-CB55SP6X.js} +15 -16
- package/dist/{XeroPaymentCreateFlowDetail-6D5K4Z5O.js.map → XeroPaymentCreateFlowDetail-CB55SP6X.js.map} +1 -1
- package/dist/chunk-2KOJBMG5.js +1296 -0
- package/dist/chunk-2KOJBMG5.js.map +1 -0
- package/dist/{chunk-7VFCZZMP.js → chunk-3WLWIA7D.js} +68 -7
- package/dist/chunk-3WLWIA7D.js.map +1 -0
- package/dist/{chunk-STH2HPZK.js → chunk-6JOBSAZF.js} +2 -2
- package/dist/{chunk-JIDTNKKL.js → chunk-7TVYQNOR.js} +57 -6
- package/dist/chunk-7TVYQNOR.js.map +1 -0
- package/dist/{chunk-PFF6VY35.js → chunk-A7L3NJK6.js} +2 -2
- package/dist/{chunk-4DGCCXD6.js → chunk-BAQA4AZN.js} +36 -5
- package/dist/chunk-BAQA4AZN.js.map +1 -0
- package/dist/{chunk-MQCDMHRZ.js → chunk-C376YPPE.js} +3 -3
- package/dist/{chunk-4PONO4US.js → chunk-CMG6TZKH.js} +3 -3
- package/dist/{chunk-DSAOXGJH.js → chunk-DMXZIAAW.js} +3 -3
- package/dist/{chunk-E6N2G3BQ.js → chunk-DVZU2FI6.js} +13 -13
- package/dist/chunk-DVZU2FI6.js.map +1 -0
- package/dist/{chunk-676HDB7K.js → chunk-EH7EYO4N.js} +4 -4
- package/dist/{chunk-QND2IQ67.js → chunk-EWDTMHPF.js} +702 -647
- package/dist/chunk-EWDTMHPF.js.map +1 -0
- package/dist/{chunk-5IH3VC5I.js → chunk-FJ36VM6S.js} +2 -2
- package/dist/{chunk-Y4EEDWYE.js → chunk-IMN2PXVU.js} +8 -6
- package/dist/{chunk-Y4EEDWYE.js.map → chunk-IMN2PXVU.js.map} +1 -1
- package/dist/{chunk-IFWKRCFF.js → chunk-J6AWMFEF.js} +2 -2
- package/dist/{chunk-ZP4D73DO.js → chunk-JDNOVB6L.js} +2 -2
- package/dist/{chunk-NIXT2SBH.js → chunk-JK6RAKE3.js} +2 -2
- package/dist/{chunk-F2SBFVIX.js → chunk-JSE2MTU7.js} +241 -218
- package/dist/chunk-JSE2MTU7.js.map +1 -0
- package/dist/{chunk-PYNDJDWZ.js → chunk-JWC4VVY7.js} +3 -5
- package/dist/{chunk-PYNDJDWZ.js.map → chunk-JWC4VVY7.js.map} +1 -1
- package/dist/{chunk-EGVS23DR.js → chunk-L7WHIPGC.js} +2 -2
- package/dist/{chunk-IVOOK475.js → chunk-LSWKBCB3.js} +5 -5
- package/dist/{chunk-NJAII6CO.js → chunk-M3GHFF5N.js} +2 -2
- package/dist/{chunk-ILSFU3WD.js → chunk-MQAJXYIS.js} +2 -2
- package/dist/{chunk-QZYCJ2GZ.js → chunk-MY22PTP4.js} +2 -2
- package/dist/{chunk-JVROGQ7Q.js → chunk-QSUE3ZFB.js} +2 -2
- package/dist/{chunk-IIIZZ4E4.js → chunk-QW7LA67J.js} +304 -213
- package/dist/chunk-QW7LA67J.js.map +1 -0
- package/dist/{chunk-FFYZXA75.js → chunk-RETGBEFM.js} +2 -2
- package/dist/{chunk-VRZ5LMOW.js → chunk-RQS3KQLQ.js} +2 -2
- package/dist/{chunk-SEJJ7CRI.js → chunk-RV7QJFSE.js} +2 -2
- package/dist/{chunk-GR4SIU32.js → chunk-S2ETTOE5.js} +2 -2
- package/dist/{chunk-YLNEKJQ5.js → chunk-SRSVMD6E.js} +2 -2
- package/dist/{chunk-P7OBLJAG.js → chunk-SUUULPJP.js} +13 -11
- package/dist/chunk-SUUULPJP.js.map +1 -0
- package/dist/chunk-THG6RXFR.js +68 -0
- package/dist/chunk-THG6RXFR.js.map +1 -0
- package/dist/{chunk-RRYBAE6E.js → chunk-UTLM6U75.js} +6 -66
- package/dist/chunk-UTLM6U75.js.map +1 -0
- package/dist/{chunk-BZ7UPUTY.js → chunk-X23SZR5N.js} +2 -2
- package/dist/{chunk-ZZ7FDJKJ.js → chunk-YMGLWNV5.js} +2 -2
- package/dist/{chunk-SB5UCPZH.js → chunk-ZIT2N7CI.js} +2 -2
- package/dist/{connections-CEcurtWI.d.ts → connections-tcxJgB1K.d.ts} +20 -23
- package/dist/core/index.cjs +1495 -414
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +276 -24
- package/dist/core/index.js +366 -85
- package/dist/core/index.js.map +1 -1
- package/dist/flow-vnext/index.js +6 -4
- package/dist/{graphql-client-B2tREsx6.d.ts → graphql-client-VK7-KGDc.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +28 -28
- package/dist/mantine/index.d.ts +4 -4
- package/dist/mantine/index.js +30 -32
- package/dist/mantine/index.js.map +1 -1
- package/dist/{types-Dqk5MTfW.d.ts → types-CYtPUWc7.d.ts} +889 -400
- package/package.json +3 -2
- package/dist/chunk-4DGCCXD6.js.map +0 -1
- package/dist/chunk-7VFCZZMP.js.map +0 -1
- package/dist/chunk-7W7UUUIE.js +0 -609
- package/dist/chunk-7W7UUUIE.js.map +0 -1
- package/dist/chunk-E6N2G3BQ.js.map +0 -1
- package/dist/chunk-F2SBFVIX.js.map +0 -1
- package/dist/chunk-HT6L7A5M.js +0 -12
- package/dist/chunk-HT6L7A5M.js.map +0 -1
- package/dist/chunk-IIIZZ4E4.js.map +0 -1
- package/dist/chunk-JIDTNKKL.js.map +0 -1
- package/dist/chunk-P7OBLJAG.js.map +0 -1
- package/dist/chunk-QND2IQ67.js.map +0 -1
- package/dist/chunk-RRYBAE6E.js.map +0 -1
- package/dist/chunk-TS2LNBF2.js +0 -68
- package/dist/chunk-TS2LNBF2.js.map +0 -1
- /package/dist/{chunk-STH2HPZK.js.map → chunk-6JOBSAZF.js.map} +0 -0
- /package/dist/{chunk-PFF6VY35.js.map → chunk-A7L3NJK6.js.map} +0 -0
- /package/dist/{chunk-MQCDMHRZ.js.map → chunk-C376YPPE.js.map} +0 -0
- /package/dist/{chunk-4PONO4US.js.map → chunk-CMG6TZKH.js.map} +0 -0
- /package/dist/{chunk-DSAOXGJH.js.map → chunk-DMXZIAAW.js.map} +0 -0
- /package/dist/{chunk-676HDB7K.js.map → chunk-EH7EYO4N.js.map} +0 -0
- /package/dist/{chunk-5IH3VC5I.js.map → chunk-FJ36VM6S.js.map} +0 -0
- /package/dist/{chunk-IFWKRCFF.js.map → chunk-J6AWMFEF.js.map} +0 -0
- /package/dist/{chunk-ZP4D73DO.js.map → chunk-JDNOVB6L.js.map} +0 -0
- /package/dist/{chunk-NIXT2SBH.js.map → chunk-JK6RAKE3.js.map} +0 -0
- /package/dist/{chunk-EGVS23DR.js.map → chunk-L7WHIPGC.js.map} +0 -0
- /package/dist/{chunk-IVOOK475.js.map → chunk-LSWKBCB3.js.map} +0 -0
- /package/dist/{chunk-NJAII6CO.js.map → chunk-M3GHFF5N.js.map} +0 -0
- /package/dist/{chunk-ILSFU3WD.js.map → chunk-MQAJXYIS.js.map} +0 -0
- /package/dist/{chunk-QZYCJ2GZ.js.map → chunk-MY22PTP4.js.map} +0 -0
- /package/dist/{chunk-JVROGQ7Q.js.map → chunk-QSUE3ZFB.js.map} +0 -0
- /package/dist/{chunk-FFYZXA75.js.map → chunk-RETGBEFM.js.map} +0 -0
- /package/dist/{chunk-VRZ5LMOW.js.map → chunk-RQS3KQLQ.js.map} +0 -0
- /package/dist/{chunk-SEJJ7CRI.js.map → chunk-RV7QJFSE.js.map} +0 -0
- /package/dist/{chunk-GR4SIU32.js.map → chunk-S2ETTOE5.js.map} +0 -0
- /package/dist/{chunk-YLNEKJQ5.js.map → chunk-SRSVMD6E.js.map} +0 -0
- /package/dist/{chunk-BZ7UPUTY.js.map → chunk-X23SZR5N.js.map} +0 -0
- /package/dist/{chunk-ZZ7FDJKJ.js.map → chunk-YMGLWNV5.js.map} +0 -0
- /package/dist/{chunk-SB5UCPZH.js.map → chunk-ZIT2N7CI.js.map} +0 -0
|
@@ -6,18 +6,25 @@ import {
|
|
|
6
6
|
boundRunActionOutput,
|
|
7
7
|
boundRunEventJson,
|
|
8
8
|
createRunEventIdempotencyKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DVZU2FI6.js";
|
|
10
10
|
import {
|
|
11
11
|
DESIGN_POD_METHODS,
|
|
12
12
|
INVOCATIONS_MAP_KEY,
|
|
13
13
|
canonicalDesignPodJson,
|
|
14
14
|
digestDesignPodValue,
|
|
15
|
+
flowOwnerOf,
|
|
15
16
|
readDesignPodDefinition,
|
|
16
17
|
readDesignPodState
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7TVYQNOR.js";
|
|
18
19
|
import {
|
|
19
20
|
getNestedValue
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QSUE3ZFB.js";
|
|
22
|
+
import {
|
|
23
|
+
assertLegacyFlowOperationAllowed
|
|
24
|
+
} from "./chunk-UTLM6U75.js";
|
|
25
|
+
import {
|
|
26
|
+
writeFlowRequest
|
|
27
|
+
} from "./chunk-2KOJBMG5.js";
|
|
21
28
|
import {
|
|
22
29
|
DM_NOTIFICATIONS_MAP_KEY,
|
|
23
30
|
RUNS_MAP_KEY,
|
|
@@ -40,6 +47,7 @@ import {
|
|
|
40
47
|
isBelowTheLineBlock,
|
|
41
48
|
isRecordInRun,
|
|
42
49
|
isRepeatableAction,
|
|
50
|
+
patchRunMeta,
|
|
43
51
|
readActionState,
|
|
44
52
|
resetActionState,
|
|
45
53
|
resolveActiveRunId,
|
|
@@ -48,14 +56,9 @@ import {
|
|
|
48
56
|
seedRunFromLegacyRuntime,
|
|
49
57
|
setMultiRunStorage,
|
|
50
58
|
usesLegacyRuntimeCompatibility,
|
|
59
|
+
warnOnce,
|
|
51
60
|
writeActionState
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
warnOnce
|
|
55
|
-
} from "./chunk-HT6L7A5M.js";
|
|
56
|
-
import {
|
|
57
|
-
assertLegacyFlowOperationAllowed
|
|
58
|
-
} from "./chunk-RRYBAE6E.js";
|
|
61
|
+
} from "./chunk-QW7LA67J.js";
|
|
59
62
|
import {
|
|
60
63
|
getExistingYMap,
|
|
61
64
|
isYDocLike
|
|
@@ -340,7 +343,7 @@ function findFailedListenersForSourceRun(yDoc, sourceBlockId, sourceRunId, liste
|
|
|
340
343
|
}
|
|
341
344
|
return failures;
|
|
342
345
|
}
|
|
343
|
-
function replayFailedListenerRun(yDoc, failedRecord, listenerBlockId, originalPayload, originalRefSnapshots, assigneeDid, sessionRunId) {
|
|
346
|
+
function replayFailedListenerRun(yDoc, failedRecord, listenerBlockId, originalPayload, originalRefSnapshots, assigneeDid, sessionRunId, requestId) {
|
|
344
347
|
if (!failedRecord.triggeredBy) return false;
|
|
345
348
|
const replayId = `${failedRecord.runId}:replay-${Date.now().toString(36)}`;
|
|
346
349
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -355,77 +358,12 @@ function replayFailedListenerRun(yDoc, failedRecord, listenerBlockId, originalPa
|
|
|
355
358
|
refSnapshots: originalRefSnapshots,
|
|
356
359
|
assigneeDid,
|
|
357
360
|
emittedAt: now,
|
|
358
|
-
expiresAt: new Date(Date.now() + 7 * 24 * 60 * 60 * 1e3).toISOString()
|
|
361
|
+
expiresAt: new Date(Date.now() + 7 * 24 * 60 * 60 * 1e3).toISOString(),
|
|
362
|
+
...requestId ? { requestId } : {}
|
|
359
363
|
};
|
|
360
364
|
return queuePendingInvocation(yDoc, listenerBlockId, replay, sessionRunId || failedRecord.sessionRunId);
|
|
361
365
|
}
|
|
362
366
|
|
|
363
|
-
// src/core/lib/flowEngine/versionManifest.ts
|
|
364
|
-
var VERSION_MANIFEST = {
|
|
365
|
-
"0.3": {
|
|
366
|
-
version: "0.3",
|
|
367
|
-
label: "Legacy",
|
|
368
|
-
ucanRequired: false,
|
|
369
|
-
delegationRootRequired: false,
|
|
370
|
-
whitelistOnlyAllowed: true,
|
|
371
|
-
unrestrictedAllowed: true,
|
|
372
|
-
executionPath: "legacy",
|
|
373
|
-
authorizationFn: "v1",
|
|
374
|
-
allowedAuthModes: ["anyone", "actors", "capability"],
|
|
375
|
-
ui: {
|
|
376
|
-
showDelegationPanel: false,
|
|
377
|
-
showWhitelistConfig: true,
|
|
378
|
-
showAnyoneConfig: true,
|
|
379
|
-
showMigrationBanner: true,
|
|
380
|
-
requirePinForExecution: false
|
|
381
|
-
},
|
|
382
|
-
description: "Legacy version. UCAN optional, whitelist-only authorization accepted."
|
|
383
|
-
},
|
|
384
|
-
"1.0.0": {
|
|
385
|
-
version: "1.0.0",
|
|
386
|
-
label: "UCAN Required",
|
|
387
|
-
ucanRequired: true,
|
|
388
|
-
delegationRootRequired: true,
|
|
389
|
-
whitelistOnlyAllowed: false,
|
|
390
|
-
unrestrictedAllowed: false,
|
|
391
|
-
executionPath: "invocation",
|
|
392
|
-
authorizationFn: "v2",
|
|
393
|
-
allowedAuthModes: ["capability"],
|
|
394
|
-
ui: {
|
|
395
|
-
showDelegationPanel: true,
|
|
396
|
-
showWhitelistConfig: false,
|
|
397
|
-
showAnyoneConfig: false,
|
|
398
|
-
showMigrationBanner: false,
|
|
399
|
-
requirePinForExecution: true
|
|
400
|
-
},
|
|
401
|
-
description: "UCAN-enforced. Every block execution requires a valid delegation chain."
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
var LATEST_VERSION = "1.0.0";
|
|
405
|
-
var tempUcanEnforcementDisabled = false;
|
|
406
|
-
function isTempUcanEnforcementDisabled() {
|
|
407
|
-
return tempUcanEnforcementDisabled;
|
|
408
|
-
}
|
|
409
|
-
var MIGRATION_PATH = ["0.3", "1.0.0"];
|
|
410
|
-
function getVersionPolicy(version) {
|
|
411
|
-
const policy = VERSION_MANIFEST[version] ?? VERSION_MANIFEST[LATEST_VERSION];
|
|
412
|
-
if (tempUcanEnforcementDisabled && policy.ucanRequired) {
|
|
413
|
-
return {
|
|
414
|
-
...policy,
|
|
415
|
-
ucanRequired: false,
|
|
416
|
-
delegationRootRequired: false,
|
|
417
|
-
ui: { ...policy.ui, requirePinForExecution: false }
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
return policy;
|
|
421
|
-
}
|
|
422
|
-
function isVersionAtLeast(current, minimum) {
|
|
423
|
-
const currentIdx = MIGRATION_PATH.indexOf(current);
|
|
424
|
-
const minimumIdx = MIGRATION_PATH.indexOf(minimum);
|
|
425
|
-
const effectiveCurrent = currentIdx === -1 ? MIGRATION_PATH.length : currentIdx;
|
|
426
|
-
return effectiveCurrent >= minimumIdx;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
367
|
// src/core/lib/flowEngine/reconcile.ts
|
|
430
368
|
var activeReconciliations = /* @__PURE__ */ new WeakMap();
|
|
431
369
|
function flattenBlocks(blocks) {
|
|
@@ -488,9 +426,9 @@ function _reconcilePendingInvocationsInner(editor, yDoc, runId) {
|
|
|
488
426
|
}
|
|
489
427
|
return consumed.has(pendingId);
|
|
490
428
|
};
|
|
491
|
-
const schemaVersionRaw = yDoc.getMap("root").get("schema_version");
|
|
492
|
-
const ucanRequired = typeof schemaVersionRaw === "string" ? !!getVersionPolicy(schemaVersionRaw)?.ucanRequired : false;
|
|
493
429
|
const invocationsMap = yDoc.getMap("invocations");
|
|
430
|
+
const receipts = editor.getUcanService?.()?.receipts;
|
|
431
|
+
const awaiting = [];
|
|
494
432
|
const getNodeOutput2 = (nodeId) => {
|
|
495
433
|
const out = readActionState(yDoc, runId, nodeId).output;
|
|
496
434
|
return out && typeof out === "object" && !Array.isArray(out) ? out : void 0;
|
|
@@ -514,11 +452,20 @@ function _reconcilePendingInvocationsInner(editor, yDoc, runId) {
|
|
|
514
452
|
if (!hasAnyListener) continue;
|
|
515
453
|
const records = readRunRecords(yDoc, sourceBlockId, runId);
|
|
516
454
|
for (const record of records) {
|
|
517
|
-
|
|
455
|
+
const trust = runRecordTrust(record, sourceBlockId, invocationsMap, receipts);
|
|
456
|
+
if (trust === "pending") {
|
|
457
|
+
const invocation = invocationsMap.get(record.invocationCid);
|
|
458
|
+
awaiting.push(receipts.verify(invocation, { blockId: sourceBlockId }));
|
|
459
|
+
continue;
|
|
460
|
+
}
|
|
461
|
+
if (trust !== "verified") continue;
|
|
518
462
|
processRunRecord(yDoc, runId, sourceBlockId, record, listenersBySource, getNodeOutput2, isConsumed, now);
|
|
519
463
|
processBarrierRunRecord(yDoc, runId, sourceBlockId, record, barrierListenersBySource, getNodeOutput2, isConsumed, now);
|
|
520
464
|
}
|
|
521
465
|
}
|
|
466
|
+
if (awaiting.length > 0) {
|
|
467
|
+
void Promise.allSettled(awaiting).then(() => reconcilePendingInvocations(editor, runId));
|
|
468
|
+
}
|
|
522
469
|
}
|
|
523
470
|
function dispatchFlowStartTriggers(params) {
|
|
524
471
|
const blocks = flattenBlocks(params.blocks);
|
|
@@ -557,7 +504,8 @@ function dispatchFlowStartTriggers(params) {
|
|
|
557
504
|
refSnapshots,
|
|
558
505
|
assigneeDid: resolveAssignee(block) || "unassigned",
|
|
559
506
|
emittedAt,
|
|
560
|
-
expiresAt: computeExpiry(block, emittedAt)
|
|
507
|
+
expiresAt: computeExpiry(block, emittedAt),
|
|
508
|
+
...params.requestId ? { requestId: params.requestId } : {}
|
|
561
509
|
};
|
|
562
510
|
if (queuePendingInvocation(params.yDoc, block.id, invocation, params.runId)) {
|
|
563
511
|
queued += 1;
|
|
@@ -568,10 +516,13 @@ function dispatchFlowStartTriggers(params) {
|
|
|
568
516
|
}
|
|
569
517
|
return queued;
|
|
570
518
|
}
|
|
571
|
-
function
|
|
572
|
-
if (!
|
|
573
|
-
|
|
574
|
-
|
|
519
|
+
function runRecordTrust(record, sourceBlockId, invocationsMap, receipts) {
|
|
520
|
+
if (!record.invocationCid) return "untrusted";
|
|
521
|
+
const invocation = invocationsMap.get(record.invocationCid);
|
|
522
|
+
if (!invocation || typeof invocation !== "object" || invocation.result !== "success") return "untrusted";
|
|
523
|
+
if (!receipts) return "untrusted";
|
|
524
|
+
const status = receipts.check(invocation, { blockId: sourceBlockId });
|
|
525
|
+
return status.status === "verified" ? "verified" : status.status === "pending" ? "pending" : "untrusted";
|
|
575
526
|
}
|
|
576
527
|
function processRunRecord(yDoc, runId, sourceBlockId, record, listenersBySource, getNodeOutput2, isConsumed, now) {
|
|
577
528
|
if (!Array.isArray(record.events)) return;
|
|
@@ -608,7 +559,10 @@ function processRunRecord(yDoc, runId, sourceBlockId, record, listenersBySource,
|
|
|
608
559
|
refSnapshots,
|
|
609
560
|
assigneeDid,
|
|
610
561
|
emittedAt: record.completedAt,
|
|
611
|
-
expiresAt
|
|
562
|
+
expiresAt,
|
|
563
|
+
// What this invocation acts on: the triggering step's verified
|
|
564
|
+
// receipt (only verified receipts reach here).
|
|
565
|
+
...record.invocationCid ? { requestId: record.invocationCid } : {}
|
|
612
566
|
};
|
|
613
567
|
queuePendingInvocation(yDoc, listenerBlockId, invocation, runId);
|
|
614
568
|
writeActionState(yDoc, runId, listenerBlockId, {
|
|
@@ -666,7 +620,10 @@ function processBarrierRunRecord(yDoc, runId, sourceBlockId, record, barrierList
|
|
|
666
620
|
refSnapshots,
|
|
667
621
|
assigneeDid,
|
|
668
622
|
emittedAt: record.completedAt,
|
|
669
|
-
expiresAt
|
|
623
|
+
expiresAt,
|
|
624
|
+
// What this invocation acts on: the triggering step's verified
|
|
625
|
+
// receipt (only verified receipts reach here).
|
|
626
|
+
...record.invocationCid ? { requestId: record.invocationCid } : {}
|
|
670
627
|
};
|
|
671
628
|
queuePendingInvocation(yDoc, listenerBlockId, invocation, runId);
|
|
672
629
|
clearBarrierState(yDoc, listenerBlockId, runId);
|
|
@@ -1515,6 +1472,72 @@ function readAgentLedgerEvents(yDoc, eventType, sessionRunId) {
|
|
|
1515
1472
|
return events;
|
|
1516
1473
|
}
|
|
1517
1474
|
|
|
1475
|
+
// src/core/lib/flowEngine/versionManifest.ts
|
|
1476
|
+
var VERSION_MANIFEST = {
|
|
1477
|
+
"0.3": {
|
|
1478
|
+
version: "0.3",
|
|
1479
|
+
label: "Legacy",
|
|
1480
|
+
ucanRequired: false,
|
|
1481
|
+
delegationRootRequired: false,
|
|
1482
|
+
whitelistOnlyAllowed: true,
|
|
1483
|
+
unrestrictedAllowed: true,
|
|
1484
|
+
executionPath: "legacy",
|
|
1485
|
+
authorizationFn: "v1",
|
|
1486
|
+
allowedAuthModes: ["anyone", "actors", "capability"],
|
|
1487
|
+
ui: {
|
|
1488
|
+
showDelegationPanel: false,
|
|
1489
|
+
showWhitelistConfig: true,
|
|
1490
|
+
showAnyoneConfig: true,
|
|
1491
|
+
showMigrationBanner: true,
|
|
1492
|
+
requirePinForExecution: false
|
|
1493
|
+
},
|
|
1494
|
+
description: "Legacy version. UCAN optional, whitelist-only authorization accepted."
|
|
1495
|
+
},
|
|
1496
|
+
"1.0.0": {
|
|
1497
|
+
version: "1.0.0",
|
|
1498
|
+
label: "UCAN Required",
|
|
1499
|
+
ucanRequired: true,
|
|
1500
|
+
delegationRootRequired: true,
|
|
1501
|
+
whitelistOnlyAllowed: false,
|
|
1502
|
+
unrestrictedAllowed: false,
|
|
1503
|
+
executionPath: "invocation",
|
|
1504
|
+
authorizationFn: "v2",
|
|
1505
|
+
allowedAuthModes: ["capability"],
|
|
1506
|
+
ui: {
|
|
1507
|
+
showDelegationPanel: true,
|
|
1508
|
+
showWhitelistConfig: false,
|
|
1509
|
+
showAnyoneConfig: false,
|
|
1510
|
+
showMigrationBanner: false,
|
|
1511
|
+
requirePinForExecution: true
|
|
1512
|
+
},
|
|
1513
|
+
description: "UCAN-enforced. Every block execution requires a valid delegation chain."
|
|
1514
|
+
}
|
|
1515
|
+
};
|
|
1516
|
+
var LATEST_VERSION = "1.0.0";
|
|
1517
|
+
var tempUcanEnforcementDisabled = false;
|
|
1518
|
+
function isTempUcanEnforcementDisabled() {
|
|
1519
|
+
return tempUcanEnforcementDisabled;
|
|
1520
|
+
}
|
|
1521
|
+
var MIGRATION_PATH = ["0.3", "1.0.0"];
|
|
1522
|
+
function getVersionPolicy(version) {
|
|
1523
|
+
const policy = VERSION_MANIFEST[version] ?? VERSION_MANIFEST[LATEST_VERSION];
|
|
1524
|
+
if (tempUcanEnforcementDisabled && policy.ucanRequired) {
|
|
1525
|
+
return {
|
|
1526
|
+
...policy,
|
|
1527
|
+
ucanRequired: false,
|
|
1528
|
+
delegationRootRequired: false,
|
|
1529
|
+
ui: { ...policy.ui, requirePinForExecution: false }
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
return policy;
|
|
1533
|
+
}
|
|
1534
|
+
function isVersionAtLeast(current, minimum) {
|
|
1535
|
+
const currentIdx = MIGRATION_PATH.indexOf(current);
|
|
1536
|
+
const minimumIdx = MIGRATION_PATH.indexOf(minimum);
|
|
1537
|
+
const effectiveCurrent = currentIdx === -1 ? MIGRATION_PATH.length : currentIdx;
|
|
1538
|
+
return effectiveCurrent >= minimumIdx;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1518
1541
|
// src/core/lib/flowEngine/runMigration.ts
|
|
1519
1542
|
function stampMapValues(yDoc, key, sessionRunId) {
|
|
1520
1543
|
const map = getExistingYMap(yDoc, key);
|
|
@@ -1793,11 +1816,13 @@ async function startRun(params) {
|
|
|
1793
1816
|
const now = params.now?.() ?? Date.now();
|
|
1794
1817
|
const seq = nextRunSequence(params.yDoc);
|
|
1795
1818
|
const runId = createRunId(seq, now);
|
|
1819
|
+
const request = params.requestProof ? await params.requestProof({ runId, defHash: params.definition.manifest.defHash }) : void 0;
|
|
1796
1820
|
const meta = {
|
|
1797
1821
|
seq,
|
|
1798
1822
|
startedAt: now,
|
|
1799
1823
|
startedByDid: params.actorDid,
|
|
1800
1824
|
origin: "started",
|
|
1825
|
+
...request ? { startRequestId: request.requestId } : {},
|
|
1801
1826
|
...params.label ? { label: params.label } : {},
|
|
1802
1827
|
manifest: {
|
|
1803
1828
|
blockIds: [...params.definition.manifest.blockIds],
|
|
@@ -1808,7 +1833,8 @@ async function startRun(params) {
|
|
|
1808
1833
|
runId,
|
|
1809
1834
|
kind: "run.started",
|
|
1810
1835
|
payload: {
|
|
1811
|
-
|
|
1836
|
+
// The requester's signed start request (a real invocation, not a grant).
|
|
1837
|
+
...request ? { invocationCid: request.invocationCid } : authorization.invocationCid ? { invocationCid: authorization.invocationCid } : {},
|
|
1812
1838
|
definitionRevision: params.definition.manifest.defHash,
|
|
1813
1839
|
...params.label ? { label: params.label } : {}
|
|
1814
1840
|
},
|
|
@@ -1818,6 +1844,7 @@ async function startRun(params) {
|
|
|
1818
1844
|
let flowStartInvocations = 0;
|
|
1819
1845
|
params.yDoc.transact(() => {
|
|
1820
1846
|
setMultiRunStorage(params.yDoc);
|
|
1847
|
+
if (request) writeFlowRequest(params.yDoc, request);
|
|
1821
1848
|
ensureRun(params.yDoc, runId, meta);
|
|
1822
1849
|
for (const blockId of meta.manifest.blockIds) {
|
|
1823
1850
|
resetActionState(params.yDoc, runId, blockId, { state: "idle" });
|
|
@@ -1828,7 +1855,8 @@ async function startRun(params) {
|
|
|
1828
1855
|
runId,
|
|
1829
1856
|
blocks: params.document,
|
|
1830
1857
|
startedAt: now,
|
|
1831
|
-
sourceEventId: eventId
|
|
1858
|
+
sourceEventId: eventId,
|
|
1859
|
+
...request ? { requestId: request.requestId } : {}
|
|
1832
1860
|
});
|
|
1833
1861
|
}
|
|
1834
1862
|
params.yDoc.getMap("root").set("activeRunId", runId);
|
|
@@ -1857,11 +1885,13 @@ async function migrateFlowToSessions(params) {
|
|
|
1857
1885
|
defHash: params.definition.manifest.defHash,
|
|
1858
1886
|
startedAt
|
|
1859
1887
|
});
|
|
1888
|
+
const request = params.requestProof ? await params.requestProof({ runId, defHash: params.definition.manifest.defHash }) : void 0;
|
|
1860
1889
|
const meta = {
|
|
1861
1890
|
seq: 1,
|
|
1862
1891
|
startedAt,
|
|
1863
1892
|
startedByDid: params.actorDid,
|
|
1864
1893
|
origin: "migrated",
|
|
1894
|
+
...request ? { startRequestId: request.requestId } : {},
|
|
1865
1895
|
label: params.label || "Session 1 (migrated)",
|
|
1866
1896
|
manifest: {
|
|
1867
1897
|
blockIds: [...params.definition.manifest.blockIds],
|
|
@@ -1872,7 +1902,8 @@ async function migrateFlowToSessions(params) {
|
|
|
1872
1902
|
runId,
|
|
1873
1903
|
kind: "run.started",
|
|
1874
1904
|
payload: {
|
|
1875
|
-
|
|
1905
|
+
// The requester's signed start request (a real invocation, not a grant).
|
|
1906
|
+
...request ? { invocationCid: request.invocationCid } : authorization.invocationCid ? { invocationCid: authorization.invocationCid } : {},
|
|
1876
1907
|
definitionRevision: params.definition.manifest.defHash,
|
|
1877
1908
|
label: meta.label
|
|
1878
1909
|
},
|
|
@@ -1884,6 +1915,7 @@ async function migrateFlowToSessions(params) {
|
|
|
1884
1915
|
let phantomCollected = false;
|
|
1885
1916
|
params.yDoc.transact(() => {
|
|
1886
1917
|
phantomCollected = collectPhantomLegacyRun(params.yDoc);
|
|
1918
|
+
if (request) writeFlowRequest(params.yDoc, request);
|
|
1887
1919
|
ensureRun(params.yDoc, runId, meta);
|
|
1888
1920
|
seeded = seedRunFromLegacyRuntime(params.yDoc, runId);
|
|
1889
1921
|
stamped = stampPreSessionRecords(params.yDoc, runId);
|
|
@@ -1934,7 +1966,7 @@ function inspectPinnedDesignPodRunForClosure(yDoc, runId) {
|
|
|
1934
1966
|
publication: typeof releaseDigest === "string" ? designPodState?.get(`publication:${releaseDigest}`) : void 0,
|
|
1935
1967
|
root: {
|
|
1936
1968
|
doc_id: getExistingYMap(yDoc, "root")?.get("doc_id"),
|
|
1937
|
-
flowOwnerDid:
|
|
1969
|
+
flowOwnerDid: flowOwnerOf(yDoc)
|
|
1938
1970
|
}
|
|
1939
1971
|
})
|
|
1940
1972
|
)
|
|
@@ -2219,6 +2251,7 @@ async function closeRun(params) {
|
|
|
2219
2251
|
actorDid: params.actorDid,
|
|
2220
2252
|
runId: params.runId
|
|
2221
2253
|
});
|
|
2254
|
+
await recordCloseRequest(params);
|
|
2222
2255
|
const now = params.now?.() ?? Date.now();
|
|
2223
2256
|
const summary = computeRunSummary(params.yDoc, params.runId, params.actionTypes, {
|
|
2224
2257
|
flowId: params.flowUri,
|
|
@@ -2238,7 +2271,7 @@ async function closeRun(params) {
|
|
|
2238
2271
|
const retained = await readMatrixTerminalState(params.eventLog, {
|
|
2239
2272
|
runId: params.runId,
|
|
2240
2273
|
flowUri: params.flowUri,
|
|
2241
|
-
flowOwnerDid:
|
|
2274
|
+
flowOwnerDid: flowOwnerOf(params.yDoc),
|
|
2242
2275
|
verifyInvocation: params.verifyTerminalInvocation,
|
|
2243
2276
|
requireAuthenticated: true
|
|
2244
2277
|
});
|
|
@@ -2281,7 +2314,7 @@ async function closeRun(params) {
|
|
|
2281
2314
|
try {
|
|
2282
2315
|
const reconciled = await reconcileTerminalEvent(params.eventLog, event, reservation, {
|
|
2283
2316
|
flowUri: params.flowUri,
|
|
2284
|
-
flowOwnerDid:
|
|
2317
|
+
flowOwnerDid: flowOwnerOf(params.yDoc),
|
|
2285
2318
|
verifyInvocation: params.verifyTerminalInvocation,
|
|
2286
2319
|
requireAuthenticated: authenticatedTerminalRequired
|
|
2287
2320
|
});
|
|
@@ -2292,6 +2325,15 @@ async function closeRun(params) {
|
|
|
2292
2325
|
}
|
|
2293
2326
|
});
|
|
2294
2327
|
}
|
|
2328
|
+
async function recordCloseRequest(params) {
|
|
2329
|
+
if (!params.requestProof) return;
|
|
2330
|
+
const defHash = getRunMeta(params.yDoc, params.runId)?.manifest?.defHash ?? "";
|
|
2331
|
+
const request = await params.requestProof({ runId: params.runId, defHash });
|
|
2332
|
+
params.yDoc.transact(() => {
|
|
2333
|
+
writeFlowRequest(params.yDoc, request);
|
|
2334
|
+
patchRunMeta(params.yDoc, params.runId, { closeRequestId: request.requestId });
|
|
2335
|
+
});
|
|
2336
|
+
}
|
|
2295
2337
|
async function cancelRun(params) {
|
|
2296
2338
|
return withLifecycleLock(params.yDoc, params.runId, async () => {
|
|
2297
2339
|
const existing = getExistingRunsTerminalMap(params.yDoc)?.get(params.runId);
|
|
@@ -2315,6 +2357,7 @@ async function cancelRun(params) {
|
|
|
2315
2357
|
actorDid: params.actorDid,
|
|
2316
2358
|
runId: params.runId
|
|
2317
2359
|
});
|
|
2360
|
+
await recordCloseRequest(params);
|
|
2318
2361
|
const now = params.now?.() ?? Date.now();
|
|
2319
2362
|
const pinnedDesignPod = await authenticatePinnedDesignPodClosure(params);
|
|
2320
2363
|
const authenticatedTerminalRequired = pinnedDesignPod.pinned || Boolean(params.terminalAuthorization);
|
|
@@ -2328,7 +2371,7 @@ async function cancelRun(params) {
|
|
|
2328
2371
|
const retained = await readMatrixTerminalState(params.eventLog, {
|
|
2329
2372
|
runId: params.runId,
|
|
2330
2373
|
flowUri: params.flowUri,
|
|
2331
|
-
flowOwnerDid:
|
|
2374
|
+
flowOwnerDid: flowOwnerOf(params.yDoc),
|
|
2332
2375
|
verifyInvocation: params.verifyTerminalInvocation,
|
|
2333
2376
|
requireAuthenticated: true
|
|
2334
2377
|
});
|
|
@@ -2369,7 +2412,7 @@ async function cancelRun(params) {
|
|
|
2369
2412
|
try {
|
|
2370
2413
|
const reconciled = await reconcileTerminalEvent(params.eventLog, event, reservation, {
|
|
2371
2414
|
flowUri: params.flowUri,
|
|
2372
|
-
flowOwnerDid:
|
|
2415
|
+
flowOwnerDid: flowOwnerOf(params.yDoc),
|
|
2373
2416
|
verifyInvocation: params.verifyTerminalInvocation,
|
|
2374
2417
|
requireAuthenticated: authenticatedTerminalRequired
|
|
2375
2418
|
});
|
|
@@ -2465,43 +2508,22 @@ function resolveRef(ref, getNodeOutput2, triggerContext) {
|
|
|
2465
2508
|
}
|
|
2466
2509
|
|
|
2467
2510
|
// src/core/lib/flowEngine/authorization.ts
|
|
2468
|
-
var isAuthorized = async (blockId, actorDid, ucanService, flowUri
|
|
2469
|
-
const policy = schemaVersion ? getVersionPolicy(schemaVersion) : null;
|
|
2470
|
-
const requireUcan = options.requireSignedInvocation === true;
|
|
2471
|
-
if (policy && !policy.ucanRequired && !requireUcan) {
|
|
2472
|
-
return { authorized: true };
|
|
2473
|
-
}
|
|
2511
|
+
var isAuthorized = async (blockId, actorDid, ucanService, flowUri) => {
|
|
2474
2512
|
if (!ucanService) {
|
|
2475
|
-
|
|
2476
|
-
return { authorized: true };
|
|
2477
|
-
}
|
|
2478
|
-
return {
|
|
2479
|
-
authorized: false,
|
|
2480
|
-
reason: requireUcan ? "UCAN service is not configured. This governed action requires a signed Flow invocation." : "UCAN service is not configured. This flow version requires UCAN authorization."
|
|
2481
|
-
};
|
|
2513
|
+
return { authorized: false, reason: "This editor cannot check grants, so no step can run here." };
|
|
2482
2514
|
}
|
|
2483
2515
|
const capability = {
|
|
2484
2516
|
can: "flow/block/execute",
|
|
2485
2517
|
with: `${flowUri}:${blockId}`
|
|
2486
2518
|
};
|
|
2487
|
-
const result = await ucanService.
|
|
2488
|
-
if (!result.
|
|
2489
|
-
return {
|
|
2490
|
-
authorized: false,
|
|
2491
|
-
reason: result.error || "No valid capability chain found"
|
|
2492
|
-
};
|
|
2493
|
-
}
|
|
2494
|
-
const proofCids = result.proofChain?.map((d) => d.cid) || [];
|
|
2495
|
-
if (requireUcan && proofCids.length === 0) {
|
|
2496
|
-
return {
|
|
2497
|
-
authorized: false,
|
|
2498
|
-
reason: "A signed invocation requires a non-empty UCAN delegation proof chain."
|
|
2499
|
-
};
|
|
2519
|
+
const result = await ucanService.findValidProofs(actorDid, capability);
|
|
2520
|
+
if (!result.found || !result.proofCids) {
|
|
2521
|
+
return { authorized: false, reason: result.error || "You have not been given this step in this flow." };
|
|
2500
2522
|
}
|
|
2501
2523
|
return {
|
|
2502
2524
|
authorized: true,
|
|
2503
|
-
capabilityId: proofCids[0],
|
|
2504
|
-
proofCids
|
|
2525
|
+
capabilityId: result.proofCids[0],
|
|
2526
|
+
proofCids: result.proofCids
|
|
2505
2527
|
};
|
|
2506
2528
|
};
|
|
2507
2529
|
|
|
@@ -2526,82 +2548,83 @@ var executeNode = async ({
|
|
|
2526
2548
|
context,
|
|
2527
2549
|
action,
|
|
2528
2550
|
invocationFacts = {},
|
|
2529
|
-
requireSignedInvocation = false,
|
|
2530
2551
|
pin
|
|
2531
2552
|
}) => {
|
|
2532
|
-
const { runtime, ucanService, invocationStore, flowUri, flowId, sessionRunId,
|
|
2533
|
-
const auth = await isAuthorized(node.id, actorDid, ucanService, flowUri
|
|
2534
|
-
if (!auth.authorized) {
|
|
2553
|
+
const { runtime, ucanService, invocationStore, flowUri, flowId, sessionRunId, now } = context;
|
|
2554
|
+
const auth = await isAuthorized(node.id, actorDid, ucanService, flowUri);
|
|
2555
|
+
if (!auth.authorized || !ucanService) {
|
|
2535
2556
|
return { success: false, stage: "authorization", error: auth.reason };
|
|
2536
2557
|
}
|
|
2537
|
-
if (
|
|
2538
|
-
return { success: false, stage: "authorization", error: "
|
|
2558
|
+
if (!invocationStore) {
|
|
2559
|
+
return { success: false, stage: "authorization", error: "This step cannot be recorded here, so it cannot run: no invocation store." };
|
|
2539
2560
|
}
|
|
2540
2561
|
if (node.linkedClaim && !node.linkedClaim.collectionId) {
|
|
2541
2562
|
return { success: false, stage: "claim", error: "Linked claim collection is required but missing." };
|
|
2542
2563
|
}
|
|
2564
|
+
const capability = {
|
|
2565
|
+
can: "flow/block/execute",
|
|
2566
|
+
with: `${flowUri}:${node.id}`
|
|
2567
|
+
};
|
|
2543
2568
|
let invocationCid;
|
|
2544
2569
|
let invocationData;
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
error: `Invocation validation failed: ${invocationResult.error}`
|
|
2569
|
-
};
|
|
2570
|
-
}
|
|
2571
|
-
invocationCid = invocationResult.cid;
|
|
2572
|
-
invocationData = invocationResult.invocation;
|
|
2573
|
-
} catch (error) {
|
|
2574
|
-
const message = error instanceof Error ? error.message : "Failed to create invocation";
|
|
2575
|
-
return { success: false, stage: "authorization", error: message };
|
|
2570
|
+
let signedFacts = invocationFacts;
|
|
2571
|
+
let proofCids = auth.proofCids || [];
|
|
2572
|
+
let signedAt;
|
|
2573
|
+
try {
|
|
2574
|
+
const invocationResult = await ucanService.createAndValidateInvocation(
|
|
2575
|
+
{
|
|
2576
|
+
invokerDid: actorDid,
|
|
2577
|
+
invokerType: actorType,
|
|
2578
|
+
entityRoomId,
|
|
2579
|
+
capability,
|
|
2580
|
+
proofs: proofCids,
|
|
2581
|
+
facts: invocationFacts,
|
|
2582
|
+
pin
|
|
2583
|
+
},
|
|
2584
|
+
flowId,
|
|
2585
|
+
node.id
|
|
2586
|
+
);
|
|
2587
|
+
if (!invocationResult.valid || !invocationResult.cid || !invocationResult.invocation) {
|
|
2588
|
+
return {
|
|
2589
|
+
success: false,
|
|
2590
|
+
stage: "authorization",
|
|
2591
|
+
error: `Invocation validation failed: ${invocationResult.error ?? "no signed invocation was produced"}`
|
|
2592
|
+
};
|
|
2576
2593
|
}
|
|
2594
|
+
invocationCid = invocationResult.cid;
|
|
2595
|
+
invocationData = invocationResult.invocation;
|
|
2596
|
+
signedFacts = invocationResult.facts ?? invocationFacts;
|
|
2597
|
+
proofCids = invocationResult.proofCids ?? proofCids;
|
|
2598
|
+
signedAt = invocationResult.signedAt;
|
|
2599
|
+
} catch (error) {
|
|
2600
|
+
const message = error instanceof Error ? error.message : "Failed to create invocation";
|
|
2601
|
+
return { success: false, stage: "authorization", error: message };
|
|
2577
2602
|
}
|
|
2578
|
-
|
|
2579
|
-
return { success: false, stage: "authorization", error: "This governed action requires a signed Flow invocation." };
|
|
2580
|
-
}
|
|
2603
|
+
const executedAt = () => signedAt ?? (now ? now() : Date.now());
|
|
2581
2604
|
try {
|
|
2582
2605
|
const result = await action({
|
|
2583
2606
|
invocationCid,
|
|
2584
2607
|
invocation: invocationData,
|
|
2585
2608
|
capabilityId: auth.capabilityId,
|
|
2586
|
-
proofCids
|
|
2587
|
-
capability
|
|
2588
|
-
facts:
|
|
2609
|
+
proofCids,
|
|
2610
|
+
capability,
|
|
2611
|
+
facts: signedFacts
|
|
2589
2612
|
});
|
|
2590
2613
|
if (node.linkedClaim && !result.claimId) {
|
|
2591
|
-
|
|
2614
|
+
{
|
|
2592
2615
|
const storedInvocation = {
|
|
2593
2616
|
cid: invocationCid,
|
|
2594
2617
|
invocation: invocationData,
|
|
2595
2618
|
invokerDid: actorDid,
|
|
2596
|
-
capability
|
|
2597
|
-
executedAt:
|
|
2619
|
+
capability,
|
|
2620
|
+
executedAt: executedAt(),
|
|
2598
2621
|
flowId,
|
|
2599
2622
|
sessionRunId,
|
|
2600
2623
|
blockId: node.id,
|
|
2601
2624
|
result: "failure",
|
|
2602
2625
|
error: "Execution did not return a claimId for linked claim requirement.",
|
|
2603
|
-
proofCids
|
|
2604
|
-
facts:
|
|
2626
|
+
proofCids,
|
|
2627
|
+
facts: signedFacts
|
|
2605
2628
|
};
|
|
2606
2629
|
invocationStore.add(storedInvocation);
|
|
2607
2630
|
}
|
|
@@ -2612,24 +2635,25 @@ var executeNode = async ({
|
|
|
2612
2635
|
invocationCid
|
|
2613
2636
|
};
|
|
2614
2637
|
}
|
|
2615
|
-
|
|
2638
|
+
{
|
|
2616
2639
|
const storedInvocation = {
|
|
2617
2640
|
cid: invocationCid,
|
|
2618
2641
|
invocation: invocationData,
|
|
2619
2642
|
invokerDid: actorDid,
|
|
2620
|
-
capability
|
|
2621
|
-
executedAt:
|
|
2643
|
+
capability,
|
|
2644
|
+
executedAt: executedAt(),
|
|
2622
2645
|
flowId,
|
|
2623
2646
|
sessionRunId,
|
|
2624
2647
|
blockId: node.id,
|
|
2625
2648
|
result: "success",
|
|
2626
|
-
proofCids
|
|
2627
|
-
facts:
|
|
2649
|
+
proofCids,
|
|
2650
|
+
facts: signedFacts,
|
|
2628
2651
|
claimId: result.claimId
|
|
2629
2652
|
};
|
|
2630
2653
|
invocationStore.add(storedInvocation);
|
|
2654
|
+
ucanService.receipts?.remember(storedInvocation, { blockId: node.id }, { status: "verified" });
|
|
2631
2655
|
}
|
|
2632
|
-
updateRuntimeAfterSuccess(node, actorDid, runtime, result, invocationCid
|
|
2656
|
+
updateRuntimeAfterSuccess(node, actorDid, runtime, result, invocationCid, now);
|
|
2633
2657
|
return {
|
|
2634
2658
|
success: true,
|
|
2635
2659
|
stage: "complete",
|
|
@@ -2639,20 +2663,20 @@ var executeNode = async ({
|
|
|
2639
2663
|
};
|
|
2640
2664
|
} catch (error) {
|
|
2641
2665
|
const message = error instanceof Error ? error.message : "Execution failed";
|
|
2642
|
-
|
|
2666
|
+
{
|
|
2643
2667
|
const storedInvocation = {
|
|
2644
2668
|
cid: invocationCid,
|
|
2645
2669
|
invocation: invocationData,
|
|
2646
2670
|
invokerDid: actorDid,
|
|
2647
|
-
capability
|
|
2648
|
-
executedAt:
|
|
2671
|
+
capability,
|
|
2672
|
+
executedAt: executedAt(),
|
|
2649
2673
|
flowId,
|
|
2650
2674
|
sessionRunId,
|
|
2651
2675
|
blockId: node.id,
|
|
2652
2676
|
result: "failure",
|
|
2653
2677
|
error: message,
|
|
2654
|
-
proofCids
|
|
2655
|
-
facts:
|
|
2678
|
+
proofCids,
|
|
2679
|
+
facts: signedFacts
|
|
2656
2680
|
};
|
|
2657
2681
|
invocationStore.add(storedInvocation);
|
|
2658
2682
|
}
|
|
@@ -2694,7 +2718,9 @@ function getReconcileEditor(params, yDoc, editor) {
|
|
|
2694
2718
|
return {
|
|
2695
2719
|
_yDoc: yDoc,
|
|
2696
2720
|
_yRuntime: createRunRuntimeReaderWithDoc(yDoc, resolveRunIdForExecution(yDoc, params.runId)),
|
|
2697
|
-
document: params.document
|
|
2721
|
+
document: params.document,
|
|
2722
|
+
// Reconciliation trusts the carried-forward receipt only when it verifies.
|
|
2723
|
+
getUcanService: () => params.ucanService ?? null
|
|
2698
2724
|
};
|
|
2699
2725
|
}
|
|
2700
2726
|
function makeExecutionId(now) {
|
|
@@ -3206,7 +3232,8 @@ function getFlowMetadata(editor) {
|
|
|
3206
3232
|
return {
|
|
3207
3233
|
flowId,
|
|
3208
3234
|
flowUri: flowId ? `ixo:flow:${flowId}` : "",
|
|
3209
|
-
|
|
3235
|
+
// Room creator only; the doc's flowOwnerDid copy is not authority.
|
|
3236
|
+
flowOwnerDid: editor?.getFlowOwnerDid?.() || "",
|
|
3210
3237
|
schemaVersion: metadata?.schema_version || "0.3"
|
|
3211
3238
|
};
|
|
3212
3239
|
}
|
|
@@ -3280,7 +3307,10 @@ function getReconcileEditor2(params, yDoc, editor) {
|
|
|
3280
3307
|
return {
|
|
3281
3308
|
_yDoc: yDoc,
|
|
3282
3309
|
_yRuntime: createRunRuntimeReaderWithDoc(yDoc, resolveRunIdForExecution(yDoc, params.runId)),
|
|
3283
|
-
document: params.document
|
|
3310
|
+
document: params.document,
|
|
3311
|
+
// Reconciliation trusts a run record only when its receipt verifies, and
|
|
3312
|
+
// reads the verifier from the service this execution signed with.
|
|
3313
|
+
getUcanService: () => params.ucanService ?? null
|
|
3284
3314
|
};
|
|
3285
3315
|
}
|
|
3286
3316
|
function persistEvents(params) {
|
|
@@ -3912,13 +3942,26 @@ function runLedgerAttestations(yDoc) {
|
|
|
3912
3942
|
};
|
|
3913
3943
|
return (attemptId) => (index ?? (index = build())).get(attemptId);
|
|
3914
3944
|
}
|
|
3945
|
+
function receiptVerdict(params, invocationCid, missingReason) {
|
|
3946
|
+
if (!invocationCid) return { status: "unverified", reason: missingReason };
|
|
3947
|
+
if (!params.getInvocation) return { status: "unverified", reason: "No invocation store available to verify the completion." };
|
|
3948
|
+
const invocation = params.getInvocation(invocationCid);
|
|
3949
|
+
if (!invocation) return { status: "unverified", reason: `Invocation ${invocationCid} not found in the invocation store.` };
|
|
3950
|
+
if (invocation.result !== "success") return { status: "unverified", reason: "Completion references a failed invocation." };
|
|
3951
|
+
if (invocation.blockId && invocation.blockId !== params.blockId) return { status: "unverified", reason: "Completion references an invocation for a different block." };
|
|
3952
|
+
if (!params.checkReceipt) return { status: "unverified", reason: "This step's receipt can't be checked here: no UCAN verifier is set up." };
|
|
3953
|
+
const receipt = params.checkReceipt(invocation, { blockId: params.blockId });
|
|
3954
|
+
if (receipt.status === "pending") return { status: "pending" };
|
|
3955
|
+
if (receipt.status === "unverified") return { status: "unverified", reason: receipt.reason };
|
|
3956
|
+
return { status: "verified" };
|
|
3957
|
+
}
|
|
3915
3958
|
function verifyCompletion(params) {
|
|
3916
|
-
const { runtime, blockId, actionType,
|
|
3959
|
+
const { runtime, blockId, actionType, getRunAttestation } = params;
|
|
3917
3960
|
if (!runtime || runtime.state !== "completed") {
|
|
3918
3961
|
return { status: "not_completed" };
|
|
3919
3962
|
}
|
|
3920
3963
|
if (runtime.manuallyVerified === true) {
|
|
3921
|
-
return
|
|
3964
|
+
return receiptVerdict(params, runtime.lastInvocationCid, "This step was marked verified without a signed confirmation from someone allowed on it.");
|
|
3922
3965
|
}
|
|
3923
3966
|
if (actionType) {
|
|
3924
3967
|
const action = getAction(actionType);
|
|
@@ -3929,10 +3972,6 @@ function verifyCompletion(params) {
|
|
|
3929
3972
|
}
|
|
3930
3973
|
}
|
|
3931
3974
|
}
|
|
3932
|
-
const policy = schemaVersion ? getVersionPolicy(schemaVersion) : null;
|
|
3933
|
-
if (!policy?.ucanRequired) {
|
|
3934
|
-
return { status: "verified" };
|
|
3935
|
-
}
|
|
3936
3975
|
const attemptId = typeof runtime.attemptId === "string" ? runtime.attemptId : void 0;
|
|
3937
3976
|
const attestation = attemptId ? getRunAttestation?.(attemptId) : void 0;
|
|
3938
3977
|
if (attestation) {
|
|
@@ -3947,27 +3986,11 @@ function verifyCompletion(params) {
|
|
|
3947
3986
|
}
|
|
3948
3987
|
return { status: "verified" };
|
|
3949
3988
|
}
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
};
|
|
3956
|
-
}
|
|
3957
|
-
if (!getInvocation) {
|
|
3958
|
-
return { status: "unverified", reason: "No invocation store available to verify the completion." };
|
|
3959
|
-
}
|
|
3960
|
-
const invocation = getInvocation(invocationCid);
|
|
3961
|
-
if (!invocation) {
|
|
3962
|
-
return { status: "unverified", reason: `Invocation ${invocationCid} not found in the invocation store.` };
|
|
3963
|
-
}
|
|
3964
|
-
if (invocation.result !== "success") {
|
|
3965
|
-
return { status: "unverified", reason: "Completion references a failed invocation." };
|
|
3966
|
-
}
|
|
3967
|
-
if (invocation.blockId && invocation.blockId !== blockId) {
|
|
3968
|
-
return { status: "unverified", reason: "Completion references an invocation for a different block." };
|
|
3969
|
-
}
|
|
3970
|
-
return { status: "verified" };
|
|
3989
|
+
return receiptVerdict(
|
|
3990
|
+
params,
|
|
3991
|
+
runtime.lastInvocationCid,
|
|
3992
|
+
attemptId ? `Completed with no invocation record and no run-ledger attestation for attempt ${attemptId}.` : "Completed without a signed receipt."
|
|
3993
|
+
);
|
|
3971
3994
|
}
|
|
3972
3995
|
function isVerifiedCompletion(params) {
|
|
3973
3996
|
return verifyCompletion(params).status === "verified";
|
|
@@ -4368,10 +4391,6 @@ export {
|
|
|
4368
4391
|
readRunRecords,
|
|
4369
4392
|
findFailedListenersForSourceRun,
|
|
4370
4393
|
replayFailedListenerRun,
|
|
4371
|
-
VERSION_MANIFEST,
|
|
4372
|
-
LATEST_VERSION,
|
|
4373
|
-
getVersionPolicy,
|
|
4374
|
-
isVersionAtLeast,
|
|
4375
4394
|
reconcilePendingInvocations,
|
|
4376
4395
|
dispatchFlowStartTriggers,
|
|
4377
4396
|
getActionForBlock,
|
|
@@ -4417,6 +4436,10 @@ export {
|
|
|
4417
4436
|
updateAgentCommand,
|
|
4418
4437
|
appendAgentLedgerEvent,
|
|
4419
4438
|
readAgentLedgerEvents,
|
|
4439
|
+
VERSION_MANIFEST,
|
|
4440
|
+
LATEST_VERSION,
|
|
4441
|
+
getVersionPolicy,
|
|
4442
|
+
isVersionAtLeast,
|
|
4420
4443
|
RunLifecycleAuthorizationError,
|
|
4421
4444
|
RunNotReadyError,
|
|
4422
4445
|
FlowNotMigratedError,
|
|
@@ -4453,4 +4476,4 @@ export {
|
|
|
4453
4476
|
createInvocationStore,
|
|
4454
4477
|
createMemoryInvocationStore
|
|
4455
4478
|
};
|
|
4456
|
-
//# sourceMappingURL=chunk-
|
|
4479
|
+
//# sourceMappingURL=chunk-JSE2MTU7.js.map
|