@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
|
@@ -4,9 +4,9 @@ import * as _blocknote_core from '@blocknote/core';
|
|
|
4
4
|
import { PartialBlock, BlockSchemaFromSpecs, InlineContentSchema, StyleSchema, BlockNoteEditor } from '@blocknote/core';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
+
import { DIDKeyResolver, RevocationChecker, Delegation } from '@ixo/ucan';
|
|
7
8
|
import { F as FlowProtocolGateV1 } from './legacy-BpgIqaQ5.js';
|
|
8
9
|
import { MatrixClient } from 'matrix-js-sdk';
|
|
9
|
-
import { Delegation } from '@ixo/ucan';
|
|
10
10
|
|
|
11
11
|
declare const DESIGN_POD_TEMPLATE_ID: "design-pod-portal-journey-v2";
|
|
12
12
|
declare const DESIGN_POD_PHASE_IDS: readonly ["discovery", "design", "validation", "testing", "deployment"];
|
|
@@ -330,6 +330,18 @@ interface InvocationResult {
|
|
|
330
330
|
valid: boolean;
|
|
331
331
|
/** Error message if validation failed */
|
|
332
332
|
error?: string;
|
|
333
|
+
/** The facts actually signed (the caller's, plus the nonce). */
|
|
334
|
+
facts?: Record<string, unknown>;
|
|
335
|
+
/** The proofs actually stapled: chosen by the verifier, not the caller. */
|
|
336
|
+
proofCids?: string[];
|
|
337
|
+
/** When the signed invocation expires, epoch milliseconds. */
|
|
338
|
+
expiresAt?: number;
|
|
339
|
+
/**
|
|
340
|
+
* When it was signed, epoch milliseconds (whole seconds): its `exp` minus
|
|
341
|
+
* its lifetime. Stored as a receipt's `executedAt`, the time it is
|
|
342
|
+
* re-verified at later.
|
|
343
|
+
*/
|
|
344
|
+
signedAt?: number;
|
|
333
345
|
}
|
|
334
346
|
/**
|
|
335
347
|
* Result of executing with an invocation
|
|
@@ -418,8 +430,10 @@ interface CreateInvocationParams {
|
|
|
418
430
|
capability: UcanCapability;
|
|
419
431
|
/** CIDs of proof delegations */
|
|
420
432
|
proofs: string[];
|
|
421
|
-
/** Additional facts/context */
|
|
433
|
+
/** Additional facts/context. A `nonce` is added when absent. */
|
|
422
434
|
facts?: Record<string, unknown>;
|
|
435
|
+
/** Lifetime in seconds; capped at 300 (contract §1, §3). */
|
|
436
|
+
ttlSeconds?: number;
|
|
423
437
|
/** PIN for signing */
|
|
424
438
|
pin: string;
|
|
425
439
|
}
|
|
@@ -523,6 +537,11 @@ interface NodeServiceReport {
|
|
|
523
537
|
}
|
|
524
538
|
interface FlowNodeRuntimeState {
|
|
525
539
|
state?: NodeState;
|
|
540
|
+
/**
|
|
541
|
+
* `requestId` of the signed `step.request` (retry / reset / run this step)
|
|
542
|
+
* in `qi.flow.requests` that put the step in this state (contract §1).
|
|
543
|
+
*/
|
|
544
|
+
requestId?: string;
|
|
526
545
|
output?: Record<string, any>;
|
|
527
546
|
executedByDid?: DID;
|
|
528
547
|
executedAt?: number;
|
|
@@ -874,6 +893,175 @@ declare class TopicActionBridge {
|
|
|
874
893
|
/** Stable digest payload for any DID/UCAN/JWS receipt signer. */
|
|
875
894
|
declare function topicActionReceiptSigningPayload(receipt: UnsignedTopicActionReceiptV2): string;
|
|
876
895
|
|
|
896
|
+
/**
|
|
897
|
+
* Verify flow authority from the SIGNED UCAN CAR, never from the JSON copy.
|
|
898
|
+
*
|
|
899
|
+
* Every grant in the `delegations` map and every receipt in the `invocations`
|
|
900
|
+
* map is stored twice: once as a signed CAR and once as JSON fields
|
|
901
|
+
* (`issuerDid`, `audienceDid`, `capabilities`, `expiration`, `proofCids`)
|
|
902
|
+
* written next to it for display. Anyone who can write to the room can edit
|
|
903
|
+
* the JSON. Only the CAR is signed, so this module reads the CAR and nothing
|
|
904
|
+
* else: a record with no CAR, or whose CAR has a different CID from the key
|
|
905
|
+
* it is stored under, proves nothing and is refused.
|
|
906
|
+
*
|
|
907
|
+
* The chain must lead back to the flow owner, which is the Matrix room
|
|
908
|
+
* creator (see `flowOwner.ts`), never the `root.flowOwnerDid` field.
|
|
909
|
+
*
|
|
910
|
+
* Two time modes:
|
|
911
|
+
* - present (`at` omitted): uses `@ixo/ucan`'s validator, the same code the
|
|
912
|
+
* services use, with an expiry required and revocation checked fail-closed.
|
|
913
|
+
* - past (`at` given): the validator checks `exp` against the wall clock, so
|
|
914
|
+
* a receipt signed yesterday with a 5-minute expiry could never pass it. The
|
|
915
|
+
* past path verifies the same things itself — every signature against the
|
|
916
|
+
* issuer's resolved keys, every link, `nbf <= at < exp` on every node — and
|
|
917
|
+
* reports revocation separately, because "was it valid when it ran" and "is
|
|
918
|
+
* it still valid" are different questions the step panel shows apart.
|
|
919
|
+
*/
|
|
920
|
+
|
|
921
|
+
interface UcanVerificationEnv {
|
|
922
|
+
/** Resolves did:ixo (and other non-did:key) DIDs to their did:key verification keys. */
|
|
923
|
+
didResolver?: DIDKeyResolver;
|
|
924
|
+
/**
|
|
925
|
+
* Asked about every CID in a chain. Required: without it nothing verifies,
|
|
926
|
+
* because a revoked grant must never read as allowed.
|
|
927
|
+
*/
|
|
928
|
+
revocationChecker?: RevocationChecker;
|
|
929
|
+
}
|
|
930
|
+
type ChainFailureCode = 'MISSING_CAR' | 'INVALID_FORMAT' | 'CID_MISMATCH' | 'NO_OWNER' | 'WRONG_AUDIENCE' | 'WRONG_INVOKER' | 'BROKEN_LINK' | 'NOT_ROOTED_AT_OWNER' | 'EXCEEDS_PARENT' | 'CAPABILITY_NOT_COVERED' | 'FACTS_MISMATCH' | 'INVALID_SIGNATURE' | 'EXPIRED' | 'NOT_YET_VALID' | 'NO_EXPIRATION' | 'NO_TIME_ANCHOR' | 'REVOKED' | 'REVOCATION_CHECK_FAILED' | 'NO_REVOCATION_CHECKER' | 'UNAUTHORIZED';
|
|
931
|
+
interface ChainFailure {
|
|
932
|
+
ok: false;
|
|
933
|
+
code: ChainFailureCode;
|
|
934
|
+
/** Plain words, shown to people. */
|
|
935
|
+
reason: string;
|
|
936
|
+
}
|
|
937
|
+
interface SignedCapability {
|
|
938
|
+
can: string;
|
|
939
|
+
with: string;
|
|
940
|
+
nb?: Record<string, unknown>;
|
|
941
|
+
}
|
|
942
|
+
interface VerifiedGrant {
|
|
943
|
+
cid: string;
|
|
944
|
+
issuerDid: string;
|
|
945
|
+
audienceDid: string;
|
|
946
|
+
/** Read off the signed CAR. */
|
|
947
|
+
capabilities: SignedCapability[];
|
|
948
|
+
/** Earliest `exp` across the signed chain, epoch milliseconds. Undefined only on the past path for grants minted without one. */
|
|
949
|
+
expiresAt?: number;
|
|
950
|
+
/** DIDs from the owner (first) to this grant's issuer (last). */
|
|
951
|
+
proofChain: string[];
|
|
952
|
+
/** CIDs of the verified chain, parents first, this grant last. */
|
|
953
|
+
proofChainCids: string[];
|
|
954
|
+
}
|
|
955
|
+
type GrantVerdict = {
|
|
956
|
+
ok: true;
|
|
957
|
+
grant: VerifiedGrant;
|
|
958
|
+
revokedNow?: string;
|
|
959
|
+
} | ChainFailure;
|
|
960
|
+
interface VerifiedInvocation {
|
|
961
|
+
cid: string;
|
|
962
|
+
invokerDid: string;
|
|
963
|
+
audienceDid: string;
|
|
964
|
+
capability: SignedCapability;
|
|
965
|
+
facts: Record<string, unknown>[];
|
|
966
|
+
/** Epoch milliseconds, or undefined for legacy receipts minted with no expiry. */
|
|
967
|
+
expiresAt?: number;
|
|
968
|
+
/** Earliest expiry of the grants it was made under (not the invocation itself), epoch ms; undefined when none expires. */
|
|
969
|
+
grantsExpireAt?: number;
|
|
970
|
+
proofChain: string[];
|
|
971
|
+
proofChainCids: string[];
|
|
972
|
+
}
|
|
973
|
+
type InvocationVerdict = {
|
|
974
|
+
ok: true;
|
|
975
|
+
invocation: VerifiedInvocation;
|
|
976
|
+
/** Set on the past path when a CID in the chain has been revoked since. */
|
|
977
|
+
revokedNow?: string;
|
|
978
|
+
/** Set on the past path for legacy receipts with no `exp`: signatures check out, but the time is only the unsigned record's word. */
|
|
979
|
+
noTimeAnchor?: boolean;
|
|
980
|
+
} | ChainFailure;
|
|
981
|
+
interface VerifyGrantOptions {
|
|
982
|
+
/** The map key the record is stored under. The CAR's own CID must equal it. */
|
|
983
|
+
cid: string;
|
|
984
|
+
actorDid: string;
|
|
985
|
+
ownerDid: string;
|
|
986
|
+
required: {
|
|
987
|
+
can: string;
|
|
988
|
+
with: string;
|
|
989
|
+
};
|
|
990
|
+
env: UcanVerificationEnv;
|
|
991
|
+
/** Epoch ms. Omit for "valid right now". */
|
|
992
|
+
at?: number;
|
|
993
|
+
/**
|
|
994
|
+
* 'exercise' (default): the grant must name the resource exactly or with a
|
|
995
|
+
* trailing `*`, as the flow-manager requires. 'hierarchical': a grant on a
|
|
996
|
+
* resource also covers what is addressed beneath it with `:` — used only to
|
|
997
|
+
* recognise the owner's own `flow/*` root.
|
|
998
|
+
*/
|
|
999
|
+
coverage?: 'exercise' | 'hierarchical';
|
|
1000
|
+
}
|
|
1001
|
+
interface VerifyInvocationOptions {
|
|
1002
|
+
cid: string;
|
|
1003
|
+
expectedAudience: string;
|
|
1004
|
+
ownerDid: string;
|
|
1005
|
+
/** The invoker the record claims. When given, the signed issuer must be this DID. */
|
|
1006
|
+
actorDid?: string;
|
|
1007
|
+
required: {
|
|
1008
|
+
can: string;
|
|
1009
|
+
with: string;
|
|
1010
|
+
};
|
|
1011
|
+
/** Every key here must appear with the same value in one signed fact object. */
|
|
1012
|
+
expectedFacts?: Record<string, unknown>;
|
|
1013
|
+
env: UcanVerificationEnv;
|
|
1014
|
+
at?: number;
|
|
1015
|
+
/**
|
|
1016
|
+
* The flow-manager's fallback for an unfenced action: its invocation of the
|
|
1017
|
+
* action's own ability is covered by a grant of `flow/block/execute` on the
|
|
1018
|
+
* same step. Only for reading the flow-manager's authority records.
|
|
1019
|
+
*/
|
|
1020
|
+
allowBlockExecuteFallback?: boolean;
|
|
1021
|
+
}
|
|
1022
|
+
/** base64 or base64url, the same tolerance as the design-pod verifier. */
|
|
1023
|
+
declare function decodeCarBase64(value: string): Uint8Array;
|
|
1024
|
+
declare function signedCapabilityCovers(parent: SignedCapability, child: SignedCapability): boolean;
|
|
1025
|
+
/**
|
|
1026
|
+
* Whether a grant covers the capability being exercised, the way the
|
|
1027
|
+
* flow-manager's library matcher reads it: the resource must match exactly or
|
|
1028
|
+
* through a trailing `*`. A grant on the bare flow (`ixo:flow:<doc>`) does NOT
|
|
1029
|
+
* cover a step (`ixo:flow:<doc>:<step>`) — step grants name the step or
|
|
1030
|
+
* `ixo:flow:<doc>:*` (contract §7.2). The `:` hierarchy above only applies to
|
|
1031
|
+
* attenuation up the chain (a `flow/*` root on the bare flow may issue step
|
|
1032
|
+
* grants beneath it).
|
|
1033
|
+
*/
|
|
1034
|
+
declare function grantCoversExercise(granted: SignedCapability, required: SignedCapability): boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Verify one grant CAR gives `actorDid` the `required` capability under the
|
|
1037
|
+
* flow owner's authority.
|
|
1038
|
+
*/
|
|
1039
|
+
declare function verifyGrant(car: string | undefined | null, options: VerifyGrantOptions): Promise<GrantVerdict>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Verify a signed invocation (a step receipt or a request proof) exercises
|
|
1042
|
+
* exactly `required`, is addressed to `expectedAudience`, is signed by
|
|
1043
|
+
* `actorDid` when given, carries `expectedFacts`, and chains to the owner.
|
|
1044
|
+
*/
|
|
1045
|
+
declare function verifyInvocation(car: string | undefined | null, options: VerifyInvocationOptions): Promise<InvocationVerdict>;
|
|
1046
|
+
|
|
1047
|
+
/** The host's side of verification: injected as `handlers.ucanVerification`. */
|
|
1048
|
+
interface UcanVerificationHandlers {
|
|
1049
|
+
/** DID → did:key verification keys. The Portal memoizes this for 5 minutes. */
|
|
1050
|
+
didResolver: DIDKeyResolver;
|
|
1051
|
+
/** Base URL of the UCAN store the editor asks about revocations. */
|
|
1052
|
+
revocationStoreUrl: string;
|
|
1053
|
+
}
|
|
1054
|
+
declare function revocationCheckerFor(url: string): RevocationChecker;
|
|
1055
|
+
/**
|
|
1056
|
+
* Build the verification environment from what the host injected. A host
|
|
1057
|
+
* that injected nothing gets an environment with no revocation checker, and
|
|
1058
|
+
* every verification then refuses with "could not confirm the grant was not
|
|
1059
|
+
* cancelled" — never a silent allow.
|
|
1060
|
+
*/
|
|
1061
|
+
declare function ucanVerificationEnvFrom(handlers: {
|
|
1062
|
+
ucanVerification?: UcanVerificationHandlers;
|
|
1063
|
+
} | undefined | null): UcanVerificationEnv;
|
|
1064
|
+
|
|
877
1065
|
interface SelectionActionItem {
|
|
878
1066
|
id: string;
|
|
879
1067
|
label: string;
|
|
@@ -2854,6 +3042,11 @@ interface BlocknoteHandlers {
|
|
|
2854
3042
|
prompt: string;
|
|
2855
3043
|
title?: string;
|
|
2856
3044
|
}) => void | Promise<void>;
|
|
3045
|
+
/**
|
|
3046
|
+
* The host's display name for a raw entity type (e.g. "dao" → "Organisation"),
|
|
3047
|
+
* from its configurable ontology. Blocks fall back to their own label when absent.
|
|
3048
|
+
*/
|
|
3049
|
+
getEntityDisplayName?: (entityType: string) => string;
|
|
2857
3050
|
/**
|
|
2858
3051
|
* Origins whose embeds receive the elevated iframe sandbox
|
|
2859
3052
|
* (`allow-same-origin allow-downloads`) without the per-block
|
|
@@ -4225,10 +4418,33 @@ interface BlocknoteHandlers {
|
|
|
4225
4418
|
};
|
|
4226
4419
|
proofs: string[];
|
|
4227
4420
|
facts?: Record<string, unknown>;
|
|
4421
|
+
/** Unix seconds. Omitted means the invocation never expires (legacy). */
|
|
4422
|
+
expiration?: number;
|
|
4228
4423
|
}) => Promise<{
|
|
4229
4424
|
cid: string;
|
|
4230
4425
|
invocation: string;
|
|
4231
4426
|
}>;
|
|
4427
|
+
/**
|
|
4428
|
+
* What the editor needs to verify signed UCANs itself: a resolver from a
|
|
4429
|
+
* DID to its did:key verification keys (the host memoizes it), and the
|
|
4430
|
+
* UCAN store's base URL, which the editor asks whether a grant was
|
|
4431
|
+
* cancelled. Without it no grant verifies — the editor fails closed.
|
|
4432
|
+
*/
|
|
4433
|
+
ucanVerification?: UcanVerificationHandlers;
|
|
4434
|
+
/**
|
|
4435
|
+
* The flow-manager's ORACLE_DID for this network: the audience of every
|
|
4436
|
+
* signed request a person makes of it (contract §1). Without it no request
|
|
4437
|
+
* proof is written.
|
|
4438
|
+
*/
|
|
4439
|
+
getFlowManagerDid?: () => string;
|
|
4440
|
+
/**
|
|
4441
|
+
* Revoke a signed delegation in the host's UCAN store. The editor removes
|
|
4442
|
+
* the entry from the document only after this resolves.
|
|
4443
|
+
*/
|
|
4444
|
+
revokeDelegation?: (params: {
|
|
4445
|
+
cid: string;
|
|
4446
|
+
token: string;
|
|
4447
|
+
}) => Promise<void>;
|
|
4232
4448
|
/**
|
|
4233
4449
|
* Validate an MCP server URL and optionally authenticate with it.
|
|
4234
4450
|
* Returns the list of tools the server exposes on success.
|
|
@@ -4750,6 +4966,10 @@ interface RunMeta {
|
|
|
4750
4966
|
blockIds: string[];
|
|
4751
4967
|
defHash?: string;
|
|
4752
4968
|
};
|
|
4969
|
+
/** `requestId` of the requester's signed start request in `qi.flow.requests` (contract §1). */
|
|
4970
|
+
startRequestId?: string;
|
|
4971
|
+
/** `requestId` of the requester's signed close/cancel request. */
|
|
4972
|
+
closeRequestId?: string;
|
|
4753
4973
|
}
|
|
4754
4974
|
interface RunTerminalRecord {
|
|
4755
4975
|
status: 'closed' | 'cancelled';
|
|
@@ -5241,172 +5461,653 @@ interface RunTerminalAuthorizationProof {
|
|
|
5241
5461
|
/** Build the canonical authorization envelope shared by action and Portal close paths. */
|
|
5242
5462
|
declare function createRunTerminalAuthorizationProof(params: Omit<RunTerminalAuthorizationProof, 'actionType'>): RunTerminalAuthorizationProof;
|
|
5243
5463
|
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5464
|
+
/**
|
|
5465
|
+
* UCAN Delegation Store — stores CAR-serialized delegations
|
|
5466
|
+
*/
|
|
5467
|
+
interface UcanDelegationStore {
|
|
5468
|
+
get: (cid: string) => StoredDelegation | null;
|
|
5469
|
+
set: (delegation: StoredDelegation) => void;
|
|
5470
|
+
remove: (cid: string) => void;
|
|
5471
|
+
has: (cid: string) => boolean;
|
|
5472
|
+
getRoot: () => StoredDelegation | null;
|
|
5473
|
+
setRootCid: (cid: string) => void;
|
|
5474
|
+
getRootCid: () => string | null;
|
|
5475
|
+
getAll: () => StoredDelegation[];
|
|
5476
|
+
getByAudience: (audienceDid: string) => StoredDelegation[];
|
|
5477
|
+
getByIssuer: (issuerDid: string) => StoredDelegation[];
|
|
5478
|
+
findByCapability: (can: string, withUri: string) => StoredDelegation[];
|
|
5247
5479
|
}
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
summary?: RunJsonObject;
|
|
5266
|
-
authorization?: RunJsonObject;
|
|
5267
|
-
};
|
|
5268
|
-
idempotencyKey: string;
|
|
5269
|
-
ts?: number;
|
|
5270
|
-
blockId?: never;
|
|
5271
|
-
} | {
|
|
5272
|
-
runId: string;
|
|
5273
|
-
kind: 'run.cancelled';
|
|
5274
|
-
payload: {
|
|
5275
|
-
invocationCid?: string;
|
|
5276
|
-
actorDid?: string;
|
|
5277
|
-
reason?: string;
|
|
5278
|
-
summary?: RunJsonObject;
|
|
5279
|
-
authorization?: RunJsonObject;
|
|
5280
|
-
};
|
|
5281
|
-
idempotencyKey: string;
|
|
5282
|
-
ts?: number;
|
|
5283
|
-
blockId?: never;
|
|
5480
|
+
/**
|
|
5481
|
+
* Create a UCAN delegation store backed by Y.Map
|
|
5482
|
+
*/
|
|
5483
|
+
declare const createUcanDelegationStore: (yMap: Map<unknown>) => UcanDelegationStore;
|
|
5484
|
+
/**
|
|
5485
|
+
* Create an in-memory UCAN delegation store (for testing)
|
|
5486
|
+
*/
|
|
5487
|
+
declare const createMemoryUcanDelegationStore: () => UcanDelegationStore;
|
|
5488
|
+
|
|
5489
|
+
declare const AUTHORITY_RECHECK_MS = 30000;
|
|
5490
|
+
type AuthorityDecision = {
|
|
5491
|
+
allowed: true;
|
|
5492
|
+
/** Grant CID first, then its parents present in the store — the order invocations staple them. */
|
|
5493
|
+
proofCids: string[];
|
|
5494
|
+
/** Absent when the actor is the room creator acting on their own authority. */
|
|
5495
|
+
grant?: VerifiedGrant;
|
|
5496
|
+
viaOwner: boolean;
|
|
5284
5497
|
} | {
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
previousRevision?: string;
|
|
5290
|
-
changedBlockIds?: string[];
|
|
5291
|
-
summary?: string;
|
|
5292
|
-
};
|
|
5293
|
-
idempotencyKey: string;
|
|
5294
|
-
ts?: number;
|
|
5295
|
-
blockId?: never;
|
|
5498
|
+
allowed: false;
|
|
5499
|
+
code: ChainFailureCode | 'NO_GRANT' | 'NOT_A_FLOW_CAPABILITY';
|
|
5500
|
+
/** Plain words, shown to people. */
|
|
5501
|
+
reason: string;
|
|
5296
5502
|
};
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5503
|
+
interface FlowAuthorityIndex {
|
|
5504
|
+
authorize(actorDid: string, capability: UcanCapability): Promise<AuthorityDecision>;
|
|
5505
|
+
/** The cached decision, or `undefined` while it has not been worked out (loading). */
|
|
5506
|
+
peek(actorDid: string, capability: UcanCapability): AuthorityDecision | undefined;
|
|
5507
|
+
invalidate(): void;
|
|
5508
|
+
/** Called after invalidate() and whenever a new decision is cached. */
|
|
5509
|
+
subscribe(listener: () => void): () => void;
|
|
5510
|
+
}
|
|
5511
|
+
interface FlowAuthorityIndexOptions {
|
|
5512
|
+
delegationStore: UcanDelegationStore;
|
|
5513
|
+
/** Read on every check: the room may finish loading after the index is made. */
|
|
5514
|
+
getOwnerDid: () => string;
|
|
5515
|
+
/** `ixo:flow:<doc_id>`. A function when the doc id can change (it loads late; a Design POD pins it to the room id). */
|
|
5516
|
+
flowUri: string | (() => string);
|
|
5517
|
+
env: UcanVerificationEnv;
|
|
5518
|
+
now?: () => number;
|
|
5519
|
+
}
|
|
5520
|
+
declare function createFlowAuthorityIndex(options: FlowAuthorityIndexOptions): FlowAuthorityIndex;
|
|
5521
|
+
|
|
5522
|
+
/**
|
|
5523
|
+
* Re-verify step receipts (the `invocations` map) from their signed CARs.
|
|
5524
|
+
*
|
|
5525
|
+
* A completed step used to count as done when the `invocations` map held a
|
|
5526
|
+
* record saying `{ result: 'success', blockId }` — a record any room member
|
|
5527
|
+
* could write. A receipt now counts only when its CAR verifies: signed by the
|
|
5528
|
+
* recorded actor, addressed to the room creator, for exactly this step,
|
|
5529
|
+
* chained to the creator, and valid at the time it was signed (receipts live
|
|
5530
|
+
* five minutes, so they are checked as of their signing time, contract §3).
|
|
5531
|
+
*
|
|
5532
|
+
* Verification is asynchronous and the completion checks that read it are
|
|
5533
|
+
* not, so this keeps a cache and answers `pending` until the answer is known,
|
|
5534
|
+
* then tells subscribers to re-read.
|
|
5535
|
+
*/
|
|
5536
|
+
|
|
5537
|
+
type ReceiptStatus = {
|
|
5538
|
+
status: 'verified';
|
|
5539
|
+
noTimeAnchor?: boolean;
|
|
5320
5540
|
} | {
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
payload: {
|
|
5325
|
-
attempt: number;
|
|
5326
|
-
executionId?: string;
|
|
5327
|
-
durationMs?: number;
|
|
5328
|
-
output?: RunJsonValue;
|
|
5329
|
-
};
|
|
5330
|
-
idempotencyKey: string;
|
|
5331
|
-
ts?: number;
|
|
5541
|
+
status: 'unverified';
|
|
5542
|
+
reason: string;
|
|
5543
|
+
revokedSince?: boolean;
|
|
5332
5544
|
} | {
|
|
5333
|
-
|
|
5334
|
-
blockId: string;
|
|
5335
|
-
kind: 'action.failed';
|
|
5336
|
-
payload: {
|
|
5337
|
-
attempt: number;
|
|
5338
|
-
executionId?: string;
|
|
5339
|
-
durationMs?: number;
|
|
5340
|
-
error: {
|
|
5341
|
-
message: string;
|
|
5342
|
-
name?: string;
|
|
5343
|
-
code?: string;
|
|
5344
|
-
retryable?: boolean;
|
|
5345
|
-
details?: RunJsonValue;
|
|
5346
|
-
};
|
|
5347
|
-
};
|
|
5348
|
-
idempotencyKey: string;
|
|
5349
|
-
ts?: number;
|
|
5350
|
-
};
|
|
5351
|
-
type RunLogEventInput = {
|
|
5352
|
-
runId: string;
|
|
5353
|
-
blockId?: string;
|
|
5354
|
-
kind: 'log';
|
|
5355
|
-
payload: {
|
|
5356
|
-
level: 'debug' | 'info' | 'warn' | 'error';
|
|
5357
|
-
message: string;
|
|
5358
|
-
data?: RunJsonValue;
|
|
5359
|
-
};
|
|
5360
|
-
idempotencyKey: string;
|
|
5361
|
-
ts?: number;
|
|
5545
|
+
status: 'pending';
|
|
5362
5546
|
};
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
interface RunEventAppender {
|
|
5366
|
-
append(event: RunEventInput): Promise<string>;
|
|
5367
|
-
/**
|
|
5368
|
-
* Matrix-backed implementations expose ordered readback. Governed actions
|
|
5369
|
-
* use this to select the first server-persisted claim across disconnected
|
|
5370
|
-
* Portal clients before an irreversible side effect.
|
|
5371
|
-
*/
|
|
5372
|
-
read?(runId: string, options: {
|
|
5373
|
-
direction: 'forward' | 'backward';
|
|
5374
|
-
limit: number;
|
|
5375
|
-
from?: string;
|
|
5376
|
-
}): Promise<{
|
|
5377
|
-
events: Array<{
|
|
5378
|
-
eventId: string;
|
|
5379
|
-
originServerTs: number;
|
|
5380
|
-
content: RunEventInput;
|
|
5381
|
-
}>;
|
|
5382
|
-
nextToken?: string;
|
|
5383
|
-
}>;
|
|
5384
|
-
}
|
|
5385
|
-
type RunLifecycleCapability = 'flow/run.start' | 'flow/run.close';
|
|
5386
|
-
interface RunLifecycleAuthorizationRequest {
|
|
5387
|
-
can: RunLifecycleCapability;
|
|
5388
|
-
with: string;
|
|
5389
|
-
actorDid: string;
|
|
5390
|
-
runId?: string;
|
|
5391
|
-
}
|
|
5392
|
-
interface RunLifecycleAuthorizationDecision {
|
|
5393
|
-
allowed: boolean;
|
|
5394
|
-
reason?: string;
|
|
5395
|
-
invocationCid?: string;
|
|
5396
|
-
}
|
|
5397
|
-
type RunLifecycleAuthorizer = (request: RunLifecycleAuthorizationRequest) => Promise<RunLifecycleAuthorizationDecision> | RunLifecycleAuthorizationDecision;
|
|
5398
|
-
interface RunManifest {
|
|
5399
|
-
blockIds: string[];
|
|
5400
|
-
defHash: string;
|
|
5547
|
+
interface ReceiptExpectation {
|
|
5548
|
+
blockId: string;
|
|
5401
5549
|
}
|
|
5402
|
-
interface
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5550
|
+
interface ReceiptVerifier {
|
|
5551
|
+
/** Cached answer, starting a verification when there is none. */
|
|
5552
|
+
check(invocation: StoredInvocation, expected: ReceiptExpectation): ReceiptStatus;
|
|
5553
|
+
/** Full answer. */
|
|
5554
|
+
verify(invocation: StoredInvocation, expected: ReceiptExpectation): Promise<ReceiptStatus>;
|
|
5555
|
+
/**
|
|
5556
|
+
* Record a verdict reached elsewhere. The executor verifies every receipt it
|
|
5557
|
+
* mints (from the CAR, at signing time) before it runs the step; it hands
|
|
5558
|
+
* that verdict over so the reconcile that follows can fire triggers at once
|
|
5559
|
+
* instead of waiting for a second verification of the same bytes.
|
|
5560
|
+
*/
|
|
5561
|
+
remember(invocation: StoredInvocation, expected: ReceiptExpectation, status: ReceiptStatus): void;
|
|
5562
|
+
subscribe(listener: () => void): () => void;
|
|
5563
|
+
}
|
|
5564
|
+
interface ReceiptVerifierOptions {
|
|
5565
|
+
getOwnerDid: () => string;
|
|
5566
|
+
/** `ixo:flow:<doc_id>`, or a function reading it live. */
|
|
5567
|
+
flowUri: string | (() => string);
|
|
5568
|
+
env: UcanVerificationEnv;
|
|
5569
|
+
now?: () => number;
|
|
5570
|
+
/** How long an answer is reused. Revocation can change it; nothing else can. */
|
|
5571
|
+
ttlMs?: number;
|
|
5407
5572
|
}
|
|
5408
|
-
|
|
5409
|
-
|
|
5573
|
+
declare function createReceiptVerifier(options: ReceiptVerifierOptions): ReceiptVerifier;
|
|
5574
|
+
|
|
5575
|
+
/**
|
|
5576
|
+
* Invocation Store for storing and querying invocations
|
|
5577
|
+
*
|
|
5578
|
+
* Invocations are stored for:
|
|
5579
|
+
* - Audit trail: Cryptographic proof of who did what, when, with what authority
|
|
5580
|
+
* - Replay protection: Prevent same invocation being used twice
|
|
5581
|
+
* - Dispute resolution: Evidence if actions are contested
|
|
5582
|
+
* - Blockchain submission: Submit proofs to chain for immutable record
|
|
5583
|
+
* - Analytics: Understand flow execution patterns
|
|
5584
|
+
*/
|
|
5585
|
+
interface InvocationStore {
|
|
5586
|
+
add: (invocation: StoredInvocation) => void;
|
|
5587
|
+
get: (cid: string) => StoredInvocation | null;
|
|
5588
|
+
remove: (cid: string) => void;
|
|
5589
|
+
getAll: () => StoredInvocation[];
|
|
5590
|
+
getByInvoker: (invokerDid: string) => StoredInvocation[];
|
|
5591
|
+
getByFlow: (flowId: string) => StoredInvocation[];
|
|
5592
|
+
getByBlock: (flowId: string, blockId: string) => StoredInvocation[];
|
|
5593
|
+
getByCapability: (can: string, withUri: string) => StoredInvocation[];
|
|
5594
|
+
hasBeenInvoked: (cid: string) => boolean;
|
|
5595
|
+
getInDateRange: (startMs: number, endMs: number) => StoredInvocation[];
|
|
5596
|
+
getSuccessful: () => StoredInvocation[];
|
|
5597
|
+
getFailures: () => StoredInvocation[];
|
|
5598
|
+
getPendingSubmission: () => StoredInvocation[];
|
|
5599
|
+
markSubmitted: (cid: string, transactionHash: string) => void;
|
|
5600
|
+
getCount: () => number;
|
|
5601
|
+
getCountByResult: () => {
|
|
5602
|
+
success: number;
|
|
5603
|
+
failure: number;
|
|
5604
|
+
};
|
|
5605
|
+
}
|
|
5606
|
+
/**
|
|
5607
|
+
* Create an invocation store backed by Y.Map
|
|
5608
|
+
*/
|
|
5609
|
+
declare const createInvocationStore: (yMap: Map<unknown>) => InvocationStore;
|
|
5610
|
+
/**
|
|
5611
|
+
* Create an in-memory invocation store (for testing)
|
|
5612
|
+
*/
|
|
5613
|
+
declare const createMemoryInvocationStore: () => InvocationStore;
|
|
5614
|
+
|
|
5615
|
+
/**
|
|
5616
|
+
* UCAN Service using @ixo/ucan directly
|
|
5617
|
+
*
|
|
5618
|
+
* This service provides a high-level API for:
|
|
5619
|
+
* - Creating and managing delegations (CAR format)
|
|
5620
|
+
* - Creating and validating invocations
|
|
5621
|
+
* - Executing actions with invocation-based authorization
|
|
5622
|
+
*
|
|
5623
|
+
* The host app only needs to provide the signer (private key) after PIN decryption.
|
|
5624
|
+
* All UCAN operations are performed using @ixo/ucan directly.
|
|
5625
|
+
*/
|
|
5626
|
+
|
|
5627
|
+
/**
|
|
5628
|
+
* Signer session scope type
|
|
5629
|
+
*/
|
|
5630
|
+
type SignerSessionScope = 'session' | 'operation';
|
|
5631
|
+
/**
|
|
5632
|
+
* Signer session returned by createSignerSession
|
|
5633
|
+
*/
|
|
5634
|
+
interface SignerSessionInfo {
|
|
5635
|
+
sessionId: string;
|
|
5636
|
+
did: string;
|
|
5637
|
+
publicKey: string;
|
|
5638
|
+
keyId: string;
|
|
5639
|
+
expiresAt: number;
|
|
5640
|
+
scope: SignerSessionScope;
|
|
5641
|
+
}
|
|
5642
|
+
/**
|
|
5643
|
+
* Handler functions for getting signers from the host application
|
|
5644
|
+
* The host app handles PIN decryption and key management
|
|
5645
|
+
*/
|
|
5646
|
+
interface UcanServiceHandlers {
|
|
5647
|
+
/**
|
|
5648
|
+
* Get a signer for the given DID after PIN verification
|
|
5649
|
+
* The host app decrypts the private key using the PIN
|
|
5650
|
+
*
|
|
5651
|
+
* @returns The private key in multibase format (for parseSigner)
|
|
5652
|
+
* @deprecated Prefer createSignerSession for better security
|
|
5653
|
+
*/
|
|
5654
|
+
getPrivateKey?: (params: {
|
|
5655
|
+
did: string;
|
|
5656
|
+
didType: 'entity' | 'user';
|
|
5657
|
+
entityRoomId?: string;
|
|
5658
|
+
pin: string;
|
|
5659
|
+
}) => Promise<string>;
|
|
5660
|
+
/**
|
|
5661
|
+
* Get a signer from mnemonic (alternative to getPrivateKey)
|
|
5662
|
+
* The host app retrieves and decrypts the mnemonic using the PIN
|
|
5663
|
+
*
|
|
5664
|
+
* @returns The mnemonic phrase
|
|
5665
|
+
* @deprecated Prefer createSignerSession for better security
|
|
5666
|
+
*/
|
|
5667
|
+
getMnemonic?: (params: {
|
|
5668
|
+
did: string;
|
|
5669
|
+
didType: 'entity' | 'user';
|
|
5670
|
+
entityRoomId?: string;
|
|
5671
|
+
pin: string;
|
|
5672
|
+
}) => Promise<string>;
|
|
5673
|
+
/** Return a reusable in-memory signer session for this DID, if one exists. */
|
|
5674
|
+
getActiveSignerSession?: (params: {
|
|
5675
|
+
did: string;
|
|
5676
|
+
}) => Promise<SignerSessionInfo | null>;
|
|
5677
|
+
/**
|
|
5678
|
+
* Create a signer session that can be used for multiple sign operations.
|
|
5679
|
+
* The host app keeps the key material secure; the editor only receives an opaque handle.
|
|
5680
|
+
*
|
|
5681
|
+
* @param params.scope - 'session' for multiple operations, 'operation' for one-time use
|
|
5682
|
+
* @param params.ttlSeconds - Time-to-live for session scope (default: 300, max: 3600)
|
|
5683
|
+
*/
|
|
5684
|
+
createSignerSession?: (params: {
|
|
5685
|
+
did: string;
|
|
5686
|
+
didType: 'entity' | 'user';
|
|
5687
|
+
entityRoomId?: string;
|
|
5688
|
+
pin: string;
|
|
5689
|
+
scope: SignerSessionScope;
|
|
5690
|
+
ttlSeconds?: number;
|
|
5691
|
+
}) => Promise<SignerSessionInfo>;
|
|
5692
|
+
/**
|
|
5693
|
+
* Sign data using an existing session.
|
|
5694
|
+
* For 'operation' scope, the session is automatically invalidated after this call.
|
|
5695
|
+
*/
|
|
5696
|
+
signWithSession?: (params: {
|
|
5697
|
+
sessionId: string;
|
|
5698
|
+
data: string;
|
|
5699
|
+
algorithm?: 'Ed25519';
|
|
5700
|
+
}) => Promise<{
|
|
5701
|
+
signature: string;
|
|
5702
|
+
algorithm: 'Ed25519';
|
|
5703
|
+
keyId: string;
|
|
5704
|
+
}>;
|
|
5705
|
+
/**
|
|
5706
|
+
* Release a session before it expires.
|
|
5707
|
+
* Safe to call on already-released or expired sessions.
|
|
5708
|
+
*/
|
|
5709
|
+
releaseSignerSession?: (params: {
|
|
5710
|
+
sessionId: string;
|
|
5711
|
+
}) => Promise<{
|
|
5712
|
+
released: boolean;
|
|
5713
|
+
reason?: string;
|
|
5714
|
+
}>;
|
|
5715
|
+
/**
|
|
5716
|
+
* Create a delegation directly in the host app.
|
|
5717
|
+
* The host handles all signing internally using session-based signing.
|
|
5718
|
+
* @deprecated Use createDelegation on BlocknoteHandlers instead.
|
|
5719
|
+
*/
|
|
5720
|
+
createDelegationWithSession?: (params: {
|
|
5721
|
+
sessionId: string;
|
|
5722
|
+
audience: string;
|
|
5723
|
+
capabilities: Array<{
|
|
5724
|
+
can: string;
|
|
5725
|
+
with: string;
|
|
5726
|
+
nb?: Record<string, unknown>;
|
|
5727
|
+
}>;
|
|
5728
|
+
proofs?: string[];
|
|
5729
|
+
expiration?: number;
|
|
5730
|
+
}) => Promise<{
|
|
5731
|
+
cid: string;
|
|
5732
|
+
delegation: string;
|
|
5733
|
+
}>;
|
|
5734
|
+
/**
|
|
5735
|
+
* Create an invocation directly in the host app.
|
|
5736
|
+
* The host handles all signing internally using session-based signing.
|
|
5737
|
+
* @deprecated Use createInvocation on BlocknoteHandlers instead.
|
|
5738
|
+
*/
|
|
5739
|
+
createInvocationWithSession?: (params: {
|
|
5740
|
+
sessionId: string;
|
|
5741
|
+
audience: string;
|
|
5742
|
+
capability: {
|
|
5743
|
+
can: string;
|
|
5744
|
+
with: string;
|
|
5745
|
+
nb?: Record<string, unknown>;
|
|
5746
|
+
};
|
|
5747
|
+
proofs: string[];
|
|
5748
|
+
facts?: Record<string, unknown>;
|
|
5749
|
+
/** Unix seconds. Omitted means the invocation never expires (legacy). */
|
|
5750
|
+
expiration?: number;
|
|
5751
|
+
}) => Promise<{
|
|
5752
|
+
cid: string;
|
|
5753
|
+
invocation: string;
|
|
5754
|
+
}>;
|
|
5755
|
+
/**
|
|
5756
|
+
* Revoke a signed delegation where verifiers look (the host's UCAN store).
|
|
5757
|
+
* Must reject when the revocation did not land; the delegation then stays.
|
|
5758
|
+
*/
|
|
5759
|
+
revokeDelegation?: (params: {
|
|
5760
|
+
cid: string;
|
|
5761
|
+
token: string;
|
|
5762
|
+
}) => Promise<void>;
|
|
5763
|
+
}
|
|
5764
|
+
/**
|
|
5765
|
+
* Configuration for UcanService
|
|
5766
|
+
*/
|
|
5767
|
+
interface UcanServiceConfig {
|
|
5768
|
+
delegationStore: UcanDelegationStore;
|
|
5769
|
+
invocationStore: InvocationStore;
|
|
5770
|
+
handlers: UcanServiceHandlers;
|
|
5771
|
+
/** The room creator (see core/lib/flowOwner.ts). Never the doc's flowOwnerDid copy. */
|
|
5772
|
+
flowOwnerDid: string;
|
|
5773
|
+
flowUri: string;
|
|
5774
|
+
/**
|
|
5775
|
+
* Decides who may do what from the signed grants. Without it nothing is
|
|
5776
|
+
* authorized: the service never falls back to the JSON copies.
|
|
5777
|
+
*/
|
|
5778
|
+
authority?: FlowAuthorityIndex;
|
|
5779
|
+
/** DID resolver and revocation checker used to verify every invocation this service mints. */
|
|
5780
|
+
verification?: UcanVerificationEnv;
|
|
5781
|
+
/** Re-verifies stored step receipts from their CARs (completion and trigger checks read it). */
|
|
5782
|
+
receipts?: ReceiptVerifier;
|
|
5783
|
+
}
|
|
5784
|
+
/**
|
|
5785
|
+
* UCAN Service interface
|
|
5786
|
+
*/
|
|
5787
|
+
interface UcanService {
|
|
5788
|
+
createRootDelegation: (params: CreateRootDelegationParams) => Promise<StoredDelegation>;
|
|
5789
|
+
createDelegation: (params: CreateDelegationParams) => Promise<StoredDelegation>;
|
|
5790
|
+
/** Revokes through the host first, then removes locally. Rejects (and removes nothing) when the host cannot revoke. */
|
|
5791
|
+
revokeDelegation: (cid: string) => Promise<void>;
|
|
5792
|
+
getDelegation: (cid: string) => StoredDelegation | null;
|
|
5793
|
+
getAllDelegations: () => StoredDelegation[];
|
|
5794
|
+
getRootDelegation: () => StoredDelegation | null;
|
|
5795
|
+
createAndValidateInvocation: (params: CreateInvocationParams, flowId: string, blockId?: string) => Promise<InvocationResult>;
|
|
5796
|
+
executeWithInvocation: <T>(params: CreateInvocationParams, action: () => Promise<T>, flowId: string, blockId?: string, sessionRunId?: string) => Promise<ExecutionWithInvocationResult & {
|
|
5797
|
+
actionResult?: T;
|
|
5798
|
+
}>;
|
|
5799
|
+
validateDelegationChain: (audienceDid: string, capability: UcanCapability) => Promise<DelegationChainValidationResult>;
|
|
5800
|
+
findValidProofs: (audienceDid: string, capability: UcanCapability) => Promise<FindProofsResult>;
|
|
5801
|
+
parseDelegationFromStore: (cid: string) => Promise<Delegation | null>;
|
|
5802
|
+
isConfigured: () => boolean;
|
|
5803
|
+
/** The signed-grant authority behind findValidProofs, for synchronous reads with a loading state. */
|
|
5804
|
+
authority?: FlowAuthorityIndex;
|
|
5805
|
+
/** The verification environment every invocation this service mints is checked with. */
|
|
5806
|
+
verification?: UcanVerificationEnv;
|
|
5807
|
+
/** Receipt re-verification, shared by completion checks and trigger reconciliation. */
|
|
5808
|
+
receipts?: ReceiptVerifier;
|
|
5809
|
+
/**
|
|
5810
|
+
* Sign a requester proof addressed to the flow-manager (contract §1): run
|
|
5811
|
+
* start/close, step request, input answer or schedule arm. Refused unless
|
|
5812
|
+
* the requester holds the capability; verified before it is returned.
|
|
5813
|
+
*/
|
|
5814
|
+
createRequestInvocation: (params: CreateFlowRequestParams) => Promise<FlowRequestRecordV1>;
|
|
5815
|
+
}
|
|
5816
|
+
declare const createUcanService: (config: UcanServiceConfig) => UcanService;
|
|
5817
|
+
|
|
5818
|
+
/**
|
|
5819
|
+
* Requester proofs: who asked for something the flow-manager does (contract §1).
|
|
5820
|
+
*
|
|
5821
|
+
* When a person starts or closes a session, asks for a step to be (re)run,
|
|
5822
|
+
* answers an input request, or arms a schedule, the flow-manager acts on it
|
|
5823
|
+
* later, as itself. Until now nothing recorded who asked in a form anyone
|
|
5824
|
+
* could check. Each such request is now a UCAN invocation signed by the
|
|
5825
|
+
* requester, addressed to the flow-manager, exercising exactly the capability
|
|
5826
|
+
* the request needs, with the request's details bound in its signed facts and
|
|
5827
|
+
* a five-minute expiry. It is stored in the Y.Doc map `qi.flow.requests`,
|
|
5828
|
+
* keyed by the invocation's CID, and the thing it authorizes points back at
|
|
5829
|
+
* it by `requestId`.
|
|
5830
|
+
*/
|
|
5831
|
+
|
|
5832
|
+
declare const FLOW_REQUESTS_MAP_KEY = "qi.flow.requests";
|
|
5833
|
+
type FlowRequestKind = 'run.start' | 'run.close' | 'step.request' | 'input.respond' | 'schedule.arm';
|
|
5834
|
+
interface FlowRequestRecordV1 {
|
|
5835
|
+
v: 1;
|
|
5836
|
+
requestId: string;
|
|
5837
|
+
kind: FlowRequestKind;
|
|
5838
|
+
/** '' for a schedule arm, which is not about a run. */
|
|
5839
|
+
runId: string;
|
|
5840
|
+
stepId?: string;
|
|
5841
|
+
requesterDid: string;
|
|
5842
|
+
invocationCid: string;
|
|
5843
|
+
/** Base64 CAR, including the proof blocks. */
|
|
5844
|
+
invocation: string;
|
|
5845
|
+
createdAt: number;
|
|
5846
|
+
}
|
|
5847
|
+
/** The signed facts object (contract §1). */
|
|
5848
|
+
interface FlowRequestFactsV1 {
|
|
5849
|
+
type: 'qi.flow.request';
|
|
5850
|
+
v: 1;
|
|
5851
|
+
kind: FlowRequestKind;
|
|
5852
|
+
roomId: string;
|
|
5853
|
+
docId: string;
|
|
5854
|
+
/** Absent for a schedule arm. */
|
|
5855
|
+
runId?: string;
|
|
5856
|
+
stepId?: string;
|
|
5857
|
+
defHash: string;
|
|
5858
|
+
inputDigest?: string;
|
|
5859
|
+
requestId: string;
|
|
5860
|
+
answerDigest?: string;
|
|
5861
|
+
requestEventId?: string;
|
|
5862
|
+
scheduleId?: string;
|
|
5863
|
+
scheduleRevision?: number;
|
|
5864
|
+
nonce: string;
|
|
5865
|
+
}
|
|
5866
|
+
interface CreateFlowRequestParams {
|
|
5867
|
+
kind: FlowRequestKind;
|
|
5868
|
+
requesterDid: string;
|
|
5869
|
+
/** The flow-manager's ORACLE_DID: the audience of every request. */
|
|
5870
|
+
flowManagerDid: string;
|
|
5871
|
+
roomId: string;
|
|
5872
|
+
docId: string;
|
|
5873
|
+
/** Required for every kind but `schedule.arm`. */
|
|
5874
|
+
runId?: string;
|
|
5875
|
+
stepId?: string;
|
|
5876
|
+
/** Hash of the flow definition the request was made against. */
|
|
5877
|
+
defHash: string;
|
|
5878
|
+
/** Inputs the request binds. Digested as `sha256:<hex>` of their RFC 8785 JSON. */
|
|
5879
|
+
input?: unknown;
|
|
5880
|
+
answerDigest?: string;
|
|
5881
|
+
requestEventId?: string;
|
|
5882
|
+
scheduleId?: string;
|
|
5883
|
+
scheduleRevision?: number;
|
|
5884
|
+
pin: string;
|
|
5885
|
+
/** Defaults to a fresh random id. */
|
|
5886
|
+
requestId?: string;
|
|
5887
|
+
now?: () => number;
|
|
5888
|
+
}
|
|
5889
|
+
/** The one capability each kind of request exercises (contract §1). */
|
|
5890
|
+
declare function capabilityForRequest(kind: FlowRequestKind, docId: string, stepId?: string): UcanCapability;
|
|
5891
|
+
/** `sha256:<hex>` of the value's RFC 8785 canonical JSON — what `inputDigest` and `answerDigest` hold. */
|
|
5892
|
+
declare function digestRequestValue(value: unknown): Promise<string>;
|
|
5893
|
+
/**
|
|
5894
|
+
* `answerDigest` for an input response: the digest of the whole
|
|
5895
|
+
* `ixo.flow.work.input.response` content EXCEPT its `authorization` key
|
|
5896
|
+
* (which carries this very invocation, contract §7.1).
|
|
5897
|
+
*/
|
|
5898
|
+
declare function digestInputResponse(content: Record<string, unknown>): Promise<string>;
|
|
5899
|
+
/**
|
|
5900
|
+
* Sign a request as its requester. The service refuses a requester who does
|
|
5901
|
+
* not hold the capability (checked from signed grants) and verifies the
|
|
5902
|
+
* invocation it minted before returning it.
|
|
5903
|
+
*/
|
|
5904
|
+
declare function createFlowRequest(ucanService: UcanService, params: CreateFlowRequestParams): Promise<FlowRequestRecordV1>;
|
|
5905
|
+
declare function writeFlowRequest(yDoc: Doc, record: FlowRequestRecordV1): void;
|
|
5906
|
+
declare function readFlowRequest(yDoc: Doc, requestId: string): FlowRequestRecordV1 | undefined;
|
|
5907
|
+
/**
|
|
5908
|
+
* A run start/close proof signer for `startRun` / `migrateFlowToSessions` /
|
|
5909
|
+
* `closeRun` / `cancelRun` (`requestProof`). The PIN is asked for only when
|
|
5910
|
+
* the signer needs it, and only once the run id is known.
|
|
5911
|
+
*/
|
|
5912
|
+
declare function lifecycleRequestProof(options: {
|
|
5913
|
+
ucanService: UcanService;
|
|
5914
|
+
kind: 'run.start' | 'run.close';
|
|
5915
|
+
requesterDid: string;
|
|
5916
|
+
flowManagerDid: string;
|
|
5917
|
+
roomId: string;
|
|
5918
|
+
docId: string;
|
|
5919
|
+
/** Resolve the PIN to sign with ('' when a signer is already unlocked). */
|
|
5920
|
+
getPin: () => Promise<string>;
|
|
5921
|
+
}): (context: {
|
|
5922
|
+
runId: string;
|
|
5923
|
+
defHash: string;
|
|
5924
|
+
}) => Promise<FlowRequestRecordV1>;
|
|
5925
|
+
/**
|
|
5926
|
+
* Ask for a step to be run again (retry / reset) as a signed `step.request`
|
|
5927
|
+
* (contract §1). The step is reset to idle in the run with `requestId`
|
|
5928
|
+
* pointing at the request, so the flow-manager picks it up on the word of the
|
|
5929
|
+
* person who asked — and only if that person is allowed on the step (the
|
|
5930
|
+
* service refuses to sign otherwise). `input`, when given, is bound by
|
|
5931
|
+
* `inputDigest` (decision 4: only manual steps take requested inputs).
|
|
5932
|
+
*/
|
|
5933
|
+
declare function requestStepRun(yDoc: Doc, params: {
|
|
5934
|
+
ucanService: UcanService;
|
|
5935
|
+
runId: string;
|
|
5936
|
+
stepId: string;
|
|
5937
|
+
requesterDid: string;
|
|
5938
|
+
flowManagerDid: string;
|
|
5939
|
+
roomId: string;
|
|
5940
|
+
pin: string;
|
|
5941
|
+
input?: unknown;
|
|
5942
|
+
defHash?: string;
|
|
5943
|
+
}): Promise<FlowRequestRecordV1>;
|
|
5944
|
+
|
|
5945
|
+
type RunJsonValue = null | string | number | boolean | RunJsonObject | RunJsonValue[];
|
|
5946
|
+
interface RunJsonObject {
|
|
5947
|
+
[key: string]: RunJsonValue;
|
|
5948
|
+
}
|
|
5949
|
+
type LifecycleRunEventInput = {
|
|
5950
|
+
runId: string;
|
|
5951
|
+
kind: 'run.started';
|
|
5952
|
+
payload: {
|
|
5953
|
+
invocationCid?: string;
|
|
5954
|
+
definitionRevision?: string;
|
|
5955
|
+
label?: string;
|
|
5956
|
+
};
|
|
5957
|
+
idempotencyKey: string;
|
|
5958
|
+
ts?: number;
|
|
5959
|
+
blockId?: never;
|
|
5960
|
+
} | {
|
|
5961
|
+
runId: string;
|
|
5962
|
+
kind: 'run.closed';
|
|
5963
|
+
payload: {
|
|
5964
|
+
invocationCid?: string;
|
|
5965
|
+
actorDid?: string;
|
|
5966
|
+
summary?: RunJsonObject;
|
|
5967
|
+
authorization?: RunJsonObject;
|
|
5968
|
+
};
|
|
5969
|
+
idempotencyKey: string;
|
|
5970
|
+
ts?: number;
|
|
5971
|
+
blockId?: never;
|
|
5972
|
+
} | {
|
|
5973
|
+
runId: string;
|
|
5974
|
+
kind: 'run.cancelled';
|
|
5975
|
+
payload: {
|
|
5976
|
+
invocationCid?: string;
|
|
5977
|
+
actorDid?: string;
|
|
5978
|
+
reason?: string;
|
|
5979
|
+
summary?: RunJsonObject;
|
|
5980
|
+
authorization?: RunJsonObject;
|
|
5981
|
+
};
|
|
5982
|
+
idempotencyKey: string;
|
|
5983
|
+
ts?: number;
|
|
5984
|
+
blockId?: never;
|
|
5985
|
+
} | {
|
|
5986
|
+
runId: string;
|
|
5987
|
+
kind: 'definition.changed';
|
|
5988
|
+
payload: {
|
|
5989
|
+
revision: string;
|
|
5990
|
+
previousRevision?: string;
|
|
5991
|
+
changedBlockIds?: string[];
|
|
5992
|
+
summary?: string;
|
|
5993
|
+
};
|
|
5994
|
+
idempotencyKey: string;
|
|
5995
|
+
ts?: number;
|
|
5996
|
+
blockId?: never;
|
|
5997
|
+
};
|
|
5998
|
+
type ActionRunEventInput = {
|
|
5999
|
+
runId: string;
|
|
6000
|
+
blockId: string;
|
|
6001
|
+
kind: 'action.started';
|
|
6002
|
+
payload: {
|
|
6003
|
+
attempt: number;
|
|
6004
|
+
executionId?: string;
|
|
6005
|
+
invocationCid?: string;
|
|
6006
|
+
input?: RunJsonValue;
|
|
6007
|
+
};
|
|
6008
|
+
idempotencyKey: string;
|
|
6009
|
+
ts?: number;
|
|
6010
|
+
} | {
|
|
6011
|
+
runId: string;
|
|
6012
|
+
blockId: string;
|
|
6013
|
+
kind: 'action.output';
|
|
6014
|
+
payload: {
|
|
6015
|
+
attempt: number;
|
|
6016
|
+
executionId?: string;
|
|
6017
|
+
output: RunJsonValue;
|
|
6018
|
+
};
|
|
6019
|
+
idempotencyKey: string;
|
|
6020
|
+
ts?: number;
|
|
6021
|
+
} | {
|
|
6022
|
+
runId: string;
|
|
6023
|
+
blockId: string;
|
|
6024
|
+
kind: 'action.done';
|
|
6025
|
+
payload: {
|
|
6026
|
+
attempt: number;
|
|
6027
|
+
executionId?: string;
|
|
6028
|
+
durationMs?: number;
|
|
6029
|
+
output?: RunJsonValue;
|
|
6030
|
+
};
|
|
6031
|
+
idempotencyKey: string;
|
|
6032
|
+
ts?: number;
|
|
6033
|
+
} | {
|
|
6034
|
+
runId: string;
|
|
6035
|
+
blockId: string;
|
|
6036
|
+
kind: 'action.failed';
|
|
6037
|
+
payload: {
|
|
6038
|
+
attempt: number;
|
|
6039
|
+
executionId?: string;
|
|
6040
|
+
durationMs?: number;
|
|
6041
|
+
error: {
|
|
6042
|
+
message: string;
|
|
6043
|
+
name?: string;
|
|
6044
|
+
code?: string;
|
|
6045
|
+
retryable?: boolean;
|
|
6046
|
+
details?: RunJsonValue;
|
|
6047
|
+
};
|
|
6048
|
+
};
|
|
6049
|
+
idempotencyKey: string;
|
|
6050
|
+
ts?: number;
|
|
6051
|
+
};
|
|
6052
|
+
type RunLogEventInput = {
|
|
6053
|
+
runId: string;
|
|
6054
|
+
blockId?: string;
|
|
6055
|
+
kind: 'log';
|
|
6056
|
+
payload: {
|
|
6057
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
6058
|
+
message: string;
|
|
6059
|
+
data?: RunJsonValue;
|
|
6060
|
+
};
|
|
6061
|
+
idempotencyKey: string;
|
|
6062
|
+
ts?: number;
|
|
6063
|
+
};
|
|
6064
|
+
type RunEventInput = LifecycleRunEventInput | ActionRunEventInput | RunLogEventInput;
|
|
6065
|
+
/** Assignment-compatible with matrix-crdt's IRoomEventLog. */
|
|
6066
|
+
interface RunEventAppender {
|
|
6067
|
+
append(event: RunEventInput): Promise<string>;
|
|
6068
|
+
/**
|
|
6069
|
+
* Matrix-backed implementations expose ordered readback. Governed actions
|
|
6070
|
+
* use this to select the first server-persisted claim across disconnected
|
|
6071
|
+
* Portal clients before an irreversible side effect.
|
|
6072
|
+
*/
|
|
6073
|
+
read?(runId: string, options: {
|
|
6074
|
+
direction: 'forward' | 'backward';
|
|
6075
|
+
limit: number;
|
|
6076
|
+
from?: string;
|
|
6077
|
+
}): Promise<{
|
|
6078
|
+
events: Array<{
|
|
6079
|
+
eventId: string;
|
|
6080
|
+
originServerTs: number;
|
|
6081
|
+
content: RunEventInput;
|
|
6082
|
+
}>;
|
|
6083
|
+
nextToken?: string;
|
|
6084
|
+
}>;
|
|
6085
|
+
}
|
|
6086
|
+
type RunLifecycleCapability = 'flow/run.start' | 'flow/run.close';
|
|
6087
|
+
interface RunLifecycleAuthorizationRequest {
|
|
6088
|
+
can: RunLifecycleCapability;
|
|
6089
|
+
with: string;
|
|
6090
|
+
actorDid: string;
|
|
6091
|
+
runId?: string;
|
|
6092
|
+
}
|
|
6093
|
+
interface RunLifecycleAuthorizationDecision {
|
|
6094
|
+
allowed: boolean;
|
|
6095
|
+
reason?: string;
|
|
6096
|
+
invocationCid?: string;
|
|
6097
|
+
}
|
|
6098
|
+
type RunLifecycleAuthorizer = (request: RunLifecycleAuthorizationRequest) => Promise<RunLifecycleAuthorizationDecision> | RunLifecycleAuthorizationDecision;
|
|
6099
|
+
interface RunManifest {
|
|
6100
|
+
blockIds: string[];
|
|
6101
|
+
defHash: string;
|
|
6102
|
+
}
|
|
6103
|
+
interface RunDefinitionBlock {
|
|
6104
|
+
id?: string;
|
|
6105
|
+
type?: string;
|
|
6106
|
+
props?: Record<string, unknown>;
|
|
6107
|
+
children?: RunDefinitionBlock[];
|
|
6108
|
+
}
|
|
6109
|
+
interface RunDefinitionSnapshot {
|
|
6110
|
+
manifest: RunManifest;
|
|
5410
6111
|
actionTypes: Record<string, string>;
|
|
5411
6112
|
}
|
|
5412
6113
|
interface RunSnapshot {
|
|
@@ -5468,7 +6169,20 @@ interface StartRunParams {
|
|
|
5468
6169
|
now?: () => number;
|
|
5469
6170
|
/** Activating read-only legacy mode freezes this pre-vNext start surface. */
|
|
5470
6171
|
protocolGate?: FlowProtocolGateV1;
|
|
6172
|
+
/**
|
|
6173
|
+
* Sign the requester's proof for this start (contract §1). Called once the
|
|
6174
|
+
* run id is chosen and before anything is written, so a refused or
|
|
6175
|
+
* cancelled signature leaves the document untouched. The record is stored
|
|
6176
|
+
* in `qi.flow.requests`; `meta.startRequestId` and every `flow.start`
|
|
6177
|
+
* pending invocation point back at it.
|
|
6178
|
+
*/
|
|
6179
|
+
requestProof?: RunRequestProof;
|
|
5471
6180
|
}
|
|
6181
|
+
/** Signs a requester proof for a lifecycle request once its run id is known. */
|
|
6182
|
+
type RunRequestProof = (context: {
|
|
6183
|
+
runId: string;
|
|
6184
|
+
defHash: string;
|
|
6185
|
+
}) => Promise<FlowRequestRecordV1>;
|
|
5472
6186
|
interface StartRunResult {
|
|
5473
6187
|
run: RunSnapshot;
|
|
5474
6188
|
eventId: string;
|
|
@@ -5484,6 +6198,8 @@ interface MigrateFlowParams {
|
|
|
5484
6198
|
eventLog: RunEventAppender;
|
|
5485
6199
|
authorize: RunLifecycleAuthorizer;
|
|
5486
6200
|
label?: string;
|
|
6201
|
+
/** Sign the requester's proof for the session this creates (contract §1), as `startRun` does. */
|
|
6202
|
+
requestProof?: RunRequestProof;
|
|
5487
6203
|
}
|
|
5488
6204
|
interface MigrateFlowResult {
|
|
5489
6205
|
/** The session that now owns the document's history, or `undefined` when
|
|
@@ -5539,6 +6255,8 @@ interface CloseRunParams {
|
|
|
5539
6255
|
verifyTerminalInvocation?: DesignPodInvocationVerifier;
|
|
5540
6256
|
allowIncomplete?: boolean;
|
|
5541
6257
|
now?: () => number;
|
|
6258
|
+
/** Sign the requester's proof for this close/cancel (contract §1); stored in `qi.flow.requests`, pointed at by `meta.closeRequestId`. */
|
|
6259
|
+
requestProof?: RunRequestProof;
|
|
5542
6260
|
}
|
|
5543
6261
|
interface FinishRunResult {
|
|
5544
6262
|
terminal: RunTerminalRecord;
|
|
@@ -5579,10 +6297,8 @@ interface DelegationGrant {
|
|
|
5579
6297
|
capabilities: UcanCapability[];
|
|
5580
6298
|
/** CIDs of proof delegations */
|
|
5581
6299
|
proofs: string[];
|
|
5582
|
-
/** Expiration timestamp (
|
|
6300
|
+
/** Expiration timestamp (unix ms). Every grant expires; the service defaults to 30 days. */
|
|
5583
6301
|
expiration?: number;
|
|
5584
|
-
/** Whether recipient can further delegate */
|
|
5585
|
-
canDelegate?: boolean;
|
|
5586
6302
|
}
|
|
5587
6303
|
|
|
5588
6304
|
/**
|
|
@@ -7624,241 +8340,6 @@ declare const getExtraSlashMenuItems: (editor: any, translate?: Translate) => {
|
|
|
7624
8340
|
subtext: string;
|
|
7625
8341
|
}[];
|
|
7626
8342
|
|
|
7627
|
-
/**
|
|
7628
|
-
* UCAN Delegation Store — stores CAR-serialized delegations
|
|
7629
|
-
*/
|
|
7630
|
-
interface UcanDelegationStore {
|
|
7631
|
-
get: (cid: string) => StoredDelegation | null;
|
|
7632
|
-
set: (delegation: StoredDelegation) => void;
|
|
7633
|
-
remove: (cid: string) => void;
|
|
7634
|
-
has: (cid: string) => boolean;
|
|
7635
|
-
getRoot: () => StoredDelegation | null;
|
|
7636
|
-
setRootCid: (cid: string) => void;
|
|
7637
|
-
getRootCid: () => string | null;
|
|
7638
|
-
getAll: () => StoredDelegation[];
|
|
7639
|
-
getByAudience: (audienceDid: string) => StoredDelegation[];
|
|
7640
|
-
getByIssuer: (issuerDid: string) => StoredDelegation[];
|
|
7641
|
-
findByCapability: (can: string, withUri: string) => StoredDelegation[];
|
|
7642
|
-
}
|
|
7643
|
-
/**
|
|
7644
|
-
* Create a UCAN delegation store backed by Y.Map
|
|
7645
|
-
*/
|
|
7646
|
-
declare const createUcanDelegationStore: (yMap: Map<unknown>) => UcanDelegationStore;
|
|
7647
|
-
/**
|
|
7648
|
-
* Create an in-memory UCAN delegation store (for testing)
|
|
7649
|
-
*/
|
|
7650
|
-
declare const createMemoryUcanDelegationStore: () => UcanDelegationStore;
|
|
7651
|
-
|
|
7652
|
-
/**
|
|
7653
|
-
* Invocation Store for storing and querying invocations
|
|
7654
|
-
*
|
|
7655
|
-
* Invocations are stored for:
|
|
7656
|
-
* - Audit trail: Cryptographic proof of who did what, when, with what authority
|
|
7657
|
-
* - Replay protection: Prevent same invocation being used twice
|
|
7658
|
-
* - Dispute resolution: Evidence if actions are contested
|
|
7659
|
-
* - Blockchain submission: Submit proofs to chain for immutable record
|
|
7660
|
-
* - Analytics: Understand flow execution patterns
|
|
7661
|
-
*/
|
|
7662
|
-
interface InvocationStore {
|
|
7663
|
-
add: (invocation: StoredInvocation) => void;
|
|
7664
|
-
get: (cid: string) => StoredInvocation | null;
|
|
7665
|
-
remove: (cid: string) => void;
|
|
7666
|
-
getAll: () => StoredInvocation[];
|
|
7667
|
-
getByInvoker: (invokerDid: string) => StoredInvocation[];
|
|
7668
|
-
getByFlow: (flowId: string) => StoredInvocation[];
|
|
7669
|
-
getByBlock: (flowId: string, blockId: string) => StoredInvocation[];
|
|
7670
|
-
getByCapability: (can: string, withUri: string) => StoredInvocation[];
|
|
7671
|
-
hasBeenInvoked: (cid: string) => boolean;
|
|
7672
|
-
getInDateRange: (startMs: number, endMs: number) => StoredInvocation[];
|
|
7673
|
-
getSuccessful: () => StoredInvocation[];
|
|
7674
|
-
getFailures: () => StoredInvocation[];
|
|
7675
|
-
getPendingSubmission: () => StoredInvocation[];
|
|
7676
|
-
markSubmitted: (cid: string, transactionHash: string) => void;
|
|
7677
|
-
getCount: () => number;
|
|
7678
|
-
getCountByResult: () => {
|
|
7679
|
-
success: number;
|
|
7680
|
-
failure: number;
|
|
7681
|
-
};
|
|
7682
|
-
}
|
|
7683
|
-
/**
|
|
7684
|
-
* Create an invocation store backed by Y.Map
|
|
7685
|
-
*/
|
|
7686
|
-
declare const createInvocationStore: (yMap: Map<unknown>) => InvocationStore;
|
|
7687
|
-
/**
|
|
7688
|
-
* Create an in-memory invocation store (for testing)
|
|
7689
|
-
*/
|
|
7690
|
-
declare const createMemoryInvocationStore: () => InvocationStore;
|
|
7691
|
-
|
|
7692
|
-
/**
|
|
7693
|
-
* UCAN Service using @ixo/ucan directly
|
|
7694
|
-
*
|
|
7695
|
-
* This service provides a high-level API for:
|
|
7696
|
-
* - Creating and managing delegations (CAR format)
|
|
7697
|
-
* - Creating and validating invocations
|
|
7698
|
-
* - Executing actions with invocation-based authorization
|
|
7699
|
-
*
|
|
7700
|
-
* The host app only needs to provide the signer (private key) after PIN decryption.
|
|
7701
|
-
* All UCAN operations are performed using @ixo/ucan directly.
|
|
7702
|
-
*/
|
|
7703
|
-
|
|
7704
|
-
/**
|
|
7705
|
-
* Signer session scope type
|
|
7706
|
-
*/
|
|
7707
|
-
type SignerSessionScope = 'session' | 'operation';
|
|
7708
|
-
/**
|
|
7709
|
-
* Signer session returned by createSignerSession
|
|
7710
|
-
*/
|
|
7711
|
-
interface SignerSessionInfo {
|
|
7712
|
-
sessionId: string;
|
|
7713
|
-
did: string;
|
|
7714
|
-
publicKey: string;
|
|
7715
|
-
keyId: string;
|
|
7716
|
-
expiresAt: number;
|
|
7717
|
-
scope: SignerSessionScope;
|
|
7718
|
-
}
|
|
7719
|
-
/**
|
|
7720
|
-
* Handler functions for getting signers from the host application
|
|
7721
|
-
* The host app handles PIN decryption and key management
|
|
7722
|
-
*/
|
|
7723
|
-
interface UcanServiceHandlers {
|
|
7724
|
-
/**
|
|
7725
|
-
* Get a signer for the given DID after PIN verification
|
|
7726
|
-
* The host app decrypts the private key using the PIN
|
|
7727
|
-
*
|
|
7728
|
-
* @returns The private key in multibase format (for parseSigner)
|
|
7729
|
-
* @deprecated Prefer createSignerSession for better security
|
|
7730
|
-
*/
|
|
7731
|
-
getPrivateKey?: (params: {
|
|
7732
|
-
did: string;
|
|
7733
|
-
didType: 'entity' | 'user';
|
|
7734
|
-
entityRoomId?: string;
|
|
7735
|
-
pin: string;
|
|
7736
|
-
}) => Promise<string>;
|
|
7737
|
-
/**
|
|
7738
|
-
* Get a signer from mnemonic (alternative to getPrivateKey)
|
|
7739
|
-
* The host app retrieves and decrypts the mnemonic using the PIN
|
|
7740
|
-
*
|
|
7741
|
-
* @returns The mnemonic phrase
|
|
7742
|
-
* @deprecated Prefer createSignerSession for better security
|
|
7743
|
-
*/
|
|
7744
|
-
getMnemonic?: (params: {
|
|
7745
|
-
did: string;
|
|
7746
|
-
didType: 'entity' | 'user';
|
|
7747
|
-
entityRoomId?: string;
|
|
7748
|
-
pin: string;
|
|
7749
|
-
}) => Promise<string>;
|
|
7750
|
-
/** Return a reusable in-memory signer session for this DID, if one exists. */
|
|
7751
|
-
getActiveSignerSession?: (params: {
|
|
7752
|
-
did: string;
|
|
7753
|
-
}) => Promise<SignerSessionInfo | null>;
|
|
7754
|
-
/**
|
|
7755
|
-
* Create a signer session that can be used for multiple sign operations.
|
|
7756
|
-
* The host app keeps the key material secure; the editor only receives an opaque handle.
|
|
7757
|
-
*
|
|
7758
|
-
* @param params.scope - 'session' for multiple operations, 'operation' for one-time use
|
|
7759
|
-
* @param params.ttlSeconds - Time-to-live for session scope (default: 300, max: 3600)
|
|
7760
|
-
*/
|
|
7761
|
-
createSignerSession?: (params: {
|
|
7762
|
-
did: string;
|
|
7763
|
-
didType: 'entity' | 'user';
|
|
7764
|
-
entityRoomId?: string;
|
|
7765
|
-
pin: string;
|
|
7766
|
-
scope: SignerSessionScope;
|
|
7767
|
-
ttlSeconds?: number;
|
|
7768
|
-
}) => Promise<SignerSessionInfo>;
|
|
7769
|
-
/**
|
|
7770
|
-
* Sign data using an existing session.
|
|
7771
|
-
* For 'operation' scope, the session is automatically invalidated after this call.
|
|
7772
|
-
*/
|
|
7773
|
-
signWithSession?: (params: {
|
|
7774
|
-
sessionId: string;
|
|
7775
|
-
data: string;
|
|
7776
|
-
algorithm?: 'Ed25519';
|
|
7777
|
-
}) => Promise<{
|
|
7778
|
-
signature: string;
|
|
7779
|
-
algorithm: 'Ed25519';
|
|
7780
|
-
keyId: string;
|
|
7781
|
-
}>;
|
|
7782
|
-
/**
|
|
7783
|
-
* Release a session before it expires.
|
|
7784
|
-
* Safe to call on already-released or expired sessions.
|
|
7785
|
-
*/
|
|
7786
|
-
releaseSignerSession?: (params: {
|
|
7787
|
-
sessionId: string;
|
|
7788
|
-
}) => Promise<{
|
|
7789
|
-
released: boolean;
|
|
7790
|
-
reason?: string;
|
|
7791
|
-
}>;
|
|
7792
|
-
/**
|
|
7793
|
-
* Create a delegation directly in the host app.
|
|
7794
|
-
* The host handles all signing internally using session-based signing.
|
|
7795
|
-
* @deprecated Use createDelegation on BlocknoteHandlers instead.
|
|
7796
|
-
*/
|
|
7797
|
-
createDelegationWithSession?: (params: {
|
|
7798
|
-
sessionId: string;
|
|
7799
|
-
audience: string;
|
|
7800
|
-
capabilities: Array<{
|
|
7801
|
-
can: string;
|
|
7802
|
-
with: string;
|
|
7803
|
-
nb?: Record<string, unknown>;
|
|
7804
|
-
}>;
|
|
7805
|
-
proofs?: string[];
|
|
7806
|
-
expiration?: number;
|
|
7807
|
-
}) => Promise<{
|
|
7808
|
-
cid: string;
|
|
7809
|
-
delegation: string;
|
|
7810
|
-
}>;
|
|
7811
|
-
/**
|
|
7812
|
-
* Create an invocation directly in the host app.
|
|
7813
|
-
* The host handles all signing internally using session-based signing.
|
|
7814
|
-
* @deprecated Use createInvocation on BlocknoteHandlers instead.
|
|
7815
|
-
*/
|
|
7816
|
-
createInvocationWithSession?: (params: {
|
|
7817
|
-
sessionId: string;
|
|
7818
|
-
audience: string;
|
|
7819
|
-
capability: {
|
|
7820
|
-
can: string;
|
|
7821
|
-
with: string;
|
|
7822
|
-
nb?: Record<string, unknown>;
|
|
7823
|
-
};
|
|
7824
|
-
proofs: string[];
|
|
7825
|
-
facts?: Record<string, unknown>;
|
|
7826
|
-
}) => Promise<{
|
|
7827
|
-
cid: string;
|
|
7828
|
-
invocation: string;
|
|
7829
|
-
}>;
|
|
7830
|
-
}
|
|
7831
|
-
/**
|
|
7832
|
-
* Configuration for UcanService
|
|
7833
|
-
*/
|
|
7834
|
-
interface UcanServiceConfig {
|
|
7835
|
-
delegationStore: UcanDelegationStore;
|
|
7836
|
-
invocationStore: InvocationStore;
|
|
7837
|
-
handlers: UcanServiceHandlers;
|
|
7838
|
-
flowOwnerDid: string;
|
|
7839
|
-
flowUri: string;
|
|
7840
|
-
}
|
|
7841
|
-
/**
|
|
7842
|
-
* UCAN Service interface
|
|
7843
|
-
*/
|
|
7844
|
-
interface UcanService {
|
|
7845
|
-
createRootDelegation: (params: CreateRootDelegationParams) => Promise<StoredDelegation>;
|
|
7846
|
-
createDelegation: (params: CreateDelegationParams) => Promise<StoredDelegation>;
|
|
7847
|
-
revokeDelegation: (cid: string) => void;
|
|
7848
|
-
getDelegation: (cid: string) => StoredDelegation | null;
|
|
7849
|
-
getAllDelegations: () => StoredDelegation[];
|
|
7850
|
-
getRootDelegation: () => StoredDelegation | null;
|
|
7851
|
-
createAndValidateInvocation: (params: CreateInvocationParams, flowId: string, blockId?: string) => Promise<InvocationResult>;
|
|
7852
|
-
executeWithInvocation: <T>(params: CreateInvocationParams, action: () => Promise<T>, flowId: string, blockId?: string, sessionRunId?: string) => Promise<ExecutionWithInvocationResult & {
|
|
7853
|
-
actionResult?: T;
|
|
7854
|
-
}>;
|
|
7855
|
-
validateDelegationChain: (audienceDid: string, capability: UcanCapability) => Promise<DelegationChainValidationResult>;
|
|
7856
|
-
findValidProofs: (audienceDid: string, capability: UcanCapability) => Promise<FindProofsResult>;
|
|
7857
|
-
parseDelegationFromStore: (cid: string) => Promise<Delegation | null>;
|
|
7858
|
-
isConfigured: () => boolean;
|
|
7859
|
-
}
|
|
7860
|
-
declare const createUcanService: (config: UcanServiceConfig) => UcanService;
|
|
7861
|
-
|
|
7862
8343
|
/**
|
|
7863
8344
|
* The schema type for the IXO editor, derived from block specs
|
|
7864
8345
|
*/
|
|
@@ -8334,6 +8815,12 @@ interface PendingInvocation {
|
|
|
8334
8815
|
emittedAt: string;
|
|
8335
8816
|
/** ISO timestamp after which this pending invocation is considered expired. Resolved from `FlowCapability.ttl` at queue time. */
|
|
8336
8817
|
expiresAt: string;
|
|
8818
|
+
/**
|
|
8819
|
+
* The signed request this invocation acts on (contract §1): the run's
|
|
8820
|
+
* start request for `flow.start` triggers, or the triggering step's
|
|
8821
|
+
* receipt for event triggers. The flow-manager refuses an entry without it.
|
|
8822
|
+
*/
|
|
8823
|
+
requestId?: string;
|
|
8337
8824
|
}
|
|
8338
8825
|
/**
|
|
8339
8826
|
* Compute a deterministic id for a pending invocation from its content.
|
|
@@ -8471,7 +8958,9 @@ declare function findFailedListenersForSourceRun(yDoc: Y.Doc, sourceBlockId: str
|
|
|
8471
8958
|
* This means the replay creates a NEW pending invocation that the assignee
|
|
8472
8959
|
* can act on, separate from any history of the original.
|
|
8473
8960
|
*/
|
|
8474
|
-
declare function replayFailedListenerRun(yDoc: Y.Doc, failedRecord: RunRecordDetails, listenerBlockId: string, originalPayload: Record<string, unknown>, originalRefSnapshots: Record<string, unknown>, assigneeDid: string, sessionRunId?: string
|
|
8961
|
+
declare function replayFailedListenerRun(yDoc: Y.Doc, failedRecord: RunRecordDetails, listenerBlockId: string, originalPayload: Record<string, unknown>, originalRefSnapshots: Record<string, unknown>, assigneeDid: string, sessionRunId?: string,
|
|
8962
|
+
/** The signed `step.request` asking for the replay (contract §1): the flow-manager refuses a pending invocation without one. */
|
|
8963
|
+
requestId?: string): boolean;
|
|
8475
8964
|
|
|
8476
8965
|
/** Topic base kinds understood by the portable Action manifest. */
|
|
8477
8966
|
declare const TOPIC_ACTION_BASE_KINDS: readonly ["task", "agent_task", "proposal", "evaluation", "claims", "question", "discussion", "incident"];
|
|
@@ -10656,4 +11145,4 @@ interface ActionResult {
|
|
|
10656
11145
|
};
|
|
10657
11146
|
}
|
|
10658
11147
|
|
|
10659
|
-
export { createRuntimeStateManager as $, type Addr as A, type BlockRequirements as B, type CosmosMsgForEmpty as C, type DelegationChainValidationResult as D, type Expiration as E, type FlowRuntimeStateManager as F, type UcanService as G, type UcanServiceConfig as H, type ImportProtocolTemplateResult as I, type UcanServiceHandlers as J, type Uint128 as K, type ListProtocolDeedsWithTemplatesParams as L, type MatrixPrivacySettings as M, type User as N, type Vote as O, type ProposalAction as P, type VoteInfo as Q, type VoteResponse as R, type SingleChoiceProposal as S, type Threshold as T, type UcanCapability as U, ValidatorActionType as V, type Votes as W, blockSpecs as X, createInvocationStore as Y, createMemoryInvocationStore as Z, createMemoryUcanDelegationStore as _, AuthzExecActionTypes as a, type RunRecordDetails as a$, createUcanDelegationStore as a0, createUcanService as a1, getExtraSlashMenuItems as a2, useBlocknoteContext as a3, useBlocknoteHandlers as a4, useTranslate as a5, type FlowNodeAuthzExtension as a6, type FlowNode as a7, type EvaluationStatus as a8, type IxoEditorType as a9, type OutputSchemaField as aA, type ActionRiskTier as aB, type ActionSchedulingContract as aC, type TopicActionInvocationV1 as aD, type TopicActionReceiptV2 as aE, type TopicActionRecord as aF, type TopicActionRuntimeProvider as aG, type DesignPodService as aH, type DesignPodPhaseId as aI, type DesignPodControlId as aJ, type DesignPodActionProofV1 as aK, type DesignPodPhaseCommitmentV1 as aL, type DesignPodArtifactReceiptV1 as aM, type LegacyDesignPodEvidenceV1 as aN, type DesignPodProjectIdentityV1 as aO, type DesignPodControlRevisionV1 as aP, type DesignPodReviewRecordV1 as aQ, type DesignPodMethodManifestV1 as aR, type DesignPodFlowStateV1 as aS, type DesignPodPhaseDefinitionV1 as aT, type RunEventInput as aU, type RunJsonValue as aV, type ActionRunContext as aW, type CompletionCheck as aX, type ReadBackTerminalState as aY, type ActionReadBackMetadata as aZ, type ActionProofDeclaration as a_, type PendingInvocation as aa, type ActionServices as ab, type ActionHandlers as ac, type RunEventAppender as ad, type TopicExecutionContext as ae, TopicActionBridge as af, type DesignPodRuntimeAuthorityV1 as ag, type ActionResult as ah, type TopicActionWriteBackResult as ai, type FlowNodeRuntimeState as aj, type ActionDefinition as ak, type DesignPodMethodId as al, type IxoBlockProps as am, type DomainCardData as an, type DomainCardRenderer as ao, type DynamicListData as ap, type DynamicListDataProvider as aq, type DynamicListPanelRenderer as ar, type DynamicListRenderer as as, type TopicActionRuntimeContext as at, type VisualizationRenderer as au, type UnlMapConfig as av, type TopicSemanticRecordDefinition as aw, type TopicActionMetadata as ax, type ActionEventDefinition as ay, type ActionDoneContract as az, type BlocknoteContextValue as b, type MigrateFlowResult as b$, type FlowMetadata as b0, type ActionContext as b1, type ActionRunEventInput as b2, type AgentRuntimeService as b3, type BidService as b4, type CancelRunParams as b5, type CarbonService as b6, type ClaimCollectionURI as b7, type ClaimService as b8, type CloseRunParams as b9, type EmailService as bA, type EntityService as bB, type EvalRegisterService as bC, type EvaluationRuntimeService as bD, type EvidenceService as bE, type ExecutionWithInvocationResult as bF, ExplicitRunRequiredError as bG, type FailedListenerRun as bH, type FindProofsResult as bI, type FinishRunResult as bJ, type FlowInvocationService as bK, type FlowNodeBase as bL, FlowNotMigratedError as bM, type FlowRunLifecycleService as bN, type FundingVerificationService as bO, type HttpService as bP, InMemoryTopicActionOutboxStore as bQ, type IncidentService as bR, type IntegrationsService as bS, type InvocationRequest as bT, type InvocationResult as bU, LEGACY_RUN_STORAGE_VERSION as bV, type LifecycleRunEventInput as bW, type LinkedClaim as bX, MULTI_RUN_STORAGE_VERSION as bY, type MatrixCredentialService as bZ, type MigrateFlowParams as b_, type CollectionService as ba, type CollectionUsersService as bb, type CompileDesignPodReleaseOptions as bc, type CompiledDesignPodReleaseV1 as bd, type CreateDelegationParams as be, type CreateInvocationParams as bf, type CreateRootDelegationParams as bg, type CredentialIssuanceService as bh, DESIGN_POD_CONTROL_IDS as bi, DESIGN_POD_METHODS as bj, DESIGN_POD_PHASE_IDS as bk, DESIGN_POD_TEMPLATE_ID as bl, DESIGN_YOMA_METHOD_V1 as bm, type DID as bn, type DesignPodChecklistItemDefinitionV1 as bo, type DesignPodChecklistRecordV1 as bp, type DesignPodControlDefinitionV1 as bq, type DesignPodControlStatus as br, type DesignPodInvocationVerificationRequestV1 as bs, type DesignPodInvocationVerifier as bt, type DesignPodPackageFileV1 as bu, type DesignPodProtocolRecordV1 as bv, type DesignPodReleaseRecordV1 as bw, type DesignPodReviewAssignmentV1 as bx, type DesignPodReviewRequestV1 as by, type DomainVfsService as bz, type BlocknoteHandlers as c, compileDesignPodRelease as c$, type MultiRunMigrationResult as c0, type NodeServiceReport as c1, type NodeState as c2, type NotifyService as c3, type OracleService as c4, type OutcomeCertificateService as c5, PROFESSIONAL_SERVICE_METHOD_V1 as c6, RUNS_TERMINAL_MAP_KEY as c7, RUNS_TERMINAL_PENDING_MAP_KEY as c8, RUN_RECORD_AUDIT_TYPE as c9, type TopicActionOutboxEntry as cA, type TopicActionOutboxStore as cB, type TopicActionReceiptSigner as cC, type TopicActionReceiptSink as cD, type TopicActionReceiptStatus as cE, type TopicActionReceiptVerifier as cF, type TopicActionTerminalStatus as cG, type TopicActionThreadUpdateV1 as cH, type TopicActionWriteBackState as cI, type TopicOperationAppendResult as cJ, TopicRevisionConflictError as cK, type TopicService as cL, UnknownRunError as cM, type UnsignedTopicActionReceiptV2 as cN, YjsTopicActionOutboxStore as cO, type YoIdLinkService as cP, type YomaOpportunityService as cQ, adoptLegacyRuntime as cR, appendRunRecord as cS, assertRunActionExecutionAllowed as cT, buildRunDefinitionSnapshot as cU, buildTopicActionThreadUpdate as cV, cancelRun as cW, clearAllActionState as cX, clearRuntimeForTemplateClone as cY, closeRun as cZ, collectPhantomLegacyRun as c_, RUN_STORAGE_VERSION_KEY as ca, type RecordFlowActionPhaseParams as cb, type RubricService as cc, type RunDefinitionBlock as cd, type RunDefinitionDrift as ce, type RunDefinitionSnapshot as cf, type RunJsonObject as cg, type RunLifecycleAuthorizationDecision as ch, RunLifecycleAuthorizationError as ci, type RunLifecycleAuthorizationRequest as cj, type RunLifecycleAuthorizer as ck, type RunLifecycleCapability as cl, type RunLogEventInput as cm, type RunManifest as cn, type RunMeta as co, RunNotMigratedError as cp, RunNotReadyError as cq, type RunSnapshot as cr, type RunStorageVersion as cs, type RunTerminalAuthorizationProof as ct, type RunTerminalRecord as cu, type RunTerminalReservation as cv, type SettlementService as cw, type StartRunParams as cx, type StartRunResult as cy, TerminalRunExecutionError as cz, BlocknoteProvider as d, computePendingInvocationId as d0, computeRunDefinitionHash as d1, computeRunSummary as d2, countPendingInvocations as d3, createRunId as d4, createRunRuntimeReader as d5, createRunRuntimeReaderWithDoc as d6, createRunScopedRuntimeManager as d7, createRunTerminalAuthorizationProof as d8, createRunUlid as d9, readPendingInvocations as dA, readRunActionStates as dB, readRunRecords as dC, recordRunDefinitionDrift as dD, removePendingInvocation as dE, replayFailedListenerRun as dF, resetActionState as dG, resolveActiveRunId as dH, resolveRecordRunId as dI, resolveRunIdForExecution as dJ, resolveRunIdForRead as dK, seedRunFromLegacyRuntime as dL, setAdvisoryActiveRunId as dM, setMultiRunStorage as dN, snapshotInputRefs as dO, startRun as dP, subscribeToActionState as dQ, toRunJsonValue as dR, topicActionReceiptSigningPayload as dS, topicActionThreadUpdateBody as dT, topicActionThreadUpdateId as dU, topicActionThreadUpdateTransactionId as dV, topicSemanticRecordsDigest as dW, usesLegacyRuntimeCompatibility as dX, writeActionState as dY, createYDocRuntimeManager as da, deleteActionState as db, detectRunDefinitionDrift as dc, enableMultiRunStorage as dd, ensureRun as de, findFailedListenersForSourceRun as df, getOrCreateBlockPendingMap as dg, getPendingInvocationsMap as dh, getRunActionsMap as di, getRunMeta as dj, getRunStorageVersion as dk, getRunsMap as dl, getRunsTerminalMap as dm, getRunsTerminalPendingMap as dn, hasLegacyRuntimeHistory as dp, isBelowTheLineBlock as dq, isLegacyRuntimeAdoptionEnabled as dr, isRecordInRun as ds, isRunTerminalOrPending as dt, listOpenRuns as du, listRuns as dv, migrateFlowToSessions as dw, queuePendingInvocation as dx, readActionState as dy, readActionStates as dz, type DelegationGrant as e, type ImportProtocolTemplatesToSpaceParams as f, type InvocationStore as g, type IxoCollaborativeEditorOptions as h, type IxoCollaborativeUser as i, type IxoEditorConfig as j, type IxoEditorOptions as k, type IxoEditorTheme as l, type MatrixRoom as m, type MatrixSpace as n, type MatrixSpaceStructure as o, type MatrixSubspace as p, type ProposalResponse as q, type ProtocolDeedWithTemplates as r, type ProtocolTemplateSummary as s, StakeType as t, type Status as u, type StoredDelegation as v, type StoredInvocation as w, type Timestamp as x, type Translate as y, type UcanDelegationStore as z };
|
|
11148
|
+
export { createRuntimeStateManager as $, type Addr as A, type BlockRequirements as B, type CosmosMsgForEmpty as C, type DelegationChainValidationResult as D, type Expiration as E, type FlowRuntimeStateManager as F, type UcanService as G, type UcanServiceConfig as H, type ImportProtocolTemplateResult as I, type UcanServiceHandlers as J, type Uint128 as K, type ListProtocolDeedsWithTemplatesParams as L, type MatrixPrivacySettings as M, type User as N, type Vote as O, type ProposalAction as P, type VoteInfo as Q, type VoteResponse as R, type SingleChoiceProposal as S, type Threshold as T, type UcanCapability as U, ValidatorActionType as V, type Votes as W, blockSpecs as X, createInvocationStore as Y, createMemoryInvocationStore as Z, createMemoryUcanDelegationStore as _, AuthzExecActionTypes as a, type ReceiptExpectation as a$, createUcanDelegationStore as a0, createUcanService as a1, getExtraSlashMenuItems as a2, useBlocknoteContext as a3, useBlocknoteHandlers as a4, useTranslate as a5, type FlowNodeAuthzExtension as a6, type FlowNode as a7, type EvaluationStatus as a8, type IxoEditorType as a9, type OutputSchemaField as aA, type ActionRiskTier as aB, type ActionSchedulingContract as aC, type TopicActionInvocationV1 as aD, type TopicActionReceiptV2 as aE, type TopicActionRecord as aF, type TopicActionRuntimeProvider as aG, type DesignPodService as aH, type DesignPodPhaseId as aI, type DesignPodControlId as aJ, type DesignPodActionProofV1 as aK, type DesignPodPhaseCommitmentV1 as aL, type DesignPodArtifactReceiptV1 as aM, type LegacyDesignPodEvidenceV1 as aN, type DesignPodProjectIdentityV1 as aO, type DesignPodControlRevisionV1 as aP, type DesignPodReviewRecordV1 as aQ, type DesignPodMethodManifestV1 as aR, type DesignPodFlowStateV1 as aS, type DesignPodPhaseDefinitionV1 as aT, type RunEventInput as aU, type RunJsonValue as aV, type ActionRunContext as aW, type CompletionCheck as aX, type ReadBackTerminalState as aY, type ActionReadBackMetadata as aZ, type ActionProofDeclaration as a_, type PendingInvocation as aa, type ActionServices as ab, type ActionHandlers as ac, type RunEventAppender as ad, type TopicExecutionContext as ae, TopicActionBridge as af, type DesignPodRuntimeAuthorityV1 as ag, type ActionResult as ah, type TopicActionWriteBackResult as ai, type FlowNodeRuntimeState as aj, type ActionDefinition as ak, type DesignPodMethodId as al, type IxoBlockProps as am, type DomainCardData as an, type DomainCardRenderer as ao, type DynamicListData as ap, type DynamicListDataProvider as aq, type DynamicListPanelRenderer as ar, type DynamicListRenderer as as, type TopicActionRuntimeContext as at, type VisualizationRenderer as au, type UnlMapConfig as av, type TopicSemanticRecordDefinition as aw, type TopicActionMetadata as ax, type ActionEventDefinition as ay, type ActionDoneContract as az, type BlocknoteContextValue as b, type FlowRequestRecordV1 as b$, type ReceiptStatus as b0, type RunRecordDetails as b1, type RunLifecycleAuthorizer as b2, type UcanVerificationEnv as b3, type FlowMetadata as b4, AUTHORITY_RECHECK_MS as b5, type ActionContext as b6, type ActionRunEventInput as b7, type AgentRuntimeService as b8, type AuthorityDecision as b9, type DesignPodControlStatus as bA, type DesignPodInvocationVerificationRequestV1 as bB, type DesignPodInvocationVerifier as bC, type DesignPodPackageFileV1 as bD, type DesignPodProtocolRecordV1 as bE, type DesignPodReleaseRecordV1 as bF, type DesignPodReviewAssignmentV1 as bG, type DesignPodReviewRequestV1 as bH, type DomainVfsService as bI, type EmailService as bJ, type EntityService as bK, type EvalRegisterService as bL, type EvaluationRuntimeService as bM, type EvidenceService as bN, type ExecutionWithInvocationResult as bO, ExplicitRunRequiredError as bP, FLOW_REQUESTS_MAP_KEY as bQ, type FailedListenerRun as bR, type FindProofsResult as bS, type FinishRunResult as bT, type FlowAuthorityIndex as bU, type FlowAuthorityIndexOptions as bV, type FlowInvocationService as bW, type FlowNodeBase as bX, FlowNotMigratedError as bY, type FlowRequestFactsV1 as bZ, type FlowRequestKind as b_, type BidService as ba, type CancelRunParams as bb, type CarbonService as bc, type ChainFailure as bd, type ChainFailureCode as be, type ClaimCollectionURI as bf, type ClaimService as bg, type CloseRunParams as bh, type CollectionService as bi, type CollectionUsersService as bj, type CompileDesignPodReleaseOptions as bk, type CompiledDesignPodReleaseV1 as bl, type CreateDelegationParams as bm, type CreateFlowRequestParams as bn, type CreateInvocationParams as bo, type CreateRootDelegationParams as bp, type CredentialIssuanceService as bq, DESIGN_POD_CONTROL_IDS as br, DESIGN_POD_METHODS as bs, DESIGN_POD_PHASE_IDS as bt, DESIGN_POD_TEMPLATE_ID as bu, DESIGN_YOMA_METHOD_V1 as bv, type DID as bw, type DesignPodChecklistItemDefinitionV1 as bx, type DesignPodChecklistRecordV1 as by, type DesignPodControlDefinitionV1 as bz, type BlocknoteHandlers as c, type TopicActionThreadUpdateV1 as c$, type FlowRunLifecycleService as c0, type FundingVerificationService as c1, type GrantVerdict as c2, type HttpService as c3, InMemoryTopicActionOutboxStore as c4, type IncidentService as c5, type IntegrationsService as c6, type InvocationRequest as c7, type InvocationResult as c8, type InvocationVerdict as c9, type RunLifecycleAuthorizationDecision as cA, RunLifecycleAuthorizationError as cB, type RunLifecycleAuthorizationRequest as cC, type RunLifecycleCapability as cD, type RunLogEventInput as cE, type RunManifest as cF, type RunMeta as cG, RunNotMigratedError as cH, RunNotReadyError as cI, type RunRequestProof as cJ, type RunSnapshot as cK, type RunStorageVersion as cL, type RunTerminalAuthorizationProof as cM, type RunTerminalRecord as cN, type RunTerminalReservation as cO, type SettlementService as cP, type SignedCapability as cQ, type StartRunParams as cR, type StartRunResult as cS, TerminalRunExecutionError as cT, type TopicActionOutboxEntry as cU, type TopicActionOutboxStore as cV, type TopicActionReceiptSigner as cW, type TopicActionReceiptSink as cX, type TopicActionReceiptStatus as cY, type TopicActionReceiptVerifier as cZ, type TopicActionTerminalStatus as c_, LEGACY_RUN_STORAGE_VERSION as ca, type LifecycleRunEventInput as cb, type LinkedClaim as cc, MULTI_RUN_STORAGE_VERSION as cd, type MatrixCredentialService as ce, type MigrateFlowParams as cf, type MigrateFlowResult as cg, type MultiRunMigrationResult as ch, type NodeServiceReport as ci, type NodeState as cj, type NotifyService as ck, type OracleService as cl, type OutcomeCertificateService as cm, PROFESSIONAL_SERVICE_METHOD_V1 as cn, RUNS_TERMINAL_MAP_KEY as co, RUNS_TERMINAL_PENDING_MAP_KEY as cp, RUN_RECORD_AUDIT_TYPE as cq, RUN_STORAGE_VERSION_KEY as cr, type ReceiptVerifier as cs, type ReceiptVerifierOptions as ct, type RecordFlowActionPhaseParams as cu, type RubricService as cv, type RunDefinitionBlock as cw, type RunDefinitionDrift as cx, type RunDefinitionSnapshot as cy, type RunJsonObject as cz, BlocknoteProvider as d, lifecycleRequestProof as d$, type TopicActionWriteBackState as d0, type TopicOperationAppendResult as d1, TopicRevisionConflictError as d2, type TopicService as d3, type UcanVerificationHandlers as d4, UnknownRunError as d5, type UnsignedTopicActionReceiptV2 as d6, type VerifiedGrant as d7, type VerifiedInvocation as d8, type VerifyGrantOptions as d9, createRunRuntimeReaderWithDoc as dA, createRunScopedRuntimeManager as dB, createRunTerminalAuthorizationProof as dC, createRunUlid as dD, createYDocRuntimeManager as dE, decodeCarBase64 as dF, deleteActionState as dG, detectRunDefinitionDrift as dH, digestInputResponse as dI, digestRequestValue as dJ, enableMultiRunStorage as dK, ensureRun as dL, findFailedListenersForSourceRun as dM, getOrCreateBlockPendingMap as dN, getPendingInvocationsMap as dO, getRunActionsMap as dP, getRunMeta as dQ, getRunStorageVersion as dR, getRunsMap as dS, getRunsTerminalMap as dT, getRunsTerminalPendingMap as dU, grantCoversExercise as dV, hasLegacyRuntimeHistory as dW, isBelowTheLineBlock as dX, isLegacyRuntimeAdoptionEnabled as dY, isRecordInRun as dZ, isRunTerminalOrPending as d_, type VerifyInvocationOptions as da, YjsTopicActionOutboxStore as db, type YoIdLinkService as dc, type YomaOpportunityService as dd, adoptLegacyRuntime as de, appendRunRecord as df, assertRunActionExecutionAllowed as dg, buildRunDefinitionSnapshot as dh, buildTopicActionThreadUpdate as di, cancelRun as dj, capabilityForRequest as dk, clearAllActionState as dl, clearRuntimeForTemplateClone as dm, closeRun as dn, collectPhantomLegacyRun as dp, compileDesignPodRelease as dq, computePendingInvocationId as dr, computeRunDefinitionHash as ds, computeRunSummary as dt, countPendingInvocations as du, createFlowAuthorityIndex as dv, createFlowRequest as dw, createReceiptVerifier as dx, createRunId as dy, createRunRuntimeReader as dz, type DelegationGrant as e, listOpenRuns as e0, listRuns as e1, migrateFlowToSessions as e2, queuePendingInvocation as e3, readActionState as e4, readActionStates as e5, readFlowRequest as e6, readPendingInvocations as e7, readRunActionStates as e8, readRunRecords as e9, verifyInvocation as eA, writeActionState as eB, writeFlowRequest as eC, recordRunDefinitionDrift as ea, removePendingInvocation as eb, replayFailedListenerRun as ec, requestStepRun as ed, resetActionState as ee, resolveActiveRunId as ef, resolveRecordRunId as eg, resolveRunIdForExecution as eh, resolveRunIdForRead as ei, revocationCheckerFor as ej, seedRunFromLegacyRuntime as ek, setAdvisoryActiveRunId as el, setMultiRunStorage as em, signedCapabilityCovers as en, snapshotInputRefs as eo, startRun as ep, subscribeToActionState as eq, toRunJsonValue as er, topicActionReceiptSigningPayload as es, topicActionThreadUpdateBody as et, topicActionThreadUpdateId as eu, topicActionThreadUpdateTransactionId as ev, topicSemanticRecordsDigest as ew, ucanVerificationEnvFrom as ex, usesLegacyRuntimeCompatibility as ey, verifyGrant as ez, type ImportProtocolTemplatesToSpaceParams as f, type InvocationStore as g, type IxoCollaborativeEditorOptions as h, type IxoCollaborativeUser as i, type IxoEditorConfig as j, type IxoEditorOptions as k, type IxoEditorTheme as l, type MatrixRoom as m, type MatrixSpace as n, type MatrixSpaceStructure as o, type MatrixSubspace as p, type ProposalResponse as q, type ProtocolDeedWithTemplates as r, type ProtocolTemplateSummary as s, StakeType as t, type Status as u, type StoredDelegation as v, type StoredInvocation as w, type Timestamp as x, type Translate as y, type UcanDelegationStore as z };
|