@makaio/framework 1.0.0-dev-1781117225170 → 1.0.0-dev-1781354548379
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 +29 -0
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-UpcpZDOv.mjs +1 -0
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +13 -5
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/client-BJVDImPV.d.mts +175 -0
- package/dist/clients/index.d.mts +101 -1
- package/dist/clients/index.mjs +2 -2
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +786 -108
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/{definition-Cp-5xJp_.d.mts → definition-DqJOg6Lv.d.mts} +1 -1
- package/dist/{detached-extension-handle-oXbjv1tA.mjs → detached-extension-handle-Diiwgm13.mjs} +1 -1
- package/dist/drizzle/0001_messages_content_tsv.na.md +18 -0
- package/dist/drizzle/0012_legal_kate_bishop.sql +3 -0
- package/dist/drizzle/0013_eager_rhodey.sql +56 -0
- package/dist/drizzle/0014_fancy_ultimo.sql +1 -0
- package/dist/drizzle/0015_m_mqbh8q5b.sql +1 -0
- package/dist/drizzle/0016_m_mqbmq8h7.sql +1 -0
- package/dist/drizzle/0017_m_mqbnf924.sql +1 -0
- package/dist/drizzle/meta/0012_snapshot.json +2934 -0
- package/dist/drizzle/meta/0013_snapshot.json +2954 -0
- package/dist/drizzle/meta/0014_snapshot.json +2959 -0
- package/dist/drizzle/meta/0015_snapshot.json +2966 -0
- package/dist/drizzle/meta/0016_snapshot.json +2973 -0
- package/dist/drizzle/meta/0017_snapshot.json +2980 -0
- package/dist/drizzle/meta/_journal.json +42 -0
- package/dist/drizzle-wjquQK2m.mjs +1 -0
- package/dist/extension-DfNcE0zm.mjs +1 -0
- package/dist/extension-ZBN4BGre.mjs +1 -0
- package/dist/{filesystem-service-CBJT7A5w.mjs → filesystem-service-BjfrUmGS.mjs} +1 -1
- package/dist/{globby-C0lgTOUl.mjs → globby-BIH65cbN.mjs} +1 -1
- package/dist/handler-DqpiV9eA.mjs +1 -0
- package/dist/handlers-BAB4fQNH.mjs +41 -0
- package/dist/{index-uQl_1wQO.d.mts → index-BAhJKQLX.d.mts} +8 -8
- package/dist/{index-i7o6FtS0.d.mts → index-BDRKAxIV.d.mts} +129 -2
- package/dist/{index-CXfWW8cP.d.mts → index-BHAOu6Hs.d.mts} +20 -20
- package/dist/{index-t9Vt4Jbb.d.mts → index-BHzgDuRE.d.mts} +20 -3
- package/dist/{index-SFkbbDxs.d.mts → index-BYkOUd0x.d.mts} +1 -1
- package/dist/{index-CmGvjpUG.d.mts → index-BheaEhyI.d.mts} +6 -6
- package/dist/{index-Dsu1tPHm.d.mts → index-Bibt5jAX.d.mts} +8 -8
- package/dist/{index-Bw8SkcWG.d.mts → index-Bw_zL7Rs.d.mts} +1 -1
- package/dist/{index-ClgVA8Rz.d.mts → index-C3zfJg6s.d.mts} +6 -6
- package/dist/{index-v2kRZnfw2.d.mts → index-CH5U3zSA2.d.mts} +20 -10
- package/dist/{index-hWzUQtDn.d.mts → index-CTn_Xi-p.d.mts} +92 -19
- package/dist/{index-BY-fz0Jy.d.mts → index-DPIdX6kb.d.mts} +358 -110
- package/dist/{index-kLBWooVu.d.mts → index-Da4ABgRq.d.mts} +12 -12
- package/dist/{index-C1uZLARQ.d.mts → index-DrGLAuZc.d.mts} +1409 -72
- package/dist/{index-CT-zFurA.d.mts → index-Drz_a7kW.d.mts} +1 -1
- package/dist/{index-BELri1Hy.d.mts → index-IekAD8Gp.d.mts} +8 -8
- package/dist/{index-C_jIVT40.d.mts → index-fVgKVvta.d.mts} +1 -1
- package/dist/{index-BFaeVdsn2.d.mts → index-zgm2j9V92.d.mts} +44 -2
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/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/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-zuQKc8ym.mjs → lib-Cq5R6Tx9.mjs} +1 -1
- package/dist/{lib-IkUYa2Qs.mjs → lib-nlcl5kRW.mjs} +1 -1
- package/dist/{load-extensions-DE8qDIqi.d.mts → load-extensions-D9nbDIiW.d.mts} +1 -1
- package/dist/{load-extensions-CwxilDj1.mjs → load-extensions-wELQ4BBN.mjs} +1 -1
- package/dist/mcp-http-server/index.d.mts +132 -19
- package/dist/mcp-http-server/index.mjs +2 -2
- package/dist/{namespace-Dik_dNeE.d.mts → namespace--s0d86h-.d.mts} +144 -0
- package/dist/{namespace-ffepZB8Y.d.mts → namespace-B73Sxj5L.d.mts} +6 -6
- package/dist/{namespace-CZPu_jvy.d.mts → namespace-Boe6l5n9.d.mts} +82 -46
- package/dist/{namespace-Da_dHfdm.d.mts → namespace-BxxBhcV_.d.mts} +2 -2
- package/dist/namespace-Dfq6MDN9.mjs +1 -0
- package/dist/{namespace-DvHoeMUV.d.mts → namespace-aJJfBJU5.d.mts} +173 -3
- 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-FnWrPS09.mjs → orchestrator-shared-BKFXaKPL.mjs} +1 -1
- package/dist/{package-B2HkKyRz.d.mts → package--RZnpN2J.d.mts} +2 -3
- package/dist/package-BzJvtM5O.mjs +1 -0
- package/dist/package-DzN_jdqd.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-CNC_bSac.mjs +1 -0
- package/dist/registry-RG-bkw3c.mjs +146 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/bus/runtime/namespace.d.mts +8 -8
- package/dist/runtime-node/bus/runtime/schemas.d.mts +11 -4
- package/dist/runtime-node/bus/runtime/schemas.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +77 -38
- package/dist/runtime-node/index.mjs +26 -53
- 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-C3TgjrsV.mjs +1 -0
- package/dist/schema-CzhOc7TV.mjs +1 -0
- package/dist/{schema-CfuF2cXW.d.mts → schema-DGMLvVoQ.d.mts} +237 -11
- package/dist/schemas-CuKayWhA.mjs +1 -0
- package/dist/{schemas-SPI-Y87l2.d.mts → schemas-kVcJMjjn2.d.mts} +6 -6
- package/dist/{schemas-BiMxSTUx.d.mts → schemas-t1VR6_b_.d.mts} +3 -3
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/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/harness/index.d.mts +31 -20
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/harness/storage/schema.d.mts +60 -16
- package/dist/services/harness/storage/schema.mjs +1 -1
- package/dist/services/index.d.mts +166 -69
- 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 +9 -15
- package/dist/services/log-import/index.mjs +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/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 +18 -2
- package/dist/services/session/testing/index.mjs +54 -3
- 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/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +6 -6
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/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/turn/schemas.d.mts +72 -0
- package/dist/services/turn/schemas.mjs +1 -1
- package/dist/{session-C1Cami7U.mjs → session-BwX5_k47.mjs} +1 -1
- package/dist/session-P4nX60Xx.mjs +39 -0
- package/dist/{src-DI5TcYUW.mjs → src-CBG3IHUl.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +2 -78
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/columns/postgres.d.mts +88 -0
- package/dist/storage/drizzle/columns/postgres.mjs +1 -0
- package/dist/storage/drizzle/columns/sqlite.d.mts +81 -0
- package/dist/storage/drizzle/columns/sqlite.mjs +1 -0
- package/dist/storage/drizzle/index.d.mts +976 -23
- 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/testing/drizzle-harness.d.mts +52 -6
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/testing/index.d.mts +34 -2
- package/dist/testing/index.mjs +1 -1
- package/dist/{tool-approval-service-BgNcJvKx.mjs → tool-approval-service-DNHV5x0M.mjs} +1 -1
- package/dist/tools-CQImrHAp.mjs +1 -0
- package/dist/{types-CZHV05Lu.d.mts → types-BpuLMR2m.d.mts} +616 -433
- package/dist/{types-C5Uy3WEy.d.mts → types-D0fPFh-D.d.mts} +1 -1
- package/dist/{types-0u6hpELc.d.mts → types-D6jnDjP2.d.mts} +18 -5
- package/dist/ui-components/index.d.mts +36 -37
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.d.mts +2 -2
- package/dist/workflow-engine/index.d.mts +539 -110
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-hDaQzTBl.mjs → workflow-worker-CK9Sqj7D.mjs} +1 -1
- package/package.json +49 -1
- package/dist/adapter-Dt2FDMs4.mjs +0 -1
- package/dist/drizzle-DpjZFY_j.mjs +0 -1
- package/dist/extension--5Q190u_.mjs +0 -1
- package/dist/extension-DFIZ3FCJ.mjs +0 -1
- package/dist/handlers-Bev7-xjL.mjs +0 -41
- package/dist/namespace-CDiM5Bcr.mjs +0 -1
- package/dist/namespace-h0HIuqx0.mjs +0 -1
- package/dist/package-C9wOiMK9.mjs +0 -1
- package/dist/package-OE9dMQsq.mjs +0 -1
- package/dist/primitive-runtime-1Z3JbRUj.mjs +0 -1
- package/dist/schema-DCJyzRHe.mjs +0 -1
- package/dist/schema-DOnJmAPw.mjs +0 -1
- package/dist/schemas-CSUwpaNm.mjs +0 -1
- package/dist/session-BnfsJoZi.mjs +0 -134
- package/dist/tools-B8d8Iqqx.mjs +0 -1
- package/dist/types-yTKQTAok.d.mts +0 -31
- /package/dist/{ajv-0JG5NFEd.mjs → ajv-BA2z5ztb.mjs} +0 -0
- /package/dist/{await-trigger-CHuOd5co.mjs → await-trigger-DREnXCEJ.mjs} +0 -0
- /package/dist/{base-orchestrator-D-S9v5VY.d.mts → base-orchestrator-M5mAB5-w.d.mts} +0 -0
- /package/dist/{cleanEnvForAdapter-BlpmyXYk.mjs → cleanEnvForAdapter-vZfPGi0X.mjs} +0 -0
- /package/dist/{clients-namespace-E97p_GKF.d.mts → clients-namespace-SFk7OTop.d.mts} +0 -0
- /package/dist/{config-namespace-R_34Wfps.d.mts → config-namespace-BzAvE2nY.d.mts} +0 -0
- /package/dist/{create-static-mount-B9Szo_7y.mjs → create-static-mount-BB1MIQ9J.mjs} +0 -0
- /package/dist/{cross-spawn-CTptpCy4.mjs → cross-spawn-BL6EvJBv.mjs} +0 -0
- /package/dist/{cursor-storage-YikwAZR5.mjs → cursor-storage-CmKjSvKY.mjs} +0 -0
- /package/dist/{definition-CYzWS2eR.d.mts → definition-BSghHJpQ.d.mts} +0 -0
- /package/dist/{definition-CvOuzWNT.d.mts → definition-q6iLw11H.d.mts} +0 -0
- /package/dist/{descriptor-to-package-9nrAH_D5.mjs → descriptor-to-package-CY8oc2gl.mjs} +0 -0
- /package/dist/{esm-CglYG5aA.mjs → esm-CQVFKEW5.mjs} +0 -0
- /package/dist/{extension-discovery-BD1-oNU_.d.mts → extension-discovery-CkV_VRdJ.d.mts} +0 -0
- /package/dist/{filesystem-service-BcwRp4k1.d.mts → filesystem-service-Ddngll0j.d.mts} +0 -0
- /package/dist/{index-DJQew2k-.d.mts → index-9IDJUJ4X.d.mts} +0 -0
- /package/dist/{index-CNYPKkyH.d.mts → index-BBvcP-P0.d.mts} +0 -0
- /package/dist/{index-DfUBcVtG.d.mts → index-BCKRUuI2.d.mts} +0 -0
- /package/dist/{index-Dn9Uum3F.d.mts → index-BMpRB6iE.d.mts} +0 -0
- /package/dist/{index-CdNDnxXR.d.mts → index-BbCjtc3h.d.mts} +0 -0
- /package/dist/{index-B6RGNugn.d.mts → index-BnQSPC6c.d.mts} +0 -0
- /package/dist/{index-DUPZKsd3.d.mts → index-BpXX9WZJ.d.mts} +0 -0
- /package/dist/{index-DUhXk_q6.d.mts → index-BpniJgxu.d.mts} +0 -0
- /package/dist/{index-ChG8ZUNP.d.mts → index-Bsp0O_sI.d.mts} +0 -0
- /package/dist/{index-CF7dnqQj.d.mts → index-Buo9H8RK.d.mts} +0 -0
- /package/dist/{index-9KnLzPYu.d.mts → index-BxFA1XcP.d.mts} +0 -0
- /package/dist/{index-AZ4iLe7O2.d.mts → index-C33Tq1ei2.d.mts} +0 -0
- /package/dist/{index--0CnhN0g.d.mts → index-C6BhKRnH.d.mts} +0 -0
- /package/dist/{index-BV8rSmDZ.d.mts → index-CDU_s69P.d.mts} +0 -0
- /package/dist/{index-BDlpFEsp2.d.mts → index-CGJjA-hR2.d.mts} +0 -0
- /package/dist/{index-DNGUXQGC.d.mts → index-Cz9JMjZK.d.mts} +0 -0
- /package/dist/{index-C-YBGCCG.d.mts → index-D0SUjZmU.d.mts} +0 -0
- /package/dist/{index-yNb7G73-.d.mts → index-D6Iyvz9T.d.mts} +0 -0
- /package/dist/{index-ziQTLYUO.d.mts → index-DOfq0qqv.d.mts} +0 -0
- /package/dist/{index-BYxgW2i0.d.mts → index-DSV1aFgK.d.mts} +0 -0
- /package/dist/{index-Dbwm5Y-Q.d.mts → index-Dsq2zKvu.d.mts} +0 -0
- /package/dist/{jsonl-transport-DBHQgcIm.mjs → jsonl-transport-C21tpVfe.mjs} +0 -0
- /package/dist/{lib-CaOdTS9F.mjs → lib-CNOQJtgs.mjs} +0 -0
- /package/dist/{namespace-DnZ4rS6T2.d.mts → namespace-B60mn8J-2.d.mts} +0 -0
- /package/dist/{namespace-DfYutvMT.d.mts → namespace-BBVtD1gu.d.mts} +0 -0
- /package/dist/{namespace-BaJJxBsI.d.mts → namespace-CHMszppN.d.mts} +0 -0
- /package/dist/{namespace-uGw5nK6d.d.mts → namespace-CqUGzG53.d.mts} +0 -0
- /package/dist/{namespace-13uMtVGj.d.mts → namespace-DRFJN-_z.d.mts} +0 -0
- /package/dist/{namespace-TfZGCy7N.d.mts → namespace-DzVf1hVH.d.mts} +0 -0
- /package/dist/{namespace-QTFnJWHC.d.mts → namespace-XTGCaSXj.d.mts} +0 -0
- /package/dist/{namespace-CTrNKkxY.d.mts → namespace-nlsvvMtD.d.mts} +0 -0
- /package/dist/{namespace-DkDvQJhB.d.mts → namespace-uuR0Fg5r.d.mts} +0 -0
- /package/dist/{orchestrator-shared-BZVeoRfr.d.mts → orchestrator-shared-D91Wk7z-.d.mts} +0 -0
- /package/dist/{out-CiFds_ap.mjs → out-C1JFb2Bp.mjs} +0 -0
- /package/dist/{provider-context-lfG0BpqX.mjs → provider-context-wp4VSJFI.mjs} +0 -0
- /package/dist/{providers-namespace-Cc9FQ-Zt.d.mts → providers-namespace-BqWYkydw.d.mts} +0 -0
- /package/dist/{schemas-BD-1NGmS.d.mts → schemas-B5ToLwIs.d.mts} +0 -0
- /package/dist/{schemas-Hy-lsBpg.d.mts → schemas-B77Gi8Xr.d.mts} +0 -0
- /package/dist/{schemas-BzK1I1eX.d.mts → schemas-C792eVAZ.d.mts} +0 -0
- /package/dist/{schemas-CYS6bkht.d.mts → schemas-Chyj6HuZ.d.mts} +0 -0
- /package/dist/{schemas-DL_bGYyZ.d.mts → schemas-DZUaRcYl.d.mts} +0 -0
- /package/dist/{schemas-DdZwjeF0.d.mts → schemas-Dv5FxHDT.d.mts} +0 -0
- /package/dist/{schemas-CsjB6gel.d.mts → schemas-Dyk7JuVl.d.mts} +0 -0
- /package/dist/{schemas-DFWGb4uj.d.mts → schemas-Kq33MTPY.d.mts} +0 -0
- /package/dist/{schemas-BFeP62V4.d.mts → schemas-lqvZ6UpK.d.mts} +0 -0
- /package/dist/{server-lifecycle-DVAbXQzg.d.mts → server-lifecycle-47mygK3E.d.mts} +0 -0
- /package/dist/{server-lifecycle-JTFuSJhg.mjs → server-lifecycle-Cg47L59Q.mjs} +0 -0
- /package/dist/{session-lineage-CxHc3_bm.d.mts → session-lineage-CKg6mErA.d.mts} +0 -0
- /package/dist/{shared-schemas-CKe2uN4-.mjs → shared-schemas-DYL7a-No.mjs} +0 -0
- /package/dist/{src-4_2jBceX.mjs → src-DedDL9iv.mjs} +0 -0
- /package/dist/{storage-namespace-I30TaZP7.d.mts → storage-namespace-BXmMUd7a.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-ZNBL3v2h.d.mts → storage-namespace-definition-C3XbpiP8.d.mts} +0 -0
- /package/dist/{types-11QnNmpW.d.mts → types-5Gw3iVpK.d.mts} +0 -0
- /package/dist/{types-BKNpS4Xw.d.mts → types-B0BtvVAq.d.mts} +0 -0
- /package/dist/{types-BtMNh2FS.d.mts → types-D-bP8RRE.d.mts} +0 -0
- /package/dist/{window-registry-QD1rTk_f.d.mts → window-registry-CfEi_Ji4.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ArtifactProjectionPolicy$1 } from "./schemas-
|
|
1
|
+
import { r as ArtifactProjectionPolicy$1 } from "./schemas-t1VR6_b_.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
4
|
import { MakaioBusLike } from "@makaio/framework/core";
|
|
@@ -477,8 +477,8 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
|
|
|
477
477
|
comment: "comment";
|
|
478
478
|
}>;
|
|
479
479
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
480
|
-
artifact: "artifact";
|
|
481
480
|
workpiece: "workpiece";
|
|
481
|
+
artifact: "artifact";
|
|
482
482
|
}>>;
|
|
483
483
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
484
484
|
created: "created";
|
|
@@ -1357,8 +1357,8 @@ declare const ArtifactSchemas: {
|
|
|
1357
1357
|
comment: "comment";
|
|
1358
1358
|
}>;
|
|
1359
1359
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
1360
|
-
artifact: "artifact";
|
|
1361
1360
|
workpiece: "workpiece";
|
|
1361
|
+
artifact: "artifact";
|
|
1362
1362
|
}>>;
|
|
1363
1363
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1364
1364
|
created: "created";
|
|
@@ -1420,8 +1420,8 @@ declare const ArtifactSchemas: {
|
|
|
1420
1420
|
comment: "comment";
|
|
1421
1421
|
}>;
|
|
1422
1422
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
1423
|
-
artifact: "artifact";
|
|
1424
1423
|
workpiece: "workpiece";
|
|
1424
|
+
artifact: "artifact";
|
|
1425
1425
|
}>>;
|
|
1426
1426
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1427
1427
|
created: "created";
|
|
@@ -1487,11 +1487,12 @@ declare const ArtifactSchemas: {
|
|
|
1487
1487
|
request: z.ZodObject<{
|
|
1488
1488
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1489
1489
|
kind: z.ZodString;
|
|
1490
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1491
|
+
schemaVersion: z.ZodString;
|
|
1490
1492
|
scope: z.ZodObject<{
|
|
1491
1493
|
level: z.ZodString;
|
|
1492
1494
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1493
1495
|
}, z.core.$strip>;
|
|
1494
|
-
schemaVersion: z.ZodString;
|
|
1495
1496
|
actor: z.ZodObject<{
|
|
1496
1497
|
kind: z.ZodString;
|
|
1497
1498
|
id: z.ZodString;
|
|
@@ -1566,7 +1567,6 @@ declare const ArtifactSchemas: {
|
|
|
1566
1567
|
summary: z.ZodOptional<z.ZodString>;
|
|
1567
1568
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1568
1569
|
}, z.core.$strip>>;
|
|
1569
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1570
1570
|
}, z.core.$strip>;
|
|
1571
1571
|
response: z.ZodObject<{
|
|
1572
1572
|
artifact: z.ZodObject<{
|
|
@@ -1669,11 +1669,12 @@ declare const ArtifactSchemas: {
|
|
|
1669
1669
|
revision: z.ZodObject<{
|
|
1670
1670
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1671
1671
|
kind: z.ZodString;
|
|
1672
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1673
|
+
schemaVersion: z.ZodString;
|
|
1672
1674
|
scope: z.ZodObject<{
|
|
1673
1675
|
level: z.ZodString;
|
|
1674
1676
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1675
1677
|
}, z.core.$strip>;
|
|
1676
|
-
schemaVersion: z.ZodString;
|
|
1677
1678
|
actor: z.ZodObject<{
|
|
1678
1679
|
kind: z.ZodString;
|
|
1679
1680
|
id: z.ZodString;
|
|
@@ -1748,7 +1749,6 @@ declare const ArtifactSchemas: {
|
|
|
1748
1749
|
summary: z.ZodOptional<z.ZodString>;
|
|
1749
1750
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
1750
1751
|
}, z.core.$strip>>;
|
|
1751
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1752
1752
|
}, z.core.$strip>;
|
|
1753
1753
|
}, z.core.$strip>;
|
|
1754
1754
|
response: z.ZodObject<{
|
|
@@ -2605,8 +2605,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2605
2605
|
comment: "comment";
|
|
2606
2606
|
}>;
|
|
2607
2607
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2608
|
-
artifact: "artifact";
|
|
2609
2608
|
workpiece: "workpiece";
|
|
2609
|
+
artifact: "artifact";
|
|
2610
2610
|
}>>;
|
|
2611
2611
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2612
2612
|
created: "created";
|
|
@@ -2668,8 +2668,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2668
2668
|
comment: "comment";
|
|
2669
2669
|
}>;
|
|
2670
2670
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2671
|
-
artifact: "artifact";
|
|
2672
2671
|
workpiece: "workpiece";
|
|
2672
|
+
artifact: "artifact";
|
|
2673
2673
|
}>>;
|
|
2674
2674
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2675
2675
|
created: "created";
|
|
@@ -2735,11 +2735,12 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2735
2735
|
request: z.ZodObject<{
|
|
2736
2736
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2737
2737
|
kind: z.ZodString;
|
|
2738
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2739
|
+
schemaVersion: z.ZodString;
|
|
2738
2740
|
scope: z.ZodObject<{
|
|
2739
2741
|
level: z.ZodString;
|
|
2740
2742
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2741
2743
|
}, z.core.$strip>;
|
|
2742
|
-
schemaVersion: z.ZodString;
|
|
2743
2744
|
actor: z.ZodObject<{
|
|
2744
2745
|
kind: z.ZodString;
|
|
2745
2746
|
id: z.ZodString;
|
|
@@ -2814,7 +2815,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2814
2815
|
summary: z.ZodOptional<z.ZodString>;
|
|
2815
2816
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
2816
2817
|
}, z.core.$strip>>;
|
|
2817
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2818
2818
|
}, z.core.$strip>;
|
|
2819
2819
|
response: z.ZodObject<{
|
|
2820
2820
|
artifact: z.ZodObject<{
|
|
@@ -2917,11 +2917,12 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2917
2917
|
revision: z.ZodObject<{
|
|
2918
2918
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2919
2919
|
kind: z.ZodString;
|
|
2920
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2921
|
+
schemaVersion: z.ZodString;
|
|
2920
2922
|
scope: z.ZodObject<{
|
|
2921
2923
|
level: z.ZodString;
|
|
2922
2924
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2923
2925
|
}, z.core.$strip>;
|
|
2924
|
-
schemaVersion: z.ZodString;
|
|
2925
2926
|
actor: z.ZodObject<{
|
|
2926
2927
|
kind: z.ZodString;
|
|
2927
2928
|
id: z.ZodString;
|
|
@@ -2996,7 +2997,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2996
2997
|
summary: z.ZodOptional<z.ZodString>;
|
|
2997
2998
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
2998
2999
|
}, z.core.$strip>>;
|
|
2999
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3000
3000
|
}, z.core.$strip>;
|
|
3001
3001
|
}, z.core.$strip>;
|
|
3002
3002
|
response: z.ZodObject<{
|
|
@@ -3866,8 +3866,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3866
3866
|
comment: "comment";
|
|
3867
3867
|
}>;
|
|
3868
3868
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3869
|
-
artifact: "artifact";
|
|
3870
3869
|
workpiece: "workpiece";
|
|
3870
|
+
artifact: "artifact";
|
|
3871
3871
|
}>>;
|
|
3872
3872
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3873
3873
|
created: "created";
|
|
@@ -3929,8 +3929,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3929
3929
|
comment: "comment";
|
|
3930
3930
|
}>;
|
|
3931
3931
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3932
|
-
artifact: "artifact";
|
|
3933
3932
|
workpiece: "workpiece";
|
|
3933
|
+
artifact: "artifact";
|
|
3934
3934
|
}>>;
|
|
3935
3935
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3936
3936
|
created: "created";
|
|
@@ -3996,11 +3996,12 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3996
3996
|
request: z.ZodObject<{
|
|
3997
3997
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3998
3998
|
kind: z.ZodString;
|
|
3999
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4000
|
+
schemaVersion: z.ZodString;
|
|
3999
4001
|
scope: z.ZodObject<{
|
|
4000
4002
|
level: z.ZodString;
|
|
4001
4003
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4002
4004
|
}, z.core.$strip>;
|
|
4003
|
-
schemaVersion: z.ZodString;
|
|
4004
4005
|
actor: z.ZodObject<{
|
|
4005
4006
|
kind: z.ZodString;
|
|
4006
4007
|
id: z.ZodString;
|
|
@@ -4075,7 +4076,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4075
4076
|
summary: z.ZodOptional<z.ZodString>;
|
|
4076
4077
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4077
4078
|
}, z.core.$strip>>;
|
|
4078
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4079
4079
|
}, z.core.$strip>;
|
|
4080
4080
|
response: z.ZodObject<{
|
|
4081
4081
|
artifact: z.ZodObject<{
|
|
@@ -4178,11 +4178,12 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4178
4178
|
revision: z.ZodObject<{
|
|
4179
4179
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
4180
4180
|
kind: z.ZodString;
|
|
4181
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4182
|
+
schemaVersion: z.ZodString;
|
|
4181
4183
|
scope: z.ZodObject<{
|
|
4182
4184
|
level: z.ZodString;
|
|
4183
4185
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4184
4186
|
}, z.core.$strip>;
|
|
4185
|
-
schemaVersion: z.ZodString;
|
|
4186
4187
|
actor: z.ZodObject<{
|
|
4187
4188
|
kind: z.ZodString;
|
|
4188
4189
|
id: z.ZodString;
|
|
@@ -4257,7 +4258,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4257
4258
|
summary: z.ZodOptional<z.ZodString>;
|
|
4258
4259
|
plaintext: z.ZodOptional<z.ZodString>;
|
|
4259
4260
|
}, z.core.$strip>>;
|
|
4260
|
-
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
4261
4261
|
}, z.core.$strip>;
|
|
4262
4262
|
}, z.core.$strip>;
|
|
4263
4263
|
response: z.ZodObject<{
|
|
@@ -157,6 +157,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
157
157
|
high: "high";
|
|
158
158
|
"extra-high": "extra-high";
|
|
159
159
|
}>>;
|
|
160
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
160
161
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
161
162
|
role: _$zod.ZodEnum<{
|
|
162
163
|
lead: "lead";
|
|
@@ -618,6 +619,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
618
619
|
high: "high";
|
|
619
620
|
"extra-high": "extra-high";
|
|
620
621
|
}>>;
|
|
622
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
621
623
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
622
624
|
role: _$zod.ZodEnum<{
|
|
623
625
|
lead: "lead";
|
|
@@ -1079,6 +1081,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
1079
1081
|
high: "high";
|
|
1080
1082
|
"extra-high": "extra-high";
|
|
1081
1083
|
}>>;
|
|
1084
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1082
1085
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1083
1086
|
role: _$zod.ZodEnum<{
|
|
1084
1087
|
lead: "lead";
|
|
@@ -1483,6 +1486,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
1483
1486
|
agentId: _$zod.ZodString;
|
|
1484
1487
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1485
1488
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1489
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1486
1490
|
}, _$zod_v4_core0.$strip>;
|
|
1487
1491
|
response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
1488
1492
|
};
|
|
@@ -1560,9 +1564,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
1560
1564
|
timestamp: _$zod.ZodNumber;
|
|
1561
1565
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1562
1566
|
error: "error";
|
|
1567
|
+
warn: "warn";
|
|
1563
1568
|
debug: "debug";
|
|
1564
1569
|
info: "info";
|
|
1565
|
-
warn: "warn";
|
|
1566
1570
|
}>>;
|
|
1567
1571
|
}, _$zod_v4_core0.$strip>;
|
|
1568
1572
|
error: _$zod.ZodObject<{
|
|
@@ -1746,6 +1750,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
1746
1750
|
high: "high";
|
|
1747
1751
|
"extra-high": "extra-high";
|
|
1748
1752
|
}>>;
|
|
1753
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1749
1754
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1750
1755
|
role: _$zod.ZodEnum<{
|
|
1751
1756
|
lead: "lead";
|
|
@@ -2207,6 +2212,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
2207
2212
|
high: "high";
|
|
2208
2213
|
"extra-high": "extra-high";
|
|
2209
2214
|
}>>;
|
|
2215
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2210
2216
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
2211
2217
|
role: _$zod.ZodEnum<{
|
|
2212
2218
|
lead: "lead";
|
|
@@ -2668,6 +2674,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
2668
2674
|
high: "high";
|
|
2669
2675
|
"extra-high": "extra-high";
|
|
2670
2676
|
}>>;
|
|
2677
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2671
2678
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
2672
2679
|
role: _$zod.ZodEnum<{
|
|
2673
2680
|
lead: "lead";
|
|
@@ -3072,6 +3079,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
3072
3079
|
agentId: _$zod.ZodString;
|
|
3073
3080
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3074
3081
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3082
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3075
3083
|
}, _$zod_v4_core0.$strip>;
|
|
3076
3084
|
response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
3077
3085
|
};
|
|
@@ -3149,9 +3157,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
3149
3157
|
timestamp: _$zod.ZodNumber;
|
|
3150
3158
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3151
3159
|
error: "error";
|
|
3160
|
+
warn: "warn";
|
|
3152
3161
|
debug: "debug";
|
|
3153
3162
|
info: "info";
|
|
3154
|
-
warn: "warn";
|
|
3155
3163
|
}>>;
|
|
3156
3164
|
}, _$zod_v4_core0.$strip>;
|
|
3157
3165
|
error: _$zod.ZodObject<{
|
|
@@ -3359,6 +3367,7 @@ declare const AdapterSchemas: {
|
|
|
3359
3367
|
high: "high";
|
|
3360
3368
|
"extra-high": "extra-high";
|
|
3361
3369
|
}>>;
|
|
3370
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3362
3371
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3363
3372
|
role: _$zod.ZodEnum<{
|
|
3364
3373
|
lead: "lead";
|
|
@@ -3820,6 +3829,7 @@ declare const AdapterSchemas: {
|
|
|
3820
3829
|
high: "high";
|
|
3821
3830
|
"extra-high": "extra-high";
|
|
3822
3831
|
}>>;
|
|
3832
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3823
3833
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3824
3834
|
role: _$zod.ZodEnum<{
|
|
3825
3835
|
lead: "lead";
|
|
@@ -4281,6 +4291,7 @@ declare const AdapterSchemas: {
|
|
|
4281
4291
|
high: "high";
|
|
4282
4292
|
"extra-high": "extra-high";
|
|
4283
4293
|
}>>;
|
|
4294
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4284
4295
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4285
4296
|
role: _$zod.ZodEnum<{
|
|
4286
4297
|
lead: "lead";
|
|
@@ -4685,6 +4696,7 @@ declare const AdapterSchemas: {
|
|
|
4685
4696
|
agentId: _$zod.ZodString;
|
|
4686
4697
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4687
4698
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4699
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4688
4700
|
}, _$zod_v4_core0.$strip>;
|
|
4689
4701
|
response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
4690
4702
|
};
|
|
@@ -4762,9 +4774,9 @@ declare const AdapterSchemas: {
|
|
|
4762
4774
|
timestamp: _$zod.ZodNumber;
|
|
4763
4775
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4764
4776
|
error: "error";
|
|
4777
|
+
warn: "warn";
|
|
4765
4778
|
debug: "debug";
|
|
4766
4779
|
info: "info";
|
|
4767
|
-
warn: "warn";
|
|
4768
4780
|
}>>;
|
|
4769
4781
|
}, _$zod_v4_core0.$strip>;
|
|
4770
4782
|
error: _$zod.ZodObject<{
|
|
@@ -4987,6 +4999,7 @@ declare const StartAgentSchema: {
|
|
|
4987
4999
|
high: "high";
|
|
4988
5000
|
"extra-high": "extra-high";
|
|
4989
5001
|
}>>;
|
|
5002
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4990
5003
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4991
5004
|
role: z.ZodEnum<{
|
|
4992
5005
|
lead: "lead";
|
|
@@ -5448,6 +5461,7 @@ declare const StartAgentSchema: {
|
|
|
5448
5461
|
high: "high";
|
|
5449
5462
|
"extra-high": "extra-high";
|
|
5450
5463
|
}>>;
|
|
5464
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5451
5465
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5452
5466
|
role: z.ZodEnum<{
|
|
5453
5467
|
lead: "lead";
|
|
@@ -5909,6 +5923,7 @@ declare const StartAgentSchema: {
|
|
|
5909
5923
|
high: "high";
|
|
5910
5924
|
"extra-high": "extra-high";
|
|
5911
5925
|
}>>;
|
|
5926
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5912
5927
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5913
5928
|
role: z.ZodEnum<{
|
|
5914
5929
|
lead: "lead";
|
|
@@ -6268,6 +6283,7 @@ type StartAgentResponse = z.infer<typeof StartAgentSchema.response>;
|
|
|
6268
6283
|
* @param agentId - Agent to rehydrate
|
|
6269
6284
|
* @param cwd - Optional working directory override for new connector
|
|
6270
6285
|
* @param model - Optional model override for new connector
|
|
6286
|
+
* @param adapterSessionId - Optional persisted native session ID for resume-capable connectors
|
|
6271
6287
|
*/
|
|
6272
6288
|
declare const RehydrateAgentSchema: {
|
|
6273
6289
|
request: z.ZodObject<{
|
|
@@ -6275,6 +6291,7 @@ declare const RehydrateAgentSchema: {
|
|
|
6275
6291
|
agentId: z.ZodString;
|
|
6276
6292
|
cwd: z.ZodOptional<z.ZodString>;
|
|
6277
6293
|
model: z.ZodOptional<z.ZodString>;
|
|
6294
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
6278
6295
|
}, z.core.$strip>; /** Empty response - success is implicit, errors throw */
|
|
6279
6296
|
response: z.ZodObject<{}, z.core.$strip>;
|
|
6280
6297
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-
|
|
1
|
+
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-C3XbpiP8.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -48,9 +48,9 @@ declare const MaterializationSchemas: {
|
|
|
48
48
|
template: z.ZodString;
|
|
49
49
|
}, z.core.$strip>], "kind">;
|
|
50
50
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
51
|
-
artifact: "artifact";
|
|
52
51
|
surface: "surface";
|
|
53
52
|
workpiece: "workpiece";
|
|
53
|
+
artifact: "artifact";
|
|
54
54
|
}>>;
|
|
55
55
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
56
56
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -88,9 +88,9 @@ declare const MaterializationSchemas: {
|
|
|
88
88
|
template: z.ZodString;
|
|
89
89
|
}, z.core.$strip>], "kind">;
|
|
90
90
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
91
|
-
artifact: "artifact";
|
|
92
91
|
surface: "surface";
|
|
93
92
|
workpiece: "workpiece";
|
|
93
|
+
artifact: "artifact";
|
|
94
94
|
}>>;
|
|
95
95
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
96
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -153,9 +153,9 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
153
153
|
template: z.ZodString;
|
|
154
154
|
}, z.core.$strip>], "kind">;
|
|
155
155
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
156
|
-
artifact: "artifact";
|
|
157
156
|
surface: "surface";
|
|
158
157
|
workpiece: "workpiece";
|
|
158
|
+
artifact: "artifact";
|
|
159
159
|
}>>;
|
|
160
160
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
161
161
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -193,9 +193,9 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
193
193
|
template: z.ZodString;
|
|
194
194
|
}, z.core.$strip>], "kind">;
|
|
195
195
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
196
|
-
artifact: "artifact";
|
|
197
196
|
surface: "surface";
|
|
198
197
|
workpiece: "workpiece";
|
|
198
|
+
artifact: "artifact";
|
|
199
199
|
}>>;
|
|
200
200
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
201
201
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -268,9 +268,9 @@ declare const MaterializationSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
268
268
|
template: z.ZodString;
|
|
269
269
|
}, z.core.$strip>], "kind">;
|
|
270
270
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
271
|
-
artifact: "artifact";
|
|
272
271
|
surface: "surface";
|
|
273
272
|
workpiece: "workpiece";
|
|
273
|
+
artifact: "artifact";
|
|
274
274
|
}>>;
|
|
275
275
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
276
276
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -308,9 +308,9 @@ declare const MaterializationSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
308
308
|
template: z.ZodString;
|
|
309
309
|
}, z.core.$strip>], "kind">;
|
|
310
310
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
311
|
-
artifact: "artifact";
|
|
312
311
|
surface: "surface";
|
|
313
312
|
workpiece: "workpiece";
|
|
313
|
+
artifact: "artifact";
|
|
314
314
|
}>>;
|
|
315
315
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
316
316
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -32,9 +32,9 @@ declare const FacetCardinalitySchema: z.ZodEnum<{
|
|
|
32
32
|
* - `'surface'` — a UI surface or layout area
|
|
33
33
|
*/
|
|
34
34
|
declare const FacetAppliesToSchema: z.ZodEnum<{
|
|
35
|
-
artifact: "artifact";
|
|
36
35
|
surface: "surface";
|
|
37
36
|
workpiece: "workpiece";
|
|
37
|
+
artifact: "artifact";
|
|
38
38
|
}>;
|
|
39
39
|
/**
|
|
40
40
|
* Serializable registration record for a named facet namespace.
|
|
@@ -57,9 +57,9 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
|
|
|
57
57
|
human: "human";
|
|
58
58
|
}>>>;
|
|
59
59
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
60
|
-
artifact: "artifact";
|
|
61
60
|
surface: "surface";
|
|
62
61
|
workpiece: "workpiece";
|
|
62
|
+
artifact: "artifact";
|
|
63
63
|
}>>>;
|
|
64
64
|
description: z.ZodOptional<z.ZodString>;
|
|
65
65
|
}, z.core.$strip>;
|
|
@@ -161,9 +161,9 @@ declare const FacetSchemas: {
|
|
|
161
161
|
human: "human";
|
|
162
162
|
}>>>;
|
|
163
163
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
164
|
-
artifact: "artifact";
|
|
165
164
|
surface: "surface";
|
|
166
165
|
workpiece: "workpiece";
|
|
166
|
+
artifact: "artifact";
|
|
167
167
|
}>>>;
|
|
168
168
|
description: z.ZodOptional<z.ZodString>;
|
|
169
169
|
}, z.core.$strip>;
|
|
@@ -189,9 +189,9 @@ declare const FacetSchemas: {
|
|
|
189
189
|
human: "human";
|
|
190
190
|
}>>>;
|
|
191
191
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
192
|
-
artifact: "artifact";
|
|
193
192
|
surface: "surface";
|
|
194
193
|
workpiece: "workpiece";
|
|
194
|
+
artifact: "artifact";
|
|
195
195
|
}>>>;
|
|
196
196
|
description: z.ZodOptional<z.ZodString>;
|
|
197
197
|
}, z.core.$strip>>;
|
|
@@ -227,9 +227,9 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
227
227
|
human: "human";
|
|
228
228
|
}>>>;
|
|
229
229
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
230
|
-
artifact: "artifact";
|
|
231
230
|
surface: "surface";
|
|
232
231
|
workpiece: "workpiece";
|
|
232
|
+
artifact: "artifact";
|
|
233
233
|
}>>>;
|
|
234
234
|
description: z.ZodOptional<z.ZodString>;
|
|
235
235
|
}, z.core.$strip>;
|
|
@@ -255,9 +255,9 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
255
255
|
human: "human";
|
|
256
256
|
}>>>;
|
|
257
257
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
258
|
-
artifact: "artifact";
|
|
259
258
|
surface: "surface";
|
|
260
259
|
workpiece: "workpiece";
|
|
260
|
+
artifact: "artifact";
|
|
261
261
|
}>>>;
|
|
262
262
|
description: z.ZodOptional<z.ZodString>;
|
|
263
263
|
}, z.core.$strip>>;
|
|
@@ -299,9 +299,9 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
299
299
|
human: "human";
|
|
300
300
|
}>>>;
|
|
301
301
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
302
|
-
artifact: "artifact";
|
|
303
302
|
surface: "surface";
|
|
304
303
|
workpiece: "workpiece";
|
|
304
|
+
artifact: "artifact";
|
|
305
305
|
}>>>;
|
|
306
306
|
description: z.ZodOptional<z.ZodString>;
|
|
307
307
|
}, z.core.$strip>;
|
|
@@ -327,9 +327,9 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
327
327
|
human: "human";
|
|
328
328
|
}>>>;
|
|
329
329
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
330
|
-
artifact: "artifact";
|
|
331
330
|
surface: "surface";
|
|
332
331
|
workpiece: "workpiece";
|
|
332
|
+
artifact: "artifact";
|
|
333
333
|
}>>>;
|
|
334
334
|
description: z.ZodOptional<z.ZodString>;
|
|
335
335
|
}, z.core.$strip>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-
|
|
1
|
+
import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-BSghHJpQ.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -590,8 +590,8 @@ declare const ClientSchemas: {
|
|
|
590
590
|
"signed-binary-bucket": "signed-binary-bucket";
|
|
591
591
|
}>;
|
|
592
592
|
stage: z.ZodEnum<{
|
|
593
|
-
resolving: "resolving";
|
|
594
593
|
downloading: "downloading";
|
|
594
|
+
resolving: "resolving";
|
|
595
595
|
verifying: "verifying";
|
|
596
596
|
extracting: "extracting";
|
|
597
597
|
installing: "installing";
|
|
@@ -1043,8 +1043,8 @@ type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
|
|
|
1043
1043
|
* - `'activating'` — marking the installed version as active.
|
|
1044
1044
|
*/
|
|
1045
1045
|
declare const InstallStageSchema: z.ZodEnum<{
|
|
1046
|
-
resolving: "resolving";
|
|
1047
1046
|
downloading: "downloading";
|
|
1047
|
+
resolving: "resolving";
|
|
1048
1048
|
verifying: "verifying";
|
|
1049
1049
|
extracting: "extracting";
|
|
1050
1050
|
installing: "installing";
|
|
@@ -1067,8 +1067,8 @@ declare const ClientInstallProgressSchema: z.ZodObject<{
|
|
|
1067
1067
|
"signed-binary-bucket": "signed-binary-bucket";
|
|
1068
1068
|
}>;
|
|
1069
1069
|
stage: z.ZodEnum<{
|
|
1070
|
-
resolving: "resolving";
|
|
1071
1070
|
downloading: "downloading";
|
|
1071
|
+
resolving: "resolving";
|
|
1072
1072
|
verifying: "verifying";
|
|
1073
1073
|
extracting: "extracting";
|
|
1074
1074
|
installing: "installing";
|
|
@@ -1966,8 +1966,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
1966
1966
|
"signed-binary-bucket": "signed-binary-bucket";
|
|
1967
1967
|
}>;
|
|
1968
1968
|
stage: _$zod.ZodEnum<{
|
|
1969
|
-
resolving: "resolving";
|
|
1970
1969
|
downloading: "downloading";
|
|
1970
|
+
resolving: "resolving";
|
|
1971
1971
|
verifying: "verifying";
|
|
1972
1972
|
extracting: "extracting";
|
|
1973
1973
|
installing: "installing";
|
|
@@ -2548,8 +2548,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2548
2548
|
"signed-binary-bucket": "signed-binary-bucket";
|
|
2549
2549
|
}>;
|
|
2550
2550
|
stage: _$zod.ZodEnum<{
|
|
2551
|
-
resolving: "resolving";
|
|
2552
2551
|
downloading: "downloading";
|
|
2552
|
+
resolving: "resolving";
|
|
2553
2553
|
verifying: "verifying";
|
|
2554
2554
|
extracting: "extracting";
|
|
2555
2555
|
installing: "installing";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as CliContribution } from "./types-
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
3
|
-
import { r as WindowRegistry } from "./window-registry-
|
|
1
|
+
import { i as CliContribution } from "./types-D-bP8RRE.mjs";
|
|
2
|
+
import { c as ExtensionInfo } from "./index-Da4ABgRq.mjs";
|
|
3
|
+
import { r as WindowRegistry } from "./window-registry-CfEi_Ji4.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
|
-
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
5
|
+
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
6
6
|
|
|
7
7
|
//#region packages/kernel/src/extension/types.d.ts
|
|
8
8
|
/** Concrete Node runtime context supplied by the kernel coordinator. */
|
|
@@ -115,11 +115,12 @@ interface ExtensionCoordinatorOptions {
|
|
|
115
115
|
*
|
|
116
116
|
* The coordinator collects all packages whose `StorageManifest.migrations`
|
|
117
117
|
* field is set and passes them as an array of
|
|
118
|
-
* `{ name, migrationsPath, migrationSourceId }`
|
|
119
|
-
* (dependency) order. The callback is
|
|
120
|
-
* migrations — typically via Drizzle
|
|
121
|
-
* `applyMigrations()` helper — using a tracking
|
|
122
|
-
* bundle identity so packages that share one
|
|
118
|
+
* `{ name, migrationsPath, migrationSourceId, migrationsPathByDialect? }`
|
|
119
|
+
* objects to this callback in topological (dependency) order. The callback is
|
|
120
|
+
* responsible for applying pending migrations — typically via Drizzle
|
|
121
|
+
* `migrate()` or the bundled `applyMigrations()` helper — using a tracking
|
|
122
|
+
* table keyed to the migration bundle identity so packages that share one
|
|
123
|
+
* folder share one ledger.
|
|
123
124
|
*
|
|
124
125
|
* When absent, declared migrations are silently skipped and storage tables
|
|
125
126
|
* that depend on them will not be created at runtime.
|
|
@@ -129,14 +130,23 @@ interface ExtensionCoordinatorOptions {
|
|
|
129
130
|
* plus executable `storage.packageRoot` metadata when needed.
|
|
130
131
|
* `migrationSourceId` is the stable runtime identity used for bundled hosts;
|
|
131
132
|
* when a package does not declare one, it falls back to `migrationsPath`.
|
|
133
|
+
*
|
|
134
|
+
* When a package declares the object form of `StorageManifest.migrations`,
|
|
135
|
+
* the coordinator additionally passes `migrationsPathByDialect` — an
|
|
136
|
+
* absolute, containment-checked map of every declared per-dialect chain. The
|
|
137
|
+
* coordinator stays dialect-agnostic; the host runtime selects the active
|
|
138
|
+
* dialect's chain from this map and falls back to `migrationsPath` when the
|
|
139
|
+
* map has no entry for that dialect.
|
|
132
140
|
* @param sources - Migration sources in dependency order, each carrying the
|
|
133
|
-
* package name, absolute migration folder path,
|
|
141
|
+
* package name, absolute migration folder path, stable source id, and an
|
|
142
|
+
* optional per-dialect chain map.
|
|
134
143
|
* @returns A promise that resolves when all migrations have been applied.
|
|
135
144
|
*/
|
|
136
145
|
runMigrations?: (sources: ReadonlyArray<{
|
|
137
146
|
name: string;
|
|
138
147
|
migrationsPath: string;
|
|
139
148
|
migrationSourceId: string;
|
|
149
|
+
migrationsPathByDialect?: Partial<Record<StorageDialect, string>>;
|
|
140
150
|
}>) => Promise<void>;
|
|
141
151
|
}
|
|
142
152
|
//#endregion
|