@makaio/framework 1.0.0-dev-1783977266352 → 1.0.0-dev-1784144891135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapters/config/index.d.mts +2 -2
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/{artifact-CGjnoyCC.mjs → artifact-Dnpy5ei_.mjs} +1 -1
- package/dist/{authority-state-bootstrap-CEuKScnL.mjs → authority-state-bootstrap-BlbmQ9A5.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/context-resolution-CE1o3wTv.d.mts +1268 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -1
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +75 -75
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +4 -4
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{detached-extension-handle-vDK194QV.mjs → detached-extension-handle-BVM-Ic-4.mjs} +1 -1
- package/dist/{filesystem-service-maY_P3yA.mjs → filesystem-service-qR9Zy5-r.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-CisClzat.mjs → globby-DE358g5u.mjs} +1 -1
- package/dist/{index-D3Eek6kd.d.mts → index-4WQgnxfO.d.mts} +158 -1044
- package/dist/{index-C6LZOiDv.d.mts → index-B96HlWaM.d.mts} +1 -1
- package/dist/{index-DMQlLz2W.d.mts → index-BB5xeWrm.d.mts} +6 -6
- package/dist/{index-DpZbaS7y.d.mts → index-BB6bmH1n.d.mts} +3 -3
- package/dist/{index-Bbr5LEUc.d.mts → index-BFAc9Mqw.d.mts} +1 -1
- package/dist/{index-Cx8jGKOs.d.mts → index-BMmJJJmZ.d.mts} +7 -7
- package/dist/{index-j2YlW_Fc.d.mts → index-B_KmL_z8.d.mts} +1 -1
- package/dist/{index-CagRgpXI2.d.mts → index-ChB3K_a12.d.mts} +1 -1
- package/dist/{index-BrAp9ntB.d.mts → index-CxxqBc3y.d.mts} +87 -87
- package/dist/{index-BxuiHVFi.d.mts → index-DA5S_dj8.d.mts} +1 -1
- package/dist/{index-BXWTilGs.d.mts → index-DHejCnq8.d.mts} +3 -3
- package/dist/{index-kqxUXYe7.d.mts → index-DL1L6Pvw.d.mts} +6 -6
- package/dist/{index-CHjKP5G0.d.mts → index-DeLkAZZ2.d.mts} +23 -10
- package/dist/{index-Cq6rXKae.d.mts → index-GmoTPQcx.d.mts} +92 -92
- package/dist/{index-D75FnT0B.d.mts → index-TWs1TQ2-.d.mts} +1 -1
- package/dist/index-n9dy5seY.d.mts +817 -0
- package/dist/{index-MTvmxwiu2.d.mts → index-wP-qhIoT2.d.mts} +4 -4
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-DktBDEoY.mjs → lib-6P8_sBCe.mjs} +1 -1
- package/dist/{lib-DIVnpS8e.mjs → lib-DhbCgfYD.mjs} +1 -1
- package/dist/{load-extensions-nqL5WAKj.mjs → load-extensions-5VckHXuw.mjs} +1 -1
- package/dist/{load-extensions-_EnedkUp.d.mts → load-extensions-jGQgvw6Z.d.mts} +1 -1
- package/dist/materialization-BBxXhthv.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-dgNmx9g3.d.mts → namespace-BF1FZKiV.d.mts} +27 -27
- package/dist/{namespace-CukqFYHf2.d.mts → namespace-BQhnjUvN2.d.mts} +1 -1
- package/dist/{namespace-TLkZRkcU.d.mts → namespace-CXoCX9u1.d.mts} +20 -20
- package/dist/{namespace-BoA6u44C.d.mts → namespace-CbQ8hdd8.d.mts} +2 -2
- package/dist/{namespace-rO-C2Dgu2.d.mts → namespace-Cv8zbqwY.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{package-CsFFT9iR.mjs → package-Brt4dhRC.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/packages-BBJsifai.d.mts +532 -0
- package/dist/packages-I0D3JP9L.mjs +1 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +3 -3
- package/dist/runtime-node/index.mjs +23 -23
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-CxN7d_MU.d.mts → schema-BwJf2zRN.d.mts} +1 -1
- package/dist/schemas-6H-dlMrB.mjs +1 -0
- package/dist/{schemas-OaBqeEUT.d.mts → schemas-D6zcRPQo.d.mts} +2 -2
- package/dist/{schemas-CIO03KSD2.d.mts → schemas-tF70HEfT.d.mts} +17 -17
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +59 -308
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +76 -0
- package/dist/services/materialization/index.mjs +1 -0
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +14 -14
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/{src-Bo2eA51B.mjs → src-T5DtFSyU.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/tools-CWSuNk-M.mjs +1 -0
- package/dist/{transition-DjipYcC3.d.mts → transition-C9UOqw0W.d.mts} +2 -2
- package/dist/{types-B-xY9WW2.d.mts → types-Be7wY1De.d.mts} +1 -1
- package/dist/{types-DQsYUZwa.d.mts → types-he1s7Vd_.d.mts} +37 -37
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +20 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/view-builder-D75mQTa1.d.mts +618 -0
- package/dist/{workflow-DFJYGjq_.mjs → workflow-DPeE6-Ta.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +68 -68
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-BEFjCccX.mjs → workflow-worker-CPCh68Qf.mjs} +1 -1
- package/package.json +6 -2
- package/dist/definition-D7qCBmtc.d.mts +0 -60
- package/dist/index-CidblQAY.d.mts +0 -355
- package/dist/materialization-BwTORtBr.mjs +0 -1
- package/dist/schemas-DlCdlCEF.d.mts +0 -153
- package/dist/schemas-DlrQ0227.mjs +0 -1
- package/dist/tools-PC_L6g2m.mjs +0 -1
- /package/dist/{adapter-auth-runtime-a4O7cSNP.mjs → adapter-auth-runtime-CotG_6M4.mjs} +0 -0
- /package/dist/{adapter-binding-DDUyv1JK.d.mts → adapter-binding-DQ1HrGcH.d.mts} +0 -0
- /package/dist/{ajv-DfHhgdS5.mjs → ajv-WvFKnw8d.mjs} +0 -0
- /package/dist/{await-trigger-DP-fTQc4.mjs → await-trigger-COHFNyNi.mjs} +0 -0
- /package/dist/{base-orchestrator-BiShpVKL.d.mts → base-orchestrator-p3zIcnaJ.d.mts} +0 -0
- /package/dist/{capability-service-Dg2bU8qc.mjs → capability-service-TCOwWrLi.mjs} +0 -0
- /package/dist/{client-DmJwprw1.d.mts → client-CGEyBWKl.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BK_vIjIo.mjs → client-binary-version-verifier-CaFlNNjs.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-BwrMTAh2.d.mts → client-binary-version-verifier-WsNRplFB.d.mts} +0 -0
- /package/dist/{clients-namespace-B96QIJOs.d.mts → clients-namespace-ClKm1GLT.d.mts} +0 -0
- /package/dist/{config-namespace-x0fuhEXe.d.mts → config-namespace-DOw8R5eb.d.mts} +0 -0
- /package/dist/{create-static-mount-CBTXRtbN.mjs → create-static-mount-DM9qO98Q.mjs} +0 -0
- /package/dist/{cross-spawn-D9WWFl2a.mjs → cross-spawn-CVfmnMVP.mjs} +0 -0
- /package/dist/{cursor-storage-Bw-7ROzx.mjs → cursor-storage-BoFVjVGq.mjs} +0 -0
- /package/dist/{definition-BsTlOz99.d.mts → definition-BZrouYAq.d.mts} +0 -0
- /package/dist/{definition-Cbl0k6Fc.d.mts → definition-ClKlXenJ.d.mts} +0 -0
- /package/dist/{descriptor-to-package-Rs-OjOQU.mjs → descriptor-to-package-DCwvJoUE.mjs} +0 -0
- /package/dist/{drizzle-DYfaDzlO.mjs → drizzle-BQDvlDL2.mjs} +0 -0
- /package/dist/{esm-C_WW4-pP.mjs → esm-1UzF2r1U.mjs} +0 -0
- /package/dist/{event-DTM0-qWP.mjs → event-Ddxe4yp9.mjs} +0 -0
- /package/dist/{execution-target-Bg2wpfML.mjs → execution-target-D6PoGaO8.mjs} +0 -0
- /package/dist/{extension-discovery-APMf1Tes.d.mts → extension-discovery-Cce4FmRu.d.mts} +0 -0
- /package/dist/{filesystem-service-Bx0bR2Lb.d.mts → filesystem-service-CWBzOEAA.d.mts} +0 -0
- /package/dist/{handler-4pKQi3eo.mjs → handler-Bxs0moLY.mjs} +0 -0
- /package/dist/{identity-2qUT1NME.mjs → identity-D481xSkS.mjs} +0 -0
- /package/dist/{index-FDyqQIt5.d.mts → index-4b-ig5Uf.d.mts} +0 -0
- /package/dist/{index-Bv9lm0Kf.d.mts → index-BOlzcjwS.d.mts} +0 -0
- /package/dist/{index-S-mAqWwq.d.mts → index-BRdPSBFH2.d.mts} +0 -0
- /package/dist/{index-BmsPH78f2.d.mts → index-BcqWLD6J.d.mts} +0 -0
- /package/dist/{index-DmuGKvE2.d.mts → index-BfNfKh4y.d.mts} +0 -0
- /package/dist/{index-CSxfU0tB.d.mts → index-BjgfHTX4.d.mts} +0 -0
- /package/dist/{index-CarbJsC92.d.mts → index-BrvsExEF.d.mts} +0 -0
- /package/dist/{index-D0eUQjTU2.d.mts → index-C2PHX5Em.d.mts} +0 -0
- /package/dist/{index-BZ_DSGnE.d.mts → index-CNS1jyBU.d.mts} +0 -0
- /package/dist/{index-DoLdETfR.d.mts → index-CQco6KNL.d.mts} +0 -0
- /package/dist/{index-C18Pn3zP.d.mts → index-ChsmMZmN.d.mts} +0 -0
- /package/dist/{index-DwDBa2mb.d.mts → index-D3cH5U0n.d.mts} +0 -0
- /package/dist/{index-T96ydgVk.d.mts → index-DAVLhzkq.d.mts} +0 -0
- /package/dist/{index-9dISOTLT.d.mts → index-DIAmg04s.d.mts} +0 -0
- /package/dist/{index-DlAfs3RD.d.mts → index-DKCFz7dL.d.mts} +0 -0
- /package/dist/{index-DvaPrL6C.d.mts → index-DbP0yaRw.d.mts} +0 -0
- /package/dist/{index-2PsDAhPN.d.mts → index-DnPJWaO7.d.mts} +0 -0
- /package/dist/{index-DXBiCH2y.d.mts → index-Dx6P-ajY.d.mts} +0 -0
- /package/dist/{index-Rhcr4YNA.d.mts → index-Jec13bI-2.d.mts} +0 -0
- /package/dist/{index-BkAKfh4d.d.mts → index-M8rNEeH8.d.mts} +0 -0
- /package/dist/{index-DnWZdG6C.d.mts → index-NZ-gfUOw.d.mts} +0 -0
- /package/dist/{index-DfVSWBBp.d.mts → index-RtP5Mi4D.d.mts} +0 -0
- /package/dist/{index-_zsihEmk.d.mts → index-XLGBNeu0.d.mts} +0 -0
- /package/dist/{index-Bd52mmj9.d.mts → index-fFSPF7N0.d.mts} +0 -0
- /package/dist/{index-Ctw617Tj.d.mts → index-p1N3ZuqF.d.mts} +0 -0
- /package/dist/{json-value-C8duSh9X.d.mts → json-value-BsWNQQbr.d.mts} +0 -0
- /package/dist/{jsonl-transport-l5NPcQ_2.mjs → jsonl-transport-B70HQ9l1.mjs} +0 -0
- /package/dist/{lib-ClRTNIuz.mjs → lib-C_apP_9s.mjs} +0 -0
- /package/dist/{model-registry-C8MInDtX.mjs → model-registry-C3NX834K.mjs} +0 -0
- /package/dist/{namespace-HsI0Jbbr.mjs → namespace-B1_egU5J.mjs} +0 -0
- /package/dist/{namespace-Dar3O6iT.d.mts → namespace-BTp6-zD8.d.mts} +0 -0
- /package/dist/{namespace-Bl1UhLnK.d.mts → namespace-BqlDkdht2.d.mts} +0 -0
- /package/dist/{namespace-DoNigVgx.d.mts → namespace-BwAiuQ2_.d.mts} +0 -0
- /package/dist/{namespace-3YVLQ_bM.d.mts → namespace-CU1jSw6E.d.mts} +0 -0
- /package/dist/{namespace-BcDHt-ww.d.mts → namespace-CddQuUvG.d.mts} +0 -0
- /package/dist/{namespace-BsEoWXV_.d.mts → namespace-DNgZ_rfi.d.mts} +0 -0
- /package/dist/{namespace-VmsT_tLJ.d.mts → namespace-Dzbt8LqQ.d.mts} +0 -0
- /package/dist/{namespace-Dvi66QS6.d.mts → namespace-SwgMs4rw.d.mts} +0 -0
- /package/dist/{namespace-BhVlHfoO.d.mts → namespace-UCwUrFRx.d.mts} +0 -0
- /package/dist/{namespace-Xp9-g_r-.mjs → namespace-kIjqar0Y.mjs} +0 -0
- /package/dist/{orchestrator-shared-pxtyNu3W.d.mts → orchestrator-shared-DrEFeZYw.d.mts} +0 -0
- /package/dist/{orchestrator-shared-DAkGOu9H.mjs → orchestrator-shared-jYk9mi5C.mjs} +0 -0
- /package/dist/{out-BB6Kb4Xu.mjs → out-B6fO6go6.mjs} +0 -0
- /package/dist/{package-BYpWkSuQ.mjs → package-3cW8oIkI.mjs} +0 -0
- /package/dist/{package-DG9GSY8M.d.mts → package-BVm1EakP.d.mts} +0 -0
- /package/dist/{providers-namespace-O4de1tgO.d.mts → providers-namespace-Bl3M8Ibo.d.mts} +0 -0
- /package/dist/{quick-lru-BLaSzINB.mjs → quick-lru-Coxb6GVa.mjs} +0 -0
- /package/dist/{registry-TJjQgTgp.mjs → registry-ElIHcMM2.mjs} +0 -0
- /package/dist/{schemas-9QJf1FtS.d.mts → schemas-B3K1ekm7.d.mts} +0 -0
- /package/dist/{schemas-jDRSOXJL.d.mts → schemas-BKgUDm_a2.d.mts} +0 -0
- /package/dist/{schemas-XRhqOgVE.d.mts → schemas-CVbfHPw-.d.mts} +0 -0
- /package/dist/{schemas-CLsbsX1W.d.mts → schemas-CzT0LApM.d.mts} +0 -0
- /package/dist/{schemas-D_9X_CRo.d.mts → schemas-DPosZWw-.d.mts} +0 -0
- /package/dist/{schemas-fRLDhefF.d.mts → schemas-D_H0ztxl.d.mts} +0 -0
- /package/dist/{schemas-qpo1Goit.d.mts → schemas-DfZ85CRF2.d.mts} +0 -0
- /package/dist/{schemas-K3Td_WdR.d.mts → schemas-Dq_g7Giu.d.mts} +0 -0
- /package/dist/{schemas-DwfTUQIa.mjs → schemas-FiDj_kLq.mjs} +0 -0
- /package/dist/{schemas-qt5QTjVc.d.mts → schemas-pl0mzEtO.d.mts} +0 -0
- /package/dist/{server-lifecycle-D-jxVr_0.mjs → server-lifecycle-DLdh0-4H.mjs} +0 -0
- /package/dist/{server-lifecycle-r5Tkk8bU.d.mts → server-lifecycle-DzO3rjKP.d.mts} +0 -0
- /package/dist/{session-lineage-YShrn77v.d.mts → session-lineage-COFDOi7x.d.mts} +0 -0
- /package/dist/{src-Ci_WY9uw.mjs → src-Dqa1n_kI.mjs} +0 -0
- /package/dist/{storage-namespace-BzE2M4Hq.mjs → storage-namespace-B1_x8Ho2.mjs} +0 -0
- /package/dist/{storage-namespace-DWKFqEW-.d.mts → storage-namespace-D4yQ--Sp.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BZJGSaX3.d.mts → storage-namespace-definition-BzSaRLtZ.d.mts} +0 -0
- /package/dist/{supports-color-Dzp6WuF5.mjs → supports-color-CCdGjFUY.mjs} +0 -0
- /package/dist/{tool-approval-service-Dh0XI21f.mjs → tool-approval-service-BgSn_6NT.mjs} +0 -0
- /package/dist/{tray-menu-service-Bonl2KXf.mjs → tray-menu-service-BJ9r7IY3.mjs} +0 -0
- /package/dist/{types-BCW9kr4L.d.mts → types-B9QOZAZ5.d.mts} +0 -0
- /package/dist/{types-DWNoZ3Sd.d.mts → types-Bgb8eQkd.d.mts} +0 -0
- /package/dist/{types-DvKaEOOn.d.mts → types-C8_OhAFv.d.mts} +0 -0
- /package/dist/{types-CrJ7KEZ0.d.mts → types-Diu9uAnB.d.mts} +0 -0
- /package/dist/{window-registry-WsWu-rcK.d.mts → window-registry-CHv3cgSN.d.mts} +0 -0
|
@@ -0,0 +1,817 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
|
+
|
|
5
|
+
//#region core/contracts/src/materialization/namespace.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Request payload for resolving an artifact view through an affordance.
|
|
8
|
+
*
|
|
9
|
+
* Extends {@link ArtifactViewRequestSchema} (`level` + optional `params`)
|
|
10
|
+
* with the artifact identity and the structural affordance selector — the
|
|
11
|
+
* resolve RPC reuses the shared view-request shape rather than re-declaring
|
|
12
|
+
* parallel parameter types.
|
|
13
|
+
* @param ref - Stable framework artifact identity.
|
|
14
|
+
* @param level - Requested detail level (`link`, `summary`, or `full`).
|
|
15
|
+
* @param affordance - Structural affordance selector (own-view, inline, or entry).
|
|
16
|
+
* @param params - Optional JSON-safe runtime parameters.
|
|
17
|
+
*/
|
|
18
|
+
declare const ArtifactViewResolveRequestSchema: z.ZodObject<{
|
|
19
|
+
level: z.ZodEnum<{
|
|
20
|
+
link: "link";
|
|
21
|
+
summary: "summary";
|
|
22
|
+
full: "full";
|
|
23
|
+
}>;
|
|
24
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
25
|
+
ref: z.ZodString;
|
|
26
|
+
affordance: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
|
+
kind: z.ZodLiteral<"own-view">;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"inline">;
|
|
30
|
+
hostRelation: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
kind: z.ZodLiteral<"entry">;
|
|
33
|
+
via: z.ZodOptional<z.ZodString>;
|
|
34
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>], "kind">;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
/** Request payload for resolving an artifact view. */
|
|
38
|
+
type ArtifactViewResolveRequest = z.infer<typeof ArtifactViewResolveRequestSchema>;
|
|
39
|
+
/**
|
|
40
|
+
* Discriminated response for an artifact view resolve request.
|
|
41
|
+
*
|
|
42
|
+
* Exactly three closed shapes:
|
|
43
|
+
* - `ok` — positive result with the rendered view, its builder version, and
|
|
44
|
+
* the exact artifact revision that produced the view.
|
|
45
|
+
* - `artifact-not-found` — the referenced artifact does not exist.
|
|
46
|
+
* - `not-rendered` — the artifact exists but the requested affordance is not
|
|
47
|
+
* available or the projection policy suppresses rendering.
|
|
48
|
+
*/
|
|
49
|
+
declare const ArtifactViewResolveResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
50
|
+
status: z.ZodLiteral<"ok">;
|
|
51
|
+
view: z.ZodObject<{
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
54
|
+
navigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
url: z.ZodOptional<z.ZodString>;
|
|
57
|
+
label: z.ZodString;
|
|
58
|
+
}, z.core.$strip>>>;
|
|
59
|
+
sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
|
+
type: z.ZodLiteral<"summary">;
|
|
61
|
+
title: z.ZodString;
|
|
62
|
+
text: z.ZodString;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
type: z.ZodLiteral<"properties">;
|
|
65
|
+
title: z.ZodString;
|
|
66
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
67
|
+
label: z.ZodString;
|
|
68
|
+
value: z.ZodString;
|
|
69
|
+
}, z.core.$strip>>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
+
type: z.ZodLiteral<"table">;
|
|
72
|
+
title: z.ZodString;
|
|
73
|
+
columns: z.ZodArray<z.ZodString>;
|
|
74
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
75
|
+
cells: z.ZodArray<z.ZodString>;
|
|
76
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
url: z.ZodOptional<z.ZodString>;
|
|
79
|
+
label: z.ZodString;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<"relations">;
|
|
84
|
+
title: z.ZodString;
|
|
85
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
86
|
+
type: z.ZodString;
|
|
87
|
+
items: z.ZodArray<z.ZodObject<{
|
|
88
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
url: z.ZodOptional<z.ZodString>;
|
|
90
|
+
label: z.ZodString;
|
|
91
|
+
}, z.core.$strip>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"evidence">;
|
|
95
|
+
title: z.ZodString;
|
|
96
|
+
items: z.ZodArray<z.ZodObject<{
|
|
97
|
+
kind: z.ZodString;
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
type: z.ZodLiteral<"raw">;
|
|
103
|
+
title: z.ZodString;
|
|
104
|
+
json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
+
type: z.ZodLiteral<"code">;
|
|
107
|
+
title: z.ZodString;
|
|
108
|
+
language: z.ZodString;
|
|
109
|
+
content: z.ZodString;
|
|
110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
+
type: z.ZodLiteral<"diagram">;
|
|
112
|
+
title: z.ZodString;
|
|
113
|
+
notation: z.ZodLiteral<"mermaid">;
|
|
114
|
+
source: z.ZodString;
|
|
115
|
+
}, z.core.$strip>], "type">>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
builderVersion: z.ZodNumber;
|
|
118
|
+
sourceRevision: z.ZodString;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
status: z.ZodLiteral<"artifact-not-found">;
|
|
121
|
+
view: z.ZodNull;
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
status: z.ZodLiteral<"not-rendered">;
|
|
124
|
+
view: z.ZodNull;
|
|
125
|
+
}, z.core.$strip>], "status">;
|
|
126
|
+
/** Response payload for an artifact view resolve request. */
|
|
127
|
+
type ArtifactViewResolveResponse = z.infer<typeof ArtifactViewResolveResponseSchema>;
|
|
128
|
+
/**
|
|
129
|
+
* Framework-level materialization bus schemas.
|
|
130
|
+
*
|
|
131
|
+
* Defines the RPC and event subjects for framework-level materialization
|
|
132
|
+
* coordination.
|
|
133
|
+
* The schema set covers:
|
|
134
|
+
*
|
|
135
|
+
* - `surfaceBinding.register` — register a surface binding with the registry (RPC)
|
|
136
|
+
* - `surfaceBinding.list` — query registered surface bindings (RPC)
|
|
137
|
+
* - `surfaceBinding.changed` — emitted when a surface binding is added (event)
|
|
138
|
+
* - `ref.changed` — emitted when a provider materialization ref changes (event)
|
|
139
|
+
* - `capability.resolved` — emitted when a provider surface capability set is resolved (event)
|
|
140
|
+
* - `artifact.view.resolve` — resolve an artifact view through an affordance (RPC)
|
|
141
|
+
*
|
|
142
|
+
* Product hosts that extend the framework materialization surface should
|
|
143
|
+
* register a product-owned namespace rather than merging additional subjects
|
|
144
|
+
* into this one.
|
|
145
|
+
*/
|
|
146
|
+
declare const MaterializationSchemas: {
|
|
147
|
+
/**
|
|
148
|
+
* Register a surface binding with the surface binding registry (RPC).
|
|
149
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
150
|
+
*/
|
|
151
|
+
'surfaceBinding.register': {
|
|
152
|
+
request: z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
provider: z.ZodString;
|
|
155
|
+
namespace: z.ZodString;
|
|
156
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"label">;
|
|
158
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
kind: z.ZodLiteral<"field">;
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
169
|
+
slot: z.ZodString;
|
|
170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
|
+
kind: z.ZodLiteral<"comment">;
|
|
172
|
+
template: z.ZodString;
|
|
173
|
+
}, z.core.$strip>], "kind">;
|
|
174
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
175
|
+
artifact: "artifact";
|
|
176
|
+
workpiece: "workpiece";
|
|
177
|
+
surface: "surface";
|
|
178
|
+
}>>;
|
|
179
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
180
|
+
description: z.ZodOptional<z.ZodString>;
|
|
181
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
response: z.ZodObject<{
|
|
184
|
+
registered: z.ZodBoolean;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
}; /** List registered surface bindings, optionally filtered by id, provider, or namespace (RPC). */
|
|
187
|
+
'surfaceBinding.list': {
|
|
188
|
+
request: z.ZodObject<{
|
|
189
|
+
id: z.ZodOptional<z.ZodString>;
|
|
190
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
191
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
response: z.ZodObject<{
|
|
194
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
provider: z.ZodString;
|
|
197
|
+
namespace: z.ZodString;
|
|
198
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
199
|
+
kind: z.ZodLiteral<"label">;
|
|
200
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
+
kind: z.ZodLiteral<"field">;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
207
|
+
name: z.ZodString;
|
|
208
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
211
|
+
slot: z.ZodString;
|
|
212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
+
kind: z.ZodLiteral<"comment">;
|
|
214
|
+
template: z.ZodString;
|
|
215
|
+
}, z.core.$strip>], "kind">;
|
|
216
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
217
|
+
artifact: "artifact";
|
|
218
|
+
workpiece: "workpiece";
|
|
219
|
+
surface: "surface";
|
|
220
|
+
}>>;
|
|
221
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
222
|
+
description: z.ZodOptional<z.ZodString>;
|
|
223
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
224
|
+
}, z.core.$strip>>;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
}; /** Emitted when a surface binding registration is added. */
|
|
227
|
+
'surfaceBinding.changed': z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
provider: z.ZodString;
|
|
230
|
+
}, z.core.$strip>; /** Emitted when a provider materialization ref is upserted or deleted. */
|
|
231
|
+
'ref.changed': z.ZodObject<{
|
|
232
|
+
artifactId: z.ZodString;
|
|
233
|
+
provider: z.ZodString;
|
|
234
|
+
externalId: z.ZodString;
|
|
235
|
+
operation: z.ZodEnum<{
|
|
236
|
+
deleted: "deleted";
|
|
237
|
+
upserted: "upserted";
|
|
238
|
+
}>;
|
|
239
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
240
|
+
external: "external";
|
|
241
|
+
factory: "factory";
|
|
242
|
+
}>>;
|
|
243
|
+
}, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
|
|
244
|
+
'capability.resolved': z.ZodObject<{
|
|
245
|
+
provider: z.ZodString;
|
|
246
|
+
surface: z.ZodString;
|
|
247
|
+
capabilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
248
|
+
degraded: z.ZodBoolean;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
/**
|
|
251
|
+
* Resolve an artifact view through an affordance (RPC).
|
|
252
|
+
*
|
|
253
|
+
* Returns one of three closed response shapes: `ok` with the rendered view,
|
|
254
|
+
* its builder version, and exact source revision; `artifact-not-found`; or
|
|
255
|
+
* `not-rendered`.
|
|
256
|
+
*/
|
|
257
|
+
'artifact.view.resolve': {
|
|
258
|
+
request: z.ZodObject<{
|
|
259
|
+
level: z.ZodEnum<{
|
|
260
|
+
link: "link";
|
|
261
|
+
summary: "summary";
|
|
262
|
+
full: "full";
|
|
263
|
+
}>;
|
|
264
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
265
|
+
ref: z.ZodString;
|
|
266
|
+
affordance: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
267
|
+
kind: z.ZodLiteral<"own-view">;
|
|
268
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
269
|
+
kind: z.ZodLiteral<"inline">;
|
|
270
|
+
hostRelation: z.ZodString;
|
|
271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
272
|
+
kind: z.ZodLiteral<"entry">;
|
|
273
|
+
via: z.ZodOptional<z.ZodString>;
|
|
274
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
275
|
+
}, z.core.$strip>], "kind">;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
278
|
+
status: z.ZodLiteral<"ok">;
|
|
279
|
+
view: z.ZodObject<{
|
|
280
|
+
title: z.ZodString;
|
|
281
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
282
|
+
navigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
283
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
284
|
+
url: z.ZodOptional<z.ZodString>;
|
|
285
|
+
label: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>>;
|
|
287
|
+
sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
|
+
type: z.ZodLiteral<"summary">;
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
text: z.ZodString;
|
|
291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
292
|
+
type: z.ZodLiteral<"properties">;
|
|
293
|
+
title: z.ZodString;
|
|
294
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
295
|
+
label: z.ZodString;
|
|
296
|
+
value: z.ZodString;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
+
type: z.ZodLiteral<"table">;
|
|
300
|
+
title: z.ZodString;
|
|
301
|
+
columns: z.ZodArray<z.ZodString>;
|
|
302
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
303
|
+
cells: z.ZodArray<z.ZodString>;
|
|
304
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
306
|
+
url: z.ZodOptional<z.ZodString>;
|
|
307
|
+
label: z.ZodString;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
}, z.core.$strip>>;
|
|
310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
311
|
+
type: z.ZodLiteral<"relations">;
|
|
312
|
+
title: z.ZodString;
|
|
313
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
314
|
+
type: z.ZodString;
|
|
315
|
+
items: z.ZodArray<z.ZodObject<{
|
|
316
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
317
|
+
url: z.ZodOptional<z.ZodString>;
|
|
318
|
+
label: z.ZodString;
|
|
319
|
+
}, z.core.$strip>>;
|
|
320
|
+
}, z.core.$strip>>;
|
|
321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
322
|
+
type: z.ZodLiteral<"evidence">;
|
|
323
|
+
title: z.ZodString;
|
|
324
|
+
items: z.ZodArray<z.ZodObject<{
|
|
325
|
+
kind: z.ZodString;
|
|
326
|
+
id: z.ZodString;
|
|
327
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
type: z.ZodLiteral<"raw">;
|
|
331
|
+
title: z.ZodString;
|
|
332
|
+
json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
334
|
+
type: z.ZodLiteral<"code">;
|
|
335
|
+
title: z.ZodString;
|
|
336
|
+
language: z.ZodString;
|
|
337
|
+
content: z.ZodString;
|
|
338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
339
|
+
type: z.ZodLiteral<"diagram">;
|
|
340
|
+
title: z.ZodString;
|
|
341
|
+
notation: z.ZodLiteral<"mermaid">;
|
|
342
|
+
source: z.ZodString;
|
|
343
|
+
}, z.core.$strip>], "type">>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
builderVersion: z.ZodNumber;
|
|
346
|
+
sourceRevision: z.ZodString;
|
|
347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
348
|
+
status: z.ZodLiteral<"artifact-not-found">;
|
|
349
|
+
view: z.ZodNull;
|
|
350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
+
status: z.ZodLiteral<"not-rendered">;
|
|
352
|
+
view: z.ZodNull;
|
|
353
|
+
}, z.core.$strip>], "status">;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Materialization bus namespace.
|
|
358
|
+
*
|
|
359
|
+
* Registers the `materialization` namespace with framework-level RPC and event
|
|
360
|
+
* subjects. Use `MaterializationSubjects` to access typed bus subject
|
|
361
|
+
* descriptors.
|
|
362
|
+
*/
|
|
363
|
+
declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"materialization", {
|
|
364
|
+
/**
|
|
365
|
+
* Register a surface binding with the surface binding registry (RPC).
|
|
366
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
367
|
+
*/
|
|
368
|
+
'surfaceBinding.register': {
|
|
369
|
+
request: z.ZodObject<{
|
|
370
|
+
id: z.ZodString;
|
|
371
|
+
provider: z.ZodString;
|
|
372
|
+
namespace: z.ZodString;
|
|
373
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
374
|
+
kind: z.ZodLiteral<"label">;
|
|
375
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
377
|
+
kind: z.ZodLiteral<"field">;
|
|
378
|
+
name: z.ZodString;
|
|
379
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
381
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
382
|
+
name: z.ZodString;
|
|
383
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
386
|
+
slot: z.ZodString;
|
|
387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
388
|
+
kind: z.ZodLiteral<"comment">;
|
|
389
|
+
template: z.ZodString;
|
|
390
|
+
}, z.core.$strip>], "kind">;
|
|
391
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
392
|
+
artifact: "artifact";
|
|
393
|
+
workpiece: "workpiece";
|
|
394
|
+
surface: "surface";
|
|
395
|
+
}>>;
|
|
396
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
397
|
+
description: z.ZodOptional<z.ZodString>;
|
|
398
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
response: z.ZodObject<{
|
|
401
|
+
registered: z.ZodBoolean;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
}; /** List registered surface bindings, optionally filtered by id, provider, or namespace (RPC). */
|
|
404
|
+
'surfaceBinding.list': {
|
|
405
|
+
request: z.ZodObject<{
|
|
406
|
+
id: z.ZodOptional<z.ZodString>;
|
|
407
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
408
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
409
|
+
}, z.core.$strip>;
|
|
410
|
+
response: z.ZodObject<{
|
|
411
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
provider: z.ZodString;
|
|
414
|
+
namespace: z.ZodString;
|
|
415
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"label">;
|
|
417
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
+
kind: z.ZodLiteral<"field">;
|
|
420
|
+
name: z.ZodString;
|
|
421
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
423
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
424
|
+
name: z.ZodString;
|
|
425
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
427
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
428
|
+
slot: z.ZodString;
|
|
429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
430
|
+
kind: z.ZodLiteral<"comment">;
|
|
431
|
+
template: z.ZodString;
|
|
432
|
+
}, z.core.$strip>], "kind">;
|
|
433
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
434
|
+
artifact: "artifact";
|
|
435
|
+
workpiece: "workpiece";
|
|
436
|
+
surface: "surface";
|
|
437
|
+
}>>;
|
|
438
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
439
|
+
description: z.ZodOptional<z.ZodString>;
|
|
440
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
441
|
+
}, z.core.$strip>>;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
}; /** Emitted when a surface binding registration is added. */
|
|
444
|
+
'surfaceBinding.changed': z.ZodObject<{
|
|
445
|
+
id: z.ZodString;
|
|
446
|
+
provider: z.ZodString;
|
|
447
|
+
}, z.core.$strip>; /** Emitted when a provider materialization ref is upserted or deleted. */
|
|
448
|
+
'ref.changed': z.ZodObject<{
|
|
449
|
+
artifactId: z.ZodString;
|
|
450
|
+
provider: z.ZodString;
|
|
451
|
+
externalId: z.ZodString;
|
|
452
|
+
operation: z.ZodEnum<{
|
|
453
|
+
deleted: "deleted";
|
|
454
|
+
upserted: "upserted";
|
|
455
|
+
}>;
|
|
456
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
external: "external";
|
|
458
|
+
factory: "factory";
|
|
459
|
+
}>>;
|
|
460
|
+
}, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
|
|
461
|
+
'capability.resolved': z.ZodObject<{
|
|
462
|
+
provider: z.ZodString;
|
|
463
|
+
surface: z.ZodString;
|
|
464
|
+
capabilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
465
|
+
degraded: z.ZodBoolean;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
/**
|
|
468
|
+
* Resolve an artifact view through an affordance (RPC).
|
|
469
|
+
*
|
|
470
|
+
* Returns one of three closed response shapes: `ok` with the rendered view,
|
|
471
|
+
* its builder version, and exact source revision; `artifact-not-found`; or
|
|
472
|
+
* `not-rendered`.
|
|
473
|
+
*/
|
|
474
|
+
'artifact.view.resolve': {
|
|
475
|
+
request: z.ZodObject<{
|
|
476
|
+
level: z.ZodEnum<{
|
|
477
|
+
link: "link";
|
|
478
|
+
summary: "summary";
|
|
479
|
+
full: "full";
|
|
480
|
+
}>;
|
|
481
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
482
|
+
ref: z.ZodString;
|
|
483
|
+
affordance: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"own-view">;
|
|
485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
486
|
+
kind: z.ZodLiteral<"inline">;
|
|
487
|
+
hostRelation: z.ZodString;
|
|
488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
489
|
+
kind: z.ZodLiteral<"entry">;
|
|
490
|
+
via: z.ZodOptional<z.ZodString>;
|
|
491
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strip>], "kind">;
|
|
493
|
+
}, z.core.$strip>;
|
|
494
|
+
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
495
|
+
status: z.ZodLiteral<"ok">;
|
|
496
|
+
view: z.ZodObject<{
|
|
497
|
+
title: z.ZodString;
|
|
498
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
499
|
+
navigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
500
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
501
|
+
url: z.ZodOptional<z.ZodString>;
|
|
502
|
+
label: z.ZodString;
|
|
503
|
+
}, z.core.$strip>>>;
|
|
504
|
+
sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
505
|
+
type: z.ZodLiteral<"summary">;
|
|
506
|
+
title: z.ZodString;
|
|
507
|
+
text: z.ZodString;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"properties">;
|
|
510
|
+
title: z.ZodString;
|
|
511
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
512
|
+
label: z.ZodString;
|
|
513
|
+
value: z.ZodString;
|
|
514
|
+
}, z.core.$strip>>;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
type: z.ZodLiteral<"table">;
|
|
517
|
+
title: z.ZodString;
|
|
518
|
+
columns: z.ZodArray<z.ZodString>;
|
|
519
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
520
|
+
cells: z.ZodArray<z.ZodString>;
|
|
521
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
523
|
+
url: z.ZodOptional<z.ZodString>;
|
|
524
|
+
label: z.ZodString;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
528
|
+
type: z.ZodLiteral<"relations">;
|
|
529
|
+
title: z.ZodString;
|
|
530
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
531
|
+
type: z.ZodString;
|
|
532
|
+
items: z.ZodArray<z.ZodObject<{
|
|
533
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
534
|
+
url: z.ZodOptional<z.ZodString>;
|
|
535
|
+
label: z.ZodString;
|
|
536
|
+
}, z.core.$strip>>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
+
type: z.ZodLiteral<"evidence">;
|
|
540
|
+
title: z.ZodString;
|
|
541
|
+
items: z.ZodArray<z.ZodObject<{
|
|
542
|
+
kind: z.ZodString;
|
|
543
|
+
id: z.ZodString;
|
|
544
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
547
|
+
type: z.ZodLiteral<"raw">;
|
|
548
|
+
title: z.ZodString;
|
|
549
|
+
json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
551
|
+
type: z.ZodLiteral<"code">;
|
|
552
|
+
title: z.ZodString;
|
|
553
|
+
language: z.ZodString;
|
|
554
|
+
content: z.ZodString;
|
|
555
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
556
|
+
type: z.ZodLiteral<"diagram">;
|
|
557
|
+
title: z.ZodString;
|
|
558
|
+
notation: z.ZodLiteral<"mermaid">;
|
|
559
|
+
source: z.ZodString;
|
|
560
|
+
}, z.core.$strip>], "type">>;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
builderVersion: z.ZodNumber;
|
|
563
|
+
sourceRevision: z.ZodString;
|
|
564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
565
|
+
status: z.ZodLiteral<"artifact-not-found">;
|
|
566
|
+
view: z.ZodNull;
|
|
567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
568
|
+
status: z.ZodLiteral<"not-rendered">;
|
|
569
|
+
view: z.ZodNull;
|
|
570
|
+
}, z.core.$strip>], "status">;
|
|
571
|
+
};
|
|
572
|
+
}>;
|
|
573
|
+
/**
|
|
574
|
+
* Typed subjects for materialization bus communication.
|
|
575
|
+
*
|
|
576
|
+
* Available subjects:
|
|
577
|
+
* - `MaterializationSubjects['surfaceBinding.register']` — register a surface binding (RPC)
|
|
578
|
+
* - `MaterializationSubjects['surfaceBinding.list']` — list surface bindings (RPC)
|
|
579
|
+
* - `MaterializationSubjects['surfaceBinding.changed']` — binding changed event
|
|
580
|
+
* - `MaterializationSubjects['ref.changed']` — materialization ref changed event
|
|
581
|
+
* - `MaterializationSubjects['capability.resolved']` — provider capability resolved event
|
|
582
|
+
* - `MaterializationSubjects['artifact.view.resolve']` — resolve an artifact view (RPC)
|
|
583
|
+
*
|
|
584
|
+
* Nested shorthand (via dot-segment nesting):
|
|
585
|
+
* - `MaterializationSubjects.surfaceBinding.register` — register (RPC)
|
|
586
|
+
* - `MaterializationSubjects.surfaceBinding.list` — list (RPC)
|
|
587
|
+
* - `MaterializationSubjects.surfaceBinding.changed` — changed event
|
|
588
|
+
* - `MaterializationSubjects.ref.changed` — ref changed event
|
|
589
|
+
* - `MaterializationSubjects.capability.resolved` — capability resolved event
|
|
590
|
+
* - `MaterializationSubjects.artifact.view.resolve` — resolve artifact view (RPC)
|
|
591
|
+
*/
|
|
592
|
+
declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"materialization", {
|
|
593
|
+
/**
|
|
594
|
+
* Register a surface binding with the surface binding registry (RPC).
|
|
595
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
596
|
+
*/
|
|
597
|
+
'surfaceBinding.register': {
|
|
598
|
+
request: z.ZodObject<{
|
|
599
|
+
id: z.ZodString;
|
|
600
|
+
provider: z.ZodString;
|
|
601
|
+
namespace: z.ZodString;
|
|
602
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
603
|
+
kind: z.ZodLiteral<"label">;
|
|
604
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
606
|
+
kind: z.ZodLiteral<"field">;
|
|
607
|
+
name: z.ZodString;
|
|
608
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
609
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
610
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
611
|
+
name: z.ZodString;
|
|
612
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
614
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
615
|
+
slot: z.ZodString;
|
|
616
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
617
|
+
kind: z.ZodLiteral<"comment">;
|
|
618
|
+
template: z.ZodString;
|
|
619
|
+
}, z.core.$strip>], "kind">;
|
|
620
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
621
|
+
artifact: "artifact";
|
|
622
|
+
workpiece: "workpiece";
|
|
623
|
+
surface: "surface";
|
|
624
|
+
}>>;
|
|
625
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
626
|
+
description: z.ZodOptional<z.ZodString>;
|
|
627
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
628
|
+
}, z.core.$strip>;
|
|
629
|
+
response: z.ZodObject<{
|
|
630
|
+
registered: z.ZodBoolean;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
}; /** List registered surface bindings, optionally filtered by id, provider, or namespace (RPC). */
|
|
633
|
+
'surfaceBinding.list': {
|
|
634
|
+
request: z.ZodObject<{
|
|
635
|
+
id: z.ZodOptional<z.ZodString>;
|
|
636
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
637
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, z.core.$strip>;
|
|
639
|
+
response: z.ZodObject<{
|
|
640
|
+
bindings: z.ZodArray<z.ZodObject<{
|
|
641
|
+
id: z.ZodString;
|
|
642
|
+
provider: z.ZodString;
|
|
643
|
+
namespace: z.ZodString;
|
|
644
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
645
|
+
kind: z.ZodLiteral<"label">;
|
|
646
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
648
|
+
kind: z.ZodLiteral<"field">;
|
|
649
|
+
name: z.ZodString;
|
|
650
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
653
|
+
name: z.ZodString;
|
|
654
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
656
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
657
|
+
slot: z.ZodString;
|
|
658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
659
|
+
kind: z.ZodLiteral<"comment">;
|
|
660
|
+
template: z.ZodString;
|
|
661
|
+
}, z.core.$strip>], "kind">;
|
|
662
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
663
|
+
artifact: "artifact";
|
|
664
|
+
workpiece: "workpiece";
|
|
665
|
+
surface: "surface";
|
|
666
|
+
}>>;
|
|
667
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
668
|
+
description: z.ZodOptional<z.ZodString>;
|
|
669
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
670
|
+
}, z.core.$strip>>;
|
|
671
|
+
}, z.core.$strip>;
|
|
672
|
+
}; /** Emitted when a surface binding registration is added. */
|
|
673
|
+
'surfaceBinding.changed': z.ZodObject<{
|
|
674
|
+
id: z.ZodString;
|
|
675
|
+
provider: z.ZodString;
|
|
676
|
+
}, z.core.$strip>; /** Emitted when a provider materialization ref is upserted or deleted. */
|
|
677
|
+
'ref.changed': z.ZodObject<{
|
|
678
|
+
artifactId: z.ZodString;
|
|
679
|
+
provider: z.ZodString;
|
|
680
|
+
externalId: z.ZodString;
|
|
681
|
+
operation: z.ZodEnum<{
|
|
682
|
+
deleted: "deleted";
|
|
683
|
+
upserted: "upserted";
|
|
684
|
+
}>;
|
|
685
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
686
|
+
external: "external";
|
|
687
|
+
factory: "factory";
|
|
688
|
+
}>>;
|
|
689
|
+
}, z.core.$strip>; /** Emitted when a provider surface capability set has been resolved. */
|
|
690
|
+
'capability.resolved': z.ZodObject<{
|
|
691
|
+
provider: z.ZodString;
|
|
692
|
+
surface: z.ZodString;
|
|
693
|
+
capabilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
694
|
+
degraded: z.ZodBoolean;
|
|
695
|
+
}, z.core.$strip>;
|
|
696
|
+
/**
|
|
697
|
+
* Resolve an artifact view through an affordance (RPC).
|
|
698
|
+
*
|
|
699
|
+
* Returns one of three closed response shapes: `ok` with the rendered view,
|
|
700
|
+
* its builder version, and exact source revision; `artifact-not-found`; or
|
|
701
|
+
* `not-rendered`.
|
|
702
|
+
*/
|
|
703
|
+
'artifact.view.resolve': {
|
|
704
|
+
request: z.ZodObject<{
|
|
705
|
+
level: z.ZodEnum<{
|
|
706
|
+
link: "link";
|
|
707
|
+
summary: "summary";
|
|
708
|
+
full: "full";
|
|
709
|
+
}>;
|
|
710
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
711
|
+
ref: z.ZodString;
|
|
712
|
+
affordance: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
713
|
+
kind: z.ZodLiteral<"own-view">;
|
|
714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
715
|
+
kind: z.ZodLiteral<"inline">;
|
|
716
|
+
hostRelation: z.ZodString;
|
|
717
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
718
|
+
kind: z.ZodLiteral<"entry">;
|
|
719
|
+
via: z.ZodOptional<z.ZodString>;
|
|
720
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
721
|
+
}, z.core.$strip>], "kind">;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
724
|
+
status: z.ZodLiteral<"ok">;
|
|
725
|
+
view: z.ZodObject<{
|
|
726
|
+
title: z.ZodString;
|
|
727
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
728
|
+
navigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
729
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
730
|
+
url: z.ZodOptional<z.ZodString>;
|
|
731
|
+
label: z.ZodString;
|
|
732
|
+
}, z.core.$strip>>>;
|
|
733
|
+
sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
734
|
+
type: z.ZodLiteral<"summary">;
|
|
735
|
+
title: z.ZodString;
|
|
736
|
+
text: z.ZodString;
|
|
737
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
738
|
+
type: z.ZodLiteral<"properties">;
|
|
739
|
+
title: z.ZodString;
|
|
740
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
741
|
+
label: z.ZodString;
|
|
742
|
+
value: z.ZodString;
|
|
743
|
+
}, z.core.$strip>>;
|
|
744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
745
|
+
type: z.ZodLiteral<"table">;
|
|
746
|
+
title: z.ZodString;
|
|
747
|
+
columns: z.ZodArray<z.ZodString>;
|
|
748
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
749
|
+
cells: z.ZodArray<z.ZodString>;
|
|
750
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
751
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
752
|
+
url: z.ZodOptional<z.ZodString>;
|
|
753
|
+
label: z.ZodString;
|
|
754
|
+
}, z.core.$strip>>;
|
|
755
|
+
}, z.core.$strip>>;
|
|
756
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
757
|
+
type: z.ZodLiteral<"relations">;
|
|
758
|
+
title: z.ZodString;
|
|
759
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
760
|
+
type: z.ZodString;
|
|
761
|
+
items: z.ZodArray<z.ZodObject<{
|
|
762
|
+
artifactId: z.ZodOptional<z.ZodString>;
|
|
763
|
+
url: z.ZodOptional<z.ZodString>;
|
|
764
|
+
label: z.ZodString;
|
|
765
|
+
}, z.core.$strip>>;
|
|
766
|
+
}, z.core.$strip>>;
|
|
767
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
768
|
+
type: z.ZodLiteral<"evidence">;
|
|
769
|
+
title: z.ZodString;
|
|
770
|
+
items: z.ZodArray<z.ZodObject<{
|
|
771
|
+
kind: z.ZodString;
|
|
772
|
+
id: z.ZodString;
|
|
773
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
776
|
+
type: z.ZodLiteral<"raw">;
|
|
777
|
+
title: z.ZodString;
|
|
778
|
+
json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
779
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
780
|
+
type: z.ZodLiteral<"code">;
|
|
781
|
+
title: z.ZodString;
|
|
782
|
+
language: z.ZodString;
|
|
783
|
+
content: z.ZodString;
|
|
784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
+
type: z.ZodLiteral<"diagram">;
|
|
786
|
+
title: z.ZodString;
|
|
787
|
+
notation: z.ZodLiteral<"mermaid">;
|
|
788
|
+
source: z.ZodString;
|
|
789
|
+
}, z.core.$strip>], "type">>;
|
|
790
|
+
}, z.core.$strip>;
|
|
791
|
+
builderVersion: z.ZodNumber;
|
|
792
|
+
sourceRevision: z.ZodString;
|
|
793
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
+
status: z.ZodLiteral<"artifact-not-found">;
|
|
795
|
+
view: z.ZodNull;
|
|
796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
797
|
+
status: z.ZodLiteral<"not-rendered">;
|
|
798
|
+
view: z.ZodNull;
|
|
799
|
+
}, z.core.$strip>], "status">;
|
|
800
|
+
};
|
|
801
|
+
}>, "materialization">;
|
|
802
|
+
/** Request payload for registering a surface binding. */
|
|
803
|
+
type SurfaceBindingRegisterRequest = z.infer<(typeof MaterializationSchemas)['surfaceBinding.register']['request']>;
|
|
804
|
+
/** Response payload for registering a surface binding. */
|
|
805
|
+
type SurfaceBindingRegisterResponse = z.infer<(typeof MaterializationSchemas)['surfaceBinding.register']['response']>;
|
|
806
|
+
/** Request payload for listing surface bindings. */
|
|
807
|
+
type SurfaceBindingListRequest = z.infer<(typeof MaterializationSchemas)['surfaceBinding.list']['request']>;
|
|
808
|
+
/** Response payload for listing surface bindings. */
|
|
809
|
+
type SurfaceBindingListResponse = z.infer<(typeof MaterializationSchemas)['surfaceBinding.list']['response']>;
|
|
810
|
+
/** Payload for the surface binding changed event. */
|
|
811
|
+
type SurfaceBindingChangedPayload = z.infer<(typeof MaterializationSchemas)['surfaceBinding.changed']>;
|
|
812
|
+
/** Payload for the materialization ref changed event. */
|
|
813
|
+
type MaterializationRefChangedPayload = z.infer<(typeof MaterializationSchemas)['ref.changed']>;
|
|
814
|
+
/** Payload for the materialization capability resolved event. */
|
|
815
|
+
type MaterializationCapabilityResolvedPayload = z.infer<(typeof MaterializationSchemas)['capability.resolved']>;
|
|
816
|
+
//#endregion
|
|
817
|
+
export { MaterializationCapabilityResolvedPayload as a, MaterializationSchemas as c, SurfaceBindingListRequest as d, SurfaceBindingListResponse as f, ArtifactViewResolveResponseSchema as i, MaterializationSubjects$1 as l, SurfaceBindingRegisterResponse as m, ArtifactViewResolveRequestSchema as n, MaterializationNamespace as o, SurfaceBindingRegisterRequest as p, ArtifactViewResolveResponse as r, MaterializationRefChangedPayload as s, ArtifactViewResolveRequest as t, SurfaceBindingChangedPayload as u };
|