@makaio/framework 1.0.0-dev-1787670559522 → 1.0.0-dev-1787949057928
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-DGpXd8h_.mjs → account-identity-B3vLwm9O.mjs} +1 -1
- package/dist/adapter-Dz1fX5Wa.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +118 -76
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.d.mts +5 -5
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +73 -53
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/{artifact-k3veR4Yx.mjs → artifact-Btbuib48.mjs} +1 -1
- package/dist/attach-error-Cb3GbeKe.mjs +1 -0
- package/dist/{auth-A1K_7q-8.mjs → auth-C6tVtaOX.mjs} +1 -1
- package/dist/{authority-state-bootstrap-YwtEImIB.mjs → authority-state-bootstrap-CLYus369.mjs} +1 -1
- package/dist/{automation-trigger-CuSdQwir.mjs → automation-trigger-ByjNlClm.mjs} +1 -1
- package/dist/bus/index.d.mts +22 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CqgrphNE.mjs → bus-D6NoBhIV.mjs} +1 -1
- package/dist/bus-UgFdHybD.mjs +1 -0
- package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
- package/dist/{canonical-model-DJASlL4m.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
- package/dist/capabilities-BUwuA7XX.mjs +1 -0
- package/dist/capability-j3NekkIu.mjs +1 -0
- package/dist/{client-BL5__WT0.mjs → client-BkznbdsO.mjs} +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/code-execution/worker-entry.d.mts +21 -0
- package/dist/code-execution/worker-entry.mjs +1 -0
- package/dist/code-execution-Ckmn8OZu.mjs +1 -0
- package/dist/code-execution-CweDSWco.mjs +1 -0
- package/dist/code-execution-DqkQjKa1.mjs +1 -0
- package/dist/{compression-BbttSqm8.mjs → compression-CtgeVLpP.mjs} +1 -1
- package/dist/{config-namespace-CyzeLWSg.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
- package/dist/{context-resolution-ya9TXKg-.d.mts → context-resolution-841T7jBI.d.mts} +1 -1
- package/dist/contracts/adapter/index.d.mts +3 -3
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/automation-trigger/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +2 -0
- package/dist/contracts/code-execution/index.mjs +1 -0
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +62 -52
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +3 -3
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker-node/index.d.mts +1 -1
- package/dist/contracts/worker-node/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-BB5bjx3f.d.mts → contribution-CUHLVLsT.d.mts} +2 -2
- package/dist/core/index.d.mts +25 -2
- package/dist/{definition-CDg-Jq1T.mjs → definition-BH4QLGLI.mjs} +1 -1
- package/dist/{definition-BYgHlmMw.d.mts → definition-DyGImhyi.d.mts} +1 -1
- package/dist/{detached-extension-handle-DKd17UB6.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
- package/dist/drizzle/0034_m_msha1388.sql +41 -0
- package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
- package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
- package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
- package/dist/drizzle/meta/_journal.json +28 -0
- package/dist/event-B8ELuk6k.mjs +1 -0
- package/dist/{execution-attempt-repository-DFyAnchJ.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
- package/dist/{execution-target-ByNwZh5-.mjs → execution-target-H0RWV7Py.mjs} +1 -1
- package/dist/{extension-DUmibvMk.mjs → extension-Bfkr2DBs.mjs} +1 -1
- package/dist/{extension-DMdmj9gi.mjs → extension-Cz39YNXy.mjs} +1 -1
- package/dist/{extension-discovery-Fhps4icD.d.mts → extension-discovery-Dhu3WplO.d.mts} +9 -1
- package/dist/{filesystem-service-FAtd9gWH.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
- package/dist/framework-packages-BHgul8Kl.mjs +1 -0
- package/dist/git/index.mjs +2 -2
- package/dist/{globby-BBLuT_vy.mjs → globby-QBDqstzq.mjs} +1 -1
- package/dist/handlers-BsHAFtye.mjs +57 -0
- package/dist/{harness-KxbWGL4I.mjs → harness-YQ2ewID9.mjs} +1 -1
- package/dist/{hook-responses-uCXAICTU.d.mts → hook-responses-9Ywsqzzq.d.mts} +1 -1
- package/dist/identity-OjRlG6dZ.mjs +1 -0
- package/dist/{index-CfiCJPP6.d.mts → index-B0VO0rAl.d.mts} +1 -1
- package/dist/{index-DI7-tIL3.d.mts → index-B0yMCJW8.d.mts} +39 -14
- package/dist/{index-CER64zYO.d.mts → index-B9io6JAL.d.mts} +15 -15
- package/dist/{index-CqQYgsbB.d.mts → index-BNzUyVwV.d.mts} +513 -170
- package/dist/{index-1UcQWrZy.d.mts → index-BUwDmh1I.d.mts} +142 -142
- package/dist/{index-CM75k-Ff.d.mts → index-BkbnC65b.d.mts} +189 -17
- package/dist/index-Bqk0pJBQ2.d.mts +138 -0
- package/dist/{index-C-JzEkqs.d.mts → index-C146Eq_J.d.mts} +535 -1801
- package/dist/{index-C__EQfKa.d.mts → index-CIEycZrt.d.mts} +1 -1
- package/dist/{index-DxYDRoDE2.d.mts → index-CMekqu_D.d.mts} +28 -8
- package/dist/{index-nydhGvXa.d.mts → index-CPRQ4dWX.d.mts} +0 -23
- package/dist/{index-BSQ30wYP.d.mts → index-CPi0UpRh.d.mts} +1 -1
- package/dist/{index-BtdK8HeH.d.mts → index-CVNbBtA-.d.mts} +72 -197
- package/dist/{index-BMVZs6pm.d.mts → index-CYjgoYeX.d.mts} +3 -3
- package/dist/{index-CSN_0sCo.d.mts → index-CmwAJ8-5.d.mts} +1 -1
- package/dist/index-Cny5RvjO.d.mts +800 -0
- package/dist/{index-B0xJgTi-.d.mts → index-D8D-yibS2.d.mts} +4 -4
- package/dist/index-DHnSLGP4.d.mts +268 -0
- package/dist/index-DQ8o3JGi.d.mts +132 -0
- package/dist/index-DWBkiiXH.d.mts +18 -0
- package/dist/{index-cPqSpWQC.d.mts → index-DfUpqwBa2.d.mts} +16 -16
- package/dist/index-Dg11JxKZ.d.mts +496 -0
- package/dist/{index-Bl7KWFod.d.mts → index-NUByQvlg.d.mts} +15 -15
- package/dist/{index-e4Txan9i.d.mts → index-cLB38AWX.d.mts} +64 -64
- package/dist/json-value-BBZ6uGwc.mjs +1 -0
- package/dist/json-value-DPqb-SJ8.d.mts +177 -0
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/{lib-CnOAtohU.mjs → lib-BpGvHZye.mjs} +2 -2
- package/dist/{lib-B_rJ6r0T.mjs → lib-Cm-uEoC1.mjs} +1 -1
- package/dist/{load-extensions-DUpaMQ7G.d.mts → load-extensions-BQoXaHhR.d.mts} +1 -1
- package/dist/{load-extensions-CW9uzNR5.mjs → load-extensions-DG5LvPyM.mjs} +1 -1
- package/dist/{materialization-CcpCDhXh.mjs → materialization-lVd9_-jr.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-DrzPt3ou.mjs +1 -0
- package/dist/{namespace-B7bntOB8.mjs → namespace-BL7lHlmg.mjs} +1 -1
- package/dist/{namespace-BgEiY7r1.d.mts → namespace-BNp7n_gu.d.mts} +3 -3
- package/dist/{namespace-DSlfFhB1.d.mts → namespace-BRuHzhPo.d.mts} +154 -2
- package/dist/{namespace-ChnRTUG4.d.mts → namespace-C06lJSuj.d.mts} +6 -6
- package/dist/{namespace-C6CVEGH8.d.mts → namespace-DknCutQZ.d.mts} +50 -0
- package/dist/namespace-sCPb79-7.mjs +1 -0
- package/dist/{native-session-supervisor-fZYPUk0-.mjs → native-session-supervisor-LKio8XZn.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/npm-package-name-DuTYVICk.mjs +1 -0
- package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
- package/dist/{orchestrator-shared-B-KRW1Z0.d.mts → orchestrator-shared-CNHSImNY.d.mts} +9 -10
- package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
- package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
- package/dist/{package-ypz4rKvn.mjs → package-B01gmu75.mjs} +1 -1
- package/dist/{package-Bf3hyuzs.d.mts → package-BNFTUFLB.d.mts} +2 -2
- package/dist/package-DttKA9wN.mjs +1 -0
- package/dist/{package-CddkNbZI.mjs → package-JtjbO-Oi.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{profile-BtznZlq3.mjs → profile-N5qGUpF0.mjs} +1 -1
- package/dist/{provider-context-Dh-VOOYF.mjs → provider-context-CG42JlP9.mjs} +1 -1
- package/dist/{provider-context-BrLZYnDW.mjs → provider-context-zTDSH2x9.mjs} +1 -1
- package/dist/{reaction-BS0k4eNN.mjs → reaction-D3TNwPK8.mjs} +1 -1
- package/dist/{registry-BO_bOoky.mjs → registry-Dk12tAfv.mjs} +1 -1
- package/dist/{resolved-DMByz1_2.mjs → resolved-sq8RXNDf.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/rules/schemas.mjs +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +3 -0
- package/dist/runtime-node/code-execution/index.mjs +1 -0
- package/dist/runtime-node/extension-discovery.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.mjs +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +6 -4
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-DKTzriEY.d.mts → schema-B3Pf7JP7.d.mts} +250 -3
- package/dist/{schema-DBG7Jq5_.mjs → schema-Dq-7si8u.mjs} +1 -1
- package/dist/{schemas-DvMbcABQ.d.mts → schemas-BAv9RB9M.d.mts} +4 -4
- package/dist/{schemas-DSkBOdx_.mjs → schemas-BfO5jkrL.mjs} +1 -1
- package/dist/{schemas-B7zo7Zcx.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
- package/dist/schemas-C3kyQWGf.mjs +1 -0
- package/dist/{schemas-B3bfVYcL.d.mts → schemas-CF8QwRqt.d.mts} +2 -0
- package/dist/{schemas-DZH9lpxs.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
- package/dist/{schemas-CsjN7cmM.mjs → schemas-QWDnauKX.mjs} +1 -1
- package/dist/schemas-TK29KWx-.mjs +1 -0
- package/dist/schemas-_2Syo_01.mjs +1 -0
- package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
- package/dist/{selection-7Ku8DBnh.mjs → selection-DL3ric7K.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +4 -4
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +2 -2
- package/dist/services/adapter-runtime/schemas.mjs +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/automation-trigger/index.mjs +1 -1
- package/dist/services/capability/index.d.mts +3 -2
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/code-execution/index.d.mts +2 -0
- package/dist/services/code-execution/index.mjs +1 -0
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +18 -0
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +10 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +160 -60
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +10 -10
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +2 -2
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +22 -1
- package/dist/services/session/testing/index.mjs +38 -14
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BOpTI79g.mjs +1 -0
- package/dist/session-CXOPk3yg.mjs +95 -0
- package/dist/{shared-BFVuCDPx.mjs → shared-B9AWRm9A.mjs} +1 -1
- package/dist/{skill-C1D51nhh.mjs → skill-DGNtc_ww.mjs} +1 -1
- package/dist/{src-xbmzokNe.mjs → src-BmSQ3rlz.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +41 -2
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/tool-approval-service-BFDOFUGC.mjs +1 -0
- package/dist/{tools-DxwHox1a.mjs → tools-DWKWX3eV.mjs} +1 -1
- package/dist/{transition-C_Ka6b0-.d.mts → transition-D3zUBTPc.d.mts} +6 -6
- package/dist/{types-BNjPhj_a.d.mts → types-CtDGkyLx2.d.mts} +1 -1
- package/dist/types-Cwza95hS.mjs +1 -0
- package/dist/{types-CwvN4uN2.d.mts → types-DcxBYlPA.d.mts} +3018 -38
- package/dist/types-DnK6Wa_Y.d.mts +260 -0
- package/dist/{types-ClpEaoAm.d.mts → types-OKJCOjme.d.mts} +24 -4
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +22 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.mjs +1 -1
- package/dist/{version-BfNnVAGr.mjs → version-BYeVh1pI.mjs} +1 -1
- package/dist/{view-builder-KYsPqV-5.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
- package/dist/{visibility-Dl1o2I01.mjs → visibility-DtDLRBdr.mjs} +1 -1
- package/dist/worker-node-CjuQb9hl.mjs +1 -0
- package/dist/{worker-node-DJ41Tr-F.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
- package/dist/workflow-C4mck_NW.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +88 -88
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +2 -2
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-DM0fN_eP.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
- package/dist/workflow-worker-aNbdgqml.mjs +1 -0
- package/package.json +18 -1
- package/dist/adapter-BkdJaOOG.mjs +0 -1
- package/dist/agent-namespace-D51PODFf.mjs +0 -1
- package/dist/attach-error-BSlc7JfL.mjs +0 -1
- package/dist/bus-BIj0_aG6.mjs +0 -1
- package/dist/capabilities-Bqckjh7G.mjs +0 -1
- package/dist/capability-service-CJHNkjvm.mjs +0 -1
- package/dist/event-DR8U9Efx.mjs +0 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +0 -1
- package/dist/handlers-2yd00VEq.mjs +0 -57
- package/dist/identity-DC3Pk0ps.mjs +0 -1
- package/dist/index-OsbtyMgx2.d.mts +0 -98
- package/dist/json-value-C1RGgS0a.d.mts +0 -72
- package/dist/json-value-D57aJhVn.mjs +0 -1
- package/dist/model-ZH3L1dPW.mjs +0 -1
- package/dist/namespace-CxrOLeeP.mjs +0 -1
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +0 -1
- package/dist/ownership-memory-handler-Bblp93YC.mjs +0 -1
- package/dist/schemas-BqD8LlQw.mjs +0 -1
- package/dist/schemas-CvHFbzdy.mjs +0 -1
- package/dist/schemas-DplrlAyR.mjs +0 -1
- package/dist/scoped-bus-ClwTWqX8.mjs +0 -1
- package/dist/session-BMy2kRpX.mjs +0 -90
- package/dist/session-Cipx34j6.mjs +0 -1
- package/dist/tool-approval-service-BVgN9Q1r.mjs +0 -1
- package/dist/worker-node-BDOYPEpi.mjs +0 -1
- package/dist/workflow-Hzc5jlnV.mjs +0 -1
- package/dist/workflow-worker-DARC7UZl.mjs +0 -1
- /package/dist/{adapter-auth-runtime-D9Lnl7cc.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
- /package/dist/{adapter-binding-B-FBoCys.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
- /package/dist/{ajv-L5fKxaia.mjs → ajv-krzJXh1X.mjs} +0 -0
- /package/dist/{attempt-record-codec-DaFLKR5C.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
- /package/dist/{await-trigger-ph1S0zVI.mjs → await-trigger-Bkg2BQfg.mjs} +0 -0
- /package/dist/{base-orchestrator-D9u4NyiM.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
- /package/dist/{index-Ol9RBB0W2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
- /package/dist/{client-4ihewPUm.d.mts → client-BG0WX5Vz.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-DJajc_Ff.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-jDDZ64Ah.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
- /package/dist/{clients-namespace-DFWuUawf.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
- /package/dist/{config-namespace-D1kyZj0B.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
- /package/dist/{create-static-mount-9tnGpIeK.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
- /package/dist/{cross-spawn-BIgueAqr.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
- /package/dist/{cursor-storage-ROWfiTh1.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
- /package/dist/{definition-DB-kKc0d.d.mts → definition-BrgzUuFk.d.mts} +0 -0
- /package/dist/{definitions-CF6YmEhL.mjs → definitions-CRpdnHYM.mjs} +0 -0
- /package/dist/{descriptor-to-package-BecVCopf.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
- /package/dist/{drizzle-CPv3vdTE.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
- /package/dist/{esm-CBFWM8u_.mjs → esm-i-S5TW72.mjs} +0 -0
- /package/dist/{extension-context-DzB7ydM3.d.mts → extension-context-QmFuHdq5.d.mts} +0 -0
- /package/dist/{extension-namespace-B554RmCp.mjs → extension-namespace-QoTTwKPt.mjs} +0 -0
- /package/dist/{extension-package-provenance-Dh_-Z-tE.mjs → extension-package-provenance-aYrZuS4W.mjs} +0 -0
- /package/dist/{facet-DVsW12iF.mjs → facet-BnMh7Jyc.mjs} +0 -0
- /package/dist/{filesystem-service-Cm2RHKBa.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
- /package/dist/{handler-Bqlk-6BY.mjs → handler-DF1fVDpf.mjs} +0 -0
- /package/dist/{host-k5yoyKHg.mjs → host-B-_ntOMH.mjs} +0 -0
- /package/dist/{index--atUpi5l2.d.mts → index-8NdPPzUh2.d.mts} +0 -0
- /package/dist/{index-DwLRZscE.d.mts → index-8y4hT9WL.d.mts} +0 -0
- /package/dist/{index-C7HcDpHE.d.mts → index-B-3I98nw.d.mts} +0 -0
- /package/dist/{index-BcvqDfcN.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
- /package/dist/{index-BRCrFirq.d.mts → index-B4svZC6L.d.mts} +0 -0
- /package/dist/{index-CQuRTeRa.d.mts → index-B5dP8rj6.d.mts} +0 -0
- /package/dist/{index-CRmE88hi.d.mts → index-BC-6qNeo.d.mts} +0 -0
- /package/dist/{index-CxSSdIZz.d.mts → index-BFWvT0NG.d.mts} +0 -0
- /package/dist/{index-DP3o_13U.d.mts → index-BM56936c.d.mts} +0 -0
- /package/dist/{index-BVcQcphK.d.mts → index-BMRB9yhF.d.mts} +0 -0
- /package/dist/{index-bIe_57cL.d.mts → index-BTEJfzjE.d.mts} +0 -0
- /package/dist/{index-DgOfgjx3.d.mts → index-BfV8U4XX.d.mts} +0 -0
- /package/dist/{index-DBadVauL.d.mts → index-BmevAPME2.d.mts} +0 -0
- /package/dist/{index-OADt3xlS.d.mts → index-BuMsrli0.d.mts} +0 -0
- /package/dist/{index-BJAB-BW_.d.mts → index-C4V8Pmi4.d.mts} +0 -0
- /package/dist/{index-aoxdnhJ42.d.mts → index-CL0Jo1b92.d.mts} +0 -0
- /package/dist/{index-CvW9_SzR.d.mts → index-CVpaGijY.d.mts} +0 -0
- /package/dist/{index-E4SET1AA.d.mts → index-CmbkCxj-.d.mts} +0 -0
- /package/dist/{index-BgGe9WZz.d.mts → index-CqdMbYmR.d.mts} +0 -0
- /package/dist/{index-BQprJNA_.d.mts → index-D037TVsm.d.mts} +0 -0
- /package/dist/{index-BeENojSx2.d.mts → index-DgspOUa72.d.mts} +0 -0
- /package/dist/{index-42UdYStR.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
- /package/dist/{index-Beo_Ik8-.d.mts → index-VzLAV0Yt.d.mts} +0 -0
- /package/dist/{index-BSbGB23v.d.mts → index-jxPncqWZ2.d.mts} +0 -0
- /package/dist/{index-Bqm0ahTQ.d.mts → index-kzIjbrS02.d.mts} +0 -0
- /package/dist/{index-BJMezANn.d.mts → index-l01zsChf.d.mts} +0 -0
- /package/dist/{index-CK3f0bAL.d.mts → index-pvX-BIpr2.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bp_6pB2a.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
- /package/dist/{lib-Bwdd2m81.mjs → lib-BqV8hYtk.mjs} +0 -0
- /package/dist/{model-registry-yURX738J.mjs → model-registry-C9rFu3kV.mjs} +0 -0
- /package/dist/{model-registry-Y854mUml.mjs → model-registry-Cixxx2jv.mjs} +0 -0
- /package/dist/{modes-DmUsjHdV.mjs → modes-DwsJ3yVl.mjs} +0 -0
- /package/dist/{namespace-ByP1Iipi.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
- /package/dist/{namespace-C1D77w7U.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
- /package/dist/{namespace-Bi3CmYQy.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
- /package/dist/{namespace-CkBbNFSU.mjs → namespace-BW3Bfu9h.mjs} +0 -0
- /package/dist/{namespace-DX1Ec15L.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
- /package/dist/{namespace-Dgg0uoe6.d.mts → namespace-CPG6u60N.d.mts} +0 -0
- /package/dist/{namespace-BusZERU8.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
- /package/dist/{namespace-yREpGJgG.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
- /package/dist/{namespace-CrDlawqu.d.mts → namespace-DOezqDti.d.mts} +0 -0
- /package/dist/{namespace-CfIW0hpQ.mjs → namespace-DiwqpB-c.mjs} +0 -0
- /package/dist/{namespace-s2y_NFKf.d.mts → namespace-DqZweTbX.d.mts} +0 -0
- /package/dist/{namespace-CFjdyNXG.mjs → namespace-Du0accdE.mjs} +0 -0
- /package/dist/{namespace-BFqkUTJp.mjs → namespace-NXm_zvL1.mjs} +0 -0
- /package/dist/{namespace-B9FEGuEu.mjs → namespace-jVTsuZHX.mjs} +0 -0
- /package/dist/{namespace-DwZwGXgF.d.mts → namespace-l-HG1rLF.d.mts} +0 -0
- /package/dist/{namespace-DbNWsPFY.mjs → namespace-tjoxekmf.mjs} +0 -0
- /package/dist/{out-DrhwCgqM.mjs → out-8bOYN6EF.mjs} +0 -0
- /package/dist/{package-CBdvjyyZ.mjs → package-EGTn-Ng1.mjs} +0 -0
- /package/dist/{packages-FBv3fAOR.mjs → packages-Bp124-gx.mjs} +0 -0
- /package/dist/{packages-N3-2Kl-Y.d.mts → packages-CxPMEg8D.d.mts} +0 -0
- /package/dist/{platform-BrsMv_S3.mjs → platform-CxyYPrkf.mjs} +0 -0
- /package/dist/{provider-operation-DJ_TLZFf.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
- /package/dist/{providers-CCcn4Ndp.mjs → providers-C-eekMxD.mjs} +0 -0
- /package/dist/{providers-namespace-DeJBh6MP.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
- /package/dist/{quick-lru-uwB0hP-y.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
- /package/dist/{schema-jIapW8Kb.mjs → schema-C0opCPww.mjs} +0 -0
- /package/dist/{schema-introspection-C1wvklj9.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
- /package/dist/{schemas-CeUI2i5j.d.mts → schemas-B50oWBuj.d.mts} +0 -0
- /package/dist/{schemas-CD0wOQxx.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
- /package/dist/{schemas-DgwEVUt-.mjs → schemas-B8hKbBwI.mjs} +0 -0
- /package/dist/{schemas-sMoRnBdZ.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
- /package/dist/{schemas-BNdiVBWh.mjs → schemas-BivbWRkG.mjs} +0 -0
- /package/dist/{schemas-Cg-Kwp8c.d.mts → schemas-ChmQldVH.d.mts} +0 -0
- /package/dist/{schemas-VbB1FTxx.d.mts → schemas-D7ScxLrf.d.mts} +0 -0
- /package/dist/{schemas-Cv3rR9Sz.d.mts → schemas-Pe892GgN.d.mts} +0 -0
- /package/dist/{schemas-qA279_j_.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
- /package/dist/{schemas-mLpOfMoN.mjs → schemas-scyC2tFF.mjs} +0 -0
- /package/dist/{semver-DTXuyLcK.mjs → semver-BI7kTNsY.mjs} +0 -0
- /package/dist/{server-lifecycle-DKx_fWlq.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
- /package/dist/{server-lifecycle-C_8iKgat.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
- /package/dist/{session-lineage-D5E142LU.d.mts → session-lineage-bUkd3fqx.d.mts} +0 -0
- /package/dist/{shared-schemas-aahW97QW.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
- /package/dist/{src-DHqsl5Pg.mjs → src-BacfeiI4.mjs} +0 -0
- /package/dist/{storage-namespace-Dz2jsssp.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
- /package/dist/{storage-namespace-Tf3P5yJ5.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CDef0E20.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
- /package/dist/{supports-color-i7OTnKcZ.mjs → supports-color-SV_FgSN2.mjs} +0 -0
- /package/dist/{telemetry-BvCBUjFg.mjs → telemetry-BqoC87F-.mjs} +0 -0
- /package/dist/{timeout-B0nYjLc8.mjs → timeout-DVlN2Zhy.mjs} +0 -0
- /package/dist/{tray-menu-service-Deo6yyP8.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
- /package/dist/{types-xCdGghb2.d.mts → types-BlB23n4f.d.mts} +0 -0
- /package/dist/{types-CNS55jvt.d.mts → types-DdpSEmTO.d.mts} +0 -0
- /package/dist/{types-Ce6LL25v.d.mts → types-tyv0B605.d.mts} +0 -0
- /package/dist/{ui-config-BIyGzMNL.mjs → ui-config-B35GloSX.mjs} +0 -0
- /package/dist/{variant-B4uWdxW7.mjs → variant-Dwnge3J_.mjs} +0 -0
- /package/dist/{window-registry-CoBJq3u4.mjs → window-registry-CKiMJjId.mjs} +0 -0
- /package/dist/{window-registry-BLtVx3Iw.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
- /package/dist/{zod-json-schema-BAGAFfCN.mjs → zod-json-schema-Dixc-B1T.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as Message$1 } from "./index-
|
|
1
|
+
import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DcxBYlPA.mjs";
|
|
2
|
+
import { o as Message$1 } from "./index-CmwAJ8-5.mjs";
|
|
3
3
|
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-BsnYAPot.mjs";
|
|
4
4
|
import * as _$zod from "zod";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -15,22 +15,94 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
15
15
|
agentId: _$zod.ZodString;
|
|
16
16
|
adapterId: _$zod.ZodString;
|
|
17
17
|
adapterName: _$zod.ZodString;
|
|
18
|
+
ownerInstanceId: _$zod.ZodString;
|
|
18
19
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
20
|
role: _$zod.ZodEnum<{
|
|
20
21
|
lead: "lead";
|
|
21
22
|
member: "member";
|
|
22
23
|
}>;
|
|
23
24
|
resumeProviderSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
25
|
+
claimToken: _$zod.ZodString;
|
|
26
|
+
recoveryGuard: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
27
|
+
expectedStatus: _$zod.ZodEnum<{
|
|
28
|
+
idle: "idle";
|
|
29
|
+
active: "active";
|
|
30
|
+
starting: "starting";
|
|
31
|
+
dead: "dead";
|
|
32
|
+
disposed: "disposed";
|
|
33
|
+
}>;
|
|
34
|
+
expectedPreimage: _$zod.ZodObject<{
|
|
35
|
+
status: _$zod.ZodEnum<{
|
|
36
|
+
idle: "idle";
|
|
37
|
+
active: "active";
|
|
38
|
+
starting: "starting";
|
|
39
|
+
dead: "dead";
|
|
40
|
+
disposed: "disposed";
|
|
41
|
+
}>;
|
|
42
|
+
adapterId: _$zod.ZodString;
|
|
43
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
44
|
+
adapterId: _$zod.ZodString;
|
|
45
|
+
ownerMachineId: _$zod.ZodString;
|
|
46
|
+
ownerInstanceId: _$zod.ZodString;
|
|
47
|
+
}, _$zod_v4_core0.$strip>>;
|
|
48
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
49
|
+
}, _$zod_v4_core0.$strip>;
|
|
50
|
+
expectedRevision: _$zod.ZodNumber;
|
|
51
|
+
expectedCurrencyFence: _$zod.ZodNumber;
|
|
52
|
+
expectedCurrency: _$zod.ZodObject<{
|
|
53
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
54
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
55
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
56
|
+
confirmed: "confirmed";
|
|
57
|
+
moved: "moved";
|
|
58
|
+
inherited: "inherited";
|
|
59
|
+
}>;
|
|
60
|
+
}, _$zod_v4_core0.$strip>;
|
|
61
|
+
ownerGeneration: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
62
|
+
claimId: _$zod.ZodString;
|
|
63
|
+
claimToken: _$zod.ZodString;
|
|
64
|
+
fence: _$zod.ZodNumber;
|
|
65
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
66
|
+
status: _$zod.ZodEnum<{
|
|
67
|
+
abandoned: "abandoned";
|
|
68
|
+
held: "held";
|
|
69
|
+
releasing: "releasing";
|
|
70
|
+
}>;
|
|
71
|
+
}, _$zod_v4_core0.$strip>>;
|
|
72
|
+
}, _$zod_v4_core0.$strip>>;
|
|
73
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
24
74
|
expectedLeadAgentId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
25
75
|
}, _$zod_v4_core0.$strip>;
|
|
26
76
|
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
27
77
|
outcome: _$zod.ZodLiteral<"reserved">;
|
|
28
|
-
reservation: _$zod.ZodObject<{
|
|
78
|
+
reservation: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
29
79
|
agentId: _$zod.ZodString;
|
|
30
80
|
sessionId: _$zod.ZodString;
|
|
31
|
-
machineId: _$zod.ZodString;
|
|
32
81
|
adapterId: _$zod.ZodString;
|
|
33
|
-
|
|
82
|
+
ownerInstanceId: _$zod.ZodString;
|
|
83
|
+
leadDesignated: _$zod.ZodBoolean;
|
|
84
|
+
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
85
|
+
recovery: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
86
|
+
attemptId: _$zod.ZodString;
|
|
87
|
+
preimage: _$zod.ZodObject<{
|
|
88
|
+
status: _$zod.ZodEnum<{
|
|
89
|
+
idle: "idle";
|
|
90
|
+
active: "active";
|
|
91
|
+
starting: "starting";
|
|
92
|
+
dead: "dead";
|
|
93
|
+
disposed: "disposed";
|
|
94
|
+
}>;
|
|
95
|
+
adapterId: _$zod.ZodString;
|
|
96
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
97
|
+
adapterId: _$zod.ZodString;
|
|
98
|
+
ownerMachineId: _$zod.ZodString;
|
|
99
|
+
ownerInstanceId: _$zod.ZodString;
|
|
100
|
+
}, _$zod_v4_core0.$strip>>;
|
|
101
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
102
|
+
}, _$zod_v4_core0.$strip>;
|
|
103
|
+
}, _$zod_v4_core0.$strip>>;
|
|
104
|
+
machineId: _$zod.ZodString;
|
|
105
|
+
claim: _$zod.ZodObject<{
|
|
34
106
|
machineId: _$zod.ZodString;
|
|
35
107
|
adapterId: _$zod.ZodString;
|
|
36
108
|
providerSessionId: _$zod.ZodString;
|
|
@@ -38,6 +110,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
38
110
|
adapterName: _$zod.ZodString;
|
|
39
111
|
sessionId: _$zod.ZodString;
|
|
40
112
|
agentId: _$zod.ZodString;
|
|
113
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
41
114
|
claimToken: _$zod.ZodString;
|
|
42
115
|
fence: _$zod.ZodNumber;
|
|
43
116
|
status: _$zod.ZodEnum<{
|
|
@@ -47,10 +120,36 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
47
120
|
}>;
|
|
48
121
|
claimedAt: _$zod.ZodNumber;
|
|
49
122
|
updatedAt: _$zod.ZodNumber;
|
|
50
|
-
}, _$zod_v4_core0.$strip
|
|
123
|
+
}, _$zod_v4_core0.$strip>;
|
|
124
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
125
|
+
agentId: _$zod.ZodString;
|
|
126
|
+
sessionId: _$zod.ZodString;
|
|
127
|
+
adapterId: _$zod.ZodString;
|
|
128
|
+
ownerInstanceId: _$zod.ZodString;
|
|
51
129
|
leadDesignated: _$zod.ZodBoolean;
|
|
52
130
|
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
53
|
-
|
|
131
|
+
recovery: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
132
|
+
attemptId: _$zod.ZodString;
|
|
133
|
+
preimage: _$zod.ZodObject<{
|
|
134
|
+
status: _$zod.ZodEnum<{
|
|
135
|
+
idle: "idle";
|
|
136
|
+
active: "active";
|
|
137
|
+
starting: "starting";
|
|
138
|
+
dead: "dead";
|
|
139
|
+
disposed: "disposed";
|
|
140
|
+
}>;
|
|
141
|
+
adapterId: _$zod.ZodString;
|
|
142
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
143
|
+
adapterId: _$zod.ZodString;
|
|
144
|
+
ownerMachineId: _$zod.ZodString;
|
|
145
|
+
ownerInstanceId: _$zod.ZodString;
|
|
146
|
+
}, _$zod_v4_core0.$strip>>;
|
|
147
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
148
|
+
}, _$zod_v4_core0.$strip>;
|
|
149
|
+
}, _$zod_v4_core0.$strip>>;
|
|
150
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
151
|
+
claim: _$zod.ZodNull;
|
|
152
|
+
}, _$zod_v4_core0.$strip>]>;
|
|
54
153
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
55
154
|
outcome: _$zod.ZodLiteral<"occupied">;
|
|
56
155
|
holder: _$zod.ZodObject<{
|
|
@@ -61,6 +160,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
61
160
|
adapterName: _$zod.ZodString;
|
|
62
161
|
sessionId: _$zod.ZodString;
|
|
63
162
|
agentId: _$zod.ZodString;
|
|
163
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
64
164
|
claimToken: _$zod.ZodString;
|
|
65
165
|
fence: _$zod.ZodNumber;
|
|
66
166
|
status: _$zod.ZodEnum<{
|
|
@@ -76,14 +176,54 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
76
176
|
currentLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
77
177
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
78
178
|
outcome: _$zod.ZodLiteral<"agent-disposed">;
|
|
179
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
180
|
+
outcome: _$zod.ZodLiteral<"session-not-active">;
|
|
181
|
+
status: _$zod.ZodEnum<{
|
|
182
|
+
closed: "closed";
|
|
183
|
+
discovered: "discovered";
|
|
184
|
+
archived: "archived";
|
|
185
|
+
}>;
|
|
79
186
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
80
187
|
outcome: _$zod.ZodLiteral<"not-found">;
|
|
81
188
|
missing: _$zod.ZodEnum<{
|
|
82
|
-
session: "session";
|
|
83
189
|
agent: "agent";
|
|
190
|
+
session: "session";
|
|
84
191
|
}>;
|
|
85
192
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
86
193
|
outcome: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
194
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
195
|
+
outcome: _$zod.ZodLiteral<"currency-changed">;
|
|
196
|
+
revision: _$zod.ZodNumber;
|
|
197
|
+
currencyFence: _$zod.ZodNumber;
|
|
198
|
+
currency: _$zod.ZodObject<{
|
|
199
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
200
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
201
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
202
|
+
confirmed: "confirmed";
|
|
203
|
+
moved: "moved";
|
|
204
|
+
inherited: "inherited";
|
|
205
|
+
}>;
|
|
206
|
+
}, _$zod_v4_core0.$strip>;
|
|
207
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
208
|
+
outcome: _$zod.ZodLiteral<"recovery-conflict">;
|
|
209
|
+
status: _$zod.ZodEnum<{
|
|
210
|
+
idle: "idle";
|
|
211
|
+
active: "active";
|
|
212
|
+
starting: "starting";
|
|
213
|
+
dead: "dead";
|
|
214
|
+
disposed: "disposed";
|
|
215
|
+
}>;
|
|
216
|
+
ownerGeneration: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
217
|
+
claimId: _$zod.ZodString;
|
|
218
|
+
claimToken: _$zod.ZodString;
|
|
219
|
+
fence: _$zod.ZodNumber;
|
|
220
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
221
|
+
status: _$zod.ZodEnum<{
|
|
222
|
+
abandoned: "abandoned";
|
|
223
|
+
held: "held";
|
|
224
|
+
releasing: "releasing";
|
|
225
|
+
}>;
|
|
226
|
+
}, _$zod_v4_core0.$strip>>;
|
|
87
227
|
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
88
228
|
};
|
|
89
229
|
'ownership.settleMovement': {
|
|
@@ -92,6 +232,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
92
232
|
agentId: _$zod.ZodString;
|
|
93
233
|
adapterId: _$zod.ZodString;
|
|
94
234
|
adapterName: _$zod.ZodString;
|
|
235
|
+
ownerInstanceId: _$zod.ZodString;
|
|
95
236
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
96
237
|
movement: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
97
238
|
confirmed: _$zod.ZodLiteral<true>;
|
|
@@ -123,6 +264,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
123
264
|
adapterName: _$zod.ZodString;
|
|
124
265
|
sessionId: _$zod.ZodString;
|
|
125
266
|
agentId: _$zod.ZodString;
|
|
267
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
126
268
|
claimToken: _$zod.ZodString;
|
|
127
269
|
fence: _$zod.ZodNumber;
|
|
128
270
|
status: _$zod.ZodEnum<{
|
|
@@ -154,6 +296,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
154
296
|
adapterName: _$zod.ZodString;
|
|
155
297
|
sessionId: _$zod.ZodString;
|
|
156
298
|
agentId: _$zod.ZodString;
|
|
299
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
157
300
|
claimToken: _$zod.ZodString;
|
|
158
301
|
fence: _$zod.ZodNumber;
|
|
159
302
|
status: _$zod.ZodEnum<{
|
|
@@ -174,6 +317,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
174
317
|
adapterName: _$zod.ZodString;
|
|
175
318
|
sessionId: _$zod.ZodString;
|
|
176
319
|
agentId: _$zod.ZodString;
|
|
320
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
177
321
|
claimToken: _$zod.ZodString;
|
|
178
322
|
fence: _$zod.ZodNumber;
|
|
179
323
|
status: _$zod.ZodEnum<{
|
|
@@ -229,6 +373,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
229
373
|
adapterName: _$zod.ZodString;
|
|
230
374
|
sessionId: _$zod.ZodString;
|
|
231
375
|
agentId: _$zod.ZodString;
|
|
376
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
232
377
|
claimToken: _$zod.ZodString;
|
|
233
378
|
fence: _$zod.ZodNumber;
|
|
234
379
|
status: _$zod.ZodEnum<{
|
|
@@ -256,6 +401,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
256
401
|
adapterName: _$zod.ZodString;
|
|
257
402
|
sessionId: _$zod.ZodString;
|
|
258
403
|
agentId: _$zod.ZodString;
|
|
404
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
259
405
|
claimToken: _$zod.ZodString;
|
|
260
406
|
fence: _$zod.ZodNumber;
|
|
261
407
|
status: _$zod.ZodEnum<{
|
|
@@ -275,6 +421,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
275
421
|
"agent-disposed": "agent-disposed";
|
|
276
422
|
"agent-gone": "agent-gone";
|
|
277
423
|
"adapter-instance-gone": "adapter-instance-gone";
|
|
424
|
+
"owner-instance-retired": "owner-instance-retired";
|
|
278
425
|
}>>;
|
|
279
426
|
}, _$zod_v4_core0.$strip>>;
|
|
280
427
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -1028,7 +1175,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
1028
1175
|
systemPrompt: "systemPrompt";
|
|
1029
1176
|
fullPrefix: "fullPrefix";
|
|
1030
1177
|
}>>;
|
|
1031
|
-
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue,
|
|
1178
|
+
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
1032
1179
|
requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1033
1180
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1034
1181
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2400,6 +2547,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
2400
2547
|
adapterId: _$zod.ZodString;
|
|
2401
2548
|
adapterName: _$zod.ZodString;
|
|
2402
2549
|
sessionId: _$zod.ZodString;
|
|
2550
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2551
|
+
machineId: _$zod.ZodString;
|
|
2552
|
+
instanceId: _$zod.ZodString;
|
|
2553
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2554
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2403
2555
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2404
2556
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2405
2557
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2528,6 +2680,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
2528
2680
|
adapterId: _$zod.ZodString;
|
|
2529
2681
|
adapterName: _$zod.ZodString;
|
|
2530
2682
|
sessionId: _$zod.ZodString;
|
|
2683
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2684
|
+
machineId: _$zod.ZodString;
|
|
2685
|
+
instanceId: _$zod.ZodString;
|
|
2686
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2687
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2531
2688
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2532
2689
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2533
2690
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3062,6 +3219,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
3062
3219
|
adapterId: _$zod.ZodString;
|
|
3063
3220
|
adapterName: _$zod.ZodString;
|
|
3064
3221
|
sessionId: _$zod.ZodString;
|
|
3222
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3223
|
+
machineId: _$zod.ZodString;
|
|
3224
|
+
instanceId: _$zod.ZodString;
|
|
3225
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3226
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3065
3227
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3066
3228
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3067
3229
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3190,6 +3352,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
3190
3352
|
adapterId: _$zod.ZodString;
|
|
3191
3353
|
adapterName: _$zod.ZodString;
|
|
3192
3354
|
sessionId: _$zod.ZodString;
|
|
3355
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3356
|
+
machineId: _$zod.ZodString;
|
|
3357
|
+
instanceId: _$zod.ZodString;
|
|
3358
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3359
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3193
3360
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3194
3361
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3195
3362
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4241,6 +4408,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4241
4408
|
adapterId: _$zod.ZodString;
|
|
4242
4409
|
adapterName: _$zod.ZodString;
|
|
4243
4410
|
sessionId: _$zod.ZodString;
|
|
4411
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4412
|
+
machineId: _$zod.ZodString;
|
|
4413
|
+
instanceId: _$zod.ZodString;
|
|
4414
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4415
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4244
4416
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4245
4417
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4246
4418
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4394,6 +4566,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4394
4566
|
adapterId: _$zod.ZodString;
|
|
4395
4567
|
adapterName: _$zod.ZodString;
|
|
4396
4568
|
sessionId: _$zod.ZodString;
|
|
4569
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4570
|
+
machineId: _$zod.ZodString;
|
|
4571
|
+
instanceId: _$zod.ZodString;
|
|
4572
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4573
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4397
4574
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4398
4575
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4399
4576
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4538,6 +4715,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4538
4715
|
adapterId: _$zod.ZodString;
|
|
4539
4716
|
adapterName: _$zod.ZodString;
|
|
4540
4717
|
sessionId: _$zod.ZodString;
|
|
4718
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4719
|
+
machineId: _$zod.ZodString;
|
|
4720
|
+
instanceId: _$zod.ZodString;
|
|
4721
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4722
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4541
4723
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4542
4724
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4543
4725
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4796,6 +4978,11 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4796
4978
|
adapterId: _$zod.ZodString;
|
|
4797
4979
|
adapterName: _$zod.ZodString;
|
|
4798
4980
|
sessionId: _$zod.ZodString;
|
|
4981
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4982
|
+
machineId: _$zod.ZodString;
|
|
4983
|
+
instanceId: _$zod.ZodString;
|
|
4984
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4985
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4799
4986
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4800
4987
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4801
4988
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4939,22 +5126,94 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
4939
5126
|
agentId: _$zod.ZodString;
|
|
4940
5127
|
adapterId: _$zod.ZodString;
|
|
4941
5128
|
adapterName: _$zod.ZodString;
|
|
5129
|
+
ownerInstanceId: _$zod.ZodString;
|
|
4942
5130
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4943
5131
|
role: _$zod.ZodEnum<{
|
|
4944
5132
|
lead: "lead";
|
|
4945
5133
|
member: "member";
|
|
4946
5134
|
}>;
|
|
4947
5135
|
resumeProviderSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5136
|
+
claimToken: _$zod.ZodString;
|
|
5137
|
+
recoveryGuard: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5138
|
+
expectedStatus: _$zod.ZodEnum<{
|
|
5139
|
+
idle: "idle";
|
|
5140
|
+
active: "active";
|
|
5141
|
+
starting: "starting";
|
|
5142
|
+
dead: "dead";
|
|
5143
|
+
disposed: "disposed";
|
|
5144
|
+
}>;
|
|
5145
|
+
expectedPreimage: _$zod.ZodObject<{
|
|
5146
|
+
status: _$zod.ZodEnum<{
|
|
5147
|
+
idle: "idle";
|
|
5148
|
+
active: "active";
|
|
5149
|
+
starting: "starting";
|
|
5150
|
+
dead: "dead";
|
|
5151
|
+
disposed: "disposed";
|
|
5152
|
+
}>;
|
|
5153
|
+
adapterId: _$zod.ZodString;
|
|
5154
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5155
|
+
adapterId: _$zod.ZodString;
|
|
5156
|
+
ownerMachineId: _$zod.ZodString;
|
|
5157
|
+
ownerInstanceId: _$zod.ZodString;
|
|
5158
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5159
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5160
|
+
}, _$zod_v4_core0.$strip>;
|
|
5161
|
+
expectedRevision: _$zod.ZodNumber;
|
|
5162
|
+
expectedCurrencyFence: _$zod.ZodNumber;
|
|
5163
|
+
expectedCurrency: _$zod.ZodObject<{
|
|
5164
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5165
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5166
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
5167
|
+
confirmed: "confirmed";
|
|
5168
|
+
moved: "moved";
|
|
5169
|
+
inherited: "inherited";
|
|
5170
|
+
}>;
|
|
5171
|
+
}, _$zod_v4_core0.$strip>;
|
|
5172
|
+
ownerGeneration: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
5173
|
+
claimId: _$zod.ZodString;
|
|
5174
|
+
claimToken: _$zod.ZodString;
|
|
5175
|
+
fence: _$zod.ZodNumber;
|
|
5176
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5177
|
+
status: _$zod.ZodEnum<{
|
|
5178
|
+
abandoned: "abandoned";
|
|
5179
|
+
held: "held";
|
|
5180
|
+
releasing: "releasing";
|
|
5181
|
+
}>;
|
|
5182
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5183
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5184
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4948
5185
|
expectedLeadAgentId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
4949
5186
|
}, _$zod_v4_core0.$strip>;
|
|
4950
5187
|
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
4951
5188
|
outcome: _$zod.ZodLiteral<"reserved">;
|
|
4952
|
-
reservation: _$zod.ZodObject<{
|
|
5189
|
+
reservation: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
4953
5190
|
agentId: _$zod.ZodString;
|
|
4954
5191
|
sessionId: _$zod.ZodString;
|
|
4955
|
-
machineId: _$zod.ZodString;
|
|
4956
5192
|
adapterId: _$zod.ZodString;
|
|
4957
|
-
|
|
5193
|
+
ownerInstanceId: _$zod.ZodString;
|
|
5194
|
+
leadDesignated: _$zod.ZodBoolean;
|
|
5195
|
+
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5196
|
+
recovery: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5197
|
+
attemptId: _$zod.ZodString;
|
|
5198
|
+
preimage: _$zod.ZodObject<{
|
|
5199
|
+
status: _$zod.ZodEnum<{
|
|
5200
|
+
idle: "idle";
|
|
5201
|
+
active: "active";
|
|
5202
|
+
starting: "starting";
|
|
5203
|
+
dead: "dead";
|
|
5204
|
+
disposed: "disposed";
|
|
5205
|
+
}>;
|
|
5206
|
+
adapterId: _$zod.ZodString;
|
|
5207
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5208
|
+
adapterId: _$zod.ZodString;
|
|
5209
|
+
ownerMachineId: _$zod.ZodString;
|
|
5210
|
+
ownerInstanceId: _$zod.ZodString;
|
|
5211
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5212
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5213
|
+
}, _$zod_v4_core0.$strip>;
|
|
5214
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5215
|
+
machineId: _$zod.ZodString;
|
|
5216
|
+
claim: _$zod.ZodObject<{
|
|
4958
5217
|
machineId: _$zod.ZodString;
|
|
4959
5218
|
adapterId: _$zod.ZodString;
|
|
4960
5219
|
providerSessionId: _$zod.ZodString;
|
|
@@ -4962,6 +5221,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
4962
5221
|
adapterName: _$zod.ZodString;
|
|
4963
5222
|
sessionId: _$zod.ZodString;
|
|
4964
5223
|
agentId: _$zod.ZodString;
|
|
5224
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
4965
5225
|
claimToken: _$zod.ZodString;
|
|
4966
5226
|
fence: _$zod.ZodNumber;
|
|
4967
5227
|
status: _$zod.ZodEnum<{
|
|
@@ -4971,10 +5231,36 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
4971
5231
|
}>;
|
|
4972
5232
|
claimedAt: _$zod.ZodNumber;
|
|
4973
5233
|
updatedAt: _$zod.ZodNumber;
|
|
4974
|
-
}, _$zod_v4_core0.$strip
|
|
5234
|
+
}, _$zod_v4_core0.$strip>;
|
|
5235
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5236
|
+
agentId: _$zod.ZodString;
|
|
5237
|
+
sessionId: _$zod.ZodString;
|
|
5238
|
+
adapterId: _$zod.ZodString;
|
|
5239
|
+
ownerInstanceId: _$zod.ZodString;
|
|
4975
5240
|
leadDesignated: _$zod.ZodBoolean;
|
|
4976
5241
|
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
4977
|
-
|
|
5242
|
+
recovery: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5243
|
+
attemptId: _$zod.ZodString;
|
|
5244
|
+
preimage: _$zod.ZodObject<{
|
|
5245
|
+
status: _$zod.ZodEnum<{
|
|
5246
|
+
idle: "idle";
|
|
5247
|
+
active: "active";
|
|
5248
|
+
starting: "starting";
|
|
5249
|
+
dead: "dead";
|
|
5250
|
+
disposed: "disposed";
|
|
5251
|
+
}>;
|
|
5252
|
+
adapterId: _$zod.ZodString;
|
|
5253
|
+
binding: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5254
|
+
adapterId: _$zod.ZodString;
|
|
5255
|
+
ownerMachineId: _$zod.ZodString;
|
|
5256
|
+
ownerInstanceId: _$zod.ZodString;
|
|
5257
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5258
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5259
|
+
}, _$zod_v4_core0.$strip>;
|
|
5260
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5261
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5262
|
+
claim: _$zod.ZodNull;
|
|
5263
|
+
}, _$zod_v4_core0.$strip>]>;
|
|
4978
5264
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4979
5265
|
outcome: _$zod.ZodLiteral<"occupied">;
|
|
4980
5266
|
holder: _$zod.ZodObject<{
|
|
@@ -4985,6 +5271,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
4985
5271
|
adapterName: _$zod.ZodString;
|
|
4986
5272
|
sessionId: _$zod.ZodString;
|
|
4987
5273
|
agentId: _$zod.ZodString;
|
|
5274
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
4988
5275
|
claimToken: _$zod.ZodString;
|
|
4989
5276
|
fence: _$zod.ZodNumber;
|
|
4990
5277
|
status: _$zod.ZodEnum<{
|
|
@@ -5000,14 +5287,54 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5000
5287
|
currentLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5001
5288
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5002
5289
|
outcome: _$zod.ZodLiteral<"agent-disposed">;
|
|
5290
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5291
|
+
outcome: _$zod.ZodLiteral<"session-not-active">;
|
|
5292
|
+
status: _$zod.ZodEnum<{
|
|
5293
|
+
closed: "closed";
|
|
5294
|
+
discovered: "discovered";
|
|
5295
|
+
archived: "archived";
|
|
5296
|
+
}>;
|
|
5003
5297
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5004
5298
|
outcome: _$zod.ZodLiteral<"not-found">;
|
|
5005
5299
|
missing: _$zod.ZodEnum<{
|
|
5006
|
-
session: "session";
|
|
5007
5300
|
agent: "agent";
|
|
5301
|
+
session: "session";
|
|
5008
5302
|
}>;
|
|
5009
5303
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5010
5304
|
outcome: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
5305
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5306
|
+
outcome: _$zod.ZodLiteral<"currency-changed">;
|
|
5307
|
+
revision: _$zod.ZodNumber;
|
|
5308
|
+
currencyFence: _$zod.ZodNumber;
|
|
5309
|
+
currency: _$zod.ZodObject<{
|
|
5310
|
+
adapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5311
|
+
currentAdapterSessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5312
|
+
currentAdapterSessionIdState: _$zod.ZodEnum<{
|
|
5313
|
+
confirmed: "confirmed";
|
|
5314
|
+
moved: "moved";
|
|
5315
|
+
inherited: "inherited";
|
|
5316
|
+
}>;
|
|
5317
|
+
}, _$zod_v4_core0.$strip>;
|
|
5318
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5319
|
+
outcome: _$zod.ZodLiteral<"recovery-conflict">;
|
|
5320
|
+
status: _$zod.ZodEnum<{
|
|
5321
|
+
idle: "idle";
|
|
5322
|
+
active: "active";
|
|
5323
|
+
starting: "starting";
|
|
5324
|
+
dead: "dead";
|
|
5325
|
+
disposed: "disposed";
|
|
5326
|
+
}>;
|
|
5327
|
+
ownerGeneration: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
5328
|
+
claimId: _$zod.ZodString;
|
|
5329
|
+
claimToken: _$zod.ZodString;
|
|
5330
|
+
fence: _$zod.ZodNumber;
|
|
5331
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5332
|
+
status: _$zod.ZodEnum<{
|
|
5333
|
+
abandoned: "abandoned";
|
|
5334
|
+
held: "held";
|
|
5335
|
+
releasing: "releasing";
|
|
5336
|
+
}>;
|
|
5337
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5011
5338
|
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5012
5339
|
};
|
|
5013
5340
|
'ownership.settleMovement': {
|
|
@@ -5016,6 +5343,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5016
5343
|
agentId: _$zod.ZodString;
|
|
5017
5344
|
adapterId: _$zod.ZodString;
|
|
5018
5345
|
adapterName: _$zod.ZodString;
|
|
5346
|
+
ownerInstanceId: _$zod.ZodString;
|
|
5019
5347
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5020
5348
|
movement: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5021
5349
|
confirmed: _$zod.ZodLiteral<true>;
|
|
@@ -5047,6 +5375,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5047
5375
|
adapterName: _$zod.ZodString;
|
|
5048
5376
|
sessionId: _$zod.ZodString;
|
|
5049
5377
|
agentId: _$zod.ZodString;
|
|
5378
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5050
5379
|
claimToken: _$zod.ZodString;
|
|
5051
5380
|
fence: _$zod.ZodNumber;
|
|
5052
5381
|
status: _$zod.ZodEnum<{
|
|
@@ -5078,6 +5407,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5078
5407
|
adapterName: _$zod.ZodString;
|
|
5079
5408
|
sessionId: _$zod.ZodString;
|
|
5080
5409
|
agentId: _$zod.ZodString;
|
|
5410
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5081
5411
|
claimToken: _$zod.ZodString;
|
|
5082
5412
|
fence: _$zod.ZodNumber;
|
|
5083
5413
|
status: _$zod.ZodEnum<{
|
|
@@ -5098,6 +5428,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5098
5428
|
adapterName: _$zod.ZodString;
|
|
5099
5429
|
sessionId: _$zod.ZodString;
|
|
5100
5430
|
agentId: _$zod.ZodString;
|
|
5431
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5101
5432
|
claimToken: _$zod.ZodString;
|
|
5102
5433
|
fence: _$zod.ZodNumber;
|
|
5103
5434
|
status: _$zod.ZodEnum<{
|
|
@@ -5153,6 +5484,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5153
5484
|
adapterName: _$zod.ZodString;
|
|
5154
5485
|
sessionId: _$zod.ZodString;
|
|
5155
5486
|
agentId: _$zod.ZodString;
|
|
5487
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5156
5488
|
claimToken: _$zod.ZodString;
|
|
5157
5489
|
fence: _$zod.ZodNumber;
|
|
5158
5490
|
status: _$zod.ZodEnum<{
|
|
@@ -5180,6 +5512,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5180
5512
|
adapterName: _$zod.ZodString;
|
|
5181
5513
|
sessionId: _$zod.ZodString;
|
|
5182
5514
|
agentId: _$zod.ZodString;
|
|
5515
|
+
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5183
5516
|
claimToken: _$zod.ZodString;
|
|
5184
5517
|
fence: _$zod.ZodNumber;
|
|
5185
5518
|
status: _$zod.ZodEnum<{
|
|
@@ -5199,6 +5532,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5199
5532
|
"agent-disposed": "agent-disposed";
|
|
5200
5533
|
"agent-gone": "agent-gone";
|
|
5201
5534
|
"adapter-instance-gone": "adapter-instance-gone";
|
|
5535
|
+
"owner-instance-retired": "owner-instance-retired";
|
|
5202
5536
|
}>>;
|
|
5203
5537
|
}, _$zod_v4_core0.$strip>>;
|
|
5204
5538
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -5952,7 +6286,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5952
6286
|
systemPrompt: "systemPrompt";
|
|
5953
6287
|
fullPrefix: "fullPrefix";
|
|
5954
6288
|
}>>;
|
|
5955
|
-
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue,
|
|
6289
|
+
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
5956
6290
|
requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5957
6291
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5958
6292
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7324,6 +7658,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7324
7658
|
adapterId: _$zod.ZodString;
|
|
7325
7659
|
adapterName: _$zod.ZodString;
|
|
7326
7660
|
sessionId: _$zod.ZodString;
|
|
7661
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
7662
|
+
machineId: _$zod.ZodString;
|
|
7663
|
+
instanceId: _$zod.ZodString;
|
|
7664
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7665
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7327
7666
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7328
7667
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7329
7668
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -7452,6 +7791,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7452
7791
|
adapterId: _$zod.ZodString;
|
|
7453
7792
|
adapterName: _$zod.ZodString;
|
|
7454
7793
|
sessionId: _$zod.ZodString;
|
|
7794
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
7795
|
+
machineId: _$zod.ZodString;
|
|
7796
|
+
instanceId: _$zod.ZodString;
|
|
7797
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7798
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7455
7799
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7456
7800
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7457
7801
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -7986,6 +8330,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7986
8330
|
adapterId: _$zod.ZodString;
|
|
7987
8331
|
adapterName: _$zod.ZodString;
|
|
7988
8332
|
sessionId: _$zod.ZodString;
|
|
8333
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
8334
|
+
machineId: _$zod.ZodString;
|
|
8335
|
+
instanceId: _$zod.ZodString;
|
|
8336
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8337
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7989
8338
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7990
8339
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7991
8340
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -8114,6 +8463,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
8114
8463
|
adapterId: _$zod.ZodString;
|
|
8115
8464
|
adapterName: _$zod.ZodString;
|
|
8116
8465
|
sessionId: _$zod.ZodString;
|
|
8466
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
8467
|
+
machineId: _$zod.ZodString;
|
|
8468
|
+
instanceId: _$zod.ZodString;
|
|
8469
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8470
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8117
8471
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8118
8472
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8119
8473
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9165,6 +9519,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9165
9519
|
adapterId: _$zod.ZodString;
|
|
9166
9520
|
adapterName: _$zod.ZodString;
|
|
9167
9521
|
sessionId: _$zod.ZodString;
|
|
9522
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
9523
|
+
machineId: _$zod.ZodString;
|
|
9524
|
+
instanceId: _$zod.ZodString;
|
|
9525
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9526
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9168
9527
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9169
9528
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9170
9529
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9318,6 +9677,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9318
9677
|
adapterId: _$zod.ZodString;
|
|
9319
9678
|
adapterName: _$zod.ZodString;
|
|
9320
9679
|
sessionId: _$zod.ZodString;
|
|
9680
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
9681
|
+
machineId: _$zod.ZodString;
|
|
9682
|
+
instanceId: _$zod.ZodString;
|
|
9683
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9684
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9321
9685
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9322
9686
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9323
9687
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9462,6 +9826,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9462
9826
|
adapterId: _$zod.ZodString;
|
|
9463
9827
|
adapterName: _$zod.ZodString;
|
|
9464
9828
|
sessionId: _$zod.ZodString;
|
|
9829
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
9830
|
+
machineId: _$zod.ZodString;
|
|
9831
|
+
instanceId: _$zod.ZodString;
|
|
9832
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9833
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9465
9834
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9466
9835
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9467
9836
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9720,6 +10089,11 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9720
10089
|
adapterId: _$zod.ZodString;
|
|
9721
10090
|
adapterName: _$zod.ZodString;
|
|
9722
10091
|
sessionId: _$zod.ZodString;
|
|
10092
|
+
runtimeOwner: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
10093
|
+
machineId: _$zod.ZodString;
|
|
10094
|
+
instanceId: _$zod.ZodString;
|
|
10095
|
+
}, _$zod_v4_core0.$strip>>;
|
|
10096
|
+
recoveryAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9723
10097
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9724
10098
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9725
10099
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -10076,7 +10450,7 @@ declare const SessionContextSchema$1: z.ZodObject<{
|
|
|
10076
10450
|
systemPrompt: "systemPrompt";
|
|
10077
10451
|
fullPrefix: "fullPrefix";
|
|
10078
10452
|
}>>;
|
|
10079
|
-
turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
10453
|
+
turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
10080
10454
|
requestCorrelation: z.ZodOptional<z.ZodObject<{
|
|
10081
10455
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
10082
10456
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -10681,8 +11055,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
|
|
|
10681
11055
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
10682
11056
|
}, z.core.$strip>], "type">>;
|
|
10683
11057
|
agentId: z.ZodOptional<z.ZodString>;
|
|
10684
|
-
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
10685
11058
|
turnId: z.ZodNullable<z.ZodString>;
|
|
11059
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
10686
11060
|
timestamp: z.ZodNumber;
|
|
10687
11061
|
contentText: z.ZodString;
|
|
10688
11062
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -11529,8 +11903,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
11529
11903
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
11530
11904
|
}, z.core.$strip>], "type">>;
|
|
11531
11905
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11532
|
-
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
11533
11906
|
turnId: z.ZodNullable<z.ZodString>;
|
|
11907
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
11534
11908
|
timestamp: z.ZodNumber;
|
|
11535
11909
|
contentText: z.ZodString;
|
|
11536
11910
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -15424,6 +15798,11 @@ declare const SessionStorageSetSessionSchema: z.ZodObject<{
|
|
|
15424
15798
|
adapterId: z.ZodString;
|
|
15425
15799
|
adapterName: z.ZodString;
|
|
15426
15800
|
sessionId: z.ZodString;
|
|
15801
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
15802
|
+
machineId: z.ZodString;
|
|
15803
|
+
instanceId: z.ZodString;
|
|
15804
|
+
}, z.core.$strip>>;
|
|
15805
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
15427
15806
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15428
15807
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15429
15808
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15558,6 +15937,11 @@ declare const SessionStorageSetRequestSchema$1: z.ZodObject<{
|
|
|
15558
15937
|
adapterId: z.ZodString;
|
|
15559
15938
|
adapterName: z.ZodString;
|
|
15560
15939
|
sessionId: z.ZodString;
|
|
15940
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
15941
|
+
machineId: z.ZodString;
|
|
15942
|
+
instanceId: z.ZodString;
|
|
15943
|
+
}, z.core.$strip>>;
|
|
15944
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
15561
15945
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15562
15946
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15563
15947
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15701,7 +16085,7 @@ declare const SessionStorageUpdateSchema$1: {
|
|
|
15701
16085
|
active: "active";
|
|
15702
16086
|
archived: "archived";
|
|
15703
16087
|
}>>>;
|
|
15704
|
-
parentSessionId: z.ZodOptional<z.ZodString
|
|
16088
|
+
parentSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15705
16089
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
15706
16090
|
none: "none";
|
|
15707
16091
|
"parent-history": "parent-history";
|
|
@@ -15746,6 +16130,13 @@ declare const SessionStorageUpdateSchema$1: {
|
|
|
15746
16130
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15747
16131
|
}, z.core.$strip>>;
|
|
15748
16132
|
expectIdentityOpenForLead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16133
|
+
reconcileAdapterSession: z.ZodOptional<z.ZodObject<{
|
|
16134
|
+
agentId: z.ZodString;
|
|
16135
|
+
adapterName: z.ZodString;
|
|
16136
|
+
adapterId: z.ZodString;
|
|
16137
|
+
adapterSessionId: z.ZodString;
|
|
16138
|
+
lastActivityAt: z.ZodNumber;
|
|
16139
|
+
}, z.core.$strip>>;
|
|
15749
16140
|
}, z.core.$strip>;
|
|
15750
16141
|
response: z.ZodObject<{
|
|
15751
16142
|
success: z.ZodBoolean;
|
|
@@ -15946,6 +16337,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
15946
16337
|
adapterId: z.ZodString;
|
|
15947
16338
|
adapterName: z.ZodString;
|
|
15948
16339
|
sessionId: z.ZodString;
|
|
16340
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
16341
|
+
machineId: z.ZodString;
|
|
16342
|
+
instanceId: z.ZodString;
|
|
16343
|
+
}, z.core.$strip>>;
|
|
16344
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
15949
16345
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15950
16346
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15951
16347
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16089,6 +16485,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16089
16485
|
adapterId: z.ZodString;
|
|
16090
16486
|
adapterName: z.ZodString;
|
|
16091
16487
|
sessionId: z.ZodString;
|
|
16488
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
16489
|
+
machineId: z.ZodString;
|
|
16490
|
+
instanceId: z.ZodString;
|
|
16491
|
+
}, z.core.$strip>>;
|
|
16492
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
16092
16493
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16093
16494
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16094
16495
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16263,6 +16664,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16263
16664
|
adapterId: z.ZodString;
|
|
16264
16665
|
adapterName: z.ZodString;
|
|
16265
16666
|
sessionId: z.ZodString;
|
|
16667
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
16668
|
+
machineId: z.ZodString;
|
|
16669
|
+
instanceId: z.ZodString;
|
|
16670
|
+
}, z.core.$strip>>;
|
|
16671
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
16266
16672
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16267
16673
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16268
16674
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16453,6 +16859,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16453
16859
|
adapterId: z.ZodString;
|
|
16454
16860
|
adapterName: z.ZodString;
|
|
16455
16861
|
sessionId: z.ZodString;
|
|
16862
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
16863
|
+
machineId: z.ZodString;
|
|
16864
|
+
instanceId: z.ZodString;
|
|
16865
|
+
}, z.core.$strip>>;
|
|
16866
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
16456
16867
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16457
16868
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16458
16869
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16604,7 +17015,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16604
17015
|
active: "active";
|
|
16605
17016
|
archived: "archived";
|
|
16606
17017
|
}>>>;
|
|
16607
|
-
parentSessionId: z.ZodOptional<z.ZodString
|
|
17018
|
+
parentSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16608
17019
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
16609
17020
|
none: "none";
|
|
16610
17021
|
"parent-history": "parent-history";
|
|
@@ -16649,6 +17060,13 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16649
17060
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16650
17061
|
}, z.core.$strip>>;
|
|
16651
17062
|
expectIdentityOpenForLead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17063
|
+
reconcileAdapterSession: z.ZodOptional<z.ZodObject<{
|
|
17064
|
+
agentId: z.ZodString;
|
|
17065
|
+
adapterName: z.ZodString;
|
|
17066
|
+
adapterId: z.ZodString;
|
|
17067
|
+
adapterSessionId: z.ZodString;
|
|
17068
|
+
lastActivityAt: z.ZodNumber;
|
|
17069
|
+
}, z.core.$strip>>;
|
|
16652
17070
|
}, z.core.$strip>;
|
|
16653
17071
|
response: z.ZodObject<{
|
|
16654
17072
|
success: z.ZodBoolean;
|
|
@@ -16677,6 +17095,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16677
17095
|
adapterId: z.ZodString;
|
|
16678
17096
|
adapterName: z.ZodString;
|
|
16679
17097
|
sessionId: z.ZodString;
|
|
17098
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
17099
|
+
machineId: z.ZodString;
|
|
17100
|
+
instanceId: z.ZodString;
|
|
17101
|
+
}, z.core.$strip>>;
|
|
17102
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
16680
17103
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16681
17104
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16682
17105
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16997,6 +17420,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16997
17420
|
adapterId: z.ZodString;
|
|
16998
17421
|
adapterName: z.ZodString;
|
|
16999
17422
|
sessionId: z.ZodString;
|
|
17423
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
17424
|
+
machineId: z.ZodString;
|
|
17425
|
+
instanceId: z.ZodString;
|
|
17426
|
+
}, z.core.$strip>>;
|
|
17427
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17000
17428
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17001
17429
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17002
17430
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17147,6 +17575,11 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17147
17575
|
adapterId: z.ZodString;
|
|
17148
17576
|
adapterName: z.ZodString;
|
|
17149
17577
|
sessionId: z.ZodString;
|
|
17578
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
17579
|
+
machineId: z.ZodString;
|
|
17580
|
+
instanceId: z.ZodString;
|
|
17581
|
+
}, z.core.$strip>>;
|
|
17582
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17150
17583
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17151
17584
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17152
17585
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17335,6 +17768,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17335
17768
|
adapterId: z.ZodString;
|
|
17336
17769
|
adapterName: z.ZodString;
|
|
17337
17770
|
sessionId: z.ZodString;
|
|
17771
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
17772
|
+
machineId: z.ZodString;
|
|
17773
|
+
instanceId: z.ZodString;
|
|
17774
|
+
}, z.core.$strip>>;
|
|
17775
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17338
17776
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17339
17777
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17340
17778
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17478,6 +17916,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17478
17916
|
adapterId: z.ZodString;
|
|
17479
17917
|
adapterName: z.ZodString;
|
|
17480
17918
|
sessionId: z.ZodString;
|
|
17919
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
17920
|
+
machineId: z.ZodString;
|
|
17921
|
+
instanceId: z.ZodString;
|
|
17922
|
+
}, z.core.$strip>>;
|
|
17923
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17481
17924
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17482
17925
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17483
17926
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17652,6 +18095,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17652
18095
|
adapterId: z.ZodString;
|
|
17653
18096
|
adapterName: z.ZodString;
|
|
17654
18097
|
sessionId: z.ZodString;
|
|
18098
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
18099
|
+
machineId: z.ZodString;
|
|
18100
|
+
instanceId: z.ZodString;
|
|
18101
|
+
}, z.core.$strip>>;
|
|
18102
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17655
18103
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17656
18104
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17657
18105
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17842,6 +18290,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17842
18290
|
adapterId: z.ZodString;
|
|
17843
18291
|
adapterName: z.ZodString;
|
|
17844
18292
|
sessionId: z.ZodString;
|
|
18293
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
18294
|
+
machineId: z.ZodString;
|
|
18295
|
+
instanceId: z.ZodString;
|
|
18296
|
+
}, z.core.$strip>>;
|
|
18297
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
17845
18298
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17846
18299
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17847
18300
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17993,7 +18446,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17993
18446
|
active: "active";
|
|
17994
18447
|
archived: "archived";
|
|
17995
18448
|
}>>>;
|
|
17996
|
-
parentSessionId: z.ZodOptional<z.ZodString
|
|
18449
|
+
parentSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17997
18450
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
17998
18451
|
none: "none";
|
|
17999
18452
|
"parent-history": "parent-history";
|
|
@@ -18038,6 +18491,13 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18038
18491
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18039
18492
|
}, z.core.$strip>>;
|
|
18040
18493
|
expectIdentityOpenForLead: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18494
|
+
reconcileAdapterSession: z.ZodOptional<z.ZodObject<{
|
|
18495
|
+
agentId: z.ZodString;
|
|
18496
|
+
adapterName: z.ZodString;
|
|
18497
|
+
adapterId: z.ZodString;
|
|
18498
|
+
adapterSessionId: z.ZodString;
|
|
18499
|
+
lastActivityAt: z.ZodNumber;
|
|
18500
|
+
}, z.core.$strip>>;
|
|
18041
18501
|
}, z.core.$strip>;
|
|
18042
18502
|
response: z.ZodObject<{
|
|
18043
18503
|
success: z.ZodBoolean;
|
|
@@ -18066,6 +18526,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18066
18526
|
adapterId: z.ZodString;
|
|
18067
18527
|
adapterName: z.ZodString;
|
|
18068
18528
|
sessionId: z.ZodString;
|
|
18529
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
18530
|
+
machineId: z.ZodString;
|
|
18531
|
+
instanceId: z.ZodString;
|
|
18532
|
+
}, z.core.$strip>>;
|
|
18533
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
18069
18534
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18070
18535
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18071
18536
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18386,6 +18851,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18386
18851
|
adapterId: z.ZodString;
|
|
18387
18852
|
adapterName: z.ZodString;
|
|
18388
18853
|
sessionId: z.ZodString;
|
|
18854
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
18855
|
+
machineId: z.ZodString;
|
|
18856
|
+
instanceId: z.ZodString;
|
|
18857
|
+
}, z.core.$strip>>;
|
|
18858
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
18389
18859
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18390
18860
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18391
18861
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18536,6 +19006,11 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18536
19006
|
adapterId: z.ZodString;
|
|
18537
19007
|
adapterName: z.ZodString;
|
|
18538
19008
|
sessionId: z.ZodString;
|
|
19009
|
+
runtimeOwner: z.ZodOptional<z.ZodObject<{
|
|
19010
|
+
machineId: z.ZodString;
|
|
19011
|
+
instanceId: z.ZodString;
|
|
19012
|
+
}, z.core.$strip>>;
|
|
19013
|
+
recoveryAttemptId: z.ZodOptional<z.ZodString>;
|
|
18539
19014
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18540
19015
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18541
19016
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18701,1794 +19176,53 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18701
19176
|
};
|
|
18702
19177
|
}>, "storage:session">;
|
|
18703
19178
|
//#endregion
|
|
18704
|
-
//#region core/contracts/src/session/session-ownership-
|
|
19179
|
+
//#region core/contracts/src/session/session-ownership-designation-mutation.d.ts
|
|
19180
|
+
/** Lead designation flags accepted by the ownership claim contract. */
|
|
19181
|
+
interface SessionOwnershipLeadDesignationMutation {
|
|
19182
|
+
readonly expectedLeadAgentId: string | null;
|
|
19183
|
+
readonly clear?: true;
|
|
19184
|
+
readonly restore?: true;
|
|
19185
|
+
}
|
|
19186
|
+
/** Fields that determine whether a claim only mutates a lead designation. */
|
|
19187
|
+
interface SessionOwnershipDesignationMutationCandidate {
|
|
19188
|
+
readonly agentId: string;
|
|
19189
|
+
readonly providerSessionId: string | null;
|
|
19190
|
+
readonly ownerInstance?: unknown;
|
|
19191
|
+
readonly recoveryGuard?: unknown;
|
|
19192
|
+
readonly recoveryAttemptId?: unknown;
|
|
19193
|
+
readonly supersedes?: unknown;
|
|
19194
|
+
readonly designateLead?: SessionOwnershipLeadDesignationMutation;
|
|
19195
|
+
}
|
|
18705
19196
|
/**
|
|
18706
|
-
*
|
|
18707
|
-
*
|
|
18708
|
-
*
|
|
18709
|
-
* records why it is still there:
|
|
18710
|
-
* - `held` — a live runtime owns the provider session.
|
|
18711
|
-
* - `releasing` — release was requested but the provider-side teardown is not
|
|
18712
|
-
* confirmed. Still blocks: the runtime may yet be talking to the provider.
|
|
18713
|
-
* - `abandoned` — the owning runtime failed after dispatch. The row keeps
|
|
18714
|
-
* blocking until an explicit takeover names its token, **or until the
|
|
18715
|
-
* abandoned generation itself confirms clean teardown** by releasing under
|
|
18716
|
-
* that same token. Deciding whether a takeover is legitimate is the ownership
|
|
18717
|
-
* authority's duty (Wave 2), not storage's — storage records the conclusion
|
|
18718
|
-
* and fences the previous generation out, it never evaluates the evidence
|
|
18719
|
-
* behind it.
|
|
18720
|
-
*
|
|
18721
|
-
* That second exit is deliberate, not a hole in the first. `abandoned` is a
|
|
18722
|
-
* *presumption* that the owner died with teardown unconfirmed, filed by an
|
|
18723
|
-
* observer; it blocks everyone else because no one else can know. A clean
|
|
18724
|
-
* `released` presenting that generation's own token is the one party who can
|
|
18725
|
-
* know saying the provider session is done with, which refutes the presumption
|
|
18726
|
-
* outright — and the row's whole purpose, keeping a possibly-live provider
|
|
18727
|
-
* conversation from being attached to twice, is then served. A caller sending
|
|
18728
|
-
* `released` without having actually torn down is a caller bug of the same class
|
|
18729
|
-
* as reusing a `claimToken`, and is governed by the same doctrine (see
|
|
18730
|
-
* {@link SessionOwnershipClaimRequestSchema}'s `claimToken`).
|
|
18731
|
-
*
|
|
18732
|
-
* A clean release removes the row instead of marking it, so the unblocked case
|
|
18733
|
-
* is the absence of a row rather than a status a reader has to interpret.
|
|
18734
|
-
*/
|
|
18735
|
-
declare const AdapterSessionClaimStatusSchema: z.ZodEnum<{
|
|
18736
|
-
abandoned: "abandoned";
|
|
18737
|
-
held: "held";
|
|
18738
|
-
releasing: "releasing";
|
|
18739
|
-
}>;
|
|
18740
|
-
/** {@inheritDoc AdapterSessionClaimStatusSchema} */
|
|
18741
|
-
type AdapterSessionClaimStatus = z.infer<typeof AdapterSessionClaimStatusSchema>;
|
|
18742
|
-
/**
|
|
18743
|
-
* Identity of the namespace a provider session is owned within.
|
|
18744
|
-
*
|
|
18745
|
-
* A provider session ID is only unique inside the runtime that stores it: the
|
|
18746
|
-
* same ID may exist on another machine, or under another adapter runtime on the
|
|
18747
|
-
* same machine, and those are different conversations. This triple is therefore
|
|
18748
|
-
* the ownership key, and the claim table's unique index over it is what makes
|
|
18749
|
-
* "exactly one winner" a property of the schema rather than of handler code.
|
|
18750
|
-
*/
|
|
18751
|
-
declare const AdapterSessionClaimKeySchema: z.ZodObject<{
|
|
18752
|
-
machineId: z.ZodString;
|
|
18753
|
-
adapterId: z.ZodString;
|
|
18754
|
-
providerSessionId: z.ZodString;
|
|
18755
|
-
}, z.core.$strip>;
|
|
18756
|
-
/** {@inheritDoc AdapterSessionClaimKeySchema} */
|
|
18757
|
-
type AdapterSessionClaimKey = z.infer<typeof AdapterSessionClaimKeySchema>;
|
|
18758
|
-
/**
|
|
18759
|
-
* A durable ownership claim on one provider-native session.
|
|
18760
|
-
*
|
|
18761
|
-
* `claimToken` identifies the claim generation opaquely; `fence` orders
|
|
18762
|
-
* generations. The two always change together — a takeover mints a new token
|
|
18763
|
-
* and a higher fence — so a stale owner can be rejected by comparison
|
|
18764
|
-
* (`fence`) rather than by recognition (`claimToken`), which is what lets a
|
|
18765
|
-
* write arriving from a previous process be refused rather than applied.
|
|
18766
|
-
*/
|
|
18767
|
-
declare const AdapterSessionClaimRecordSchema: z.ZodObject<{
|
|
18768
|
-
machineId: z.ZodString;
|
|
18769
|
-
adapterId: z.ZodString;
|
|
18770
|
-
providerSessionId: z.ZodString;
|
|
18771
|
-
claimId: z.ZodString;
|
|
18772
|
-
adapterName: z.ZodString;
|
|
18773
|
-
sessionId: z.ZodString;
|
|
18774
|
-
agentId: z.ZodString;
|
|
18775
|
-
claimToken: z.ZodString;
|
|
18776
|
-
fence: z.ZodNumber;
|
|
18777
|
-
status: z.ZodEnum<{
|
|
18778
|
-
abandoned: "abandoned";
|
|
18779
|
-
held: "held";
|
|
18780
|
-
releasing: "releasing";
|
|
18781
|
-
}>;
|
|
18782
|
-
claimedAt: z.ZodNumber;
|
|
18783
|
-
updatedAt: z.ZodNumber;
|
|
18784
|
-
}, z.core.$strip>;
|
|
18785
|
-
/** {@inheritDoc AdapterSessionClaimRecordSchema} */
|
|
18786
|
-
type AdapterSessionClaimRecord$1 = z.infer<typeof AdapterSessionClaimRecordSchema>;
|
|
18787
|
-
/**
|
|
18788
|
-
* Durable ownership state of one agent.
|
|
18789
|
-
*
|
|
18790
|
-
* `revision` and `currencyFence` are the two orderings a currency write is
|
|
18791
|
-
* checked against, and they answer different questions:
|
|
18792
|
-
* - `currencyFence` — *which generation* last wrote this currency. A write from
|
|
18793
|
-
* a lower fence is a stale owner and is refused outright.
|
|
18794
|
-
* - `revision` — *which write* the caller read before computing its target. A
|
|
18795
|
-
* mismatch means the row moved under the caller within the same generation.
|
|
18796
|
-
*
|
|
18797
|
-
* `revision` is bumped exclusively by the ownership seam. Any other writer
|
|
18798
|
-
* bumping it would make the compare-and-swap fail for reasons unrelated to
|
|
18799
|
-
* currency, which is the same as not having it.
|
|
18800
|
-
*/
|
|
18801
|
-
declare const AgentSessionOwnershipRecordSchema: z.ZodObject<{
|
|
18802
|
-
agentId: z.ZodString;
|
|
18803
|
-
sessionId: z.ZodString;
|
|
18804
|
-
currency: z.ZodObject<{
|
|
18805
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
18806
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
18807
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
18808
|
-
confirmed: "confirmed";
|
|
18809
|
-
moved: "moved";
|
|
18810
|
-
inherited: "inherited";
|
|
18811
|
-
}>;
|
|
18812
|
-
}, z.core.$strip>;
|
|
18813
|
-
revision: z.ZodNumber;
|
|
18814
|
-
currencyFence: z.ZodNumber;
|
|
18815
|
-
claims: z.ZodArray<z.ZodObject<{
|
|
18816
|
-
machineId: z.ZodString;
|
|
18817
|
-
adapterId: z.ZodString;
|
|
18818
|
-
providerSessionId: z.ZodString;
|
|
18819
|
-
claimId: z.ZodString;
|
|
18820
|
-
adapterName: z.ZodString;
|
|
18821
|
-
sessionId: z.ZodString;
|
|
18822
|
-
agentId: z.ZodString;
|
|
18823
|
-
claimToken: z.ZodString;
|
|
18824
|
-
fence: z.ZodNumber;
|
|
18825
|
-
status: z.ZodEnum<{
|
|
18826
|
-
abandoned: "abandoned";
|
|
18827
|
-
held: "held";
|
|
18828
|
-
releasing: "releasing";
|
|
18829
|
-
}>;
|
|
18830
|
-
claimedAt: z.ZodNumber;
|
|
18831
|
-
updatedAt: z.ZodNumber;
|
|
18832
|
-
}, z.core.$strip>>;
|
|
18833
|
-
}, z.core.$strip>;
|
|
18834
|
-
/** {@inheritDoc AgentSessionOwnershipRecordSchema} */
|
|
18835
|
-
type AgentSessionOwnershipRecord = z.infer<typeof AgentSessionOwnershipRecordSchema>;
|
|
18836
|
-
/**
|
|
18837
|
-
* Request payload for `storage:sessionOwnership.claim`.
|
|
18838
|
-
*
|
|
18839
|
-
* One call is the whole reservation: it takes the claim and — when
|
|
18840
|
-
* `designateLead` is supplied — designates the session's lead agent in the same
|
|
18841
|
-
* transaction. Splitting those into two calls is what leaves the window where a
|
|
18842
|
-
* provider session is owned by an agent the session does not yet call its lead,
|
|
18843
|
-
* and a movement announced in that window has no legitimate writer.
|
|
18844
|
-
*/
|
|
18845
|
-
declare const SessionOwnershipClaimRequestSchema: z.ZodObject<{
|
|
18846
|
-
machineId: z.ZodString;
|
|
18847
|
-
adapterId: z.ZodString;
|
|
18848
|
-
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
18849
|
-
adapterName: z.ZodString;
|
|
18850
|
-
sessionId: z.ZodString;
|
|
18851
|
-
agentId: z.ZodString;
|
|
18852
|
-
claimToken: z.ZodString;
|
|
18853
|
-
supersedes: z.ZodOptional<z.ZodObject<{
|
|
18854
|
-
claimToken: z.ZodString;
|
|
18855
|
-
}, z.core.$strip>>;
|
|
18856
|
-
designateLead: z.ZodOptional<z.ZodObject<{
|
|
18857
|
-
expectedLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
18858
|
-
clear: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18859
|
-
}, z.core.$strip>>;
|
|
18860
|
-
}, z.core.$strip>;
|
|
18861
|
-
/** {@inheritDoc SessionOwnershipClaimRequestSchema} */
|
|
18862
|
-
type SessionOwnershipClaimRequest = z.infer<typeof SessionOwnershipClaimRequestSchema>;
|
|
18863
|
-
/**
|
|
18864
|
-
* Result of `storage:sessionOwnership.claim`.
|
|
18865
|
-
*
|
|
18866
|
-
* `already-claimed` reports the holder rather than a bare failure: the caller's
|
|
18867
|
-
* next decision (degrade to fresh-with-history, reconcile, or fail the start)
|
|
18868
|
-
* depends on *who* holds it and in which state, and re-reading afterwards would
|
|
18869
|
-
* observe a different instant than the one that rejected the claim.
|
|
18870
|
-
*/
|
|
18871
|
-
declare const SessionOwnershipClaimResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18872
|
-
outcome: z.ZodLiteral<"claimed">;
|
|
18873
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
18874
|
-
machineId: z.ZodString;
|
|
18875
|
-
adapterId: z.ZodString;
|
|
18876
|
-
providerSessionId: z.ZodString;
|
|
18877
|
-
claimId: z.ZodString;
|
|
18878
|
-
adapterName: z.ZodString;
|
|
18879
|
-
sessionId: z.ZodString;
|
|
18880
|
-
agentId: z.ZodString;
|
|
18881
|
-
claimToken: z.ZodString;
|
|
18882
|
-
fence: z.ZodNumber;
|
|
18883
|
-
status: z.ZodEnum<{
|
|
18884
|
-
abandoned: "abandoned";
|
|
18885
|
-
held: "held";
|
|
18886
|
-
releasing: "releasing";
|
|
18887
|
-
}>;
|
|
18888
|
-
claimedAt: z.ZodNumber;
|
|
18889
|
-
updatedAt: z.ZodNumber;
|
|
18890
|
-
}, z.core.$strip>>;
|
|
18891
|
-
leadDesignated: z.ZodBoolean;
|
|
18892
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
18893
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18894
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
18895
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
18896
|
-
machineId: z.ZodString;
|
|
18897
|
-
adapterId: z.ZodString;
|
|
18898
|
-
providerSessionId: z.ZodString;
|
|
18899
|
-
claimId: z.ZodString;
|
|
18900
|
-
adapterName: z.ZodString;
|
|
18901
|
-
sessionId: z.ZodString;
|
|
18902
|
-
agentId: z.ZodString;
|
|
18903
|
-
claimToken: z.ZodString;
|
|
18904
|
-
fence: z.ZodNumber;
|
|
18905
|
-
status: z.ZodEnum<{
|
|
18906
|
-
abandoned: "abandoned";
|
|
18907
|
-
held: "held";
|
|
18908
|
-
releasing: "releasing";
|
|
18909
|
-
}>;
|
|
18910
|
-
claimedAt: z.ZodNumber;
|
|
18911
|
-
updatedAt: z.ZodNumber;
|
|
18912
|
-
}, z.core.$strip>>;
|
|
18913
|
-
leadDesignated: z.ZodBoolean;
|
|
18914
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
18915
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18916
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
18917
|
-
holder: z.ZodObject<{
|
|
18918
|
-
machineId: z.ZodString;
|
|
18919
|
-
adapterId: z.ZodString;
|
|
18920
|
-
providerSessionId: z.ZodString;
|
|
18921
|
-
claimId: z.ZodString;
|
|
18922
|
-
adapterName: z.ZodString;
|
|
18923
|
-
sessionId: z.ZodString;
|
|
18924
|
-
agentId: z.ZodString;
|
|
18925
|
-
claimToken: z.ZodString;
|
|
18926
|
-
fence: z.ZodNumber;
|
|
18927
|
-
status: z.ZodEnum<{
|
|
18928
|
-
abandoned: "abandoned";
|
|
18929
|
-
held: "held";
|
|
18930
|
-
releasing: "releasing";
|
|
18931
|
-
}>;
|
|
18932
|
-
claimedAt: z.ZodNumber;
|
|
18933
|
-
updatedAt: z.ZodNumber;
|
|
18934
|
-
}, z.core.$strip>;
|
|
18935
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18936
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
18937
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18938
|
-
outcome: z.ZodLiteral<"lead-conflict">;
|
|
18939
|
-
currentLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
18940
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18941
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
18942
|
-
missing: z.ZodEnum<{
|
|
18943
|
-
session: "session";
|
|
18944
|
-
agent: "agent";
|
|
18945
|
-
}>;
|
|
18946
|
-
}, z.core.$strip>], "outcome">;
|
|
18947
|
-
/** {@inheritDoc SessionOwnershipClaimResponseSchema} */
|
|
18948
|
-
type SessionOwnershipClaimResult = z.infer<typeof SessionOwnershipClaimResponseSchema>;
|
|
18949
|
-
/**
|
|
18950
|
-
* Request payload for `storage:sessionOwnership.settleCurrency`.
|
|
18951
|
-
*
|
|
18952
|
-
* The write is guarded twice, because two different things can be wrong. The
|
|
18953
|
-
* `claimToken` + `fence` pair answers "may this caller write at all"; the
|
|
18954
|
-
* `expectedRevision` answers "did the caller compute its target from the state
|
|
18955
|
-
* it is overwriting". A settle that passes the first and fails the second is a
|
|
18956
|
-
* lost race inside one generation, not a stale owner, and the caller's recovery
|
|
18957
|
-
* differs accordingly.
|
|
18958
|
-
*/
|
|
18959
|
-
declare const SessionOwnershipSettleCurrencyRequestSchema: z.ZodObject<{
|
|
18960
|
-
agentId: z.ZodString;
|
|
18961
|
-
claimToken: z.ZodString;
|
|
18962
|
-
fence: z.ZodNumber;
|
|
18963
|
-
expectedRevision: z.ZodNumber;
|
|
18964
|
-
target: z.ZodObject<{
|
|
18965
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
18966
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
18967
|
-
confirmed: "confirmed";
|
|
18968
|
-
moved: "moved";
|
|
18969
|
-
inherited: "inherited";
|
|
18970
|
-
}>;
|
|
18971
|
-
}, z.core.$strip>;
|
|
18972
|
-
}, z.core.$strip>;
|
|
18973
|
-
/** {@inheritDoc SessionOwnershipSettleCurrencyRequestSchema} */
|
|
18974
|
-
type SessionOwnershipSettleCurrencyRequest = z.infer<typeof SessionOwnershipSettleCurrencyRequestSchema>;
|
|
18975
|
-
/**
|
|
18976
|
-
* Result of `storage:sessionOwnership.settleCurrency`.
|
|
18977
|
-
*
|
|
18978
|
-
* `sessionSnapshotUpdated` reports whether the session row's currency was
|
|
18979
|
-
* refreshed alongside the agent's. Storage decides that by reading the session's
|
|
18980
|
-
* lead designation inside the same transaction as the write — a caller that
|
|
18981
|
-
* checked lead-ness first and passed a flag would be acting on a read that the
|
|
18982
|
-
* write no longer agrees with.
|
|
18983
|
-
*
|
|
18984
|
-
* That refresh publishes the settled currency **resolved onto the session row's
|
|
18985
|
-
* own terms, not copied from `target`**, exactly as a lead designation does (see
|
|
18986
|
-
* {@link SessionOwnershipClaimRequestSchema}'s `designateLead`): `inherited`
|
|
18987
|
-
* points at the reading row's own `adapterSessionId`, and a lead's origin is
|
|
18988
|
-
* generally not its session's, so a verbatim copy would leave the session
|
|
18989
|
-
* resolving to its own origin while the lead resolves elsewhere. What the
|
|
18990
|
-
* session row ends up carrying is what `resolveResumableAdapterSessionId` yields
|
|
18991
|
-
* for the settled lead — so a settle of `inherited` can legitimately leave the
|
|
18992
|
-
* session row reading `confirmed` or `moved`.
|
|
18993
|
-
*
|
|
18994
|
-
* A missing claim is `not-owner`, not `not-found`: the agent exists, the caller
|
|
18995
|
-
* simply has no authority over it. Callers that need to report *who* owns it
|
|
18996
|
-
* instead read the claim through `listClaims`.
|
|
18997
|
-
*
|
|
18998
|
-
* Authority is decided before order: a caller whose claim row is gone is
|
|
18999
|
-
* `not-owner` even when its fence is also stale, because `superseded` names the
|
|
19000
|
-
* generation that outranked it and there is no such generation to name. The
|
|
19001
|
-
* authority a caller presents is the *pair* `claimToken` + `fence`, so a live
|
|
19002
|
-
* claim carrying a different fence than the caller named is `not-owner` too —
|
|
19003
|
-
* that pair never existed, and reporting `superseded` would have to name a
|
|
19004
|
-
* `currentFence` that outranks nothing (it may even be below the caller's own).
|
|
19005
|
-
*
|
|
19006
|
-
* A claim is an ownership of an agent *in a session*, so a claim filed under a
|
|
19007
|
-
* session the agent has since left is `not-owner` as well. Whole-record writes
|
|
19008
|
-
* can move an agent between sessions; a generation taken while it was in the old
|
|
19009
|
-
* one no longer represents any ownership of it, and settling under it would
|
|
19010
|
-
* publish its currency into a session its holder was never part of.
|
|
19011
|
-
* `release` deliberately does **not** apply that rule — see
|
|
19012
|
-
* {@link SessionOwnershipReleaseRequestSchema}.
|
|
19013
|
-
*/
|
|
19014
|
-
declare const SessionOwnershipSettleCurrencyResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19015
|
-
outcome: z.ZodLiteral<"settled">;
|
|
19016
|
-
revision: z.ZodNumber;
|
|
19017
|
-
currency: z.ZodObject<{
|
|
19018
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19019
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19020
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19021
|
-
confirmed: "confirmed";
|
|
19022
|
-
moved: "moved";
|
|
19023
|
-
inherited: "inherited";
|
|
19024
|
-
}>;
|
|
19025
|
-
}, z.core.$strip>;
|
|
19026
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
19027
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19028
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
19029
|
-
revision: z.ZodNumber;
|
|
19030
|
-
currency: z.ZodObject<{
|
|
19031
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19032
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19033
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19034
|
-
confirmed: "confirmed";
|
|
19035
|
-
moved: "moved";
|
|
19036
|
-
inherited: "inherited";
|
|
19037
|
-
}>;
|
|
19038
|
-
}, z.core.$strip>;
|
|
19039
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
19040
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19041
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
19042
|
-
currentFence: z.ZodNumber;
|
|
19043
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19044
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
19045
|
-
revision: z.ZodNumber;
|
|
19046
|
-
currency: z.ZodObject<{
|
|
19047
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19048
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19049
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19050
|
-
confirmed: "confirmed";
|
|
19051
|
-
moved: "moved";
|
|
19052
|
-
inherited: "inherited";
|
|
19053
|
-
}>;
|
|
19054
|
-
}, z.core.$strip>;
|
|
19055
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19056
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19057
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19058
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
19059
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19060
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19061
|
-
}, z.core.$strip>], "outcome">;
|
|
19062
|
-
/** {@inheritDoc SessionOwnershipSettleCurrencyResponseSchema} */
|
|
19063
|
-
type SessionOwnershipSettleCurrencyResult = z.infer<typeof SessionOwnershipSettleCurrencyResponseSchema>;
|
|
19064
|
-
/**
|
|
19065
|
-
* What the provider did with an agent's conversation.
|
|
19066
|
-
*
|
|
19067
|
-
* The two members differ in what they *know*, not in how far they got, and the
|
|
19068
|
-
* difference decides whether a key may be freed. `confirmed` names a successor
|
|
19069
|
-
* the provider acknowledged, so the generations the agent held before it are
|
|
19070
|
-
* genuinely retired. `demote` says only that the conversation left, with no
|
|
19071
|
-
* acknowledged successor — the provider may still be live under the ID being
|
|
19072
|
-
* voided, so its claim is taken (or kept) rather than released.
|
|
19073
|
-
*/
|
|
19074
|
-
declare const OwnershipMovementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19075
|
-
kind: z.ZodLiteral<"confirmed">;
|
|
19076
|
-
providerSessionId: z.ZodString;
|
|
19077
|
-
claimToken: z.ZodString;
|
|
19078
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19079
|
-
kind: z.ZodLiteral<"demote">;
|
|
19080
|
-
claimToken: z.ZodString;
|
|
19081
|
-
}, z.core.$strip>], "kind">;
|
|
19082
|
-
/** {@inheritDoc OwnershipMovementSchema} */
|
|
19083
|
-
type OwnershipMovement = z.infer<typeof OwnershipMovementSchema>;
|
|
19084
|
-
/**
|
|
19085
|
-
* Request payload for `storage:sessionOwnership.settleMovement`.
|
|
19086
|
-
*
|
|
19087
|
-
* One call is the whole movement: acquire (or recognize) the successor
|
|
19088
|
-
* generation, settle the agent's currency under it, retire the predecessors it
|
|
19089
|
-
* replaces and refresh the session snapshot — in one transaction. Composed from
|
|
19090
|
-
* `claim` + `settleCurrency` + `release` by a caller, the same act is three
|
|
19091
|
-
* transactions with two windows in which a crash strands a key or publishes a
|
|
19092
|
-
* currency no generation owns.
|
|
19093
|
-
*/
|
|
19094
|
-
declare const SessionOwnershipSettleMovementRequestSchema: z.ZodObject<{
|
|
19095
|
-
machineId: z.ZodString;
|
|
19096
|
-
adapterId: z.ZodString;
|
|
19097
|
-
adapterName: z.ZodString;
|
|
19098
|
-
sessionId: z.ZodString;
|
|
19099
|
-
agentId: z.ZodString;
|
|
19100
|
-
expectedRevision: z.ZodNumber;
|
|
19101
|
-
movement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19102
|
-
kind: z.ZodLiteral<"confirmed">;
|
|
19103
|
-
providerSessionId: z.ZodString;
|
|
19104
|
-
claimToken: z.ZodString;
|
|
19105
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19106
|
-
kind: z.ZodLiteral<"demote">;
|
|
19107
|
-
claimToken: z.ZodString;
|
|
19108
|
-
}, z.core.$strip>], "kind">;
|
|
19109
|
-
}, z.core.$strip>;
|
|
19110
|
-
/** {@inheritDoc SessionOwnershipSettleMovementRequestSchema} */
|
|
19111
|
-
type SessionOwnershipSettleMovementRequest = z.infer<typeof SessionOwnershipSettleMovementRequestSchema>;
|
|
19112
|
-
/**
|
|
19113
|
-
* Result of `storage:sessionOwnership.settleMovement`.
|
|
19114
|
-
*
|
|
19115
|
-
* Every outcome other than `settled` leaves the store exactly as it was: the
|
|
19116
|
-
* claims phase runs inside the same transaction as the settle, so a refusal
|
|
19117
|
-
* reached after a generation was allocated rolls that allocation back with it.
|
|
19118
|
-
*
|
|
19119
|
-
* **The generation the response names is the one the settle wrote through**, not
|
|
19120
|
-
* the one the caller sent. An agent that already held the target key is settled
|
|
19121
|
-
* under the claim it already has, and the request's token names no row at all —
|
|
19122
|
-
* so a caller that carried its own token into a later release would retire a
|
|
19123
|
-
* generation that never existed and leave the real one blocking the key.
|
|
19124
|
-
*/
|
|
19125
|
-
declare const SessionOwnershipSettleMovementResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19126
|
-
outcome: z.ZodLiteral<"settled">;
|
|
19127
|
-
revision: z.ZodNumber;
|
|
19128
|
-
currency: z.ZodObject<{
|
|
19129
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19130
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19131
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19132
|
-
confirmed: "confirmed";
|
|
19133
|
-
moved: "moved";
|
|
19134
|
-
inherited: "inherited";
|
|
19135
|
-
}>;
|
|
19136
|
-
}, z.core.$strip>;
|
|
19137
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
19138
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
19139
|
-
claim: z.ZodObject<{
|
|
19140
|
-
machineId: z.ZodString;
|
|
19141
|
-
adapterId: z.ZodString;
|
|
19142
|
-
providerSessionId: z.ZodString;
|
|
19143
|
-
claimId: z.ZodString;
|
|
19144
|
-
adapterName: z.ZodString;
|
|
19145
|
-
sessionId: z.ZodString;
|
|
19146
|
-
agentId: z.ZodString;
|
|
19147
|
-
claimToken: z.ZodString;
|
|
19148
|
-
fence: z.ZodNumber;
|
|
19149
|
-
status: z.ZodEnum<{
|
|
19150
|
-
abandoned: "abandoned";
|
|
19151
|
-
held: "held";
|
|
19152
|
-
releasing: "releasing";
|
|
19153
|
-
}>;
|
|
19154
|
-
claimedAt: z.ZodNumber;
|
|
19155
|
-
updatedAt: z.ZodNumber;
|
|
19156
|
-
}, z.core.$strip>;
|
|
19157
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19158
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
19159
|
-
revision: z.ZodNumber;
|
|
19160
|
-
currency: z.ZodObject<{
|
|
19161
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19162
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19163
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19164
|
-
confirmed: "confirmed";
|
|
19165
|
-
moved: "moved";
|
|
19166
|
-
inherited: "inherited";
|
|
19167
|
-
}>;
|
|
19168
|
-
}, z.core.$strip>;
|
|
19169
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
19170
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
19171
|
-
machineId: z.ZodString;
|
|
19172
|
-
adapterId: z.ZodString;
|
|
19173
|
-
providerSessionId: z.ZodString;
|
|
19174
|
-
claimId: z.ZodString;
|
|
19175
|
-
adapterName: z.ZodString;
|
|
19176
|
-
sessionId: z.ZodString;
|
|
19177
|
-
agentId: z.ZodString;
|
|
19178
|
-
claimToken: z.ZodString;
|
|
19179
|
-
fence: z.ZodNumber;
|
|
19180
|
-
status: z.ZodEnum<{
|
|
19181
|
-
abandoned: "abandoned";
|
|
19182
|
-
held: "held";
|
|
19183
|
-
releasing: "releasing";
|
|
19184
|
-
}>;
|
|
19185
|
-
claimedAt: z.ZodNumber;
|
|
19186
|
-
updatedAt: z.ZodNumber;
|
|
19187
|
-
}, z.core.$strip>>;
|
|
19188
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19189
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
19190
|
-
holder: z.ZodObject<{
|
|
19191
|
-
machineId: z.ZodString;
|
|
19192
|
-
adapterId: z.ZodString;
|
|
19193
|
-
providerSessionId: z.ZodString;
|
|
19194
|
-
claimId: z.ZodString;
|
|
19195
|
-
adapterName: z.ZodString;
|
|
19196
|
-
sessionId: z.ZodString;
|
|
19197
|
-
agentId: z.ZodString;
|
|
19198
|
-
claimToken: z.ZodString;
|
|
19199
|
-
fence: z.ZodNumber;
|
|
19200
|
-
status: z.ZodEnum<{
|
|
19201
|
-
abandoned: "abandoned";
|
|
19202
|
-
held: "held";
|
|
19203
|
-
releasing: "releasing";
|
|
19204
|
-
}>;
|
|
19205
|
-
claimedAt: z.ZodNumber;
|
|
19206
|
-
updatedAt: z.ZodNumber;
|
|
19207
|
-
}, z.core.$strip>;
|
|
19208
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19209
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
19210
|
-
currentFence: z.ZodNumber;
|
|
19211
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19212
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
19213
|
-
revision: z.ZodNumber;
|
|
19214
|
-
currency: z.ZodObject<{
|
|
19215
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19216
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19217
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19218
|
-
confirmed: "confirmed";
|
|
19219
|
-
moved: "moved";
|
|
19220
|
-
inherited: "inherited";
|
|
19221
|
-
}>;
|
|
19222
|
-
}, z.core.$strip>;
|
|
19223
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19224
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19225
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19226
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
19227
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19228
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19229
|
-
}, z.core.$strip>], "outcome">;
|
|
19230
|
-
/** {@inheritDoc SessionOwnershipSettleMovementResponseSchema} */
|
|
19231
|
-
type SessionOwnershipSettleMovementResult = z.infer<typeof SessionOwnershipSettleMovementResponseSchema>;
|
|
19232
|
-
/**
|
|
19233
|
-
* How a claim is given up.
|
|
19234
|
-
*
|
|
19235
|
-
* - `released` — the provider session is provably done with; the row is removed
|
|
19236
|
-
* and the key becomes claimable again.
|
|
19237
|
-
* - `releasing` — teardown started but is not confirmed; the row stays and keeps
|
|
19238
|
-
* blocking.
|
|
19239
|
-
* - `abandoned` — the owner failed after dispatching to the provider; the row
|
|
19240
|
-
* stays and keeps blocking until an explicit takeover names its token, or
|
|
19241
|
-
* until that same generation later confirms teardown with a `released` of its
|
|
19242
|
-
* own (see {@link AdapterSessionClaimStatusSchema}). Storage does not judge
|
|
19243
|
-
* whether that takeover is legitimate.
|
|
19244
|
-
*
|
|
19245
|
-
* Only the first frees the key. A failure after dispatch must never take that
|
|
19246
|
-
* path: the provider process may still be alive, and a second owner attaching
|
|
19247
|
-
* to a live conversation is the exact outcome this aggregate exists to prevent.
|
|
19248
|
-
*/
|
|
19249
|
-
declare const AdapterSessionClaimDispositionSchema: z.ZodEnum<{
|
|
19250
|
-
released: "released";
|
|
19251
|
-
abandoned: "abandoned";
|
|
19252
|
-
releasing: "releasing";
|
|
19253
|
-
}>;
|
|
19254
|
-
/** {@inheritDoc AdapterSessionClaimDispositionSchema} */
|
|
19255
|
-
type AdapterSessionClaimDisposition = z.infer<typeof AdapterSessionClaimDispositionSchema>;
|
|
19256
|
-
/**
|
|
19257
|
-
* Request payload for `storage:sessionOwnership.release`.
|
|
19258
|
-
*
|
|
19259
|
-
* The token and the agent are the whole of the authority, deliberately less than
|
|
19260
|
-
* `settleCurrency` asks for: that op additionally requires the claim to be filed
|
|
19261
|
-
* under the agent's *current* session, because it exercises the claim as
|
|
19262
|
-
* authority over that agent's currency. Giving a claim up needs no authority
|
|
19263
|
-
* beyond having been the one who took it. Demanding session membership here
|
|
19264
|
-
* would strand exactly the claims that most need retiring — an agent moved to
|
|
19265
|
-
* another session would leave its old generation unreleasable, blocking the
|
|
19266
|
-
* ownership key against everyone, forever.
|
|
19197
|
+
* Whether a request is a keyless, unguarded lead relinquishment.
|
|
19198
|
+
* @param value - Claim fields relevant to acquisition.
|
|
19199
|
+
* @returns Whether no authority is acquired or published.
|
|
19267
19200
|
*/
|
|
19268
|
-
declare
|
|
19269
|
-
agentId: z.ZodString;
|
|
19270
|
-
claimToken: z.ZodString;
|
|
19271
|
-
disposition: z.ZodEnum<{
|
|
19272
|
-
released: "released";
|
|
19273
|
-
abandoned: "abandoned";
|
|
19274
|
-
releasing: "releasing";
|
|
19275
|
-
}>;
|
|
19276
|
-
}, z.core.$strip>;
|
|
19277
|
-
/** {@inheritDoc SessionOwnershipReleaseRequestSchema} */
|
|
19278
|
-
type SessionOwnershipReleaseRequest = z.infer<typeof SessionOwnershipReleaseRequestSchema>;
|
|
19279
|
-
/** Result of `storage:sessionOwnership.release`. */
|
|
19280
|
-
declare const SessionOwnershipReleaseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19281
|
-
outcome: z.ZodLiteral<"released">;
|
|
19282
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19283
|
-
outcome: z.ZodLiteral<"marked">;
|
|
19284
|
-
claim: z.ZodObject<{
|
|
19285
|
-
machineId: z.ZodString;
|
|
19286
|
-
adapterId: z.ZodString;
|
|
19287
|
-
providerSessionId: z.ZodString;
|
|
19288
|
-
claimId: z.ZodString;
|
|
19289
|
-
adapterName: z.ZodString;
|
|
19290
|
-
sessionId: z.ZodString;
|
|
19291
|
-
agentId: z.ZodString;
|
|
19292
|
-
claimToken: z.ZodString;
|
|
19293
|
-
fence: z.ZodNumber;
|
|
19294
|
-
status: z.ZodEnum<{
|
|
19295
|
-
abandoned: "abandoned";
|
|
19296
|
-
held: "held";
|
|
19297
|
-
releasing: "releasing";
|
|
19298
|
-
}>;
|
|
19299
|
-
claimedAt: z.ZodNumber;
|
|
19300
|
-
updatedAt: z.ZodNumber;
|
|
19301
|
-
}, z.core.$strip>;
|
|
19302
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19303
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19304
|
-
holder: z.ZodObject<{
|
|
19305
|
-
machineId: z.ZodString;
|
|
19306
|
-
adapterId: z.ZodString;
|
|
19307
|
-
providerSessionId: z.ZodString;
|
|
19308
|
-
claimId: z.ZodString;
|
|
19309
|
-
adapterName: z.ZodString;
|
|
19310
|
-
sessionId: z.ZodString;
|
|
19311
|
-
agentId: z.ZodString;
|
|
19312
|
-
claimToken: z.ZodString;
|
|
19313
|
-
fence: z.ZodNumber;
|
|
19314
|
-
status: z.ZodEnum<{
|
|
19315
|
-
abandoned: "abandoned";
|
|
19316
|
-
held: "held";
|
|
19317
|
-
releasing: "releasing";
|
|
19318
|
-
}>;
|
|
19319
|
-
claimedAt: z.ZodNumber;
|
|
19320
|
-
updatedAt: z.ZodNumber;
|
|
19321
|
-
}, z.core.$strip>;
|
|
19322
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19323
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19324
|
-
}, z.core.$strip>], "outcome">;
|
|
19325
|
-
/** {@inheritDoc SessionOwnershipReleaseResponseSchema} */
|
|
19326
|
-
type SessionOwnershipReleaseResult = z.infer<typeof SessionOwnershipReleaseResponseSchema>;
|
|
19201
|
+
declare function isPureLeadRelinquishment(value: SessionOwnershipDesignationMutationCandidate): boolean;
|
|
19327
19202
|
/**
|
|
19328
|
-
*
|
|
19329
|
-
*
|
|
19330
|
-
*
|
|
19331
|
-
* teardown fan-out**, which exists because reading an agent's claims and
|
|
19332
|
-
* releasing them one by one cannot see a claim taken in between — and an agent
|
|
19333
|
-
* legitimately holds two mid-movement. One predicate over `agent_id` retires
|
|
19334
|
-
* whatever is there at the instant the statement runs, which is the only shape
|
|
19335
|
-
* that can be complete.
|
|
19336
|
-
*
|
|
19337
|
-
* Naming a token scopes the act to exactly one generation, which is the rollback
|
|
19338
|
-
* form: a start that failed before dispatch must give up the generation it took
|
|
19339
|
-
* and nothing else, because the agent may hold a second one from an unrelated
|
|
19340
|
-
* in-flight movement.
|
|
19341
|
-
*
|
|
19342
|
-
* **Not `disposed`-guarded**, unlike every other ownership operation. Giving a
|
|
19343
|
-
* claim up is the one act a removed agent must still perform; guarding it would
|
|
19344
|
-
* strand exactly the claims that most need retiring.
|
|
19203
|
+
* Whether a request is a keyless, unguarded restoration of a prior lead.
|
|
19204
|
+
* @param value - Claim fields relevant to acquisition.
|
|
19205
|
+
* @returns Whether the request only restores a designation under CAS.
|
|
19345
19206
|
*/
|
|
19346
|
-
declare
|
|
19347
|
-
agentId: z.ZodString;
|
|
19348
|
-
claimToken: z.ZodOptional<z.ZodString>;
|
|
19349
|
-
disposition: z.ZodEnum<{
|
|
19350
|
-
released: "released";
|
|
19351
|
-
abandoned: "abandoned";
|
|
19352
|
-
releasing: "releasing";
|
|
19353
|
-
}>;
|
|
19354
|
-
}, z.core.$strip>;
|
|
19355
|
-
/** {@inheritDoc SessionOwnershipReleaseAgentClaimsRequestSchema} */
|
|
19356
|
-
type SessionOwnershipReleaseAgentClaimsRequest = z.infer<typeof SessionOwnershipReleaseAgentClaimsRequestSchema>;
|
|
19207
|
+
declare function isPureLeadRestoration(value: SessionOwnershipDesignationMutationCandidate): boolean;
|
|
19357
19208
|
/**
|
|
19358
|
-
*
|
|
19359
|
-
*
|
|
19360
|
-
*
|
|
19361
|
-
* no claims — including one whose row is gone entirely — yields empty lists
|
|
19362
|
-
* rather than an error, which is what makes teardown idempotent.
|
|
19209
|
+
* Whether a designation mutation is safe after the session becomes inactive.
|
|
19210
|
+
* @param value - Claim fields relevant to acquisition.
|
|
19211
|
+
* @returns Whether the request only clears or restores a prior designation.
|
|
19363
19212
|
*/
|
|
19364
|
-
declare
|
|
19365
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
19366
|
-
markedClaims: z.ZodArray<z.ZodObject<{
|
|
19367
|
-
machineId: z.ZodString;
|
|
19368
|
-
adapterId: z.ZodString;
|
|
19369
|
-
providerSessionId: z.ZodString;
|
|
19370
|
-
claimId: z.ZodString;
|
|
19371
|
-
adapterName: z.ZodString;
|
|
19372
|
-
sessionId: z.ZodString;
|
|
19373
|
-
agentId: z.ZodString;
|
|
19374
|
-
claimToken: z.ZodString;
|
|
19375
|
-
fence: z.ZodNumber;
|
|
19376
|
-
status: z.ZodEnum<{
|
|
19377
|
-
abandoned: "abandoned";
|
|
19378
|
-
held: "held";
|
|
19379
|
-
releasing: "releasing";
|
|
19380
|
-
}>;
|
|
19381
|
-
claimedAt: z.ZodNumber;
|
|
19382
|
-
updatedAt: z.ZodNumber;
|
|
19383
|
-
}, z.core.$strip>>;
|
|
19384
|
-
claimTokenNotFound: z.ZodBoolean;
|
|
19385
|
-
}, z.core.$strip>;
|
|
19386
|
-
/** {@inheritDoc SessionOwnershipReleaseAgentClaimsResponseSchema} */
|
|
19387
|
-
type SessionOwnershipReleaseAgentClaimsResult = z.infer<typeof SessionOwnershipReleaseAgentClaimsResponseSchema>;
|
|
19213
|
+
declare function isInactiveSafeLeadDesignationMutation$1(value: SessionOwnershipDesignationMutationCandidate): boolean;
|
|
19388
19214
|
/**
|
|
19389
|
-
*
|
|
19390
|
-
*
|
|
19391
|
-
*
|
|
19392
|
-
* runtime may only reason about liveness of owners on its own machine, and a
|
|
19393
|
-
* query that could span machines invites a takeover decision that has no
|
|
19394
|
-
* evidence behind it.
|
|
19215
|
+
* Explain why a flagged designation request is not a pure mutation.
|
|
19216
|
+
* @param value - Claim fields relevant to acquisition.
|
|
19217
|
+
* @returns The contract violation, or `undefined` for a valid mutation.
|
|
19395
19218
|
*/
|
|
19396
|
-
declare
|
|
19397
|
-
machineId: z.ZodString;
|
|
19398
|
-
adapterId: z.ZodOptional<z.ZodString>;
|
|
19399
|
-
providerSessionId: z.ZodOptional<z.ZodString>;
|
|
19400
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19401
|
-
abandoned: "abandoned";
|
|
19402
|
-
held: "held";
|
|
19403
|
-
releasing: "releasing";
|
|
19404
|
-
}>>>;
|
|
19405
|
-
}, z.core.$strip>;
|
|
19406
|
-
/** {@inheritDoc SessionOwnershipListClaimsRequestSchema} */
|
|
19407
|
-
type SessionOwnershipListClaimsRequest = z.infer<typeof SessionOwnershipListClaimsRequestSchema>;
|
|
19219
|
+
declare function getLeadDesignationMutationViolation(value: SessionOwnershipDesignationMutationCandidate): string | undefined;
|
|
19408
19220
|
/**
|
|
19409
|
-
*
|
|
19410
|
-
*
|
|
19411
|
-
*
|
|
19412
|
-
*
|
|
19413
|
-
* A provider-native session has exactly one durable runtime owner within its
|
|
19414
|
-
* machine/adapter namespace. Agent currency may only be changed by the current
|
|
19415
|
-
* claim generation. Session currency is a persisted snapshot of the designated
|
|
19416
|
-
* lead's currency.
|
|
19417
|
-
*
|
|
19418
|
-
* **Why a dedicated namespace.** `storage:session.update` is a partial-update
|
|
19419
|
-
* surface with no notion of who is allowed to write. Widening it with
|
|
19420
|
-
* compare-and-swap semantics would put a versioned-write contract on every
|
|
19421
|
-
* existing caller, turning one seam's concurrency problem into a storage-wide
|
|
19422
|
-
* one. The operations here are the narrow alternative: every one of them states
|
|
19423
|
-
* its authority up front, and they are the only writers of the agent currency
|
|
19424
|
-
* columns and of the claim table.
|
|
19425
|
-
*
|
|
19426
|
-
* **No second writer, including for the session snapshot.** The currency pair
|
|
19427
|
-
* is on neither `storage:session.update` nor `storage:session.set`, so a
|
|
19428
|
-
* snapshot written here can only be superseded by another write through this
|
|
19429
|
-
* seam — one that had to present a claim generation to get in. That is what
|
|
19430
|
-
* makes the snapshot's freshness derivable rather than hoped for.
|
|
19431
|
-
*
|
|
19432
|
-
* **Transactionality.** These handlers run multi-row writes inside
|
|
19433
|
-
* `executeTransaction` from `@makaio/storage-drizzle`, which is a deliberate
|
|
19434
|
-
* exception to the single-statement rule the other session storage handlers
|
|
19435
|
-
* follow. That rule exists because a bare `db.transaction()` holds a write lock
|
|
19436
|
-
* across await boundaries and deadlocks against concurrent handlers on the same
|
|
19437
|
-
* connection; `executeTransaction` closes exactly that hole by serializing
|
|
19438
|
-
* transaction callbacks per database handle before opening one, so a second
|
|
19439
|
-
* transaction queues instead of colliding at `BEGIN`. The serialization is
|
|
19440
|
-
* process-local by construction, which is why cross-process exclusivity is NOT
|
|
19441
|
-
* derived from it: "exactly one winner" comes from the claim table's unique
|
|
19442
|
-
* index over the ownership key, and the acquiring statement is an insert against
|
|
19443
|
-
* that index rather than a read-then-write. The transaction supplies atomicity
|
|
19444
|
-
* across the claim, agent and session rows; the index supplies exclusivity.
|
|
19445
|
-
* @example
|
|
19446
|
-
* ```typescript
|
|
19447
|
-
* import { SessionOwnershipStorageSubjects } from '@makaio/framework/contracts';
|
|
19448
|
-
*
|
|
19449
|
-
* const result = await bus.request(SessionOwnershipStorageSubjects.claim, {
|
|
19450
|
-
* machineId, adapterId, adapterName, providerSessionId,
|
|
19451
|
-
* sessionId, agentId, claimToken,
|
|
19452
|
-
* designateLead: { expectedLeadAgentId: null },
|
|
19453
|
-
* });
|
|
19454
|
-
* // 'already-claimed' means another runtime owns the thread: degrade, never resume.
|
|
19455
|
-
* ```
|
|
19221
|
+
* Add canonical designation-mutation issues to a claim schema refinement.
|
|
19222
|
+
* @param value - Claim fields relevant to designation and recovery.
|
|
19223
|
+
* @param ctx - Active schema refinement context.
|
|
19456
19224
|
*/
|
|
19457
|
-
declare
|
|
19458
|
-
/**
|
|
19459
|
-
* Read one agent's durable ownership state.
|
|
19460
|
-
*
|
|
19461
|
-
* **Not a consistent snapshot**, in either direction: the agent row and its
|
|
19462
|
-
* claims are read as two statements, so a concurrent claim or release can
|
|
19463
|
-
* show up in one and not the other. A reader may therefore observe a claim
|
|
19464
|
-
* whose fence the agent's `currencyFence` does not yet account for, or a
|
|
19465
|
-
* `currencyFence` whose authoring claim has already been released. Both are
|
|
19466
|
-
* legitimate instants of the aggregate; a reader that needs authority must
|
|
19467
|
-
* ask for it (`settleCurrency`) rather than infer it from this read.
|
|
19468
|
-
*
|
|
19469
|
-
* Subject: `storage:sessionOwnership.read`
|
|
19470
|
-
* Type: Request (RPC)
|
|
19471
|
-
*/
|
|
19472
|
-
read: {
|
|
19473
|
-
request: z.ZodObject<{
|
|
19474
|
-
agentId: z.ZodString;
|
|
19475
|
-
}, z.core.$strip>;
|
|
19476
|
-
response: z.ZodObject<{
|
|
19477
|
-
ownership: z.ZodNullable<z.ZodObject<{
|
|
19478
|
-
agentId: z.ZodString;
|
|
19479
|
-
sessionId: z.ZodString;
|
|
19480
|
-
currency: z.ZodObject<{
|
|
19481
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19482
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19483
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19484
|
-
confirmed: "confirmed";
|
|
19485
|
-
moved: "moved";
|
|
19486
|
-
inherited: "inherited";
|
|
19487
|
-
}>;
|
|
19488
|
-
}, z.core.$strip>;
|
|
19489
|
-
revision: z.ZodNumber;
|
|
19490
|
-
currencyFence: z.ZodNumber;
|
|
19491
|
-
claims: z.ZodArray<z.ZodObject<{
|
|
19492
|
-
machineId: z.ZodString;
|
|
19493
|
-
adapterId: z.ZodString;
|
|
19494
|
-
providerSessionId: z.ZodString;
|
|
19495
|
-
claimId: z.ZodString;
|
|
19496
|
-
adapterName: z.ZodString;
|
|
19497
|
-
sessionId: z.ZodString;
|
|
19498
|
-
agentId: z.ZodString;
|
|
19499
|
-
claimToken: z.ZodString;
|
|
19500
|
-
fence: z.ZodNumber;
|
|
19501
|
-
status: z.ZodEnum<{
|
|
19502
|
-
abandoned: "abandoned";
|
|
19503
|
-
held: "held";
|
|
19504
|
-
releasing: "releasing";
|
|
19505
|
-
}>;
|
|
19506
|
-
claimedAt: z.ZodNumber;
|
|
19507
|
-
updatedAt: z.ZodNumber;
|
|
19508
|
-
}, z.core.$strip>>;
|
|
19509
|
-
}, z.core.$strip>>;
|
|
19510
|
-
}, z.core.$strip>;
|
|
19511
|
-
};
|
|
19512
|
-
/**
|
|
19513
|
-
* Take or take over the ownership claim on a provider session, optionally
|
|
19514
|
-
* designating the claiming agent as the session's lead in the same
|
|
19515
|
-
* transaction.
|
|
19516
|
-
*
|
|
19517
|
-
* With `providerSessionId: null` it is the **keyless reservation**: no claim
|
|
19518
|
-
* row at all, and the designation plus its currency mirror are the whole
|
|
19519
|
-
* effect. That is the fresh-start shape — there is no provider identity to
|
|
19520
|
-
* own yet, and the designation still has to be atomic and compare-and-swap.
|
|
19521
|
-
*
|
|
19522
|
-
* Subject: `storage:sessionOwnership.claim`
|
|
19523
|
-
* Type: Request (RPC)
|
|
19524
|
-
*/
|
|
19525
|
-
claim: {
|
|
19526
|
-
request: z.ZodObject<{
|
|
19527
|
-
machineId: z.ZodString;
|
|
19528
|
-
adapterId: z.ZodString;
|
|
19529
|
-
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
19530
|
-
adapterName: z.ZodString;
|
|
19531
|
-
sessionId: z.ZodString;
|
|
19532
|
-
agentId: z.ZodString;
|
|
19533
|
-
claimToken: z.ZodString;
|
|
19534
|
-
supersedes: z.ZodOptional<z.ZodObject<{
|
|
19535
|
-
claimToken: z.ZodString;
|
|
19536
|
-
}, z.core.$strip>>;
|
|
19537
|
-
designateLead: z.ZodOptional<z.ZodObject<{
|
|
19538
|
-
expectedLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
19539
|
-
clear: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19540
|
-
}, z.core.$strip>>;
|
|
19541
|
-
}, z.core.$strip>;
|
|
19542
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19543
|
-
outcome: z.ZodLiteral<"claimed">;
|
|
19544
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
19545
|
-
machineId: z.ZodString;
|
|
19546
|
-
adapterId: z.ZodString;
|
|
19547
|
-
providerSessionId: z.ZodString;
|
|
19548
|
-
claimId: z.ZodString;
|
|
19549
|
-
adapterName: z.ZodString;
|
|
19550
|
-
sessionId: z.ZodString;
|
|
19551
|
-
agentId: z.ZodString;
|
|
19552
|
-
claimToken: z.ZodString;
|
|
19553
|
-
fence: z.ZodNumber;
|
|
19554
|
-
status: z.ZodEnum<{
|
|
19555
|
-
abandoned: "abandoned";
|
|
19556
|
-
held: "held";
|
|
19557
|
-
releasing: "releasing";
|
|
19558
|
-
}>;
|
|
19559
|
-
claimedAt: z.ZodNumber;
|
|
19560
|
-
updatedAt: z.ZodNumber;
|
|
19561
|
-
}, z.core.$strip>>;
|
|
19562
|
-
leadDesignated: z.ZodBoolean;
|
|
19563
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
19564
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19565
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
19566
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
19567
|
-
machineId: z.ZodString;
|
|
19568
|
-
adapterId: z.ZodString;
|
|
19569
|
-
providerSessionId: z.ZodString;
|
|
19570
|
-
claimId: z.ZodString;
|
|
19571
|
-
adapterName: z.ZodString;
|
|
19572
|
-
sessionId: z.ZodString;
|
|
19573
|
-
agentId: z.ZodString;
|
|
19574
|
-
claimToken: z.ZodString;
|
|
19575
|
-
fence: z.ZodNumber;
|
|
19576
|
-
status: z.ZodEnum<{
|
|
19577
|
-
abandoned: "abandoned";
|
|
19578
|
-
held: "held";
|
|
19579
|
-
releasing: "releasing";
|
|
19580
|
-
}>;
|
|
19581
|
-
claimedAt: z.ZodNumber;
|
|
19582
|
-
updatedAt: z.ZodNumber;
|
|
19583
|
-
}, z.core.$strip>>;
|
|
19584
|
-
leadDesignated: z.ZodBoolean;
|
|
19585
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
19586
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19587
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
19588
|
-
holder: z.ZodObject<{
|
|
19589
|
-
machineId: z.ZodString;
|
|
19590
|
-
adapterId: z.ZodString;
|
|
19591
|
-
providerSessionId: z.ZodString;
|
|
19592
|
-
claimId: z.ZodString;
|
|
19593
|
-
adapterName: z.ZodString;
|
|
19594
|
-
sessionId: z.ZodString;
|
|
19595
|
-
agentId: z.ZodString;
|
|
19596
|
-
claimToken: z.ZodString;
|
|
19597
|
-
fence: z.ZodNumber;
|
|
19598
|
-
status: z.ZodEnum<{
|
|
19599
|
-
abandoned: "abandoned";
|
|
19600
|
-
held: "held";
|
|
19601
|
-
releasing: "releasing";
|
|
19602
|
-
}>;
|
|
19603
|
-
claimedAt: z.ZodNumber;
|
|
19604
|
-
updatedAt: z.ZodNumber;
|
|
19605
|
-
}, z.core.$strip>;
|
|
19606
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19607
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
19608
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19609
|
-
outcome: z.ZodLiteral<"lead-conflict">;
|
|
19610
|
-
currentLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
19611
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19612
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19613
|
-
missing: z.ZodEnum<{
|
|
19614
|
-
session: "session";
|
|
19615
|
-
agent: "agent";
|
|
19616
|
-
}>;
|
|
19617
|
-
}, z.core.$strip>], "outcome">;
|
|
19618
|
-
};
|
|
19619
|
-
/**
|
|
19620
|
-
* Write an agent's adapter-session currency under a claim generation, and
|
|
19621
|
-
* mirror it onto the session row when the agent is the designated lead.
|
|
19622
|
-
*
|
|
19623
|
-
* What is settled here is what a restart resumes: the resume-identity path
|
|
19624
|
-
* resolves an agent's currency from this row whenever it has been settled,
|
|
19625
|
-
* and falls back to the session row only for rows written before the agent
|
|
19626
|
-
* row could carry currency at all.
|
|
19627
|
-
*
|
|
19628
|
-
* Subject: `storage:sessionOwnership.settleCurrency`
|
|
19629
|
-
* Type: Request (RPC)
|
|
19630
|
-
*/
|
|
19631
|
-
settleCurrency: {
|
|
19632
|
-
request: z.ZodObject<{
|
|
19633
|
-
agentId: z.ZodString;
|
|
19634
|
-
claimToken: z.ZodString;
|
|
19635
|
-
fence: z.ZodNumber;
|
|
19636
|
-
expectedRevision: z.ZodNumber;
|
|
19637
|
-
target: z.ZodObject<{
|
|
19638
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19639
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19640
|
-
confirmed: "confirmed";
|
|
19641
|
-
moved: "moved";
|
|
19642
|
-
inherited: "inherited";
|
|
19643
|
-
}>;
|
|
19644
|
-
}, z.core.$strip>;
|
|
19645
|
-
}, z.core.$strip>;
|
|
19646
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19647
|
-
outcome: z.ZodLiteral<"settled">;
|
|
19648
|
-
revision: z.ZodNumber;
|
|
19649
|
-
currency: z.ZodObject<{
|
|
19650
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19651
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19652
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19653
|
-
confirmed: "confirmed";
|
|
19654
|
-
moved: "moved";
|
|
19655
|
-
inherited: "inherited";
|
|
19656
|
-
}>;
|
|
19657
|
-
}, z.core.$strip>;
|
|
19658
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
19659
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19660
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
19661
|
-
revision: z.ZodNumber;
|
|
19662
|
-
currency: z.ZodObject<{
|
|
19663
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19664
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19665
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19666
|
-
confirmed: "confirmed";
|
|
19667
|
-
moved: "moved";
|
|
19668
|
-
inherited: "inherited";
|
|
19669
|
-
}>;
|
|
19670
|
-
}, z.core.$strip>;
|
|
19671
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
19672
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19673
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
19674
|
-
currentFence: z.ZodNumber;
|
|
19675
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19676
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
19677
|
-
revision: z.ZodNumber;
|
|
19678
|
-
currency: z.ZodObject<{
|
|
19679
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19680
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19681
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19682
|
-
confirmed: "confirmed";
|
|
19683
|
-
moved: "moved";
|
|
19684
|
-
inherited: "inherited";
|
|
19685
|
-
}>;
|
|
19686
|
-
}, z.core.$strip>;
|
|
19687
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19688
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19689
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19690
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
19691
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19692
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19693
|
-
}, z.core.$strip>], "outcome">;
|
|
19694
|
-
};
|
|
19695
|
-
/**
|
|
19696
|
-
* Record a provider-session movement in full: acquire or recognize the
|
|
19697
|
-
* successor generation, settle the agent's currency under it, retire the
|
|
19698
|
-
* predecessors it replaces, and mirror the result onto the session row —
|
|
19699
|
-
* all in one transaction.
|
|
19700
|
-
*
|
|
19701
|
-
* The composite `settleCurrency` exists inside. Callers use this one;
|
|
19702
|
-
* `settleCurrency` remains the single-step primitive the claim/settle
|
|
19703
|
-
* interleavings are exercised through.
|
|
19704
|
-
*
|
|
19705
|
-
* Subject: `storage:sessionOwnership.settleMovement`
|
|
19706
|
-
* Type: Request (RPC)
|
|
19707
|
-
*/
|
|
19708
|
-
settleMovement: {
|
|
19709
|
-
request: z.ZodObject<{
|
|
19710
|
-
machineId: z.ZodString;
|
|
19711
|
-
adapterId: z.ZodString;
|
|
19712
|
-
adapterName: z.ZodString;
|
|
19713
|
-
sessionId: z.ZodString;
|
|
19714
|
-
agentId: z.ZodString;
|
|
19715
|
-
expectedRevision: z.ZodNumber;
|
|
19716
|
-
movement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19717
|
-
kind: z.ZodLiteral<"confirmed">;
|
|
19718
|
-
providerSessionId: z.ZodString;
|
|
19719
|
-
claimToken: z.ZodString;
|
|
19720
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19721
|
-
kind: z.ZodLiteral<"demote">;
|
|
19722
|
-
claimToken: z.ZodString;
|
|
19723
|
-
}, z.core.$strip>], "kind">;
|
|
19724
|
-
}, z.core.$strip>;
|
|
19725
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19726
|
-
outcome: z.ZodLiteral<"settled">;
|
|
19727
|
-
revision: z.ZodNumber;
|
|
19728
|
-
currency: z.ZodObject<{
|
|
19729
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19730
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19731
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19732
|
-
confirmed: "confirmed";
|
|
19733
|
-
moved: "moved";
|
|
19734
|
-
inherited: "inherited";
|
|
19735
|
-
}>;
|
|
19736
|
-
}, z.core.$strip>;
|
|
19737
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
19738
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
19739
|
-
claim: z.ZodObject<{
|
|
19740
|
-
machineId: z.ZodString;
|
|
19741
|
-
adapterId: z.ZodString;
|
|
19742
|
-
providerSessionId: z.ZodString;
|
|
19743
|
-
claimId: z.ZodString;
|
|
19744
|
-
adapterName: z.ZodString;
|
|
19745
|
-
sessionId: z.ZodString;
|
|
19746
|
-
agentId: z.ZodString;
|
|
19747
|
-
claimToken: z.ZodString;
|
|
19748
|
-
fence: z.ZodNumber;
|
|
19749
|
-
status: z.ZodEnum<{
|
|
19750
|
-
abandoned: "abandoned";
|
|
19751
|
-
held: "held";
|
|
19752
|
-
releasing: "releasing";
|
|
19753
|
-
}>;
|
|
19754
|
-
claimedAt: z.ZodNumber;
|
|
19755
|
-
updatedAt: z.ZodNumber;
|
|
19756
|
-
}, z.core.$strip>;
|
|
19757
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19758
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
19759
|
-
revision: z.ZodNumber;
|
|
19760
|
-
currency: z.ZodObject<{
|
|
19761
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19762
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19763
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19764
|
-
confirmed: "confirmed";
|
|
19765
|
-
moved: "moved";
|
|
19766
|
-
inherited: "inherited";
|
|
19767
|
-
}>;
|
|
19768
|
-
}, z.core.$strip>;
|
|
19769
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
19770
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
19771
|
-
machineId: z.ZodString;
|
|
19772
|
-
adapterId: z.ZodString;
|
|
19773
|
-
providerSessionId: z.ZodString;
|
|
19774
|
-
claimId: z.ZodString;
|
|
19775
|
-
adapterName: z.ZodString;
|
|
19776
|
-
sessionId: z.ZodString;
|
|
19777
|
-
agentId: z.ZodString;
|
|
19778
|
-
claimToken: z.ZodString;
|
|
19779
|
-
fence: z.ZodNumber;
|
|
19780
|
-
status: z.ZodEnum<{
|
|
19781
|
-
abandoned: "abandoned";
|
|
19782
|
-
held: "held";
|
|
19783
|
-
releasing: "releasing";
|
|
19784
|
-
}>;
|
|
19785
|
-
claimedAt: z.ZodNumber;
|
|
19786
|
-
updatedAt: z.ZodNumber;
|
|
19787
|
-
}, z.core.$strip>>;
|
|
19788
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19789
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
19790
|
-
holder: z.ZodObject<{
|
|
19791
|
-
machineId: z.ZodString;
|
|
19792
|
-
adapterId: z.ZodString;
|
|
19793
|
-
providerSessionId: z.ZodString;
|
|
19794
|
-
claimId: z.ZodString;
|
|
19795
|
-
adapterName: z.ZodString;
|
|
19796
|
-
sessionId: z.ZodString;
|
|
19797
|
-
agentId: z.ZodString;
|
|
19798
|
-
claimToken: z.ZodString;
|
|
19799
|
-
fence: z.ZodNumber;
|
|
19800
|
-
status: z.ZodEnum<{
|
|
19801
|
-
abandoned: "abandoned";
|
|
19802
|
-
held: "held";
|
|
19803
|
-
releasing: "releasing";
|
|
19804
|
-
}>;
|
|
19805
|
-
claimedAt: z.ZodNumber;
|
|
19806
|
-
updatedAt: z.ZodNumber;
|
|
19807
|
-
}, z.core.$strip>;
|
|
19808
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19809
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
19810
|
-
currentFence: z.ZodNumber;
|
|
19811
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19812
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
19813
|
-
revision: z.ZodNumber;
|
|
19814
|
-
currency: z.ZodObject<{
|
|
19815
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19816
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
19817
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
19818
|
-
confirmed: "confirmed";
|
|
19819
|
-
moved: "moved";
|
|
19820
|
-
inherited: "inherited";
|
|
19821
|
-
}>;
|
|
19822
|
-
}, z.core.$strip>;
|
|
19823
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19824
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19825
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19826
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
19827
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19828
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19829
|
-
}, z.core.$strip>], "outcome">;
|
|
19830
|
-
};
|
|
19831
|
-
/**
|
|
19832
|
-
* Give up a claim — freeing the ownership key only on a clean release.
|
|
19833
|
-
*
|
|
19834
|
-
* Subject: `storage:sessionOwnership.release`
|
|
19835
|
-
* Type: Request (RPC)
|
|
19836
|
-
*/
|
|
19837
|
-
release: {
|
|
19838
|
-
request: z.ZodObject<{
|
|
19839
|
-
agentId: z.ZodString;
|
|
19840
|
-
claimToken: z.ZodString;
|
|
19841
|
-
disposition: z.ZodEnum<{
|
|
19842
|
-
released: "released";
|
|
19843
|
-
abandoned: "abandoned";
|
|
19844
|
-
releasing: "releasing";
|
|
19845
|
-
}>;
|
|
19846
|
-
}, z.core.$strip>;
|
|
19847
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19848
|
-
outcome: z.ZodLiteral<"released">;
|
|
19849
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19850
|
-
outcome: z.ZodLiteral<"marked">;
|
|
19851
|
-
claim: z.ZodObject<{
|
|
19852
|
-
machineId: z.ZodString;
|
|
19853
|
-
adapterId: z.ZodString;
|
|
19854
|
-
providerSessionId: z.ZodString;
|
|
19855
|
-
claimId: z.ZodString;
|
|
19856
|
-
adapterName: z.ZodString;
|
|
19857
|
-
sessionId: z.ZodString;
|
|
19858
|
-
agentId: z.ZodString;
|
|
19859
|
-
claimToken: z.ZodString;
|
|
19860
|
-
fence: z.ZodNumber;
|
|
19861
|
-
status: z.ZodEnum<{
|
|
19862
|
-
abandoned: "abandoned";
|
|
19863
|
-
held: "held";
|
|
19864
|
-
releasing: "releasing";
|
|
19865
|
-
}>;
|
|
19866
|
-
claimedAt: z.ZodNumber;
|
|
19867
|
-
updatedAt: z.ZodNumber;
|
|
19868
|
-
}, z.core.$strip>;
|
|
19869
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19870
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
19871
|
-
holder: z.ZodObject<{
|
|
19872
|
-
machineId: z.ZodString;
|
|
19873
|
-
adapterId: z.ZodString;
|
|
19874
|
-
providerSessionId: z.ZodString;
|
|
19875
|
-
claimId: z.ZodString;
|
|
19876
|
-
adapterName: z.ZodString;
|
|
19877
|
-
sessionId: z.ZodString;
|
|
19878
|
-
agentId: z.ZodString;
|
|
19879
|
-
claimToken: z.ZodString;
|
|
19880
|
-
fence: z.ZodNumber;
|
|
19881
|
-
status: z.ZodEnum<{
|
|
19882
|
-
abandoned: "abandoned";
|
|
19883
|
-
held: "held";
|
|
19884
|
-
releasing: "releasing";
|
|
19885
|
-
}>;
|
|
19886
|
-
claimedAt: z.ZodNumber;
|
|
19887
|
-
updatedAt: z.ZodNumber;
|
|
19888
|
-
}, z.core.$strip>;
|
|
19889
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19890
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
19891
|
-
}, z.core.$strip>], "outcome">;
|
|
19892
|
-
};
|
|
19893
|
-
/**
|
|
19894
|
-
* Give up every claim an agent holds, or exactly one of them, in a single
|
|
19895
|
-
* statement — the teardown fan-out and the reservation rollback.
|
|
19896
|
-
*
|
|
19897
|
-
* Subject: `storage:sessionOwnership.releaseAgentClaims`
|
|
19898
|
-
* Type: Request (RPC)
|
|
19899
|
-
*/
|
|
19900
|
-
releaseAgentClaims: {
|
|
19901
|
-
request: z.ZodObject<{
|
|
19902
|
-
agentId: z.ZodString;
|
|
19903
|
-
claimToken: z.ZodOptional<z.ZodString>;
|
|
19904
|
-
disposition: z.ZodEnum<{
|
|
19905
|
-
released: "released";
|
|
19906
|
-
abandoned: "abandoned";
|
|
19907
|
-
releasing: "releasing";
|
|
19908
|
-
}>;
|
|
19909
|
-
}, z.core.$strip>;
|
|
19910
|
-
response: z.ZodObject<{
|
|
19911
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
19912
|
-
markedClaims: z.ZodArray<z.ZodObject<{
|
|
19913
|
-
machineId: z.ZodString;
|
|
19914
|
-
adapterId: z.ZodString;
|
|
19915
|
-
providerSessionId: z.ZodString;
|
|
19916
|
-
claimId: z.ZodString;
|
|
19917
|
-
adapterName: z.ZodString;
|
|
19918
|
-
sessionId: z.ZodString;
|
|
19919
|
-
agentId: z.ZodString;
|
|
19920
|
-
claimToken: z.ZodString;
|
|
19921
|
-
fence: z.ZodNumber;
|
|
19922
|
-
status: z.ZodEnum<{
|
|
19923
|
-
abandoned: "abandoned";
|
|
19924
|
-
held: "held";
|
|
19925
|
-
releasing: "releasing";
|
|
19926
|
-
}>;
|
|
19927
|
-
claimedAt: z.ZodNumber;
|
|
19928
|
-
updatedAt: z.ZodNumber;
|
|
19929
|
-
}, z.core.$strip>>;
|
|
19930
|
-
claimTokenNotFound: z.ZodBoolean;
|
|
19931
|
-
}, z.core.$strip>;
|
|
19932
|
-
};
|
|
19933
|
-
/**
|
|
19934
|
-
* List the claims recorded for a machine — the read reconciliation and
|
|
19935
|
-
* ownership diagnostics run on.
|
|
19936
|
-
*
|
|
19937
|
-
* Subject: `storage:sessionOwnership.listClaims`
|
|
19938
|
-
* Type: Request (RPC)
|
|
19939
|
-
*/
|
|
19940
|
-
listClaims: {
|
|
19941
|
-
request: z.ZodObject<{
|
|
19942
|
-
machineId: z.ZodString;
|
|
19943
|
-
adapterId: z.ZodOptional<z.ZodString>;
|
|
19944
|
-
providerSessionId: z.ZodOptional<z.ZodString>;
|
|
19945
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19946
|
-
abandoned: "abandoned";
|
|
19947
|
-
held: "held";
|
|
19948
|
-
releasing: "releasing";
|
|
19949
|
-
}>>>;
|
|
19950
|
-
}, z.core.$strip>;
|
|
19951
|
-
response: z.ZodObject<{
|
|
19952
|
-
claims: z.ZodArray<z.ZodObject<{
|
|
19953
|
-
machineId: z.ZodString;
|
|
19954
|
-
adapterId: z.ZodString;
|
|
19955
|
-
providerSessionId: z.ZodString;
|
|
19956
|
-
claimId: z.ZodString;
|
|
19957
|
-
adapterName: z.ZodString;
|
|
19958
|
-
sessionId: z.ZodString;
|
|
19959
|
-
agentId: z.ZodString;
|
|
19960
|
-
claimToken: z.ZodString;
|
|
19961
|
-
fence: z.ZodNumber;
|
|
19962
|
-
status: z.ZodEnum<{
|
|
19963
|
-
abandoned: "abandoned";
|
|
19964
|
-
held: "held";
|
|
19965
|
-
releasing: "releasing";
|
|
19966
|
-
}>;
|
|
19967
|
-
claimedAt: z.ZodNumber;
|
|
19968
|
-
updatedAt: z.ZodNumber;
|
|
19969
|
-
}, z.core.$strip>>;
|
|
19970
|
-
}, z.core.$strip>;
|
|
19971
|
-
};
|
|
19972
|
-
}, Record<string, never>>;
|
|
19973
|
-
/**
|
|
19974
|
-
* Typed subjects for session ownership storage operations.
|
|
19975
|
-
*/
|
|
19976
|
-
declare const SessionOwnershipStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"storage:sessionOwnership", {
|
|
19977
|
-
/**
|
|
19978
|
-
* Read one agent's durable ownership state.
|
|
19979
|
-
*
|
|
19980
|
-
* **Not a consistent snapshot**, in either direction: the agent row and its
|
|
19981
|
-
* claims are read as two statements, so a concurrent claim or release can
|
|
19982
|
-
* show up in one and not the other. A reader may therefore observe a claim
|
|
19983
|
-
* whose fence the agent's `currencyFence` does not yet account for, or a
|
|
19984
|
-
* `currencyFence` whose authoring claim has already been released. Both are
|
|
19985
|
-
* legitimate instants of the aggregate; a reader that needs authority must
|
|
19986
|
-
* ask for it (`settleCurrency`) rather than infer it from this read.
|
|
19987
|
-
*
|
|
19988
|
-
* Subject: `storage:sessionOwnership.read`
|
|
19989
|
-
* Type: Request (RPC)
|
|
19990
|
-
*/
|
|
19991
|
-
read: {
|
|
19992
|
-
request: z.ZodObject<{
|
|
19993
|
-
agentId: z.ZodString;
|
|
19994
|
-
}, z.core.$strip>;
|
|
19995
|
-
response: z.ZodObject<{
|
|
19996
|
-
ownership: z.ZodNullable<z.ZodObject<{
|
|
19997
|
-
agentId: z.ZodString;
|
|
19998
|
-
sessionId: z.ZodString;
|
|
19999
|
-
currency: z.ZodObject<{
|
|
20000
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20001
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20002
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20003
|
-
confirmed: "confirmed";
|
|
20004
|
-
moved: "moved";
|
|
20005
|
-
inherited: "inherited";
|
|
20006
|
-
}>;
|
|
20007
|
-
}, z.core.$strip>;
|
|
20008
|
-
revision: z.ZodNumber;
|
|
20009
|
-
currencyFence: z.ZodNumber;
|
|
20010
|
-
claims: z.ZodArray<z.ZodObject<{
|
|
20011
|
-
machineId: z.ZodString;
|
|
20012
|
-
adapterId: z.ZodString;
|
|
20013
|
-
providerSessionId: z.ZodString;
|
|
20014
|
-
claimId: z.ZodString;
|
|
20015
|
-
adapterName: z.ZodString;
|
|
20016
|
-
sessionId: z.ZodString;
|
|
20017
|
-
agentId: z.ZodString;
|
|
20018
|
-
claimToken: z.ZodString;
|
|
20019
|
-
fence: z.ZodNumber;
|
|
20020
|
-
status: z.ZodEnum<{
|
|
20021
|
-
abandoned: "abandoned";
|
|
20022
|
-
held: "held";
|
|
20023
|
-
releasing: "releasing";
|
|
20024
|
-
}>;
|
|
20025
|
-
claimedAt: z.ZodNumber;
|
|
20026
|
-
updatedAt: z.ZodNumber;
|
|
20027
|
-
}, z.core.$strip>>;
|
|
20028
|
-
}, z.core.$strip>>;
|
|
20029
|
-
}, z.core.$strip>;
|
|
20030
|
-
};
|
|
20031
|
-
/**
|
|
20032
|
-
* Take or take over the ownership claim on a provider session, optionally
|
|
20033
|
-
* designating the claiming agent as the session's lead in the same
|
|
20034
|
-
* transaction.
|
|
20035
|
-
*
|
|
20036
|
-
* With `providerSessionId: null` it is the **keyless reservation**: no claim
|
|
20037
|
-
* row at all, and the designation plus its currency mirror are the whole
|
|
20038
|
-
* effect. That is the fresh-start shape — there is no provider identity to
|
|
20039
|
-
* own yet, and the designation still has to be atomic and compare-and-swap.
|
|
20040
|
-
*
|
|
20041
|
-
* Subject: `storage:sessionOwnership.claim`
|
|
20042
|
-
* Type: Request (RPC)
|
|
20043
|
-
*/
|
|
20044
|
-
claim: {
|
|
20045
|
-
request: z.ZodObject<{
|
|
20046
|
-
machineId: z.ZodString;
|
|
20047
|
-
adapterId: z.ZodString;
|
|
20048
|
-
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
20049
|
-
adapterName: z.ZodString;
|
|
20050
|
-
sessionId: z.ZodString;
|
|
20051
|
-
agentId: z.ZodString;
|
|
20052
|
-
claimToken: z.ZodString;
|
|
20053
|
-
supersedes: z.ZodOptional<z.ZodObject<{
|
|
20054
|
-
claimToken: z.ZodString;
|
|
20055
|
-
}, z.core.$strip>>;
|
|
20056
|
-
designateLead: z.ZodOptional<z.ZodObject<{
|
|
20057
|
-
expectedLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
20058
|
-
clear: z.ZodOptional<z.ZodLiteral<true>>;
|
|
20059
|
-
}, z.core.$strip>>;
|
|
20060
|
-
}, z.core.$strip>;
|
|
20061
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20062
|
-
outcome: z.ZodLiteral<"claimed">;
|
|
20063
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
20064
|
-
machineId: z.ZodString;
|
|
20065
|
-
adapterId: z.ZodString;
|
|
20066
|
-
providerSessionId: z.ZodString;
|
|
20067
|
-
claimId: z.ZodString;
|
|
20068
|
-
adapterName: z.ZodString;
|
|
20069
|
-
sessionId: z.ZodString;
|
|
20070
|
-
agentId: z.ZodString;
|
|
20071
|
-
claimToken: z.ZodString;
|
|
20072
|
-
fence: z.ZodNumber;
|
|
20073
|
-
status: z.ZodEnum<{
|
|
20074
|
-
abandoned: "abandoned";
|
|
20075
|
-
held: "held";
|
|
20076
|
-
releasing: "releasing";
|
|
20077
|
-
}>;
|
|
20078
|
-
claimedAt: z.ZodNumber;
|
|
20079
|
-
updatedAt: z.ZodNumber;
|
|
20080
|
-
}, z.core.$strip>>;
|
|
20081
|
-
leadDesignated: z.ZodBoolean;
|
|
20082
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
20083
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20084
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
20085
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
20086
|
-
machineId: z.ZodString;
|
|
20087
|
-
adapterId: z.ZodString;
|
|
20088
|
-
providerSessionId: z.ZodString;
|
|
20089
|
-
claimId: z.ZodString;
|
|
20090
|
-
adapterName: z.ZodString;
|
|
20091
|
-
sessionId: z.ZodString;
|
|
20092
|
-
agentId: z.ZodString;
|
|
20093
|
-
claimToken: z.ZodString;
|
|
20094
|
-
fence: z.ZodNumber;
|
|
20095
|
-
status: z.ZodEnum<{
|
|
20096
|
-
abandoned: "abandoned";
|
|
20097
|
-
held: "held";
|
|
20098
|
-
releasing: "releasing";
|
|
20099
|
-
}>;
|
|
20100
|
-
claimedAt: z.ZodNumber;
|
|
20101
|
-
updatedAt: z.ZodNumber;
|
|
20102
|
-
}, z.core.$strip>>;
|
|
20103
|
-
leadDesignated: z.ZodBoolean;
|
|
20104
|
-
previousLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
20105
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20106
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
20107
|
-
holder: z.ZodObject<{
|
|
20108
|
-
machineId: z.ZodString;
|
|
20109
|
-
adapterId: z.ZodString;
|
|
20110
|
-
providerSessionId: z.ZodString;
|
|
20111
|
-
claimId: z.ZodString;
|
|
20112
|
-
adapterName: z.ZodString;
|
|
20113
|
-
sessionId: z.ZodString;
|
|
20114
|
-
agentId: z.ZodString;
|
|
20115
|
-
claimToken: z.ZodString;
|
|
20116
|
-
fence: z.ZodNumber;
|
|
20117
|
-
status: z.ZodEnum<{
|
|
20118
|
-
abandoned: "abandoned";
|
|
20119
|
-
held: "held";
|
|
20120
|
-
releasing: "releasing";
|
|
20121
|
-
}>;
|
|
20122
|
-
claimedAt: z.ZodNumber;
|
|
20123
|
-
updatedAt: z.ZodNumber;
|
|
20124
|
-
}, z.core.$strip>;
|
|
20125
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20126
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
20127
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20128
|
-
outcome: z.ZodLiteral<"lead-conflict">;
|
|
20129
|
-
currentLeadAgentId: z.ZodNullable<z.ZodString>;
|
|
20130
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20131
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
20132
|
-
missing: z.ZodEnum<{
|
|
20133
|
-
session: "session";
|
|
20134
|
-
agent: "agent";
|
|
20135
|
-
}>;
|
|
20136
|
-
}, z.core.$strip>], "outcome">;
|
|
20137
|
-
};
|
|
20138
|
-
/**
|
|
20139
|
-
* Write an agent's adapter-session currency under a claim generation, and
|
|
20140
|
-
* mirror it onto the session row when the agent is the designated lead.
|
|
20141
|
-
*
|
|
20142
|
-
* What is settled here is what a restart resumes: the resume-identity path
|
|
20143
|
-
* resolves an agent's currency from this row whenever it has been settled,
|
|
20144
|
-
* and falls back to the session row only for rows written before the agent
|
|
20145
|
-
* row could carry currency at all.
|
|
20146
|
-
*
|
|
20147
|
-
* Subject: `storage:sessionOwnership.settleCurrency`
|
|
20148
|
-
* Type: Request (RPC)
|
|
20149
|
-
*/
|
|
20150
|
-
settleCurrency: {
|
|
20151
|
-
request: z.ZodObject<{
|
|
20152
|
-
agentId: z.ZodString;
|
|
20153
|
-
claimToken: z.ZodString;
|
|
20154
|
-
fence: z.ZodNumber;
|
|
20155
|
-
expectedRevision: z.ZodNumber;
|
|
20156
|
-
target: z.ZodObject<{
|
|
20157
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20158
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20159
|
-
confirmed: "confirmed";
|
|
20160
|
-
moved: "moved";
|
|
20161
|
-
inherited: "inherited";
|
|
20162
|
-
}>;
|
|
20163
|
-
}, z.core.$strip>;
|
|
20164
|
-
}, z.core.$strip>;
|
|
20165
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20166
|
-
outcome: z.ZodLiteral<"settled">;
|
|
20167
|
-
revision: z.ZodNumber;
|
|
20168
|
-
currency: z.ZodObject<{
|
|
20169
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20170
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20171
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20172
|
-
confirmed: "confirmed";
|
|
20173
|
-
moved: "moved";
|
|
20174
|
-
inherited: "inherited";
|
|
20175
|
-
}>;
|
|
20176
|
-
}, z.core.$strip>;
|
|
20177
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
20178
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20179
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
20180
|
-
revision: z.ZodNumber;
|
|
20181
|
-
currency: z.ZodObject<{
|
|
20182
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20183
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20184
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20185
|
-
confirmed: "confirmed";
|
|
20186
|
-
moved: "moved";
|
|
20187
|
-
inherited: "inherited";
|
|
20188
|
-
}>;
|
|
20189
|
-
}, z.core.$strip>;
|
|
20190
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
20191
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20192
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
20193
|
-
currentFence: z.ZodNumber;
|
|
20194
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20195
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
20196
|
-
revision: z.ZodNumber;
|
|
20197
|
-
currency: z.ZodObject<{
|
|
20198
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20199
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20200
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20201
|
-
confirmed: "confirmed";
|
|
20202
|
-
moved: "moved";
|
|
20203
|
-
inherited: "inherited";
|
|
20204
|
-
}>;
|
|
20205
|
-
}, z.core.$strip>;
|
|
20206
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20207
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
20208
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20209
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
20210
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20211
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
20212
|
-
}, z.core.$strip>], "outcome">;
|
|
20213
|
-
};
|
|
20214
|
-
/**
|
|
20215
|
-
* Record a provider-session movement in full: acquire or recognize the
|
|
20216
|
-
* successor generation, settle the agent's currency under it, retire the
|
|
20217
|
-
* predecessors it replaces, and mirror the result onto the session row —
|
|
20218
|
-
* all in one transaction.
|
|
20219
|
-
*
|
|
20220
|
-
* The composite `settleCurrency` exists inside. Callers use this one;
|
|
20221
|
-
* `settleCurrency` remains the single-step primitive the claim/settle
|
|
20222
|
-
* interleavings are exercised through.
|
|
20223
|
-
*
|
|
20224
|
-
* Subject: `storage:sessionOwnership.settleMovement`
|
|
20225
|
-
* Type: Request (RPC)
|
|
20226
|
-
*/
|
|
20227
|
-
settleMovement: {
|
|
20228
|
-
request: z.ZodObject<{
|
|
20229
|
-
machineId: z.ZodString;
|
|
20230
|
-
adapterId: z.ZodString;
|
|
20231
|
-
adapterName: z.ZodString;
|
|
20232
|
-
sessionId: z.ZodString;
|
|
20233
|
-
agentId: z.ZodString;
|
|
20234
|
-
expectedRevision: z.ZodNumber;
|
|
20235
|
-
movement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20236
|
-
kind: z.ZodLiteral<"confirmed">;
|
|
20237
|
-
providerSessionId: z.ZodString;
|
|
20238
|
-
claimToken: z.ZodString;
|
|
20239
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20240
|
-
kind: z.ZodLiteral<"demote">;
|
|
20241
|
-
claimToken: z.ZodString;
|
|
20242
|
-
}, z.core.$strip>], "kind">;
|
|
20243
|
-
}, z.core.$strip>;
|
|
20244
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20245
|
-
outcome: z.ZodLiteral<"settled">;
|
|
20246
|
-
revision: z.ZodNumber;
|
|
20247
|
-
currency: z.ZodObject<{
|
|
20248
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20249
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20250
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20251
|
-
confirmed: "confirmed";
|
|
20252
|
-
moved: "moved";
|
|
20253
|
-
inherited: "inherited";
|
|
20254
|
-
}>;
|
|
20255
|
-
}, z.core.$strip>;
|
|
20256
|
-
sessionSnapshotUpdated: z.ZodBoolean;
|
|
20257
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
20258
|
-
claim: z.ZodObject<{
|
|
20259
|
-
machineId: z.ZodString;
|
|
20260
|
-
adapterId: z.ZodString;
|
|
20261
|
-
providerSessionId: z.ZodString;
|
|
20262
|
-
claimId: z.ZodString;
|
|
20263
|
-
adapterName: z.ZodString;
|
|
20264
|
-
sessionId: z.ZodString;
|
|
20265
|
-
agentId: z.ZodString;
|
|
20266
|
-
claimToken: z.ZodString;
|
|
20267
|
-
fence: z.ZodNumber;
|
|
20268
|
-
status: z.ZodEnum<{
|
|
20269
|
-
abandoned: "abandoned";
|
|
20270
|
-
held: "held";
|
|
20271
|
-
releasing: "releasing";
|
|
20272
|
-
}>;
|
|
20273
|
-
claimedAt: z.ZodNumber;
|
|
20274
|
-
updatedAt: z.ZodNumber;
|
|
20275
|
-
}, z.core.$strip>;
|
|
20276
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20277
|
-
outcome: z.ZodLiteral<"idempotent">;
|
|
20278
|
-
revision: z.ZodNumber;
|
|
20279
|
-
currency: z.ZodObject<{
|
|
20280
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20281
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20282
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20283
|
-
confirmed: "confirmed";
|
|
20284
|
-
moved: "moved";
|
|
20285
|
-
inherited: "inherited";
|
|
20286
|
-
}>;
|
|
20287
|
-
}, z.core.$strip>;
|
|
20288
|
-
sessionSnapshotUpdated: z.ZodLiteral<false>;
|
|
20289
|
-
claim: z.ZodNullable<z.ZodObject<{
|
|
20290
|
-
machineId: z.ZodString;
|
|
20291
|
-
adapterId: z.ZodString;
|
|
20292
|
-
providerSessionId: z.ZodString;
|
|
20293
|
-
claimId: z.ZodString;
|
|
20294
|
-
adapterName: z.ZodString;
|
|
20295
|
-
sessionId: z.ZodString;
|
|
20296
|
-
agentId: z.ZodString;
|
|
20297
|
-
claimToken: z.ZodString;
|
|
20298
|
-
fence: z.ZodNumber;
|
|
20299
|
-
status: z.ZodEnum<{
|
|
20300
|
-
abandoned: "abandoned";
|
|
20301
|
-
held: "held";
|
|
20302
|
-
releasing: "releasing";
|
|
20303
|
-
}>;
|
|
20304
|
-
claimedAt: z.ZodNumber;
|
|
20305
|
-
updatedAt: z.ZodNumber;
|
|
20306
|
-
}, z.core.$strip>>;
|
|
20307
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20308
|
-
outcome: z.ZodLiteral<"already-claimed">;
|
|
20309
|
-
holder: z.ZodObject<{
|
|
20310
|
-
machineId: z.ZodString;
|
|
20311
|
-
adapterId: z.ZodString;
|
|
20312
|
-
providerSessionId: z.ZodString;
|
|
20313
|
-
claimId: z.ZodString;
|
|
20314
|
-
adapterName: z.ZodString;
|
|
20315
|
-
sessionId: z.ZodString;
|
|
20316
|
-
agentId: z.ZodString;
|
|
20317
|
-
claimToken: z.ZodString;
|
|
20318
|
-
fence: z.ZodNumber;
|
|
20319
|
-
status: z.ZodEnum<{
|
|
20320
|
-
abandoned: "abandoned";
|
|
20321
|
-
held: "held";
|
|
20322
|
-
releasing: "releasing";
|
|
20323
|
-
}>;
|
|
20324
|
-
claimedAt: z.ZodNumber;
|
|
20325
|
-
updatedAt: z.ZodNumber;
|
|
20326
|
-
}, z.core.$strip>;
|
|
20327
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20328
|
-
outcome: z.ZodLiteral<"superseded">;
|
|
20329
|
-
currentFence: z.ZodNumber;
|
|
20330
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20331
|
-
outcome: z.ZodLiteral<"currency-changed">;
|
|
20332
|
-
revision: z.ZodNumber;
|
|
20333
|
-
currency: z.ZodObject<{
|
|
20334
|
-
adapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20335
|
-
currentAdapterSessionId: z.ZodNullable<z.ZodString>;
|
|
20336
|
-
currentAdapterSessionIdState: z.ZodEnum<{
|
|
20337
|
-
confirmed: "confirmed";
|
|
20338
|
-
moved: "moved";
|
|
20339
|
-
inherited: "inherited";
|
|
20340
|
-
}>;
|
|
20341
|
-
}, z.core.$strip>;
|
|
20342
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20343
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
20344
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20345
|
-
outcome: z.ZodLiteral<"agent-disposed">;
|
|
20346
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20347
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
20348
|
-
}, z.core.$strip>], "outcome">;
|
|
20349
|
-
};
|
|
20350
|
-
/**
|
|
20351
|
-
* Give up a claim — freeing the ownership key only on a clean release.
|
|
20352
|
-
*
|
|
20353
|
-
* Subject: `storage:sessionOwnership.release`
|
|
20354
|
-
* Type: Request (RPC)
|
|
20355
|
-
*/
|
|
20356
|
-
release: {
|
|
20357
|
-
request: z.ZodObject<{
|
|
20358
|
-
agentId: z.ZodString;
|
|
20359
|
-
claimToken: z.ZodString;
|
|
20360
|
-
disposition: z.ZodEnum<{
|
|
20361
|
-
released: "released";
|
|
20362
|
-
abandoned: "abandoned";
|
|
20363
|
-
releasing: "releasing";
|
|
20364
|
-
}>;
|
|
20365
|
-
}, z.core.$strip>;
|
|
20366
|
-
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20367
|
-
outcome: z.ZodLiteral<"released">;
|
|
20368
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20369
|
-
outcome: z.ZodLiteral<"marked">;
|
|
20370
|
-
claim: z.ZodObject<{
|
|
20371
|
-
machineId: z.ZodString;
|
|
20372
|
-
adapterId: z.ZodString;
|
|
20373
|
-
providerSessionId: z.ZodString;
|
|
20374
|
-
claimId: z.ZodString;
|
|
20375
|
-
adapterName: z.ZodString;
|
|
20376
|
-
sessionId: z.ZodString;
|
|
20377
|
-
agentId: z.ZodString;
|
|
20378
|
-
claimToken: z.ZodString;
|
|
20379
|
-
fence: z.ZodNumber;
|
|
20380
|
-
status: z.ZodEnum<{
|
|
20381
|
-
abandoned: "abandoned";
|
|
20382
|
-
held: "held";
|
|
20383
|
-
releasing: "releasing";
|
|
20384
|
-
}>;
|
|
20385
|
-
claimedAt: z.ZodNumber;
|
|
20386
|
-
updatedAt: z.ZodNumber;
|
|
20387
|
-
}, z.core.$strip>;
|
|
20388
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20389
|
-
outcome: z.ZodLiteral<"not-owner">;
|
|
20390
|
-
holder: z.ZodObject<{
|
|
20391
|
-
machineId: z.ZodString;
|
|
20392
|
-
adapterId: z.ZodString;
|
|
20393
|
-
providerSessionId: z.ZodString;
|
|
20394
|
-
claimId: z.ZodString;
|
|
20395
|
-
adapterName: z.ZodString;
|
|
20396
|
-
sessionId: z.ZodString;
|
|
20397
|
-
agentId: z.ZodString;
|
|
20398
|
-
claimToken: z.ZodString;
|
|
20399
|
-
fence: z.ZodNumber;
|
|
20400
|
-
status: z.ZodEnum<{
|
|
20401
|
-
abandoned: "abandoned";
|
|
20402
|
-
held: "held";
|
|
20403
|
-
releasing: "releasing";
|
|
20404
|
-
}>;
|
|
20405
|
-
claimedAt: z.ZodNumber;
|
|
20406
|
-
updatedAt: z.ZodNumber;
|
|
20407
|
-
}, z.core.$strip>;
|
|
20408
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20409
|
-
outcome: z.ZodLiteral<"not-found">;
|
|
20410
|
-
}, z.core.$strip>], "outcome">;
|
|
20411
|
-
};
|
|
20412
|
-
/**
|
|
20413
|
-
* Give up every claim an agent holds, or exactly one of them, in a single
|
|
20414
|
-
* statement — the teardown fan-out and the reservation rollback.
|
|
20415
|
-
*
|
|
20416
|
-
* Subject: `storage:sessionOwnership.releaseAgentClaims`
|
|
20417
|
-
* Type: Request (RPC)
|
|
20418
|
-
*/
|
|
20419
|
-
releaseAgentClaims: {
|
|
20420
|
-
request: z.ZodObject<{
|
|
20421
|
-
agentId: z.ZodString;
|
|
20422
|
-
claimToken: z.ZodOptional<z.ZodString>;
|
|
20423
|
-
disposition: z.ZodEnum<{
|
|
20424
|
-
released: "released";
|
|
20425
|
-
abandoned: "abandoned";
|
|
20426
|
-
releasing: "releasing";
|
|
20427
|
-
}>;
|
|
20428
|
-
}, z.core.$strip>;
|
|
20429
|
-
response: z.ZodObject<{
|
|
20430
|
-
releasedProviderSessionIds: z.ZodArray<z.ZodString>;
|
|
20431
|
-
markedClaims: z.ZodArray<z.ZodObject<{
|
|
20432
|
-
machineId: z.ZodString;
|
|
20433
|
-
adapterId: z.ZodString;
|
|
20434
|
-
providerSessionId: z.ZodString;
|
|
20435
|
-
claimId: z.ZodString;
|
|
20436
|
-
adapterName: z.ZodString;
|
|
20437
|
-
sessionId: z.ZodString;
|
|
20438
|
-
agentId: z.ZodString;
|
|
20439
|
-
claimToken: z.ZodString;
|
|
20440
|
-
fence: z.ZodNumber;
|
|
20441
|
-
status: z.ZodEnum<{
|
|
20442
|
-
abandoned: "abandoned";
|
|
20443
|
-
held: "held";
|
|
20444
|
-
releasing: "releasing";
|
|
20445
|
-
}>;
|
|
20446
|
-
claimedAt: z.ZodNumber;
|
|
20447
|
-
updatedAt: z.ZodNumber;
|
|
20448
|
-
}, z.core.$strip>>;
|
|
20449
|
-
claimTokenNotFound: z.ZodBoolean;
|
|
20450
|
-
}, z.core.$strip>;
|
|
20451
|
-
};
|
|
20452
|
-
/**
|
|
20453
|
-
* List the claims recorded for a machine — the read reconciliation and
|
|
20454
|
-
* ownership diagnostics run on.
|
|
20455
|
-
*
|
|
20456
|
-
* Subject: `storage:sessionOwnership.listClaims`
|
|
20457
|
-
* Type: Request (RPC)
|
|
20458
|
-
*/
|
|
20459
|
-
listClaims: {
|
|
20460
|
-
request: z.ZodObject<{
|
|
20461
|
-
machineId: z.ZodString;
|
|
20462
|
-
adapterId: z.ZodOptional<z.ZodString>;
|
|
20463
|
-
providerSessionId: z.ZodOptional<z.ZodString>;
|
|
20464
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20465
|
-
abandoned: "abandoned";
|
|
20466
|
-
held: "held";
|
|
20467
|
-
releasing: "releasing";
|
|
20468
|
-
}>>>;
|
|
20469
|
-
}, z.core.$strip>;
|
|
20470
|
-
response: z.ZodObject<{
|
|
20471
|
-
claims: z.ZodArray<z.ZodObject<{
|
|
20472
|
-
machineId: z.ZodString;
|
|
20473
|
-
adapterId: z.ZodString;
|
|
20474
|
-
providerSessionId: z.ZodString;
|
|
20475
|
-
claimId: z.ZodString;
|
|
20476
|
-
adapterName: z.ZodString;
|
|
20477
|
-
sessionId: z.ZodString;
|
|
20478
|
-
agentId: z.ZodString;
|
|
20479
|
-
claimToken: z.ZodString;
|
|
20480
|
-
fence: z.ZodNumber;
|
|
20481
|
-
status: z.ZodEnum<{
|
|
20482
|
-
abandoned: "abandoned";
|
|
20483
|
-
held: "held";
|
|
20484
|
-
releasing: "releasing";
|
|
20485
|
-
}>;
|
|
20486
|
-
claimedAt: z.ZodNumber;
|
|
20487
|
-
updatedAt: z.ZodNumber;
|
|
20488
|
-
}, z.core.$strip>>;
|
|
20489
|
-
}, z.core.$strip>;
|
|
20490
|
-
};
|
|
20491
|
-
}>, "storage:sessionOwnership">;
|
|
19225
|
+
declare function validateLeadDesignationMutation(value: SessionOwnershipDesignationMutationCandidate, ctx: z.RefinementCtx): void;
|
|
20492
19226
|
//#endregion
|
|
20493
19227
|
//#region core/contracts/src/session/schemas/adapter-session-currency.d.ts
|
|
20494
19228
|
/**
|
|
@@ -20609,4 +19343,4 @@ declare function isExtractionExcluded(metadata: Record<string, unknown> | undefi
|
|
|
20609
19343
|
*/
|
|
20610
19344
|
declare function buildExtractionExclusionMetadata(): ExtractionExclusionMetadata;
|
|
20611
19345
|
//#endregion
|
|
20612
|
-
export {
|
|
19346
|
+
export { ResolveSystemPromptSchema as $, SessionEventStorageSubjects as A, CompressionMode as B, SessionStorageRebindObservedResponseSchema as C, SessionStorageSubjects$1 as D, SessionStorageSetSessionSchema as E, MessagePageCursor as F, isMergeable as G, BranchBehavior as H, MessagePageCursorSchema as I, SessionClientAccountChangedSchema as J, isNavigatingBranch as K, MessageStorageNamespace$1 as L, compareMessageCursorDesc$1 as M, messageCursorKey as N, SessionStorageUpdateSchema$1 as O, messageToCursor$1 as P, ResolveSystemPromptResponse as Q, MessageStorageSubjects$1 as R, SessionStorageRebindObservedRequestSchema as S, SessionSubjects$1 as St, SessionStorageSetRequestSchema$1 as T, getBranchBehavior as U, CompressionModeSchema$1 as V, isInViewBranch as W, SessionImportStatusChangedSchema as X, SessionImportStatusChanged as Y, ResolveSystemPromptRequest as Z, validateLeadDesignationMutation as _, ContextWindowState$1 as _t, isExtractionExcluded as a, isConnectorSwapCancelledError as at, SessionStorageNamespace$1 as b, SessionExtensionContextFactory as bt, AdapterSessionCurrencyTarget as c, ConnectorSwapWarningOptionId as ct, SessionOwnershipDesignationMutationCandidate as d, RequestCorrelationContext$1 as dt, ResolveAgentConfigRequest as et, SessionOwnershipLeadDesignationMutation as f, RequestCorrelationContextSchema$1 as ft, isPureLeadRestoration as g, SessionContextSchema$1 as gt, isPureLeadRelinquishment as h, SessionContext$1 as ht, buildExtractionExclusionMetadata as i, ConnectorSwapCancelledError as it, compareMessageCursorAsc$1 as j, SessionEventStorageNamespace$1 as k, AdapterSessionCurrencyTargetSchema as l, INTERACTIVE_DIALOG_TIMEOUT_MS as lt, isInactiveSafeLeadDesignationMutation$1 as m, CacheStrategy$1 as mt, ExtractionExclusionKey as n, ResolveAgentConfigSchema as nt, AdapterSessionCurrencySnapshot as o, CONNECTOR_SWAP_WARNING_OPTION_IDS as ot, getLeadDesignationMutationViolation as p, CACHE_STRATEGIES as pt, SessionClientAccountChanged as q, ExtractionExclusionMetadata as r, CONNECTOR_SWAP_CANCELLED_CODE as rt, AdapterSessionCurrencySnapshotSchema as s, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY as st, EXTRACTION_EXCLUSION_KEY as t, ResolveAgentConfigResponse as tt, resolveResumableAdapterSessionId$1 as u, UI_WARNINGS_CATEGORY as ut, ImportUpsertRequest as v, ForkOptions$1 as vt, SessionStorageRebindObservedResult as w, SessionStorageRebindObservedRequest as x, SessionNamespace as xt, ImportUpsertRequestSchema as y, SessionExtensionContext$1 as yt, SessionEnrichmentSchemas as z };
|