@makaio/framework 1.0.0-dev-1788832451167 → 1.0.0-dev-1788897280508
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-B3vLwm9O.mjs → account-identity-DCBpVurJ.mjs} +1 -1
- package/dist/{adapter-Dz1fX5Wa.mjs → adapter-D6IpEDIo.mjs} +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/artifact-OnwP6uaD.mjs +1 -0
- package/dist/attempt-record-codec-CqKq0NIB.mjs +1 -0
- package/dist/{auth-C6tVtaOX.mjs → auth-CeH3w2fi.mjs} +1 -1
- package/dist/authority-state-bootstrap-rnsTk0u7.mjs +1 -0
- package/dist/{automation-trigger-ByjNlClm.mjs → automation-trigger-D_xKqEoV.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/{caller-owned-adapter-stub-C1M7FKrv.mjs → caller-owned-adapter-stub-egWCuKcE.mjs} +1 -1
- package/dist/{canonical-model-DXOvCaVg.mjs → canonical-model-DwuFQ02A.mjs} +1 -1
- package/dist/{capabilities-DEvmD9VJ.mjs → capabilities-DGqMG9M3.mjs} +1 -1
- package/dist/{client-BkznbdsO.mjs → client-CTqzLpVx.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/code-execution/worker-entry.d.mts +1 -1
- package/dist/code-execution/worker-entry.mjs +1 -1
- package/dist/{code-execution-Ckmn8OZu.mjs → code-execution-BMmUATcc.mjs} +1 -1
- package/dist/{code-execution-CweDSWco.mjs → code-execution-C2PgBdmE.mjs} +1 -1
- package/dist/{code-execution-DqkQjKa1.mjs → code-execution-Mo1jztUH.mjs} +1 -1
- package/dist/{compression-CtgeVLpP.mjs → compression-3DauETKU.mjs} +1 -1
- package/dist/{config-namespace-CjWvw8ij.mjs → config-namespace-MjFuIPyL.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/automation-trigger/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/code-execution/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +102 -102
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker/index.d.mts +1 -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/{contribution-Crm-mctl.d.mts → contribution-BoTMoHVB.d.mts} +2 -2
- package/dist/{definition-u_5rYQtc.d.mts → definition-BgY763Q4.d.mts} +1 -1
- package/dist/{definition-BH4QLGLI.mjs → definition-YGj42UeO.mjs} +1 -1
- package/dist/{detached-extension-handle-DAXKQT9c.mjs → detached-extension-handle-B9c_6Pcb.mjs} +1 -1
- package/dist/execution-attempt-owner-recovery-BNERIDH0.mjs +1 -0
- package/dist/{execution-attempt-repository-CgB7uiYD.d.mts → execution-attempt-repository-CtFZfBfp.d.mts} +111 -3
- package/dist/{execution-target-BcoF_oDB.mjs → execution-target-CqaBmnvX.mjs} +1 -1
- package/dist/{extension-Bfkr2DBs.mjs → extension-B51JzHJu.mjs} +1 -1
- package/dist/extension-C4lFc8-j.mjs +1 -0
- package/dist/{filesystem-service-CiUw0YN5.mjs → filesystem-service-DGqU-6x-.mjs} +1 -1
- package/dist/framework-packages-CZJDukan.mjs +1 -0
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-QBDqstzq.mjs → globby-BT0rrriG.mjs} +1 -1
- package/dist/{handlers-BsHAFtye.mjs → handlers-CBbFzDHc.mjs} +1 -1
- package/dist/{harness-YQ2ewID9.mjs → harness-GNtHsoh4.mjs} +1 -1
- package/dist/{hook-responses-DcapjzLb.d.mts → hook-responses-BSCAdJ3i.d.mts} +1 -1
- package/dist/{index-QJW9g1mG.d.mts → index-BVRQOZbm.d.mts} +1 -1
- package/dist/{index-LryUXslm.d.mts → index-BZlmWCcW.d.mts} +3 -3
- package/dist/{index-rygpcDBV.d.mts → index-BZtasAZP.d.mts} +1 -1
- package/dist/{index-Bsr4rZl0.d.mts → index-BdbYIlDL.d.mts} +18 -18
- package/dist/{index-BxOFB25y.d.mts → index-BkY6zO7p.d.mts} +138 -115
- package/dist/{index-DZXpKlyB.d.mts → index-CDLHgV7v.d.mts} +14 -14
- package/dist/{index-CfJKwWJa.d.mts → index-CQtttPGm.d.mts} +1 -1
- package/dist/{index-BADuMxcP.d.mts → index-CYmQt2lF.d.mts} +100 -100
- package/dist/{index-J-kv32zv.d.mts → index-CYwbfa0_.d.mts} +2 -2
- package/dist/{index-DZnb56vt2.d.mts → index-C_OLvAr_.d.mts} +1 -1
- package/dist/{index-BvgLFm-U.d.mts → index-Cau0jTTM.d.mts} +1 -1
- package/dist/{index-BwccWakG.d.mts → index-D0DfEO45.d.mts} +1 -1
- package/dist/{index-COOM1j_L2.d.mts → index-DIYgFhTZ2.d.mts} +4 -4
- package/dist/{index-LOh6AEqx.d.mts → index-DJ0Muy2s.d.mts} +4 -4
- package/dist/{index-C1PfDEIV.d.mts → index-F6hV4tWI.d.mts} +35 -35
- package/dist/{index-CiKzWCW02.d.mts → index-LwOw7ZLk2.d.mts} +19 -19
- package/dist/{index-BakMNLkB.d.mts → index-PTp68NH1.d.mts} +92 -92
- package/dist/{index-vXmPEZ5O.d.mts → index-R2BZejEz.d.mts} +591 -726
- package/dist/{index-DIhkK4Y0.d.mts → index-RpG4EP3u.d.mts} +1 -1
- package/dist/{index-Bo3LRb2u.d.mts → index-dL0Oet1j.d.mts} +1 -1
- package/dist/{index-Cbv_3Xi12.d.mts → index-mylsCg6V2.d.mts} +1 -1
- package/dist/{index-BDzqNCXs.d.mts → index-nPpqnP7P.d.mts} +1 -1
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/kind-registration-BNhVCSaT.mjs +1 -0
- package/dist/{lib-271rPR7A.mjs → lib-B8Yv4IY-.mjs} +1 -1
- package/dist/{lib-RFpLjUda.mjs → lib-hwdGyO-m.mjs} +1 -1
- package/dist/{load-extensions-D9inWcDy.mjs → load-extensions-CNT2Nd9h.mjs} +1 -1
- package/dist/{load-extensions-CY8ELnCp.d.mts → load-extensions-D0yT_Kta.d.mts} +1 -1
- package/dist/materialization-Dx1z_MDj.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-B6t_-_sp.mjs +1 -0
- package/dist/{namespace-BymM0nl_.d.mts → namespace-C7wggVcn.d.mts} +9 -9
- package/dist/namespace-D4zmxaC4.mjs +1 -0
- package/dist/{namespace-DdqVQSyc.d.mts → namespace-Dh5fTXYt.d.mts} +2 -2
- package/dist/{namespace-DlrX8feY.d.mts → namespace-WeSQXdAL.d.mts} +45 -45
- package/dist/{namespace-BL7lHlmg.mjs → namespace-ZAIFBrIy.mjs} +1 -1
- package/dist/{native-session-supervisor-LKio8XZn.mjs → native-session-supervisor-BlGzmZrH.mjs} +1 -1
- 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/{orchestrator-shared-BGlN-m-V.mjs → orchestrator-shared-BKMtjTE9.mjs} +1 -1
- package/dist/{ownership-memory-handler-BpGdR_uG.mjs → ownership-memory-handler-BCu1EjFO.mjs} +1 -1
- package/dist/{package-DkpF17X_.d.mts → package-C9XYuN9J.d.mts} +20 -6
- package/dist/{package-CzKoZ1k0.mjs → package-D7c2HC-S.mjs} +2 -2
- package/dist/{package-JtjbO-Oi.mjs → package-buHQFmTH.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/packages-BhhBcPgz.mjs +1 -0
- package/dist/{packages-Cx-BwSZr.d.mts → packages-DAqep89i.d.mts} +12 -39
- package/dist/{profile-N5qGUpF0.mjs → profile-DBDvy9uc.mjs} +1 -1
- package/dist/{provider-context-zTDSH2x9.mjs → provider-context-CSb0qX1c.mjs} +1 -1
- package/dist/{provider-context-CG42JlP9.mjs → provider-context-CTOrOW54.mjs} +1 -1
- package/dist/{reaction-D3TNwPK8.mjs → reaction-OQibmmDW.mjs} +1 -1
- package/dist/{resolved-sq8RXNDf.mjs → resolved-ONt3rOMh.mjs} +1 -1
- 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/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/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +6 -6
- package/dist/runtime-node/index.mjs +20 -20
- 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 +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-Dq-7si8u.mjs → schema-B8jinlbH.mjs} +1 -1
- package/dist/{schema-C9PauHXt.d.mts → schema-wArHaxA9.d.mts} +2 -2
- package/dist/{schemas-QWDnauKX.mjs → schemas-BUK9I-Oz.mjs} +1 -1
- package/dist/{schemas-BDZFd3Wb.d.mts → schemas-BjNlwTDl.d.mts} +2 -2
- package/dist/{context-resolution-BrtoXnez.d.mts → schemas-C5FreSE0.d.mts} +133 -539
- package/dist/{schemas-_2Syo_01.mjs → schemas-CSDiTBsU.mjs} +1 -1
- package/dist/{schemas-BfO5jkrL.mjs → schemas-CbhvgFQs.mjs} +1 -1
- package/dist/schemas-hzbKeyyt.mjs +1 -0
- package/dist/{selection-DL3ric7K.mjs → selection-7SkHsmWs.mjs} +1 -1
- 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/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +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/automation-trigger/index.mjs +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/code-execution/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 +1 -1
- 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/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- 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 +45 -66
- 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 +13 -34
- package/dist/services/materialization/index.mjs +1 -1
- 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-context/index.mjs +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/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +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/session-events/namespace.mjs +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/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +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/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{session-CXOPk3yg.mjs → session-BDFNAcuY.mjs} +1 -1
- package/dist/{session-BOpTI79g.mjs → session-CQAuApxe.mjs} +1 -1
- package/dist/{shared-B9AWRm9A.mjs → shared-BYP7z9xy.mjs} +1 -1
- package/dist/{skill-DGNtc_ww.mjs → skill-1gU2q1KT.mjs} +1 -1
- package/dist/{src-DEgV239R.mjs → src-D4Gx0QHf.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/{tool-approval-service-BFDOFUGC.mjs → tool-approval-service-7mzJVMo_.mjs} +1 -1
- package/dist/{tools-DWKWX3eV.mjs → tools-Cyo6BuGM.mjs} +1 -1
- package/dist/{transition-DFA_ckdP.d.mts → transition-CwMPKBjz.d.mts} +2 -2
- package/dist/{types-p55qvq922.d.mts → types-BOF825V52.d.mts} +1 -1
- package/dist/{types-DkfDRSTr.d.mts → types-Dg_acP9p.d.mts} +36 -36
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{version-BYeVh1pI.mjs → version-3xWJDCeF.mjs} +1 -1
- package/dist/{view-builder-CYW_9n4A.d.mts → view-builder-D76L0Db8.d.mts} +209 -15
- package/dist/{visibility-DtDLRBdr.mjs → visibility-C5sLzqyS.mjs} +1 -1
- package/dist/{worker-B4nD_Erm.mjs → worker-9X0QNB1k.mjs} +1 -1
- package/dist/{worker-CLsRbzpk.mjs → worker-BwUhRg7i.mjs} +1 -1
- package/dist/workflow-B3MWrYhG.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +52 -52
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +3 -1
- package/dist/workflow-engine/testing/index.d.mts +9 -6
- 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 +63 -55
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-c_VQbyV0.mjs → workflow-transitions-B7HtjuAn.mjs} +1 -1
- package/dist/workflow-worker-zYb2UguP.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-ClvHqL3w.mjs +0 -1
- package/dist/attempt-record-codec-B32Whx75.mjs +0 -1
- package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +0 -1
- package/dist/extension-Cz39YNXy.mjs +0 -1
- package/dist/framework-packages-BHgul8Kl.mjs +0 -1
- package/dist/materialization-B_LA9pfy.mjs +0 -1
- package/dist/model-DrzPt3ou.mjs +0 -1
- package/dist/namespace-sCPb79-7.mjs +0 -1
- package/dist/packages-Bp124-gx.mjs +0 -1
- package/dist/schemas-CNkUEbIr.mjs +0 -1
- package/dist/workflow-H8hsEikC.mjs +0 -1
- package/dist/workflow-worker-CmIkKnpF.mjs +0 -2
- /package/dist/{adapter-auth-runtime-DHHppU4f.mjs → adapter-auth-runtime-DGY1CDxj.mjs} +0 -0
- /package/dist/{adapter-binding-D68U_Hmh.d.mts → adapter-binding-fGIz-ss3.d.mts} +0 -0
- /package/dist/{ajv-krzJXh1X.mjs → ajv-DWgn_plp.mjs} +0 -0
- /package/dist/{attach-error-Cb3GbeKe.mjs → attach-error-B-vXQFLQ.mjs} +0 -0
- /package/dist/{attempt-fixtures-CnrnF5_4.mjs → attempt-fixtures-Dpfgqll0.mjs} +0 -0
- /package/dist/{base-orchestrator-DA95InJU.d.mts → base-orchestrator-BeLqYKJG.d.mts} +0 -0
- /package/dist/{bootstrap-start-client-DrvofWwi.mjs → bootstrap-start-client-BYoxrgMk.mjs} +0 -0
- /package/dist/{capability-j3NekkIu.mjs → capability-Bw4tsDQu.mjs} +0 -0
- /package/dist/{capability-service-s4ZYSEWc.d.mts → capability-service-BlYnun2M.d.mts} +0 -0
- /package/dist/{client-f5A-6La5.d.mts → client-CtOWHpFB.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-kd9LP9AQ.d.mts → client-binary-version-verifier-BwmToeS1.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-0lCKZOTg.mjs → client-binary-version-verifier-sv-Uv0lB.mjs} +0 -0
- /package/dist/{clients-namespace-q4PqU1cA.d.mts → clients-namespace-Bf73bcZh.d.mts} +0 -0
- /package/dist/{config-namespace-Cp71zTT0.d.mts → config-namespace-BbLLd4V0.d.mts} +0 -0
- /package/dist/{create-static-mount-CmQgA0jq.mjs → create-static-mount-BQnyEUH1.mjs} +0 -0
- /package/dist/{cross-spawn-CZygZJMH.mjs → cross-spawn-DPrJR9Nq.mjs} +0 -0
- /package/dist/{cursor-storage-bsc9lZKk.mjs → cursor-storage-iJ6vBOWd.mjs} +0 -0
- /package/dist/{definition-BHSzhrUf.d.mts → definition-aS9AM2ht.d.mts} +0 -0
- /package/dist/{definitions-CRpdnHYM.mjs → definitions-CYZTuMdL.mjs} +0 -0
- /package/dist/{descriptor-to-package-CcjdoWP4.mjs → descriptor-to-package-FBkLjHZo.mjs} +0 -0
- /package/dist/{drizzle-Bzc-OGVI.mjs → drizzle-CIf_jdYI.mjs} +0 -0
- /package/dist/{esm-i-S5TW72.mjs → esm-BH4Kmq3r.mjs} +0 -0
- /package/dist/{event-B8ELuk6k.mjs → event-m7_IdhOS.mjs} +0 -0
- /package/dist/{execution-attempt-repository-D0cCU7dI.mjs → execution-attempt-repository-D_qR7NyG.mjs} +0 -0
- /package/dist/{extension-context-BmU5XKjI.d.mts → extension-context-41A1ZUus.d.mts} +0 -0
- /package/dist/{extension-discovery-DnO7bINK.d.mts → extension-discovery-DNB1VVsV.d.mts} +0 -0
- /package/dist/{extension-namespace-QoTTwKPt.mjs → extension-namespace-twXNwE4R.mjs} +0 -0
- /package/dist/{extension-package-provenance-aYrZuS4W.mjs → extension-package-provenance-CTYdo0yF.mjs} +0 -0
- /package/dist/{facet-BnMh7Jyc.mjs → facet-Cly0VpTI.mjs} +0 -0
- /package/dist/{filesystem-service-BBArEDPL.d.mts → filesystem-service-DOrm4Llq.d.mts} +0 -0
- /package/dist/{handler-DF1fVDpf.mjs → handler-COkV00I9.mjs} +0 -0
- /package/dist/{host-B-_ntOMH.mjs → host-CiHn8Yog.mjs} +0 -0
- /package/dist/{identity-OjRlG6dZ.mjs → identity-BULrIHmo.mjs} +0 -0
- /package/dist/{index-xaBSwHxJ.d.mts → index-BB4EWIf3.d.mts} +0 -0
- /package/dist/{index-DYHxzwok2.d.mts → index-BBq5I7SB2.d.mts} +0 -0
- /package/dist/{index-NhW2h2wH2.d.mts → index-BJjdUzfw2.d.mts} +0 -0
- /package/dist/{index-CsFN2nv7.d.mts → index-BKvzOrbF.d.mts} +0 -0
- /package/dist/{index-D-JbTXIH.d.mts → index-BO8n7zAS.d.mts} +0 -0
- /package/dist/{index-Co1da7YK.d.mts → index-BbAqoQmv.d.mts} +0 -0
- /package/dist/{index-DSLTgc7h2.d.mts → index-BcTwLu9C2.d.mts} +0 -0
- /package/dist/{index-Dn_SGTgp.d.mts → index-Bg5iXHk5.d.mts} +0 -0
- /package/dist/{index-CPWBGotQ.d.mts → index-BiXqOfhl.d.mts} +0 -0
- /package/dist/{index-DSN2t48K.d.mts → index-BjaQsfAr.d.mts} +0 -0
- /package/dist/{index-mK-rgiit.d.mts → index-Bk865qJX.d.mts} +0 -0
- /package/dist/{index-CkpR5sIH.d.mts → index-Bq4PHWe9.d.mts} +0 -0
- /package/dist/{index-DW4SE_sH.d.mts → index-CUHWylh4.d.mts} +0 -0
- /package/dist/{index-CcrXttC02.d.mts → index-CavvxFdG2.d.mts} +0 -0
- /package/dist/{index-CDLf3Fka2.d.mts → index-Cb3NfGSV2.d.mts} +0 -0
- /package/dist/{index-Df1c_2PF.d.mts → index-Ce_l029J.d.mts} +0 -0
- /package/dist/{index-D94yE5Dr.d.mts → index-CgVdz5IV.d.mts} +0 -0
- /package/dist/{index-KAAnSRZt.d.mts → index-Ck5amD5_.d.mts} +0 -0
- /package/dist/{index-BB0HypzC.d.mts → index-ClJjlOox.d.mts} +0 -0
- /package/dist/{index-CGJgZGqN.d.mts → index-CoGo6HFE.d.mts} +0 -0
- /package/dist/{index-CrcfeFOo.d.mts → index-DR9-fFwc.d.mts} +0 -0
- /package/dist/{index-B-zl-O-Y.d.mts → index-Q29tcu5N.d.mts} +0 -0
- /package/dist/{index-DQD2-jcL.d.mts → index-VVJqONaI.d.mts} +0 -0
- /package/dist/{index-D6RMsZko.d.mts → index-gK54T8Am.d.mts} +0 -0
- /package/dist/{index-D_sMzTvv.d.mts → index-jW7MJ2_q.d.mts} +0 -0
- /package/dist/{index-CBixkF0n.d.mts → index-l5HeyxKn.d.mts} +0 -0
- /package/dist/{index-BDAfOYSw2.d.mts → index-oucWFlFP2.d.mts} +0 -0
- /package/dist/{index-Bf2MgOni.d.mts → index-z-YJG2cw.d.mts} +0 -0
- /package/dist/{index-C9xVZ-gt.d.mts → index-zvgQ8ErF.d.mts} +0 -0
- /package/dist/{json-value-pX6xnLGw.d.mts → json-value-C57MkQrB.d.mts} +0 -0
- /package/dist/{json-value-BBZ6uGwc.mjs → json-value-DM-EjTC1.mjs} +0 -0
- /package/dist/{jsonl-transport-DQIlRX_y.mjs → jsonl-transport-QQuABrN7.mjs} +0 -0
- /package/dist/{lib-6eNAiNK7.mjs → lib-Sx8gBJvV.mjs} +0 -0
- /package/dist/{model-registry-C9rFu3kV.mjs → model-registry-B7ThN_s3.mjs} +0 -0
- /package/dist/{model-registry-Cixxx2jv.mjs → model-registry-DNHDnyvs.mjs} +0 -0
- /package/dist/{modes-DwsJ3yVl.mjs → modes-CyG4sgs_.mjs} +0 -0
- /package/dist/{namespace-NXm_zvL1.mjs → namespace-BFlSY040.mjs} +0 -0
- /package/dist/{namespace-DiwqpB-c.mjs → namespace-BGgY903U.mjs} +0 -0
- /package/dist/{namespace-BMG3RCdr.d.mts → namespace-BY5-nA4j.d.mts} +0 -0
- /package/dist/{namespace-CVg_cpkh.d.mts → namespace-Bn-ryJn5.d.mts} +0 -0
- /package/dist/{namespace-Cs-cOyrn.d.mts → namespace-By3nEmBH.d.mts} +0 -0
- /package/dist/{namespace-Du0accdE.mjs → namespace-C9d0aoYT.mjs} +0 -0
- /package/dist/{namespace-Dw5H_KCF.d.mts → namespace-CPC1vbOu.d.mts} +0 -0
- /package/dist/{namespace-CPR2xem0.d.mts → namespace-Ca4sQ8X-.d.mts} +0 -0
- /package/dist/{namespace-BoyqQiW9.d.mts → namespace-D1qK-Ed3.d.mts} +0 -0
- /package/dist/{namespace-9ychTEk_.d.mts → namespace-DE3oGhaN.d.mts} +0 -0
- /package/dist/{namespace-DG0hjPcx.d.mts → namespace-DENdNdK0.d.mts} +0 -0
- /package/dist/{namespace-jVTsuZHX.mjs → namespace-DHrItZyM.mjs} +0 -0
- /package/dist/{namespace-DykqxEyX.d.mts → namespace-DInMixc8.d.mts} +0 -0
- /package/dist/{namespace-CQEYu8az.d.mts → namespace-DP0WWpTO.d.mts} +0 -0
- /package/dist/{namespace-BGDq7HmW.d.mts → namespace-DkAlBY9o.d.mts} +0 -0
- /package/dist/{namespace-BW3Bfu9h.mjs → namespace-QXCaZK3I.mjs} +0 -0
- /package/dist/{namespace-tjoxekmf.mjs → namespace-ZN49zpqw.mjs} +0 -0
- /package/dist/{orchestrator-shared-BzqqcY2z.d.mts → orchestrator-shared-2vuCvljs.d.mts} +0 -0
- /package/dist/{out-8bOYN6EF.mjs → out-Rz-t3WeC.mjs} +0 -0
- /package/dist/{ownership-recovery-guard-DyW5vGBr.mjs → ownership-recovery-guard-Ce9-C5Sa.mjs} +0 -0
- /package/dist/{package-DttKA9wN.mjs → package-DfjGt5oK.mjs} +0 -0
- /package/dist/{package-EGTn-Ng1.mjs → package-Tt2uoAFf.mjs} +0 -0
- /package/dist/{platform-CxyYPrkf.mjs → platform-C-fDsuEl.mjs} +0 -0
- /package/dist/{provider-operation-B2wQST6N.d.mts → provider-operation-BwrIrOeY.d.mts} +0 -0
- /package/dist/{providers-C-eekMxD.mjs → providers-DVlsnJaY.mjs} +0 -0
- /package/dist/{providers-namespace-DsKTnuO1.d.mts → providers-namespace-C56pGeTO.d.mts} +0 -0
- /package/dist/{quick-lru-CCEnf7y6.mjs → quick-lru-uXa2PNb5.mjs} +0 -0
- /package/dist/{registry-Dk12tAfv.mjs → registry-CZf8VGBh.mjs} +0 -0
- /package/dist/{schema-C0opCPww.mjs → schema-DIHGEQx3.mjs} +0 -0
- /package/dist/{schema-introspection-6-r_KEJQ.mjs → schema-introspection-CSnLZJpC.mjs} +0 -0
- /package/dist/{schemas-Dxvjq-Bi.d.mts → schemas-B0zhTfet.d.mts} +0 -0
- /package/dist/{schemas-ClGDFa44.d.mts → schemas-B2Q284-G.d.mts} +0 -0
- /package/dist/{schemas--LAbwXvw.d.mts → schemas-BJKx29Sp.d.mts} +0 -0
- /package/dist/{schemas-BivbWRkG.mjs → schemas-BKnJj2i-.mjs} +0 -0
- /package/dist/{schemas-DmULJ7Jk.d.mts → schemas-BMGJLkdK2.d.mts} +0 -0
- /package/dist/{schemas-B2UbGJpJ.d.mts → schemas-BSBb1KFq.d.mts} +0 -0
- /package/dist/{schemas-CeHU889f.mjs → schemas-BapfTRqp.mjs} +0 -0
- /package/dist/{schemas-Bk50UoMA.d.mts → schemas-BsZJHdvY.d.mts} +0 -0
- /package/dist/{schemas-CzGN0eqW.d.mts → schemas-CITR9cWN.d.mts} +0 -0
- /package/dist/{schemas-B8hKbBwI.mjs → schemas-CnFVygzI.mjs} +0 -0
- /package/dist/{schemas-scyC2tFF.mjs → schemas-DDCAGKRi.mjs} +0 -0
- /package/dist/{schemas-CBpjAhut.d.mts → schemas-DmE-a0kN.d.mts} +0 -0
- /package/dist/{schemas-Wqo3_F6-.d.mts → schemas-gfrOgGau.d.mts} +0 -0
- /package/dist/{schemas-CHRuwe18.d.mts → schemas-wPB7RnHB.d.mts} +0 -0
- /package/dist/{semver-BI7kTNsY.mjs → semver-D_D2mA48.mjs} +0 -0
- /package/dist/{server-lifecycle-B_OZnoe-.mjs → server-lifecycle-AvBVeCFR.mjs} +0 -0
- /package/dist/{server-lifecycle-WFZcCMwF.d.mts → server-lifecycle-CREtXADx.d.mts} +0 -0
- /package/dist/{session-lineage-C9kppcCa.d.mts → session-lineage-CRLvurB-.d.mts} +0 -0
- /package/dist/{shared-schemas-CQ6blrEW.mjs → shared-schemas-kUho6Kmw.mjs} +0 -0
- /package/dist/{src-DIyWekjW.mjs → src-DnLncoLg.mjs} +0 -0
- /package/dist/{storage-namespace-BZce8kkW.mjs → storage-namespace-CH4j0_Zs.mjs} +0 -0
- /package/dist/{storage-namespace-BWU-8rvj.d.mts → storage-namespace-JBh9nkKw.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Cca-zwXU.mjs → storage-namespace-definition-BJCbqVWz.mjs} +0 -0
- /package/dist/{storage-namespace-definition-B-8JKvzm.d.mts → storage-namespace-definition-C0mnpnC_.d.mts} +0 -0
- /package/dist/{supports-color-SV_FgSN2.mjs → supports-color-BBMFnbC4.mjs} +0 -0
- /package/dist/{telemetry-BqoC87F-.mjs → telemetry-CUkZrhW6.mjs} +0 -0
- /package/dist/{timeout-DVlN2Zhy.mjs → timeout-DeBYTGBR.mjs} +0 -0
- /package/dist/{tray-menu-service-eVVxgPLc.mjs → tray-menu-service-thAhpcPA.mjs} +0 -0
- /package/dist/{types-BnPJa-C_.d.mts → types-9ldZyQTb.d.mts} +0 -0
- /package/dist/{types-DQTCNM2i.d.mts → types-BMkn9jOe.d.mts} +0 -0
- /package/dist/{types-Cwza95hS.mjs → types-CjjNAiHa.mjs} +0 -0
- /package/dist/{types-DxHeL0pF.d.mts → types-DJuxNrac.d.mts} +0 -0
- /package/dist/{types-BFeWU3WM.d.mts → types-eCGV_g6P.d.mts} +0 -0
- /package/dist/{types-8rMNe3AS.d.mts → types-xXv0lUeU.d.mts} +0 -0
- /package/dist/{ui-config-B35GloSX.mjs → ui-config-9hlZAJOS.mjs} +0 -0
- /package/dist/{variant-Dwnge3J_.mjs → variant-73kFgYBK.mjs} +0 -0
- /package/dist/{window-registry-DQP5P2_0.d.mts → window-registry-CGaYVD7l.d.mts} +0 -0
- /package/dist/{window-registry-CKiMJjId.mjs → window-registry-CzAwaPKL.mjs} +0 -0
- /package/dist/{zod-json-schema-Dixc-B1T.mjs → zod-json-schema-B9TYYq3e.mjs} +0 -0
|
@@ -1,53 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ArtifactRevision$1, T as ArtifactScope, h as ArtifactRelation, p as ArtifactRef$1, q as ArtifactKindRegistration$1, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRepresentations, y as ArtifactRelationTarget } from "./schemas-C5FreSE0.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/context-selectors.d.ts
|
|
8
|
-
/** Known render hints for artifact context resolution. */
|
|
9
|
-
declare const ARTIFACT_CONTEXT_RENDER_HINTS: readonly ["inline", "summary", "link", "omit"];
|
|
10
|
-
/** A known render hint from the initial vocabulary. */
|
|
11
|
-
type ArtifactContextKnownRenderHint = (typeof ARTIFACT_CONTEXT_RENDER_HINTS)[number];
|
|
12
|
-
/**
|
|
13
|
-
* Render hint for artifact context entries.
|
|
14
|
-
*
|
|
15
|
-
* Starts with a closed initial vocabulary but the runtime schema accepts
|
|
16
|
-
* any non-empty string so product code can extend the vocabulary without
|
|
17
|
-
* a contract change.
|
|
18
|
-
*/
|
|
19
|
-
type ArtifactContextRenderHint = ArtifactContextKnownRenderHint | (string & {});
|
|
20
|
-
/**
|
|
21
|
-
* Per-relation selector controlling which outbound relations to follow
|
|
22
|
-
* and how to render the resolved context.
|
|
23
|
-
*/
|
|
24
|
-
interface ArtifactContextRelationSelector {
|
|
25
|
-
readonly kinds?: readonly string[];
|
|
26
|
-
readonly hint?: ArtifactContextRenderHint;
|
|
27
|
-
readonly depth?: number;
|
|
28
|
-
readonly nested?: ArtifactContextSelector$1;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Map from relation type to per-relation selector.
|
|
32
|
-
*
|
|
33
|
-
* Only relation types present in the map are followed during resolution.
|
|
34
|
-
* Missing relation types fall through to kind defaults when available.
|
|
35
|
-
*/
|
|
36
|
-
type ArtifactContextSelector$1 = Readonly<Record<string, ArtifactContextRelationSelector>>;
|
|
37
|
-
/** Runtime schema for render hint strings. Accepts any non-empty string. */
|
|
38
|
-
declare const ArtifactContextRenderHintSchema: z.ZodString;
|
|
39
|
-
/** Runtime schema for per-relation selectors. */
|
|
40
|
-
declare const ArtifactContextRelationSelectorSchema: z.ZodType<ArtifactContextRelationSelector, ArtifactContextRelationSelector>;
|
|
41
|
-
/** Runtime schema for selector maps keyed by relation type. */
|
|
42
|
-
declare const ArtifactContextSelectorSchema: z.ZodType<ArtifactContextSelector$1, ArtifactContextSelector$1>;
|
|
43
|
-
//#endregion
|
|
44
7
|
//#region core/contracts/src/artifact/lifecycle-hooks.d.ts
|
|
45
8
|
/**
|
|
46
9
|
* Semantic lifecycle event names used to describe what happened to an artifact
|
|
47
10
|
* after a write operation completes.
|
|
48
11
|
*
|
|
49
12
|
* These are the observable outcomes of artifact mutations and are used by
|
|
50
|
-
* after hooks and
|
|
13
|
+
* after hooks and other explicit workflow consumers.
|
|
51
14
|
*/
|
|
52
15
|
type ArtifactLifecycleSemanticEvent = 'created' | 'revised' | 'status-changed' | 'observation-added';
|
|
53
16
|
/**
|
|
@@ -69,7 +32,7 @@ interface ArtifactDraft {
|
|
|
69
32
|
/** Artifact kind discriminator. */
|
|
70
33
|
readonly kind: string;
|
|
71
34
|
/** Schema version used to interpret `data`. */
|
|
72
|
-
readonly schemaVersion:
|
|
35
|
+
readonly schemaVersion: number;
|
|
73
36
|
/** Scope at which this artifact is relevant. */
|
|
74
37
|
readonly scope: ArtifactScope;
|
|
75
38
|
/** Kind-specific payload, not yet schema-validated. */
|
|
@@ -167,17 +130,10 @@ interface AfterArtifactHookContext<TBus extends MakaioBusLike = MakaioBusLike> {
|
|
|
167
130
|
readonly artifact: ArtifactRevision$1;
|
|
168
131
|
/** Reference to the previous revision, if this is a revise or status-change. */
|
|
169
132
|
readonly previous?: ArtifactRef$1;
|
|
170
|
-
/** The observation
|
|
133
|
+
/** The observation appended by afterObservationAdded. */
|
|
171
134
|
readonly observation?: ArtifactObservation$1;
|
|
172
|
-
/**
|
|
135
|
+
/** Current registration metadata, when registered. */
|
|
173
136
|
readonly kindRegistration?: ArtifactKindRegistration$1;
|
|
174
|
-
/**
|
|
175
|
-
* Effective projection policy for this artifact kind.
|
|
176
|
-
*
|
|
177
|
-
* Derived from the kind registration's projection field and the host's
|
|
178
|
-
* materialization defaults.
|
|
179
|
-
*/
|
|
180
|
-
readonly projectionPolicy: ArtifactProjectionPolicy$1;
|
|
181
137
|
/** Runtime bus for dispatching follow-up events or RPCs. */
|
|
182
138
|
readonly bus: TBus;
|
|
183
139
|
/**
|
|
@@ -215,7 +171,7 @@ interface ArtifactHookFilter {
|
|
|
215
171
|
*/
|
|
216
172
|
readonly kind?: string | '*';
|
|
217
173
|
/** Schema version to match. When absent the hook runs for every version. */
|
|
218
|
-
readonly schemaVersion?:
|
|
174
|
+
readonly schemaVersion?: number;
|
|
219
175
|
}
|
|
220
176
|
/**
|
|
221
177
|
* Registration record for a `beforeCreate` or `beforeRevise` guard hook.
|
|
@@ -330,196 +286,312 @@ declare function defineArtifactLifecycleHooks<TBus extends MakaioBusLike = Makai
|
|
|
330
286
|
//#endregion
|
|
331
287
|
//#region core/contracts/src/artifact/kind-definition.d.ts
|
|
332
288
|
/**
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
* The `dataSchema` and `scopeSchema` are retained as live Zod objects so
|
|
337
|
-
* that kind owners can use them for runtime validation. The `toRegistration`
|
|
338
|
-
* method serialises the definition to a bus-transportable
|
|
339
|
-
* {@link ArtifactKindRegistration} record.
|
|
340
|
-
* @typeParam TData - Kind-specific `data` payload shape.
|
|
341
|
-
* @typeParam TScope - Kind-specific scope shape (defaults to the open
|
|
342
|
-
* framework {@link ArtifactScope}).
|
|
289
|
+
* Authoring contract with a live data schema. Scope remains a shared revision envelope.
|
|
290
|
+
* @typeParam TData - Kind-specific data payload.
|
|
343
291
|
*/
|
|
344
|
-
interface ArtifactKindDefinition<TData extends Record<string, unknown>,
|
|
345
|
-
/**
|
|
346
|
-
readonly kind:
|
|
347
|
-
/**
|
|
348
|
-
readonly
|
|
349
|
-
/**
|
|
350
|
-
readonly schemaVersion: string;
|
|
351
|
-
/** Live Zod schema for the kind-specific `data` payload. */
|
|
292
|
+
interface ArtifactKindDefinition<TData extends Record<string, unknown>, TKind extends string = string, TVersion extends number = number> extends Omit<ArtifactKindRegistration$1, 'dataSchema' | 'kind' | 'schemaVersion'> {
|
|
293
|
+
/** Stable kind identifier, retained as a literal for inferred definitions. */
|
|
294
|
+
readonly kind: TKind;
|
|
295
|
+
/** Current schema generation, retained as a literal for inferred definitions. */
|
|
296
|
+
readonly schemaVersion: TVersion;
|
|
297
|
+
/** Live schema validating the complete data payload and its human-readable title. */
|
|
352
298
|
readonly dataSchema: z.ZodType<TData>;
|
|
353
|
-
/**
|
|
354
|
-
readonly scopeSchema?: z.ZodType<TScope>;
|
|
355
|
-
/**
|
|
356
|
-
* JSON Pointer path(s) used to discriminate between concurrent
|
|
357
|
-
* revisions of this kind within the same scope.
|
|
358
|
-
*/
|
|
359
|
-
readonly discriminator?: string | readonly string[];
|
|
360
|
-
/** Conflict resolution strategy for this kind. */
|
|
361
|
-
readonly conflictPolicy: ArtifactKindRegistration$1['conflictPolicy'];
|
|
362
|
-
/** Optional status field configuration for lifecycle tracking. */
|
|
363
|
-
readonly status?: ArtifactKindRegistration$1['status'];
|
|
364
|
-
/** Optional live Zod schema for kind-specific observation extensions. */
|
|
365
|
-
readonly observationSchema?: z.ZodType;
|
|
366
|
-
/** Optional lifecycle hints for retention and decay. */
|
|
367
|
-
readonly lifecycle?: ArtifactKindRegistration$1['lifecycle'];
|
|
368
|
-
/** JSON Pointer paths to `data` fields that receive a secondary index. */
|
|
369
|
-
readonly indexedFields?: readonly string[];
|
|
370
|
-
/** JSON Pointer paths to `data` fields included in full-text search. */
|
|
371
|
-
readonly searchableFields?: readonly string[];
|
|
372
|
-
/**
|
|
373
|
-
* Optional projection policy controlling how this artifact kind surfaces on
|
|
374
|
-
* external providers. When absent, materialization adapters apply their own
|
|
375
|
-
* defaults.
|
|
376
|
-
*/
|
|
377
|
-
readonly projection?: ArtifactProjectionPolicy$1;
|
|
378
|
-
/** Optional default context selectors for artifact context resolution. */
|
|
379
|
-
readonly defaultContext?: ArtifactContextSelector$1;
|
|
380
|
-
/**
|
|
381
|
-
* Optional live-only lifecycle hooks owned by this kind definition.
|
|
382
|
-
*
|
|
383
|
-
* Hooks carry function references and are intentionally excluded from
|
|
384
|
-
* `toRegistration()`. They are never serialized or transmitted over the bus.
|
|
385
|
-
*/
|
|
299
|
+
/** Function-valued lifecycle hooks, never serialized into kind registrations. */
|
|
386
300
|
readonly hooks?: ArtifactLifecycleHookDefinition;
|
|
387
|
-
/**
|
|
388
|
-
* Phantom field for compile-time `data` type extraction.
|
|
389
|
-
* Never assigned at runtime.
|
|
390
|
-
*/
|
|
301
|
+
/** Phantom data type for typed artifact consumers; not assigned at runtime. */
|
|
391
302
|
readonly __data?: TData;
|
|
392
|
-
/**
|
|
393
|
-
* Phantom field for compile-time `scope` type extraction.
|
|
394
|
-
* Never assigned at runtime.
|
|
395
|
-
*/
|
|
396
|
-
readonly __scope?: TScope;
|
|
397
|
-
/** Produces a serializable registration record suitable for bus transport. */
|
|
303
|
+
/** Produce an independent, validated bus registration. */
|
|
398
304
|
readonly toRegistration: () => ArtifactKindRegistration$1;
|
|
399
305
|
}
|
|
306
|
+
/** Kind definition for heterogeneous registries. */
|
|
307
|
+
type AnyArtifactKindDefinition = ArtifactKindDefinition<Record<string, unknown>>;
|
|
308
|
+
/** Extract the data payload. @typeParam T - Kind definition. */
|
|
309
|
+
type ArtifactDataOf<T extends AnyArtifactKindDefinition> = T extends ArtifactKindDefinition<infer TData> ? TData : never;
|
|
310
|
+
/** Narrow a revision's payload while retaining its shared numeric schema version. @typeParam T - Kind definition. */
|
|
311
|
+
type ArtifactOf<T extends AnyArtifactKindDefinition> = ArtifactRevision$1<ArtifactDataOf<T>> & {
|
|
312
|
+
kind: T['kind'];
|
|
313
|
+
schemaVersion: T['schemaVersion'];
|
|
314
|
+
};
|
|
315
|
+
/** Authoring options with live schema and optional local hooks. @typeParam TData - Data payload. */
|
|
316
|
+
type DefineArtifactKindOptions<TData extends Record<string, unknown>, TKind extends string, TVersion extends number> = Omit<ArtifactKindDefinition<TData, TKind, TVersion>, 'toRegistration' | '__data'>;
|
|
400
317
|
/**
|
|
401
|
-
*
|
|
402
|
-
* parameters.
|
|
318
|
+
* Define a kind and validate its declarative metadata before registration.
|
|
403
319
|
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
320
|
+
* Raw input first passes the serialized canonical payload schema, preventing live
|
|
321
|
+
* object schemas from silently stripping undeclared fields. The original input
|
|
322
|
+
* then passes through the live Zod schema so dynamic defaults and refinements
|
|
323
|
+
* retain their authoring semantics, followed by title validation. Serialized registrations
|
|
324
|
+
* retain titlePath so hosts can enforce the same invariant via readArtifactTitle.
|
|
325
|
+
* Hooks remain live-only; each registration call returns an independent snapshot.
|
|
326
|
+
* @param options - Current kind contract, live schema and optional lifecycle hooks.
|
|
327
|
+
* @returns A validated kind definition with typed data and serializable metadata.
|
|
406
328
|
*/
|
|
407
|
-
|
|
329
|
+
declare function defineArtifactKind<TData extends Record<string, unknown>, const TKind extends string = string, const TVersion extends number = number>(options: DefineArtifactKindOptions<TData, TKind, TVersion>): ArtifactKindDefinition<TData, TKind, TVersion>;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region core/contracts/src/artifact/context-selectors.d.ts
|
|
332
|
+
/** Known render hints for artifact context resolution. */
|
|
333
|
+
declare const ARTIFACT_CONTEXT_RENDER_HINTS: readonly ["inline", "summary", "link", "omit"];
|
|
334
|
+
/** A known render hint from the initial vocabulary. */
|
|
335
|
+
type ArtifactContextKnownRenderHint = (typeof ARTIFACT_CONTEXT_RENDER_HINTS)[number];
|
|
408
336
|
/**
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
* kind: 'plan',
|
|
415
|
-
* description: 'Project plan with approval status.',
|
|
416
|
-
* dataSchema: PlanDataSchema,
|
|
417
|
-
* ...
|
|
418
|
-
* });
|
|
419
|
-
* type PlanData = ArtifactDataOf<typeof planDef>;
|
|
420
|
-
* // PlanData = { status: 'draft' | 'approved'; topic: string }
|
|
421
|
-
* ```
|
|
337
|
+
* Render hint for artifact context entries.
|
|
338
|
+
*
|
|
339
|
+
* Starts with a closed initial vocabulary but the runtime schema accepts
|
|
340
|
+
* any non-empty string so product code can extend the vocabulary without
|
|
341
|
+
* a contract change.
|
|
422
342
|
*/
|
|
423
|
-
type
|
|
343
|
+
type ArtifactContextRenderHint = ArtifactContextKnownRenderHint | (string & {});
|
|
424
344
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
345
|
+
* Per-relation selector controlling which outbound relations to follow
|
|
346
|
+
* and how to render the resolved context.
|
|
347
|
+
*/
|
|
348
|
+
interface ArtifactContextRelationSelector {
|
|
349
|
+
readonly kinds?: readonly string[];
|
|
350
|
+
readonly hint?: ArtifactContextRenderHint;
|
|
351
|
+
readonly depth?: number;
|
|
352
|
+
readonly nested?: ArtifactContextSelector$1;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Map from relation type to per-relation selector.
|
|
427
356
|
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
* @typeParam T - An {@link ArtifactKindDefinition} to narrow against.
|
|
431
|
-
* @example
|
|
432
|
-
* ```ts
|
|
433
|
-
* const planDef = defineArtifactKind({
|
|
434
|
-
* kind: 'plan',
|
|
435
|
-
* description: 'Project plan with approval status.',
|
|
436
|
-
* dataSchema: PlanDataSchema,
|
|
437
|
-
* ...
|
|
438
|
-
* });
|
|
439
|
-
* type PlanArtifact = ArtifactOf<typeof planDef>;
|
|
440
|
-
* // PlanArtifact = ArtifactRevision<PlanData> & { kind: 'plan'; scope: ProjectScope }
|
|
441
|
-
* ```
|
|
357
|
+
* Only relation types present in the map are followed during resolution.
|
|
358
|
+
* Missing relation types fall through to kind defaults when available.
|
|
442
359
|
*/
|
|
443
|
-
type
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
360
|
+
type ArtifactContextSelector$1 = Readonly<Record<string, ArtifactContextRelationSelector>>;
|
|
361
|
+
/** Runtime schema for render hint strings. Accepts any non-empty string. */
|
|
362
|
+
declare const ArtifactContextRenderHintSchema: z.ZodString;
|
|
363
|
+
/** Runtime schema for per-relation selectors. */
|
|
364
|
+
declare const ArtifactContextRelationSelectorSchema: z.ZodType<ArtifactContextRelationSelector, ArtifactContextRelationSelector>;
|
|
365
|
+
/** Runtime schema for selector maps keyed by relation type. */
|
|
366
|
+
declare const ArtifactContextSelectorSchema: z.ZodType<ArtifactContextSelector$1, ArtifactContextSelector$1>;
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region core/contracts/src/artifact/context-resolution.d.ts
|
|
448
369
|
/**
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
370
|
+
* Reasons why a relation target was not resolved during context resolution.
|
|
371
|
+
*
|
|
372
|
+
* v1 omits `scope-denied` -- no scope policy seam exists yet.
|
|
452
373
|
*/
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
/** Optional live Zod schema for the kind-specific scope shape. */
|
|
463
|
-
readonly scopeSchema?: z.ZodType<TScope>;
|
|
464
|
-
/**
|
|
465
|
-
* JSON Pointer path(s) used to discriminate between concurrent
|
|
466
|
-
* revisions within the same scope.
|
|
467
|
-
*/
|
|
468
|
-
readonly discriminator?: string | readonly string[];
|
|
469
|
-
/** Conflict resolution strategy for this kind. */
|
|
470
|
-
readonly conflictPolicy: ArtifactKindRegistration$1['conflictPolicy'];
|
|
471
|
-
/** Optional status field configuration. */
|
|
472
|
-
readonly status?: ArtifactKindRegistration$1['status'];
|
|
473
|
-
/** Optional live Zod schema for kind-specific observation extensions. */
|
|
474
|
-
readonly observationSchema?: z.ZodType;
|
|
475
|
-
/** Optional lifecycle hints for retention and decay. */
|
|
476
|
-
readonly lifecycle?: ArtifactKindRegistration$1['lifecycle'];
|
|
477
|
-
/** JSON Pointer paths to indexed fields within `data`. */
|
|
478
|
-
readonly indexedFields?: readonly string[];
|
|
479
|
-
/** JSON Pointer paths to searchable fields within `data`. */
|
|
480
|
-
readonly searchableFields?: readonly string[];
|
|
481
|
-
/**
|
|
482
|
-
* Optional projection policy controlling how this artifact kind surfaces on
|
|
483
|
-
* external providers.
|
|
484
|
-
*/
|
|
485
|
-
readonly projection?: ArtifactProjectionPolicy$1;
|
|
486
|
-
/** Optional default context selectors for artifact context resolution. */
|
|
487
|
-
readonly defaultContext?: ArtifactContextSelector$1;
|
|
488
|
-
/**
|
|
489
|
-
* Optional live-only lifecycle hooks. Not included in `toRegistration()`.
|
|
490
|
-
*
|
|
491
|
-
* Hooks carry function references and are never serialized or transmitted
|
|
492
|
-
* over the bus.
|
|
493
|
-
*/
|
|
494
|
-
readonly hooks?: ArtifactLifecycleHookDefinition;
|
|
495
|
-
}
|
|
374
|
+
declare const ArtifactContextUnresolvedReasonSchema: z.ZodEnum<{
|
|
375
|
+
"not-found": "not-found";
|
|
376
|
+
"not-selected": "not-selected";
|
|
377
|
+
"depth-exceeded": "depth-exceeded";
|
|
378
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
379
|
+
"cycle-detected": "cycle-detected";
|
|
380
|
+
}>;
|
|
381
|
+
/** An unresolved reason for a context ref entry. */
|
|
382
|
+
type ArtifactContextUnresolvedReason = z.infer<typeof ArtifactContextUnresolvedReasonSchema>;
|
|
496
383
|
/**
|
|
497
|
-
*
|
|
498
|
-
* serializable registration.
|
|
384
|
+
* A single entry in the normalized artifact context wire format.
|
|
499
385
|
*
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
386
|
+
* Each entry records one outbound relation from a source artifact to a
|
|
387
|
+
* target, along with resolution status and the render hint used.
|
|
388
|
+
*/
|
|
389
|
+
declare const ArtifactContextRefEntrySchema: z.ZodObject<{
|
|
390
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
391
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
392
|
+
kind: z.ZodString;
|
|
393
|
+
id: z.ZodString;
|
|
394
|
+
revision: z.ZodString;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
397
|
+
artifact: z.ZodObject<{
|
|
398
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
399
|
+
kind: z.ZodString;
|
|
400
|
+
id: z.ZodString;
|
|
401
|
+
revision: z.ZodString;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
localId: z.ZodString;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
406
|
+
kind: z.ZodString;
|
|
407
|
+
id: z.ZodString;
|
|
408
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
409
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
411
|
+
refClass: z.ZodLiteral<"entity">;
|
|
412
|
+
entityType: z.ZodString;
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
}, z.core.$strict>], "refClass">>;
|
|
415
|
+
sourceRef: z.ZodObject<{
|
|
416
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
417
|
+
kind: z.ZodString;
|
|
418
|
+
id: z.ZodString;
|
|
419
|
+
revision: z.ZodString;
|
|
420
|
+
}, z.core.$strip>;
|
|
421
|
+
relationType: z.ZodString;
|
|
422
|
+
hint: z.ZodString;
|
|
423
|
+
status: z.ZodEnum<{
|
|
424
|
+
resolved: "resolved";
|
|
425
|
+
unresolved: "unresolved";
|
|
426
|
+
}>;
|
|
427
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
428
|
+
"not-found": "not-found";
|
|
429
|
+
"not-selected": "not-selected";
|
|
430
|
+
"depth-exceeded": "depth-exceeded";
|
|
431
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
432
|
+
"cycle-detected": "cycle-detected";
|
|
433
|
+
}>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
/** A single resolved or unresolved context ref entry. */
|
|
436
|
+
type ArtifactContextRefEntry = z.infer<typeof ArtifactContextRefEntrySchema>;
|
|
437
|
+
/**
|
|
438
|
+
* Normalized wire format for a resolved artifact context graph.
|
|
439
|
+
*
|
|
440
|
+
* Contains the root artifact reference, all encountered relation entries
|
|
441
|
+
* (both resolved and unresolved), and the pool of resolved artifact
|
|
442
|
+
* revisions referenced by the entries.
|
|
521
443
|
*/
|
|
522
|
-
declare
|
|
444
|
+
declare const ResolvedArtifactContextWireSchema: z.ZodObject<{
|
|
445
|
+
rootRef: z.ZodObject<{
|
|
446
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
447
|
+
kind: z.ZodString;
|
|
448
|
+
id: z.ZodString;
|
|
449
|
+
revision: z.ZodString;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
452
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
453
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
454
|
+
kind: z.ZodString;
|
|
455
|
+
id: z.ZodString;
|
|
456
|
+
revision: z.ZodString;
|
|
457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
458
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
459
|
+
artifact: z.ZodObject<{
|
|
460
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
461
|
+
kind: z.ZodString;
|
|
462
|
+
id: z.ZodString;
|
|
463
|
+
revision: z.ZodString;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
localId: z.ZodString;
|
|
466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
467
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
468
|
+
kind: z.ZodString;
|
|
469
|
+
id: z.ZodString;
|
|
470
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
471
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
refClass: z.ZodLiteral<"entity">;
|
|
474
|
+
entityType: z.ZodString;
|
|
475
|
+
id: z.ZodString;
|
|
476
|
+
}, z.core.$strict>], "refClass">>;
|
|
477
|
+
sourceRef: z.ZodObject<{
|
|
478
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
479
|
+
kind: z.ZodString;
|
|
480
|
+
id: z.ZodString;
|
|
481
|
+
revision: z.ZodString;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
relationType: z.ZodString;
|
|
484
|
+
hint: z.ZodString;
|
|
485
|
+
status: z.ZodEnum<{
|
|
486
|
+
resolved: "resolved";
|
|
487
|
+
unresolved: "unresolved";
|
|
488
|
+
}>;
|
|
489
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
490
|
+
"not-found": "not-found";
|
|
491
|
+
"not-selected": "not-selected";
|
|
492
|
+
"depth-exceeded": "depth-exceeded";
|
|
493
|
+
"unsupported-ref-class": "unsupported-ref-class";
|
|
494
|
+
"cycle-detected": "cycle-detected";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
resolved: z.ZodArray<z.ZodObject<{
|
|
498
|
+
kind: z.ZodString;
|
|
499
|
+
id: z.ZodString;
|
|
500
|
+
revision: z.ZodString;
|
|
501
|
+
scope: z.ZodObject<{
|
|
502
|
+
level: z.ZodString;
|
|
503
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
504
|
+
}, z.core.$strip>;
|
|
505
|
+
schemaVersion: z.ZodNumber;
|
|
506
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
507
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
508
|
+
type: z.ZodString;
|
|
509
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
510
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
511
|
+
kind: z.ZodString;
|
|
512
|
+
id: z.ZodString;
|
|
513
|
+
revision: z.ZodString;
|
|
514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
515
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
516
|
+
artifact: z.ZodObject<{
|
|
517
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
518
|
+
kind: z.ZodString;
|
|
519
|
+
id: z.ZodString;
|
|
520
|
+
revision: z.ZodString;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
localId: z.ZodString;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
525
|
+
kind: z.ZodString;
|
|
526
|
+
id: z.ZodString;
|
|
527
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
528
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
530
|
+
refClass: z.ZodLiteral<"entity">;
|
|
531
|
+
entityType: z.ZodString;
|
|
532
|
+
id: z.ZodString;
|
|
533
|
+
}, z.core.$strict>], "refClass">>;
|
|
534
|
+
}, z.core.$strip>>;
|
|
535
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
level: z.ZodEnum<{
|
|
537
|
+
inferred: "inferred";
|
|
538
|
+
confirmed: "confirmed";
|
|
539
|
+
assumed: "assumed";
|
|
540
|
+
stated: "stated";
|
|
541
|
+
verified: "verified";
|
|
542
|
+
}>;
|
|
543
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
544
|
+
kind: z.ZodString;
|
|
545
|
+
actor: z.ZodObject<{
|
|
546
|
+
kind: z.ZodString;
|
|
547
|
+
id: z.ZodString;
|
|
548
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
timestamp: z.ZodNumber;
|
|
551
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
552
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
553
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
554
|
+
kind: z.ZodString;
|
|
555
|
+
id: z.ZodString;
|
|
556
|
+
revision: z.ZodString;
|
|
557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
558
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
559
|
+
artifact: z.ZodObject<{
|
|
560
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
561
|
+
kind: z.ZodString;
|
|
562
|
+
id: z.ZodString;
|
|
563
|
+
revision: z.ZodString;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
localId: z.ZodString;
|
|
566
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
567
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
568
|
+
kind: z.ZodString;
|
|
569
|
+
id: z.ZodString;
|
|
570
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
571
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
573
|
+
refClass: z.ZodLiteral<"entity">;
|
|
574
|
+
entityType: z.ZodString;
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
}, z.core.$strict>], "refClass">>>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
581
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
582
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
583
|
+
}, z.core.$strip>>;
|
|
584
|
+
actor: z.ZodObject<{
|
|
585
|
+
kind: z.ZodString;
|
|
586
|
+
id: z.ZodString;
|
|
587
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
588
|
+
}, z.core.$strip>;
|
|
589
|
+
timestamp: z.ZodNumber;
|
|
590
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
}, z.core.$strip>;
|
|
593
|
+
/** Normalized wire format for a resolved artifact context graph. */
|
|
594
|
+
type ResolvedArtifactContextWire$1 = z.infer<typeof ResolvedArtifactContextWireSchema>;
|
|
523
595
|
//#endregion
|
|
524
596
|
//#region core/contracts/src/artifact/context-tree.d.ts
|
|
525
597
|
/**
|
|
@@ -595,89 +667,52 @@ declare function hydrateArtifactContextTree(wire: ResolvedArtifactContextWire$1)
|
|
|
595
667
|
* register a product-owned namespace instead of merging additional
|
|
596
668
|
* subjects into this one.
|
|
597
669
|
*/
|
|
598
|
-
declare const ArtifactSchemas: {
|
|
670
|
+
declare const ArtifactSchemas$1: {
|
|
599
671
|
/** Register a new artifact kind with the artifact service (RPC). */'kind.register': {
|
|
600
672
|
request: z.ZodObject<{
|
|
601
673
|
kind: z.ZodString;
|
|
602
674
|
description: z.ZodString;
|
|
603
|
-
schemaVersion: z.
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
manual: "manual";
|
|
610
|
-
supersedes: "supersedes";
|
|
611
|
-
coexist: "coexist";
|
|
675
|
+
schemaVersion: z.ZodNumber;
|
|
676
|
+
category: z.ZodEnum<{
|
|
677
|
+
record: "record";
|
|
678
|
+
knowledge: "knowledge";
|
|
679
|
+
commitment: "commitment";
|
|
680
|
+
interaction: "interaction";
|
|
612
681
|
}>;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
682
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
683
|
+
titlePath: z.ZodString;
|
|
684
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
685
|
+
relationType: z.ZodString;
|
|
686
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
687
|
+
minItems: z.ZodNumber;
|
|
688
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
689
|
+
}, z.core.$strict>>>;
|
|
690
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
691
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
692
|
+
kind: z.ZodLiteral<"data">;
|
|
693
|
+
path: z.ZodString;
|
|
694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
695
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
696
|
+
relationType: z.ZodString;
|
|
697
|
+
}, z.core.$strict>], "kind">>;
|
|
698
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
699
|
+
resolved: "resolved";
|
|
700
|
+
open: "open";
|
|
701
|
+
valid: "valid";
|
|
622
702
|
retired: "retired";
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
703
|
+
proposed: "proposed";
|
|
704
|
+
decided: "decided";
|
|
705
|
+
fulfilled: "fulfilled";
|
|
706
|
+
revoked: "revoked";
|
|
707
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
708
|
+
}>>>;
|
|
709
|
+
}, z.core.$strict>>>;
|
|
710
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
711
|
+
minItems: z.ZodNumber;
|
|
712
|
+
}, z.core.$strict>>;
|
|
626
713
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
627
714
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
628
|
-
|
|
629
|
-
mode: z.ZodEnum<{
|
|
630
|
-
none: "none";
|
|
631
|
-
surface: "surface";
|
|
632
|
-
comment: "comment";
|
|
633
|
-
}>;
|
|
634
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
635
|
-
artifact: "artifact";
|
|
636
|
-
workpiece: "workpiece";
|
|
637
|
-
}>>;
|
|
638
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
639
|
-
created: "created";
|
|
640
|
-
revised: "revised";
|
|
641
|
-
"status-changed": "status-changed";
|
|
642
|
-
"observation-added": "observation-added";
|
|
643
|
-
}>>>;
|
|
644
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
645
|
-
path: z.ZodString;
|
|
646
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
647
|
-
status: "status";
|
|
648
|
-
workflow: "workflow";
|
|
649
|
-
priority: "priority";
|
|
650
|
-
}>>;
|
|
651
|
-
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
652
|
-
link: "link";
|
|
653
|
-
summary: "summary";
|
|
654
|
-
full: "full";
|
|
655
|
-
}>>;
|
|
656
|
-
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
657
|
-
title: "title";
|
|
658
|
-
summary: "summary";
|
|
659
|
-
}>>;
|
|
660
|
-
}, z.core.$strip>>>;
|
|
661
|
-
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
662
|
-
kind: z.ZodLiteral<"own-view">;
|
|
663
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
664
|
-
kind: z.ZodLiteral<"inline">;
|
|
665
|
-
hostRelation: z.ZodString;
|
|
666
|
-
as: z.ZodOptional<z.ZodEnum<{
|
|
667
|
-
link: "link";
|
|
668
|
-
summary: "summary";
|
|
669
|
-
full: "full";
|
|
670
|
-
}>>;
|
|
671
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
672
|
-
kind: z.ZodLiteral<"entry">;
|
|
673
|
-
via: z.ZodOptional<z.ZodString>;
|
|
674
|
-
collection: z.ZodOptional<z.ZodString>;
|
|
675
|
-
title: z.ZodOptional<z.ZodString>;
|
|
676
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
677
|
-
}, z.core.$strip>], "kind">>>;
|
|
678
|
-
}, z.core.$strip>>;
|
|
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>>>>>;
|
|
680
|
-
}, z.core.$strip>;
|
|
715
|
+
}, z.core.$strict>;
|
|
681
716
|
response: z.ZodObject<{
|
|
682
717
|
registered: z.ZodBoolean;
|
|
683
718
|
}, z.core.$strip>;
|
|
@@ -690,84 +725,47 @@ declare const ArtifactSchemas: {
|
|
|
690
725
|
kinds: z.ZodArray<z.ZodObject<{
|
|
691
726
|
kind: z.ZodString;
|
|
692
727
|
description: z.ZodString;
|
|
693
|
-
schemaVersion: z.
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
manual: "manual";
|
|
700
|
-
supersedes: "supersedes";
|
|
701
|
-
coexist: "coexist";
|
|
728
|
+
schemaVersion: z.ZodNumber;
|
|
729
|
+
category: z.ZodEnum<{
|
|
730
|
+
record: "record";
|
|
731
|
+
knowledge: "knowledge";
|
|
732
|
+
commitment: "commitment";
|
|
733
|
+
interaction: "interaction";
|
|
702
734
|
}>;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
735
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
736
|
+
titlePath: z.ZodString;
|
|
737
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
|
+
relationType: z.ZodString;
|
|
739
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
740
|
+
minItems: z.ZodNumber;
|
|
741
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
}, z.core.$strict>>>;
|
|
743
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
744
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
745
|
+
kind: z.ZodLiteral<"data">;
|
|
746
|
+
path: z.ZodString;
|
|
747
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
748
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
749
|
+
relationType: z.ZodString;
|
|
750
|
+
}, z.core.$strict>], "kind">>;
|
|
751
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
752
|
+
resolved: "resolved";
|
|
753
|
+
open: "open";
|
|
754
|
+
valid: "valid";
|
|
712
755
|
retired: "retired";
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
756
|
+
proposed: "proposed";
|
|
757
|
+
decided: "decided";
|
|
758
|
+
fulfilled: "fulfilled";
|
|
759
|
+
revoked: "revoked";
|
|
760
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
761
|
+
}>>>;
|
|
762
|
+
}, z.core.$strict>>>;
|
|
763
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
764
|
+
minItems: z.ZodNumber;
|
|
765
|
+
}, z.core.$strict>>;
|
|
716
766
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
717
767
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
718
|
-
|
|
719
|
-
mode: z.ZodEnum<{
|
|
720
|
-
none: "none";
|
|
721
|
-
surface: "surface";
|
|
722
|
-
comment: "comment";
|
|
723
|
-
}>;
|
|
724
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
725
|
-
artifact: "artifact";
|
|
726
|
-
workpiece: "workpiece";
|
|
727
|
-
}>>;
|
|
728
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
729
|
-
created: "created";
|
|
730
|
-
revised: "revised";
|
|
731
|
-
"status-changed": "status-changed";
|
|
732
|
-
"observation-added": "observation-added";
|
|
733
|
-
}>>>;
|
|
734
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
735
|
-
path: z.ZodString;
|
|
736
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
737
|
-
status: "status";
|
|
738
|
-
workflow: "workflow";
|
|
739
|
-
priority: "priority";
|
|
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
|
-
}>>;
|
|
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
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
767
|
-
}, z.core.$strip>], "kind">>>;
|
|
768
|
-
}, z.core.$strip>>;
|
|
769
|
-
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>>>>>;
|
|
770
|
-
}, z.core.$strip>>;
|
|
768
|
+
}, z.core.$strict>>;
|
|
771
769
|
}, z.core.$strip>;
|
|
772
770
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
773
771
|
'relation-type.register': {
|
|
@@ -817,11 +815,11 @@ declare const ArtifactSchemas: {
|
|
|
817
815
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
818
816
|
kind: z.ZodString;
|
|
819
817
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
818
|
+
schemaVersion: z.ZodNumber;
|
|
820
819
|
scope: z.ZodObject<{
|
|
821
820
|
level: z.ZodString;
|
|
822
821
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
823
822
|
}, z.core.$strip>;
|
|
824
|
-
schemaVersion: z.ZodString;
|
|
825
823
|
actor: z.ZodObject<{
|
|
826
824
|
kind: z.ZodString;
|
|
827
825
|
id: z.ZodString;
|
|
@@ -904,6 +902,7 @@ declare const ArtifactSchemas: {
|
|
|
904
902
|
summary: z.ZodOptional<z.ZodString>;
|
|
905
903
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
906
904
|
}, z.core.$strip>>;
|
|
905
|
+
id: z.ZodOptional<z.ZodString>;
|
|
907
906
|
}, z.core.$strip>;
|
|
908
907
|
response: z.ZodObject<{
|
|
909
908
|
artifact: z.ZodObject<{
|
|
@@ -914,7 +913,7 @@ declare const ArtifactSchemas: {
|
|
|
914
913
|
level: z.ZodString;
|
|
915
914
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
916
915
|
}, z.core.$strip>;
|
|
917
|
-
schemaVersion: z.
|
|
916
|
+
schemaVersion: z.ZodNumber;
|
|
918
917
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
919
918
|
relations: z.ZodArray<z.ZodObject<{
|
|
920
919
|
type: z.ZodString;
|
|
@@ -1011,15 +1010,16 @@ declare const ArtifactSchemas: {
|
|
|
1011
1010
|
id: z.ZodString;
|
|
1012
1011
|
revision: z.ZodString;
|
|
1013
1012
|
}, z.core.$strip>;
|
|
1013
|
+
statusPath: z.ZodOptional<z.ZodString>;
|
|
1014
1014
|
revision: z.ZodObject<{
|
|
1015
1015
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1016
1016
|
kind: z.ZodString;
|
|
1017
1017
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
schemaVersion: z.ZodNumber;
|
|
1018
1019
|
scope: z.ZodObject<{
|
|
1019
1020
|
level: z.ZodString;
|
|
1020
1021
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1021
1022
|
}, z.core.$strip>;
|
|
1022
|
-
schemaVersion: z.ZodString;
|
|
1023
1023
|
actor: z.ZodObject<{
|
|
1024
1024
|
kind: z.ZodString;
|
|
1025
1025
|
id: z.ZodString;
|
|
@@ -1113,7 +1113,7 @@ declare const ArtifactSchemas: {
|
|
|
1113
1113
|
level: z.ZodString;
|
|
1114
1114
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1115
1115
|
}, z.core.$strip>;
|
|
1116
|
-
schemaVersion: z.
|
|
1116
|
+
schemaVersion: z.ZodNumber;
|
|
1117
1117
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1118
1118
|
relations: z.ZodArray<z.ZodObject<{
|
|
1119
1119
|
type: z.ZodString;
|
|
@@ -1220,7 +1220,7 @@ declare const ArtifactSchemas: {
|
|
|
1220
1220
|
level: z.ZodString;
|
|
1221
1221
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1222
1222
|
}, z.core.$strip>;
|
|
1223
|
-
schemaVersion: z.
|
|
1223
|
+
schemaVersion: z.ZodNumber;
|
|
1224
1224
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1225
1225
|
relations: z.ZodArray<z.ZodObject<{
|
|
1226
1226
|
type: z.ZodString;
|
|
@@ -1375,7 +1375,7 @@ declare const ArtifactSchemas: {
|
|
|
1375
1375
|
level: z.ZodString;
|
|
1376
1376
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1377
1377
|
}, z.core.$strip>;
|
|
1378
|
-
schemaVersion: z.
|
|
1378
|
+
schemaVersion: z.ZodNumber;
|
|
1379
1379
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1380
1380
|
relations: z.ZodArray<z.ZodObject<{
|
|
1381
1381
|
type: z.ZodString;
|
|
@@ -1488,7 +1488,7 @@ declare const ArtifactSchemas: {
|
|
|
1488
1488
|
level: z.ZodString;
|
|
1489
1489
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1490
1490
|
}, z.core.$strip>;
|
|
1491
|
-
schemaVersion: z.
|
|
1491
|
+
schemaVersion: z.ZodNumber;
|
|
1492
1492
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1493
1493
|
relations: z.ZodArray<z.ZodObject<{
|
|
1494
1494
|
type: z.ZodString;
|
|
@@ -1583,7 +1583,7 @@ declare const ArtifactSchemas: {
|
|
|
1583
1583
|
level: z.ZodString;
|
|
1584
1584
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1585
1585
|
}, z.core.$strip>;
|
|
1586
|
-
schemaVersion: z.
|
|
1586
|
+
schemaVersion: z.ZodNumber;
|
|
1587
1587
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1588
1588
|
relations: z.ZodArray<z.ZodObject<{
|
|
1589
1589
|
type: z.ZodString;
|
|
@@ -1746,7 +1746,7 @@ declare const ArtifactSchemas: {
|
|
|
1746
1746
|
level: z.ZodString;
|
|
1747
1747
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1748
1748
|
}, z.core.$strip>;
|
|
1749
|
-
schemaVersion: z.
|
|
1749
|
+
schemaVersion: z.ZodNumber;
|
|
1750
1750
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1751
1751
|
relations: z.ZodArray<z.ZodObject<{
|
|
1752
1752
|
type: z.ZodString;
|
|
@@ -1845,7 +1845,7 @@ declare const ArtifactSchemas: {
|
|
|
1845
1845
|
level: z.ZodString;
|
|
1846
1846
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1847
1847
|
}, z.core.$strip>;
|
|
1848
|
-
schemaVersion: z.
|
|
1848
|
+
schemaVersion: z.ZodNumber;
|
|
1849
1849
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1850
1850
|
relations: z.ZodArray<z.ZodObject<{
|
|
1851
1851
|
type: z.ZodString;
|
|
@@ -1948,7 +1948,7 @@ declare const ArtifactSchemas: {
|
|
|
1948
1948
|
level: z.ZodString;
|
|
1949
1949
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1950
1950
|
}, z.core.$strip>;
|
|
1951
|
-
schemaVersion: z.
|
|
1951
|
+
schemaVersion: z.ZodNumber;
|
|
1952
1952
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1953
1953
|
relations: z.ZodArray<z.ZodObject<{
|
|
1954
1954
|
type: z.ZodString;
|
|
@@ -2138,7 +2138,7 @@ declare const ArtifactSchemas: {
|
|
|
2138
2138
|
}, z.core.$strip>; /** Emitted when an artifact kind registration is added or updated. */
|
|
2139
2139
|
'kind.changed': z.ZodObject<{
|
|
2140
2140
|
kind: z.ZodString;
|
|
2141
|
-
schemaVersion: z.
|
|
2141
|
+
schemaVersion: z.ZodNumber;
|
|
2142
2142
|
}, z.core.$strip>;
|
|
2143
2143
|
};
|
|
2144
2144
|
/**
|
|
@@ -2153,84 +2153,47 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2153
2153
|
request: z.ZodObject<{
|
|
2154
2154
|
kind: z.ZodString;
|
|
2155
2155
|
description: z.ZodString;
|
|
2156
|
-
schemaVersion: z.
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
manual: "manual";
|
|
2163
|
-
supersedes: "supersedes";
|
|
2164
|
-
coexist: "coexist";
|
|
2156
|
+
schemaVersion: z.ZodNumber;
|
|
2157
|
+
category: z.ZodEnum<{
|
|
2158
|
+
record: "record";
|
|
2159
|
+
knowledge: "knowledge";
|
|
2160
|
+
commitment: "commitment";
|
|
2161
|
+
interaction: "interaction";
|
|
2165
2162
|
}>;
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2163
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2164
|
+
titlePath: z.ZodString;
|
|
2165
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2166
|
+
relationType: z.ZodString;
|
|
2167
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2168
|
+
minItems: z.ZodNumber;
|
|
2169
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2170
|
+
}, z.core.$strict>>>;
|
|
2171
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2172
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2173
|
+
kind: z.ZodLiteral<"data">;
|
|
2174
|
+
path: z.ZodString;
|
|
2175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2176
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
2177
|
+
relationType: z.ZodString;
|
|
2178
|
+
}, z.core.$strict>], "kind">>;
|
|
2179
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2180
|
+
resolved: "resolved";
|
|
2181
|
+
open: "open";
|
|
2182
|
+
valid: "valid";
|
|
2175
2183
|
retired: "retired";
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2184
|
+
proposed: "proposed";
|
|
2185
|
+
decided: "decided";
|
|
2186
|
+
fulfilled: "fulfilled";
|
|
2187
|
+
revoked: "revoked";
|
|
2188
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
2189
|
+
}>>>;
|
|
2190
|
+
}, z.core.$strict>>>;
|
|
2191
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
2192
|
+
minItems: z.ZodNumber;
|
|
2193
|
+
}, z.core.$strict>>;
|
|
2179
2194
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2180
2195
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2181
|
-
|
|
2182
|
-
mode: z.ZodEnum<{
|
|
2183
|
-
none: "none";
|
|
2184
|
-
surface: "surface";
|
|
2185
|
-
comment: "comment";
|
|
2186
|
-
}>;
|
|
2187
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2188
|
-
artifact: "artifact";
|
|
2189
|
-
workpiece: "workpiece";
|
|
2190
|
-
}>>;
|
|
2191
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2192
|
-
created: "created";
|
|
2193
|
-
revised: "revised";
|
|
2194
|
-
"status-changed": "status-changed";
|
|
2195
|
-
"observation-added": "observation-added";
|
|
2196
|
-
}>>>;
|
|
2197
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2198
|
-
path: z.ZodString;
|
|
2199
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
2200
|
-
status: "status";
|
|
2201
|
-
workflow: "workflow";
|
|
2202
|
-
priority: "priority";
|
|
2203
|
-
}>>;
|
|
2204
|
-
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
2205
|
-
link: "link";
|
|
2206
|
-
summary: "summary";
|
|
2207
|
-
full: "full";
|
|
2208
|
-
}>>;
|
|
2209
|
-
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
2210
|
-
title: "title";
|
|
2211
|
-
summary: "summary";
|
|
2212
|
-
}>>;
|
|
2213
|
-
}, z.core.$strip>>>;
|
|
2214
|
-
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2215
|
-
kind: z.ZodLiteral<"own-view">;
|
|
2216
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2217
|
-
kind: z.ZodLiteral<"inline">;
|
|
2218
|
-
hostRelation: z.ZodString;
|
|
2219
|
-
as: z.ZodOptional<z.ZodEnum<{
|
|
2220
|
-
link: "link";
|
|
2221
|
-
summary: "summary";
|
|
2222
|
-
full: "full";
|
|
2223
|
-
}>>;
|
|
2224
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2225
|
-
kind: z.ZodLiteral<"entry">;
|
|
2226
|
-
via: z.ZodOptional<z.ZodString>;
|
|
2227
|
-
collection: z.ZodOptional<z.ZodString>;
|
|
2228
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2229
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
2230
|
-
}, z.core.$strip>], "kind">>>;
|
|
2231
|
-
}, z.core.$strip>>;
|
|
2232
|
-
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>>>>>;
|
|
2233
|
-
}, z.core.$strip>;
|
|
2196
|
+
}, z.core.$strict>;
|
|
2234
2197
|
response: z.ZodObject<{
|
|
2235
2198
|
registered: z.ZodBoolean;
|
|
2236
2199
|
}, z.core.$strip>;
|
|
@@ -2243,84 +2206,47 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2243
2206
|
kinds: z.ZodArray<z.ZodObject<{
|
|
2244
2207
|
kind: z.ZodString;
|
|
2245
2208
|
description: z.ZodString;
|
|
2246
|
-
schemaVersion: z.
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
manual: "manual";
|
|
2253
|
-
supersedes: "supersedes";
|
|
2254
|
-
coexist: "coexist";
|
|
2209
|
+
schemaVersion: z.ZodNumber;
|
|
2210
|
+
category: z.ZodEnum<{
|
|
2211
|
+
record: "record";
|
|
2212
|
+
knowledge: "knowledge";
|
|
2213
|
+
commitment: "commitment";
|
|
2214
|
+
interaction: "interaction";
|
|
2255
2215
|
}>;
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2216
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2217
|
+
titlePath: z.ZodString;
|
|
2218
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2219
|
+
relationType: z.ZodString;
|
|
2220
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2221
|
+
minItems: z.ZodNumber;
|
|
2222
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
2223
|
+
}, z.core.$strict>>>;
|
|
2224
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2225
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2226
|
+
kind: z.ZodLiteral<"data">;
|
|
2227
|
+
path: z.ZodString;
|
|
2228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2229
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
2230
|
+
relationType: z.ZodString;
|
|
2231
|
+
}, z.core.$strict>], "kind">>;
|
|
2232
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2233
|
+
resolved: "resolved";
|
|
2234
|
+
open: "open";
|
|
2235
|
+
valid: "valid";
|
|
2265
2236
|
retired: "retired";
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2237
|
+
proposed: "proposed";
|
|
2238
|
+
decided: "decided";
|
|
2239
|
+
fulfilled: "fulfilled";
|
|
2240
|
+
revoked: "revoked";
|
|
2241
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
2242
|
+
}>>>;
|
|
2243
|
+
}, z.core.$strict>>>;
|
|
2244
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
2245
|
+
minItems: z.ZodNumber;
|
|
2246
|
+
}, z.core.$strict>>;
|
|
2269
2247
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2270
2248
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2271
|
-
|
|
2272
|
-
mode: z.ZodEnum<{
|
|
2273
|
-
none: "none";
|
|
2274
|
-
surface: "surface";
|
|
2275
|
-
comment: "comment";
|
|
2276
|
-
}>;
|
|
2277
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2278
|
-
artifact: "artifact";
|
|
2279
|
-
workpiece: "workpiece";
|
|
2280
|
-
}>>;
|
|
2281
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2282
|
-
created: "created";
|
|
2283
|
-
revised: "revised";
|
|
2284
|
-
"status-changed": "status-changed";
|
|
2285
|
-
"observation-added": "observation-added";
|
|
2286
|
-
}>>>;
|
|
2287
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2288
|
-
path: z.ZodString;
|
|
2289
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
2290
|
-
status: "status";
|
|
2291
|
-
workflow: "workflow";
|
|
2292
|
-
priority: "priority";
|
|
2293
|
-
}>>;
|
|
2294
|
-
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
2295
|
-
link: "link";
|
|
2296
|
-
summary: "summary";
|
|
2297
|
-
full: "full";
|
|
2298
|
-
}>>;
|
|
2299
|
-
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
2300
|
-
title: "title";
|
|
2301
|
-
summary: "summary";
|
|
2302
|
-
}>>;
|
|
2303
|
-
}, z.core.$strip>>>;
|
|
2304
|
-
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2305
|
-
kind: z.ZodLiteral<"own-view">;
|
|
2306
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2307
|
-
kind: z.ZodLiteral<"inline">;
|
|
2308
|
-
hostRelation: z.ZodString;
|
|
2309
|
-
as: z.ZodOptional<z.ZodEnum<{
|
|
2310
|
-
link: "link";
|
|
2311
|
-
summary: "summary";
|
|
2312
|
-
full: "full";
|
|
2313
|
-
}>>;
|
|
2314
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2315
|
-
kind: z.ZodLiteral<"entry">;
|
|
2316
|
-
via: z.ZodOptional<z.ZodString>;
|
|
2317
|
-
collection: z.ZodOptional<z.ZodString>;
|
|
2318
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2319
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
2320
|
-
}, z.core.$strip>], "kind">>>;
|
|
2321
|
-
}, z.core.$strip>>;
|
|
2322
|
-
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>>>>>;
|
|
2323
|
-
}, z.core.$strip>>;
|
|
2249
|
+
}, z.core.$strict>>;
|
|
2324
2250
|
}, z.core.$strip>;
|
|
2325
2251
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
2326
2252
|
'relation-type.register': {
|
|
@@ -2370,11 +2296,11 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2370
2296
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2371
2297
|
kind: z.ZodString;
|
|
2372
2298
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2299
|
+
schemaVersion: z.ZodNumber;
|
|
2373
2300
|
scope: z.ZodObject<{
|
|
2374
2301
|
level: z.ZodString;
|
|
2375
2302
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2376
2303
|
}, z.core.$strip>;
|
|
2377
|
-
schemaVersion: z.ZodString;
|
|
2378
2304
|
actor: z.ZodObject<{
|
|
2379
2305
|
kind: z.ZodString;
|
|
2380
2306
|
id: z.ZodString;
|
|
@@ -2457,6 +2383,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2457
2383
|
summary: z.ZodOptional<z.ZodString>;
|
|
2458
2384
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
2459
2385
|
}, z.core.$strip>>;
|
|
2386
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2460
2387
|
}, z.core.$strip>;
|
|
2461
2388
|
response: z.ZodObject<{
|
|
2462
2389
|
artifact: z.ZodObject<{
|
|
@@ -2467,7 +2394,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2467
2394
|
level: z.ZodString;
|
|
2468
2395
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2469
2396
|
}, z.core.$strip>;
|
|
2470
|
-
schemaVersion: z.
|
|
2397
|
+
schemaVersion: z.ZodNumber;
|
|
2471
2398
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2472
2399
|
relations: z.ZodArray<z.ZodObject<{
|
|
2473
2400
|
type: z.ZodString;
|
|
@@ -2564,15 +2491,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2564
2491
|
id: z.ZodString;
|
|
2565
2492
|
revision: z.ZodString;
|
|
2566
2493
|
}, z.core.$strip>;
|
|
2494
|
+
statusPath: z.ZodOptional<z.ZodString>;
|
|
2567
2495
|
revision: z.ZodObject<{
|
|
2568
2496
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2569
2497
|
kind: z.ZodString;
|
|
2570
2498
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2499
|
+
schemaVersion: z.ZodNumber;
|
|
2571
2500
|
scope: z.ZodObject<{
|
|
2572
2501
|
level: z.ZodString;
|
|
2573
2502
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2574
2503
|
}, z.core.$strip>;
|
|
2575
|
-
schemaVersion: z.ZodString;
|
|
2576
2504
|
actor: z.ZodObject<{
|
|
2577
2505
|
kind: z.ZodString;
|
|
2578
2506
|
id: z.ZodString;
|
|
@@ -2666,7 +2594,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2666
2594
|
level: z.ZodString;
|
|
2667
2595
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2668
2596
|
}, z.core.$strip>;
|
|
2669
|
-
schemaVersion: z.
|
|
2597
|
+
schemaVersion: z.ZodNumber;
|
|
2670
2598
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2671
2599
|
relations: z.ZodArray<z.ZodObject<{
|
|
2672
2600
|
type: z.ZodString;
|
|
@@ -2773,7 +2701,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2773
2701
|
level: z.ZodString;
|
|
2774
2702
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2775
2703
|
}, z.core.$strip>;
|
|
2776
|
-
schemaVersion: z.
|
|
2704
|
+
schemaVersion: z.ZodNumber;
|
|
2777
2705
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2778
2706
|
relations: z.ZodArray<z.ZodObject<{
|
|
2779
2707
|
type: z.ZodString;
|
|
@@ -2928,7 +2856,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2928
2856
|
level: z.ZodString;
|
|
2929
2857
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2930
2858
|
}, z.core.$strip>;
|
|
2931
|
-
schemaVersion: z.
|
|
2859
|
+
schemaVersion: z.ZodNumber;
|
|
2932
2860
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2933
2861
|
relations: z.ZodArray<z.ZodObject<{
|
|
2934
2862
|
type: z.ZodString;
|
|
@@ -3041,7 +2969,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3041
2969
|
level: z.ZodString;
|
|
3042
2970
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3043
2971
|
}, z.core.$strip>;
|
|
3044
|
-
schemaVersion: z.
|
|
2972
|
+
schemaVersion: z.ZodNumber;
|
|
3045
2973
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3046
2974
|
relations: z.ZodArray<z.ZodObject<{
|
|
3047
2975
|
type: z.ZodString;
|
|
@@ -3136,7 +3064,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3136
3064
|
level: z.ZodString;
|
|
3137
3065
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3138
3066
|
}, z.core.$strip>;
|
|
3139
|
-
schemaVersion: z.
|
|
3067
|
+
schemaVersion: z.ZodNumber;
|
|
3140
3068
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3141
3069
|
relations: z.ZodArray<z.ZodObject<{
|
|
3142
3070
|
type: z.ZodString;
|
|
@@ -3299,7 +3227,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3299
3227
|
level: z.ZodString;
|
|
3300
3228
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3301
3229
|
}, z.core.$strip>;
|
|
3302
|
-
schemaVersion: z.
|
|
3230
|
+
schemaVersion: z.ZodNumber;
|
|
3303
3231
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3304
3232
|
relations: z.ZodArray<z.ZodObject<{
|
|
3305
3233
|
type: z.ZodString;
|
|
@@ -3398,7 +3326,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3398
3326
|
level: z.ZodString;
|
|
3399
3327
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3400
3328
|
}, z.core.$strip>;
|
|
3401
|
-
schemaVersion: z.
|
|
3329
|
+
schemaVersion: z.ZodNumber;
|
|
3402
3330
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3403
3331
|
relations: z.ZodArray<z.ZodObject<{
|
|
3404
3332
|
type: z.ZodString;
|
|
@@ -3501,7 +3429,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3501
3429
|
level: z.ZodString;
|
|
3502
3430
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3503
3431
|
}, z.core.$strip>;
|
|
3504
|
-
schemaVersion: z.
|
|
3432
|
+
schemaVersion: z.ZodNumber;
|
|
3505
3433
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3506
3434
|
relations: z.ZodArray<z.ZodObject<{
|
|
3507
3435
|
type: z.ZodString;
|
|
@@ -3691,7 +3619,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
3691
3619
|
}, z.core.$strip>; /** Emitted when an artifact kind registration is added or updated. */
|
|
3692
3620
|
'kind.changed': z.ZodObject<{
|
|
3693
3621
|
kind: z.ZodString;
|
|
3694
|
-
schemaVersion: z.
|
|
3622
|
+
schemaVersion: z.ZodNumber;
|
|
3695
3623
|
}, z.core.$strip>;
|
|
3696
3624
|
}>;
|
|
3697
3625
|
/**
|
|
@@ -3720,84 +3648,47 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3720
3648
|
request: z.ZodObject<{
|
|
3721
3649
|
kind: z.ZodString;
|
|
3722
3650
|
description: z.ZodString;
|
|
3723
|
-
schemaVersion: z.
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
manual: "manual";
|
|
3730
|
-
supersedes: "supersedes";
|
|
3731
|
-
coexist: "coexist";
|
|
3651
|
+
schemaVersion: z.ZodNumber;
|
|
3652
|
+
category: z.ZodEnum<{
|
|
3653
|
+
record: "record";
|
|
3654
|
+
knowledge: "knowledge";
|
|
3655
|
+
commitment: "commitment";
|
|
3656
|
+
interaction: "interaction";
|
|
3732
3657
|
}>;
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3658
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3659
|
+
titlePath: z.ZodString;
|
|
3660
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3661
|
+
relationType: z.ZodString;
|
|
3662
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3663
|
+
minItems: z.ZodNumber;
|
|
3664
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
3665
|
+
}, z.core.$strict>>>;
|
|
3666
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3667
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3668
|
+
kind: z.ZodLiteral<"data">;
|
|
3669
|
+
path: z.ZodString;
|
|
3670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3671
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
3672
|
+
relationType: z.ZodString;
|
|
3673
|
+
}, z.core.$strict>], "kind">>;
|
|
3674
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3675
|
+
resolved: "resolved";
|
|
3676
|
+
open: "open";
|
|
3677
|
+
valid: "valid";
|
|
3742
3678
|
retired: "retired";
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3679
|
+
proposed: "proposed";
|
|
3680
|
+
decided: "decided";
|
|
3681
|
+
fulfilled: "fulfilled";
|
|
3682
|
+
revoked: "revoked";
|
|
3683
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
3684
|
+
}>>>;
|
|
3685
|
+
}, z.core.$strict>>>;
|
|
3686
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
3687
|
+
minItems: z.ZodNumber;
|
|
3688
|
+
}, z.core.$strict>>;
|
|
3746
3689
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3747
3690
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3748
|
-
|
|
3749
|
-
mode: z.ZodEnum<{
|
|
3750
|
-
none: "none";
|
|
3751
|
-
surface: "surface";
|
|
3752
|
-
comment: "comment";
|
|
3753
|
-
}>;
|
|
3754
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3755
|
-
artifact: "artifact";
|
|
3756
|
-
workpiece: "workpiece";
|
|
3757
|
-
}>>;
|
|
3758
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3759
|
-
created: "created";
|
|
3760
|
-
revised: "revised";
|
|
3761
|
-
"status-changed": "status-changed";
|
|
3762
|
-
"observation-added": "observation-added";
|
|
3763
|
-
}>>>;
|
|
3764
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3765
|
-
path: z.ZodString;
|
|
3766
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
3767
|
-
status: "status";
|
|
3768
|
-
workflow: "workflow";
|
|
3769
|
-
priority: "priority";
|
|
3770
|
-
}>>;
|
|
3771
|
-
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
3772
|
-
link: "link";
|
|
3773
|
-
summary: "summary";
|
|
3774
|
-
full: "full";
|
|
3775
|
-
}>>;
|
|
3776
|
-
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
3777
|
-
title: "title";
|
|
3778
|
-
summary: "summary";
|
|
3779
|
-
}>>;
|
|
3780
|
-
}, z.core.$strip>>>;
|
|
3781
|
-
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3782
|
-
kind: z.ZodLiteral<"own-view">;
|
|
3783
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3784
|
-
kind: z.ZodLiteral<"inline">;
|
|
3785
|
-
hostRelation: z.ZodString;
|
|
3786
|
-
as: z.ZodOptional<z.ZodEnum<{
|
|
3787
|
-
link: "link";
|
|
3788
|
-
summary: "summary";
|
|
3789
|
-
full: "full";
|
|
3790
|
-
}>>;
|
|
3791
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3792
|
-
kind: z.ZodLiteral<"entry">;
|
|
3793
|
-
via: z.ZodOptional<z.ZodString>;
|
|
3794
|
-
collection: z.ZodOptional<z.ZodString>;
|
|
3795
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3796
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
3797
|
-
}, z.core.$strip>], "kind">>>;
|
|
3798
|
-
}, z.core.$strip>>;
|
|
3799
|
-
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>>>>>;
|
|
3800
|
-
}, z.core.$strip>;
|
|
3691
|
+
}, z.core.$strict>;
|
|
3801
3692
|
response: z.ZodObject<{
|
|
3802
3693
|
registered: z.ZodBoolean;
|
|
3803
3694
|
}, z.core.$strip>;
|
|
@@ -3810,84 +3701,47 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3810
3701
|
kinds: z.ZodArray<z.ZodObject<{
|
|
3811
3702
|
kind: z.ZodString;
|
|
3812
3703
|
description: z.ZodString;
|
|
3813
|
-
schemaVersion: z.
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
manual: "manual";
|
|
3820
|
-
supersedes: "supersedes";
|
|
3821
|
-
coexist: "coexist";
|
|
3704
|
+
schemaVersion: z.ZodNumber;
|
|
3705
|
+
category: z.ZodEnum<{
|
|
3706
|
+
record: "record";
|
|
3707
|
+
knowledge: "knowledge";
|
|
3708
|
+
commitment: "commitment";
|
|
3709
|
+
interaction: "interaction";
|
|
3822
3710
|
}>;
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3711
|
+
dataSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3712
|
+
titlePath: z.ZodString;
|
|
3713
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3714
|
+
relationType: z.ZodString;
|
|
3715
|
+
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3716
|
+
minItems: z.ZodNumber;
|
|
3717
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
3718
|
+
}, z.core.$strict>>>;
|
|
3719
|
+
uniqueness: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3720
|
+
by: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3721
|
+
kind: z.ZodLiteral<"data">;
|
|
3722
|
+
path: z.ZodString;
|
|
3723
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3724
|
+
kind: z.ZodLiteral<"relation-target">;
|
|
3725
|
+
relationType: z.ZodString;
|
|
3726
|
+
}, z.core.$strict>], "kind">>;
|
|
3727
|
+
lifecycleStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3728
|
+
resolved: "resolved";
|
|
3729
|
+
open: "open";
|
|
3730
|
+
valid: "valid";
|
|
3832
3731
|
retired: "retired";
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3732
|
+
proposed: "proposed";
|
|
3733
|
+
decided: "decided";
|
|
3734
|
+
fulfilled: "fulfilled";
|
|
3735
|
+
revoked: "revoked";
|
|
3736
|
+
"closed-without-resolution": "closed-without-resolution";
|
|
3737
|
+
}>>>;
|
|
3738
|
+
}, z.core.$strict>>>;
|
|
3739
|
+
evidenceRequirements: z.ZodOptional<z.ZodObject<{
|
|
3740
|
+
minItems: z.ZodNumber;
|
|
3741
|
+
}, z.core.$strict>>;
|
|
3836
3742
|
indexedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3837
3743
|
searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3838
|
-
|
|
3839
|
-
mode: z.ZodEnum<{
|
|
3840
|
-
none: "none";
|
|
3841
|
-
surface: "surface";
|
|
3842
|
-
comment: "comment";
|
|
3843
|
-
}>;
|
|
3844
|
-
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3845
|
-
artifact: "artifact";
|
|
3846
|
-
workpiece: "workpiece";
|
|
3847
|
-
}>>;
|
|
3848
|
-
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3849
|
-
created: "created";
|
|
3850
|
-
revised: "revised";
|
|
3851
|
-
"status-changed": "status-changed";
|
|
3852
|
-
"observation-added": "observation-added";
|
|
3853
|
-
}>>>;
|
|
3854
|
-
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3855
|
-
path: z.ZodString;
|
|
3856
|
-
semantic: z.ZodOptional<z.ZodEnum<{
|
|
3857
|
-
status: "status";
|
|
3858
|
-
workflow: "workflow";
|
|
3859
|
-
priority: "priority";
|
|
3860
|
-
}>>;
|
|
3861
|
-
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
3862
|
-
link: "link";
|
|
3863
|
-
summary: "summary";
|
|
3864
|
-
full: "full";
|
|
3865
|
-
}>>;
|
|
3866
|
-
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
3867
|
-
title: "title";
|
|
3868
|
-
summary: "summary";
|
|
3869
|
-
}>>;
|
|
3870
|
-
}, z.core.$strip>>>;
|
|
3871
|
-
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3872
|
-
kind: z.ZodLiteral<"own-view">;
|
|
3873
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3874
|
-
kind: z.ZodLiteral<"inline">;
|
|
3875
|
-
hostRelation: z.ZodString;
|
|
3876
|
-
as: z.ZodOptional<z.ZodEnum<{
|
|
3877
|
-
link: "link";
|
|
3878
|
-
summary: "summary";
|
|
3879
|
-
full: "full";
|
|
3880
|
-
}>>;
|
|
3881
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3882
|
-
kind: z.ZodLiteral<"entry">;
|
|
3883
|
-
via: z.ZodOptional<z.ZodString>;
|
|
3884
|
-
collection: z.ZodOptional<z.ZodString>;
|
|
3885
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3886
|
-
hostRelation: z.ZodOptional<z.ZodString>;
|
|
3887
|
-
}, z.core.$strip>], "kind">>>;
|
|
3888
|
-
}, z.core.$strip>>;
|
|
3889
|
-
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>>>>>;
|
|
3890
|
-
}, z.core.$strip>>;
|
|
3744
|
+
}, z.core.$strict>>;
|
|
3891
3745
|
}, z.core.$strip>;
|
|
3892
3746
|
}; /** Register a new relation type with the artifact service (RPC). */
|
|
3893
3747
|
'relation-type.register': {
|
|
@@ -3937,11 +3791,11 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3937
3791
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3938
3792
|
kind: z.ZodString;
|
|
3939
3793
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3794
|
+
schemaVersion: z.ZodNumber;
|
|
3940
3795
|
scope: z.ZodObject<{
|
|
3941
3796
|
level: z.ZodString;
|
|
3942
3797
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3943
3798
|
}, z.core.$strip>;
|
|
3944
|
-
schemaVersion: z.ZodString;
|
|
3945
3799
|
actor: z.ZodObject<{
|
|
3946
3800
|
kind: z.ZodString;
|
|
3947
3801
|
id: z.ZodString;
|
|
@@ -4024,6 +3878,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4024
3878
|
summary: z.ZodOptional<z.ZodString>;
|
|
4025
3879
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4026
3880
|
}, z.core.$strip>>;
|
|
3881
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4027
3882
|
}, z.core.$strip>;
|
|
4028
3883
|
response: z.ZodObject<{
|
|
4029
3884
|
artifact: z.ZodObject<{
|
|
@@ -4034,7 +3889,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4034
3889
|
level: z.ZodString;
|
|
4035
3890
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4036
3891
|
}, z.core.$strip>;
|
|
4037
|
-
schemaVersion: z.
|
|
3892
|
+
schemaVersion: z.ZodNumber;
|
|
4038
3893
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4039
3894
|
relations: z.ZodArray<z.ZodObject<{
|
|
4040
3895
|
type: z.ZodString;
|
|
@@ -4131,15 +3986,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4131
3986
|
id: z.ZodString;
|
|
4132
3987
|
revision: z.ZodString;
|
|
4133
3988
|
}, z.core.$strip>;
|
|
3989
|
+
statusPath: z.ZodOptional<z.ZodString>;
|
|
4134
3990
|
revision: z.ZodObject<{
|
|
4135
3991
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4136
3992
|
kind: z.ZodString;
|
|
4137
3993
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3994
|
+
schemaVersion: z.ZodNumber;
|
|
4138
3995
|
scope: z.ZodObject<{
|
|
4139
3996
|
level: z.ZodString;
|
|
4140
3997
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4141
3998
|
}, z.core.$strip>;
|
|
4142
|
-
schemaVersion: z.ZodString;
|
|
4143
3999
|
actor: z.ZodObject<{
|
|
4144
4000
|
kind: z.ZodString;
|
|
4145
4001
|
id: z.ZodString;
|
|
@@ -4233,7 +4089,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4233
4089
|
level: z.ZodString;
|
|
4234
4090
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4235
4091
|
}, z.core.$strip>;
|
|
4236
|
-
schemaVersion: z.
|
|
4092
|
+
schemaVersion: z.ZodNumber;
|
|
4237
4093
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4238
4094
|
relations: z.ZodArray<z.ZodObject<{
|
|
4239
4095
|
type: z.ZodString;
|
|
@@ -4340,7 +4196,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4340
4196
|
level: z.ZodString;
|
|
4341
4197
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4342
4198
|
}, z.core.$strip>;
|
|
4343
|
-
schemaVersion: z.
|
|
4199
|
+
schemaVersion: z.ZodNumber;
|
|
4344
4200
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4345
4201
|
relations: z.ZodArray<z.ZodObject<{
|
|
4346
4202
|
type: z.ZodString;
|
|
@@ -4495,7 +4351,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4495
4351
|
level: z.ZodString;
|
|
4496
4352
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4497
4353
|
}, z.core.$strip>;
|
|
4498
|
-
schemaVersion: z.
|
|
4354
|
+
schemaVersion: z.ZodNumber;
|
|
4499
4355
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4500
4356
|
relations: z.ZodArray<z.ZodObject<{
|
|
4501
4357
|
type: z.ZodString;
|
|
@@ -4608,7 +4464,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4608
4464
|
level: z.ZodString;
|
|
4609
4465
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4610
4466
|
}, z.core.$strip>;
|
|
4611
|
-
schemaVersion: z.
|
|
4467
|
+
schemaVersion: z.ZodNumber;
|
|
4612
4468
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4613
4469
|
relations: z.ZodArray<z.ZodObject<{
|
|
4614
4470
|
type: z.ZodString;
|
|
@@ -4703,7 +4559,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4703
4559
|
level: z.ZodString;
|
|
4704
4560
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4705
4561
|
}, z.core.$strip>;
|
|
4706
|
-
schemaVersion: z.
|
|
4562
|
+
schemaVersion: z.ZodNumber;
|
|
4707
4563
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4708
4564
|
relations: z.ZodArray<z.ZodObject<{
|
|
4709
4565
|
type: z.ZodString;
|
|
@@ -4866,7 +4722,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4866
4722
|
level: z.ZodString;
|
|
4867
4723
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4868
4724
|
}, z.core.$strip>;
|
|
4869
|
-
schemaVersion: z.
|
|
4725
|
+
schemaVersion: z.ZodNumber;
|
|
4870
4726
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4871
4727
|
relations: z.ZodArray<z.ZodObject<{
|
|
4872
4728
|
type: z.ZodString;
|
|
@@ -4965,7 +4821,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4965
4821
|
level: z.ZodString;
|
|
4966
4822
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4967
4823
|
}, z.core.$strip>;
|
|
4968
|
-
schemaVersion: z.
|
|
4824
|
+
schemaVersion: z.ZodNumber;
|
|
4969
4825
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4970
4826
|
relations: z.ZodArray<z.ZodObject<{
|
|
4971
4827
|
type: z.ZodString;
|
|
@@ -5068,7 +4924,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
5068
4924
|
level: z.ZodString;
|
|
5069
4925
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5070
4926
|
}, z.core.$strip>;
|
|
5071
|
-
schemaVersion: z.
|
|
4927
|
+
schemaVersion: z.ZodNumber;
|
|
5072
4928
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
5073
4929
|
relations: z.ZodArray<z.ZodObject<{
|
|
5074
4930
|
type: z.ZodString;
|
|
@@ -5258,54 +5114,63 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
5258
5114
|
}, z.core.$strip>; /** Emitted when an artifact kind registration is added or updated. */
|
|
5259
5115
|
'kind.changed': z.ZodObject<{
|
|
5260
5116
|
kind: z.ZodString;
|
|
5261
|
-
schemaVersion: z.
|
|
5117
|
+
schemaVersion: z.ZodNumber;
|
|
5262
5118
|
}, z.core.$strip>;
|
|
5263
5119
|
}>, "artifact">;
|
|
5264
5120
|
/** Request payload for registering an artifact kind. */
|
|
5265
|
-
type ArtifactKindRegisterRequest = z.infer<(typeof ArtifactSchemas)['kind.register']['request']>;
|
|
5121
|
+
type ArtifactKindRegisterRequest = z.infer<(typeof ArtifactSchemas$1)['kind.register']['request']>;
|
|
5266
5122
|
/** Response payload for registering an artifact kind. */
|
|
5267
|
-
type ArtifactKindRegisterResponse = z.infer<(typeof ArtifactSchemas)['kind.register']['response']>;
|
|
5123
|
+
type ArtifactKindRegisterResponse = z.infer<(typeof ArtifactSchemas$1)['kind.register']['response']>;
|
|
5268
5124
|
/** Request payload for listing artifact kinds. */
|
|
5269
|
-
type ArtifactKindListRequest = z.infer<(typeof ArtifactSchemas)['kind.list']['request']>;
|
|
5125
|
+
type ArtifactKindListRequest = z.infer<(typeof ArtifactSchemas$1)['kind.list']['request']>;
|
|
5270
5126
|
/** Response payload for listing artifact kinds. */
|
|
5271
|
-
type ArtifactKindListResponse = z.infer<(typeof ArtifactSchemas)['kind.list']['response']>;
|
|
5127
|
+
type ArtifactKindListResponse = z.infer<(typeof ArtifactSchemas$1)['kind.list']['response']>;
|
|
5272
5128
|
/** Request payload for registering a relation type. */
|
|
5273
|
-
type ArtifactRelationTypeRegisterRequest = z.infer<(typeof ArtifactSchemas)['relation-type.register']['request']>;
|
|
5129
|
+
type ArtifactRelationTypeRegisterRequest = z.infer<(typeof ArtifactSchemas$1)['relation-type.register']['request']>;
|
|
5274
5130
|
/** Response payload for registering a relation type. */
|
|
5275
|
-
type ArtifactRelationTypeRegisterResponse = z.infer<(typeof ArtifactSchemas)['relation-type.register']['response']>;
|
|
5131
|
+
type ArtifactRelationTypeRegisterResponse = z.infer<(typeof ArtifactSchemas$1)['relation-type.register']['response']>;
|
|
5276
5132
|
/** Request payload for listing relation types. */
|
|
5277
|
-
type ArtifactRelationTypeListRequest = z.infer<(typeof ArtifactSchemas)['relation-type.list']['request']>;
|
|
5133
|
+
type ArtifactRelationTypeListRequest = z.infer<(typeof ArtifactSchemas$1)['relation-type.list']['request']>;
|
|
5278
5134
|
/** Response payload for listing relation types. */
|
|
5279
|
-
type ArtifactRelationTypeListResponse = z.infer<(typeof ArtifactSchemas)['relation-type.list']['response']>;
|
|
5135
|
+
type ArtifactRelationTypeListResponse = z.infer<(typeof ArtifactSchemas$1)['relation-type.list']['response']>;
|
|
5280
5136
|
/** Request payload for creating a new artifact. */
|
|
5281
|
-
type ArtifactCreateRequest = z.infer<(typeof ArtifactSchemas)['create']['request']>;
|
|
5137
|
+
type ArtifactCreateRequest = z.infer<(typeof ArtifactSchemas$1)['create']['request']>;
|
|
5282
5138
|
/** Response payload for creating a new artifact. */
|
|
5283
|
-
type ArtifactCreateResponse = z.infer<(typeof ArtifactSchemas)['create']['response']>;
|
|
5139
|
+
type ArtifactCreateResponse = z.infer<(typeof ArtifactSchemas$1)['create']['response']>;
|
|
5284
5140
|
/** Request payload for creating a new artifact revision. */
|
|
5285
|
-
type ArtifactReviseRequest = z.infer<(typeof ArtifactSchemas)['revise']['request']>;
|
|
5141
|
+
type ArtifactReviseRequest = z.infer<(typeof ArtifactSchemas$1)['revise']['request']>;
|
|
5286
5142
|
/** Response payload for creating a new artifact revision. */
|
|
5287
|
-
type ArtifactReviseResponse = z.infer<(typeof ArtifactSchemas)['revise']['response']>;
|
|
5143
|
+
type ArtifactReviseResponse = z.infer<(typeof ArtifactSchemas$1)['revise']['response']>;
|
|
5288
5144
|
/** Request payload for resolving an artifact by reference. */
|
|
5289
|
-
type ArtifactResolveRequest = z.infer<(typeof ArtifactSchemas)['resolve']['request']>;
|
|
5145
|
+
type ArtifactResolveRequest = z.infer<(typeof ArtifactSchemas$1)['resolve']['request']>;
|
|
5290
5146
|
/** Response payload for resolving an artifact by reference. */
|
|
5291
|
-
type ArtifactResolveResponse = z.infer<(typeof ArtifactSchemas)['resolve']['response']>;
|
|
5147
|
+
type ArtifactResolveResponse = z.infer<(typeof ArtifactSchemas$1)['resolve']['response']>;
|
|
5292
5148
|
/** Response payload for querying artifacts. */
|
|
5293
|
-
type ArtifactQueryResponse = z.infer<(typeof ArtifactSchemas)['query']['response']>;
|
|
5149
|
+
type ArtifactQueryResponse = z.infer<(typeof ArtifactSchemas$1)['query']['response']>;
|
|
5294
5150
|
/** Request payload for resolving artifact context. */
|
|
5295
|
-
type ArtifactResolveContextRequest = z.infer<(typeof ArtifactSchemas)['resolveContext']['request']>;
|
|
5151
|
+
type ArtifactResolveContextRequest = z.infer<(typeof ArtifactSchemas$1)['resolveContext']['request']>;
|
|
5296
5152
|
/** Response payload for resolving artifact context. */
|
|
5297
|
-
type ArtifactResolveContextResponse = z.infer<(typeof ArtifactSchemas)['resolveContext']['response']>;
|
|
5153
|
+
type ArtifactResolveContextResponse = z.infer<(typeof ArtifactSchemas$1)['resolveContext']['response']>;
|
|
5298
5154
|
/** Payload for the artifact created event. */
|
|
5299
|
-
type ArtifactCreatedPayload = z.infer<(typeof ArtifactSchemas)['created']>;
|
|
5155
|
+
type ArtifactCreatedPayload = z.infer<(typeof ArtifactSchemas$1)['created']>;
|
|
5300
5156
|
/** Payload for the artifact revised event. */
|
|
5301
|
-
type ArtifactRevisedPayload = z.infer<(typeof ArtifactSchemas)['revised']>;
|
|
5157
|
+
type ArtifactRevisedPayload = z.infer<(typeof ArtifactSchemas$1)['revised']>;
|
|
5302
5158
|
/** Payload for the relation added event. */
|
|
5303
|
-
type ArtifactRelationAddedPayload = z.infer<(typeof ArtifactSchemas)['relation.added']>;
|
|
5159
|
+
type ArtifactRelationAddedPayload = z.infer<(typeof ArtifactSchemas$1)['relation.added']>;
|
|
5304
5160
|
/** Payload for the observation added event. */
|
|
5305
|
-
type ArtifactObservationAddedPayload = z.infer<(typeof ArtifactSchemas)['observation.added']>;
|
|
5161
|
+
type ArtifactObservationAddedPayload = z.infer<(typeof ArtifactSchemas$1)['observation.added']>;
|
|
5306
5162
|
/** Payload for the status changed event. */
|
|
5307
|
-
type ArtifactStatusChangedPayload = z.infer<(typeof ArtifactSchemas)['status.changed']>;
|
|
5163
|
+
type ArtifactStatusChangedPayload = z.infer<(typeof ArtifactSchemas$1)['status.changed']>;
|
|
5308
5164
|
/** Payload for the kind registration changed event. */
|
|
5309
|
-
type ArtifactKindChangedPayload = z.infer<(typeof ArtifactSchemas)['kind.changed']>;
|
|
5165
|
+
type ArtifactKindChangedPayload = z.infer<(typeof ArtifactSchemas$1)['kind.changed']>;
|
|
5166
|
+
//#endregion
|
|
5167
|
+
//#region core/contracts/src/artifact/kind-paths.d.ts
|
|
5168
|
+
/**
|
|
5169
|
+
* Read the mandatory human-readable title without changing its original text.
|
|
5170
|
+
* @param data - Validated artifact data.
|
|
5171
|
+
* @param titlePath - Data-relative property path declared by the kind.
|
|
5172
|
+
* @returns A nonblank title; throws when the kind's title invariant is violated.
|
|
5173
|
+
*/
|
|
5174
|
+
declare function readArtifactTitle(data: Record<string, unknown>, titlePath: string): string;
|
|
5310
5175
|
//#endregion
|
|
5311
|
-
export {
|
|
5176
|
+
export { AfterArtifactHookContext as $, ArtifactContextRootNode as A, ARTIFACT_CONTEXT_RENDER_HINTS as B, ArtifactReviseResponse as C, ArtifactSubjects$1 as D, ArtifactStatusChangedPayload as E, ArtifactContextRefEntrySchema as F, ArtifactContextRenderHintSchema as G, ArtifactContextRelationSelector as H, ArtifactContextUnresolvedReason as I, AnyArtifactKindDefinition as J, ArtifactContextSelector$1 as K, ArtifactContextUnresolvedReasonSchema as L, ResolvedArtifactContextNode as M, UnresolvedArtifactContextNode as N, hydrateArtifactContextTree as O, ArtifactContextRefEntry as P, defineArtifactKind as Q, ResolvedArtifactContextWire$1 as R, ArtifactReviseRequest as S, ArtifactSchemas$1 as T, ArtifactContextRelationSelectorSchema as U, ArtifactContextKnownRenderHint as V, ArtifactContextRenderHint as W, ArtifactKindDefinition as X, ArtifactDataOf as Y, ArtifactOf as Z, ArtifactRelationTypeRegisterResponse as _, ArtifactKindChangedPayload as a, ArtifactLifecycleHookEvent as at, ArtifactResolveRequest as b, ArtifactKindRegisterRequest as c, BeforeArtifactHookContext as ct, ArtifactObservationAddedPayload as d, AfterArtifactHookRegistration as et, ArtifactQueryResponse as f, ArtifactRelationTypeRegisterRequest as g, ArtifactRelationTypeListResponse as h, ArtifactCreatedPayload as i, ArtifactLifecycleHookDefinition as it, ArtifactContextTree as j, ArtifactContextNode as k, ArtifactKindRegisterResponse as l, BeforeArtifactHookRegistration as lt, ArtifactRelationTypeListRequest as m, ArtifactCreateRequest as n, ArtifactDraftPatch as nt, ArtifactKindListRequest as o, ArtifactLifecycleHookRegistration$1 as ot, ArtifactRelationAddedPayload as p, ArtifactContextSelectorSchema as q, ArtifactCreateResponse as r, ArtifactHookFilter as rt, ArtifactKindListResponse as s, ArtifactLifecycleSemanticEvent as st, readArtifactTitle as t, ArtifactDraft as tt, ArtifactNamespace as u, defineArtifactLifecycleHooks as ut, ArtifactResolveContextRequest as v, ArtifactRevisedPayload as w, ArtifactResolveResponse as x, ArtifactResolveContextResponse as y, ResolvedArtifactContextWireSchema as z };
|