@makaio/framework 1.0.0-dev-1781517341920 → 1.0.0-dev-1781729394463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-D-9gunfD.mjs → account-identity-D5TUafYg.mjs} +1 -1
- package/dist/adapter-B5I7Wp4y.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 +2 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/await-trigger-DcMVmNW5.mjs +1 -0
- package/dist/bus/index.d.mts +21 -21
- package/dist/bus/index.mjs +1 -1
- package/dist/canonical-model-BWGkgf3v.mjs +1 -0
- package/dist/{client-D24ebgGH.mjs → client-BO-0jTSV.mjs} +1 -1
- package/dist/compression-DMoeVgKx.mjs +1 -0
- 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/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/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 +3 -3
- 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 +388 -9899
- 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 +3 -3
- package/dist/contracts/provider/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 +2 -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/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/workflow/index.d.mts +3 -0
- package/dist/contracts/workflow/index.mjs +1 -0
- package/dist/definition-BJ_975aA.mjs +1 -0
- package/dist/{definition-B2FH_eOh.d.mts → definition-Cllhr9mi.d.mts} +13 -2
- package/dist/{definition-CPc6oKaF.d.mts → definition-b9jyJqPD.d.mts} +1 -1
- package/dist/{detached-extension-handle-BYxNmLfv.mjs → detached-extension-handle-Cx6-0eqg.mjs} +1 -1
- package/dist/drizzle/0020_m_mqf47r9j.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{extension-CTkoi8MV.mjs → extension-BJHRahFl.mjs} +1 -1
- package/dist/{extension-DNrcv3V7.mjs → extension-CfL70C5n.mjs} +1 -1
- package/dist/{filesystem-service-T8JOIWeP.mjs → filesystem-service-Bmyqo6po.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-Bos1vjKj.mjs → globby-D4SANVoq.mjs} +1 -1
- package/dist/{handlers-Cpy9Q8ho.mjs → handlers-BAycjV02.mjs} +2 -2
- package/dist/{harness-HEpELa_v.mjs → harness-DkUpbsuY.mjs} +1 -1
- package/dist/{index-DWqgo739.d.mts → index-BAQ6QBcU.d.mts} +2 -2
- package/dist/{index-C7vAbtvS.d.mts → index-BEzRpWsS.d.mts} +399 -360
- package/dist/{index-BM_y78ZA2.d.mts → index-BWIkf5oJ.d.mts} +6 -6
- package/dist/{index-DVz3a2jZ.d.mts → index-CW_LbXdg.d.mts} +8 -8
- package/dist/{index-Dun5uQwE.d.mts → index-CZJc-V9L.d.mts} +26 -5
- package/dist/index-Cjo24O5I.d.mts +10036 -0
- package/dist/{index-GuspCNLR.d.mts → index-CmHdpW0E.d.mts} +4 -4
- package/dist/{index-dFTsZFlh.d.mts → index-D1KPCXBN.d.mts} +3 -3
- package/dist/{index-6QvT0ljq.d.mts → index-D9-vOJvZ.d.mts} +1 -1
- package/dist/{index-B8v52gGb.d.mts → index-DKNmj2sa.d.mts} +51 -51
- package/dist/{index-BQ8H7cvY.d.mts → index-DLNRgZPo2.d.mts} +1 -1
- package/dist/{index-xeg-bqxO.d.mts → index-DMz-2ACU.d.mts} +105 -105
- package/dist/{index-WKF5BHsw.d.mts → index-DTBQOCar.d.mts} +16 -16
- package/dist/{index-BoI86whU.d.mts → index-DWKCb-eJ.d.mts} +42 -42
- package/dist/{index-BBteExwv.d.mts → index-DiifAKRu.d.mts} +11 -4
- package/dist/{index-CsP4Ckem.d.mts → index-Dw7ErgWU.d.mts} +13 -460
- package/dist/{index-BZuF4I8O.d.mts → index-NkNbYFud.d.mts} +1 -55
- package/dist/{index-fTBtQ5fK.d.mts → index-aciWhUWw.d.mts} +396 -396
- package/dist/{index-I6pLxh17.d.mts → index-kwq54nx4.d.mts} +19 -19
- package/dist/{index-DNmENr9M.d.mts → index-mU2lnU7O.d.mts} +6 -6
- package/dist/json-value-DtIkQN7g.d.mts +57 -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-DkLlhp9Z.mjs → lib-Ba55od_d.mjs} +3 -3
- package/dist/{lib-jOuIcSs9.mjs → lib-CM_BUxN8.mjs} +1 -1
- package/dist/{load-extensions-D-DyzN4j.mjs → load-extensions-Cze1RHcG.mjs} +1 -1
- package/dist/{load-extensions-CQqw0Smr.d.mts → load-extensions-DNRIy4zC.d.mts} +1 -1
- package/dist/loop-gate-handlers-CwU5zAGs.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-CN2TfSCY.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-H9A39Mx8.d.mts → namespace-B95uYmZB.d.mts} +4 -4
- package/dist/{namespace-BxrHvS5c.mjs → namespace-C-piH3w4.mjs} +1 -1
- package/dist/{namespace-BQgZChZl.d.mts → namespace-COEUMuHL.d.mts} +154 -154
- package/dist/{namespace-Cj7k5UH7.d.mts → namespace-CTsfVI3H.d.mts} +8 -8
- package/dist/{namespace-BAJTZXWc.d.mts → namespace-DYJZAGzR.d.mts} +80 -43
- package/dist/namespace-DibbhCPP.mjs +1 -0
- package/dist/{native-session-supervisor-DbrqcFq9.mjs → native-session-supervisor-7ElwM6Is.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-yFP8e7d5.mjs → orchestrator-shared-Cxk3x8Vs.mjs} +1 -1
- package/dist/{package-fwIv7zzj.d.mts → package-MmQvNJ3u.d.mts} +1 -1
- package/dist/package-rdrXr17q.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/{profile-r4G32bCH.mjs → profile-BMBXUqqh.mjs} +1 -1
- package/dist/{provider-context-Ds6GNYnE.mjs → provider-context-DC_eq7es.mjs} +1 -1
- package/dist/provider-context-DjSUpHSM.mjs +1 -0
- package/dist/{providers-namespace-C0C-Sb4N.d.mts → providers-namespace-5GoTlHXz.d.mts} +7 -7
- package/dist/{registry-udUhXSIC.mjs → registry-U_3aYSin.mjs} +2 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +3 -3
- package/dist/runtime-node/index.mjs +2 -2
- 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-msWs4YhT.d.mts → schema-B2bO5Yui.d.mts} +27 -1
- package/dist/{schema-atatXwNg.mjs → schema-D6WAI8OL.mjs} +1 -1
- package/dist/schemas-BWasvfw2.mjs +1 -0
- package/dist/{schemas-DuQ9EcLu2.d.mts → schemas-ByssHRGU2.d.mts} +12 -12
- package/dist/{schemas-fEoe6H0K.d.mts → schemas-CDBn9MTz.d.mts} +154 -154
- package/dist/schemas-CE1gbhxu.mjs +1 -0
- package/dist/{schemas-CN9hprME.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- package/dist/{schemas-DMl7IKG-.d.mts → schemas-DMMWmWjq.d.mts} +4 -4
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- 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/capability/index.d.mts +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/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/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +130 -130
- 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/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 +9 -9
- 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 +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +2 -1
- 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 +12 -12
- 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/session-0nWT4st6.mjs +39 -0
- package/dist/session-Bey-bzcX.mjs +1 -0
- package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-Cht4jbvV.d.mts} +1 -1
- package/dist/{skill-B_VlGon5.mjs → skill-N-ttlp1i.mjs} +1 -1
- package/dist/{src-6n-8M8EU.mjs → src-Ck2sbaDa.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/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-B_28RhuK.mjs → tool-approval-service-DEQiipxj.mjs} +1 -1
- package/dist/{tools-BpzJterj.mjs → tools-uAgIrqan.mjs} +1 -1
- package/dist/transition-Coowd2dA.d.mts +454 -0
- package/dist/{types-BB8iIAjZ.d.mts → types-BslClRkH.d.mts} +1 -1
- package/dist/{types-DUNA749O.d.mts → types-Cagp7JXb.d.mts} +276 -257
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{version-SYP_DX4M.mjs → version-DoV_pSzT.mjs} +1 -1
- package/dist/workflow-BCKOJ4UC.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +38 -8
- 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.d.mts +3 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-CjuRYLmJ.mjs → workflow-worker-CojIlB6k.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-ux2xaQ6H.mjs +0 -1
- package/dist/await-trigger-uKEHY8E4.mjs +0 -1
- package/dist/canonical-model-BE7t86yt.mjs +0 -1
- package/dist/compression-Cy9DIqyr.mjs +0 -1
- package/dist/definition-Bija4lGr.mjs +0 -1
- package/dist/namespace-CH_NWUKW.mjs +0 -1
- package/dist/package-lxB0vpby.mjs +0 -1
- package/dist/primitive-runtime-BSg8J7VX.mjs +0 -1
- package/dist/schemas-Dvm_0GDr.mjs +0 -1
- package/dist/session-Is5VSP2V.mjs +0 -1
- package/dist/session-ZAJrcudH.mjs +0 -39
- /package/dist/{ajv-Cx19PP7Q.mjs → ajv-B5dPIck0.mjs} +0 -0
- /package/dist/{base-orchestrator-BRq4MXa7.d.mts → base-orchestrator-Cw0vpNgB.d.mts} +0 -0
- /package/dist/{capability-service-CHl8rrwb.mjs → capability-service-XlymTzz1.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-D32WnVuy.mjs → cleanEnvForAdapter-BooAgM2R.mjs} +0 -0
- /package/dist/{client-D2ZftNb6.d.mts → client-CebV_fZc.d.mts} +0 -0
- /package/dist/{clients-namespace-CeAB0t06.d.mts → clients-namespace-Bt_VTkEU.d.mts} +0 -0
- /package/dist/{config-namespace-DW5KHKPW.mjs → config-namespace-CY9leBnE.mjs} +0 -0
- /package/dist/{config-namespace-DloU-hNB.d.mts → config-namespace-DqdFE6zk.d.mts} +0 -0
- /package/dist/{create-static-mount-Bi0VpYS8.mjs → create-static-mount-DkK28kKW.mjs} +0 -0
- /package/dist/{cross-spawn-C58yEvsS.mjs → cross-spawn-CDXy3BjE.mjs} +0 -0
- /package/dist/{cursor-storage-CpuT5POU.mjs → cursor-storage-luQAg7E_.mjs} +0 -0
- /package/dist/{definition-BdxbXbrq.d.mts → definition-CuJvtYeG.d.mts} +0 -0
- /package/dist/{descriptor-to-package-D-FNxohm.mjs → descriptor-to-package-DdpjpT7n.mjs} +0 -0
- /package/dist/{drizzle-D7dkDEB5.mjs → drizzle-DVTAl7Us.mjs} +0 -0
- /package/dist/{esm-CP2zvvlx.mjs → esm-CQG9Pc7n.mjs} +0 -0
- /package/dist/{event-DaXakaHo.mjs → event-DguYjV6D.mjs} +0 -0
- /package/dist/{execution-target-Da6Vjvba.mjs → execution-target-BR8bLkCR.mjs} +0 -0
- /package/dist/{extension-discovery-Bv5FDtrM.d.mts → extension-discovery-CIZn5bkq.d.mts} +0 -0
- /package/dist/{extension-namespace-O3sKdnY9.mjs → extension-namespace-v3K0qVry.mjs} +0 -0
- /package/dist/{facet-Q_vgXb23.mjs → facet-BM4y4aQP.mjs} +0 -0
- /package/dist/{filesystem-service-89fN-2Dd.d.mts → filesystem-service-Cwp0sWNc.d.mts} +0 -0
- /package/dist/{handler-BIA3ld4C.mjs → handler-2bPhRn0u.mjs} +0 -0
- /package/dist/{host-DFqmG2qO.mjs → host-vY07gek-.mjs} +0 -0
- /package/dist/{identity-CA5MzB19.mjs → identity-BarL3JYI.mjs} +0 -0
- /package/dist/{index-BVhnqzDC2.d.mts → index-B92mToDo2.d.mts} +0 -0
- /package/dist/{index-cFuQpzIm.d.mts → index-BjoOSg95.d.mts} +0 -0
- /package/dist/{index-BeNVLvtk2.d.mts → index-BvLXySoB2.d.mts} +0 -0
- /package/dist/{index-DJSffYTW2.d.mts → index-C23g_M_J2.d.mts} +0 -0
- /package/dist/{index-kOSSuOcK.d.mts → index-C4nStEdA.d.mts} +0 -0
- /package/dist/{index-DHHKwLww.d.mts → index-COI1tjAf.d.mts} +0 -0
- /package/dist/{index-BDnI2oqX.d.mts → index-CYHWOXUm.d.mts} +0 -0
- /package/dist/{index-DLPjliGd.d.mts → index-CfIW5biI.d.mts} +0 -0
- /package/dist/{index-orAkFukT.d.mts → index-CpKikwK4.d.mts} +0 -0
- /package/dist/{index-CkPIPbx9.d.mts → index-Cr9lh21j.d.mts} +0 -0
- /package/dist/{index-CBTp2XuF.d.mts → index-CuHqL95P.d.mts} +0 -0
- /package/dist/{index-CfpfkKih.d.mts → index-D3ahzHwb.d.mts} +0 -0
- /package/dist/{index-BE-yMFTz.d.mts → index-D7Hkmrr3.d.mts} +0 -0
- /package/dist/{index-DWqSqcpW.d.mts → index-DOOrKin9.d.mts} +0 -0
- /package/dist/{index-CYZqADXY2.d.mts → index-DUD7wikz2.d.mts} +0 -0
- /package/dist/{index-BUilJdHr.d.mts → index-Dfi8Rorw.d.mts} +0 -0
- /package/dist/{index-BplsE3qw.d.mts → index-DtwGhFFQ.d.mts} +0 -0
- /package/dist/{index-DVgKfgh1.d.mts → index-OGIC4puQ.d.mts} +0 -0
- /package/dist/{index-D0RWuwl5.d.mts → index-Y8rMeYYX.d.mts} +0 -0
- /package/dist/{index-BtL_9HBk.d.mts → index-gAFwNiJT.d.mts} +0 -0
- /package/dist/{index-DdCyeZ59.d.mts → index-wq7XeqyG.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bb8ltqOe.mjs → jsonl-transport-CGPgD8iU.mjs} +0 -0
- /package/dist/{lib-BmcGxHXH.mjs → lib-ZKtnbCqH.mjs} +0 -0
- /package/dist/{materialization-DsPIGQP1.mjs → materialization-DBXjSiBn.mjs} +0 -0
- /package/dist/{model-registry-DQDclqdw.mjs → model-registry-C2VXobZj.mjs} +0 -0
- /package/dist/{model-registry-DLeMw3l8.mjs → model-registry-rYICIwyR.mjs} +0 -0
- /package/dist/{namespace-CEqkI6Zu.d.mts → namespace-65uwTpbg.d.mts} +0 -0
- /package/dist/{namespace-6u1Uf-iw2.d.mts → namespace-6sIu5nBI2.d.mts} +0 -0
- /package/dist/{namespace-q5dD3acO.d.mts → namespace-B3ol3pc-.d.mts} +0 -0
- /package/dist/{namespace-DrpHLJAy.mjs → namespace-BO3tODGC.mjs} +0 -0
- /package/dist/{namespace-uGUGfpGQ.mjs → namespace-BdO4e1Fm.mjs} +0 -0
- /package/dist/{namespace-2G7A4Sza.d.mts → namespace-BsYKEMd8.d.mts} +0 -0
- /package/dist/{namespace-DMhz3yvr.d.mts → namespace-CQ8uza7o.d.mts} +0 -0
- /package/dist/{namespace-zWB-ULrX.mjs → namespace-CVMZVqB5.mjs} +0 -0
- /package/dist/{namespace-nQS4XwnT.d.mts → namespace-D2s-4pyg.d.mts} +0 -0
- /package/dist/{namespace-FJsnoEQy.mjs → namespace-DBHwyhME.mjs} +0 -0
- /package/dist/{namespace-CN-Llu7H.mjs → namespace-DYSFDC2G.mjs} +0 -0
- /package/dist/{namespace-DcUwOJ4f.d.mts → namespace-Dk4OslmY.d.mts} +0 -0
- /package/dist/{namespace-B1Bldc48.d.mts → namespace-KMxsPJwm.d.mts} +0 -0
- /package/dist/{namespace-DKnJL0Ja.d.mts → namespace-LUNf8zo5.d.mts} +0 -0
- /package/dist/{namespace-UUw-S7ia.mjs → namespace-wke7juzy.mjs} +0 -0
- /package/dist/{orchestrator-shared-CbS4ueeq.d.mts → orchestrator-shared-ChOdIgh6.d.mts} +0 -0
- /package/dist/{out-BUHr98Xe.mjs → out-BoEZjBNz.mjs} +0 -0
- /package/dist/{package-YQeRE8bV.mjs → package-CF_Zm2v4.mjs} +0 -0
- /package/dist/{platform-CsO-MRJP.mjs → platform-DnbSvm2u.mjs} +0 -0
- /package/dist/{providers-FEZT2bQG.mjs → providers-Bd7BOZs0.mjs} +0 -0
- /package/dist/{quick-lru-C7AXdpbU.mjs → quick-lru-6e7I1Bgf.mjs} +0 -0
- /package/dist/{schema-Ba64XQjo.mjs → schema-DHlTAy0N.mjs} +0 -0
- /package/dist/{schema-introspection-D5FaI5B_.mjs → schema-introspection-B7xODt4I.mjs} +0 -0
- /package/dist/{schemas-9QC3nvYP.mjs → schemas-ArqQTC0Q.mjs} +0 -0
- /package/dist/{schemas-DznsZ0bq.d.mts → schemas-B6tEKf9T.d.mts} +0 -0
- /package/dist/{schemas-CRS7tkFP.d.mts → schemas-BemsLc_V.d.mts} +0 -0
- /package/dist/{schemas-5kegIs9D.mjs → schemas-CPI00yvh.mjs} +0 -0
- /package/dist/{schemas-Cae5dubB.d.mts → schemas-D4zaFE2p.d.mts} +0 -0
- /package/dist/{schemas-9Ifo5zSf.d.mts → schemas-DKncXGnb.d.mts} +0 -0
- /package/dist/{schemas-DZfBym73.d.mts → schemas-DWfo0wp4.d.mts} +0 -0
- /package/dist/{schemas-BxI5Yq8d.d.mts → schemas-DmGRSeIq.d.mts} +0 -0
- /package/dist/{schemas-BSAKbVyd.d.mts → schemas-KlH1hB7u.d.mts} +0 -0
- /package/dist/{schemas-DAYPhB5K.mjs → schemas-XeIBqwvE.mjs} +0 -0
- /package/dist/{semver-ClOD8k8c.mjs → semver-CIhHqMkw.mjs} +0 -0
- /package/dist/{server-lifecycle-CFQaPTf7.mjs → server-lifecycle-C5Z5PSMD.mjs} +0 -0
- /package/dist/{server-lifecycle-5iHxcgBO.d.mts → server-lifecycle-_AA6EfzL.d.mts} +0 -0
- /package/dist/{shared-schemas-jG3EtHZT.mjs → shared-schemas-BEVG96xW.mjs} +0 -0
- /package/dist/{src-CRDOZl7K.mjs → src-_VODAJnf.mjs} +0 -0
- /package/dist/{storage-namespace-C1JVmZF1.mjs → storage-namespace-D5q9CrBp.mjs} +0 -0
- /package/dist/{storage-namespace-gey7EUhM.d.mts → storage-namespace-Di1A3DMm.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BPYSLTfN.d.mts → storage-namespace-definition-BffdI5Bz.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Df8S3E3r.mjs → storage-namespace-definition-CzXPW45M.mjs} +0 -0
- /package/dist/{supports-color-AnssSSH9.mjs → supports-color-DcXkvGDF.mjs} +0 -0
- /package/dist/{telemetry-DdbvlZ8s.mjs → telemetry-Cvi4rxiE.mjs} +0 -0
- /package/dist/{tray-menu-service-am356993.mjs → tray-menu-service-B2AxiQqL.mjs} +0 -0
- /package/dist/{types-DhlQpVEb.d.mts → types-BMS6yfLS.d.mts} +0 -0
- /package/dist/{types-xLd-e0wf.d.mts → types-Bo78h9e3.d.mts} +0 -0
- /package/dist/{types-D-GeeSdd.d.mts → types-CPmOg4X7.d.mts} +0 -0
- /package/dist/{types-Bj7cOrBQ.d.mts → types-DCvp_swt.d.mts} +0 -0
- /package/dist/{variant-BdNN5edM.mjs → variant-5huHjUTm.mjs} +0 -0
- /package/dist/{window-registry-LRjWPwr4.mjs → window-registry-PkrFIwX2.mjs} +0 -0
- /package/dist/{window-registry-CA6AC8n7.d.mts → window-registry-ofIUQnfo.d.mts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _$zod from "zod";
|
|
2
2
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
3
4
|
import { SessionPreviewData, SessionPreviewDataSchema, SessionStorageSubjects as SessionStorageSubjects$1, SessionWithPreview, SessionWithPreviewSchema } from "@makaio/framework/contracts";
|
|
4
5
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
5
6
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
@@ -87,7 +88,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
87
88
|
tableName: "sessions";
|
|
88
89
|
dataType: "string";
|
|
89
90
|
columnType: "SQLiteText";
|
|
90
|
-
data: "
|
|
91
|
+
data: "closed" | "discovered" | "active" | "archived";
|
|
91
92
|
driverParam: string;
|
|
92
93
|
notNull: true;
|
|
93
94
|
hasDefault: false;
|
|
@@ -494,6 +495,25 @@ declare const SessionStorageNamespace$1: {
|
|
|
494
495
|
}, {}, {
|
|
495
496
|
length: number | undefined;
|
|
496
497
|
}>;
|
|
498
|
+
metadata: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
499
|
+
name: string;
|
|
500
|
+
tableName: "sessions";
|
|
501
|
+
dataType: "json";
|
|
502
|
+
columnType: "SQLiteTextJson";
|
|
503
|
+
data: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
504
|
+
driverParam: string;
|
|
505
|
+
notNull: false;
|
|
506
|
+
hasDefault: false;
|
|
507
|
+
isPrimaryKey: false;
|
|
508
|
+
isAutoincrement: false;
|
|
509
|
+
hasRuntimeDefault: false;
|
|
510
|
+
enumValues: undefined;
|
|
511
|
+
baseColumn: never;
|
|
512
|
+
identity: undefined;
|
|
513
|
+
generated: undefined;
|
|
514
|
+
}, {}, {
|
|
515
|
+
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
516
|
+
}>;
|
|
497
517
|
spawningToolCallId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
498
518
|
name: "spawning_tool_call_id";
|
|
499
519
|
tableName: "sessions";
|
|
@@ -1001,10 +1021,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1001
1021
|
lastActivityAt: _$zod.ZodNumber;
|
|
1002
1022
|
}, _$zod_v4_core0.$strip>>;
|
|
1003
1023
|
status: _$zod.ZodEnum<{
|
|
1024
|
+
closed: "closed";
|
|
1025
|
+
discovered: "discovered";
|
|
1004
1026
|
active: "active";
|
|
1005
1027
|
archived: "archived";
|
|
1006
|
-
discovered: "discovered";
|
|
1007
|
-
closed: "closed";
|
|
1008
1028
|
}>;
|
|
1009
1029
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1010
1030
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1068,6 +1088,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1068
1088
|
"always-ask": "always-ask";
|
|
1069
1089
|
"full-access": "full-access";
|
|
1070
1090
|
}>>>;
|
|
1091
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1071
1092
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1072
1093
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1073
1094
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1120,10 +1141,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1120
1141
|
lastActivityAt: _$zod.ZodNumber;
|
|
1121
1142
|
}, _$zod_v4_core0.$strip>>;
|
|
1122
1143
|
status: _$zod.ZodEnum<{
|
|
1144
|
+
closed: "closed";
|
|
1145
|
+
discovered: "discovered";
|
|
1123
1146
|
active: "active";
|
|
1124
1147
|
archived: "archived";
|
|
1125
|
-
discovered: "discovered";
|
|
1126
|
-
closed: "closed";
|
|
1127
1148
|
}>;
|
|
1128
1149
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1129
1150
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1187,6 +1208,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1187
1208
|
"always-ask": "always-ask";
|
|
1188
1209
|
"full-access": "full-access";
|
|
1189
1210
|
}>>>;
|
|
1211
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1190
1212
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1191
1213
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1192
1214
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1216,10 +1238,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1216
1238
|
request: _$zod.ZodObject<{
|
|
1217
1239
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1218
1240
|
all: "all";
|
|
1241
|
+
closed: "closed";
|
|
1242
|
+
discovered: "discovered";
|
|
1219
1243
|
active: "active";
|
|
1220
1244
|
archived: "archived";
|
|
1221
|
-
discovered: "discovered";
|
|
1222
|
-
closed: "closed";
|
|
1223
1245
|
}>>;
|
|
1224
1246
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1225
1247
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -1264,10 +1286,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1264
1286
|
lastActivityAt: _$zod.ZodNumber;
|
|
1265
1287
|
}, _$zod_v4_core0.$strip>>;
|
|
1266
1288
|
status: _$zod.ZodEnum<{
|
|
1289
|
+
closed: "closed";
|
|
1290
|
+
discovered: "discovered";
|
|
1267
1291
|
active: "active";
|
|
1268
1292
|
archived: "archived";
|
|
1269
|
-
discovered: "discovered";
|
|
1270
|
-
closed: "closed";
|
|
1271
1293
|
}>;
|
|
1272
1294
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1273
1295
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1331,6 +1353,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1331
1353
|
"always-ask": "always-ask";
|
|
1332
1354
|
"full-access": "full-access";
|
|
1333
1355
|
}>>>;
|
|
1356
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1334
1357
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1335
1358
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1336
1359
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1378,10 +1401,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1378
1401
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1379
1402
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1380
1403
|
all: "all";
|
|
1404
|
+
closed: "closed";
|
|
1405
|
+
discovered: "discovered";
|
|
1381
1406
|
active: "active";
|
|
1382
1407
|
archived: "archived";
|
|
1383
|
-
discovered: "discovered";
|
|
1384
|
-
closed: "closed";
|
|
1385
1408
|
}>>;
|
|
1386
1409
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1387
1410
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -1423,10 +1446,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1423
1446
|
lastActivityAt: _$zod.ZodNumber;
|
|
1424
1447
|
}, _$zod_v4_core0.$strip>>;
|
|
1425
1448
|
status: _$zod.ZodEnum<{
|
|
1449
|
+
closed: "closed";
|
|
1450
|
+
discovered: "discovered";
|
|
1426
1451
|
active: "active";
|
|
1427
1452
|
archived: "archived";
|
|
1428
|
-
discovered: "discovered";
|
|
1429
|
-
closed: "closed";
|
|
1430
1453
|
}>;
|
|
1431
1454
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1432
1455
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1490,6 +1513,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1490
1513
|
"always-ask": "always-ask";
|
|
1491
1514
|
"full-access": "full-access";
|
|
1492
1515
|
}>>>;
|
|
1516
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1493
1517
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1494
1518
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1495
1519
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1511,10 +1535,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1511
1535
|
request: _$zod.ZodObject<{
|
|
1512
1536
|
sessionId: _$zod.ZodString;
|
|
1513
1537
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1538
|
+
closed: "closed";
|
|
1539
|
+
discovered: "discovered";
|
|
1514
1540
|
active: "active";
|
|
1515
1541
|
archived: "archived";
|
|
1516
|
-
discovered: "discovered";
|
|
1517
|
-
closed: "closed";
|
|
1518
1542
|
}>>;
|
|
1519
1543
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1520
1544
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1552,6 +1576,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1552
1576
|
targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1553
1577
|
createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1554
1578
|
lastActivityAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1579
|
+
metadata: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>>;
|
|
1555
1580
|
spawningToolCallId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1556
1581
|
}, _$zod_v4_core0.$strip>;
|
|
1557
1582
|
response: _$zod.ZodObject<{
|
|
@@ -1603,10 +1628,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1603
1628
|
lastActivityAt: _$zod.ZodNumber;
|
|
1604
1629
|
}, _$zod_v4_core0.$strip>>;
|
|
1605
1630
|
status: _$zod.ZodEnum<{
|
|
1631
|
+
closed: "closed";
|
|
1632
|
+
discovered: "discovered";
|
|
1606
1633
|
active: "active";
|
|
1607
1634
|
archived: "archived";
|
|
1608
|
-
discovered: "discovered";
|
|
1609
|
-
closed: "closed";
|
|
1610
1635
|
}>;
|
|
1611
1636
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1612
1637
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1670,6 +1695,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1670
1695
|
"always-ask": "always-ask";
|
|
1671
1696
|
"full-access": "full-access";
|
|
1672
1697
|
}>>>;
|
|
1698
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1673
1699
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1674
1700
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1675
1701
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1789,10 +1815,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1789
1815
|
lastActivityAt: _$zod.ZodNumber;
|
|
1790
1816
|
}, _$zod_v4_core0.$strip>>;
|
|
1791
1817
|
status: _$zod.ZodEnum<{
|
|
1818
|
+
closed: "closed";
|
|
1819
|
+
discovered: "discovered";
|
|
1792
1820
|
active: "active";
|
|
1793
1821
|
archived: "archived";
|
|
1794
|
-
discovered: "discovered";
|
|
1795
|
-
closed: "closed";
|
|
1796
1822
|
}>;
|
|
1797
1823
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1798
1824
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1856,6 +1882,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1856
1882
|
"always-ask": "always-ask";
|
|
1857
1883
|
"full-access": "full-access";
|
|
1858
1884
|
}>>>;
|
|
1885
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1859
1886
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1860
1887
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1861
1888
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1915,10 +1942,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1915
1942
|
lastActivityAt: _$zod.ZodNumber;
|
|
1916
1943
|
}, _$zod_v4_core0.$strip>>;
|
|
1917
1944
|
status: _$zod.ZodEnum<{
|
|
1945
|
+
closed: "closed";
|
|
1946
|
+
discovered: "discovered";
|
|
1918
1947
|
active: "active";
|
|
1919
1948
|
archived: "archived";
|
|
1920
|
-
discovered: "discovered";
|
|
1921
|
-
closed: "closed";
|
|
1922
1949
|
}>;
|
|
1923
1950
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1924
1951
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1982,6 +2009,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1982
2009
|
"always-ask": "always-ask";
|
|
1983
2010
|
"full-access": "full-access";
|
|
1984
2011
|
}>>>;
|
|
2012
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1985
2013
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1986
2014
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1987
2015
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2062,10 +2090,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2062
2090
|
lastActivityAt: _$zod.ZodNumber;
|
|
2063
2091
|
}, _$zod_v4_core0.$strip>>;
|
|
2064
2092
|
status: _$zod.ZodEnum<{
|
|
2093
|
+
closed: "closed";
|
|
2094
|
+
discovered: "discovered";
|
|
2065
2095
|
active: "active";
|
|
2066
2096
|
archived: "archived";
|
|
2067
|
-
discovered: "discovered";
|
|
2068
|
-
closed: "closed";
|
|
2069
2097
|
}>;
|
|
2070
2098
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2071
2099
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2129,6 +2157,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2129
2157
|
"always-ask": "always-ask";
|
|
2130
2158
|
"full-access": "full-access";
|
|
2131
2159
|
}>>>;
|
|
2160
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2132
2161
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2133
2162
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2134
2163
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2181,10 +2210,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2181
2210
|
lastActivityAt: _$zod.ZodNumber;
|
|
2182
2211
|
}, _$zod_v4_core0.$strip>>;
|
|
2183
2212
|
status: _$zod.ZodEnum<{
|
|
2213
|
+
closed: "closed";
|
|
2214
|
+
discovered: "discovered";
|
|
2184
2215
|
active: "active";
|
|
2185
2216
|
archived: "archived";
|
|
2186
|
-
discovered: "discovered";
|
|
2187
|
-
closed: "closed";
|
|
2188
2217
|
}>;
|
|
2189
2218
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2190
2219
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2248,6 +2277,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2248
2277
|
"always-ask": "always-ask";
|
|
2249
2278
|
"full-access": "full-access";
|
|
2250
2279
|
}>>>;
|
|
2280
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2251
2281
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2252
2282
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2253
2283
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2277,10 +2307,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2277
2307
|
request: _$zod.ZodObject<{
|
|
2278
2308
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2279
2309
|
all: "all";
|
|
2310
|
+
closed: "closed";
|
|
2311
|
+
discovered: "discovered";
|
|
2280
2312
|
active: "active";
|
|
2281
2313
|
archived: "archived";
|
|
2282
|
-
discovered: "discovered";
|
|
2283
|
-
closed: "closed";
|
|
2284
2314
|
}>>;
|
|
2285
2315
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2286
2316
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2325,10 +2355,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2325
2355
|
lastActivityAt: _$zod.ZodNumber;
|
|
2326
2356
|
}, _$zod_v4_core0.$strip>>;
|
|
2327
2357
|
status: _$zod.ZodEnum<{
|
|
2358
|
+
closed: "closed";
|
|
2359
|
+
discovered: "discovered";
|
|
2328
2360
|
active: "active";
|
|
2329
2361
|
archived: "archived";
|
|
2330
|
-
discovered: "discovered";
|
|
2331
|
-
closed: "closed";
|
|
2332
2362
|
}>;
|
|
2333
2363
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2334
2364
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2392,6 +2422,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2392
2422
|
"always-ask": "always-ask";
|
|
2393
2423
|
"full-access": "full-access";
|
|
2394
2424
|
}>>>;
|
|
2425
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2395
2426
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2396
2427
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2397
2428
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2439,10 +2470,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2439
2470
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2440
2471
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2441
2472
|
all: "all";
|
|
2473
|
+
closed: "closed";
|
|
2474
|
+
discovered: "discovered";
|
|
2442
2475
|
active: "active";
|
|
2443
2476
|
archived: "archived";
|
|
2444
|
-
discovered: "discovered";
|
|
2445
|
-
closed: "closed";
|
|
2446
2477
|
}>>;
|
|
2447
2478
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2448
2479
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -2484,10 +2515,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2484
2515
|
lastActivityAt: _$zod.ZodNumber;
|
|
2485
2516
|
}, _$zod_v4_core0.$strip>>;
|
|
2486
2517
|
status: _$zod.ZodEnum<{
|
|
2518
|
+
closed: "closed";
|
|
2519
|
+
discovered: "discovered";
|
|
2487
2520
|
active: "active";
|
|
2488
2521
|
archived: "archived";
|
|
2489
|
-
discovered: "discovered";
|
|
2490
|
-
closed: "closed";
|
|
2491
2522
|
}>;
|
|
2492
2523
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2493
2524
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2551,6 +2582,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2551
2582
|
"always-ask": "always-ask";
|
|
2552
2583
|
"full-access": "full-access";
|
|
2553
2584
|
}>>>;
|
|
2585
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2554
2586
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2555
2587
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2556
2588
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2572,10 +2604,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2572
2604
|
request: _$zod.ZodObject<{
|
|
2573
2605
|
sessionId: _$zod.ZodString;
|
|
2574
2606
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2607
|
+
closed: "closed";
|
|
2608
|
+
discovered: "discovered";
|
|
2575
2609
|
active: "active";
|
|
2576
2610
|
archived: "archived";
|
|
2577
|
-
discovered: "discovered";
|
|
2578
|
-
closed: "closed";
|
|
2579
2611
|
}>>;
|
|
2580
2612
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2581
2613
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2613,6 +2645,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2613
2645
|
targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2614
2646
|
createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2615
2647
|
lastActivityAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2648
|
+
metadata: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>>;
|
|
2616
2649
|
spawningToolCallId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2617
2650
|
}, _$zod_v4_core0.$strip>;
|
|
2618
2651
|
response: _$zod.ZodObject<{
|
|
@@ -2664,10 +2697,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2664
2697
|
lastActivityAt: _$zod.ZodNumber;
|
|
2665
2698
|
}, _$zod_v4_core0.$strip>>;
|
|
2666
2699
|
status: _$zod.ZodEnum<{
|
|
2700
|
+
closed: "closed";
|
|
2701
|
+
discovered: "discovered";
|
|
2667
2702
|
active: "active";
|
|
2668
2703
|
archived: "archived";
|
|
2669
|
-
discovered: "discovered";
|
|
2670
|
-
closed: "closed";
|
|
2671
2704
|
}>;
|
|
2672
2705
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2673
2706
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2731,6 +2764,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2731
2764
|
"always-ask": "always-ask";
|
|
2732
2765
|
"full-access": "full-access";
|
|
2733
2766
|
}>>>;
|
|
2767
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2734
2768
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2735
2769
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2736
2770
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2850,10 +2884,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2850
2884
|
lastActivityAt: _$zod.ZodNumber;
|
|
2851
2885
|
}, _$zod_v4_core0.$strip>>;
|
|
2852
2886
|
status: _$zod.ZodEnum<{
|
|
2887
|
+
closed: "closed";
|
|
2888
|
+
discovered: "discovered";
|
|
2853
2889
|
active: "active";
|
|
2854
2890
|
archived: "archived";
|
|
2855
|
-
discovered: "discovered";
|
|
2856
|
-
closed: "closed";
|
|
2857
2891
|
}>;
|
|
2858
2892
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2859
2893
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2917,6 +2951,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2917
2951
|
"always-ask": "always-ask";
|
|
2918
2952
|
"full-access": "full-access";
|
|
2919
2953
|
}>>>;
|
|
2954
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2920
2955
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2921
2956
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2922
2957
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2976,10 +3011,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2976
3011
|
lastActivityAt: _$zod.ZodNumber;
|
|
2977
3012
|
}, _$zod_v4_core0.$strip>>;
|
|
2978
3013
|
status: _$zod.ZodEnum<{
|
|
3014
|
+
closed: "closed";
|
|
3015
|
+
discovered: "discovered";
|
|
2979
3016
|
active: "active";
|
|
2980
3017
|
archived: "archived";
|
|
2981
|
-
discovered: "discovered";
|
|
2982
|
-
closed: "closed";
|
|
2983
3018
|
}>;
|
|
2984
3019
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2985
3020
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3043,6 +3078,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3043
3078
|
"always-ask": "always-ask";
|
|
3044
3079
|
"full-access": "full-access";
|
|
3045
3080
|
}>>>;
|
|
3081
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
3046
3082
|
source: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3047
3083
|
parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3048
3084
|
logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3083,7 +3119,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3083
3119
|
options?: _$_makaio_core0.NamespaceRegistrationOptions;
|
|
3084
3120
|
defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
|
|
3085
3121
|
__filterPayload?: {
|
|
3086
|
-
[x: string]: string | number | boolean | {
|
|
3122
|
+
[x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | {
|
|
3087
3123
|
clientId: string;
|
|
3088
3124
|
source: string;
|
|
3089
3125
|
kind: string;
|
|
@@ -3113,7 +3149,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3113
3149
|
clientId?: string | undefined;
|
|
3114
3150
|
compressionMode?: "auto" | "manual" | "off" | undefined;
|
|
3115
3151
|
}[];
|
|
3116
|
-
status: "
|
|
3152
|
+
status: "closed" | "discovered" | "active" | "archived";
|
|
3117
3153
|
leadAgentId?: string | undefined;
|
|
3118
3154
|
parentSessionId?: string | undefined;
|
|
3119
3155
|
contextInheritance?: "none" | "parent-history" | undefined;
|
|
@@ -3157,6 +3193,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3157
3193
|
executionTargetId?: string | undefined;
|
|
3158
3194
|
spawningToolCallId?: string | undefined;
|
|
3159
3195
|
approvalPolicyOverride?: "reject" | "always-ask" | "full-access" | null | undefined;
|
|
3196
|
+
metadata?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3160
3197
|
source?: string | undefined;
|
|
3161
3198
|
parentExternalSessionId?: string | undefined;
|
|
3162
3199
|
logFilePath?: string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./schemas-CPI00yvh.mjs";import{createBusNamespace as t}from"@makaio/framework/core";const n=t(`kernel:cli`,e),r=n.subjects;export{r as n,n as t};
|
package/dist/{native-session-supervisor-DbrqcFq9.mjs → native-session-supervisor-7ElwM6Is.mjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./profile-
|
|
1
|
+
import{r as e}from"./profile-BMBXUqqh.mjs";import{z as t}from"zod";import{createBusNamespace as n}from"@makaio/framework/core";const r=t.enum([`running`,`stopped`,`exited`,`unknown`]),i={request:t.object({clientId:t.string(),cwd:t.string(),command:t.string(),args:t.array(t.string()),env:t.record(t.string(),t.string()).optional(),sessionId:t.string().optional(),clientProfileName:e.optional(),adapterSessionId:t.string().optional(),metadata:t.record(t.string(),t.unknown()).optional()}),response:t.object({supervisorSessionId:t.string(),pid:t.number().int().positive()})},a={request:t.union([t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({success:t.boolean(),supervisorSessionId:t.string().optional(),pid:t.number().int().positive().optional(),terminalAttachment:t.object({canAttach:t.boolean()}).optional()})},o={request:t.object({supervisorSessionId:t.string(),signal:t.string().optional()}),response:t.object({success:t.boolean()})},s=t.object({supervisorSessionId:t.string(),clientId:t.string(),pid:t.number().int().positive().nullable(),status:r,cwd:t.string(),sessionId:t.string().optional(),adapterSessionId:t.string().optional(),startedAt:t.number().int().nonnegative(),stoppedAt:t.number().int().nonnegative().optional()}),c={request:t.union([t.object({}).strict(),t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({runtimes:t.array(s)})},l={launch:i,attach:a,stop:o,status:c},u=n(`native-session-supervisor`,l),d=u.subjects;export{i as a,s as c,a as i,r as l,d as n,c as o,l as r,o as s,u as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-_AA6EfzL.mjs";
|
|
2
2
|
import { BusBroadcastMessage, BusMessage, BusRequestMessage, BusTransport, BusTransportError } from "@makaio/framework/bus";
|
|
3
3
|
import { TransportAuth, WebSocketLike, WebSocketServerLike, WebSocketServerLike as WebSocketServerLike$1 } from "@makaio/framework/node/transports";
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../server-lifecycle-
|
|
1
|
+
import{n as e,r as t,t as n}from"../../server-lifecycle-C5Z5PSMD.mjs";var r=class{connectionListeners=new Set;on(e,t){e===`connection`&&this.connectionListeners.add(t)}off(e,t){e===`connection`&&this.connectionListeners.delete(t)}close(e){this.connectionListeners.clear(),e?.()}accept(e){for(let t of this.connectionListeners)t(e)}};export{r as HonoWebSocketBridge,t as LoopbackTransport,e as createBusServer,n as startBusServer};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-_AA6EfzL.mjs";
|
|
2
2
|
export { StartBusServerOptions, startBusServer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../server-lifecycle-
|
|
1
|
+
import{t as e}from"../../server-lifecycle-C5Z5PSMD.mjs";export{e as startBusServer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./namespace-
|
|
1
|
+
import{n as e}from"./namespace-C-piH3w4.mjs";import{MakaioBus as t}from"@makaio/framework/bus";import{AdapterSubjects as n,AgentSubjects as r,SessionSubjects as i}from"@makaio/framework/contracts";function a(){t.__resetHandlers?.()}function o(e=10){return new Promise(t=>setTimeout(t,e))}function s(e,t){let n=Date.now();return{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,sessionId:t?.sessionId??`test-session`,role:`member`,status:`idle`,createdAt:n,lastActivityAt:n,...t}}async function c(e,r=e){await t.emit(n.initialized,{adapterName:e,adapterId:r,capabilities:[]})}async function l(n){return(await t.request(e.getEvents,{sessionId:n})).events}function u(e,n,r){let i=[];return r.push(t.on(e,(e=>{let t=e.payload;i.push(n(t))}))),{received:i,clear:()=>{i.length=0}}}function d(e){return u(i.turn.started,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentIds:[...e.agentIds],initiator:e.initiator}),e)}function f(e){return u(i.turn.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,success:e.success,error:e.error,initiator:e.initiator}),e)}function p(e){return u(i.user_message.sent,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,content:e.content,agentIds:[...e.agentIds],origin:e.origin}),e)}function m(e){return u(i.user_message.acknowledged,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId}),e)}function h(e){return u(i.user_message.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId,outcome:e.outcome,error:e.error}),e)}const g=s;function _(e){let t=Date.now();return{sessionId:e.sessionId,createdAt:t,lastActivityAt:t,status:e.status??`active`,agents:e.agents??[],leadAgentId:e.leadAgentId,targetWorkingDirectory:e.targetWorkingDirectory}}function v(e){return t.on(i.create,t=>{let n=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`;e.set(n,_({sessionId:n,agents:[]})),t.setResult({sessionId:n})})}function y(e){return t.on(i.agent.added,t=>{let n=e.get(t.payload.sessionId);if(!n)return;let r=n.agents.length===0,i=t.payload.role??(r?`lead`:`member`);r&&(n.adapterSessionId=t.payload.adapterSessionId,n.adapterName=t.payload.adapterName,n.adapterId=t.payload.adapterId);let a=Date.now();n.agents.push({agentId:t.payload.agentId,adapterId:t.payload.adapterId,adapterName:t.payload.adapterName,sessionId:t.payload.sessionId,role:i,status:`idle`,createdAt:a,lastActivityAt:a}),i===`lead`&&(n.leadAgentId=t.payload.agentId),n.lastActivityAt=Date.now()})}function b(e){return t.on(i.get,t=>{t.setResult({session:e.get(t.payload.sessionId)??null})})}function x(e){return t.on(n.getAgent,t=>{for(let n of e.values()){let e=n.agents.find(e=>e.agentId===t.payload.agentId);if(e){t.setResult({agent:{agentId:e.agentId,sessionId:n.sessionId,adapterSessionId:``}});return}}t.setResult({agent:null})})}function S(){return t.on(n.rehydrateAgent,e=>{e.setResult({})})}function C(e=`/previous/cwd`){return t.on(r.cwd.change,t=>{t.setResult({success:!0,previousCwd:e})})}function w(){return t.on(r.model.change,e=>{e.setResult({success:!0,swapped:!1})})}function T(e){return t.on(n.startAgent,t=>{let{adapterId:n,initialMessage:r}=t.payload,i=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`,a=`agent-${crypto.randomUUID().slice(0,8)}`,o=r?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,s=`adapter-session-${i}`;e?.({adapterId:n,sessionId:i,initialMessage:r}),t.setResult({success:!0,agentId:a,adapterId:n,adapterSessionId:s,sessionId:i,...o&&{messageId:o}}),j({sessionId:i,agentId:a,adapterId:n,adapterSessionId:s})})}function E(e){return t.on(n.startAgent,t=>{t.setResult({success:!1,message:e})})}function D(e){return t.on(r.sendMessage,t=>{let{agentId:n,adapterId:r,message:i,messageId:a,sessionContext:o,responseSchema:s}=t.payload,c=a??`msg-${crypto.randomUUID().slice(0,8)}`;e?.({agentId:n,adapterId:r,message:i,messageId:c,sessionContext:o,responseSchema:s}),t.setResult({messageId:c})})}function O(e,n){return t.on(r.sendMessage,t=>{if(e.has(t.payload.agentId))throw Error(n);t.setResult({messageId:t.payload.messageId??`generated-id`})})}async function k(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:n})}async function A(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:`msg-error-${e}`,outcome:`error`,error:n})}function j(e){setImmediate(()=>{t.emit(i.agent.added,{sessionId:e.sessionId,agentId:e.agentId,adapterId:e.adapterId,adapterName:e.adapterId,adapterSessionId:e.adapterSessionId,role:e.role})})}function M(e,r){let i=new Map,a=t.on(n.startAgent,t=>{r.payload=t.payload;let n=`agent-${crypto.randomUUID().slice(0,8)}`,a=t.payload.initialMessage?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,o=`adapter-session-${e}`;i.set(n,{agentId:n,sessionId:e,adapterSessionId:o,adapterId:t.payload.adapterId}),t.setResult({success:!0,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o,sessionId:e,...a&&{messageId:a}}),j({sessionId:e,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o})}),o=t.on(n.getAgent,e=>{let t=i.get(e.payload.agentId);e.setResult({agent:t?{agentId:t.agentId,sessionId:t.sessionId,adapterSessionId:t.adapterSessionId}:null})});return()=>{a(),o()}}export{c as C,o as E,p as S,a as T,T as _,A as a,m as b,v as c,E as d,x as f,D as g,S as h,k as i,C as l,w as m,_ as n,y as o,b as p,j as r,M as s,g as t,O as u,f as v,l as w,h as x,d as y};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
2
2
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
3
|
-
import { IWorkflowRunner, IWorkflowTriggerTypeRegistry, MakaioNodeExtension, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, WorkflowDefinition } from "@makaio/framework/contracts";
|
|
3
|
+
import { IWorkflowRunner, IWorkflowTriggerTypeRegistry, LoopGateHandler, MakaioNodeExtension, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, WorkflowDefinition } from "@makaio/framework/contracts";
|
|
4
4
|
import { BaseService } from "@makaio/framework/service-base";
|
|
5
5
|
import { MakaioDatabase } from "@makaio/framework/storage/drizzle";
|
|
6
6
|
|