@makaio/framework 1.0.0-dev-1783977266352 → 1.0.0-dev-1784144891135
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 +2 -2
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/{artifact-CGjnoyCC.mjs → artifact-Dnpy5ei_.mjs} +1 -1
- package/dist/{authority-state-bootstrap-CEuKScnL.mjs → authority-state-bootstrap-BlbmQ9A5.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/context-resolution-CE1o3wTv.d.mts +1268 -0
- 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 +2 -1
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- 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 +3 -3
- 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 +75 -75
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +4 -4
- 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/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/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{detached-extension-handle-vDK194QV.mjs → detached-extension-handle-BVM-Ic-4.mjs} +1 -1
- package/dist/{filesystem-service-maY_P3yA.mjs → filesystem-service-qR9Zy5-r.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-CisClzat.mjs → globby-DE358g5u.mjs} +1 -1
- package/dist/{index-D3Eek6kd.d.mts → index-4WQgnxfO.d.mts} +158 -1044
- package/dist/{index-C6LZOiDv.d.mts → index-B96HlWaM.d.mts} +1 -1
- package/dist/{index-DMQlLz2W.d.mts → index-BB5xeWrm.d.mts} +6 -6
- package/dist/{index-DpZbaS7y.d.mts → index-BB6bmH1n.d.mts} +3 -3
- package/dist/{index-Bbr5LEUc.d.mts → index-BFAc9Mqw.d.mts} +1 -1
- package/dist/{index-Cx8jGKOs.d.mts → index-BMmJJJmZ.d.mts} +7 -7
- package/dist/{index-j2YlW_Fc.d.mts → index-B_KmL_z8.d.mts} +1 -1
- package/dist/{index-CagRgpXI2.d.mts → index-ChB3K_a12.d.mts} +1 -1
- package/dist/{index-BrAp9ntB.d.mts → index-CxxqBc3y.d.mts} +87 -87
- package/dist/{index-BxuiHVFi.d.mts → index-DA5S_dj8.d.mts} +1 -1
- package/dist/{index-BXWTilGs.d.mts → index-DHejCnq8.d.mts} +3 -3
- package/dist/{index-kqxUXYe7.d.mts → index-DL1L6Pvw.d.mts} +6 -6
- package/dist/{index-CHjKP5G0.d.mts → index-DeLkAZZ2.d.mts} +23 -10
- package/dist/{index-Cq6rXKae.d.mts → index-GmoTPQcx.d.mts} +92 -92
- package/dist/{index-D75FnT0B.d.mts → index-TWs1TQ2-.d.mts} +1 -1
- package/dist/index-n9dy5seY.d.mts +817 -0
- package/dist/{index-MTvmxwiu2.d.mts → index-wP-qhIoT2.d.mts} +4 -4
- 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-DktBDEoY.mjs → lib-6P8_sBCe.mjs} +1 -1
- package/dist/{lib-DIVnpS8e.mjs → lib-DhbCgfYD.mjs} +1 -1
- package/dist/{load-extensions-nqL5WAKj.mjs → load-extensions-5VckHXuw.mjs} +1 -1
- package/dist/{load-extensions-_EnedkUp.d.mts → load-extensions-jGQgvw6Z.d.mts} +1 -1
- package/dist/materialization-BBxXhthv.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-dgNmx9g3.d.mts → namespace-BF1FZKiV.d.mts} +27 -27
- package/dist/{namespace-CukqFYHf2.d.mts → namespace-BQhnjUvN2.d.mts} +1 -1
- package/dist/{namespace-TLkZRkcU.d.mts → namespace-CXoCX9u1.d.mts} +20 -20
- package/dist/{namespace-BoA6u44C.d.mts → namespace-CbQ8hdd8.d.mts} +2 -2
- package/dist/{namespace-rO-C2Dgu2.d.mts → namespace-Cv8zbqwY.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{package-CsFFT9iR.mjs → package-Brt4dhRC.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/packages-BBJsifai.d.mts +532 -0
- package/dist/packages-I0D3JP9L.mjs +1 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/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/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +3 -3
- package/dist/runtime-node/index.mjs +23 -23
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-CxN7d_MU.d.mts → schema-BwJf2zRN.d.mts} +1 -1
- package/dist/schemas-6H-dlMrB.mjs +1 -0
- package/dist/{schemas-OaBqeEUT.d.mts → schemas-D6zcRPQo.d.mts} +2 -2
- package/dist/{schemas-CIO03KSD2.d.mts → schemas-tF70HEfT.d.mts} +17 -17
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- 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 +1 -1
- package/dist/services/capability/index.mjs +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/context-rules/index.mjs +1 -1
- 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/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +59 -308
- 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/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +76 -0
- package/dist/services/materialization/index.mjs +1 -0
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +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/provider-runtime/index.mjs +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/orchestrator-testing/index.mjs +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/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +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 +14 -14
- package/dist/services/settings/namespace.mjs +1 -1
- 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/index.mjs +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/tool-approval/index.mjs +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/index.mjs +1 -1
- 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/{src-Bo2eA51B.mjs → src-T5DtFSyU.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/tools-CWSuNk-M.mjs +1 -0
- package/dist/{transition-DjipYcC3.d.mts → transition-C9UOqw0W.d.mts} +2 -2
- package/dist/{types-B-xY9WW2.d.mts → types-Be7wY1De.d.mts} +1 -1
- package/dist/{types-DQsYUZwa.d.mts → types-he1s7Vd_.d.mts} +37 -37
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +20 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/view-builder-D75mQTa1.d.mts +618 -0
- package/dist/{workflow-DFJYGjq_.mjs → workflow-DPeE6-Ta.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +68 -68
- 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/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-BEFjCccX.mjs → workflow-worker-CPCh68Qf.mjs} +1 -1
- package/package.json +6 -2
- package/dist/definition-D7qCBmtc.d.mts +0 -60
- package/dist/index-CidblQAY.d.mts +0 -355
- package/dist/materialization-BwTORtBr.mjs +0 -1
- package/dist/schemas-DlCdlCEF.d.mts +0 -153
- package/dist/schemas-DlrQ0227.mjs +0 -1
- package/dist/tools-PC_L6g2m.mjs +0 -1
- /package/dist/{adapter-auth-runtime-a4O7cSNP.mjs → adapter-auth-runtime-CotG_6M4.mjs} +0 -0
- /package/dist/{adapter-binding-DDUyv1JK.d.mts → adapter-binding-DQ1HrGcH.d.mts} +0 -0
- /package/dist/{ajv-DfHhgdS5.mjs → ajv-WvFKnw8d.mjs} +0 -0
- /package/dist/{await-trigger-DP-fTQc4.mjs → await-trigger-COHFNyNi.mjs} +0 -0
- /package/dist/{base-orchestrator-BiShpVKL.d.mts → base-orchestrator-p3zIcnaJ.d.mts} +0 -0
- /package/dist/{capability-service-Dg2bU8qc.mjs → capability-service-TCOwWrLi.mjs} +0 -0
- /package/dist/{client-DmJwprw1.d.mts → client-CGEyBWKl.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BK_vIjIo.mjs → client-binary-version-verifier-CaFlNNjs.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-BwrMTAh2.d.mts → client-binary-version-verifier-WsNRplFB.d.mts} +0 -0
- /package/dist/{clients-namespace-B96QIJOs.d.mts → clients-namespace-ClKm1GLT.d.mts} +0 -0
- /package/dist/{config-namespace-x0fuhEXe.d.mts → config-namespace-DOw8R5eb.d.mts} +0 -0
- /package/dist/{create-static-mount-CBTXRtbN.mjs → create-static-mount-DM9qO98Q.mjs} +0 -0
- /package/dist/{cross-spawn-D9WWFl2a.mjs → cross-spawn-CVfmnMVP.mjs} +0 -0
- /package/dist/{cursor-storage-Bw-7ROzx.mjs → cursor-storage-BoFVjVGq.mjs} +0 -0
- /package/dist/{definition-BsTlOz99.d.mts → definition-BZrouYAq.d.mts} +0 -0
- /package/dist/{definition-Cbl0k6Fc.d.mts → definition-ClKlXenJ.d.mts} +0 -0
- /package/dist/{descriptor-to-package-Rs-OjOQU.mjs → descriptor-to-package-DCwvJoUE.mjs} +0 -0
- /package/dist/{drizzle-DYfaDzlO.mjs → drizzle-BQDvlDL2.mjs} +0 -0
- /package/dist/{esm-C_WW4-pP.mjs → esm-1UzF2r1U.mjs} +0 -0
- /package/dist/{event-DTM0-qWP.mjs → event-Ddxe4yp9.mjs} +0 -0
- /package/dist/{execution-target-Bg2wpfML.mjs → execution-target-D6PoGaO8.mjs} +0 -0
- /package/dist/{extension-discovery-APMf1Tes.d.mts → extension-discovery-Cce4FmRu.d.mts} +0 -0
- /package/dist/{filesystem-service-Bx0bR2Lb.d.mts → filesystem-service-CWBzOEAA.d.mts} +0 -0
- /package/dist/{handler-4pKQi3eo.mjs → handler-Bxs0moLY.mjs} +0 -0
- /package/dist/{identity-2qUT1NME.mjs → identity-D481xSkS.mjs} +0 -0
- /package/dist/{index-FDyqQIt5.d.mts → index-4b-ig5Uf.d.mts} +0 -0
- /package/dist/{index-Bv9lm0Kf.d.mts → index-BOlzcjwS.d.mts} +0 -0
- /package/dist/{index-S-mAqWwq.d.mts → index-BRdPSBFH2.d.mts} +0 -0
- /package/dist/{index-BmsPH78f2.d.mts → index-BcqWLD6J.d.mts} +0 -0
- /package/dist/{index-DmuGKvE2.d.mts → index-BfNfKh4y.d.mts} +0 -0
- /package/dist/{index-CSxfU0tB.d.mts → index-BjgfHTX4.d.mts} +0 -0
- /package/dist/{index-CarbJsC92.d.mts → index-BrvsExEF.d.mts} +0 -0
- /package/dist/{index-D0eUQjTU2.d.mts → index-C2PHX5Em.d.mts} +0 -0
- /package/dist/{index-BZ_DSGnE.d.mts → index-CNS1jyBU.d.mts} +0 -0
- /package/dist/{index-DoLdETfR.d.mts → index-CQco6KNL.d.mts} +0 -0
- /package/dist/{index-C18Pn3zP.d.mts → index-ChsmMZmN.d.mts} +0 -0
- /package/dist/{index-DwDBa2mb.d.mts → index-D3cH5U0n.d.mts} +0 -0
- /package/dist/{index-T96ydgVk.d.mts → index-DAVLhzkq.d.mts} +0 -0
- /package/dist/{index-9dISOTLT.d.mts → index-DIAmg04s.d.mts} +0 -0
- /package/dist/{index-DlAfs3RD.d.mts → index-DKCFz7dL.d.mts} +0 -0
- /package/dist/{index-DvaPrL6C.d.mts → index-DbP0yaRw.d.mts} +0 -0
- /package/dist/{index-2PsDAhPN.d.mts → index-DnPJWaO7.d.mts} +0 -0
- /package/dist/{index-DXBiCH2y.d.mts → index-Dx6P-ajY.d.mts} +0 -0
- /package/dist/{index-Rhcr4YNA.d.mts → index-Jec13bI-2.d.mts} +0 -0
- /package/dist/{index-BkAKfh4d.d.mts → index-M8rNEeH8.d.mts} +0 -0
- /package/dist/{index-DnWZdG6C.d.mts → index-NZ-gfUOw.d.mts} +0 -0
- /package/dist/{index-DfVSWBBp.d.mts → index-RtP5Mi4D.d.mts} +0 -0
- /package/dist/{index-_zsihEmk.d.mts → index-XLGBNeu0.d.mts} +0 -0
- /package/dist/{index-Bd52mmj9.d.mts → index-fFSPF7N0.d.mts} +0 -0
- /package/dist/{index-Ctw617Tj.d.mts → index-p1N3ZuqF.d.mts} +0 -0
- /package/dist/{json-value-C8duSh9X.d.mts → json-value-BsWNQQbr.d.mts} +0 -0
- /package/dist/{jsonl-transport-l5NPcQ_2.mjs → jsonl-transport-B70HQ9l1.mjs} +0 -0
- /package/dist/{lib-ClRTNIuz.mjs → lib-C_apP_9s.mjs} +0 -0
- /package/dist/{model-registry-C8MInDtX.mjs → model-registry-C3NX834K.mjs} +0 -0
- /package/dist/{namespace-HsI0Jbbr.mjs → namespace-B1_egU5J.mjs} +0 -0
- /package/dist/{namespace-Dar3O6iT.d.mts → namespace-BTp6-zD8.d.mts} +0 -0
- /package/dist/{namespace-Bl1UhLnK.d.mts → namespace-BqlDkdht2.d.mts} +0 -0
- /package/dist/{namespace-DoNigVgx.d.mts → namespace-BwAiuQ2_.d.mts} +0 -0
- /package/dist/{namespace-3YVLQ_bM.d.mts → namespace-CU1jSw6E.d.mts} +0 -0
- /package/dist/{namespace-BcDHt-ww.d.mts → namespace-CddQuUvG.d.mts} +0 -0
- /package/dist/{namespace-BsEoWXV_.d.mts → namespace-DNgZ_rfi.d.mts} +0 -0
- /package/dist/{namespace-VmsT_tLJ.d.mts → namespace-Dzbt8LqQ.d.mts} +0 -0
- /package/dist/{namespace-Dvi66QS6.d.mts → namespace-SwgMs4rw.d.mts} +0 -0
- /package/dist/{namespace-BhVlHfoO.d.mts → namespace-UCwUrFRx.d.mts} +0 -0
- /package/dist/{namespace-Xp9-g_r-.mjs → namespace-kIjqar0Y.mjs} +0 -0
- /package/dist/{orchestrator-shared-pxtyNu3W.d.mts → orchestrator-shared-DrEFeZYw.d.mts} +0 -0
- /package/dist/{orchestrator-shared-DAkGOu9H.mjs → orchestrator-shared-jYk9mi5C.mjs} +0 -0
- /package/dist/{out-BB6Kb4Xu.mjs → out-B6fO6go6.mjs} +0 -0
- /package/dist/{package-BYpWkSuQ.mjs → package-3cW8oIkI.mjs} +0 -0
- /package/dist/{package-DG9GSY8M.d.mts → package-BVm1EakP.d.mts} +0 -0
- /package/dist/{providers-namespace-O4de1tgO.d.mts → providers-namespace-Bl3M8Ibo.d.mts} +0 -0
- /package/dist/{quick-lru-BLaSzINB.mjs → quick-lru-Coxb6GVa.mjs} +0 -0
- /package/dist/{registry-TJjQgTgp.mjs → registry-ElIHcMM2.mjs} +0 -0
- /package/dist/{schemas-9QJf1FtS.d.mts → schemas-B3K1ekm7.d.mts} +0 -0
- /package/dist/{schemas-jDRSOXJL.d.mts → schemas-BKgUDm_a2.d.mts} +0 -0
- /package/dist/{schemas-XRhqOgVE.d.mts → schemas-CVbfHPw-.d.mts} +0 -0
- /package/dist/{schemas-CLsbsX1W.d.mts → schemas-CzT0LApM.d.mts} +0 -0
- /package/dist/{schemas-D_9X_CRo.d.mts → schemas-DPosZWw-.d.mts} +0 -0
- /package/dist/{schemas-fRLDhefF.d.mts → schemas-D_H0ztxl.d.mts} +0 -0
- /package/dist/{schemas-qpo1Goit.d.mts → schemas-DfZ85CRF2.d.mts} +0 -0
- /package/dist/{schemas-K3Td_WdR.d.mts → schemas-Dq_g7Giu.d.mts} +0 -0
- /package/dist/{schemas-DwfTUQIa.mjs → schemas-FiDj_kLq.mjs} +0 -0
- /package/dist/{schemas-qt5QTjVc.d.mts → schemas-pl0mzEtO.d.mts} +0 -0
- /package/dist/{server-lifecycle-D-jxVr_0.mjs → server-lifecycle-DLdh0-4H.mjs} +0 -0
- /package/dist/{server-lifecycle-r5Tkk8bU.d.mts → server-lifecycle-DzO3rjKP.d.mts} +0 -0
- /package/dist/{session-lineage-YShrn77v.d.mts → session-lineage-COFDOi7x.d.mts} +0 -0
- /package/dist/{src-Ci_WY9uw.mjs → src-Dqa1n_kI.mjs} +0 -0
- /package/dist/{storage-namespace-BzE2M4Hq.mjs → storage-namespace-B1_x8Ho2.mjs} +0 -0
- /package/dist/{storage-namespace-DWKFqEW-.d.mts → storage-namespace-D4yQ--Sp.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BZJGSaX3.d.mts → storage-namespace-definition-BzSaRLtZ.d.mts} +0 -0
- /package/dist/{supports-color-Dzp6WuF5.mjs → supports-color-CCdGjFUY.mjs} +0 -0
- /package/dist/{tool-approval-service-Dh0XI21f.mjs → tool-approval-service-BgSn_6NT.mjs} +0 -0
- /package/dist/{tray-menu-service-Bonl2KXf.mjs → tray-menu-service-BJ9r7IY3.mjs} +0 -0
- /package/dist/{types-BCW9kr4L.d.mts → types-B9QOZAZ5.d.mts} +0 -0
- /package/dist/{types-DWNoZ3Sd.d.mts → types-Bgb8eQkd.d.mts} +0 -0
- /package/dist/{types-DvKaEOOn.d.mts → types-C8_OhAFv.d.mts} +0 -0
- /package/dist/{types-CrJ7KEZ0.d.mts → types-Diu9uAnB.d.mts} +0 -0
- /package/dist/{window-registry-WsWu-rcK.d.mts → window-registry-CHv3cgSN.d.mts} +0 -0
|
@@ -1,833 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-CE1o3wTv.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
4
|
import { MakaioBusLike } from "@makaio/framework/core";
|
|
5
5
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
6
6
|
|
|
7
|
-
//#region core/contracts/src/artifact/schemas.d.ts
|
|
8
|
-
/**
|
|
9
|
-
* Identifies the actor (agent, user, system) that produced or asserted
|
|
10
|
-
* an artifact revision or confidence basis.
|
|
11
|
-
*/
|
|
12
|
-
declare const ArtifactActorSchema: z.ZodObject<{
|
|
13
|
-
kind: z.ZodString;
|
|
14
|
-
id: z.ZodString;
|
|
15
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
/**
|
|
18
|
-
* Describes the scope at which an artifact revision is relevant.
|
|
19
|
-
*
|
|
20
|
-
* `level` is an open string (e.g. `'session'`, `'project'`, `'global'`)
|
|
21
|
-
* so that product-owned kinds can declare domain-specific scope levels
|
|
22
|
-
* without modifying the framework contract.
|
|
23
|
-
*
|
|
24
|
-
* `ids` carries the scope-identifying foreign keys when `level` names a
|
|
25
|
-
* concrete artifact owner. Query filters use {@link ArtifactQueryScopeSchema}
|
|
26
|
-
* because level-only queries are valid there but not for persisted revisions.
|
|
27
|
-
*/
|
|
28
|
-
declare const ArtifactScopeSchema: z.ZodObject<{
|
|
29
|
-
level: z.ZodString;
|
|
30
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
/**
|
|
33
|
-
* Scope filter for artifact queries.
|
|
34
|
-
*
|
|
35
|
-
* Unlike persisted artifact scopes, query scopes may be level-only to request
|
|
36
|
-
* all revisions at a level, e.g. `{ level: 'session' }`.
|
|
37
|
-
*/
|
|
38
|
-
declare const ArtifactQueryScopeSchema: z.ZodObject<{
|
|
39
|
-
level: z.ZodString;
|
|
40
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
/**
|
|
43
|
-
* An immutable pointer to a specific revision of an artifact.
|
|
44
|
-
*
|
|
45
|
-
* All three fields together uniquely identify a persisted snapshot
|
|
46
|
-
* and are safe to store as foreign keys.
|
|
47
|
-
*
|
|
48
|
-
* `refClass` is a literal discriminant that allows {@link ArtifactRelationTargetSchema}
|
|
49
|
-
* to use a discriminated union and prevents silent field-stripping when an
|
|
50
|
-
* {@link EvidenceRefSchema} carrying a `locator` is parsed against this schema.
|
|
51
|
-
*/
|
|
52
|
-
declare const ArtifactRefSchema: z.ZodObject<{
|
|
53
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
54
|
-
kind: z.ZodString;
|
|
55
|
-
id: z.ZodString;
|
|
56
|
-
revision: z.ZodString;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
/**
|
|
59
|
-
* A pointer to a named sub-element within a specific artifact revision.
|
|
60
|
-
*
|
|
61
|
-
* Used when a relation target is a structural part of an artifact rather
|
|
62
|
-
* than the artifact itself (e.g. a specific line in a code-review artifact).
|
|
63
|
-
*
|
|
64
|
-
* `refClass` is a literal discriminant for {@link ArtifactRelationTargetSchema}.
|
|
65
|
-
*/
|
|
66
|
-
declare const LocalRefSchema: z.ZodObject<{
|
|
67
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
68
|
-
artifact: z.ZodObject<{
|
|
69
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
70
|
-
kind: z.ZodString;
|
|
71
|
-
id: z.ZodString;
|
|
72
|
-
revision: z.ZodString;
|
|
73
|
-
}, z.core.$strip>;
|
|
74
|
-
localId: z.ZodString;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
/**
|
|
77
|
-
* A pointer to external evidence — a source outside the artifact store.
|
|
78
|
-
*
|
|
79
|
-
* `revision` and `locator` are both optional so callers can supply as
|
|
80
|
-
* much precision as is available (e.g. a commit SHA + file path, or just
|
|
81
|
-
* a document URL).
|
|
82
|
-
*
|
|
83
|
-
* `refClass` is a literal discriminant for {@link ArtifactRelationTargetSchema}.
|
|
84
|
-
*/
|
|
85
|
-
declare const EvidenceRefSchema: z.ZodObject<{
|
|
86
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
87
|
-
kind: z.ZodString;
|
|
88
|
-
id: z.ZodString;
|
|
89
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
90
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
91
|
-
}, z.core.$strip>;
|
|
92
|
-
declare const ArtifactRelationTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
94
|
-
kind: z.ZodString;
|
|
95
|
-
id: z.ZodString;
|
|
96
|
-
revision: z.ZodString;
|
|
97
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
99
|
-
artifact: z.ZodObject<{
|
|
100
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
101
|
-
kind: z.ZodString;
|
|
102
|
-
id: z.ZodString;
|
|
103
|
-
revision: z.ZodString;
|
|
104
|
-
}, z.core.$strip>;
|
|
105
|
-
localId: z.ZodString;
|
|
106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
108
|
-
kind: z.ZodString;
|
|
109
|
-
id: z.ZodString;
|
|
110
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
111
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip>], "refClass">>;
|
|
113
|
-
/**
|
|
114
|
-
* Relation target schema for use in {@link ArtifactQueryRequestSchema}.
|
|
115
|
-
*
|
|
116
|
-
* Relaxes the `artifact` variant to allow identity-only lookups (kind + id)
|
|
117
|
-
* without a specific revision. Storage relations must still use the exact
|
|
118
|
-
* {@link ArtifactRelationTargetSchema} which requires revision.
|
|
119
|
-
*
|
|
120
|
-
* Supports `refClass` inference via {@link inferArtifactRelationQueryTargetRefClass}
|
|
121
|
-
* for wire payloads that omit the discriminant. Defaults to `'artifact'` when
|
|
122
|
-
* neither local-ref nor evidence fields are present, unlike storage inference
|
|
123
|
-
* which requires `revision` to distinguish artifact from evidence refs.
|
|
124
|
-
*/
|
|
125
|
-
declare const ArtifactRelationQueryTargetSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
126
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
127
|
-
kind: z.ZodString;
|
|
128
|
-
id: z.ZodString;
|
|
129
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
132
|
-
artifact: z.ZodObject<{
|
|
133
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
134
|
-
kind: z.ZodString;
|
|
135
|
-
id: z.ZodString;
|
|
136
|
-
revision: z.ZodString;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
localId: z.ZodString;
|
|
139
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
140
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
141
|
-
kind: z.ZodString;
|
|
142
|
-
id: z.ZodString;
|
|
143
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
144
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip>], "refClass">>;
|
|
146
|
-
/**
|
|
147
|
-
* A typed directional link from one artifact to a relation target.
|
|
148
|
-
*
|
|
149
|
-
* `type` is an open string registered via {@link RelationTypeRegistrationSchema}.
|
|
150
|
-
*/
|
|
151
|
-
declare const ArtifactRelationSchema: z.ZodObject<{
|
|
152
|
-
type: z.ZodString;
|
|
153
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
155
|
-
kind: z.ZodString;
|
|
156
|
-
id: z.ZodString;
|
|
157
|
-
revision: z.ZodString;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
160
|
-
artifact: z.ZodObject<{
|
|
161
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
162
|
-
kind: z.ZodString;
|
|
163
|
-
id: z.ZodString;
|
|
164
|
-
revision: z.ZodString;
|
|
165
|
-
}, z.core.$strip>;
|
|
166
|
-
localId: z.ZodString;
|
|
167
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
169
|
-
kind: z.ZodString;
|
|
170
|
-
id: z.ZodString;
|
|
171
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
172
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
173
|
-
}, z.core.$strip>], "refClass">>;
|
|
174
|
-
}, z.core.$strip>;
|
|
175
|
-
/**
|
|
176
|
-
* Ordered confidence levels for artifact assertions.
|
|
177
|
-
*
|
|
178
|
-
* Levels progress from weakest to strongest epistemic warrant:
|
|
179
|
-
* `assumed` → `inferred` → `stated` → `confirmed` → `verified`
|
|
180
|
-
*/
|
|
181
|
-
declare const ConfidenceLevelSchema: z.ZodEnum<{
|
|
182
|
-
inferred: "inferred";
|
|
183
|
-
assumed: "assumed";
|
|
184
|
-
stated: "stated";
|
|
185
|
-
confirmed: "confirmed";
|
|
186
|
-
verified: "verified";
|
|
187
|
-
}>;
|
|
188
|
-
/**
|
|
189
|
-
* One piece of evidence contributing to the overall confidence of an artifact.
|
|
190
|
-
*
|
|
191
|
-
* Multiple bases can be accumulated for the same artifact revision as
|
|
192
|
-
* additional actors review or verify it.
|
|
193
|
-
*/
|
|
194
|
-
declare const ConfidenceBasisSchema: z.ZodObject<{
|
|
195
|
-
kind: z.ZodString;
|
|
196
|
-
actor: z.ZodObject<{
|
|
197
|
-
kind: z.ZodString;
|
|
198
|
-
id: z.ZodString;
|
|
199
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
200
|
-
}, z.core.$strip>;
|
|
201
|
-
timestamp: z.ZodNumber;
|
|
202
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
203
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
204
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
205
|
-
kind: z.ZodString;
|
|
206
|
-
id: z.ZodString;
|
|
207
|
-
revision: z.ZodString;
|
|
208
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
210
|
-
artifact: z.ZodObject<{
|
|
211
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
212
|
-
kind: z.ZodString;
|
|
213
|
-
id: z.ZodString;
|
|
214
|
-
revision: z.ZodString;
|
|
215
|
-
}, z.core.$strip>;
|
|
216
|
-
localId: z.ZodString;
|
|
217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
219
|
-
kind: z.ZodString;
|
|
220
|
-
id: z.ZodString;
|
|
221
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
222
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
223
|
-
}, z.core.$strip>], "refClass">>>;
|
|
224
|
-
}, z.core.$strip>;
|
|
225
|
-
/**
|
|
226
|
-
* Aggregated confidence metadata for an artifact revision.
|
|
227
|
-
*
|
|
228
|
-
* `basis` carries the ordered set of individual evidence entries that
|
|
229
|
-
* together justify the overall `level`.
|
|
230
|
-
*/
|
|
231
|
-
declare const ConfidenceMetadataSchema: z.ZodObject<{
|
|
232
|
-
level: z.ZodEnum<{
|
|
233
|
-
inferred: "inferred";
|
|
234
|
-
assumed: "assumed";
|
|
235
|
-
stated: "stated";
|
|
236
|
-
confirmed: "confirmed";
|
|
237
|
-
verified: "verified";
|
|
238
|
-
}>;
|
|
239
|
-
basis: z.ZodArray<z.ZodObject<{
|
|
240
|
-
kind: z.ZodString;
|
|
241
|
-
actor: z.ZodObject<{
|
|
242
|
-
kind: z.ZodString;
|
|
243
|
-
id: z.ZodString;
|
|
244
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
245
|
-
}, z.core.$strip>;
|
|
246
|
-
timestamp: z.ZodNumber;
|
|
247
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
248
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
249
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
250
|
-
kind: z.ZodString;
|
|
251
|
-
id: z.ZodString;
|
|
252
|
-
revision: z.ZodString;
|
|
253
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
254
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
255
|
-
artifact: z.ZodObject<{
|
|
256
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
257
|
-
kind: z.ZodString;
|
|
258
|
-
id: z.ZodString;
|
|
259
|
-
revision: z.ZodString;
|
|
260
|
-
}, z.core.$strip>;
|
|
261
|
-
localId: z.ZodString;
|
|
262
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
264
|
-
kind: z.ZodString;
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
267
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
268
|
-
}, z.core.$strip>], "refClass">>>;
|
|
269
|
-
}, z.core.$strip>>;
|
|
270
|
-
}, z.core.$strip>;
|
|
271
|
-
/**
|
|
272
|
-
* A single typed observation attached to an artifact revision.
|
|
273
|
-
*
|
|
274
|
-
* Observations are append-only — they do not mutate the revision's `data`
|
|
275
|
-
* but augment it with actor-sourced findings.
|
|
276
|
-
*/
|
|
277
|
-
declare const ArtifactObservationSchema: z.ZodObject<{
|
|
278
|
-
id: z.ZodString;
|
|
279
|
-
kind: z.ZodString;
|
|
280
|
-
summary: z.ZodString;
|
|
281
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
282
|
-
severity: z.ZodOptional<z.ZodEnum<{
|
|
283
|
-
info: "info";
|
|
284
|
-
warning: "warning";
|
|
285
|
-
blocker: "blocker";
|
|
286
|
-
}>>;
|
|
287
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
288
|
-
regarding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
289
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
290
|
-
kind: z.ZodString;
|
|
291
|
-
id: z.ZodString;
|
|
292
|
-
revision: z.ZodString;
|
|
293
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
294
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
295
|
-
artifact: z.ZodObject<{
|
|
296
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
297
|
-
kind: z.ZodString;
|
|
298
|
-
id: z.ZodString;
|
|
299
|
-
revision: z.ZodString;
|
|
300
|
-
}, z.core.$strip>;
|
|
301
|
-
localId: z.ZodString;
|
|
302
|
-
}, z.core.$strip>]>>;
|
|
303
|
-
evidence: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
304
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
305
|
-
kind: z.ZodString;
|
|
306
|
-
id: z.ZodString;
|
|
307
|
-
revision: z.ZodString;
|
|
308
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
309
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
310
|
-
kind: z.ZodString;
|
|
311
|
-
id: z.ZodString;
|
|
312
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
313
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
314
|
-
}, z.core.$strip>]>>;
|
|
315
|
-
actor: z.ZodObject<{
|
|
316
|
-
kind: z.ZodString;
|
|
317
|
-
id: z.ZodString;
|
|
318
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
319
|
-
}, z.core.$strip>;
|
|
320
|
-
timestamp: z.ZodNumber;
|
|
321
|
-
}, z.core.$strip>;
|
|
322
|
-
/**
|
|
323
|
-
* Human-readable rendering hints for an artifact revision.
|
|
324
|
-
*
|
|
325
|
-
* All fields are optional — consumers may fall back to raw `data` when
|
|
326
|
-
* none are provided.
|
|
327
|
-
*/
|
|
328
|
-
declare const ArtifactRepresentationsSchema: z.ZodObject<{
|
|
329
|
-
markdown: z.ZodOptional<z.ZodString>;
|
|
330
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
331
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
332
|
-
}, z.core.$strip>;
|
|
333
|
-
/**
|
|
334
|
-
* A complete, immutable artifact revision.
|
|
335
|
-
*
|
|
336
|
-
* Each write to the artifact store creates a new revision; the previous
|
|
337
|
-
* revision is never mutated. Callers should use the generic {@link ArtifactRevision}
|
|
338
|
-
* type alias when they need a strongly-typed `data` field.
|
|
339
|
-
*/
|
|
340
|
-
declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
341
|
-
kind: z.ZodString;
|
|
342
|
-
id: z.ZodString;
|
|
343
|
-
revision: z.ZodString;
|
|
344
|
-
scope: z.ZodObject<{
|
|
345
|
-
level: z.ZodString;
|
|
346
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
347
|
-
}, z.core.$strip>;
|
|
348
|
-
schemaVersion: z.ZodString;
|
|
349
|
-
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
350
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
351
|
-
type: z.ZodString;
|
|
352
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
353
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
354
|
-
kind: z.ZodString;
|
|
355
|
-
id: z.ZodString;
|
|
356
|
-
revision: z.ZodString;
|
|
357
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
359
|
-
artifact: z.ZodObject<{
|
|
360
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
361
|
-
kind: z.ZodString;
|
|
362
|
-
id: z.ZodString;
|
|
363
|
-
revision: z.ZodString;
|
|
364
|
-
}, z.core.$strip>;
|
|
365
|
-
localId: z.ZodString;
|
|
366
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
367
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
368
|
-
kind: z.ZodString;
|
|
369
|
-
id: z.ZodString;
|
|
370
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
371
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
372
|
-
}, z.core.$strip>], "refClass">>;
|
|
373
|
-
}, z.core.$strip>>;
|
|
374
|
-
confidence: z.ZodOptional<z.ZodObject<{
|
|
375
|
-
level: z.ZodEnum<{
|
|
376
|
-
inferred: "inferred";
|
|
377
|
-
assumed: "assumed";
|
|
378
|
-
stated: "stated";
|
|
379
|
-
confirmed: "confirmed";
|
|
380
|
-
verified: "verified";
|
|
381
|
-
}>;
|
|
382
|
-
basis: z.ZodArray<z.ZodObject<{
|
|
383
|
-
kind: z.ZodString;
|
|
384
|
-
actor: z.ZodObject<{
|
|
385
|
-
kind: z.ZodString;
|
|
386
|
-
id: z.ZodString;
|
|
387
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
388
|
-
}, z.core.$strip>;
|
|
389
|
-
timestamp: z.ZodNumber;
|
|
390
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
391
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
392
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
393
|
-
kind: z.ZodString;
|
|
394
|
-
id: z.ZodString;
|
|
395
|
-
revision: z.ZodString;
|
|
396
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
397
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
398
|
-
artifact: z.ZodObject<{
|
|
399
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
400
|
-
kind: z.ZodString;
|
|
401
|
-
id: z.ZodString;
|
|
402
|
-
revision: z.ZodString;
|
|
403
|
-
}, z.core.$strip>;
|
|
404
|
-
localId: z.ZodString;
|
|
405
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
406
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
407
|
-
kind: z.ZodString;
|
|
408
|
-
id: z.ZodString;
|
|
409
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
410
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
411
|
-
}, z.core.$strip>], "refClass">>>;
|
|
412
|
-
}, z.core.$strip>>;
|
|
413
|
-
}, z.core.$strip>>;
|
|
414
|
-
representations: z.ZodOptional<z.ZodObject<{
|
|
415
|
-
markdown: z.ZodOptional<z.ZodString>;
|
|
416
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
417
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
418
|
-
}, z.core.$strip>>;
|
|
419
|
-
actor: z.ZodObject<{
|
|
420
|
-
kind: z.ZodString;
|
|
421
|
-
id: z.ZodString;
|
|
422
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
423
|
-
}, z.core.$strip>;
|
|
424
|
-
timestamp: z.ZodNumber;
|
|
425
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
426
|
-
}, z.core.$strip>;
|
|
427
|
-
/**
|
|
428
|
-
* Strategy used when two revisions of the same artifact conflict.
|
|
429
|
-
*
|
|
430
|
-
* - `supersedes` — newer revision wins; older is archived automatically
|
|
431
|
-
* - `manual` — host must resolve the conflict explicitly
|
|
432
|
-
* - `coexist` — both revisions are kept; conflict is surfaced to consumers
|
|
433
|
-
*/
|
|
434
|
-
declare const ArtifactConflictPolicySchema: z.ZodEnum<{
|
|
435
|
-
manual: "manual";
|
|
436
|
-
supersedes: "supersedes";
|
|
437
|
-
coexist: "coexist";
|
|
438
|
-
}>;
|
|
439
|
-
/**
|
|
440
|
-
* Registration record for a named artifact kind.
|
|
441
|
-
*
|
|
442
|
-
* Kind registrations are declared by product extensions and consumed by the
|
|
443
|
-
* artifact service to validate, index, and lifecycle-manage revisions of that kind.
|
|
444
|
-
*/
|
|
445
|
-
declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
446
|
-
kind: z.ZodString;
|
|
447
|
-
description: z.ZodString;
|
|
448
|
-
schemaVersion: z.ZodString;
|
|
449
|
-
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
450
|
-
scopeSchema: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
451
|
-
observationSchema: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
452
|
-
discriminator: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
453
|
-
conflictPolicy: z.ZodEnum<{
|
|
454
|
-
manual: "manual";
|
|
455
|
-
supersedes: "supersedes";
|
|
456
|
-
coexist: "coexist";
|
|
457
|
-
}>;
|
|
458
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
459
|
-
path: z.ZodString;
|
|
460
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
461
|
-
}, z.core.$strip>>;
|
|
462
|
-
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
463
|
-
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
464
|
-
active: "active";
|
|
465
|
-
archived: "archived";
|
|
466
|
-
fading: "fading";
|
|
467
|
-
retired: "retired";
|
|
468
|
-
}>>;
|
|
469
|
-
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
470
|
-
}, z.core.$strip>>;
|
|
471
|
-
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
472
|
-
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
473
|
-
projection: z.ZodOptional<z.ZodObject<{
|
|
474
|
-
mode: z.ZodEnum<{
|
|
475
|
-
none: "none";
|
|
476
|
-
comment: "comment";
|
|
477
|
-
surface: "surface";
|
|
478
|
-
}>;
|
|
479
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
480
|
-
artifact: "artifact";
|
|
481
|
-
workpiece: "workpiece";
|
|
482
|
-
}>>;
|
|
483
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
484
|
-
created: "created";
|
|
485
|
-
revised: "revised";
|
|
486
|
-
"status-changed": "status-changed";
|
|
487
|
-
"observation-added": "observation-added";
|
|
488
|
-
}>>>;
|
|
489
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
490
|
-
path: z.ZodString;
|
|
491
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
492
|
-
status: "status";
|
|
493
|
-
workflow: "workflow";
|
|
494
|
-
priority: "priority";
|
|
495
|
-
}>>;
|
|
496
|
-
}, z.core.$strip>>>;
|
|
497
|
-
}, z.core.$strip>>;
|
|
498
|
-
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
499
|
-
}, z.core.$strip>;
|
|
500
|
-
/**
|
|
501
|
-
* Registration record for a named relation type.
|
|
502
|
-
*
|
|
503
|
-
* Relation type registrations declare the semantics and valid endpoints
|
|
504
|
-
* for a given relation `type` string.
|
|
505
|
-
*/
|
|
506
|
-
declare const RelationTypeRegistrationSchema: z.ZodObject<{
|
|
507
|
-
type: z.ZodString;
|
|
508
|
-
symmetry: z.ZodEnum<{
|
|
509
|
-
asymmetric: "asymmetric";
|
|
510
|
-
symmetric: "symmetric";
|
|
511
|
-
}>;
|
|
512
|
-
implication: z.ZodOptional<z.ZodString>;
|
|
513
|
-
sourceKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
514
|
-
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
515
|
-
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
516
|
-
local: "local";
|
|
517
|
-
artifact: "artifact";
|
|
518
|
-
evidence: "evidence";
|
|
519
|
-
}>>>;
|
|
520
|
-
}, z.core.$strip>;
|
|
521
|
-
/**
|
|
522
|
-
* Query parameters for retrieving artifact revisions from the store.
|
|
523
|
-
*
|
|
524
|
-
* All fields are optional and composed with AND semantics; omitting a field
|
|
525
|
-
* leaves that dimension unconstrained.
|
|
526
|
-
*/
|
|
527
|
-
declare const ArtifactQueryRequestSchema: z.ZodObject<{
|
|
528
|
-
kind: z.ZodOptional<z.ZodString>;
|
|
529
|
-
scope: z.ZodOptional<z.ZodObject<{
|
|
530
|
-
level: z.ZodString;
|
|
531
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
532
|
-
}, z.core.$strip>>;
|
|
533
|
-
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
|
-
currentOnly: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
-
search: z.ZodOptional<z.ZodString>;
|
|
536
|
-
relation: z.ZodOptional<z.ZodObject<{
|
|
537
|
-
type: z.ZodOptional<z.ZodString>;
|
|
538
|
-
target: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
539
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
540
|
-
kind: z.ZodString;
|
|
541
|
-
id: z.ZodString;
|
|
542
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
543
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
545
|
-
artifact: z.ZodObject<{
|
|
546
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
547
|
-
kind: z.ZodString;
|
|
548
|
-
id: z.ZodString;
|
|
549
|
-
revision: z.ZodString;
|
|
550
|
-
}, z.core.$strip>;
|
|
551
|
-
localId: z.ZodString;
|
|
552
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
554
|
-
kind: z.ZodString;
|
|
555
|
-
id: z.ZodString;
|
|
556
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
557
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
558
|
-
}, z.core.$strip>], "refClass">>>;
|
|
559
|
-
}, z.core.$strip>>;
|
|
560
|
-
confidence: z.ZodOptional<z.ZodObject<{
|
|
561
|
-
maxLevel: z.ZodOptional<z.ZodEnum<{
|
|
562
|
-
inferred: "inferred";
|
|
563
|
-
assumed: "assumed";
|
|
564
|
-
stated: "stated";
|
|
565
|
-
confirmed: "confirmed";
|
|
566
|
-
verified: "verified";
|
|
567
|
-
}>>;
|
|
568
|
-
minLevel: z.ZodOptional<z.ZodEnum<{
|
|
569
|
-
inferred: "inferred";
|
|
570
|
-
assumed: "assumed";
|
|
571
|
-
stated: "stated";
|
|
572
|
-
confirmed: "confirmed";
|
|
573
|
-
verified: "verified";
|
|
574
|
-
}>>;
|
|
575
|
-
}, z.core.$strip>>;
|
|
576
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
577
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
578
|
-
}, z.core.$strip>;
|
|
579
|
-
/**
|
|
580
|
-
* Request to compare two artifact revisions.
|
|
581
|
-
*/
|
|
582
|
-
declare const ArtifactCompareRequestSchema: z.ZodObject<{
|
|
583
|
-
base: z.ZodObject<{
|
|
584
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
585
|
-
kind: z.ZodString;
|
|
586
|
-
id: z.ZodString;
|
|
587
|
-
revision: z.ZodString;
|
|
588
|
-
}, z.core.$strip>;
|
|
589
|
-
target: z.ZodObject<{
|
|
590
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
591
|
-
kind: z.ZodString;
|
|
592
|
-
id: z.ZodString;
|
|
593
|
-
revision: z.ZodString;
|
|
594
|
-
}, z.core.$strip>;
|
|
595
|
-
}, z.core.$strip>;
|
|
596
|
-
/**
|
|
597
|
-
* Result of comparing two artifact revisions.
|
|
598
|
-
*
|
|
599
|
-
* `changedPaths` lists the dot-separated paths within `data` that differ
|
|
600
|
-
* between `base` and `target`.
|
|
601
|
-
*/
|
|
602
|
-
declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
603
|
-
base: z.ZodObject<{
|
|
604
|
-
kind: z.ZodString;
|
|
605
|
-
id: z.ZodString;
|
|
606
|
-
revision: z.ZodString;
|
|
607
|
-
scope: z.ZodObject<{
|
|
608
|
-
level: z.ZodString;
|
|
609
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
610
|
-
}, z.core.$strip>;
|
|
611
|
-
schemaVersion: z.ZodString;
|
|
612
|
-
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
613
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
614
|
-
type: z.ZodString;
|
|
615
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
616
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
617
|
-
kind: z.ZodString;
|
|
618
|
-
id: z.ZodString;
|
|
619
|
-
revision: z.ZodString;
|
|
620
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
621
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
622
|
-
artifact: z.ZodObject<{
|
|
623
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
624
|
-
kind: z.ZodString;
|
|
625
|
-
id: z.ZodString;
|
|
626
|
-
revision: z.ZodString;
|
|
627
|
-
}, z.core.$strip>;
|
|
628
|
-
localId: z.ZodString;
|
|
629
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
630
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
631
|
-
kind: z.ZodString;
|
|
632
|
-
id: z.ZodString;
|
|
633
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
634
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
635
|
-
}, z.core.$strip>], "refClass">>;
|
|
636
|
-
}, z.core.$strip>>;
|
|
637
|
-
confidence: z.ZodOptional<z.ZodObject<{
|
|
638
|
-
level: z.ZodEnum<{
|
|
639
|
-
inferred: "inferred";
|
|
640
|
-
assumed: "assumed";
|
|
641
|
-
stated: "stated";
|
|
642
|
-
confirmed: "confirmed";
|
|
643
|
-
verified: "verified";
|
|
644
|
-
}>;
|
|
645
|
-
basis: z.ZodArray<z.ZodObject<{
|
|
646
|
-
kind: z.ZodString;
|
|
647
|
-
actor: z.ZodObject<{
|
|
648
|
-
kind: z.ZodString;
|
|
649
|
-
id: z.ZodString;
|
|
650
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
651
|
-
}, z.core.$strip>;
|
|
652
|
-
timestamp: z.ZodNumber;
|
|
653
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
654
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
655
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
656
|
-
kind: z.ZodString;
|
|
657
|
-
id: z.ZodString;
|
|
658
|
-
revision: z.ZodString;
|
|
659
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
660
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
661
|
-
artifact: z.ZodObject<{
|
|
662
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
663
|
-
kind: z.ZodString;
|
|
664
|
-
id: z.ZodString;
|
|
665
|
-
revision: z.ZodString;
|
|
666
|
-
}, z.core.$strip>;
|
|
667
|
-
localId: z.ZodString;
|
|
668
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
669
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
670
|
-
kind: z.ZodString;
|
|
671
|
-
id: z.ZodString;
|
|
672
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
673
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, z.core.$strip>], "refClass">>>;
|
|
675
|
-
}, z.core.$strip>>;
|
|
676
|
-
}, z.core.$strip>>;
|
|
677
|
-
representations: z.ZodOptional<z.ZodObject<{
|
|
678
|
-
markdown: z.ZodOptional<z.ZodString>;
|
|
679
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
680
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
681
|
-
}, z.core.$strip>>;
|
|
682
|
-
actor: z.ZodObject<{
|
|
683
|
-
kind: z.ZodString;
|
|
684
|
-
id: z.ZodString;
|
|
685
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
686
|
-
}, z.core.$strip>;
|
|
687
|
-
timestamp: z.ZodNumber;
|
|
688
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
689
|
-
}, z.core.$strip>;
|
|
690
|
-
target: z.ZodObject<{
|
|
691
|
-
kind: z.ZodString;
|
|
692
|
-
id: z.ZodString;
|
|
693
|
-
revision: z.ZodString;
|
|
694
|
-
scope: z.ZodObject<{
|
|
695
|
-
level: z.ZodString;
|
|
696
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
697
|
-
}, z.core.$strip>;
|
|
698
|
-
schemaVersion: z.ZodString;
|
|
699
|
-
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
700
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
701
|
-
type: z.ZodString;
|
|
702
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
703
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
704
|
-
kind: z.ZodString;
|
|
705
|
-
id: z.ZodString;
|
|
706
|
-
revision: z.ZodString;
|
|
707
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
708
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
709
|
-
artifact: z.ZodObject<{
|
|
710
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
711
|
-
kind: z.ZodString;
|
|
712
|
-
id: z.ZodString;
|
|
713
|
-
revision: z.ZodString;
|
|
714
|
-
}, z.core.$strip>;
|
|
715
|
-
localId: z.ZodString;
|
|
716
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
717
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
718
|
-
kind: z.ZodString;
|
|
719
|
-
id: z.ZodString;
|
|
720
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
721
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
722
|
-
}, z.core.$strip>], "refClass">>;
|
|
723
|
-
}, z.core.$strip>>;
|
|
724
|
-
confidence: z.ZodOptional<z.ZodObject<{
|
|
725
|
-
level: z.ZodEnum<{
|
|
726
|
-
inferred: "inferred";
|
|
727
|
-
assumed: "assumed";
|
|
728
|
-
stated: "stated";
|
|
729
|
-
confirmed: "confirmed";
|
|
730
|
-
verified: "verified";
|
|
731
|
-
}>;
|
|
732
|
-
basis: z.ZodArray<z.ZodObject<{
|
|
733
|
-
kind: z.ZodString;
|
|
734
|
-
actor: z.ZodObject<{
|
|
735
|
-
kind: z.ZodString;
|
|
736
|
-
id: z.ZodString;
|
|
737
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
738
|
-
}, z.core.$strip>;
|
|
739
|
-
timestamp: z.ZodNumber;
|
|
740
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
741
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
742
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
743
|
-
kind: z.ZodString;
|
|
744
|
-
id: z.ZodString;
|
|
745
|
-
revision: z.ZodString;
|
|
746
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
747
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
748
|
-
artifact: z.ZodObject<{
|
|
749
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
750
|
-
kind: z.ZodString;
|
|
751
|
-
id: z.ZodString;
|
|
752
|
-
revision: z.ZodString;
|
|
753
|
-
}, z.core.$strip>;
|
|
754
|
-
localId: z.ZodString;
|
|
755
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
756
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
757
|
-
kind: z.ZodString;
|
|
758
|
-
id: z.ZodString;
|
|
759
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
760
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
761
|
-
}, z.core.$strip>], "refClass">>>;
|
|
762
|
-
}, z.core.$strip>>;
|
|
763
|
-
}, z.core.$strip>>;
|
|
764
|
-
representations: z.ZodOptional<z.ZodObject<{
|
|
765
|
-
markdown: z.ZodOptional<z.ZodString>;
|
|
766
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
767
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
768
|
-
}, z.core.$strip>>;
|
|
769
|
-
actor: z.ZodObject<{
|
|
770
|
-
kind: z.ZodString;
|
|
771
|
-
id: z.ZodString;
|
|
772
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
773
|
-
}, z.core.$strip>;
|
|
774
|
-
timestamp: z.ZodNumber;
|
|
775
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
776
|
-
}, z.core.$strip>;
|
|
777
|
-
changedPaths: z.ZodArray<z.ZodString>;
|
|
778
|
-
}, z.core.$strip>;
|
|
779
|
-
/** Actor identity for artifact authorship and confidence attribution. */
|
|
780
|
-
type ArtifactActor = z.infer<typeof ArtifactActorSchema>;
|
|
781
|
-
/** Scope descriptor for an artifact revision. */
|
|
782
|
-
type ArtifactScope = z.infer<typeof ArtifactScopeSchema>;
|
|
783
|
-
/** Scope descriptor for artifact query filters. */
|
|
784
|
-
type ArtifactQueryScope = z.infer<typeof ArtifactQueryScopeSchema>;
|
|
785
|
-
/** Immutable pointer to a specific artifact revision. */
|
|
786
|
-
type ArtifactRef$1 = z.infer<typeof ArtifactRefSchema>;
|
|
787
|
-
/** Pointer to a named sub-element within a specific artifact revision. */
|
|
788
|
-
type LocalRef = z.infer<typeof LocalRefSchema>;
|
|
789
|
-
/** Pointer to external evidence outside the artifact store. */
|
|
790
|
-
type EvidenceRef = z.infer<typeof EvidenceRefSchema>;
|
|
791
|
-
/** Union of all valid relation-target reference classes. */
|
|
792
|
-
type ArtifactRelationTarget = z.infer<typeof ArtifactRelationTargetSchema>;
|
|
793
|
-
/** Union of all valid relation-target reference classes for query filters. Artifact refs may omit revision. */
|
|
794
|
-
type ArtifactRelationQueryTarget = z.infer<typeof ArtifactRelationQueryTargetSchema>;
|
|
795
|
-
/** A typed directional link from an artifact to a relation target. */
|
|
796
|
-
type ArtifactRelation = z.infer<typeof ArtifactRelationSchema>;
|
|
797
|
-
/** Ordered confidence level for an artifact assertion. */
|
|
798
|
-
type ConfidenceLevel = z.infer<typeof ConfidenceLevelSchema>;
|
|
799
|
-
/** One piece of evidence contributing to overall artifact confidence. */
|
|
800
|
-
type ConfidenceBasis = z.infer<typeof ConfidenceBasisSchema>;
|
|
801
|
-
/** Aggregated confidence metadata for an artifact revision. */
|
|
802
|
-
type ConfidenceMetadata = z.infer<typeof ConfidenceMetadataSchema>;
|
|
803
|
-
/** A typed observation attached to an artifact revision. */
|
|
804
|
-
type ArtifactObservation$1 = z.infer<typeof ArtifactObservationSchema>;
|
|
805
|
-
/** Human-readable rendering hints for an artifact revision. */
|
|
806
|
-
type ArtifactRepresentations = z.infer<typeof ArtifactRepresentationsSchema>;
|
|
807
|
-
/**
|
|
808
|
-
* A complete, immutable artifact revision.
|
|
809
|
-
*
|
|
810
|
-
* The generic `TData` parameter narrows the `data` field to a specific
|
|
811
|
-
* kind-validated shape, while defaulting to `Record<string, unknown>` for
|
|
812
|
-
* untyped call sites.
|
|
813
|
-
* @typeParam TData - Kind-specific payload type for the `data` field.
|
|
814
|
-
*/
|
|
815
|
-
type ArtifactRevision$1<TData extends Record<string, unknown> = Record<string, unknown>> = Omit<z.infer<typeof ArtifactRevisionSchema>, 'data'> & {
|
|
816
|
-
data: TData;
|
|
817
|
-
};
|
|
818
|
-
/** Conflict resolution strategy for an artifact kind. */
|
|
819
|
-
type ArtifactConflictPolicy = z.infer<typeof ArtifactConflictPolicySchema>;
|
|
820
|
-
/** Registration record for a named artifact kind. */
|
|
821
|
-
type ArtifactKindRegistration$1 = z.infer<typeof ArtifactKindRegistrationSchema>;
|
|
822
|
-
/** Registration record for a named relation type. */
|
|
823
|
-
type RelationTypeRegistration$1 = z.infer<typeof RelationTypeRegistrationSchema>;
|
|
824
|
-
/** Query parameters for retrieving artifact revisions from the store. */
|
|
825
|
-
type ArtifactQueryRequest = z.infer<typeof ArtifactQueryRequestSchema>;
|
|
826
|
-
/** Request to compare two artifact revisions. */
|
|
827
|
-
type ArtifactCompareRequest = z.infer<typeof ArtifactCompareRequestSchema>;
|
|
828
|
-
/** Result of comparing two artifact revisions. */
|
|
829
|
-
type ArtifactCompareResponse = z.infer<typeof ArtifactCompareResponseSchema>;
|
|
830
|
-
//#endregion
|
|
831
7
|
//#region core/contracts/src/artifact/context-selectors.d.ts
|
|
832
8
|
/** Known render hints for artifact context resolution. */
|
|
833
9
|
declare const ARTIFACT_CONTEXT_RENDER_HINTS: readonly ["inline", "summary", "link", "omit"];
|
|
@@ -1346,218 +522,6 @@ interface DefineArtifactKindOptions<TData extends Record<string, unknown>, TScop
|
|
|
1346
522
|
*/
|
|
1347
523
|
declare function defineArtifactKind<TData extends Record<string, unknown>, TScope extends ArtifactScope = ArtifactScope>(options: DefineArtifactKindOptions<TData, TScope>): ArtifactKindDefinition<TData, TScope>;
|
|
1348
524
|
//#endregion
|
|
1349
|
-
//#region core/contracts/src/artifact/context-resolution.d.ts
|
|
1350
|
-
/**
|
|
1351
|
-
* Reasons why a relation target was not resolved during context resolution.
|
|
1352
|
-
*
|
|
1353
|
-
* v1 omits `scope-denied` -- no scope policy seam exists yet.
|
|
1354
|
-
*/
|
|
1355
|
-
declare const ArtifactContextUnresolvedReasonSchema: z.ZodEnum<{
|
|
1356
|
-
"not-selected": "not-selected";
|
|
1357
|
-
"not-found": "not-found";
|
|
1358
|
-
"depth-exceeded": "depth-exceeded";
|
|
1359
|
-
"unsupported-ref-class": "unsupported-ref-class";
|
|
1360
|
-
"cycle-detected": "cycle-detected";
|
|
1361
|
-
}>;
|
|
1362
|
-
/** An unresolved reason for a context ref entry. */
|
|
1363
|
-
type ArtifactContextUnresolvedReason = z.infer<typeof ArtifactContextUnresolvedReasonSchema>;
|
|
1364
|
-
/**
|
|
1365
|
-
* A single entry in the normalized artifact context wire format.
|
|
1366
|
-
*
|
|
1367
|
-
* Each entry records one outbound relation from a source artifact to a
|
|
1368
|
-
* target, along with resolution status and the render hint used.
|
|
1369
|
-
*/
|
|
1370
|
-
declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
1371
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1372
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1373
|
-
kind: z.ZodString;
|
|
1374
|
-
id: z.ZodString;
|
|
1375
|
-
revision: z.ZodString;
|
|
1376
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1378
|
-
artifact: z.ZodObject<{
|
|
1379
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1380
|
-
kind: z.ZodString;
|
|
1381
|
-
id: z.ZodString;
|
|
1382
|
-
revision: z.ZodString;
|
|
1383
|
-
}, z.core.$strip>;
|
|
1384
|
-
localId: z.ZodString;
|
|
1385
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1386
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1387
|
-
kind: z.ZodString;
|
|
1388
|
-
id: z.ZodString;
|
|
1389
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1390
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
}, z.core.$strip>], "refClass">>;
|
|
1392
|
-
sourceRef: z.ZodObject<{
|
|
1393
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1394
|
-
kind: z.ZodString;
|
|
1395
|
-
id: z.ZodString;
|
|
1396
|
-
revision: z.ZodString;
|
|
1397
|
-
}, z.core.$strip>;
|
|
1398
|
-
relationType: z.ZodString;
|
|
1399
|
-
hint: z.ZodString;
|
|
1400
|
-
status: z.ZodEnum<{
|
|
1401
|
-
resolved: "resolved";
|
|
1402
|
-
unresolved: "unresolved";
|
|
1403
|
-
}>;
|
|
1404
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
-
"not-selected": "not-selected";
|
|
1406
|
-
"not-found": "not-found";
|
|
1407
|
-
"depth-exceeded": "depth-exceeded";
|
|
1408
|
-
"unsupported-ref-class": "unsupported-ref-class";
|
|
1409
|
-
"cycle-detected": "cycle-detected";
|
|
1410
|
-
}>>;
|
|
1411
|
-
}, z.core.$strip>;
|
|
1412
|
-
/** A single resolved or unresolved context ref entry. */
|
|
1413
|
-
type ArtifactContextRefEntry = z.infer<typeof ArtifactContextRefEntrySchema>;
|
|
1414
|
-
/**
|
|
1415
|
-
* Normalized wire format for a resolved artifact context graph.
|
|
1416
|
-
*
|
|
1417
|
-
* Contains the root artifact reference, all encountered relation entries
|
|
1418
|
-
* (both resolved and unresolved), and the pool of resolved artifact
|
|
1419
|
-
* revisions referenced by the entries.
|
|
1420
|
-
*/
|
|
1421
|
-
declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
1422
|
-
rootRef: z.ZodObject<{
|
|
1423
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1424
|
-
kind: z.ZodString;
|
|
1425
|
-
id: z.ZodString;
|
|
1426
|
-
revision: z.ZodString;
|
|
1427
|
-
}, z.core.$strip>;
|
|
1428
|
-
refs: z.ZodArray<z.ZodObject<{
|
|
1429
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1430
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1431
|
-
kind: z.ZodString;
|
|
1432
|
-
id: z.ZodString;
|
|
1433
|
-
revision: z.ZodString;
|
|
1434
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1435
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1436
|
-
artifact: z.ZodObject<{
|
|
1437
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1438
|
-
kind: z.ZodString;
|
|
1439
|
-
id: z.ZodString;
|
|
1440
|
-
revision: z.ZodString;
|
|
1441
|
-
}, z.core.$strip>;
|
|
1442
|
-
localId: z.ZodString;
|
|
1443
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1444
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1445
|
-
kind: z.ZodString;
|
|
1446
|
-
id: z.ZodString;
|
|
1447
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1448
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1449
|
-
}, z.core.$strip>], "refClass">>;
|
|
1450
|
-
sourceRef: z.ZodObject<{
|
|
1451
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1452
|
-
kind: z.ZodString;
|
|
1453
|
-
id: z.ZodString;
|
|
1454
|
-
revision: z.ZodString;
|
|
1455
|
-
}, z.core.$strip>;
|
|
1456
|
-
relationType: z.ZodString;
|
|
1457
|
-
hint: z.ZodString;
|
|
1458
|
-
status: z.ZodEnum<{
|
|
1459
|
-
resolved: "resolved";
|
|
1460
|
-
unresolved: "unresolved";
|
|
1461
|
-
}>;
|
|
1462
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1463
|
-
"not-selected": "not-selected";
|
|
1464
|
-
"not-found": "not-found";
|
|
1465
|
-
"depth-exceeded": "depth-exceeded";
|
|
1466
|
-
"unsupported-ref-class": "unsupported-ref-class";
|
|
1467
|
-
"cycle-detected": "cycle-detected";
|
|
1468
|
-
}>>;
|
|
1469
|
-
}, z.core.$strip>>;
|
|
1470
|
-
resolved: z.ZodArray<z.ZodObject<{
|
|
1471
|
-
kind: z.ZodString;
|
|
1472
|
-
id: z.ZodString;
|
|
1473
|
-
revision: z.ZodString;
|
|
1474
|
-
scope: z.ZodObject<{
|
|
1475
|
-
level: z.ZodString;
|
|
1476
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1477
|
-
}, z.core.$strip>;
|
|
1478
|
-
schemaVersion: z.ZodString;
|
|
1479
|
-
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1480
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1481
|
-
type: z.ZodString;
|
|
1482
|
-
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1484
|
-
kind: z.ZodString;
|
|
1485
|
-
id: z.ZodString;
|
|
1486
|
-
revision: z.ZodString;
|
|
1487
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1488
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1489
|
-
artifact: z.ZodObject<{
|
|
1490
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1491
|
-
kind: z.ZodString;
|
|
1492
|
-
id: z.ZodString;
|
|
1493
|
-
revision: z.ZodString;
|
|
1494
|
-
}, z.core.$strip>;
|
|
1495
|
-
localId: z.ZodString;
|
|
1496
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1497
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1498
|
-
kind: z.ZodString;
|
|
1499
|
-
id: z.ZodString;
|
|
1500
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1501
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1502
|
-
}, z.core.$strip>], "refClass">>;
|
|
1503
|
-
}, z.core.$strip>>;
|
|
1504
|
-
confidence: z.ZodOptional<z.ZodObject<{
|
|
1505
|
-
level: z.ZodEnum<{
|
|
1506
|
-
inferred: "inferred";
|
|
1507
|
-
assumed: "assumed";
|
|
1508
|
-
stated: "stated";
|
|
1509
|
-
confirmed: "confirmed";
|
|
1510
|
-
verified: "verified";
|
|
1511
|
-
}>;
|
|
1512
|
-
basis: z.ZodArray<z.ZodObject<{
|
|
1513
|
-
kind: z.ZodString;
|
|
1514
|
-
actor: z.ZodObject<{
|
|
1515
|
-
kind: z.ZodString;
|
|
1516
|
-
id: z.ZodString;
|
|
1517
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1518
|
-
}, z.core.$strip>;
|
|
1519
|
-
timestamp: z.ZodNumber;
|
|
1520
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1522
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1523
|
-
kind: z.ZodString;
|
|
1524
|
-
id: z.ZodString;
|
|
1525
|
-
revision: z.ZodString;
|
|
1526
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1527
|
-
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
1528
|
-
artifact: z.ZodObject<{
|
|
1529
|
-
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
1530
|
-
kind: z.ZodString;
|
|
1531
|
-
id: z.ZodString;
|
|
1532
|
-
revision: z.ZodString;
|
|
1533
|
-
}, z.core.$strip>;
|
|
1534
|
-
localId: z.ZodString;
|
|
1535
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
-
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
1537
|
-
kind: z.ZodString;
|
|
1538
|
-
id: z.ZodString;
|
|
1539
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1540
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
1541
|
-
}, z.core.$strip>], "refClass">>>;
|
|
1542
|
-
}, z.core.$strip>>;
|
|
1543
|
-
}, z.core.$strip>>;
|
|
1544
|
-
representations: z.ZodOptional<z.ZodObject<{
|
|
1545
|
-
markdown: z.ZodOptional<z.ZodString>;
|
|
1546
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1547
|
-
plaintext: z.ZodOptional<z.ZodString>;
|
|
1548
|
-
}, z.core.$strip>>;
|
|
1549
|
-
actor: z.ZodObject<{
|
|
1550
|
-
kind: z.ZodString;
|
|
1551
|
-
id: z.ZodString;
|
|
1552
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1553
|
-
}, z.core.$strip>;
|
|
1554
|
-
timestamp: z.ZodNumber;
|
|
1555
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
-
}, z.core.$strip>>;
|
|
1557
|
-
}, z.core.$strip>;
|
|
1558
|
-
/** Normalized wire format for a resolved artifact context graph. */
|
|
1559
|
-
type ResolvedArtifactContextWire$1 = z.infer<typeof ResolvedArtifactContextWireSchema>;
|
|
1560
|
-
//#endregion
|
|
1561
525
|
//#region core/contracts/src/artifact/context-tree.d.ts
|
|
1562
526
|
/**
|
|
1563
527
|
* Hydrated tree representation of a resolved artifact context graph.
|
|
@@ -1654,9 +618,9 @@ declare const ArtifactSchemas: {
|
|
|
1654
618
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1655
619
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
1656
620
|
active: "active";
|
|
1657
|
-
archived: "archived";
|
|
1658
621
|
fading: "fading";
|
|
1659
622
|
retired: "retired";
|
|
623
|
+
archived: "archived";
|
|
1660
624
|
}>>;
|
|
1661
625
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
1662
626
|
}, z.core.$strip>>;
|
|
@@ -1685,7 +649,32 @@ declare const ArtifactSchemas: {
|
|
|
1685
649
|
workflow: "workflow";
|
|
1686
650
|
priority: "priority";
|
|
1687
651
|
}>>;
|
|
652
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
653
|
+
link: "link";
|
|
654
|
+
summary: "summary";
|
|
655
|
+
full: "full";
|
|
656
|
+
}>>;
|
|
657
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
title: "title";
|
|
659
|
+
summary: "summary";
|
|
660
|
+
}>>;
|
|
1688
661
|
}, z.core.$strip>>>;
|
|
662
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
663
|
+
kind: z.ZodLiteral<"own-view">;
|
|
664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
665
|
+
kind: z.ZodLiteral<"inline">;
|
|
666
|
+
hostRelation: z.ZodString;
|
|
667
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
link: "link";
|
|
669
|
+
summary: "summary";
|
|
670
|
+
full: "full";
|
|
671
|
+
}>>;
|
|
672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
673
|
+
kind: z.ZodLiteral<"entry">;
|
|
674
|
+
via: z.ZodOptional<z.ZodString>;
|
|
675
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
676
|
+
title: z.ZodOptional<z.ZodString>;
|
|
677
|
+
}, z.core.$strip>], "kind">>>;
|
|
1689
678
|
}, z.core.$strip>>;
|
|
1690
679
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
1691
680
|
}, z.core.$strip>;
|
|
@@ -1718,9 +707,9 @@ declare const ArtifactSchemas: {
|
|
|
1718
707
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
1719
708
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
1720
709
|
active: "active";
|
|
1721
|
-
archived: "archived";
|
|
1722
710
|
fading: "fading";
|
|
1723
711
|
retired: "retired";
|
|
712
|
+
archived: "archived";
|
|
1724
713
|
}>>;
|
|
1725
714
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
1726
715
|
}, z.core.$strip>>;
|
|
@@ -1749,7 +738,32 @@ declare const ArtifactSchemas: {
|
|
|
1749
738
|
workflow: "workflow";
|
|
1750
739
|
priority: "priority";
|
|
1751
740
|
}>>;
|
|
741
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
742
|
+
link: "link";
|
|
743
|
+
summary: "summary";
|
|
744
|
+
full: "full";
|
|
745
|
+
}>>;
|
|
746
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
747
|
+
title: "title";
|
|
748
|
+
summary: "summary";
|
|
749
|
+
}>>;
|
|
1752
750
|
}, z.core.$strip>>>;
|
|
751
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
752
|
+
kind: z.ZodLiteral<"own-view">;
|
|
753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
754
|
+
kind: z.ZodLiteral<"inline">;
|
|
755
|
+
hostRelation: z.ZodString;
|
|
756
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
757
|
+
link: "link";
|
|
758
|
+
summary: "summary";
|
|
759
|
+
full: "full";
|
|
760
|
+
}>>;
|
|
761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"entry">;
|
|
763
|
+
via: z.ZodOptional<z.ZodString>;
|
|
764
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
765
|
+
title: z.ZodOptional<z.ZodString>;
|
|
766
|
+
}, z.core.$strip>], "kind">>>;
|
|
1753
767
|
}, z.core.$strip>>;
|
|
1754
768
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
1755
769
|
}, z.core.$strip>>;
|
|
@@ -3055,9 +2069,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3055
2069
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
3056
2070
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
3057
2071
|
active: "active";
|
|
3058
|
-
archived: "archived";
|
|
3059
2072
|
fading: "fading";
|
|
3060
2073
|
retired: "retired";
|
|
2074
|
+
archived: "archived";
|
|
3061
2075
|
}>>;
|
|
3062
2076
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
3063
2077
|
}, z.core.$strip>>;
|
|
@@ -3086,7 +2100,32 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3086
2100
|
workflow: "workflow";
|
|
3087
2101
|
priority: "priority";
|
|
3088
2102
|
}>>;
|
|
2103
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
2104
|
+
link: "link";
|
|
2105
|
+
summary: "summary";
|
|
2106
|
+
full: "full";
|
|
2107
|
+
}>>;
|
|
2108
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
2109
|
+
title: "title";
|
|
2110
|
+
summary: "summary";
|
|
2111
|
+
}>>;
|
|
3089
2112
|
}, z.core.$strip>>>;
|
|
2113
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2114
|
+
kind: z.ZodLiteral<"own-view">;
|
|
2115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2116
|
+
kind: z.ZodLiteral<"inline">;
|
|
2117
|
+
hostRelation: z.ZodString;
|
|
2118
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
2119
|
+
link: "link";
|
|
2120
|
+
summary: "summary";
|
|
2121
|
+
full: "full";
|
|
2122
|
+
}>>;
|
|
2123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2124
|
+
kind: z.ZodLiteral<"entry">;
|
|
2125
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2128
|
+
}, z.core.$strip>], "kind">>>;
|
|
3090
2129
|
}, z.core.$strip>>;
|
|
3091
2130
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
3092
2131
|
}, z.core.$strip>;
|
|
@@ -3119,9 +2158,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3119
2158
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
3120
2159
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
3121
2160
|
active: "active";
|
|
3122
|
-
archived: "archived";
|
|
3123
2161
|
fading: "fading";
|
|
3124
2162
|
retired: "retired";
|
|
2163
|
+
archived: "archived";
|
|
3125
2164
|
}>>;
|
|
3126
2165
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
3127
2166
|
}, z.core.$strip>>;
|
|
@@ -3150,7 +2189,32 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3150
2189
|
workflow: "workflow";
|
|
3151
2190
|
priority: "priority";
|
|
3152
2191
|
}>>;
|
|
2192
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
2193
|
+
link: "link";
|
|
2194
|
+
summary: "summary";
|
|
2195
|
+
full: "full";
|
|
2196
|
+
}>>;
|
|
2197
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
2198
|
+
title: "title";
|
|
2199
|
+
summary: "summary";
|
|
2200
|
+
}>>;
|
|
3153
2201
|
}, z.core.$strip>>>;
|
|
2202
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2203
|
+
kind: z.ZodLiteral<"own-view">;
|
|
2204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2205
|
+
kind: z.ZodLiteral<"inline">;
|
|
2206
|
+
hostRelation: z.ZodString;
|
|
2207
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
2208
|
+
link: "link";
|
|
2209
|
+
summary: "summary";
|
|
2210
|
+
full: "full";
|
|
2211
|
+
}>>;
|
|
2212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2213
|
+
kind: z.ZodLiteral<"entry">;
|
|
2214
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2215
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2217
|
+
}, z.core.$strip>], "kind">>>;
|
|
3154
2218
|
}, z.core.$strip>>;
|
|
3155
2219
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
3156
2220
|
}, z.core.$strip>>;
|
|
@@ -4470,9 +3534,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4470
3534
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
4471
3535
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
4472
3536
|
active: "active";
|
|
4473
|
-
archived: "archived";
|
|
4474
3537
|
fading: "fading";
|
|
4475
3538
|
retired: "retired";
|
|
3539
|
+
archived: "archived";
|
|
4476
3540
|
}>>;
|
|
4477
3541
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
4478
3542
|
}, z.core.$strip>>;
|
|
@@ -4501,7 +3565,32 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4501
3565
|
workflow: "workflow";
|
|
4502
3566
|
priority: "priority";
|
|
4503
3567
|
}>>;
|
|
3568
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
3569
|
+
link: "link";
|
|
3570
|
+
summary: "summary";
|
|
3571
|
+
full: "full";
|
|
3572
|
+
}>>;
|
|
3573
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
3574
|
+
title: "title";
|
|
3575
|
+
summary: "summary";
|
|
3576
|
+
}>>;
|
|
4504
3577
|
}, z.core.$strip>>>;
|
|
3578
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3579
|
+
kind: z.ZodLiteral<"own-view">;
|
|
3580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3581
|
+
kind: z.ZodLiteral<"inline">;
|
|
3582
|
+
hostRelation: z.ZodString;
|
|
3583
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
3584
|
+
link: "link";
|
|
3585
|
+
summary: "summary";
|
|
3586
|
+
full: "full";
|
|
3587
|
+
}>>;
|
|
3588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3589
|
+
kind: z.ZodLiteral<"entry">;
|
|
3590
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3591
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
3592
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3593
|
+
}, z.core.$strip>], "kind">>>;
|
|
4505
3594
|
}, z.core.$strip>>;
|
|
4506
3595
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
4507
3596
|
}, z.core.$strip>;
|
|
@@ -4534,9 +3623,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4534
3623
|
lifecycle: z.ZodOptional<z.ZodObject<{
|
|
4535
3624
|
defaultRelevance: z.ZodOptional<z.ZodEnum<{
|
|
4536
3625
|
active: "active";
|
|
4537
|
-
archived: "archived";
|
|
4538
3626
|
fading: "fading";
|
|
4539
3627
|
retired: "retired";
|
|
3628
|
+
archived: "archived";
|
|
4540
3629
|
}>>;
|
|
4541
3630
|
decayPolicy: z.ZodOptional<z.ZodString>;
|
|
4542
3631
|
}, z.core.$strip>>;
|
|
@@ -4565,7 +3654,32 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4565
3654
|
workflow: "workflow";
|
|
4566
3655
|
priority: "priority";
|
|
4567
3656
|
}>>;
|
|
3657
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
3658
|
+
link: "link";
|
|
3659
|
+
summary: "summary";
|
|
3660
|
+
full: "full";
|
|
3661
|
+
}>>;
|
|
3662
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
3663
|
+
title: "title";
|
|
3664
|
+
summary: "summary";
|
|
3665
|
+
}>>;
|
|
4568
3666
|
}, z.core.$strip>>>;
|
|
3667
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3668
|
+
kind: z.ZodLiteral<"own-view">;
|
|
3669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3670
|
+
kind: z.ZodLiteral<"inline">;
|
|
3671
|
+
hostRelation: z.ZodString;
|
|
3672
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
3673
|
+
link: "link";
|
|
3674
|
+
summary: "summary";
|
|
3675
|
+
full: "full";
|
|
3676
|
+
}>>;
|
|
3677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3678
|
+
kind: z.ZodLiteral<"entry">;
|
|
3679
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
}, z.core.$strip>], "kind">>>;
|
|
4569
3683
|
}, z.core.$strip>>;
|
|
4570
3684
|
defaultContext: z.ZodOptional<z.ZodType<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, z.core.$ZodTypeInternals<Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>, Readonly<Record<string, _$_makaio_contracts0.ArtifactContextRelationSelector>>>>>;
|
|
4571
3685
|
}, z.core.$strip>>;
|
|
@@ -5889,4 +5003,4 @@ type ArtifactStatusChangedPayload = z.infer<(typeof ArtifactSchemas)['status.cha
|
|
|
5889
5003
|
/** Payload for the kind registration changed event. */
|
|
5890
5004
|
type ArtifactKindChangedPayload = z.infer<(typeof ArtifactSchemas)['kind.changed']>;
|
|
5891
5005
|
//#endregion
|
|
5892
|
-
export {
|
|
5006
|
+
export { ArtifactContextRelationSelectorSchema as $, ArtifactContextTree as A, ArtifactHookFilter as B, ArtifactRevisedPayload as C, hydrateArtifactContextTree as D, ArtifactSubjects$1 as E, ArtifactKindDefinition as F, ArtifactReactionHookContext as G, ArtifactLifecycleHookEvent as H, ArtifactOf as I, BeforeArtifactHookRegistration as J, ArtifactReactionHookRegistration as K, defineArtifactKind as L, UnresolvedArtifactContextNode as M, AnyArtifactKindDefinition as N, ArtifactContextNode as O, ArtifactDataOf as P, ArtifactContextRelationSelector as Q, ArtifactDraft as R, ArtifactReviseResponse as S, ArtifactStatusChangedPayload as T, ArtifactLifecycleHookRegistration$1 as U, ArtifactLifecycleHookDefinition as V, ArtifactLifecycleSemanticEvent as W, ARTIFACT_CONTEXT_RENDER_HINTS as X, defineArtifactLifecycleHooks as Y, ArtifactContextKnownRenderHint as Z, ArtifactResolveContextRequest as _, ArtifactKindListRequest as a, ArtifactResolveResponse as b, ArtifactKindRegisterResponse as c, ArtifactQueryResponse as d, ArtifactContextRenderHint as et, ArtifactRelationAddedPayload as f, ArtifactRelationTypeRegisterResponse as g, ArtifactRelationTypeRegisterRequest as h, ArtifactKindChangedPayload as i, ResolvedArtifactContextNode as j, ArtifactContextRootNode as k, ArtifactNamespace as l, ArtifactRelationTypeListResponse as m, ArtifactCreateResponse as n, ArtifactContextSelector$1 as nt, ArtifactKindListResponse as o, ArtifactRelationTypeListRequest as p, BeforeArtifactHookContext as q, ArtifactCreatedPayload as r, ArtifactContextSelectorSchema as rt, ArtifactKindRegisterRequest as s, ArtifactCreateRequest as t, ArtifactContextRenderHintSchema as tt, ArtifactObservationAddedPayload as u, ArtifactResolveContextResponse as v, ArtifactSchemas as w, ArtifactReviseRequest as x, ArtifactResolveRequest as y, ArtifactDraftPatch as z };
|