@ixo/editor 7.3.0 → 7.5.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-YZWE5HMW.js → BidConfig-7OPADSLJ.js} +10 -10
- package/dist/{BidFlowDetail-GGCQSJGT.js → BidFlowDetail-CLGN6RFS.js} +15 -15
- package/dist/{CalendarEventCreateConfig-MG5KEVT5.js → CalendarEventCreateConfig-HFHRPWXW.js} +11 -11
- package/dist/{CalendarEventCreateFlowDetail-NJIVXYZE.js → CalendarEventCreateFlowDetail-ZXPHYLF4.js} +12 -12
- package/dist/{CalendarEventListConfig-47DCJ4JN.js → CalendarEventListConfig-LYPXEDYO.js} +11 -11
- package/dist/{CalendarEventListFlowDetail-6LN4I3SI.js → CalendarEventListFlowDetail-3P5I6NWJ.js} +5 -5
- package/dist/{CalendarEventUpdateConfig-JBSY4IQI.js → CalendarEventUpdateConfig-FZNZRRCQ.js} +11 -11
- package/dist/{CalendarEventUpdateFlowDetail-RW2PQCVL.js → CalendarEventUpdateFlowDetail-SBODZKHB.js} +12 -12
- package/dist/{ClaimConfig-ASGZFCTD.js → ClaimConfig-T7KRYXOU.js} +13 -13
- package/dist/{ClaimFlowDetail-LVHNKNPE.js → ClaimFlowDetail-DI27NHDH.js} +15 -15
- package/dist/{CollectionLifecycleConfig-YPTZZJ3S.js → CollectionLifecycleConfig-SLU7TWJI.js} +4 -4
- package/dist/{CollectionLifecycleFlowDetail-RP6BNX4F.js → CollectionLifecycleFlowDetail-NHMR566C.js} +14 -14
- package/dist/{CollectionUsersConfig-FHB7GXYE.js → CollectionUsersConfig-XUIJ6DSW.js} +10 -10
- package/dist/{CollectionUsersFlowDetail-EZE5ADLN.js → CollectionUsersFlowDetail-IM3YWT6E.js} +16 -16
- package/dist/{CredentialStoreConfig-A7P27LZ5.js → CredentialStoreConfig-KAST7NSD.js} +8 -8
- package/dist/{CredentialStoreFlowDetail-5LRH7NH5.js → CredentialStoreFlowDetail-FKIAQZJ7.js} +7 -7
- package/dist/{DesignPodFlowDetail-ECFMDZZ3.js → DesignPodFlowDetail-UXGGFJRH.js} +5 -5
- package/dist/{DomainCardPreviewFlowDetail-M7FPXS4N.js → DomainCardPreviewFlowDetail-IT2OJF46.js} +7 -7
- package/dist/{DomainIndexerLookupFlowDetail-L6GSDWLI.js → DomainIndexerLookupFlowDetail-Y7JRRKD5.js} +5 -5
- package/dist/{DomainSignFlowDetail-5ERYSTPG.js → DomainSignFlowDetail-T5PZHM6M.js} +8 -8
- package/dist/{DomainSingleSelectionConfig-DTHYPZBO.js → DomainSingleSelectionConfig-H7RSNYC2.js} +4 -4
- package/dist/{DomainSingleSelectionFlowDetail-JKNAC2RY.js → DomainSingleSelectionFlowDetail-JHSD5G3A.js} +5 -5
- package/dist/{EmailSendConfig-ZH5BS4AE.js → EmailSendConfig-6RJNKNVV.js} +10 -10
- package/dist/{EntityCreateOracleFlowDetail-6XJ4UEL5.js → EntityCreateOracleFlowDetail-LZPSS3GS.js} +7 -7
- package/dist/{EntitySingleSelectionFlowDetail-5BDIVHQV.js → EntitySingleSelectionFlowDetail-HMCMVXKR.js} +5 -5
- package/dist/{EntityTransferFlowDetail-DY2UZ5VA.js → EntityTransferFlowDetail-RSFDF5PB.js} +7 -7
- package/dist/{EvalEngineConfig-BJOMRKZE.js → EvalEngineConfig-7JSFDMQR.js} +16 -14
- package/dist/{EvalEngineConfig-BJOMRKZE.js.map → EvalEngineConfig-7JSFDMQR.js.map} +1 -1
- package/dist/{EvalEngineFlowDetail-UFIMDVZY.js → EvalEngineFlowDetail-OAM3AGN2.js} +15 -13
- package/dist/{EvalEngineFlowDetail-UFIMDVZY.js.map → EvalEngineFlowDetail-OAM3AGN2.js.map} +1 -1
- package/dist/{EvaluateBidConfig-I6OIVCXE.js → EvaluateBidConfig-WYWY3SSW.js} +10 -10
- package/dist/{EvaluateBidFlowDetail-YWCXV4OS.js → EvaluateBidFlowDetail-QMSIAFG5.js} +14 -14
- package/dist/{EvaluateClaimConfig-Q6CV2ZU4.js → EvaluateClaimConfig-FMGZ3UG7.js} +10 -10
- package/dist/{EvaluateClaimFlowDetail-J3C3M4F2.js → EvaluateClaimFlowDetail-AL6AL5FV.js} +760 -275
- package/dist/EvaluateClaimFlowDetail-AL6AL5FV.js.map +1 -0
- package/dist/{FormSubmitFlowDetail-CVSUWEAW.js → FormSubmitFlowDetail-ICG3GSOA.js} +59 -10
- package/dist/FormSubmitFlowDetail-ICG3GSOA.js.map +1 -0
- package/dist/{GovernanceAuthzExecFlowDetail-GWKPT7QW.js → GovernanceAuthzExecFlowDetail-IW76KM4Q.js} +8 -8
- package/dist/{GovernanceAuthzGrantFlowDetail-L7EPQQZ6.js → GovernanceAuthzGrantFlowDetail-BTCMC2ZN.js} +9 -9
- package/dist/{GovernanceAuthzRevokeFlowDetail-X2VQHRCB.js → GovernanceAuthzRevokeFlowDetail-7DVXQWXC.js} +9 -9
- package/dist/{GovernanceChainVoteFlowDetail-BO3DJNDF.js → GovernanceChainVoteFlowDetail-CIBRJPP6.js} +8 -8
- package/dist/{GovernanceConfigFlowDetail-FZB4R54G.js → GovernanceConfigFlowDetail-6P7GLUT4.js} +5 -5
- package/dist/{GovernanceContractExecuteFlowDetail-JHIXCNXS.js → GovernanceContractExecuteFlowDetail-4Q32MNXQ.js} +9 -9
- package/dist/{GovernanceContractInstantiateFlowDetail-XWSI2HXG.js → GovernanceContractInstantiateFlowDetail-GOFRJNS6.js} +9 -9
- package/dist/{GovernanceContractManageCw20FlowDetail-5QI3FBNT.js → GovernanceContractManageCw20FlowDetail-QYFC2CBY.js} +8 -8
- package/dist/{GovernanceContractMigrateFlowDetail-W2DEBKKU.js → GovernanceContractMigrateFlowDetail-YS575HJK.js} +9 -9
- package/dist/{GovernanceContractUpdateAdminFlowDetail-VZ6245TK.js → GovernanceContractUpdateAdminFlowDetail-YNN5VVUN.js} +8 -8
- package/dist/{GovernanceCustomMessageFlowDetail-NNTHVM5D.js → GovernanceCustomMessageFlowDetail-AP2DYHPG.js} +9 -9
- package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-EO3CFNLA.js → GovernanceDaoAcceptToMarketplaceFlowDetail-WHC2GXB7.js} +9 -9
- package/dist/{GovernanceDaoAdminExecFlowDetail-YQCDUW2V.js → GovernanceDaoAdminExecFlowDetail-5545VOCJ.js} +10 -10
- package/dist/{GovernanceDaoCreateEntityFlowDetail-RSFFRATK.js → GovernanceDaoCreateEntityFlowDetail-QKSNQHT3.js} +9 -9
- package/dist/{GovernanceDaoJoinFlowDetail-GJWWQPD2.js → GovernanceDaoJoinFlowDetail-ZIZA4CHJ.js} +9 -9
- package/dist/{GovernanceDaoManageStorageFlowDetail-KGMWUB4Z.js → GovernanceDaoManageStorageFlowDetail-V7CNBFD5.js} +8 -8
- package/dist/{GovernanceDaoManageSubDaosFlowDetail-3WTI6AX7.js → GovernanceDaoManageSubDaosFlowDetail-U6HCZEWB.js} +9 -9
- package/dist/{GovernanceDaoUpdateInfoFlowDetail-2DCOJGYV.js → GovernanceDaoUpdateInfoFlowDetail-YGVZWXYR.js} +8 -8
- package/dist/{GovernanceMemberProposalConfig-LW6KNHVY.js → GovernanceMemberProposalConfig-3HKKBDJ5.js} +5 -5
- package/dist/{GovernanceMemberProposalFlowDetail-JNO3RPDW.js → GovernanceMemberProposalFlowDetail-5DYOTEMZ.js} +9 -9
- package/dist/{GovernanceNftBurnFlowDetail-MG3S2DZB.js → GovernanceNftBurnFlowDetail-ZHL6NSBB.js} +8 -8
- package/dist/{GovernanceNftManageCollectionsFlowDetail-FB5BRSLF.js → GovernanceNftManageCollectionsFlowDetail-YKWXV6PI.js} +8 -8
- package/dist/{GovernanceNftTransferFlowDetail-27CRQVTA.js → GovernanceNftTransferFlowDetail-SQ5ZSKIK.js} +9 -9
- package/dist/{GovernanceSettingsProposalConfig-WBOTSKNF.js → GovernanceSettingsProposalConfig-IZFFFRHS.js} +5 -5
- package/dist/{GovernanceSettingsProposalFlowDetail-W2KXBQM2.js → GovernanceSettingsProposalFlowDetail-72OGJWPM.js} +8 -8
- package/dist/{GovernanceStakingStakeFlowDetail-Z7MCDZDV.js → GovernanceStakingStakeFlowDetail-TQT6JVX5.js} +8 -8
- package/dist/{GovernanceStakingStakeToGroupFlowDetail-EC6JGRMB.js → GovernanceStakingStakeToGroupFlowDetail-RHW3KT4J.js} +8 -8
- package/dist/{GovernanceSubmissionConfigProposalFlowDetail-YHO3F7TI.js → GovernanceSubmissionConfigProposalFlowDetail-ELSE6QV6.js} +8 -8
- package/dist/{GovernanceTransactionMintFlowDetail-K6PPDCH6.js → GovernanceTransactionMintFlowDetail-3I7F3FSC.js} +9 -9
- package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-6PEN4FED.js → GovernanceTransactionPerformTokenSwapFlowDetail-5UTYTE3P.js} +8 -8
- package/dist/{GovernanceTransactionSendFundsConfig-JRROE44J.js → GovernanceTransactionSendFundsConfig-UITDQIEX.js} +5 -5
- package/dist/{GovernanceTransactionSendFundsFlowDetail-Z57XAY3D.js → GovernanceTransactionSendFundsFlowDetail-FUHTFFYK.js} +9 -9
- package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-OSEHM66P.js → GovernanceTransactionSendGroupTokenFlowDetail-JEGHRGVA.js} +9 -9
- package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-AZFHSIBD.js → GovernanceTransactionWithdrawTokenSwapFlowDetail-IGKD3XFX.js} +8 -8
- package/dist/{GovernanceValidatorActionsFlowDetail-3YSPIIVG.js → GovernanceValidatorActionsFlowDetail-XFJM4T54.js} +8 -8
- package/dist/{HarvestConfig-L37MMZE5.js → HarvestConfig-MQCRQM6E.js} +9 -9
- package/dist/{HarvestFlowDetail-Y2AJWJKR.js → HarvestFlowDetail-4AGZTR7Z.js} +7 -7
- package/dist/{HttpRequestConfig-C74HRIO5.js → HttpRequestConfig-24VT44SK.js} +8 -8
- package/dist/{HttpRequestFlowDetail-VWD64O3P.js → HttpRequestFlowDetail-LGWILJCS.js} +5 -5
- package/dist/{IdentityCreateFlowDetail-CGE66IXY.js → IdentityCreateFlowDetail-6UVA3GLT.js} +13 -13
- package/dist/{IidCreateFlowDetail-J4PKJMSA.js → IidCreateFlowDetail-6DMLKXSP.js} +13 -13
- package/dist/{KycVerifyConfig-YPTVDVAM.js → KycVerifyConfig-QKU3GYXH.js} +8 -8
- package/dist/{KycVerifyFlowDetail-CFWXA3AT.js → KycVerifyFlowDetail-MJB5DFB5.js} +13 -13
- package/dist/{ListDomainFlowsFlowDetail-PJQCAY3I.js → ListDomainFlowsFlowDetail-PDUSV2TD.js} +5 -5
- package/dist/{LoadBatchesFlowDetail-TL4TQDZ5.js → LoadBatchesFlowDetail-SXLSDRVT.js} +7 -7
- package/dist/{MatrixDmConfig-DRY27FAM.js → MatrixDmConfig-XCS2HCGZ.js} +4 -4
- package/dist/{MatrixRegisterFlowDetail-RXHGTTQF.js → MatrixRegisterFlowDetail-7JMBMOTF.js} +7 -7
- package/dist/{MemberMultiSelectFlowDetail-N64ZK7GE.js → MemberMultiSelectFlowDetail-DLAKXCRC.js} +5 -5
- package/dist/{OracleConfig-J3NN2EP4.js → OracleConfig-RU6N4JBF.js} +8 -8
- package/dist/{OracleConfigureOracleFlowDetail-3ER4XIAB.js → OracleConfigureOracleFlowDetail-AET56AV6.js} +13 -13
- package/dist/{OracleContractFlowDetail-D2XZYWVG.js → OracleContractFlowDetail-4RWSGCLI.js} +7 -7
- package/dist/{OracleDeployFlowDetail-TCFIJYP7.js → OracleDeployFlowDetail-2HOKGJEO.js} +7 -7
- package/dist/{OracleDeploySetupFlowDetail-KMGBPIND.js → OracleDeploySetupFlowDetail-AOUCBEJK.js} +7 -7
- package/dist/{OracleDeployStartFlowDetail-DTK5PLC5.js → OracleDeployStartFlowDetail-5R5O54VE.js} +7 -7
- package/dist/{OracleFlowDetail-FEPE3YYU.js → OracleFlowDetail-REP3CDHK.js} +7 -7
- package/dist/{OraclePromptFlowDetail-2B55RVOO.js → OraclePromptFlowDetail-RWGI7Y46.js} +7 -7
- package/dist/{OracleStoreConfigFlowDetail-Q6PTB2TR.js → OracleStoreConfigFlowDetail-F2E4ZEVA.js} +7 -7
- package/dist/{OracleStoreSecretsAndConfigFlowDetail-7U6RI2A2.js → OracleStoreSecretsAndConfigFlowDetail-6X4CPXKW.js} +13 -13
- package/dist/{OracleStoreSecretsFlowDetail-6HEZJZ3R.js → OracleStoreSecretsFlowDetail-DYPIPYIT.js} +13 -13
- package/dist/{ProposalCreateConfig-ZQIK6PZB.js → ProposalCreateConfig-DRYE2AKJ.js} +10 -10
- package/dist/{ProposalCreateFlowDetail-3JNI7S6E.js → ProposalCreateFlowDetail-CHIA2XWY.js} +14 -14
- package/dist/{ProposalVoteConfig-TZ3FGE4A.js → ProposalVoteConfig-7UNWFROZ.js} +10 -10
- package/dist/{ProposalVoteFlowDetail-6BOYU4XJ.js → ProposalVoteFlowDetail-DSMBVP3E.js} +8 -8
- package/dist/{ProtocolSelectFlowDetail-IKYJQZAO.js → ProtocolSelectFlowDetail-NTLOLTSO.js} +4 -4
- package/dist/{RetireConfig-YKFKGNOR.js → RetireConfig-BF2DX5IS.js} +9 -9
- package/dist/{RetireFlowDetail-SP5GBJSA.js → RetireFlowDetail-LY77O4VE.js} +7 -7
- package/dist/{SandboxProvisionFlowDetail-CQ7XZWNA.js → SandboxProvisionFlowDetail-QPRFK7N3.js} +7 -7
- package/dist/{WalletFundConfig-T5S6B2HH.js → WalletFundConfig-QF2D65SA.js} +5 -5
- package/dist/{WalletFundFlowDetail-WLQLJS34.js → WalletFundFlowDetail-CTWM57AK.js} +8 -8
- package/dist/{WalletGenerateAndFundFlowDetail-7LEBWWEA.js → WalletGenerateAndFundFlowDetail-TY3HOGEU.js} +5 -5
- package/dist/{WalletGenerateFlowDetail-CBAVDW7Z.js → WalletGenerateFlowDetail-F5LNH4VY.js} +5 -5
- package/dist/{XeroContactCreateConfig-N6YU7YEX.js → XeroContactCreateConfig-GTRMV4MO.js} +11 -11
- package/dist/{XeroContactCreateFlowDetail-NO65PRXE.js → XeroContactCreateFlowDetail-4IFZRJOF.js} +12 -12
- package/dist/{XeroInvoiceCreateConfig-VHJMWKY2.js → XeroInvoiceCreateConfig-HVMMNUU4.js} +11 -11
- package/dist/{XeroInvoiceCreateFlowDetail-UJDEUWH6.js → XeroInvoiceCreateFlowDetail-4UPL55DU.js} +14 -14
- package/dist/{XeroInvoiceListConfig-CEECA5U7.js → XeroInvoiceListConfig-IMXZZTNF.js} +11 -11
- package/dist/{XeroInvoiceListFlowDetail-YPU6MFSX.js → XeroInvoiceListFlowDetail-SUWMEU7K.js} +5 -5
- package/dist/{XeroPaymentCreateConfig-KULFUA66.js → XeroPaymentCreateConfig-ONPADVHN.js} +8 -8
- package/dist/{XeroPaymentCreateFlowDetail-BRRQJ67R.js → XeroPaymentCreateFlowDetail-52FOC77L.js} +13 -13
- package/dist/action-manifest.json +491 -7
- package/dist/{chunk-JDNOVB6L.js → chunk-3S6HH3LV.js} +2 -2
- package/dist/{chunk-H4SFPUJT.js → chunk-5JEXVSJG.js} +11 -129
- package/dist/chunk-5JEXVSJG.js.map +1 -0
- package/dist/chunk-5WYFQEOS.js +49 -0
- package/dist/chunk-5WYFQEOS.js.map +1 -0
- package/dist/{chunk-ZIT2N7CI.js → chunk-6332CJVF.js} +2 -2
- package/dist/{chunk-RQS3KQLQ.js → chunk-66EWPWA5.js} +2 -2
- package/dist/{chunk-ZGMXAWTQ.js → chunk-66XW6TQT.js} +590 -8
- package/dist/chunk-66XW6TQT.js.map +1 -0
- package/dist/{chunk-UW3DNXM7.js → chunk-6OBTZWYM.js} +3 -3
- package/dist/{chunk-FJ36VM6S.js → chunk-7XB6INJ4.js} +2 -2
- package/dist/{chunk-MSPUTDZC.js → chunk-ALJO4A2R.js} +3006 -863
- package/dist/chunk-ALJO4A2R.js.map +1 -0
- package/dist/{chunk-QSUE3ZFB.js → chunk-AZGVSR3T.js} +2 -2
- package/dist/{chunk-MQAJXYIS.js → chunk-DMWXSWLO.js} +2 -2
- package/dist/{chunk-AAPXJGX7.js → chunk-FYPDR7DJ.js} +2010 -1891
- package/dist/chunk-FYPDR7DJ.js.map +1 -0
- package/dist/{chunk-C376YPPE.js → chunk-HPHWYDGB.js} +3 -3
- package/dist/{chunk-JWC4VVY7.js → chunk-JCI46234.js} +2 -2
- package/dist/{chunk-A7L3NJK6.js → chunk-KIAAAFZF.js} +2 -2
- package/dist/{chunk-BAQA4AZN.js → chunk-KSITH7AN.js} +3 -3
- package/dist/chunk-KSITH7AN.js.map +1 -0
- package/dist/{chunk-MY22PTP4.js → chunk-LMQT3VUE.js} +2 -2
- package/dist/{chunk-RV7QJFSE.js → chunk-M5ELO3A5.js} +2 -2
- package/dist/{chunk-RETGBEFM.js → chunk-M7XUQCKC.js} +2 -2
- package/dist/{chunk-A5ZITS4O.js → chunk-MDCOAGIF.js} +11 -17
- package/dist/chunk-MDCOAGIF.js.map +1 -0
- package/dist/{chunk-2KOJBMG5.js → chunk-MFUWKWMA.js} +21 -4
- package/dist/chunk-MFUWKWMA.js.map +1 -0
- package/dist/{chunk-6JOBSAZF.js → chunk-P365VW4X.js} +2 -2
- package/dist/{chunk-SRSVMD6E.js → chunk-PCRDF4BQ.js} +2 -2
- package/dist/{chunk-SZRWCNGA.js → chunk-PNS4Y2PQ.js} +2 -2
- package/dist/{chunk-J6AWMFEF.js → chunk-PWPTKUNE.js} +2 -2
- package/dist/{chunk-S2ETTOE5.js → chunk-SAOQXHK6.js} +2 -2
- package/dist/{chunk-EH7EYO4N.js → chunk-SI2AUBY5.js} +4 -4
- package/dist/{chunk-CMG6TZKH.js → chunk-TGRBWL3B.js} +3 -3
- package/dist/{chunk-76VIZL5D.js → chunk-TGTS2R2O.js} +5 -5
- package/dist/{chunk-JK6RAKE3.js → chunk-UOYPASUI.js} +2 -2
- package/dist/{chunk-7TVYQNOR.js → chunk-VD4HSZSN.js} +2 -2
- package/dist/chunk-VD4HSZSN.js.map +1 -0
- package/dist/{chunk-L7WHIPGC.js → chunk-VOBXFJLM.js} +2 -2
- package/dist/{chunk-M3GHFF5N.js → chunk-X5BU6FRG.js} +3 -47
- package/dist/chunk-X5BU6FRG.js.map +1 -0
- package/dist/{chunk-QW7LA67J.js → chunk-X5W725D3.js} +11 -4
- package/dist/chunk-X5W725D3.js.map +1 -0
- package/dist/{chunk-X23SZR5N.js → chunk-XUJPJRLW.js} +2 -2
- package/dist/{connections-tcxJgB1K.d.ts → connections-Dx7agyTM.d.ts} +2 -2
- package/dist/core/index.cjs +611 -27
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +6 -4
- package/dist/core/index.js +12 -12
- package/dist/{graphql-client-VK7-KGDc.d.ts → graphql-client-VfvdQc02.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +23 -21
- package/dist/index.js.map +1 -1
- package/dist/mantine/index.d.ts +3 -3
- package/dist/mantine/index.js +22 -20
- package/dist/mantine/index.js.map +1 -1
- package/dist/{types-CYtPUWc7.d.ts → types-BjlQ_0i3.d.ts} +590 -0
- package/package.json +1 -1
- package/dist/EvaluateClaimFlowDetail-J3C3M4F2.js.map +0 -1
- package/dist/FormSubmitFlowDetail-CVSUWEAW.js.map +0 -1
- package/dist/chunk-2KOJBMG5.js.map +0 -1
- package/dist/chunk-7TVYQNOR.js.map +0 -1
- package/dist/chunk-A5ZITS4O.js.map +0 -1
- package/dist/chunk-AAPXJGX7.js.map +0 -1
- package/dist/chunk-BAQA4AZN.js.map +0 -1
- package/dist/chunk-H4SFPUJT.js.map +0 -1
- package/dist/chunk-M3GHFF5N.js.map +0 -1
- package/dist/chunk-MSPUTDZC.js.map +0 -1
- package/dist/chunk-QW7LA67J.js.map +0 -1
- package/dist/chunk-ZGMXAWTQ.js.map +0 -1
- /package/dist/{BidConfig-YZWE5HMW.js.map → BidConfig-7OPADSLJ.js.map} +0 -0
- /package/dist/{BidFlowDetail-GGCQSJGT.js.map → BidFlowDetail-CLGN6RFS.js.map} +0 -0
- /package/dist/{CalendarEventCreateConfig-MG5KEVT5.js.map → CalendarEventCreateConfig-HFHRPWXW.js.map} +0 -0
- /package/dist/{CalendarEventCreateFlowDetail-NJIVXYZE.js.map → CalendarEventCreateFlowDetail-ZXPHYLF4.js.map} +0 -0
- /package/dist/{CalendarEventListConfig-47DCJ4JN.js.map → CalendarEventListConfig-LYPXEDYO.js.map} +0 -0
- /package/dist/{CalendarEventListFlowDetail-6LN4I3SI.js.map → CalendarEventListFlowDetail-3P5I6NWJ.js.map} +0 -0
- /package/dist/{CalendarEventUpdateConfig-JBSY4IQI.js.map → CalendarEventUpdateConfig-FZNZRRCQ.js.map} +0 -0
- /package/dist/{CalendarEventUpdateFlowDetail-RW2PQCVL.js.map → CalendarEventUpdateFlowDetail-SBODZKHB.js.map} +0 -0
- /package/dist/{ClaimConfig-ASGZFCTD.js.map → ClaimConfig-T7KRYXOU.js.map} +0 -0
- /package/dist/{ClaimFlowDetail-LVHNKNPE.js.map → ClaimFlowDetail-DI27NHDH.js.map} +0 -0
- /package/dist/{CollectionLifecycleConfig-YPTZZJ3S.js.map → CollectionLifecycleConfig-SLU7TWJI.js.map} +0 -0
- /package/dist/{CollectionLifecycleFlowDetail-RP6BNX4F.js.map → CollectionLifecycleFlowDetail-NHMR566C.js.map} +0 -0
- /package/dist/{CollectionUsersConfig-FHB7GXYE.js.map → CollectionUsersConfig-XUIJ6DSW.js.map} +0 -0
- /package/dist/{CollectionUsersFlowDetail-EZE5ADLN.js.map → CollectionUsersFlowDetail-IM3YWT6E.js.map} +0 -0
- /package/dist/{CredentialStoreConfig-A7P27LZ5.js.map → CredentialStoreConfig-KAST7NSD.js.map} +0 -0
- /package/dist/{CredentialStoreFlowDetail-5LRH7NH5.js.map → CredentialStoreFlowDetail-FKIAQZJ7.js.map} +0 -0
- /package/dist/{DesignPodFlowDetail-ECFMDZZ3.js.map → DesignPodFlowDetail-UXGGFJRH.js.map} +0 -0
- /package/dist/{DomainCardPreviewFlowDetail-M7FPXS4N.js.map → DomainCardPreviewFlowDetail-IT2OJF46.js.map} +0 -0
- /package/dist/{DomainIndexerLookupFlowDetail-L6GSDWLI.js.map → DomainIndexerLookupFlowDetail-Y7JRRKD5.js.map} +0 -0
- /package/dist/{DomainSignFlowDetail-5ERYSTPG.js.map → DomainSignFlowDetail-T5PZHM6M.js.map} +0 -0
- /package/dist/{DomainSingleSelectionConfig-DTHYPZBO.js.map → DomainSingleSelectionConfig-H7RSNYC2.js.map} +0 -0
- /package/dist/{DomainSingleSelectionFlowDetail-JKNAC2RY.js.map → DomainSingleSelectionFlowDetail-JHSD5G3A.js.map} +0 -0
- /package/dist/{EmailSendConfig-ZH5BS4AE.js.map → EmailSendConfig-6RJNKNVV.js.map} +0 -0
- /package/dist/{EntityCreateOracleFlowDetail-6XJ4UEL5.js.map → EntityCreateOracleFlowDetail-LZPSS3GS.js.map} +0 -0
- /package/dist/{EntitySingleSelectionFlowDetail-5BDIVHQV.js.map → EntitySingleSelectionFlowDetail-HMCMVXKR.js.map} +0 -0
- /package/dist/{EntityTransferFlowDetail-DY2UZ5VA.js.map → EntityTransferFlowDetail-RSFDF5PB.js.map} +0 -0
- /package/dist/{EvaluateBidConfig-I6OIVCXE.js.map → EvaluateBidConfig-WYWY3SSW.js.map} +0 -0
- /package/dist/{EvaluateBidFlowDetail-YWCXV4OS.js.map → EvaluateBidFlowDetail-QMSIAFG5.js.map} +0 -0
- /package/dist/{EvaluateClaimConfig-Q6CV2ZU4.js.map → EvaluateClaimConfig-FMGZ3UG7.js.map} +0 -0
- /package/dist/{GovernanceAuthzExecFlowDetail-GWKPT7QW.js.map → GovernanceAuthzExecFlowDetail-IW76KM4Q.js.map} +0 -0
- /package/dist/{GovernanceAuthzGrantFlowDetail-L7EPQQZ6.js.map → GovernanceAuthzGrantFlowDetail-BTCMC2ZN.js.map} +0 -0
- /package/dist/{GovernanceAuthzRevokeFlowDetail-X2VQHRCB.js.map → GovernanceAuthzRevokeFlowDetail-7DVXQWXC.js.map} +0 -0
- /package/dist/{GovernanceChainVoteFlowDetail-BO3DJNDF.js.map → GovernanceChainVoteFlowDetail-CIBRJPP6.js.map} +0 -0
- /package/dist/{GovernanceConfigFlowDetail-FZB4R54G.js.map → GovernanceConfigFlowDetail-6P7GLUT4.js.map} +0 -0
- /package/dist/{GovernanceContractExecuteFlowDetail-JHIXCNXS.js.map → GovernanceContractExecuteFlowDetail-4Q32MNXQ.js.map} +0 -0
- /package/dist/{GovernanceContractInstantiateFlowDetail-XWSI2HXG.js.map → GovernanceContractInstantiateFlowDetail-GOFRJNS6.js.map} +0 -0
- /package/dist/{GovernanceContractManageCw20FlowDetail-5QI3FBNT.js.map → GovernanceContractManageCw20FlowDetail-QYFC2CBY.js.map} +0 -0
- /package/dist/{GovernanceContractMigrateFlowDetail-W2DEBKKU.js.map → GovernanceContractMigrateFlowDetail-YS575HJK.js.map} +0 -0
- /package/dist/{GovernanceContractUpdateAdminFlowDetail-VZ6245TK.js.map → GovernanceContractUpdateAdminFlowDetail-YNN5VVUN.js.map} +0 -0
- /package/dist/{GovernanceCustomMessageFlowDetail-NNTHVM5D.js.map → GovernanceCustomMessageFlowDetail-AP2DYHPG.js.map} +0 -0
- /package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-EO3CFNLA.js.map → GovernanceDaoAcceptToMarketplaceFlowDetail-WHC2GXB7.js.map} +0 -0
- /package/dist/{GovernanceDaoAdminExecFlowDetail-YQCDUW2V.js.map → GovernanceDaoAdminExecFlowDetail-5545VOCJ.js.map} +0 -0
- /package/dist/{GovernanceDaoCreateEntityFlowDetail-RSFFRATK.js.map → GovernanceDaoCreateEntityFlowDetail-QKSNQHT3.js.map} +0 -0
- /package/dist/{GovernanceDaoJoinFlowDetail-GJWWQPD2.js.map → GovernanceDaoJoinFlowDetail-ZIZA4CHJ.js.map} +0 -0
- /package/dist/{GovernanceDaoManageStorageFlowDetail-KGMWUB4Z.js.map → GovernanceDaoManageStorageFlowDetail-V7CNBFD5.js.map} +0 -0
- /package/dist/{GovernanceDaoManageSubDaosFlowDetail-3WTI6AX7.js.map → GovernanceDaoManageSubDaosFlowDetail-U6HCZEWB.js.map} +0 -0
- /package/dist/{GovernanceDaoUpdateInfoFlowDetail-2DCOJGYV.js.map → GovernanceDaoUpdateInfoFlowDetail-YGVZWXYR.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalConfig-LW6KNHVY.js.map → GovernanceMemberProposalConfig-3HKKBDJ5.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalFlowDetail-JNO3RPDW.js.map → GovernanceMemberProposalFlowDetail-5DYOTEMZ.js.map} +0 -0
- /package/dist/{GovernanceNftBurnFlowDetail-MG3S2DZB.js.map → GovernanceNftBurnFlowDetail-ZHL6NSBB.js.map} +0 -0
- /package/dist/{GovernanceNftManageCollectionsFlowDetail-FB5BRSLF.js.map → GovernanceNftManageCollectionsFlowDetail-YKWXV6PI.js.map} +0 -0
- /package/dist/{GovernanceNftTransferFlowDetail-27CRQVTA.js.map → GovernanceNftTransferFlowDetail-SQ5ZSKIK.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalConfig-WBOTSKNF.js.map → GovernanceSettingsProposalConfig-IZFFFRHS.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalFlowDetail-W2KXBQM2.js.map → GovernanceSettingsProposalFlowDetail-72OGJWPM.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeFlowDetail-Z7MCDZDV.js.map → GovernanceStakingStakeFlowDetail-TQT6JVX5.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeToGroupFlowDetail-EC6JGRMB.js.map → GovernanceStakingStakeToGroupFlowDetail-RHW3KT4J.js.map} +0 -0
- /package/dist/{GovernanceSubmissionConfigProposalFlowDetail-YHO3F7TI.js.map → GovernanceSubmissionConfigProposalFlowDetail-ELSE6QV6.js.map} +0 -0
- /package/dist/{GovernanceTransactionMintFlowDetail-K6PPDCH6.js.map → GovernanceTransactionMintFlowDetail-3I7F3FSC.js.map} +0 -0
- /package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-6PEN4FED.js.map → GovernanceTransactionPerformTokenSwapFlowDetail-5UTYTE3P.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsConfig-JRROE44J.js.map → GovernanceTransactionSendFundsConfig-UITDQIEX.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsFlowDetail-Z57XAY3D.js.map → GovernanceTransactionSendFundsFlowDetail-FUHTFFYK.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-OSEHM66P.js.map → GovernanceTransactionSendGroupTokenFlowDetail-JEGHRGVA.js.map} +0 -0
- /package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-AZFHSIBD.js.map → GovernanceTransactionWithdrawTokenSwapFlowDetail-IGKD3XFX.js.map} +0 -0
- /package/dist/{GovernanceValidatorActionsFlowDetail-3YSPIIVG.js.map → GovernanceValidatorActionsFlowDetail-XFJM4T54.js.map} +0 -0
- /package/dist/{HarvestConfig-L37MMZE5.js.map → HarvestConfig-MQCRQM6E.js.map} +0 -0
- /package/dist/{HarvestFlowDetail-Y2AJWJKR.js.map → HarvestFlowDetail-4AGZTR7Z.js.map} +0 -0
- /package/dist/{HttpRequestConfig-C74HRIO5.js.map → HttpRequestConfig-24VT44SK.js.map} +0 -0
- /package/dist/{HttpRequestFlowDetail-VWD64O3P.js.map → HttpRequestFlowDetail-LGWILJCS.js.map} +0 -0
- /package/dist/{IdentityCreateFlowDetail-CGE66IXY.js.map → IdentityCreateFlowDetail-6UVA3GLT.js.map} +0 -0
- /package/dist/{IidCreateFlowDetail-J4PKJMSA.js.map → IidCreateFlowDetail-6DMLKXSP.js.map} +0 -0
- /package/dist/{KycVerifyConfig-YPTVDVAM.js.map → KycVerifyConfig-QKU3GYXH.js.map} +0 -0
- /package/dist/{KycVerifyFlowDetail-CFWXA3AT.js.map → KycVerifyFlowDetail-MJB5DFB5.js.map} +0 -0
- /package/dist/{ListDomainFlowsFlowDetail-PJQCAY3I.js.map → ListDomainFlowsFlowDetail-PDUSV2TD.js.map} +0 -0
- /package/dist/{LoadBatchesFlowDetail-TL4TQDZ5.js.map → LoadBatchesFlowDetail-SXLSDRVT.js.map} +0 -0
- /package/dist/{MatrixDmConfig-DRY27FAM.js.map → MatrixDmConfig-XCS2HCGZ.js.map} +0 -0
- /package/dist/{MatrixRegisterFlowDetail-RXHGTTQF.js.map → MatrixRegisterFlowDetail-7JMBMOTF.js.map} +0 -0
- /package/dist/{MemberMultiSelectFlowDetail-N64ZK7GE.js.map → MemberMultiSelectFlowDetail-DLAKXCRC.js.map} +0 -0
- /package/dist/{OracleConfig-J3NN2EP4.js.map → OracleConfig-RU6N4JBF.js.map} +0 -0
- /package/dist/{OracleConfigureOracleFlowDetail-3ER4XIAB.js.map → OracleConfigureOracleFlowDetail-AET56AV6.js.map} +0 -0
- /package/dist/{OracleContractFlowDetail-D2XZYWVG.js.map → OracleContractFlowDetail-4RWSGCLI.js.map} +0 -0
- /package/dist/{OracleDeployFlowDetail-TCFIJYP7.js.map → OracleDeployFlowDetail-2HOKGJEO.js.map} +0 -0
- /package/dist/{OracleDeploySetupFlowDetail-KMGBPIND.js.map → OracleDeploySetupFlowDetail-AOUCBEJK.js.map} +0 -0
- /package/dist/{OracleDeployStartFlowDetail-DTK5PLC5.js.map → OracleDeployStartFlowDetail-5R5O54VE.js.map} +0 -0
- /package/dist/{OracleFlowDetail-FEPE3YYU.js.map → OracleFlowDetail-REP3CDHK.js.map} +0 -0
- /package/dist/{OraclePromptFlowDetail-2B55RVOO.js.map → OraclePromptFlowDetail-RWGI7Y46.js.map} +0 -0
- /package/dist/{OracleStoreConfigFlowDetail-Q6PTB2TR.js.map → OracleStoreConfigFlowDetail-F2E4ZEVA.js.map} +0 -0
- /package/dist/{OracleStoreSecretsAndConfigFlowDetail-7U6RI2A2.js.map → OracleStoreSecretsAndConfigFlowDetail-6X4CPXKW.js.map} +0 -0
- /package/dist/{OracleStoreSecretsFlowDetail-6HEZJZ3R.js.map → OracleStoreSecretsFlowDetail-DYPIPYIT.js.map} +0 -0
- /package/dist/{ProposalCreateConfig-ZQIK6PZB.js.map → ProposalCreateConfig-DRYE2AKJ.js.map} +0 -0
- /package/dist/{ProposalCreateFlowDetail-3JNI7S6E.js.map → ProposalCreateFlowDetail-CHIA2XWY.js.map} +0 -0
- /package/dist/{ProposalVoteConfig-TZ3FGE4A.js.map → ProposalVoteConfig-7UNWFROZ.js.map} +0 -0
- /package/dist/{ProposalVoteFlowDetail-6BOYU4XJ.js.map → ProposalVoteFlowDetail-DSMBVP3E.js.map} +0 -0
- /package/dist/{ProtocolSelectFlowDetail-IKYJQZAO.js.map → ProtocolSelectFlowDetail-NTLOLTSO.js.map} +0 -0
- /package/dist/{RetireConfig-YKFKGNOR.js.map → RetireConfig-BF2DX5IS.js.map} +0 -0
- /package/dist/{RetireFlowDetail-SP5GBJSA.js.map → RetireFlowDetail-LY77O4VE.js.map} +0 -0
- /package/dist/{SandboxProvisionFlowDetail-CQ7XZWNA.js.map → SandboxProvisionFlowDetail-QPRFK7N3.js.map} +0 -0
- /package/dist/{WalletFundConfig-T5S6B2HH.js.map → WalletFundConfig-QF2D65SA.js.map} +0 -0
- /package/dist/{WalletFundFlowDetail-WLQLJS34.js.map → WalletFundFlowDetail-CTWM57AK.js.map} +0 -0
- /package/dist/{WalletGenerateAndFundFlowDetail-7LEBWWEA.js.map → WalletGenerateAndFundFlowDetail-TY3HOGEU.js.map} +0 -0
- /package/dist/{WalletGenerateFlowDetail-CBAVDW7Z.js.map → WalletGenerateFlowDetail-F5LNH4VY.js.map} +0 -0
- /package/dist/{XeroContactCreateConfig-N6YU7YEX.js.map → XeroContactCreateConfig-GTRMV4MO.js.map} +0 -0
- /package/dist/{XeroContactCreateFlowDetail-NO65PRXE.js.map → XeroContactCreateFlowDetail-4IFZRJOF.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateConfig-VHJMWKY2.js.map → XeroInvoiceCreateConfig-HVMMNUU4.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateFlowDetail-UJDEUWH6.js.map → XeroInvoiceCreateFlowDetail-4UPL55DU.js.map} +0 -0
- /package/dist/{XeroInvoiceListConfig-CEECA5U7.js.map → XeroInvoiceListConfig-IMXZZTNF.js.map} +0 -0
- /package/dist/{XeroInvoiceListFlowDetail-YPU6MFSX.js.map → XeroInvoiceListFlowDetail-SUWMEU7K.js.map} +0 -0
- /package/dist/{XeroPaymentCreateConfig-KULFUA66.js.map → XeroPaymentCreateConfig-ONPADVHN.js.map} +0 -0
- /package/dist/{XeroPaymentCreateFlowDetail-BRRQJ67R.js.map → XeroPaymentCreateFlowDetail-52FOC77L.js.map} +0 -0
- /package/dist/{chunk-JDNOVB6L.js.map → chunk-3S6HH3LV.js.map} +0 -0
- /package/dist/{chunk-ZIT2N7CI.js.map → chunk-6332CJVF.js.map} +0 -0
- /package/dist/{chunk-RQS3KQLQ.js.map → chunk-66EWPWA5.js.map} +0 -0
- /package/dist/{chunk-UW3DNXM7.js.map → chunk-6OBTZWYM.js.map} +0 -0
- /package/dist/{chunk-FJ36VM6S.js.map → chunk-7XB6INJ4.js.map} +0 -0
- /package/dist/{chunk-QSUE3ZFB.js.map → chunk-AZGVSR3T.js.map} +0 -0
- /package/dist/{chunk-MQAJXYIS.js.map → chunk-DMWXSWLO.js.map} +0 -0
- /package/dist/{chunk-C376YPPE.js.map → chunk-HPHWYDGB.js.map} +0 -0
- /package/dist/{chunk-JWC4VVY7.js.map → chunk-JCI46234.js.map} +0 -0
- /package/dist/{chunk-A7L3NJK6.js.map → chunk-KIAAAFZF.js.map} +0 -0
- /package/dist/{chunk-MY22PTP4.js.map → chunk-LMQT3VUE.js.map} +0 -0
- /package/dist/{chunk-RV7QJFSE.js.map → chunk-M5ELO3A5.js.map} +0 -0
- /package/dist/{chunk-RETGBEFM.js.map → chunk-M7XUQCKC.js.map} +0 -0
- /package/dist/{chunk-6JOBSAZF.js.map → chunk-P365VW4X.js.map} +0 -0
- /package/dist/{chunk-SRSVMD6E.js.map → chunk-PCRDF4BQ.js.map} +0 -0
- /package/dist/{chunk-SZRWCNGA.js.map → chunk-PNS4Y2PQ.js.map} +0 -0
- /package/dist/{chunk-J6AWMFEF.js.map → chunk-PWPTKUNE.js.map} +0 -0
- /package/dist/{chunk-S2ETTOE5.js.map → chunk-SAOQXHK6.js.map} +0 -0
- /package/dist/{chunk-EH7EYO4N.js.map → chunk-SI2AUBY5.js.map} +0 -0
- /package/dist/{chunk-CMG6TZKH.js.map → chunk-TGRBWL3B.js.map} +0 -0
- /package/dist/{chunk-76VIZL5D.js.map → chunk-TGTS2R2O.js.map} +0 -0
- /package/dist/{chunk-JK6RAKE3.js.map → chunk-UOYPASUI.js.map} +0 -0
- /package/dist/{chunk-L7WHIPGC.js.map → chunk-VOBXFJLM.js.map} +0 -0
- /package/dist/{chunk-X23SZR5N.js.map → chunk-XUJPJRLW.js.map} +0 -0
package/dist/core/index.cjs
CHANGED
|
@@ -1262,13 +1262,15 @@ function requiredServices(type) {
|
|
|
1262
1262
|
if (/^qi\/blueprint\./.test(type)) return ["blueprint"];
|
|
1263
1263
|
if (/^qi\/bid\./.test(type)) return ["bid"];
|
|
1264
1264
|
if (/^qi\/claim\./.test(type)) return ["claim"];
|
|
1265
|
-
if (type === "qi/collection.lifecycle") return ["collection"];
|
|
1265
|
+
if (type === "qi/collection.lifecycle" || type === "qi/collection.create") return ["collection"];
|
|
1266
1266
|
if (type === "qi/collection.users") return ["collectionUsers"];
|
|
1267
1267
|
if (/^qi\/(matrix\.dm|credential\.store)/.test(type)) return ["matrix"];
|
|
1268
1268
|
if (/^qi\/(oracle\.|wallet\.|iid\.|matrix\.register|identity\.|entity\.createOracle|sandbox\.)/.test(type) || type === "qi/oracle.invoke") return ["oracle"];
|
|
1269
1269
|
if (/^qi\/carbon\./.test(type)) return ["carbon"];
|
|
1270
1270
|
if (/^qi\/entity\.transfer/.test(type)) return ["entity"];
|
|
1271
1271
|
if (/^qi\/kyc\./.test(type)) return ["kyc"];
|
|
1272
|
+
if (type === "qi/eval.connect") return ["collectionUsers", "evalOracle"];
|
|
1273
|
+
if (type === "qi/decision.request") return ["decisions"];
|
|
1272
1274
|
if (/^qi\/eval\./.test(type)) return ["evalRegister", "rubric"];
|
|
1273
1275
|
if (/^qi\/topic\./.test(type)) return ["topic"];
|
|
1274
1276
|
if (/^qi\/agent\./.test(type)) return ["agents"];
|
|
@@ -1311,6 +1313,7 @@ function sensitivePaths(type) {
|
|
|
1311
1313
|
input.push("prompt");
|
|
1312
1314
|
output.push("result");
|
|
1313
1315
|
}
|
|
1316
|
+
if (type === "qi/decision.request") input.push("answers", "contactEmail");
|
|
1314
1317
|
if (/^qi\/(form|human\.form|claim|bid)\./.test(type)) {
|
|
1315
1318
|
input.push("answers", "surveyAnswers", "surveyData");
|
|
1316
1319
|
output.push("answers", "surveyAnswers", "surveyData");
|
|
@@ -1412,11 +1415,15 @@ var PRESENTATION = {
|
|
|
1412
1415
|
"qi/credential.issue": { displayName: "Issue Credential", description: "Issue a verifiable credential to a participant" },
|
|
1413
1416
|
"qi/credential.store": { displayName: "Store Credential", description: "Store a verifiable credential in Matrix room state" },
|
|
1414
1417
|
"qi/funding.verify": { displayName: "Verify Funding", description: "Confirm the payout source holds enough funds before claims are evaluated" },
|
|
1418
|
+
"qi/decision.request": { displayName: "Ask for a decision", description: "Send a claim to an evaluation oracle and wait for its verdict" },
|
|
1415
1419
|
"qi/domain.card-preview": { displayName: "Preview Domain Card", description: "Review an oracle-enriched domain card and approve it before signing" },
|
|
1416
1420
|
"qi/domain.sign": { displayName: "Sign Domain", description: "Sign the domain card credential and create the entity on-chain" },
|
|
1417
1421
|
"qi/email.send": { displayName: "Email", description: "Send an email to a user" },
|
|
1418
|
-
"qi/eval.connect": {
|
|
1419
|
-
|
|
1422
|
+
"qi/eval.connect": {
|
|
1423
|
+
displayName: "Connect Evaluation Service",
|
|
1424
|
+
description: "Hire an evaluation service to decide claims in one of your collections, then pay workers for approved claims"
|
|
1425
|
+
},
|
|
1426
|
+
"qi/eval.engine": { displayName: "Evaluation Engine", description: "Deprecated \u2014 use Create Claim Collection, Connect Evaluation Service, and Evaluate Claim instead" },
|
|
1420
1427
|
"qi/evaluation.review": { displayName: "Review Evaluation", description: "Review and sign an evaluation assertion" },
|
|
1421
1428
|
"qi/evaluation.run": { displayName: "Run Evaluation", description: "Run an evaluation against the selected methodology and rubric" },
|
|
1422
1429
|
"qi/evidence.collect": { displayName: "Collect Evidence", description: "Collect evidence and provenance from approved sources" },
|
|
@@ -5314,6 +5321,11 @@ var SERVICE_GROUP_REQUIRED_HANDLERS = {
|
|
|
5314
5321
|
carbon: ["carbon.loadBatches", "carbon.harvest", "carbon.retire"],
|
|
5315
5322
|
kyc: ["kycLoadForm", "kycInitiate", "kycGetVerificationUrl", "kycGetStatus", "kycSaveCredential"],
|
|
5316
5323
|
evalRegister: ["requestPin", "mintBotDelegation", "depositDelegation", "registerEvalCollection"],
|
|
5324
|
+
// Evaluation-oracle marketplace (qi/eval.connect — Task 2's host lane). Flat top-level keys, same
|
|
5325
|
+
// seam as `evalRegister` above and `uploadRubric`/`pinRubric` below — see handlers.ts:897-903.
|
|
5326
|
+
evalOracle: ["listEvalOracles", "mintOracleDelegation", "registerWithEvalOracle"],
|
|
5327
|
+
// Decision API (qi/decision.request) — flat top-level keys, see lib/decisions/decisionApi.ts.
|
|
5328
|
+
decisions: ["listDecisionOracles", "listDecisionProtocols", "getDecisionProtocol", "ensureDecisionSource", "submitDecisionClaim"],
|
|
5317
5329
|
// Rubric publishing (qi/eval.rubric). `pinRubric` is best-effort (run() guards it), so it is not
|
|
5318
5330
|
// required for the group to be usable — `uploadRubric` (store the bytes) and `getRubricSchema`
|
|
5319
5331
|
// (the pre-publish shape check) are.
|
|
@@ -5527,6 +5539,27 @@ function buildServicesFromHandlers(handlers) {
|
|
|
5527
5539
|
depositDelegation: async (params) => handlers.depositDelegation(params),
|
|
5528
5540
|
registerCollection: async (params) => handlers.registerEvalCollection(params)
|
|
5529
5541
|
} : void 0,
|
|
5542
|
+
// Evaluation-oracle marketplace service (qi/eval.connect — three-action-blocks plan Task 4).
|
|
5543
|
+
// The consumer exposes the three flat handlers `listEvalOracles`/`mintOracleDelegation`/
|
|
5544
|
+
// `registerWithEvalOracle` (Task 2, `lib/blocknote/evalOracle.ts`, spread flat into the same
|
|
5545
|
+
// top-level object as `evalRegister`'s handlers — see handlers.ts:897-903); this group renames
|
|
5546
|
+
// them onto the shorter `EvalOracleService` method names `run()` calls. All host signing/HTTP
|
|
5547
|
+
// stays host-side; the core run() proof-guards every result, so we only forward calls here.
|
|
5548
|
+
evalOracle: handlers?.listEvalOracles && handlers?.mintOracleDelegation && handlers?.registerWithEvalOracle ? {
|
|
5549
|
+
listOracles: async (params) => handlers.listEvalOracles(params),
|
|
5550
|
+
mintClaimAccess: async (params) => handlers.mintOracleDelegation(params),
|
|
5551
|
+
register: async (params) => handlers.registerWithEvalOracle(params)
|
|
5552
|
+
} : void 0,
|
|
5553
|
+
// Decision API service (qi/decision.request). The consumer exposes five flat handlers
|
|
5554
|
+
// (`lib/decisions/decisionApi.ts`); this group renames them onto `DecisionService`.
|
|
5555
|
+
decisions: handlers?.listDecisionOracles && handlers?.listDecisionProtocols && handlers?.getDecisionProtocol && handlers?.ensureDecisionSource && handlers?.submitDecisionClaim ? {
|
|
5556
|
+
listOracles: async () => handlers.listDecisionOracles(),
|
|
5557
|
+
listProtocols: async (params) => handlers.listDecisionProtocols(params),
|
|
5558
|
+
getProtocol: async (params) => handlers.getDecisionProtocol(params),
|
|
5559
|
+
ensureSource: async (params) => handlers.ensureDecisionSource(params),
|
|
5560
|
+
submitClaim: async (params) => handlers.submitDecisionClaim(params),
|
|
5561
|
+
...handlers.approveDecisionPayments ? { approvePayments: async (params) => handlers.approveDecisionPayments(params) } : {}
|
|
5562
|
+
} : void 0,
|
|
5530
5563
|
// Rubric publishing service (qi/eval.rubric — spec §B.2/§C). Host-side: `uploadRubric` (Matrix
|
|
5531
5564
|
// media store, returns the content hash used as the id), `getRubricSchema` (fetch the engine's
|
|
5532
5565
|
// served JSON Schema for the pre-publish shape check), `pinRubric` (best-effort engine link).
|
|
@@ -8879,6 +8912,16 @@ registerAction({
|
|
|
8879
8912
|
defaultRequiresConfirmation: true,
|
|
8880
8913
|
requiredCapability: "flow/run.start",
|
|
8881
8914
|
executionOwner: "agent",
|
|
8915
|
+
topic: {
|
|
8916
|
+
supportedBaseKinds: ["task", "agent_task", "proposal", "evaluation", "claims", "question", "discussion", "incident"],
|
|
8917
|
+
relevance: "contextual",
|
|
8918
|
+
writeBackMode: "receipt-only",
|
|
8919
|
+
semanticRecordTypes: [],
|
|
8920
|
+
permittedTopicRecordTypes: [],
|
|
8921
|
+
lifecycleEffect: "none",
|
|
8922
|
+
requiredTopicAbilities: ["topic/request-action", "topic/record-action"],
|
|
8923
|
+
redactionPolicy: { mode: "paths", sensitiveInputPaths: [], sensitiveOutputPaths: [] }
|
|
8924
|
+
},
|
|
8882
8925
|
inputSchema: {
|
|
8883
8926
|
type: "object",
|
|
8884
8927
|
properties: {
|
|
@@ -13570,6 +13613,153 @@ registerAction({
|
|
|
13570
13613
|
}
|
|
13571
13614
|
});
|
|
13572
13615
|
|
|
13616
|
+
// src/core/lib/actionRegistry/actions/collectionCreate/index.ts
|
|
13617
|
+
var COLLECTION_CREATE_ACTION_TYPE = "qi/collection.create";
|
|
13618
|
+
var COLLECTION_CREATE_OUTPUT_SCHEMA = [
|
|
13619
|
+
{ path: "collectionId", displayName: "Collection ID", type: "string", description: "Chain-assigned collection identifier" },
|
|
13620
|
+
{ path: "transactionHash", displayName: "Tx Hash", type: "string", description: "MsgCreateCollection broadcast transaction hash" },
|
|
13621
|
+
{ path: "protocolDid", displayName: "Protocol", type: "string", description: "Protocol DID the collection follows" },
|
|
13622
|
+
{ path: "deedDid", displayName: "Entity (deed) DID", type: "string", description: "Entity (deed) DID the collection belongs to" }
|
|
13623
|
+
];
|
|
13624
|
+
var COLLECTION_CREATED_EVENT_NAME2 = "created";
|
|
13625
|
+
var COLLECTION_CREATED_EVENT2 = {
|
|
13626
|
+
name: COLLECTION_CREATED_EVENT_NAME2,
|
|
13627
|
+
displayName: "Collection created",
|
|
13628
|
+
description: "Fires once when a new claim collection is created on-chain. Carries the collection id, entity (deed) DID and protocol so a listener can manage the new collection.",
|
|
13629
|
+
payloadSchema: [
|
|
13630
|
+
{ path: "collectionId", displayName: "Collection ID", type: "string", description: "Chain-assigned collection identifier" },
|
|
13631
|
+
{ path: "entity", displayName: "Entity DID", type: "string", description: "Entity (deed) DID the collection belongs to" },
|
|
13632
|
+
{ path: "protocol", displayName: "Protocol", type: "string", description: "Protocol DID/id the collection follows" },
|
|
13633
|
+
{ path: "transactionHash", displayName: "Tx Hash", type: "string", description: "MsgCreateCollection broadcast transaction hash" }
|
|
13634
|
+
],
|
|
13635
|
+
pendingDisplayFields: ["collectionId", "entity"]
|
|
13636
|
+
};
|
|
13637
|
+
|
|
13638
|
+
// src/core/lib/actionRegistry/actions/collectionCreate/collectionCreate.ts
|
|
13639
|
+
var USDC_IBC_DENOM = "ibc/6BBE9BD4246F8E04948D5A4EEE7164B2630263B9EBB5E7DC5F0A46C62A2FF97B";
|
|
13640
|
+
function resolveDenom(paymentDenom) {
|
|
13641
|
+
return paymentDenom === "usdc" ? USDC_IBC_DENOM : "uixo";
|
|
13642
|
+
}
|
|
13643
|
+
function normalizeAmount(value) {
|
|
13644
|
+
const trimmed = String(value ?? "").trim();
|
|
13645
|
+
return trimmed === "" ? "0" : trimmed;
|
|
13646
|
+
}
|
|
13647
|
+
function buildLeg(denom, amount) {
|
|
13648
|
+
return { account: "", amount: [{ denom, amount }] };
|
|
13649
|
+
}
|
|
13650
|
+
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
13651
|
+
var DEFAULT_COLLECTION_DURATION_DAYS = 90;
|
|
13652
|
+
function effectiveStartDate(startDate) {
|
|
13653
|
+
const parsed = startDate ? new Date(startDate) : null;
|
|
13654
|
+
return parsed && !Number.isNaN(parsed.getTime()) ? parsed : /* @__PURE__ */ new Date();
|
|
13655
|
+
}
|
|
13656
|
+
function resolveEndDate(startDate, endDate) {
|
|
13657
|
+
const start = effectiveStartDate(startDate);
|
|
13658
|
+
const trimmedEnd = String(endDate ?? "").trim();
|
|
13659
|
+
const parsedEnd = trimmedEnd ? new Date(trimmedEnd) : null;
|
|
13660
|
+
const end = parsedEnd && !Number.isNaN(parsedEnd.getTime()) ? parsedEnd : new Date(start.getTime() + DEFAULT_COLLECTION_DURATION_DAYS * DAY_MS);
|
|
13661
|
+
if (Number.isNaN(end.getTime()) || end.getTime() <= start.getTime()) {
|
|
13662
|
+
throw new Error(
|
|
13663
|
+
`create: end date "${endDate}" must be after the start date. An on-chain nil/invalid EndDate panics the chain on every claim submission against this collection (ixo v8 x/claims msg_server.go:164).`
|
|
13664
|
+
);
|
|
13665
|
+
}
|
|
13666
|
+
return end.toISOString();
|
|
13667
|
+
}
|
|
13668
|
+
registerAction({
|
|
13669
|
+
type: COLLECTION_CREATE_ACTION_TYPE,
|
|
13670
|
+
can: "collection/create",
|
|
13671
|
+
sideEffect: true,
|
|
13672
|
+
executionOwner: "human",
|
|
13673
|
+
cardinality: "many",
|
|
13674
|
+
defaultRequiresConfirmation: true,
|
|
13675
|
+
requiredCapability: "flow/block/execute",
|
|
13676
|
+
proof: { fields: ["collectionId"] },
|
|
13677
|
+
// `cardinality: 'many'` — the manifest invariant (`manifest.test.ts`) requires
|
|
13678
|
+
// every repeatable action to use `neverDone`, the same contract every other
|
|
13679
|
+
// 'many' action in this registry uses (qi/claim.submit, qi/collection.users,
|
|
13680
|
+
// the Xero create actions): a repeatable capability never latches to a
|
|
13681
|
+
// terminal Done, so this never withholds flow completion. This does NOT
|
|
13682
|
+
// affect the FlowDetail's own success display, which reads `runtime.state`
|
|
13683
|
+
// directly, not this fold.
|
|
13684
|
+
done: neverDone,
|
|
13685
|
+
outputSchema: COLLECTION_CREATE_OUTPUT_SCHEMA,
|
|
13686
|
+
getDynamicOutputSchema: () => COLLECTION_CREATE_OUTPUT_SCHEMA,
|
|
13687
|
+
inputSchema: {
|
|
13688
|
+
type: "object",
|
|
13689
|
+
required: ["deedDid", "protocolDid", "quota"],
|
|
13690
|
+
properties: {
|
|
13691
|
+
deedDid: { type: "string", description: "Entity (deed) the claims are collected for." },
|
|
13692
|
+
protocolDid: { type: "string", description: "Protocol whose form and rules this collection uses." },
|
|
13693
|
+
protocolTitle: { type: "string", description: "Display name of the picked protocol (for the diff/review UI)." },
|
|
13694
|
+
paymentDenom: { type: "string", enum: ["uixo", "usdc"], default: "uixo" },
|
|
13695
|
+
approvalAmount: { type: "string", description: 'Payout per approved claim, base units. "0" = none.' },
|
|
13696
|
+
evaluationAmount: {
|
|
13697
|
+
type: "string",
|
|
13698
|
+
description: `Evaluation fee per claim, base units \u2014 must cover the protocol's oracle (its price shows in the Connect Evaluation block). "0" = none.`
|
|
13699
|
+
},
|
|
13700
|
+
quota: { type: "number", description: "Maximum claims. 0 = unlimited." },
|
|
13701
|
+
startDate: { type: "string", description: "ISO date. Empty = starts immediately." },
|
|
13702
|
+
endDate: { type: "string", description: "ISO date. Empty = 90 days from start." }
|
|
13703
|
+
}
|
|
13704
|
+
},
|
|
13705
|
+
eligibleForEventTrigger: false,
|
|
13706
|
+
events: [COLLECTION_CREATED_EVENT2],
|
|
13707
|
+
run: async (inputs, ctx) => {
|
|
13708
|
+
const service = ctx.services.collection;
|
|
13709
|
+
if (!service) {
|
|
13710
|
+
throw new Error("collection service not configured (ctx.services.collection is undefined)");
|
|
13711
|
+
}
|
|
13712
|
+
const deedDid = String(inputs.deedDid || "").trim();
|
|
13713
|
+
const protocolDid = String(inputs.protocolDid || "").trim();
|
|
13714
|
+
if (!deedDid) throw new Error("deedDid is required");
|
|
13715
|
+
if (!protocolDid) throw new Error("protocolDid is required");
|
|
13716
|
+
if (!protocolDid.startsWith("did:") || protocolDid.includes("#")) {
|
|
13717
|
+
throw new Error(
|
|
13718
|
+
`protocolDid "${protocolDid}" is not a valid DID. The selected claim protocol did not resolve to a ledgered did:ixo: identifier (it may be an unresolved template reference). Re-pick the protocol from the entity's linked claims.`
|
|
13719
|
+
);
|
|
13720
|
+
}
|
|
13721
|
+
const endDate = resolveEndDate(inputs.startDate, inputs.endDate);
|
|
13722
|
+
const denom = resolveDenom(inputs.paymentDenom);
|
|
13723
|
+
const payments = {
|
|
13724
|
+
// Frozen at zero: this block has no submission/rejection fee inputs —
|
|
13725
|
+
// only the approval payout and the evaluation fee are configurable.
|
|
13726
|
+
submission: buildLeg(denom, "0"),
|
|
13727
|
+
evaluation: buildLeg(denom, normalizeAmount(inputs.evaluationAmount)),
|
|
13728
|
+
approval: buildLeg(denom, normalizeAmount(inputs.approvalAmount)),
|
|
13729
|
+
rejection: buildLeg(denom, "0")
|
|
13730
|
+
};
|
|
13731
|
+
const result = await service.create({
|
|
13732
|
+
entity: deedDid,
|
|
13733
|
+
protocol: protocolDid,
|
|
13734
|
+
startDate: inputs.startDate || void 0,
|
|
13735
|
+
// ALWAYS a concrete ISO string — never undefined/absent. See
|
|
13736
|
+
// resolveEndDate's header comment for why.
|
|
13737
|
+
endDate,
|
|
13738
|
+
quota: String(inputs.quota ?? 0),
|
|
13739
|
+
payments
|
|
13740
|
+
});
|
|
13741
|
+
const transactionHash = String(result?.transactionHash || "").trim();
|
|
13742
|
+
const collectionId = String(result?.collectionId || "").trim();
|
|
13743
|
+
if (!transactionHash) {
|
|
13744
|
+
throw new Error("create: service returned no transactionHash. Collection was not created.");
|
|
13745
|
+
}
|
|
13746
|
+
if (!collectionId) {
|
|
13747
|
+
throw new Error("create: service returned no collectionId.");
|
|
13748
|
+
}
|
|
13749
|
+
return {
|
|
13750
|
+
output: { collectionId, transactionHash, protocolDid, deedDid },
|
|
13751
|
+
// Byte-compatible with qi/collection.lifecycle's `created` payload (see
|
|
13752
|
+
// ./index.ts) so a downstream `block.event` trigger works identically.
|
|
13753
|
+
events: [
|
|
13754
|
+
{
|
|
13755
|
+
name: COLLECTION_CREATED_EVENT_NAME2,
|
|
13756
|
+
payload: { collectionId, entity: deedDid, protocol: protocolDid, transactionHash }
|
|
13757
|
+
}
|
|
13758
|
+
]
|
|
13759
|
+
};
|
|
13760
|
+
}
|
|
13761
|
+
});
|
|
13762
|
+
|
|
13573
13763
|
// src/core/lib/actionRegistry/actions/collectionUsers/index.ts
|
|
13574
13764
|
var COLLECTION_USERS_ACTION_TYPE = "qi/collection.users";
|
|
13575
13765
|
var COLLECTION_USERS_MAX_GRANTS_PER_TX = 40;
|
|
@@ -14127,7 +14317,7 @@ function composeCollectionDescription(answers) {
|
|
|
14127
14317
|
async function runEvalRegister(inputs, ctx) {
|
|
14128
14318
|
const service = ctx.services.evalRegister;
|
|
14129
14319
|
if (!service) {
|
|
14130
|
-
throw new Error("
|
|
14320
|
+
throw new Error('This block enrols with the retired decision engine, which is switched off. Replace it with "Connect an evaluation oracle" (qi/eval.connect).');
|
|
14131
14321
|
}
|
|
14132
14322
|
const collectionId = String(inputs.collectionId || "").trim();
|
|
14133
14323
|
const deedDid = String(inputs.deedDid || "").trim();
|
|
@@ -15842,6 +16032,13 @@ var EVAL_ENGINE_OUTPUT_SCHEMA = [...EVAL_REGISTER_OUTPUT_SCHEMA, ...EVAL_RUBRIC_
|
|
|
15842
16032
|
registerAction({
|
|
15843
16033
|
type: EVAL_ENGINE_ACTION_TYPE,
|
|
15844
16034
|
can: "eval/engine",
|
|
16035
|
+
// Superseded by the three split blocks (2026-09-03, this SDD) — qi/collection.create,
|
|
16036
|
+
// qi/eval.connect, qi/claim.evaluate — not offered to authors anymore. Kept registered with
|
|
16037
|
+
// `run()`, its input schema, and the evalRegister/evalRubric modules it imports byte-identical:
|
|
16038
|
+
// saved flows that already reference this block must keep executing exactly as before.
|
|
16039
|
+
deprecated: true,
|
|
16040
|
+
supersededBy: "qi/eval.connect",
|
|
16041
|
+
hiddenFromAuthoring: true,
|
|
15845
16042
|
sideEffect: true,
|
|
15846
16043
|
dynamicResolutionMode: "replace",
|
|
15847
16044
|
proof: { fields: ["registrationId", "rubricId", "resourceTxHash"] },
|
|
@@ -15920,6 +16117,285 @@ registerAction({
|
|
|
15920
16117
|
}
|
|
15921
16118
|
});
|
|
15922
16119
|
|
|
16120
|
+
// src/core/lib/actionRegistry/actions/evalConnect/index.ts
|
|
16121
|
+
var EVAL_CONNECT_ACTION_TYPE = "qi/eval.connect";
|
|
16122
|
+
var EVAL_CONNECT_OUTPUT_SCHEMA = [
|
|
16123
|
+
{ path: "oracleDid", displayName: "Oracle DID", type: "string", description: "Connected evaluator entity DID (delegation audience)." },
|
|
16124
|
+
{ path: "oracleName", displayName: "Oracle name", type: "string", description: "Display name of the connected evaluator." },
|
|
16125
|
+
{ path: "oracleUrl", displayName: "Oracle URL", type: "string", description: "The connected evaluator's service endpoint." },
|
|
16126
|
+
{ path: "registrationStatus", displayName: "Registration status", type: "string", description: "The oracle's own status for this registration (e.g. active)." },
|
|
16127
|
+
{ path: "grantTxHash", displayName: "Grant tx hash", type: "string", description: "Transaction hash of the evaluate-authz grant to the oracle." }
|
|
16128
|
+
];
|
|
16129
|
+
|
|
16130
|
+
// src/core/lib/actionRegistry/actions/evalConnect/evalConnect.ts
|
|
16131
|
+
var LOG = "[eval.connect]";
|
|
16132
|
+
function markConnectStep(ctx, step) {
|
|
16133
|
+
if (!ctx.runtime) return;
|
|
16134
|
+
const current = ctx.runtime.get(ctx.nodeId);
|
|
16135
|
+
ctx.runtime.update(ctx.nodeId, { output: { ...current.output || {}, connectStep: step } });
|
|
16136
|
+
}
|
|
16137
|
+
registerAction({
|
|
16138
|
+
type: EVAL_CONNECT_ACTION_TYPE,
|
|
16139
|
+
can: "eval/connect",
|
|
16140
|
+
sideEffect: true,
|
|
16141
|
+
executionOwner: "human",
|
|
16142
|
+
cardinality: "many",
|
|
16143
|
+
defaultRequiresConfirmation: true,
|
|
16144
|
+
requiredCapability: "flow/block/execute",
|
|
16145
|
+
proof: { fields: ["oracleDid", "registrationStatus"] },
|
|
16146
|
+
// `cardinality: 'many'` — the manifest invariant (`manifest.test.ts`) requires every repeatable
|
|
16147
|
+
// action to use `neverDone` (qi/collection.create hit this same rule first): a re-connect /
|
|
16148
|
+
// switch-evaluator run is this block's documented "change my mind" path, so a `completed` runtime
|
|
16149
|
+
// entry never latches to a terminal Done and never withholds flow completion.
|
|
16150
|
+
done: neverDone,
|
|
16151
|
+
outputSchema: EVAL_CONNECT_OUTPUT_SCHEMA,
|
|
16152
|
+
getDynamicOutputSchema: () => EVAL_CONNECT_OUTPUT_SCHEMA,
|
|
16153
|
+
// Same listener story as `qi/eval.engine` (`../evalEngine/evalEngine.ts:77-79`): a Claim
|
|
16154
|
+
// Collection `created` event can bind the collection, and the evaluator picker then runs against
|
|
16155
|
+
// that collection's resolved protocol.
|
|
16156
|
+
eligibleForEventTrigger: true,
|
|
16157
|
+
inputSchema: {
|
|
16158
|
+
type: "object",
|
|
16159
|
+
required: ["collectionId", "deedDid"],
|
|
16160
|
+
properties: {
|
|
16161
|
+
collectionId: { type: "string", description: "Target claim collection to hand off to the evaluator." },
|
|
16162
|
+
deedDid: { type: "string", description: "Entity (deed) DID the collection belongs to." },
|
|
16163
|
+
adminAddress: { type: "string", description: "Granter entity admin account address \u2014 required to grant the evaluator its rights." },
|
|
16164
|
+
oracleDid: { type: "string", description: "Selected evaluator entity DID (delegation audience). Chosen at flow time." },
|
|
16165
|
+
oracleUrl: { type: "string", description: "Selected evaluator's service endpoint. Chosen at flow time." },
|
|
16166
|
+
oracleAddress: { type: "string", description: "Selected evaluator grantee address. Chosen at flow time." },
|
|
16167
|
+
oracleName: { type: "string", description: "Display name of the selected evaluator, for the diff/review UI and output only." },
|
|
16168
|
+
contactEmail: { type: "string", description: "Optional contact email the evaluator can reach the owner at." },
|
|
16169
|
+
evaluateMaxAmount: { type: "array", description: "Per-claim payout cap on the evaluate grant, base-unit coins in the owner's denoms." }
|
|
16170
|
+
}
|
|
16171
|
+
},
|
|
16172
|
+
run: async (inputs, ctx) => {
|
|
16173
|
+
const collectionId = String(inputs.collectionId || "").trim();
|
|
16174
|
+
const deedDid = String(inputs.deedDid || "").trim();
|
|
16175
|
+
if (!collectionId) throw new Error("collectionId is required");
|
|
16176
|
+
if (!deedDid) throw new Error("deedDid (entity/deed DID) is required");
|
|
16177
|
+
const oracleDid = String(inputs.oracleDid || "").trim();
|
|
16178
|
+
const oracleUrl = String(inputs.oracleUrl || "").trim();
|
|
16179
|
+
const oracleAddress = String(inputs.oracleAddress || "").trim();
|
|
16180
|
+
if (!oracleDid || !oracleUrl || !oracleAddress) {
|
|
16181
|
+
throw new Error("No evaluator selected. Pick this protocol\u2019s evaluation service before connecting the collection.");
|
|
16182
|
+
}
|
|
16183
|
+
const oracleName = String(inputs.oracleName || "").trim();
|
|
16184
|
+
const contactEmail = String(inputs.contactEmail || "").trim() || void 0;
|
|
16185
|
+
const granterAdminAddress = String(inputs.adminAddress || "").trim();
|
|
16186
|
+
if (!granterAdminAddress) {
|
|
16187
|
+
throw new Error("adminAddress (entity admin account) is required to grant the evaluator its rights on this collection.");
|
|
16188
|
+
}
|
|
16189
|
+
const evalOracleService = ctx.services.evalOracle;
|
|
16190
|
+
if (!evalOracleService) throw new Error("evalOracle service not configured (ctx.services.evalOracle is undefined)");
|
|
16191
|
+
const grantService = ctx.services.collectionUsers;
|
|
16192
|
+
if (!grantService) throw new Error("collectionUsers service not configured (needed for the evaluate-authz grant)");
|
|
16193
|
+
console.log(`${LOG} step 1/3 grant`, { collectionId, oracleAddress });
|
|
16194
|
+
const grant = await grantService.grant({
|
|
16195
|
+
granterAdminAddress,
|
|
16196
|
+
granteeAddress: oracleAddress,
|
|
16197
|
+
collectionId,
|
|
16198
|
+
role: "evaluate",
|
|
16199
|
+
// The oracle acts on every claim in the collection — the chain rejects a 0 quota, so use the
|
|
16200
|
+
// effectively-unlimited value the portal already grants its subscription oracles.
|
|
16201
|
+
agentQuota: "9999999",
|
|
16202
|
+
// The cap on what the oracle may pay out per claim. An EMPTY cap rejects any evaluation that
|
|
16203
|
+
// carries coins — the config UI collects it, this never picks one.
|
|
16204
|
+
maxAmount: Array.isArray(inputs.evaluateMaxAmount) && inputs.evaluateMaxAmount.length > 0 ? inputs.evaluateMaxAmount : void 0,
|
|
16205
|
+
deedDid
|
|
16206
|
+
});
|
|
16207
|
+
const grantTxHash = String(grant?.transactionHash || "").trim();
|
|
16208
|
+
if (!grantTxHash) {
|
|
16209
|
+
throw new Error("[step 1/3 grant] evaluate grant returned no transactionHash. The evaluator was not authorized.");
|
|
16210
|
+
}
|
|
16211
|
+
markConnectStep(ctx, "grant");
|
|
16212
|
+
console.log(`${LOG} step 2/3 mintClaimAccess`, { oracleDid });
|
|
16213
|
+
const minted = await evalOracleService.mintClaimAccess({ audienceDid: oracleDid });
|
|
16214
|
+
const delegationCar = String(minted?.delegationCar || "").trim();
|
|
16215
|
+
if (!delegationCar) {
|
|
16216
|
+
throw new Error("[step 2/3 mintClaimAccess] mintClaimAccess returned no delegationCar. The claim-access delegation was not created.");
|
|
16217
|
+
}
|
|
16218
|
+
markConnectStep(ctx, "mint");
|
|
16219
|
+
console.log(`${LOG} step 3/3 register`, { oracleUrl, collectionId });
|
|
16220
|
+
const result = await evalOracleService.register({ oracleUrl, collectionId, delegationCar, contactEmail });
|
|
16221
|
+
if (!result.ok) {
|
|
16222
|
+
throw new Error(`[step 3/3 register] ${result.gate}: ${result.message}`);
|
|
16223
|
+
}
|
|
16224
|
+
markConnectStep(ctx, "register");
|
|
16225
|
+
return {
|
|
16226
|
+
output: {
|
|
16227
|
+
oracleDid,
|
|
16228
|
+
oracleName,
|
|
16229
|
+
oracleUrl,
|
|
16230
|
+
registrationStatus: result.status,
|
|
16231
|
+
grantTxHash
|
|
16232
|
+
}
|
|
16233
|
+
};
|
|
16234
|
+
}
|
|
16235
|
+
});
|
|
16236
|
+
|
|
16237
|
+
// src/core/lib/actionRegistry/actions/decisionRequest/index.ts
|
|
16238
|
+
var DECISION_REQUEST_ACTION_TYPE = "qi/decision.request";
|
|
16239
|
+
var DECISION_REQUEST_ERROR_CODES = {
|
|
16240
|
+
paymentRequired: "payment_required",
|
|
16241
|
+
pending: "decision_pending",
|
|
16242
|
+
sourceSetupRequired: "source_setup_required",
|
|
16243
|
+
oracleUntrusted: "oracle_untrusted",
|
|
16244
|
+
formAnswersMissing: "form_answers_missing",
|
|
16245
|
+
paymentApprovalRequired: "payment_approval_required",
|
|
16246
|
+
paymentRefused: "payment_refused",
|
|
16247
|
+
paymentsUnavailable: "payments_unavailable",
|
|
16248
|
+
fileRejected: "file_rejected",
|
|
16249
|
+
fileUnreadable: "file_unreadable",
|
|
16250
|
+
uploadFailed: "upload_failed",
|
|
16251
|
+
allowanceInvalid: "allowance_invalid"
|
|
16252
|
+
};
|
|
16253
|
+
var DECISION_REQUEST_OUTPUT_SCHEMA = [
|
|
16254
|
+
{ path: "claimId", displayName: "Claim ID", type: "string", description: "The oracle's id for the submitted claim." },
|
|
16255
|
+
{ path: "verdict", displayName: "Verdict", type: "string", description: "approve, partial, reject or review." },
|
|
16256
|
+
{ path: "receiptCid", displayName: "Receipt CID", type: "string", description: "CID of the oracle's signed decision receipt, when one was minted." },
|
|
16257
|
+
{ path: "status", displayName: "Decision status", type: "string", description: "decided, pending_review, unusable or invalid_facts." },
|
|
16258
|
+
{ path: "oracleDid", displayName: "Oracle DID", type: "string", description: "The oracle that decided the claim." },
|
|
16259
|
+
{ path: "protocolDid", displayName: "Protocol DID", type: "string", description: "The protocol the claim was submitted under." },
|
|
16260
|
+
{ path: "paidAmount", displayName: "Paid (upay)", type: "string", description: "What this decision cost, in upay (1 PAY = 1,000,000 upay); empty when it was free." },
|
|
16261
|
+
{ path: "paymentTx", displayName: "Payment transaction", type: "string", description: "The settlement transaction, once the facilitator has settled the payment." }
|
|
16262
|
+
];
|
|
16263
|
+
var asObject = (value) => value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
16264
|
+
function parseObject(value) {
|
|
16265
|
+
if (typeof value !== "string" || !value.trim()) return asObject(value);
|
|
16266
|
+
try {
|
|
16267
|
+
return asObject(JSON.parse(value));
|
|
16268
|
+
} catch {
|
|
16269
|
+
return null;
|
|
16270
|
+
}
|
|
16271
|
+
}
|
|
16272
|
+
function resolveFormAnswers(eventAnswers, sourceOutput) {
|
|
16273
|
+
const output = asObject(sourceOutput);
|
|
16274
|
+
const candidates = [asObject(eventAnswers), parseObject(output?.answers), parseObject(asObject(output?.form)?.answers)];
|
|
16275
|
+
return candidates.find((answers) => !!answers && Object.keys(answers).length > 0) ?? null;
|
|
16276
|
+
}
|
|
16277
|
+
|
|
16278
|
+
// src/core/lib/actionRegistry/actions/decisionRequest/decisionRequest.ts
|
|
16279
|
+
var LOG2 = "[decision.request]";
|
|
16280
|
+
function parseDecisionAnswers(raw) {
|
|
16281
|
+
if (raw && typeof raw === "object" && !Array.isArray(raw)) return raw;
|
|
16282
|
+
const text = typeof raw === "string" ? raw.trim() : "";
|
|
16283
|
+
if (!text) return {};
|
|
16284
|
+
let parsed;
|
|
16285
|
+
try {
|
|
16286
|
+
parsed = JSON.parse(text);
|
|
16287
|
+
} catch {
|
|
16288
|
+
throw new Error("answers must be a JSON object");
|
|
16289
|
+
}
|
|
16290
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("answers must be a JSON object");
|
|
16291
|
+
return parsed;
|
|
16292
|
+
}
|
|
16293
|
+
function formAnswersOf(inputs, ctx) {
|
|
16294
|
+
const sourceBlockId = String(ctx.pendingInvocation?.triggeringBlockId || inputs.answersSourceBlockId || "").trim();
|
|
16295
|
+
const answers = resolveFormAnswers(inputs.answers, sourceBlockId && ctx.runtime ? ctx.runtime.get(sourceBlockId)?.output : null);
|
|
16296
|
+
if (!answers) throw new Error(`[${DECISION_REQUEST_ERROR_CODES.formAnswersMissing}] The Form step has not sent any answers yet.`);
|
|
16297
|
+
return answers;
|
|
16298
|
+
}
|
|
16299
|
+
function decisionIdempotencyKey(ctx, body, attempt = 0) {
|
|
16300
|
+
return `qi-flow:${sha256Digest({ flowId: ctx.flowId, nodeId: ctx.nodeId, runId: ctx.sessionRunId ?? null, ...body, ...attempt > 0 ? { attempt } : {} })}`;
|
|
16301
|
+
}
|
|
16302
|
+
var ATTEMPT_FIELD = "decisionAttempt";
|
|
16303
|
+
function decisionAttemptOf(ctx) {
|
|
16304
|
+
const value = ctx.runtime ? ctx.runtime.get(ctx.nodeId)?.[ATTEMPT_FIELD] : void 0;
|
|
16305
|
+
return typeof value === "number" && Number.isInteger(value) && value > 0 ? value : 0;
|
|
16306
|
+
}
|
|
16307
|
+
var decisionRequestDone = {
|
|
16308
|
+
isDone: (state) => state.state === "completed" && typeof state.output?.claimId === "string" && state.output.claimId.trim().length > 0,
|
|
16309
|
+
reopenable: true,
|
|
16310
|
+
standingDoneRequiresFold: true
|
|
16311
|
+
};
|
|
16312
|
+
registerAction({
|
|
16313
|
+
type: DECISION_REQUEST_ACTION_TYPE,
|
|
16314
|
+
can: "decision/request",
|
|
16315
|
+
sideEffect: true,
|
|
16316
|
+
executionOwner: "human",
|
|
16317
|
+
defaultRequiresConfirmation: true,
|
|
16318
|
+
requiredCapability: "flow/block/execute",
|
|
16319
|
+
proof: { fields: ["claimId"] },
|
|
16320
|
+
// Repeatable with a reopenable, proof-checked fold (qi/claim.evaluate's pattern), not neverDone:
|
|
16321
|
+
// neverDone would put the step below the line. Each form submission is its own decision — a new
|
|
16322
|
+
// queued submission reopens a done step (deriveBlockPhase: done with nothing queued = drained).
|
|
16323
|
+
cardinality: "many",
|
|
16324
|
+
done: decisionRequestDone,
|
|
16325
|
+
outputSchema: DECISION_REQUEST_OUTPUT_SCHEMA,
|
|
16326
|
+
eligibleForEventTrigger: true,
|
|
16327
|
+
inputSchema: {
|
|
16328
|
+
type: "object",
|
|
16329
|
+
required: ["oracleDid", "apiUrl", "protocolDid"],
|
|
16330
|
+
properties: {
|
|
16331
|
+
oracleDid: { type: "string", description: "The evaluation oracle's did:web." },
|
|
16332
|
+
apiUrl: { type: "string", description: "The oracle's Decision API base URL." },
|
|
16333
|
+
protocolDid: { type: "string", description: "The protocol the claim is submitted under." },
|
|
16334
|
+
answers: { description: "The claim's answers, shaped by the protocol's work order." },
|
|
16335
|
+
answersMode: { type: "string", description: "manual (JSON entered in the block) or form (the answers a Form step submits)." },
|
|
16336
|
+
answersSourceBlockId: { type: "string", description: "The Form step whose answers are used in form mode." }
|
|
16337
|
+
}
|
|
16338
|
+
},
|
|
16339
|
+
run: async (inputs, ctx) => {
|
|
16340
|
+
const oracleDid = String(inputs.oracleDid || "").trim();
|
|
16341
|
+
const apiUrl = String(inputs.apiUrl || "").trim();
|
|
16342
|
+
const protocolDid = String(inputs.protocolDid || "").trim();
|
|
16343
|
+
if (!oracleDid || !apiUrl) throw new Error("No oracle selected. Pick the evaluation oracle that should decide this claim.");
|
|
16344
|
+
if (!protocolDid) throw new Error("No protocol selected. Pick the protocol this claim is submitted under.");
|
|
16345
|
+
const formMode = inputs.answersMode === "form" || !!ctx.pendingInvocation;
|
|
16346
|
+
const answers = formMode ? formAnswersOf(inputs, ctx) : parseDecisionAnswers(inputs.answers);
|
|
16347
|
+
const service = ctx.services.decisions;
|
|
16348
|
+
if (!service) throw new Error("decisions service not configured (ctx.services.decisions is undefined)");
|
|
16349
|
+
console.log(`${LOG2} step 1/2 ensureSource`, { oracleDid });
|
|
16350
|
+
const { sourceId } = await service.ensureSource({ oracleDid, apiUrl, protocolDid });
|
|
16351
|
+
if (!sourceId) throw new Error("[step 1/2 source] the oracle returned no source id");
|
|
16352
|
+
const attempt = decisionAttemptOf(ctx);
|
|
16353
|
+
console.log(`${LOG2} step 2/2 submitClaim`, { oracleDid, protocolDid, attempt });
|
|
16354
|
+
const result = await service.submitClaim({
|
|
16355
|
+
oracleDid,
|
|
16356
|
+
apiUrl,
|
|
16357
|
+
sourceId,
|
|
16358
|
+
protocolDid,
|
|
16359
|
+
answers,
|
|
16360
|
+
idempotencyKey: decisionIdempotencyKey(ctx, { oracleDid, protocolDid, answers }, attempt)
|
|
16361
|
+
});
|
|
16362
|
+
switch (result.status) {
|
|
16363
|
+
case "decided":
|
|
16364
|
+
return {
|
|
16365
|
+
output: {
|
|
16366
|
+
claimId: result.claimId,
|
|
16367
|
+
verdict: result.verdict ?? "",
|
|
16368
|
+
receiptCid: result.receiptCid ?? "",
|
|
16369
|
+
status: result.decisionStatus ?? result.claimStatus,
|
|
16370
|
+
oracleDid,
|
|
16371
|
+
protocolDid,
|
|
16372
|
+
paidAmount: result.payment?.amount ?? "",
|
|
16373
|
+
paymentTx: result.payment?.transaction ?? ""
|
|
16374
|
+
}
|
|
16375
|
+
};
|
|
16376
|
+
case "pending":
|
|
16377
|
+
throw new Error(
|
|
16378
|
+
`[${DECISION_REQUEST_ERROR_CODES.pending}] The oracle is still deciding claim ${result.claimId}. Run this step again to keep waiting.${result.payment ? ` paid=${result.payment.amount}` : ""}`
|
|
16379
|
+
);
|
|
16380
|
+
case "payment_required":
|
|
16381
|
+
throw new Error(`[${DECISION_REQUEST_ERROR_CODES.paymentRequired}] ${result.message}`);
|
|
16382
|
+
case "payment_approval_required":
|
|
16383
|
+
throw new Error(`[${DECISION_REQUEST_ERROR_CODES.paymentApprovalRequired}] This oracle charges for its decisions. amount=${result.amount} fundingUrl=${result.fundingUrl}`);
|
|
16384
|
+
case "payment_refused":
|
|
16385
|
+
throw new Error(
|
|
16386
|
+
`[${DECISION_REQUEST_ERROR_CODES.paymentRefused}] The payment was refused. reason=${result.reason} amount=${result.amount} fundingUrl=${result.fundingUrl}`
|
|
16387
|
+
);
|
|
16388
|
+
case "payments_unavailable":
|
|
16389
|
+
throw new Error(`[${DECISION_REQUEST_ERROR_CODES.paymentsUnavailable}] Decisions can't be paid for on this network yet.`);
|
|
16390
|
+
case "failed":
|
|
16391
|
+
ctx.runtime?.update(ctx.nodeId, { [ATTEMPT_FIELD]: attempt + 1 });
|
|
16392
|
+
throw new Error(`The oracle could not decide claim ${result.claimId}: ${result.message}`);
|
|
16393
|
+
default:
|
|
16394
|
+
throw new Error(result.message || "The decision request failed");
|
|
16395
|
+
}
|
|
16396
|
+
}
|
|
16397
|
+
});
|
|
16398
|
+
|
|
15923
16399
|
// src/core/lib/actionRegistry/actions/kycVerify.ts
|
|
15924
16400
|
registerAction({
|
|
15925
16401
|
type: "qi/kyc.verify",
|
|
@@ -18803,14 +19279,14 @@ function formatDate(value) {
|
|
|
18803
19279
|
if (value === void 0 || value === null || value === "") return "Not set";
|
|
18804
19280
|
return String(value);
|
|
18805
19281
|
}
|
|
18806
|
-
var
|
|
19282
|
+
var USDC_IBC_DENOM2 = "ibc/6BBE9BD4246F8E04948D5A4EEE7164B2630263B9EBB5E7DC5F0A46C62A2FF97B";
|
|
18807
19283
|
function formatCoin3(amount, denom) {
|
|
18808
19284
|
const rawAmount = amount ?? "?";
|
|
18809
19285
|
if (denom === "uixo") {
|
|
18810
19286
|
const n = Number(rawAmount);
|
|
18811
19287
|
return `${Number.isFinite(n) ? n / 1e6 : rawAmount} IXO`;
|
|
18812
19288
|
}
|
|
18813
|
-
if (denom ===
|
|
19289
|
+
if (denom === USDC_IBC_DENOM2 || (denom ?? "").startsWith("ibc/")) {
|
|
18814
19290
|
const n = Number(rawAmount);
|
|
18815
19291
|
return `${Number.isFinite(n) ? n / 1e6 : rawAmount} USDC`;
|
|
18816
19292
|
}
|
|
@@ -19055,6 +19531,34 @@ registerDiffResolver(COLLECTION_LIFECYCLE_ACTION_TYPE, {
|
|
|
19055
19531
|
}
|
|
19056
19532
|
});
|
|
19057
19533
|
|
|
19534
|
+
// src/core/lib/actionRegistry/actions/collectionCreate/collectionCreate.diff.ts
|
|
19535
|
+
function tokenLabel(paymentDenom) {
|
|
19536
|
+
return paymentDenom === "usdc" ? "USDC" : "IXO";
|
|
19537
|
+
}
|
|
19538
|
+
function formatBaseAmount(amount, token) {
|
|
19539
|
+
const n = Number(amount ?? "0");
|
|
19540
|
+
if (!Number.isFinite(n) || n <= 0) return "None";
|
|
19541
|
+
return `${n / 1e6} ${token}`;
|
|
19542
|
+
}
|
|
19543
|
+
registerDiffResolver(COLLECTION_CREATE_ACTION_TYPE, {
|
|
19544
|
+
resolver: async (inputs) => {
|
|
19545
|
+
const protocolDid = String(inputs?.protocolDid || "").trim();
|
|
19546
|
+
if (!protocolDid) return [];
|
|
19547
|
+
const rows = [];
|
|
19548
|
+
const protocolTitle = String(inputs?.protocolTitle || "").trim();
|
|
19549
|
+
rows.push({ key: "protocol", label: "Protocol", before: null, after: protocolTitle ? `${protocolTitle} (${protocolDid})` : protocolDid, changeType: "add" });
|
|
19550
|
+
const token = tokenLabel(inputs?.paymentDenom);
|
|
19551
|
+
rows.push({ key: "approvalAmount", label: "Payout per claim", before: null, after: formatBaseAmount(inputs?.approvalAmount, token), changeType: "add" });
|
|
19552
|
+
rows.push({ key: "evaluationAmount", label: "Evaluation fee", before: null, after: formatBaseAmount(inputs?.evaluationAmount, token), changeType: "add" });
|
|
19553
|
+
const quota = Number(inputs?.quota ?? 0);
|
|
19554
|
+
const quotaLabel = Number.isFinite(quota) && quota > 0 ? `${quota} claims` : "Unlimited";
|
|
19555
|
+
const start = inputs?.startDate ? String(inputs.startDate) : "Immediately";
|
|
19556
|
+
const end = inputs?.endDate ? String(inputs.endDate) : "90 days from start";
|
|
19557
|
+
rows.push({ key: "quota", label: "Quota & window", before: null, after: `${quotaLabel} \xB7 ${start} \u2192 ${end}`, changeType: "add" });
|
|
19558
|
+
return rows;
|
|
19559
|
+
}
|
|
19560
|
+
});
|
|
19561
|
+
|
|
19058
19562
|
// src/core/lib/actionRegistry/actions/collectionUsers/collectionUsers.diff.ts
|
|
19059
19563
|
function formatQuota2(value) {
|
|
19060
19564
|
if (value === void 0 || value === null) return "\u2014";
|
|
@@ -19305,6 +19809,66 @@ function plural(count, noun) {
|
|
|
19305
19809
|
return `${count} ${noun}${count === 1 ? "" : "s"}`;
|
|
19306
19810
|
}
|
|
19307
19811
|
|
|
19812
|
+
// src/core/lib/actionRegistry/actions/evalConnect/evalConnect.diff.ts
|
|
19813
|
+
var USDC_IBC_DENOM3 = "ibc/6BBE9BD4246F8E04948D5A4EEE7164B2630263B9EBB5E7DC5F0A46C62A2FF97B";
|
|
19814
|
+
function tokenLabel2(denom) {
|
|
19815
|
+
if (denom === USDC_IBC_DENOM3) return "USDC";
|
|
19816
|
+
if (denom === "uixo") return "IXO";
|
|
19817
|
+
return String(denom || "");
|
|
19818
|
+
}
|
|
19819
|
+
function formatCoin5(coin) {
|
|
19820
|
+
const n = Number(coin?.amount ?? "0");
|
|
19821
|
+
if (!Number.isFinite(n) || n <= 0) return null;
|
|
19822
|
+
return `${n / 1e6} ${tokenLabel2(coin?.denom)}`;
|
|
19823
|
+
}
|
|
19824
|
+
function formatCap(coins) {
|
|
19825
|
+
if (!Array.isArray(coins) || coins.length === 0) return "Not capped (rejects any evaluation that carries coins)";
|
|
19826
|
+
const parts = coins.map((coin) => formatCoin5(coin)).filter((part) => Boolean(part));
|
|
19827
|
+
return parts.length > 0 ? parts.join(" \xB7 ") : "Not capped (rejects any evaluation that carries coins)";
|
|
19828
|
+
}
|
|
19829
|
+
registerDiffResolver(EVAL_CONNECT_ACTION_TYPE, {
|
|
19830
|
+
resolver: async (inputs) => {
|
|
19831
|
+
const collectionId = String(inputs?.collectionId || "").trim();
|
|
19832
|
+
const oracleDid = String(inputs?.oracleDid || "").trim();
|
|
19833
|
+
if (!collectionId || !oracleDid) return [];
|
|
19834
|
+
const oracleName = String(inputs?.oracleName || "").trim();
|
|
19835
|
+
const contactEmail = String(inputs?.contactEmail || "").trim();
|
|
19836
|
+
const rows = [
|
|
19837
|
+
{ key: "oracle", label: "Oracle", before: null, after: oracleName ? `${oracleName} (${oracleDid})` : oracleDid, changeType: "add" },
|
|
19838
|
+
{ key: "evaluatorRights", label: "Evaluator rights (cap)", before: null, after: formatCap(inputs?.evaluateMaxAmount), changeType: "add" },
|
|
19839
|
+
{
|
|
19840
|
+
key: "claimAccess",
|
|
19841
|
+
label: "Claim access (expiry)",
|
|
19842
|
+
before: null,
|
|
19843
|
+
after: "Read access to this collection\u2019s claims \u2014 long-lived (host default), revocable anytime",
|
|
19844
|
+
changeType: "add"
|
|
19845
|
+
},
|
|
19846
|
+
{
|
|
19847
|
+
key: "registration",
|
|
19848
|
+
label: "Registration",
|
|
19849
|
+
before: null,
|
|
19850
|
+
after: `Hands claim collection ${collectionId} to this evaluator${contactEmail ? ` \xB7 contact ${contactEmail}` : ""}`,
|
|
19851
|
+
changeType: "add"
|
|
19852
|
+
}
|
|
19853
|
+
];
|
|
19854
|
+
return rows;
|
|
19855
|
+
}
|
|
19856
|
+
});
|
|
19857
|
+
|
|
19858
|
+
// src/core/lib/actionRegistry/actions/decisionRequest/decisionRequest.diff.ts
|
|
19859
|
+
registerDiffResolver(DECISION_REQUEST_ACTION_TYPE, {
|
|
19860
|
+
resolver: async (inputs) => {
|
|
19861
|
+
const oracleDid = String(inputs?.oracleDid || "").trim();
|
|
19862
|
+
const protocolDid = String(inputs?.protocolDid || "").trim();
|
|
19863
|
+
if (!oracleDid || !protocolDid) return [];
|
|
19864
|
+
return [
|
|
19865
|
+
{ key: "oracle", label: "Oracle", before: null, after: oracleDid, changeType: "add" },
|
|
19866
|
+
{ key: "protocol", label: "Protocol", before: null, after: protocolDid, changeType: "add" },
|
|
19867
|
+
{ key: "claim", label: "Claim", before: null, after: "Sends these answers to the oracle and waits for its decision", changeType: "add" }
|
|
19868
|
+
];
|
|
19869
|
+
}
|
|
19870
|
+
});
|
|
19871
|
+
|
|
19308
19872
|
// src/core/lib/flowEngine/proof.ts
|
|
19309
19873
|
var PROOF_MISSING_CODE = "PROOF_MISSING";
|
|
19310
19874
|
function getOutputValue(output, path) {
|
|
@@ -20754,7 +21318,10 @@ function computeRunSummary(yDoc, runId, actionTypes, context) {
|
|
|
20754
21318
|
const runContext = { ...context, runId };
|
|
20755
21319
|
const summary = {};
|
|
20756
21320
|
for (const blockId of meta.manifest.blockIds) {
|
|
20757
|
-
|
|
21321
|
+
const action = actionTypes[blockId] ? getAction(actionTypes[blockId]) : void 0;
|
|
21322
|
+
const queued = readPendingInvocations(yDoc, blockId, runId).filter((invocation) => !invocation.expiresAt || Date.parse(invocation.expiresAt) >= context.now);
|
|
21323
|
+
const reopenedByQueue = action?.cardinality === "many" && queued.length > 0;
|
|
21324
|
+
summary[blockId] = !reopenedByQueue && isActionDone(action, readActionState(yDoc, runId, blockId), runContext);
|
|
20758
21325
|
}
|
|
20759
21326
|
return summary;
|
|
20760
21327
|
}
|
|
@@ -21356,16 +21923,7 @@ var updateRuntimeAfterSuccess = (node, actorDid, runtime, actionResult, invocati
|
|
|
21356
21923
|
}
|
|
21357
21924
|
runtime.update(node.id, updates);
|
|
21358
21925
|
};
|
|
21359
|
-
var executeNode = async ({
|
|
21360
|
-
node,
|
|
21361
|
-
actorDid,
|
|
21362
|
-
actorType,
|
|
21363
|
-
entityRoomId,
|
|
21364
|
-
context,
|
|
21365
|
-
action,
|
|
21366
|
-
invocationFacts = {},
|
|
21367
|
-
pin
|
|
21368
|
-
}) => {
|
|
21926
|
+
var executeNode = async ({ node, actorDid, actorType, entityRoomId, context, action, invocationFacts = {}, pin }) => {
|
|
21369
21927
|
const { runtime, ucanService, invocationStore, flowUri, flowId, sessionRunId, now } = context;
|
|
21370
21928
|
const auth = await isAuthorized(node.id, actorDid, ucanService, flowUri);
|
|
21371
21929
|
if (!auth.authorized || !ucanService) {
|
|
@@ -26616,15 +27174,19 @@ function classifyBlockerCause(block, runtime) {
|
|
|
26616
27174
|
return void 0;
|
|
26617
27175
|
}
|
|
26618
27176
|
function classifyNodeState({ block, runtime, now, pendingInvocationCount = 0, completionVerification }) {
|
|
27177
|
+
const actionType = getBlockActionType(block);
|
|
27178
|
+
const done = !!actionType && isActionTypeDone(actionType, runtime, { runId: "", nodeId: getBlockId(block), now });
|
|
26619
27179
|
const derived = deriveBlockPhase({
|
|
26620
27180
|
runtime,
|
|
26621
|
-
actionType
|
|
27181
|
+
actionType,
|
|
26622
27182
|
completionVerification,
|
|
26623
|
-
pendingInvocationCount
|
|
27183
|
+
pendingInvocationCount,
|
|
27184
|
+
done
|
|
26624
27185
|
});
|
|
26625
27186
|
if (derived.phase === "failed") return "Blocked";
|
|
26626
27187
|
if (derived.phase === "complete") return "Done";
|
|
26627
|
-
|
|
27188
|
+
const requiresFold = !!actionType && getAction(actionType)?.done?.standingDoneRequiresFold === true;
|
|
27189
|
+
if (derived.detail === "standing" && pendingInvocationCount === 0 && (!requiresFold || done)) return "Done";
|
|
26628
27190
|
if (runtime.error) return "Blocked";
|
|
26629
27191
|
const dueAt = getDueAt(block);
|
|
26630
27192
|
if (dueAt != null && dueAt <= now) return "Overdue";
|
|
@@ -29099,11 +29661,16 @@ function addFlowNode(yDoc, opts) {
|
|
|
29099
29661
|
props
|
|
29100
29662
|
};
|
|
29101
29663
|
yDoc.transact(() => {
|
|
29102
|
-
|
|
29664
|
+
if (opts.beforeBlockId) insertCompiledBlockIntoFragment(yDoc.getXmlFragment("document"), { id: blockId, type: COMPILED_BLOCK_TYPE, props }, opts.beforeBlockId);
|
|
29665
|
+
else writeCompiledBlocksToFragment(yDoc.getXmlFragment("document"), [{ id: blockId, type: COMPILED_BLOCK_TYPE, props }]);
|
|
29103
29666
|
yDoc.getMap("qi.flow.nodes").set(nodeId, createYMapFromNode(node));
|
|
29104
29667
|
yDoc.getMap("qi.flow.blockIndex").set(nodeId, blockId);
|
|
29105
29668
|
const order = yDoc.getArray("qi.flow.order");
|
|
29106
|
-
|
|
29669
|
+
const beforeNodeId = opts.beforeBlockId ? findNodeIdForBlock(yDoc, opts.beforeBlockId) : void 0;
|
|
29670
|
+
const beforeIdx = beforeNodeId ? order.toArray().indexOf(beforeNodeId) : -1;
|
|
29671
|
+
if (beforeIdx >= 0) {
|
|
29672
|
+
order.insert(beforeIdx, [nodeId]);
|
|
29673
|
+
} else if (opts.afterNodeId) {
|
|
29107
29674
|
const idx = order.toArray().indexOf(opts.afterNodeId);
|
|
29108
29675
|
if (idx >= 0) order.insert(idx + 1, [nodeId]);
|
|
29109
29676
|
else order.push([nodeId]);
|
|
@@ -29644,7 +30211,7 @@ var FlowDefinitionPublicationError = class extends Error {
|
|
|
29644
30211
|
this.name = "FlowDefinitionPublicationError";
|
|
29645
30212
|
}
|
|
29646
30213
|
};
|
|
29647
|
-
function
|
|
30214
|
+
function parseObject2(value, field) {
|
|
29648
30215
|
if (!value) return {};
|
|
29649
30216
|
try {
|
|
29650
30217
|
const parsed = JSON.parse(value);
|
|
@@ -29656,7 +30223,7 @@ function parseObject(value, field) {
|
|
|
29656
30223
|
}
|
|
29657
30224
|
function parseConditions(value) {
|
|
29658
30225
|
if (!value) return [];
|
|
29659
|
-
const parsed =
|
|
30226
|
+
const parsed = parseObject2(value, "conditions");
|
|
29660
30227
|
if (!Array.isArray(parsed.conditions)) throw new FlowDefinitionPublicationError("INVALID_CONFIGURATION", "Flow step conditions must contain an array");
|
|
29661
30228
|
if (parsed.conditions.some((condition) => !condition || typeof condition !== "object" || Array.isArray(condition))) {
|
|
29662
30229
|
throw new FlowDefinitionPublicationError("INVALID_CONFIGURATION", "Every Flow step condition must be a JSON object");
|
|
@@ -29806,7 +30373,7 @@ function toStep(node, action) {
|
|
|
29806
30373
|
action,
|
|
29807
30374
|
resource: node.with,
|
|
29808
30375
|
configuration: { ...node.props },
|
|
29809
|
-
inputs:
|
|
30376
|
+
inputs: parseObject2(node.props.inputs, "inputs"),
|
|
29810
30377
|
trigger: parseTrigger2(node.props.trigger, node.props.triggerMode),
|
|
29811
30378
|
conditions: parseConditions(node.props.conditions),
|
|
29812
30379
|
actor: actorFromProps2(node.props),
|
|
@@ -30336,7 +30903,16 @@ function ucanVerificationEnvFrom(handlers) {
|
|
|
30336
30903
|
var import_core2 = require("@ucanto/core");
|
|
30337
30904
|
var AUTHORITY_RECHECK_MS = 3e4;
|
|
30338
30905
|
var NO_CACHE_CODES = /* @__PURE__ */ new Set(["REVOCATION_CHECK_FAILED", "NO_REVOCATION_CHECKER", "NO_OWNER"]);
|
|
30339
|
-
var FAILURE_PRIORITY = [
|
|
30906
|
+
var FAILURE_PRIORITY = [
|
|
30907
|
+
"REVOKED",
|
|
30908
|
+
"EXPIRED",
|
|
30909
|
+
"NO_EXPIRATION",
|
|
30910
|
+
"REVOCATION_CHECK_FAILED",
|
|
30911
|
+
"NO_REVOCATION_CHECKER",
|
|
30912
|
+
"NOT_ROOTED_AT_OWNER",
|
|
30913
|
+
"EXCEEDS_PARENT",
|
|
30914
|
+
"INVALID_SIGNATURE"
|
|
30915
|
+
];
|
|
30340
30916
|
function keyOf(actorDid, capability) {
|
|
30341
30917
|
return `${actorDid}\0${capability.can}\0${capability.with}`;
|
|
30342
30918
|
}
|
|
@@ -30376,7 +30952,15 @@ function createFlowAuthorityIndex(options) {
|
|
|
30376
30952
|
const root = options.delegationStore.getRoot();
|
|
30377
30953
|
const rootCid = options.delegationStore.getRootCid();
|
|
30378
30954
|
if (root && rootCid) {
|
|
30379
|
-
const verdict = await verifyGrant(root.delegation, {
|
|
30955
|
+
const verdict = await verifyGrant(root.delegation, {
|
|
30956
|
+
cid: rootCid,
|
|
30957
|
+
actorDid: owner,
|
|
30958
|
+
ownerDid: owner,
|
|
30959
|
+
required: capability,
|
|
30960
|
+
env: options.env,
|
|
30961
|
+
at: now(),
|
|
30962
|
+
coverage: "hierarchical"
|
|
30963
|
+
});
|
|
30380
30964
|
if (verdict.ok && !verdict.revokedNow && verdict.grant.issuerDid === owner) {
|
|
30381
30965
|
return { allowed: true, proofCids: [rootCid], viaOwner: true };
|
|
30382
30966
|
}
|