@makaio/framework 1.0.0-dev-1788909333961 → 1.0.0-dev-1788936831433
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/artifact-DtmJR46g.mjs +1 -0
- package/dist/authority-state-bootstrap-DnwkMieA.mjs +1 -0
- package/dist/bus/index.d.mts +20 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/code-execution-B9wr0b972.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- 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 +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- 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 +151 -150
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{execution-attempt-repository-CF3cWsPo.d.mts → execution-attempt-repository-CJVlPFMM.d.mts} +60 -6
- package/dist/{extension-BgUSK5rv.mjs → extension-C1CwxkCN.mjs} +1 -1
- package/dist/framework-packages-B3SQPHD7.mjs +1 -0
- package/dist/{index-tDCBp28C.d.mts → index-B6Lsx8QD2.d.mts} +346 -346
- package/dist/{index-BeplDh91.d.mts → index-BQoiFDct.d.mts} +2023 -468
- package/dist/{index-B7VO0gQV.d.mts → index-BV1Btpfc.d.mts} +3 -3
- package/dist/{index-BALk4zcu.d.mts → index-BwktKRHX.d.mts} +1 -1
- package/dist/{index-VAJBIJUb.d.mts → index-BypDPKtQ.d.mts} +62 -46
- package/dist/{index-CZuhTqsX2.d.mts → index-C83rKcaK2.d.mts} +12 -12
- package/dist/{index-DI-1HK7v2.d.mts → index-CKjFFP6W2.d.mts} +1 -1
- package/dist/{index-B4Wg4W7d.d.mts → index-C_R6ifn9.d.mts} +100 -100
- package/dist/{index-BtC1JP5D.d.mts → index-CcgI6r0K.d.mts} +1 -1
- package/dist/{index-DlKxbLC9.d.mts → index-CqSdF7rK.d.mts} +2 -2
- package/dist/{index-DFsJTTkS.d.mts → index-CuLDybz3.d.mts} +1 -1
- package/dist/{index-U0Fe0baO.d.mts → index-CzSoEyWu.d.mts} +10 -10
- package/dist/{index-D7j6v0-L.d.mts → index-D3RZEEE3.d.mts} +1 -1
- package/dist/{index-CpdRe5df.d.mts → index-DDUi5U4Q.d.mts} +778 -64
- package/dist/{index-b_LJnwCU2.d.mts → index-DOkenapA.d.mts} +8 -8
- package/dist/{index-BjcJH3I-.d.mts → index-DWU3yzQ-.d.mts} +1 -1
- package/dist/{index-OP6Aw5jN.d.mts → index-GNRWZONO.d.mts} +14 -16
- package/dist/{index-VCtdvtEk.d.mts → index-J7xYeLwB.d.mts} +337 -337
- package/dist/{index-BQv9mUzn.d.mts → index-SDXlgq07.d.mts} +36 -8
- package/dist/{index-uv_WSQtw2.d.mts → index-ZGtyv_3n2.d.mts} +161 -49
- package/dist/{index-BO_ikAR-.d.mts → index-glwUNat3.d.mts} +10 -10
- 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-Ql8RWYOd.mjs → lib-0MqNtDuH.mjs} +4 -4
- package/dist/{lib-B8hEa65D.mjs → lib-dlyJT26K.mjs} +1 -1
- package/dist/{load-extensions-un9Md47Z.d.mts → load-extensions-DM1PgW4a.d.mts} +1 -1
- package/dist/{materialization-CqOHTt92.mjs → materialization-CDemi12q.mjs} +1 -1
- package/dist/{namespace-BVQ8Y2Yi.d.mts → namespace-Cjh_Ogen.d.mts} +2 -2
- package/dist/{namespace-DELzAyzb.d.mts → namespace-JqvomFSV.d.mts} +152 -152
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/package-DKfzsJVl.mjs +7 -0
- package/dist/{package-DnlJ4I1i.d.mts → package-x2wRhcUt.d.mts} +71 -9
- 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-inputs-CMjGjK7W.d.mts +23 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/index.d.mts +5 -5
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-B9yLU2jM.d.mts → schemas-B4gxLiTq.d.mts} +211 -79
- package/dist/schemas-BahXrOYa.mjs +1 -0
- package/dist/{schemas-mGJIRIZ5.d.mts → schemas-DYeS-mtz.d.mts} +152 -152
- package/dist/{schemas-BBatvMde.d.mts → schemas-DfSirQM5.d.mts} +2 -2
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +118 -118
- 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 +2 -2
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/testing/drizzle-harness.d.mts +8 -0
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/{tools-BkSFBqUz.mjs → tools-2INrWlnS.mjs} +1 -1
- package/dist/{transition-BbfxZ4U1.d.mts → transition-DXfTmVSx.d.mts} +1 -1
- package/dist/{types-CXwFtEIF.d.mts → types-B4u8kNdt.d.mts} +327 -327
- package/dist/{types-CR415CdC2.d.mts → types-FNVbwd7z2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CJtK5hgs.d.mts → view-builder-DU_WTiuk.d.mts} +1 -1
- package/dist/{worker-VBlgozIo.mjs → worker-Bn0x5MSH.mjs} +1 -1
- package/dist/workflow-B6C3Pf66.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/index.d.mts +44 -42
- 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 +2 -2
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +1 -1
- package/dist/workflow-engine/testing/index.d.mts +3 -1
- 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 +13 -3
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-Cuo6s9uv.mjs → workflow-transitions-BbhM_zPm.mjs} +1 -1
- package/dist/workflow-worker-Db7EBUgh.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-BjqkK0KX.mjs +0 -1
- package/dist/authority-state-bootstrap-8VGt4vD2.mjs +0 -1
- package/dist/code-execution-BsiB7ZeZ2.mjs +0 -1
- package/dist/framework-packages-CxWecyPW.mjs +0 -1
- package/dist/package-BwIbyojG.mjs +0 -7
- package/dist/schemas-0eCrrru1.mjs +0 -1
- package/dist/workflow-svpU9Cig.mjs +0 -1
- package/dist/workflow-worker-7AA-u1uC.mjs +0 -2
- /package/dist/{capability-service-CsWaOwvH.d.mts → capability-service-23Ot2J9A.d.mts} +0 -0
- /package/dist/{client-DP4ksY9q.d.mts → client-BwFqO0cG.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BoXRTyae.d.mts → client-binary-version-verifier-DySlUy9m.d.mts} +0 -0
- /package/dist/{clients-namespace-BVDmj8uV.d.mts → clients-namespace-Dh0SNZcQ.d.mts} +0 -0
- /package/dist/{config-namespace-BMOKEuyf.d.mts → config-namespace-CZqPIAWt.d.mts} +0 -0
- /package/dist/{definition-ByVJ3n6o.d.mts → definition-D3HjoK-4.d.mts} +0 -0
- /package/dist/{extension-discovery-C0Nj5EVZ.d.mts → extension-discovery-CZkaPQBo.d.mts} +0 -0
- /package/dist/{filesystem-service-C6D7oABi.d.mts → filesystem-service-UYYyRL2y.d.mts} +0 -0
- /package/dist/{hook-responses-Cs8A07ZP.d.mts → hook-responses-chgDiS8D.d.mts} +0 -0
- /package/dist/{index-CNOqYviR.d.mts → index-6wmqw_ng.d.mts} +0 -0
- /package/dist/{index-BrRCVo9r.d.mts → index-B5kqAW7h.d.mts} +0 -0
- /package/dist/{index-DxaQ-ceV.d.mts → index-B6Kq1BtL.d.mts} +0 -0
- /package/dist/{index-BR7IiCib.d.mts → index-BCKhrNLC.d.mts} +0 -0
- /package/dist/{index-HRn0Kun0.d.mts → index-BU8uFswE.d.mts} +0 -0
- /package/dist/{index-fzrPfhS0.d.mts → index-BjELPYLF2.d.mts} +0 -0
- /package/dist/{index-B_VcKELo.d.mts → index-BrelUXBT.d.mts} +0 -0
- /package/dist/{index-BgY_UzH82.d.mts → index-BtPZcp4M2.d.mts} +0 -0
- /package/dist/{index-BGWkmG9i.d.mts → index-Bxs-oIo4.d.mts} +0 -0
- /package/dist/{index-BpWoCe22.d.mts → index-C-6g2xzN.d.mts} +0 -0
- /package/dist/{index-BHZlMm_I.d.mts → index-C6eJrtTA.d.mts} +0 -0
- /package/dist/{index-DrwT45ci2.d.mts → index-CBnCXp1R2.d.mts} +0 -0
- /package/dist/{index-Bpv8EpBa.d.mts → index-CDeN0mdC.d.mts} +0 -0
- /package/dist/{index-_Ngf4KAa.d.mts → index-CU_HMaeC.d.mts} +0 -0
- /package/dist/{index-CIV2G6uX2.d.mts → index-CYUhTE552.d.mts} +0 -0
- /package/dist/{index-CKvOECeR.d.mts → index-CuPq_ap8.d.mts} +0 -0
- /package/dist/{index-D6qlh6Td.d.mts → index-DB4Xggtt.d.mts} +0 -0
- /package/dist/{index-DZv9yNKF2.d.mts → index-DGlSbpgS2.d.mts} +0 -0
- /package/dist/{index-BnLp-7qH.d.mts → index-DNp9DP6W.d.mts} +0 -0
- /package/dist/{index-BbjxBrcp2.d.mts → index-DQbcfjIb2.d.mts} +0 -0
- /package/dist/{index-DOKPbF-y2.d.mts → index-DX_2kGSg.d.mts} +0 -0
- /package/dist/{index-IkeLI7uY.d.mts → index-DbYjMWlj.d.mts} +0 -0
- /package/dist/{index-CHuB40EK.d.mts → index-DcG3r0VL.d.mts} +0 -0
- /package/dist/{index-ByJ2NESC.d.mts → index-DlOp5nH0.d.mts} +0 -0
- /package/dist/{index-DLlTuugR.d.mts → index-LsZNB_gb.d.mts} +0 -0
- /package/dist/{index-CSEhxhIc.d.mts → index-SIP-fI28.d.mts} +0 -0
- /package/dist/{index-B7g7e7_f.d.mts → index-zvoiT54b.d.mts} +0 -0
- /package/dist/{kind-registration-T--B1wiI.mjs → kind-registration-DggkrLkv.mjs} +0 -0
- /package/dist/{namespace-CcHA54E1.d.mts → namespace-69c5HXtL.d.mts} +0 -0
- /package/dist/{namespace-DdcRYk7b.d.mts → namespace-B7fMkHmy.d.mts} +0 -0
- /package/dist/{namespace-DyeMWQKf.d.mts → namespace-BQ7eiQwr.d.mts} +0 -0
- /package/dist/{namespace-thsiHTFH.d.mts → namespace-BXkDQ9nn.d.mts} +0 -0
- /package/dist/{namespace-CQaL10rI.d.mts → namespace-BoOLmi67.d.mts} +0 -0
- /package/dist/{namespace-Ct2DKREI.d.mts → namespace-CBf5xG_A.d.mts} +0 -0
- /package/dist/{namespace-sTMm1voF.d.mts → namespace-CIF_1OWi.d.mts} +0 -0
- /package/dist/{namespace-nE7vRctI.d.mts → namespace-CUXZS_Ia.d.mts} +0 -0
- /package/dist/{namespace-Ciyw6FxO.d.mts → namespace-DAW4OY3-.d.mts} +0 -0
- /package/dist/{namespace-BocL2nn7.d.mts → namespace-DAbT1F_n.d.mts} +0 -0
- /package/dist/{namespace-BlH5BeSq.d.mts → namespace-DCmkW_25.d.mts} +0 -0
- /package/dist/{namespace-DtXYm32M.d.mts → namespace-De25c2ds.d.mts} +0 -0
- /package/dist/{orchestrator-shared-CYnIz5Zd.d.mts → orchestrator-shared-BRNZ6it3.d.mts} +0 -0
- /package/dist/{packages-DtsjAYuf.d.mts → packages-BSVxszLf.d.mts} +0 -0
- /package/dist/{providers-namespace-BxknJ03z.d.mts → providers-namespace-DcPil5uz.d.mts} +0 -0
- /package/dist/{schema-CJfSEZ8X.d.mts → schema-DIgKUfuF.d.mts} +0 -0
- /package/dist/{schemas-DQ5iRisA.d.mts → schemas-Bg2fBMPN.d.mts} +0 -0
- /package/dist/{schemas-0VbIjfrW.d.mts → schemas-CM3Ejp-n.d.mts} +0 -0
- /package/dist/{schemas-BfMFZ6J5.d.mts → schemas-COnD70WD.d.mts} +0 -0
- /package/dist/{schemas-CsRcSlvA2.d.mts → schemas-DTyZjKQf2.d.mts} +0 -0
- /package/dist/{schemas-KDl7p-wr.d.mts → schemas-Ge_bamoP.d.mts} +0 -0
- /package/dist/{schemas-Yp3PvwsM.d.mts → schemas-NwKrrrPF.d.mts} +0 -0
- /package/dist/{schemas-CmUWeOkr.d.mts → schemas-Vv0GtBaZ.d.mts} +0 -0
- /package/dist/{schemas-Djt6hIjz.d.mts → schemas-eA76OYo2.d.mts} +0 -0
- /package/dist/{schemas-DzDVjYjt.d.mts → schemas-qbaSxHDL.d.mts} +0 -0
- /package/dist/{server-lifecycle-Ck6_8o8v.d.mts → server-lifecycle-BPAN-b0i.d.mts} +0 -0
- /package/dist/{storage-namespace-CRdQoXZ9.d.mts → storage-namespace-C9oFExfb.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-NBw1Y8Pa.d.mts → storage-namespace-definition-D6soSjKE.d.mts} +0 -0
- /package/dist/{types-CXrp5ldz.d.mts → types-BOsf2SVm.d.mts} +0 -0
- /package/dist/{types-CUCFeisO.d.mts → types-BZnJ_4e2.d.mts} +0 -0
- /package/dist/{types-BFv-EK2G.d.mts → types-CWgYlxjU.d.mts} +0 -0
- /package/dist/{types-BcGXdeva.d.mts → types-DZvkUmHS.d.mts} +0 -0
- /package/dist/{window-registry-Chi2qJ5k.d.mts → window-registry-Bvjvpwhn.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-
|
|
1
|
+
import { r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-CZkaPQBo.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region runtimes/node/src/makaio-config.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
|
|
1
|
+
import { $ as WorkflowAttemptInstructionReader, A as HeadlessWorkerExecutor, B as WorkloadInvocationPreparation, Bt as WorkspaceRootResolver, C as loadWorkflowFromConfig, Ct as createWorkerBusAuth, D as HeadlessWorkerBootstrapCredentials, Dt as ThinWorkflowPiscinaRunnerOptions, E as HeadlessWorkerBootstrap, Et as RuntimeLoadedWorkflow, F as MaterializedWorkspace, G as IsolatedWorkflowRuntimeContext, Gt as computeFileDigest, H as runWorkloadInvocation, Ht as assertNoSymlinkEscape, I as runHeadlessWorkflowWorker, J as createIsolatedWorkflowRuntime, Jt as verifyContribution, K as WorkflowRuntimeAuthorityConnector, Kt as materializeLocalDirectory, L as InstalledWorkloadAdapter, Lt as LocalDirectoryMaterializerOptions, M as HeadlessWorkerPostCommitObserver, N as HeadlessWorkflowWorkerDeps, O as HeadlessWorkerBusConnector, Ot as WorkflowRunResult, P as HeadlessWorkflowWorkerResult, Q as PiscinaThinWorkflowProviderOptions, R as RunWorkloadInvocationOptions, Rt as MaterializationError, S as loadWorkflowModules, St as withWorkerBootstrapDeadline, T as LocalGitSourceOptions, Tt as IWorkflowRunner, U as CreateIsolatedWorkflowRuntimeOptions, Ut as computeContributionPackageDigest, V as WorkloadInvocationResult, Vt as assertContainedIn, W as IsolatedWorkflowRuntime, Wt as computeDirectoryDigest, X as InProcessWorkflowRunnerOptions, Xt as WorkflowWorkerEntryResolverOptions, Y as InProcessWorkflowRunner, Yt as WorkflowWorkerEntryMode, Z as PiscinaThinWorkflowProvider, Zt as resolveWorkflowWorkerEntry, _ as admitWorkflowRunOperation, _t as createNodeWorkflowRunnerPackageOptions, a as bootstrapWorkerRuntime, at as DELIVERED_DECISIONS, b as registerWorkerRuntime, bt as runWorkerBootstrapExchange, c as DeliverableOperationKind, ct as OutcomeSubmitPayload, d as OperationDeliveryEndpointIdentity, dt as submitOutcomeWithAck, et as WorkflowLaunchResolver, f as OperationDeliveryHandler, ft as WorkerRunner, g as RuntimeRegistrationRefusedError, gt as createNodeWorkflowRunner, h as RegisterWorkerRuntimeOptions, ht as NodeWorkflowRunnerPackageOptions, i as StartedWorkerRuntime, it as AuthorityRequestDeliveryError, j as HeadlessWorkerMaterializer, k as HeadlessWorkerContributionLoader, l as OperationAdmissionRefusedError, lt as OutcomeSubmitRetryConfig, m as RegisterAndAdmitWorkflowRunOptions, mt as CreateNodeWorkflowRunnerPackageOptionsParams, n as BootstrapStartRefusedError, nt as AttemptOutcomeDeliveryError, o as AdmitWorkflowRunOperationOptions, ot as OutcomeDeliveryError, p as OperationDeliveryHandlers, pt as WorkerRunnerOptions, q as WorkflowRuntimeContributionLoader, qt as parseSriIntegrity, r as BootstrapWorkerRuntimeOptions, rt as AttemptOutcomeSubmitPayload, s as AdmittedWorkflowRun, st as OutcomeReconnect, t as BootstrapRuntimeConnection, tt as createWorkflowLaunchResolver, u as OperationDeliveryEndpoint, ut as submitAttemptOutcomeWithAck, v as installOperationDeliveryEndpoint, vt as BootstrapExchangeResult, w as createLocalGitWorkspacePreparation, wt as ThinWorkflowPiscinaRunner, x as loadWorkflowModule, xt as BootstrapDeadlineExceededError, y as registerAndAdmitWorkflowRun, yt as WorkerBootstrapExchangeOptions, z as WorkloadControlBinding, zt as ParsedSriIntegrity } from "../../index-SDXlgq07.mjs";
|
|
2
|
+
export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowAttemptInstructionReader, WorkflowLaunchResolver, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, createWorkflowLaunchResolver, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,
|
|
1
|
+
import{C as e,D as t,E as n,S as r,T 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,w,x as T,y as E}from"../../workflow-worker-Db7EBUgh.mjs";import{_ as D,a as O,c as k,d as A,f as j,i as M,m as N,n as P,o as F,p as I,r as L,s as R,t as z,u as B,v as V}from"../../bootstrap-start-client-Bdv-_2Q9.mjs";export{b as AttemptOutcomeDeliveryError,c as AuthorityRequestDeliveryError,D as BootstrapDeadlineExceededError,z as BootstrapStartRefusedError,m as DELIVERED_DECISIONS,f as InProcessWorkflowRunner,E as MaterializationError,L as OperationAdmissionRefusedError,S as OutcomeDeliveryError,_ as PiscinaThinWorkflowProvider,M as RuntimeRegistrationRefusedError,C as ThinWorkflowPiscinaRunner,d as WorkerRunner,O as admitWorkflowRunOperation,s as assertContainedIn,T as assertNoSymlinkEscape,P as bootstrapWorkerRuntime,r as computeContributionPackageDigest,e as computeDirectoryDigest,w as computeFileDigest,p as createIsolatedWorkflowRuntime,x as createLocalGitWorkspacePreparation,v as createNodeWorkflowRunner,h as createNodeWorkflowRunnerPackageOptions,N as createWorkerBusAuth,o as createWorkflowLaunchResolver,F as installOperationDeliveryEndpoint,B as loadWorkflowFromConfig,A as loadWorkflowModule,j as loadWorkflowModules,i as materializeLocalDirectory,n as parseSriIntegrity,R as registerAndAdmitWorkflowRun,k as registerWorkerRuntime,a as resolveWorkflowWorkerEntry,g as runHeadlessWorkflowWorker,I as runWorkerBootstrapExchange,y as runWorkloadInvocation,l as submitAttemptOutcomeWithAck,u as submitOutcomeWithAck,t as verifyContribution,V as withWorkerBootstrapDeadline};
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
3
3
|
|
|
4
|
+
//#region core/contracts/src/artifact/artifact-reference.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* An immutable pointer to a specific revision of an artifact.
|
|
7
|
+
*
|
|
8
|
+
* Kind, identity, and revision together uniquely identify a persisted snapshot
|
|
9
|
+
* and are safe to store as foreign keys. The literal reference class prevents
|
|
10
|
+
* structurally similar external evidence references from being accepted as
|
|
11
|
+
* artifact pins.
|
|
12
|
+
*/
|
|
13
|
+
declare const ArtifactRefSchema: z.ZodObject<{
|
|
14
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
15
|
+
kind: z.ZodString;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
revision: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
/** Immutable pointer to a specific artifact revision. */
|
|
20
|
+
type ArtifactRef$1 = z.infer<typeof ArtifactRefSchema>;
|
|
21
|
+
//#endregion
|
|
4
22
|
//#region core/contracts/src/artifact/kind-registration.d.ts
|
|
5
23
|
/** Positive schema generation; Zod 4 int() enforces safe integers. Revision identifiers remain strings. */
|
|
6
24
|
declare const ArtifactSchemaVersionSchema: z.ZodNumber;
|
|
@@ -165,22 +183,6 @@ declare const ArtifactQueryScopeSchema: z.ZodObject<{
|
|
|
165
183
|
level: z.ZodString;
|
|
166
184
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
167
185
|
}, z.core.$strip>;
|
|
168
|
-
/**
|
|
169
|
-
* An immutable pointer to a specific revision of an artifact.
|
|
170
|
-
*
|
|
171
|
-
* All three fields together uniquely identify a persisted snapshot
|
|
172
|
-
* and are safe to store as foreign keys.
|
|
173
|
-
*
|
|
174
|
-
* `refClass` is a literal discriminant that allows {@link ArtifactRelationTargetSchema}
|
|
175
|
-
* to use a discriminated union and prevents silent field-stripping when an
|
|
176
|
-
* {@link EvidenceRefSchema} carrying a `locator` is parsed against this schema.
|
|
177
|
-
*/
|
|
178
|
-
declare const ArtifactRefSchema: z.ZodObject<{
|
|
179
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
180
|
-
kind: z.ZodString;
|
|
181
|
-
id: z.ZodString;
|
|
182
|
-
revision: z.ZodString;
|
|
183
|
-
}, z.core.$strip>;
|
|
184
186
|
/**
|
|
185
187
|
* A pointer to a named sub-element within a specific artifact revision.
|
|
186
188
|
*
|
|
@@ -192,11 +194,11 @@ declare const ArtifactRefSchema: z.ZodObject<{
|
|
|
192
194
|
declare const LocalRefSchema: z.ZodObject<{
|
|
193
195
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
194
196
|
artifact: z.ZodObject<{
|
|
195
|
-
refClass: z.
|
|
197
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
196
198
|
kind: z.ZodString;
|
|
197
199
|
id: z.ZodString;
|
|
198
200
|
revision: z.ZodString;
|
|
199
|
-
}, z.core.$
|
|
201
|
+
}, z.core.$strict>;
|
|
200
202
|
localId: z.ZodString;
|
|
201
203
|
}, z.core.$strip>;
|
|
202
204
|
/**
|
|
@@ -229,18 +231,18 @@ declare const EntityRefSchema: z.ZodObject<{
|
|
|
229
231
|
id: z.ZodString;
|
|
230
232
|
}, z.core.$strict>;
|
|
231
233
|
declare const ArtifactRelationTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
232
|
-
refClass: z.
|
|
234
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
233
235
|
kind: z.ZodString;
|
|
234
236
|
id: z.ZodString;
|
|
235
237
|
revision: z.ZodString;
|
|
236
|
-
}, z.core.$
|
|
238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
237
239
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
238
240
|
artifact: z.ZodObject<{
|
|
239
|
-
refClass: z.
|
|
241
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
240
242
|
kind: z.ZodString;
|
|
241
243
|
id: z.ZodString;
|
|
242
244
|
revision: z.ZodString;
|
|
243
|
-
}, z.core.$
|
|
245
|
+
}, z.core.$strict>;
|
|
244
246
|
localId: z.ZodString;
|
|
245
247
|
}, z.core.$strip>, z.ZodObject<{
|
|
246
248
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -266,18 +268,18 @@ declare const ArtifactRelationTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUn
|
|
|
266
268
|
* which requires `revision` to distinguish artifact from evidence refs.
|
|
267
269
|
*/
|
|
268
270
|
declare const ArtifactRelationQueryTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
269
|
-
refClass: z.
|
|
271
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
270
272
|
kind: z.ZodString;
|
|
271
273
|
id: z.ZodString;
|
|
272
274
|
revision: z.ZodOptional<z.ZodString>;
|
|
273
|
-
}, z.core.$
|
|
275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
274
276
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
275
277
|
artifact: z.ZodObject<{
|
|
276
|
-
refClass: z.
|
|
278
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
277
279
|
kind: z.ZodString;
|
|
278
280
|
id: z.ZodString;
|
|
279
281
|
revision: z.ZodString;
|
|
280
|
-
}, z.core.$
|
|
282
|
+
}, z.core.$strict>;
|
|
281
283
|
localId: z.ZodString;
|
|
282
284
|
}, z.core.$strip>, z.ZodObject<{
|
|
283
285
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -298,18 +300,18 @@ declare const ArtifactRelationQueryTargetSchema: z.ZodPreprocess<z.ZodDiscrimina
|
|
|
298
300
|
declare const ArtifactRelationSchema: z.ZodObject<{
|
|
299
301
|
type: z.ZodString;
|
|
300
302
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
301
|
-
refClass: z.
|
|
303
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
302
304
|
kind: z.ZodString;
|
|
303
305
|
id: z.ZodString;
|
|
304
306
|
revision: z.ZodString;
|
|
305
|
-
}, z.core.$
|
|
307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
306
308
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
307
309
|
artifact: z.ZodObject<{
|
|
308
|
-
refClass: z.
|
|
310
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
309
311
|
kind: z.ZodString;
|
|
310
312
|
id: z.ZodString;
|
|
311
313
|
revision: z.ZodString;
|
|
312
|
-
}, z.core.$
|
|
314
|
+
}, z.core.$strict>;
|
|
313
315
|
localId: z.ZodString;
|
|
314
316
|
}, z.core.$strip>, z.ZodObject<{
|
|
315
317
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -352,18 +354,18 @@ declare const ConfidenceBasisSchema: z.ZodObject<{
|
|
|
352
354
|
timestamp: z.ZodNumber;
|
|
353
355
|
detail: z.ZodOptional<z.ZodString>;
|
|
354
356
|
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
355
|
-
refClass: z.
|
|
357
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
356
358
|
kind: z.ZodString;
|
|
357
359
|
id: z.ZodString;
|
|
358
360
|
revision: z.ZodString;
|
|
359
|
-
}, z.core.$
|
|
361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
362
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
361
363
|
artifact: z.ZodObject<{
|
|
362
|
-
refClass: z.
|
|
364
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
363
365
|
kind: z.ZodString;
|
|
364
366
|
id: z.ZodString;
|
|
365
367
|
revision: z.ZodString;
|
|
366
|
-
}, z.core.$
|
|
368
|
+
}, z.core.$strict>;
|
|
367
369
|
localId: z.ZodString;
|
|
368
370
|
}, z.core.$strip>, z.ZodObject<{
|
|
369
371
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -401,18 +403,18 @@ declare const ConfidenceMetadataSchema: z.ZodObject<{
|
|
|
401
403
|
timestamp: z.ZodNumber;
|
|
402
404
|
detail: z.ZodOptional<z.ZodString>;
|
|
403
405
|
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
404
|
-
refClass: z.
|
|
406
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
405
407
|
kind: z.ZodString;
|
|
406
408
|
id: z.ZodString;
|
|
407
409
|
revision: z.ZodString;
|
|
408
|
-
}, z.core.$
|
|
410
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
409
411
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
410
412
|
artifact: z.ZodObject<{
|
|
411
|
-
refClass: z.
|
|
413
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
412
414
|
kind: z.ZodString;
|
|
413
415
|
id: z.ZodString;
|
|
414
416
|
revision: z.ZodString;
|
|
415
|
-
}, z.core.$
|
|
417
|
+
}, z.core.$strict>;
|
|
416
418
|
localId: z.ZodString;
|
|
417
419
|
}, z.core.$strip>, z.ZodObject<{
|
|
418
420
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -445,26 +447,26 @@ declare const ArtifactObservationSchema: z.ZodObject<{
|
|
|
445
447
|
}>>;
|
|
446
448
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
447
449
|
regarding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
448
|
-
refClass: z.
|
|
450
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
449
451
|
kind: z.ZodString;
|
|
450
452
|
id: z.ZodString;
|
|
451
453
|
revision: z.ZodString;
|
|
452
|
-
}, z.core.$
|
|
454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
453
455
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
454
456
|
artifact: z.ZodObject<{
|
|
455
|
-
refClass: z.
|
|
457
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
456
458
|
kind: z.ZodString;
|
|
457
459
|
id: z.ZodString;
|
|
458
460
|
revision: z.ZodString;
|
|
459
|
-
}, z.core.$
|
|
461
|
+
}, z.core.$strict>;
|
|
460
462
|
localId: z.ZodString;
|
|
461
463
|
}, z.core.$strip>]>>;
|
|
462
464
|
evidence: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
463
|
-
refClass: z.
|
|
465
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
464
466
|
kind: z.ZodString;
|
|
465
467
|
id: z.ZodString;
|
|
466
468
|
revision: z.ZodString;
|
|
467
|
-
}, z.core.$
|
|
469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
468
470
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
469
471
|
kind: z.ZodString;
|
|
470
472
|
id: z.ZodString;
|
|
@@ -509,18 +511,18 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
509
511
|
relations: z.ZodArray<z.ZodObject<{
|
|
510
512
|
type: z.ZodString;
|
|
511
513
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
512
|
-
refClass: z.
|
|
514
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
513
515
|
kind: z.ZodString;
|
|
514
516
|
id: z.ZodString;
|
|
515
517
|
revision: z.ZodString;
|
|
516
|
-
}, z.core.$
|
|
518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
517
519
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
518
520
|
artifact: z.ZodObject<{
|
|
519
|
-
refClass: z.
|
|
521
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
520
522
|
kind: z.ZodString;
|
|
521
523
|
id: z.ZodString;
|
|
522
524
|
revision: z.ZodString;
|
|
523
|
-
}, z.core.$
|
|
525
|
+
}, z.core.$strict>;
|
|
524
526
|
localId: z.ZodString;
|
|
525
527
|
}, z.core.$strip>, z.ZodObject<{
|
|
526
528
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -534,6 +536,50 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
534
536
|
id: z.ZodString;
|
|
535
537
|
}, z.core.$strict>], "refClass">>;
|
|
536
538
|
}, z.core.$strip>>;
|
|
539
|
+
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
540
|
+
source: z.ZodObject<{
|
|
541
|
+
kind: z.ZodLiteral<"git-file">;
|
|
542
|
+
repository: z.ZodString;
|
|
543
|
+
path: z.ZodString;
|
|
544
|
+
commit: z.ZodString;
|
|
545
|
+
}, z.core.$strict>;
|
|
546
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
548
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
549
|
+
kind: z.ZodLiteral<"lines">;
|
|
550
|
+
startLine: z.ZodNumber;
|
|
551
|
+
lineCount: z.ZodNumber;
|
|
552
|
+
}, z.core.$strict>]>;
|
|
553
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
555
|
+
source: z.ZodObject<{
|
|
556
|
+
kind: z.ZodLiteral<"confluence-page">;
|
|
557
|
+
site: z.ZodString;
|
|
558
|
+
pageId: z.ZodString;
|
|
559
|
+
version: z.ZodNumber;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
location: z.ZodObject<{
|
|
562
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
563
|
+
}, z.core.$strict>;
|
|
564
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
566
|
+
source: z.ZodObject<{
|
|
567
|
+
kind: z.ZodLiteral<"artifact">;
|
|
568
|
+
reference: z.ZodObject<{
|
|
569
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
570
|
+
kind: z.ZodString;
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
revision: z.ZodString;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
}, z.core.$strict>;
|
|
575
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
576
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"data-path">;
|
|
579
|
+
path: z.ZodString;
|
|
580
|
+
}, z.core.$strict>]>;
|
|
581
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
582
|
+
}, z.core.$strict>]>>>;
|
|
537
583
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
538
584
|
level: z.ZodEnum<{
|
|
539
585
|
inferred: "inferred";
|
|
@@ -552,18 +598,18 @@ declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
|
552
598
|
timestamp: z.ZodNumber;
|
|
553
599
|
detail: z.ZodOptional<z.ZodString>;
|
|
554
600
|
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
-
refClass: z.
|
|
601
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
556
602
|
kind: z.ZodString;
|
|
557
603
|
id: z.ZodString;
|
|
558
604
|
revision: z.ZodString;
|
|
559
|
-
}, z.core.$
|
|
605
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
560
606
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
561
607
|
artifact: z.ZodObject<{
|
|
562
|
-
refClass: z.
|
|
608
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
563
609
|
kind: z.ZodString;
|
|
564
610
|
id: z.ZodString;
|
|
565
611
|
revision: z.ZodString;
|
|
566
|
-
}, z.core.$
|
|
612
|
+
}, z.core.$strict>;
|
|
567
613
|
localId: z.ZodString;
|
|
568
614
|
}, z.core.$strip>, z.ZodObject<{
|
|
569
615
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -630,18 +676,18 @@ declare const ArtifactQueryRequestSchema: z.ZodObject<{
|
|
|
630
676
|
relation: z.ZodOptional<z.ZodObject<{
|
|
631
677
|
type: z.ZodOptional<z.ZodString>;
|
|
632
678
|
target: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
633
|
-
refClass: z.
|
|
679
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
634
680
|
kind: z.ZodString;
|
|
635
681
|
id: z.ZodString;
|
|
636
682
|
revision: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$
|
|
683
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
638
684
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
639
685
|
artifact: z.ZodObject<{
|
|
640
|
-
refClass: z.
|
|
686
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
641
687
|
kind: z.ZodString;
|
|
642
688
|
id: z.ZodString;
|
|
643
689
|
revision: z.ZodString;
|
|
644
|
-
}, z.core.$
|
|
690
|
+
}, z.core.$strict>;
|
|
645
691
|
localId: z.ZodString;
|
|
646
692
|
}, z.core.$strip>, z.ZodObject<{
|
|
647
693
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -679,17 +725,17 @@ declare const ArtifactQueryRequestSchema: z.ZodObject<{
|
|
|
679
725
|
*/
|
|
680
726
|
declare const ArtifactCompareRequestSchema: z.ZodObject<{
|
|
681
727
|
base: z.ZodObject<{
|
|
682
|
-
refClass: z.
|
|
728
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
683
729
|
kind: z.ZodString;
|
|
684
730
|
id: z.ZodString;
|
|
685
731
|
revision: z.ZodString;
|
|
686
|
-
}, z.core.$
|
|
732
|
+
}, z.core.$strict>;
|
|
687
733
|
target: z.ZodObject<{
|
|
688
|
-
refClass: z.
|
|
734
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
689
735
|
kind: z.ZodString;
|
|
690
736
|
id: z.ZodString;
|
|
691
737
|
revision: z.ZodString;
|
|
692
|
-
}, z.core.$
|
|
738
|
+
}, z.core.$strict>;
|
|
693
739
|
}, z.core.$strip>;
|
|
694
740
|
/**
|
|
695
741
|
* Result of comparing two artifact revisions.
|
|
@@ -711,18 +757,18 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
711
757
|
relations: z.ZodArray<z.ZodObject<{
|
|
712
758
|
type: z.ZodString;
|
|
713
759
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
714
|
-
refClass: z.
|
|
760
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
715
761
|
kind: z.ZodString;
|
|
716
762
|
id: z.ZodString;
|
|
717
763
|
revision: z.ZodString;
|
|
718
|
-
}, z.core.$
|
|
764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
719
765
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
720
766
|
artifact: z.ZodObject<{
|
|
721
|
-
refClass: z.
|
|
767
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
722
768
|
kind: z.ZodString;
|
|
723
769
|
id: z.ZodString;
|
|
724
770
|
revision: z.ZodString;
|
|
725
|
-
}, z.core.$
|
|
771
|
+
}, z.core.$strict>;
|
|
726
772
|
localId: z.ZodString;
|
|
727
773
|
}, z.core.$strip>, z.ZodObject<{
|
|
728
774
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -736,6 +782,50 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
736
782
|
id: z.ZodString;
|
|
737
783
|
}, z.core.$strict>], "refClass">>;
|
|
738
784
|
}, z.core.$strip>>;
|
|
785
|
+
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
786
|
+
source: z.ZodObject<{
|
|
787
|
+
kind: z.ZodLiteral<"git-file">;
|
|
788
|
+
repository: z.ZodString;
|
|
789
|
+
path: z.ZodString;
|
|
790
|
+
commit: z.ZodString;
|
|
791
|
+
}, z.core.$strict>;
|
|
792
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
793
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
795
|
+
kind: z.ZodLiteral<"lines">;
|
|
796
|
+
startLine: z.ZodNumber;
|
|
797
|
+
lineCount: z.ZodNumber;
|
|
798
|
+
}, z.core.$strict>]>;
|
|
799
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
800
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
801
|
+
source: z.ZodObject<{
|
|
802
|
+
kind: z.ZodLiteral<"confluence-page">;
|
|
803
|
+
site: z.ZodString;
|
|
804
|
+
pageId: z.ZodString;
|
|
805
|
+
version: z.ZodNumber;
|
|
806
|
+
}, z.core.$strict>;
|
|
807
|
+
location: z.ZodObject<{
|
|
808
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
809
|
+
}, z.core.$strict>;
|
|
810
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
811
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
812
|
+
source: z.ZodObject<{
|
|
813
|
+
kind: z.ZodLiteral<"artifact">;
|
|
814
|
+
reference: z.ZodObject<{
|
|
815
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
816
|
+
kind: z.ZodString;
|
|
817
|
+
id: z.ZodString;
|
|
818
|
+
revision: z.ZodString;
|
|
819
|
+
}, z.core.$strict>;
|
|
820
|
+
}, z.core.$strict>;
|
|
821
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
822
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
824
|
+
kind: z.ZodLiteral<"data-path">;
|
|
825
|
+
path: z.ZodString;
|
|
826
|
+
}, z.core.$strict>]>;
|
|
827
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
828
|
+
}, z.core.$strict>]>>>;
|
|
739
829
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
740
830
|
level: z.ZodEnum<{
|
|
741
831
|
inferred: "inferred";
|
|
@@ -754,18 +844,18 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
754
844
|
timestamp: z.ZodNumber;
|
|
755
845
|
detail: z.ZodOptional<z.ZodString>;
|
|
756
846
|
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
757
|
-
refClass: z.
|
|
847
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
758
848
|
kind: z.ZodString;
|
|
759
849
|
id: z.ZodString;
|
|
760
850
|
revision: z.ZodString;
|
|
761
|
-
}, z.core.$
|
|
851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
762
852
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
763
853
|
artifact: z.ZodObject<{
|
|
764
|
-
refClass: z.
|
|
854
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
765
855
|
kind: z.ZodString;
|
|
766
856
|
id: z.ZodString;
|
|
767
857
|
revision: z.ZodString;
|
|
768
|
-
}, z.core.$
|
|
858
|
+
}, z.core.$strict>;
|
|
769
859
|
localId: z.ZodString;
|
|
770
860
|
}, z.core.$strip>, z.ZodObject<{
|
|
771
861
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -806,18 +896,18 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
806
896
|
relations: z.ZodArray<z.ZodObject<{
|
|
807
897
|
type: z.ZodString;
|
|
808
898
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
809
|
-
refClass: z.
|
|
899
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
810
900
|
kind: z.ZodString;
|
|
811
901
|
id: z.ZodString;
|
|
812
902
|
revision: z.ZodString;
|
|
813
|
-
}, z.core.$
|
|
903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
814
904
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
815
905
|
artifact: z.ZodObject<{
|
|
816
|
-
refClass: z.
|
|
906
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
817
907
|
kind: z.ZodString;
|
|
818
908
|
id: z.ZodString;
|
|
819
909
|
revision: z.ZodString;
|
|
820
|
-
}, z.core.$
|
|
910
|
+
}, z.core.$strict>;
|
|
821
911
|
localId: z.ZodString;
|
|
822
912
|
}, z.core.$strip>, z.ZodObject<{
|
|
823
913
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -831,6 +921,50 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
831
921
|
id: z.ZodString;
|
|
832
922
|
}, z.core.$strict>], "refClass">>;
|
|
833
923
|
}, z.core.$strip>>;
|
|
924
|
+
evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
925
|
+
source: z.ZodObject<{
|
|
926
|
+
kind: z.ZodLiteral<"git-file">;
|
|
927
|
+
repository: z.ZodString;
|
|
928
|
+
path: z.ZodString;
|
|
929
|
+
commit: z.ZodString;
|
|
930
|
+
}, z.core.$strict>;
|
|
931
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
932
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
934
|
+
kind: z.ZodLiteral<"lines">;
|
|
935
|
+
startLine: z.ZodNumber;
|
|
936
|
+
lineCount: z.ZodNumber;
|
|
937
|
+
}, z.core.$strict>]>;
|
|
938
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
939
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
940
|
+
source: z.ZodObject<{
|
|
941
|
+
kind: z.ZodLiteral<"confluence-page">;
|
|
942
|
+
site: z.ZodString;
|
|
943
|
+
pageId: z.ZodString;
|
|
944
|
+
version: z.ZodNumber;
|
|
945
|
+
}, z.core.$strict>;
|
|
946
|
+
location: z.ZodObject<{
|
|
947
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
948
|
+
}, z.core.$strict>;
|
|
949
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
950
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
951
|
+
source: z.ZodObject<{
|
|
952
|
+
kind: z.ZodLiteral<"artifact">;
|
|
953
|
+
reference: z.ZodObject<{
|
|
954
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
955
|
+
kind: z.ZodString;
|
|
956
|
+
id: z.ZodString;
|
|
957
|
+
revision: z.ZodString;
|
|
958
|
+
}, z.core.$strict>;
|
|
959
|
+
}, z.core.$strict>;
|
|
960
|
+
location: z.ZodUnion<readonly [z.ZodObject<{
|
|
961
|
+
kind: z.ZodLiteral<"whole-source">;
|
|
962
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
963
|
+
kind: z.ZodLiteral<"data-path">;
|
|
964
|
+
path: z.ZodString;
|
|
965
|
+
}, z.core.$strict>]>;
|
|
966
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
967
|
+
}, z.core.$strict>]>>>;
|
|
834
968
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
835
969
|
level: z.ZodEnum<{
|
|
836
970
|
inferred: "inferred";
|
|
@@ -849,18 +983,18 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
849
983
|
timestamp: z.ZodNumber;
|
|
850
984
|
detail: z.ZodOptional<z.ZodString>;
|
|
851
985
|
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
852
|
-
refClass: z.
|
|
986
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
853
987
|
kind: z.ZodString;
|
|
854
988
|
id: z.ZodString;
|
|
855
989
|
revision: z.ZodString;
|
|
856
|
-
}, z.core.$
|
|
990
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
857
991
|
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
858
992
|
artifact: z.ZodObject<{
|
|
859
|
-
refClass: z.
|
|
993
|
+
refClass: z.ZodLiteral<"artifact">;
|
|
860
994
|
kind: z.ZodString;
|
|
861
995
|
id: z.ZodString;
|
|
862
996
|
revision: z.ZodString;
|
|
863
|
-
}, z.core.$
|
|
997
|
+
}, z.core.$strict>;
|
|
864
998
|
localId: z.ZodString;
|
|
865
999
|
}, z.core.$strip>, z.ZodObject<{
|
|
866
1000
|
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
@@ -896,8 +1030,6 @@ type ArtifactActor = z.infer<typeof ArtifactActorSchema>;
|
|
|
896
1030
|
type ArtifactScope = z.infer<typeof ArtifactScopeSchema>;
|
|
897
1031
|
/** Scope descriptor for artifact query filters. */
|
|
898
1032
|
type ArtifactQueryScope = z.infer<typeof ArtifactQueryScopeSchema>;
|
|
899
|
-
/** Immutable pointer to a specific artifact revision. */
|
|
900
|
-
type ArtifactRef$1 = z.infer<typeof ArtifactRefSchema>;
|
|
901
1033
|
/** Pointer to a named sub-element within a specific artifact revision. */
|
|
902
1034
|
type LocalRef = z.infer<typeof LocalRefSchema>;
|
|
903
1035
|
/** Pointer to external evidence outside the artifact store. */
|
|
@@ -940,4 +1072,4 @@ type ArtifactCompareRequest = z.infer<typeof ArtifactCompareRequestSchema>;
|
|
|
940
1072
|
/** Result of comparing two artifact revisions. */
|
|
941
1073
|
type ArtifactCompareResponse = z.infer<typeof ArtifactCompareResponseSchema>;
|
|
942
1074
|
//#endregion
|
|
943
|
-
export {
|
|
1075
|
+
export { ArtifactUniquenessRuleSchema as $, ConfidenceMetadataSchema as A, ArtifactCategory as B, ArtifactScope as C, ConfidenceLevel as D, ConfidenceBasisSchema as E, LocalRef as F, ArtifactKindRegistration$1 as G, ArtifactDataPathSchema as H, LocalRefSchema as I, ArtifactLifecycleStateSchema as J, ArtifactKindRegistrationSchema$1 as K, RelationTypeRegistration$1 as L, EntityRefSchema as M, EvidenceRef as N, ConfidenceLevelSchema as O, EvidenceRefSchema as P, ArtifactUniquenessRule as Q, RelationTypeRegistrationSchema as R, ArtifactRevisionSchema as S, ConfidenceBasis as T, ArtifactEvidenceRequirements as U, ArtifactCategorySchema as V, ArtifactEvidenceRequirementsSchema as W, ArtifactRelationRequirementSchema as X, ArtifactRelationRequirement as Y, ArtifactSchemaVersionSchema as Z, ArtifactRelationTarget as _, ArtifactCompareResponse as a, ArtifactRepresentationsSchema as b, ArtifactObservationSchema as c, ArtifactQueryScope as d, ArtifactUniquenessSelectorSchema as et, ArtifactQueryScopeSchema as f, ArtifactRelationSchema as g, ArtifactRelationQueryTargetSchema as h, ArtifactCompareRequestSchema as i, EntityRef as j, ConfidenceMetadata as k, ArtifactQueryRequest as l, ArtifactRelationQueryTarget as m, ArtifactActorSchema as n, ArtifactRefSchema as nt, ArtifactCompareResponseSchema as o, ArtifactRelation as p, ArtifactLifecycleState as q, ArtifactCompareRequest as r, ArtifactObservation$1 as s, ArtifactActor as t, ArtifactRef$1 as tt, ArtifactQueryRequestSchema as u, ArtifactRelationTargetSchema as v, ArtifactScopeSchema as w, ArtifactRevision$1 as x, ArtifactRepresentations as y, ARTIFACT_CATEGORY_LIFECYCLE_STATES as z };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{c as n,r}from"./kind-registration-DggkrLkv.mjs";import{z as i}from"zod";const a=i.string().min(1).regex(/\S/),o=i.strictObject({refClass:i.literal(`artifact`),kind:a,id:a,revision:a}),s=i.string().min(1).regex(/\S/),c=i.strictObject({kind:i.literal(`whole-source`)}),l=i.strictObject({kind:i.literal(`lines`),startLine:i.number().int().positive(),lineCount:i.number().int().positive()}),u=i.strictObject({kind:i.literal(`data-path`),path:r}),d=i.strictObject({kind:i.literal(`git-file`),repository:s,path:s,commit:i.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/)}),f=i.strictObject({kind:i.literal(`confluence-page`),site:s,pageId:s,version:i.number().int().positive()}),p=i.strictObject({kind:i.literal(`artifact`),reference:o}),m=i.union([i.strictObject({source:d,location:i.union([c,l]),excerpt:i.string().optional()}),i.strictObject({source:f,location:c,excerpt:i.string().optional()}),i.strictObject({source:p,location:i.union([c,u]),excerpt:i.string().optional()})]).meta({title:`EvidenceValue`,description:`An immutable, directly cited source and its source-specific location.`}),h=i.object({kind:i.string().min(1),id:i.string().min(1),displayName:i.string().optional()}),g=i.object({level:i.string().min(1),ids:i.record(i.string().min(1),i.string().min(1)).optional()}).superRefine((e,t)=>{e.level!==`global`&&(!e.ids||Object.keys(e.ids).length===0)&&t.addIssue({code:i.ZodIssueCode.custom,path:[`ids`],message:`ids is required when scope level is not 'global'`})}),_=i.object({level:i.string().min(1),ids:i.record(i.string().min(1),i.string().min(1)).optional()}),v=i.object({refClass:i.literal(`local`).default(`local`),artifact:o,localId:i.string().min(1)}),y=i.object({refClass:i.literal(`evidence`).default(`evidence`),kind:i.string().min(1),id:i.string().min(1),revision:i.string().min(1).optional(),locator:i.string().min(1).optional()}),b=i.strictObject({refClass:i.literal(`entity`),entityType:i.string().min(1),id:i.string().min(1)}),x=i.discriminatedUnion(`refClass`,[o,v,y,b]);function S(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e||!(`revision`in e)?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const C=i.preprocess(S,x),w=i.discriminatedUnion(`refClass`,[o.extend({revision:o.shape.revision.optional()}),v,y,b]);function T(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const E=i.preprocess(T,w),D=i.object({type:i.string().min(1),target:C}),O=i.enum([`assumed`,`inferred`,`stated`,`confirmed`,`verified`]),k=i.object({kind:i.string().min(1),actor:h,timestamp:i.number().int().nonnegative(),detail:i.string().optional(),evidenceRef:C.optional()}),A=i.object({level:O,basis:i.array(k)}),j=i.object({id:i.string().min(1),kind:i.string().min(1),summary:i.string().min(1),detail:i.string().optional(),severity:i.enum([`info`,`warning`,`blocker`]).optional(),tags:i.array(i.string().min(1)).optional(),regarding:i.union([o,v]).optional(),evidence:i.union([o,y]).optional(),actor:h,timestamp:i.number().int().nonnegative()}),M=i.object({markdown:i.string().optional(),summary:i.string().optional(),plaintext:i.string().optional()}),N=i.object({kind:o.shape.kind,id:o.shape.id,revision:o.shape.revision,scope:g,schemaVersion:n,data:e,relations:i.array(D),evidence:i.array(m).optional(),confidence:A.optional(),representations:M.optional(),actor:h,timestamp:i.number().int().nonnegative(),createdAt:i.number().int().nonnegative().optional()}),P=i.object({type:i.string().min(1),symmetry:i.enum([`asymmetric`,`symmetric`]),implication:i.string().min(1).optional(),sourceKinds:i.array(i.string().min(1)).optional(),targetKinds:i.array(i.string().min(1)).optional(),targetRefClasses:i.array(i.enum([`artifact`,`local`,`evidence`])).optional()}),F=i.object({kind:i.string().min(1).optional(),scope:_.optional(),ids:i.array(i.string().min(1)).optional(),currentOnly:i.boolean().optional(),search:i.string().optional(),relation:i.object({type:i.string().min(1).optional(),target:E.optional()}).optional(),confidence:i.object({maxLevel:O.optional(),minLevel:O.optional()}).optional(),indexed:i.record(i.string(),t).optional(),limit:i.number().int().min(1).optional()}),I=i.object({base:o,target:o}),L=i.object({base:N,target:N,changedPaths:i.array(i.string())});export{y as _,F as a,m as b,D as c,N as d,g as f,b as g,A as h,j as i,C as l,O as m,I as n,_ as o,k as p,L as r,E as s,h as t,M as u,v,o as x,P as y};
|