@makaio/framework 1.0.0-dev-1788721567504 → 1.0.0-dev-1788832451167
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/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
- package/dist/attempt-fixtures-CnrnF5_4.mjs +1 -0
- package/dist/attempt-record-codec-B32Whx75.mjs +1 -0
- package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +1 -0
- package/dist/bootstrap-start-client-DrvofWwi.mjs +1 -0
- package/dist/bus/index.d.mts +46 -28
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-CobBUqjo.mjs +2 -0
- package/dist/bus-Uy9C3TBM.mjs +1 -0
- 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/{context-resolution-CoKFKIqz.d.mts → context-resolution-BrtoXnez.d.mts} +97 -18
- package/dist/contracts/adapter/index.d.mts +2 -2
- 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/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +2 -2
- package/dist/contracts/client/index.d.mts +2 -2
- 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/extension/index.d.mts +5 -5
- 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 +901 -183
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- 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/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- 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 -2
- 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/{contribution-CUHLVLsT.d.mts → contribution-Crm-mctl.d.mts} +2 -2
- package/dist/{definition-DyGImhyi.d.mts → definition-u_5rYQtc.d.mts} +1 -1
- package/dist/{detached-extension-handle-D0aI0pJA.mjs → detached-extension-handle-DAXKQT9c.mjs} +1 -1
- package/dist/{execution-attempt-repository-CRdrgou3.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +242 -9
- package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
- package/dist/{execution-target-H0RWV7Py.mjs → execution-target-BcoF_oDB.mjs} +1 -1
- package/dist/{hook-responses-9Ywsqzzq.d.mts → hook-responses-DcapjzLb.d.mts} +1 -1
- package/dist/{index-D1wTWSLR.d.mts → index-BADuMxcP.d.mts} +458 -458
- package/dist/{index-8NdPPzUh2.d.mts → index-BDAfOYSw2.d.mts} +12 -12
- package/dist/{index-DHnSLGP4.d.mts → index-BDzqNCXs.d.mts} +1 -1
- package/dist/{index-CxwqnZpT.d.mts → index-BakMNLkB.d.mts} +175 -80
- package/dist/{index-B0VO0rAl.d.mts → index-Bo3LRb2u.d.mts} +1 -1
- package/dist/{index-CVcG4Q3X.d.mts → index-Bsr4rZl0.d.mts} +13 -13
- package/dist/{index-B_8bA2JW.d.mts → index-BvgLFm-U.d.mts} +1 -1
- package/dist/{index-Dg11JxKZ.d.mts → index-BwccWakG.d.mts} +1 -1
- package/dist/{index-BJdkVFX9.d.mts → index-BxOFB25y.d.mts} +335 -78
- package/dist/{index-37_b--BH.d.mts → index-C1PfDEIV.d.mts} +52 -47
- package/dist/{index-CPRQ4dWX.d.mts → index-CBixkF0n.d.mts} +12 -0
- package/dist/{index-CyWGSxrs.d.mts → index-CGJgZGqN.d.mts} +292 -292
- package/dist/{index--Ws52sWV2.d.mts → index-COOM1j_L2.d.mts} +4 -4
- package/dist/{index-BmevAPME2.d.mts → index-Cbv_3Xi12.d.mts} +1 -1
- package/dist/{index-DWBkiiXH.d.mts → index-CfJKwWJa.d.mts} +1 -1
- package/dist/{index-DV38-klA2.d.mts → index-CiKzWCW02.d.mts} +273 -26
- package/dist/{index-AdcDBUnc.d.mts → index-D6RMsZko.d.mts} +95 -95
- package/dist/{index-CIEycZrt.d.mts → index-DIhkK4Y0.d.mts} +1 -1
- package/dist/{index-BKIxdzIw.d.mts → index-DZXpKlyB.d.mts} +21 -21
- package/dist/{index-DBD_oFEt2.d.mts → index-DZnb56vt2.d.mts} +1 -1
- package/dist/{index-Cny5RvjO.d.mts → index-J-kv32zv.d.mts} +2 -2
- package/dist/{index-BNzUyVwV.d.mts → index-LOh6AEqx.d.mts} +10 -10
- package/dist/{index-CYjgoYeX.d.mts → index-LryUXslm.d.mts} +3 -3
- package/dist/{index-CFI6FxC7.d.mts → index-QJW9g1mG.d.mts} +2 -2
- package/dist/{index-B0yMCJW8.d.mts → index-rygpcDBV.d.mts} +1 -1
- package/dist/{index-I5a37JCm.d.mts → index-vXmPEZ5O.d.mts} +382 -82
- 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/{lib-Cm-uEoC1.mjs → lib-271rPR7A.mjs} +1 -1
- package/dist/{lib-BpGvHZye.mjs → lib-RFpLjUda.mjs} +1 -1
- package/dist/{load-extensions-BQoXaHhR.d.mts → load-extensions-CY8ELnCp.d.mts} +1 -1
- package/dist/{load-extensions-DG5LvPyM.mjs → load-extensions-D9inWcDy.mjs} +1 -1
- package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
- package/dist/{namespace-DOezqDti.d.mts → namespace-BymM0nl_.d.mts} +27 -27
- package/dist/{namespace-Bo94cenp.d.mts → namespace-Cs-cOyrn.d.mts} +136 -136
- package/dist/{namespace-BdAK0lD8.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
- package/dist/{namespace-BRuHzhPo.d.mts → namespace-DlrX8feY.d.mts} +45 -45
- package/dist/{namespace-CsnrP8AD.d.mts → namespace-Dw5H_KCF.d.mts} +1 -1
- package/dist/{namespace-CstawJgN.d.mts → namespace-DykqxEyX.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +56 -16
- package/dist/node/transports/index.mjs +2 -2
- package/dist/package-CzKoZ1k0.mjs +7 -0
- package/dist/{package-DkZmsdCd.d.mts → package-DkpF17X_.d.mts} +458 -17
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- 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/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +6 -6
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.mjs +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/runtime-node/workflow-worker/worker-entry.d.mts +22 -2
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-B3Pf7JP7.d.mts → schema-C9PauHXt.d.mts} +2 -2
- package/dist/{schemas-CJKHYluy.d.mts → schemas-B2UbGJpJ.d.mts} +15 -15
- package/dist/{schemas-B50oWBuj.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
- package/dist/schemas-CNkUEbIr.mjs +1 -0
- package/dist/schemas-CeHU889f.mjs +1 -0
- package/dist/{schemas-DTJtS14K.d.mts → schemas-ClGDFa44.d.mts} +136 -136
- package/dist/scoped-bus-DwVrmi_1.mjs +1 -0
- 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 +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +124 -122
- 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/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 +12 -12
- 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/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/{src-BmSQ3rlz.mjs → src-DEgV239R.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/{transition-DxsrTsn4.d.mts → transition-DFA_ckdP.d.mts} +2 -2
- package/dist/{types-Czdm5op1.d.mts → types-DkfDRSTr.d.mts} +356 -356
- package/dist/{types-CtDGkyLx2.d.mts → types-p55qvq922.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-D-Wz_l_B.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
- package/dist/worker-B4nD_Erm.mjs +1 -0
- package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +300 -216
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +85 -0
- package/dist/workflow-engine/testing/conformance.mjs +1 -0
- package/dist/workflow-engine/testing/index.d.mts +12 -5
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +75 -46
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-CmIkKnpF.mjs +2 -0
- package/package.json +13 -1
- package/dist/attempt-record-codec-BORASgzn.mjs +0 -1
- package/dist/authority-state-bootstrap-eitx6Ukn.mjs +0 -1
- package/dist/bus-D6NoBhIV.mjs +0 -2
- package/dist/bus-UgFdHybD.mjs +0 -1
- package/dist/package-UemD2NWn.mjs +0 -7
- package/dist/runtime-registration-client-BTtFpt_k.mjs +0 -1
- package/dist/schemas-C3kyQWGf.mjs +0 -1
- package/dist/schemas-TK29KWx-.mjs +0 -1
- package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
- package/dist/worker-DlRdLf2d.mjs +0 -1
- package/dist/workflow-worker-DjUfKshi.mjs +0 -1
- /package/dist/{adapter-binding-CATvmGuz.d.mts → adapter-binding-D68U_Hmh.d.mts} +0 -0
- /package/dist/{base-orchestrator-B4YW6z_Q.d.mts → base-orchestrator-DA95InJU.d.mts} +0 -0
- /package/dist/{capability-service-BW1-teFU.d.mts → capability-service-s4ZYSEWc.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-lcv83Hq3.d.mts → client-binary-version-verifier-kd9LP9AQ.d.mts} +0 -0
- /package/dist/{client-BG0WX5Vz.d.mts → client-f5A-6La5.d.mts} +0 -0
- /package/dist/{clients-namespace-DLAjOTTb.d.mts → clients-namespace-q4PqU1cA.d.mts} +0 -0
- /package/dist/{config-namespace-CH7sJZ4f.d.mts → config-namespace-Cp71zTT0.d.mts} +0 -0
- /package/dist/{create-static-mount-DxuixuLZ.mjs → create-static-mount-CmQgA0jq.mjs} +0 -0
- /package/dist/{definition-BrgzUuFk.d.mts → definition-BHSzhrUf.d.mts} +0 -0
- /package/dist/{extension-context-QmFuHdq5.d.mts → extension-context-BmU5XKjI.d.mts} +0 -0
- /package/dist/{extension-discovery-Dhu3WplO.d.mts → extension-discovery-DnO7bINK.d.mts} +0 -0
- /package/dist/{filesystem-service-ZJ43SbBi.d.mts → filesystem-service-BBArEDPL.d.mts} +0 -0
- /package/dist/{index-BC-6qNeo.d.mts → index-B-zl-O-Y.d.mts} +0 -0
- /package/dist/{index-BfV8U4XX.d.mts → index-BB0HypzC.d.mts} +0 -0
- /package/dist/{index-8y4hT9WL.d.mts → index-Bf2MgOni.d.mts} +0 -0
- /package/dist/{index-B4svZC6L.d.mts → index-C9xVZ-gt.d.mts} +0 -0
- /package/dist/{index-kzIjbrS02.d.mts → index-CDLf3Fka2.d.mts} +0 -0
- /package/dist/{index-BuMsrli0.d.mts → index-CPWBGotQ.d.mts} +0 -0
- /package/dist/{index-pvX-BIpr2.d.mts → index-CcrXttC02.d.mts} +0 -0
- /package/dist/{index-B5dP8rj6.d.mts → index-CkpR5sIH.d.mts} +0 -0
- /package/dist/{index-CmbkCxj-.d.mts → index-Co1da7YK.d.mts} +0 -0
- /package/dist/{index-VzLAV0Yt.d.mts → index-CrcfeFOo.d.mts} +0 -0
- /package/dist/{index-BM56936c.d.mts → index-CsFN2nv7.d.mts} +0 -0
- /package/dist/{index-CVpaGijY.d.mts → index-D-JbTXIH.d.mts} +0 -0
- /package/dist/{index-l01zsChf.d.mts → index-D94yE5Dr.d.mts} +0 -0
- /package/dist/{index-D037TVsm.d.mts → index-DQD2-jcL.d.mts} +0 -0
- /package/dist/{index-D8D-yibS2.d.mts → index-DSLTgc7h2.d.mts} +0 -0
- /package/dist/{index-CL0Jo1b92.d.mts → index-DSN2t48K.d.mts} +0 -0
- /package/dist/{index-DQ8o3JGi.d.mts → index-DW4SE_sH.d.mts} +0 -0
- /package/dist/{index-DgspOUa72.d.mts → index-DYHxzwok2.d.mts} +0 -0
- /package/dist/{index-BMRB9yhF.d.mts → index-D_sMzTvv.d.mts} +0 -0
- /package/dist/{index-BFWvT0NG.d.mts → index-Df1c_2PF.d.mts} +0 -0
- /package/dist/{index-B2Y1Wvbh.d.mts → index-Dn_SGTgp.d.mts} +0 -0
- /package/dist/{index-C4V8Pmi4.d.mts → index-KAAnSRZt.d.mts} +0 -0
- /package/dist/{index-Ek4y8M9J2.d.mts → index-NhW2h2wH2.d.mts} +0 -0
- /package/dist/{index-CqdMbYmR.d.mts → index-mK-rgiit.d.mts} +0 -0
- /package/dist/{index-BTEJfzjE.d.mts → index-xaBSwHxJ.d.mts} +0 -0
- /package/dist/{json-value-DPqb-SJ8.d.mts → json-value-pX6xnLGw.d.mts} +0 -0
- /package/dist/{jsonl-transport-Cyyh5Wje.mjs → jsonl-transport-DQIlRX_y.mjs} +0 -0
- /package/dist/{lib-BqV8hYtk.mjs → lib-6eNAiNK7.mjs} +0 -0
- /package/dist/{namespace-DBO1OzYB.d.mts → namespace-9ychTEk_.d.mts} +0 -0
- /package/dist/{namespace-CVFaZv8x.d.mts → namespace-BGDq7HmW.d.mts} +0 -0
- /package/dist/{namespace-K23m4b0n.d.mts → namespace-BMG3RCdr.d.mts} +0 -0
- /package/dist/{namespace-CPm9dhi2.d.mts → namespace-BoyqQiW9.d.mts} +0 -0
- /package/dist/{namespace-BUYDmd0r.d.mts → namespace-CPR2xem0.d.mts} +0 -0
- /package/dist/{namespace-CPG6u60N.d.mts → namespace-CQEYu8az.d.mts} +0 -0
- /package/dist/{namespace-DqZweTbX.d.mts → namespace-CVg_cpkh.d.mts} +0 -0
- /package/dist/{namespace-B0ftHlK3.d.mts → namespace-DG0hjPcx.d.mts} +0 -0
- /package/dist/{orchestrator-shared-CNHSImNY.d.mts → orchestrator-shared-BzqqcY2z.d.mts} +0 -0
- /package/dist/{packages-CxPMEg8D.d.mts → packages-Cx-BwSZr.d.mts} +0 -0
- /package/dist/{provider-operation-DbdyFwNm.d.mts → provider-operation-B2wQST6N.d.mts} +0 -0
- /package/dist/{providers-namespace-CfZKp-C0.d.mts → providers-namespace-DsKTnuO1.d.mts} +0 -0
- /package/dist/{schemas-ChmQldVH.d.mts → schemas--LAbwXvw.d.mts} +0 -0
- /package/dist/{schemas-CF8QwRqt.d.mts → schemas-Bk50UoMA.d.mts} +0 -0
- /package/dist/{schemas-BCXvEWyF.d.mts → schemas-CBpjAhut.d.mts} +0 -0
- /package/dist/{schemas-bfZNpl0B.d.mts → schemas-CHRuwe18.d.mts} +0 -0
- /package/dist/{schemas-BGvkTiCx.d.mts → schemas-CzGN0eqW.d.mts} +0 -0
- /package/dist/{schemas-Pe892GgN.d.mts → schemas-DmULJ7Jk.d.mts} +0 -0
- /package/dist/{schemas-B6Q-qdmn.d.mts → schemas-Dxvjq-Bi.d.mts} +0 -0
- /package/dist/{schemas-CenET9Cq.d.mts → schemas-Wqo3_F6-.d.mts} +0 -0
- /package/dist/{server-lifecycle-L8zja8t8.d.mts → server-lifecycle-WFZcCMwF.d.mts} +0 -0
- /package/dist/{session-lineage-bUkd3fqx.d.mts → session-lineage-C9kppcCa.d.mts} +0 -0
- /package/dist/{src-BacfeiI4.mjs → src-DIyWekjW.mjs} +0 -0
- /package/dist/{storage-namespace-YmE8XCCL.d.mts → storage-namespace-BWU-8rvj.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BsnYAPot.d.mts → storage-namespace-definition-B-8JKvzm.d.mts} +0 -0
- /package/dist/{types-DdpSEmTO.d.mts → types-8rMNe3AS.d.mts} +0 -0
- /package/dist/{types-DnK6Wa_Y.d.mts → types-BFeWU3WM.d.mts} +0 -0
- /package/dist/{types-tyv0B605.d.mts → types-BnPJa-C_.d.mts} +0 -0
- /package/dist/{types-OKJCOjme.d.mts → types-DQTCNM2i.d.mts} +0 -0
- /package/dist/{types-BlB23n4f.d.mts → types-DxHeL0pF.d.mts} +0 -0
- /package/dist/{window-registry-Pcf35cac.d.mts → window-registry-DQP5P2_0.d.mts} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{z as e}from"zod";import{webcrypto as t}from"node:crypto";function n(e){if(typeof e!=`object`||!e)return!1;let t=e;return`$in`in t||`$ne`in t||`$exists`in t||`$startsWith`in t||`$endsWith`in t}function r(e){return{subject:`*`,$meta:{namespace:e,isRequest:!1,payload:{},local:!1,channel:!1}}}function i(t){return typeof t==`object`&&!!t&&`request`in t&&`response`in t&&t.request instanceof e.ZodType&&t.response instanceof e.ZodType}function a(e){return typeof e==`object`&&!!e&&`__channel`in e&&e.__channel===!0&&`schema`in e}function o(e){return{__channel:!0,schema:e}}function s(e){return typeof e==`object`&&!!e&&`__local`in e&&e.__local===!0&&`schema`in e}function c(e){return{__local:!0,schema:e}}function l(e){return typeof e==`object`&&!!e&&`__hostLocalRequest`in e&&e.__hostLocalRequest===!0&&`schema`in e}function u(e){return{__hostLocalRequest:!0,schema:e}}function d(e){return typeof e==`object`&&!!e&&`__defaultTransports`in e&&(e.__defaultTransports===`all`||e.__defaultTransports===`local-only`)&&`schema`in e}function f(e,t){return{__defaultTransports:t,schema:e}}function p(e){return typeof e==`object`&&!!e&&`__collectorOnly`in e&&e.__collectorOnly===!0&&`schema`in e}function m(e){return{__collectorOnly:!0,schema:e}}function h(e){return s(e)||p(e)||a(e)||l(e)||d(e)?e.schema:e}function g(e,t,n){let o={};for(let[r,c]of Object.entries(t)){let t=r.split(`.`),u=o;for(let e=0;e<t.length-1;e++)u[t[e]]??={},u=u[t[e]];let f=s(c),p=a(c),m=l(c),g=d(c)?c.__defaultTransports:n,_={subject:r,$meta:{namespace:e,isRequest:i(h(c)),local:f,channel:p,...m&&{hostLocalRequest:m},...g!==void 0&&{defaultTransports:g}}};u[t[t.length-1]]=_}return o.$all=r(e),o}function _(e){return`${e.$meta.namespace}.${e.subject}`}function v(e,t,n){let r=n?.defaultTransports,i;if(n!==void 0){let{defaultTransports:e,...t}=n;i=Object.keys(t).length>0?t:void 0}return{name:e,subjects:g(e,t,r),schemas:t,...i===void 0?{}:{options:i},...r===void 0?{}:{defaultTransports:r}}}e.object({cwd:e.string(),env:e.record(e.string(),e.string()),platform:e.enum([`posix`,`windows`]),signal:e.custom().optional(),constraints:e.record(e.string(),e.unknown()).optional(),sessionId:e.string().optional(),subagentId:e.string().optional(),subagentDepth:e.number().optional()});var y=class extends Error{subject;constructor(e,t){super(e),this.subject=t,this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}};const b=`makaio.observability`;function x(e){let t=e.meta()?.[b];if(typeof t!=`object`||!t)return;let n=t;return n.kind===`schema`||n.kind===`field`?n:void 0}function S(e,t){return e.meta({...e.meta(),[b]:t})}function ee(t){if(t instanceof e.ZodOptional||t instanceof e.ZodNullable||t instanceof e.ZodDefault||t instanceof e.ZodCatch||t instanceof e.ZodReadonly)return t.unwrap()}function te(e){let t=e;for(;t;){let e=x(t);if(e?.kind===`field`)return e;t=ee(t)}}function ne(e){let t=x(e);if(t?.kind===`schema`)return{traceAll:t.traceAll}}function re(e){let t=te(e);if(t)return{visibility:t.visibility,attributeName:t.attributeName}}const ie={schema(e,t){return S(e,{kind:`schema`,traceAll:t.traceAll})},field(e,t){return S(e,{kind:`field`,visibility:t.visibility,attributeName:t.attributeName})},hidden(e){return S(e,{kind:`field`,visibility:`hidden`})},count(e,t){return S(e,{kind:`field`,visibility:`count`,attributeName:t})},attribute(e,t){return S(e,{kind:`field`,visibility:`attribute`,attributeName:t})}};function C(e,t){if(t===`*`)return!0;if(!t.endsWith(`*`))return e===t;if(t.endsWith(`:*`)){let n=t.slice(0,-2);return e.startsWith(n+`:`)}if(t.endsWith(`.*`)){let n=t.slice(0,-2);return e.startsWith(n+`.`)}return!1}function ae(e,t){for(let n of t)if(C(e,n))return!0;return!1}function oe(e,t){if(e==null)return;let n=t.split(`.`),r=e;for(let e of n){if(typeof r!=`object`||!r)return;r=r[e]}return r}function se(e,t){if(n(t)){if(`$in`in t)return t.$in.includes(e);if(`$ne`in t)return e!==t.$ne;if(`$exists`in t){let n=e!==void 0;return t.$exists?n:!n}return`$startsWith`in t?typeof e==`string`&&e.startsWith(t.$startsWith):`$endsWith`in t?typeof e==`string`&&e.endsWith(t.$endsWith):!1}return e===t}function w(e,t){for(let[n,r]of Object.entries(t))if(!se(oe(e,n),r))return!1;return!0}function ce(e,t){if(!(!e&&!t))return e?t?{...e,...t}:e:t}var T=class extends y{subject;constructor(e,t){super(e),this.subject=t,this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}},le=class extends DOMException{cause;constructor(e){super(typeof e==`string`?e:`Request aborted`,`AbortError`),this.cause=e}};function ue(e){try{return e instanceof Error||e instanceof DOMException||typeof e==`object`&&!!e&&!(Symbol.toStringTag in e)&&Object.prototype.toString.call(e)===`[object Error]`}catch{return!1}}function E(e){return ue(e)?e:new le(e)}function D(e,t){return!!(t?.aborted&&ue(e)&&(Object.is(e,t.reason)||e instanceof le&&Object.is(e.cause,t.reason)))}var de=class extends T{constructor(e){super(`Authentication failed for channel endpoint "${e}"`,e),this.name=`ChannelAuthError`}},fe=class extends T{constructor(e){super(`Channel "${e}" is closed`,e),this.name=`ChannelClosedError`}},pe=class extends T{constructor(e){super(`Subject "${e}" is channel-only and cannot be used on the public bus. Use a DirectChannel instead.`,e),this.name=`ChannelOnlyError`}};const me=`CONNECTION_LOST`;var he=class extends T{code=me;retryable=!0;constructor(e){super(`Connection lost on transport "${e}" — pending requests were rejected. This is retryable after reconnection.`)}},O=class extends T{constructor(e){super(`Subject "${e}" is local-only and cannot be invoked over a transport. Register a non-local handler on each node that needs to respond to this subject.`,e),this.name=`LocalSubjectError`}};const ge=`NO_HANDLER`;var k=class extends T{code=ge;constructor(e){super(`No handler registered for request subject "${e}"`,e)}},_e=class extends T{cause;constructor(e,t,n){super(`Request to "${e}" failed: ${t}`,e),this.cause=n,n&&(this.cause=n)}},ve=class extends T{timeoutMs;constructor(e,t){super(`Request to "${e}" timed out after ${t}ms`,e),this.timeoutMs=t}},ye=class extends T{zodError;constructor(e,t){let n=t.issues.map(e=>`${e.path.join(`.`)}: ${e.message}`);super(`Validation failed for subject "${e}":\n${n.join(`
|
|
2
|
+
`)}`,e),this.zodError=t}};function be(e,t){if(!(e instanceof Error))return!1;if(e instanceof k)return e.subject===t;let n=e;return n.code===`NO_HANDLER`?n.subject===t:!1}function A(e){return`subject`in e&&`namespace`in e?`${e.namespace}.${e.subject}`:null}function xe(e,t){return e<t?-1:+(e>t)}function Se(e,t){return e.transportRegistry.names().filter(e=>e!==t).sort((e,t)=>xe(String(e),String(t))).map(t=>({name:t,transport:e.transportRegistry.getTransport(t)})).filter(e=>e.transport!==void 0)}function Ce(e,t){return Se(e,t).filter(({transport:e})=>e.isReady?.()!==!1)}const we=new Set([`message`,`name`,`stack`,`cause`,`subject`,`code`]);function j(e){if(!(e instanceof Error))return{message:typeof e==`string`?e:`Unknown error`};let t={message:e.message},n=e.cause instanceof Error?e.cause:e,r=`code`in e?e:n;`code`in r&&typeof r.code==`string`&&(t.code=r.code);let i=`subject`in e?e.subject:void 0,a=`subject`in n?n.subject:void 0;typeof i==`string`?t.subject=i:typeof a==`string`&&(t.subject=a);for(let e of Object.keys(n)){if(we.has(e))continue;let r=Object.getOwnPropertyDescriptor(n,e)?.value;typeof r==`function`||r===void 0||typeof r==`bigint`||typeof r==`symbol`||(t.data??={},t.data[e]=r)}return t}async function M(e,t,n){try{await e.send({type:`response`,correlationId:t.correlationId,error:j(n)})}catch(e){console.error(`[TransportRegistry] Failed to send error response:`,e)}}function Te(e){let t=Error(e.message);if(e.code&&(t.code=e.code),e.subject&&(t.subject=e.subject),e.data)for(let[n,r]of Object.entries(e.data))t[n]=r;return t}const N=Object.freeze({local:!0}),P=Object.freeze({local:!1});function Ee(e,t,n,r){if(n.size>0&&e&&!ae(e,n))return!1;if(e&&t!==void 0){for(let[n,i]of r)if((n===e||ae(e,new Set([n])))&&!w(t,i))return!1}return!0}function De(e,t){if(e.type===`response`){let n=e;return n.error?t.reject(n.correlationId,Te(n.error)):t.resolve(n.correlationId,n.result),!0}if(e.type===`broadcast-response`){let n=e;return n.error?t.reject(n.correlationId,Te(n.error)):t.resolve(n.correlationId,n.results??[]),!0}return!1}function Oe(e){return e.type===`request`}function ke(e){return e.type===`broadcast`}function Ae(e,t,n,r){return Oe(e)||ke(e)?t.track(e.correlationId,n,r):Promise.resolve(!0)}function je(e){let t=typeof e==`object`&&e?e:{};return{message:e instanceof Error?e.message:typeof t.message==`string`?t.message:String(e),code:t.code,subject:typeof t.subject==`string`?t.subject:void 0,data:t.data}}function Me(e){if(e.length===0)return[];if(e.length===1)return e[0].slice();let t=[];for(let n of e)for(let e of n)t.push(e);return t.sort((e,t)=>t.priority-e.priority),t}function Ne(e,t,n,r=`strict`,i){if(process.env.NODE_ENV===`production`||r===`skip`)return;let a=n.safeParse(t);if(!a.success){if(r===`lenient`){if(i)try{i({subject:e,payload:t,issues:a.error.issues})}catch(t){console.error(`[BUS] onSchemaViolation callback threw for "${e}":`,t)}return}throw console.error(`Payload validation failed for subject "${e}":`,JSON.stringify(t)),new ye(e,a.error)}}function Pe(e,t,n){let{mode:r,onViolation:a}=e.namespaceRegistry.getValidationConfig(t);if(r===`skip`)return;let o=e.namespaceRegistry.getSchema(t);!o||i(o)||Ne(t,n,o,r,a)}function Fe(e){let t=!e,n=new URL(e??`ws://localhost:6252/bus`);if(t){let e=parseInt(n.port,10);return{href:`${n.protocol}//${n.hostname}:${e}${n.pathname}`,port:e,isDefault:!0}}let r=n.port?parseInt(n.port,10):void 0;return{href:n.href,port:r,isDefault:!1}}function Ie(e,t){let{mode:n,onViolation:r}=e.namespaceRegistry.getValidationConfig(t);if(n===`skip`)return{requestSchema:void 0,responseSchema:void 0,mode:n,onViolation:void 0};let a=e.namespaceRegistry.getSchema(t);return!a||!i(a)?{requestSchema:void 0,responseSchema:void 0,mode:n,onViolation:r}:{requestSchema:a.request,responseSchema:a.response,mode:n,onViolation:r}}function Le(e,t,n){n.requestSchema&&Ne(e,t,n.requestSchema,n.mode,n.onViolation)}function Re(e,t,n){n.responseSchema&&Ne(e,t,n.responseSchema,n.mode,n.onViolation)}function ze(e,t){let n=0,r=e.length;for(;n<r;){let i=n+r>>>1;e[i].priority>=t.priority?n=i+1:r=i}e.splice(n,0,t)}function F(e,t){let{requestHandlers:n}=e,r=[];for(let[e,i]of n)C(t,e)&&r.push(i);return Me(r)}function Be(e,t){return F(e,t).map(e=>e.handler)}function Ve(e,t,n=!1){let{remoteRequestHandlers:r}=e,i=[],a=new Set,o=new Set;if(n){for(let[n,r]of e.remoteSubscriptionDeliveryClasses)if(C(t,n))for(let[e,t]of r)t!==`relayable`&&a.add(e)}for(let[s,c]of r)if(C(t,s))for(let t of c){if(a.has(t.transport)||n&&!e.remoteSubscriptionDeliveryClasses.get(s)?.has(t.transport))continue;let r=`${t.transport}\0${t.priority}`;o.has(r)||(o.add(r),i.push(t))}return i.sort((e,t)=>t.priority-e.priority),i}function He(e,t,n,r){let i=new Set,a=F(e,r);if(a.length>0)for(let e of a)i.add(e.priority);let o=e.eventHandlers.has(r),s=a.length>0||o,c=e.namespaceRegistry.isHostLocalRequestSubject(r),l=e.remoteRequestHandlers.get(r),u=e.remoteSubscriptionDeliveryClasses.get(r);if(l&&!c)for(let e of l)e.transport!==t&&u?.get(e.transport)===`relayable`&&i.add(e.priority);let d=e.remoteEventHandlers.get(r),f=!c&&d!==void 0&&[...d].some(e=>e!==t&&u?.get(e)===`relayable`);if(i.size===0&&!o&&!f)return Promise.resolve(n.unsubscribe(r)).catch(e=>{console.debug(`[AdvertisedState] unsubscribe propagation failed`,{transport:t,subject:r,error:e})});{let e=s&&c?`first-hop-only`:`relayable`;return Promise.resolve(n.subscribe(r,void 0,[...i],e)).catch(n=>{console.debug(`[AdvertisedState] subscribe propagation failed`,{transport:t,subject:r,priorities:[...i],deliveryClass:e,error:n})})}}function I(e,t,n){let r=[],i=We(e,n);for(let n of e.transportRegistry.names()){if(t!==null&&n===t)continue;let a=e.transportRegistry.getTransport(n);if(a)for(let t of i)r.push(He(e,String(n),a,t))}return r.length>0?Promise.allSettled(r).then(()=>void 0):Promise.resolve()}async function Ue(e,t,n,r){let i=new Set;for(let t of e.requestHandlers.keys())i.add(t);for(let t of e.eventHandlers.keys())i.add(t);for(let t of e.remoteRequestHandlers.keys())i.add(t);for(let t of e.remoteEventHandlers.keys())i.add(t);for(let t of e.remoteSubscriptionDeliveryClasses.keys())i.add(t);for(let t of e.namespaceRegistry.listRegisteredSubjects())t.hostLocalRequest&&F(e,t.fullSubject).length>0&&i.add(t.fullSubject);let a=String(t),o=[];for(let t of i)o.push(He(e,a,n,t));await Promise.allSettled(o),!r?.aborted&&n.isReady?.()!==!1&&n.ready!==void 0&&Promise.resolve(n.send({type:`subscribe-sync-complete`})).catch(e=>{console.debug(`[AdvertisedState] subscribe-sync-complete send failed`,{transport:a,error:e})})}function We(e,t){let n=new Set(t);for(let r of e.namespaceRegistry.listRegisteredSubjects())r.hostLocalRequest&&t.some(e=>C(r.fullSubject,e))&&n.add(r.fullSubject);return n}const Ge=new Set;function Ke(e,t,n){if(process.env.NODE_ENV===`production`||process.env.MAKAIO_DEBUG!==`true`||t.subject.includes(`*`)||t.$meta.namespace.startsWith(`channel:`)||e.namespaceRegistry.getSchema(n)!==void 0||Ge.has(n))return;Ge.add(n);let r=t.$meta.namespace;console.warn(`[MakaioBus] Subject '${n}' used but namespace '${r}' is not registered. Validation and local-subject routing are disabled. Call registerNamespace() at boot.`)}const qe=process.env.NODE_ENV===`test`?()=>Ge.clear():void 0,Je=Symbol(`onPropagationPromise`);function Ye(e){return e?.[Je]}async function Xe(e){await(Ye(e)??Promise.resolve())}function Ze(e,t,n,r,i){let a=e[t];a.has(n)||a.set(n,[]),ze(a.get(n),{handler:r,priority:i})}function Qe(e,t,n,r){let i=e[t],a=i.get(n);if(a){let e=a.findIndex(e=>e.handler===r);e!==-1&&a.splice(e,1),a.length===0&&i.delete(n)}}function L(e,t,n,r){let i=t.subject,a=_(t),o=t.$meta.isRequest,s=i.includes(`*`)||i.includes(`:`),c=s&&!o;s||Ke(e,t,a);let l=r?.filter?e=>{if(w(e.payload,r.filter))return n(e)}:n,u=s?r?.handlerKind:void 0,d=u===`both`?[`eventHandlers`,`requestHandlers`]:u===`event`?[`eventHandlers`]:u===`request`?[`requestHandlers`]:c?[`eventHandlers`,`requestHandlers`]:o?[`requestHandlers`]:[`eventHandlers`],f=r?.priority??0;for(let t of d)Ze(e,t,a,l,f);let p=I(e,null,[a]),m=()=>{for(let t of d)Qe(e,t,a,l);I(e,null,[a])};return m[Je]=p,m}let R,z;function $e(e){if(e<0||e>1024)throw RangeError(`Wrong ID size`);!R||R.length<e?(R=Buffer.allocUnsafe(e*128),t.getRandomValues(R),z=0):z+e>R.length&&(t.getRandomValues(R),z=0),z+=e}function B(e=21){$e(e|=0);let t=``;for(let n=z-e;n<z;n++)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[R[n]&63];return t}function V(e){return e===void 0?!1:Array.isArray(e)?e.length===0:e.size===0}function et(e,t,n){if(n.$meta.local)return[];let r=_(n);if(e.namespaceRegistry.isCollectorOnlySubject(r))return[];if(t===void 0)return n.$meta.defaultTransports===`local-only`?[]:Ce(e).map(({transport:e})=>e);let i=Array.isArray(t)?t:Array.from(t);if(V(t))return[];let a=[];for(let t of i){let n=e.transportRegistry.getTransport(t);if(!n){console.warn(`Transport "${String(t)}" not found for request "${r}"`);continue}a.push(n)}return a}function tt(e,t,n,r){if(r!==void 0)return r;let i=t.$meta.defaultTransports;if(i!==void 0)return i===`local-only`?[]:void 0;if(e.namespaceRegistry.getDefaultTransports(n)===`local-only`)return[]}const nt=1e3,H=new Set;function rt(e){if(H.size>=nt){nt/2;let e=0;for(let t of H)if(H.delete(t),e++,e>=500)break}H.add(e)}function it(){process.env.NODE_ENV!==`production`&&H.clear()}function at(e,t,n,r,i,a,o){if(process.env.NODE_ENV===`production`||e.anyHandlers.size===0)return;if(o!==void 0){if(H.has(o))return;rt(o)}let s={type:t,subject:n,namespace:r,payload:i,messageId:a,correlationId:o};for(let t of e.anyHandlers)Promise.resolve().then(()=>t(s)).catch(e=>{console.error(`[${a}] Error in __onAny handler:`,e)})}function U(e){return e===null||typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function ot(e){if(U(e))return!0;if(!Array.isArray(e)||!e.every(U))return!1;if(e.length<=1)return!0;let t=e[0]===null?`null`:typeof e[0];return e.every(e=>(e===null?`null`:typeof e)===t)}function st(e){return Array.isArray(e)||typeof e==`string`?e.length:e===void 0?void 0:1}function ct(t){if(t instanceof e.ZodObject)return t.shape}function lt(e,t){let n=ne(e),r=ct(e),i={};if(!r||typeof t!=`object`||!t)return i;let a=t;for(let[e,t]of Object.entries(r)){let r=re(t);if(r?.visibility===`hidden`)continue;let o=a[e];if(r?.visibility===`count`){let t=st(o);if(t!==void 0){let n=r.attributeName??e;i[n]=t}continue}if(n?.traceAll){if(U(o)){let t=r?.attributeName??e;i[t]=o}}else if(r?.visibility===`attribute`&&U(o)){let t=r.attributeName??e;i[t]=o}}return i}function ut(e){let{projectorRegistry:t,message:n}=e;if(!t)return;let r=t.get(n.namespace,n.subject);if(r)return r.project({payload:n.payload,namespace:n.namespace,subject:n.subject,messageType:n.type})}function dt(t){let{message:n,namespaceRegistry:r}=t,a=A(n);if(!a)return;let o=r.getSchema(a);if(o)return i(o)?o.request:o instanceof e.ZodType?o:void 0}function ft(e){let t={};for(let[n,r]of Object.entries(e))ot(r)&&(t[n]=r);return t}function pt(e,t){if(e.messageObservers.size!==0)for(let n of e.messageObservers)Promise.resolve().then(()=>n(t)).catch(e=>{console.error(`[${t.messageId}] Error in bus message observer:`,e)})}function mt(e){let{message:t,direction:n,observedAt:r,machineId:i}=e,a=ut(e),o;if(a!==void 0)o=a;else{let n=dt(e);o=n?lt(n,t.payload):{}}return[{factId:`${t.messageId}:${n}`,observedAt:r,...i===void 0?{}:{machineId:i},namespace:t.namespace,subject:t.subject,messageType:t.type,direction:n,messageId:t.messageId,...t.correlationId===void 0?{}:{correlationId:t.correlationId},attributes:ft(o)}]}function ht(e,t){let n=e.interceptorHandlers.get(t);return!n||n.length===0?[]:n.map(e=>e.handler)}function gt(e,t,n,r,i){let a=ht(e,t);return a.length===0?{stopped:!1,payload:n}:_t(a,t,n,r,i)}async function _t(e,t,n,r,i){let a=n,o=!1;for(let n of e){if(o)break;await n({subject:t,get payload(){return a},messageId:r,correlationId:i,stopPropagation(){o=!0},replacePayload(e){a=e},next(){}})}return{stopped:o,payload:a}}function vt(e,t){let{eventHandlers:n}=e,r=[];for(let[e,i]of n)C(t,e)&&r.push(i);return Me(r).map(e=>e.handler)}async function yt(e,t,n){let{correlationId:r,messageId:i}=t,a=[];for(let o of e)a.push(Promise.resolve().then(()=>o(t)).catch(e=>{let t=r?`[${r}][${i}]`:`[${i}]`;throw console.error(`${t} Error in event handler for "${n}":`,e),e}));await Promise.all(a)}async function W(e,t,n,r){let i=t.subject,a=_(t);Ke(e,t,a);let o=r?.messageId??B(),s=r?.correlationId,c=tt(e,t,a,r?.transports),l=t.$meta.local||e.namespaceRegistry.isCollectorOnlySubject(a)||V(c);Pe(e,a,n);let u=gt(e,a,n,o,s),d=u instanceof Promise?await u:u;if(d.stopped)return;let f=d.payload,p=vt(e,a);at(e,`event`,a,t.$meta.namespace,f,o,s),pt(e,{type:`event`,namespace:t.$meta.namespace,subject:i,payload:f,messageId:o,correlationId:s,transport:r?.transport,localOnly:l}),p.length>0&&await yt(p,{payload:f,messageId:o,correlationId:s,subject:a,isRequest:!1,transport:r?.transport,origin:r?.transport?P:N},a);let m=et(e,c,t);if(m.length>0){let e=[];for(let n of m)e.push(n.send({type:`event`,subject:i,namespace:t.$meta.namespace,payload:f,messageId:o,correlationId:s}).catch(e=>{let t=s?`[${s}][${o}]`:`[${o}]`;console.error(`${t} Error sending event "${i}" to transport:`,e)}));await Promise.all(e)}}function bt(e,t,n,r){let i=_(t),a=r?.priority??0;e.interceptorHandlers.has(i)||e.interceptorHandlers.set(i,[]);let o=r?.filter?e=>{if(w(e.payload,r.filter))return n(e)}:n;return ze(e.interceptorHandlers.get(i),{handler:o,priority:a}),()=>{let t=e.interceptorHandlers.get(i);if(t){let n=t.findIndex(e=>e.handler===o);n!==-1&&t.splice(n,1),t.length===0&&e.interceptorHandlers.delete(i)}}}var xt=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},St=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}};const Ct=e=>globalThis.DOMException===void 0?new St(e):new DOMException(e),wt=e=>{let t=e.reason===void 0?Ct(`This operation was aborted.`):e.reason;return t instanceof Error?t:Ct(t)};function Tt(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout}}=t,o,s=new Promise((s,c)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&c(wt(e)),e.addEventListener(`abort`,()=>{c(wt(e))})}if(n===1/0){e.then(s,c);return}let l=new xt;o=a.setTimeout.call(void 0,()=>{if(r){try{s(r())}catch(e){c(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?s():i instanceof Error?c(i):(l.message=i??`Promise timed out after ${n} milliseconds`,c(l))},n),(async()=>{try{s(await e)}catch(e){c(e)}})()}).finally(()=>{s.clear()});return s.clear=()=>{a.clearTimeout.call(void 0,o),o=void 0},s}async function G(e,t,n){let r,i=n?new Promise((t,i)=>{e.then(t,i);let a=()=>i(E(n.reason));if(n.aborted){a();return}n.addEventListener(`abort`,a,{once:!0}),r=()=>n.removeEventListener(`abort`,a)}):e;i.catch(()=>void 0);try{return t===0?await i:await Tt(i,{milliseconds:t})}finally{r?.()}}function Et(e,t){let n=[...e.map(e=>({...e,kind:`local`})),...t.map(e=>({...e,kind:`remote`}))];return n.sort((e,t)=>t.priority===e.priority?e.kind===`local`&&t.kind===`remote`?-1:+(e.kind===`remote`&&t.kind===`local`):t.priority-e.priority),n}function Dt(e,t,n){if(!n||n.length===0)return[...t];let r=new Set(n),i=t.filter(e=>r.has(e.transport));return i.length>0?i:[...new Set(n)].filter(t=>{let n=e.transportRegistry.getTransport(t);return n?n.isReady?.()!==!1:!1}).map(e=>({transport:e,priority:0}))}async function K(e,t,n,r,i,a,o){if(i>=r.length){if(o!==void 0)throw o;return{handled:!1}}let s=r[i];return s.kind===`local`?Ot(e,t,n,s,r,i+1,a,o):kt(e,t,n,s,r,i+1,a,o)}async function Ot(e,t,n,r,i,a,o,s){let c=t.subject,l,u=!1,d,f=n,p={isRequest:!0,get payload(){return f},get result(){return u?l:void 0},messageId:o.messageId,correlationId:o.correlationId,transport:o.transport,origin:o.transport?P:N,...o.deadline!==void 0&&{deadline:o.deadline},...o.signal!==void 0&&{signal:o.signal},setResult:e=>{l=e,u=!0},extendResult:e=>{l={...u?l:{},...e},u=!0},replacePayload:e=>{f=e},next:()=>{let n=(async()=>{let n=await K(e,t,f,i,a,o,s);n.handled&&!u&&(l=n.value,u=!0)})();return n.catch(()=>void 0),d??=n,n}};try{if(await r.handler(p),d!==void 0)await d;else if(!u){let n=await K(e,t,f,i,a,o,s);n.handled&&(l=n.value,u=!0)}}catch(e){throw D(e,o.signal)?E(e):e instanceof _e?e:new _e(c,e instanceof Error?e.message:String(e),e instanceof Error?e:void 0)}return{handled:u,value:l}}async function kt(e,t,n,r,i,a,o,s){let c=t.subject,l=t.$meta.namespace,u=`${l}.${c}`,d=o.deadline??(o.timeout>0?Date.now()+o.timeout:void 0),f=d===void 0?o.timeout:Math.max(0,d-Date.now()),p={...o,deadline:d};if(d!==void 0&&f===0)return K(e,t,n,i,a,p,s);let m=e.transportRegistry.getTransport(r.transport);if(!m)return K(e,t,n,i,a,p,s);let h={type:`request`,subject:c,namespace:l,payload:n,correlationId:o.correlationId,messageId:o.messageId,timeout:f,priority:(()=>{if(a<2)return o.priority;let e=i[a-2].priority;return e===r.priority?e+1:e})(),deadline:d},{signal:g}=o;try{if(g?.aborted)throw E(g.reason);return{handled:!0,value:await G(m.send(h,f),f,g)}}catch(l){if(D(l,g)){let e=E(l);throw m.cancelRequest?.(o.correlationId,e),e}if(g?.aborted)throw l;return be(l,u)?K(e,t,n,i,a,p,s):(console.error(`[${o.correlationId}][${o.messageId}] Error sending request "${c}" via transport '${r.transport}':`,l),K(e,t,n,i,a,p,s??l))}}async function At(e,t,n,r){let i=_(t),a=F(e,i),o=Et(a,t.$meta.local||r.localOnly?[]:Dt(e,Ve(e,i,r.excludeFirstHopOnlyRemote),r.allowedTransports)),s=r.priority,c=s===void 0?0:o.findIndex(e=>e.priority<s);if(!t.$meta.local&&!r.localOnly){let o=e.transportRegistry.getPendingReady();if(o.length>0){await G(Promise.allSettled(o),r.timeout,r.signal);let s=Et(a,Dt(e,Ve(e,i,r.excludeFirstHopOnlyRemote),r.allowedTransports));if(s.length===0)return{handled:!1};let c=r.priority,l=c===void 0?0:s.findIndex(e=>e.priority<c);return l===-1?{handled:!1}:K(e,t,n,s,l,r)}}return c===-1||o.length===0?{handled:!1}:K(e,t,n,o,c,r)}const jt=6e4;function Mt(e,t,n,r){return t.$meta.local?!0:V(tt(e,t,n,r))}function Nt(e){if(e===void 0)return;let t=Array.isArray(e)?e:Array.from(e);return t.length>0?t.map(String):void 0}async function q(e,t,n,r){let i=t.subject,a=_(t);Ke(e,t,a);let o=r?.messageId??B(),s=r?.correlationId??B(),c=r?.timeout??6e4,l=r?.signal,u=Mt(e,t,a,r?.transports),d=Ie(e,a);Le(a,n,d),at(e,`request`,i,t.$meta.namespace,n,o,s),pt(e,{type:`request`,namespace:t.$meta.namespace,subject:i,payload:n,messageId:o,correlationId:s,transport:r?.transport,localOnly:u});let f=Nt(r?.transports),p=c>0?Date.now()+c:void 0,m;try{m=await G(At(e,t,n,{allowedTransports:f,correlationId:s,messageId:o,timeout:c,signal:l,localOnly:u,deadline:p}),c,l)}catch(e){throw e instanceof xt&&!D(e,l)?new ve(i,c):e}if(!m.handled)throw new k(a);let h=m.value;return Re(a,h,d),h}async function Pt(e,t,n,r){try{return{handled:!0,data:await q(e,t,n,r)}}catch(e){if(e instanceof k&&!D(e,r?.signal))return{handled:!1};throw e}}var Ft=class extends Error{constructor(){super(`once() was aborted via AbortSignal`),this.name=`OnceAbortError`}},It=class extends Error{constructor(e,t){super(`once() timed out after ${t}ms waiting for subject: ${e}`),this.name=`OnceTimeoutError`}};function Lt(e,t,n){if(typeof n==`function`){let r=n,i=null;return i=L(e,t,(e=>{let t=i;return i=null,t?.(),r(e)})),()=>{i&&=(i(),null)}}let r=n;return new Promise((n,i)=>{let a=null,o=null,s=null,c=r?.signal,l=()=>{o&&=(clearTimeout(o),null),c&&s&&(c.removeEventListener(`abort`,s),s=null),a&&=(a(),null)};if(c){if(c.aborted){l(),i(new Ft);return}s=()=>{l(),i(new Ft)},c.addEventListener(`abort`,s,{once:!0})}a=L(e,t,(e=>{l(),n(e)}),r?.filter?{filter:r.filter}:void 0);let u=Ye(a),d=()=>{r?.timeoutMs&&a!==null&&(o=setTimeout(()=>{l(),i(new It(_(t),r.timeoutMs))},r.timeoutMs))};u?u.then(d,d):d()})}function Rt(e,t,n,r,i){let a=`anonymous`,o=!1,s;return{isRequest:!0,payload:e,messageId:t,correlationId:n,transport:i,origin:i?P:N,get result(){return s},identify:e=>{a=e},setResult:e=>{o||(o=!0,s=e,r(a,e))},extendResult:e=>{o?Object.assign(s,e):(s={...e},o=!0,r(a,s))},next:async()=>{},replacePayload:()=>{}}}async function zt(e,t){let n=[],r=Rt(t.payload,t.messageId,t.correlationId,(e,t)=>{n.push({nodeId:e,payload:t})},t.transport);try{await e(r)}catch(e){return console.error(`[${t.correlationId}][${t.messageId}] Broadcast handler error for "${t.subjectKey}":`,e),[]}for(let e of n)Re(t.fullSubjectKey,e.payload,t.validationCtx);return n}async function Bt(e,t,n,r){let i=t.subject,a=_(t),o=r?.messageId??B(),s=r?.correlationId??B(),c=r?.timeout??6e4,l=r?.signal,u=Ie(e,a),d=tt(e,t,a,r?.transports),f=t.$meta.local||e.namespaceRegistry.isCollectorOnlySubject(a)||V(d);Le(a,n,u),at(e,`broadcast`,i,t.$meta.namespace,n,o,s),pt(e,{type:`broadcast`,namespace:t.$meta.namespace,subject:i,payload:n,messageId:o,correlationId:s,transport:r?.transport,localOnly:f});let p=[],m=Be(e,a),h=d===void 0?t.$meta.local?[]:Ce(e).map(({transport:e})=>e):et(e,d,t),g=m.map(async e=>{let t=await zt(e,{payload:n,messageId:o,correlationId:s,subjectKey:i,fullSubjectKey:a,transport:r?.transport,validationCtx:u});p.push(...t)}),v=h.map(async e=>{try{let r=await e.send({type:`broadcast`,subject:i,namespace:t.$meta.namespace,payload:n,correlationId:s,messageId:o,timeout:c},c);for(let e of r)Re(a,e.payload,u),p.push({nodeId:e.nodeId,payload:e.payload})}catch(e){console.error(`[${s}][${o}] Broadcast transport error for "${i}":`,e)}});try{await G(Promise.all([...g,...v]),c,l)}catch(e){throw e instanceof xt&&!D(e,l)?new ve(i,c):e}return p}function J(e,t,n){if(!t?.$meta)throw Error(`Invalid subject definition provided to ${e}()`);if(t.$meta.channel)throw new pe(String(t.subject));if(n){let e=t?.$meta?.namespace??`(NO NAMESPACE)`;if(e!==n)throw Error(`Subject namespace ${e} does not match scoped bus namespace ${n}`)}if(e===`emit`){if(t.$meta.isRequest)throw Error(`Cannot emit to request subjects. Use event subjects only.`);if(t.subject?.includes(`*`))throw Error(`Emitting wildcard subjects is not allowed. Use concrete subject keys only.`)}if(e===`intercept`){if(t.$meta.isRequest===!0)throw Error(`intercept() only supports event subjects, not request subjects. Use middleware for requests.`);if(t.subject?.includes(`*`))throw Error(`intercept() requires exact subjects, not wildcards. Wildcards are only supported for on().`)}}function Y(e,t){let n=ce(e,t?.filter);return!n||Object.keys(n).length===0?t:{...t,filter:n}}function X(e,t,n){return{namespace:t,getFilter(){return n},withFilter:(r=>X(e,t,ce(n,r))),on(r,i,a){return J(`on`,r,t),L(e,r,i,Y(n,a))},intercept(r,i,a){return J(`intercept`,r,t),bt(e,r,i,Y(n,a))},once:((r,i)=>{if(J(`once`,r,t),typeof i==`function`){let t=i,a=null;return a=L(e,r,(e=>{let n=a;return a=null,n?.(),t(e)}),Y(n,void 0)),()=>{a&&=(a(),null)}}return Lt(e,r,Y(n,i))}),async emit(n,r,i){return J(`emit`,n,t),W(e,n,r,i)},async request(n,r,i){return J(`request`,n,t),q(e,n,r,i)},async requestOptional(n,r,i){return J(`request`,n,t),Pt(e,n,r,i)}}}function Vt(e,t){let n=t,r=$({context:e,namespace:n});return{namespace:n,emit:r.emit,on:r.on,intercept:r.intercept,once:r.once,request:r.request,requestOptional:r.requestOptional,withFilter:(t=>X(e,n,t)),getContext:()=>e}}function Ht(e){return{local:s(e),collectorOnly:p(e),channel:a(e),hostLocalRequest:l(e),defaultTransports:d(e)?e.__defaultTransports:void 0}}function Ut(e){let t=new Map;for(let[n,r]of Object.entries(e))t.set(n,Ht(r));return t}function Wt(e){let t=[];return e.local&&t.push(`local`),e.collectorOnly&&t.push(`collectorOnly`),e.channel&&t.push(`channel`),e.hostLocalRequest&&t.push(`hostLocalRequest`),e.defaultTransports&&t.push(`defaultTransports=${e.defaultTransports}`),t.length>0?t.join(`, `):`(none)`}function Gt(e,t,n){let r=[];for(let[e,i]of n){let n=t.get(e);n&&(n.local!==i.local||n.collectorOnly!==i.collectorOnly||n.channel!==i.channel||n.hostLocalRequest!==i.hostLocalRequest||n.defaultTransports!==i.defaultTransports)&&r.push(`${e}: existing=[${Wt(n)}], incoming=[${Wt(i)}]`)}if(r.length!==0)throw Error(`[MakaioBus] Namespace '${e}' already registered with different routing metadata. Routing metadata must be identical across registrations because it determines security-critical transport behavior. Conflicts: ${r.join(`; `)}`)}const Kt=new WeakMap;function qt(e){let t=e._def.values;if(t)return new Set(t.map(e=>`literal:${typeof e}:${String(e)}`))}function Jt(e){let t=e._def.checks;return Array.isArray(t)&&t.length>0}function Yt(t,n=!1){let r=new Set,i=t;for(;i instanceof e.ZodOptional||i instanceof e.ZodNullable||i instanceof e.ZodDefault||i instanceof e.ZodReadonly;){if(i instanceof e.ZodDefault)return;i instanceof e.ZodOptional&&r.add(`undefined`),i instanceof e.ZodNullable&&r.add(`null`),i=i.unwrap()}if(!(n&&Jt(i))){if(i instanceof e.ZodLiteral){let e=qt(i);if(!e)return;for(let t of e)r.add(t);return r}if(i instanceof e.ZodString)r.add(`string`);else if(i instanceof e.ZodNumber)r.add(`number`);else if(i instanceof e.ZodBoolean)r.add(`boolean`);else if(i instanceof e.ZodBigInt)r.add(`bigint`);else if(i instanceof e.ZodDate)r.add(`date`);else return;return r}}function Xt(e,t){let n=Yt(e,!0),r=Yt(t);if(!n||!r)return!1;for(let e of r){if(n.has(e))continue;let t=e.startsWith(`literal:`)?e.slice(8).split(`:`,1)[0]:e;if(!n.has(t))return!1}return!0}function Zt(e){let t=e._def.checks;return Array.isArray(t)&&t.length>0}function Qt(e){let t=Kt.get(e);if(t)return t;let n=new Map(Object.entries(e.shape).map(([e,t])=>[e,t]));return Kt.set(e,n),n}function $t(e,t,n){if(!Zt(e))return;let r=Qt(e);for(let[e,i]of Object.entries(t)){let t=r.get(e);if(t&&!Xt(t,i))throw Error(`[MakaioBus] Cannot extend ${n}: field '${e}' overrides an incompatible refined schema field`)}}function en(e,t){Zt(e)&&Kt.set(t,Qt(e))}function Z(t,n){if(!(t instanceof e.ZodObject)){let e=t?.constructor?.name??typeof t;throw Error(`[MakaioBus] Cannot extend ${n}: schema is not a ZodObject (got ${e})`)}}function tn(e,t,n){$t(e,t,n);let r=e.safeExtend(t),i=e.meta(),a=i?r.meta(i):r;return en(e,a),a}function nn(e,t){let n=rn(e.toLowerCase(),t.toLowerCase());return n===0?rn(e,t):n}function rn(e,t){if(e===t)return 0;let n=Array.from(e),r=Array.from(t),i=Math.min(n.length,r.length);for(let e=0;e<i;e+=1){let t=n[e].codePointAt(0),i=r[e].codePointAt(0);if(t!==i)return(t??0)<(i??0)?-1:1}return n.length-r.length}const an=async(e,t)=>{if(!e)throw Error(`Namespace not initialized yet`);let{MakaioBus:n}=await import(`./bus-Uy9C3TBM.mjs`),{createScopedBus:r}=await import(`./scoped-bus-DwVrmi_1.mjs`),i=t??n.getContext();if(!i)throw Error(`No MakaioBus context available. Please provide a context when calling scopedBus().`);return r(i,e)};function on(e,t,n){let r=Array.from(t.keys()),i=Array.from(n.keys()),a=i.filter(e=>!t.has(e)),o=r.filter(e=>!n.has(e)),s=i.filter(e=>{let r=t.get(e),i=n.get(e);return r!==void 0&&i!==void 0&&!sn(r,i)});if(a.length===0&&o.length===0&&s.length===0)return;let c=[];a.length>0&&c.push(`new subjects: ${a.join(`, `)}`),o.length>0&&c.push(`missing subjects: ${o.join(`, `)}`),s.length>0&&c.push(`changed schemas: ${s.join(`, `)}`),console.warn(`[MakaioBus] Namespace '${e}' already registered with different schemas. ${c.join(`; `)}. This usually indicates a namespace collision between packages.`)}function sn(e,t){let n=cn(e),r=cn(t);return typeof n==`string`&&typeof r==`string`?n===r:e===t}function cn(t){try{let n=i(t)?{request:e.toJSONSchema(t.request),response:e.toJSONSchema(t.response)}:e.toJSONSchema(t);return JSON.stringify(n)}catch{return t}}function ln(e){let t=new Map;for(let[n,r]of Object.entries(e))t.set(n,h(r));return t}function un(e){return e?.busValidationMode===`lenient`?{mode:`lenient`,onViolation:e.onSchemaViolation}:e?.busValidationMode===`skip`?{mode:`skip`}:{mode:`strict`}}function dn(e,t,n){t.mode===n.mode&&t.onViolation===n.onViolation||console.warn(`[MakaioBus] Namespace '${e}' already registered with different validation settings. Existing mode: ${t.mode}; incoming mode: ${n.mode}. This usually indicates a namespace collision between packages.`)}const fn=()=>{let e=new Map,t=new Map,n=new Map,r=new Map,o=new Map,c=new Set,u=new Set,d=new Set,f=new Map,m=new Map;return{registerNamespace(i){let{name:g,schemas:_,options:v}=i,y=ln(_),b=Ut(_),x=e.get(g);if(x)return Gt(g,n.get(g)??new Map,b),on(g,t.get(g)??new Map,y),dn(g,f.get(g)??{mode:`strict`},un(v)),x;f.set(g,un(v)),t.set(g,y),n.set(g,b);for(let[e,t]of Object.entries(_)){let n=`${g}.${e}`,f=s(t),_=p(t),v=a(t),b=l(t),x=y.get(e)??h(t);r.set(n,x),o.set(n,{namespace:g,subject:e,fullSubject:n,schema:x,local:f,collectorOnly:_,channel:v,hostLocalRequest:b}),f&&c.add(n),_&&u.add(n),b&&d.add(n),i.defaultTransports&&m.set(n,i.defaultTransports)}let S={name:g,subjects:i.subjects,scopedBus:e=>an(g,e)};return e.set(g,S),S},registerNamespaces(e){for(let t of e)this.registerNamespace(t)},getSchema(e){let t=typeof e==`string`?e:_(e);return r.get(t)},listRegisteredSubjects(){return Array.from(o.values()).map(e=>({...e,schema:i(e.schema)?{...e.schema}:e.schema})).sort((e,t)=>nn(e.fullSubject,t.fullSubject))},getRegisteredSubject(e){return o.get(e)},isRequestSubject(e){let t=r.get(e);return t?i(t):!1},isLocalSubject(e){return c.has(e)},isCollectorOnlySubject(e){return u.has(e)},isHostLocalRequestSubject(e){return d.has(e)},getDefaultTransports(e){return m.get(e)??`all`},getValidationConfig(e){let t;for(let[n,r]of f)(e===n||e.startsWith(n+`.`))&&(!t||n.length>t.namespace.length)&&(t={namespace:n,config:r});return t?.config??{mode:`strict`}},extendSubjectSchema(e,t){let n=r.get(e);if(!n)throw Error(`[MakaioBus] Cannot extend subject '${e}': not registered. Ensure the owning namespace is imported before calling extendSubject().`);if(i(n)){let i=t;i.request&&Z(n.request,`'${e}' request`),i.response&&Z(n.response,`'${e}' response`);let a={request:i.request?tn(n.request,i.request,`'${e}' request`):n.request,response:i.response?tn(n.response,i.response,`'${e}' response`):n.response};r.set(e,a);let s=o.get(e);s&&o.set(e,{...s,schema:a})}else{Z(n,`'${e}'`);let i=tn(n,t,`'${e}'`);r.set(e,i);let a=o.get(e);a&&o.set(e,{...a,schema:i})}},__resetNamespaces:process.env.NODE_ENV===`test`?()=>{e.clear(),t.clear(),n.clear(),r.clear(),o.clear(),c.clear(),u.clear(),d.clear(),f.clear(),m.clear()}:void 0}};function pn(e){return e===`relayable`?`relayable`:`first-hop-only`}async function mn(e,t,n){let r=String(t);for(let[t,i]of Object.entries(n.subjects)){let a=pn(n.deliveryClasses?.[t]),o=e.remoteRequestHandlers.get(t),s=o?o.filter(e=>e.transport!==r):[];for(let e of i)s.push({transport:r,priority:e});s.length>0?e.remoteRequestHandlers.set(t,s):e.remoteRequestHandlers.delete(t);let c=e.remoteSubscriptionDeliveryClasses.get(t)??new Map;if(c.set(r,a),e.remoteSubscriptionDeliveryClasses.set(t,c),i.length===0){let n=e.remoteEventHandlers.get(t)??new Set;n.add(r),e.remoteEventHandlers.set(t,n)}else _n(e,t,r)}await I(e,t,Object.keys(n.subjects))}async function hn(e,t,n){let r=String(t);for(let t of Object.keys(n.subjects)){let n=e.remoteRequestHandlers.get(t);if(n){let i=n.filter(e=>e.transport!==r);i.length===0?e.remoteRequestHandlers.delete(t):e.remoteRequestHandlers.set(t,i)}_n(e,t,r);let i=e.remoteSubscriptionDeliveryClasses.get(t);i?.delete(r),i?.size===0&&e.remoteSubscriptionDeliveryClasses.delete(t)}await I(e,t,Object.keys(n.subjects))}function gn(e,t){let n=new Set;for(let[r,i]of e.remoteRequestHandlers){let a=i.filter(e=>e.transport!==t);a.length!==i.length&&(a.length===0?e.remoteRequestHandlers.delete(r):e.remoteRequestHandlers.set(r,a),n.add(r))}for(let[r,i]of e.remoteEventHandlers)i.delete(t)&&(i.size===0&&e.remoteEventHandlers.delete(r),n.add(r));for(let[r,i]of e.remoteSubscriptionDeliveryClasses)i.delete(t)&&(i.size===0&&e.remoteSubscriptionDeliveryClasses.delete(r),n.add(r));n.size>0&&I(e,t,[...n])}function _n(e,t,n){let r=e.remoteEventHandlers.get(t);r?.delete(n),r?.size===0&&e.remoteEventHandlers.delete(t)}const vn=(e,t)=>({subject:e.subject,$meta:{namespace:e.namespace,isRequest:t,payload:{},local:!1,channel:!1}}),yn=(e,t)=>Ce(e,t),bn=async(e,t,n,r)=>{let i=A(n);if(i){if(e.namespaceRegistry.isLocalSubject(i)){console.warn(`[TransportRegistry] Dropping inbound event '${i}' from transport '${String(t)}': subject is local-only and cannot be invoked remotely.`);return}if(!e.namespaceRegistry.isCollectorOnlySubject(i)){let r=yn(e,t),a=await Promise.allSettled(r.map(async({transport:e})=>e.send(n)));for(let[e,t]of a.entries())t.status===`rejected`&&console.error(`[TransportRegistry] Failed to relay event '${i}' to transport '${String(r[e].name)}':`,t.reason)}await W(e,vn(n,!1),n.payload,{messageId:n.messageId,correlationId:n.correlationId,transports:[],transport:r})}},xn=async(e,t,n,r,i)=>{let a=A(r),o=r.timeout??6e4;if(!a){await M(n,r,Error(`Invalid subject in request message`));return}if(e.namespaceRegistry.isLocalSubject(a)){await M(n,r,new O(a));return}let s=e.namespaceRegistry.isHostLocalRequestSubject(a),c=vn(r,!0);try{let t=await At(e,c,r.payload,{correlationId:r.correlationId,messageId:r.messageId,timeout:o,deadline:r.deadline,priority:r.priority,transport:i,excludeFirstHopOnlyRemote:!0,...s&&{localOnly:!0}});if(!t.handled){await M(n,r,new k(a));return}await n.send({type:`response`,correlationId:r.correlationId,result:t.value})}catch(e){await M(n,r,e)}},Q=async(e,t,n,r)=>{if(e.onBroadcastResults){e.onBroadcastResults(t,n,r);return}let i={type:`broadcast-response`,correlationId:t,...n.length>0?{results:n}:{},...r?{error:r}:{}};await e.send(i)},Sn=async(e,t,n,r,i)=>{let a=A(r),o=r.timeout??6e4;if(!a){await Q(n,r.correlationId,[],j(Error(`Invalid subject in broadcast message`)));return}if(e.namespaceRegistry.isLocalSubject(a)){await Q(n,r.correlationId,[],j(new O(a)));return}try{let s=[],c,l=Bt(e,vn(r,!0),r.payload,{messageId:r.messageId,correlationId:r.correlationId,timeout:o,transports:[],transport:i}).then(e=>s.push(...e)).catch(e=>{c=j(e)}),u=yn(e,t).map(async({name:e,transport:t})=>{try{s.push(...await t.send(r,o))}catch(t){console.error(`[TransportRegistry] Failed to relay broadcast '${a}' to transport '${String(e)}':`,t)}});await Promise.all([l,...u]),await Q(n,r.correlationId,s,c)}catch(e){await Q(n,r.correlationId,[],j(e))}},Cn=(e,t,n)=>{if(n===void 0)return;e.set(t,n);let r=()=>{e.get(t)===n&&e.delete(t)};n.then(r,r)},wn=e=>{let t=new Map,n,r=new Map,i=async(t,n,r,i)=>{try{if(r.type===`subscribe-sync-complete`||r.type===`subscription-ack`)return;if(r.type===`subscribe`){await mn(e,t,r);return}if(r.type===`unsubscribe`){await hn(e,t,r);return}let a=i?{...i,transportName:i.transportName||String(t)}:{transportName:String(t)};r.type===`event`?await bn(e,t,r,a):r.type===`request`?await xn(e,t,n,r,a):r.type===`broadcast`&&await Sn(e,t,n,r,a)}catch(e){console.error(`[TransportRegistry] Unhandled error processing transport message:`,e)}};return{registerTransport(a,o){let s=t.get(a);s&&(console.warn(`[TransportRegistry] Replacing existing transport '${a}'. This unsubscribes the old transport's handler - if unintended, use a different name.`),gn(e,String(a)),s.syncAbort.abort(),s.unsubscribe(),s.transport.onNewReadySession=void 0,s.transport.onConnected=void 0,s.transport.onDisconnected=void 0,r.delete(a));let c=o.onReceive(async(e,t)=>{await i(a,o,e,t)}),l=new AbortController;return t.set(a,{transport:o,unsubscribe:c,syncAbort:l}),Cn(r,a,o.ready),o.onNewReadySession=e=>Cn(r,a,e),o.onConnected=()=>n?.onConnected(String(a)),o.onDisconnected=()=>n?.onDisconnected(String(a)),Ue(e,a,o,l.signal),{unregister:()=>{let n=t.get(a);n?.transport===o&&(n.syncAbort.abort(),n.unsubscribe(),t.delete(a),r.delete(a),o.onNewReadySession=void 0,o.onConnected=void 0,o.onDisconnected=void 0,gn(e,String(a)))},ready:o.ready??Promise.resolve()}},getTransport(e){return t.get(e)?.transport},all(){return Array.from(t.values(),e=>e.transport)},names(){return Array.from(t.keys())},getPendingReady(){return Array.from(r.values())},setLifecycleEmitter(e){n=e}}};function Tn(e,t){return{subject:e,register(n){return n.extendSubject(e,t)}}}function En(e,t,n){let r=_(t);return e.namespaceRegistry.extendSubjectSchema(r,n),t}const Dn={connected:c(e.object({transport:e.string()})),disconnected:c(e.object({transport:e.string()}))};function On(e,t){e.transportRegistry.setLifecycleEmitter({onConnected(n){W(e,t.connected,{transport:n}).catch(e=>{console.error(`[bus] lifecycle emit error on connected:`,e)})},onDisconnected(n){W(e,t.disconnected,{transport:n}).catch(e=>{console.error(`[bus] lifecycle emit error on disconnected:`,e)})}})}const kn=()=>{let e={eventHandlers:new Map,requestHandlers:new Map,interceptorHandlers:new Map,anyHandlers:new Set,messageObservers:new Set,transportRegistry:void 0,namespaceRegistry:fn(),remoteRequestHandlers:new Map,remoteEventHandlers:new Map,remoteSubscriptionDeliveryClasses:new Map};return e.transportRegistry=wn(e),e},An=e=>{let t=new Map,n=!1,r=null,i=null,a=null,o=()=>n||r!==null,s=e=>e.every(e=>t.get(e.transport.name)===e),c=async e=>{for(let n of e)try{n.unregister()}catch(e){console.error(`[bus.connect] Failed to unregister '${n.transport.name}' during rollback:`,e)}finally{t.get(n.transport.name)===n&&t.delete(n.transport.name)}await Promise.allSettled(e.map(e=>e.transport.disconnect()))},l=e=>{i===e&&(i=null)},u=async e=>{e?.awaitReady!==!1&&i&&await i},d=()=>{let e=!1,t=!1,n,r,i,a=new Promise((e,t)=>{n=e,r=t}),o=new Promise(e=>{i=e});return a.catch(()=>void 0),{promise:a,cancelSignal:o,resolve:()=>{t||(t=!0,n())},reject:e=>{t||(t=!0,r(e))},cancel:()=>{e||(e=!0,i(),t||(t=!0,n()))},isCanceled:()=>e}},f=(e,t)=>{let n=t instanceof Error?t.message:String(t),r=Error(`Failed to connect transport "${e}": ${n}`,{cause:t});if(typeof t==`object`&&t){let e=t,n=r;`code`in e&&(n.code=e.code),`status`in e&&(n.status=e.status)}return r},p=async(e,t)=>{await c(e),t()},m=async(e,t,n,r)=>{n(r),l(t),await c(e)},h=(e,t)=>{let n=Promise.all(e.map(e=>e.ready.catch(t=>{throw console.error(`[bus.connect] Transport '${e.transport.name}' ready failed:`,t),t}))).then(()=>{});return n.catch(()=>void 0),Promise.race([n,t.cancelSignal])};return{registerTransport:n=>{if(o())throw Error(`[bus.connect] Cannot register transport '${n.name}' after connect() has started; create a new bus instance or use the shared transport registry directly`);let r=e.transportRegistry.registerTransport(n.name,n);return t.set(n.name,{transport:n,unregister:r.unregister,get ready(){return n.ready??r.ready}}),r},unregisterTransport:e=>{let n=t.get(e);n&&(n.unregister(),t.delete(e))},get ready(){return i??Promise.resolve()},disconnect:()=>{n=!1,a?.cancel(),a=null,r=null,i=null;for(let{transport:e,unregister:n}of t.values()){try{Promise.resolve(e.disconnect()).catch(()=>{})}catch{}n()}t.clear()},reconnect:async()=>{let e=Array.from(t.values()).filter(e=>typeof e.transport.reconnect==`function`),n=await Promise.allSettled(e.map(e=>Promise.resolve().then(()=>e.transport.reconnect())));for(let[t,r]of n.entries())r.status===`rejected`&&console.error(`[bus] reconnect failed for transport '${e[t].transport.name}':`,r.reason)},connect:async e=>{if(n){await u(e);return}if(r){await r,await u(e);return}let o=Array.from(t.values());if(o.length===0)return;let c=d();i=c.promise,a=c;let l=null,g=!1;r=(async()=>{try{await Promise.all(o.map(async e=>{try{await e.transport.connect()}catch(t){throw f(e.transport.name,t)}}))}catch(e){throw await m(o,c.promise,c.reject,e),e}if(!s(o)){await p(o,c.resolve);return}n=!0;try{let t=h(o,c),r=async()=>{if(!(!n||c.isCanceled())&&(await t,!(!n||c.isCanceled()))){if(!s(o)){await p(o,c.resolve);return}c.resolve()}};e?.awaitReady===!1?(l=r(),g=!0,l.catch(async e=>{console.error(`[bus.connect] Background ready failed:`,e),await m(o,c.promise,c.reject,e),n=!1}).finally(()=>{l=null,a===c&&(a=null)})):(l=r(),await l)}catch(e){throw n=!1,await m(o,c.promise,c.reject,e),e}})().finally(()=>{r=null,!g&&a===c&&(a=null),l=null}),await r}}};function jn(e){e.eventHandlers.clear(),e.requestHandlers.clear(),e.interceptorHandlers.clear(),e.anyHandlers.clear(),e.messageObservers.clear(),e.remoteRequestHandlers.clear(),e.remoteEventHandlers.clear(),it()}function $(e){let{context:t=kn(),namespace:n,transports:r}=e??{},i=An(t),a={namespace:n,on:(e,r,i)=>(J(`on`,e,n),L(t,e,r,i)),intercept:(e,r,i)=>(J(`intercept`,e,n),bt(t,e,r,i)),once:(e,r)=>(J(`once`,e,n),Lt(t,e,r)),emit:async(e,r,i)=>(J(`emit`,e,n),W(t,e,r,i)),request:async(e,r,i)=>(J(`request`,e,n),q(t,e,r,i)),requestOptional:async(e,r,i)=>(J(`request`,e,n),Pt(t,e,r,i)),broadcast:async(e,r,i)=>(J(`request`,e,n),Bt(t,e,r,i)),scoped:(e,n)=>Vt(n??t,e.name),withFilter:e=>X(t,n??``,e),...i,getContext:()=>t,getSchema:e=>t.namespaceRegistry.getSchema(e),registerNamespace:e=>t.namespaceRegistry.registerNamespace(e),registerNamespaces:e=>t.namespaceRegistry.registerNamespaces(e),extendSubject:(e,r)=>{if(n&&e.$meta.namespace!==n)throw Error(`Subject namespace ${e.$meta.namespace} does not match scoped bus namespace ${n}`);return En(t,e,r)},observeMessages:e=>(t.messageObservers.add(e),()=>{t.messageObservers.delete(e)}),__onAny:e=>process.env.NODE_ENV===`production`?()=>{}:(t.anyHandlers.add(e),()=>{t.anyHandlers.delete(e)}),__resetHandlers:process.env.NODE_ENV===`test`?()=>jn(t):void 0};Object.defineProperty(a,`ready`,{get(){return i.ready},enumerable:!0,configurable:!0}),On(t,a.registerNamespace(v(`bus:lifecycle`,Dn)).subjects);for(let e of r??[])a.registerTransport(e);return a}const Mn=$();export{c as $,ge as A,E as B,Ae as C,ye as D,be as E,pe as F,ae as G,oe as H,fe as I,v as J,C as K,de as L,O as M,me as N,ve as O,he as P,u as Q,le as R,Ee as S,A as T,w as U,T as V,ce as W,m as X,_ as Y,f as Z,Fe as _,Tn as a,De as b,X as c,jt as d,o as et,W as f,qe as g,Xe as h,Dn as i,k as j,_e as k,Ft as l,L as m,kn as n,En as o,mt as p,ie as q,$ as r,Vt as s,Mn as t,i as tt,q as u,N as v,Te as w,je as x,P as y,D as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./bus-CobBUqjo.mjs";export{e as MakaioBus};
|
package/dist/clients/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as StrategyDependencies, i as InstallStrategy, n as createStrategy, r as InstallArtifact, t as verifyInstalledVersion } from "../client-binary-version-verifier-
|
|
1
|
+
import { a as StrategyDependencies, i as InstallStrategy, n as createStrategy, r as InstallArtifact, t as verifyInstalledVersion } from "../client-binary-version-verifier-kd9LP9AQ.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StrategyDependencies, i as InstallStrategy, n as createStrategy, r as InstallArtifact, t as verifyInstalledVersion } from "../client-binary-version-verifier-
|
|
1
|
+
import { a as StrategyDependencies, i as InstallStrategy, n as createStrategy, r as InstallArtifact, t as verifyInstalledVersion } from "../client-binary-version-verifier-kd9LP9AQ.mjs";
|
|
2
2
|
export { type InstallArtifact, type InstallStrategy, type StrategyDependencies, createStrategy, verifyInstalledVersion };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as CodeExecutionWorkerOutcome, u as CodeExecutionWorkerTask } from "../types-
|
|
1
|
+
import { l as CodeExecutionWorkerOutcome, u as CodeExecutionWorkerTask } from "../types-BFeWU3WM.mjs";
|
|
2
2
|
|
|
3
3
|
//#region runtimes/node/src/code-execution/worker-entry.d.ts
|
|
4
4
|
/**
|
|
@@ -86,6 +86,19 @@ declare const EvidenceRefSchema: z.ZodObject<{
|
|
|
86
86
|
revision: z.ZodOptional<z.ZodString>;
|
|
87
87
|
locator: z.ZodOptional<z.ZodString>;
|
|
88
88
|
}, z.core.$strip>;
|
|
89
|
+
/**
|
|
90
|
+
* Identity reference to a core entity managed outside the artifact revision store.
|
|
91
|
+
*
|
|
92
|
+
* The owning entity service resolves this identity. It does not identify an
|
|
93
|
+
* immutable revision and must not be treated as an artifact or evidence pin.
|
|
94
|
+
* The explicit discriminator prevents legacy reference inference from silently
|
|
95
|
+
* interpreting the identity as an artifact or an external evidence source.
|
|
96
|
+
*/
|
|
97
|
+
declare const EntityRefSchema: z.ZodObject<{
|
|
98
|
+
refClass: z.ZodLiteral<"entity">;
|
|
99
|
+
entityType: z.ZodString;
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
}, z.core.$strict>;
|
|
89
102
|
declare const ArtifactRelationTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
90
103
|
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
91
104
|
kind: z.ZodString;
|
|
@@ -106,7 +119,11 @@ declare const ArtifactRelationTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUn
|
|
|
106
119
|
id: z.ZodString;
|
|
107
120
|
revision: z.ZodOptional<z.ZodString>;
|
|
108
121
|
locator: z.ZodOptional<z.ZodString>;
|
|
109
|
-
}, z.core.$strip
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
refClass: z.ZodLiteral<"entity">;
|
|
124
|
+
entityType: z.ZodString;
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
}, z.core.$strict>], "refClass">>;
|
|
110
127
|
/**
|
|
111
128
|
* Relation target schema for use in {@link ArtifactQueryRequestSchema}.
|
|
112
129
|
*
|
|
@@ -139,7 +156,11 @@ declare const ArtifactRelationQueryTargetSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
139
156
|
id: z.ZodString;
|
|
140
157
|
revision: z.ZodOptional<z.ZodString>;
|
|
141
158
|
locator: z.ZodOptional<z.ZodString>;
|
|
142
|
-
}, z.core.$strip
|
|
159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
refClass: z.ZodLiteral<"entity">;
|
|
161
|
+
entityType: z.ZodString;
|
|
162
|
+
id: z.ZodString;
|
|
163
|
+
}, z.core.$strict>], "refClass">>;
|
|
143
164
|
/**
|
|
144
165
|
* A typed directional link from one artifact to a relation target.
|
|
145
166
|
*
|
|
@@ -167,7 +188,11 @@ declare const ArtifactRelationSchema: z.ZodObject<{
|
|
|
167
188
|
id: z.ZodString;
|
|
168
189
|
revision: z.ZodOptional<z.ZodString>;
|
|
169
190
|
locator: z.ZodOptional<z.ZodString>;
|
|
170
|
-
}, z.core.$strip
|
|
191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
192
|
+
refClass: z.ZodLiteral<"entity">;
|
|
193
|
+
entityType: z.ZodString;
|
|
194
|
+
id: z.ZodString;
|
|
195
|
+
}, z.core.$strict>], "refClass">>;
|
|
171
196
|
}, z.core.$strip>;
|
|
172
197
|
/**
|
|
173
198
|
* Ordered confidence levels for artifact assertions.
|
|
@@ -217,7 +242,11 @@ declare const ConfidenceBasisSchema: z.ZodObject<{
|
|
|
217
242
|
id: z.ZodString;
|
|
218
243
|
revision: z.ZodOptional<z.ZodString>;
|
|
219
244
|
locator: z.ZodOptional<z.ZodString>;
|
|
220
|
-
}, z.core.$strip
|
|
245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
+
refClass: z.ZodLiteral<"entity">;
|
|
247
|
+
entityType: z.ZodString;
|
|
248
|
+
id: z.ZodString;
|
|
249
|
+
}, z.core.$strict>], "refClass">>>;
|
|
221
250
|
}, z.core.$strip>;
|
|
222
251
|
/**
|
|
223
252
|
* Aggregated confidence metadata for an artifact revision.
|
|
@@ -262,7 +291,11 @@ declare const ConfidenceMetadataSchema: z.ZodObject<{
|
|
|
262
291
|
id: z.ZodString;
|
|
263
292
|
revision: z.ZodOptional<z.ZodString>;
|
|
264
293
|
locator: z.ZodOptional<z.ZodString>;
|
|
265
|
-
}, z.core.$strip
|
|
294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
295
|
+
refClass: z.ZodLiteral<"entity">;
|
|
296
|
+
entityType: z.ZodString;
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
}, z.core.$strict>], "refClass">>>;
|
|
266
299
|
}, z.core.$strip>>;
|
|
267
300
|
}, z.core.$strip>;
|
|
268
301
|
/**
|
|
@@ -366,7 +399,11 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
366
399
|
id: z.ZodString;
|
|
367
400
|
revision: z.ZodOptional<z.ZodString>;
|
|
368
401
|
locator: z.ZodOptional<z.ZodString>;
|
|
369
|
-
}, z.core.$strip
|
|
402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
403
|
+
refClass: z.ZodLiteral<"entity">;
|
|
404
|
+
entityType: z.ZodString;
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
}, z.core.$strict>], "refClass">>;
|
|
370
407
|
}, z.core.$strip>>;
|
|
371
408
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
372
409
|
level: z.ZodEnum<{
|
|
@@ -405,7 +442,11 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
405
442
|
id: z.ZodString;
|
|
406
443
|
revision: z.ZodOptional<z.ZodString>;
|
|
407
444
|
locator: z.ZodOptional<z.ZodString>;
|
|
408
|
-
}, z.core.$strip
|
|
445
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
446
|
+
refClass: z.ZodLiteral<"entity">;
|
|
447
|
+
entityType: z.ZodString;
|
|
448
|
+
id: z.ZodString;
|
|
449
|
+
}, z.core.$strict>], "refClass">>>;
|
|
409
450
|
}, z.core.$strip>>;
|
|
410
451
|
}, z.core.$strip>>;
|
|
411
452
|
representations: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,10 +499,10 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
|
458
499
|
}, z.core.$strip>>;
|
|
459
500
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
460
501
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
502
|
+
archived: "archived";
|
|
461
503
|
active: "active";
|
|
462
504
|
fading: "fading";
|
|
463
505
|
retired: "retired";
|
|
464
|
-
archived: "archived";
|
|
465
506
|
}>>;
|
|
466
507
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
467
508
|
}, z.core.$strip>>;
|
|
@@ -578,7 +619,11 @@ declare const ArtifactQueryRequestSchema: z.ZodObject<{
|
|
|
578
619
|
id: z.ZodString;
|
|
579
620
|
revision: z.ZodOptional<z.ZodString>;
|
|
580
621
|
locator: z.ZodOptional<z.ZodString>;
|
|
581
|
-
}, z.core.$strip
|
|
622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
623
|
+
refClass: z.ZodLiteral<"entity">;
|
|
624
|
+
entityType: z.ZodString;
|
|
625
|
+
id: z.ZodString;
|
|
626
|
+
}, z.core.$strict>], "refClass">>>;
|
|
582
627
|
}, z.core.$strip>>;
|
|
583
628
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
584
629
|
maxLevel: z.ZodOptional<z.ZodEnum<{
|
|
@@ -655,7 +700,11 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
655
700
|
id: z.ZodString;
|
|
656
701
|
revision: z.ZodOptional<z.ZodString>;
|
|
657
702
|
locator: z.ZodOptional<z.ZodString>;
|
|
658
|
-
}, z.core.$strip
|
|
703
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
704
|
+
refClass: z.ZodLiteral<"entity">;
|
|
705
|
+
entityType: z.ZodString;
|
|
706
|
+
id: z.ZodString;
|
|
707
|
+
}, z.core.$strict>], "refClass">>;
|
|
659
708
|
}, z.core.$strip>>;
|
|
660
709
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
661
710
|
level: z.ZodEnum<{
|
|
@@ -694,7 +743,11 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
694
743
|
id: z.ZodString;
|
|
695
744
|
revision: z.ZodOptional<z.ZodString>;
|
|
696
745
|
locator: z.ZodOptional<z.ZodString>;
|
|
697
|
-
}, z.core.$strip
|
|
746
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
747
|
+
refClass: z.ZodLiteral<"entity">;
|
|
748
|
+
entityType: z.ZodString;
|
|
749
|
+
id: z.ZodString;
|
|
750
|
+
}, z.core.$strict>], "refClass">>>;
|
|
698
751
|
}, z.core.$strip>>;
|
|
699
752
|
}, z.core.$strip>>;
|
|
700
753
|
representations: z.ZodOptional<z.ZodObject<{
|
|
@@ -742,7 +795,11 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
742
795
|
id: z.ZodString;
|
|
743
796
|
revision: z.ZodOptional<z.ZodString>;
|
|
744
797
|
locator: z.ZodOptional<z.ZodString>;
|
|
745
|
-
}, z.core.$strip
|
|
798
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
799
|
+
refClass: z.ZodLiteral<"entity">;
|
|
800
|
+
entityType: z.ZodString;
|
|
801
|
+
id: z.ZodString;
|
|
802
|
+
}, z.core.$strict>], "refClass">>;
|
|
746
803
|
}, z.core.$strip>>;
|
|
747
804
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
748
805
|
level: z.ZodEnum<{
|
|
@@ -781,7 +838,11 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
781
838
|
id: z.ZodString;
|
|
782
839
|
revision: z.ZodOptional<z.ZodString>;
|
|
783
840
|
locator: z.ZodOptional<z.ZodString>;
|
|
784
|
-
}, z.core.$strip
|
|
841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
842
|
+
refClass: z.ZodLiteral<"entity">;
|
|
843
|
+
entityType: z.ZodString;
|
|
844
|
+
id: z.ZodString;
|
|
845
|
+
}, z.core.$strict>], "refClass">>>;
|
|
785
846
|
}, z.core.$strip>>;
|
|
786
847
|
}, z.core.$strip>>;
|
|
787
848
|
representations: z.ZodOptional<z.ZodObject<{
|
|
@@ -811,6 +872,8 @@ type ArtifactRef$1 = z.infer<typeof ArtifactRefSchema>;
|
|
|
811
872
|
type LocalRef = z.infer<typeof LocalRefSchema>;
|
|
812
873
|
/** Pointer to external evidence outside the artifact store. */
|
|
813
874
|
type EvidenceRef = z.infer<typeof EvidenceRefSchema>;
|
|
875
|
+
/** Identity pointer to an entity managed outside the artifact revision store. */
|
|
876
|
+
type EntityRef = z.infer<typeof EntityRefSchema>;
|
|
814
877
|
/** Union of all valid relation-target reference classes. */
|
|
815
878
|
type ArtifactRelationTarget = z.infer<typeof ArtifactRelationTargetSchema>;
|
|
816
879
|
/** Union of all valid relation-target reference classes for query filters. Artifact refs may omit revision. */
|
|
@@ -1097,7 +1160,11 @@ declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
|
1097
1160
|
id: z.ZodString;
|
|
1098
1161
|
revision: z.ZodOptional<z.ZodString>;
|
|
1099
1162
|
locator: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
}, z.core.$strip
|
|
1163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1164
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1165
|
+
entityType: z.ZodString;
|
|
1166
|
+
id: z.ZodString;
|
|
1167
|
+
}, z.core.$strict>], "refClass">>;
|
|
1101
1168
|
sourceRef: z.ZodObject<{
|
|
1102
1169
|
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1103
1170
|
kind: z.ZodString;
|
|
@@ -1155,7 +1222,11 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
1155
1222
|
id: z.ZodString;
|
|
1156
1223
|
revision: z.ZodOptional<z.ZodString>;
|
|
1157
1224
|
locator: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
}, z.core.$strip
|
|
1225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1226
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1227
|
+
entityType: z.ZodString;
|
|
1228
|
+
id: z.ZodString;
|
|
1229
|
+
}, z.core.$strict>], "refClass">>;
|
|
1159
1230
|
sourceRef: z.ZodObject<{
|
|
1160
1231
|
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1161
1232
|
kind: z.ZodString;
|
|
@@ -1208,7 +1279,11 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
1208
1279
|
id: z.ZodString;
|
|
1209
1280
|
revision: z.ZodOptional<z.ZodString>;
|
|
1210
1281
|
locator: z.ZodOptional<z.ZodString>;
|
|
1211
|
-
}, z.core.$strip
|
|
1282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1283
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1284
|
+
entityType: z.ZodString;
|
|
1285
|
+
id: z.ZodString;
|
|
1286
|
+
}, z.core.$strict>], "refClass">>;
|
|
1212
1287
|
}, z.core.$strip>>;
|
|
1213
1288
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1214
1289
|
level: z.ZodEnum<{
|
|
@@ -1247,7 +1322,11 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
1247
1322
|
id: z.ZodString;
|
|
1248
1323
|
revision: z.ZodOptional<z.ZodString>;
|
|
1249
1324
|
locator: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
}, z.core.$strip
|
|
1325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1326
|
+
refClass: z.ZodLiteral<"entity">;
|
|
1327
|
+
entityType: z.ZodString;
|
|
1328
|
+
id: z.ZodString;
|
|
1329
|
+
}, z.core.$strict>], "refClass">>>;
|
|
1251
1330
|
}, z.core.$strip>>;
|
|
1252
1331
|
}, z.core.$strip>>;
|
|
1253
1332
|
representations: z.ZodOptional<z.ZodObject<{
|
|
@@ -1267,4 +1346,4 @@ declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
|
1267
1346
|
/** Normalized wire format for a resolved artifact context graph. */
|
|
1268
1347
|
type ResolvedArtifactContextWire$1 = z.infer<typeof ResolvedArtifactContextWireSchema>;
|
|
1269
1348
|
//#endregion
|
|
1270
|
-
export { ConfidenceLevel as $, ArtifactKindRegistrationSchema as A, ArtifactRelationQueryTarget as B, ArtifactCompareRequest as C, ArtifactConflictPolicy as D, ArtifactCompareResponseSchema as E, ArtifactQueryScope as F, ArtifactRepresentations as G, ArtifactRelationSchema as H, ArtifactQueryScopeSchema as I, ArtifactRevisionSchema as J, ArtifactRepresentationsSchema as K, ArtifactRef$1 as L, ArtifactObservationSchema as M, ArtifactQueryRequest as N, ArtifactConflictPolicySchema as O, ArtifactQueryRequestSchema as P, ConfidenceBasisSchema as Q, ArtifactRefSchema as R, ArtifactActorSchema as S, ArtifactCompareResponse as T, ArtifactRelationTarget as U, ArtifactRelationQueryTargetSchema as V, ArtifactRelationTargetSchema as W, ArtifactScopeSchema as X, ArtifactScope as Y, ConfidenceBasis as Z, SurfaceBindingRegistration as _, ResolvedArtifactContextWire$1 as a,
|
|
1349
|
+
export { ConfidenceLevel as $, ArtifactKindRegistrationSchema as A, ArtifactRelationQueryTarget as B, ArtifactCompareRequest as C, ArtifactConflictPolicy as D, ArtifactCompareResponseSchema as E, ArtifactQueryScope as F, ArtifactRepresentations as G, ArtifactRelationSchema as H, ArtifactQueryScopeSchema as I, ArtifactRevisionSchema as J, ArtifactRepresentationsSchema as K, ArtifactRef$1 as L, ArtifactObservationSchema as M, ArtifactQueryRequest as N, ArtifactConflictPolicySchema as O, ArtifactQueryRequestSchema as P, ConfidenceBasisSchema as Q, ArtifactRefSchema as R, ArtifactActorSchema as S, ArtifactCompareResponse as T, ArtifactRelationTarget as U, ArtifactRelationQueryTargetSchema as V, ArtifactRelationTargetSchema as W, ArtifactScopeSchema as X, ArtifactScope as Y, ConfidenceBasis as Z, SurfaceBindingRegistration as _, ResolvedArtifactContextWire$1 as a, EvidenceRef as at, SurfaceBindingTargetSchema as b, ArtifactMaterializationRefSchema as c, LocalRefSchema as ct, ProjectedField as d, ConfidenceLevelSchema as et, ProjectedFieldSchema as f, ProjectedFieldViewRoleSchema as g, ProjectedFieldViewRole as h, ArtifactContextUnresolvedReasonSchema as i, EntityRefSchema as it, ArtifactObservation$1 as j, ArtifactKindRegistration$1 as k, ArtifactProjectionPolicy$1 as l, RelationTypeRegistration$1 as lt, ProjectedFieldSemanticSchema as m, ArtifactContextRefEntrySchema as n, ConfidenceMetadataSchema as nt, ResolvedArtifactContextWireSchema as o, EvidenceRefSchema as ot, ProjectedFieldSemantic as p, ArtifactRevision$1 as q, ArtifactContextUnresolvedReason as r, EntityRef as rt, ArtifactMaterializationRef as s, LocalRef as st, ArtifactContextRefEntry as t, ConfidenceMetadata as tt, ArtifactProjectionPolicySchema as u, RelationTypeRegistrationSchema as ut, SurfaceBindingRegistrationSchema as v, ArtifactCompareRequestSchema as w, ArtifactActor as x, SurfaceBindingTarget as y, ArtifactRelation as z };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as RehydrateAgentRequest, B as AdapterSchemas, C as aggregateTeardownResults, D as AcknowledgeCallerSettlementSchema, E as AcknowledgeCallerSettlementResponse, F as StartAgentRequest, H as AdapterSubjects, I as StartAgentResponse, L as StartAgentSchema, M as RehydrateAgentSchema, N as AdapterStartDisposition, O as CallerSettlementAckRefusal, P as AdapterStartDispositionSchema, R as AdapterRuntimeOptions, S as aggregateTeardownEvidence, T as AcknowledgeCallerSettlementRequest, V as AdapterNamespace, _ as SessionUsageSchema, a as UnresolvedProviderContext, b as TeardownEvidence, c as AdapterSelectionSchema, d as AgentSelectionBaseSchema, f as AgentSelectionKindMap, g as SessionUsage, h as SessionDiscoveredSchema, i as ResolvedProviderContextSchema, j as RehydrateAgentResponse, k as CallerSettlementAckRefusalSchema, l as AgentSelection, m as SessionDiscovered, n as ProviderContextSchema, o as UnresolvedProviderContextSchema, p as AgentSelectionSchema, r as ResolvedProviderContext, s as AdapterSelection, t as ProviderContext, u as AgentSelectionBase, v as ConnectorTeardownResult, w as teardownWasObserved, x as TeardownEvidenceSchema, y as ConnectorTeardownResultSchema, z as AdapterRuntimeOptionsSchema } from "../../index-
|
|
2
|
-
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../session-lineage-
|
|
1
|
+
import { A as RehydrateAgentRequest, B as AdapterSchemas, C as aggregateTeardownResults, D as AcknowledgeCallerSettlementSchema, E as AcknowledgeCallerSettlementResponse, F as StartAgentRequest, H as AdapterSubjects, I as StartAgentResponse, L as StartAgentSchema, M as RehydrateAgentSchema, N as AdapterStartDisposition, O as CallerSettlementAckRefusal, P as AdapterStartDispositionSchema, R as AdapterRuntimeOptions, S as aggregateTeardownEvidence, T as AcknowledgeCallerSettlementRequest, V as AdapterNamespace, _ as SessionUsageSchema, a as UnresolvedProviderContext, b as TeardownEvidence, c as AdapterSelectionSchema, d as AgentSelectionBaseSchema, f as AgentSelectionKindMap, g as SessionUsage, h as SessionDiscoveredSchema, i as ResolvedProviderContextSchema, j as RehydrateAgentResponse, k as CallerSettlementAckRefusalSchema, l as AgentSelection, m as SessionDiscovered, n as ProviderContextSchema, o as UnresolvedProviderContextSchema, p as AgentSelectionSchema, r as ResolvedProviderContext, s as AdapterSelection, t as ProviderContext, u as AgentSelectionBase, v as ConnectorTeardownResult, w as teardownWasObserved, x as TeardownEvidenceSchema, y as ConnectorTeardownResultSchema, z as AdapterRuntimeOptionsSchema } from "../../index-CGJgZGqN.mjs";
|
|
2
|
+
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../session-lineage-C9kppcCa.mjs";
|
|
3
3
|
export { AcknowledgeCallerSettlementRequest, AcknowledgeCallerSettlementResponse, AcknowledgeCallerSettlementSchema, AdapterNamespace, AdapterRuntimeOptions, AdapterRuntimeOptionsSchema, AdapterSchemas, AdapterSelection, AdapterSelectionSchema, AdapterStartDisposition, AdapterStartDispositionSchema, AdapterSubjects, AgentSelection, AgentSelectionBase, AgentSelectionBaseSchema, AgentSelectionKindMap, AgentSelectionSchema, COMPRESS_SESSION_LINEAGE_KIND, CallerSettlementAckRefusal, CallerSettlementAckRefusalSchema, CompressSessionLineageSchema, ConnectorTeardownResult, ConnectorTeardownResultSchema, FORK_SESSION_LINEAGE_KIND, ForkSessionLineageSchema, ProviderContext, ProviderContextSchema, ROOT_SESSION_LINEAGE_KIND, RehydrateAgentRequest, RehydrateAgentResponse, RehydrateAgentSchema, ResolvedProviderContext, ResolvedProviderContextSchema, RootSessionLineageSchema, SESSION_LINEAGE_KINDS, SUBAGENT_SESSION_LINEAGE_KIND, SessionDiscovered, SessionDiscoveredSchema, SessionLineage, SessionLineageKind, SessionLineageKindSchema, SessionLineageSchema, SessionUsage, SessionUsageSchema, StartAgentRequest, StartAgentResponse, StartAgentSchema, SubagentSessionLineageSchema, TeardownEvidence, TeardownEvidenceSchema, UnresolvedProviderContext, UnresolvedProviderContextSchema, aggregateTeardownEvidence, aggregateTeardownResults, teardownWasObserved };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../../session-lineage-
|
|
1
|
+
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../../session-lineage-C9kppcCa.mjs";
|
|
2
2
|
export { COMPRESS_SESSION_LINEAGE_KIND, CompressSessionLineageSchema, FORK_SESSION_LINEAGE_KIND, ForkSessionLineageSchema, ROOT_SESSION_LINEAGE_KIND, RootSessionLineageSchema, SESSION_LINEAGE_KINDS, SUBAGENT_SESSION_LINEAGE_KIND, SessionLineage, SessionLineageKind, SessionLineageKindSchema, SessionLineageSchema, SubagentSessionLineageSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as ConfidenceLevel, A as ArtifactKindRegistrationSchema, B as ArtifactRelationQueryTarget, C as ArtifactCompareRequest, D as ArtifactConflictPolicy, E as ArtifactCompareResponseSchema, F as ArtifactQueryScope, G as ArtifactRepresentations, H as ArtifactRelationSchema, I as ArtifactQueryScopeSchema, J as ArtifactRevisionSchema, K as ArtifactRepresentationsSchema, L as ArtifactRef, M as ArtifactObservationSchema, N as ArtifactQueryRequest, O as ArtifactConflictPolicySchema, P as ArtifactQueryRequestSchema, Q as ConfidenceBasisSchema, R as ArtifactRefSchema, S as ArtifactActorSchema, T as ArtifactCompareResponse, U as ArtifactRelationTarget, V as ArtifactRelationQueryTargetSchema, W as ArtifactRelationTargetSchema, X as ArtifactScopeSchema, Y as ArtifactScope, Z as ConfidenceBasis, a as ResolvedArtifactContextWire, at as
|
|
2
|
-
import { $ as ArtifactContextRelationSelectorSchema, A as ArtifactContextTree, B as ArtifactDraft, C as ArtifactRevisedPayload, D as hydrateArtifactContextTree, E as ArtifactSubjects, F as ArtifactKindDefinition, G as ArtifactLifecycleHookRegistration, H as ArtifactHookFilter, I as ArtifactOf, J as BeforeArtifactHookRegistration, K as ArtifactLifecycleSemanticEvent, L as defineArtifactKind, M as UnresolvedArtifactContextNode, N as AnyArtifactKindDefinition, O as ArtifactContextNode, P as ArtifactDataOf, Q as ArtifactContextRelationSelector, R as AfterArtifactHookContext, S as ArtifactReviseResponse, T as ArtifactStatusChangedPayload, U as ArtifactLifecycleHookDefinition, V as ArtifactDraftPatch, W as ArtifactLifecycleHookEvent, X as ARTIFACT_CONTEXT_RENDER_HINTS, Y as defineArtifactLifecycleHooks, Z as ArtifactContextKnownRenderHint, _ as ArtifactResolveContextRequest, a as ArtifactKindListRequest, b as ArtifactResolveResponse, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, et as ArtifactContextRenderHint, f as ArtifactRelationAddedPayload, g as ArtifactRelationTypeRegisterResponse, h as ArtifactRelationTypeRegisterRequest, i as ArtifactKindChangedPayload, j as ResolvedArtifactContextNode, k as ArtifactContextRootNode, l as ArtifactNamespace, m as ArtifactRelationTypeListResponse, n as ArtifactCreateResponse, nt as ArtifactContextSelector, o as ArtifactKindListResponse, p as ArtifactRelationTypeListRequest, q as BeforeArtifactHookContext, r as ArtifactCreatedPayload, rt as ArtifactContextSelectorSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactContextRenderHintSchema, u as ArtifactObservationAddedPayload, v as ArtifactResolveContextResponse, w as ArtifactSchemas, x as ArtifactReviseRequest, y as ArtifactResolveRequest, z as AfterArtifactHookRegistration } from "../../index-
|
|
3
|
-
export { ARTIFACT_CONTEXT_RENDER_HINTS, AfterArtifactHookContext, AfterArtifactHookRegistration, AnyArtifactKindDefinition, ArtifactActor, ArtifactActorSchema, ArtifactCompareRequest, ArtifactCompareRequestSchema, ArtifactCompareResponse, ArtifactCompareResponseSchema, ArtifactConflictPolicy, ArtifactConflictPolicySchema, ArtifactContextKnownRenderHint, ArtifactContextNode, ArtifactContextRefEntry, ArtifactContextRefEntrySchema, ArtifactContextRelationSelector, ArtifactContextRelationSelectorSchema, ArtifactContextRenderHint, ArtifactContextRenderHintSchema, ArtifactContextRootNode, ArtifactContextSelector, ArtifactContextSelectorSchema, ArtifactContextTree, ArtifactContextUnresolvedReason, ArtifactContextUnresolvedReasonSchema, ArtifactCreateRequest, ArtifactCreateResponse, ArtifactCreatedPayload, ArtifactDataOf, ArtifactDraft, ArtifactDraftPatch, ArtifactHookFilter, ArtifactKindChangedPayload, ArtifactKindDefinition, ArtifactKindListRequest, ArtifactKindListResponse, ArtifactKindRegisterRequest, ArtifactKindRegisterResponse, ArtifactKindRegistration, ArtifactKindRegistrationSchema, ArtifactLifecycleHookDefinition, ArtifactLifecycleHookEvent, ArtifactLifecycleHookRegistration, ArtifactLifecycleSemanticEvent, ArtifactNamespace, ArtifactObservation, ArtifactObservationAddedPayload, ArtifactObservationSchema, ArtifactOf, ArtifactQueryRequest, ArtifactQueryRequestSchema, ArtifactQueryResponse, ArtifactQueryScope, ArtifactQueryScopeSchema, ArtifactRef, ArtifactRefSchema, ArtifactRelation, ArtifactRelationAddedPayload, ArtifactRelationQueryTarget, ArtifactRelationQueryTargetSchema, ArtifactRelationSchema, ArtifactRelationTarget, ArtifactRelationTargetSchema, ArtifactRelationTypeListRequest, ArtifactRelationTypeListResponse, ArtifactRelationTypeRegisterRequest, ArtifactRelationTypeRegisterResponse, ArtifactRepresentations, ArtifactRepresentationsSchema, ArtifactResolveContextRequest, ArtifactResolveContextResponse, ArtifactResolveRequest, ArtifactResolveResponse, ArtifactReviseRequest, ArtifactReviseResponse, ArtifactRevisedPayload, ArtifactRevision, ArtifactRevisionSchema, ArtifactSchemas, ArtifactScope, ArtifactScopeSchema, ArtifactStatusChangedPayload, ArtifactSubjects, BeforeArtifactHookContext, BeforeArtifactHookRegistration, ConfidenceBasis, ConfidenceBasisSchema, ConfidenceLevel, ConfidenceLevelSchema, ConfidenceMetadata, ConfidenceMetadataSchema, EvidenceRef, EvidenceRefSchema, LocalRef, LocalRefSchema, RelationTypeRegistration, RelationTypeRegistrationSchema, ResolvedArtifactContextNode, ResolvedArtifactContextWire, ResolvedArtifactContextWireSchema, UnresolvedArtifactContextNode, defineArtifactKind, defineArtifactLifecycleHooks, hydrateArtifactContextTree };
|
|
1
|
+
import { $ as ConfidenceLevel, A as ArtifactKindRegistrationSchema, B as ArtifactRelationQueryTarget, C as ArtifactCompareRequest, D as ArtifactConflictPolicy, E as ArtifactCompareResponseSchema, F as ArtifactQueryScope, G as ArtifactRepresentations, H as ArtifactRelationSchema, I as ArtifactQueryScopeSchema, J as ArtifactRevisionSchema, K as ArtifactRepresentationsSchema, L as ArtifactRef, M as ArtifactObservationSchema, N as ArtifactQueryRequest, O as ArtifactConflictPolicySchema, P as ArtifactQueryRequestSchema, Q as ConfidenceBasisSchema, R as ArtifactRefSchema, S as ArtifactActorSchema, T as ArtifactCompareResponse, U as ArtifactRelationTarget, V as ArtifactRelationQueryTargetSchema, W as ArtifactRelationTargetSchema, X as ArtifactScopeSchema, Y as ArtifactScope, Z as ConfidenceBasis, a as ResolvedArtifactContextWire, at as EvidenceRef, ct as LocalRefSchema, et as ConfidenceLevelSchema, i as ArtifactContextUnresolvedReasonSchema, it as EntityRefSchema, j as ArtifactObservation, k as ArtifactKindRegistration, lt as RelationTypeRegistration, n as ArtifactContextRefEntrySchema, nt as ConfidenceMetadataSchema, o as ResolvedArtifactContextWireSchema, ot as EvidenceRefSchema, q as ArtifactRevision, r as ArtifactContextUnresolvedReason, rt as EntityRef, st as LocalRef, t as ArtifactContextRefEntry, tt as ConfidenceMetadata, ut as RelationTypeRegistrationSchema, w as ArtifactCompareRequestSchema, x as ArtifactActor, z as ArtifactRelation } from "../../context-resolution-BrtoXnez.mjs";
|
|
2
|
+
import { $ as ArtifactContextRelationSelectorSchema, A as ArtifactContextTree, B as ArtifactDraft, C as ArtifactRevisedPayload, D as hydrateArtifactContextTree, E as ArtifactSubjects, F as ArtifactKindDefinition, G as ArtifactLifecycleHookRegistration, H as ArtifactHookFilter, I as ArtifactOf, J as BeforeArtifactHookRegistration, K as ArtifactLifecycleSemanticEvent, L as defineArtifactKind, M as UnresolvedArtifactContextNode, N as AnyArtifactKindDefinition, O as ArtifactContextNode, P as ArtifactDataOf, Q as ArtifactContextRelationSelector, R as AfterArtifactHookContext, S as ArtifactReviseResponse, T as ArtifactStatusChangedPayload, U as ArtifactLifecycleHookDefinition, V as ArtifactDraftPatch, W as ArtifactLifecycleHookEvent, X as ARTIFACT_CONTEXT_RENDER_HINTS, Y as defineArtifactLifecycleHooks, Z as ArtifactContextKnownRenderHint, _ as ArtifactResolveContextRequest, a as ArtifactKindListRequest, b as ArtifactResolveResponse, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, et as ArtifactContextRenderHint, f as ArtifactRelationAddedPayload, g as ArtifactRelationTypeRegisterResponse, h as ArtifactRelationTypeRegisterRequest, i as ArtifactKindChangedPayload, j as ResolvedArtifactContextNode, k as ArtifactContextRootNode, l as ArtifactNamespace, m as ArtifactRelationTypeListResponse, n as ArtifactCreateResponse, nt as ArtifactContextSelector, o as ArtifactKindListResponse, p as ArtifactRelationTypeListRequest, q as BeforeArtifactHookContext, r as ArtifactCreatedPayload, rt as ArtifactContextSelectorSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactContextRenderHintSchema, u as ArtifactObservationAddedPayload, v as ArtifactResolveContextResponse, w as ArtifactSchemas, x as ArtifactReviseRequest, y as ArtifactResolveRequest, z as AfterArtifactHookRegistration } from "../../index-vXmPEZ5O.mjs";
|
|
3
|
+
export { ARTIFACT_CONTEXT_RENDER_HINTS, AfterArtifactHookContext, AfterArtifactHookRegistration, AnyArtifactKindDefinition, ArtifactActor, ArtifactActorSchema, ArtifactCompareRequest, ArtifactCompareRequestSchema, ArtifactCompareResponse, ArtifactCompareResponseSchema, ArtifactConflictPolicy, ArtifactConflictPolicySchema, ArtifactContextKnownRenderHint, ArtifactContextNode, ArtifactContextRefEntry, ArtifactContextRefEntrySchema, ArtifactContextRelationSelector, ArtifactContextRelationSelectorSchema, ArtifactContextRenderHint, ArtifactContextRenderHintSchema, ArtifactContextRootNode, ArtifactContextSelector, ArtifactContextSelectorSchema, ArtifactContextTree, ArtifactContextUnresolvedReason, ArtifactContextUnresolvedReasonSchema, ArtifactCreateRequest, ArtifactCreateResponse, ArtifactCreatedPayload, ArtifactDataOf, ArtifactDraft, ArtifactDraftPatch, ArtifactHookFilter, ArtifactKindChangedPayload, ArtifactKindDefinition, ArtifactKindListRequest, ArtifactKindListResponse, ArtifactKindRegisterRequest, ArtifactKindRegisterResponse, ArtifactKindRegistration, ArtifactKindRegistrationSchema, ArtifactLifecycleHookDefinition, ArtifactLifecycleHookEvent, ArtifactLifecycleHookRegistration, ArtifactLifecycleSemanticEvent, ArtifactNamespace, ArtifactObservation, ArtifactObservationAddedPayload, ArtifactObservationSchema, ArtifactOf, ArtifactQueryRequest, ArtifactQueryRequestSchema, ArtifactQueryResponse, ArtifactQueryScope, ArtifactQueryScopeSchema, ArtifactRef, ArtifactRefSchema, ArtifactRelation, ArtifactRelationAddedPayload, ArtifactRelationQueryTarget, ArtifactRelationQueryTargetSchema, ArtifactRelationSchema, ArtifactRelationTarget, ArtifactRelationTargetSchema, ArtifactRelationTypeListRequest, ArtifactRelationTypeListResponse, ArtifactRelationTypeRegisterRequest, ArtifactRelationTypeRegisterResponse, ArtifactRepresentations, ArtifactRepresentationsSchema, ArtifactResolveContextRequest, ArtifactResolveContextResponse, ArtifactResolveRequest, ArtifactResolveResponse, ArtifactReviseRequest, ArtifactReviseResponse, ArtifactRevisedPayload, ArtifactRevision, ArtifactRevisionSchema, ArtifactSchemas, ArtifactScope, ArtifactScopeSchema, ArtifactStatusChangedPayload, ArtifactSubjects, BeforeArtifactHookContext, BeforeArtifactHookRegistration, ConfidenceBasis, ConfidenceBasisSchema, ConfidenceLevel, ConfidenceLevelSchema, ConfidenceMetadata, ConfidenceMetadataSchema, EntityRef, EntityRefSchema, EvidenceRef, EvidenceRefSchema, LocalRef, LocalRefSchema, RelationTypeRegistration, RelationTypeRegistrationSchema, ResolvedArtifactContextNode, ResolvedArtifactContextWire, ResolvedArtifactContextWireSchema, UnresolvedArtifactContextNode, defineArtifactKind, defineArtifactLifecycleHooks, hydrateArtifactContextTree };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$ as e,Q as t,S as n,X as r,Z as i,_ as a,a as o,b as s,c,d as l,f as u,g as d,h as f,i as p,l as m,m as h,n as g,o as _,p as v,r as y,s as b,t as x,u as S,v as C,x as w,y as T}from"../../schemas-CNkUEbIr.mjs";import{a as E,c as D,i as O,l as k,n as A,o as j,r as M,s as N,t as P}from"../../artifact-ClvHqL3w.mjs";export{r as ARTIFACT_CONTEXT_RENDER_HINTS,x as ArtifactActorSchema,g as ArtifactCompareRequestSchema,y as ArtifactCompareResponseSchema,p as ArtifactConflictPolicySchema,E as ArtifactContextRefEntrySchema,i as ArtifactContextRelationSelectorSchema,t as ArtifactContextRenderHintSchema,e as ArtifactContextSelectorSchema,j as ArtifactContextUnresolvedReasonSchema,o as ArtifactKindRegistrationSchema,P as ArtifactNamespace,_ as ArtifactObservationSchema,b as ArtifactQueryRequestSchema,c as ArtifactQueryScopeSchema,m as ArtifactRefSchema,S as ArtifactRelationQueryTargetSchema,l as ArtifactRelationSchema,u as ArtifactRelationTargetSchema,v as ArtifactRepresentationsSchema,h as ArtifactRevisionSchema,A as ArtifactSchemas,f as ArtifactScopeSchema,M as ArtifactSubjects,d as ConfidenceBasisSchema,a as ConfidenceLevelSchema,C as ConfidenceMetadataSchema,T as EntityRefSchema,s as EvidenceRefSchema,w as LocalRefSchema,n as RelationTypeRegistrationSchema,N as ResolvedArtifactContextWireSchema,k as defineArtifactKind,D as defineArtifactLifecycleHooks,O as hydrateArtifactContextTree};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as NoAuthMethodDefinitionSchema, E as ProviderAuthMethodsSchema, S as NoAuthMethodDefinition, T as ProviderAuthMethodDefinitionSchema, _ as ClientDefaultAuthSchema, a as AuthCredentialFieldDefinition, b as InferredAuthMethodDefinition, c as AuthCredentialSourceHintSchema, d as AuthFieldId, f as AuthFieldIdSchema, g as ClientDefaultAuth, h as ClientAuthMethodsSchema, i as ResolvedProviderAuthSchema, l as AuthEnvironmentVariableName, m as ClientAuthMethodDefinitionSchema, n as assertAdapterAuthBindingMatchesMethod, o as AuthCredentialFieldDefinitionSchema, p as ClientAuthMethodDefinition, r as ResolvedProviderAuth, s as AuthCredentialSourceHint, t as AdapterAuthBindingMethodDefinition, u as AuthEnvironmentVariableNameSchema, v as ExplicitAuthMethodDefinition, w as ProviderAuthMethodDefinition, x as InferredAuthMethodDefinitionSchema, y as ExplicitAuthMethodDefinitionSchema } from "../../index-
|
|
2
|
-
import { A as ProviderConfigAuthSchema, C as ClientAuthMethodRef, D as ProviderAuthMethodRef, E as NativeAccountSelectionSchema, M as ProviderConfigManagerSchema, O as ProviderAuthMethodRefSchema, S as AuthMethodRefSchema, T as NativeAccountSelection, _ as ProcessEnvAdapterAuthDeliverySchema, a as AdapterAuthDelivery, b as AuthCredentialRefSchema, c as AdapterProviderAuthInput, d as ConnectorAdapterAuthDeliverySchema, f as NativeClientAdapterAuthDelivery, g as ProcessEnvAdapterAuthDelivery, h as NoAdapterAuthDeliverySchema, i as AdapterAuthConstantSchema, j as ProviderConfigManager, k as ProviderConfigAuth, l as AdapterProviderAuthSchema, m as NoAdapterAuthDelivery, n as AdapterAuthBindingSchema, o as AdapterAuthDeliverySchema, p as NativeClientAdapterAuthDeliverySchema, r as AdapterAuthConstant, s as AdapterProviderAuth, t as AdapterAuthBinding, u as ConnectorAdapterAuthDelivery, v as defineAdapterProviderAuth, w as ClientAuthMethodRefSchema, x as AuthMethodRef, y as AuthCredentialRef } from "../../adapter-binding-
|
|
1
|
+
import { C as NoAuthMethodDefinitionSchema, E as ProviderAuthMethodsSchema, S as NoAuthMethodDefinition, T as ProviderAuthMethodDefinitionSchema, _ as ClientDefaultAuthSchema, a as AuthCredentialFieldDefinition, b as InferredAuthMethodDefinition, c as AuthCredentialSourceHintSchema, d as AuthFieldId, f as AuthFieldIdSchema, g as ClientDefaultAuth, h as ClientAuthMethodsSchema, i as ResolvedProviderAuthSchema, l as AuthEnvironmentVariableName, m as ClientAuthMethodDefinitionSchema, n as assertAdapterAuthBindingMatchesMethod, o as AuthCredentialFieldDefinitionSchema, p as ClientAuthMethodDefinition, r as ResolvedProviderAuth, s as AuthCredentialSourceHint, t as AdapterAuthBindingMethodDefinition, u as AuthEnvironmentVariableNameSchema, v as ExplicitAuthMethodDefinition, w as ProviderAuthMethodDefinition, x as InferredAuthMethodDefinitionSchema, y as ExplicitAuthMethodDefinitionSchema } from "../../index-DIhkK4Y0.mjs";
|
|
2
|
+
import { A as ProviderConfigAuthSchema, C as ClientAuthMethodRef, D as ProviderAuthMethodRef, E as NativeAccountSelectionSchema, M as ProviderConfigManagerSchema, O as ProviderAuthMethodRefSchema, S as AuthMethodRefSchema, T as NativeAccountSelection, _ as ProcessEnvAdapterAuthDeliverySchema, a as AdapterAuthDelivery, b as AuthCredentialRefSchema, c as AdapterProviderAuthInput, d as ConnectorAdapterAuthDeliverySchema, f as NativeClientAdapterAuthDelivery, g as ProcessEnvAdapterAuthDelivery, h as NoAdapterAuthDeliverySchema, i as AdapterAuthConstantSchema, j as ProviderConfigManager, k as ProviderConfigAuth, l as AdapterProviderAuthSchema, m as NoAdapterAuthDelivery, n as AdapterAuthBindingSchema, o as AdapterAuthDeliverySchema, p as NativeClientAdapterAuthDeliverySchema, r as AdapterAuthConstant, s as AdapterProviderAuth, t as AdapterAuthBinding, u as ConnectorAdapterAuthDelivery, v as defineAdapterProviderAuth, w as ClientAuthMethodRefSchema, x as AuthMethodRef, y as AuthCredentialRef } from "../../adapter-binding-D68U_Hmh.mjs";
|
|
3
3
|
export { AdapterAuthBinding, AdapterAuthBindingMethodDefinition, AdapterAuthBindingSchema, AdapterAuthConstant, AdapterAuthConstantSchema, AdapterAuthDelivery, AdapterAuthDeliverySchema, AdapterProviderAuth, AdapterProviderAuthInput, AdapterProviderAuthSchema, AuthCredentialFieldDefinition, AuthCredentialFieldDefinitionSchema, AuthCredentialRef, AuthCredentialRefSchema, AuthCredentialSourceHint, AuthCredentialSourceHintSchema, AuthEnvironmentVariableName, AuthEnvironmentVariableNameSchema, AuthFieldId, AuthFieldIdSchema, AuthMethodRef, AuthMethodRefSchema, ClientAuthMethodDefinition, ClientAuthMethodDefinitionSchema, ClientAuthMethodRef, ClientAuthMethodRefSchema, ClientAuthMethodsSchema, ClientDefaultAuth, ClientDefaultAuthSchema, ConnectorAdapterAuthDelivery, ConnectorAdapterAuthDeliverySchema, ExplicitAuthMethodDefinition, ExplicitAuthMethodDefinitionSchema, InferredAuthMethodDefinition, InferredAuthMethodDefinitionSchema, NativeAccountSelection, NativeAccountSelectionSchema, NativeClientAdapterAuthDelivery, NativeClientAdapterAuthDeliverySchema, NoAdapterAuthDelivery, NoAdapterAuthDeliverySchema, NoAuthMethodDefinition, NoAuthMethodDefinitionSchema, ProcessEnvAdapterAuthDelivery, ProcessEnvAdapterAuthDeliverySchema, ProviderAuthMethodDefinition, ProviderAuthMethodDefinitionSchema, ProviderAuthMethodRef, ProviderAuthMethodRefSchema, ProviderAuthMethodsSchema, ProviderConfigAuth, ProviderConfigAuthSchema, ProviderConfigManager, ProviderConfigManagerSchema, ResolvedProviderAuth, ResolvedProviderAuthSchema, assertAdapterAuthBindingMatchesMethod, defineAdapterProviderAuth };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as AutomationTriggerKindSchema, a as AutomationTriggerListener, c as AutomationTriggerSubscription, d as createAutomationTriggerDescriptor, f as defineAutomationTrigger, g as AutomationTriggerDescriptorSchema, h as AutomationTriggerDescriptor, i as AutomationTriggerEvent, l as AutomationTriggerType, m as AutomationTriggerBindingSchema, n as AutomationTriggerBinding, o as AutomationTriggerParams, p as toAutomationTriggerType, r as AutomationTriggerCleanup, s as AutomationTriggerPayload, t as AutomationTriggerActivationContext, u as DefinedAutomationTrigger, v as AutomationTriggerLocalNameSchema } from "../../definition-
|
|
2
|
-
import { t as ExtensionAutomationTriggersContribution } from "../../contribution-
|
|
3
|
-
import { a as AutomationTriggerSchemas, i as AutomationTriggerNamespace, n as AutomationTriggerListRequest, o as AutomationTriggerSubjects, r as AutomationTriggerListResponse, t as AutomationTriggerChangedPayload } from "../../index-
|
|
1
|
+
import { _ as AutomationTriggerKindSchema, a as AutomationTriggerListener, c as AutomationTriggerSubscription, d as createAutomationTriggerDescriptor, f as defineAutomationTrigger, g as AutomationTriggerDescriptorSchema, h as AutomationTriggerDescriptor, i as AutomationTriggerEvent, l as AutomationTriggerType, m as AutomationTriggerBindingSchema, n as AutomationTriggerBinding, o as AutomationTriggerParams, p as toAutomationTriggerType, r as AutomationTriggerCleanup, s as AutomationTriggerPayload, t as AutomationTriggerActivationContext, u as DefinedAutomationTrigger, v as AutomationTriggerLocalNameSchema } from "../../definition-u_5rYQtc.mjs";
|
|
2
|
+
import { t as ExtensionAutomationTriggersContribution } from "../../contribution-Crm-mctl.mjs";
|
|
3
|
+
import { a as AutomationTriggerSchemas, i as AutomationTriggerNamespace, n as AutomationTriggerListRequest, o as AutomationTriggerSubjects, r as AutomationTriggerListResponse, t as AutomationTriggerChangedPayload } from "../../index-CsFN2nv7.mjs";
|
|
4
4
|
export { AutomationTriggerActivationContext, AutomationTriggerBinding, AutomationTriggerBindingSchema, AutomationTriggerChangedPayload, AutomationTriggerCleanup, AutomationTriggerDescriptor, AutomationTriggerDescriptorSchema, AutomationTriggerEvent, AutomationTriggerKindSchema, AutomationTriggerListRequest, AutomationTriggerListResponse, AutomationTriggerListener, AutomationTriggerLocalNameSchema, AutomationTriggerNamespace, AutomationTriggerParams, AutomationTriggerPayload, AutomationTriggerSchemas, AutomationTriggerSubjects, AutomationTriggerSubscription, AutomationTriggerType, DefinedAutomationTrigger, ExtensionAutomationTriggersContribution, createAutomationTriggerDescriptor, defineAutomationTrigger, toAutomationTriggerType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as QualifiedModelRef, D as VirtualModelRef, E as ResolvableCanonicalModelSchema, O as VirtualModelRefSchema, S as ParsedCanonicalModelSchema, T as ResolvableCanonicalModel, _ as CanonicalModelParseErrorCodeSchema, a as CanonicalModelSchemas, b as CanonicalModelParseResultSchema, c as SEGMENT_RE, d as parseCanonicalModel, f as BareModelRef, g as CanonicalModelParseErrorCode, h as CanonicalModelParseError, i as CanonicalModelResolvedSelectionSchema, l as VIRTUAL_NAME_RE, m as CANONICAL_MODEL_PARSE_ERROR_CODES, n as CanonicalModelSubjects, o as CanonicalModelSelection, p as BareModelRefSchema, r as CanonicalModelResolvedSelection, s as CanonicalModelSelectionSchema, t as CanonicalModelNamespace, u as isCanonicalModelParseError, v as CanonicalModelParseErrorSchema, w as QualifiedModelRefSchema, x as ParsedCanonicalModel, y as CanonicalModelParseResult } from "../../index-
|
|
1
|
+
import { C as QualifiedModelRef, D as VirtualModelRef, E as ResolvableCanonicalModelSchema, O as VirtualModelRefSchema, S as ParsedCanonicalModelSchema, T as ResolvableCanonicalModel, _ as CanonicalModelParseErrorCodeSchema, a as CanonicalModelSchemas, b as CanonicalModelParseResultSchema, c as SEGMENT_RE, d as parseCanonicalModel, f as BareModelRef, g as CanonicalModelParseErrorCode, h as CanonicalModelParseError, i as CanonicalModelResolvedSelectionSchema, l as VIRTUAL_NAME_RE, m as CANONICAL_MODEL_PARSE_ERROR_CODES, n as CanonicalModelSubjects, o as CanonicalModelSelection, p as BareModelRefSchema, r as CanonicalModelResolvedSelection, s as CanonicalModelSelectionSchema, t as CanonicalModelNamespace, u as isCanonicalModelParseError, v as CanonicalModelParseErrorSchema, w as QualifiedModelRefSchema, x as ParsedCanonicalModel, y as CanonicalModelParseResult } from "../../index-D6RMsZko.mjs";
|
|
2
2
|
export { BareModelRef, BareModelRefSchema, CANONICAL_MODEL_PARSE_ERROR_CODES, CanonicalModelNamespace, CanonicalModelParseError, CanonicalModelParseErrorCode, CanonicalModelParseErrorCodeSchema, CanonicalModelParseErrorSchema, CanonicalModelParseResult, CanonicalModelParseResultSchema, CanonicalModelResolvedSelection, CanonicalModelResolvedSelectionSchema, CanonicalModelSchemas, CanonicalModelSelection, CanonicalModelSelectionSchema, CanonicalModelSubjects, ParsedCanonicalModel, ParsedCanonicalModelSchema, QualifiedModelRef, QualifiedModelRefSchema, ResolvableCanonicalModel, ResolvableCanonicalModelSchema, SEGMENT_RE, VIRTUAL_NAME_RE, VirtualModelRef, VirtualModelRefSchema, isCanonicalModelParseError, parseCanonicalModel };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ProviderAllocationRef, $n as
|
|
2
|
-
export { ALLOCATION_STATES, AMBIGUOUS_ALLOCATION_MATCH_CODE, AUTO_LAUNCH_CAPABILITY_ID, AllocationInspection, AllocationInspectionSchema, AllocationState, AllocationStateSchema, AudioChunk, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID, BoundedRecoveryEvidence, BoundedRecoveryEvidenceSchema, CheckRunDetail, CheckRunDetailSchema, ChecksSummary, ChecksSummarySchema, ClientVoiceProviderDescriptor, CreatePROptions, EXHAUSTIVE_SEARCH_UNAVAILABLE_CODE, FetchFindingsParams, FindingOrigin, FindingOriginSchema, FindingSeverity, FindingSeveritySchema, FindingStatus, FindingStatusSchema, FindingTarget, FindingTargetSchema, FindingsSummary, FindingsSummarySchema, GIT_HOOK_EVENTS_CAPABILITY_ID, GitHookCoverageReason, GitHookCoverageReasonSchema, GitHookCoverageRequest, GitHookCoverageRequestSchema, GitHookCoverageResponse, GitHookCoverageResponseSchema, GitHookCoveredOperation, GitHookCoveredOperationSchema, GitHookNamespace, GitHookNativeMergeEvent, GitHookNativeMergeEventSchema, GitHookRewriteEvent, GitHookRewriteEventSchema, GitHookRewritePair, GitHookRewritePairSchema, GitHookSchemas, GitHookSubjects, HttpServerLike, IAutoLaunchProvider, IGitHookEventsProvider, IRecoverableWorkerProvider, IReviewSource, IReviewerProcessor, ISTTProvider, IServerProvider, ITTSProvider, IVCSProvider, IVisionProvider, IVocabularyProvider, IWorkerProvider, IWorkerRecoveryCapability, LabelInfo, LabelInfoSchema, LabelSemantic, LabelSemanticSchema, LocalDirectoryMaterializationSchema, MATERIALIZATION_MODES, MaterializationMode, MaterializationModeSchema, MergeOptions, NO_ALLOCATION_OBSERVED_CODE, NormalizedWorkerCapabilities, NormalizedWorkerRequirements, OutcomeAckDecision, OutcomeAckDecisionSchema, PRE_REQUEST_REJECTION_CODE, PROVIDER_ALLOCATION_REF_VERSION, PROVISIONING_DISCOVERY_KINDS, ProcessCliOutputParams, ProcessCommentsParams, ProcessIssueCommentsParams, ProcessReviewBodyParams, ProviderAllocationRef, ProviderAllocationRefCodec, ProviderAllocationRefError, ProviderAllocationRefSchema, ProviderRuntime, ProvisioningDiscovery, ProvisioningDiscoverySchema, PullRequestState, PullRequestStateSchema, PullRequestTarget, PullRequestTargetSchema, RECOVERY_EVIDENCE_LIMITS, REVIEWER_PROCESSOR_CAPABILITY_ID, REVIEW_SOURCE_CAPABILITY_ID, ReadinessAssessment, ReadinessAssessmentSchema, ReviewFinding, ReviewFindingSchema, ReviewIssueComment, ReviewIssueCommentSchema, ReviewNamespace, ReviewRequestContext, ReviewSchemas, ReviewSourceRateLimit, ReviewSourceRateLimitSchema, ReviewSourceSnapshot, ReviewSubjects, ReviewTriggerParams, ReviewTriggerResult, ReviewerState, ReviewerStateSchema, ReviewsSummary, ReviewsSummarySchema, SERVER_CAPABILITY_ID, STTMode, STTProviderCapabilities, STTRequest, STTResult, STTResultSchema, STT_MODE_LITERALS, ServerAddress, SuggestedChange, SuggestedChangeSchema, TTSMode, TTSProviderCapabilities, TTSRequest, TTS_MODE_LITERALS, UpgradeHandler, VCSCheckRun, VCSCheckRunSchema, VCSCommitStatus, VCSCommitStatusSchema, VCSEvents, VCSEventsNamespace, VCSNamespace, VCSPRNamespace, VCSPRSchemas, VCSPRSubjects, VCSPullRequest, VCSPullRequestDetail, VCSPullRequestDetailSchema, VCSPullRequestSchema, VCSRepository, VCSRepositorySchema, VCSReview, VCSReviewComment, VCSReviewCommentSchema, VCSReviewSchema, VCSSchemas, VCSSubjects, VCS_CAPABILITY_ID, VisionAnalysisRequest, VisionAnalysisRequestSchema, VisionAnalysisResult, VisionAnalysisResultSchema, VisionNamespace, VisionSchemas, VisionSubjects, VoiceNamespace, VoicePipelineLeg, VoicePipelineLegSchema, VoicePipelineLegSchemaType, VoicePipelineStrategy, VoicePipelineStrategySchema, VoicePipelineStrategySchemaType, VoiceProviderPreference, VoiceProviderPreferenceSchema, VoiceSchemas, VoiceSessionStartResponse, VoiceStatusState, VoiceStatusStateSchema, VoiceSubjects, WORKER_ALLOCATION_LIFETIMES, WORKER_CAPABILITY_ID, WorkerAllocatedOutcome, WorkerAllocationLifetime, WorkerAllocationLifetimeSchema, WorkerCapabilities, WorkerCapabilitiesInput, WorkerCapabilitiesSchema, WorkerConfirmedAbsentOutcome, WorkerContributionRef, WorkerContributionRefSchema, WorkerDispatch, WorkerDispatchAck, WorkerHandle, WorkerInfrastructureConclusion, WorkerMaterializationSpec, WorkerMaterializationSpecSchema, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRequirementsSchema, WorkspaceSnapshotMaterializationSchema, boundedProviderEvidence, createAllocationRefCodec, registerAutoLaunchProvider, registerGitHookEventsProvider, registerReviewSource, registerReviewerProcessor, registerServerProvider, registerVCSProvider, registerWorkerProvider, unregisterGitHookEventsProvider, unregisterReviewSource, unregisterReviewerProcessor, unregisterServerProvider, unregisterVCSProvider, unregisterWorkerProvider };
|
|
1
|
+
import { $ as ProviderAllocationRef, $n as FindingOrigin, $t as STTResultSchema, A as AllocationInspection, An as VisionAnalysisRequestSchema, Ar as VCSCommitStatusSchema, At as CheckRunDetailSchema, B as IWorkerRecoveryCapability, Bn as ReviewNamespace, Br as VCSRepositorySchema, Bt as PullRequestStateSchema, C as unregisterWorkerProvider, Cn as STT_MODE_LITERALS, Cr as CreatePROptions, Ct as WorkerProvisionRequest, D as createAllocationRefCodec, Dn as VisionSubjects, Dr as VCSReviewComment, Dt as VCSPRNamespace, E as ProviderAllocationRefError, En as VisionNamespace, Er as VCSSchemas, Et as WorkspaceSnapshotMaterializationSchema, F as BoundedRecoveryEvidence, Fn as REVIEW_SOURCE_CAPABILITY_ID, Fr as VCSPullRequestDetailSchema, Ft as LabelInfo, G as NO_ALLOCATION_OBSERVED_CODE, Gn as ProcessCliOutputParams, Gr as SERVER_CAPABILITY_ID, Gt as ReviewerState, H as MATERIALIZATION_MODES, Hn as FetchFindingsParams, Hr as unregisterServerProvider, Ht as PullRequestTargetSchema, I as BoundedRecoveryEvidenceSchema, In as registerReviewSource, Ir as VCSPullRequestSchema, It as LabelInfoSchema, J as OutcomeAckDecision, Jn as ProcessReviewBodyParams, Jr as AUTO_LAUNCH_CAPABILITY_ID, Jt as ReviewsSummarySchema, K as NormalizedWorkerCapabilities, Kn as ProcessCommentsParams, Kr as ServerAddress, Kt as ReviewerStateSchema, L as EXHAUSTIVE_SEARCH_UNAVAILABLE_CODE, Ln as registerReviewerProcessor, Lr as VCSReview, Lt as LabelSemantic, M as AllocationState, Mn as VisionAnalysisResultSchema, Mr as VCSCheckRunSchema, Mt as ChecksSummarySchema, N as AllocationStateSchema, Nn as VisionSchemas, Nr as VCSPullRequest, Nt as FindingsSummary, O as ALLOCATION_STATES, On as IVisionProvider, Or as VCSReviewCommentSchema, Ot as VCSPRSubjects, P as BUILT_IN_THIN_WORKFLOW_PROVIDER_ID, Pn as REVIEWER_PROCESSOR_CAPABILITY_ID, Pr as VCSPullRequestDetail, Pt as FindingsSummarySchema, Q as PROVISIONING_DISCOVERY_KINDS, Qn as ReviewTriggerResult, Qt as STTResult, R as IRecoverableWorkerProvider, Rn as unregisterReviewSource, Rr as VCSReviewSchema, Rt as LabelSemanticSchema, S as registerWorkerProvider, Sn as STTMode, Sr as VCSSubjects, St as WorkerProvisionOutcome, T as ProviderAllocationRefCodec, Tn as TTS_MODE_LITERALS, Tr as MergeOptions, Tt as WorkerRequirementsSchema, U as MaterializationMode, Un as IReviewSource, Ur as HttpServerLike, Ut as ReadinessAssessment, V as LocalDirectoryMaterializationSchema, Vn as ReviewSubjects, Vr as registerServerProvider, Vt as PullRequestTarget, W as MaterializationModeSchema, Wn as IReviewerProcessor, Wr as IServerProvider, Wt as ReadinessAssessmentSchema, X as PRE_REQUEST_REJECTION_CODE, Xn as ReviewSourceSnapshot, Xr as IAutoLaunchProvider, Xt as VoiceNamespace, Y as OutcomeAckDecisionSchema, Yn as ReviewRequestContext, Yr as registerAutoLaunchProvider, Yt as VCSPRSchemas, Z as PROVIDER_ALLOCATION_REF_VERSION, Zn as ReviewTriggerParams, Zt as VoiceSubjects, _ as GitHookRewritePair, _n as TTSProviderCapabilities, _r as registerVCSProvider, _t as WorkerHandle, a as GitHookCoverageReason, an as VoiceSchemas, ar as FindingTarget, at as WORKER_CAPABILITY_ID, b as GitHookNamespace, bn as VoicePipelineStrategy, br as VCSEventsNamespace, bt as WorkerMaterializationSpecSchema, c as GitHookCoverageRequestSchema, cn as VoiceStatusStateSchema, cr as ReviewFindingSchema, ct as WorkerAllocationLifetimeSchema, d as GitHookCoveredOperation, dn as ISTTProvider, dr as ReviewSchemas, dt as WorkerCapabilitiesSchema, en as VoicePipelineLegSchema, er as FindingOriginSchema, et as ProviderAllocationRefSchema, f as GitHookCoveredOperationSchema, fn as ITTSProvider, fr as ReviewSourceRateLimit, ft as WorkerConfirmedAbsentOutcome, g as GitHookRewriteEventSchema, gn as STTRequest, gr as VCS_CAPABILITY_ID, gt as WorkerDispatchAck, h as GitHookRewriteEvent, hn as STTProviderCapabilities, hr as SuggestedChangeSchema, ht as WorkerDispatch, i as IGitHookEventsProvider, in as VoiceProviderPreferenceSchema, ir as FindingStatusSchema, it as WORKER_ALLOCATION_LIFETIMES, j as AllocationInspectionSchema, jn as VisionAnalysisResult, jr as VCSCheckRun, jt as ChecksSummary, k as AMBIGUOUS_ALLOCATION_MATCH_CODE, kn as VisionAnalysisRequest, kr as VCSCommitStatus, kt as CheckRunDetail, l as GitHookCoverageResponse, ln as AudioChunk, lr as ReviewIssueComment, lt as WorkerCapabilities, m as GitHookNativeMergeEventSchema, mn as ProviderRuntime, mr as SuggestedChange, mt as WorkerContributionRefSchema, n as registerGitHookEventsProvider, nn as VoicePipelineStrategySchema, nr as FindingSeveritySchema, nt as ProvisioningDiscoverySchema, o as GitHookCoverageReasonSchema, on as VoiceSessionStartResponse, or as FindingTargetSchema, ot as WorkerAllocatedOutcome, p as GitHookNativeMergeEvent, pn as IVocabularyProvider, pr as ReviewSourceRateLimitSchema, pt as WorkerContributionRef, q as NormalizedWorkerRequirements, qn as ProcessIssueCommentsParams, qr as UpgradeHandler, qt as ReviewsSummary, r as unregisterGitHookEventsProvider, rn as VoicePipelineStrategySchemaType, rr as FindingStatus, rt as RECOVERY_EVIDENCE_LIMITS, s as GitHookCoverageRequest, sn as VoiceStatusState, sr as ReviewFinding, st as WorkerAllocationLifetime, t as GIT_HOOK_EVENTS_CAPABILITY_ID, tn as VoicePipelineLegSchemaType, tr as FindingSeverity, tt as ProvisioningDiscovery, u as GitHookCoverageResponseSchema, un as ClientVoiceProviderDescriptor, ur as ReviewIssueCommentSchema, ut as WorkerCapabilitiesInput, v as GitHookRewritePairSchema, vn as TTSRequest, vr as unregisterVCSProvider, vt as WorkerInfrastructureConclusion, w as boundedProviderEvidence, wn as TTSMode, wr as IVCSProvider, wt as WorkerRequirements, x as GitHookSubjects, xn as VoiceProviderPreference, xr as VCSNamespace, xt as WorkerProviderContext, y as GitHookSchemas, yn as VoicePipelineLeg, yr as VCSEvents, yt as WorkerMaterializationSpec, z as IWorkerProvider, zn as unregisterReviewerProcessor, zr as VCSRepository, zt as PullRequestState } from "../../index-C1PfDEIV.mjs";
|
|
2
|
+
export { ALLOCATION_STATES, AMBIGUOUS_ALLOCATION_MATCH_CODE, AUTO_LAUNCH_CAPABILITY_ID, AllocationInspection, AllocationInspectionSchema, AllocationState, AllocationStateSchema, AudioChunk, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID, BoundedRecoveryEvidence, BoundedRecoveryEvidenceSchema, CheckRunDetail, CheckRunDetailSchema, ChecksSummary, ChecksSummarySchema, ClientVoiceProviderDescriptor, CreatePROptions, EXHAUSTIVE_SEARCH_UNAVAILABLE_CODE, FetchFindingsParams, FindingOrigin, FindingOriginSchema, FindingSeverity, FindingSeveritySchema, FindingStatus, FindingStatusSchema, FindingTarget, FindingTargetSchema, FindingsSummary, FindingsSummarySchema, GIT_HOOK_EVENTS_CAPABILITY_ID, GitHookCoverageReason, GitHookCoverageReasonSchema, GitHookCoverageRequest, GitHookCoverageRequestSchema, GitHookCoverageResponse, GitHookCoverageResponseSchema, GitHookCoveredOperation, GitHookCoveredOperationSchema, GitHookNamespace, GitHookNativeMergeEvent, GitHookNativeMergeEventSchema, GitHookRewriteEvent, GitHookRewriteEventSchema, GitHookRewritePair, GitHookRewritePairSchema, GitHookSchemas, GitHookSubjects, HttpServerLike, IAutoLaunchProvider, IGitHookEventsProvider, IRecoverableWorkerProvider, IReviewSource, IReviewerProcessor, ISTTProvider, IServerProvider, ITTSProvider, IVCSProvider, IVisionProvider, IVocabularyProvider, IWorkerProvider, IWorkerRecoveryCapability, LabelInfo, LabelInfoSchema, LabelSemantic, LabelSemanticSchema, LocalDirectoryMaterializationSchema, MATERIALIZATION_MODES, MaterializationMode, MaterializationModeSchema, MergeOptions, NO_ALLOCATION_OBSERVED_CODE, NormalizedWorkerCapabilities, NormalizedWorkerRequirements, OutcomeAckDecision, OutcomeAckDecisionSchema, PRE_REQUEST_REJECTION_CODE, PROVIDER_ALLOCATION_REF_VERSION, PROVISIONING_DISCOVERY_KINDS, ProcessCliOutputParams, ProcessCommentsParams, ProcessIssueCommentsParams, ProcessReviewBodyParams, ProviderAllocationRef, ProviderAllocationRefCodec, ProviderAllocationRefError, ProviderAllocationRefSchema, ProviderRuntime, ProvisioningDiscovery, ProvisioningDiscoverySchema, PullRequestState, PullRequestStateSchema, PullRequestTarget, PullRequestTargetSchema, RECOVERY_EVIDENCE_LIMITS, REVIEWER_PROCESSOR_CAPABILITY_ID, REVIEW_SOURCE_CAPABILITY_ID, ReadinessAssessment, ReadinessAssessmentSchema, ReviewFinding, ReviewFindingSchema, ReviewIssueComment, ReviewIssueCommentSchema, ReviewNamespace, ReviewRequestContext, ReviewSchemas, ReviewSourceRateLimit, ReviewSourceRateLimitSchema, ReviewSourceSnapshot, ReviewSubjects, ReviewTriggerParams, ReviewTriggerResult, ReviewerState, ReviewerStateSchema, ReviewsSummary, ReviewsSummarySchema, SERVER_CAPABILITY_ID, STTMode, STTProviderCapabilities, STTRequest, STTResult, STTResultSchema, STT_MODE_LITERALS, ServerAddress, SuggestedChange, SuggestedChangeSchema, TTSMode, TTSProviderCapabilities, TTSRequest, TTS_MODE_LITERALS, UpgradeHandler, VCSCheckRun, VCSCheckRunSchema, VCSCommitStatus, VCSCommitStatusSchema, VCSEvents, VCSEventsNamespace, VCSNamespace, VCSPRNamespace, VCSPRSchemas, VCSPRSubjects, VCSPullRequest, VCSPullRequestDetail, VCSPullRequestDetailSchema, VCSPullRequestSchema, VCSRepository, VCSRepositorySchema, VCSReview, VCSReviewComment, VCSReviewCommentSchema, VCSReviewSchema, VCSSchemas, VCSSubjects, VCS_CAPABILITY_ID, VisionAnalysisRequest, VisionAnalysisRequestSchema, VisionAnalysisResult, VisionAnalysisResultSchema, VisionNamespace, VisionSchemas, VisionSubjects, VoiceNamespace, VoicePipelineLeg, VoicePipelineLegSchema, VoicePipelineLegSchemaType, VoicePipelineStrategy, VoicePipelineStrategySchema, VoicePipelineStrategySchemaType, VoiceProviderPreference, VoiceProviderPreferenceSchema, VoiceSchemas, VoiceSessionStartResponse, VoiceStatusState, VoiceStatusStateSchema, VoiceSubjects, WORKER_ALLOCATION_LIFETIMES, WORKER_CAPABILITY_ID, WorkerAllocatedOutcome, WorkerAllocationLifetime, WorkerAllocationLifetimeSchema, WorkerCapabilities, WorkerCapabilitiesInput, WorkerCapabilitiesSchema, WorkerConfirmedAbsentOutcome, WorkerContributionRef, WorkerContributionRefSchema, WorkerDispatch, WorkerDispatchAck, WorkerHandle, WorkerInfrastructureConclusion, WorkerMaterializationSpec, WorkerMaterializationSpecSchema, WorkerProviderContext, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRequirementsSchema, WorkspaceSnapshotMaterializationSchema, boundedProviderEvidence, createAllocationRefCodec, registerAutoLaunchProvider, registerGitHookEventsProvider, registerReviewSource, registerReviewerProcessor, registerServerProvider, registerVCSProvider, registerWorkerProvider, unregisterGitHookEventsProvider, unregisterReviewSource, unregisterReviewerProcessor, unregisterServerProvider, unregisterVCSProvider, unregisterWorkerProvider };
|