@makaio/framework 1.0.0-dev-1787670559522 → 1.0.0-dev-1787949057928
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/README.md +2 -0
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-DGpXd8h_.mjs → account-identity-B3vLwm9O.mjs} +1 -1
- package/dist/adapter-Dz1fX5Wa.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +118 -76
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.d.mts +5 -5
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +73 -53
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/{artifact-k3veR4Yx.mjs → artifact-Btbuib48.mjs} +1 -1
- package/dist/attach-error-Cb3GbeKe.mjs +1 -0
- package/dist/{auth-A1K_7q-8.mjs → auth-C6tVtaOX.mjs} +1 -1
- package/dist/{authority-state-bootstrap-YwtEImIB.mjs → authority-state-bootstrap-CLYus369.mjs} +1 -1
- package/dist/{automation-trigger-CuSdQwir.mjs → automation-trigger-ByjNlClm.mjs} +1 -1
- package/dist/bus/index.d.mts +22 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CqgrphNE.mjs → bus-D6NoBhIV.mjs} +1 -1
- package/dist/bus-UgFdHybD.mjs +1 -0
- package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
- package/dist/{canonical-model-DJASlL4m.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
- package/dist/capabilities-BUwuA7XX.mjs +1 -0
- package/dist/capability-j3NekkIu.mjs +1 -0
- package/dist/{client-BL5__WT0.mjs → client-BkznbdsO.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 +21 -0
- package/dist/code-execution/worker-entry.mjs +1 -0
- package/dist/code-execution-Ckmn8OZu.mjs +1 -0
- package/dist/code-execution-CweDSWco.mjs +1 -0
- package/dist/code-execution-DqkQjKa1.mjs +1 -0
- package/dist/{compression-BbttSqm8.mjs → compression-CtgeVLpP.mjs} +1 -1
- package/dist/{config-namespace-CyzeLWSg.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
- package/dist/{context-resolution-ya9TXKg-.d.mts → context-resolution-841T7jBI.d.mts} +1 -1
- package/dist/contracts/adapter/index.d.mts +3 -3
- 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 +2 -2
- 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 +2 -0
- package/dist/contracts/code-execution/index.mjs +1 -0
- 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 +62 -52
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/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 +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +3 -3
- 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-node/index.d.mts +1 -1
- package/dist/contracts/worker-node/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-BB5bjx3f.d.mts → contribution-CUHLVLsT.d.mts} +2 -2
- package/dist/core/index.d.mts +25 -2
- package/dist/{definition-CDg-Jq1T.mjs → definition-BH4QLGLI.mjs} +1 -1
- package/dist/{definition-BYgHlmMw.d.mts → definition-DyGImhyi.d.mts} +1 -1
- package/dist/{detached-extension-handle-DKd17UB6.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
- package/dist/drizzle/0034_m_msha1388.sql +41 -0
- package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
- package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
- package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
- package/dist/drizzle/meta/_journal.json +28 -0
- package/dist/event-B8ELuk6k.mjs +1 -0
- package/dist/{execution-attempt-repository-DFyAnchJ.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
- package/dist/{execution-target-ByNwZh5-.mjs → execution-target-H0RWV7Py.mjs} +1 -1
- package/dist/{extension-DUmibvMk.mjs → extension-Bfkr2DBs.mjs} +1 -1
- package/dist/{extension-DMdmj9gi.mjs → extension-Cz39YNXy.mjs} +1 -1
- package/dist/{extension-discovery-Fhps4icD.d.mts → extension-discovery-Dhu3WplO.d.mts} +9 -1
- package/dist/{filesystem-service-FAtd9gWH.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
- package/dist/framework-packages-BHgul8Kl.mjs +1 -0
- package/dist/git/index.mjs +2 -2
- package/dist/{globby-BBLuT_vy.mjs → globby-QBDqstzq.mjs} +1 -1
- package/dist/handlers-BsHAFtye.mjs +57 -0
- package/dist/{harness-KxbWGL4I.mjs → harness-YQ2ewID9.mjs} +1 -1
- package/dist/{hook-responses-uCXAICTU.d.mts → hook-responses-9Ywsqzzq.d.mts} +1 -1
- package/dist/identity-OjRlG6dZ.mjs +1 -0
- package/dist/{index-CfiCJPP6.d.mts → index-B0VO0rAl.d.mts} +1 -1
- package/dist/{index-DI7-tIL3.d.mts → index-B0yMCJW8.d.mts} +39 -14
- package/dist/{index-CER64zYO.d.mts → index-B9io6JAL.d.mts} +15 -15
- package/dist/{index-CqQYgsbB.d.mts → index-BNzUyVwV.d.mts} +513 -170
- package/dist/{index-1UcQWrZy.d.mts → index-BUwDmh1I.d.mts} +142 -142
- package/dist/{index-CM75k-Ff.d.mts → index-BkbnC65b.d.mts} +189 -17
- package/dist/index-Bqk0pJBQ2.d.mts +138 -0
- package/dist/{index-C-JzEkqs.d.mts → index-C146Eq_J.d.mts} +535 -1801
- package/dist/{index-C__EQfKa.d.mts → index-CIEycZrt.d.mts} +1 -1
- package/dist/{index-DxYDRoDE2.d.mts → index-CMekqu_D.d.mts} +28 -8
- package/dist/{index-nydhGvXa.d.mts → index-CPRQ4dWX.d.mts} +0 -23
- package/dist/{index-BSQ30wYP.d.mts → index-CPi0UpRh.d.mts} +1 -1
- package/dist/{index-BtdK8HeH.d.mts → index-CVNbBtA-.d.mts} +72 -197
- package/dist/{index-BMVZs6pm.d.mts → index-CYjgoYeX.d.mts} +3 -3
- package/dist/{index-CSN_0sCo.d.mts → index-CmwAJ8-5.d.mts} +1 -1
- package/dist/index-Cny5RvjO.d.mts +800 -0
- package/dist/{index-B0xJgTi-.d.mts → index-D8D-yibS2.d.mts} +4 -4
- package/dist/index-DHnSLGP4.d.mts +268 -0
- package/dist/index-DQ8o3JGi.d.mts +132 -0
- package/dist/index-DWBkiiXH.d.mts +18 -0
- package/dist/{index-cPqSpWQC.d.mts → index-DfUpqwBa2.d.mts} +16 -16
- package/dist/index-Dg11JxKZ.d.mts +496 -0
- package/dist/{index-Bl7KWFod.d.mts → index-NUByQvlg.d.mts} +15 -15
- package/dist/{index-e4Txan9i.d.mts → index-cLB38AWX.d.mts} +64 -64
- package/dist/json-value-BBZ6uGwc.mjs +1 -0
- package/dist/json-value-DPqb-SJ8.d.mts +177 -0
- 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/{lib-CnOAtohU.mjs → lib-BpGvHZye.mjs} +2 -2
- package/dist/{lib-B_rJ6r0T.mjs → lib-Cm-uEoC1.mjs} +1 -1
- package/dist/{load-extensions-DUpaMQ7G.d.mts → load-extensions-BQoXaHhR.d.mts} +1 -1
- package/dist/{load-extensions-CW9uzNR5.mjs → load-extensions-DG5LvPyM.mjs} +1 -1
- package/dist/{materialization-CcpCDhXh.mjs → materialization-lVd9_-jr.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-DrzPt3ou.mjs +1 -0
- package/dist/{namespace-B7bntOB8.mjs → namespace-BL7lHlmg.mjs} +1 -1
- package/dist/{namespace-BgEiY7r1.d.mts → namespace-BNp7n_gu.d.mts} +3 -3
- package/dist/{namespace-DSlfFhB1.d.mts → namespace-BRuHzhPo.d.mts} +154 -2
- package/dist/{namespace-ChnRTUG4.d.mts → namespace-C06lJSuj.d.mts} +6 -6
- package/dist/{namespace-C6CVEGH8.d.mts → namespace-DknCutQZ.d.mts} +50 -0
- package/dist/namespace-sCPb79-7.mjs +1 -0
- package/dist/{native-session-supervisor-fZYPUk0-.mjs → native-session-supervisor-LKio8XZn.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/npm-package-name-DuTYVICk.mjs +1 -0
- package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
- package/dist/{orchestrator-shared-B-KRW1Z0.d.mts → orchestrator-shared-CNHSImNY.d.mts} +9 -10
- package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
- package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
- package/dist/{package-ypz4rKvn.mjs → package-B01gmu75.mjs} +1 -1
- package/dist/{package-Bf3hyuzs.d.mts → package-BNFTUFLB.d.mts} +2 -2
- package/dist/package-DttKA9wN.mjs +1 -0
- package/dist/{package-CddkNbZI.mjs → package-JtjbO-Oi.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{profile-BtznZlq3.mjs → profile-N5qGUpF0.mjs} +1 -1
- package/dist/{provider-context-Dh-VOOYF.mjs → provider-context-CG42JlP9.mjs} +1 -1
- package/dist/{provider-context-BrLZYnDW.mjs → provider-context-zTDSH2x9.mjs} +1 -1
- package/dist/{reaction-BS0k4eNN.mjs → reaction-D3TNwPK8.mjs} +1 -1
- package/dist/{registry-BO_bOoky.mjs → registry-Dk12tAfv.mjs} +1 -1
- package/dist/{resolved-DMByz1_2.mjs → resolved-sq8RXNDf.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/rules/schemas.mjs +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +3 -0
- package/dist/runtime-node/code-execution/index.mjs +1 -0
- package/dist/runtime-node/extension-discovery.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.mjs +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 -4
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-DKTzriEY.d.mts → schema-B3Pf7JP7.d.mts} +250 -3
- package/dist/{schema-DBG7Jq5_.mjs → schema-Dq-7si8u.mjs} +1 -1
- package/dist/{schemas-DvMbcABQ.d.mts → schemas-BAv9RB9M.d.mts} +4 -4
- package/dist/{schemas-DSkBOdx_.mjs → schemas-BfO5jkrL.mjs} +1 -1
- package/dist/{schemas-B7zo7Zcx.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
- package/dist/schemas-C3kyQWGf.mjs +1 -0
- package/dist/{schemas-B3bfVYcL.d.mts → schemas-CF8QwRqt.d.mts} +2 -0
- package/dist/{schemas-DZH9lpxs.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
- package/dist/{schemas-CsjN7cmM.mjs → schemas-QWDnauKX.mjs} +1 -1
- package/dist/schemas-TK29KWx-.mjs +1 -0
- package/dist/schemas-_2Syo_01.mjs +1 -0
- package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
- package/dist/{selection-7Ku8DBnh.mjs → selection-DL3ric7K.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +4 -4
- 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 +2 -2
- package/dist/services/adapter-runtime/schemas.mjs +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 +3 -2
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/code-execution/index.d.mts +2 -0
- package/dist/services/code-execution/index.mjs +1 -0
- 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/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +18 -0
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +10 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +160 -60
- 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 +1 -1
- 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 +10 -10
- 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 +2 -2
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +22 -1
- package/dist/services/session/testing/index.mjs +38 -14
- 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.d.mts +4 -4
- 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-BOpTI79g.mjs +1 -0
- package/dist/session-CXOPk3yg.mjs +95 -0
- package/dist/{shared-BFVuCDPx.mjs → shared-B9AWRm9A.mjs} +1 -1
- package/dist/{skill-C1D51nhh.mjs → skill-DGNtc_ww.mjs} +1 -1
- package/dist/{src-xbmzokNe.mjs → src-BmSQ3rlz.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 +41 -2
- 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 +1 -0
- package/dist/{tools-DxwHox1a.mjs → tools-DWKWX3eV.mjs} +1 -1
- package/dist/{transition-C_Ka6b0-.d.mts → transition-D3zUBTPc.d.mts} +6 -6
- package/dist/{types-BNjPhj_a.d.mts → types-CtDGkyLx2.d.mts} +1 -1
- package/dist/types-Cwza95hS.mjs +1 -0
- package/dist/{types-CwvN4uN2.d.mts → types-DcxBYlPA.d.mts} +3018 -38
- package/dist/types-DnK6Wa_Y.d.mts +260 -0
- package/dist/{types-ClpEaoAm.d.mts → types-OKJCOjme.d.mts} +24 -4
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +22 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.mjs +1 -1
- package/dist/{version-BfNnVAGr.mjs → version-BYeVh1pI.mjs} +1 -1
- package/dist/{view-builder-KYsPqV-5.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
- package/dist/{visibility-Dl1o2I01.mjs → visibility-DtDLRBdr.mjs} +1 -1
- package/dist/worker-node-CjuQb9hl.mjs +1 -0
- package/dist/{worker-node-DJ41Tr-F.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
- package/dist/workflow-C4mck_NW.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +88 -88
- 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/index.d.mts +2 -2
- 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 +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-DM0fN_eP.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
- package/dist/workflow-worker-aNbdgqml.mjs +1 -0
- package/package.json +18 -1
- package/dist/adapter-BkdJaOOG.mjs +0 -1
- package/dist/agent-namespace-D51PODFf.mjs +0 -1
- package/dist/attach-error-BSlc7JfL.mjs +0 -1
- package/dist/bus-BIj0_aG6.mjs +0 -1
- package/dist/capabilities-Bqckjh7G.mjs +0 -1
- package/dist/capability-service-CJHNkjvm.mjs +0 -1
- package/dist/event-DR8U9Efx.mjs +0 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +0 -1
- package/dist/handlers-2yd00VEq.mjs +0 -57
- package/dist/identity-DC3Pk0ps.mjs +0 -1
- package/dist/index-OsbtyMgx2.d.mts +0 -98
- package/dist/json-value-C1RGgS0a.d.mts +0 -72
- package/dist/json-value-D57aJhVn.mjs +0 -1
- package/dist/model-ZH3L1dPW.mjs +0 -1
- package/dist/namespace-CxrOLeeP.mjs +0 -1
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +0 -1
- package/dist/ownership-memory-handler-Bblp93YC.mjs +0 -1
- package/dist/schemas-BqD8LlQw.mjs +0 -1
- package/dist/schemas-CvHFbzdy.mjs +0 -1
- package/dist/schemas-DplrlAyR.mjs +0 -1
- package/dist/scoped-bus-ClwTWqX8.mjs +0 -1
- package/dist/session-BMy2kRpX.mjs +0 -90
- package/dist/session-Cipx34j6.mjs +0 -1
- package/dist/tool-approval-service-BVgN9Q1r.mjs +0 -1
- package/dist/worker-node-BDOYPEpi.mjs +0 -1
- package/dist/workflow-Hzc5jlnV.mjs +0 -1
- package/dist/workflow-worker-DARC7UZl.mjs +0 -1
- /package/dist/{adapter-auth-runtime-D9Lnl7cc.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
- /package/dist/{adapter-binding-B-FBoCys.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
- /package/dist/{ajv-L5fKxaia.mjs → ajv-krzJXh1X.mjs} +0 -0
- /package/dist/{attempt-record-codec-DaFLKR5C.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
- /package/dist/{await-trigger-ph1S0zVI.mjs → await-trigger-Bkg2BQfg.mjs} +0 -0
- /package/dist/{base-orchestrator-D9u4NyiM.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
- /package/dist/{index-Ol9RBB0W2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
- /package/dist/{client-4ihewPUm.d.mts → client-BG0WX5Vz.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-DJajc_Ff.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-jDDZ64Ah.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
- /package/dist/{clients-namespace-DFWuUawf.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
- /package/dist/{config-namespace-D1kyZj0B.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
- /package/dist/{create-static-mount-9tnGpIeK.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
- /package/dist/{cross-spawn-BIgueAqr.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
- /package/dist/{cursor-storage-ROWfiTh1.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
- /package/dist/{definition-DB-kKc0d.d.mts → definition-BrgzUuFk.d.mts} +0 -0
- /package/dist/{definitions-CF6YmEhL.mjs → definitions-CRpdnHYM.mjs} +0 -0
- /package/dist/{descriptor-to-package-BecVCopf.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
- /package/dist/{drizzle-CPv3vdTE.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
- /package/dist/{esm-CBFWM8u_.mjs → esm-i-S5TW72.mjs} +0 -0
- /package/dist/{extension-context-DzB7ydM3.d.mts → extension-context-QmFuHdq5.d.mts} +0 -0
- /package/dist/{extension-namespace-B554RmCp.mjs → extension-namespace-QoTTwKPt.mjs} +0 -0
- /package/dist/{extension-package-provenance-Dh_-Z-tE.mjs → extension-package-provenance-aYrZuS4W.mjs} +0 -0
- /package/dist/{facet-DVsW12iF.mjs → facet-BnMh7Jyc.mjs} +0 -0
- /package/dist/{filesystem-service-Cm2RHKBa.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
- /package/dist/{handler-Bqlk-6BY.mjs → handler-DF1fVDpf.mjs} +0 -0
- /package/dist/{host-k5yoyKHg.mjs → host-B-_ntOMH.mjs} +0 -0
- /package/dist/{index--atUpi5l2.d.mts → index-8NdPPzUh2.d.mts} +0 -0
- /package/dist/{index-DwLRZscE.d.mts → index-8y4hT9WL.d.mts} +0 -0
- /package/dist/{index-C7HcDpHE.d.mts → index-B-3I98nw.d.mts} +0 -0
- /package/dist/{index-BcvqDfcN.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
- /package/dist/{index-BRCrFirq.d.mts → index-B4svZC6L.d.mts} +0 -0
- /package/dist/{index-CQuRTeRa.d.mts → index-B5dP8rj6.d.mts} +0 -0
- /package/dist/{index-CRmE88hi.d.mts → index-BC-6qNeo.d.mts} +0 -0
- /package/dist/{index-CxSSdIZz.d.mts → index-BFWvT0NG.d.mts} +0 -0
- /package/dist/{index-DP3o_13U.d.mts → index-BM56936c.d.mts} +0 -0
- /package/dist/{index-BVcQcphK.d.mts → index-BMRB9yhF.d.mts} +0 -0
- /package/dist/{index-bIe_57cL.d.mts → index-BTEJfzjE.d.mts} +0 -0
- /package/dist/{index-DgOfgjx3.d.mts → index-BfV8U4XX.d.mts} +0 -0
- /package/dist/{index-DBadVauL.d.mts → index-BmevAPME2.d.mts} +0 -0
- /package/dist/{index-OADt3xlS.d.mts → index-BuMsrli0.d.mts} +0 -0
- /package/dist/{index-BJAB-BW_.d.mts → index-C4V8Pmi4.d.mts} +0 -0
- /package/dist/{index-aoxdnhJ42.d.mts → index-CL0Jo1b92.d.mts} +0 -0
- /package/dist/{index-CvW9_SzR.d.mts → index-CVpaGijY.d.mts} +0 -0
- /package/dist/{index-E4SET1AA.d.mts → index-CmbkCxj-.d.mts} +0 -0
- /package/dist/{index-BgGe9WZz.d.mts → index-CqdMbYmR.d.mts} +0 -0
- /package/dist/{index-BQprJNA_.d.mts → index-D037TVsm.d.mts} +0 -0
- /package/dist/{index-BeENojSx2.d.mts → index-DgspOUa72.d.mts} +0 -0
- /package/dist/{index-42UdYStR.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
- /package/dist/{index-Beo_Ik8-.d.mts → index-VzLAV0Yt.d.mts} +0 -0
- /package/dist/{index-BSbGB23v.d.mts → index-jxPncqWZ2.d.mts} +0 -0
- /package/dist/{index-Bqm0ahTQ.d.mts → index-kzIjbrS02.d.mts} +0 -0
- /package/dist/{index-BJMezANn.d.mts → index-l01zsChf.d.mts} +0 -0
- /package/dist/{index-CK3f0bAL.d.mts → index-pvX-BIpr2.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bp_6pB2a.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
- /package/dist/{lib-Bwdd2m81.mjs → lib-BqV8hYtk.mjs} +0 -0
- /package/dist/{model-registry-yURX738J.mjs → model-registry-C9rFu3kV.mjs} +0 -0
- /package/dist/{model-registry-Y854mUml.mjs → model-registry-Cixxx2jv.mjs} +0 -0
- /package/dist/{modes-DmUsjHdV.mjs → modes-DwsJ3yVl.mjs} +0 -0
- /package/dist/{namespace-ByP1Iipi.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
- /package/dist/{namespace-C1D77w7U.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
- /package/dist/{namespace-Bi3CmYQy.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
- /package/dist/{namespace-CkBbNFSU.mjs → namespace-BW3Bfu9h.mjs} +0 -0
- /package/dist/{namespace-DX1Ec15L.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
- /package/dist/{namespace-Dgg0uoe6.d.mts → namespace-CPG6u60N.d.mts} +0 -0
- /package/dist/{namespace-BusZERU8.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
- /package/dist/{namespace-yREpGJgG.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
- /package/dist/{namespace-CrDlawqu.d.mts → namespace-DOezqDti.d.mts} +0 -0
- /package/dist/{namespace-CfIW0hpQ.mjs → namespace-DiwqpB-c.mjs} +0 -0
- /package/dist/{namespace-s2y_NFKf.d.mts → namespace-DqZweTbX.d.mts} +0 -0
- /package/dist/{namespace-CFjdyNXG.mjs → namespace-Du0accdE.mjs} +0 -0
- /package/dist/{namespace-BFqkUTJp.mjs → namespace-NXm_zvL1.mjs} +0 -0
- /package/dist/{namespace-B9FEGuEu.mjs → namespace-jVTsuZHX.mjs} +0 -0
- /package/dist/{namespace-DwZwGXgF.d.mts → namespace-l-HG1rLF.d.mts} +0 -0
- /package/dist/{namespace-DbNWsPFY.mjs → namespace-tjoxekmf.mjs} +0 -0
- /package/dist/{out-DrhwCgqM.mjs → out-8bOYN6EF.mjs} +0 -0
- /package/dist/{package-CBdvjyyZ.mjs → package-EGTn-Ng1.mjs} +0 -0
- /package/dist/{packages-FBv3fAOR.mjs → packages-Bp124-gx.mjs} +0 -0
- /package/dist/{packages-N3-2Kl-Y.d.mts → packages-CxPMEg8D.d.mts} +0 -0
- /package/dist/{platform-BrsMv_S3.mjs → platform-CxyYPrkf.mjs} +0 -0
- /package/dist/{provider-operation-DJ_TLZFf.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
- /package/dist/{providers-CCcn4Ndp.mjs → providers-C-eekMxD.mjs} +0 -0
- /package/dist/{providers-namespace-DeJBh6MP.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
- /package/dist/{quick-lru-uwB0hP-y.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
- /package/dist/{schema-jIapW8Kb.mjs → schema-C0opCPww.mjs} +0 -0
- /package/dist/{schema-introspection-C1wvklj9.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
- /package/dist/{schemas-CeUI2i5j.d.mts → schemas-B50oWBuj.d.mts} +0 -0
- /package/dist/{schemas-CD0wOQxx.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
- /package/dist/{schemas-DgwEVUt-.mjs → schemas-B8hKbBwI.mjs} +0 -0
- /package/dist/{schemas-sMoRnBdZ.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
- /package/dist/{schemas-BNdiVBWh.mjs → schemas-BivbWRkG.mjs} +0 -0
- /package/dist/{schemas-Cg-Kwp8c.d.mts → schemas-ChmQldVH.d.mts} +0 -0
- /package/dist/{schemas-VbB1FTxx.d.mts → schemas-D7ScxLrf.d.mts} +0 -0
- /package/dist/{schemas-Cv3rR9Sz.d.mts → schemas-Pe892GgN.d.mts} +0 -0
- /package/dist/{schemas-qA279_j_.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
- /package/dist/{schemas-mLpOfMoN.mjs → schemas-scyC2tFF.mjs} +0 -0
- /package/dist/{semver-DTXuyLcK.mjs → semver-BI7kTNsY.mjs} +0 -0
- /package/dist/{server-lifecycle-DKx_fWlq.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
- /package/dist/{server-lifecycle-C_8iKgat.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
- /package/dist/{session-lineage-D5E142LU.d.mts → session-lineage-bUkd3fqx.d.mts} +0 -0
- /package/dist/{shared-schemas-aahW97QW.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
- /package/dist/{src-DHqsl5Pg.mjs → src-BacfeiI4.mjs} +0 -0
- /package/dist/{storage-namespace-Dz2jsssp.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
- /package/dist/{storage-namespace-Tf3P5yJ5.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CDef0E20.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
- /package/dist/{supports-color-i7OTnKcZ.mjs → supports-color-SV_FgSN2.mjs} +0 -0
- /package/dist/{telemetry-BvCBUjFg.mjs → telemetry-BqoC87F-.mjs} +0 -0
- /package/dist/{timeout-B0nYjLc8.mjs → timeout-DVlN2Zhy.mjs} +0 -0
- /package/dist/{tray-menu-service-Deo6yyP8.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
- /package/dist/{types-xCdGghb2.d.mts → types-BlB23n4f.d.mts} +0 -0
- /package/dist/{types-CNS55jvt.d.mts → types-DdpSEmTO.d.mts} +0 -0
- /package/dist/{types-Ce6LL25v.d.mts → types-tyv0B605.d.mts} +0 -0
- /package/dist/{ui-config-BIyGzMNL.mjs → ui-config-B35GloSX.mjs} +0 -0
- /package/dist/{variant-B4uWdxW7.mjs → variant-Dwnge3J_.mjs} +0 -0
- /package/dist/{window-registry-CoBJq3u4.mjs → window-registry-CKiMJjId.mjs} +0 -0
- /package/dist/{window-registry-BLtVx3Iw.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
- /package/dist/{zod-json-schema-BAGAFfCN.mjs → zod-json-schema-Dixc-B1T.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-
|
|
1
|
+
import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-841T7jBI.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";
|
|
@@ -817,16 +817,6 @@ declare const ArtifactSchemas: {
|
|
|
817
817
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
818
818
|
kind: z.ZodString;
|
|
819
819
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
820
|
-
scope: z.ZodObject<{
|
|
821
|
-
level: z.ZodString;
|
|
822
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
823
|
-
}, z.core.$strip>;
|
|
824
|
-
schemaVersion: z.ZodString;
|
|
825
|
-
actor: z.ZodObject<{
|
|
826
|
-
kind: z.ZodString;
|
|
827
|
-
id: z.ZodString;
|
|
828
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
829
|
-
}, z.core.$strip>;
|
|
830
820
|
relations: z.ZodArray<z.ZodObject<{
|
|
831
821
|
type: z.ZodString;
|
|
832
822
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -851,6 +841,16 @@ declare const ArtifactSchemas: {
|
|
|
851
841
|
locator: z.ZodOptional<z.ZodString>;
|
|
852
842
|
}, z.core.$strip>], "refClass">>;
|
|
853
843
|
}, z.core.$strip>>;
|
|
844
|
+
scope: z.ZodObject<{
|
|
845
|
+
level: z.ZodString;
|
|
846
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
847
|
+
}, z.core.$strip>;
|
|
848
|
+
schemaVersion: z.ZodString;
|
|
849
|
+
actor: z.ZodObject<{
|
|
850
|
+
kind: z.ZodString;
|
|
851
|
+
id: z.ZodString;
|
|
852
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
853
|
+
}, z.core.$strip>;
|
|
854
854
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
855
855
|
level: z.ZodEnum<{
|
|
856
856
|
inferred: "inferred";
|
|
@@ -999,16 +999,6 @@ declare const ArtifactSchemas: {
|
|
|
999
999
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1000
1000
|
kind: z.ZodString;
|
|
1001
1001
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
-
scope: z.ZodObject<{
|
|
1003
|
-
level: z.ZodString;
|
|
1004
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1005
|
-
}, z.core.$strip>;
|
|
1006
|
-
schemaVersion: z.ZodString;
|
|
1007
|
-
actor: z.ZodObject<{
|
|
1008
|
-
kind: z.ZodString;
|
|
1009
|
-
id: z.ZodString;
|
|
1010
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1011
|
-
}, z.core.$strip>;
|
|
1012
1002
|
relations: z.ZodArray<z.ZodObject<{
|
|
1013
1003
|
type: z.ZodString;
|
|
1014
1004
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1033,6 +1023,16 @@ declare const ArtifactSchemas: {
|
|
|
1033
1023
|
locator: z.ZodOptional<z.ZodString>;
|
|
1034
1024
|
}, z.core.$strip>], "refClass">>;
|
|
1035
1025
|
}, z.core.$strip>>;
|
|
1026
|
+
scope: z.ZodObject<{
|
|
1027
|
+
level: z.ZodString;
|
|
1028
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
schemaVersion: z.ZodString;
|
|
1031
|
+
actor: z.ZodObject<{
|
|
1032
|
+
kind: z.ZodString;
|
|
1033
|
+
id: z.ZodString;
|
|
1034
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
}, z.core.$strip>;
|
|
1036
1036
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1037
1037
|
level: z.ZodEnum<{
|
|
1038
1038
|
inferred: "inferred";
|
|
@@ -1319,7 +1319,7 @@ declare const ArtifactSchemas: {
|
|
|
1319
1319
|
verified: "verified";
|
|
1320
1320
|
}>>;
|
|
1321
1321
|
}, z.core.$strip>>;
|
|
1322
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
1322
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
1323
1323
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1324
1324
|
}, z.core.$strip>;
|
|
1325
1325
|
response: z.ZodObject<{
|
|
@@ -2270,16 +2270,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2270
2270
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2271
2271
|
kind: z.ZodString;
|
|
2272
2272
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2273
|
-
scope: z.ZodObject<{
|
|
2274
|
-
level: z.ZodString;
|
|
2275
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2276
|
-
}, z.core.$strip>;
|
|
2277
|
-
schemaVersion: z.ZodString;
|
|
2278
|
-
actor: z.ZodObject<{
|
|
2279
|
-
kind: z.ZodString;
|
|
2280
|
-
id: z.ZodString;
|
|
2281
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2282
|
-
}, z.core.$strip>;
|
|
2283
2273
|
relations: z.ZodArray<z.ZodObject<{
|
|
2284
2274
|
type: z.ZodString;
|
|
2285
2275
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2304,6 +2294,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2304
2294
|
locator: z.ZodOptional<z.ZodString>;
|
|
2305
2295
|
}, z.core.$strip>], "refClass">>;
|
|
2306
2296
|
}, z.core.$strip>>;
|
|
2297
|
+
scope: z.ZodObject<{
|
|
2298
|
+
level: z.ZodString;
|
|
2299
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2300
|
+
}, z.core.$strip>;
|
|
2301
|
+
schemaVersion: z.ZodString;
|
|
2302
|
+
actor: z.ZodObject<{
|
|
2303
|
+
kind: z.ZodString;
|
|
2304
|
+
id: z.ZodString;
|
|
2305
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
}, z.core.$strip>;
|
|
2307
2307
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2308
2308
|
level: z.ZodEnum<{
|
|
2309
2309
|
inferred: "inferred";
|
|
@@ -2452,16 +2452,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2452
2452
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2453
2453
|
kind: z.ZodString;
|
|
2454
2454
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
-
scope: z.ZodObject<{
|
|
2456
|
-
level: z.ZodString;
|
|
2457
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2458
|
-
}, z.core.$strip>;
|
|
2459
|
-
schemaVersion: z.ZodString;
|
|
2460
|
-
actor: z.ZodObject<{
|
|
2461
|
-
kind: z.ZodString;
|
|
2462
|
-
id: z.ZodString;
|
|
2463
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2464
|
-
}, z.core.$strip>;
|
|
2465
2455
|
relations: z.ZodArray<z.ZodObject<{
|
|
2466
2456
|
type: z.ZodString;
|
|
2467
2457
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2486,6 +2476,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2486
2476
|
locator: z.ZodOptional<z.ZodString>;
|
|
2487
2477
|
}, z.core.$strip>], "refClass">>;
|
|
2488
2478
|
}, z.core.$strip>>;
|
|
2479
|
+
scope: z.ZodObject<{
|
|
2480
|
+
level: z.ZodString;
|
|
2481
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2482
|
+
}, z.core.$strip>;
|
|
2483
|
+
schemaVersion: z.ZodString;
|
|
2484
|
+
actor: z.ZodObject<{
|
|
2485
|
+
kind: z.ZodString;
|
|
2486
|
+
id: z.ZodString;
|
|
2487
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
}, z.core.$strip>;
|
|
2489
2489
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2490
2490
|
level: z.ZodEnum<{
|
|
2491
2491
|
inferred: "inferred";
|
|
@@ -2772,7 +2772,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2772
2772
|
verified: "verified";
|
|
2773
2773
|
}>>;
|
|
2774
2774
|
}, z.core.$strip>>;
|
|
2775
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
2775
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
2776
2776
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2777
2777
|
}, z.core.$strip>;
|
|
2778
2778
|
response: z.ZodObject<{
|
|
@@ -3737,16 +3737,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3737
3737
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3738
3738
|
kind: z.ZodString;
|
|
3739
3739
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
-
scope: z.ZodObject<{
|
|
3741
|
-
level: z.ZodString;
|
|
3742
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3743
|
-
}, z.core.$strip>;
|
|
3744
|
-
schemaVersion: z.ZodString;
|
|
3745
|
-
actor: z.ZodObject<{
|
|
3746
|
-
kind: z.ZodString;
|
|
3747
|
-
id: z.ZodString;
|
|
3748
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3749
|
-
}, z.core.$strip>;
|
|
3750
3740
|
relations: z.ZodArray<z.ZodObject<{
|
|
3751
3741
|
type: z.ZodString;
|
|
3752
3742
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3771,6 +3761,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3771
3761
|
locator: z.ZodOptional<z.ZodString>;
|
|
3772
3762
|
}, z.core.$strip>], "refClass">>;
|
|
3773
3763
|
}, z.core.$strip>>;
|
|
3764
|
+
scope: z.ZodObject<{
|
|
3765
|
+
level: z.ZodString;
|
|
3766
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3767
|
+
}, z.core.$strip>;
|
|
3768
|
+
schemaVersion: z.ZodString;
|
|
3769
|
+
actor: z.ZodObject<{
|
|
3770
|
+
kind: z.ZodString;
|
|
3771
|
+
id: z.ZodString;
|
|
3772
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3773
|
+
}, z.core.$strip>;
|
|
3774
3774
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3775
3775
|
level: z.ZodEnum<{
|
|
3776
3776
|
inferred: "inferred";
|
|
@@ -3919,16 +3919,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3919
3919
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3920
3920
|
kind: z.ZodString;
|
|
3921
3921
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3922
|
-
scope: z.ZodObject<{
|
|
3923
|
-
level: z.ZodString;
|
|
3924
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3925
|
-
}, z.core.$strip>;
|
|
3926
|
-
schemaVersion: z.ZodString;
|
|
3927
|
-
actor: z.ZodObject<{
|
|
3928
|
-
kind: z.ZodString;
|
|
3929
|
-
id: z.ZodString;
|
|
3930
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3931
|
-
}, z.core.$strip>;
|
|
3932
3922
|
relations: z.ZodArray<z.ZodObject<{
|
|
3933
3923
|
type: z.ZodString;
|
|
3934
3924
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3953,6 +3943,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3953
3943
|
locator: z.ZodOptional<z.ZodString>;
|
|
3954
3944
|
}, z.core.$strip>], "refClass">>;
|
|
3955
3945
|
}, z.core.$strip>>;
|
|
3946
|
+
scope: z.ZodObject<{
|
|
3947
|
+
level: z.ZodString;
|
|
3948
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3949
|
+
}, z.core.$strip>;
|
|
3950
|
+
schemaVersion: z.ZodString;
|
|
3951
|
+
actor: z.ZodObject<{
|
|
3952
|
+
kind: z.ZodString;
|
|
3953
|
+
id: z.ZodString;
|
|
3954
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
}, z.core.$strip>;
|
|
3956
3956
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3957
3957
|
level: z.ZodEnum<{
|
|
3958
3958
|
inferred: "inferred";
|
|
@@ -4239,7 +4239,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4239
4239
|
verified: "verified";
|
|
4240
4240
|
}>>;
|
|
4241
4241
|
}, z.core.$strip>>;
|
|
4242
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
4242
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
4243
4243
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4244
4244
|
}, z.core.$strip>;
|
|
4245
4245
|
response: z.ZodObject<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as e}from"zod";const t=e.lazy(()=>e.union([e.string(),e.number().finite(),e.boolean(),e.null(),e.array(t),e.record(e.string(),t)])),n=2**32-2,r=128;function i(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&t<=n&&String(t)===e}function a(e){return`ok`in e&&!e.ok}var o=class{ancestors=new Set;completed=new Map;snapshot(e){return this.visit(e,[],0)}failure(e,t){return{ok:!1,violation:{kind:e,path:t}}}visit(e,t,n){if(typeof e==`number`&&Object.is(e,-0))return this.failure(`negative-zero`,t);if(typeof e!=`object`||!e)return{ok:!0,value:e};let r=n+1;if(r>128)return this.failure(`nesting-too-deep`,t);if(this.ancestors.has(e))return this.failure(`cyclic-reference`,t);if(this.completed.has(e))return this.copyCompletedTree(this.completed.get(e),t,r);let i=this.describe(e,t);return a(i)?i:this.visitObject(e,i,t,r)}describe(e,t){try{let n=Reflect.ownKeys(e);if(n.some(e=>typeof e==`symbol`))return this.failure(`symbol-key`,t);if(n.includes(`__proto__`))return this.failure(`prototype-key`,[...t,`__proto__`]);let r=Array.isArray(e);return!r&&!s(e)?this.failure(`non-plain-object`,t):this.describeProperties(e,n,r,t)}catch{return this.failure(`unreadable-value`,t)}}describeProperties(e,t,n,r){let a=new Map;for(let o of t){if(typeof o!=`string`)continue;let t=Object.getOwnPropertyDescriptor(e,o);if(t===void 0)return this.failure(`unreadable-value`,[...r,o]);if((!n||o!==`length`)&&!t.enumerable)return this.failure(`non-enumerable-key`,[...r,o]);if(n&&o!==`length`&&!i(o))return this.failure(`extra-array-key`,[...r,o]);a.set(o,t)}return{isArray:n,descriptors:a}}visitObject(e,t,n,r){this.ancestors.add(e);try{let i=t.isArray?this.snapshotArray(e,t.descriptors,n,r):this.snapshotRecord(e,t.descriptors,n,r);return i.ok&&this.completed.set(e,i.value),i}finally{this.ancestors.delete(e)}}snapshotArray(e,t,n,r){let i=t.get(`length`)?.value;if(typeof i!=`number`)return this.failure(`unreadable-value`,[...n,`length`]);let a=[];for(let o=0;o<i;o+=1){let i=t.get(String(o));if(i===void 0)a.push(void 0);else{let t=this.snapshotProperty(e,i,[...n,o],r);if(!t.ok)return t;a.push(t.value)}}return{ok:!0,value:a}}snapshotRecord(e,t,n,r){let i={};for(let[a,o]of t){let t=this.snapshotProperty(e,o,[...n,a],r);if(!t.ok)return t;c(i,a,t.value)}return{ok:!0,value:i}}snapshotProperty(e,t,n,r){let i=this.readDescriptor(e,t,n);return a(i)?i:this.visit(i.value,n,r)}readDescriptor(e,t,n){try{return{ok:!0,value:`value`in t?t.value:Reflect.apply(t.get??(()=>void 0),e,[])}}catch{return this.failure(`unreadable-value`,n)}}copyCompletedTree(e,t,n){if(Array.isArray(e)){let r=[];for(let i=0;i<e.length;i+=1){let a=this.copyCompletedValue(e[i],[...t,i],n);if(!a.ok)return a;r.push(a.value)}return{ok:!0,value:r}}if(typeof e!=`object`||!e)return{ok:!0,value:e};let r={};for(let[i,a]of Object.entries(e)){let e=this.copyCompletedValue(a,[...t,i],n);if(!e.ok)return e;c(r,i,e.value)}return{ok:!0,value:r}}copyCompletedValue(e,t,n){if(typeof e==`number`&&Object.is(e,-0))return this.failure(`negative-zero`,t);if(typeof e!=`object`||!e)return{ok:!0,value:e};let r=n+1;return r>128?this.failure(`nesting-too-deep`,t):this.copyCompletedTree(e,t,r)}};function s(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function c(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function l(e){return new o().snapshot(e)}function u(t,n){let r={"prototype-key":n.prototypeKey,"non-plain-object":n.nonPlainObject,"symbol-key":n.symbolKey,"non-enumerable-key":n.nonEnumerableKey,"extra-array-key":n.extraArrayKey,"cyclic-reference":`the value contains a cyclic reference and cannot be transported as JSON`,"nesting-too-deep":`the value exceeds the maximum JSON container nesting of 128`,"negative-zero":`the value contains -0, which cannot be transported as JSON without becoming 0`,"unreadable-value":`the value could not be read into a stable JSON boundary snapshot`};return e.preprocess((e,t)=>{let n=l(e);if(!n.ok){t.addIssue({code:`custom`,message:r[n.violation.kind],path:[...n.violation.path],input:e});return}return n.value},t)}const d=e.record(e.string(),t),f=d,p=e.record(e.string(),t),m=p;export{m as a,l as c,p as i,f as n,t as o,d as r,u as s,r as t};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region core/contracts/src/shared/json-value.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* JSON-safe value type shared by storage and runtime context contracts.
|
|
6
|
+
*
|
|
7
|
+
* Restricting persisted values to JSON keeps the storage contracts aligned
|
|
8
|
+
* with the actual serialization boundary instead of accepting runtime-only
|
|
9
|
+
* values such as functions, Maps, or `undefined`.
|
|
10
|
+
*
|
|
11
|
+
* The object branch intentionally stays broad (`object`) instead of requiring
|
|
12
|
+
* an index signature. The runtime Zod schema remains the source of truth for
|
|
13
|
+
* JSON validation, while the broader TypeScript type keeps regular DTOs and
|
|
14
|
+
* typed fixtures assignable without forcing every interface in the codebase to
|
|
15
|
+
* declare `[key: string]: ...`.
|
|
16
|
+
*/
|
|
17
|
+
type JsonValue = string | number | boolean | null | JsonValue[] | object;
|
|
18
|
+
/**
|
|
19
|
+
* Recursive JSON-safe value schema.
|
|
20
|
+
*
|
|
21
|
+
* Uses `z.lazy()` so arrays and objects can reference the same schema without
|
|
22
|
+
* widening the contract to arbitrary `unknown`.
|
|
23
|
+
*/
|
|
24
|
+
declare const JsonValueSchema: z.ZodType<JsonValue, JsonValue>;
|
|
25
|
+
/**
|
|
26
|
+
* Structural reason a raw value cannot cross a JSON boundary unchanged.
|
|
27
|
+
*
|
|
28
|
+
* - `prototype-key`: a `__proto__` own key the record parse drops instead of
|
|
29
|
+
* copying onto the output object.
|
|
30
|
+
* - `non-plain-object`: an object the record parse would rebuild from its own
|
|
31
|
+
* enumerable string-keyed fields alone, which is not what the value is.
|
|
32
|
+
* - `symbol-key`: an own symbol-keyed property that neither the record parse
|
|
33
|
+
* nor the array rebuild includes, since JSON has no symbol representation.
|
|
34
|
+
* The {@link JsonFidelityViolation.path} ends at the containing object —
|
|
35
|
+
* a symbol cannot appear in a JSON path.
|
|
36
|
+
* - `non-enumerable-key`: a non-enumerable own string property that
|
|
37
|
+
* `Object.entries` skips, so the rebuilt record omits the key entirely.
|
|
38
|
+
* The {@link JsonFidelityViolation.path} extends to the key name so the
|
|
39
|
+
* caller knows exactly which property was hidden.
|
|
40
|
+
* - `extra-array-key`: an own string property on an array beyond its canonical
|
|
41
|
+
* array indices and `length`. `z.array()` rebuilds from indexed elements only,
|
|
42
|
+
* so the property is silently dropped. The path extends to the property name.
|
|
43
|
+
* - `cyclic-reference`: the object graph cannot be represented by a finite JSON
|
|
44
|
+
* tree. Repeated references outside the current ancestor chain are valid and
|
|
45
|
+
* copied into the detached tree independently.
|
|
46
|
+
* - `nesting-too-deep`: the JSON tree exceeds the finite container nesting the
|
|
47
|
+
* boundary can inspect without unbounded recursion.
|
|
48
|
+
* - `negative-zero`: JavaScript's `-0` would cross a JSON wire as `0`, so it is
|
|
49
|
+
* not a value the boundary can reproduce unchanged.
|
|
50
|
+
* - `unreadable-value`: inspecting an object or evaluating one of its enumerable
|
|
51
|
+
* accessors threw, so no stable boundary snapshot can be produced.
|
|
52
|
+
*/
|
|
53
|
+
type JsonFidelityViolationKind = 'prototype-key' | 'non-plain-object' | 'symbol-key' | 'non-enumerable-key' | 'extra-array-key' | 'cyclic-reference' | 'nesting-too-deep' | 'negative-zero' | 'unreadable-value';
|
|
54
|
+
/** Where a raw value stops being reproducible, and why. */
|
|
55
|
+
interface JsonFidelityViolation {
|
|
56
|
+
/** What about the value cannot be reproduced. */
|
|
57
|
+
readonly kind: JsonFidelityViolationKind;
|
|
58
|
+
/** Path from the inspected root to the offending value; empty when it is the root. */
|
|
59
|
+
readonly path: readonly (string | number)[];
|
|
60
|
+
}
|
|
61
|
+
/** A detached JSON-tree snapshot, or the first reason it could not be made. */
|
|
62
|
+
type JsonBoundarySnapshot = {
|
|
63
|
+
readonly ok: true;
|
|
64
|
+
readonly value: unknown;
|
|
65
|
+
} | {
|
|
66
|
+
readonly ok: false;
|
|
67
|
+
readonly violation: JsonFidelityViolation;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Maximum number of nested arrays and records accepted at a JSON boundary.
|
|
71
|
+
*
|
|
72
|
+
* The root container counts as one. A tree with 128 nested containers is
|
|
73
|
+
* accepted; its 129th container is rejected before it is inspected further.
|
|
74
|
+
*/
|
|
75
|
+
declare const JSON_BOUNDARY_MAX_CONTAINER_NESTING = 128;
|
|
76
|
+
/**
|
|
77
|
+
* Create one detached, finite JSON tree for a boundary.
|
|
78
|
+
*
|
|
79
|
+
* An admissible enumerable accessor is read once. Objects must be plain records
|
|
80
|
+
* or arrays; cycles and properties JSON cannot reproduce are rejected. Shared,
|
|
81
|
+
* acyclic references are copied into the resulting JSON tree.
|
|
82
|
+
* @param value - Raw input at the boundary, before schema parsing.
|
|
83
|
+
* @returns A detached tree or a stable structural rejection; never throws.
|
|
84
|
+
*/
|
|
85
|
+
declare function snapshotJsonBoundary(value: unknown): JsonBoundarySnapshot;
|
|
86
|
+
/** Issue messages describing what a rewritten value would have carried. */
|
|
87
|
+
interface LossyJsonValueMessages {
|
|
88
|
+
/** Message for a `__proto__` own key the parse would drop. */
|
|
89
|
+
readonly prototypeKey: string;
|
|
90
|
+
/** Message for an object the parse would reduce to its own enumerable fields. */
|
|
91
|
+
readonly nonPlainObject: string;
|
|
92
|
+
/** Message for an own symbol-keyed property neither the record nor array rebuild includes. */
|
|
93
|
+
readonly symbolKey: string;
|
|
94
|
+
/** Message for a non-enumerable own string property the record rebuild skips. */
|
|
95
|
+
readonly nonEnumerableKey: string;
|
|
96
|
+
/** Message for an extra own string property on an array that the array rebuild drops. */
|
|
97
|
+
readonly extraArrayKey: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Wrap a schema so a value the parse would *rewrite* is rejected instead.
|
|
101
|
+
*
|
|
102
|
+
* Zod drops a `__proto__` own key while parsing a record, and rebuilds an object
|
|
103
|
+
* from its own enumerable string-keyed fields, so for those two shapes the
|
|
104
|
+
* parsed value differs from what the producer submitted — silently, and at any
|
|
105
|
+
* depth. A post-parse `refine` cannot see either difference, because by then the
|
|
106
|
+
* value has already been rebuilt; only a preprocess step observes the raw input.
|
|
107
|
+
* Any boundary whose payload was authored on the far side of a trust boundary
|
|
108
|
+
* and must reach this side unaltered wraps its object-admitting fields in this.
|
|
109
|
+
*
|
|
110
|
+
* It lives beside {@link JsonValueSchema} rather than inside it: turning the silent rewrite
|
|
111
|
+
* into a rejection repo-wide would change the accepted input of every contract
|
|
112
|
+
* built on that schema, so boundaries opt in explicitly.
|
|
113
|
+
*
|
|
114
|
+
* The wrapper is transparent in every other respect, and both halves of that
|
|
115
|
+
* are contract, not coincidence:
|
|
116
|
+
*
|
|
117
|
+
* - It preserves the wrapped schema's declared input type. `z.preprocess` would
|
|
118
|
+
* otherwise widen it to `unknown`, even though this wrapper accepts exactly
|
|
119
|
+
* the same public input domain before applying its stricter runtime boundary.
|
|
120
|
+
* - A rejected value produces exactly one issue. `z.preprocess` is a pipe, and a
|
|
121
|
+
* pipe whose first stage reported an issue never runs its second, so the inner
|
|
122
|
+
* schema never adds to a fidelity rejection. `fatal: true` would be
|
|
123
|
+
* redundant: the abort is structural, not a property of the issue.
|
|
124
|
+
* @param schema - Schema to guard, applied only to the detached snapshot.
|
|
125
|
+
* @param messages - Issue messages naming what the field would have carried.
|
|
126
|
+
* @typeParam TSchema - Schema being guarded; its output type is preserved.
|
|
127
|
+
* @returns The schema, preceded by the raw-input fidelity rejection.
|
|
128
|
+
*/
|
|
129
|
+
declare function rejectingLossyJsonValues<TSchema extends z.ZodType>(schema: TSchema, messages: LossyJsonValueMessages): z.ZodType<z.output<TSchema>, z.input<TSchema>>;
|
|
130
|
+
/**
|
|
131
|
+
* JSON object helper for map-like persisted configuration records.
|
|
132
|
+
*
|
|
133
|
+
* The runtime validation stays strict, while the public TypeScript surface
|
|
134
|
+
* remains `Record<string, unknown>` so opaque config bags do not force callers
|
|
135
|
+
* to thread `JsonValue` through every intermediate type.
|
|
136
|
+
*/
|
|
137
|
+
declare const JsonObjectSchema: z.ZodType<Record<string, unknown>>;
|
|
138
|
+
/**
|
|
139
|
+
* Contract-friendly JSON object schema for opaque config bags.
|
|
140
|
+
*
|
|
141
|
+
* Uses the strict runtime validator above and only narrows the public Zod
|
|
142
|
+
* type. Keeping the underlying schema as `z.record()` is important for
|
|
143
|
+
* protocol exports: `z.custom()` validates correctly at runtime but cannot be
|
|
144
|
+
* represented as JSON Schema.
|
|
145
|
+
*/
|
|
146
|
+
declare const JsonObjectContractSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>>;
|
|
147
|
+
/**
|
|
148
|
+
* Generic JSON-compatible parameter record.
|
|
149
|
+
*
|
|
150
|
+
* Use this schema when the field carries arbitrary JSON key-value pairs that
|
|
151
|
+
* are NOT a JSON Schema document — for example, binding parameter maps or
|
|
152
|
+
* opaque configuration payloads. The underlying validator rejects functions,
|
|
153
|
+
* `undefined`, and other non-serializable values.
|
|
154
|
+
*
|
|
155
|
+
* Distinct from {@link JsonSchemaRecordSchema}, which carries the narrower
|
|
156
|
+
* semantic of "a JSON Schema document" used for `inputSchema` / `outputSchema`
|
|
157
|
+
* / `configSchema` fields.
|
|
158
|
+
*/
|
|
159
|
+
declare const JsonRecordSchema: z.ZodType<Record<string, JsonValue>, Record<string, JsonValue>>;
|
|
160
|
+
/**
|
|
161
|
+
* Serializable JSON Schema record used for `inputSchema`, `outputSchema`, and
|
|
162
|
+
* `configSchema` fields on persisted workflow definitions and node primitives.
|
|
163
|
+
*
|
|
164
|
+
* A JSON Schema document is itself a JSON object, so this is a
|
|
165
|
+
* `Record<string, JsonValue>` — identical at runtime to {@link JsonObjectContractSchema}
|
|
166
|
+
* but carries a semantically narrower name to distinguish "a JSON Schema document"
|
|
167
|
+
* from "an arbitrary JSON payload".
|
|
168
|
+
*
|
|
169
|
+
* The underlying `z.record(z.string(), JsonValueSchema)` validator rejects
|
|
170
|
+
* functions, `undefined`, and other non-serializable values, keeping persisted
|
|
171
|
+
* workflow definitions purely JSON-safe.
|
|
172
|
+
*
|
|
173
|
+
* For non-schema JSON records (e.g. parameter maps), use {@link JsonRecordSchema}.
|
|
174
|
+
*/
|
|
175
|
+
declare const JsonSchemaRecordSchema: z.ZodType<Record<string, JsonValue>, Record<string, JsonValue>>;
|
|
176
|
+
//#endregion
|
|
177
|
+
export { JsonObjectContractSchema as a, JsonSchemaRecordSchema as c, LossyJsonValueMessages as d, rejectingLossyJsonValues as f, JsonFidelityViolationKind as i, JsonValue as l, JsonBoundarySnapshot as n, JsonObjectSchema as o, snapshotJsonBoundary as p, JsonFidelityViolation as r, JsonRecordSchema as s, JSON_BOUNDARY_MAX_CONTAINER_NESTING as t, JsonValueSchema as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-
|
|
2
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-tyv0B605.mjs";
|
|
2
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BUYDmd0r.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { CliArgManifest } from "@makaio/framework/contracts/extension";
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../namespace-
|
|
1
|
+
import{n as e,t}from"../../namespace-sCPb79-7.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-6-r_KEJQ.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BUYDmd0r.mjs";
|
|
2
2
|
export { CliNamespace, CliRpcSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../namespace-
|
|
1
|
+
import{n as e,t}from"../../namespace-sCPb79-7.mjs";export{t as CliNamespace,e as CliRpcSubjects};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../schemas-
|
|
1
|
+
import{t as e}from"../../schemas-BivbWRkG.mjs";export{e as CliSchemas};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-
|
|
1
|
+
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-CYjgoYeX.mjs";
|
|
2
2
|
export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../extension-
|
|
1
|
+
import{n as e,r as t,t as n}from"../../extension-Bfkr2DBs.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index
|
|
2
|
-
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-
|
|
3
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-
|
|
4
|
-
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-
|
|
5
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-
|
|
1
|
+
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-8NdPPzUh2.mjs";
|
|
2
|
+
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-CYjgoYeX.mjs";
|
|
3
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-Pcf35cac.mjs";
|
|
4
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-8y4hT9WL.mjs";
|
|
5
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DgspOUa72.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
8
8
|
|
package/dist/kernel/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../namespace-
|
|
1
|
+
import{n as e,r as t,t as n}from"../namespace-Du0accdE.mjs";import{n as r,t as i}from"../window-registry-CKiMJjId.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-C-eekMxD.mjs";import{a as c,i as l,n as u,o as d,r as f,t as p}from"../extension-Bfkr2DBs.mjs";import{a as m,c as h,n as g,o as _,t as v}from"../extension-namespace-QoTTwKPt.mjs";import"./observability/index.mjs";function y(e){let t=null;return()=>(t??=(async()=>{let t=[];for(let n of e)try{await n()}catch(e){t.push(e)}if(t.length>0)throw AggregateError(t,`Shutdown completed with ${t.length} of ${e.length} steps failing`)})(),t)}export{c as BootNamespace,d as BootSubjects,m as ComponentStateSchema,s as EphemeralIdentityProvider,p as ExtensionCoordinator,_ as ExtensionInfoSchema,v as ExtensionNamespace,g as ExtensionSubjects,n as KernelNamespace,t as KernelSchemas,e as KernelSubjects,o as MemoryStorageProvider,a as NoTransportProvider,i as STYLE_DEFAULTS,h as ServiceInfoSchema,l as ServiceSkipError,r as WindowRegistry,u as coalesceExtensionOverrides,y as createShutdownSequence,f as filterEligibleExtensions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-
|
|
1
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-8y4hT9WL.mjs";
|
|
2
2
|
export { KernelNamespace, KernelSchemas, KernelSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../namespace-
|
|
1
|
+
import{n as e,r as t,t as n}from"../../namespace-Du0accdE.mjs";export{n as KernelNamespace,t as KernelSchemas,e as KernelSubjects};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index
|
|
1
|
+
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-8NdPPzUh2.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-
|
|
1
|
+
import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-QoTTwKPt.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-
|
|
1
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-DgspOUa72.mjs";
|
|
2
2
|
export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../providers-
|
|
1
|
+
import{n as e,r as t,t as n}from"../../providers-C-eekMxD.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-
|
|
1
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-Pcf35cac.mjs";
|
|
2
2
|
export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../window-registry-
|
|
1
|
+
import{n as e,t}from"../../window-registry-CKiMJjId.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
|