@makaio/framework 1.0.0-dev-1788914730846 → 1.0.0-dev-1788955549564
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/.makaio-build.json +2 -2
- package/dist/{account-identity-DCBpVurJ.mjs → account-identity-B0NsOILM.mjs} +1 -1
- package/dist/{adapter-D6IpEDIo.mjs → adapter-DYE_oWjj.mjs} +1 -1
- package/dist/artifact-nArLAotB.mjs +1 -0
- package/dist/{automation-trigger-D_xKqEoV.mjs → automation-trigger-CZfH94Fr.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-DwuFQ02A.mjs → canonical-model-oFNty7hj.mjs} +1 -1
- package/dist/{client-CTqzLpVx.mjs → client-DJMzCHRm.mjs} +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/{compression-3DauETKU.mjs → compression-nZhMDRTA.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +2 -2
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +69 -68
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{framework-packages-B3SQPHD7.mjs → framework-packages-25GUGzJ-.mjs} +1 -1
- package/dist/{index-CRQ2U0jE.d.mts → index-99Gz8ezO.d.mts} +3 -3
- package/dist/{index-Aomg_qFA2.d.mts → index-Bak5iKWv2.d.mts} +4 -24
- package/dist/{index-DfYMmJDZ.d.mts → index-C9J8wBLV.d.mts} +38 -2
- package/dist/{index-DI-1HK7v2.d.mts → index-CKjFFP6W2.d.mts} +1 -1
- package/dist/{index-BtC1JP5D.d.mts → index-CcgI6r0K.d.mts} +1 -1
- package/dist/{index-jXU4dntl.d.mts → index-ConotXyG.d.mts} +12 -12
- package/dist/{index-D3-21gUP.d.mts → index-CuLDybz3.d.mts} +1 -1
- package/dist/{index-C50sVXO7.d.mts → index-CwJaE0fT.d.mts} +13 -13
- package/dist/{index-ZEQDAT9K.d.mts → index-CyB6POkH.d.mts} +1 -1
- package/dist/{index-BjcJH3I-.d.mts → index-D2sbGoGS.d.mts} +1 -1
- package/dist/{index-D7j6v0-L.d.mts → index-D3RZEEE3.d.mts} +1 -1
- package/dist/{index-CmAJx-cX.d.mts → index-DfJNJYPV.d.mts} +3 -3
- package/dist/{index-BfXf_CcM.d.mts → index-GNRWZONO.d.mts} +1 -1
- package/dist/{index-KZ4YllPp.d.mts → index-OUtnmQ8t2.d.mts} +47 -47
- package/dist/{index-DRryNq7D.d.mts → index-OXuby-ee.d.mts} +10 -10
- package/dist/{index-BQv9mUzn.d.mts → index-SDXlgq07.d.mts} +36 -8
- package/dist/{index-CtlurrJF.d.mts → index-VbqrC9qf.d.mts} +45 -29
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{load-extensions-un9Md47Z.d.mts → load-extensions-DM1PgW4a.d.mts} +1 -1
- package/dist/{materialization-CDemi12q.mjs → materialization-BQuh_gaE.mjs} +1 -1
- package/dist/{namespace-D9ToNQPp.d.mts → namespace-BQ7eiQwr.d.mts} +25 -25
- package/dist/{namespace-thsiHTFH.d.mts → namespace-Cb0XKb4v.d.mts} +2 -2
- package/dist/{namespace-CizM5GXh.d.mts → namespace-DAbT1F_n.d.mts} +6 -6
- package/dist/{namespace-DF9m7PLi.d.mts → namespace-c5XPzbf3.d.mts} +6 -6
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/{package-BR0pO5BI.d.mts → package-x2wRhcUt.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/packages-Dhgmy_LJ.mjs +1 -0
- package/dist/{reaction-OQibmmDW.mjs → reaction-6e4v007b.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-inputs-CMjGjK7W.d.mts +23 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/index.d.mts +5 -5
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schema-7GukLoee.d.mts → schema-DIgKUfuF.d.mts} +1 -1
- package/dist/{schemas-Df52igU4.d.mts → schemas-BFwNBMIj.d.mts} +4 -4
- package/dist/{schemas-CSDiTBsU.mjs → schemas-BIU9Org_.mjs} +1 -1
- package/dist/{schemas-CkOVC3ip.d.mts → schemas-COnD70WD.d.mts} +4 -4
- package/dist/{schemas-6FlRULSc.d.mts → schemas-Di_kpQ0C.d.mts} +1 -0
- package/dist/schemas-FiFC_DI6.mjs +1 -0
- package/dist/{schemas-DQ5iRisA.d.mts → schemas-I9dZtAkj.d.mts} +2 -2
- package/dist/{schemas-BUK9I-Oz.mjs → schemas-abY5VbS4.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +46 -46
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{session-CQAuApxe.mjs → session-A-h_Dwcs.mjs} +1 -1
- package/dist/{session-lineage-BtvnGkoC.d.mts → session-lineage-BzlpfLgC.d.mts} +1 -1
- package/dist/{shared-BYP7z9xy.mjs → shared-BZf2zoxL.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/testing/drizzle-harness.d.mts +8 -0
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/{tools-2INrWlnS.mjs → tools-oQPsY7v2.mjs} +1 -1
- package/dist/{transition-C1rMI1ue.d.mts → transition-BeWq5nKg.d.mts} +1 -1
- package/dist/{types-DIHb_m2K.d.mts → types-CIEJ91wm.d.mts} +13 -13
- package/dist/{types-CR415CdC2.d.mts → types-FNVbwd7z2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-Dt9UEsPc.d.mts → view-builder-BwGugMWz.d.mts} +1 -1
- package/dist/{worker-Bn0x5MSH.mjs → worker-Csadr_du.mjs} +1 -1
- package/dist/{workflow-B6C3Pf66.mjs → workflow-Cb2Pj1h3.mjs} +1 -1
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +25 -25
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/{workflow-transitions-BbhM_zPm.mjs → workflow-transitions-BI7PbrXv.mjs} +1 -1
- package/dist/workflow-worker-Db7EBUgh.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-DtmJR46g.mjs +0 -1
- package/dist/packages-7CsXP86g.mjs +0 -1
- package/dist/schemas-BahXrOYa.mjs +0 -1
- package/dist/workflow-worker-BSJ6F4P0.mjs +0 -2
- /package/dist/{capability-service-CsWaOwvH.d.mts → capability-service-23Ot2J9A.d.mts} +0 -0
- /package/dist/{client-DP4ksY9q.d.mts → client-BwFqO0cG.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BoXRTyae.d.mts → client-binary-version-verifier-DySlUy9m.d.mts} +0 -0
- /package/dist/{clients-namespace-BVDmj8uV.d.mts → clients-namespace-Dh0SNZcQ.d.mts} +0 -0
- /package/dist/{config-namespace-BMOKEuyf.d.mts → config-namespace-CZqPIAWt.d.mts} +0 -0
- /package/dist/{definition-ByVJ3n6o.d.mts → definition-D3HjoK-4.d.mts} +0 -0
- /package/dist/{execution-attempt-repository-dE889kHj.d.mts → execution-attempt-repository-CJVlPFMM.d.mts} +0 -0
- /package/dist/{extension-discovery-C0Nj5EVZ.d.mts → extension-discovery-CZkaPQBo.d.mts} +0 -0
- /package/dist/{filesystem-service-C6D7oABi.d.mts → filesystem-service-UYYyRL2y.d.mts} +0 -0
- /package/dist/{hook-responses-Cs8A07ZP.d.mts → hook-responses-chgDiS8D.d.mts} +0 -0
- /package/dist/{index-CNOqYviR.d.mts → index-6wmqw_ng.d.mts} +0 -0
- /package/dist/{index-BrRCVo9r.d.mts → index-B5kqAW7h.d.mts} +0 -0
- /package/dist/{index-DxaQ-ceV.d.mts → index-B6Kq1BtL.d.mts} +0 -0
- /package/dist/{index-l9WK9El6.d.mts → index-BAL1FiaJ.d.mts} +0 -0
- /package/dist/{index-BR7IiCib.d.mts → index-BCKhrNLC.d.mts} +0 -0
- /package/dist/{index-HRn0Kun0.d.mts → index-BU8uFswE.d.mts} +0 -0
- /package/dist/{index-fzrPfhS0.d.mts → index-BjELPYLF2.d.mts} +0 -0
- /package/dist/{index-B_VcKELo.d.mts → index-BrelUXBT.d.mts} +0 -0
- /package/dist/{index-BgY_UzH82.d.mts → index-BtPZcp4M2.d.mts} +0 -0
- /package/dist/{index-BGWkmG9i.d.mts → index-Bxs-oIo4.d.mts} +0 -0
- /package/dist/{index-BpWoCe22.d.mts → index-C-6g2xzN.d.mts} +0 -0
- /package/dist/{index-BHZlMm_I.d.mts → index-C6eJrtTA.d.mts} +0 -0
- /package/dist/{index-Bpv8EpBa.d.mts → index-CDeN0mdC.d.mts} +0 -0
- /package/dist/{index-_Ngf4KAa.d.mts → index-CU_HMaeC.d.mts} +0 -0
- /package/dist/{index-B_rFtKIO2.d.mts → index-CVx7li6B2.d.mts} +0 -0
- /package/dist/{index-CIV2G6uX2.d.mts → index-CYUhTE552.d.mts} +0 -0
- /package/dist/{index-CKvOECeR.d.mts → index-CuPq_ap8.d.mts} +0 -0
- /package/dist/{index-D6qlh6Td.d.mts → index-DB4Xggtt.d.mts} +0 -0
- /package/dist/{index-DZv9yNKF2.d.mts → index-DGlSbpgS2.d.mts} +0 -0
- /package/dist/{index-BnLp-7qH.d.mts → index-DNp9DP6W.d.mts} +0 -0
- /package/dist/{index-ksNVQHeY2.d.mts → index-DOkenapA.d.mts} +0 -0
- /package/dist/{index-BbjxBrcp2.d.mts → index-DQbcfjIb2.d.mts} +0 -0
- /package/dist/{index-DOKPbF-y2.d.mts → index-DX_2kGSg.d.mts} +0 -0
- /package/dist/{index-IkeLI7uY.d.mts → index-DbYjMWlj.d.mts} +0 -0
- /package/dist/{index-CHuB40EK.d.mts → index-DcG3r0VL.d.mts} +0 -0
- /package/dist/{index-B04VAxlm2.d.mts → index-Dmwnhnio2.d.mts} +0 -0
- /package/dist/{index-DLlTuugR.d.mts → index-LsZNB_gb.d.mts} +0 -0
- /package/dist/{index-CSEhxhIc.d.mts → index-SIP-fI28.d.mts} +0 -0
- /package/dist/{index-B7g7e7_f.d.mts → index-zvoiT54b.d.mts} +0 -0
- /package/dist/{namespace-CcHA54E1.d.mts → namespace-69c5HXtL.d.mts} +0 -0
- /package/dist/{namespace-DdcRYk7b.d.mts → namespace-B7fMkHmy.d.mts} +0 -0
- /package/dist/{namespace-CQaL10rI.d.mts → namespace-BoOLmi67.d.mts} +0 -0
- /package/dist/{namespace-Ct2DKREI.d.mts → namespace-CBf5xG_A.d.mts} +0 -0
- /package/dist/{namespace-sTMm1voF.d.mts → namespace-CIF_1OWi.d.mts} +0 -0
- /package/dist/{namespace-nE7vRctI.d.mts → namespace-CUXZS_Ia.d.mts} +0 -0
- /package/dist/{namespace-Ciyw6FxO.d.mts → namespace-DAW4OY3-.d.mts} +0 -0
- /package/dist/{namespace-DtXYm32M.d.mts → namespace-De25c2ds.d.mts} +0 -0
- /package/dist/{namespace-CePc0U4N.d.mts → namespace-DiTFR4Zt.d.mts} +0 -0
- /package/dist/{namespace-B_Gw6BMX.d.mts → namespace-JqvomFSV.d.mts} +0 -0
- /package/dist/{orchestrator-shared-CYnIz5Zd.d.mts → orchestrator-shared-BRNZ6it3.d.mts} +0 -0
- /package/dist/{packages-DtsjAYuf.d.mts → packages-BSVxszLf.d.mts} +0 -0
- /package/dist/{providers-namespace-BxknJ03z.d.mts → providers-namespace-DcPil5uz.d.mts} +0 -0
- /package/dist/{schemas-CKGHlsMd.d.mts → schemas-BZabEyEV.d.mts} +0 -0
- /package/dist/{schemas-0VbIjfrW.d.mts → schemas-CM3Ejp-n.d.mts} +0 -0
- /package/dist/{schemas-CsRcSlvA2.d.mts → schemas-DTyZjKQf2.d.mts} +0 -0
- /package/dist/{schemas-Cg2gAars.d.mts → schemas-DYeS-mtz.d.mts} +0 -0
- /package/dist/{schemas-KDl7p-wr.d.mts → schemas-Ge_bamoP.d.mts} +0 -0
- /package/dist/{schemas-Yp3PvwsM.d.mts → schemas-NwKrrrPF.d.mts} +0 -0
- /package/dist/{schemas-CmUWeOkr.d.mts → schemas-Vv0GtBaZ.d.mts} +0 -0
- /package/dist/{schemas-DzDVjYjt.d.mts → schemas-qbaSxHDL.d.mts} +0 -0
- /package/dist/{server-lifecycle-Ck6_8o8v.d.mts → server-lifecycle-BPAN-b0i.d.mts} +0 -0
- /package/dist/{storage-namespace-CRdQoXZ9.d.mts → storage-namespace-C9oFExfb.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-NBw1Y8Pa.d.mts → storage-namespace-definition-D6soSjKE.d.mts} +0 -0
- /package/dist/{types-CXrp5ldz.d.mts → types-BOsf2SVm.d.mts} +0 -0
- /package/dist/{types-CUCFeisO.d.mts → types-BZnJ_4e2.d.mts} +0 -0
- /package/dist/{types-BFv-EK2G.d.mts → types-CWgYlxjU.d.mts} +0 -0
- /package/dist/{types-BcGXdeva.d.mts → types-DZvkUmHS.d.mts} +0 -0
- /package/dist/{window-registry-Chi2qJ5k.d.mts → window-registry-Bvjvpwhn.d.mts} +0 -0
- /package/dist/{zod-json-schema-B9TYYq3e.mjs → zod-json-schema-B1mZz7S4.mjs} +0 -0
|
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
88
88
|
tableName: "sessions";
|
|
89
89
|
dataType: "string";
|
|
90
90
|
columnType: "SQLiteText";
|
|
91
|
-
data: "closed" | "discovered" | "
|
|
91
|
+
data: "closed" | "discovered" | "active" | "archived";
|
|
92
92
|
driverParam: string;
|
|
93
93
|
notNull: true;
|
|
94
94
|
hasDefault: false;
|
|
@@ -1240,8 +1240,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1240
1240
|
status: _$zod.ZodEnum<{
|
|
1241
1241
|
closed: "closed";
|
|
1242
1242
|
discovered: "discovered";
|
|
1243
|
-
archived: "archived";
|
|
1244
1243
|
active: "active";
|
|
1244
|
+
archived: "archived";
|
|
1245
1245
|
}>;
|
|
1246
1246
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1247
1247
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1382,8 +1382,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1382
1382
|
status: _$zod.ZodEnum<{
|
|
1383
1383
|
closed: "closed";
|
|
1384
1384
|
discovered: "discovered";
|
|
1385
|
-
archived: "archived";
|
|
1386
1385
|
active: "active";
|
|
1386
|
+
archived: "archived";
|
|
1387
1387
|
}>;
|
|
1388
1388
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1389
1389
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1487,8 +1487,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1487
1487
|
all: "all";
|
|
1488
1488
|
closed: "closed";
|
|
1489
1489
|
discovered: "discovered";
|
|
1490
|
-
archived: "archived";
|
|
1491
1490
|
active: "active";
|
|
1491
|
+
archived: "archived";
|
|
1492
1492
|
}>>;
|
|
1493
1493
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1494
1494
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -1549,8 +1549,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1549
1549
|
status: _$zod.ZodEnum<{
|
|
1550
1550
|
closed: "closed";
|
|
1551
1551
|
discovered: "discovered";
|
|
1552
|
-
archived: "archived";
|
|
1553
1552
|
active: "active";
|
|
1553
|
+
archived: "archived";
|
|
1554
1554
|
}>;
|
|
1555
1555
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1556
1556
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1672,8 +1672,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1672
1672
|
all: "all";
|
|
1673
1673
|
closed: "closed";
|
|
1674
1674
|
discovered: "discovered";
|
|
1675
|
-
archived: "archived";
|
|
1676
1675
|
active: "active";
|
|
1676
|
+
archived: "archived";
|
|
1677
1677
|
}>>;
|
|
1678
1678
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1679
1679
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -1731,8 +1731,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1731
1731
|
status: _$zod.ZodEnum<{
|
|
1732
1732
|
closed: "closed";
|
|
1733
1733
|
discovered: "discovered";
|
|
1734
|
-
archived: "archived";
|
|
1735
1734
|
active: "active";
|
|
1735
|
+
archived: "archived";
|
|
1736
1736
|
}>;
|
|
1737
1737
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1738
1738
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1828,14 +1828,14 @@ declare const SessionStorageNamespace$1: {
|
|
|
1828
1828
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1829
1829
|
closed: "closed";
|
|
1830
1830
|
discovered: "discovered";
|
|
1831
|
-
archived: "archived";
|
|
1832
1831
|
active: "active";
|
|
1832
|
+
archived: "archived";
|
|
1833
1833
|
}>>;
|
|
1834
1834
|
expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
1835
1835
|
closed: "closed";
|
|
1836
1836
|
discovered: "discovered";
|
|
1837
|
-
archived: "archived";
|
|
1838
1837
|
active: "active";
|
|
1838
|
+
archived: "archived";
|
|
1839
1839
|
}>>>;
|
|
1840
1840
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1841
1841
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1955,8 +1955,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1955
1955
|
status: _$zod.ZodEnum<{
|
|
1956
1956
|
closed: "closed";
|
|
1957
1957
|
discovered: "discovered";
|
|
1958
|
-
archived: "archived";
|
|
1959
1958
|
active: "active";
|
|
1959
|
+
archived: "archived";
|
|
1960
1960
|
}>;
|
|
1961
1961
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1962
1962
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2247,8 +2247,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2247
2247
|
status: _$zod.ZodEnum<{
|
|
2248
2248
|
closed: "closed";
|
|
2249
2249
|
discovered: "discovered";
|
|
2250
|
-
archived: "archived";
|
|
2251
2250
|
active: "active";
|
|
2251
|
+
archived: "archived";
|
|
2252
2252
|
}>;
|
|
2253
2253
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2254
2254
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2396,8 +2396,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2396
2396
|
status: _$zod.ZodEnum<{
|
|
2397
2397
|
closed: "closed";
|
|
2398
2398
|
discovered: "discovered";
|
|
2399
|
-
archived: "archived";
|
|
2400
2399
|
active: "active";
|
|
2400
|
+
archived: "archived";
|
|
2401
2401
|
}>;
|
|
2402
2402
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2403
2403
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2566,8 +2566,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2566
2566
|
status: _$zod.ZodEnum<{
|
|
2567
2567
|
closed: "closed";
|
|
2568
2568
|
discovered: "discovered";
|
|
2569
|
-
archived: "archived";
|
|
2570
2569
|
active: "active";
|
|
2570
|
+
archived: "archived";
|
|
2571
2571
|
}>;
|
|
2572
2572
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2573
2573
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2708,8 +2708,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2708
2708
|
status: _$zod.ZodEnum<{
|
|
2709
2709
|
closed: "closed";
|
|
2710
2710
|
discovered: "discovered";
|
|
2711
|
-
archived: "archived";
|
|
2712
2711
|
active: "active";
|
|
2712
|
+
archived: "archived";
|
|
2713
2713
|
}>;
|
|
2714
2714
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2715
2715
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2813,8 +2813,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2813
2813
|
all: "all";
|
|
2814
2814
|
closed: "closed";
|
|
2815
2815
|
discovered: "discovered";
|
|
2816
|
-
archived: "archived";
|
|
2817
2816
|
active: "active";
|
|
2817
|
+
archived: "archived";
|
|
2818
2818
|
}>>;
|
|
2819
2819
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2820
2820
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2875,8 +2875,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2875
2875
|
status: _$zod.ZodEnum<{
|
|
2876
2876
|
closed: "closed";
|
|
2877
2877
|
discovered: "discovered";
|
|
2878
|
-
archived: "archived";
|
|
2879
2878
|
active: "active";
|
|
2879
|
+
archived: "archived";
|
|
2880
2880
|
}>;
|
|
2881
2881
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2882
2882
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2998,8 +2998,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2998
2998
|
all: "all";
|
|
2999
2999
|
closed: "closed";
|
|
3000
3000
|
discovered: "discovered";
|
|
3001
|
-
archived: "archived";
|
|
3002
3001
|
active: "active";
|
|
3002
|
+
archived: "archived";
|
|
3003
3003
|
}>>;
|
|
3004
3004
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
3005
3005
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3057,8 +3057,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
3057
3057
|
status: _$zod.ZodEnum<{
|
|
3058
3058
|
closed: "closed";
|
|
3059
3059
|
discovered: "discovered";
|
|
3060
|
-
archived: "archived";
|
|
3061
3060
|
active: "active";
|
|
3061
|
+
archived: "archived";
|
|
3062
3062
|
}>;
|
|
3063
3063
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3064
3064
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3154,14 +3154,14 @@ declare const SessionStorageNamespace$1: {
|
|
|
3154
3154
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3155
3155
|
closed: "closed";
|
|
3156
3156
|
discovered: "discovered";
|
|
3157
|
-
archived: "archived";
|
|
3158
3157
|
active: "active";
|
|
3158
|
+
archived: "archived";
|
|
3159
3159
|
}>>;
|
|
3160
3160
|
expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
3161
3161
|
closed: "closed";
|
|
3162
3162
|
discovered: "discovered";
|
|
3163
|
-
archived: "archived";
|
|
3164
3163
|
active: "active";
|
|
3164
|
+
archived: "archived";
|
|
3165
3165
|
}>>>;
|
|
3166
3166
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
3167
3167
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3281,8 +3281,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
3281
3281
|
status: _$zod.ZodEnum<{
|
|
3282
3282
|
closed: "closed";
|
|
3283
3283
|
discovered: "discovered";
|
|
3284
|
-
archived: "archived";
|
|
3285
3284
|
active: "active";
|
|
3285
|
+
archived: "archived";
|
|
3286
3286
|
}>;
|
|
3287
3287
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3288
3288
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3573,8 +3573,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
3573
3573
|
status: _$zod.ZodEnum<{
|
|
3574
3574
|
closed: "closed";
|
|
3575
3575
|
discovered: "discovered";
|
|
3576
|
-
archived: "archived";
|
|
3577
3576
|
active: "active";
|
|
3577
|
+
archived: "archived";
|
|
3578
3578
|
}>;
|
|
3579
3579
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3580
3580
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3722,8 +3722,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
3722
3722
|
status: _$zod.ZodEnum<{
|
|
3723
3723
|
closed: "closed";
|
|
3724
3724
|
discovered: "discovered";
|
|
3725
|
-
archived: "archived";
|
|
3726
3725
|
active: "active";
|
|
3726
|
+
archived: "archived";
|
|
3727
3727
|
}>;
|
|
3728
3728
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3729
3729
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3836,7 +3836,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3836
3836
|
options?: _$_makaio_core0.NamespaceRegistrationOptions;
|
|
3837
3837
|
defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
|
|
3838
3838
|
__filterPayload?: {
|
|
3839
|
-
[x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "
|
|
3839
|
+
[x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "active" | "archived")[] | {
|
|
3840
3840
|
clientId: string;
|
|
3841
3841
|
source: string;
|
|
3842
3842
|
kind: string;
|
|
@@ -3875,7 +3875,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3875
3875
|
clientId?: string | undefined;
|
|
3876
3876
|
compressionMode?: "auto" | "manual" | "off" | undefined;
|
|
3877
3877
|
}[];
|
|
3878
|
-
status: "closed" | "discovered" | "
|
|
3878
|
+
status: "closed" | "discovered" | "active" | "archived";
|
|
3879
3879
|
leadAgentId?: string | undefined;
|
|
3880
3880
|
parentSessionId?: string | undefined;
|
|
3881
3881
|
contextInheritance?: "none" | "parent-history" | undefined;
|
|
@@ -67,8 +67,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
67
67
|
name: _$zod.ZodString;
|
|
68
68
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
69
69
|
enabled: _$zod.ZodBoolean;
|
|
70
|
-
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
71
70
|
scope: _$zod.ZodString;
|
|
71
|
+
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
72
72
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
73
73
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
74
74
|
id: _$zod.ZodString;
|
|
@@ -338,8 +338,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
338
338
|
name: _$zod.ZodString;
|
|
339
339
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
340
340
|
enabled: _$zod.ZodBoolean;
|
|
341
|
-
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
342
341
|
scope: _$zod.ZodString;
|
|
342
|
+
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
343
343
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
344
344
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
345
345
|
id: _$zod.ZodString;
|
|
@@ -15,8 +15,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
15
15
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
16
16
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
17
17
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
18
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20
20
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
21
21
|
label: _$zod.ZodString;
|
|
22
22
|
url: _$zod.ZodString;
|
|
@@ -40,8 +40,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
40
40
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
41
41
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
42
42
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
44
43
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
44
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
45
45
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
46
46
|
label: _$zod.ZodString;
|
|
47
47
|
url: _$zod.ZodString;
|
|
@@ -1651,8 +1651,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
1651
1651
|
config: _$zod.ZodObject<{
|
|
1652
1652
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1653
1653
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1654
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1655
1654
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1655
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1656
1656
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1657
1657
|
label: _$zod.ZodString;
|
|
1658
1658
|
url: _$zod.ZodString;
|
|
@@ -1876,8 +1876,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1876
1876
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1877
1877
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1878
1878
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1879
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1880
1879
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1880
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1881
1881
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1882
1882
|
label: _$zod.ZodString;
|
|
1883
1883
|
url: _$zod.ZodString;
|
|
@@ -1901,8 +1901,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1901
1901
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1902
1902
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1903
1903
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1904
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1905
1904
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1905
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1906
1906
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1907
1907
|
label: _$zod.ZodString;
|
|
1908
1908
|
url: _$zod.ZodString;
|
|
@@ -3512,8 +3512,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
3512
3512
|
config: _$zod.ZodObject<{
|
|
3513
3513
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3514
3514
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
|
-
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3516
3515
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3516
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3517
3517
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
3518
3518
|
label: _$zod.ZodString;
|
|
3519
3519
|
url: _$zod.ZodString;
|
|
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
335
335
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
336
336
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
337
337
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
338
|
-
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
339
338
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
339
|
+
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
340
340
|
timestamp: _$zod.ZodNumber;
|
|
341
341
|
contentText: _$zod.ZodString;
|
|
342
342
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1120
1120
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1121
1121
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
1122
1122
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
|
-
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1124
1123
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
|
+
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1125
1125
|
timestamp: _$zod.ZodNumber;
|
|
1126
1126
|
contentText: _$zod.ZodString;
|
|
1127
1127
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2030,17 +2030,17 @@ declare const MessageStorageNamespace$1: {
|
|
|
2030
2030
|
})[];
|
|
2031
2031
|
messageId: string;
|
|
2032
2032
|
agentId: never;
|
|
2033
|
-
turnId: string | null;
|
|
2034
2033
|
adapterSessionId: never;
|
|
2034
|
+
turnId: string | null;
|
|
2035
2035
|
timestamp: number;
|
|
2036
2036
|
limit: never;
|
|
2037
|
+
query: string;
|
|
2037
2038
|
contentText: string;
|
|
2038
2039
|
adapterMessageId: string;
|
|
2039
|
-
emitEvent: never;
|
|
2040
2040
|
after: never;
|
|
2041
|
-
includeAfter: never;
|
|
2042
2041
|
order: never;
|
|
2043
|
-
|
|
2042
|
+
emitEvent: never;
|
|
2043
|
+
includeAfter: never;
|
|
2044
2044
|
} | undefined;
|
|
2045
2045
|
};
|
|
2046
2046
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-BPAN-b0i.mjs";
|
|
2
2
|
import { BusBroadcastMessage, BusMessage, BusRequestMessage, BusTransport, BusTransportError } from "@makaio/framework/bus";
|
|
3
3
|
import { TransportAuth, WebSocketLike, WebSocketServerLike, WebSocketServerLike as WebSocketServerLike$1 } from "@makaio/framework/node/transports";
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-BPAN-b0i.mjs";
|
|
2
2
|
export { StartBusServerOptions, startBusServer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as MarkRuntimeReadyInput, At as RecordProviderOperationUncertaintyInput, B as RecordAllocationTerminatedInput, D as ExecutionOwnerId, Dt as ProviderOperationOwnershipRecord, F as PendingAttemptAbandonmentDecision, G as RegisterRuntimeInput, H as RecordProvisionerIncarnationLostInput, It as EnsureExecutionAttemptDecision, J as RuntimeOutcomeFence, K as ReportOperationInput, L as ProvisioningClaimDecision, Lt as EnsureExecutionAttemptInput, M as OperationCompletionDecision, Mt as TakeOverProviderOperationInput, N as OperationReportDecision, O as GetInstructionInput, Ot as ProvisionerIncarnationLossDecision, P as OutcomeCodec, Pt as AttemptSettlementRead, R as ReadBootstrapStartStateInput, S as ExecutionAttemptRecord, St as ProviderOperationCompletionDecision, Tt as ProviderOperationMutationDecision, U as RecordProvisioningAbsentInput, V as RecordInfrastructureFailureInput, W as RecoverableAttemptRecord, X as RuntimeReadinessDecision, Z as RuntimeRegistrationDecision, _t as OpenProviderOperationRecord, a as AllocationRefEvolutionDecision, f as CompleteOperationInput, ft as CompleteProviderOperationInput, gt as ListOpenProviderOperationsInput, h as DurableOutcome, i as AllocationRefEvolution, j as OperationAdmissionDecision, jt as RenewProviderOperationClaimInput, k as InfrastructureFailureDecision, kt as ProvisioningAbsenceDecision, n as AdmitOperationInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as HandoffProviderOperationInput, q as RequestExecutionCancellationInput, r as AllocationRecordingDecision, s as AttemptControlState, u as BeginProvisioningInput, v as ExecutionAttemptCancellationIntent, w as ExecutionAttemptRepository, x as ExecutionAttemptOutcomeDecision, xt as ProviderOperationClaimDecision, z as RecordAllocationInput, zt as ReadAttemptSettlementInput } from "./execution-attempt-repository-
|
|
1
|
+
import { A as MarkRuntimeReadyInput, At as RecordProviderOperationUncertaintyInput, B as RecordAllocationTerminatedInput, D as ExecutionOwnerId, Dt as ProviderOperationOwnershipRecord, F as PendingAttemptAbandonmentDecision, G as RegisterRuntimeInput, H as RecordProvisionerIncarnationLostInput, It as EnsureExecutionAttemptDecision, J as RuntimeOutcomeFence, K as ReportOperationInput, L as ProvisioningClaimDecision, Lt as EnsureExecutionAttemptInput, M as OperationCompletionDecision, Mt as TakeOverProviderOperationInput, N as OperationReportDecision, O as GetInstructionInput, Ot as ProvisionerIncarnationLossDecision, P as OutcomeCodec, Pt as AttemptSettlementRead, R as ReadBootstrapStartStateInput, S as ExecutionAttemptRecord, St as ProviderOperationCompletionDecision, Tt as ProviderOperationMutationDecision, U as RecordProvisioningAbsentInput, V as RecordInfrastructureFailureInput, W as RecoverableAttemptRecord, X as RuntimeReadinessDecision, Z as RuntimeRegistrationDecision, _t as OpenProviderOperationRecord, a as AllocationRefEvolutionDecision, f as CompleteOperationInput, ft as CompleteProviderOperationInput, gt as ListOpenProviderOperationsInput, h as DurableOutcome, i as AllocationRefEvolution, j as OperationAdmissionDecision, jt as RenewProviderOperationClaimInput, k as InfrastructureFailureDecision, kt as ProvisioningAbsenceDecision, n as AdmitOperationInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as HandoffProviderOperationInput, q as RequestExecutionCancellationInput, r as AllocationRecordingDecision, s as AttemptControlState, u as BeginProvisioningInput, v as ExecutionAttemptCancellationIntent, w as ExecutionAttemptRepository, x as ExecutionAttemptOutcomeDecision, xt as ProviderOperationClaimDecision, z as RecordAllocationInput, zt as ReadAttemptSettlementInput } from "./execution-attempt-repository-CJVlPFMM.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as e}from"./chunk-DTipWd-i.mjs";import{t}from"./ajv-Dtk5hCZS.mjs";import{t as n}from"./2020-Bl3Yx3In.mjs";import{t as r}from"./dist-CfANkKSb.mjs";import{canonicalStringify as i}from"@makaio/framework/utils";import{ArtifactKindRegistrationSchema as a,ArtifactSubjects as o,ArtifactViewModelSchema as s,ArtifactViewResolveRequestSchema as c,MaterializationSubjects as l,dep as u,extensionToken as d}from"@makaio/framework/contracts";import{BaseService as f}from"@makaio/framework/service-base";import{ARTIFACT_VALUE_TYPE_KEYWORD as p,readArtifactTitle as m}from"@makaio/framework/contracts/artifact";import{MaterializationSubjects as h}from"@makaio/framework/contracts/materialization";var g=e(t(),1),_=e(n(),1),v=e(r(),1);function y(e){try{let t={allErrors:!0,strict:!1,strictSchema:!0},n=e.dataSchema.$schema===`https://json-schema.org/draft/2020-12/schema`?new _.default(t):new g.default(t);(0,v.default)(n),n.addKeyword({keyword:p,schemaType:`string`,valid:!0}),n.compile(e.dataSchema)}catch(t){throw Error(`Invalid data schema for artifact kind '${e.kind}' version '${e.schemaVersion}': ${t instanceof Error?t.message:String(t)}`,{cause:t})}}const b=[{type:`supersedes`,symmetry:`asymmetric`},{type:`contradicts`,symmetry:`symmetric`},{type:`derives_from`,symmetry:`asymmetric`},{type:`responds_to`,symmetry:`asymmetric`},{type:`contains`,symmetry:`asymmetric`},{type:`refines`,symmetry:`asymmetric`},{type:`scopes`,symmetry:`asymmetric`},{type:`references`,symmetry:`asymmetric`},{type:`evidenced_by`,symmetry:`asymmetric`}],x={extension:0,"factory-repo":1,"target-repo":2},S={source:`extension`,ownerKey:`extension:bus`};function C(e){return`${e.source}:${e.ownerKey}`}function w(e,t){return e.source===t.source&&e.ownerKey===t.ownerKey}function T(e){return structuredClone(e)}function E(e,t){return`${e}@${t}`}var D=class extends f{kinds=new Map;kindContributions=new Map;nextKindContributionOrder=0;relationTypes=new Map;constructor(e){super(e)}async onInit(){for(let e of b)this.relationTypes.set(e.type,e);this.registerHandler(o.kind.register,e=>{this.registerKind(e.payload),e.setResult({registered:!0})}),this.registerHandler(o.kind.list,e=>{let{kind:t}=e.payload,n=[...this.kinds.values()].filter(e=>!t||e.kind===t).map(T);e.setResult({kinds:n})}),this.registerHandler(o[`relation-type`].register,e=>{this.storeRelationType(e.payload),e.setResult({registered:!0})}),this.registerHandler(o[`relation-type`].list,e=>{let{type:t}=e.payload,n=[...this.relationTypes.values()].filter(e=>!t||e.type===t).map(T);e.setResult({relationTypes:n})})}compareKindContributions(e,t){let n=x[e.owner.source]-x[t.owner.source];return n===0?e.owner.source===`extension`?t.order-e.order:e.order-t.order:n}findSameTierRepoConflict(e,t,n){return[...e.values()].find(e=>!w(e.owner,t)&&e.owner.source===t.source&&t.source!==`extension`&&e.order<=n)}recomputeKindWinner(e){let t=this.kindContributions.get(e),n=this.kinds.get(e);if(t===void 0||t.size===0){this.kindContributions.delete(e),this.kinds.delete(e),this.emitKindChangedFromKey(e,n);return}let r;for(let e of t.values())(r===void 0||this.compareKindContributions(e,r)<0)&&(r=e);let i=r;this.kinds.set(e,T(i.registration)),JSON.stringify(n)!==JSON.stringify(i.registration)&&this.bus.emit(o.kind.changed,{kind:i.registration.kind,schemaVersion:i.registration.schemaVersion})}emitKindChangedFromKey(e,t){t!==void 0&&this.bus.emit(o.kind.changed,{kind:t.kind,schemaVersion:t.schemaVersion})}registerKind(e,t=S){e=a.parse(e),y(e);let n=E(e.kind,e.schemaVersion),r=this.kindContributions.get(n)??new Map,i=C(t),o=r.get(i),s=t.source===`extension`?this.nextKindContributionOrder:o?.order??this.nextKindContributionOrder,c=this.findSameTierRepoConflict(r,t,s);if(c!==void 0){console.warn(`[ArtifactSchemaRegistry] Artifact kind '${n}' is already registered by '${c.owner.ownerKey}' at the same priority; keeping the existing owner.`);return}r.set(i,{owner:t,registration:T(e),order:t.source===`extension`||o===void 0?this.nextKindContributionOrder++:o.order}),this.kindContributions.set(n,r),this.recomputeKindWinner(n)}deregisterKind(e,t,n=S){let r=E(e,t),i=this.kindContributions.get(r);i!==void 0&&(i.delete(C(n)),this.recomputeKindWinner(r))}replaceKindRegistrationsForOwner(e,t){let n=t.map(e=>a.parse(e));for(let e of n)y(e);let r=new Set,i=C(e),o=new Map;for(let[e,t]of this.kindContributions.entries()){let n=t.get(i);n!==void 0&&(o.set(e,n.order),t.delete(i),r.add(e))}for(let t of n){let n=E(t.kind,t.schemaVersion),a=this.kindContributions.get(n)??new Map,s=e.source===`extension`?void 0:o.get(n),c=s??this.nextKindContributionOrder,l=this.findSameTierRepoConflict(a,e,c);if(l!==void 0){console.warn(`[ArtifactSchemaRegistry] Artifact kind '${n}' is already registered by '${l.owner.ownerKey}' at the same priority; keeping the existing owner.`);continue}a.set(i,{owner:e,registration:T(t),order:s??this.nextKindContributionOrder++}),this.kindContributions.set(n,a),r.add(n)}for(let e of r)this.recomputeKindWinner(e)}storeRelationType(e){let t=this.relationTypes.get(e.type);if(t){if(t.symmetry!==e.symmetry)throw Error(`Relation type '${e.type}' is already registered with different symmetry (existing: '${t.symmetry}', new: '${e.symmetry}')`);return}this.relationTypes.set(e.type,T(e))}getKind(e,t){let n=this.kinds.get(E(e,t));return n?T(n):void 0}getRelationType(e){let t=this.relationTypes.get(e);return t?T(t):void 0}onDestroy(){this.kinds.clear(),this.kindContributions.clear(),this.relationTypes.clear(),this.nextKindContributionOrder=0}};const O=d(`artifact-schema-registry`),k={name:O.name,displayName:`Artifact Schema Registry`,version:`0.1.0`,critical:!0,create:e=>new D(e.bus)};function A(e,t){return JSON.stringify([e,t])}function j(e){return Object.freeze({kind:e.kind,schemaVersion:e.schemaVersion,version:e.version,build:e.build})}var M=class extends Error{key;incomingOwner;existingOwner;constructor(e,t,n){let r=t===n?`Duplicate builder key '${e}' within owner '${t}'`:`Builder key '${e}' from owner '${t}' collides with owner '${n}'`;super(r),this.key=e,this.incomingOwner=t,this.existingOwner=n,this.name=`ArtifactViewBuilderCollisionError`}},N=class{owners=new Map;globalIndex=new Map;getBuilder(e,t){return this.globalIndex.get(A(e,t))?.builder}replaceBuildersForOwner(e,t){for(let n of t)if(!Number.isInteger(n.version)||n.version<1)throw Error(`Builder for '${A(n.kind,n.schemaVersion)}' from owner '${e}' has non-positive version ${String(n.version)}`);let n=new Map;for(let r of t){let t=A(r.kind,r.schemaVersion);if(n.has(t))throw new M(t,e,e);n.set(t,j(r))}for(let t of n.keys()){let n=this.globalIndex.get(t);if(n&&n.owner!==e)throw new M(t,e,n.owner)}n.size===0?this.owners.delete(e):this.owners.set(e,[...n.values()]),this.rebuildGlobalIndex()}removeBuildersForOwner(e){this.owners.has(e)&&(this.owners.delete(e),this.rebuildGlobalIndex())}getBuildersForOwner(e){let t=this.owners.get(e);if(t)return[...t]}clear(){this.owners.clear(),this.globalIndex.clear()}destroy(){this.clear()}rebuildGlobalIndex(){let e=new Map;for(let[t,n]of this.owners)for(let r of n){let n=A(r.kind,r.schemaVersion);e.set(n,{owner:t,builder:r})}this.globalIndex=e}};const P=5;function F(e){if(e.target.refClass===`artifact`)return{artifactId:e.target.id,label:`[${e.target.kind}] ${e.target.id}`}}function I(e){let t=new Map;for(let n of e){let e=F(n);if(!e)continue;let r=t.get(n.type)??[];r.push(e),t.set(n.type,r)}if(t.size!==0)return{type:`relations`,title:`Relations`,groups:[...t.entries()].map(([e,t])=>({type:e,items:t}))}}function L(e){let t=[],n=new Set;for(let r of e){let e=F(r);!e||n.has(e.artifactId)||(n.add(e.artifactId),t.push(e))}return{breadcrumbs:[],related:t}}function R(e){if(!e.confidence?.basis)return;let t=[];for(let n of e.confidence.basis){let e=n.evidenceRef;e?.refClass===`evidence`&&t.push({kind:e.kind,id:e.id,...e.locator?{locator:e.locator}:{}})}if(t.length!==0)return{type:`evidence`,title:`Evidence`,items:t}}function z(e,t,n){let r=[];if(n===`full`){let t=I(e.relations);t&&r.push(t);let n=R(e);n&&r.push(n)}return{title:m(e.data,t.titlePath),artifact:{id:e.id,kind:e.kind,revision:e.revision},navigation:L(e.relations),sections:r,links:{}}}var B=class extends f{schemaRegistry;builderRegistry;constructor(e,t,n){super(e),this.schemaRegistry=t,this.builderRegistry=n}async onInit(){this.registerHandler(l.artifact.view.resolve,async e=>{let{ref:t,level:n,affordance:r,params:i}=c.parse(e.payload),a=await this.resolve(t,n,r,i);e.setResult(a)})}async resolve(e,t,n,r){let i=await this.bus.requestOptional(o.resolve,{ref:e});if(!i.handled||i.data.artifact===null)return{status:`artifact-not-found`,view:null};let a=i.data.artifact,c=this.schemaRegistry.getKind(a.kind,a.schemaVersion);if(c===void 0)return{status:`not-rendered`,view:null};let l=this.builderRegistry.getBuilder(a.kind,a.schemaVersion);if(l===void 0)return{status:`not-rendered`,view:null};let u=z(a,c,t),d=u.sections,f=u.navigation,p=l.version,m=await l.build({artifact:a,level:t,affordance:n,params:r,genericSections:u.sections,genericNavigation:u.navigation,relations:a.relations});if(m!==void 0){if(`render`in m&&m.render===!1)return{status:`not-rendered`,view:null};`sections`in m&&(d=m.sections??d),`navigation`in m&&(f=m.navigation??f)}let h={title:u.title,artifact:u.artifact,navigation:f,sections:[...d],links:u.links};return{status:`ok`,view:s.parse(h),builderVersion:p,sourceRevision:e.revision}}};function V(e){return structuredClone(e)}var H=class extends f{bindings=new Map;constructor(e){super(e)}async onInit(){this.registerHandler(h.surfaceBinding.register,e=>{this.registerBinding(e.payload),e.setResult({registered:!0})}),this.registerHandler(h.surfaceBinding.list,e=>{let{id:t,provider:n,namespace:r}=e.payload,i=[...this.bindings.values()].filter(e=>(!t||e.id===t)&&(!n||e.provider===n)&&(!r||e.namespace===r)).map(V);e.setResult({bindings:i})})}registerBinding(e){let t=this.bindings.get(e.id);if(t){if(i(t)!==i(e))throw Error(`Surface binding '${e.id}' is already registered with a different definition`);return}this.bindings.set(e.id,V(e)),this.bus.emit(h.surfaceBinding.changed,{id:e.id,provider:e.provider})}deregisterBinding(e){let t=this.bindings.get(e);t&&(this.bindings.delete(e),this.bus.emit(h.surfaceBinding.changed,{id:e,provider:t.provider}))}getBinding(e){let t=this.bindings.get(e);return t?V(t):void 0}onDestroy(){this.bindings.clear()}},U=class{queues=new Map;activeLeases=new Map;pendingAcquisitions=new Set;authorizedRequests=new Map;consumedAuthorizedRequestIds=new Set;acceptingAcquisitions=!0;destroyPromise;destroy(){return this.acceptingAcquisitions=!1,this.destroyPromise??=this.drain(),this.destroyPromise}acquire(e){if(!this.acceptingAcquisitions)return Promise.reject(Error(`Materialization operation coordinator is destroyed`));let t=this.acquireAdmitted(e);return this.pendingAcquisitions.add(t),t.then(()=>this.pendingAcquisitions.delete(t),()=>this.pendingAcquisitions.delete(t)),t}async acquireAdmitted(e){let t=W(e),n=new Set,r=[];for(let e of G(t))r.push(await this.acquireKey(e)),n.add(e);let i={id:crypto.randomUUID(),scope:t},a,o=new Promise(e=>{a=e});return this.activeLeases.set(i.id,{lease:i,heldKeys:n,releases:r,settled:o,settle:a,released:!1}),i}release(e){let t=this.requireActiveLease(e);t.released=!0,this.activeLeases.delete(e.id);for(let e of t.releases.reverse())e();t.settle()}async extend(e,t){let n=this.requireActiveLease(e),r=W(t);if(r.artifactId!==e.scope.artifactId)throw Error(`A materialization operation lease cannot be extended to another artifact`);let i=G(r).filter(e=>!n.heldKeys.has(e)),a=[...n.heldKeys].filter(e=>e.startsWith(`provider:`)).at(-1);if(a&&i.some(e=>q(e,a)<0))throw Error(`Materialization operation lease extension violates lock ordering`);for(let e of i)n.releases.push(await this.acquireKey(e)),n.heldKeys.add(e)}async runExclusive(e,t,n,r){let i=W(e);if(n){if(this.consumedAuthorizedRequestIds.has(n))throw Error(`Materialization operation authorization has already been consumed`);let e=this.authorizedRequests.get(n);if(e){this.authorizedRequests.delete(n),this.consumedAuthorizedRequestIds.add(n);let a=this.activeLeases.get(e.leaseId);if(!r?.local||!a||e.scopeKey!==J(i))throw Error(`Materialization operation authorization does not match this scope`);return t(a.lease)}}let a=await this.acquire(i);try{return await t(a)}finally{this.release(a)}}async runAuthorizedRequest(e,t,n){let r=this.requireActiveLease(e),i=W(t);if(!G(i).every(e=>r.heldKeys.has(e)))throw Error(`Materialization operation authorization requires a lease for the full scope`);let a=crypto.randomUUID();this.authorizedRequests.set(a,{leaseId:e.id,scopeKey:J(i)});try{return await n(a)}finally{this.authorizedRequests.delete(a),this.consumedAuthorizedRequestIds.delete(a)}}requireActiveLease(e){let t=this.activeLeases.get(e.id);if(!t||t.released||t.lease!==e)throw Error(`Materialization operation lease is no longer active`);return t}async acquireKey(e){let t=this.queues.get(e)??Promise.resolve(),n,r=new Promise(e=>{n=e}),i=t.then(()=>r);return this.queues.set(e,i),await t,()=>{n(),this.queues.get(e)===i&&this.queues.delete(e)}}async drain(){for(;this.pendingAcquisitions.size>0||this.activeLeases.size>0;)await Promise.allSettled([...this.pendingAcquisitions,...[...this.activeLeases.values()].map(e=>e.settled)])}};function W(e){if(!e.artifactId)throw Error(`Materialization operation scope requires an artifactId`);let t=[...new Map((e.providerObjects??[]).map(e=>[K(e),e])).values()].sort((e,t)=>q(K(e),K(t)));return t.length>0?{artifactId:e.artifactId,providerObjects:t}:{artifactId:e.artifactId}}function G(e){return[`artifact:${e.artifactId}`,...(e.providerObjects??[]).map(K)]}function K(e){if(!e.provider||!e.externalId)throw Error(`Materialization provider objects require provider and externalId`);return`provider:${JSON.stringify([e.provider,e.externalId])}`}function q(e,t){return e===t?0:e<t?-1:1}function J(e){return JSON.stringify(G(e))}const Y=d(`surface-binding-registry`),X=d(`artifact-view-builder-registry`),Z=d(`artifact-view-service`),Q=d(`materialization-operation-coordinator`),$={name:Q.name,displayName:`Materialization Operation Coordinator`,version:`0.1.0`,critical:!0,create:()=>new U},ee={name:Y.name,displayName:`Surface Binding Registry`,version:`0.1.0`,critical:!0,create:e=>new H(e.bus)},te={name:X.name,displayName:`Artifact View Builder Registry`,version:`0.1.0`,critical:!0,create:()=>new N},ne={name:Z.name,displayName:`Artifact View Service`,version:`0.1.0`,critical:!0,dependencies:[u(O.name),u(X.name)],create:e=>{let t=e.getService(O),n=e.getService(X);if(t===void 0)throw Error(`ArtifactSchemaRegistry is not available for ArtifactViewService`);if(n===void 0)throw Error(`ArtifactViewBuilderRegistry is not available for ArtifactViewService`);return new B(e.bus,t,n)}};export{k as _,te as a,ee as c,B as d,P as f,O as g,N as h,Y as i,U as l,M as m,Z as n,ne as o,z as p,Q as r,$ as s,X as t,H as u,D as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./json-value-DM-EjTC1.mjs";import{t}from"./zod-json-schema-
|
|
1
|
+
import{a as e}from"./json-value-DM-EjTC1.mjs";import{t}from"./zod-json-schema-B1mZz7S4.mjs";import{z as n}from"zod";const r=n.object({kind:n.string().min(1),description:n.string().min(1),parameterSchema:e}),i=n.discriminatedUnion(`success`,[n.object({success:n.literal(!0)}),n.object({success:n.literal(!1),error:n.object({message:n.string()})})]);function a(e){return e}function o(e){let{kind:n,description:i,parameterSchema:a,handler:o}=e,s=r.parse({kind:n,description:i,parameterSchema:t(a,`input`)});return{kind:n,description:i,parameterSchema:a,handler:o,toDescriptor:()=>structuredClone(s)}}export{i,a as n,r,o as t};
|
package/dist/rules/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as RuleSetOptions, S as Rule, _ as JsonObjectShape, a as JsonObjectSchema, b as NotCondition, c as RuleSetOptionsSchema, d as CompoundCondition, f as Condition, g as JsonObject, h as FieldOperator, i as FieldOperatorSchema, l as ScalarValueSchema, m as FieldCondition, n as ExpressionConditionSchema, o as JsonValueSchema, p as ExpressionCondition, r as FieldConditionSchema, s as RuleSchema, t as ConditionSchema, u as AndCondition, v as JsonPrimitive, w as ScalarValue, x as OrCondition, y as JsonValue } from "../schemas-
|
|
1
|
+
import { C as RuleSetOptions, S as Rule, _ as JsonObjectShape, a as JsonObjectSchema, b as NotCondition, c as RuleSetOptionsSchema, d as CompoundCondition, f as Condition, g as JsonObject, h as FieldOperator, i as FieldOperatorSchema, l as ScalarValueSchema, m as FieldCondition, n as ExpressionConditionSchema, o as JsonValueSchema, p as ExpressionCondition, r as FieldConditionSchema, s as RuleSchema, t as ConditionSchema, u as AndCondition, v as JsonPrimitive, w as ScalarValue, x as OrCondition, y as JsonValue } from "../schemas-CM3Ejp-n.mjs";
|
|
2
2
|
|
|
3
3
|
//#region packages/rules/src/evaluator.d.ts
|
|
4
4
|
/**
|
package/dist/rules/schemas.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as JsonObjectSchema, c as RuleSetOptionsSchema, i as FieldOperatorSchema, l as ScalarValueSchema, n as ExpressionConditionSchema, o as JsonValueSchema, r as FieldConditionSchema, s as RuleSchema, t as ConditionSchema } from "../schemas-
|
|
1
|
+
import { a as JsonObjectSchema, c as RuleSetOptionsSchema, i as FieldOperatorSchema, l as ScalarValueSchema, n as ExpressionConditionSchema, o as JsonValueSchema, r as FieldConditionSchema, s as RuleSchema, t as ConditionSchema } from "../schemas-CM3Ejp-n.mjs";
|
|
2
2
|
export { ConditionSchema, ExpressionConditionSchema, FieldConditionSchema, FieldOperatorSchema, JsonObjectSchema, JsonValueSchema, RuleSchema, RuleSetOptionsSchema, ScalarValueSchema };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region core/contracts/src/worker/runtime-inputs.d.ts
|
|
4
|
+
/** Non-secret realization inputs selected for an allocated Worker's Runtime. */
|
|
5
|
+
declare const WorkerRuntimeInputsSchema: z.ZodObject<{
|
|
6
|
+
workerManifest: z.ZodObject<{
|
|
7
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
8
|
+
packageName: z.ZodString;
|
|
9
|
+
version: z.ZodString;
|
|
10
|
+
entrypoint: z.ZodString;
|
|
11
|
+
integrity: z.ZodString;
|
|
12
|
+
}, z.core.$strict>>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
suspensionStrategy: z.ZodEnum<{
|
|
15
|
+
"wait-in-process": "wait-in-process";
|
|
16
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
17
|
+
"exit-and-resume": "exit-and-resume";
|
|
18
|
+
}>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
/** Selected Runtime composition and suspension behavior, separate from the owner's instruction. */
|
|
21
|
+
type WorkerRuntimeInputs = z.infer<typeof WorkerRuntimeInputsSchema>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { WorkerRuntimeInputsSchema as n, WorkerRuntimeInputs as t };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../../types-
|
|
2
|
-
import { t as PiscinaCodeExecutionProvider } from "../../index-
|
|
1
|
+
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../../types-BZnJ_4e2.mjs";
|
|
2
|
+
import { t as PiscinaCodeExecutionProvider } from "../../index-GNRWZONO.mjs";
|
|
3
3
|
export { CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS, CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, PiscinaCodeExecutionProvider, PiscinaCodeExecutionProviderOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FilesystemDescriptorDiscovery, c as enumerateDescriptorPaths, i as ExtensionEntrypointModule, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, s as MergedDescriptorDiscovery, t as DiscoveredExtension } from "../extension-discovery-
|
|
1
|
+
import { a as FilesystemDescriptorDiscovery, c as enumerateDescriptorPaths, i as ExtensionEntrypointModule, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, s as MergedDescriptorDiscovery, t as DiscoveredExtension } from "../extension-discovery-CZkaPQBo.mjs";
|
|
2
2
|
export { DiscoveredExtension, ExplicitDescriptorDiscovery, ExtensionDiscovery, ExtensionEntrypointModule, FilesystemDescriptorDiscovery, FilesystemDescriptorDiscoveryOptions, MergedDescriptorDiscovery, enumerateDescriptorPaths };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, o as isWithinDirectory, r as entrypointStem } from "../load-extensions-
|
|
1
|
+
import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, o as isWithinDirectory, r as entrypointStem } from "../load-extensions-DM1PgW4a.mjs";
|
|
2
2
|
export { entrypointStem, isCliContributionLike, isMakaioExtensionLike, isWithinDirectory, resolveConventionEntrypoint };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RuntimeSubjects } from "./bus/runtime/namespace.mjs";
|
|
2
2
|
import { NodeClientBinaryStrategyDependencyOptions, createNodeClientBinaryStrategyDependencies } from "./client-binary-strategy-dependencies.mjs";
|
|
3
|
-
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../types-
|
|
4
|
-
import { t as PiscinaCodeExecutionProvider } from "../index-
|
|
5
|
-
import { a as FilesystemDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, s as MergedDescriptorDiscovery, t as DiscoveredExtension } from "../extension-discovery-
|
|
6
|
-
import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, n as LoadExtensionsOptions, o as isWithinDirectory, r as entrypointStem, s as loadExtensions, t as DescriptorSourcePackageGroup } from "../load-extensions-
|
|
7
|
-
import { $
|
|
3
|
+
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../types-BZnJ_4e2.mjs";
|
|
4
|
+
import { t as PiscinaCodeExecutionProvider } from "../index-GNRWZONO.mjs";
|
|
5
|
+
import { a as FilesystemDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, s as MergedDescriptorDiscovery, t as DiscoveredExtension } from "../extension-discovery-CZkaPQBo.mjs";
|
|
6
|
+
import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, n as LoadExtensionsOptions, o as isWithinDirectory, r as entrypointStem, s as loadExtensions, t as DescriptorSourcePackageGroup } from "../load-extensions-DM1PgW4a.mjs";
|
|
7
|
+
import { $t as InitializeNodeDatabaseOptions, A as HeadlessWorkerExecutor, At as BootMakaioRuntimeOptions, B as WorkloadInvocationPreparation, Cn as prepareAdapterRuntime, D as HeadlessWorkerBootstrapCredentials, Dt as ThinWorkflowPiscinaRunnerOptions, E as HeadlessWorkerBootstrap, Ft as UpstreamTelemetryBootOptions, G as IsolatedWorkflowRuntimeContext, H as runWorkloadInvocation, I as runHeadlessWorkflowWorker, It as WorkflowRunnerBootOptions, J as createIsolatedWorkflowRuntime, K as WorkflowRuntimeAuthorityConnector, L as InstalledWorkloadAdapter, M as HeadlessWorkerPostCommitObserver, Mt as MakaioRuntime, N as HeadlessWorkflowWorkerDeps, Nt as ServerTransportProvider, O as HeadlessWorkerBusConnector, Ot as WorkflowRunResult, P as HeadlessWorkflowWorkerResult, Pt as TransportReadyInfo, Qt as DatabaseBootOptions, R as RunWorkloadInvocationOptions, Sn as activateAdapterRuntimeIdentity, T as LocalGitSourceOptions, Tt as IWorkflowRunner, U as CreateIsolatedWorkflowRuntimeOptions, V as WorkloadInvocationResult, W as IsolatedWorkflowRuntime, X as InProcessWorkflowRunnerOptions, Xt as WorkflowWorkerEntryResolverOptions, Y as InProcessWorkflowRunner, Yt as WorkflowWorkerEntryMode, Zt as resolveWorkflowWorkerEntry, _ as admitWorkflowRunOperation, _n as createHonoRouteGraph, a as bootstrapWorkerRuntime, an as ShutdownStep, b as registerWorkerRuntime, bn as PrepareAdapterRuntimeInput, c as DeliverableOperationKind, cn as NodeFrameworkModuleResolver, d as OperationDeliveryEndpointIdentity, dn as HttpRouteGraphBuilder, en as InitializeNodeDatabaseResult, f as OperationDeliveryHandler, fn as createHttpRouteGraphBuilder, g as RuntimeRegistrationRefusedError, gn as HonoRouteGraphOptions, h as RegisterWorkerRuntimeOptions, hn as HonoRouteGraph, i as StartedWorkerRuntime, in as selectFrameworkCorePackages, it as AuthorityRequestDeliveryError, j as HeadlessWorkerMaterializer, jt as CoreBootOptions, k as HeadlessWorkerContributionLoader, kt as BootCoordinatorSetupContext, l as OperationAdmissionRefusedError, ln as NoopFrameworkModuleResolver, m as RegisterAndAdmitWorkflowRunOptions, mn as HttpRouteContribution, n as BootstrapStartRefusedError, nn as HostCapabilityDeclaration, nt as AttemptOutcomeDeliveryError, o as AdmitWorkflowRunOperationOptions, on as BridgeBrowserOptions, ot as OutcomeDeliveryError, p as OperationDeliveryHandlers, pn as HttpContributionPhase, q as WorkflowRuntimeContributionLoader, r as BootstrapWorkerRuntimeOptions, rn as normalizeNodeHostCapabilities, s as AdmittedWorkflowRun, sn as FrameworkModuleResolver, t as BootstrapRuntimeConnection, tn as initializeNodeDatabase, u as OperationDeliveryEndpoint, un as resolveFrameworkSpecifier, ut as submitAttemptOutcomeWithAck, v as installOperationDeliveryEndpoint, vn as ActivateAdapterRuntimeIdentityInput, w as createLocalGitWorkspacePreparation, wt as ThinWorkflowPiscinaRunner, xn as PreparedAdapterRuntime, y as registerAndAdmitWorkflowRun, yn as ActivatedAdapterRuntimeIdentity, z as WorkloadControlBinding } from "../index-SDXlgq07.mjs";
|
|
8
8
|
import { ConfiguredRuntimeOptions, LoadMakaioConfigOptions, LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MakaioConfig, ParseMakaioConfigOptions, ParsedMakaioConfig, WorkflowRunnerConfig, buildConfiguredRuntimeOptions, createMakaioConfigDiscovery, defineMakaioConfig, loadMakaioConfig, parseMakaioConfig, resolveMakaioConfigPath, resolveMakaioHome, shouldIncludeExtension } from "./makaio-config.mjs";
|
|
9
9
|
import { RotateWorkflowExecutionBusSecretParams, captureWorkflowExecutionBusSecretCleanup } from "./workflow-execution-bus-access.mjs";
|
|
10
10
|
import { z } from "zod";
|