@ixo/editor 7.4.0 → 7.5.1
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-KNA5F754.js → BidConfig-7OPADSLJ.js} +10 -10
- package/dist/{BidFlowDetail-35VAQFG5.js → BidFlowDetail-CLGN6RFS.js} +15 -15
- package/dist/{CalendarEventCreateConfig-YAL6TVL4.js → CalendarEventCreateConfig-HFHRPWXW.js} +11 -11
- package/dist/{CalendarEventCreateFlowDetail-SAX5W3YK.js → CalendarEventCreateFlowDetail-ZXPHYLF4.js} +12 -12
- package/dist/{CalendarEventListConfig-DCTNJGDY.js → CalendarEventListConfig-LYPXEDYO.js} +11 -11
- package/dist/{CalendarEventListFlowDetail-UY2AZ6RC.js → CalendarEventListFlowDetail-3P5I6NWJ.js} +5 -5
- package/dist/{CalendarEventUpdateConfig-WKXJD2HV.js → CalendarEventUpdateConfig-FZNZRRCQ.js} +11 -11
- package/dist/{CalendarEventUpdateFlowDetail-7WBBCKLF.js → CalendarEventUpdateFlowDetail-SBODZKHB.js} +12 -12
- package/dist/{ClaimConfig-FFODSFKZ.js → ClaimConfig-T7KRYXOU.js} +13 -13
- package/dist/{ClaimFlowDetail-KYQN7T3O.js → ClaimFlowDetail-DI27NHDH.js} +15 -15
- package/dist/{CollectionLifecycleConfig-QB6IPNQH.js → CollectionLifecycleConfig-SLU7TWJI.js} +4 -4
- package/dist/{CollectionLifecycleFlowDetail-IS67MULY.js → CollectionLifecycleFlowDetail-NHMR566C.js} +14 -14
- package/dist/{CollectionUsersConfig-PKS552AQ.js → CollectionUsersConfig-XUIJ6DSW.js} +10 -10
- package/dist/{CollectionUsersFlowDetail-E26KNRRR.js → CollectionUsersFlowDetail-IM3YWT6E.js} +16 -16
- package/dist/{CredentialStoreConfig-HTO27S4R.js → CredentialStoreConfig-KAST7NSD.js} +8 -8
- package/dist/{CredentialStoreFlowDetail-JWHL2EWV.js → CredentialStoreFlowDetail-FKIAQZJ7.js} +7 -7
- package/dist/{DesignPodFlowDetail-OTK2MILV.js → DesignPodFlowDetail-UXGGFJRH.js} +5 -5
- package/dist/{DomainCardPreviewFlowDetail-HTMQUADZ.js → DomainCardPreviewFlowDetail-IT2OJF46.js} +7 -7
- package/dist/{DomainIndexerLookupFlowDetail-OVE2U2SJ.js → DomainIndexerLookupFlowDetail-Y7JRRKD5.js} +5 -5
- package/dist/{DomainSignFlowDetail-RGX4ZLLZ.js → DomainSignFlowDetail-T5PZHM6M.js} +8 -8
- package/dist/{DomainSingleSelectionConfig-TW5CQXD5.js → DomainSingleSelectionConfig-H7RSNYC2.js} +4 -4
- package/dist/{DomainSingleSelectionFlowDetail-LATPKYGI.js → DomainSingleSelectionFlowDetail-JHSD5G3A.js} +5 -5
- package/dist/{EmailSendConfig-WK3N3Y5H.js → EmailSendConfig-6RJNKNVV.js} +10 -10
- package/dist/{EntityCreateOracleFlowDetail-BX3663I6.js → EntityCreateOracleFlowDetail-LZPSS3GS.js} +7 -7
- package/dist/{EntitySingleSelectionFlowDetail-44E7FIAF.js → EntitySingleSelectionFlowDetail-HMCMVXKR.js} +5 -5
- package/dist/{EntityTransferFlowDetail-UED7MVTT.js → EntityTransferFlowDetail-RSFDF5PB.js} +7 -7
- package/dist/{EvalEngineConfig-OLHCNPSF.js → EvalEngineConfig-7JSFDMQR.js} +16 -14
- package/dist/{EvalEngineConfig-OLHCNPSF.js.map → EvalEngineConfig-7JSFDMQR.js.map} +1 -1
- package/dist/{EvalEngineFlowDetail-VJPJH2PZ.js → EvalEngineFlowDetail-OAM3AGN2.js} +15 -13
- package/dist/{EvalEngineFlowDetail-VJPJH2PZ.js.map → EvalEngineFlowDetail-OAM3AGN2.js.map} +1 -1
- package/dist/{EvaluateBidConfig-QQTV3JMC.js → EvaluateBidConfig-WYWY3SSW.js} +10 -10
- package/dist/{EvaluateBidFlowDetail-TNLDTBJ4.js → EvaluateBidFlowDetail-QMSIAFG5.js} +14 -14
- package/dist/{EvaluateClaimConfig-Q56H4TIK.js → EvaluateClaimConfig-FMGZ3UG7.js} +10 -10
- package/dist/{EvaluateClaimFlowDetail-J3K2FXHT.js → EvaluateClaimFlowDetail-EP6P4A3E.js} +800 -312
- package/dist/EvaluateClaimFlowDetail-EP6P4A3E.js.map +1 -0
- package/dist/{FormSubmitFlowDetail-EWCK6AFO.js → FormSubmitFlowDetail-ICG3GSOA.js} +59 -10
- package/dist/FormSubmitFlowDetail-ICG3GSOA.js.map +1 -0
- package/dist/{GovernanceAuthzExecFlowDetail-C7SVYIHL.js → GovernanceAuthzExecFlowDetail-IW76KM4Q.js} +8 -8
- package/dist/{GovernanceAuthzGrantFlowDetail-D6ULSNL4.js → GovernanceAuthzGrantFlowDetail-BTCMC2ZN.js} +9 -9
- package/dist/{GovernanceAuthzRevokeFlowDetail-FVZZOOVR.js → GovernanceAuthzRevokeFlowDetail-7DVXQWXC.js} +9 -9
- package/dist/{GovernanceChainVoteFlowDetail-LPUYSQJI.js → GovernanceChainVoteFlowDetail-CIBRJPP6.js} +8 -8
- package/dist/{GovernanceConfigFlowDetail-WV5UCYWW.js → GovernanceConfigFlowDetail-6P7GLUT4.js} +5 -5
- package/dist/{GovernanceContractExecuteFlowDetail-N3IX6ZUE.js → GovernanceContractExecuteFlowDetail-4Q32MNXQ.js} +9 -9
- package/dist/{GovernanceContractInstantiateFlowDetail-PEG3YS3J.js → GovernanceContractInstantiateFlowDetail-GOFRJNS6.js} +9 -9
- package/dist/{GovernanceContractManageCw20FlowDetail-PGJLC6HG.js → GovernanceContractManageCw20FlowDetail-QYFC2CBY.js} +8 -8
- package/dist/{GovernanceContractMigrateFlowDetail-WAATSI24.js → GovernanceContractMigrateFlowDetail-YS575HJK.js} +9 -9
- package/dist/{GovernanceContractUpdateAdminFlowDetail-FX2MQO3P.js → GovernanceContractUpdateAdminFlowDetail-YNN5VVUN.js} +8 -8
- package/dist/{GovernanceCustomMessageFlowDetail-RKZIPQBE.js → GovernanceCustomMessageFlowDetail-AP2DYHPG.js} +9 -9
- package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-GS4K573O.js → GovernanceDaoAcceptToMarketplaceFlowDetail-WHC2GXB7.js} +9 -9
- package/dist/{GovernanceDaoAdminExecFlowDetail-5GAJ677O.js → GovernanceDaoAdminExecFlowDetail-5545VOCJ.js} +10 -10
- package/dist/{GovernanceDaoCreateEntityFlowDetail-YQBK5ZJ6.js → GovernanceDaoCreateEntityFlowDetail-QKSNQHT3.js} +9 -9
- package/dist/{GovernanceDaoJoinFlowDetail-TUWWA76P.js → GovernanceDaoJoinFlowDetail-ZIZA4CHJ.js} +9 -9
- package/dist/{GovernanceDaoManageStorageFlowDetail-ZABNXYGW.js → GovernanceDaoManageStorageFlowDetail-V7CNBFD5.js} +8 -8
- package/dist/{GovernanceDaoManageSubDaosFlowDetail-JUZOW3NX.js → GovernanceDaoManageSubDaosFlowDetail-U6HCZEWB.js} +9 -9
- package/dist/{GovernanceDaoUpdateInfoFlowDetail-GTPZETSW.js → GovernanceDaoUpdateInfoFlowDetail-YGVZWXYR.js} +8 -8
- package/dist/{GovernanceMemberProposalConfig-MYHHSBWL.js → GovernanceMemberProposalConfig-3HKKBDJ5.js} +5 -5
- package/dist/{GovernanceMemberProposalFlowDetail-NYKIPRXZ.js → GovernanceMemberProposalFlowDetail-5DYOTEMZ.js} +9 -9
- package/dist/{GovernanceNftBurnFlowDetail-V5YEWTZZ.js → GovernanceNftBurnFlowDetail-ZHL6NSBB.js} +8 -8
- package/dist/{GovernanceNftManageCollectionsFlowDetail-NV5IQJQY.js → GovernanceNftManageCollectionsFlowDetail-YKWXV6PI.js} +8 -8
- package/dist/{GovernanceNftTransferFlowDetail-MT4A3IPX.js → GovernanceNftTransferFlowDetail-SQ5ZSKIK.js} +9 -9
- package/dist/{GovernanceSettingsProposalConfig-U7SO63AZ.js → GovernanceSettingsProposalConfig-IZFFFRHS.js} +5 -5
- package/dist/{GovernanceSettingsProposalFlowDetail-A6HNAOCP.js → GovernanceSettingsProposalFlowDetail-72OGJWPM.js} +8 -8
- package/dist/{GovernanceStakingStakeFlowDetail-ANPDO5CW.js → GovernanceStakingStakeFlowDetail-TQT6JVX5.js} +8 -8
- package/dist/{GovernanceStakingStakeToGroupFlowDetail-3EXFBNXM.js → GovernanceStakingStakeToGroupFlowDetail-RHW3KT4J.js} +8 -8
- package/dist/{GovernanceSubmissionConfigProposalFlowDetail-W7J6W3CX.js → GovernanceSubmissionConfigProposalFlowDetail-ELSE6QV6.js} +8 -8
- package/dist/{GovernanceTransactionMintFlowDetail-H5T5SHDW.js → GovernanceTransactionMintFlowDetail-3I7F3FSC.js} +9 -9
- package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-T7QTOJEJ.js → GovernanceTransactionPerformTokenSwapFlowDetail-5UTYTE3P.js} +8 -8
- package/dist/{GovernanceTransactionSendFundsConfig-7GWFZYBO.js → GovernanceTransactionSendFundsConfig-UITDQIEX.js} +5 -5
- package/dist/{GovernanceTransactionSendFundsFlowDetail-SSGQKOYI.js → GovernanceTransactionSendFundsFlowDetail-FUHTFFYK.js} +9 -9
- package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-YKWCSXQO.js → GovernanceTransactionSendGroupTokenFlowDetail-JEGHRGVA.js} +9 -9
- package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-Y44MBQSJ.js → GovernanceTransactionWithdrawTokenSwapFlowDetail-IGKD3XFX.js} +8 -8
- package/dist/{GovernanceValidatorActionsFlowDetail-KVPO7XYV.js → GovernanceValidatorActionsFlowDetail-XFJM4T54.js} +8 -8
- package/dist/{HarvestConfig-WMHB3Z4M.js → HarvestConfig-MQCRQM6E.js} +9 -9
- package/dist/{HarvestFlowDetail-2E6FAG5D.js → HarvestFlowDetail-4AGZTR7Z.js} +7 -7
- package/dist/{HttpRequestConfig-MSVW46CZ.js → HttpRequestConfig-24VT44SK.js} +8 -8
- package/dist/{HttpRequestFlowDetail-AHYCCC7Z.js → HttpRequestFlowDetail-LGWILJCS.js} +5 -5
- package/dist/{IdentityCreateFlowDetail-KKQP5H6J.js → IdentityCreateFlowDetail-6UVA3GLT.js} +13 -13
- package/dist/{IidCreateFlowDetail-HZ3IBACZ.js → IidCreateFlowDetail-6DMLKXSP.js} +13 -13
- package/dist/{KycVerifyConfig-MRFKB3RS.js → KycVerifyConfig-QKU3GYXH.js} +8 -8
- package/dist/{KycVerifyFlowDetail-UL4YW23S.js → KycVerifyFlowDetail-MJB5DFB5.js} +13 -13
- package/dist/{ListDomainFlowsFlowDetail-NBTEXXR6.js → ListDomainFlowsFlowDetail-PDUSV2TD.js} +5 -5
- package/dist/{LoadBatchesFlowDetail-6B6EUQUU.js → LoadBatchesFlowDetail-SXLSDRVT.js} +7 -7
- package/dist/{MatrixDmConfig-VCECTS77.js → MatrixDmConfig-XCS2HCGZ.js} +4 -4
- package/dist/{MatrixRegisterFlowDetail-Q5GRDCJ3.js → MatrixRegisterFlowDetail-7JMBMOTF.js} +7 -7
- package/dist/{MemberMultiSelectFlowDetail-EOJ6UIUT.js → MemberMultiSelectFlowDetail-DLAKXCRC.js} +5 -5
- package/dist/{OracleConfig-QR62IIUE.js → OracleConfig-RU6N4JBF.js} +8 -8
- package/dist/{OracleConfigureOracleFlowDetail-WJM6LIC2.js → OracleConfigureOracleFlowDetail-AET56AV6.js} +13 -13
- package/dist/{OracleContractFlowDetail-LQEGQ6CN.js → OracleContractFlowDetail-4RWSGCLI.js} +7 -7
- package/dist/{OracleDeployFlowDetail-KUPXAFG2.js → OracleDeployFlowDetail-2HOKGJEO.js} +7 -7
- package/dist/{OracleDeploySetupFlowDetail-MKWUVJWU.js → OracleDeploySetupFlowDetail-AOUCBEJK.js} +7 -7
- package/dist/{OracleDeployStartFlowDetail-XUKADF5E.js → OracleDeployStartFlowDetail-5R5O54VE.js} +7 -7
- package/dist/{OracleFlowDetail-ZB4BXPMP.js → OracleFlowDetail-REP3CDHK.js} +7 -7
- package/dist/{OraclePromptFlowDetail-BJCIRJC7.js → OraclePromptFlowDetail-RWGI7Y46.js} +7 -7
- package/dist/{OracleStoreConfigFlowDetail-PUDZJ6XK.js → OracleStoreConfigFlowDetail-F2E4ZEVA.js} +7 -7
- package/dist/{OracleStoreSecretsAndConfigFlowDetail-WWJ5EE65.js → OracleStoreSecretsAndConfigFlowDetail-6X4CPXKW.js} +13 -13
- package/dist/{OracleStoreSecretsFlowDetail-74KT4D5R.js → OracleStoreSecretsFlowDetail-DYPIPYIT.js} +13 -13
- package/dist/{ProposalCreateConfig-UKWLNGGT.js → ProposalCreateConfig-DRYE2AKJ.js} +10 -10
- package/dist/{ProposalCreateFlowDetail-HTA7MM6V.js → ProposalCreateFlowDetail-CHIA2XWY.js} +14 -14
- package/dist/{ProposalVoteConfig-GQ2EFLLM.js → ProposalVoteConfig-7UNWFROZ.js} +10 -10
- package/dist/{ProposalVoteFlowDetail-WXYSRQVM.js → ProposalVoteFlowDetail-DSMBVP3E.js} +8 -8
- package/dist/{ProtocolSelectFlowDetail-M533L2VH.js → ProtocolSelectFlowDetail-NTLOLTSO.js} +4 -4
- package/dist/{RetireConfig-TTS4O56B.js → RetireConfig-BF2DX5IS.js} +9 -9
- package/dist/{RetireFlowDetail-5MPYK3Y4.js → RetireFlowDetail-LY77O4VE.js} +7 -7
- package/dist/{SandboxProvisionFlowDetail-RQV3OVSV.js → SandboxProvisionFlowDetail-QPRFK7N3.js} +7 -7
- package/dist/{WalletFundConfig-32GHDUYC.js → WalletFundConfig-QF2D65SA.js} +5 -5
- package/dist/{WalletFundFlowDetail-BVSKFSCJ.js → WalletFundFlowDetail-CTWM57AK.js} +8 -8
- package/dist/{WalletGenerateAndFundFlowDetail-MLULHQ2V.js → WalletGenerateAndFundFlowDetail-TY3HOGEU.js} +5 -5
- package/dist/{WalletGenerateFlowDetail-EHYFCON2.js → WalletGenerateFlowDetail-F5LNH4VY.js} +5 -5
- package/dist/{XeroContactCreateConfig-F46RAJZ3.js → XeroContactCreateConfig-GTRMV4MO.js} +11 -11
- package/dist/{XeroContactCreateFlowDetail-BXZPZRN6.js → XeroContactCreateFlowDetail-4IFZRJOF.js} +12 -12
- package/dist/{XeroInvoiceCreateConfig-3C57CRA5.js → XeroInvoiceCreateConfig-HVMMNUU4.js} +11 -11
- package/dist/{XeroInvoiceCreateFlowDetail-TB5ILGFK.js → XeroInvoiceCreateFlowDetail-4UPL55DU.js} +14 -14
- package/dist/{XeroInvoiceListConfig-NJL2XCJU.js → XeroInvoiceListConfig-IMXZZTNF.js} +11 -11
- package/dist/{XeroInvoiceListFlowDetail-SW77EBQJ.js → XeroInvoiceListFlowDetail-SUWMEU7K.js} +5 -5
- package/dist/{XeroPaymentCreateConfig-36RZJ572.js → XeroPaymentCreateConfig-ONPADVHN.js} +8 -8
- package/dist/{XeroPaymentCreateFlowDetail-ASEL73SM.js → XeroPaymentCreateFlowDetail-52FOC77L.js} +13 -13
- package/dist/action-manifest.json +489 -5
- package/dist/{chunk-TWPAZA5U.js → chunk-3S6HH3LV.js} +2 -2
- package/dist/{chunk-3ZY7LBMV.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-BLXL5LNU.js → chunk-6332CJVF.js} +2 -2
- package/dist/{chunk-YICU2BTW.js → chunk-66EWPWA5.js} +2 -2
- package/dist/{chunk-V2K5S3GW.js → chunk-66XW6TQT.js} +580 -8
- package/dist/chunk-66XW6TQT.js.map +1 -0
- package/dist/{chunk-YSKMW5N4.js → chunk-6OBTZWYM.js} +3 -3
- package/dist/{chunk-4SNJX2WR.js → chunk-7XB6INJ4.js} +2 -2
- package/dist/{chunk-QSUE3ZFB.js → chunk-AZGVSR3T.js} +2 -2
- package/dist/{chunk-AAUAZ4YK.js → chunk-DMWXSWLO.js} +2 -2
- package/dist/{chunk-SCLMJ7FE.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-ZWBVAYXF.js → chunk-KIAAAFZF.js} +2 -2
- package/dist/{chunk-D3OHPJQD.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-VVXNHTWA.js → chunk-M5ELO3A5.js} +2 -2
- package/dist/{chunk-RETGBEFM.js → chunk-M7XUQCKC.js} +2 -2
- package/dist/{chunk-F6BSA345.js → chunk-MDCOAGIF.js} +10 -7
- package/dist/chunk-MDCOAGIF.js.map +1 -0
- package/dist/{chunk-W2GRWAXP.js → chunk-MFUWKWMA.js} +2 -2
- package/dist/{chunk-FVRGJE6M.js → chunk-OADGEOZK.js} +2984 -860
- package/dist/chunk-OADGEOZK.js.map +1 -0
- package/dist/{chunk-I3BKKGB6.js → chunk-P365VW4X.js} +2 -2
- package/dist/{chunk-TOHRTMHF.js → chunk-PCRDF4BQ.js} +2 -2
- package/dist/{chunk-W6Z3HNIC.js → chunk-PNS4Y2PQ.js} +2 -2
- package/dist/{chunk-WKZQA4KR.js → chunk-PWPTKUNE.js} +2 -2
- package/dist/{chunk-EAMEGHQZ.js → chunk-SAOQXHK6.js} +2 -2
- package/dist/{chunk-MCKX6WIM.js → chunk-SI2AUBY5.js} +4 -4
- package/dist/{chunk-CMG6TZKH.js → chunk-TGRBWL3B.js} +3 -3
- package/dist/{chunk-EVCXBPHP.js → chunk-TGTS2R2O.js} +5 -5
- package/dist/{chunk-JK6RAKE3.js → chunk-UOYPASUI.js} +2 -2
- package/dist/{chunk-KRWN6IDZ.js → chunk-VD4HSZSN.js} +2 -2
- package/dist/{chunk-O365JU7B.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-RRLKIT5M.js → chunk-XUJPJRLW.js} +2 -2
- package/dist/{connections-Dm0-mxre.d.ts → connections-Dx7agyTM.d.ts} +1 -1
- package/dist/core/index.cjs +581 -15
- 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-J3K2FXHT.js.map +0 -1
- package/dist/FormSubmitFlowDetail-EWCK6AFO.js.map +0 -1
- package/dist/chunk-3ZY7LBMV.js.map +0 -1
- package/dist/chunk-D3OHPJQD.js.map +0 -1
- package/dist/chunk-F6BSA345.js.map +0 -1
- package/dist/chunk-FVRGJE6M.js.map +0 -1
- package/dist/chunk-M3GHFF5N.js.map +0 -1
- package/dist/chunk-QW7LA67J.js.map +0 -1
- package/dist/chunk-SCLMJ7FE.js.map +0 -1
- package/dist/chunk-V2K5S3GW.js.map +0 -1
- /package/dist/{BidConfig-KNA5F754.js.map → BidConfig-7OPADSLJ.js.map} +0 -0
- /package/dist/{BidFlowDetail-35VAQFG5.js.map → BidFlowDetail-CLGN6RFS.js.map} +0 -0
- /package/dist/{CalendarEventCreateConfig-YAL6TVL4.js.map → CalendarEventCreateConfig-HFHRPWXW.js.map} +0 -0
- /package/dist/{CalendarEventCreateFlowDetail-SAX5W3YK.js.map → CalendarEventCreateFlowDetail-ZXPHYLF4.js.map} +0 -0
- /package/dist/{CalendarEventListConfig-DCTNJGDY.js.map → CalendarEventListConfig-LYPXEDYO.js.map} +0 -0
- /package/dist/{CalendarEventListFlowDetail-UY2AZ6RC.js.map → CalendarEventListFlowDetail-3P5I6NWJ.js.map} +0 -0
- /package/dist/{CalendarEventUpdateConfig-WKXJD2HV.js.map → CalendarEventUpdateConfig-FZNZRRCQ.js.map} +0 -0
- /package/dist/{CalendarEventUpdateFlowDetail-7WBBCKLF.js.map → CalendarEventUpdateFlowDetail-SBODZKHB.js.map} +0 -0
- /package/dist/{ClaimConfig-FFODSFKZ.js.map → ClaimConfig-T7KRYXOU.js.map} +0 -0
- /package/dist/{ClaimFlowDetail-KYQN7T3O.js.map → ClaimFlowDetail-DI27NHDH.js.map} +0 -0
- /package/dist/{CollectionLifecycleConfig-QB6IPNQH.js.map → CollectionLifecycleConfig-SLU7TWJI.js.map} +0 -0
- /package/dist/{CollectionLifecycleFlowDetail-IS67MULY.js.map → CollectionLifecycleFlowDetail-NHMR566C.js.map} +0 -0
- /package/dist/{CollectionUsersConfig-PKS552AQ.js.map → CollectionUsersConfig-XUIJ6DSW.js.map} +0 -0
- /package/dist/{CollectionUsersFlowDetail-E26KNRRR.js.map → CollectionUsersFlowDetail-IM3YWT6E.js.map} +0 -0
- /package/dist/{CredentialStoreConfig-HTO27S4R.js.map → CredentialStoreConfig-KAST7NSD.js.map} +0 -0
- /package/dist/{CredentialStoreFlowDetail-JWHL2EWV.js.map → CredentialStoreFlowDetail-FKIAQZJ7.js.map} +0 -0
- /package/dist/{DesignPodFlowDetail-OTK2MILV.js.map → DesignPodFlowDetail-UXGGFJRH.js.map} +0 -0
- /package/dist/{DomainCardPreviewFlowDetail-HTMQUADZ.js.map → DomainCardPreviewFlowDetail-IT2OJF46.js.map} +0 -0
- /package/dist/{DomainIndexerLookupFlowDetail-OVE2U2SJ.js.map → DomainIndexerLookupFlowDetail-Y7JRRKD5.js.map} +0 -0
- /package/dist/{DomainSignFlowDetail-RGX4ZLLZ.js.map → DomainSignFlowDetail-T5PZHM6M.js.map} +0 -0
- /package/dist/{DomainSingleSelectionConfig-TW5CQXD5.js.map → DomainSingleSelectionConfig-H7RSNYC2.js.map} +0 -0
- /package/dist/{DomainSingleSelectionFlowDetail-LATPKYGI.js.map → DomainSingleSelectionFlowDetail-JHSD5G3A.js.map} +0 -0
- /package/dist/{EmailSendConfig-WK3N3Y5H.js.map → EmailSendConfig-6RJNKNVV.js.map} +0 -0
- /package/dist/{EntityCreateOracleFlowDetail-BX3663I6.js.map → EntityCreateOracleFlowDetail-LZPSS3GS.js.map} +0 -0
- /package/dist/{EntitySingleSelectionFlowDetail-44E7FIAF.js.map → EntitySingleSelectionFlowDetail-HMCMVXKR.js.map} +0 -0
- /package/dist/{EntityTransferFlowDetail-UED7MVTT.js.map → EntityTransferFlowDetail-RSFDF5PB.js.map} +0 -0
- /package/dist/{EvaluateBidConfig-QQTV3JMC.js.map → EvaluateBidConfig-WYWY3SSW.js.map} +0 -0
- /package/dist/{EvaluateBidFlowDetail-TNLDTBJ4.js.map → EvaluateBidFlowDetail-QMSIAFG5.js.map} +0 -0
- /package/dist/{EvaluateClaimConfig-Q56H4TIK.js.map → EvaluateClaimConfig-FMGZ3UG7.js.map} +0 -0
- /package/dist/{GovernanceAuthzExecFlowDetail-C7SVYIHL.js.map → GovernanceAuthzExecFlowDetail-IW76KM4Q.js.map} +0 -0
- /package/dist/{GovernanceAuthzGrantFlowDetail-D6ULSNL4.js.map → GovernanceAuthzGrantFlowDetail-BTCMC2ZN.js.map} +0 -0
- /package/dist/{GovernanceAuthzRevokeFlowDetail-FVZZOOVR.js.map → GovernanceAuthzRevokeFlowDetail-7DVXQWXC.js.map} +0 -0
- /package/dist/{GovernanceChainVoteFlowDetail-LPUYSQJI.js.map → GovernanceChainVoteFlowDetail-CIBRJPP6.js.map} +0 -0
- /package/dist/{GovernanceConfigFlowDetail-WV5UCYWW.js.map → GovernanceConfigFlowDetail-6P7GLUT4.js.map} +0 -0
- /package/dist/{GovernanceContractExecuteFlowDetail-N3IX6ZUE.js.map → GovernanceContractExecuteFlowDetail-4Q32MNXQ.js.map} +0 -0
- /package/dist/{GovernanceContractInstantiateFlowDetail-PEG3YS3J.js.map → GovernanceContractInstantiateFlowDetail-GOFRJNS6.js.map} +0 -0
- /package/dist/{GovernanceContractManageCw20FlowDetail-PGJLC6HG.js.map → GovernanceContractManageCw20FlowDetail-QYFC2CBY.js.map} +0 -0
- /package/dist/{GovernanceContractMigrateFlowDetail-WAATSI24.js.map → GovernanceContractMigrateFlowDetail-YS575HJK.js.map} +0 -0
- /package/dist/{GovernanceContractUpdateAdminFlowDetail-FX2MQO3P.js.map → GovernanceContractUpdateAdminFlowDetail-YNN5VVUN.js.map} +0 -0
- /package/dist/{GovernanceCustomMessageFlowDetail-RKZIPQBE.js.map → GovernanceCustomMessageFlowDetail-AP2DYHPG.js.map} +0 -0
- /package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-GS4K573O.js.map → GovernanceDaoAcceptToMarketplaceFlowDetail-WHC2GXB7.js.map} +0 -0
- /package/dist/{GovernanceDaoAdminExecFlowDetail-5GAJ677O.js.map → GovernanceDaoAdminExecFlowDetail-5545VOCJ.js.map} +0 -0
- /package/dist/{GovernanceDaoCreateEntityFlowDetail-YQBK5ZJ6.js.map → GovernanceDaoCreateEntityFlowDetail-QKSNQHT3.js.map} +0 -0
- /package/dist/{GovernanceDaoJoinFlowDetail-TUWWA76P.js.map → GovernanceDaoJoinFlowDetail-ZIZA4CHJ.js.map} +0 -0
- /package/dist/{GovernanceDaoManageStorageFlowDetail-ZABNXYGW.js.map → GovernanceDaoManageStorageFlowDetail-V7CNBFD5.js.map} +0 -0
- /package/dist/{GovernanceDaoManageSubDaosFlowDetail-JUZOW3NX.js.map → GovernanceDaoManageSubDaosFlowDetail-U6HCZEWB.js.map} +0 -0
- /package/dist/{GovernanceDaoUpdateInfoFlowDetail-GTPZETSW.js.map → GovernanceDaoUpdateInfoFlowDetail-YGVZWXYR.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalConfig-MYHHSBWL.js.map → GovernanceMemberProposalConfig-3HKKBDJ5.js.map} +0 -0
- /package/dist/{GovernanceMemberProposalFlowDetail-NYKIPRXZ.js.map → GovernanceMemberProposalFlowDetail-5DYOTEMZ.js.map} +0 -0
- /package/dist/{GovernanceNftBurnFlowDetail-V5YEWTZZ.js.map → GovernanceNftBurnFlowDetail-ZHL6NSBB.js.map} +0 -0
- /package/dist/{GovernanceNftManageCollectionsFlowDetail-NV5IQJQY.js.map → GovernanceNftManageCollectionsFlowDetail-YKWXV6PI.js.map} +0 -0
- /package/dist/{GovernanceNftTransferFlowDetail-MT4A3IPX.js.map → GovernanceNftTransferFlowDetail-SQ5ZSKIK.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalConfig-U7SO63AZ.js.map → GovernanceSettingsProposalConfig-IZFFFRHS.js.map} +0 -0
- /package/dist/{GovernanceSettingsProposalFlowDetail-A6HNAOCP.js.map → GovernanceSettingsProposalFlowDetail-72OGJWPM.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeFlowDetail-ANPDO5CW.js.map → GovernanceStakingStakeFlowDetail-TQT6JVX5.js.map} +0 -0
- /package/dist/{GovernanceStakingStakeToGroupFlowDetail-3EXFBNXM.js.map → GovernanceStakingStakeToGroupFlowDetail-RHW3KT4J.js.map} +0 -0
- /package/dist/{GovernanceSubmissionConfigProposalFlowDetail-W7J6W3CX.js.map → GovernanceSubmissionConfigProposalFlowDetail-ELSE6QV6.js.map} +0 -0
- /package/dist/{GovernanceTransactionMintFlowDetail-H5T5SHDW.js.map → GovernanceTransactionMintFlowDetail-3I7F3FSC.js.map} +0 -0
- /package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-T7QTOJEJ.js.map → GovernanceTransactionPerformTokenSwapFlowDetail-5UTYTE3P.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsConfig-7GWFZYBO.js.map → GovernanceTransactionSendFundsConfig-UITDQIEX.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendFundsFlowDetail-SSGQKOYI.js.map → GovernanceTransactionSendFundsFlowDetail-FUHTFFYK.js.map} +0 -0
- /package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-YKWCSXQO.js.map → GovernanceTransactionSendGroupTokenFlowDetail-JEGHRGVA.js.map} +0 -0
- /package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-Y44MBQSJ.js.map → GovernanceTransactionWithdrawTokenSwapFlowDetail-IGKD3XFX.js.map} +0 -0
- /package/dist/{GovernanceValidatorActionsFlowDetail-KVPO7XYV.js.map → GovernanceValidatorActionsFlowDetail-XFJM4T54.js.map} +0 -0
- /package/dist/{HarvestConfig-WMHB3Z4M.js.map → HarvestConfig-MQCRQM6E.js.map} +0 -0
- /package/dist/{HarvestFlowDetail-2E6FAG5D.js.map → HarvestFlowDetail-4AGZTR7Z.js.map} +0 -0
- /package/dist/{HttpRequestConfig-MSVW46CZ.js.map → HttpRequestConfig-24VT44SK.js.map} +0 -0
- /package/dist/{HttpRequestFlowDetail-AHYCCC7Z.js.map → HttpRequestFlowDetail-LGWILJCS.js.map} +0 -0
- /package/dist/{IdentityCreateFlowDetail-KKQP5H6J.js.map → IdentityCreateFlowDetail-6UVA3GLT.js.map} +0 -0
- /package/dist/{IidCreateFlowDetail-HZ3IBACZ.js.map → IidCreateFlowDetail-6DMLKXSP.js.map} +0 -0
- /package/dist/{KycVerifyConfig-MRFKB3RS.js.map → KycVerifyConfig-QKU3GYXH.js.map} +0 -0
- /package/dist/{KycVerifyFlowDetail-UL4YW23S.js.map → KycVerifyFlowDetail-MJB5DFB5.js.map} +0 -0
- /package/dist/{ListDomainFlowsFlowDetail-NBTEXXR6.js.map → ListDomainFlowsFlowDetail-PDUSV2TD.js.map} +0 -0
- /package/dist/{LoadBatchesFlowDetail-6B6EUQUU.js.map → LoadBatchesFlowDetail-SXLSDRVT.js.map} +0 -0
- /package/dist/{MatrixDmConfig-VCECTS77.js.map → MatrixDmConfig-XCS2HCGZ.js.map} +0 -0
- /package/dist/{MatrixRegisterFlowDetail-Q5GRDCJ3.js.map → MatrixRegisterFlowDetail-7JMBMOTF.js.map} +0 -0
- /package/dist/{MemberMultiSelectFlowDetail-EOJ6UIUT.js.map → MemberMultiSelectFlowDetail-DLAKXCRC.js.map} +0 -0
- /package/dist/{OracleConfig-QR62IIUE.js.map → OracleConfig-RU6N4JBF.js.map} +0 -0
- /package/dist/{OracleConfigureOracleFlowDetail-WJM6LIC2.js.map → OracleConfigureOracleFlowDetail-AET56AV6.js.map} +0 -0
- /package/dist/{OracleContractFlowDetail-LQEGQ6CN.js.map → OracleContractFlowDetail-4RWSGCLI.js.map} +0 -0
- /package/dist/{OracleDeployFlowDetail-KUPXAFG2.js.map → OracleDeployFlowDetail-2HOKGJEO.js.map} +0 -0
- /package/dist/{OracleDeploySetupFlowDetail-MKWUVJWU.js.map → OracleDeploySetupFlowDetail-AOUCBEJK.js.map} +0 -0
- /package/dist/{OracleDeployStartFlowDetail-XUKADF5E.js.map → OracleDeployStartFlowDetail-5R5O54VE.js.map} +0 -0
- /package/dist/{OracleFlowDetail-ZB4BXPMP.js.map → OracleFlowDetail-REP3CDHK.js.map} +0 -0
- /package/dist/{OraclePromptFlowDetail-BJCIRJC7.js.map → OraclePromptFlowDetail-RWGI7Y46.js.map} +0 -0
- /package/dist/{OracleStoreConfigFlowDetail-PUDZJ6XK.js.map → OracleStoreConfigFlowDetail-F2E4ZEVA.js.map} +0 -0
- /package/dist/{OracleStoreSecretsAndConfigFlowDetail-WWJ5EE65.js.map → OracleStoreSecretsAndConfigFlowDetail-6X4CPXKW.js.map} +0 -0
- /package/dist/{OracleStoreSecretsFlowDetail-74KT4D5R.js.map → OracleStoreSecretsFlowDetail-DYPIPYIT.js.map} +0 -0
- /package/dist/{ProposalCreateConfig-UKWLNGGT.js.map → ProposalCreateConfig-DRYE2AKJ.js.map} +0 -0
- /package/dist/{ProposalCreateFlowDetail-HTA7MM6V.js.map → ProposalCreateFlowDetail-CHIA2XWY.js.map} +0 -0
- /package/dist/{ProposalVoteConfig-GQ2EFLLM.js.map → ProposalVoteConfig-7UNWFROZ.js.map} +0 -0
- /package/dist/{ProposalVoteFlowDetail-WXYSRQVM.js.map → ProposalVoteFlowDetail-DSMBVP3E.js.map} +0 -0
- /package/dist/{ProtocolSelectFlowDetail-M533L2VH.js.map → ProtocolSelectFlowDetail-NTLOLTSO.js.map} +0 -0
- /package/dist/{RetireConfig-TTS4O56B.js.map → RetireConfig-BF2DX5IS.js.map} +0 -0
- /package/dist/{RetireFlowDetail-5MPYK3Y4.js.map → RetireFlowDetail-LY77O4VE.js.map} +0 -0
- /package/dist/{SandboxProvisionFlowDetail-RQV3OVSV.js.map → SandboxProvisionFlowDetail-QPRFK7N3.js.map} +0 -0
- /package/dist/{WalletFundConfig-32GHDUYC.js.map → WalletFundConfig-QF2D65SA.js.map} +0 -0
- /package/dist/{WalletFundFlowDetail-BVSKFSCJ.js.map → WalletFundFlowDetail-CTWM57AK.js.map} +0 -0
- /package/dist/{WalletGenerateAndFundFlowDetail-MLULHQ2V.js.map → WalletGenerateAndFundFlowDetail-TY3HOGEU.js.map} +0 -0
- /package/dist/{WalletGenerateFlowDetail-EHYFCON2.js.map → WalletGenerateFlowDetail-F5LNH4VY.js.map} +0 -0
- /package/dist/{XeroContactCreateConfig-F46RAJZ3.js.map → XeroContactCreateConfig-GTRMV4MO.js.map} +0 -0
- /package/dist/{XeroContactCreateFlowDetail-BXZPZRN6.js.map → XeroContactCreateFlowDetail-4IFZRJOF.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateConfig-3C57CRA5.js.map → XeroInvoiceCreateConfig-HVMMNUU4.js.map} +0 -0
- /package/dist/{XeroInvoiceCreateFlowDetail-TB5ILGFK.js.map → XeroInvoiceCreateFlowDetail-4UPL55DU.js.map} +0 -0
- /package/dist/{XeroInvoiceListConfig-NJL2XCJU.js.map → XeroInvoiceListConfig-IMXZZTNF.js.map} +0 -0
- /package/dist/{XeroInvoiceListFlowDetail-SW77EBQJ.js.map → XeroInvoiceListFlowDetail-SUWMEU7K.js.map} +0 -0
- /package/dist/{XeroPaymentCreateConfig-36RZJ572.js.map → XeroPaymentCreateConfig-ONPADVHN.js.map} +0 -0
- /package/dist/{XeroPaymentCreateFlowDetail-ASEL73SM.js.map → XeroPaymentCreateFlowDetail-52FOC77L.js.map} +0 -0
- /package/dist/{chunk-TWPAZA5U.js.map → chunk-3S6HH3LV.js.map} +0 -0
- /package/dist/{chunk-BLXL5LNU.js.map → chunk-6332CJVF.js.map} +0 -0
- /package/dist/{chunk-YICU2BTW.js.map → chunk-66EWPWA5.js.map} +0 -0
- /package/dist/{chunk-YSKMW5N4.js.map → chunk-6OBTZWYM.js.map} +0 -0
- /package/dist/{chunk-4SNJX2WR.js.map → chunk-7XB6INJ4.js.map} +0 -0
- /package/dist/{chunk-QSUE3ZFB.js.map → chunk-AZGVSR3T.js.map} +0 -0
- /package/dist/{chunk-AAUAZ4YK.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-ZWBVAYXF.js.map → chunk-KIAAAFZF.js.map} +0 -0
- /package/dist/{chunk-MY22PTP4.js.map → chunk-LMQT3VUE.js.map} +0 -0
- /package/dist/{chunk-VVXNHTWA.js.map → chunk-M5ELO3A5.js.map} +0 -0
- /package/dist/{chunk-RETGBEFM.js.map → chunk-M7XUQCKC.js.map} +0 -0
- /package/dist/{chunk-W2GRWAXP.js.map → chunk-MFUWKWMA.js.map} +0 -0
- /package/dist/{chunk-I3BKKGB6.js.map → chunk-P365VW4X.js.map} +0 -0
- /package/dist/{chunk-TOHRTMHF.js.map → chunk-PCRDF4BQ.js.map} +0 -0
- /package/dist/{chunk-W6Z3HNIC.js.map → chunk-PNS4Y2PQ.js.map} +0 -0
- /package/dist/{chunk-WKZQA4KR.js.map → chunk-PWPTKUNE.js.map} +0 -0
- /package/dist/{chunk-EAMEGHQZ.js.map → chunk-SAOQXHK6.js.map} +0 -0
- /package/dist/{chunk-MCKX6WIM.js.map → chunk-SI2AUBY5.js.map} +0 -0
- /package/dist/{chunk-CMG6TZKH.js.map → chunk-TGRBWL3B.js.map} +0 -0
- /package/dist/{chunk-EVCXBPHP.js.map → chunk-TGTS2R2O.js.map} +0 -0
- /package/dist/{chunk-JK6RAKE3.js.map → chunk-UOYPASUI.js.map} +0 -0
- /package/dist/{chunk-KRWN6IDZ.js.map → chunk-VD4HSZSN.js.map} +0 -0
- /package/dist/{chunk-O365JU7B.js.map → chunk-VOBXFJLM.js.map} +0 -0
- /package/dist/{chunk-RRLKIT5M.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).
|
|
@@ -13580,6 +13613,153 @@ registerAction({
|
|
|
13580
13613
|
}
|
|
13581
13614
|
});
|
|
13582
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
|
+
|
|
13583
13763
|
// src/core/lib/actionRegistry/actions/collectionUsers/index.ts
|
|
13584
13764
|
var COLLECTION_USERS_ACTION_TYPE = "qi/collection.users";
|
|
13585
13765
|
var COLLECTION_USERS_MAX_GRANTS_PER_TX = 40;
|
|
@@ -14137,7 +14317,7 @@ function composeCollectionDescription(answers) {
|
|
|
14137
14317
|
async function runEvalRegister(inputs, ctx) {
|
|
14138
14318
|
const service = ctx.services.evalRegister;
|
|
14139
14319
|
if (!service) {
|
|
14140
|
-
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).');
|
|
14141
14321
|
}
|
|
14142
14322
|
const collectionId = String(inputs.collectionId || "").trim();
|
|
14143
14323
|
const deedDid = String(inputs.deedDid || "").trim();
|
|
@@ -15852,6 +16032,13 @@ var EVAL_ENGINE_OUTPUT_SCHEMA = [...EVAL_REGISTER_OUTPUT_SCHEMA, ...EVAL_RUBRIC_
|
|
|
15852
16032
|
registerAction({
|
|
15853
16033
|
type: EVAL_ENGINE_ACTION_TYPE,
|
|
15854
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,
|
|
15855
16042
|
sideEffect: true,
|
|
15856
16043
|
dynamicResolutionMode: "replace",
|
|
15857
16044
|
proof: { fields: ["registrationId", "rubricId", "resourceTxHash"] },
|
|
@@ -15930,6 +16117,285 @@ registerAction({
|
|
|
15930
16117
|
}
|
|
15931
16118
|
});
|
|
15932
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
|
+
|
|
15933
16399
|
// src/core/lib/actionRegistry/actions/kycVerify.ts
|
|
15934
16400
|
registerAction({
|
|
15935
16401
|
type: "qi/kyc.verify",
|
|
@@ -18813,14 +19279,14 @@ function formatDate(value) {
|
|
|
18813
19279
|
if (value === void 0 || value === null || value === "") return "Not set";
|
|
18814
19280
|
return String(value);
|
|
18815
19281
|
}
|
|
18816
|
-
var
|
|
19282
|
+
var USDC_IBC_DENOM2 = "ibc/6BBE9BD4246F8E04948D5A4EEE7164B2630263B9EBB5E7DC5F0A46C62A2FF97B";
|
|
18817
19283
|
function formatCoin3(amount, denom) {
|
|
18818
19284
|
const rawAmount = amount ?? "?";
|
|
18819
19285
|
if (denom === "uixo") {
|
|
18820
19286
|
const n = Number(rawAmount);
|
|
18821
19287
|
return `${Number.isFinite(n) ? n / 1e6 : rawAmount} IXO`;
|
|
18822
19288
|
}
|
|
18823
|
-
if (denom ===
|
|
19289
|
+
if (denom === USDC_IBC_DENOM2 || (denom ?? "").startsWith("ibc/")) {
|
|
18824
19290
|
const n = Number(rawAmount);
|
|
18825
19291
|
return `${Number.isFinite(n) ? n / 1e6 : rawAmount} USDC`;
|
|
18826
19292
|
}
|
|
@@ -19065,6 +19531,34 @@ registerDiffResolver(COLLECTION_LIFECYCLE_ACTION_TYPE, {
|
|
|
19065
19531
|
}
|
|
19066
19532
|
});
|
|
19067
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
|
+
|
|
19068
19562
|
// src/core/lib/actionRegistry/actions/collectionUsers/collectionUsers.diff.ts
|
|
19069
19563
|
function formatQuota2(value) {
|
|
19070
19564
|
if (value === void 0 || value === null) return "\u2014";
|
|
@@ -19315,6 +19809,66 @@ function plural(count, noun) {
|
|
|
19315
19809
|
return `${count} ${noun}${count === 1 ? "" : "s"}`;
|
|
19316
19810
|
}
|
|
19317
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
|
+
|
|
19318
19872
|
// src/core/lib/flowEngine/proof.ts
|
|
19319
19873
|
var PROOF_MISSING_CODE = "PROOF_MISSING";
|
|
19320
19874
|
function getOutputValue(output, path) {
|
|
@@ -20764,7 +21318,10 @@ function computeRunSummary(yDoc, runId, actionTypes, context) {
|
|
|
20764
21318
|
const runContext = { ...context, runId };
|
|
20765
21319
|
const summary = {};
|
|
20766
21320
|
for (const blockId of meta.manifest.blockIds) {
|
|
20767
|
-
|
|
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);
|
|
20768
21325
|
}
|
|
20769
21326
|
return summary;
|
|
20770
21327
|
}
|
|
@@ -26617,15 +27174,19 @@ function classifyBlockerCause(block, runtime) {
|
|
|
26617
27174
|
return void 0;
|
|
26618
27175
|
}
|
|
26619
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 });
|
|
26620
27179
|
const derived = deriveBlockPhase({
|
|
26621
27180
|
runtime,
|
|
26622
|
-
actionType
|
|
27181
|
+
actionType,
|
|
26623
27182
|
completionVerification,
|
|
26624
|
-
pendingInvocationCount
|
|
27183
|
+
pendingInvocationCount,
|
|
27184
|
+
done
|
|
26625
27185
|
});
|
|
26626
27186
|
if (derived.phase === "failed") return "Blocked";
|
|
26627
27187
|
if (derived.phase === "complete") return "Done";
|
|
26628
|
-
|
|
27188
|
+
const requiresFold = !!actionType && getAction(actionType)?.done?.standingDoneRequiresFold === true;
|
|
27189
|
+
if (derived.detail === "standing" && pendingInvocationCount === 0 && (!requiresFold || done)) return "Done";
|
|
26629
27190
|
if (runtime.error) return "Blocked";
|
|
26630
27191
|
const dueAt = getDueAt(block);
|
|
26631
27192
|
if (dueAt != null && dueAt <= now) return "Overdue";
|
|
@@ -29100,11 +29661,16 @@ function addFlowNode(yDoc, opts) {
|
|
|
29100
29661
|
props
|
|
29101
29662
|
};
|
|
29102
29663
|
yDoc.transact(() => {
|
|
29103
|
-
|
|
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 }]);
|
|
29104
29666
|
yDoc.getMap("qi.flow.nodes").set(nodeId, createYMapFromNode(node));
|
|
29105
29667
|
yDoc.getMap("qi.flow.blockIndex").set(nodeId, blockId);
|
|
29106
29668
|
const order = yDoc.getArray("qi.flow.order");
|
|
29107
|
-
|
|
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) {
|
|
29108
29674
|
const idx = order.toArray().indexOf(opts.afterNodeId);
|
|
29109
29675
|
if (idx >= 0) order.insert(idx + 1, [nodeId]);
|
|
29110
29676
|
else order.push([nodeId]);
|
|
@@ -29645,7 +30211,7 @@ var FlowDefinitionPublicationError = class extends Error {
|
|
|
29645
30211
|
this.name = "FlowDefinitionPublicationError";
|
|
29646
30212
|
}
|
|
29647
30213
|
};
|
|
29648
|
-
function
|
|
30214
|
+
function parseObject2(value, field) {
|
|
29649
30215
|
if (!value) return {};
|
|
29650
30216
|
try {
|
|
29651
30217
|
const parsed = JSON.parse(value);
|
|
@@ -29657,7 +30223,7 @@ function parseObject(value, field) {
|
|
|
29657
30223
|
}
|
|
29658
30224
|
function parseConditions(value) {
|
|
29659
30225
|
if (!value) return [];
|
|
29660
|
-
const parsed =
|
|
30226
|
+
const parsed = parseObject2(value, "conditions");
|
|
29661
30227
|
if (!Array.isArray(parsed.conditions)) throw new FlowDefinitionPublicationError("INVALID_CONFIGURATION", "Flow step conditions must contain an array");
|
|
29662
30228
|
if (parsed.conditions.some((condition) => !condition || typeof condition !== "object" || Array.isArray(condition))) {
|
|
29663
30229
|
throw new FlowDefinitionPublicationError("INVALID_CONFIGURATION", "Every Flow step condition must be a JSON object");
|
|
@@ -29807,7 +30373,7 @@ function toStep(node, action) {
|
|
|
29807
30373
|
action,
|
|
29808
30374
|
resource: node.with,
|
|
29809
30375
|
configuration: { ...node.props },
|
|
29810
|
-
inputs:
|
|
30376
|
+
inputs: parseObject2(node.props.inputs, "inputs"),
|
|
29811
30377
|
trigger: parseTrigger2(node.props.trigger, node.props.triggerMode),
|
|
29812
30378
|
conditions: parseConditions(node.props.conditions),
|
|
29813
30379
|
actor: actorFromProps2(node.props),
|