@ixo/editor 7.18.0 → 7.19.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-P5CJR43N.js → BidConfig-TQXBUKGD.js} +10 -10
- package/dist/{BidFlowDetail-SV33OI2Y.js → BidFlowDetail-3BKTJXXA.js} +16 -16
- package/dist/{CalendarEventCreateConfig-4IZ2UHS3.js → CalendarEventCreateConfig-U7NFXBME.js} +11 -11
- package/dist/{CalendarEventCreateFlowDetail-CSI6N2PF.js → CalendarEventCreateFlowDetail-ERQXISWY.js} +12 -12
- package/dist/{CalendarEventListConfig-N4XXZLUC.js → CalendarEventListConfig-FMZXJEPI.js} +11 -11
- package/dist/{CalendarEventListFlowDetail-Y2MQYWXT.js → CalendarEventListFlowDetail-DXOUHADW.js} +5 -5
- package/dist/{CalendarEventUpdateConfig-R2IUZZWK.js → CalendarEventUpdateConfig-C43L7PHE.js} +11 -11
- package/dist/{CalendarEventUpdateFlowDetail-MAZSAC6G.js → CalendarEventUpdateFlowDetail-M6Z3TM3W.js} +12 -12
- package/dist/{ClaimConfig-QJETYD5G.js → ClaimConfig-XLFL3IWC.js} +10 -10
- package/dist/{ClaimFlowDetail-UEGNEOLD.js → ClaimFlowDetail-CLEBNXGP.js} +16 -16
- package/dist/{CollectionLifecycleConfig-CGZKXQP7.js → CollectionLifecycleConfig-556UBJ2I.js} +4 -4
- package/dist/{CollectionLifecycleFlowDetail-HKORLTZM.js → CollectionLifecycleFlowDetail-JYNRCJ5S.js} +15 -15
- package/dist/{CollectionUsersConfig-A7ASGD2L.js → CollectionUsersConfig-6P22QEYH.js} +10 -10
- package/dist/{CollectionUsersFlowDetail-JUULKPNC.js → CollectionUsersFlowDetail-75KV4MLK.js} +19 -19
- package/dist/{CredentialStoreConfig-DAA3ZT24.js → CredentialStoreConfig-G476HYFO.js} +8 -8
- package/dist/{CredentialStoreFlowDetail-W3TMZREQ.js → CredentialStoreFlowDetail-PHFJWDQ6.js} +7 -7
- package/dist/{DesignPodFlowDetail-HEFNV3J3.js → DesignPodFlowDetail-QE7XKTQ2.js} +5 -5
- package/dist/{DomainCardPreviewFlowDetail-OG2SLUYU.js → DomainCardPreviewFlowDetail-YN6CBAIF.js} +7 -7
- package/dist/{DomainIndexerLookupFlowDetail-DPPNZNOU.js → DomainIndexerLookupFlowDetail-QGCPCVQU.js} +5 -5
- package/dist/{DomainSignFlowDetail-CHJPBXCN.js → DomainSignFlowDetail-DHJPC6PO.js} +8 -8
- package/dist/{DomainSingleSelectionConfig-6BU762LL.js → DomainSingleSelectionConfig-EJTQIOGS.js} +4 -4
- package/dist/{DomainSingleSelectionFlowDetail-JFFYQC4P.js → DomainSingleSelectionFlowDetail-3FNDUQNQ.js} +5 -5
- package/dist/{EmailSendConfig-V2H65UW5.js → EmailSendConfig-ZCXQK3SV.js} +10 -10
- package/dist/{EntityCreateOracleFlowDetail-ZL3FDZHV.js → EntityCreateOracleFlowDetail-C6MV65OC.js} +7 -7
- package/dist/{EntitySingleSelectionFlowDetail-TL7PATBJ.js → EntitySingleSelectionFlowDetail-55TDSVSD.js} +5 -5
- package/dist/{EntityTransferFlowDetail-5JMBBK53.js → EntityTransferFlowDetail-FT4IU4H6.js} +7 -7
- package/dist/{EvalEngineConfig-UYKCKNQQ.js → EvalEngineConfig-NATHCR6D.js} +13 -13
- package/dist/{EvalEngineFlowDetail-VCLYU5FV.js → EvalEngineFlowDetail-K4UUV3SQ.js} +9 -9
- package/dist/{EvaluateBidConfig-T6FZD4KE.js → EvaluateBidConfig-UYCRRF2T.js} +10 -10
- package/dist/{EvaluateBidFlowDetail-EKL5NXYX.js → EvaluateBidFlowDetail-FQP74NYF.js} +17 -17
- package/dist/{EvaluateClaimConfig-DXPZIL4Q.js → EvaluateClaimConfig-QVBOPMX2.js} +10 -10
- package/dist/{EvaluateClaimFlowDetail-EVEA3UXR.js → EvaluateClaimFlowDetail-7UDCX4G5.js} +16 -16
- package/dist/{FormSubmitFlowDetail-34DAUMGE.js → FormSubmitFlowDetail-7EGYHASY.js} +7 -7
- package/dist/{GovernanceAuthzExecFlowDetail-4ICVRCYV.js → GovernanceAuthzExecFlowDetail-H4E53YQ4.js} +8 -8
- package/dist/{GovernanceAuthzGrantFlowDetail-NYU6RBMD.js → GovernanceAuthzGrantFlowDetail-34ZEJMAG.js} +9 -9
- package/dist/{GovernanceAuthzRevokeFlowDetail-2NYVNJRY.js → GovernanceAuthzRevokeFlowDetail-OIPUTKBU.js} +9 -9
- package/dist/{GovernanceChainVoteFlowDetail-LM3NSV32.js → GovernanceChainVoteFlowDetail-GDYO5YNZ.js} +8 -8
- package/dist/{GovernanceConfigFlowDetail-7GPHNALT.js → GovernanceConfigFlowDetail-EAX44S7P.js} +5 -5
- package/dist/{GovernanceContractExecuteFlowDetail-U3SOGE5Q.js → GovernanceContractExecuteFlowDetail-JAEBWT5F.js} +9 -9
- package/dist/{GovernanceContractInstantiateFlowDetail-5S7MA2TT.js → GovernanceContractInstantiateFlowDetail-TKK2CE3N.js} +9 -9
- package/dist/{GovernanceContractManageCw20FlowDetail-WTAYJUC6.js → GovernanceContractManageCw20FlowDetail-PZ4YHU6Z.js} +8 -8
- package/dist/{GovernanceContractMigrateFlowDetail-FQLAJC7X.js → GovernanceContractMigrateFlowDetail-EA5BNLXK.js} +9 -9
- package/dist/{GovernanceContractUpdateAdminFlowDetail-NGZTF35T.js → GovernanceContractUpdateAdminFlowDetail-QOB2BCB2.js} +8 -8
- package/dist/{GovernanceCustomMessageFlowDetail-5M7NRHYN.js → GovernanceCustomMessageFlowDetail-SQJKIYUU.js} +9 -9
- package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-DJJWFWS6.js → GovernanceDaoAcceptToMarketplaceFlowDetail-NAGN66IN.js} +9 -9
- package/dist/{GovernanceDaoAdminExecFlowDetail-N7NOFQ4Z.js → GovernanceDaoAdminExecFlowDetail-RST73GEG.js} +10 -10
- package/dist/{GovernanceDaoCreateEntityFlowDetail-PSWK7BXP.js → GovernanceDaoCreateEntityFlowDetail-3ZU4M6XB.js} +9 -9
- package/dist/{GovernanceDaoJoinFlowDetail-Q3WSUZX3.js → GovernanceDaoJoinFlowDetail-P54XEJBK.js} +9 -9
- package/dist/{GovernanceDaoManageStorageFlowDetail-QWFCDZMJ.js → GovernanceDaoManageStorageFlowDetail-ATW44N2O.js} +8 -8
- package/dist/{GovernanceDaoManageSubDaosFlowDetail-2JITWAYZ.js → GovernanceDaoManageSubDaosFlowDetail-PSZ4L6JS.js} +9 -9
- package/dist/{GovernanceDaoUpdateInfoFlowDetail-R5ZK5SNL.js → GovernanceDaoUpdateInfoFlowDetail-JM367SP3.js} +8 -8
- package/dist/{GovernanceMemberProposalConfig-DADW2B2Y.js → GovernanceMemberProposalConfig-T6V4XMD5.js} +5 -5
- package/dist/{GovernanceMemberProposalFlowDetail-ZHGLGNVK.js → GovernanceMemberProposalFlowDetail-QV4GZGCL.js} +9 -9
- package/dist/{GovernanceNftBurnFlowDetail-XNHCP7SW.js → GovernanceNftBurnFlowDetail-LWZXYELU.js} +8 -8
- package/dist/{GovernanceNftManageCollectionsFlowDetail-RMVCVWXS.js → GovernanceNftManageCollectionsFlowDetail-SBBJAA3O.js} +8 -8
- package/dist/{GovernanceNftTransferFlowDetail-ANUJ3UUE.js → GovernanceNftTransferFlowDetail-M3FZ44DR.js} +9 -9
- package/dist/{GovernanceSettingsProposalConfig-WT2XRFJV.js → GovernanceSettingsProposalConfig-LWZSLPOP.js} +5 -5
- package/dist/{GovernanceSettingsProposalFlowDetail-IWCYMAIH.js → GovernanceSettingsProposalFlowDetail-XPNZHMRM.js} +8 -8
- package/dist/{GovernanceStakingStakeFlowDetail-LM37IMVO.js → GovernanceStakingStakeFlowDetail-YTSU64YA.js} +8 -8
- package/dist/{GovernanceStakingStakeToGroupFlowDetail-VNARHVFO.js → GovernanceStakingStakeToGroupFlowDetail-BINBC737.js} +8 -8
- package/dist/{GovernanceSubmissionConfigProposalFlowDetail-ZT4LW4CU.js → GovernanceSubmissionConfigProposalFlowDetail-2M2WYVRI.js} +8 -8
- package/dist/{GovernanceTransactionMintFlowDetail-MP36YVVV.js → GovernanceTransactionMintFlowDetail-JMRKVSSC.js} +9 -9
- package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-ABSKBNLZ.js → GovernanceTransactionPerformTokenSwapFlowDetail-ISJWELXS.js} +8 -8
- package/dist/{GovernanceTransactionSendFundsConfig-RLDBUKIT.js → GovernanceTransactionSendFundsConfig-2ZZGBB66.js} +5 -5
- package/dist/{GovernanceTransactionSendFundsFlowDetail-OIYTEWTP.js → GovernanceTransactionSendFundsFlowDetail-3JWTIOLT.js} +9 -9
- package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-I6ORHQUY.js → GovernanceTransactionSendGroupTokenFlowDetail-6TBIUJLV.js} +9 -9
- package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-HIJLXLTD.js → GovernanceTransactionWithdrawTokenSwapFlowDetail-SQH73HL2.js} +8 -8
- package/dist/{GovernanceValidatorActionsFlowDetail-ANDTFZ63.js → GovernanceValidatorActionsFlowDetail-VFPEROKQ.js} +8 -8
- package/dist/{HarvestConfig-FBA2LMWP.js → HarvestConfig-TUREICJM.js} +9 -9
- package/dist/{HarvestFlowDetail-YSW6OEL6.js → HarvestFlowDetail-6VDHMIIR.js} +7 -7
- package/dist/{HttpRequestConfig-4OJ4KQGC.js → HttpRequestConfig-NZP4M72G.js} +8 -8
- package/dist/{HttpRequestFlowDetail-6JPPTSIZ.js → HttpRequestFlowDetail-VKPVV3EW.js} +5 -5
- package/dist/{IdentityCreateFlowDetail-Q2Z7GSMV.js → IdentityCreateFlowDetail-PRX37M4E.js} +13 -13
- package/dist/{IidCreateFlowDetail-LKRE5KDH.js → IidCreateFlowDetail-SHBEMN4T.js} +13 -13
- package/dist/{KycVerifyConfig-ZZSQPKXU.js → KycVerifyConfig-E5LO2HWP.js} +8 -8
- package/dist/{KycVerifyFlowDetail-JEQM5A7R.js → KycVerifyFlowDetail-ECXG4G2V.js} +13 -13
- package/dist/{ListDomainFlowsFlowDetail-DK4YPMEJ.js → ListDomainFlowsFlowDetail-R4O5E22G.js} +5 -5
- package/dist/{LoadBatchesFlowDetail-A4HDN3OR.js → LoadBatchesFlowDetail-D5A3BXLP.js} +7 -7
- package/dist/{MatrixDmConfig-5VO4RJHR.js → MatrixDmConfig-TWT476MT.js} +4 -4
- package/dist/{MatrixRegisterFlowDetail-JMPQ6EHL.js → MatrixRegisterFlowDetail-SNEQV5XD.js} +7 -7
- package/dist/{MemberMultiSelectFlowDetail-3ZEIOH4X.js → MemberMultiSelectFlowDetail-AFSBDTLU.js} +5 -5
- package/dist/{OracleConfig-6I47PA2F.js → OracleConfig-YA235M4B.js} +8 -8
- package/dist/{OracleConfigureOracleFlowDetail-BFYUTBHC.js → OracleConfigureOracleFlowDetail-FG7W6KQV.js} +13 -13
- package/dist/{OracleContractFlowDetail-MYEJZNCP.js → OracleContractFlowDetail-6WOJ2XM2.js} +7 -7
- package/dist/{OracleDeployFlowDetail-YF7XQMZZ.js → OracleDeployFlowDetail-MV46JHSL.js} +7 -7
- package/dist/{OracleDeploySetupFlowDetail-QLX7O63W.js → OracleDeploySetupFlowDetail-O4OY5VBH.js} +7 -7
- package/dist/{OracleDeployStartFlowDetail-NRPW76XH.js → OracleDeployStartFlowDetail-TLKREH6F.js} +7 -7
- package/dist/{OracleFlowDetail-F7AX3GTY.js → OracleFlowDetail-VEH2AEPI.js} +7 -7
- package/dist/{OraclePromptFlowDetail-NVHRWHTS.js → OraclePromptFlowDetail-3VVAWBXP.js} +7 -7
- package/dist/{OracleStoreConfigFlowDetail-XUBCZZBO.js → OracleStoreConfigFlowDetail-F6BIC2MI.js} +7 -7
- package/dist/{OracleStoreSecretsAndConfigFlowDetail-M7OEWUPG.js → OracleStoreSecretsAndConfigFlowDetail-OJL7FBEX.js} +13 -13
- package/dist/{OracleStoreSecretsFlowDetail-LHW2JSKX.js → OracleStoreSecretsFlowDetail-Q7BB6VPM.js} +13 -13
- package/dist/{ProposalCreateConfig-DAIAJWU4.js → ProposalCreateConfig-PD2HANKW.js} +10 -10
- package/dist/{ProposalCreateFlowDetail-I5RX74EW.js → ProposalCreateFlowDetail-H5TB6CRI.js} +14 -14
- package/dist/ProposalCreateFlowDetail-H5TB6CRI.js.map +1 -0
- package/dist/{ProposalVoteConfig-2FOG2FFP.js → ProposalVoteConfig-CGDNREKQ.js} +10 -10
- package/dist/{ProposalVoteFlowDetail-BRHGJXD2.js → ProposalVoteFlowDetail-BNIZNLJ3.js} +8 -8
- package/dist/{ProtocolSelectFlowDetail-3RKNFTWF.js → ProtocolSelectFlowDetail-X34GCQXS.js} +4 -4
- package/dist/{RetireConfig-IFSJTDMZ.js → RetireConfig-XCYWEMCM.js} +9 -9
- package/dist/{RetireFlowDetail-OOGYAODJ.js → RetireFlowDetail-J2VJGNU3.js} +7 -7
- package/dist/{SandboxProvisionFlowDetail-LFHRTPLR.js → SandboxProvisionFlowDetail-DTCXKMFO.js} +7 -7
- package/dist/{WalletFundConfig-WK7QIPL6.js → WalletFundConfig-MU6JRK2X.js} +5 -5
- package/dist/{WalletFundFlowDetail-N2XTMXIG.js → WalletFundFlowDetail-7YJDOYVS.js} +8 -8
- package/dist/{WalletGenerateAndFundFlowDetail-5LKRKR4R.js → WalletGenerateAndFundFlowDetail-CME4JE3R.js} +5 -5
- package/dist/{WalletGenerateFlowDetail-RXZJMLLP.js → WalletGenerateFlowDetail-3KTVG2V4.js} +5 -5
- package/dist/{XeroContactCreateConfig-34JJXNUW.js → XeroContactCreateConfig-4VKYUIJQ.js} +11 -11
- package/dist/{XeroContactCreateFlowDetail-4BDRDAXW.js → XeroContactCreateFlowDetail-JRJ5I4CD.js} +12 -12
- package/dist/{XeroInvoiceCreateConfig-VI4HQP2Z.js → XeroInvoiceCreateConfig-ULKQXCNS.js} +11 -11
- package/dist/{XeroInvoiceCreateFlowDetail-AKS7WN4K.js → XeroInvoiceCreateFlowDetail-DTOFRV4L.js} +14 -14
- package/dist/{XeroInvoiceListConfig-6GELQTQK.js → XeroInvoiceListConfig-PPXFYVVK.js} +11 -11
- package/dist/{XeroInvoiceListFlowDetail-27GR2BSJ.js → XeroInvoiceListFlowDetail-RPE7NCMF.js} +5 -5
- package/dist/{XeroPaymentCreateConfig-7PNHPUGK.js → XeroPaymentCreateConfig-EIYSLLZK.js} +8 -8
- package/dist/{XeroPaymentCreateFlowDetail-PDWKG2SR.js → XeroPaymentCreateFlowDetail-MMLHUXLS.js} +13 -13
- package/dist/action-manifest.json +3 -3
- package/dist/{chunk-D737IBAL.js → chunk-2GIBQPNN.js} +2 -2
- package/dist/{chunk-UEIFCJTT.js → chunk-3PUDS5PV.js} +2 -2
- package/dist/{chunk-S2TUXPUL.js → chunk-45KKBVIM.js} +2 -2
- package/dist/{chunk-LOK5IXGD.js → chunk-6NH4PDTY.js} +18 -1
- package/dist/chunk-6NH4PDTY.js.map +1 -0
- package/dist/{chunk-SAY4IOQ4.js → chunk-6S4TEGYI.js} +2 -2
- package/dist/{chunk-YC6BYZJZ.js → chunk-7C2WFOG2.js} +146 -36
- package/dist/chunk-7C2WFOG2.js.map +1 -0
- package/dist/{chunk-OHXDPRPB.js → chunk-7UJMOJBH.js} +2 -2
- package/dist/{chunk-FSGPZ6UT.js → chunk-A34Z7KJC.js} +2 -2
- package/dist/{chunk-LVPX7CAS.js → chunk-AW6YLUSS.js} +2 -2
- package/dist/{chunk-NTQKVYLG.js → chunk-B7X6QSZ7.js} +2 -2
- package/dist/{chunk-3WIS2UI4.js → chunk-BH5JRBU4.js} +2 -2
- package/dist/{chunk-UCO4YJ5L.js → chunk-DRPCLFT2.js} +2 -2
- package/dist/{chunk-B464VTTD.js → chunk-IJUGKKMY.js} +2 -2
- package/dist/{chunk-RG7Z2VMU.js → chunk-IY7QJKBL.js} +2 -2
- package/dist/{chunk-25POTAU5.js → chunk-JD25JVOX.js} +2 -2
- package/dist/{chunk-AJF7MIIN.js → chunk-L6ZHO7T4.js} +2 -2
- package/dist/{chunk-X7PMVRGS.js → chunk-LUUZ3SG6.js} +3 -3
- package/dist/chunk-LUUZ3SG6.js.map +1 -0
- package/dist/{chunk-CC7MDRBY.js → chunk-NDD5CJZB.js} +2 -2
- package/dist/{chunk-JYNYVFSY.js → chunk-Q2FDVC3Z.js} +3 -3
- package/dist/{chunk-3C6YD77I.js → chunk-QUGMNWDO.js} +2 -2
- package/dist/{chunk-A35SKJEL.js → chunk-RIHEX7HK.js} +2 -2
- package/dist/{chunk-RNKNOEYB.js → chunk-RZXGA5XL.js} +9 -7
- package/dist/{chunk-RNKNOEYB.js.map → chunk-RZXGA5XL.js.map} +1 -1
- package/dist/{chunk-UIBIZKN4.js → chunk-SUIL2KJT.js} +5 -5
- package/dist/{chunk-7WBLDDDN.js → chunk-SXCEELAR.js} +3 -3
- package/dist/{chunk-635DLQIO.js → chunk-T3GM5CRM.js} +3 -3
- package/dist/{chunk-X7L5XHYY.js → chunk-VSVM2MPJ.js} +2 -2
- package/dist/{chunk-SWDPZFJ7.js → chunk-WBTL6EX4.js} +4 -4
- package/dist/{chunk-ARLE35FS.js → chunk-WY4JOYIF.js} +2 -2
- package/dist/{chunk-75L5M6BB.js → chunk-X6U4GFNS.js} +3 -3
- package/dist/chunk-X6U4GFNS.js.map +1 -0
- package/dist/{chunk-JRWJLWOY.js → chunk-XGICKRWF.js} +601 -55
- package/dist/chunk-XGICKRWF.js.map +1 -0
- package/dist/{chunk-VOW7DHXR.js → chunk-XKDMDEUI.js} +564 -506
- package/dist/chunk-XKDMDEUI.js.map +1 -0
- package/dist/{chunk-BJDQVMYW.js → chunk-YQ2KFBAT.js} +2 -2
- package/dist/{chunk-FWXXWWT7.js → chunk-YQWE5CZP.js} +169 -6
- package/dist/chunk-YQWE5CZP.js.map +1 -0
- package/dist/{chunk-DGALOR3X.js → chunk-YRWVRQXG.js} +2 -2
- package/dist/{chunk-EZ424ZXM.js → chunk-Z46UWMKG.js} +2 -2
- package/dist/{chunk-B3R2NVUD.js → chunk-ZAZDJGPW.js} +2 -2
- package/dist/{chunk-LJCGR4FZ.js → chunk-ZCKNE7BN.js} +2 -2
- package/dist/{connections-BJYmPkaj.d.ts → connections-Bb8EVlWA.d.ts} +19 -10
- package/dist/core/index.cjs +938 -103
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +346 -6
- package/dist/core/index.js +44 -10
- package/dist/core/index.js.map +1 -1
- package/dist/{graphql-client-CdN8lj4D.d.ts → graphql-client-Dukm5Usv.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +25 -25
- package/dist/mantine/index.d.ts +3 -3
- package/dist/mantine/index.js +24 -24
- package/dist/{types-DsF-l-4t.d.ts → types-D0TryOYl.d.ts} +141 -2
- package/package.json +1 -1
- package/dist/ProposalCreateFlowDetail-I5RX74EW.js.map +0 -1
- package/dist/chunk-75L5M6BB.js.map +0 -1
- package/dist/chunk-FWXXWWT7.js.map +0 -1
- package/dist/chunk-JRWJLWOY.js.map +0 -1
- package/dist/chunk-LOK5IXGD.js.map +0 -1
- package/dist/chunk-VOW7DHXR.js.map +0 -1
- package/dist/chunk-X7PMVRGS.js.map +0 -1
- package/dist/chunk-YC6BYZJZ.js.map +0 -1
- /package/dist/{BidConfig-P5CJR43N.js.map → BidConfig-TQXBUKGD.js.map} +0 -0
- /package/dist/{BidFlowDetail-SV33OI2Y.js.map → BidFlowDetail-3BKTJXXA.js.map} +0 -0
- /package/dist/{CalendarEventCreateConfig-4IZ2UHS3.js.map → CalendarEventCreateConfig-U7NFXBME.js.map} +0 -0
- /package/dist/{CalendarEventCreateFlowDetail-CSI6N2PF.js.map → CalendarEventCreateFlowDetail-ERQXISWY.js.map} +0 -0
- /package/dist/{CalendarEventListConfig-N4XXZLUC.js.map → CalendarEventListConfig-FMZXJEPI.js.map} +0 -0
- /package/dist/{CalendarEventListFlowDetail-Y2MQYWXT.js.map → CalendarEventListFlowDetail-DXOUHADW.js.map} +0 -0
- /package/dist/{CalendarEventUpdateConfig-R2IUZZWK.js.map → CalendarEventUpdateConfig-C43L7PHE.js.map} +0 -0
- /package/dist/{CalendarEventUpdateFlowDetail-MAZSAC6G.js.map → CalendarEventUpdateFlowDetail-M6Z3TM3W.js.map} +0 -0
- /package/dist/{ClaimConfig-QJETYD5G.js.map → ClaimConfig-XLFL3IWC.js.map} +0 -0
- /package/dist/{ClaimFlowDetail-UEGNEOLD.js.map → ClaimFlowDetail-CLEBNXGP.js.map} +0 -0
- /package/dist/{CollectionLifecycleConfig-CGZKXQP7.js.map → CollectionLifecycleConfig-556UBJ2I.js.map} +0 -0
- /package/dist/{CollectionLifecycleFlowDetail-HKORLTZM.js.map → CollectionLifecycleFlowDetail-JYNRCJ5S.js.map} +0 -0
- /package/dist/{CollectionUsersConfig-A7ASGD2L.js.map → CollectionUsersConfig-6P22QEYH.js.map} +0 -0
- /package/dist/{CollectionUsersFlowDetail-JUULKPNC.js.map → CollectionUsersFlowDetail-75KV4MLK.js.map} +0 -0
- /package/dist/{CredentialStoreConfig-DAA3ZT24.js.map → CredentialStoreConfig-G476HYFO.js.map} +0 -0
- /package/dist/{CredentialStoreFlowDetail-W3TMZREQ.js.map → CredentialStoreFlowDetail-PHFJWDQ6.js.map} +0 -0
- /package/dist/{DesignPodFlowDetail-HEFNV3J3.js.map → DesignPodFlowDetail-QE7XKTQ2.js.map} +0 -0
- /package/dist/{DomainCardPreviewFlowDetail-OG2SLUYU.js.map → DomainCardPreviewFlowDetail-YN6CBAIF.js.map} +0 -0
- /package/dist/{DomainIndexerLookupFlowDetail-DPPNZNOU.js.map → DomainIndexerLookupFlowDetail-QGCPCVQU.js.map} +0 -0
- /package/dist/{DomainSignFlowDetail-CHJPBXCN.js.map → DomainSignFlowDetail-DHJPC6PO.js.map} +0 -0
- /package/dist/{DomainSingleSelectionConfig-6BU762LL.js.map → DomainSingleSelectionConfig-EJTQIOGS.js.map} +0 -0
- /package/dist/{DomainSingleSelectionFlowDetail-JFFYQC4P.js.map → DomainSingleSelectionFlowDetail-3FNDUQNQ.js.map} +0 -0
- /package/dist/{EmailSendConfig-V2H65UW5.js.map → EmailSendConfig-ZCXQK3SV.js.map} +0 -0
- /package/dist/{EntityCreateOracleFlowDetail-ZL3FDZHV.js.map → EntityCreateOracleFlowDetail-C6MV65OC.js.map} +0 -0
- /package/dist/{EntitySingleSelectionFlowDetail-TL7PATBJ.js.map → EntitySingleSelectionFlowDetail-55TDSVSD.js.map} +0 -0
- /package/dist/{EntityTransferFlowDetail-5JMBBK53.js.map → EntityTransferFlowDetail-FT4IU4H6.js.map} +0 -0
- /package/dist/{EvalEngineConfig-UYKCKNQQ.js.map → EvalEngineConfig-NATHCR6D.js.map} +0 -0
- /package/dist/{EvalEngineFlowDetail-VCLYU5FV.js.map → EvalEngineFlowDetail-K4UUV3SQ.js.map} +0 -0
- /package/dist/{EvaluateBidConfig-T6FZD4KE.js.map → EvaluateBidConfig-UYCRRF2T.js.map} +0 -0
- /package/dist/{EvaluateBidFlowDetail-EKL5NXYX.js.map → EvaluateBidFlowDetail-FQP74NYF.js.map} +0 -0
- /package/dist/{EvaluateClaimConfig-DXPZIL4Q.js.map → EvaluateClaimConfig-QVBOPMX2.js.map} +0 -0
- /package/dist/{EvaluateClaimFlowDetail-EVEA3UXR.js.map → EvaluateClaimFlowDetail-7UDCX4G5.js.map} +0 -0
- /package/dist/{FormSubmitFlowDetail-34DAUMGE.js.map → FormSubmitFlowDetail-7EGYHASY.js.map} +0 -0
- /package/dist/{GovernanceAuthzExecFlowDetail-4ICVRCYV.js.map → GovernanceAuthzExecFlowDetail-H4E53YQ4.js.map} +0 -0
- /package/dist/{GovernanceAuthzGrantFlowDetail-NYU6RBMD.js.map → GovernanceAuthzGrantFlowDetail-34ZEJMAG.js.map} +0 -0
- /package/dist/{GovernanceAuthzRevokeFlowDetail-2NYVNJRY.js.map → GovernanceAuthzRevokeFlowDetail-OIPUTKBU.js.map} +0 -0
- /package/dist/{GovernanceChainVoteFlowDetail-LM3NSV32.js.map → GovernanceChainVoteFlowDetail-GDYO5YNZ.js.map} +0 -0
- /package/dist/{GovernanceConfigFlowDetail-7GPHNALT.js.map → GovernanceConfigFlowDetail-EAX44S7P.js.map} +0 -0
- /package/dist/{GovernanceContractExecuteFlowDetail-U3SOGE5Q.js.map → GovernanceContractExecuteFlowDetail-JAEBWT5F.js.map} +0 -0
- /package/dist/{GovernanceContractInstantiateFlowDetail-5S7MA2TT.js.map → GovernanceContractInstantiateFlowDetail-TKK2CE3N.js.map} +0 -0
- /package/dist/{GovernanceContractManageCw20FlowDetail-WTAYJUC6.js.map → GovernanceContractManageCw20FlowDetail-PZ4YHU6Z.js.map} +0 -0
- /package/dist/{GovernanceContractMigrateFlowDetail-FQLAJC7X.js.map → GovernanceContractMigrateFlowDetail-EA5BNLXK.js.map} +0 -0
- /package/dist/{GovernanceContractUpdateAdminFlowDetail-NGZTF35T.js.map → GovernanceContractUpdateAdminFlowDetail-QOB2BCB2.js.map} +0 -0
- /package/dist/{GovernanceCustomMessageFlowDetail-5M7NRHYN.js.map → GovernanceCustomMessageFlowDetail-SQJKIYUU.js.map} +0 -0
- /package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-DJJWFWS6.js.map → GovernanceDaoAcceptToMarketplaceFlowDetail-NAGN66IN.js.map} +0 -0
- /package/dist/{GovernanceDaoAdminExecFlowDetail-N7NOFQ4Z.js.map → GovernanceDaoAdminExecFlowDetail-RST73GEG.js.map} +0 -0
- /package/dist/{GovernanceDaoCreateEntityFlowDetail-PSWK7BXP.js.map → GovernanceDaoCreateEntityFlowDetail-3ZU4M6XB.js.map} +0 -0
- /package/dist/{GovernanceDaoJoinFlowDetail-Q3WSUZX3.js.map → GovernanceDaoJoinFlowDetail-P54XEJBK.js.map} +0 -0
- /package/dist/{GovernanceDaoManageStorageFlowDetail-QWFCDZMJ.js.map → GovernanceDaoManageStorageFlowDetail-ATW44N2O.js.map} +0 -0
- /package/dist/{GovernanceDaoManageSubDaosFlowDetail-2JITWAYZ.js.map → GovernanceDaoManageSubDaosFlowDetail-PSZ4L6JS.js.map} +0 -0
- /package/dist/{GovernanceDaoUpdateInfoFlowDetail-R5ZK5SNL.js.map → GovernanceDaoUpdateInfoFlowDetail-JM367SP3.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalConfig-DADW2B2Y.js.map → GovernanceMemberProposalConfig-T6V4XMD5.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalFlowDetail-ZHGLGNVK.js.map → GovernanceMemberProposalFlowDetail-QV4GZGCL.js.map} +0 -0
- /package/dist/{GovernanceNftBurnFlowDetail-XNHCP7SW.js.map → GovernanceNftBurnFlowDetail-LWZXYELU.js.map} +0 -0
- /package/dist/{GovernanceNftManageCollectionsFlowDetail-RMVCVWXS.js.map → GovernanceNftManageCollectionsFlowDetail-SBBJAA3O.js.map} +0 -0
- /package/dist/{GovernanceNftTransferFlowDetail-ANUJ3UUE.js.map → GovernanceNftTransferFlowDetail-M3FZ44DR.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalConfig-WT2XRFJV.js.map → GovernanceSettingsProposalConfig-LWZSLPOP.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalFlowDetail-IWCYMAIH.js.map → GovernanceSettingsProposalFlowDetail-XPNZHMRM.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeFlowDetail-LM37IMVO.js.map → GovernanceStakingStakeFlowDetail-YTSU64YA.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeToGroupFlowDetail-VNARHVFO.js.map → GovernanceStakingStakeToGroupFlowDetail-BINBC737.js.map} +0 -0
- /package/dist/{GovernanceSubmissionConfigProposalFlowDetail-ZT4LW4CU.js.map → GovernanceSubmissionConfigProposalFlowDetail-2M2WYVRI.js.map} +0 -0
- /package/dist/{GovernanceTransactionMintFlowDetail-MP36YVVV.js.map → GovernanceTransactionMintFlowDetail-JMRKVSSC.js.map} +0 -0
- /package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-ABSKBNLZ.js.map → GovernanceTransactionPerformTokenSwapFlowDetail-ISJWELXS.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsConfig-RLDBUKIT.js.map → GovernanceTransactionSendFundsConfig-2ZZGBB66.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsFlowDetail-OIYTEWTP.js.map → GovernanceTransactionSendFundsFlowDetail-3JWTIOLT.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-I6ORHQUY.js.map → GovernanceTransactionSendGroupTokenFlowDetail-6TBIUJLV.js.map} +0 -0
- /package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-HIJLXLTD.js.map → GovernanceTransactionWithdrawTokenSwapFlowDetail-SQH73HL2.js.map} +0 -0
- /package/dist/{GovernanceValidatorActionsFlowDetail-ANDTFZ63.js.map → GovernanceValidatorActionsFlowDetail-VFPEROKQ.js.map} +0 -0
- /package/dist/{HarvestConfig-FBA2LMWP.js.map → HarvestConfig-TUREICJM.js.map} +0 -0
- /package/dist/{HarvestFlowDetail-YSW6OEL6.js.map → HarvestFlowDetail-6VDHMIIR.js.map} +0 -0
- /package/dist/{HttpRequestConfig-4OJ4KQGC.js.map → HttpRequestConfig-NZP4M72G.js.map} +0 -0
- /package/dist/{HttpRequestFlowDetail-6JPPTSIZ.js.map → HttpRequestFlowDetail-VKPVV3EW.js.map} +0 -0
- /package/dist/{IdentityCreateFlowDetail-Q2Z7GSMV.js.map → IdentityCreateFlowDetail-PRX37M4E.js.map} +0 -0
- /package/dist/{IidCreateFlowDetail-LKRE5KDH.js.map → IidCreateFlowDetail-SHBEMN4T.js.map} +0 -0
- /package/dist/{KycVerifyConfig-ZZSQPKXU.js.map → KycVerifyConfig-E5LO2HWP.js.map} +0 -0
- /package/dist/{KycVerifyFlowDetail-JEQM5A7R.js.map → KycVerifyFlowDetail-ECXG4G2V.js.map} +0 -0
- /package/dist/{ListDomainFlowsFlowDetail-DK4YPMEJ.js.map → ListDomainFlowsFlowDetail-R4O5E22G.js.map} +0 -0
- /package/dist/{LoadBatchesFlowDetail-A4HDN3OR.js.map → LoadBatchesFlowDetail-D5A3BXLP.js.map} +0 -0
- /package/dist/{MatrixDmConfig-5VO4RJHR.js.map → MatrixDmConfig-TWT476MT.js.map} +0 -0
- /package/dist/{MatrixRegisterFlowDetail-JMPQ6EHL.js.map → MatrixRegisterFlowDetail-SNEQV5XD.js.map} +0 -0
- /package/dist/{MemberMultiSelectFlowDetail-3ZEIOH4X.js.map → MemberMultiSelectFlowDetail-AFSBDTLU.js.map} +0 -0
- /package/dist/{OracleConfig-6I47PA2F.js.map → OracleConfig-YA235M4B.js.map} +0 -0
- /package/dist/{OracleConfigureOracleFlowDetail-BFYUTBHC.js.map → OracleConfigureOracleFlowDetail-FG7W6KQV.js.map} +0 -0
- /package/dist/{OracleContractFlowDetail-MYEJZNCP.js.map → OracleContractFlowDetail-6WOJ2XM2.js.map} +0 -0
- /package/dist/{OracleDeployFlowDetail-YF7XQMZZ.js.map → OracleDeployFlowDetail-MV46JHSL.js.map} +0 -0
- /package/dist/{OracleDeploySetupFlowDetail-QLX7O63W.js.map → OracleDeploySetupFlowDetail-O4OY5VBH.js.map} +0 -0
- /package/dist/{OracleDeployStartFlowDetail-NRPW76XH.js.map → OracleDeployStartFlowDetail-TLKREH6F.js.map} +0 -0
- /package/dist/{OracleFlowDetail-F7AX3GTY.js.map → OracleFlowDetail-VEH2AEPI.js.map} +0 -0
- /package/dist/{OraclePromptFlowDetail-NVHRWHTS.js.map → OraclePromptFlowDetail-3VVAWBXP.js.map} +0 -0
- /package/dist/{OracleStoreConfigFlowDetail-XUBCZZBO.js.map → OracleStoreConfigFlowDetail-F6BIC2MI.js.map} +0 -0
- /package/dist/{OracleStoreSecretsAndConfigFlowDetail-M7OEWUPG.js.map → OracleStoreSecretsAndConfigFlowDetail-OJL7FBEX.js.map} +0 -0
- /package/dist/{OracleStoreSecretsFlowDetail-LHW2JSKX.js.map → OracleStoreSecretsFlowDetail-Q7BB6VPM.js.map} +0 -0
- /package/dist/{ProposalCreateConfig-DAIAJWU4.js.map → ProposalCreateConfig-PD2HANKW.js.map} +0 -0
- /package/dist/{ProposalVoteConfig-2FOG2FFP.js.map → ProposalVoteConfig-CGDNREKQ.js.map} +0 -0
- /package/dist/{ProposalVoteFlowDetail-BRHGJXD2.js.map → ProposalVoteFlowDetail-BNIZNLJ3.js.map} +0 -0
- /package/dist/{ProtocolSelectFlowDetail-3RKNFTWF.js.map → ProtocolSelectFlowDetail-X34GCQXS.js.map} +0 -0
- /package/dist/{RetireConfig-IFSJTDMZ.js.map → RetireConfig-XCYWEMCM.js.map} +0 -0
- /package/dist/{RetireFlowDetail-OOGYAODJ.js.map → RetireFlowDetail-J2VJGNU3.js.map} +0 -0
- /package/dist/{SandboxProvisionFlowDetail-LFHRTPLR.js.map → SandboxProvisionFlowDetail-DTCXKMFO.js.map} +0 -0
- /package/dist/{WalletFundConfig-WK7QIPL6.js.map → WalletFundConfig-MU6JRK2X.js.map} +0 -0
- /package/dist/{WalletFundFlowDetail-N2XTMXIG.js.map → WalletFundFlowDetail-7YJDOYVS.js.map} +0 -0
- /package/dist/{WalletGenerateAndFundFlowDetail-5LKRKR4R.js.map → WalletGenerateAndFundFlowDetail-CME4JE3R.js.map} +0 -0
- /package/dist/{WalletGenerateFlowDetail-RXZJMLLP.js.map → WalletGenerateFlowDetail-3KTVG2V4.js.map} +0 -0
- /package/dist/{XeroContactCreateConfig-34JJXNUW.js.map → XeroContactCreateConfig-4VKYUIJQ.js.map} +0 -0
- /package/dist/{XeroContactCreateFlowDetail-4BDRDAXW.js.map → XeroContactCreateFlowDetail-JRJ5I4CD.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateConfig-VI4HQP2Z.js.map → XeroInvoiceCreateConfig-ULKQXCNS.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateFlowDetail-AKS7WN4K.js.map → XeroInvoiceCreateFlowDetail-DTOFRV4L.js.map} +0 -0
- /package/dist/{XeroInvoiceListConfig-6GELQTQK.js.map → XeroInvoiceListConfig-PPXFYVVK.js.map} +0 -0
- /package/dist/{XeroInvoiceListFlowDetail-27GR2BSJ.js.map → XeroInvoiceListFlowDetail-RPE7NCMF.js.map} +0 -0
- /package/dist/{XeroPaymentCreateConfig-7PNHPUGK.js.map → XeroPaymentCreateConfig-EIYSLLZK.js.map} +0 -0
- /package/dist/{XeroPaymentCreateFlowDetail-PDWKG2SR.js.map → XeroPaymentCreateFlowDetail-MMLHUXLS.js.map} +0 -0
- /package/dist/{chunk-D737IBAL.js.map → chunk-2GIBQPNN.js.map} +0 -0
- /package/dist/{chunk-UEIFCJTT.js.map → chunk-3PUDS5PV.js.map} +0 -0
- /package/dist/{chunk-S2TUXPUL.js.map → chunk-45KKBVIM.js.map} +0 -0
- /package/dist/{chunk-SAY4IOQ4.js.map → chunk-6S4TEGYI.js.map} +0 -0
- /package/dist/{chunk-OHXDPRPB.js.map → chunk-7UJMOJBH.js.map} +0 -0
- /package/dist/{chunk-FSGPZ6UT.js.map → chunk-A34Z7KJC.js.map} +0 -0
- /package/dist/{chunk-LVPX7CAS.js.map → chunk-AW6YLUSS.js.map} +0 -0
- /package/dist/{chunk-NTQKVYLG.js.map → chunk-B7X6QSZ7.js.map} +0 -0
- /package/dist/{chunk-3WIS2UI4.js.map → chunk-BH5JRBU4.js.map} +0 -0
- /package/dist/{chunk-UCO4YJ5L.js.map → chunk-DRPCLFT2.js.map} +0 -0
- /package/dist/{chunk-B464VTTD.js.map → chunk-IJUGKKMY.js.map} +0 -0
- /package/dist/{chunk-RG7Z2VMU.js.map → chunk-IY7QJKBL.js.map} +0 -0
- /package/dist/{chunk-25POTAU5.js.map → chunk-JD25JVOX.js.map} +0 -0
- /package/dist/{chunk-AJF7MIIN.js.map → chunk-L6ZHO7T4.js.map} +0 -0
- /package/dist/{chunk-CC7MDRBY.js.map → chunk-NDD5CJZB.js.map} +0 -0
- /package/dist/{chunk-JYNYVFSY.js.map → chunk-Q2FDVC3Z.js.map} +0 -0
- /package/dist/{chunk-3C6YD77I.js.map → chunk-QUGMNWDO.js.map} +0 -0
- /package/dist/{chunk-A35SKJEL.js.map → chunk-RIHEX7HK.js.map} +0 -0
- /package/dist/{chunk-UIBIZKN4.js.map → chunk-SUIL2KJT.js.map} +0 -0
- /package/dist/{chunk-7WBLDDDN.js.map → chunk-SXCEELAR.js.map} +0 -0
- /package/dist/{chunk-635DLQIO.js.map → chunk-T3GM5CRM.js.map} +0 -0
- /package/dist/{chunk-X7L5XHYY.js.map → chunk-VSVM2MPJ.js.map} +0 -0
- /package/dist/{chunk-SWDPZFJ7.js.map → chunk-WBTL6EX4.js.map} +0 -0
- /package/dist/{chunk-ARLE35FS.js.map → chunk-WY4JOYIF.js.map} +0 -0
- /package/dist/{chunk-BJDQVMYW.js.map → chunk-YQ2KFBAT.js.map} +0 -0
- /package/dist/{chunk-DGALOR3X.js.map → chunk-YRWVRQXG.js.map} +0 -0
- /package/dist/{chunk-EZ424ZXM.js.map → chunk-Z46UWMKG.js.map} +0 -0
- /package/dist/{chunk-B3R2NVUD.js.map → chunk-ZAZDJGPW.js.map} +0 -0
- /package/dist/{chunk-LJCGR4FZ.js.map → chunk-ZCKNE7BN.js.map} +0 -0
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
+
EFFECT_OUTCOME_UNKNOWN_CODE,
|
|
2
3
|
FLOW_CONNECTION_BINDINGS_MAP_KEY,
|
|
3
4
|
MAX_RUN_ACTION_OUTPUT_BYTES,
|
|
4
5
|
appendRunTimelineEvent,
|
|
5
6
|
appendRunTimelineEvents,
|
|
6
7
|
boundRunActionOutput,
|
|
7
8
|
boundRunEventJson,
|
|
8
|
-
createRunEventIdempotencyKey
|
|
9
|
-
|
|
9
|
+
createRunEventIdempotencyKey,
|
|
10
|
+
isEffectNotStartedError,
|
|
11
|
+
trackActionEffectPorts
|
|
12
|
+
} from "./chunk-7C2WFOG2.js";
|
|
13
|
+
import {
|
|
14
|
+
getMissingActionInputs
|
|
15
|
+
} from "./chunk-DRPCLFT2.js";
|
|
10
16
|
import {
|
|
11
17
|
DESIGN_POD_METHODS,
|
|
12
18
|
INVOCATIONS_MAP_KEY,
|
|
@@ -15,21 +21,27 @@ import {
|
|
|
15
21
|
flowOwnerOf,
|
|
16
22
|
readDesignPodDefinition,
|
|
17
23
|
readDesignPodState
|
|
18
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-L6ZHO7T4.js";
|
|
19
25
|
import {
|
|
20
|
-
getNestedValue
|
|
21
|
-
|
|
26
|
+
getNestedValue,
|
|
27
|
+
parseReferences
|
|
28
|
+
} from "./chunk-Z46UWMKG.js";
|
|
22
29
|
import {
|
|
23
30
|
assertLegacyFlowOperationAllowed
|
|
24
31
|
} from "./chunk-UTLM6U75.js";
|
|
25
32
|
import {
|
|
33
|
+
RESULT_RECEIPT_FACT_TYPE,
|
|
34
|
+
RESULT_RECEIPT_REQUIRED,
|
|
35
|
+
boundOutputOf,
|
|
36
|
+
digestResultValue,
|
|
26
37
|
writeFlowRequest
|
|
27
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YQWE5CZP.js";
|
|
28
39
|
import {
|
|
29
40
|
DM_NOTIFICATIONS_MAP_KEY,
|
|
30
41
|
RUNS_MAP_KEY,
|
|
31
42
|
RUNS_TERMINAL_MAP_KEY,
|
|
32
43
|
RUNS_TERMINAL_PENDING_MAP_KEY,
|
|
44
|
+
STEP_COMPLETED_EVENT_NAME,
|
|
33
45
|
assertRunActionExecutionAllowed,
|
|
34
46
|
collectPhantomLegacyRun,
|
|
35
47
|
createRunRuntimeReaderWithDoc,
|
|
@@ -37,9 +49,12 @@ import {
|
|
|
37
49
|
ensureRun,
|
|
38
50
|
ensureRunScopedMap,
|
|
39
51
|
getAction,
|
|
52
|
+
getActionByCan,
|
|
53
|
+
getEventsForBlock,
|
|
40
54
|
getExistingRunsMap,
|
|
41
55
|
getExistingRunsTerminalMap,
|
|
42
56
|
getExistingRunsTerminalPendingMap,
|
|
57
|
+
getOutputSchemaForBlock,
|
|
43
58
|
getRunMeta,
|
|
44
59
|
getRunScopedMap,
|
|
45
60
|
getRunsTerminalMap,
|
|
@@ -58,7 +73,7 @@ import {
|
|
|
58
73
|
usesLegacyRuntimeCompatibility,
|
|
59
74
|
warnOnce,
|
|
60
75
|
writeActionState
|
|
61
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6NH4PDTY.js";
|
|
62
77
|
import {
|
|
63
78
|
getExistingYMap,
|
|
64
79
|
isYDocLike
|
|
@@ -521,7 +536,7 @@ function runRecordTrust(record, sourceBlockId, invocationsMap, receipts) {
|
|
|
521
536
|
const invocation = invocationsMap.get(record.invocationCid);
|
|
522
537
|
if (!invocation || typeof invocation !== "object" || invocation.result !== "success") return "untrusted";
|
|
523
538
|
if (!receipts) return "untrusted";
|
|
524
|
-
const status = receipts.check(invocation, { blockId: sourceBlockId });
|
|
539
|
+
const status = receipts.check(invocation, { blockId: sourceBlockId, output: record.output, events: record.events });
|
|
525
540
|
return status.status === "verified" ? "verified" : status.status === "pending" ? "pending" : "untrusted";
|
|
526
541
|
}
|
|
527
542
|
function processRunRecord(yDoc, runId, sourceBlockId, record, listenersBySource, getNodeOutput2, isConsumed, now) {
|
|
@@ -1654,6 +1669,21 @@ var FlowNotMigratedError = class extends Error {
|
|
|
1654
1669
|
this.name = "FlowNotMigratedError";
|
|
1655
1670
|
}
|
|
1656
1671
|
};
|
|
1672
|
+
var TopicRequestAlreadyStartedError = class extends Error {
|
|
1673
|
+
constructor(topicRequestId, runId) {
|
|
1674
|
+
super(`Topic request "${topicRequestId}" already has a session: "${runId}".`);
|
|
1675
|
+
this.topicRequestId = topicRequestId;
|
|
1676
|
+
this.runId = runId;
|
|
1677
|
+
this.name = "TopicRequestAlreadyStartedError";
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
function runForTopicRequest(yDoc, topicRequestId) {
|
|
1681
|
+
let found;
|
|
1682
|
+
getExistingRunsMap(yDoc)?.forEach((_, runId) => {
|
|
1683
|
+
if (!found && getRunMeta(yDoc, runId)?.topicRequest?.requestId === topicRequestId) found = runId;
|
|
1684
|
+
});
|
|
1685
|
+
return found;
|
|
1686
|
+
}
|
|
1657
1687
|
var RunNotMigratedError = class extends Error {
|
|
1658
1688
|
constructor(runId) {
|
|
1659
1689
|
super(`Run "${runId}" has no frozen manifest, so it is not a session.`);
|
|
@@ -1808,6 +1838,12 @@ async function startRun(params) {
|
|
|
1808
1838
|
if (usesLegacyRuntimeCompatibility(params.yDoc)) {
|
|
1809
1839
|
throw new FlowNotMigratedError(params.flowUri);
|
|
1810
1840
|
}
|
|
1841
|
+
const topicRequest = params.topicRequest ? { ...params.topicRequest } : void 0;
|
|
1842
|
+
const assertTopicRequestUnused = () => {
|
|
1843
|
+
const existing = topicRequest ? runForTopicRequest(params.yDoc, topicRequest.requestId) : void 0;
|
|
1844
|
+
if (topicRequest && existing) throw new TopicRequestAlreadyStartedError(topicRequest.requestId, existing);
|
|
1845
|
+
};
|
|
1846
|
+
assertTopicRequestUnused();
|
|
1811
1847
|
const authorization = await requireAuthorization(params.authorize, {
|
|
1812
1848
|
can: "flow/run.start",
|
|
1813
1849
|
with: params.flowUri,
|
|
@@ -1816,13 +1852,16 @@ async function startRun(params) {
|
|
|
1816
1852
|
const now = params.now?.() ?? Date.now();
|
|
1817
1853
|
const seq = nextRunSequence(params.yDoc);
|
|
1818
1854
|
const runId = createRunId(seq, now);
|
|
1819
|
-
const request = params.requestProof ? await params.requestProof({ runId, defHash: params.definition.manifest.defHash }) : void 0;
|
|
1855
|
+
const request = params.requestProof ? await params.requestProof({ runId, defHash: params.definition.manifest.defHash, ...topicRequest ? { topicRequest } : {} }) : void 0;
|
|
1856
|
+
assertTopicRequestUnused();
|
|
1857
|
+
const invocationCid = request ? request.invocationCid : authorization.invocationCid;
|
|
1820
1858
|
const meta = {
|
|
1821
1859
|
seq,
|
|
1822
1860
|
startedAt: now,
|
|
1823
1861
|
startedByDid: params.actorDid,
|
|
1824
1862
|
origin: "started",
|
|
1825
1863
|
...request ? { startRequestId: request.requestId } : {},
|
|
1864
|
+
...topicRequest ? { topicRequest } : {},
|
|
1826
1865
|
...params.label ? { label: params.label } : {},
|
|
1827
1866
|
manifest: {
|
|
1828
1867
|
blockIds: [...params.definition.manifest.blockIds],
|
|
@@ -1834,7 +1873,7 @@ async function startRun(params) {
|
|
|
1834
1873
|
kind: "run.started",
|
|
1835
1874
|
payload: {
|
|
1836
1875
|
// The requester's signed start request (a real invocation, not a grant).
|
|
1837
|
-
...
|
|
1876
|
+
...invocationCid ? { invocationCid } : {},
|
|
1838
1877
|
definitionRevision: params.definition.manifest.defHash,
|
|
1839
1878
|
...params.label ? { label: params.label } : {}
|
|
1840
1879
|
},
|
|
@@ -1864,7 +1903,8 @@ async function startRun(params) {
|
|
|
1864
1903
|
return {
|
|
1865
1904
|
run: { id: runId, meta },
|
|
1866
1905
|
eventId,
|
|
1867
|
-
flowStartInvocations
|
|
1906
|
+
flowStartInvocations,
|
|
1907
|
+
...invocationCid ? { invocationCid } : {}
|
|
1868
1908
|
};
|
|
1869
1909
|
});
|
|
1870
1910
|
}
|
|
@@ -2531,6 +2571,57 @@ var isAuthorized = async (blockId, actorDid, ucanService, flowUri) => {
|
|
|
2531
2571
|
};
|
|
2532
2572
|
|
|
2533
2573
|
// src/core/lib/flowEngine/executor.ts
|
|
2574
|
+
var completionOutputOf = (payload) => boundRunActionOutput(payload || {}).output;
|
|
2575
|
+
var RESULT_NOT_SIGNED = "This step's result was not signed.";
|
|
2576
|
+
async function signResultReceipt(params) {
|
|
2577
|
+
try {
|
|
2578
|
+
const actionType = typeof params.signedFacts.actionType === "string" ? params.signedFacts.actionType : void 0;
|
|
2579
|
+
const unboundOutputPaths = [...(actionType ? getAction(actionType)?.mutableOutputPaths : void 0) ?? []];
|
|
2580
|
+
const outputDigest = await digestResultValue(boundOutputOf(params.output, unboundOutputPaths));
|
|
2581
|
+
let eventsDigest;
|
|
2582
|
+
if (params.result.events) {
|
|
2583
|
+
try {
|
|
2584
|
+
eventsDigest = await digestResultValue(params.result.events);
|
|
2585
|
+
} catch {
|
|
2586
|
+
eventsDigest = void 0;
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
const facts = {
|
|
2590
|
+
type: RESULT_RECEIPT_FACT_TYPE,
|
|
2591
|
+
invocationCid: params.invocationCid,
|
|
2592
|
+
blockId: params.blockId,
|
|
2593
|
+
disposition: params.result.awaitingReadBack ? "awaiting_readback" : "succeeded",
|
|
2594
|
+
outputDigest,
|
|
2595
|
+
...unboundOutputPaths.length > 0 ? { unboundOutputPaths } : {},
|
|
2596
|
+
...eventsDigest ? { eventsDigest } : {},
|
|
2597
|
+
...typeof params.signedFacts.sessionRunId === "string" ? { sessionRunId: params.signedFacts.sessionRunId } : {},
|
|
2598
|
+
...typeof params.signedFacts.inputDigest === "string" ? { inputDigest: params.signedFacts.inputDigest } : {}
|
|
2599
|
+
};
|
|
2600
|
+
const signed = await params.ucanService.createAndValidateInvocation(
|
|
2601
|
+
{
|
|
2602
|
+
invokerDid: params.actorDid,
|
|
2603
|
+
invokerType: params.actorType,
|
|
2604
|
+
entityRoomId: params.entityRoomId,
|
|
2605
|
+
capability: params.capability,
|
|
2606
|
+
proofs: [],
|
|
2607
|
+
facts,
|
|
2608
|
+
pin: params.pin
|
|
2609
|
+
},
|
|
2610
|
+
params.flowId,
|
|
2611
|
+
params.blockId
|
|
2612
|
+
);
|
|
2613
|
+
if (!signed.valid || !signed.cid || !signed.invocation || typeof signed.signedAt !== "number") return void 0;
|
|
2614
|
+
return {
|
|
2615
|
+
cid: signed.cid,
|
|
2616
|
+
invocation: signed.invocation,
|
|
2617
|
+
outputDigest,
|
|
2618
|
+
signedAt: signed.signedAt,
|
|
2619
|
+
...facts.disposition === "awaiting_readback" ? { disposition: "awaiting_readback" } : {}
|
|
2620
|
+
};
|
|
2621
|
+
} catch {
|
|
2622
|
+
return void 0;
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2534
2625
|
var updateRuntimeAfterSuccess = (node, actorDid, runtime, actionResult, invocationCid, now) => {
|
|
2535
2626
|
const updates = {
|
|
2536
2627
|
submittedByDid: actionResult.submittedByDid || actorDid,
|
|
@@ -2543,7 +2634,18 @@ var updateRuntimeAfterSuccess = (node, actorDid, runtime, actionResult, invocati
|
|
|
2543
2634
|
}
|
|
2544
2635
|
runtime.update(node.id, updates);
|
|
2545
2636
|
};
|
|
2546
|
-
var executeNode = async ({
|
|
2637
|
+
var executeNode = async ({
|
|
2638
|
+
node,
|
|
2639
|
+
actorDid,
|
|
2640
|
+
actorType,
|
|
2641
|
+
entityRoomId,
|
|
2642
|
+
context,
|
|
2643
|
+
action,
|
|
2644
|
+
invocationFacts: callerFacts = {},
|
|
2645
|
+
signResult = true,
|
|
2646
|
+
pin
|
|
2647
|
+
}) => {
|
|
2648
|
+
const invocationFacts = signResult ? { ...callerFacts, resultReceipt: RESULT_RECEIPT_REQUIRED } : callerFacts;
|
|
2547
2649
|
const { runtime, ucanService, invocationStore, flowUri, flowId, sessionRunId, now } = context;
|
|
2548
2650
|
const auth = await isAuthorized(node.id, actorDid, ucanService, flowUri);
|
|
2549
2651
|
if (!auth.authorized || !ucanService) {
|
|
@@ -2629,6 +2731,21 @@ var executeNode = async ({ node, actorDid, actorType, entityRoomId, context, act
|
|
|
2629
2731
|
invocationCid
|
|
2630
2732
|
};
|
|
2631
2733
|
}
|
|
2734
|
+
const output = completionOutputOf(result.payload);
|
|
2735
|
+
const resultReceipt = signResult ? await signResultReceipt({
|
|
2736
|
+
ucanService,
|
|
2737
|
+
actorDid,
|
|
2738
|
+
actorType,
|
|
2739
|
+
entityRoomId,
|
|
2740
|
+
capability,
|
|
2741
|
+
flowId,
|
|
2742
|
+
blockId: node.id,
|
|
2743
|
+
invocationCid,
|
|
2744
|
+
signedFacts,
|
|
2745
|
+
result,
|
|
2746
|
+
output,
|
|
2747
|
+
pin
|
|
2748
|
+
}) : void 0;
|
|
2632
2749
|
{
|
|
2633
2750
|
const storedInvocation = {
|
|
2634
2751
|
cid: invocationCid,
|
|
@@ -2642,10 +2759,13 @@ var executeNode = async ({ node, actorDid, actorType, entityRoomId, context, act
|
|
|
2642
2759
|
result: "success",
|
|
2643
2760
|
proofCids,
|
|
2644
2761
|
facts: signedFacts,
|
|
2645
|
-
claimId: result.claimId
|
|
2762
|
+
claimId: result.claimId,
|
|
2763
|
+
...resultReceipt ? { resultReceipt } : {}
|
|
2646
2764
|
};
|
|
2647
2765
|
invocationStore.add(storedInvocation);
|
|
2648
|
-
|
|
2766
|
+
const status = signResult && !resultReceipt ? { status: "unverified", reason: RESULT_NOT_SIGNED } : { status: "verified" };
|
|
2767
|
+
ucanService.receipts?.remember(storedInvocation, { blockId: node.id, output }, status);
|
|
2768
|
+
if (result.events) ucanService.receipts?.remember(storedInvocation, { blockId: node.id, output, events: result.events }, status);
|
|
2649
2769
|
}
|
|
2650
2770
|
updateRuntimeAfterSuccess(node, actorDid, runtime, result, invocationCid, now);
|
|
2651
2771
|
return {
|
|
@@ -3479,6 +3599,8 @@ async function executeActionBlock(params) {
|
|
|
3479
3599
|
let proofFailureOutput;
|
|
3480
3600
|
let topicRecords = [];
|
|
3481
3601
|
let terminalRaceError = null;
|
|
3602
|
+
let effectPortTouched = false;
|
|
3603
|
+
let runError = null;
|
|
3482
3604
|
const startedAt = now();
|
|
3483
3605
|
const previousState = runtime.get(blockId);
|
|
3484
3606
|
const attempt = (previousState.attempt || 0) + 1;
|
|
@@ -3613,35 +3735,47 @@ async function executeActionBlock(params) {
|
|
|
3613
3735
|
}
|
|
3614
3736
|
}
|
|
3615
3737
|
params.onEffectStart?.();
|
|
3616
|
-
const
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
executionProof
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3738
|
+
const runContext = trackActionEffectPorts(
|
|
3739
|
+
{
|
|
3740
|
+
actorDid: params.actorDid,
|
|
3741
|
+
flowId,
|
|
3742
|
+
sessionRunId,
|
|
3743
|
+
designPodAuthority: params.designPodAuthority,
|
|
3744
|
+
flowUri,
|
|
3745
|
+
nodeId: blockId,
|
|
3746
|
+
flowNode,
|
|
3747
|
+
runtime,
|
|
3748
|
+
services: actionServices,
|
|
3749
|
+
runEventLog: params.runEventLog,
|
|
3750
|
+
handlers: params.handlers,
|
|
3751
|
+
editor,
|
|
3752
|
+
yDoc,
|
|
3753
|
+
pendingInvocation: inputBuild.pendingInvocation,
|
|
3754
|
+
topic: params.topic,
|
|
3755
|
+
flowRevision: params.flowRevision,
|
|
3756
|
+
...executionProof.invocationCid ? {
|
|
3757
|
+
executionProof: {
|
|
3758
|
+
invocationCid: executionProof.invocationCid,
|
|
3759
|
+
invocation: executionProof.invocation,
|
|
3760
|
+
capabilityId: executionProof.capabilityId,
|
|
3761
|
+
proofCids: executionProof.proofCids,
|
|
3762
|
+
capability: executionProof.capability,
|
|
3763
|
+
facts: executionProof.facts,
|
|
3764
|
+
inputDigest
|
|
3765
|
+
}
|
|
3766
|
+
} : {}
|
|
3767
|
+
},
|
|
3768
|
+
() => {
|
|
3769
|
+
effectPortTouched = true;
|
|
3770
|
+
}
|
|
3771
|
+
);
|
|
3772
|
+
let result;
|
|
3773
|
+
try {
|
|
3774
|
+
result = await action.run(inputBuild.inputs, runContext);
|
|
3775
|
+
} catch (error) {
|
|
3776
|
+
runError = { error };
|
|
3777
|
+
throw error;
|
|
3778
|
+
}
|
|
3645
3779
|
if (result.events?.length) events.push(...result.events);
|
|
3646
3780
|
if (result.topicRecords?.length) topicRecords = result.topicRecords;
|
|
3647
3781
|
if (result.completion?.state === "awaiting_readback") {
|
|
@@ -3657,7 +3791,9 @@ async function executeActionBlock(params) {
|
|
|
3657
3791
|
}
|
|
3658
3792
|
return {
|
|
3659
3793
|
payload: result.output,
|
|
3660
|
-
submittedByDid: params.actorDid || void 0
|
|
3794
|
+
submittedByDid: params.actorDid || void 0,
|
|
3795
|
+
events: [...events],
|
|
3796
|
+
...requestedAwaitingReadBack ? { awaitingReadBack: true } : {}
|
|
3661
3797
|
};
|
|
3662
3798
|
},
|
|
3663
3799
|
pin: params.pin || ""
|
|
@@ -3747,7 +3883,16 @@ async function executeActionBlock(params) {
|
|
|
3747
3883
|
runId: executionId
|
|
3748
3884
|
};
|
|
3749
3885
|
}
|
|
3750
|
-
|
|
3886
|
+
const thrownByRun = runError;
|
|
3887
|
+
const outcomeUnknown = !!thrownByRun && action.sideEffect === true && effectPortTouched && !isEffectNotStartedError(thrownByRun.error);
|
|
3888
|
+
if (outcomeUnknown) {
|
|
3889
|
+
runtime.update(blockId, {
|
|
3890
|
+
state: "needs_verification",
|
|
3891
|
+
error: { message, code: EFFECT_OUTCOME_UNKNOWN_CODE, at: now() }
|
|
3892
|
+
});
|
|
3893
|
+
} else {
|
|
3894
|
+
updateRuntimeFailure(runtime, blockId, message, now);
|
|
3895
|
+
}
|
|
3751
3896
|
if (sessionRunId && (eventLog || timelineRequired)) {
|
|
3752
3897
|
await appendRunTimelineEvent({
|
|
3753
3898
|
eventLog,
|
|
@@ -3759,7 +3904,7 @@ async function executeActionBlock(params) {
|
|
|
3759
3904
|
attempt,
|
|
3760
3905
|
executionId,
|
|
3761
3906
|
durationMs: Math.max(0, now() - startedAt),
|
|
3762
|
-
error: { message }
|
|
3907
|
+
error: outcomeUnknown ? { message, code: EFFECT_OUTCOME_UNKNOWN_CODE } : { message }
|
|
3763
3908
|
},
|
|
3764
3909
|
idempotencyKey: createRunEventIdempotencyKey("action.failed", sessionRunId, blockId, executionId),
|
|
3765
3910
|
ts: now()
|
|
@@ -3769,8 +3914,8 @@ async function executeActionBlock(params) {
|
|
|
3769
3914
|
now
|
|
3770
3915
|
});
|
|
3771
3916
|
}
|
|
3772
|
-
const topicWriteBack2 = await recordTopicPhase("failed", {
|
|
3773
|
-
error: { message },
|
|
3917
|
+
const topicWriteBack2 = await recordTopicPhase(outcomeUnknown ? "needs_verification" : "failed", {
|
|
3918
|
+
error: outcomeUnknown ? { code: EFFECT_OUTCOME_UNKNOWN_CODE, message } : { message },
|
|
3774
3919
|
invocationReference: outcome.invocationCid || outcome.capabilityId
|
|
3775
3920
|
});
|
|
3776
3921
|
return {
|
|
@@ -3781,6 +3926,7 @@ async function executeActionBlock(params) {
|
|
|
3781
3926
|
error: message,
|
|
3782
3927
|
pendingInvocation: inputBuild.pendingInvocation
|
|
3783
3928
|
}),
|
|
3929
|
+
...outcomeUnknown ? { completionState: "needs_verification" } : {},
|
|
3784
3930
|
invocationCid: outcome.invocationCid,
|
|
3785
3931
|
capabilityId: outcome.capabilityId,
|
|
3786
3932
|
executionId,
|
|
@@ -3898,11 +4044,14 @@ async function executeActionBlock(params) {
|
|
|
3898
4044
|
});
|
|
3899
4045
|
}
|
|
3900
4046
|
const pendingInvocationRemoved = completionState === "completed" ? cleanupCompletedPendingInvocation(yDoc, blockId, inputBuild.pendingInvocation, sessionRunId) : false;
|
|
3901
|
-
const topicWriteBack = await recordTopicPhase(
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
4047
|
+
const topicWriteBack = await recordTopicPhase(
|
|
4048
|
+
completionState === "completed" ? "succeeded" : completionState === "needs_verification" ? "needs_verification" : completionState === "awaiting_readback" ? "awaiting_confirmation" : "failed",
|
|
4049
|
+
{
|
|
4050
|
+
output,
|
|
4051
|
+
...boundedOutput.exceeded ? { error: { code: "RUN_OUTPUT_TOO_LARGE", message: `Action output exceeded the ${MAX_RUN_ACTION_OUTPUT_BYTES / 1024} KiB run-head limit.` } } : {},
|
|
4052
|
+
invocationReference: outcome.invocationCid || outcome.capabilityId
|
|
4053
|
+
}
|
|
4054
|
+
);
|
|
3906
4055
|
return {
|
|
3907
4056
|
success: !boundedOutput.exceeded,
|
|
3908
4057
|
stage: outcome.stage,
|
|
@@ -3964,7 +4113,7 @@ function receiptVerdict(params, invocationCid, missingReason) {
|
|
|
3964
4113
|
if (invocation.result !== "success") return { status: "unverified", reason: "Completion references a failed invocation." };
|
|
3965
4114
|
if (invocation.blockId && invocation.blockId !== params.blockId) return { status: "unverified", reason: "Completion references an invocation for a different block." };
|
|
3966
4115
|
if (!params.checkReceipt) return { status: "unverified", reason: "This step's receipt can't be checked here: no UCAN verifier is set up." };
|
|
3967
|
-
const receipt = params.checkReceipt(invocation, { blockId: params.blockId });
|
|
4116
|
+
const receipt = params.checkReceipt(invocation, { blockId: params.blockId, output: params.runtime?.output });
|
|
3968
4117
|
if (receipt.status === "pending") return { status: "pending" };
|
|
3969
4118
|
if (receipt.status === "unverified") return { status: "unverified", reason: receipt.reason };
|
|
3970
4119
|
return { status: "verified" };
|
|
@@ -4010,6 +4159,389 @@ function isVerifiedCompletion(params) {
|
|
|
4010
4159
|
return verifyCompletion(params).status === "verified";
|
|
4011
4160
|
}
|
|
4012
4161
|
|
|
4162
|
+
// src/core/lib/flowEngine/workStatus.ts
|
|
4163
|
+
var UNVERIFIED_FALLBACK_REASON = "The completion could not be verified.";
|
|
4164
|
+
function deriveExecutionStatus(runtime) {
|
|
4165
|
+
const attemptId = typeof runtime?.attemptId === "string" ? runtime.attemptId : void 0;
|
|
4166
|
+
const attempt = attemptId ? { attemptId } : {};
|
|
4167
|
+
switch (runtime?.state ?? "idle") {
|
|
4168
|
+
case "idle":
|
|
4169
|
+
return { kind: "not_started" };
|
|
4170
|
+
case "awaiting_human":
|
|
4171
|
+
return { kind: "waiting_input" };
|
|
4172
|
+
case "pending":
|
|
4173
|
+
case "running":
|
|
4174
|
+
case "retry_scheduled":
|
|
4175
|
+
return { kind: "running", ...attempt };
|
|
4176
|
+
case "awaiting_readback":
|
|
4177
|
+
case "completed":
|
|
4178
|
+
return { kind: "executed", ...attempt };
|
|
4179
|
+
case "failed":
|
|
4180
|
+
return { kind: "failed_clean", ...attempt, error: runtime?.error?.message ?? "" };
|
|
4181
|
+
case "cancelled":
|
|
4182
|
+
return { kind: "cancelled", inFlight: [] };
|
|
4183
|
+
case "needs_verification":
|
|
4184
|
+
default:
|
|
4185
|
+
return { kind: "unknown_effect", ...attempt };
|
|
4186
|
+
}
|
|
4187
|
+
}
|
|
4188
|
+
function deriveEvidenceStatus(runtime, completionVerification) {
|
|
4189
|
+
if (runtime?.state !== "completed" || !completionVerification) return { kind: "none" };
|
|
4190
|
+
if (completionVerification.status === "verified") return { kind: "verified", basis: "completion_verification" };
|
|
4191
|
+
if (completionVerification.status === "unverified") return { kind: "unverified", reason: completionVerification.reason || UNVERIFIED_FALLBACK_REASON };
|
|
4192
|
+
return { kind: "none" };
|
|
4193
|
+
}
|
|
4194
|
+
function deriveWorkStatus(params) {
|
|
4195
|
+
return {
|
|
4196
|
+
execution: deriveExecutionStatus(params.runtime),
|
|
4197
|
+
evidence: deriveEvidenceStatus(params.runtime, params.completionVerification),
|
|
4198
|
+
evaluation: params.evaluation ?? { kind: "not_required" },
|
|
4199
|
+
acceptance: params.acceptance ?? { kind: "none" }
|
|
4200
|
+
};
|
|
4201
|
+
}
|
|
4202
|
+
function needsAttention({ execution, evidence, evaluation, acceptance }) {
|
|
4203
|
+
if (execution.kind === "unknown_effect" || execution.kind === "failed_clean") return true;
|
|
4204
|
+
if (evidence.kind === "unverified") return true;
|
|
4205
|
+
if (evaluation.kind === "indeterminate" || evaluation.kind === "failed" || evaluation.kind === "superseded") return true;
|
|
4206
|
+
if (evaluation.kind === "determined" && !evaluation.favourable) return true;
|
|
4207
|
+
return acceptance.kind === "rejected";
|
|
4208
|
+
}
|
|
4209
|
+
function deriveWorkItemPhase(status) {
|
|
4210
|
+
const { execution, evidence, evaluation, acceptance } = status;
|
|
4211
|
+
if (execution.kind === "cancelled") return "stopped";
|
|
4212
|
+
if (needsAttention(status)) return "needs_attention";
|
|
4213
|
+
switch (execution.kind) {
|
|
4214
|
+
case "not_started":
|
|
4215
|
+
return "not_started";
|
|
4216
|
+
case "waiting_input":
|
|
4217
|
+
return "waiting_for_you";
|
|
4218
|
+
case "running":
|
|
4219
|
+
return "working";
|
|
4220
|
+
}
|
|
4221
|
+
if (evidence.kind !== "verified") return "checking_results";
|
|
4222
|
+
if (evaluation.kind === "not_required") return "finished";
|
|
4223
|
+
if (evaluation.kind === "determined" && evaluation.favourable && acceptance.kind === "accepted") return "outcome_verified";
|
|
4224
|
+
return "checking_results";
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
// src/core/lib/flowEngine/admission.ts
|
|
4228
|
+
var FLOW_BLOCK_EXECUTE_CAN = "flow/block/execute";
|
|
4229
|
+
var SCOPE_ROOTS = /* @__PURE__ */ new Set(["item", "payload", "util", "trigger"]);
|
|
4230
|
+
var LIFECYCLE_ACTION_TYPES = /* @__PURE__ */ new Set(["qi/flow.run.start", "qi/flow.run.close"]);
|
|
4231
|
+
var EVENT_TRIGGER_TYPES = /* @__PURE__ */ new Set(["block.event", "block.event.all"]);
|
|
4232
|
+
var KNOWN_TRIGGER_TYPES = /* @__PURE__ */ new Set(["manual", "flow.start", "block.event", "block.event.all", "schedule", "topic.request"]);
|
|
4233
|
+
function parseJsonProp2(value) {
|
|
4234
|
+
if (value == null || value === "") return { ok: true, value: void 0 };
|
|
4235
|
+
if (typeof value !== "string") return typeof value === "object" ? { ok: true, value } : { ok: false };
|
|
4236
|
+
try {
|
|
4237
|
+
const parsed = JSON.parse(value);
|
|
4238
|
+
return parsed !== null && typeof parsed === "object" ? { ok: true, value: parsed } : { ok: false };
|
|
4239
|
+
} catch {
|
|
4240
|
+
return { ok: false };
|
|
4241
|
+
}
|
|
4242
|
+
}
|
|
4243
|
+
function actionTypeOf(block) {
|
|
4244
|
+
const actionType = block.props?.actionType;
|
|
4245
|
+
return typeof actionType === "string" ? actionType.trim() : void 0;
|
|
4246
|
+
}
|
|
4247
|
+
function resolveStepAction(block) {
|
|
4248
|
+
const actionType = actionTypeOf(block);
|
|
4249
|
+
if (!actionType) return void 0;
|
|
4250
|
+
return getAction(actionType) ?? getActionByCan(actionType);
|
|
4251
|
+
}
|
|
4252
|
+
function isActionStep(block) {
|
|
4253
|
+
return block.type === "action" || actionTypeOf(block) !== void 0;
|
|
4254
|
+
}
|
|
4255
|
+
function stepInputs(block) {
|
|
4256
|
+
const parsed = parseJsonProp2(block.props?.inputs);
|
|
4257
|
+
if (parsed.ok && Array.isArray(parsed.value)) return { ok: false };
|
|
4258
|
+
return parsed;
|
|
4259
|
+
}
|
|
4260
|
+
function stepTrigger(block) {
|
|
4261
|
+
return parseJsonProp2(block.props?.trigger);
|
|
4262
|
+
}
|
|
4263
|
+
function stepAssigneeDid(block) {
|
|
4264
|
+
const parsed = parseJsonProp2(block.props?.assignment);
|
|
4265
|
+
const did = parsed.ok ? parsed.value?.assignedActor?.did : void 0;
|
|
4266
|
+
return typeof did === "string" && did.length > 0 ? did : void 0;
|
|
4267
|
+
}
|
|
4268
|
+
function checkpointFor(block, action) {
|
|
4269
|
+
const raw = block.props?.requiresConfirmation;
|
|
4270
|
+
if (raw === true || raw === "true") return "ask_before";
|
|
4271
|
+
if (raw === false || raw === "false") return "none";
|
|
4272
|
+
return action.defaultRequiresConfirmation ? "ask_before" : "none";
|
|
4273
|
+
}
|
|
4274
|
+
function collectReferences(value, inputPath, found) {
|
|
4275
|
+
if (typeof value === "string") {
|
|
4276
|
+
for (const reference of parseReferences(value)) {
|
|
4277
|
+
found.push({ inputPath, ref: reference.fullMatch, root: reference.blockId, path: reference.propPath, structured: false });
|
|
4278
|
+
}
|
|
4279
|
+
return;
|
|
4280
|
+
}
|
|
4281
|
+
if (isRuntimeRef(value)) {
|
|
4282
|
+
const ref = value.$ref;
|
|
4283
|
+
const dot = ref.indexOf(".");
|
|
4284
|
+
if (dot > 0) found.push({ inputPath, ref, root: ref.slice(0, dot), path: ref.slice(dot + 1), structured: true });
|
|
4285
|
+
return;
|
|
4286
|
+
}
|
|
4287
|
+
if (Array.isArray(value)) {
|
|
4288
|
+
value.forEach((item, index) => collectReferences(item, `${inputPath}.${index}`, found));
|
|
4289
|
+
return;
|
|
4290
|
+
}
|
|
4291
|
+
if (value !== null && typeof value === "object") {
|
|
4292
|
+
for (const [key, item] of Object.entries(value)) collectReferences(item, `${inputPath}.${key}`, found);
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4295
|
+
function schemaDeclares(schema, path) {
|
|
4296
|
+
return schema.some((field) => path === field.path || path.startsWith(`${field.path}.`) || field.path.startsWith(`${path}.`));
|
|
4297
|
+
}
|
|
4298
|
+
function outputPathDeclared(schema, outputPath) {
|
|
4299
|
+
if (schemaDeclares(schema, outputPath)) return true;
|
|
4300
|
+
if (outputPath.startsWith("data.") && schemaDeclares(schema, outputPath.slice("data.".length))) return true;
|
|
4301
|
+
return outputPath.startsWith("http.data.") && schemaDeclares(schema, outputPath.slice("http.data.".length));
|
|
4302
|
+
}
|
|
4303
|
+
function findCycles(nodes, edges) {
|
|
4304
|
+
let index = 0;
|
|
4305
|
+
const indices = /* @__PURE__ */ new Map();
|
|
4306
|
+
const lowlinks = /* @__PURE__ */ new Map();
|
|
4307
|
+
const stack = [];
|
|
4308
|
+
const onStack = /* @__PURE__ */ new Set();
|
|
4309
|
+
const cycles = [];
|
|
4310
|
+
const visit = (node) => {
|
|
4311
|
+
indices.set(node, index);
|
|
4312
|
+
lowlinks.set(node, index);
|
|
4313
|
+
index += 1;
|
|
4314
|
+
stack.push(node);
|
|
4315
|
+
onStack.add(node);
|
|
4316
|
+
for (const next of edges.get(node) ?? []) {
|
|
4317
|
+
if (!indices.has(next)) {
|
|
4318
|
+
visit(next);
|
|
4319
|
+
lowlinks.set(node, Math.min(lowlinks.get(node), lowlinks.get(next)));
|
|
4320
|
+
} else if (onStack.has(next)) {
|
|
4321
|
+
lowlinks.set(node, Math.min(lowlinks.get(node), indices.get(next)));
|
|
4322
|
+
}
|
|
4323
|
+
}
|
|
4324
|
+
if (lowlinks.get(node) !== indices.get(node)) return;
|
|
4325
|
+
const component = [];
|
|
4326
|
+
let member;
|
|
4327
|
+
do {
|
|
4328
|
+
member = stack.pop();
|
|
4329
|
+
onStack.delete(member);
|
|
4330
|
+
component.push(member);
|
|
4331
|
+
} while (member !== node);
|
|
4332
|
+
if (component.length > 1 || edges.get(node)?.has(node)) cycles.push(component);
|
|
4333
|
+
};
|
|
4334
|
+
for (const node of nodes) if (!indices.has(node)) visit(node);
|
|
4335
|
+
return cycles;
|
|
4336
|
+
}
|
|
4337
|
+
function orderCycle(component, order, edges) {
|
|
4338
|
+
const members = new Set(component);
|
|
4339
|
+
const byOrder = (a, b) => (order.get(a) ?? 0) - (order.get(b) ?? 0);
|
|
4340
|
+
const start = [...component].sort(byOrder)[0];
|
|
4341
|
+
const path = [start];
|
|
4342
|
+
const seen = /* @__PURE__ */ new Set([start]);
|
|
4343
|
+
let current = start;
|
|
4344
|
+
for (; ; ) {
|
|
4345
|
+
const next = [...edges.get(current) ?? []].filter((id) => members.has(id) && !seen.has(id)).sort(byOrder)[0];
|
|
4346
|
+
if (!next) break;
|
|
4347
|
+
path.push(next);
|
|
4348
|
+
seen.add(next);
|
|
4349
|
+
current = next;
|
|
4350
|
+
}
|
|
4351
|
+
return [...path, start];
|
|
4352
|
+
}
|
|
4353
|
+
function checkFlowDefinition(params) {
|
|
4354
|
+
const blockers = [];
|
|
4355
|
+
const warnings = [];
|
|
4356
|
+
const aliases = params.blockIdAliases ?? {};
|
|
4357
|
+
const stepsById = new Map(params.steps.map((step) => [step.id, step]));
|
|
4358
|
+
const documentIds = new Set(params.documentBlockIds ?? []);
|
|
4359
|
+
for (const step of params.steps) documentIds.add(step.id);
|
|
4360
|
+
const resolveId = (id) => !documentIds.has(id) && Object.prototype.hasOwnProperty.call(aliases, id) ? aliases[id] : id;
|
|
4361
|
+
const order = new Map(params.steps.map((step, position) => [step.id, position]));
|
|
4362
|
+
const actions = /* @__PURE__ */ new Map();
|
|
4363
|
+
const inputsById = /* @__PURE__ */ new Map();
|
|
4364
|
+
for (const step of params.steps) {
|
|
4365
|
+
actions.set(step.id, resolveStepAction(step));
|
|
4366
|
+
const inputs = stepInputs(step);
|
|
4367
|
+
inputsById.set(step.id, inputs.ok ? inputs.value ?? {} : {});
|
|
4368
|
+
}
|
|
4369
|
+
const triggerEdges = /* @__PURE__ */ new Map();
|
|
4370
|
+
const allEdges = /* @__PURE__ */ new Map();
|
|
4371
|
+
const addEdge = (map, from, to) => {
|
|
4372
|
+
if (!map.has(from)) map.set(from, /* @__PURE__ */ new Set());
|
|
4373
|
+
map.get(from).add(to);
|
|
4374
|
+
};
|
|
4375
|
+
const checkEventSource = (stepId, source, unknownReason) => {
|
|
4376
|
+
const sourceId = typeof source.sourceBlockId === "string" ? source.sourceBlockId.trim() : "";
|
|
4377
|
+
const eventName = typeof source.eventName === "string" ? source.eventName.trim() : "";
|
|
4378
|
+
if (!sourceId || !eventName) {
|
|
4379
|
+
warnings.push({ kind: "invalid_definition", stepId, reason: "trigger_invalid", detail: { field: "trigger", ...sourceId ? { targetBlockId: sourceId } : {} } });
|
|
4380
|
+
if (!sourceId) return;
|
|
4381
|
+
}
|
|
4382
|
+
const resolved = resolveId(sourceId);
|
|
4383
|
+
if (!stepsById.has(resolved)) {
|
|
4384
|
+
blockers.push({ kind: "invalid_definition", stepId, reason: unknownReason, detail: { field: "trigger", targetBlockId: sourceId, ...eventName ? { eventName } : {} } });
|
|
4385
|
+
return;
|
|
4386
|
+
}
|
|
4387
|
+
addEdge(triggerEdges, resolved, stepId);
|
|
4388
|
+
addEdge(allEdges, resolved, stepId);
|
|
4389
|
+
const sourceAction = actions.get(resolved);
|
|
4390
|
+
if (!sourceAction || !eventName || eventName === STEP_COMPLETED_EVENT_NAME) return;
|
|
4391
|
+
const declared = getEventsForBlock(sourceAction, inputsById.get(resolved) ?? {}).map((event) => event.name);
|
|
4392
|
+
if (declared.includes(eventName)) return;
|
|
4393
|
+
warnings.push({
|
|
4394
|
+
kind: "invalid_definition",
|
|
4395
|
+
stepId,
|
|
4396
|
+
reason: "trigger_unknown_event",
|
|
4397
|
+
detail: { field: "trigger", targetBlockId: resolved, eventName, declaredEvents: declared, actionType: sourceAction.type }
|
|
4398
|
+
});
|
|
4399
|
+
};
|
|
4400
|
+
for (const step of params.steps) {
|
|
4401
|
+
const action = actions.get(step.id);
|
|
4402
|
+
const actionType = actionTypeOf(step);
|
|
4403
|
+
if (isActionStep(step)) {
|
|
4404
|
+
if (!actionType) warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "missing_action_type", detail: {} });
|
|
4405
|
+
else if (!action) warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "unknown_action_type", detail: { actionType } });
|
|
4406
|
+
}
|
|
4407
|
+
if (!stepInputs(step).ok) warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "inputs_invalid", detail: { field: "inputs" } });
|
|
4408
|
+
const parsedTrigger = stepTrigger(step);
|
|
4409
|
+
const trigger = parsedTrigger.ok ? parsedTrigger.value : void 0;
|
|
4410
|
+
const triggerType = typeof trigger?.type === "string" ? trigger.type : void 0;
|
|
4411
|
+
if (!parsedTrigger.ok || trigger && (!triggerType || !KNOWN_TRIGGER_TYPES.has(triggerType))) {
|
|
4412
|
+
warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "trigger_invalid", detail: { field: "trigger" } });
|
|
4413
|
+
} else if (triggerType === "block.event") {
|
|
4414
|
+
checkEventSource(step.id, trigger, "trigger_unknown_source");
|
|
4415
|
+
} else if (triggerType === "block.event.all") {
|
|
4416
|
+
const sources = Array.isArray(trigger.sources) ? trigger.sources : [];
|
|
4417
|
+
if (sources.length === 0) blockers.push({ kind: "invalid_definition", stepId: step.id, reason: "join_no_sources", detail: { field: "trigger" } });
|
|
4418
|
+
for (const source of sources) {
|
|
4419
|
+
if (!source || typeof source !== "object") {
|
|
4420
|
+
warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "trigger_invalid", detail: { field: "trigger" } });
|
|
4421
|
+
continue;
|
|
4422
|
+
}
|
|
4423
|
+
if (typeof source.alias !== "string" || source.alias.trim() === "") {
|
|
4424
|
+
warnings.push({
|
|
4425
|
+
kind: "invalid_definition",
|
|
4426
|
+
stepId: step.id,
|
|
4427
|
+
reason: "trigger_invalid",
|
|
4428
|
+
detail: { field: "trigger", ...typeof source.sourceBlockId === "string" ? { targetBlockId: source.sourceBlockId } : {} }
|
|
4429
|
+
});
|
|
4430
|
+
}
|
|
4431
|
+
checkEventSource(step.id, source, "join_unknown_source");
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4434
|
+
const parsedConditions = parseJsonProp2(step.props?.conditions);
|
|
4435
|
+
if (!parsedConditions.ok) {
|
|
4436
|
+
warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "conditions_invalid", detail: { field: "conditions" } });
|
|
4437
|
+
} else if (parsedConditions.value?.enabled === true && Array.isArray(parsedConditions.value.conditions)) {
|
|
4438
|
+
for (const condition of parsedConditions.value.conditions) {
|
|
4439
|
+
const conditionId = typeof condition?.id === "string" ? condition.id : void 0;
|
|
4440
|
+
const sourceId = typeof condition?.sourceBlockId === "string" ? condition.sourceBlockId.trim() : "";
|
|
4441
|
+
if (!sourceId) {
|
|
4442
|
+
warnings.push({ kind: "invalid_definition", stepId: step.id, reason: "conditions_invalid", detail: { field: "conditions", ...conditionId ? { conditionId } : {} } });
|
|
4443
|
+
} else if (!documentIds.has(resolveId(sourceId))) {
|
|
4444
|
+
blockers.push({
|
|
4445
|
+
kind: "invalid_definition",
|
|
4446
|
+
stepId: step.id,
|
|
4447
|
+
reason: "condition_unknown_block",
|
|
4448
|
+
detail: { field: "conditions", targetBlockId: sourceId, ...conditionId ? { conditionId } : {} }
|
|
4449
|
+
});
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
}
|
|
4453
|
+
const inputs = inputsById.get(step.id) ?? {};
|
|
4454
|
+
const references = [];
|
|
4455
|
+
for (const [key, value] of Object.entries(inputs)) collectReferences(value, key, references);
|
|
4456
|
+
const unresolvableInputs = /* @__PURE__ */ new Set();
|
|
4457
|
+
const isEventTriggered = triggerType !== void 0 && EVENT_TRIGGER_TYPES.has(triggerType);
|
|
4458
|
+
for (const reference of references) {
|
|
4459
|
+
const topInput = reference.inputPath.split(".")[0];
|
|
4460
|
+
if (reference.structured && reference.root === "trigger") {
|
|
4461
|
+
if (!isEventTriggered) {
|
|
4462
|
+
warnings.push({
|
|
4463
|
+
kind: "invalid_definition",
|
|
4464
|
+
stepId: step.id,
|
|
4465
|
+
reason: "trigger_payload_without_trigger",
|
|
4466
|
+
detail: { field: "inputs", inputPath: reference.inputPath, ref: reference.ref }
|
|
4467
|
+
});
|
|
4468
|
+
}
|
|
4469
|
+
continue;
|
|
4470
|
+
}
|
|
4471
|
+
if (!reference.structured && SCOPE_ROOTS.has(reference.root)) continue;
|
|
4472
|
+
const target = resolveId(reference.root);
|
|
4473
|
+
if (!documentIds.has(target)) {
|
|
4474
|
+
blockers.push({
|
|
4475
|
+
kind: "invalid_definition",
|
|
4476
|
+
stepId: step.id,
|
|
4477
|
+
reason: "reference_unknown_block",
|
|
4478
|
+
detail: { field: "inputs", inputPath: reference.inputPath, ref: reference.ref, targetBlockId: reference.root }
|
|
4479
|
+
});
|
|
4480
|
+
unresolvableInputs.add(topInput);
|
|
4481
|
+
continue;
|
|
4482
|
+
}
|
|
4483
|
+
if (!reference.path.startsWith("output.") || !stepsById.has(target)) continue;
|
|
4484
|
+
addEdge(allEdges, target, step.id);
|
|
4485
|
+
if (target === step.id) unresolvableInputs.add(topInput);
|
|
4486
|
+
const outputPath = reference.path.slice("output.".length);
|
|
4487
|
+
const schema = getOutputSchemaForBlock(actions.get(target), inputsById.get(target) ?? {});
|
|
4488
|
+
if (schema.length > 0 && !outputPathDeclared(schema, outputPath)) {
|
|
4489
|
+
warnings.push({
|
|
4490
|
+
kind: "invalid_definition",
|
|
4491
|
+
stepId: step.id,
|
|
4492
|
+
reason: "reference_undeclared_output",
|
|
4493
|
+
detail: { field: "inputs", inputPath: reference.inputPath, ref: reference.ref, targetBlockId: target, outputPath }
|
|
4494
|
+
});
|
|
4495
|
+
}
|
|
4496
|
+
}
|
|
4497
|
+
if (action) {
|
|
4498
|
+
const blank = new Set(getMissingActionInputs(action.type, inputs));
|
|
4499
|
+
const withoutUnresolvable = Object.fromEntries(Object.entries(inputs).filter(([key]) => !unresolvableInputs.has(key)));
|
|
4500
|
+
for (const path of getMissingActionInputs(action.type, withoutUnresolvable)) {
|
|
4501
|
+
if (blank.has(path)) warnings.push({ kind: "missing_input", stepId: step.id, path, cause: "blank" });
|
|
4502
|
+
else blockers.push({ kind: "missing_input", stepId: step.id, path, cause: "unresolvable_reference" });
|
|
4503
|
+
}
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
for (const component of findCycles(
|
|
4507
|
+
params.steps.map((step) => step.id),
|
|
4508
|
+
allEdges
|
|
4509
|
+
)) {
|
|
4510
|
+
const cycle = orderCycle(component, order, allEdges);
|
|
4511
|
+
const triggersOnly = cycle.slice(0, -1).every((id, position) => triggerEdges.get(id)?.has(cycle[position + 1]) === true);
|
|
4512
|
+
blockers.push({ kind: "invalid_definition", stepId: cycle[0], reason: triggersOnly ? "trigger_cycle" : "reference_cycle", detail: { cycle } });
|
|
4513
|
+
}
|
|
4514
|
+
return { blockers, warnings };
|
|
4515
|
+
}
|
|
4516
|
+
function compileAuthorityRequirements(params) {
|
|
4517
|
+
const requirements = [];
|
|
4518
|
+
for (const step of params.steps) {
|
|
4519
|
+
const action = resolveStepAction(step);
|
|
4520
|
+
if (!action || LIFECYCLE_ACTION_TYPES.has(action.type)) continue;
|
|
4521
|
+
const executorDid = stepAssigneeDid(step);
|
|
4522
|
+
requirements.push({
|
|
4523
|
+
stepId: step.id,
|
|
4524
|
+
actionType: action.type,
|
|
4525
|
+
can: FLOW_BLOCK_EXECUTE_CAN,
|
|
4526
|
+
with: params.flowUri ? `${params.flowUri}:${step.id}` : step.id,
|
|
4527
|
+
...action.can ? { actionCan: action.can } : {},
|
|
4528
|
+
...action.requiredCapability ? { requiredCapability: action.requiredCapability } : {},
|
|
4529
|
+
...executorDid ? { executorDid, executorSource: "assignment" } : {},
|
|
4530
|
+
...action.executionOwner ? { executionOwner: action.executionOwner } : {},
|
|
4531
|
+
sideEffect: action.sideEffect,
|
|
4532
|
+
checkpoint: checkpointFor(step, action),
|
|
4533
|
+
...action.riskTier ? { riskTier: action.riskTier } : {}
|
|
4534
|
+
});
|
|
4535
|
+
}
|
|
4536
|
+
return requirements;
|
|
4537
|
+
}
|
|
4538
|
+
function deriveReworkPolicy(steps) {
|
|
4539
|
+
return {
|
|
4540
|
+
retry: "manual",
|
|
4541
|
+
repeatableStepIds: steps.filter((step) => resolveStepAction(step)?.cardinality === "many").map((step) => step.id)
|
|
4542
|
+
};
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4013
4545
|
// src/core/lib/invocationStore.ts
|
|
4014
4546
|
var createInvocationStore = (yMap) => {
|
|
4015
4547
|
const add = (invocation) => {
|
|
@@ -4182,6 +4714,7 @@ function deriveBlockPhase(params) {
|
|
|
4182
4714
|
const repeatable = isRepeatableAction(actionType);
|
|
4183
4715
|
const state = runtime?.state ?? "idle";
|
|
4184
4716
|
const base = { repeatable, ...repeatable && runCount !== void 0 ? { runCount } : {} };
|
|
4717
|
+
const completionUnverified = deriveEvidenceStatus(runtime, params.completionVerification).kind === "unverified";
|
|
4185
4718
|
switch (state) {
|
|
4186
4719
|
case "idle":
|
|
4187
4720
|
if (pendingInvocationCount > 0) {
|
|
@@ -4201,10 +4734,12 @@ function deriveBlockPhase(params) {
|
|
|
4201
4734
|
case "completed":
|
|
4202
4735
|
if (repeatable) {
|
|
4203
4736
|
if (done && pendingInvocationCount === 0) {
|
|
4737
|
+
if (completionUnverified) return { ...base, phase: "failed", detail: "completion_unverified", safeToRetry: false };
|
|
4204
4738
|
return { ...base, phase: "complete", detail: "drained", safeToRetry: true };
|
|
4205
4739
|
}
|
|
4206
4740
|
return { ...base, phase: "active", detail: "standing", safeToRetry: true };
|
|
4207
4741
|
}
|
|
4742
|
+
if (completionUnverified) return { ...base, phase: "failed", detail: "completion_unverified", safeToRetry: false };
|
|
4208
4743
|
return { ...base, phase: "complete", detail: "completed", safeToRetry: false };
|
|
4209
4744
|
case "cancelled":
|
|
4210
4745
|
return { ...base, phase: "complete", detail: "cancelled", safeToRetry: false };
|
|
@@ -4457,6 +4992,7 @@ export {
|
|
|
4457
4992
|
RunLifecycleAuthorizationError,
|
|
4458
4993
|
RunNotReadyError,
|
|
4459
4994
|
FlowNotMigratedError,
|
|
4995
|
+
TopicRequestAlreadyStartedError,
|
|
4460
4996
|
RunNotMigratedError,
|
|
4461
4997
|
computeRunDefinitionHash,
|
|
4462
4998
|
toRunJsonValue,
|
|
@@ -4484,10 +5020,20 @@ export {
|
|
|
4484
5020
|
runLedgerAttestations,
|
|
4485
5021
|
verifyCompletion,
|
|
4486
5022
|
isVerifiedCompletion,
|
|
5023
|
+
deriveExecutionStatus,
|
|
5024
|
+
deriveEvidenceStatus,
|
|
5025
|
+
deriveWorkStatus,
|
|
5026
|
+
deriveWorkItemPhase,
|
|
4487
5027
|
deriveBlockPhase,
|
|
4488
5028
|
countSuccessfulRuns,
|
|
5029
|
+
FLOW_BLOCK_EXECUTE_CAN,
|
|
5030
|
+
resolveStepAction,
|
|
5031
|
+
stepAssigneeDid,
|
|
5032
|
+
checkFlowDefinition,
|
|
5033
|
+
compileAuthorityRequirements,
|
|
5034
|
+
deriveReworkPolicy,
|
|
4489
5035
|
validateBlockConfig,
|
|
4490
5036
|
createInvocationStore,
|
|
4491
5037
|
createMemoryInvocationStore
|
|
4492
5038
|
};
|
|
4493
|
-
//# sourceMappingURL=chunk-
|
|
5039
|
+
//# sourceMappingURL=chunk-XGICKRWF.js.map
|