@makaio/framework 1.0.0-dev-1787670071418 → 1.0.0-dev-1787670559522
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 +0 -2
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-B3vLwm9O.mjs → account-identity-DGpXd8h_.mjs} +1 -1
- package/dist/adapter-BkdJaOOG.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +76 -118
- 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 +53 -73
- 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/agent-namespace-D51PODFf.mjs +1 -0
- package/dist/{artifact-Btbuib48.mjs → artifact-k3veR4Yx.mjs} +1 -1
- package/dist/attach-error-BSlc7JfL.mjs +1 -0
- package/dist/{auth-C6tVtaOX.mjs → auth-A1K_7q-8.mjs} +1 -1
- package/dist/{authority-state-bootstrap-CLYus369.mjs → authority-state-bootstrap-YwtEImIB.mjs} +1 -1
- package/dist/{automation-trigger-ByjNlClm.mjs → automation-trigger-CuSdQwir.mjs} +1 -1
- package/dist/bus/index.d.mts +4 -22
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BIj0_aG6.mjs +1 -0
- package/dist/{bus-D6NoBhIV.mjs → bus-CqgrphNE.mjs} +1 -1
- package/dist/{canonical-model-DXOvCaVg.mjs → canonical-model-DJASlL4m.mjs} +1 -1
- package/dist/capabilities-Bqckjh7G.mjs +1 -0
- package/dist/capability-service-CJHNkjvm.mjs +1 -0
- package/dist/{client-BkznbdsO.mjs → client-BL5__WT0.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/{compression-CtgeVLpP.mjs → compression-BbttSqm8.mjs} +1 -1
- package/dist/{config-namespace-CjWvw8ij.mjs → config-namespace-CyzeLWSg.mjs} +1 -1
- package/dist/{context-resolution-841T7jBI.d.mts → context-resolution-ya9TXKg-.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/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 +47 -57
- 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-CUHLVLsT.d.mts → contribution-BB5bjx3f.d.mts} +2 -2
- package/dist/core/index.d.mts +2 -25
- package/dist/{definition-DyGImhyi.d.mts → definition-BYgHlmMw.d.mts} +1 -1
- package/dist/{definition-BH4QLGLI.mjs → definition-CDg-Jq1T.mjs} +1 -1
- package/dist/{detached-extension-handle-D0aI0pJA.mjs → detached-extension-handle-DKd17UB6.mjs} +1 -1
- package/dist/drizzle/meta/_journal.json +0 -28
- package/dist/event-DR8U9Efx.mjs +1 -0
- package/dist/{execution-attempt-repository-BJ2W6wwx.d.mts → execution-attempt-repository-DFyAnchJ.d.mts} +1 -1
- package/dist/{execution-target-H0RWV7Py.mjs → execution-target-ByNwZh5-.mjs} +1 -1
- package/dist/{extension-Cz39YNXy.mjs → extension-DMdmj9gi.mjs} +1 -1
- package/dist/{extension-Bfkr2DBs.mjs → extension-DUmibvMk.mjs} +1 -1
- package/dist/{extension-discovery-Dhu3WplO.d.mts → extension-discovery-Fhps4icD.d.mts} +1 -9
- package/dist/{filesystem-service-CiUw0YN5.mjs → filesystem-service-FAtd9gWH.mjs} +1 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +1 -0
- package/dist/git/index.mjs +2 -2
- package/dist/{globby-QBDqstzq.mjs → globby-BBLuT_vy.mjs} +1 -1
- package/dist/handlers-2yd00VEq.mjs +57 -0
- package/dist/{harness-YQ2ewID9.mjs → harness-KxbWGL4I.mjs} +1 -1
- package/dist/{hook-responses-9Ywsqzzq.d.mts → hook-responses-uCXAICTU.d.mts} +1 -1
- package/dist/identity-DC3Pk0ps.mjs +1 -0
- package/dist/{index-D-4jv_66.d.mts → index-1UcQWrZy.d.mts} +149 -149
- package/dist/{index-D8D-yibS2.d.mts → index-B0xJgTi-.d.mts} +4 -4
- package/dist/{index-CYjgoYeX.d.mts → index-BMVZs6pm.d.mts} +3 -3
- package/dist/{index-CPi0UpRh.d.mts → index-BSQ30wYP.d.mts} +1 -1
- package/dist/{index-DXtQRehh.d.mts → index-Bl7KWFod.d.mts} +1 -1
- package/dist/{index-D_4K3Tf_.d.mts → index-BtdK8HeH.d.mts} +168 -43
- package/dist/{index-C146Eq_J.d.mts → index-C-JzEkqs.d.mts} +1802 -536
- package/dist/{index-DI2lS7VT.d.mts → index-CER64zYO.d.mts} +15 -15
- package/dist/{index-BkbnC65b.d.mts → index-CM75k-Ff.d.mts} +17 -189
- package/dist/{index-CmwAJ8-5.d.mts → index-CSN_0sCo.d.mts} +1 -1
- package/dist/{index-CIEycZrt.d.mts → index-C__EQfKa.d.mts} +1 -1
- package/dist/{index-B0VO0rAl.d.mts → index-CfiCJPP6.d.mts} +1 -1
- package/dist/{index-BNzUyVwV.d.mts → index-CqQYgsbB.d.mts} +170 -513
- package/dist/{index-B0yMCJW8.d.mts → index-DI7-tIL3.d.mts} +14 -39
- package/dist/{index-CMekqu_D.d.mts → index-DxYDRoDE2.d.mts} +8 -28
- package/dist/index-OsbtyMgx2.d.mts +98 -0
- package/dist/{index-DJ2KgJDJ2.d.mts → index-cPqSpWQC.d.mts} +12 -12
- package/dist/{index-DNI6UF9h.d.mts → index-e4Txan9i.d.mts} +4 -4
- package/dist/{index-CPRQ4dWX.d.mts → index-nydhGvXa.d.mts} +23 -0
- package/dist/json-value-C1RGgS0a.d.mts +72 -0
- package/dist/json-value-D57aJhVn.mjs +1 -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-Cm-uEoC1.mjs → lib-B_rJ6r0T.mjs} +1 -1
- package/dist/{lib-BpGvHZye.mjs → lib-CnOAtohU.mjs} +2 -2
- package/dist/{load-extensions-DG5LvPyM.mjs → load-extensions-CW9uzNR5.mjs} +1 -1
- package/dist/{load-extensions-BQoXaHhR.d.mts → load-extensions-DUpaMQ7G.d.mts} +1 -1
- package/dist/{materialization-lVd9_-jr.mjs → materialization-CcpCDhXh.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-ZH3L1dPW.mjs +1 -0
- package/dist/{namespace-BL7lHlmg.mjs → namespace-B7bntOB8.mjs} +1 -1
- package/dist/{namespace-BNp7n_gu.d.mts → namespace-BgEiY7r1.d.mts} +3 -3
- package/dist/{namespace-DknCutQZ.d.mts → namespace-C6CVEGH8.d.mts} +0 -50
- package/dist/{namespace-C06lJSuj.d.mts → namespace-ChnRTUG4.d.mts} +6 -6
- package/dist/namespace-CxrOLeeP.mjs +1 -0
- package/dist/{namespace-BRuHzhPo.d.mts → namespace-DSlfFhB1.d.mts} +2 -154
- package/dist/{native-session-supervisor-LKio8XZn.mjs → native-session-supervisor-fZYPUk0-.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{orchestrator-shared-CNHSImNY.d.mts → orchestrator-shared-B-KRW1Z0.d.mts} +10 -9
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +1 -0
- package/dist/ownership-memory-handler-Bblp93YC.mjs +1 -0
- package/dist/{package-BNFTUFLB.d.mts → package-Bf3hyuzs.d.mts} +2 -2
- package/dist/{package-JtjbO-Oi.mjs → package-CddkNbZI.mjs} +1 -1
- package/dist/{package-B01gmu75.mjs → package-ypz4rKvn.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{profile-N5qGUpF0.mjs → profile-BtznZlq3.mjs} +1 -1
- package/dist/{provider-context-zTDSH2x9.mjs → provider-context-BrLZYnDW.mjs} +1 -1
- package/dist/{provider-context-CG42JlP9.mjs → provider-context-Dh-VOOYF.mjs} +1 -1
- package/dist/{reaction-D3TNwPK8.mjs → reaction-BS0k4eNN.mjs} +1 -1
- package/dist/{registry-Dk12tAfv.mjs → registry-BO_bOoky.mjs} +1 -1
- package/dist/{resolved-sq8RXNDf.mjs → resolved-DMByz1_2.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +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 +4 -6
- 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-Dq-7si8u.mjs → schema-DBG7Jq5_.mjs} +1 -1
- package/dist/{schema-B3Pf7JP7.d.mts → schema-DKTzriEY.d.mts} +3 -250
- package/dist/{schemas-C1mxTfd7.d.mts → schemas-B7zo7Zcx.d.mts} +4 -60
- package/dist/schemas-BqD8LlQw.mjs +1 -0
- package/dist/{schemas-QWDnauKX.mjs → schemas-CsjN7cmM.mjs} +1 -1
- package/dist/schemas-CvHFbzdy.mjs +1 -0
- package/dist/{schemas-BfO5jkrL.mjs → schemas-DSkBOdx_.mjs} +1 -1
- package/dist/{schemas-OWvBn7AH.d.mts → schemas-DZH9lpxs.d.mts} +4 -4
- package/dist/schemas-DplrlAyR.mjs +1 -0
- package/dist/{schemas-Dd13TMgU.d.mts → schemas-DvMbcABQ.d.mts} +4 -4
- package/dist/scoped-bus-ClwTWqX8.mjs +1 -0
- package/dist/{selection-DL3ric7K.mjs → selection-7Ku8DBnh.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 +2 -3
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +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 +0 -18
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +1 -10
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +61 -161
- 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 +1 -22
- package/dist/services/session/testing/index.mjs +14 -38
- 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/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BMy2kRpX.mjs +90 -0
- package/dist/session-Cipx34j6.mjs +1 -0
- package/dist/{shared-B9AWRm9A.mjs → shared-BFVuCDPx.mjs} +1 -1
- package/dist/{skill-DGNtc_ww.mjs → skill-C1D51nhh.mjs} +1 -1
- package/dist/{src-BmSQ3rlz.mjs → src-xbmzokNe.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +2 -41
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/tool-approval-service-BVgN9Q1r.mjs +1 -0
- package/dist/{tools-DWKWX3eV.mjs → tools-DxwHox1a.mjs} +1 -1
- package/dist/{transition-D3zUBTPc.d.mts → transition-C_Ka6b0-.d.mts} +6 -6
- package/dist/{types-CtDGkyLx2.d.mts → types-BNjPhj_a.d.mts} +1 -1
- package/dist/{types-OKJCOjme.d.mts → types-ClpEaoAm.d.mts} +4 -24
- package/dist/{types-DcxBYlPA.d.mts → types-CwvN4uN2.d.mts} +49 -3029
- 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 +1 -22
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.mjs +1 -1
- package/dist/{version-BYeVh1pI.mjs → version-BfNnVAGr.mjs} +1 -1
- package/dist/{view-builder-B0j9p5C0.d.mts → view-builder-KYsPqV-5.d.mts} +4 -4
- package/dist/{visibility-DtDLRBdr.mjs → visibility-Dl1o2I01.mjs} +1 -1
- package/dist/worker-node-BDOYPEpi.mjs +1 -0
- package/dist/{worker-node-Dtf9ilsR.mjs → worker-node-DJ41Tr-F.mjs} +1 -1
- package/dist/workflow-Hzc5jlnV.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +95 -95
- 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-c_VQbyV0.mjs → workflow-transitions-DM0fN_eP.mjs} +1 -1
- package/dist/workflow-worker-DARC7UZl.mjs +1 -0
- package/package.json +1 -18
- package/dist/adapter-Dz1fX5Wa.mjs +0 -1
- package/dist/attach-error-Cb3GbeKe.mjs +0 -1
- package/dist/bus-UgFdHybD.mjs +0 -1
- package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +0 -1
- package/dist/capabilities-BUwuA7XX.mjs +0 -1
- package/dist/capability-j3NekkIu.mjs +0 -1
- package/dist/code-execution/worker-entry.d.mts +0 -21
- package/dist/code-execution/worker-entry.mjs +0 -1
- package/dist/code-execution-Ckmn8OZu.mjs +0 -1
- package/dist/code-execution-CweDSWco.mjs +0 -1
- package/dist/code-execution-DqkQjKa1.mjs +0 -1
- package/dist/contracts/code-execution/index.d.mts +0 -2
- package/dist/contracts/code-execution/index.mjs +0 -1
- package/dist/drizzle/0034_m_msha1388.sql +0 -41
- package/dist/drizzle/0035_m_mshgj6x7.sql +0 -40
- package/dist/drizzle/0036_m_msivwbgm.sql +0 -1
- package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +0 -6
- package/dist/event-B8ELuk6k.mjs +0 -1
- package/dist/framework-packages-BHgul8Kl.mjs +0 -1
- package/dist/handlers-BsHAFtye.mjs +0 -57
- package/dist/identity-OjRlG6dZ.mjs +0 -1
- package/dist/index-Bqk0pJBQ2.d.mts +0 -138
- package/dist/index-Cny5RvjO.d.mts +0 -800
- package/dist/index-DHnSLGP4.d.mts +0 -268
- package/dist/index-DQ8o3JGi.d.mts +0 -132
- package/dist/index-DWBkiiXH.d.mts +0 -18
- package/dist/index-Dg11JxKZ.d.mts +0 -496
- package/dist/json-value-BBZ6uGwc.mjs +0 -1
- package/dist/json-value-DPqb-SJ8.d.mts +0 -177
- package/dist/model-DrzPt3ou.mjs +0 -1
- package/dist/namespace-sCPb79-7.mjs +0 -1
- package/dist/npm-package-name-DuTYVICk.mjs +0 -1
- package/dist/orchestrator-shared-BGlN-m-V.mjs +0 -1
- package/dist/ownership-memory-handler-BpGdR_uG.mjs +0 -1
- package/dist/ownership-recovery-guard-DyW5vGBr.mjs +0 -1
- package/dist/package-DttKA9wN.mjs +0 -1
- package/dist/runtime-node/code-execution/index.d.mts +0 -3
- package/dist/runtime-node/code-execution/index.mjs +0 -1
- package/dist/schemas-C3kyQWGf.mjs +0 -1
- package/dist/schemas-TK29KWx-.mjs +0 -1
- package/dist/schemas-_2Syo_01.mjs +0 -1
- package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
- package/dist/services/code-execution/index.d.mts +0 -2
- package/dist/services/code-execution/index.mjs +0 -1
- package/dist/session-BOpTI79g.mjs +0 -1
- package/dist/session-CXOPk3yg.mjs +0 -95
- package/dist/tool-approval-service-BFDOFUGC.mjs +0 -1
- package/dist/types-Cwza95hS.mjs +0 -1
- package/dist/types-DnK6Wa_Y.d.mts +0 -260
- package/dist/worker-node-CjuQb9hl.mjs +0 -1
- package/dist/workflow-C4mck_NW.mjs +0 -1
- package/dist/workflow-worker-aNbdgqml.mjs +0 -1
- /package/dist/{adapter-auth-runtime-DHHppU4f.mjs → adapter-auth-runtime-D9Lnl7cc.mjs} +0 -0
- /package/dist/{adapter-binding-CATvmGuz.d.mts → adapter-binding-B-FBoCys.d.mts} +0 -0
- /package/dist/{ajv-krzJXh1X.mjs → ajv-L5fKxaia.mjs} +0 -0
- /package/dist/{attempt-record-codec-BYfYkj4M.mjs → attempt-record-codec-DaFLKR5C.mjs} +0 -0
- /package/dist/{await-trigger-Bkg2BQfg.mjs → await-trigger-ph1S0zVI.mjs} +0 -0
- /package/dist/{base-orchestrator-B4YW6z_Q.d.mts → base-orchestrator-D9u4NyiM.d.mts} +0 -0
- /package/dist/{client-BG0WX5Vz.d.mts → client-4ihewPUm.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-0lCKZOTg.mjs → client-binary-version-verifier-DJajc_Ff.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-lcv83Hq3.d.mts → client-binary-version-verifier-jDDZ64Ah.d.mts} +0 -0
- /package/dist/{clients-namespace-DLAjOTTb.d.mts → clients-namespace-DFWuUawf.d.mts} +0 -0
- /package/dist/{config-namespace-CH7sJZ4f.d.mts → config-namespace-D1kyZj0B.d.mts} +0 -0
- /package/dist/{create-static-mount-DxuixuLZ.mjs → create-static-mount-9tnGpIeK.mjs} +0 -0
- /package/dist/{cross-spawn-CZygZJMH.mjs → cross-spawn-BIgueAqr.mjs} +0 -0
- /package/dist/{cursor-storage-bsc9lZKk.mjs → cursor-storage-ROWfiTh1.mjs} +0 -0
- /package/dist/{definition-BrgzUuFk.d.mts → definition-DB-kKc0d.d.mts} +0 -0
- /package/dist/{definitions-CRpdnHYM.mjs → definitions-CF6YmEhL.mjs} +0 -0
- /package/dist/{descriptor-to-package-CcjdoWP4.mjs → descriptor-to-package-BecVCopf.mjs} +0 -0
- /package/dist/{drizzle-Bzc-OGVI.mjs → drizzle-CPv3vdTE.mjs} +0 -0
- /package/dist/{esm-i-S5TW72.mjs → esm-CBFWM8u_.mjs} +0 -0
- /package/dist/{extension-context-QmFuHdq5.d.mts → extension-context-DzB7ydM3.d.mts} +0 -0
- /package/dist/{extension-namespace-QoTTwKPt.mjs → extension-namespace-B554RmCp.mjs} +0 -0
- /package/dist/{extension-package-provenance-aYrZuS4W.mjs → extension-package-provenance-Dh_-Z-tE.mjs} +0 -0
- /package/dist/{facet-BnMh7Jyc.mjs → facet-DVsW12iF.mjs} +0 -0
- /package/dist/{filesystem-service-ZJ43SbBi.d.mts → filesystem-service-Cm2RHKBa.d.mts} +0 -0
- /package/dist/{handler-DF1fVDpf.mjs → handler-Bqlk-6BY.mjs} +0 -0
- /package/dist/{host-B-_ntOMH.mjs → host-k5yoyKHg.mjs} +0 -0
- /package/dist/{index-8NdPPzUh2.d.mts → index--atUpi5l2.d.mts} +0 -0
- /package/dist/{index-Ek4y8M9J2.d.mts → index-42UdYStR.d.mts} +0 -0
- /package/dist/{index-C4V8Pmi4.d.mts → index-BJAB-BW_.d.mts} +0 -0
- /package/dist/{index-l01zsChf.d.mts → index-BJMezANn.d.mts} +0 -0
- /package/dist/{index-D037TVsm.d.mts → index-BQprJNA_.d.mts} +0 -0
- /package/dist/{index-B4svZC6L.d.mts → index-BRCrFirq.d.mts} +0 -0
- /package/dist/{index-jxPncqWZ2.d.mts → index-BSbGB23v.d.mts} +0 -0
- /package/dist/{index-BMRB9yhF.d.mts → index-BVcQcphK.d.mts} +0 -0
- /package/dist/{index-B2Y1Wvbh.d.mts → index-BcvqDfcN.d.mts} +0 -0
- /package/dist/{index-DgspOUa72.d.mts → index-BeENojSx2.d.mts} +0 -0
- /package/dist/{index-VzLAV0Yt.d.mts → index-Beo_Ik8-.d.mts} +0 -0
- /package/dist/{index-CqdMbYmR.d.mts → index-BgGe9WZz.d.mts} +0 -0
- /package/dist/{index-kzIjbrS02.d.mts → index-Bqm0ahTQ.d.mts} +0 -0
- /package/dist/{index-B-3I98nw.d.mts → index-C7HcDpHE.d.mts} +0 -0
- /package/dist/{index-pvX-BIpr2.d.mts → index-CK3f0bAL.d.mts} +0 -0
- /package/dist/{index-B5dP8rj6.d.mts → index-CQuRTeRa.d.mts} +0 -0
- /package/dist/{index-BC-6qNeo.d.mts → index-CRmE88hi.d.mts} +0 -0
- /package/dist/{index-CVpaGijY.d.mts → index-CvW9_SzR.d.mts} +0 -0
- /package/dist/{index-BFWvT0NG.d.mts → index-CxSSdIZz.d.mts} +0 -0
- /package/dist/{index-BmevAPME2.d.mts → index-DBadVauL.d.mts} +0 -0
- /package/dist/{index-BM56936c.d.mts → index-DP3o_13U.d.mts} +0 -0
- /package/dist/{index-BfV8U4XX.d.mts → index-DgOfgjx3.d.mts} +0 -0
- /package/dist/{index-8y4hT9WL.d.mts → index-DwLRZscE.d.mts} +0 -0
- /package/dist/{index-CmbkCxj-.d.mts → index-E4SET1AA.d.mts} +0 -0
- /package/dist/{index-BuMsrli0.d.mts → index-OADt3xlS.d.mts} +0 -0
- /package/dist/{capability-service-BW1-teFU.d.mts → index-Ol9RBB0W2.d.mts} +0 -0
- /package/dist/{index-CL0Jo1b92.d.mts → index-aoxdnhJ42.d.mts} +0 -0
- /package/dist/{index-BTEJfzjE.d.mts → index-bIe_57cL.d.mts} +0 -0
- /package/dist/{jsonl-transport-Cyyh5Wje.mjs → jsonl-transport-Bp_6pB2a.mjs} +0 -0
- /package/dist/{lib-BqV8hYtk.mjs → lib-Bwdd2m81.mjs} +0 -0
- /package/dist/{model-registry-Cixxx2jv.mjs → model-registry-Y854mUml.mjs} +0 -0
- /package/dist/{model-registry-C9rFu3kV.mjs → model-registry-yURX738J.mjs} +0 -0
- /package/dist/{modes-DwsJ3yVl.mjs → modes-DmUsjHdV.mjs} +0 -0
- /package/dist/{namespace-jVTsuZHX.mjs → namespace-B9FEGuEu.mjs} +0 -0
- /package/dist/{namespace-NXm_zvL1.mjs → namespace-BFqkUTJp.mjs} +0 -0
- /package/dist/{namespace-BUYDmd0r.d.mts → namespace-Bi3CmYQy.d.mts} +0 -0
- /package/dist/{namespace-CVFaZv8x.d.mts → namespace-BusZERU8.d.mts} +0 -0
- /package/dist/{namespace-B0ftHlK3.d.mts → namespace-ByP1Iipi.d.mts} +0 -0
- /package/dist/{namespace-BGRHcrmp.d.mts → namespace-C1D77w7U.d.mts} +0 -0
- /package/dist/{namespace-Du0accdE.mjs → namespace-CFjdyNXG.mjs} +0 -0
- /package/dist/{namespace-DiwqpB-c.mjs → namespace-CfIW0hpQ.mjs} +0 -0
- /package/dist/{namespace-BW3Bfu9h.mjs → namespace-CkBbNFSU.mjs} +0 -0
- /package/dist/{namespace-DOezqDti.d.mts → namespace-CrDlawqu.d.mts} +0 -0
- /package/dist/{namespace-BdAK0lD8.d.mts → namespace-DX1Ec15L.d.mts} +0 -0
- /package/dist/{namespace-tjoxekmf.mjs → namespace-DbNWsPFY.mjs} +0 -0
- /package/dist/{namespace-CPG6u60N.d.mts → namespace-Dgg0uoe6.d.mts} +0 -0
- /package/dist/{namespace-l-HG1rLF.d.mts → namespace-DwZwGXgF.d.mts} +0 -0
- /package/dist/{namespace-DqZweTbX.d.mts → namespace-s2y_NFKf.d.mts} +0 -0
- /package/dist/{namespace-DBO1OzYB.d.mts → namespace-yREpGJgG.d.mts} +0 -0
- /package/dist/{out-8bOYN6EF.mjs → out-DrhwCgqM.mjs} +0 -0
- /package/dist/{package-EGTn-Ng1.mjs → package-CBdvjyyZ.mjs} +0 -0
- /package/dist/{packages-Bp124-gx.mjs → packages-FBv3fAOR.mjs} +0 -0
- /package/dist/{packages-CxPMEg8D.d.mts → packages-N3-2Kl-Y.d.mts} +0 -0
- /package/dist/{platform-CxyYPrkf.mjs → platform-BrsMv_S3.mjs} +0 -0
- /package/dist/{provider-operation-DbdyFwNm.d.mts → provider-operation-DJ_TLZFf.d.mts} +0 -0
- /package/dist/{providers-C-eekMxD.mjs → providers-CCcn4Ndp.mjs} +0 -0
- /package/dist/{providers-namespace-CfZKp-C0.d.mts → providers-namespace-DeJBh6MP.d.mts} +0 -0
- /package/dist/{quick-lru-CCEnf7y6.mjs → quick-lru-uwB0hP-y.mjs} +0 -0
- /package/dist/{schema-introspection-6-r_KEJQ.mjs → schema-introspection-C1wvklj9.mjs} +0 -0
- /package/dist/{schema-C0opCPww.mjs → schema-jIapW8Kb.mjs} +0 -0
- /package/dist/{schemas-BXc9qOpl.d.mts → schemas-B3bfVYcL.d.mts} +0 -0
- /package/dist/{schemas-BivbWRkG.mjs → schemas-BNdiVBWh.mjs} +0 -0
- /package/dist/{schemas-B6Q-qdmn.d.mts → schemas-CD0wOQxx.d.mts} +0 -0
- /package/dist/{schemas-B50oWBuj.d.mts → schemas-CeUI2i5j.d.mts} +0 -0
- /package/dist/{schemas-ChmQldVH.d.mts → schemas-Cg-Kwp8c.d.mts} +0 -0
- /package/dist/{schemas-Pe892GgN.d.mts → schemas-Cv3rR9Sz.d.mts} +0 -0
- /package/dist/{schemas-B8hKbBwI.mjs → schemas-DgwEVUt-.mjs} +0 -0
- /package/dist/{schemas-D7ScxLrf.d.mts → schemas-VbB1FTxx.d.mts} +0 -0
- /package/dist/{schemas-scyC2tFF.mjs → schemas-mLpOfMoN.mjs} +0 -0
- /package/dist/{schemas-bfZNpl0B.d.mts → schemas-qA279_j_.d.mts} +0 -0
- /package/dist/{schemas-BGvkTiCx.d.mts → schemas-sMoRnBdZ.d.mts} +0 -0
- /package/dist/{semver-BI7kTNsY.mjs → semver-DTXuyLcK.mjs} +0 -0
- /package/dist/{server-lifecycle-L8zja8t8.d.mts → server-lifecycle-C_8iKgat.d.mts} +0 -0
- /package/dist/{server-lifecycle-B_OZnoe-.mjs → server-lifecycle-DKx_fWlq.mjs} +0 -0
- /package/dist/{session-lineage-bUkd3fqx.d.mts → session-lineage-D5E142LU.d.mts} +0 -0
- /package/dist/{shared-schemas-CQ6blrEW.mjs → shared-schemas-aahW97QW.mjs} +0 -0
- /package/dist/{src-BacfeiI4.mjs → src-DHqsl5Pg.mjs} +0 -0
- /package/dist/{storage-namespace-BZce8kkW.mjs → storage-namespace-Dz2jsssp.mjs} +0 -0
- /package/dist/{storage-namespace-YmE8XCCL.d.mts → storage-namespace-Tf3P5yJ5.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Cca-zwXU.mjs → storage-namespace-definition-CDef0E20.mjs} +0 -0
- /package/dist/{supports-color-SV_FgSN2.mjs → supports-color-i7OTnKcZ.mjs} +0 -0
- /package/dist/{telemetry-BqoC87F-.mjs → telemetry-BvCBUjFg.mjs} +0 -0
- /package/dist/{timeout-DVlN2Zhy.mjs → timeout-B0nYjLc8.mjs} +0 -0
- /package/dist/{tray-menu-service-eVVxgPLc.mjs → tray-menu-service-Deo6yyP8.mjs} +0 -0
- /package/dist/{types-DdpSEmTO.d.mts → types-CNS55jvt.d.mts} +0 -0
- /package/dist/{types-tyv0B605.d.mts → types-Ce6LL25v.d.mts} +0 -0
- /package/dist/{types-BlB23n4f.d.mts → types-xCdGghb2.d.mts} +0 -0
- /package/dist/{ui-config-B35GloSX.mjs → ui-config-BIyGzMNL.mjs} +0 -0
- /package/dist/{variant-Dwnge3J_.mjs → variant-B4uWdxW7.mjs} +0 -0
- /package/dist/{window-registry-Pcf35cac.d.mts → window-registry-BLtVx3Iw.d.mts} +0 -0
- /package/dist/{window-registry-CKiMJjId.mjs → window-registry-CoBJq3u4.mjs} +0 -0
- /package/dist/{zod-json-schema-Dixc-B1T.mjs → zod-json-schema-BAGAFfCN.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as Message$1 } from "./index-
|
|
1
|
+
import { Rt as BranchKind$1, gt as SessionMessage$1 } from "./types-CwvN4uN2.mjs";
|
|
2
|
+
import { o as Message$1 } from "./index-CSN_0sCo.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,94 +15,22 @@ 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;
|
|
19
18
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20
19
|
role: _$zod.ZodEnum<{
|
|
21
20
|
lead: "lead";
|
|
22
21
|
member: "member";
|
|
23
22
|
}>;
|
|
24
23
|
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>;
|
|
74
24
|
expectedLeadAgentId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
75
25
|
}, _$zod_v4_core0.$strip>;
|
|
76
26
|
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
77
27
|
outcome: _$zod.ZodLiteral<"reserved">;
|
|
78
|
-
reservation: _$zod.
|
|
28
|
+
reservation: _$zod.ZodObject<{
|
|
79
29
|
agentId: _$zod.ZodString;
|
|
80
30
|
sessionId: _$zod.ZodString;
|
|
81
|
-
adapterId: _$zod.ZodString;
|
|
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
31
|
machineId: _$zod.ZodString;
|
|
105
|
-
|
|
32
|
+
adapterId: _$zod.ZodString;
|
|
33
|
+
claim: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
106
34
|
machineId: _$zod.ZodString;
|
|
107
35
|
adapterId: _$zod.ZodString;
|
|
108
36
|
providerSessionId: _$zod.ZodString;
|
|
@@ -110,7 +38,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
110
38
|
adapterName: _$zod.ZodString;
|
|
111
39
|
sessionId: _$zod.ZodString;
|
|
112
40
|
agentId: _$zod.ZodString;
|
|
113
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
114
41
|
claimToken: _$zod.ZodString;
|
|
115
42
|
fence: _$zod.ZodNumber;
|
|
116
43
|
status: _$zod.ZodEnum<{
|
|
@@ -120,36 +47,10 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
120
47
|
}>;
|
|
121
48
|
claimedAt: _$zod.ZodNumber;
|
|
122
49
|
updatedAt: _$zod.ZodNumber;
|
|
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;
|
|
50
|
+
}, _$zod_v4_core0.$strip>>;
|
|
129
51
|
leadDesignated: _$zod.ZodBoolean;
|
|
130
52
|
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
131
|
-
|
|
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>]>;
|
|
53
|
+
}, _$zod_v4_core0.$strip>;
|
|
153
54
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
154
55
|
outcome: _$zod.ZodLiteral<"occupied">;
|
|
155
56
|
holder: _$zod.ZodObject<{
|
|
@@ -160,7 +61,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
160
61
|
adapterName: _$zod.ZodString;
|
|
161
62
|
sessionId: _$zod.ZodString;
|
|
162
63
|
agentId: _$zod.ZodString;
|
|
163
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
164
64
|
claimToken: _$zod.ZodString;
|
|
165
65
|
fence: _$zod.ZodNumber;
|
|
166
66
|
status: _$zod.ZodEnum<{
|
|
@@ -176,54 +76,14 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
176
76
|
currentLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
177
77
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
178
78
|
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
|
-
}>;
|
|
186
79
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
187
80
|
outcome: _$zod.ZodLiteral<"not-found">;
|
|
188
81
|
missing: _$zod.ZodEnum<{
|
|
189
|
-
agent: "agent";
|
|
190
82
|
session: "session";
|
|
83
|
+
agent: "agent";
|
|
191
84
|
}>;
|
|
192
85
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
193
86
|
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>>;
|
|
227
87
|
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
228
88
|
};
|
|
229
89
|
'ownership.settleMovement': {
|
|
@@ -232,7 +92,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
232
92
|
agentId: _$zod.ZodString;
|
|
233
93
|
adapterId: _$zod.ZodString;
|
|
234
94
|
adapterName: _$zod.ZodString;
|
|
235
|
-
ownerInstanceId: _$zod.ZodString;
|
|
236
95
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
237
96
|
movement: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
238
97
|
confirmed: _$zod.ZodLiteral<true>;
|
|
@@ -264,7 +123,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
264
123
|
adapterName: _$zod.ZodString;
|
|
265
124
|
sessionId: _$zod.ZodString;
|
|
266
125
|
agentId: _$zod.ZodString;
|
|
267
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
268
126
|
claimToken: _$zod.ZodString;
|
|
269
127
|
fence: _$zod.ZodNumber;
|
|
270
128
|
status: _$zod.ZodEnum<{
|
|
@@ -296,7 +154,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
296
154
|
adapterName: _$zod.ZodString;
|
|
297
155
|
sessionId: _$zod.ZodString;
|
|
298
156
|
agentId: _$zod.ZodString;
|
|
299
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
300
157
|
claimToken: _$zod.ZodString;
|
|
301
158
|
fence: _$zod.ZodNumber;
|
|
302
159
|
status: _$zod.ZodEnum<{
|
|
@@ -317,7 +174,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
317
174
|
adapterName: _$zod.ZodString;
|
|
318
175
|
sessionId: _$zod.ZodString;
|
|
319
176
|
agentId: _$zod.ZodString;
|
|
320
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
321
177
|
claimToken: _$zod.ZodString;
|
|
322
178
|
fence: _$zod.ZodNumber;
|
|
323
179
|
status: _$zod.ZodEnum<{
|
|
@@ -373,7 +229,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
373
229
|
adapterName: _$zod.ZodString;
|
|
374
230
|
sessionId: _$zod.ZodString;
|
|
375
231
|
agentId: _$zod.ZodString;
|
|
376
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
377
232
|
claimToken: _$zod.ZodString;
|
|
378
233
|
fence: _$zod.ZodNumber;
|
|
379
234
|
status: _$zod.ZodEnum<{
|
|
@@ -401,7 +256,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
401
256
|
adapterName: _$zod.ZodString;
|
|
402
257
|
sessionId: _$zod.ZodString;
|
|
403
258
|
agentId: _$zod.ZodString;
|
|
404
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
405
259
|
claimToken: _$zod.ZodString;
|
|
406
260
|
fence: _$zod.ZodNumber;
|
|
407
261
|
status: _$zod.ZodEnum<{
|
|
@@ -421,7 +275,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
421
275
|
"agent-disposed": "agent-disposed";
|
|
422
276
|
"agent-gone": "agent-gone";
|
|
423
277
|
"adapter-instance-gone": "adapter-instance-gone";
|
|
424
|
-
"owner-instance-retired": "owner-instance-retired";
|
|
425
278
|
}>>;
|
|
426
279
|
}, _$zod_v4_core0.$strip>>;
|
|
427
280
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -1175,7 +1028,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
1175
1028
|
systemPrompt: "systemPrompt";
|
|
1176
1029
|
fullPrefix: "fullPrefix";
|
|
1177
1030
|
}>>;
|
|
1178
|
-
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue,
|
|
1031
|
+
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
1179
1032
|
requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1180
1033
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1181
1034
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2547,11 +2400,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
2547
2400
|
adapterId: _$zod.ZodString;
|
|
2548
2401
|
adapterName: _$zod.ZodString;
|
|
2549
2402
|
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>;
|
|
2555
2403
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2556
2404
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2557
2405
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2680,11 +2528,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
2680
2528
|
adapterId: _$zod.ZodString;
|
|
2681
2529
|
adapterName: _$zod.ZodString;
|
|
2682
2530
|
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>;
|
|
2688
2531
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2689
2532
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2690
2533
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3219,11 +3062,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
3219
3062
|
adapterId: _$zod.ZodString;
|
|
3220
3063
|
adapterName: _$zod.ZodString;
|
|
3221
3064
|
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>;
|
|
3227
3065
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3228
3066
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3229
3067
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3352,11 +3190,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
3352
3190
|
adapterId: _$zod.ZodString;
|
|
3353
3191
|
adapterName: _$zod.ZodString;
|
|
3354
3192
|
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>;
|
|
3360
3193
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3361
3194
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3362
3195
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4408,11 +4241,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4408
4241
|
adapterId: _$zod.ZodString;
|
|
4409
4242
|
adapterName: _$zod.ZodString;
|
|
4410
4243
|
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>;
|
|
4416
4244
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4417
4245
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4418
4246
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4566,11 +4394,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4566
4394
|
adapterId: _$zod.ZodString;
|
|
4567
4395
|
adapterName: _$zod.ZodString;
|
|
4568
4396
|
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>;
|
|
4574
4397
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4575
4398
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4576
4399
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4715,11 +4538,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4715
4538
|
adapterId: _$zod.ZodString;
|
|
4716
4539
|
adapterName: _$zod.ZodString;
|
|
4717
4540
|
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>;
|
|
4723
4541
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4724
4542
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4725
4543
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4978,11 +4796,6 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4978
4796
|
adapterId: _$zod.ZodString;
|
|
4979
4797
|
adapterName: _$zod.ZodString;
|
|
4980
4798
|
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>;
|
|
4986
4799
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4987
4800
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4988
4801
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -5126,94 +4939,22 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5126
4939
|
agentId: _$zod.ZodString;
|
|
5127
4940
|
adapterId: _$zod.ZodString;
|
|
5128
4941
|
adapterName: _$zod.ZodString;
|
|
5129
|
-
ownerInstanceId: _$zod.ZodString;
|
|
5130
4942
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5131
4943
|
role: _$zod.ZodEnum<{
|
|
5132
4944
|
lead: "lead";
|
|
5133
4945
|
member: "member";
|
|
5134
4946
|
}>;
|
|
5135
4947
|
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>;
|
|
5185
4948
|
expectedLeadAgentId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
5186
4949
|
}, _$zod_v4_core0.$strip>;
|
|
5187
4950
|
response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5188
4951
|
outcome: _$zod.ZodLiteral<"reserved">;
|
|
5189
|
-
reservation: _$zod.
|
|
4952
|
+
reservation: _$zod.ZodObject<{
|
|
5190
4953
|
agentId: _$zod.ZodString;
|
|
5191
4954
|
sessionId: _$zod.ZodString;
|
|
5192
|
-
adapterId: _$zod.ZodString;
|
|
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
4955
|
machineId: _$zod.ZodString;
|
|
5216
|
-
|
|
4956
|
+
adapterId: _$zod.ZodString;
|
|
4957
|
+
claim: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
5217
4958
|
machineId: _$zod.ZodString;
|
|
5218
4959
|
adapterId: _$zod.ZodString;
|
|
5219
4960
|
providerSessionId: _$zod.ZodString;
|
|
@@ -5221,7 +4962,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5221
4962
|
adapterName: _$zod.ZodString;
|
|
5222
4963
|
sessionId: _$zod.ZodString;
|
|
5223
4964
|
agentId: _$zod.ZodString;
|
|
5224
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5225
4965
|
claimToken: _$zod.ZodString;
|
|
5226
4966
|
fence: _$zod.ZodNumber;
|
|
5227
4967
|
status: _$zod.ZodEnum<{
|
|
@@ -5231,36 +4971,10 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5231
4971
|
}>;
|
|
5232
4972
|
claimedAt: _$zod.ZodNumber;
|
|
5233
4973
|
updatedAt: _$zod.ZodNumber;
|
|
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;
|
|
4974
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5240
4975
|
leadDesignated: _$zod.ZodBoolean;
|
|
5241
4976
|
previousLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5242
|
-
|
|
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>]>;
|
|
4977
|
+
}, _$zod_v4_core0.$strip>;
|
|
5264
4978
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5265
4979
|
outcome: _$zod.ZodLiteral<"occupied">;
|
|
5266
4980
|
holder: _$zod.ZodObject<{
|
|
@@ -5271,7 +4985,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5271
4985
|
adapterName: _$zod.ZodString;
|
|
5272
4986
|
sessionId: _$zod.ZodString;
|
|
5273
4987
|
agentId: _$zod.ZodString;
|
|
5274
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5275
4988
|
claimToken: _$zod.ZodString;
|
|
5276
4989
|
fence: _$zod.ZodNumber;
|
|
5277
4990
|
status: _$zod.ZodEnum<{
|
|
@@ -5287,54 +5000,14 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5287
5000
|
currentLeadAgentId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5288
5001
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5289
5002
|
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
|
-
}>;
|
|
5297
5003
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5298
5004
|
outcome: _$zod.ZodLiteral<"not-found">;
|
|
5299
5005
|
missing: _$zod.ZodEnum<{
|
|
5300
|
-
agent: "agent";
|
|
5301
5006
|
session: "session";
|
|
5007
|
+
agent: "agent";
|
|
5302
5008
|
}>;
|
|
5303
5009
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
5304
5010
|
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>>;
|
|
5338
5011
|
}, _$zod_v4_core0.$strip>], "outcome">;
|
|
5339
5012
|
};
|
|
5340
5013
|
'ownership.settleMovement': {
|
|
@@ -5343,7 +5016,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5343
5016
|
agentId: _$zod.ZodString;
|
|
5344
5017
|
adapterId: _$zod.ZodString;
|
|
5345
5018
|
adapterName: _$zod.ZodString;
|
|
5346
|
-
ownerInstanceId: _$zod.ZodString;
|
|
5347
5019
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5348
5020
|
movement: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
5349
5021
|
confirmed: _$zod.ZodLiteral<true>;
|
|
@@ -5375,7 +5047,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5375
5047
|
adapterName: _$zod.ZodString;
|
|
5376
5048
|
sessionId: _$zod.ZodString;
|
|
5377
5049
|
agentId: _$zod.ZodString;
|
|
5378
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5379
5050
|
claimToken: _$zod.ZodString;
|
|
5380
5051
|
fence: _$zod.ZodNumber;
|
|
5381
5052
|
status: _$zod.ZodEnum<{
|
|
@@ -5407,7 +5078,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5407
5078
|
adapterName: _$zod.ZodString;
|
|
5408
5079
|
sessionId: _$zod.ZodString;
|
|
5409
5080
|
agentId: _$zod.ZodString;
|
|
5410
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5411
5081
|
claimToken: _$zod.ZodString;
|
|
5412
5082
|
fence: _$zod.ZodNumber;
|
|
5413
5083
|
status: _$zod.ZodEnum<{
|
|
@@ -5428,7 +5098,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5428
5098
|
adapterName: _$zod.ZodString;
|
|
5429
5099
|
sessionId: _$zod.ZodString;
|
|
5430
5100
|
agentId: _$zod.ZodString;
|
|
5431
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5432
5101
|
claimToken: _$zod.ZodString;
|
|
5433
5102
|
fence: _$zod.ZodNumber;
|
|
5434
5103
|
status: _$zod.ZodEnum<{
|
|
@@ -5484,7 +5153,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5484
5153
|
adapterName: _$zod.ZodString;
|
|
5485
5154
|
sessionId: _$zod.ZodString;
|
|
5486
5155
|
agentId: _$zod.ZodString;
|
|
5487
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5488
5156
|
claimToken: _$zod.ZodString;
|
|
5489
5157
|
fence: _$zod.ZodNumber;
|
|
5490
5158
|
status: _$zod.ZodEnum<{
|
|
@@ -5512,7 +5180,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5512
5180
|
adapterName: _$zod.ZodString;
|
|
5513
5181
|
sessionId: _$zod.ZodString;
|
|
5514
5182
|
agentId: _$zod.ZodString;
|
|
5515
|
-
ownerInstanceId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
5516
5183
|
claimToken: _$zod.ZodString;
|
|
5517
5184
|
fence: _$zod.ZodNumber;
|
|
5518
5185
|
status: _$zod.ZodEnum<{
|
|
@@ -5532,7 +5199,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
5532
5199
|
"agent-disposed": "agent-disposed";
|
|
5533
5200
|
"agent-gone": "agent-gone";
|
|
5534
5201
|
"adapter-instance-gone": "adapter-instance-gone";
|
|
5535
|
-
"owner-instance-retired": "owner-instance-retired";
|
|
5536
5202
|
}>>;
|
|
5537
5203
|
}, _$zod_v4_core0.$strip>>;
|
|
5538
5204
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -6286,7 +5952,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
6286
5952
|
systemPrompt: "systemPrompt";
|
|
6287
5953
|
fullPrefix: "fullPrefix";
|
|
6288
5954
|
}>>;
|
|
6289
|
-
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue,
|
|
5955
|
+
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6290
5956
|
requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
6291
5957
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6292
5958
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7658,11 +7324,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7658
7324
|
adapterId: _$zod.ZodString;
|
|
7659
7325
|
adapterName: _$zod.ZodString;
|
|
7660
7326
|
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>;
|
|
7666
7327
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7667
7328
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7668
7329
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -7791,11 +7452,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7791
7452
|
adapterId: _$zod.ZodString;
|
|
7792
7453
|
adapterName: _$zod.ZodString;
|
|
7793
7454
|
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>;
|
|
7799
7455
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7800
7456
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7801
7457
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -8330,11 +7986,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
8330
7986
|
adapterId: _$zod.ZodString;
|
|
8331
7987
|
adapterName: _$zod.ZodString;
|
|
8332
7988
|
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>;
|
|
8338
7989
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8339
7990
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8340
7991
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -8463,11 +8114,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
8463
8114
|
adapterId: _$zod.ZodString;
|
|
8464
8115
|
adapterName: _$zod.ZodString;
|
|
8465
8116
|
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>;
|
|
8471
8117
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8472
8118
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8473
8119
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9519,11 +9165,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9519
9165
|
adapterId: _$zod.ZodString;
|
|
9520
9166
|
adapterName: _$zod.ZodString;
|
|
9521
9167
|
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>;
|
|
9527
9168
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9528
9169
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9529
9170
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9677,11 +9318,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9677
9318
|
adapterId: _$zod.ZodString;
|
|
9678
9319
|
adapterName: _$zod.ZodString;
|
|
9679
9320
|
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>;
|
|
9685
9321
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9686
9322
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9687
9323
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -9826,11 +9462,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9826
9462
|
adapterId: _$zod.ZodString;
|
|
9827
9463
|
adapterName: _$zod.ZodString;
|
|
9828
9464
|
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>;
|
|
9834
9465
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9835
9466
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9836
9467
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -10089,11 +9720,6 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
10089
9720
|
adapterId: _$zod.ZodString;
|
|
10090
9721
|
adapterName: _$zod.ZodString;
|
|
10091
9722
|
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>;
|
|
10097
9723
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10098
9724
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10099
9725
|
currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -10450,7 +10076,7 @@ declare const SessionContextSchema$1: z.ZodObject<{
|
|
|
10450
10076
|
systemPrompt: "systemPrompt";
|
|
10451
10077
|
fullPrefix: "fullPrefix";
|
|
10452
10078
|
}>>;
|
|
10453
|
-
turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
10079
|
+
turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
10454
10080
|
requestCorrelation: z.ZodOptional<z.ZodObject<{
|
|
10455
10081
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
10456
10082
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -11055,8 +10681,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
|
|
|
11055
10681
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
11056
10682
|
}, z.core.$strip>], "type">>;
|
|
11057
10683
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11058
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
11059
10684
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
10685
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11060
10686
|
timestamp: z.ZodNumber;
|
|
11061
10687
|
contentText: z.ZodString;
|
|
11062
10688
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -11903,8 +11529,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
11903
11529
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
11904
11530
|
}, z.core.$strip>], "type">>;
|
|
11905
11531
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11906
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
11907
11532
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
11533
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11908
11534
|
timestamp: z.ZodNumber;
|
|
11909
11535
|
contentText: z.ZodString;
|
|
11910
11536
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -15798,11 +15424,6 @@ declare const SessionStorageSetSessionSchema: z.ZodObject<{
|
|
|
15798
15424
|
adapterId: z.ZodString;
|
|
15799
15425
|
adapterName: z.ZodString;
|
|
15800
15426
|
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>;
|
|
15806
15427
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15807
15428
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15808
15429
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -15937,11 +15558,6 @@ declare const SessionStorageSetRequestSchema$1: z.ZodObject<{
|
|
|
15937
15558
|
adapterId: z.ZodString;
|
|
15938
15559
|
adapterName: z.ZodString;
|
|
15939
15560
|
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>;
|
|
15945
15561
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15946
15562
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15947
15563
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16085,7 +15701,7 @@ declare const SessionStorageUpdateSchema$1: {
|
|
|
16085
15701
|
active: "active";
|
|
16086
15702
|
archived: "archived";
|
|
16087
15703
|
}>>>;
|
|
16088
|
-
parentSessionId: z.ZodOptional<z.
|
|
15704
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
16089
15705
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
16090
15706
|
none: "none";
|
|
16091
15707
|
"parent-history": "parent-history";
|
|
@@ -16130,13 +15746,6 @@ declare const SessionStorageUpdateSchema$1: {
|
|
|
16130
15746
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16131
15747
|
}, z.core.$strip>>;
|
|
16132
15748
|
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>>;
|
|
16140
15749
|
}, z.core.$strip>;
|
|
16141
15750
|
response: z.ZodObject<{
|
|
16142
15751
|
success: z.ZodBoolean;
|
|
@@ -16337,11 +15946,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16337
15946
|
adapterId: z.ZodString;
|
|
16338
15947
|
adapterName: z.ZodString;
|
|
16339
15948
|
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>;
|
|
16345
15949
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16346
15950
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16347
15951
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16485,11 +16089,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16485
16089
|
adapterId: z.ZodString;
|
|
16486
16090
|
adapterName: z.ZodString;
|
|
16487
16091
|
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>;
|
|
16493
16092
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16494
16093
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16495
16094
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16664,11 +16263,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16664
16263
|
adapterId: z.ZodString;
|
|
16665
16264
|
adapterName: z.ZodString;
|
|
16666
16265
|
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>;
|
|
16672
16266
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16673
16267
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16674
16268
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -16859,11 +16453,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16859
16453
|
adapterId: z.ZodString;
|
|
16860
16454
|
adapterName: z.ZodString;
|
|
16861
16455
|
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>;
|
|
16867
16456
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16868
16457
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16869
16458
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17015,7 +16604,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17015
16604
|
active: "active";
|
|
17016
16605
|
archived: "archived";
|
|
17017
16606
|
}>>>;
|
|
17018
|
-
parentSessionId: z.ZodOptional<z.
|
|
16607
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
17019
16608
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
17020
16609
|
none: "none";
|
|
17021
16610
|
"parent-history": "parent-history";
|
|
@@ -17060,13 +16649,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17060
16649
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17061
16650
|
}, z.core.$strip>>;
|
|
17062
16651
|
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>>;
|
|
17070
16652
|
}, z.core.$strip>;
|
|
17071
16653
|
response: z.ZodObject<{
|
|
17072
16654
|
success: z.ZodBoolean;
|
|
@@ -17095,11 +16677,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17095
16677
|
adapterId: z.ZodString;
|
|
17096
16678
|
adapterName: z.ZodString;
|
|
17097
16679
|
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>;
|
|
17103
16680
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17104
16681
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17105
16682
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17420,11 +16997,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17420
16997
|
adapterId: z.ZodString;
|
|
17421
16998
|
adapterName: z.ZodString;
|
|
17422
16999
|
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>;
|
|
17428
17000
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17429
17001
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17430
17002
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17575,11 +17147,6 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17575
17147
|
adapterId: z.ZodString;
|
|
17576
17148
|
adapterName: z.ZodString;
|
|
17577
17149
|
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>;
|
|
17583
17150
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17584
17151
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17585
17152
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17768,11 +17335,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17768
17335
|
adapterId: z.ZodString;
|
|
17769
17336
|
adapterName: z.ZodString;
|
|
17770
17337
|
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>;
|
|
17776
17338
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17777
17339
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17778
17340
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17916,11 +17478,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17916
17478
|
adapterId: z.ZodString;
|
|
17917
17479
|
adapterName: z.ZodString;
|
|
17918
17480
|
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>;
|
|
17924
17481
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17925
17482
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17926
17483
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18095,11 +17652,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18095
17652
|
adapterId: z.ZodString;
|
|
18096
17653
|
adapterName: z.ZodString;
|
|
18097
17654
|
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>;
|
|
18103
17655
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18104
17656
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18105
17657
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18290,11 +17842,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18290
17842
|
adapterId: z.ZodString;
|
|
18291
17843
|
adapterName: z.ZodString;
|
|
18292
17844
|
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>;
|
|
18298
17845
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18299
17846
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18300
17847
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18446,7 +17993,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18446
17993
|
active: "active";
|
|
18447
17994
|
archived: "archived";
|
|
18448
17995
|
}>>>;
|
|
18449
|
-
parentSessionId: z.ZodOptional<z.
|
|
17996
|
+
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
18450
17997
|
contextInheritance: z.ZodOptional<z.ZodEnum<{
|
|
18451
17998
|
none: "none";
|
|
18452
17999
|
"parent-history": "parent-history";
|
|
@@ -18491,13 +18038,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18491
18038
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18492
18039
|
}, z.core.$strip>>;
|
|
18493
18040
|
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>>;
|
|
18501
18041
|
}, z.core.$strip>;
|
|
18502
18042
|
response: z.ZodObject<{
|
|
18503
18043
|
success: z.ZodBoolean;
|
|
@@ -18526,11 +18066,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18526
18066
|
adapterId: z.ZodString;
|
|
18527
18067
|
adapterName: z.ZodString;
|
|
18528
18068
|
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>;
|
|
18534
18069
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18535
18070
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18536
18071
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18851,11 +18386,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18851
18386
|
adapterId: z.ZodString;
|
|
18852
18387
|
adapterName: z.ZodString;
|
|
18853
18388
|
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>;
|
|
18859
18389
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18860
18390
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18861
18391
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19006,11 +18536,6 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
19006
18536
|
adapterId: z.ZodString;
|
|
19007
18537
|
adapterName: z.ZodString;
|
|
19008
18538
|
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>;
|
|
19014
18539
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
19015
18540
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
19016
18541
|
currentAdapterSessionIdState: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19176,53 +18701,1794 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
19176
18701
|
};
|
|
19177
18702
|
}>, "storage:session">;
|
|
19178
18703
|
//#endregion
|
|
19179
|
-
//#region core/contracts/src/session/session-ownership-
|
|
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
|
-
}
|
|
18704
|
+
//#region core/contracts/src/session/session-ownership-storage-namespace.d.ts
|
|
19196
18705
|
/**
|
|
19197
|
-
*
|
|
19198
|
-
*
|
|
19199
|
-
*
|
|
19200
|
-
|
|
19201
|
-
|
|
18706
|
+
* Lifecycle state of a durable ownership claim.
|
|
18707
|
+
*
|
|
18708
|
+
* The **existence** of a claim row is what blocks a competing owner; the status
|
|
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.
|
|
19267
|
+
*/
|
|
19268
|
+
declare const SessionOwnershipReleaseRequestSchema: z.ZodObject<{
|
|
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>;
|
|
19202
19327
|
/**
|
|
19203
|
-
*
|
|
19204
|
-
*
|
|
19205
|
-
*
|
|
19328
|
+
* Request payload for `storage:sessionOwnership.releaseAgentClaims`.
|
|
19329
|
+
*
|
|
19330
|
+
* The plural of `release`, and not a convenience: **omitting `claimToken` is the
|
|
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.
|
|
19206
19345
|
*/
|
|
19207
|
-
declare
|
|
19346
|
+
declare const SessionOwnershipReleaseAgentClaimsRequestSchema: z.ZodObject<{
|
|
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>;
|
|
19208
19357
|
/**
|
|
19209
|
-
*
|
|
19210
|
-
*
|
|
19211
|
-
*
|
|
19358
|
+
* Result of `storage:sessionOwnership.releaseAgentClaims`.
|
|
19359
|
+
*
|
|
19360
|
+
* Not a discriminated union, because there is no failure to model: an agent with
|
|
19361
|
+
* no claims — including one whose row is gone entirely — yields empty lists
|
|
19362
|
+
* rather than an error, which is what makes teardown idempotent.
|
|
19212
19363
|
*/
|
|
19213
|
-
declare
|
|
19364
|
+
declare const SessionOwnershipReleaseAgentClaimsResponseSchema: z.ZodObject<{
|
|
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>;
|
|
19214
19388
|
/**
|
|
19215
|
-
*
|
|
19216
|
-
*
|
|
19217
|
-
*
|
|
19389
|
+
* Request payload for `storage:sessionOwnership.listClaims`.
|
|
19390
|
+
*
|
|
19391
|
+
* `machineId` is mandatory because reconciliation is a per-machine act: a
|
|
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.
|
|
19218
19395
|
*/
|
|
19219
|
-
declare
|
|
19396
|
+
declare const SessionOwnershipListClaimsRequestSchema: z.ZodObject<{
|
|
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>;
|
|
19220
19408
|
/**
|
|
19221
|
-
*
|
|
19222
|
-
*
|
|
19223
|
-
*
|
|
19409
|
+
* Session ownership storage namespace.
|
|
19410
|
+
*
|
|
19411
|
+
* The durable seam of the session-ownership aggregate. Its invariant:
|
|
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
|
+
* ```
|
|
19224
19456
|
*/
|
|
19225
|
-
declare
|
|
19457
|
+
declare const SessionOwnershipStorageNamespace: ContractStorageNamespaceDefinition<"sessionOwnership", {
|
|
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">;
|
|
19226
20492
|
//#endregion
|
|
19227
20493
|
//#region core/contracts/src/session/schemas/adapter-session-currency.d.ts
|
|
19228
20494
|
/**
|
|
@@ -19343,4 +20609,4 @@ declare function isExtractionExcluded(metadata: Record<string, unknown> | undefi
|
|
|
19343
20609
|
*/
|
|
19344
20610
|
declare function buildExtractionExclusionMetadata(): ExtractionExclusionMetadata;
|
|
19345
20611
|
//#endregion
|
|
19346
|
-
export {
|
|
20612
|
+
export { SessionStorageRebindObservedResult as $, SessionOwnershipReleaseAgentClaimsRequestSchema as A, ResolveAgentConfigResponse as At, SessionOwnershipSettleCurrencyResult as B, RequestCorrelationContext$1 as Bt, SessionOwnershipClaimRequest as C, SessionClientAccountChangedSchema as Ct, SessionOwnershipListClaimsRequest as D, ResolveSystemPromptResponse as Dt, SessionOwnershipClaimResult as E, ResolveSystemPromptRequest as Et, SessionOwnershipReleaseResponseSchema as F, CONNECTOR_SWAP_WARNING_OPTION_IDS as Ft, SessionOwnershipStorageNamespace as G, SessionContextSchema$1 as Gt, SessionOwnershipSettleMovementRequestSchema as H, CACHE_STRATEGIES as Ht, SessionOwnershipReleaseResult as I, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY as It, ImportUpsertRequestSchema as J, SessionExtensionContext$1 as Jt, SessionOwnershipStorageSubjects$1 as K, ContextWindowState$1 as Kt, SessionOwnershipSettleCurrencyRequest as L, ConnectorSwapWarningOptionId as Lt, SessionOwnershipReleaseAgentClaimsResult as M, CONNECTOR_SWAP_CANCELLED_CODE as Mt, SessionOwnershipReleaseRequest as N, ConnectorSwapCancelledError as Nt, SessionOwnershipListClaimsRequestSchema as O, ResolveSystemPromptSchema as Ot, SessionOwnershipReleaseRequestSchema as P, isConnectorSwapCancelledError as Pt, SessionStorageRebindObservedResponseSchema as Q, SessionOwnershipSettleCurrencyRequestSchema as R, INTERACTIVE_DIALOG_TIMEOUT_MS as Rt, OwnershipMovementSchema as S, SessionClientAccountChanged as St, SessionOwnershipClaimResponseSchema as T, SessionImportStatusChangedSchema as Tt, SessionOwnershipSettleMovementResponseSchema as U, CacheStrategy$1 as Ut, SessionOwnershipSettleMovementRequest as V, RequestCorrelationContextSchema$1 as Vt, SessionOwnershipSettleMovementResult as W, SessionContext$1 as Wt, SessionStorageRebindObservedRequest as X, SessionNamespace as Xt, SessionStorageNamespace$1 as Y, SessionExtensionContextFactory as Yt, SessionStorageRebindObservedRequestSchema as Z, SessionSubjects$1 as Zt, AdapterSessionClaimStatus as _, BranchBehavior as _t, isExtractionExcluded as a, SessionEventStorageSubjects as at, AgentSessionOwnershipRecordSchema as b, isMergeable as bt, AdapterSessionCurrencyTarget as c, messageCursorKey as ct, AdapterSessionClaimDisposition as d, MessagePageCursorSchema as dt, SessionStorageSetRequestSchema$1 as et, AdapterSessionClaimDispositionSchema as f, MessageStorageNamespace$1 as ft, AdapterSessionClaimRecordSchema as g, CompressionModeSchema$1 as gt, AdapterSessionClaimRecord$1 as h, CompressionMode as ht, buildExtractionExclusionMetadata as i, SessionEventStorageNamespace$1 as it, SessionOwnershipReleaseAgentClaimsResponseSchema as j, ResolveAgentConfigSchema as jt, SessionOwnershipReleaseAgentClaimsRequest as k, ResolveAgentConfigRequest as kt, AdapterSessionCurrencyTargetSchema as l, messageToCursor$1 as lt, AdapterSessionClaimKeySchema as m, SessionEnrichmentSchemas as mt, ExtractionExclusionKey as n, SessionStorageSubjects$1 as nt, AdapterSessionCurrencySnapshot as o, compareMessageCursorAsc$1 as ot, AdapterSessionClaimKey as p, MessageStorageSubjects$1 as pt, ImportUpsertRequest as q, ForkOptions$1 as qt, ExtractionExclusionMetadata as r, SessionStorageUpdateSchema$1 as rt, AdapterSessionCurrencySnapshotSchema as s, compareMessageCursorDesc$1 as st, EXTRACTION_EXCLUSION_KEY as t, SessionStorageSetSessionSchema as tt, resolveResumableAdapterSessionId$1 as u, MessagePageCursor as ut, AdapterSessionClaimStatusSchema as v, getBranchBehavior as vt, SessionOwnershipClaimRequestSchema as w, SessionImportStatusChanged as wt, OwnershipMovement as x, isNavigatingBranch as xt, AgentSessionOwnershipRecord as y, isInViewBranch as yt, SessionOwnershipSettleCurrencyResponseSchema as z, UI_WARNINGS_CATEGORY as zt };
|