@makaio/framework 1.0.0-dev-1789609124644 → 1.0.0-dev-1790066089222
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/{adapter-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
- package/dist/adapter-subsystem/index.d.mts +15 -7
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.mjs +3 -3
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/{attempt-record-codec-DaQ3WHUs.mjs → attempt-record-codec-DXpdMgyI.mjs} +1 -1
- package/dist/bus/index.d.mts +120 -8
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-ceMF9rsq.mjs +9 -0
- package/dist/client-DWSwtFyI.mjs +1 -0
- package/dist/clients/index.d.mts +179 -12
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/code-execution/worker-entry.mjs +1 -1
- package/dist/{code-execution-pUF4IO462.mjs → code-execution-DWSux6k1.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +2 -47
- package/dist/contracts/context-projection/index.d.mts +232 -0
- package/dist/contracts/context-projection/index.mjs +1 -0
- package/dist/contracts/extension/index.d.mts +6 -6
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +43 -43
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- 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/worker/index.d.mts +2 -2
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-DDbHzCPF.d.mts → contribution-1GL7Rjaq.d.mts} +2 -2
- package/dist/credential-ref-w4ZYpYW0.d.mts +49 -0
- package/dist/{definition-CuaBQyde.d.mts → definition-DeIGoROj.d.mts} +1 -1
- package/dist/{descriptor-to-package-Dw8dnl5E.mjs → descriptor-to-package-BPIArq6N.mjs} +1 -1
- package/dist/{detached-extension-handle-DN3aqLyq.mjs → detached-extension-handle-W5_yfCyE.mjs} +1 -1
- package/dist/drizzle/0040_session_generation.sql +1 -0
- package/dist/drizzle/0041_session_principal_owner.sql +1 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{execution-attempt-owner-recovery-CE_rvHKE.mjs → execution-attempt-owner-recovery-BZOEVYFH.mjs} +1 -1
- package/dist/extension-C6ANjR33.mjs +1 -0
- package/dist/{extension-context-BH31eOMv.d.mts → extension-context-pQ7Uio_s.d.mts} +44 -1
- package/dist/{extension-discovery-CA2IhDRo.d.mts → extension-discovery-Rup-gANp.d.mts} +114 -15
- package/dist/extension-kOwzAMud.mjs +1 -0
- package/dist/extension-namespace-CeRpt6C8.mjs +1 -0
- package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-U4Xhouxe.mjs} +1 -1
- package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-B882RcQc.d.mts} +48 -5
- package/dist/{index-Dm3d490n.d.mts → index-B2bxgKiK.d.mts} +1 -1
- package/dist/{index-7CVumCjj.d.mts → index-BTpkpHIS.d.mts} +65 -9
- package/dist/{index-Bh57xARQ.d.mts → index-BUv9gfRT.d.mts} +3 -3
- package/dist/{index-C6e9cwAl2.d.mts → index-BjQtqMxP2.d.mts} +4 -4
- package/dist/{index-B-u0Tu8X.d.mts → index-Bqi44ODz.d.mts} +37 -37
- package/dist/{index-CIzvBH8O.d.mts → index-C8two8wz.d.mts} +1 -1
- package/dist/{index-oxZt93RL.d.mts → index-CESqYf8a.d.mts} +2 -2
- package/dist/{index-C87P0WpY2.d.mts → index-CmCLAMNs.d.mts} +1 -1
- package/dist/index-CyEE1RI5.d.mts +869 -0
- package/dist/{index-De_oh9M-2.d.mts → index-D6Uq1btG.d.mts} +87 -10
- package/dist/{index-CRZ1jrxp.d.mts → index-DDSt0uS2.d.mts} +160 -12
- package/dist/{index-B6WkHnCQ.d.mts → index-DRxgmrad.d.mts} +1 -1
- package/dist/{index-U--ajOHy.d.mts → index-DUYjTfHD.d.mts} +1 -1
- package/dist/{index-HJkz7i4E.d.mts → index-DdJKsdya.d.mts} +188 -10
- package/dist/{index-B4pPwpKk.d.mts → index-DfREUyAk.d.mts} +1 -1
- package/dist/{index-ClKwF6LE.d.mts → index-Di-R1gmo.d.mts} +2 -2
- package/dist/{index-DWANFpTG.d.mts → index-Jdju2W3y.d.mts} +1 -1
- package/dist/{index-DQKVQPUS.d.mts → index-L6mssyeZ.d.mts} +1 -1
- package/dist/{index-B8v1-2-V2.d.mts → index-anIxF_eT.d.mts} +1 -1
- package/dist/{index-iVisrVdC2.d.mts → index-bYBnDBl32.d.mts} +539 -4
- package/dist/{index-Bg3WVL8n.d.mts → index-gNdH1F6r.d.mts} +531 -26
- package/dist/{index-zmDRR8gv2.d.mts → index-m5ZQFglW2.d.mts} +1 -1
- package/dist/{index-mTaFX2HH2.d.mts → index-uk8icWON2.d.mts} +419 -19
- 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 +3 -2
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +6 -6
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +2 -2
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-BF5XBSfw.mjs → lib-BdyGVjpO.mjs} +1 -1
- package/dist/{lib-Dljw2Cqh.mjs → lib-DxP3tPm9.mjs} +1 -1
- package/dist/load-extensions-BGfSWW_R.mjs +1 -0
- package/dist/{load-extensions-DGstT4_p.d.mts → load-extensions-Be_lOjm_.d.mts} +27 -14
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-BMdYJN_t.mjs → namespace-CqJhR19O.mjs} +1 -1
- package/dist/{namespace-Cmu-5_P9.d.mts → namespace-DudchWPb.d.mts} +457 -0
- package/dist/{namespace-BEbQb19g.d.mts → namespace-Eir1wQ_r.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +102 -4
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CF-jPH91.mjs} +1 -1
- package/dist/ownership-memory-handler-C-y9zQf8.mjs +1 -0
- package/dist/package-AlsbnlSt.mjs +159 -0
- package/dist/{package-CDj3F-L3.d.mts → package-CwyC-Krg.d.mts} +1 -1
- package/dist/{package-DYScYC0D.mjs → package-kkPGlxMm.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.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.d.mts +2 -2
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/boot-config.d.mts +45 -0
- package/dist/runtime-node/boot-config.mjs +1 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +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 +345 -27
- package/dist/runtime-node/index.mjs +21 -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-BA1cHBbc.d.mts → schema-FY0EakKe.d.mts} +56 -0
- package/dist/schemas-CkxAK13D.mjs +1 -0
- package/dist/{schemas-CaYEFzK_.d.mts → schemas-FgVQek-j.d.mts} +2 -2
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/automation-trigger/index.d.mts +19 -0
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-projection/index.d.mts +94 -0
- package/dist/services/context-projection/index.mjs +1 -0
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/index.d.mts +45 -40
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- 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/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +4 -2
- 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 +232 -3
- 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-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/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-BNiMZnfF.mjs +1 -0
- package/dist/session-CMbztxNO.mjs +95 -0
- package/dist/src-BZdw54VU.mjs +1 -0
- package/dist/{src-CbAw9kjJ.mjs → src-C0sw_Vs_.mjs} +1 -1
- package/dist/{src-Xn6SS74f.mjs → src-CqQSqLQI.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/index.d.mts +1 -1
- package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CRo3fZRF.mjs} +1 -1
- package/dist/{tools-C5Gy0IQG.mjs → tools-CKaxi3Mb.mjs} +1 -1
- package/dist/{transition-D-Lgbp1j.d.mts → transition-DMv8cgEd.d.mts} +2 -2
- package/dist/{types-CjYcHDPo2.d.mts → types-7L3BrU9m2.d.mts} +1 -1
- package/dist/{types-DhbllltK.d.mts → types-DNYO_Rxj.d.mts} +12 -3
- package/dist/ui-hooks/index.d.mts +17 -24
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +11 -2
- package/dist/ui-kernel/index.mjs +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +1 -1
- package/dist/utils/index.d.mts +31 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-DJGz9I-u.d.mts} +2 -2
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +2 -2
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-t0ORS1F5.mjs} +1 -1
- package/dist/workflow-worker-DXCXb3g-.mjs +3 -0
- package/package.json +9 -1
- package/dist/bus-BQ64i3DN.mjs +0 -9
- package/dist/client-Bg3_IdaF.mjs +0 -1
- package/dist/extension-CfrTp3rC.mjs +0 -1
- package/dist/extension-CnNcY1hR.mjs +0 -1
- package/dist/extension-namespace-Ct9L6SKr.mjs +0 -1
- package/dist/index-D_j_T3nS.d.mts +0 -435
- package/dist/load-extensions-BVgxTj_y.mjs +0 -1
- package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
- package/dist/schemas-ClkcU_N5.mjs +0 -1
- package/dist/session-6UG5udTX.mjs +0 -95
- package/dist/session-BB0s7c2B.mjs +0 -1
- package/dist/workflow-worker-ChrMIcKm.mjs +0 -2
- /package/dist/{adapter-binding-BxjUfkOn.d.mts → adapter-binding-CaYBrIkL.d.mts} +0 -0
- /package/dist/{attempt-control-evidence-7lwRG73Y.mjs → attempt-control-evidence-CHBnJoqN.mjs} +0 -0
- /package/dist/{attempt-fixtures-DHdYmr3o.mjs → attempt-fixtures-D3IsP0KH.mjs} +0 -0
- /package/dist/{authority-state-bootstrap-CvuWPywM.mjs → authority-state-bootstrap-4F5Wc_6l.mjs} +0 -0
- /package/dist/{base-orchestrator-CrXiMJzf.d.mts → base-orchestrator-1ofFsqUz.d.mts} +0 -0
- /package/dist/{bootstrap-start-client-C1ZHbv6e.mjs → bootstrap-start-client-9nOdeDYl.mjs} +0 -0
- /package/dist/{capability-service-CQ1aw_p-.d.mts → capability-service-CUN0MIS7.d.mts} +0 -0
- /package/dist/{client-ByjHcS78.d.mts → client-BY3sBW2L.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-C4fEAUdo.d.mts → client-binary-version-verifier-BeO4Eptw.d.mts} +0 -0
- /package/dist/{clients-namespace-D4BxF2Nw.d.mts → clients-namespace-D92YsbKI.d.mts} +0 -0
- /package/dist/{config-namespace-B1zyOYwH.d.mts → config-namespace-OEckUfVE.d.mts} +0 -0
- /package/dist/{create-static-mount-Dgxgi4W3.mjs → create-static-mount-4B-mNtx1.mjs} +0 -0
- /package/dist/{cross-spawn-BMCAyqrN.mjs → cross-spawn-DGqEuNyT.mjs} +0 -0
- /package/dist/{definition-ClWxAKQ2.d.mts → definition-DLJg-P4G.d.mts} +0 -0
- /package/dist/{esm-Ccx-3z8E.mjs → esm-DwiWcwH0.mjs} +0 -0
- /package/dist/{execution-attempt-repository-aabFKcXN.mjs → execution-attempt-repository-CY289HlC.mjs} +0 -0
- /package/dist/{execution-attempt-repository-BUah8hma.d.mts → execution-attempt-repository-DOb5V4N2.d.mts} +0 -0
- /package/dist/{extension-package-provenance-C7oO5JAE.mjs → extension-package-provenance-ClpN3GHp.mjs} +0 -0
- /package/dist/{filesystem-service-CDYoiwWY.d.mts → filesystem-service-BmavE-uO.d.mts} +0 -0
- /package/dist/{index-BbkcbY6d.d.mts → index--gbsE1W0.d.mts} +0 -0
- /package/dist/{index-DdVpWkaI.d.mts → index-B36rL4gp.d.mts} +0 -0
- /package/dist/{index-DM72_93s.d.mts → index-BD1SbHpP.d.mts} +0 -0
- /package/dist/{index-KdlZRuTp.d.mts → index-BDcK7jqJ2.d.mts} +0 -0
- /package/dist/{index-DAaQ--ki.d.mts → index-BQYGOXY5.d.mts} +0 -0
- /package/dist/{index-gAyARaKS.d.mts → index-BneZFJ7x.d.mts} +0 -0
- /package/dist/{index-D8ELwT5y.d.mts → index-BujgCaKt.d.mts} +0 -0
- /package/dist/{index-DfU8s_xP.d.mts → index-C2StVLk4.d.mts} +0 -0
- /package/dist/{index-BGnQ0EyD.d.mts → index-CCTzitBA.d.mts} +0 -0
- /package/dist/{index-CVRT01082.d.mts → index-Cj_V1aRL.d.mts} +0 -0
- /package/dist/{index-nkix3hP7.d.mts → index-CpN2C9jq.d.mts} +0 -0
- /package/dist/{index-D6p17KPs.d.mts → index-CsRPJ9FV.d.mts} +0 -0
- /package/dist/{index-BPNfYEA22.d.mts → index-CvdvuhTL2.d.mts} +0 -0
- /package/dist/{index-DmX9W3xH2.d.mts → index-D3peNmHN2.d.mts} +0 -0
- /package/dist/{index-DiZ4LmyE.d.mts → index-D7smT-YD.d.mts} +0 -0
- /package/dist/{index-B78CRVi9.d.mts → index-DEx4ZFkz.d.mts} +0 -0
- /package/dist/{index-CjDQn6lw.d.mts → index-DGoJayJg.d.mts} +0 -0
- /package/dist/{index-F7cVpFJ9.d.mts → index-DTvYp2GT.d.mts} +0 -0
- /package/dist/{index-Htfr-K5U2.d.mts → index-DqliLe_D2.d.mts} +0 -0
- /package/dist/{index-BCU5oByg.d.mts → index-DubyRZD9.d.mts} +0 -0
- /package/dist/{index-DjSUOMlr.d.mts → index-DwOpaQAE.d.mts} +0 -0
- /package/dist/{index-BZoOYV-y.d.mts → index-DxkSkszz.d.mts} +0 -0
- /package/dist/{index-tbjIqwa3.d.mts → index-TBJ1kIGA.d.mts} +0 -0
- /package/dist/{index-DXQTkwLB.d.mts → index-YOXWpZAS.d.mts} +0 -0
- /package/dist/{index-CXpgL3gz2.d.mts → index-aIJ7A4DC2.d.mts} +0 -0
- /package/dist/{index-D6liU_KS.d.mts → index-fxh7TB0q.d.mts} +0 -0
- /package/dist/{index-xsaaa85T.d.mts → index-qczb9Yx3.d.mts} +0 -0
- /package/dist/{index-C_kOkO3E.d.mts → index-zqo2mX_Z.d.mts} +0 -0
- /package/dist/{json-value-Ymw2f8i_.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bg033Ng0.mjs → jsonl-transport-Ct1RWs0h.mjs} +0 -0
- /package/dist/{lib-BizqbepU.mjs → lib-DomKag_k.mjs} +0 -0
- /package/dist/{namespace-rJ3ycPMg.d.mts → namespace-Bhx72V7S.d.mts} +0 -0
- /package/dist/{namespace-BCVKdu-U.d.mts → namespace-CxEQv9iZ.d.mts} +0 -0
- /package/dist/{namespace-COHHDh2I.d.mts → namespace-D09uQ231.d.mts} +0 -0
- /package/dist/{namespace-UFcDEBJB.d.mts → namespace-D5DkpaaN.d.mts} +0 -0
- /package/dist/{namespace-CvK86QFk.d.mts → namespace-DHLwz4o3.d.mts} +0 -0
- /package/dist/{namespace-B5IFLQc-.d.mts → namespace-DHbrNQYD.d.mts} +0 -0
- /package/dist/{namespace-s0e215xO.d.mts → namespace-DyD06b5-.d.mts} +0 -0
- /package/dist/{namespace-C1pPZKtI.d.mts → namespace-Dz5_Hrz7.d.mts} +0 -0
- /package/dist/{namespace-Phxf0Lep.d.mts → namespace-Lkv2nyzb.d.mts} +0 -0
- /package/dist/{namespace-DM5vykb7.d.mts → namespace-hlhPqSsw.d.mts} +0 -0
- /package/dist/{namespace-DlOQmhgX.d.mts → namespace-x-gk5SmK.d.mts} +0 -0
- /package/dist/{namespace-f6Kz5cwX.d.mts → namespace-zusFEJPh.d.mts} +0 -0
- /package/dist/{orchestrator-shared--srEeSaY.d.mts → orchestrator-shared-ChU5qRSe.d.mts} +0 -0
- /package/dist/{packages-B98-WETs.d.mts → packages-D2s51nGU.d.mts} +0 -0
- /package/dist/{providers-namespace-DRcl03bo.d.mts → providers-namespace-BLVt8OyP.d.mts} +0 -0
- /package/dist/{runtime-inputs-DBtVIy9h.d.mts → runtime-inputs-BU_kBrP7.d.mts} +0 -0
- /package/dist/{schemas-CEJe8O6P.d.mts → schemas-3KTmPuZg.d.mts} +0 -0
- /package/dist/{schemas-D_-iXLQ9.d.mts → schemas-B-5_Dp4_.d.mts} +0 -0
- /package/dist/{schemas-CeItAAQM.d.mts → schemas-BLxdGZkr.d.mts} +0 -0
- /package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BegArpU_.d.mts} +0 -0
- /package/dist/{schemas-Ca5RILd-2.d.mts → schemas-BzB6z9oX2.d.mts} +0 -0
- /package/dist/{schemas-CtzZDp29.d.mts → schemas-CBBzvIh0.d.mts} +0 -0
- /package/dist/{schemas-Cq1d5tid.d.mts → schemas-CD3Mq-jC.d.mts} +0 -0
- /package/dist/{schemas-LiiyNNpr.d.mts → schemas-Cl7fPlRv.d.mts} +0 -0
- /package/dist/{schemas-DJ2vMsgm.d.mts → schemas-CqawCYTY.d.mts} +0 -0
- /package/dist/{schemas-2_D4iVbb.d.mts → schemas-DEg6R9ph.d.mts} +0 -0
- /package/dist/{schemas-JjyFxrC0.d.mts → schemas-rMUsvzeJ.d.mts} +0 -0
- /package/dist/{server-lifecycle-DUKp1Fbf.d.mts → server-lifecycle-CTJvpdeL.d.mts} +0 -0
- /package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BuGN3RZs.d.mts} +0 -0
- /package/dist/{storage-namespace-IvLOIP7j.d.mts → storage-namespace-B5r_ScUz.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Cv0XiTXb.d.mts → storage-namespace-definition-DiYr8UNl.d.mts} +0 -0
- /package/dist/{types-hkExapGH.d.mts → types-BSx8YYlc.d.mts} +0 -0
- /package/dist/{types-BYEybzjX.d.mts → types-CpEoQapk.d.mts} +0 -0
- /package/dist/{types-QRSc2AUU.d.mts → types-Cuhnt15L.d.mts} +0 -0
- /package/dist/{types-QsyX4H21.d.mts → types-DEGuc-fn.d.mts} +0 -0
- /package/dist/{types-BRM1AZaP.d.mts → types-DciLiPMd.d.mts} +0 -0
- /package/dist/{types-CsmvIK25.mjs → types-wwuw7RkB.mjs} +0 -0
- /package/dist/{window-registry-DeG37kt8.d.mts → window-registry-C3W2wtlX.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as JsonValue$1 } from "./json-value-
|
|
1
|
+
import { l as JsonValue$1 } from "./json-value-Bjl8jzom.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -148,10 +148,10 @@ type BuiltinWidget = 'tags' | 'textarea-array' | 'password' | 'slider' | 'capabi
|
|
|
148
148
|
* Plugin widget registry - augment to add custom widgets.
|
|
149
149
|
* @example Augmenting from a plugin
|
|
150
150
|
* ```typescript
|
|
151
|
-
* // extensions/
|
|
151
|
+
* // extensions/my-extension/src/types.ts
|
|
152
152
|
* declare module '@makaio/framework/contracts' {
|
|
153
153
|
* interface PluginWidgetRegistry {
|
|
154
|
-
* '
|
|
154
|
+
* 'star-rating': true;
|
|
155
155
|
* }
|
|
156
156
|
* }
|
|
157
157
|
* ```
|
|
@@ -242,8 +242,8 @@ type EntityUIConfig$1 = z.infer<typeof EntityUIConfigSchema$1>;
|
|
|
242
242
|
* controls continue to use `type: 'number'` with `widget: 'slider'`.
|
|
243
243
|
*
|
|
244
244
|
* Use `'custom'` when field rendering is fully delegated to the widget
|
|
245
|
-
* specified in `widget` —
|
|
246
|
-
* widget and
|
|
245
|
+
* specified in `widget` — the host-owned form layout routes the field to the
|
|
246
|
+
* registered widget and ignores the type for rendering purposes.
|
|
247
247
|
*/
|
|
248
248
|
type FieldType = 'text' | 'password' | 'number' | 'boolean' | 'select' | 'array' | 'custom';
|
|
249
249
|
/**
|
|
@@ -307,12 +307,38 @@ type FieldDefinition = StandardFieldDefinition | CustomFieldDefinition;
|
|
|
307
307
|
* Defines the contract between the form rendering infrastructure and
|
|
308
308
|
* individual field components. Both framework extensions and host UI
|
|
309
309
|
* implement components that accept this interface.
|
|
310
|
+
*
|
|
311
|
+
* ### Control id contract
|
|
312
|
+
*
|
|
313
|
+
* The host-owned form layout/shell owns label rendering for single-control
|
|
314
|
+
* field types: it sets {@link controlId} and targets it with
|
|
315
|
+
* `<label htmlFor>`. Components **must** set this id on their focusable
|
|
316
|
+
* control (`id={controlId ?? inputId ?? field.key}`, where `inputId` is a
|
|
317
|
+
* component-local prop some field components additionally accept for
|
|
318
|
+
* standalone usage without a shell); a component that ignores `controlId`
|
|
319
|
+
* renders with a dangling `htmlFor` and an unlabelled control. Composite
|
|
320
|
+
* field types, which render more than one control and therefore have no
|
|
321
|
+
* single element `controlId` could target, opt out by declaring
|
|
322
|
+
* `composite: true` in their `ExtensionFieldTypeRegistration` contribution
|
|
323
|
+
* metadata and are named through `aria-labelledby` on a wrapping group
|
|
324
|
+
* instead — the shell does not set `controlId` for those field types.
|
|
325
|
+
*
|
|
326
|
+
* ### Error ownership
|
|
327
|
+
*
|
|
328
|
+
* Components render their control only; the validation error message,
|
|
329
|
+
* like the label and description, belongs to the owning form layout. A
|
|
330
|
+
* component therefore receives the invalid *state* ({@link invalid}) and the
|
|
331
|
+
* id of the message element ({@link describedById}), never the message text
|
|
332
|
+
* — a component that rendered the text as well would display and announce
|
|
333
|
+
* the same error twice.
|
|
310
334
|
* @param field - Field definition describing what to render
|
|
311
335
|
* @param value - Current value of the field
|
|
312
336
|
* @param onChange - Callback when the field value changes
|
|
313
337
|
* @param className - Optional additional CSS class
|
|
314
|
-
* @param idPrefix -
|
|
315
|
-
* @param
|
|
338
|
+
* @param idPrefix - Namespace supplied by the owning form layout that every id the component generates internally must carry
|
|
339
|
+
* @param controlId - Id the component must set on its focusable control, when supplied by the owning form layout
|
|
340
|
+
* @param invalid - Whether the control should render as invalid for assistive technology
|
|
341
|
+
* @param describedById - Id(s) of the element(s) that describe this control, forwarded to the control's `aria-describedby`
|
|
316
342
|
*/
|
|
317
343
|
interface FormFieldProps {
|
|
318
344
|
/** Field definition describing what to render. */
|
|
@@ -323,10 +349,61 @@ interface FormFieldProps {
|
|
|
323
349
|
onChange: (value: unknown) => void;
|
|
324
350
|
/** Optional additional CSS class. */
|
|
325
351
|
className?: string;
|
|
326
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* Namespace every DOM id this component generates internally must carry.
|
|
354
|
+
*
|
|
355
|
+
* Supplied by the owning form layout, which derives it from its own form
|
|
356
|
+
* instance, so two layouts rendering the same field definitions on one
|
|
357
|
+
* page never produce colliding ids. A component that generates ids of its
|
|
358
|
+
* own — a composite field naming its sub-controls, for instance — must
|
|
359
|
+
* scope them under this prefix *and* the field key, or those ids collide
|
|
360
|
+
* across instances even though the shell's own ids do not.
|
|
361
|
+
*
|
|
362
|
+
* The prefix is used verbatim, so it is already a valid id fragment
|
|
363
|
+
* (no whitespace). Anything the component appends to it is not: field
|
|
364
|
+
* keys and option values are arbitrary strings, where a raw space would
|
|
365
|
+
* split one id into two dangling references in an
|
|
366
|
+
* `aria-labelledby`/`aria-describedby` IDREF list, and an unescaped
|
|
367
|
+
* separator would blur the boundary between id segments. Components
|
|
368
|
+
* therefore compose ids through the host's shared id encoder rather than
|
|
369
|
+
* by string concatenation.
|
|
370
|
+
*
|
|
371
|
+
* `undefined` for standalone usage without an owning form layout; a
|
|
372
|
+
* component rendering on its own picks its own per-instance namespace.
|
|
373
|
+
*/
|
|
327
374
|
idPrefix?: string;
|
|
328
|
-
/**
|
|
329
|
-
|
|
375
|
+
/**
|
|
376
|
+
* Id the component must set on its focusable control (`id={controlId}`),
|
|
377
|
+
* when supplied by the form layout that owns label rendering — see the
|
|
378
|
+
* control id contract above. `undefined` for standalone usage without an
|
|
379
|
+
* owning shell, and for composite field types, which have no single
|
|
380
|
+
* control this id could target.
|
|
381
|
+
*/
|
|
382
|
+
controlId?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Whether the control should render as invalid for assistive technology
|
|
385
|
+
* and error styling.
|
|
386
|
+
*
|
|
387
|
+
* The validation error *message* is not part of this contract: the owning
|
|
388
|
+
* form layout renders it (see the error ownership note above) and points
|
|
389
|
+
* the control at it through {@link describedById}, so a component must
|
|
390
|
+
* never render the message itself — doing so would show it twice and
|
|
391
|
+
* announce it twice.
|
|
392
|
+
*/
|
|
393
|
+
invalid?: boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Id(s) of the element(s) that describe this control (error message,
|
|
396
|
+
* description, provenance hint), space-separated per the
|
|
397
|
+
* `aria-describedby` attribute contract.
|
|
398
|
+
*
|
|
399
|
+
* Set by a form layout that owns description/error rendering outside the
|
|
400
|
+
* control, for single-control field types only — composite field types
|
|
401
|
+
* keep their description attached to the surrounding group instead, since
|
|
402
|
+
* no single control could carry it correctly. Cooperating field
|
|
403
|
+
* components spread this directly onto their control's
|
|
404
|
+
* `aria-describedby`.
|
|
405
|
+
*/
|
|
406
|
+
describedById?: string;
|
|
330
407
|
}
|
|
331
408
|
//#endregion
|
|
332
409
|
//#region core/contracts/src/shared/index.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ClientDefinitionInput, k as ClientDefinition } from "./hook-responses-B882RcQc.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
|
|
|
17
17
|
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
18
18
|
configDir: z.ZodNullable<z.ZodString>;
|
|
19
19
|
source: z.ZodEnum<{
|
|
20
|
-
global: "global";
|
|
21
20
|
managed: "managed";
|
|
21
|
+
global: "global";
|
|
22
22
|
}>;
|
|
23
23
|
version: z.ZodNullable<z.ZodString>;
|
|
24
24
|
}, z.core.$strip>;
|
|
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
|
|
|
39
39
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
40
40
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
41
41
|
preferSource: z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
global: "global";
|
|
43
42
|
managed: "managed";
|
|
43
|
+
global: "global";
|
|
44
44
|
}>>;
|
|
45
45
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, z.core.$strip>;
|
|
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
|
|
|
49
49
|
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
50
50
|
configDir: z.ZodNullable<z.ZodString>;
|
|
51
51
|
source: z.ZodEnum<{
|
|
52
|
-
global: "global";
|
|
53
52
|
managed: "managed";
|
|
53
|
+
global: "global";
|
|
54
54
|
}>;
|
|
55
55
|
version: z.ZodNullable<z.ZodString>;
|
|
56
56
|
}, z.core.$strip>;
|
|
@@ -231,6 +231,7 @@ declare const ClientSchemas: {
|
|
|
231
231
|
producer: z.ZodString;
|
|
232
232
|
}, z.core.$strip>;
|
|
233
233
|
observedAt: z.ZodNumber;
|
|
234
|
+
adapterSessionTransition: z.ZodOptional<z.ZodLiteral<"root-clear">>;
|
|
234
235
|
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
235
236
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
236
237
|
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
@@ -246,6 +247,20 @@ declare const ClientSchemas: {
|
|
|
246
247
|
promoted: z.ZodBoolean;
|
|
247
248
|
}, z.core.$strip>;
|
|
248
249
|
};
|
|
250
|
+
'runtime.resolveBySupervisorSessionId': {
|
|
251
|
+
request: z.ZodObject<{
|
|
252
|
+
clientId: z.ZodString;
|
|
253
|
+
supervisorSessionId: z.ZodString;
|
|
254
|
+
}, z.core.$strict>;
|
|
255
|
+
response: z.ZodObject<{
|
|
256
|
+
runtime: z.ZodNullable<z.ZodObject<{
|
|
257
|
+
clientId: z.ZodString;
|
|
258
|
+
supervisorSessionId: z.ZodString;
|
|
259
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
260
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, z.core.$strict>>;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
};
|
|
249
264
|
'runtime.started': z.ZodObject<{
|
|
250
265
|
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
251
266
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
@@ -597,6 +612,16 @@ declare const ClientSchemas: {
|
|
|
597
612
|
turnId: z.ZodOptional<z.ZodString>;
|
|
598
613
|
agentTranscriptPath: z.ZodOptional<z.ZodString>;
|
|
599
614
|
}, z.core.$strip>;
|
|
615
|
+
'session.token.get': {
|
|
616
|
+
request: z.ZodObject<{
|
|
617
|
+
clientId: z.ZodString;
|
|
618
|
+
adapterSessionId: z.ZodString;
|
|
619
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strip>;
|
|
621
|
+
response: z.ZodObject<{
|
|
622
|
+
token: z.ZodNullable<z.ZodString>;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
};
|
|
600
625
|
'wiring.list': {
|
|
601
626
|
request: z.ZodObject<{
|
|
602
627
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -734,8 +759,8 @@ declare const ClientSchemas: {
|
|
|
734
759
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
735
760
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
736
761
|
preferSource: z.ZodOptional<z.ZodEnum<{
|
|
737
|
-
global: "global";
|
|
738
762
|
managed: "managed";
|
|
763
|
+
global: "global";
|
|
739
764
|
}>>;
|
|
740
765
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
741
766
|
}, z.core.$strip>;
|
|
@@ -744,8 +769,8 @@ declare const ClientSchemas: {
|
|
|
744
769
|
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
745
770
|
configDir: z.ZodNullable<z.ZodString>;
|
|
746
771
|
source: z.ZodEnum<{
|
|
747
|
-
global: "global";
|
|
748
772
|
managed: "managed";
|
|
773
|
+
global: "global";
|
|
749
774
|
}>;
|
|
750
775
|
version: z.ZodNullable<z.ZodString>;
|
|
751
776
|
}, z.core.$strip>;
|
|
@@ -1379,6 +1404,7 @@ declare const ClientRuntimeObserveSchema: {
|
|
|
1379
1404
|
producer: z.ZodString;
|
|
1380
1405
|
}, z.core.$strip>;
|
|
1381
1406
|
observedAt: z.ZodNumber;
|
|
1407
|
+
adapterSessionTransition: z.ZodOptional<z.ZodLiteral<"root-clear">>;
|
|
1382
1408
|
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
1383
1409
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
1384
1410
|
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1396,6 +1422,29 @@ declare const ClientRuntimeObserveSchema: {
|
|
|
1396
1422
|
};
|
|
1397
1423
|
type ClientRuntimeObserveRequest = z.infer<typeof ClientRuntimeObserveSchema.request>;
|
|
1398
1424
|
type ClientRuntimeObserveResponse = z.infer<typeof ClientRuntimeObserveSchema.response>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Request and response schemas for `client.runtime.resolveBySupervisorSessionId`.
|
|
1427
|
+
*
|
|
1428
|
+
* Reads the correlation recorded for a supervisor session ID and client ID.
|
|
1429
|
+
* This is not a current process liveness check and does not authorize access
|
|
1430
|
+
* to the runtime.
|
|
1431
|
+
*/
|
|
1432
|
+
declare const ClientRuntimeResolveBySupervisorSessionIdSchema: {
|
|
1433
|
+
request: z.ZodObject<{
|
|
1434
|
+
clientId: z.ZodString;
|
|
1435
|
+
supervisorSessionId: z.ZodString;
|
|
1436
|
+
}, z.core.$strict>;
|
|
1437
|
+
response: z.ZodObject<{
|
|
1438
|
+
runtime: z.ZodNullable<z.ZodObject<{
|
|
1439
|
+
clientId: z.ZodString;
|
|
1440
|
+
supervisorSessionId: z.ZodString;
|
|
1441
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
}, z.core.$strict>>;
|
|
1444
|
+
}, z.core.$strict>;
|
|
1445
|
+
};
|
|
1446
|
+
type ClientRuntimeResolveBySupervisorSessionIdRequest = z.infer<typeof ClientRuntimeResolveBySupervisorSessionIdSchema.request>;
|
|
1447
|
+
type ClientRuntimeResolveBySupervisorSessionIdResponse = z.infer<typeof ClientRuntimeResolveBySupervisorSessionIdSchema.response>;
|
|
1399
1448
|
/**
|
|
1400
1449
|
* Payload for `client.runtime.started`.
|
|
1401
1450
|
*
|
|
@@ -1775,6 +1824,52 @@ declare const ClientWiringEntrySchema: z.ZodObject<{
|
|
|
1775
1824
|
/** A single wiring entry in a list response. */
|
|
1776
1825
|
type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
1777
1826
|
//#endregion
|
|
1827
|
+
//#region core/contracts/src/client/session-token.d.ts
|
|
1828
|
+
/**
|
|
1829
|
+
* Scope that identifies a session (or a subagent within a session) for token
|
|
1830
|
+
* operations.
|
|
1831
|
+
*
|
|
1832
|
+
* - `clientId` — stable string identity of the client that produced the hook
|
|
1833
|
+
* (e.g. `'claude-code'`, `'codex'`). Two client providers may report the
|
|
1834
|
+
* same provider-local session id; including the client id in the key
|
|
1835
|
+
* prevents a Codex record from overwriting a Claude Code token, and prevents
|
|
1836
|
+
* a subagent-completion event from one client from deleting the other's
|
|
1837
|
+
* entry. An MCP server that runs under Claude Code knows it belongs to that
|
|
1838
|
+
* client because `CLAUDE_CODE_SESSION_ID` is set in its environment.
|
|
1839
|
+
* - `adapterSessionId` — Claude Code hook payload `session_id`; equals
|
|
1840
|
+
* `CLAUDE_CODE_SESSION_ID` in stdio MCP servers.
|
|
1841
|
+
* - `agentId` — present only for SubagentStart events; absent for
|
|
1842
|
+
* top-level SessionStart events.
|
|
1843
|
+
*/
|
|
1844
|
+
declare const ClientSessionTokenScopeSchema: z.ZodObject<{
|
|
1845
|
+
clientId: z.ZodString;
|
|
1846
|
+
adapterSessionId: z.ZodString;
|
|
1847
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strip>;
|
|
1849
|
+
type ClientSessionTokenScope = z.infer<typeof ClientSessionTokenScopeSchema>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Request payload for `client.session.token.get`.
|
|
1852
|
+
*
|
|
1853
|
+
* Issued by MCP servers over the WebSocket bus to retrieve a previously
|
|
1854
|
+
* recorded correlation token by its scope.
|
|
1855
|
+
*/
|
|
1856
|
+
declare const ClientSessionTokenGetRequestSchema: z.ZodObject<{
|
|
1857
|
+
clientId: z.ZodString;
|
|
1858
|
+
adapterSessionId: z.ZodString;
|
|
1859
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1861
|
+
type ClientSessionTokenGetRequest = z.infer<typeof ClientSessionTokenGetRequestSchema>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Response payload for `client.session.token.get`.
|
|
1864
|
+
*
|
|
1865
|
+
* Returns the stored token, or `null` when no token has been recorded for
|
|
1866
|
+
* the given scope (e.g. no SessionToken effect was contributed at hook time).
|
|
1867
|
+
*/
|
|
1868
|
+
declare const ClientSessionTokenGetResponseSchema: z.ZodObject<{
|
|
1869
|
+
token: z.ZodNullable<z.ZodString>;
|
|
1870
|
+
}, z.core.$strip>;
|
|
1871
|
+
type ClientSessionTokenGetResponse = z.infer<typeof ClientSessionTokenGetResponseSchema>;
|
|
1872
|
+
//#endregion
|
|
1778
1873
|
//#region core/contracts/src/client/namespace.d.ts
|
|
1779
1874
|
/**
|
|
1780
1875
|
* Client namespace definition.
|
|
@@ -1788,7 +1883,10 @@ type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
|
1788
1883
|
* `client.session.turn.started`, `client.session.turn.completed`,
|
|
1789
1884
|
* `client.session.tool.pre`, `client.session.tool.post`,
|
|
1790
1885
|
* `client.session.compaction.pre`, `client.session.subagent.started`,
|
|
1791
|
-
* `client.session.subagent.completed`), the
|
|
1886
|
+
* `client.session.subagent.completed`), the session correlation-token
|
|
1887
|
+
* subject (`client.session.token.get` as a normal bus request reachable by
|
|
1888
|
+
* remote MCP servers — the token is handed to the runtime in-process via
|
|
1889
|
+
* {@link ClientSessionTokenSink}, never over the bus), the global
|
|
1792
1890
|
* wiring aggregator (`client.wiring.list`), the binary management
|
|
1793
1891
|
* subjects (`client.list`, `client.install`, `client.uninstall`,
|
|
1794
1892
|
* `client.update`, `client.setActive`, `client.installJob.progress`,
|
|
@@ -1974,6 +2072,7 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
1974
2072
|
producer: _$zod.ZodString;
|
|
1975
2073
|
}, _$zod_v4_core0.$strip>;
|
|
1976
2074
|
observedAt: _$zod.ZodNumber;
|
|
2075
|
+
adapterSessionTransition: _$zod.ZodOptional<_$zod.ZodLiteral<"root-clear">>;
|
|
1977
2076
|
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1978
2077
|
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1979
2078
|
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -1989,6 +2088,20 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
1989
2088
|
promoted: _$zod.ZodBoolean;
|
|
1990
2089
|
}, _$zod_v4_core0.$strip>;
|
|
1991
2090
|
};
|
|
2091
|
+
'runtime.resolveBySupervisorSessionId': {
|
|
2092
|
+
request: _$zod.ZodObject<{
|
|
2093
|
+
clientId: _$zod.ZodString;
|
|
2094
|
+
supervisorSessionId: _$zod.ZodString;
|
|
2095
|
+
}, _$zod_v4_core0.$strict>;
|
|
2096
|
+
response: _$zod.ZodObject<{
|
|
2097
|
+
runtime: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2098
|
+
clientId: _$zod.ZodString;
|
|
2099
|
+
supervisorSessionId: _$zod.ZodString;
|
|
2100
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2101
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2102
|
+
}, _$zod_v4_core0.$strict>>;
|
|
2103
|
+
}, _$zod_v4_core0.$strict>;
|
|
2104
|
+
};
|
|
1992
2105
|
'runtime.started': _$zod.ZodObject<{
|
|
1993
2106
|
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1994
2107
|
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2324,6 +2437,16 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2324
2437
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2325
2438
|
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2326
2439
|
}, _$zod_v4_core0.$strip>;
|
|
2440
|
+
'session.token.get': {
|
|
2441
|
+
request: _$zod.ZodObject<{
|
|
2442
|
+
clientId: _$zod.ZodString;
|
|
2443
|
+
adapterSessionId: _$zod.ZodString;
|
|
2444
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2445
|
+
}, _$zod_v4_core0.$strip>;
|
|
2446
|
+
response: _$zod.ZodObject<{
|
|
2447
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2448
|
+
}, _$zod_v4_core0.$strip>;
|
|
2449
|
+
};
|
|
2327
2450
|
'wiring.list': {
|
|
2328
2451
|
request: _$zod.ZodObject<{
|
|
2329
2452
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2461,8 +2584,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2461
2584
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2462
2585
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2463
2586
|
preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2464
|
-
global: "global";
|
|
2465
2587
|
managed: "managed";
|
|
2588
|
+
global: "global";
|
|
2466
2589
|
}>>;
|
|
2467
2590
|
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2468
2591
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -2471,8 +2594,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2471
2594
|
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
2472
2595
|
configDir: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2473
2596
|
source: _$zod.ZodEnum<{
|
|
2474
|
-
global: "global";
|
|
2475
2597
|
managed: "managed";
|
|
2598
|
+
global: "global";
|
|
2476
2599
|
}>;
|
|
2477
2600
|
version: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2478
2601
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -2650,6 +2773,7 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2650
2773
|
producer: _$zod.ZodString;
|
|
2651
2774
|
}, _$zod_v4_core0.$strip>;
|
|
2652
2775
|
observedAt: _$zod.ZodNumber;
|
|
2776
|
+
adapterSessionTransition: _$zod.ZodOptional<_$zod.ZodLiteral<"root-clear">>;
|
|
2653
2777
|
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2654
2778
|
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2655
2779
|
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2665,6 +2789,20 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2665
2789
|
promoted: _$zod.ZodBoolean;
|
|
2666
2790
|
}, _$zod_v4_core0.$strip>;
|
|
2667
2791
|
};
|
|
2792
|
+
'runtime.resolveBySupervisorSessionId': {
|
|
2793
|
+
request: _$zod.ZodObject<{
|
|
2794
|
+
clientId: _$zod.ZodString;
|
|
2795
|
+
supervisorSessionId: _$zod.ZodString;
|
|
2796
|
+
}, _$zod_v4_core0.$strict>;
|
|
2797
|
+
response: _$zod.ZodObject<{
|
|
2798
|
+
runtime: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2799
|
+
clientId: _$zod.ZodString;
|
|
2800
|
+
supervisorSessionId: _$zod.ZodString;
|
|
2801
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2802
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2803
|
+
}, _$zod_v4_core0.$strict>>;
|
|
2804
|
+
}, _$zod_v4_core0.$strict>;
|
|
2805
|
+
};
|
|
2668
2806
|
'runtime.started': _$zod.ZodObject<{
|
|
2669
2807
|
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2670
2808
|
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -3000,6 +3138,16 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
3000
3138
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3001
3139
|
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3002
3140
|
}, _$zod_v4_core0.$strip>;
|
|
3141
|
+
'session.token.get': {
|
|
3142
|
+
request: _$zod.ZodObject<{
|
|
3143
|
+
clientId: _$zod.ZodString;
|
|
3144
|
+
adapterSessionId: _$zod.ZodString;
|
|
3145
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3146
|
+
}, _$zod_v4_core0.$strip>;
|
|
3147
|
+
response: _$zod.ZodObject<{
|
|
3148
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
3149
|
+
}, _$zod_v4_core0.$strip>;
|
|
3150
|
+
};
|
|
3003
3151
|
'wiring.list': {
|
|
3004
3152
|
request: _$zod.ZodObject<{
|
|
3005
3153
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3137,8 +3285,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
3137
3285
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3138
3286
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3139
3287
|
preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3140
|
-
global: "global";
|
|
3141
3288
|
managed: "managed";
|
|
3289
|
+
global: "global";
|
|
3142
3290
|
}>>;
|
|
3143
3291
|
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3144
3292
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3147,8 +3295,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
3147
3295
|
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
3148
3296
|
configDir: _$zod.ZodNullable<_$zod.ZodString>;
|
|
3149
3297
|
source: _$zod.ZodEnum<{
|
|
3150
|
-
global: "global";
|
|
3151
3298
|
managed: "managed";
|
|
3299
|
+
global: "global";
|
|
3152
3300
|
}>;
|
|
3153
3301
|
version: _$zod.ZodNullable<_$zod.ZodString>;
|
|
3154
3302
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -3531,4 +3679,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
|
|
|
3531
3679
|
type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
|
|
3532
3680
|
type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
|
|
3533
3681
|
//#endregion
|
|
3534
|
-
export {
|
|
3682
|
+
export { ClientSessionCompactionPreSchema as $, ClientResolveBinaryRequest as $n, ClientSetActiveRequest as $t, SessionConfigInheritance as A, ClientIdentityObservationSchema as An, ClientRuntimeObserveResponse as At, SessionConfigTeardownResponseSchema as B, ClientSessionLocatorSchema as Bn, ClientRuntimeStartedSchema as Bt, SessionConfigCleanupRequest as C, ClientAccountIdentifierSchema as Cn, ClientWiringEntrySchema as Ct, SessionConfigDestroyRequest as D, ClientIdentifierStrength as Dn, ClientRuntimeIsAdapterManagedResponse as Dt, SessionConfigCreateResponse as E, ClientAccountObserveSchema as En, ClientRuntimeIsAdapterManagedRequest as Et, SessionConfigSetupResponse as F, ClientScanTargetSchema as Fn, ClientRuntimeSource as Ft, ClientSessionTokenGetRequestSchema as G, ClientUsageSnapshotSchema as Gn, ClientInstallProgress as Gt, ClientNamespace as H, ClientUsageIngestResponse as Hn, ClientBinaryListEntrySchema as Ht, SessionConfigSetupResponseSchema as I, ClientSessionAccountObserveRequest as In, ClientRuntimeSourceLayer as It, ClientSessionTokenScope as J, ClientUsageWindows as Jn, ClientInstallResponse as Jt, ClientSessionTokenGetResponse as K, ClientUsageWindow as Kn, ClientInstallProgressSchema as Kt, SessionConfigTeardownRequest as L, ClientSessionAccountObserveResponse as Ln, ClientRuntimeSourceLayerSchema as Lt, SessionConfigLeaseIdSchema as M, ClientScanResult as Mn, ClientRuntimeResolveBySupervisorSessionIdRequest as Mt, SessionConfigSetupRequest as N, ClientScanResultSchema as Nn, ClientRuntimeResolveBySupervisorSessionIdResponse as Nt, SessionConfigDestroyResponse as O, ClientIdentifierStrengthSchema as On, ClientRuntimeIsAdapterManagedSchema as Ot, SessionConfigSetupRequestSchema as P, ClientScanTarget as Pn, ClientRuntimeResolveBySupervisorSessionIdSchema as Pt, ClientSessionCompactionPre as Q, ClientExecutionContextSchema as Qn, ClientListSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientSessionAccountObserveSchema as Rn, ClientRuntimeSourceSchema as Rt, ProfileUpdateResponse as S, ClientAccountIdentifier as Sn, ClientWiringEntry as St, SessionConfigCreateRequest as T, ClientAccountObserveResponse as Tn, ClientRuntimeEvidenceBaseSchema as Tt, ClientSubjects as U, ClientUsageIngestSchema as Un, ClientInstallCompleted as Ut, createClientDefinition as V, ClientUsageIngestRequest as Vn, ClientBinaryListEntry as Vt, ClientSessionTokenGetRequest as W, ClientUsageSnapshot as Wn, ClientInstallCompletedSchema as Wt, CLIENT_SESSION_COMPACTION_TRIGGERS as X, ClientSchemas as Xn, ClientListRequest as Xt, ClientSessionTokenScopeSchema as Y, ClientUsageWindowsSchema as Yn, ClientInstallSchema as Yt, CLIENT_SESSION_START_MODES as Z, ClientExecutionContext as Zn, ClientListResponse as Zt, ProfileListRequest as _, ManagedInstallStrategySchema as _n, ClientSessionTurnCompletedSchema as _t, ClientConfigPrimeSchema as a, ClientUpdateRequest as an, ClientSessionStartModeSchema as at, ProfileSetDefaultResponse as b, ClientSessionUsageSnapshot as bn, ClientSessionUserPromptSubmitted as bt, ClientProfileSchema as c, ClientVersionChanged as cn, ClientSessionSubagentCompleted as ct, ProfileCreateRequest as d, InstallErrorSchema as dn, ClientSessionSubagentStartedSchema as dt, ClientSetActiveResponse as en, ClientResolveBinaryResponse as er, ClientSessionCompactionTrigger as et, ProfileCreateResponse as f, InstallStage as fn, ClientSessionToolPost as ft, ProfileGetResponse as g, ManagedInstallStrategy as gn, ClientSessionTurnCompleted as gt, ProfileGetRequest as h, InstalledVersionEntrySchema as hn, ClientSessionToolPreSchema as ht, ClientConfigPrimeResponse as i, ClientUninstallSchema as in, ClientSessionStartMode as it, SessionConfigInheritanceSchema as j, ClientMetadataSchema as jn, ClientRuntimeObserveSchema as jt, SessionConfigEnvSchema as k, ClientIdentityObservation as kn, ClientRuntimeObserveRequest as kt, ClientProfileSchemas as l, ClientVersionChangedSchema as ln, ClientSessionSubagentCompletedSchema as lt, ProfileDeleteResponse as m, InstalledVersionEntry as mn, ClientSessionToolPre as mt, ClientConfigPrimePhaseSchema as n, ClientUninstallRequest as nn, ClientSessionObservedBase as nt, ClientProfile as o, ClientUpdateResponse as on, ClientSessionStarted as ot, ProfileDeleteRequest as p, InstallStageSchema as pn, ClientSessionToolPostSchema as pt, ClientSessionTokenGetResponseSchema as q, ClientUsageWindowSchema as qn, ClientInstallRequest as qt, ClientConfigPrimeRequest as r, ClientUninstallResponse as rn, ClientSessionObservedBaseSchema as rt, ClientProfileNameSchema as s, ClientUpdateSchema as sn, ClientSessionStartedSchema as st, ClientConfigPrimePhase as t, ClientSetActiveSchema as tn, ClientResolveBinarySchema as tr, ClientSessionCompactionTriggerSchema as tt, ClientSessionConfigSchemas as u, InstallError as un, ClientSessionSubagentStarted as ut, ProfileListResponse as v, ClientSessionUsageCostProvenance as vn, ClientSessionTurnStarted as vt, SessionConfigCleanupResponse as w, ClientAccountObserveRequest as wn, ClientRuntimeEvidenceBase as wt, ProfileUpdateRequest as x, ClientSessionUsageSnapshotSchema as xn, ClientSessionUserPromptSubmittedSchema as xt, ProfileSetDefaultRequest as y, ClientSessionUsageCostProvenanceSchema as yn, ClientSessionTurnStartedSchema as yt, SessionConfigTeardownResponse as z, ClientSessionLocator as zn, ClientRuntimeStarted as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-
|
|
1
|
+
import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-DEg6R9ph.mjs";
|
|
2
2
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
3
3
|
|
|
4
4
|
//#region services/core/src/adapter-runtime/identity.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ExecutionTarget } from "./schemas-
|
|
1
|
+
import { r as ExecutionTarget } from "./schemas-3KTmPuZg.mjs";
|
|
2
2
|
import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, SessionOwnershipRecoveryGuard, TurnInitiator } from "@makaio/framework/contracts";
|
|
3
3
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
4
4
|
|