@makaio/framework 1.0.0-dev-1785407933303 → 1.0.0-dev-1786014320559
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 +4 -3
- package/dist/{account-identity-DFx8pwKL.mjs → account-identity-DGpXd8h_.mjs} +1 -1
- package/dist/adapter-BkdJaOOG.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +138 -6
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/acp-client/index.d.mts +105 -7
- package/dist/adapters/acp-client/index.mjs +2 -2
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +379 -812
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/adapters/stream-session/index.d.mts +28 -7
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/agent-namespace-D51PODFf.mjs +1 -0
- package/dist/{ajv-DD3SIL2i.mjs → ajv-L5fKxaia.mjs} +2 -2
- package/dist/artifact-k3veR4Yx.mjs +1 -0
- package/dist/attach-error-BSlc7JfL.mjs +1 -0
- package/dist/{auth-DGEdiHF6.mjs → auth-A1K_7q-8.mjs} +1 -1
- package/dist/authority-state-bootstrap-YwtEImIB.mjs +1 -0
- package/dist/automation-trigger-CuSdQwir.mjs +1 -0
- package/dist/await-trigger-ph1S0zVI.mjs +1 -0
- package/dist/bus/index.d.mts +17 -3
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BIj0_aG6.mjs +1 -0
- package/dist/bus-CqgrphNE.mjs +2 -0
- package/dist/{canonical-model-BAytQ4NV.mjs → canonical-model-DJASlL4m.mjs} +1 -1
- package/dist/{capabilities-BQEp34ir.mjs → capabilities-Bqckjh7G.mjs} +1 -1
- package/dist/{client-DbS847wW.mjs → client-BL5__WT0.mjs} +1 -1
- package/dist/clients/index.d.mts +7 -7
- 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/{compression-74fFeBha.mjs → compression-BbttSqm8.mjs} +1 -1
- package/dist/{config-namespace-TVX-hG4I.mjs → config-namespace-CyzeLWSg.mjs} +1 -1
- package/dist/{context-resolution-DNRkyQto.d.mts → context-resolution-CW0ya4QO.d.mts} +14 -14
- package/dist/contracts/adapter/index.d.mts +3 -3
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +4 -0
- package/dist/contracts/automation-trigger/index.mjs +1 -0
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +6 -5
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +161 -100
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/reaction/index.d.mts +2 -0
- package/dist/contracts/reaction/index.mjs +1 -0
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +3 -3
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker-node/index.d.mts +1 -1
- package/dist/contracts/worker-node/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/contribution-BH-wKsWI.d.mts +35 -0
- package/dist/core/index.d.mts +60 -1
- package/dist/core/index.mjs +1 -1
- package/dist/definition-BYgHlmMw.d.mts +375 -0
- package/dist/{definition-CJfiv8xm.mjs → definition-CDg-Jq1T.mjs} +1 -1
- package/dist/{detached-extension-handle-Ddfquy5_.mjs → detached-extension-handle-DKd17UB6.mjs} +1 -1
- package/dist/drizzle/0031_adapter_session_currency.sql +66 -0
- package/dist/drizzle/0032_native_session_ownership.sql +77 -0
- package/dist/drizzle/0033_m_msf3hu2s.sql +1 -0
- package/dist/drizzle/meta/_journal.json +21 -0
- package/dist/{execution-attempt-repository-DWXKY41_.d.mts → execution-attempt-repository-DFyAnchJ.d.mts} +1 -1
- package/dist/{execution-target-Cf645pDj.mjs → execution-target-ByNwZh5-.mjs} +1 -1
- package/dist/extension-DMdmj9gi.mjs +1 -0
- package/dist/extension-DUmibvMk.mjs +1 -0
- package/dist/extension-context-CqfddWXs.d.mts +295 -0
- package/dist/{extension-discovery-CQRdbVQ6.d.mts → extension-discovery-Fhps4icD.d.mts} +2 -0
- package/dist/{extension-namespace-Yu41YepM.mjs → extension-namespace-B554RmCp.mjs} +1 -1
- package/dist/extension-package-provenance-Dh_-Z-tE.mjs +1 -0
- package/dist/{filesystem-service-DlP2HfDg.mjs → filesystem-service-FAtd9gWH.mjs} +1 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +1 -0
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-1yCVCk8s.mjs → globby-BBLuT_vy.mjs} +1 -1
- package/dist/handlers-2yd00VEq.mjs +57 -0
- package/dist/{harness-DpwsFsE7.mjs → harness-KxbWGL4I.mjs} +1 -1
- package/dist/{hook-responses-Dh1PWXqJ.d.mts → hook-responses-CQZIv3L3.d.mts} +2 -293
- package/dist/{index-HsTxm-R3.d.mts → index-3eUIRy7T.d.mts} +250 -20
- package/dist/{index-brqfk9JQ.d.mts → index-B4xdTT3c.d.mts} +6 -6
- package/dist/{index-CmFbzuiW.d.mts → index-B5op6AsV.d.mts} +72 -62
- package/dist/{index-CMgLxw14.d.mts → index-B6GOuxVy2.d.mts} +18 -18
- package/dist/index-BFhJe-Sb.d.mts +302 -0
- package/dist/{index-fmR2JNgJ.d.mts → index-BQprJNA_.d.mts} +4 -4
- package/dist/{index-EjsSBQXy2.d.mts → index-BSQ30wYP.d.mts} +1 -1
- package/dist/{index-Hk9mpC3o.d.mts → index-BSbGB23v.d.mts} +8 -8
- package/dist/{index-BbF2gRwd.d.mts → index-BiAYXjgM.d.mts} +41 -41
- package/dist/{index-sFsAqeK1.d.mts → index-ByZi9bml.d.mts} +7616 -4158
- package/dist/{index-CMJZ2Z8m.d.mts → index-C7HcDpHE.d.mts} +4 -0
- package/dist/{index-BskPjMet.d.mts → index-CB4aIUoF.d.mts} +16 -16
- package/dist/{index-B-xrJCwa.d.mts → index-CDusRXio.d.mts} +136 -137
- package/dist/{index-CUvNKYkV.d.mts → index-CSN_0sCo.d.mts} +19 -2
- package/dist/{index-BAXkicoQ.d.mts → index-C__EQfKa.d.mts} +1 -1
- package/dist/{index-BfLulUMy2.d.mts → index-CqQYgsbB.d.mts} +1659 -217
- package/dist/{index-DF9ffhVe.d.mts → index-CwDiyJkJ.d.mts} +327 -756
- package/dist/{index-GHASUiem.d.mts → index-DBadVauL.d.mts} +1 -1
- package/dist/{index-gUhidukN.d.mts → index-DI7-tIL3.d.mts} +299 -2
- package/dist/index-DP3o_13U.d.mts +165 -0
- package/dist/{index-DSBT83c0.d.mts → index-DcYAAJ0V.d.mts} +24 -3
- package/dist/{index-DqkjRTr7.d.mts → index-Dch_AxUg.d.mts} +77 -39
- package/dist/{index-XZyMxxnU.d.mts → index-DcqSUsX6.d.mts} +39 -83
- package/dist/{index-B0Kf_OWi.d.mts → index-DgOfgjx3.d.mts} +1 -1
- package/dist/{index-Ds5_rDEJ.d.mts → index-DwLRZscE.d.mts} +1 -12
- package/dist/{index-DkiTJM5p.d.mts → index-DxYDRoDE2.d.mts} +17 -3
- package/dist/{index-CRvpVIqA.d.mts → index-OsbtyMgx2.d.mts} +10 -1
- package/dist/{index-BaZeoZoS.d.mts → index-bIe_57cL.d.mts} +1 -1
- package/dist/{json-value-Brslhqbm.d.mts → json-value-C1RGgS0a.d.mts} +16 -1
- package/dist/{json-value-DmU8ibo_.mjs → json-value-D57aJhVn.mjs} +1 -1
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +9 -9
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +2 -2
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/{lib-C7-s68uf.mjs → lib-B_rJ6r0T.mjs} +1 -1
- package/dist/{lib-DErgth_E.mjs → lib-CnOAtohU.mjs} +1 -1
- package/dist/load-extensions-CW9uzNR5.mjs +1 -0
- package/dist/{load-extensions-BxsDB87B.d.mts → load-extensions-DUpaMQ7G.d.mts} +17 -13
- package/dist/{materialization-Jd198K3y.mjs → materialization-CcpCDhXh.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-ZH3L1dPW.mjs +1 -0
- package/dist/{namespace-BqxtpNAn.mjs → namespace-B7bntOB8.mjs} +1 -1
- package/dist/{namespace-CWUDFGOy.mjs → namespace-BFqkUTJp.mjs} +1 -1
- package/dist/{namespace-D-WH2uYV2.d.mts → namespace-CAy4P5mW.d.mts} +8 -8
- package/dist/{namespace-B8uKAzWJ.mjs → namespace-CFjdyNXG.mjs} +1 -1
- package/dist/{namespace-DV-Hr9sZ.d.mts → namespace-ChnRTUG4.d.mts} +11 -1
- package/dist/namespace-CxrOLeeP.mjs +1 -0
- package/dist/{namespace-g_mbIZq_.d.mts → namespace-DSlfFhB1.d.mts} +410 -26
- package/dist/{namespace-Dkod-w11.d.mts → namespace-DwZwGXgF.d.mts} +4 -0
- package/dist/{namespace-BXvD9t0I.d.mts → namespace-Rge9mMI-.d.mts} +27 -19
- package/dist/{native-session-supervisor-DRx0MX-d.mjs → native-session-supervisor-fZYPUk0-.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{orchestrator-shared-BHCv-l2O.d.mts → orchestrator-shared-B-KRW1Z0.d.mts} +1 -0
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +1 -0
- package/dist/ownership-memory-handler-Bblp93YC.mjs +1 -0
- package/dist/{package-DWMxGfzK.d.mts → package-Bf3hyuzs.d.mts} +234 -84
- package/dist/package-CBdvjyyZ.mjs +1 -0
- package/dist/package-CddkNbZI.mjs +1 -0
- package/dist/package-ypz4rKvn.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/{profile-BTAI31Nt.mjs → profile-BtznZlq3.mjs} +1 -1
- package/dist/{provider-context-Dq53Cgzz.mjs → provider-context-BrLZYnDW.mjs} +1 -1
- package/dist/{provider-context-PZIQWcqQ.mjs → provider-context-Dh-VOOYF.mjs} +1 -1
- package/dist/reaction-BS0k4eNN.mjs +1 -0
- package/dist/{registry-wfF2uTty.mjs → registry-BO_bOoky.mjs} +2 -2
- package/dist/{resolved-DZgqql2Z.mjs → resolved-DMByz1_2.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/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 +4 -4
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-Dd-e89MO.mjs → schema-DBG7Jq5_.mjs} +1 -1
- package/dist/{schema-DKUb4rkr.d.mts → schema-DKTzriEY.d.mts} +519 -9
- package/dist/{schemas-B5eUUi6u.d.mts → schemas-9qeeHGBf.d.mts} +8 -8
- package/dist/{schemas-CRB2O5zo.mjs → schemas-BqD8LlQw.mjs} +1 -1
- package/dist/{schemas-DaHQzpgm.mjs → schemas-CsjN7cmM.mjs} +1 -1
- package/dist/schemas-DSkBOdx_.mjs +1 -0
- package/dist/schemas-DplrlAyR.mjs +1 -0
- package/dist/{schemas-DuIlOWR3.d.mts → schemas-VbB1FTxx.d.mts} +4 -0
- package/dist/scoped-bus-ClwTWqX8.mjs +1 -0
- package/dist/{selection-BNwTKEVT.mjs → selection-7Ku8DBnh.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +4 -4
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/automation-trigger/index.d.mts +943 -0
- package/dist/services/automation-trigger/index.mjs +1 -0
- 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/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +449 -83
- 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 +3 -3
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +2 -2
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +10 -10
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +2 -2
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +12 -4
- package/dist/services/session/testing/index.mjs +36 -4
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BMy2kRpX.mjs +90 -0
- package/dist/session-Cipx34j6.mjs +1 -0
- package/dist/{session-lineage-B_JW5LpF.d.mts → session-lineage-B_PVa1XN.d.mts} +1 -1
- package/dist/shared-BFVuCDPx.mjs +1 -0
- package/dist/{skill-BR6rkfLe.mjs → skill-C1D51nhh.mjs} +1 -1
- package/dist/{src-DD0v-nIj.mjs → src-xbmzokNe.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 +42 -2
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/tool-approval-service-BVgN9Q1r.mjs +1 -0
- package/dist/{tools-PdG9fO1M.mjs → tools-DxwHox1a.mjs} +1 -1
- package/dist/{transition-DwqL8W9V.d.mts → transition-BF1nevaC.d.mts} +7 -34
- package/dist/{types-DMLDHFR9.d.mts → types-BNjPhj_a.d.mts} +1 -1
- package/dist/{types-DR60yv6W.d.mts → types-CijlWGwb.d.mts} +1575 -157
- package/dist/types-ClpEaoAm.d.mts +2917 -0
- package/dist/ui-hooks/index.d.mts +29 -2
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +2 -2
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.d.mts +1 -1
- package/dist/utils/index.d.mts +77 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/{version-CoCeMxDT.mjs → version-BfNnVAGr.mjs} +1 -1
- package/dist/{view-builder-qp51cMWh.d.mts → view-builder-Bc9dx6jF.d.mts} +1 -1
- package/dist/{visibility-qhGWmpSJ.mjs → visibility-Dl1o2I01.mjs} +1 -1
- package/dist/{worker-node-Bl9_vqYi.mjs → worker-node-BDOYPEpi.mjs} +1 -1
- package/dist/{worker-node-DZTuT1DS.mjs → worker-node-DJ41Tr-F.mjs} +1 -1
- package/dist/workflow-Hzc5jlnV.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +161 -442
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +2 -2
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +27 -27
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-engine/workflow-trigger-binding-consumer.d.mts +46 -0
- package/dist/workflow-engine/workflow-trigger-binding-consumer.mjs +1 -0
- package/dist/{workflow-transitions-DSc45ixc.mjs → workflow-transitions-DM0fN_eP.mjs} +1 -1
- package/dist/workflow-worker-DARC7UZl.mjs +1 -0
- package/dist/zod-json-schema-BAGAFfCN.mjs +1 -0
- package/package.json +29 -1
- package/dist/adapter-D5c5LrPN.mjs +0 -1
- package/dist/artifact-DGiXqb11.mjs +0 -1
- package/dist/attach-error-C3tngg6J.mjs +0 -1
- package/dist/authority-state-bootstrap-GPL_tqaT.mjs +0 -1
- package/dist/await-trigger-I3lrepb8.mjs +0 -1
- package/dist/bus-B6SAjgOC.mjs +0 -2
- package/dist/bus-C2l3K74u.mjs +0 -1
- package/dist/extension-DCA4pYrY.mjs +0 -1
- package/dist/extension-hjOPs10e.mjs +0 -1
- package/dist/framework-packages-C3RWfJDk.mjs +0 -1
- package/dist/handlers-CfnLyLfE.mjs +0 -57
- package/dist/load-extensions-D0DfjYLC.mjs +0 -1
- package/dist/model-BGgVmRnN.mjs +0 -1
- package/dist/namespace-DJfUADSV.mjs +0 -1
- package/dist/orchestrator-shared-BxmHCPvx.mjs +0 -1
- package/dist/package-CNUPPcU1.mjs +0 -7
- package/dist/package-Dft_RItb.mjs +0 -1
- package/dist/schemas-Cm09dXL4.mjs +0 -1
- package/dist/scoped-bus-C9BdNwfM.mjs +0 -1
- package/dist/session-BOGCd18q.mjs +0 -1
- package/dist/session-BTFiDoGz.mjs +0 -76
- package/dist/shared-BQ0CHIVy.mjs +0 -1
- package/dist/tool-approval-service-kBA0fRzm.mjs +0 -1
- package/dist/types-CJ_QZ1yW.d.mts +0 -1487
- package/dist/workflow-BfDbgtIQ.mjs +0 -1
- package/dist/workflow-worker-BN9XPxQO.mjs +0 -1
- package/dist/{adapter-auth-runtime-DO-FVTXg.mjs → adapter-auth-runtime-D9Lnl7cc.mjs} +0 -0
- package/dist/{adapter-binding-DQchUtrK.d.mts → adapter-binding-B-FBoCys.d.mts} +0 -0
- package/dist/{attempt-record-codec-CqO1_XnE.mjs → attempt-record-codec-DaFLKR5C.mjs} +0 -0
- package/dist/{base-orchestrator-BilsQNW1.d.mts → base-orchestrator-D9u4NyiM.d.mts} +0 -0
- package/dist/{capability-service-BqiLlRGA.mjs → capability-service-CJHNkjvm.mjs} +0 -0
- package/dist/{client-B--e2qcU.d.mts → client-4ihewPUm.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-taewmKTY.mjs → client-binary-version-verifier-DJajc_Ff.mjs} +0 -0
- package/dist/{client-binary-version-verifier-CgjM_vGF.d.mts → client-binary-version-verifier-jDDZ64Ah.d.mts} +0 -0
- package/dist/{clients-namespace-DfxjG2ZP.d.mts → clients-namespace-DFWuUawf.d.mts} +0 -0
- package/dist/{config-namespace-BCqvufbD.d.mts → config-namespace-D1kyZj0B.d.mts} +0 -0
- package/dist/{create-static-mount-bbQhTt6W.mjs → create-static-mount-9tnGpIeK.mjs} +0 -0
- package/dist/{cross-spawn-B57KZuns.mjs → cross-spawn-BIgueAqr.mjs} +0 -0
- package/dist/{cursor-storage-DIFK_9hg.mjs → cursor-storage-ROWfiTh1.mjs} +0 -0
- package/dist/{definition-gnKgXU91.d.mts → definition-DB-kKc0d.d.mts} +0 -0
- package/dist/{definitions-xrrY0wgz.mjs → definitions-CF6YmEhL.mjs} +0 -0
- package/dist/{descriptor-to-package-DvF08krT.mjs → descriptor-to-package-BecVCopf.mjs} +0 -0
- package/dist/{drizzle-z_0SiGY8.mjs → drizzle-CPv3vdTE.mjs} +0 -0
- package/dist/{esm-CltRnX8_.mjs → esm-CBFWM8u_.mjs} +0 -0
- package/dist/{event-CmVjR6Ib.mjs → event-DR8U9Efx.mjs} +0 -0
- package/dist/{facet-BCI00njh.mjs → facet-DVsW12iF.mjs} +0 -0
- package/dist/{filesystem-service-CQ9yVkSz.d.mts → filesystem-service-Cm2RHKBa.d.mts} +0 -0
- package/dist/{handler-Cbv9FqDO.mjs → handler-Bqlk-6BY.mjs} +0 -0
- package/dist/{host-Caq6ZfSJ.mjs → host-k5yoyKHg.mjs} +0 -0
- package/dist/{identity-D6guMtmi.mjs → identity-DC3Pk0ps.mjs} +0 -0
- package/dist/{index-dtsLKOID.d.mts → index-42UdYStR.d.mts} +0 -0
- package/dist/{index-DR40QWlw.d.mts → index-BJAB-BW_.d.mts} +0 -0
- package/dist/{index-Dm1nUxCF.d.mts → index-BJMezANn.d.mts} +0 -0
- package/dist/{index-Cv-o5Krs.d.mts → index-BRCrFirq.d.mts} +0 -0
- package/dist/{index-BVRQEpAg.d.mts → index-BRzHs7Bx.d.mts} +6 -6
- /package/dist/{index-vA--0lOM.d.mts → index-BVcQcphK.d.mts} +0 -0
- /package/dist/{index-ye0oklfU.d.mts → index-BcvqDfcN.d.mts} +0 -0
- /package/dist/{index-CGZQVTid.d.mts → index-BeENojSx2.d.mts} +0 -0
- /package/dist/{index-DjgLchuQ.d.mts → index-Beo_Ik8-.d.mts} +0 -0
- /package/dist/{index-sS6KUlrx.d.mts → index-BgGe9WZz.d.mts} +0 -0
- /package/dist/{index-CWHfOz6d.d.mts → index-CK3f0bAL.d.mts} +0 -0
- /package/dist/{index-DZunhZec.d.mts → index-CQuRTeRa.d.mts} +0 -0
- /package/dist/{index-jTaAHsul.d.mts → index-CRmE88hi.d.mts} +0 -0
- /package/dist/{index-CjdRdsd0.d.mts → index-CvW9_SzR.d.mts} +0 -0
- /package/dist/{index-ByKi34v5.d.mts → index-CxSSdIZz.d.mts} +0 -0
- /package/dist/{index-vcSj12YQ.d.mts → index-E4SET1AA.d.mts} +0 -0
- /package/dist/{index-DN4NOCqN2.d.mts → index-Ol9RBB0W2.d.mts} +0 -0
- /package/dist/{index-BIdsFcQs2.d.mts → index-aoxdnhJ42.d.mts} +0 -0
- /package/dist/{index-SsBHjUqA.d.mts → index-nydhGvXa.d.mts} +0 -0
- /package/dist/{jsonl-transport-bQl3JwIu.mjs → jsonl-transport-Bp_6pB2a.mjs} +0 -0
- /package/dist/{lib-DOBXZmYX.mjs → lib-Bwdd2m81.mjs} +0 -0
- /package/dist/{model-registry-CmgcPDH3.mjs → model-registry-Y854mUml.mjs} +0 -0
- /package/dist/{model-registry-xyBKSye-.mjs → model-registry-yURX738J.mjs} +0 -0
- /package/dist/{modes-BheyN7SS.mjs → modes-DmUsjHdV.mjs} +0 -0
- /package/dist/{namespace-HO2J9sO8.mjs → namespace-B9FEGuEu.mjs} +0 -0
- /package/dist/{namespace-jDhZjw-i.d.mts → namespace-Bi3CmYQy.d.mts} +0 -0
- /package/dist/{namespace-GPA7zots.d.mts → namespace-BusZERU8.d.mts} +0 -0
- /package/dist/{namespace-BOkKoq34.d.mts → namespace-ByP1Iipi.d.mts} +0 -0
- /package/dist/{namespace-YytVKIgI.d.mts → namespace-C1D77w7U.d.mts} +0 -0
- /package/dist/{namespace-CErHuXtb.d.mts → namespace-C6CVEGH8.d.mts} +0 -0
- /package/dist/{namespace-C-9si-fV.mjs → namespace-CfIW0hpQ.mjs} +0 -0
- /package/dist/{namespace-YxU1xf-K.mjs → namespace-CkBbNFSU.mjs} +0 -0
- /package/dist/{namespace-DWCEo-9M.d.mts → namespace-DX1Ec15L.d.mts} +0 -0
- /package/dist/{namespace-CWGKCNZm.mjs → namespace-DbNWsPFY.mjs} +0 -0
- /package/dist/{namespace-Cv1RFP7n.d.mts → namespace-Dgg0uoe6.d.mts} +0 -0
- /package/dist/{namespace-tGRAod3o.d.mts → namespace-s2y_NFKf.d.mts} +0 -0
- /package/dist/{namespace-Blp4c8GK.d.mts → namespace-yREpGJgG.d.mts} +0 -0
- /package/dist/{out-CvjtANXN.mjs → out-DrhwCgqM.mjs} +0 -0
- /package/dist/{packages-DtEEP0Vt.mjs → packages-FBv3fAOR.mjs} +0 -0
- /package/dist/{packages-BZ6pzFIq.d.mts → packages-N3-2Kl-Y.d.mts} +0 -0
- /package/dist/{platform-Bv8llU9c.mjs → platform-BrsMv_S3.mjs} +0 -0
- /package/dist/{provider-operation-Cxoe2SUr.d.mts → provider-operation-DJ_TLZFf.d.mts} +0 -0
- /package/dist/{providers-Co5UszRH.mjs → providers-CCcn4Ndp.mjs} +0 -0
- /package/dist/{providers-namespace-DjFkmvBR.d.mts → providers-namespace-DeJBh6MP.d.mts} +0 -0
- /package/dist/{quick-lru-CrOpWwrf.mjs → quick-lru-uwB0hP-y.mjs} +0 -0
- /package/dist/{schema-introspection-DgWQCpwx.mjs → schema-introspection-C1wvklj9.mjs} +0 -0
- /package/dist/{schema-Db-y-09L.mjs → schema-jIapW8Kb.mjs} +0 -0
- /package/dist/{schemas-CR8hSqTy.d.mts → schemas-B7zo7Zcx.d.mts} +0 -0
- /package/dist/{schemas-CqRm0i9a.mjs → schemas-BNdiVBWh.mjs} +0 -0
- /package/dist/{schemas-B1NWNASS.d.mts → schemas-C-Bm6Oac.d.mts} +0 -0
- /package/dist/{schemas-BO7uOum6.d.mts → schemas-CD0wOQxx.d.mts} +0 -0
- /package/dist/{schemas-N6x2z7Lf.d.mts → schemas-CeUI2i5j.d.mts} +0 -0
- /package/dist/{schemas-CwbYk_kZ.d.mts → schemas-Cg-Kwp8c.d.mts} +0 -0
- /package/dist/{schemas-BtZqovRH.d.mts → schemas-Cv3rR9Sz.d.mts} +0 -0
- /package/dist/{schemas-tDf_WiC8.mjs → schemas-CvHFbzdy.mjs} +0 -0
- /package/dist/{schemas-BsVYZviy.d.mts → schemas-DZH9lpxs.d.mts} +0 -0
- /package/dist/{schemas-BGExwp3j.mjs → schemas-DgwEVUt-.mjs} +0 -0
- /package/dist/{schemas-Bfxskx_2.mjs → schemas-mLpOfMoN.mjs} +0 -0
- /package/dist/{schemas-CQyRBqD6.d.mts → schemas-qA279_j_.d.mts} +0 -0
- /package/dist/{schemas-miYxK_Z1.d.mts → schemas-sMoRnBdZ.d.mts} +0 -0
- /package/dist/{semver-DlM8znk4.mjs → semver-DTXuyLcK.mjs} +0 -0
- /package/dist/{server-lifecycle-Dsq56aqC.d.mts → server-lifecycle-C_8iKgat.d.mts} +0 -0
- /package/dist/{server-lifecycle-kmQ5PUDv.mjs → server-lifecycle-DKx_fWlq.mjs} +0 -0
- /package/dist/{shared-schemas-DXwyMCwZ.mjs → shared-schemas-aahW97QW.mjs} +0 -0
- /package/dist/{src-CCu8TwL6.mjs → src-DHqsl5Pg.mjs} +0 -0
- /package/dist/{storage-namespace-BSrv0vXR.mjs → storage-namespace-Dz2jsssp.mjs} +0 -0
- /package/dist/{storage-namespace-dfywhXR3.d.mts → storage-namespace-Tf3P5yJ5.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BvlX0QV_.d.mts → storage-namespace-definition-BsnYAPot.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CkMKt7-I.mjs → storage-namespace-definition-CDef0E20.mjs} +0 -0
- /package/dist/{supports-color-DUugCQsK.mjs → supports-color-i7OTnKcZ.mjs} +0 -0
- /package/dist/{telemetry-Pr3oP2rk.mjs → telemetry-BvCBUjFg.mjs} +0 -0
- /package/dist/{timeout-DWDhddRJ.mjs → timeout-B0nYjLc8.mjs} +0 -0
- /package/dist/{tray-menu-service-BBLa-Rcv.mjs → tray-menu-service-Deo6yyP8.mjs} +0 -0
- /package/dist/{types-BrcjaNPZ.d.mts → types-CNS55jvt.d.mts} +0 -0
- /package/dist/{types-b54n1o57.d.mts → types-Ce6LL25v.d.mts} +0 -0
- /package/dist/{types-DHmPneIO.d.mts → types-xCdGghb2.d.mts} +0 -0
- /package/dist/{ui-config-CyCdlns_.mjs → ui-config-BIyGzMNL.mjs} +0 -0
- /package/dist/{variant-krjlTdJt.mjs → variant-B4uWdxW7.mjs} +0 -0
- /package/dist/{window-registry-BDnZLPVx.d.mts → window-registry-BLtVx3Iw.d.mts} +0 -0
- /package/dist/{window-registry-I-imZHV_.mjs → window-registry-CoBJq3u4.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as MessageBlock$1 } from "./index-
|
|
1
|
+
import { a as JsonValue$1 } from "./json-value-C1RGgS0a.mjs";
|
|
2
|
+
import { s as MessageBlock$1 } from "./index-CSN_0sCo.mjs";
|
|
3
3
|
import * as _$zod from "zod";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -65,14 +65,32 @@ type SessionCreateBase = z.infer<typeof SessionCreateBaseSchema>;
|
|
|
65
65
|
//#region core/contracts/src/session/schemas/agent.d.ts
|
|
66
66
|
/**
|
|
67
67
|
* Agent lifecycle status.
|
|
68
|
+
* - 'starting': The agent row exists and its start is in flight; no connector is
|
|
69
|
+
* confirmed yet. Distinct from `'idle'` because a caller that persists the row
|
|
70
|
+
* before dispatching cannot claim connector readiness, and `'idle'` already
|
|
71
|
+
* means exactly that — a consumer seeing `'idle'` will use the agent without
|
|
72
|
+
* rehydrating it.
|
|
68
73
|
* - 'idle': Connector ready, no active turn
|
|
69
74
|
* - 'active': Turn in progress
|
|
70
75
|
* - 'dead': Connector lost, awaiting rehydration
|
|
71
76
|
* - 'disposed': Agent replaced (cross-adapter switch) — retained for message metadata
|
|
77
|
+
*
|
|
78
|
+
* **`'disposed'` is terminal.** Storage refuses every later transition out of it,
|
|
79
|
+
* on both the compare-and-swap seam (`storage:agent.updateStatus`) and the
|
|
80
|
+
* whole-record one (`storage:agent.set`, whose conflict path keeps the stored
|
|
81
|
+
* value). Ownership authority is a predicate over this column, so a revived
|
|
82
|
+
* status would let a removed agent reserve and settle again.
|
|
83
|
+
*
|
|
84
|
+
* **Status is never liveness evidence.** Whether a `'starting'` row belongs to an
|
|
85
|
+
* attempt that is still running, or to a process that died mid-start, is decided
|
|
86
|
+
* by the starting runtime's own in-flight registry and by a compare-and-swap on
|
|
87
|
+
* this column (`storage:agent.updateStatus`'s `expectedStatus`) — never by
|
|
88
|
+
* reading the status alone.
|
|
72
89
|
*/
|
|
73
90
|
declare const AgentStatusSchema$1: z.ZodEnum<{
|
|
74
91
|
idle: "idle";
|
|
75
92
|
active: "active";
|
|
93
|
+
starting: "starting";
|
|
76
94
|
dead: "dead";
|
|
77
95
|
disposed: "disposed";
|
|
78
96
|
}>;
|
|
@@ -89,6 +107,14 @@ declare const MakaioSessionAgentSchema$1: z.ZodObject<{
|
|
|
89
107
|
adapterName: z.ZodString;
|
|
90
108
|
sessionId: z.ZodString;
|
|
91
109
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
110
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
confirmed: "confirmed";
|
|
113
|
+
moved: "moved";
|
|
114
|
+
inherited: "inherited";
|
|
115
|
+
}>>;
|
|
116
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
currencyFence: z.ZodOptional<z.ZodNumber>;
|
|
92
118
|
model: z.ZodOptional<z.ZodString>;
|
|
93
119
|
cwd: z.ZodOptional<z.ZodString>;
|
|
94
120
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -109,6 +135,7 @@ declare const MakaioSessionAgentSchema$1: z.ZodObject<{
|
|
|
109
135
|
status: z.ZodEnum<{
|
|
110
136
|
idle: "idle";
|
|
111
137
|
active: "active";
|
|
138
|
+
starting: "starting";
|
|
112
139
|
dead: "dead";
|
|
113
140
|
disposed: "disposed";
|
|
114
141
|
}>;
|
|
@@ -136,6 +163,14 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
136
163
|
adapterName: z.ZodString;
|
|
137
164
|
sessionId: z.ZodString;
|
|
138
165
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
166
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
168
|
+
confirmed: "confirmed";
|
|
169
|
+
moved: "moved";
|
|
170
|
+
inherited: "inherited";
|
|
171
|
+
}>>;
|
|
172
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
currencyFence: z.ZodOptional<z.ZodNumber>;
|
|
139
174
|
model: z.ZodOptional<z.ZodString>;
|
|
140
175
|
cwd: z.ZodOptional<z.ZodString>;
|
|
141
176
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -156,6 +191,7 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
156
191
|
status: z.ZodEnum<{
|
|
157
192
|
idle: "idle";
|
|
158
193
|
active: "active";
|
|
194
|
+
starting: "starting";
|
|
159
195
|
dead: "dead";
|
|
160
196
|
disposed: "disposed";
|
|
161
197
|
}>;
|
|
@@ -163,8 +199,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
163
199
|
lastActivityAt: z.ZodNumber;
|
|
164
200
|
}, z.core.$strip>>;
|
|
165
201
|
status: z.ZodEnum<{
|
|
166
|
-
discovered: "discovered";
|
|
167
202
|
closed: "closed";
|
|
203
|
+
discovered: "discovered";
|
|
168
204
|
active: "active";
|
|
169
205
|
archived: "archived";
|
|
170
206
|
}>;
|
|
@@ -187,6 +223,12 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
187
223
|
}>>;
|
|
188
224
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
189
225
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
226
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
confirmed: "confirmed";
|
|
229
|
+
moved: "moved";
|
|
230
|
+
inherited: "inherited";
|
|
231
|
+
}>>;
|
|
190
232
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
191
233
|
clientId: z.ZodOptional<z.ZodString>;
|
|
192
234
|
clientAccountId: z.ZodOptional<z.ZodString>;
|
|
@@ -264,6 +306,14 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
264
306
|
adapterName: z.ZodString;
|
|
265
307
|
sessionId: z.ZodString;
|
|
266
308
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
309
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
310
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
311
|
+
confirmed: "confirmed";
|
|
312
|
+
moved: "moved";
|
|
313
|
+
inherited: "inherited";
|
|
314
|
+
}>>;
|
|
315
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
currencyFence: z.ZodOptional<z.ZodNumber>;
|
|
267
317
|
model: z.ZodOptional<z.ZodString>;
|
|
268
318
|
cwd: z.ZodOptional<z.ZodString>;
|
|
269
319
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -284,6 +334,7 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
284
334
|
status: z.ZodEnum<{
|
|
285
335
|
idle: "idle";
|
|
286
336
|
active: "active";
|
|
337
|
+
starting: "starting";
|
|
287
338
|
dead: "dead";
|
|
288
339
|
disposed: "disposed";
|
|
289
340
|
}>;
|
|
@@ -291,8 +342,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
291
342
|
lastActivityAt: z.ZodNumber;
|
|
292
343
|
}, z.core.$strip>>;
|
|
293
344
|
status: z.ZodEnum<{
|
|
294
|
-
discovered: "discovered";
|
|
295
345
|
closed: "closed";
|
|
346
|
+
discovered: "discovered";
|
|
296
347
|
active: "active";
|
|
297
348
|
archived: "archived";
|
|
298
349
|
}>;
|
|
@@ -315,6 +366,12 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
315
366
|
}>>;
|
|
316
367
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
317
368
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
369
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
370
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
371
|
+
confirmed: "confirmed";
|
|
372
|
+
moved: "moved";
|
|
373
|
+
inherited: "inherited";
|
|
374
|
+
}>>;
|
|
318
375
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
319
376
|
clientId: z.ZodOptional<z.ZodString>;
|
|
320
377
|
clientAccountId: z.ZodOptional<z.ZodString>;
|
|
@@ -466,6 +523,14 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
466
523
|
adapterName: z.ZodString;
|
|
467
524
|
sessionId: z.ZodString;
|
|
468
525
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
526
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
527
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
528
|
+
confirmed: "confirmed";
|
|
529
|
+
moved: "moved";
|
|
530
|
+
inherited: "inherited";
|
|
531
|
+
}>>;
|
|
532
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
currencyFence: z.ZodOptional<z.ZodNumber>;
|
|
469
534
|
model: z.ZodOptional<z.ZodString>;
|
|
470
535
|
cwd: z.ZodOptional<z.ZodString>;
|
|
471
536
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -486,6 +551,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
486
551
|
status: z.ZodEnum<{
|
|
487
552
|
idle: "idle";
|
|
488
553
|
active: "active";
|
|
554
|
+
starting: "starting";
|
|
489
555
|
dead: "dead";
|
|
490
556
|
disposed: "disposed";
|
|
491
557
|
}>;
|
|
@@ -493,8 +559,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
493
559
|
lastActivityAt: z.ZodNumber;
|
|
494
560
|
}, z.core.$strip>>;
|
|
495
561
|
status: z.ZodEnum<{
|
|
496
|
-
discovered: "discovered";
|
|
497
562
|
closed: "closed";
|
|
563
|
+
discovered: "discovered";
|
|
498
564
|
active: "active";
|
|
499
565
|
archived: "archived";
|
|
500
566
|
}>;
|
|
@@ -517,6 +583,12 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
517
583
|
}>>;
|
|
518
584
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
519
585
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
586
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
587
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
588
|
+
confirmed: "confirmed";
|
|
589
|
+
moved: "moved";
|
|
590
|
+
inherited: "inherited";
|
|
591
|
+
}>>;
|
|
520
592
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
521
593
|
clientId: z.ZodOptional<z.ZodString>;
|
|
522
594
|
clientAccountId: z.ZodOptional<z.ZodString>;
|
|
@@ -579,6 +651,14 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
579
651
|
adapterName: z.ZodString;
|
|
580
652
|
sessionId: z.ZodString;
|
|
581
653
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
654
|
+
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
655
|
+
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
656
|
+
confirmed: "confirmed";
|
|
657
|
+
moved: "moved";
|
|
658
|
+
inherited: "inherited";
|
|
659
|
+
}>>;
|
|
660
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
661
|
+
currencyFence: z.ZodOptional<z.ZodNumber>;
|
|
582
662
|
model: z.ZodOptional<z.ZodString>;
|
|
583
663
|
cwd: z.ZodOptional<z.ZodString>;
|
|
584
664
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -599,6 +679,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
599
679
|
status: z.ZodEnum<{
|
|
600
680
|
idle: "idle";
|
|
601
681
|
active: "active";
|
|
682
|
+
starting: "starting";
|
|
602
683
|
dead: "dead";
|
|
603
684
|
disposed: "disposed";
|
|
604
685
|
}>;
|
|
@@ -1038,8 +1119,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
1038
1119
|
type: z.ZodLiteral<"locality.degraded">;
|
|
1039
1120
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1040
1121
|
intent: z.ZodEnum<{
|
|
1041
|
-
fork: "fork";
|
|
1042
1122
|
resume: "resume";
|
|
1123
|
+
fork: "fork";
|
|
1043
1124
|
}>;
|
|
1044
1125
|
verdictKind: z.ZodLiteral<"degrade">;
|
|
1045
1126
|
reason: z.ZodEnum<{
|
|
@@ -1057,14 +1138,15 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
1057
1138
|
"native-attempt-failed": "native-attempt-failed";
|
|
1058
1139
|
"agent-already-started": "agent-already-started";
|
|
1059
1140
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
1141
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
1060
1142
|
}>;
|
|
1061
1143
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1062
1144
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
1063
1145
|
turnId: z.ZodOptional<z.ZodString>;
|
|
1064
1146
|
}, z.core.$strip>, z.ZodObject<{
|
|
1065
1147
|
intent: z.ZodEnum<{
|
|
1066
|
-
fork: "fork";
|
|
1067
1148
|
resume: "resume";
|
|
1149
|
+
fork: "fork";
|
|
1068
1150
|
}>;
|
|
1069
1151
|
verdictKind: z.ZodLiteral<"foreign">;
|
|
1070
1152
|
foreignMachineId: z.ZodString;
|
|
@@ -1111,7 +1193,7 @@ declare const AgentRoleSchema: z.ZodEnum<{
|
|
|
1111
1193
|
lead: "lead";
|
|
1112
1194
|
member: "member";
|
|
1113
1195
|
}>;
|
|
1114
|
-
type AgentRole = z.infer<typeof AgentRoleSchema>;
|
|
1196
|
+
type AgentRole$1 = z.infer<typeof AgentRoleSchema>;
|
|
1115
1197
|
/**
|
|
1116
1198
|
* Type of branch a session represents.
|
|
1117
1199
|
* - fork: Independent exploration (navigates away)
|
|
@@ -1133,6 +1215,30 @@ declare const BranchKindSchema: z.ZodEnum<{
|
|
|
1133
1215
|
aside: "aside";
|
|
1134
1216
|
}>;
|
|
1135
1217
|
type BranchKind$1 = z.infer<typeof BranchKindSchema>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Currency state of the session row's provider-native resume identity.
|
|
1220
|
+
*
|
|
1221
|
+
* The sessions row carries two distinct provider-session concepts:
|
|
1222
|
+
* `adapterSessionId` is the **immutable origin identity** (import key,
|
|
1223
|
+
* write-once), while `currentAdapterSessionId` plus this state form the
|
|
1224
|
+
* **resume currency** — which provider session, if any, a resume attach may
|
|
1225
|
+
* legitimately target right now.
|
|
1226
|
+
*
|
|
1227
|
+
* - `inherited`: the provider session has never moved, so the origin
|
|
1228
|
+
* `adapterSessionId` still is the valid currency. Default for pre-existing
|
|
1229
|
+
* rows and for imports.
|
|
1230
|
+
* - `moved`: the provider session moved but the provider has not confirmed a
|
|
1231
|
+
* replacement yet. Neither the origin ID nor `currentAdapterSessionId` may
|
|
1232
|
+
* be resumed — callers degrade to fresh-with-history.
|
|
1233
|
+
* - `confirmed`: `currentAdapterSessionId` is the provider-confirmed currency
|
|
1234
|
+
* and supersedes the origin ID for resume purposes.
|
|
1235
|
+
*/
|
|
1236
|
+
declare const AdapterSessionCurrencyStateSchema: z.ZodEnum<{
|
|
1237
|
+
confirmed: "confirmed";
|
|
1238
|
+
moved: "moved";
|
|
1239
|
+
inherited: "inherited";
|
|
1240
|
+
}>;
|
|
1241
|
+
type AdapterSessionCurrencyState = z.infer<typeof AdapterSessionCurrencyStateSchema>;
|
|
1136
1242
|
/**
|
|
1137
1243
|
* Import-specific lifecycle status.
|
|
1138
1244
|
* - 'discovered': Found in logs, not fully imported yet
|
|
@@ -1573,6 +1679,7 @@ declare const AgentAttachResolvedRequestSchema: z.ZodObject<{
|
|
|
1573
1679
|
kind: z.ZodLiteral<"adapter">;
|
|
1574
1680
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
1575
1681
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
1576
1683
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1577
1684
|
state: z.ZodLiteral<"resolved">;
|
|
1578
1685
|
providerConfigId: z.ZodString;
|
|
@@ -1805,7 +1912,10 @@ declare const OrchestratorSchemas: {
|
|
|
1805
1912
|
*
|
|
1806
1913
|
* Single entry point for all user messages. Handles:
|
|
1807
1914
|
* - Creating session if sessionId does not exist
|
|
1808
|
-
* - Auto-attaching agent via adapter.startAgent if session has no agents
|
|
1915
|
+
* - Auto-attaching agent via adapter.startAgent if session has no agents —
|
|
1916
|
+
* only for the default send (no `agentIds`). A send that states its targets,
|
|
1917
|
+
* whether named ids or `'all'`, is refused against a session that has none
|
|
1918
|
+
* and leaves no agent behind
|
|
1809
1919
|
* - Turn lifecycle (creates turn if none active)
|
|
1810
1920
|
* - Routing to targeted agents
|
|
1811
1921
|
*
|
|
@@ -2068,6 +2178,7 @@ declare const OrchestratorSchemas: {
|
|
|
2068
2178
|
kind: z.ZodLiteral<"adapter">;
|
|
2069
2179
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
2070
2180
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
2181
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
2071
2182
|
}, z.core.$loose>, z.ZodObject<{
|
|
2072
2183
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
2073
2184
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2438,6 +2549,7 @@ declare const OrchestratorSchemas: {
|
|
|
2438
2549
|
"native-attempt-failed": "native-attempt-failed";
|
|
2439
2550
|
"agent-already-started": "agent-already-started";
|
|
2440
2551
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
2552
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
2441
2553
|
}>;
|
|
2442
2554
|
}, z.core.$strip>, z.ZodObject<{
|
|
2443
2555
|
kind: z.ZodLiteral<"foreign">;
|
|
@@ -2473,6 +2585,7 @@ declare const OrchestratorSchemas: {
|
|
|
2473
2585
|
messageId: z.ZodString;
|
|
2474
2586
|
turnId: z.ZodString;
|
|
2475
2587
|
sessionId: z.ZodString;
|
|
2588
|
+
deferredAgentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2476
2589
|
}, z.core.$strip>;
|
|
2477
2590
|
};
|
|
2478
2591
|
/**
|
|
@@ -2511,8 +2624,7 @@ declare const OrchestratorSchemas: {
|
|
|
2511
2624
|
'agent.attach': {
|
|
2512
2625
|
request: z.ZodObject<{
|
|
2513
2626
|
sessionId: z.ZodString;
|
|
2514
|
-
agent: z.ZodObject<{
|
|
2515
|
-
kind: z.ZodString;
|
|
2627
|
+
agent: z.ZodUnion<readonly [z.ZodObject<{
|
|
2516
2628
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
2517
2629
|
model: z.ZodOptional<z.ZodString>;
|
|
2518
2630
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2613,7 +2725,215 @@ declare const OrchestratorSchemas: {
|
|
|
2613
2725
|
}, z.core.$strip>>;
|
|
2614
2726
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2615
2727
|
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2616
|
-
|
|
2728
|
+
kind: z.ZodLiteral<"adapter">;
|
|
2729
|
+
adapterName: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2733
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2735
|
+
none: "none";
|
|
2736
|
+
low: "low";
|
|
2737
|
+
medium: "medium";
|
|
2738
|
+
high: "high";
|
|
2739
|
+
"extra-high": "extra-high";
|
|
2740
|
+
}>>;
|
|
2741
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2742
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2743
|
+
mode: z.ZodLiteral<"append">;
|
|
2744
|
+
content: z.ZodString;
|
|
2745
|
+
}, z.core.$strip>]>>;
|
|
2746
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2747
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2748
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2749
|
+
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
2750
|
+
sessionId: z.ZodString;
|
|
2751
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
2752
|
+
name: z.ZodString;
|
|
2753
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2754
|
+
type: z.ZodLiteral<"stdio">;
|
|
2755
|
+
command: z.ZodString;
|
|
2756
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2757
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2758
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2760
|
+
url: z.ZodString;
|
|
2761
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2762
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2763
|
+
name: z.ZodString;
|
|
2764
|
+
permission_policy: z.ZodEnum<{
|
|
2765
|
+
always_allow: "always_allow";
|
|
2766
|
+
always_ask: "always_ask";
|
|
2767
|
+
always_deny: "always_deny";
|
|
2768
|
+
}>;
|
|
2769
|
+
}, z.core.$strip>>>;
|
|
2770
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2771
|
+
type: z.ZodLiteral<"sse">;
|
|
2772
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2773
|
+
url: z.ZodString;
|
|
2774
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2775
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2776
|
+
name: z.ZodString;
|
|
2777
|
+
permission_policy: z.ZodEnum<{
|
|
2778
|
+
always_allow: "always_allow";
|
|
2779
|
+
always_ask: "always_ask";
|
|
2780
|
+
always_deny: "always_deny";
|
|
2781
|
+
}>;
|
|
2782
|
+
}, z.core.$strip>>>;
|
|
2783
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2784
|
+
type: z.ZodLiteral<"http">;
|
|
2785
|
+
}, z.core.$strip>], "type">;
|
|
2786
|
+
exposureMode: z.ZodEnum<{
|
|
2787
|
+
direct: "direct";
|
|
2788
|
+
discovery: "discovery";
|
|
2789
|
+
}>;
|
|
2790
|
+
}, z.core.$strip>>;
|
|
2791
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
2792
|
+
fullName: z.ZodString;
|
|
2793
|
+
originalName: z.ZodString;
|
|
2794
|
+
serverName: z.ZodString;
|
|
2795
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2796
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2797
|
+
exposureMode: z.ZodEnum<{
|
|
2798
|
+
direct: "direct";
|
|
2799
|
+
discovery: "discovery";
|
|
2800
|
+
hidden: "hidden";
|
|
2801
|
+
}>;
|
|
2802
|
+
enabled: z.ZodBoolean;
|
|
2803
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2804
|
+
discovery: "discovery";
|
|
2805
|
+
toolset: "toolset";
|
|
2806
|
+
}>>;
|
|
2807
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2808
|
+
exposed: z.ZodBoolean;
|
|
2809
|
+
}, z.core.$strip>>;
|
|
2810
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
2811
|
+
fullName: z.ZodString;
|
|
2812
|
+
originalName: z.ZodString;
|
|
2813
|
+
serverName: z.ZodString;
|
|
2814
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2815
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2816
|
+
exposureMode: z.ZodEnum<{
|
|
2817
|
+
direct: "direct";
|
|
2818
|
+
discovery: "discovery";
|
|
2819
|
+
hidden: "hidden";
|
|
2820
|
+
}>;
|
|
2821
|
+
enabled: z.ZodBoolean;
|
|
2822
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2823
|
+
discovery: "discovery";
|
|
2824
|
+
toolset: "toolset";
|
|
2825
|
+
}>>;
|
|
2826
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2827
|
+
exposed: z.ZodBoolean;
|
|
2828
|
+
}, z.core.$strip>>;
|
|
2829
|
+
}, z.core.$strip>>;
|
|
2830
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2831
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2832
|
+
kind: z.ZodLiteral<"canonical-model">;
|
|
2833
|
+
model: z.ZodString;
|
|
2834
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2835
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
2836
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2837
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2838
|
+
none: "none";
|
|
2839
|
+
low: "low";
|
|
2840
|
+
medium: "medium";
|
|
2841
|
+
high: "high";
|
|
2842
|
+
"extra-high": "extra-high";
|
|
2843
|
+
}>>;
|
|
2844
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
2845
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2846
|
+
mode: z.ZodLiteral<"append">;
|
|
2847
|
+
content: z.ZodString;
|
|
2848
|
+
}, z.core.$strip>]>>;
|
|
2849
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2850
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2851
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2852
|
+
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
2853
|
+
sessionId: z.ZodString;
|
|
2854
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
2855
|
+
name: z.ZodString;
|
|
2856
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2857
|
+
type: z.ZodLiteral<"stdio">;
|
|
2858
|
+
command: z.ZodString;
|
|
2859
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2860
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2861
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2863
|
+
url: z.ZodString;
|
|
2864
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2865
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2866
|
+
name: z.ZodString;
|
|
2867
|
+
permission_policy: z.ZodEnum<{
|
|
2868
|
+
always_allow: "always_allow";
|
|
2869
|
+
always_ask: "always_ask";
|
|
2870
|
+
always_deny: "always_deny";
|
|
2871
|
+
}>;
|
|
2872
|
+
}, z.core.$strip>>>;
|
|
2873
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2874
|
+
type: z.ZodLiteral<"sse">;
|
|
2875
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2876
|
+
url: z.ZodString;
|
|
2877
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2878
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2879
|
+
name: z.ZodString;
|
|
2880
|
+
permission_policy: z.ZodEnum<{
|
|
2881
|
+
always_allow: "always_allow";
|
|
2882
|
+
always_ask: "always_ask";
|
|
2883
|
+
always_deny: "always_deny";
|
|
2884
|
+
}>;
|
|
2885
|
+
}, z.core.$strip>>>;
|
|
2886
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
2887
|
+
type: z.ZodLiteral<"http">;
|
|
2888
|
+
}, z.core.$strip>], "type">;
|
|
2889
|
+
exposureMode: z.ZodEnum<{
|
|
2890
|
+
direct: "direct";
|
|
2891
|
+
discovery: "discovery";
|
|
2892
|
+
}>;
|
|
2893
|
+
}, z.core.$strip>>;
|
|
2894
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
2895
|
+
fullName: z.ZodString;
|
|
2896
|
+
originalName: z.ZodString;
|
|
2897
|
+
serverName: z.ZodString;
|
|
2898
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2899
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2900
|
+
exposureMode: z.ZodEnum<{
|
|
2901
|
+
direct: "direct";
|
|
2902
|
+
discovery: "discovery";
|
|
2903
|
+
hidden: "hidden";
|
|
2904
|
+
}>;
|
|
2905
|
+
enabled: z.ZodBoolean;
|
|
2906
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2907
|
+
discovery: "discovery";
|
|
2908
|
+
toolset: "toolset";
|
|
2909
|
+
}>>;
|
|
2910
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2911
|
+
exposed: z.ZodBoolean;
|
|
2912
|
+
}, z.core.$strip>>;
|
|
2913
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
2914
|
+
fullName: z.ZodString;
|
|
2915
|
+
originalName: z.ZodString;
|
|
2916
|
+
serverName: z.ZodString;
|
|
2917
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2919
|
+
exposureMode: z.ZodEnum<{
|
|
2920
|
+
direct: "direct";
|
|
2921
|
+
discovery: "discovery";
|
|
2922
|
+
hidden: "hidden";
|
|
2923
|
+
}>;
|
|
2924
|
+
enabled: z.ZodBoolean;
|
|
2925
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2926
|
+
discovery: "discovery";
|
|
2927
|
+
toolset: "toolset";
|
|
2928
|
+
}>>;
|
|
2929
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2930
|
+
exposed: z.ZodBoolean;
|
|
2931
|
+
}, z.core.$strip>>;
|
|
2932
|
+
}, z.core.$strip>>;
|
|
2933
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2934
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2935
|
+
kind: z.ZodString;
|
|
2936
|
+
}, z.core.$loose>]>;
|
|
2617
2937
|
initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2618
2938
|
role: z.ZodOptional<z.ZodEnum<{
|
|
2619
2939
|
user: "user";
|
|
@@ -2878,6 +3198,7 @@ declare const OrchestratorSchemas: {
|
|
|
2878
3198
|
kind: z.ZodLiteral<"adapter">;
|
|
2879
3199
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
2880
3200
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
2881
3202
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2882
3203
|
state: z.ZodLiteral<"resolved">;
|
|
2883
3204
|
providerConfigId: z.ZodString;
|
|
@@ -3509,6 +3830,11 @@ type TurnCompleted = z.infer<(typeof OrchestratorSchemas)['turn.completed']>;
|
|
|
3509
3830
|
/**
|
|
3510
3831
|
* Closed set of reasons a session cannot be resumed or forked natively
|
|
3511
3832
|
* on the current machine.
|
|
3833
|
+
*
|
|
3834
|
+
* `adapter-session-moved` is the modeled degrade for a session whose provider
|
|
3835
|
+
* identity moved without provider confirmation (currency state `moved`):
|
|
3836
|
+
* neither the origin nor the current ID is valid resume currency, so the caller
|
|
3837
|
+
* must fall back to fresh-with-history.
|
|
3512
3838
|
*/
|
|
3513
3839
|
declare const NativeLocalityReasonSchema: z.ZodEnum<{
|
|
3514
3840
|
"adapter-unsupported": "adapter-unsupported";
|
|
@@ -3525,6 +3851,7 @@ declare const NativeLocalityReasonSchema: z.ZodEnum<{
|
|
|
3525
3851
|
"native-attempt-failed": "native-attempt-failed";
|
|
3526
3852
|
"agent-already-started": "agent-already-started";
|
|
3527
3853
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
3854
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
3528
3855
|
}>;
|
|
3529
3856
|
type NativeLocalityReason = z.infer<typeof NativeLocalityReasonSchema>;
|
|
3530
3857
|
/**
|
|
@@ -3557,6 +3884,7 @@ declare const NativeLocalityVerdictSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
3557
3884
|
"native-attempt-failed": "native-attempt-failed";
|
|
3558
3885
|
"agent-already-started": "agent-already-started";
|
|
3559
3886
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
3887
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
3560
3888
|
}>;
|
|
3561
3889
|
}, z.core.$strip>, z.ZodObject<{
|
|
3562
3890
|
kind: z.ZodLiteral<"foreign">;
|
|
@@ -3917,8 +4245,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3917
4245
|
type: z.ZodLiteral<"locality.degraded">;
|
|
3918
4246
|
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3919
4247
|
intent: z.ZodEnum<{
|
|
3920
|
-
fork: "fork";
|
|
3921
4248
|
resume: "resume";
|
|
4249
|
+
fork: "fork";
|
|
3922
4250
|
}>;
|
|
3923
4251
|
verdictKind: z.ZodLiteral<"degrade">;
|
|
3924
4252
|
reason: z.ZodEnum<{
|
|
@@ -3936,14 +4264,15 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3936
4264
|
"native-attempt-failed": "native-attempt-failed";
|
|
3937
4265
|
"agent-already-started": "agent-already-started";
|
|
3938
4266
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
4267
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
3939
4268
|
}>;
|
|
3940
4269
|
agentId: z.ZodOptional<z.ZodString>;
|
|
3941
4270
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
3942
4271
|
turnId: z.ZodOptional<z.ZodString>;
|
|
3943
4272
|
}, z.core.$strip>, z.ZodObject<{
|
|
3944
4273
|
intent: z.ZodEnum<{
|
|
3945
|
-
fork: "fork";
|
|
3946
4274
|
resume: "resume";
|
|
4275
|
+
fork: "fork";
|
|
3947
4276
|
}>;
|
|
3948
4277
|
verdictKind: z.ZodLiteral<"foreign">;
|
|
3949
4278
|
foreignMachineId: z.ZodString;
|
|
@@ -4227,28 +4556,794 @@ declare const SessionUpdatedEventSchema: z.ZodObject<{
|
|
|
4227
4556
|
type SessionCreated = z.infer<typeof SessionCreatedEventSchema>;
|
|
4228
4557
|
type SessionUpdatedEvent = z.infer<typeof SessionUpdatedEventSchema>;
|
|
4229
4558
|
//#endregion
|
|
4230
|
-
//#region core/contracts/src/session/schemas.d.ts
|
|
4559
|
+
//#region core/contracts/src/session/schemas/ownership.d.ts
|
|
4231
4560
|
/**
|
|
4232
|
-
*
|
|
4233
|
-
*
|
|
4234
|
-
* Subjects for session lifecycle management via bus communication.
|
|
4235
|
-
* Each key becomes a subject identifier as: `session.{key}`
|
|
4236
|
-
* @example
|
|
4237
|
-
* ```typescript
|
|
4238
|
-
* // Create a new session
|
|
4239
|
-
* const { sessionId } = await bus.request(SessionSubjects.create, {});
|
|
4561
|
+
* How many runtime processes may own claims on one machine.
|
|
4240
4562
|
*
|
|
4241
|
-
*
|
|
4242
|
-
*
|
|
4563
|
+
* Only `machine-exclusive` licenses "no adapter answers for this instance" as
|
|
4564
|
+
* evidence that an owner is gone: with peers on the same machine, an
|
|
4565
|
+
* unanswered probe means "not mine", never "nobody's". The default is
|
|
4566
|
+
* `shared-machine` everywhere, because neither the desktop runtime nor the
|
|
4567
|
+
* isolated workflow runtime can prove exclusivity while workflow workers and
|
|
4568
|
+
* relay peers may host adapters of their own.
|
|
4569
|
+
*/
|
|
4570
|
+
declare const OwnershipTopologySchema: z.ZodEnum<{
|
|
4571
|
+
"machine-exclusive": "machine-exclusive";
|
|
4572
|
+
"shared-machine": "shared-machine";
|
|
4573
|
+
}>;
|
|
4574
|
+
/** {@inheritDoc OwnershipTopologySchema} */
|
|
4575
|
+
type OwnershipTopology$1 = z.infer<typeof OwnershipTopologySchema>;
|
|
4576
|
+
/**
|
|
4577
|
+
* Who an ownership operation acts for, and in whose adapter namespace.
|
|
4243
4578
|
*
|
|
4244
|
-
*
|
|
4245
|
-
*
|
|
4579
|
+
* Every identity-dependent ownership operation carries this, because the
|
|
4580
|
+
* ownership key is the (machine, adapter instance, provider session) triple:
|
|
4581
|
+
* an operation that named only the agent would be reserving in a namespace
|
|
4582
|
+
* nobody can point at.
|
|
4583
|
+
*/
|
|
4584
|
+
declare const SessionOwnershipPrincipalSchema: z.ZodObject<{
|
|
4585
|
+
sessionId: z.ZodString;
|
|
4586
|
+
agentId: z.ZodString;
|
|
4587
|
+
adapterId: z.ZodString;
|
|
4588
|
+
adapterName: z.ZodString;
|
|
4589
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
4590
|
+
}, z.core.$strip>;
|
|
4591
|
+
/** {@inheritDoc SessionOwnershipPrincipalSchema} */
|
|
4592
|
+
type SessionOwnershipPrincipal = z.infer<typeof SessionOwnershipPrincipalSchema>;
|
|
4593
|
+
/**
|
|
4594
|
+
* Request payload for `session.ownership.reserveStart`.
|
|
4595
|
+
*
|
|
4596
|
+
* One reservation is one storage transaction: the claim on the provider
|
|
4597
|
+
* session the start will resume (or none, for a start with no key yet) plus the
|
|
4598
|
+
* lead designation, taken together. A start that designated through a second
|
|
4599
|
+
* call would leave a window in which the provider session is owned by an agent
|
|
4600
|
+
* the session does not yet call its lead — and a movement announced in that
|
|
4601
|
+
* window has no legitimate writer.
|
|
4602
|
+
*/
|
|
4603
|
+
declare const SessionOwnershipReserveStartServiceRequestSchema: z.ZodObject<{
|
|
4604
|
+
sessionId: z.ZodString;
|
|
4605
|
+
agentId: z.ZodString;
|
|
4606
|
+
adapterId: z.ZodString;
|
|
4607
|
+
adapterName: z.ZodString;
|
|
4608
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
4609
|
+
role: z.ZodEnum<{
|
|
4610
|
+
lead: "lead";
|
|
4611
|
+
member: "member";
|
|
4612
|
+
}>;
|
|
4613
|
+
resumeProviderSessionId: z.ZodNullable<z.ZodString>;
|
|
4614
|
+
expectedLeadAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4615
|
+
}, z.core.$strip>;
|
|
4616
|
+
/** {@inheritDoc SessionOwnershipReserveStartServiceRequestSchema} */
|
|
4617
|
+
type SessionOwnershipReserveStartServiceRequest = z.infer<typeof SessionOwnershipReserveStartServiceRequestSchema>;
|
|
4618
|
+
/**
|
|
4619
|
+
* What a committed reservation gives the caller to act — and to roll back — on.
|
|
4620
|
+
*/
|
|
4621
|
+
declare const SessionOwnershipReservationSchema: z.ZodObject<{
|
|
4622
|
+
agentId: z.ZodString;
|
|
4623
|
+
sessionId: z.ZodString;
|
|
4624
|
+
machineId: z.ZodString;
|
|
4625
|
+
adapterId: z.ZodString;
|
|
4626
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
4627
|
+
machineId: z.ZodString;
|
|
4628
|
+
adapterId: z.ZodString;
|
|
4629
|
+
providerSessionId: z.ZodString;
|
|
4630
|
+
claimId: z.ZodString;
|
|
4631
|
+
adapterName: z.ZodString;
|
|
4632
|
+
sessionId: z.ZodString;
|
|
4633
|
+
agentId: z.ZodString;
|
|
4634
|
+
claimToken: z.ZodString;
|
|
4635
|
+
fence: z.ZodNumber;
|
|
4636
|
+
status: z.ZodEnum<{
|
|
4637
|
+
abandoned: "abandoned";
|
|
4638
|
+
held: "held";
|
|
4639
|
+
releasing: "releasing";
|
|
4640
|
+
}>;
|
|
4641
|
+
claimedAt: z.ZodNumber;
|
|
4642
|
+
updatedAt: z.ZodNumber;
|
|
4643
|
+
}, z.core.$strip>>;
|
|
4644
|
+
leadDesignated: z.ZodBoolean;
|
|
4645
|
+
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
4646
|
+
}, z.core.$strip>;
|
|
4647
|
+
/** {@inheritDoc SessionOwnershipReservationSchema} */
|
|
4648
|
+
type SessionOwnershipReservation = z.infer<typeof SessionOwnershipReservationSchema>;
|
|
4649
|
+
/**
|
|
4650
|
+
* Result of `session.ownership.reserveStart`.
|
|
4651
|
+
*
|
|
4652
|
+
* There is no caller-supplied takeover input of any kind. A key whose
|
|
4653
|
+
* incumbent's agent row is `disposed` is taken over by a storage predicate
|
|
4654
|
+
* inside the reserving transaction; everything else that holds a key is
|
|
4655
|
+
* reported as `occupied`, and the caller degrades rather than dispatching.
|
|
4656
|
+
*/
|
|
4657
|
+
declare const SessionOwnershipReserveStartServiceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4658
|
+
outcome: z.ZodLiteral<"reserved">;
|
|
4659
|
+
reservation: z.ZodObject<{
|
|
4660
|
+
agentId: z.ZodString;
|
|
4661
|
+
sessionId: z.ZodString;
|
|
4662
|
+
machineId: z.ZodString;
|
|
4663
|
+
adapterId: z.ZodString;
|
|
4664
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
4665
|
+
machineId: z.ZodString;
|
|
4666
|
+
adapterId: z.ZodString;
|
|
4667
|
+
providerSessionId: z.ZodString;
|
|
4668
|
+
claimId: z.ZodString;
|
|
4669
|
+
adapterName: z.ZodString;
|
|
4670
|
+
sessionId: z.ZodString;
|
|
4671
|
+
agentId: z.ZodString;
|
|
4672
|
+
claimToken: z.ZodString;
|
|
4673
|
+
fence: z.ZodNumber;
|
|
4674
|
+
status: z.ZodEnum<{
|
|
4675
|
+
abandoned: "abandoned";
|
|
4676
|
+
held: "held";
|
|
4677
|
+
releasing: "releasing";
|
|
4678
|
+
}>;
|
|
4679
|
+
claimedAt: z.ZodNumber;
|
|
4680
|
+
updatedAt: z.ZodNumber;
|
|
4681
|
+
}, z.core.$strip>>;
|
|
4682
|
+
leadDesignated: z.ZodBoolean;
|
|
4683
|
+
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
4684
|
+
}, z.core.$strip>;
|
|
4685
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4686
|
+
outcome: z.ZodLiteral<"occupied">;
|
|
4687
|
+
holder: z.ZodObject<{
|
|
4688
|
+
machineId: z.ZodString;
|
|
4689
|
+
adapterId: z.ZodString;
|
|
4690
|
+
providerSessionId: z.ZodString;
|
|
4691
|
+
claimId: z.ZodString;
|
|
4692
|
+
adapterName: z.ZodString;
|
|
4693
|
+
sessionId: z.ZodString;
|
|
4694
|
+
agentId: z.ZodString;
|
|
4695
|
+
claimToken: z.ZodString;
|
|
4696
|
+
fence: z.ZodNumber;
|
|
4697
|
+
status: z.ZodEnum<{
|
|
4698
|
+
abandoned: "abandoned";
|
|
4699
|
+
held: "held";
|
|
4700
|
+
releasing: "releasing";
|
|
4701
|
+
}>;
|
|
4702
|
+
claimedAt: z.ZodNumber;
|
|
4703
|
+
updatedAt: z.ZodNumber;
|
|
4704
|
+
}, z.core.$strip>;
|
|
4705
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4706
|
+
outcome: z.ZodLiteral<"lead-conflict">;
|
|
4707
|
+
currentLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
4708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4709
|
+
outcome: z.ZodLiteral<"agent-disposed">;
|
|
4710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4711
|
+
outcome: z.ZodLiteral<"not-found">;
|
|
4712
|
+
missing: z.ZodEnum<{
|
|
4713
|
+
agent: "agent";
|
|
4714
|
+
session: "session";
|
|
4715
|
+
}>;
|
|
4716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4717
|
+
outcome: z.ZodLiteral<"machine-identity-unavailable">;
|
|
4718
|
+
}, z.core.$strip>], "outcome">;
|
|
4719
|
+
/** {@inheritDoc SessionOwnershipReserveStartServiceResponseSchema} */
|
|
4720
|
+
type SessionOwnershipReserveStartServiceResult$1 = z.infer<typeof SessionOwnershipReserveStartServiceResponseSchema>;
|
|
4721
|
+
/**
|
|
4722
|
+
* A movement as the observation seam reports it, before the authority turns it
|
|
4723
|
+
* into a durable movement.
|
|
4724
|
+
*
|
|
4725
|
+
* Modeled as a real union rather than the seam's flag/ID pair: the pair is one
|
|
4726
|
+
* value, and a service surface that accepted the halves separately would have
|
|
4727
|
+
* to re-derive the invariant the seam's own refinement cannot carry across the
|
|
4728
|
+
* wire.
|
|
4729
|
+
*/
|
|
4730
|
+
declare const SessionOwnershipServiceMovementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4731
|
+
confirmed: z.ZodLiteral<true>;
|
|
4732
|
+
providerSessionId: z.ZodString;
|
|
4733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4734
|
+
confirmed: z.ZodLiteral<false>;
|
|
4735
|
+
}, z.core.$strip>], "confirmed">;
|
|
4736
|
+
/** {@inheritDoc SessionOwnershipServiceMovementSchema} */
|
|
4737
|
+
type SessionOwnershipServiceMovement = z.infer<typeof SessionOwnershipServiceMovementSchema>;
|
|
4738
|
+
/**
|
|
4739
|
+
* Request payload for `session.ownership.settleMovement`.
|
|
4740
|
+
*
|
|
4741
|
+
* The authority reads the revision itself, because that is a per-attempt value
|
|
4742
|
+
* a caller cannot hold correctly across a retry, and the whole movement is one
|
|
4743
|
+
* storage transaction underneath.
|
|
4744
|
+
*/
|
|
4745
|
+
declare const SessionOwnershipSettleMovementServiceRequestSchema: z.ZodObject<{
|
|
4746
|
+
sessionId: z.ZodString;
|
|
4747
|
+
agentId: z.ZodString;
|
|
4748
|
+
adapterId: z.ZodString;
|
|
4749
|
+
adapterName: z.ZodString;
|
|
4750
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
4751
|
+
movement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4752
|
+
confirmed: z.ZodLiteral<true>;
|
|
4753
|
+
providerSessionId: z.ZodString;
|
|
4754
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4755
|
+
confirmed: z.ZodLiteral<false>;
|
|
4756
|
+
}, z.core.$strip>], "confirmed">;
|
|
4757
|
+
claimToken: z.ZodOptional<z.ZodString>;
|
|
4758
|
+
}, z.core.$strip>;
|
|
4759
|
+
/** {@inheritDoc SessionOwnershipSettleMovementServiceRequestSchema} */
|
|
4760
|
+
type SessionOwnershipSettleMovementServiceRequest = z.infer<typeof SessionOwnershipSettleMovementServiceRequestSchema>;
|
|
4761
|
+
/**
|
|
4762
|
+
* Result of `session.ownership.settleMovement`.
|
|
4763
|
+
*
|
|
4764
|
+
* The durable outcomes verbatim, plus the one outcome only the service can
|
|
4765
|
+
* produce. On `settled`, carry `claim` — the generation the settle actually
|
|
4766
|
+
* wrote through — into any later release, never the token the authority sent.
|
|
4767
|
+
*/
|
|
4768
|
+
declare const SessionOwnershipSettleMovementServiceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4769
|
+
outcome: z.ZodLiteral<"settled">;
|
|
4770
|
+
revision: z.ZodNumber;
|
|
4771
|
+
currency: z.ZodObject<{
|
|
4772
|
+
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4773
|
+
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4774
|
+
currentAdapterSessionIdState: z.ZodEnum<{
|
|
4775
|
+
confirmed: "confirmed";
|
|
4776
|
+
moved: "moved";
|
|
4777
|
+
inherited: "inherited";
|
|
4778
|
+
}>;
|
|
4779
|
+
}, z.core.$strip>;
|
|
4780
|
+
sessionSnapshotUpdated: z.ZodBoolean;
|
|
4781
|
+
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
4782
|
+
claim: z.ZodObject<{
|
|
4783
|
+
machineId: z.ZodString;
|
|
4784
|
+
adapterId: z.ZodString;
|
|
4785
|
+
providerSessionId: z.ZodString;
|
|
4786
|
+
claimId: z.ZodString;
|
|
4787
|
+
adapterName: z.ZodString;
|
|
4788
|
+
sessionId: z.ZodString;
|
|
4789
|
+
agentId: z.ZodString;
|
|
4790
|
+
claimToken: z.ZodString;
|
|
4791
|
+
fence: z.ZodNumber;
|
|
4792
|
+
status: z.ZodEnum<{
|
|
4793
|
+
abandoned: "abandoned";
|
|
4794
|
+
held: "held";
|
|
4795
|
+
releasing: "releasing";
|
|
4796
|
+
}>;
|
|
4797
|
+
claimedAt: z.ZodNumber;
|
|
4798
|
+
updatedAt: z.ZodNumber;
|
|
4799
|
+
}, z.core.$strip>;
|
|
4800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4801
|
+
outcome: z.ZodLiteral<"idempotent">;
|
|
4802
|
+
revision: z.ZodNumber;
|
|
4803
|
+
currency: z.ZodObject<{
|
|
4804
|
+
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4805
|
+
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4806
|
+
currentAdapterSessionIdState: z.ZodEnum<{
|
|
4807
|
+
confirmed: "confirmed";
|
|
4808
|
+
moved: "moved";
|
|
4809
|
+
inherited: "inherited";
|
|
4810
|
+
}>;
|
|
4811
|
+
}, z.core.$strip>;
|
|
4812
|
+
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
4813
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
4814
|
+
machineId: z.ZodString;
|
|
4815
|
+
adapterId: z.ZodString;
|
|
4816
|
+
providerSessionId: z.ZodString;
|
|
4817
|
+
claimId: z.ZodString;
|
|
4818
|
+
adapterName: z.ZodString;
|
|
4819
|
+
sessionId: z.ZodString;
|
|
4820
|
+
agentId: z.ZodString;
|
|
4821
|
+
claimToken: z.ZodString;
|
|
4822
|
+
fence: z.ZodNumber;
|
|
4823
|
+
status: z.ZodEnum<{
|
|
4824
|
+
abandoned: "abandoned";
|
|
4825
|
+
held: "held";
|
|
4826
|
+
releasing: "releasing";
|
|
4827
|
+
}>;
|
|
4828
|
+
claimedAt: z.ZodNumber;
|
|
4829
|
+
updatedAt: z.ZodNumber;
|
|
4830
|
+
}, z.core.$strip>>;
|
|
4831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4832
|
+
outcome: z.ZodLiteral<"already-claimed">;
|
|
4833
|
+
holder: z.ZodObject<{
|
|
4834
|
+
machineId: z.ZodString;
|
|
4835
|
+
adapterId: z.ZodString;
|
|
4836
|
+
providerSessionId: z.ZodString;
|
|
4837
|
+
claimId: z.ZodString;
|
|
4838
|
+
adapterName: z.ZodString;
|
|
4839
|
+
sessionId: z.ZodString;
|
|
4840
|
+
agentId: z.ZodString;
|
|
4841
|
+
claimToken: z.ZodString;
|
|
4842
|
+
fence: z.ZodNumber;
|
|
4843
|
+
status: z.ZodEnum<{
|
|
4844
|
+
abandoned: "abandoned";
|
|
4845
|
+
held: "held";
|
|
4846
|
+
releasing: "releasing";
|
|
4847
|
+
}>;
|
|
4848
|
+
claimedAt: z.ZodNumber;
|
|
4849
|
+
updatedAt: z.ZodNumber;
|
|
4850
|
+
}, z.core.$strip>;
|
|
4851
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4852
|
+
outcome: z.ZodLiteral<"superseded">;
|
|
4853
|
+
currentFence: z.ZodNumber;
|
|
4854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4855
|
+
outcome: z.ZodLiteral<"currency-changed">;
|
|
4856
|
+
revision: z.ZodNumber;
|
|
4857
|
+
currency: z.ZodObject<{
|
|
4858
|
+
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4859
|
+
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
4860
|
+
currentAdapterSessionIdState: z.ZodEnum<{
|
|
4861
|
+
confirmed: "confirmed";
|
|
4862
|
+
moved: "moved";
|
|
4863
|
+
inherited: "inherited";
|
|
4864
|
+
}>;
|
|
4865
|
+
}, z.core.$strip>;
|
|
4866
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4867
|
+
outcome: z.ZodLiteral<"not-owner">;
|
|
4868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4869
|
+
outcome: z.ZodLiteral<"agent-disposed">;
|
|
4870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4871
|
+
outcome: z.ZodLiteral<"not-found">;
|
|
4872
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4873
|
+
outcome: z.ZodLiteral<"machine-identity-unavailable">;
|
|
4874
|
+
}, z.core.$strip>], "outcome">;
|
|
4875
|
+
/** {@inheritDoc SessionOwnershipSettleMovementServiceResponseSchema} */
|
|
4876
|
+
type SessionOwnershipSettleMovementServiceResult = z.infer<typeof SessionOwnershipSettleMovementServiceResponseSchema>;
|
|
4877
|
+
/**
|
|
4878
|
+
* Request payload for `session.ownership.release`.
|
|
4879
|
+
*
|
|
4880
|
+
* Naming a `claimToken` is the **rollback** form — it retires exactly the
|
|
4881
|
+
* generation the failed attempt took, and never a second, unrelated one the
|
|
4882
|
+
* agent may hold from an in-flight movement. Omitting it is the **teardown**
|
|
4883
|
+
* form, which is the only shape that can be complete: listing an agent's claims
|
|
4884
|
+
* and releasing them one by one cannot see a claim taken in between.
|
|
4885
|
+
*
|
|
4886
|
+
* The disposition is the caller's evidence and is never inferred here — only a
|
|
4887
|
+
* failure that provably never reached the provider may release cleanly.
|
|
4888
|
+
*/
|
|
4889
|
+
declare const SessionOwnershipReleaseServiceRequestSchema: z.ZodObject<{
|
|
4890
|
+
agentId: z.ZodString;
|
|
4891
|
+
claimToken: z.ZodOptional<z.ZodString>;
|
|
4892
|
+
disposition: z.ZodEnum<{
|
|
4893
|
+
released: "released";
|
|
4894
|
+
abandoned: "abandoned";
|
|
4895
|
+
releasing: "releasing";
|
|
4896
|
+
}>;
|
|
4897
|
+
}, z.core.$strip>;
|
|
4898
|
+
/** {@inheritDoc SessionOwnershipReleaseServiceRequestSchema} */
|
|
4899
|
+
type SessionOwnershipReleaseServiceRequest = z.infer<typeof SessionOwnershipReleaseServiceRequestSchema>;
|
|
4900
|
+
/**
|
|
4901
|
+
* Why reconcile judged a claim's owner gone.
|
|
4902
|
+
*
|
|
4903
|
+
* **Diagnostic only.** None of these authorizes a takeover: takeover is a
|
|
4904
|
+
* storage predicate over the incumbent's own rows, and it never looks at a
|
|
4905
|
+
* claim's reconcile verdict or at an adapter probe.
|
|
4906
|
+
*/
|
|
4907
|
+
declare const SessionOwnershipReclaimReasonSchema: z.ZodEnum<{
|
|
4908
|
+
"agent-disposed": "agent-disposed";
|
|
4909
|
+
"agent-gone": "agent-gone";
|
|
4910
|
+
"adapter-instance-gone": "adapter-instance-gone";
|
|
4911
|
+
}>;
|
|
4912
|
+
/** {@inheritDoc SessionOwnershipReclaimReasonSchema} */
|
|
4913
|
+
type SessionOwnershipReclaimReason$1 = z.infer<typeof SessionOwnershipReclaimReasonSchema>;
|
|
4914
|
+
/** One claim as reconcile left it. */
|
|
4915
|
+
declare const SessionOwnershipReconciledClaimSchema: z.ZodObject<{
|
|
4916
|
+
claim: z.ZodObject<{
|
|
4917
|
+
machineId: z.ZodString;
|
|
4918
|
+
adapterId: z.ZodString;
|
|
4919
|
+
providerSessionId: z.ZodString;
|
|
4920
|
+
claimId: z.ZodString;
|
|
4921
|
+
adapterName: z.ZodString;
|
|
4922
|
+
sessionId: z.ZodString;
|
|
4923
|
+
agentId: z.ZodString;
|
|
4924
|
+
claimToken: z.ZodString;
|
|
4925
|
+
fence: z.ZodNumber;
|
|
4926
|
+
status: z.ZodEnum<{
|
|
4927
|
+
abandoned: "abandoned";
|
|
4928
|
+
held: "held";
|
|
4929
|
+
releasing: "releasing";
|
|
4930
|
+
}>;
|
|
4931
|
+
claimedAt: z.ZodNumber;
|
|
4932
|
+
updatedAt: z.ZodNumber;
|
|
4933
|
+
}, z.core.$strip>;
|
|
4934
|
+
verdict: z.ZodEnum<{
|
|
4935
|
+
abandoned: "abandoned";
|
|
4936
|
+
retained: "retained";
|
|
4937
|
+
vanished: "vanished";
|
|
4938
|
+
}>;
|
|
4939
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4940
|
+
"agent-disposed": "agent-disposed";
|
|
4941
|
+
"agent-gone": "agent-gone";
|
|
4942
|
+
"adapter-instance-gone": "adapter-instance-gone";
|
|
4943
|
+
}>>;
|
|
4944
|
+
}, z.core.$strip>;
|
|
4945
|
+
/** {@inheritDoc SessionOwnershipReconciledClaimSchema} */
|
|
4946
|
+
type SessionOwnershipReconciledClaim = z.infer<typeof SessionOwnershipReconciledClaimSchema>;
|
|
4947
|
+
/**
|
|
4948
|
+
* Result of `session.ownership.reconcile`.
|
|
4949
|
+
*
|
|
4950
|
+
* Reconcile never deletes a row and never frees a key. Marking an
|
|
4951
|
+
* already-`abandoned` claim is a no-op, so repeated runs are idempotent by
|
|
4952
|
+
* construction.
|
|
4953
|
+
*/
|
|
4954
|
+
declare const SessionOwnershipReconcileServiceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4955
|
+
outcome: z.ZodLiteral<"reconciled">;
|
|
4956
|
+
machineId: z.ZodString;
|
|
4957
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
4958
|
+
claim: z.ZodObject<{
|
|
4959
|
+
machineId: z.ZodString;
|
|
4960
|
+
adapterId: z.ZodString;
|
|
4961
|
+
providerSessionId: z.ZodString;
|
|
4962
|
+
claimId: z.ZodString;
|
|
4963
|
+
adapterName: z.ZodString;
|
|
4964
|
+
sessionId: z.ZodString;
|
|
4965
|
+
agentId: z.ZodString;
|
|
4966
|
+
claimToken: z.ZodString;
|
|
4967
|
+
fence: z.ZodNumber;
|
|
4968
|
+
status: z.ZodEnum<{
|
|
4969
|
+
abandoned: "abandoned";
|
|
4970
|
+
held: "held";
|
|
4971
|
+
releasing: "releasing";
|
|
4972
|
+
}>;
|
|
4973
|
+
claimedAt: z.ZodNumber;
|
|
4974
|
+
updatedAt: z.ZodNumber;
|
|
4975
|
+
}, z.core.$strip>;
|
|
4976
|
+
verdict: z.ZodEnum<{
|
|
4977
|
+
abandoned: "abandoned";
|
|
4978
|
+
retained: "retained";
|
|
4979
|
+
vanished: "vanished";
|
|
4980
|
+
}>;
|
|
4981
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4982
|
+
"agent-disposed": "agent-disposed";
|
|
4983
|
+
"agent-gone": "agent-gone";
|
|
4984
|
+
"adapter-instance-gone": "adapter-instance-gone";
|
|
4985
|
+
}>>;
|
|
4986
|
+
}, z.core.$strip>>;
|
|
4987
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4988
|
+
outcome: z.ZodLiteral<"skipped">;
|
|
4989
|
+
reason: z.ZodLiteral<"machine-identity-unavailable">;
|
|
4990
|
+
}, z.core.$strip>], "outcome">;
|
|
4991
|
+
/** {@inheritDoc SessionOwnershipReconcileServiceResponseSchema} */
|
|
4992
|
+
type SessionOwnershipReconcileServiceResult = z.infer<typeof SessionOwnershipReconcileServiceResponseSchema>;
|
|
4993
|
+
/**
|
|
4994
|
+
* Request payload for `session.ownership.continuation`.
|
|
4995
|
+
*
|
|
4996
|
+
* Observing that a provider conversation continued is evidence the session is
|
|
4997
|
+
* still in use, which a `closed` row contradicts. Reporting the observation is
|
|
4998
|
+
* the caller's whole duty; deciding what it implies for the row is this
|
|
4999
|
+
* operation's.
|
|
5000
|
+
*/
|
|
5001
|
+
declare const SessionOwnershipContinuationServiceRequestSchema: z.ZodObject<{
|
|
5002
|
+
sessionId: z.ZodString;
|
|
5003
|
+
startMode: z.ZodEnum<{
|
|
5004
|
+
resume: "resume";
|
|
5005
|
+
compact: "compact";
|
|
5006
|
+
}>;
|
|
5007
|
+
}, z.core.$strip>;
|
|
5008
|
+
/** {@inheritDoc SessionOwnershipContinuationServiceRequestSchema} */
|
|
5009
|
+
type SessionOwnershipContinuationServiceRequest = z.infer<typeof SessionOwnershipContinuationServiceRequestSchema>;
|
|
5010
|
+
/**
|
|
5011
|
+
* Result of `session.ownership.continuation`.
|
|
5012
|
+
*
|
|
5013
|
+
* The reported `sessionId` is the row that was acted on, which is the lineage
|
|
5014
|
+
* root — not necessarily the row the caller named.
|
|
5015
|
+
*/
|
|
5016
|
+
declare const SessionOwnershipContinuationServiceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5017
|
+
outcome: z.ZodLiteral<"reopened">;
|
|
5018
|
+
sessionId: z.ZodString;
|
|
5019
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5020
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
5021
|
+
sessionId: z.ZodString;
|
|
5022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5023
|
+
outcome: z.ZodLiteral<"not-found">;
|
|
5024
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5025
|
+
outcome: z.ZodLiteral<"unresolved">;
|
|
5026
|
+
sessionId: z.ZodString;
|
|
5027
|
+
}, z.core.$strip>], "outcome">;
|
|
5028
|
+
/** {@inheritDoc SessionOwnershipContinuationServiceResponseSchema} */
|
|
5029
|
+
type SessionOwnershipContinuationServiceResult = z.infer<typeof SessionOwnershipContinuationServiceResponseSchema>;
|
|
5030
|
+
//#endregion
|
|
5031
|
+
//#region core/contracts/src/session/schemas.d.ts
|
|
5032
|
+
/**
|
|
5033
|
+
* Session domain schemas.
|
|
5034
|
+
*
|
|
5035
|
+
* Subjects for session lifecycle management via bus communication.
|
|
5036
|
+
* Each key becomes a subject identifier as: `session.{key}`
|
|
5037
|
+
* @example
|
|
5038
|
+
* ```typescript
|
|
5039
|
+
* // Create a new session
|
|
5040
|
+
* const { sessionId } = await bus.request(SessionSubjects.create, {});
|
|
5041
|
+
*
|
|
5042
|
+
* // List active sessions
|
|
5043
|
+
* const { sessions } = await bus.request(SessionSubjects.list, { status: 'active' });
|
|
5044
|
+
*
|
|
5045
|
+
* // Get session details
|
|
5046
|
+
* const session = await bus.request(SessionSubjects.get, { sessionId });
|
|
4246
5047
|
*
|
|
4247
5048
|
* // Close a session
|
|
4248
5049
|
* await bus.request(SessionSubjects.close, { sessionId });
|
|
4249
5050
|
* ```
|
|
4250
5051
|
*/
|
|
4251
5052
|
declare const SessionSchemas: {
|
|
5053
|
+
'ownership.reserveStart': {
|
|
5054
|
+
request: _$zod.ZodObject<{
|
|
5055
|
+
sessionId: _$zod.ZodString;
|
|
5056
|
+
agentId: _$zod.ZodString;
|
|
5057
|
+
adapterId: _$zod.ZodString;
|
|
5058
|
+
adapterName: _$zod.ZodString;
|
|
5059
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5060
|
+
role: _$zod.ZodEnum<{
|
|
5061
|
+
lead: "lead";
|
|
5062
|
+
member: "member";
|
|
5063
|
+
}>;
|
|
5064
|
+
resumeProviderSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5065
|
+
expectedLeadAgentId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
5066
|
+
}, _$zod_v4_core0.$strip>;
|
|
5067
|
+
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5068
|
+
outcome: _$zod.ZodLiteral<"reserved">;
|
|
5069
|
+
reservation: _$zod.ZodObject<{
|
|
5070
|
+
agentId: _$zod.ZodString;
|
|
5071
|
+
sessionId: _$zod.ZodString;
|
|
5072
|
+
machineId: _$zod.ZodString;
|
|
5073
|
+
adapterId: _$zod.ZodString;
|
|
5074
|
+
claim: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
5075
|
+
machineId: _$zod.ZodString;
|
|
5076
|
+
adapterId: _$zod.ZodString;
|
|
5077
|
+
providerSessionId: _$zod.ZodString;
|
|
5078
|
+
claimId: _$zod.ZodString;
|
|
5079
|
+
adapterName: _$zod.ZodString;
|
|
5080
|
+
sessionId: _$zod.ZodString;
|
|
5081
|
+
agentId: _$zod.ZodString;
|
|
5082
|
+
claimToken: _$zod.ZodString;
|
|
5083
|
+
fence: _$zod.ZodNumber;
|
|
5084
|
+
status: _$zod.ZodEnum<{
|
|
5085
|
+
abandoned: "abandoned";
|
|
5086
|
+
held: "held";
|
|
5087
|
+
releasing: "releasing";
|
|
5088
|
+
}>;
|
|
5089
|
+
claimedAt: _$zod.ZodNumber;
|
|
5090
|
+
updatedAt: _$zod.ZodNumber;
|
|
5091
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5092
|
+
leadDesignated: _$zod.ZodBoolean;
|
|
5093
|
+
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5094
|
+
}, _$zod_v4_core0.$strip>;
|
|
5095
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5096
|
+
outcome: _$zod.ZodLiteral<"occupied">;
|
|
5097
|
+
holder: _$zod.ZodObject<{
|
|
5098
|
+
machineId: _$zod.ZodString;
|
|
5099
|
+
adapterId: _$zod.ZodString;
|
|
5100
|
+
providerSessionId: _$zod.ZodString;
|
|
5101
|
+
claimId: _$zod.ZodString;
|
|
5102
|
+
adapterName: _$zod.ZodString;
|
|
5103
|
+
sessionId: _$zod.ZodString;
|
|
5104
|
+
agentId: _$zod.ZodString;
|
|
5105
|
+
claimToken: _$zod.ZodString;
|
|
5106
|
+
fence: _$zod.ZodNumber;
|
|
5107
|
+
status: _$zod.ZodEnum<{
|
|
5108
|
+
abandoned: "abandoned";
|
|
5109
|
+
held: "held";
|
|
5110
|
+
releasing: "releasing";
|
|
5111
|
+
}>;
|
|
5112
|
+
claimedAt: _$zod.ZodNumber;
|
|
5113
|
+
updatedAt: _$zod.ZodNumber;
|
|
5114
|
+
}, _$zod_v4_core0.$strip>;
|
|
5115
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5116
|
+
outcome: _$zod.ZodLiteral<"lead-conflict">;
|
|
5117
|
+
currentLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5118
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5119
|
+
outcome: _$zod.ZodLiteral<"agent-disposed">;
|
|
5120
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5121
|
+
outcome: _$zod.ZodLiteral<"not-found">;
|
|
5122
|
+
missing: _$zod.ZodEnum<{
|
|
5123
|
+
agent: "agent";
|
|
5124
|
+
session: "session";
|
|
5125
|
+
}>;
|
|
5126
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5127
|
+
outcome: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
5128
|
+
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5129
|
+
};
|
|
5130
|
+
'ownership.settleMovement': {
|
|
5131
|
+
request: _$zod.ZodObject<{
|
|
5132
|
+
sessionId: _$zod.ZodString;
|
|
5133
|
+
agentId: _$zod.ZodString;
|
|
5134
|
+
adapterId: _$zod.ZodString;
|
|
5135
|
+
adapterName: _$zod.ZodString;
|
|
5136
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5137
|
+
movement: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5138
|
+
confirmed: _$zod.ZodLiteral<true>;
|
|
5139
|
+
providerSessionId: _$zod.ZodString;
|
|
5140
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5141
|
+
confirmed: _$zod.ZodLiteral<false>;
|
|
5142
|
+
}, _$zod_v4_core0.$strip>], "confirmed">;
|
|
5143
|
+
claimToken: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5144
|
+
}, _$zod_v4_core0.$strip>;
|
|
5145
|
+
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5146
|
+
outcome: _$zod.ZodLiteral<"settled">;
|
|
5147
|
+
revision: _$zod.ZodNumber;
|
|
5148
|
+
currency: _$zod.ZodObject<{
|
|
5149
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5150
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5151
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
5152
|
+
confirmed: "confirmed";
|
|
5153
|
+
moved: "moved";
|
|
5154
|
+
inherited: "inherited";
|
|
5155
|
+
}>;
|
|
5156
|
+
}, _$zod_v4_core0.$strip>;
|
|
5157
|
+
sessionSnapshotUpdated: _$zod.ZodBoolean;
|
|
5158
|
+
releasedProviderSessionIds: _$zod.ZodArray<_$zod.ZodString>;
|
|
5159
|
+
claim: _$zod.ZodObject<{
|
|
5160
|
+
machineId: _$zod.ZodString;
|
|
5161
|
+
adapterId: _$zod.ZodString;
|
|
5162
|
+
providerSessionId: _$zod.ZodString;
|
|
5163
|
+
claimId: _$zod.ZodString;
|
|
5164
|
+
adapterName: _$zod.ZodString;
|
|
5165
|
+
sessionId: _$zod.ZodString;
|
|
5166
|
+
agentId: _$zod.ZodString;
|
|
5167
|
+
claimToken: _$zod.ZodString;
|
|
5168
|
+
fence: _$zod.ZodNumber;
|
|
5169
|
+
status: _$zod.ZodEnum<{
|
|
5170
|
+
abandoned: "abandoned";
|
|
5171
|
+
held: "held";
|
|
5172
|
+
releasing: "releasing";
|
|
5173
|
+
}>;
|
|
5174
|
+
claimedAt: _$zod.ZodNumber;
|
|
5175
|
+
updatedAt: _$zod.ZodNumber;
|
|
5176
|
+
}, _$zod_v4_core0.$strip>;
|
|
5177
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5178
|
+
outcome: _$zod.ZodLiteral<"idempotent">;
|
|
5179
|
+
revision: _$zod.ZodNumber;
|
|
5180
|
+
currency: _$zod.ZodObject<{
|
|
5181
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5182
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5183
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
5184
|
+
confirmed: "confirmed";
|
|
5185
|
+
moved: "moved";
|
|
5186
|
+
inherited: "inherited";
|
|
5187
|
+
}>;
|
|
5188
|
+
}, _$zod_v4_core0.$strip>;
|
|
5189
|
+
sessionSnapshotUpdated: _$zod.ZodLiteral<false>;
|
|
5190
|
+
claim: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
5191
|
+
machineId: _$zod.ZodString;
|
|
5192
|
+
adapterId: _$zod.ZodString;
|
|
5193
|
+
providerSessionId: _$zod.ZodString;
|
|
5194
|
+
claimId: _$zod.ZodString;
|
|
5195
|
+
adapterName: _$zod.ZodString;
|
|
5196
|
+
sessionId: _$zod.ZodString;
|
|
5197
|
+
agentId: _$zod.ZodString;
|
|
5198
|
+
claimToken: _$zod.ZodString;
|
|
5199
|
+
fence: _$zod.ZodNumber;
|
|
5200
|
+
status: _$zod.ZodEnum<{
|
|
5201
|
+
abandoned: "abandoned";
|
|
5202
|
+
held: "held";
|
|
5203
|
+
releasing: "releasing";
|
|
5204
|
+
}>;
|
|
5205
|
+
claimedAt: _$zod.ZodNumber;
|
|
5206
|
+
updatedAt: _$zod.ZodNumber;
|
|
5207
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5208
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5209
|
+
outcome: _$zod.ZodLiteral<"already-claimed">;
|
|
5210
|
+
holder: _$zod.ZodObject<{
|
|
5211
|
+
machineId: _$zod.ZodString;
|
|
5212
|
+
adapterId: _$zod.ZodString;
|
|
5213
|
+
providerSessionId: _$zod.ZodString;
|
|
5214
|
+
claimId: _$zod.ZodString;
|
|
5215
|
+
adapterName: _$zod.ZodString;
|
|
5216
|
+
sessionId: _$zod.ZodString;
|
|
5217
|
+
agentId: _$zod.ZodString;
|
|
5218
|
+
claimToken: _$zod.ZodString;
|
|
5219
|
+
fence: _$zod.ZodNumber;
|
|
5220
|
+
status: _$zod.ZodEnum<{
|
|
5221
|
+
abandoned: "abandoned";
|
|
5222
|
+
held: "held";
|
|
5223
|
+
releasing: "releasing";
|
|
5224
|
+
}>;
|
|
5225
|
+
claimedAt: _$zod.ZodNumber;
|
|
5226
|
+
updatedAt: _$zod.ZodNumber;
|
|
5227
|
+
}, _$zod_v4_core0.$strip>;
|
|
5228
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5229
|
+
outcome: _$zod.ZodLiteral<"superseded">;
|
|
5230
|
+
currentFence: _$zod.ZodNumber;
|
|
5231
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5232
|
+
outcome: _$zod.ZodLiteral<"currency-changed">;
|
|
5233
|
+
revision: _$zod.ZodNumber;
|
|
5234
|
+
currency: _$zod.ZodObject<{
|
|
5235
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5236
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5237
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
5238
|
+
confirmed: "confirmed";
|
|
5239
|
+
moved: "moved";
|
|
5240
|
+
inherited: "inherited";
|
|
5241
|
+
}>;
|
|
5242
|
+
}, _$zod_v4_core0.$strip>;
|
|
5243
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5244
|
+
outcome: _$zod.ZodLiteral<"not-owner">;
|
|
5245
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5246
|
+
outcome: _$zod.ZodLiteral<"agent-disposed">;
|
|
5247
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5248
|
+
outcome: _$zod.ZodLiteral<"not-found">;
|
|
5249
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5250
|
+
outcome: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
5251
|
+
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5252
|
+
};
|
|
5253
|
+
'ownership.release': {
|
|
5254
|
+
request: _$zod.ZodObject<{
|
|
5255
|
+
agentId: _$zod.ZodString;
|
|
5256
|
+
claimToken: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5257
|
+
disposition: _$zod.ZodEnum<{
|
|
5258
|
+
released: "released";
|
|
5259
|
+
abandoned: "abandoned";
|
|
5260
|
+
releasing: "releasing";
|
|
5261
|
+
}>;
|
|
5262
|
+
}, _$zod_v4_core0.$strip>;
|
|
5263
|
+
response: _$zod.ZodObject<{
|
|
5264
|
+
releasedProviderSessionIds: _$zod.ZodArray<_$zod.ZodString>;
|
|
5265
|
+
markedClaims: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5266
|
+
machineId: _$zod.ZodString;
|
|
5267
|
+
adapterId: _$zod.ZodString;
|
|
5268
|
+
providerSessionId: _$zod.ZodString;
|
|
5269
|
+
claimId: _$zod.ZodString;
|
|
5270
|
+
adapterName: _$zod.ZodString;
|
|
5271
|
+
sessionId: _$zod.ZodString;
|
|
5272
|
+
agentId: _$zod.ZodString;
|
|
5273
|
+
claimToken: _$zod.ZodString;
|
|
5274
|
+
fence: _$zod.ZodNumber;
|
|
5275
|
+
status: _$zod.ZodEnum<{
|
|
5276
|
+
abandoned: "abandoned";
|
|
5277
|
+
held: "held";
|
|
5278
|
+
releasing: "releasing";
|
|
5279
|
+
}>;
|
|
5280
|
+
claimedAt: _$zod.ZodNumber;
|
|
5281
|
+
updatedAt: _$zod.ZodNumber;
|
|
5282
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5283
|
+
claimTokenNotFound: _$zod.ZodBoolean;
|
|
5284
|
+
}, _$zod_v4_core0.$strip>;
|
|
5285
|
+
};
|
|
5286
|
+
'ownership.reconcile': {
|
|
5287
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
5288
|
+
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5289
|
+
outcome: _$zod.ZodLiteral<"reconciled">;
|
|
5290
|
+
machineId: _$zod.ZodString;
|
|
5291
|
+
claims: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5292
|
+
claim: _$zod.ZodObject<{
|
|
5293
|
+
machineId: _$zod.ZodString;
|
|
5294
|
+
adapterId: _$zod.ZodString;
|
|
5295
|
+
providerSessionId: _$zod.ZodString;
|
|
5296
|
+
claimId: _$zod.ZodString;
|
|
5297
|
+
adapterName: _$zod.ZodString;
|
|
5298
|
+
sessionId: _$zod.ZodString;
|
|
5299
|
+
agentId: _$zod.ZodString;
|
|
5300
|
+
claimToken: _$zod.ZodString;
|
|
5301
|
+
fence: _$zod.ZodNumber;
|
|
5302
|
+
status: _$zod.ZodEnum<{
|
|
5303
|
+
abandoned: "abandoned";
|
|
5304
|
+
held: "held";
|
|
5305
|
+
releasing: "releasing";
|
|
5306
|
+
}>;
|
|
5307
|
+
claimedAt: _$zod.ZodNumber;
|
|
5308
|
+
updatedAt: _$zod.ZodNumber;
|
|
5309
|
+
}, _$zod_v4_core0.$strip>;
|
|
5310
|
+
verdict: _$zod.ZodEnum<{
|
|
5311
|
+
abandoned: "abandoned";
|
|
5312
|
+
retained: "retained";
|
|
5313
|
+
vanished: "vanished";
|
|
5314
|
+
}>;
|
|
5315
|
+
reason: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5316
|
+
"agent-disposed": "agent-disposed";
|
|
5317
|
+
"agent-gone": "agent-gone";
|
|
5318
|
+
"adapter-instance-gone": "adapter-instance-gone";
|
|
5319
|
+
}>>;
|
|
5320
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5321
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5322
|
+
outcome: _$zod.ZodLiteral<"skipped">;
|
|
5323
|
+
reason: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
5324
|
+
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5325
|
+
};
|
|
5326
|
+
'ownership.continuation': {
|
|
5327
|
+
request: _$zod.ZodObject<{
|
|
5328
|
+
sessionId: _$zod.ZodString;
|
|
5329
|
+
startMode: _$zod.ZodEnum<{
|
|
5330
|
+
resume: "resume";
|
|
5331
|
+
compact: "compact";
|
|
5332
|
+
}>;
|
|
5333
|
+
}, _$zod_v4_core0.$strip>;
|
|
5334
|
+
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5335
|
+
outcome: _$zod.ZodLiteral<"reopened">;
|
|
5336
|
+
sessionId: _$zod.ZodString;
|
|
5337
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5338
|
+
outcome: _$zod.ZodLiteral<"unchanged">;
|
|
5339
|
+
sessionId: _$zod.ZodString;
|
|
5340
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5341
|
+
outcome: _$zod.ZodLiteral<"not-found">;
|
|
5342
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5343
|
+
outcome: _$zod.ZodLiteral<"unresolved">;
|
|
5344
|
+
sessionId: _$zod.ZodString;
|
|
5345
|
+
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5346
|
+
};
|
|
4252
5347
|
enrichContext: {
|
|
4253
5348
|
request: _$zod.ZodObject<{
|
|
4254
5349
|
sessionId: _$zod.ZodString;
|
|
@@ -4630,6 +5725,7 @@ declare const SessionSchemas: {
|
|
|
4630
5725
|
kind: _$zod.ZodLiteral<"adapter">;
|
|
4631
5726
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4632
5727
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5728
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4633
5729
|
}, _$zod_v4_core0.$loose>, _$zod.ZodObject<{
|
|
4634
5730
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4635
5731
|
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4925,123 +6021,331 @@ declare const SessionSchemas: {
|
|
|
4925
6021
|
data: _$zod.ZodString;
|
|
4926
6022
|
mimeType: _$zod.ZodString;
|
|
4927
6023
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4928
|
-
type: _$zod.ZodLiteral<"url">;
|
|
6024
|
+
type: _$zod.ZodLiteral<"url">;
|
|
6025
|
+
url: _$zod.ZodString;
|
|
6026
|
+
mimeType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6027
|
+
}, _$zod_v4_core0.$strip>], "type">;
|
|
6028
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6029
|
+
type: _$zod.ZodLiteral<"attachment">;
|
|
6030
|
+
fileName: _$zod.ZodString;
|
|
6031
|
+
filePath: _$zod.ZodString;
|
|
6032
|
+
source: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6033
|
+
type: _$zod.ZodLiteral<"base64">;
|
|
6034
|
+
data: _$zod.ZodString;
|
|
6035
|
+
mimeType: _$zod.ZodString;
|
|
6036
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6037
|
+
type: _$zod.ZodLiteral<"url">;
|
|
6038
|
+
url: _$zod.ZodString;
|
|
6039
|
+
mimeType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6040
|
+
}, _$zod_v4_core0.$strip>], "type">;
|
|
6041
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6042
|
+
attachmentType: _$zod.ZodEnum<{
|
|
6043
|
+
file: "file";
|
|
6044
|
+
directory: "directory";
|
|
6045
|
+
}>;
|
|
6046
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6047
|
+
type: _$zod.ZodLiteral<"reasoning">;
|
|
6048
|
+
content: _$zod.ZodString;
|
|
6049
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
6050
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6051
|
+
type: _$zod.ZodLiteral<"tool_call">;
|
|
6052
|
+
toolCallId: _$zod.ZodString;
|
|
6053
|
+
name: _$zod.ZodString;
|
|
6054
|
+
args: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
6055
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6056
|
+
type: _$zod.ZodLiteral<"tool_output">;
|
|
6057
|
+
toolCallId: _$zod.ZodString;
|
|
6058
|
+
output: _$zod.ZodString;
|
|
6059
|
+
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6060
|
+
}, _$zod_v4_core0.$strip>], "type">>]>;
|
|
6061
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6062
|
+
hasNewTransforms: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6063
|
+
hasCompression: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6064
|
+
extractedContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
6065
|
+
isFirstTurn: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6066
|
+
hasConnectorSwap: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6067
|
+
cacheStrategy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6068
|
+
auto: "auto";
|
|
6069
|
+
systemPrompt: "systemPrompt";
|
|
6070
|
+
fullPrefix: "fullPrefix";
|
|
6071
|
+
}>>;
|
|
6072
|
+
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6073
|
+
requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6074
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6075
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6076
|
+
messageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6077
|
+
executionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6078
|
+
frameId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6079
|
+
}, _$zod_v4_core0.$strict>>;
|
|
6080
|
+
nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6081
|
+
kind: _$zod.ZodLiteral<"native">;
|
|
6082
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6083
|
+
kind: _$zod.ZodLiteral<"degrade">;
|
|
6084
|
+
reason: _$zod.ZodEnum<{
|
|
6085
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
6086
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
6087
|
+
"no-adapter-session": "no-adapter-session";
|
|
6088
|
+
"missing-machine-id": "missing-machine-id";
|
|
6089
|
+
"machine-mismatch": "machine-mismatch";
|
|
6090
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
6091
|
+
"transforms-present": "transforms-present";
|
|
6092
|
+
"compression-present": "compression-present";
|
|
6093
|
+
"connector-swap": "connector-swap";
|
|
6094
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
6095
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
6096
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
6097
|
+
"agent-already-started": "agent-already-started";
|
|
6098
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
6099
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
6100
|
+
}>;
|
|
6101
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6102
|
+
kind: _$zod.ZodLiteral<"foreign">;
|
|
6103
|
+
machineId: _$zod.ZodString;
|
|
6104
|
+
}, _$zod_v4_core0.$strip>], "kind">>;
|
|
6105
|
+
nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6106
|
+
sourceSessionId: _$zod.ZodString;
|
|
6107
|
+
sourceAdapterSessionId: _$zod.ZodString;
|
|
6108
|
+
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6109
|
+
targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6110
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6111
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6112
|
+
responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6113
|
+
schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
6114
|
+
name: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6115
|
+
strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6116
|
+
}, _$zod_v4_core0.$strict>>;
|
|
6117
|
+
source: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6118
|
+
user: "user";
|
|
6119
|
+
system: "system";
|
|
6120
|
+
extension: "extension";
|
|
6121
|
+
}>>;
|
|
6122
|
+
extensionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6123
|
+
originWindowId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6124
|
+
skipConnectorSwapWarning: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6125
|
+
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6126
|
+
text: "text";
|
|
6127
|
+
compact: "compact";
|
|
6128
|
+
voice: "voice";
|
|
6129
|
+
}>>;
|
|
6130
|
+
}, _$zod_v4_core0.$strip>;
|
|
6131
|
+
response: _$zod.ZodObject<{
|
|
6132
|
+
messageId: _$zod.ZodString;
|
|
6133
|
+
turnId: _$zod.ZodString;
|
|
6134
|
+
sessionId: _$zod.ZodString;
|
|
6135
|
+
deferredAgentIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6136
|
+
}, _$zod_v4_core0.$strip>;
|
|
6137
|
+
};
|
|
6138
|
+
'agent.attach': {
|
|
6139
|
+
request: _$zod.ZodObject<{
|
|
6140
|
+
sessionId: _$zod.ZodString;
|
|
6141
|
+
agent: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
6142
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6143
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6144
|
+
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6145
|
+
none: "none";
|
|
6146
|
+
low: "low";
|
|
6147
|
+
medium: "medium";
|
|
6148
|
+
high: "high";
|
|
6149
|
+
"extra-high": "extra-high";
|
|
6150
|
+
}>>;
|
|
6151
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6152
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
6153
|
+
mode: _$zod.ZodLiteral<"append">;
|
|
6154
|
+
content: _$zod.ZodString;
|
|
6155
|
+
}, _$zod_v4_core0.$strip>]>>;
|
|
6156
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6157
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6158
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6159
|
+
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6160
|
+
sessionId: _$zod.ZodString;
|
|
6161
|
+
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6162
|
+
name: _$zod.ZodString;
|
|
6163
|
+
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6164
|
+
type: _$zod.ZodLiteral<"stdio">;
|
|
6165
|
+
command: _$zod.ZodString;
|
|
6166
|
+
args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6167
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6168
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6169
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6170
|
+
url: _$zod.ZodString;
|
|
6171
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6172
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
6173
|
+
name: _$zod.ZodString;
|
|
6174
|
+
permission_policy: _$zod.ZodEnum<{
|
|
6175
|
+
always_allow: "always_allow";
|
|
6176
|
+
always_ask: "always_ask";
|
|
6177
|
+
always_deny: "always_deny";
|
|
6178
|
+
}>;
|
|
6179
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6180
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6181
|
+
type: _$zod.ZodLiteral<"sse">;
|
|
6182
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6183
|
+
url: _$zod.ZodString;
|
|
6184
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6185
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
6186
|
+
name: _$zod.ZodString;
|
|
6187
|
+
permission_policy: _$zod.ZodEnum<{
|
|
6188
|
+
always_allow: "always_allow";
|
|
6189
|
+
always_ask: "always_ask";
|
|
6190
|
+
always_deny: "always_deny";
|
|
6191
|
+
}>;
|
|
6192
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6193
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6194
|
+
type: _$zod.ZodLiteral<"http">;
|
|
6195
|
+
}, _$zod_v4_core0.$strip>], "type">;
|
|
6196
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6197
|
+
direct: "direct";
|
|
6198
|
+
discovery: "discovery";
|
|
6199
|
+
}>;
|
|
6200
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6201
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6202
|
+
fullName: _$zod.ZodString;
|
|
6203
|
+
originalName: _$zod.ZodString;
|
|
6204
|
+
serverName: _$zod.ZodString;
|
|
6205
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6206
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
6207
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6208
|
+
direct: "direct";
|
|
6209
|
+
discovery: "discovery";
|
|
6210
|
+
hidden: "hidden";
|
|
6211
|
+
}>;
|
|
6212
|
+
enabled: _$zod.ZodBoolean;
|
|
6213
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6214
|
+
discovery: "discovery";
|
|
6215
|
+
toolset: "toolset";
|
|
6216
|
+
}>>;
|
|
6217
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6218
|
+
exposed: _$zod.ZodBoolean;
|
|
6219
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6220
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6221
|
+
fullName: _$zod.ZodString;
|
|
6222
|
+
originalName: _$zod.ZodString;
|
|
6223
|
+
serverName: _$zod.ZodString;
|
|
6224
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6225
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
6226
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6227
|
+
direct: "direct";
|
|
6228
|
+
discovery: "discovery";
|
|
6229
|
+
hidden: "hidden";
|
|
6230
|
+
}>;
|
|
6231
|
+
enabled: _$zod.ZodBoolean;
|
|
6232
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6233
|
+
discovery: "discovery";
|
|
6234
|
+
toolset: "toolset";
|
|
6235
|
+
}>>;
|
|
6236
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6237
|
+
exposed: _$zod.ZodBoolean;
|
|
6238
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6239
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6240
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6241
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6242
|
+
kind: _$zod.ZodLiteral<"adapter">;
|
|
6243
|
+
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6244
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6245
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6246
|
+
}, _$zod_v4_core0.$loose>, _$zod.ZodObject<{
|
|
6247
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6248
|
+
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6249
|
+
none: "none";
|
|
6250
|
+
low: "low";
|
|
6251
|
+
medium: "medium";
|
|
6252
|
+
high: "high";
|
|
6253
|
+
"extra-high": "extra-high";
|
|
6254
|
+
}>>;
|
|
6255
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6256
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
6257
|
+
mode: _$zod.ZodLiteral<"append">;
|
|
6258
|
+
content: _$zod.ZodString;
|
|
6259
|
+
}, _$zod_v4_core0.$strip>]>>;
|
|
6260
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6261
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6262
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6263
|
+
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6264
|
+
sessionId: _$zod.ZodString;
|
|
6265
|
+
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6266
|
+
name: _$zod.ZodString;
|
|
6267
|
+
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6268
|
+
type: _$zod.ZodLiteral<"stdio">;
|
|
6269
|
+
command: _$zod.ZodString;
|
|
6270
|
+
args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6271
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6272
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6273
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4929
6274
|
url: _$zod.ZodString;
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
6275
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6276
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
6277
|
+
name: _$zod.ZodString;
|
|
6278
|
+
permission_policy: _$zod.ZodEnum<{
|
|
6279
|
+
always_allow: "always_allow";
|
|
6280
|
+
always_ask: "always_ask";
|
|
6281
|
+
always_deny: "always_deny";
|
|
6282
|
+
}>;
|
|
6283
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6284
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6285
|
+
type: _$zod.ZodLiteral<"sse">;
|
|
4940
6286
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4941
|
-
type: _$zod.ZodLiteral<"url">;
|
|
4942
6287
|
url: _$zod.ZodString;
|
|
4943
|
-
|
|
6288
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
6289
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
6290
|
+
name: _$zod.ZodString;
|
|
6291
|
+
permission_policy: _$zod.ZodEnum<{
|
|
6292
|
+
always_allow: "always_allow";
|
|
6293
|
+
always_ask: "always_ask";
|
|
6294
|
+
always_deny: "always_deny";
|
|
6295
|
+
}>;
|
|
6296
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6297
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6298
|
+
type: _$zod.ZodLiteral<"http">;
|
|
4944
6299
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
directory: "directory";
|
|
6300
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6301
|
+
direct: "direct";
|
|
6302
|
+
discovery: "discovery";
|
|
4949
6303
|
}>;
|
|
4950
|
-
}, _$zod_v4_core0.$strip
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
"adapter-unsupported": "adapter-unsupported";
|
|
4990
|
-
"adapter-mismatch": "adapter-mismatch";
|
|
4991
|
-
"no-adapter-session": "no-adapter-session";
|
|
4992
|
-
"missing-machine-id": "missing-machine-id";
|
|
4993
|
-
"machine-mismatch": "machine-mismatch";
|
|
4994
|
-
"cwd-mismatch": "cwd-mismatch";
|
|
4995
|
-
"transforms-present": "transforms-present";
|
|
4996
|
-
"compression-present": "compression-present";
|
|
4997
|
-
"connector-swap": "connector-swap";
|
|
4998
|
-
"mid-history-unsupported": "mid-history-unsupported";
|
|
4999
|
-
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
5000
|
-
"native-attempt-failed": "native-attempt-failed";
|
|
5001
|
-
"agent-already-started": "agent-already-started";
|
|
5002
|
-
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
5003
|
-
}>;
|
|
5004
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5005
|
-
kind: _$zod.ZodLiteral<"foreign">;
|
|
5006
|
-
machineId: _$zod.ZodString;
|
|
5007
|
-
}, _$zod_v4_core0.$strip>], "kind">>;
|
|
5008
|
-
nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5009
|
-
sourceSessionId: _$zod.ZodString;
|
|
5010
|
-
sourceAdapterSessionId: _$zod.ZodString;
|
|
5011
|
-
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5012
|
-
targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6304
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6305
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6306
|
+
fullName: _$zod.ZodString;
|
|
6307
|
+
originalName: _$zod.ZodString;
|
|
6308
|
+
serverName: _$zod.ZodString;
|
|
6309
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6310
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
6311
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6312
|
+
direct: "direct";
|
|
6313
|
+
discovery: "discovery";
|
|
6314
|
+
hidden: "hidden";
|
|
6315
|
+
}>;
|
|
6316
|
+
enabled: _$zod.ZodBoolean;
|
|
6317
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6318
|
+
discovery: "discovery";
|
|
6319
|
+
toolset: "toolset";
|
|
6320
|
+
}>>;
|
|
6321
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6322
|
+
exposed: _$zod.ZodBoolean;
|
|
6323
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6324
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6325
|
+
fullName: _$zod.ZodString;
|
|
6326
|
+
originalName: _$zod.ZodString;
|
|
6327
|
+
serverName: _$zod.ZodString;
|
|
6328
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6329
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
6330
|
+
exposureMode: _$zod.ZodEnum<{
|
|
6331
|
+
direct: "direct";
|
|
6332
|
+
discovery: "discovery";
|
|
6333
|
+
hidden: "hidden";
|
|
6334
|
+
}>;
|
|
6335
|
+
enabled: _$zod.ZodBoolean;
|
|
6336
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6337
|
+
discovery: "discovery";
|
|
6338
|
+
toolset: "toolset";
|
|
6339
|
+
}>>;
|
|
6340
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6341
|
+
exposed: _$zod.ZodBoolean;
|
|
6342
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5013
6343
|
}, _$zod_v4_core0.$strip>>;
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
}, _$zod_v4_core0.$strict>>;
|
|
5020
|
-
source: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5021
|
-
user: "user";
|
|
5022
|
-
system: "system";
|
|
5023
|
-
extension: "extension";
|
|
5024
|
-
}>>;
|
|
5025
|
-
extensionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5026
|
-
originWindowId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5027
|
-
skipConnectorSwapWarning: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
5028
|
-
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5029
|
-
text: "text";
|
|
5030
|
-
compact: "compact";
|
|
5031
|
-
voice: "voice";
|
|
5032
|
-
}>>;
|
|
5033
|
-
}, _$zod_v4_core0.$strip>;
|
|
5034
|
-
response: _$zod.ZodObject<{
|
|
5035
|
-
messageId: _$zod.ZodString;
|
|
5036
|
-
turnId: _$zod.ZodString;
|
|
5037
|
-
sessionId: _$zod.ZodString;
|
|
5038
|
-
}, _$zod_v4_core0.$strip>;
|
|
5039
|
-
};
|
|
5040
|
-
'agent.attach': {
|
|
5041
|
-
request: _$zod.ZodObject<{
|
|
5042
|
-
sessionId: _$zod.ZodString;
|
|
5043
|
-
agent: _$zod.ZodObject<{
|
|
5044
|
-
kind: _$zod.ZodString;
|
|
6344
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6345
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6346
|
+
kind: _$zod.ZodLiteral<"canonical-model">;
|
|
6347
|
+
model: _$zod.ZodString;
|
|
6348
|
+
}, _$zod_v4_core0.$loose>, _$zod.ZodObject<{
|
|
5045
6349
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5046
6350
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5047
6351
|
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -5142,7 +6446,8 @@ declare const SessionSchemas: {
|
|
|
5142
6446
|
}, _$zod_v4_core0.$strip>>;
|
|
5143
6447
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5144
6448
|
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5145
|
-
|
|
6449
|
+
kind: _$zod.ZodString;
|
|
6450
|
+
}, _$zod_v4_core0.$loose>]>;
|
|
5146
6451
|
initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
5147
6452
|
role: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5148
6453
|
user: "user";
|
|
@@ -5399,6 +6704,7 @@ declare const SessionSchemas: {
|
|
|
5399
6704
|
kind: _$zod.ZodLiteral<"adapter">;
|
|
5400
6705
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5401
6706
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6707
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5402
6708
|
providerContext: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5403
6709
|
state: _$zod.ZodLiteral<"resolved">;
|
|
5404
6710
|
providerConfigId: _$zod.ZodString;
|
|
@@ -6136,6 +7442,14 @@ declare const SessionSchemas: {
|
|
|
6136
7442
|
adapterName: _$zod.ZodString;
|
|
6137
7443
|
sessionId: _$zod.ZodString;
|
|
6138
7444
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7445
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7446
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7447
|
+
confirmed: "confirmed";
|
|
7448
|
+
moved: "moved";
|
|
7449
|
+
inherited: "inherited";
|
|
7450
|
+
}>>;
|
|
7451
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
7452
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6139
7453
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6140
7454
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6141
7455
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -6156,6 +7470,7 @@ declare const SessionSchemas: {
|
|
|
6156
7470
|
status: _$zod.ZodEnum<{
|
|
6157
7471
|
idle: "idle";
|
|
6158
7472
|
active: "active";
|
|
7473
|
+
starting: "starting";
|
|
6159
7474
|
dead: "dead";
|
|
6160
7475
|
disposed: "disposed";
|
|
6161
7476
|
}>;
|
|
@@ -6163,8 +7478,8 @@ declare const SessionSchemas: {
|
|
|
6163
7478
|
lastActivityAt: _$zod.ZodNumber;
|
|
6164
7479
|
}, _$zod_v4_core0.$strip>>;
|
|
6165
7480
|
status: _$zod.ZodEnum<{
|
|
6166
|
-
discovered: "discovered";
|
|
6167
7481
|
closed: "closed";
|
|
7482
|
+
discovered: "discovered";
|
|
6168
7483
|
active: "active";
|
|
6169
7484
|
archived: "archived";
|
|
6170
7485
|
}>;
|
|
@@ -6187,6 +7502,12 @@ declare const SessionSchemas: {
|
|
|
6187
7502
|
}>>;
|
|
6188
7503
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6189
7504
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7505
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7506
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7507
|
+
confirmed: "confirmed";
|
|
7508
|
+
moved: "moved";
|
|
7509
|
+
inherited: "inherited";
|
|
7510
|
+
}>>;
|
|
6190
7511
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6191
7512
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6192
7513
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6249,6 +7570,14 @@ declare const SessionSchemas: {
|
|
|
6249
7570
|
adapterName: _$zod.ZodString;
|
|
6250
7571
|
sessionId: _$zod.ZodString;
|
|
6251
7572
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7573
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7574
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7575
|
+
confirmed: "confirmed";
|
|
7576
|
+
moved: "moved";
|
|
7577
|
+
inherited: "inherited";
|
|
7578
|
+
}>>;
|
|
7579
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
7580
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6252
7581
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6253
7582
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6254
7583
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -6269,6 +7598,7 @@ declare const SessionSchemas: {
|
|
|
6269
7598
|
status: _$zod.ZodEnum<{
|
|
6270
7599
|
idle: "idle";
|
|
6271
7600
|
active: "active";
|
|
7601
|
+
starting: "starting";
|
|
6272
7602
|
dead: "dead";
|
|
6273
7603
|
disposed: "disposed";
|
|
6274
7604
|
}>;
|
|
@@ -6708,8 +8038,8 @@ declare const SessionSchemas: {
|
|
|
6708
8038
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
6709
8039
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6710
8040
|
intent: _$zod.ZodEnum<{
|
|
6711
|
-
fork: "fork";
|
|
6712
8041
|
resume: "resume";
|
|
8042
|
+
fork: "fork";
|
|
6713
8043
|
}>;
|
|
6714
8044
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
6715
8045
|
reason: _$zod.ZodEnum<{
|
|
@@ -6727,14 +8057,15 @@ declare const SessionSchemas: {
|
|
|
6727
8057
|
"native-attempt-failed": "native-attempt-failed";
|
|
6728
8058
|
"agent-already-started": "agent-already-started";
|
|
6729
8059
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
8060
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
6730
8061
|
}>;
|
|
6731
8062
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6732
8063
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6733
8064
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6734
8065
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6735
8066
|
intent: _$zod.ZodEnum<{
|
|
6736
|
-
fork: "fork";
|
|
6737
8067
|
resume: "resume";
|
|
8068
|
+
fork: "fork";
|
|
6738
8069
|
}>;
|
|
6739
8070
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
6740
8071
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -6773,6 +8104,14 @@ declare const SessionSchemas: {
|
|
|
6773
8104
|
adapterName: _$zod.ZodString;
|
|
6774
8105
|
sessionId: _$zod.ZodString;
|
|
6775
8106
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8107
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8108
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
8109
|
+
confirmed: "confirmed";
|
|
8110
|
+
moved: "moved";
|
|
8111
|
+
inherited: "inherited";
|
|
8112
|
+
}>>;
|
|
8113
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8114
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6776
8115
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6777
8116
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6778
8117
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -6793,6 +8132,7 @@ declare const SessionSchemas: {
|
|
|
6793
8132
|
status: _$zod.ZodEnum<{
|
|
6794
8133
|
idle: "idle";
|
|
6795
8134
|
active: "active";
|
|
8135
|
+
starting: "starting";
|
|
6796
8136
|
dead: "dead";
|
|
6797
8137
|
disposed: "disposed";
|
|
6798
8138
|
}>;
|
|
@@ -6800,8 +8140,8 @@ declare const SessionSchemas: {
|
|
|
6800
8140
|
lastActivityAt: _$zod.ZodNumber;
|
|
6801
8141
|
}, _$zod_v4_core0.$strip>>;
|
|
6802
8142
|
status: _$zod.ZodEnum<{
|
|
6803
|
-
discovered: "discovered";
|
|
6804
8143
|
closed: "closed";
|
|
8144
|
+
discovered: "discovered";
|
|
6805
8145
|
active: "active";
|
|
6806
8146
|
archived: "archived";
|
|
6807
8147
|
}>;
|
|
@@ -6824,6 +8164,12 @@ declare const SessionSchemas: {
|
|
|
6824
8164
|
}>>;
|
|
6825
8165
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6826
8166
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8167
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8168
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
8169
|
+
confirmed: "confirmed";
|
|
8170
|
+
moved: "moved";
|
|
8171
|
+
inherited: "inherited";
|
|
8172
|
+
}>>;
|
|
6827
8173
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6828
8174
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6829
8175
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6886,6 +8232,14 @@ declare const SessionSchemas: {
|
|
|
6886
8232
|
adapterName: _$zod.ZodString;
|
|
6887
8233
|
sessionId: _$zod.ZodString;
|
|
6888
8234
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8235
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8236
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
8237
|
+
confirmed: "confirmed";
|
|
8238
|
+
moved: "moved";
|
|
8239
|
+
inherited: "inherited";
|
|
8240
|
+
}>>;
|
|
8241
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8242
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6889
8243
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6890
8244
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6891
8245
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -6906,6 +8260,7 @@ declare const SessionSchemas: {
|
|
|
6906
8260
|
status: _$zod.ZodEnum<{
|
|
6907
8261
|
idle: "idle";
|
|
6908
8262
|
active: "active";
|
|
8263
|
+
starting: "starting";
|
|
6909
8264
|
dead: "dead";
|
|
6910
8265
|
disposed: "disposed";
|
|
6911
8266
|
}>;
|
|
@@ -7345,8 +8700,8 @@ declare const SessionSchemas: {
|
|
|
7345
8700
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
7346
8701
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
7347
8702
|
intent: _$zod.ZodEnum<{
|
|
7348
|
-
fork: "fork";
|
|
7349
8703
|
resume: "resume";
|
|
8704
|
+
fork: "fork";
|
|
7350
8705
|
}>;
|
|
7351
8706
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
7352
8707
|
reason: _$zod.ZodEnum<{
|
|
@@ -7364,14 +8719,15 @@ declare const SessionSchemas: {
|
|
|
7364
8719
|
"native-attempt-failed": "native-attempt-failed";
|
|
7365
8720
|
"agent-already-started": "agent-already-started";
|
|
7366
8721
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
8722
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
7367
8723
|
}>;
|
|
7368
8724
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7369
8725
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7370
8726
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7371
8727
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
7372
8728
|
intent: _$zod.ZodEnum<{
|
|
7373
|
-
fork: "fork";
|
|
7374
8729
|
resume: "resume";
|
|
8730
|
+
fork: "fork";
|
|
7375
8731
|
}>;
|
|
7376
8732
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
7377
8733
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -7474,8 +8830,8 @@ declare const SessionSchemas: {
|
|
|
7474
8830
|
timestamp: _$zod.ZodNumber;
|
|
7475
8831
|
}, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
7476
8832
|
intent: _$zod.ZodEnum<{
|
|
7477
|
-
fork: "fork";
|
|
7478
8833
|
resume: "resume";
|
|
8834
|
+
fork: "fork";
|
|
7479
8835
|
}>;
|
|
7480
8836
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
7481
8837
|
reason: _$zod.ZodEnum<{
|
|
@@ -7493,14 +8849,15 @@ declare const SessionSchemas: {
|
|
|
7493
8849
|
"native-attempt-failed": "native-attempt-failed";
|
|
7494
8850
|
"agent-already-started": "agent-already-started";
|
|
7495
8851
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
8852
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
7496
8853
|
}>;
|
|
7497
8854
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7498
8855
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7499
8856
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7500
8857
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
7501
8858
|
intent: _$zod.ZodEnum<{
|
|
7502
|
-
fork: "fork";
|
|
7503
8859
|
resume: "resume";
|
|
8860
|
+
fork: "fork";
|
|
7504
8861
|
}>;
|
|
7505
8862
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
7506
8863
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -7518,8 +8875,8 @@ declare const SessionSchemas: {
|
|
|
7518
8875
|
maxTokens: _$zod.ZodNumber;
|
|
7519
8876
|
percentage: _$zod.ZodNumber;
|
|
7520
8877
|
level: _$zod.ZodEnum<{
|
|
7521
|
-
warn: "warn";
|
|
7522
8878
|
ok: "ok";
|
|
8879
|
+
warn: "warn";
|
|
7523
8880
|
critical: "critical";
|
|
7524
8881
|
}>;
|
|
7525
8882
|
lastUpdatedAt: _$zod.ZodNumber;
|
|
@@ -7859,8 +9216,8 @@ declare const SessionSchemas: {
|
|
|
7859
9216
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
7860
9217
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
7861
9218
|
intent: _$zod.ZodEnum<{
|
|
7862
|
-
fork: "fork";
|
|
7863
9219
|
resume: "resume";
|
|
9220
|
+
fork: "fork";
|
|
7864
9221
|
}>;
|
|
7865
9222
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
7866
9223
|
reason: _$zod.ZodEnum<{
|
|
@@ -7878,14 +9235,15 @@ declare const SessionSchemas: {
|
|
|
7878
9235
|
"native-attempt-failed": "native-attempt-failed";
|
|
7879
9236
|
"agent-already-started": "agent-already-started";
|
|
7880
9237
|
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
9238
|
+
"adapter-session-moved": "adapter-session-moved";
|
|
7881
9239
|
}>;
|
|
7882
9240
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7883
9241
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7884
9242
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7885
9243
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
7886
9244
|
intent: _$zod.ZodEnum<{
|
|
7887
|
-
fork: "fork";
|
|
7888
9245
|
resume: "resume";
|
|
9246
|
+
fork: "fork";
|
|
7889
9247
|
}>;
|
|
7890
9248
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
7891
9249
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -7904,8 +9262,8 @@ declare const SessionSchemas: {
|
|
|
7904
9262
|
request: _$zod.ZodObject<{
|
|
7905
9263
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7906
9264
|
all: "all";
|
|
7907
|
-
discovered: "discovered";
|
|
7908
9265
|
closed: "closed";
|
|
9266
|
+
discovered: "discovered";
|
|
7909
9267
|
active: "active";
|
|
7910
9268
|
archived: "archived";
|
|
7911
9269
|
}>>;
|
|
@@ -7925,6 +9283,14 @@ declare const SessionSchemas: {
|
|
|
7925
9283
|
adapterName: _$zod.ZodString;
|
|
7926
9284
|
sessionId: _$zod.ZodString;
|
|
7927
9285
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9286
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9287
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9288
|
+
confirmed: "confirmed";
|
|
9289
|
+
moved: "moved";
|
|
9290
|
+
inherited: "inherited";
|
|
9291
|
+
}>>;
|
|
9292
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9293
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
7928
9294
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7929
9295
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7930
9296
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7945,6 +9311,7 @@ declare const SessionSchemas: {
|
|
|
7945
9311
|
status: _$zod.ZodEnum<{
|
|
7946
9312
|
idle: "idle";
|
|
7947
9313
|
active: "active";
|
|
9314
|
+
starting: "starting";
|
|
7948
9315
|
dead: "dead";
|
|
7949
9316
|
disposed: "disposed";
|
|
7950
9317
|
}>;
|
|
@@ -7952,8 +9319,8 @@ declare const SessionSchemas: {
|
|
|
7952
9319
|
lastActivityAt: _$zod.ZodNumber;
|
|
7953
9320
|
}, _$zod_v4_core0.$strip>>;
|
|
7954
9321
|
status: _$zod.ZodEnum<{
|
|
7955
|
-
discovered: "discovered";
|
|
7956
9322
|
closed: "closed";
|
|
9323
|
+
discovered: "discovered";
|
|
7957
9324
|
active: "active";
|
|
7958
9325
|
archived: "archived";
|
|
7959
9326
|
}>;
|
|
@@ -7976,6 +9343,12 @@ declare const SessionSchemas: {
|
|
|
7976
9343
|
}>>;
|
|
7977
9344
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7978
9345
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9346
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9347
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9348
|
+
confirmed: "confirmed";
|
|
9349
|
+
moved: "moved";
|
|
9350
|
+
inherited: "inherited";
|
|
9351
|
+
}>>;
|
|
7979
9352
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7980
9353
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7981
9354
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -8045,8 +9418,8 @@ declare const SessionSchemas: {
|
|
|
8045
9418
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8046
9419
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
8047
9420
|
all: "all";
|
|
8048
|
-
discovered: "discovered";
|
|
8049
9421
|
closed: "closed";
|
|
9422
|
+
discovered: "discovered";
|
|
8050
9423
|
active: "active";
|
|
8051
9424
|
archived: "archived";
|
|
8052
9425
|
}>>;
|
|
@@ -8063,6 +9436,14 @@ declare const SessionSchemas: {
|
|
|
8063
9436
|
adapterName: _$zod.ZodString;
|
|
8064
9437
|
sessionId: _$zod.ZodString;
|
|
8065
9438
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9439
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9440
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9441
|
+
confirmed: "confirmed";
|
|
9442
|
+
moved: "moved";
|
|
9443
|
+
inherited: "inherited";
|
|
9444
|
+
}>>;
|
|
9445
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9446
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8066
9447
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8067
9448
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8068
9449
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -8083,6 +9464,7 @@ declare const SessionSchemas: {
|
|
|
8083
9464
|
status: _$zod.ZodEnum<{
|
|
8084
9465
|
idle: "idle";
|
|
8085
9466
|
active: "active";
|
|
9467
|
+
starting: "starting";
|
|
8086
9468
|
dead: "dead";
|
|
8087
9469
|
disposed: "disposed";
|
|
8088
9470
|
}>;
|
|
@@ -8090,8 +9472,8 @@ declare const SessionSchemas: {
|
|
|
8090
9472
|
lastActivityAt: _$zod.ZodNumber;
|
|
8091
9473
|
}, _$zod_v4_core0.$strip>>;
|
|
8092
9474
|
status: _$zod.ZodEnum<{
|
|
8093
|
-
discovered: "discovered";
|
|
8094
9475
|
closed: "closed";
|
|
9476
|
+
discovered: "discovered";
|
|
8095
9477
|
active: "active";
|
|
8096
9478
|
archived: "archived";
|
|
8097
9479
|
}>;
|
|
@@ -8114,6 +9496,12 @@ declare const SessionSchemas: {
|
|
|
8114
9496
|
}>>;
|
|
8115
9497
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8116
9498
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9499
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9500
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9501
|
+
confirmed: "confirmed";
|
|
9502
|
+
moved: "moved";
|
|
9503
|
+
inherited: "inherited";
|
|
9504
|
+
}>>;
|
|
8117
9505
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8118
9506
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8119
9507
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -8192,6 +9580,14 @@ declare const SessionSchemas: {
|
|
|
8192
9580
|
adapterName: _$zod.ZodString;
|
|
8193
9581
|
sessionId: _$zod.ZodString;
|
|
8194
9582
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9583
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9584
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9585
|
+
confirmed: "confirmed";
|
|
9586
|
+
moved: "moved";
|
|
9587
|
+
inherited: "inherited";
|
|
9588
|
+
}>>;
|
|
9589
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9590
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8195
9591
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8196
9592
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8197
9593
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -8212,6 +9608,7 @@ declare const SessionSchemas: {
|
|
|
8212
9608
|
status: _$zod.ZodEnum<{
|
|
8213
9609
|
idle: "idle";
|
|
8214
9610
|
active: "active";
|
|
9611
|
+
starting: "starting";
|
|
8215
9612
|
dead: "dead";
|
|
8216
9613
|
disposed: "disposed";
|
|
8217
9614
|
}>;
|
|
@@ -8219,8 +9616,8 @@ declare const SessionSchemas: {
|
|
|
8219
9616
|
lastActivityAt: _$zod.ZodNumber;
|
|
8220
9617
|
}, _$zod_v4_core0.$strip>>;
|
|
8221
9618
|
status: _$zod.ZodEnum<{
|
|
8222
|
-
discovered: "discovered";
|
|
8223
9619
|
closed: "closed";
|
|
9620
|
+
discovered: "discovered";
|
|
8224
9621
|
active: "active";
|
|
8225
9622
|
archived: "archived";
|
|
8226
9623
|
}>;
|
|
@@ -8243,6 +9640,12 @@ declare const SessionSchemas: {
|
|
|
8243
9640
|
}>>;
|
|
8244
9641
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8245
9642
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9643
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9644
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9645
|
+
confirmed: "confirmed";
|
|
9646
|
+
moved: "moved";
|
|
9647
|
+
inherited: "inherited";
|
|
9648
|
+
}>>;
|
|
8246
9649
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8247
9650
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8248
9651
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -8435,6 +9838,14 @@ declare const SessionSchemas: {
|
|
|
8435
9838
|
adapterName: _$zod.ZodString;
|
|
8436
9839
|
sessionId: _$zod.ZodString;
|
|
8437
9840
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9841
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9842
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9843
|
+
confirmed: "confirmed";
|
|
9844
|
+
moved: "moved";
|
|
9845
|
+
inherited: "inherited";
|
|
9846
|
+
}>>;
|
|
9847
|
+
revision: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9848
|
+
currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8438
9849
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8439
9850
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8440
9851
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -8455,6 +9866,7 @@ declare const SessionSchemas: {
|
|
|
8455
9866
|
status: _$zod.ZodEnum<{
|
|
8456
9867
|
idle: "idle";
|
|
8457
9868
|
active: "active";
|
|
9869
|
+
starting: "starting";
|
|
8458
9870
|
dead: "dead";
|
|
8459
9871
|
disposed: "disposed";
|
|
8460
9872
|
}>;
|
|
@@ -8462,8 +9874,8 @@ declare const SessionSchemas: {
|
|
|
8462
9874
|
lastActivityAt: _$zod.ZodNumber;
|
|
8463
9875
|
}, _$zod_v4_core0.$strip>>;
|
|
8464
9876
|
status: _$zod.ZodEnum<{
|
|
8465
|
-
discovered: "discovered";
|
|
8466
9877
|
closed: "closed";
|
|
9878
|
+
discovered: "discovered";
|
|
8467
9879
|
active: "active";
|
|
8468
9880
|
archived: "archived";
|
|
8469
9881
|
}>;
|
|
@@ -8486,6 +9898,12 @@ declare const SessionSchemas: {
|
|
|
8486
9898
|
}>>;
|
|
8487
9899
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8488
9900
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9901
|
+
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9902
|
+
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
9903
|
+
confirmed: "confirmed";
|
|
9904
|
+
moved: "moved";
|
|
9905
|
+
inherited: "inherited";
|
|
9906
|
+
}>>;
|
|
8489
9907
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8490
9908
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8491
9909
|
clientAccountId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -8657,4 +10075,4 @@ type KnownSessionEvent = { [K in RuntimeKnownSessionEventType]: SessionEventBase
|
|
|
8657
10075
|
*/
|
|
8658
10076
|
declare function isKnownSessionEvent(event: MakaioSessionEvent$1): event is KnownSessionEvent;
|
|
8659
10077
|
//#endregion
|
|
8660
|
-
export {
|
|
10078
|
+
export { NativeForkDirective$1 as $, SessionRecordMetadata as $t, SessionOwnershipReserveStartServiceResult$1 as A, TurnUsage$1 as At, SegmentPolicySchema as B, ImportStatus as Bt, SessionOwnershipReleaseServiceRequest as C, SessionMessageSchema$1 as Ct, SessionOwnershipReserveStartServiceRequest as D, TurnSchema$1 as Dt, SessionOwnershipReservationSchema as E, TurnInitiatorSchema$1 as Et, SessionOwnershipSettleMovementServiceResponseSchema as F, AdapterSessionCurrencyStateSchema as Ft, ForkChildInfo as G, SnapshotExportOptions as Gt, SessionCreatedEventSchema as H, SNAPSHOT_VERSION as Ht, SessionOwnershipSettleMovementServiceResult as I, AgentRole$1 as It, SESSION_EVENT_TYPES as J, SnapshotPreviewData as Jt, ForkChildInfoSchema as K, SnapshotExportOptionsSchema as Kt, ForkTransforms$1 as L, AgentRoleSchema as Lt, SessionOwnershipServiceMovementSchema as M, UsageMetrics as Mt, SessionOwnershipSettleMovementServiceRequest as N, UsageMetricsSchema as Nt, SessionOwnershipReserveStartServiceRequestSchema as O, TurnStatus as Ot, SessionOwnershipSettleMovementServiceRequestSchema as P, AdapterSessionCurrencyState as Pt, SessionEventTypeSchema as Q, SessionPreviewDataSchema as Qt, ForkTransformsSchema$1 as R, BranchKind$1 as Rt, SessionOwnershipReconciledClaimSchema as S, SessionMessageRoleSchema as St, SessionOwnershipReservation as T, TurnInitiator$2 as Tt, SessionUpdatedEvent as U, SessionSnapshot as Ut, SessionCreated as V, ImportStatusSchema as Vt, SessionUpdatedEventSchema as W, SessionSnapshotSchema as Wt, SessionEventType$1 as X, validateSnapshot as Xt, SessionEventPayload as Y, safeValidateSnapshot as Yt, SessionEventTypeMap as Z, MakaioSessionSchema as Zt, SessionOwnershipReclaimReason$1 as _, SessionMessageBlock$1 as _t, SessionPreviewData as a, SessionCreateBase as an, AgentAttachResolvedRequest as at, SessionOwnershipReconcileServiceResult as b, SessionMessageOriginSchema as bt, SessionSchemas as c, TurnCompleted as ct, SessionOwnershipContinuationServiceRequest as d, TurnStarted as dt, SessionRecordMetadataSchema$1 as en, NativeForkDirectiveSchema as et, SessionOwnershipContinuationServiceRequestSchema as f, MessageRouting as ft, SessionOwnershipPrincipalSchema as g, SessionMessage$1 as gt, SessionOwnershipPrincipal as h, MessageRoutingStatusSchema as ht, MakaioSessionEvent$1 as i, MakaioSessionAgentSchema$1 as in, NativeLocalityVerdictSchema as it, SessionOwnershipServiceMovement as j, TurnUsageSchema$1 as jt, SessionOwnershipReserveStartServiceResponseSchema as k, TurnStatusSchema$1 as kt, OwnershipTopology$1 as l, TurnIngestionMarker$1 as lt, SessionOwnershipContinuationServiceResult as m, MessageRoutingStatus as mt, KnownSessionEvent as n, AgentStatus as nn, NativeLocalityReasonSchema as nt, SessionWithPreview as o, SessionCreateBaseSchema as on, SendMessageRequest as ot, SessionOwnershipContinuationServiceResponseSchema as p, MessageRoutingSchema$1 as pt, MakaioSessionEventSchema as q, SnapshotImportConflictErrorData as qt, MakaioSessionAgent$1 as r, AgentStatusSchema$1 as rn, NativeLocalityVerdict$1 as rt, isKnownSessionEvent as s, SendMessageResponse as st, IMakaioSession$1 as t, SessionWithPreviewSchema as tn, NativeLocalityReason as tt, OwnershipTopologySchema as u, TurnIngestionMarkerSchema$1 as ut, SessionOwnershipReclaimReasonSchema as v, SessionMessageBlockSchema as vt, SessionOwnershipReleaseServiceRequestSchema as w, Turn$1 as wt, SessionOwnershipReconciledClaim as x, SessionMessageRole as xt, SessionOwnershipReconcileServiceResponseSchema as y, SessionMessageOrigin$1 as yt, SegmentPolicy as z, BranchKindSchema as zt };
|