@makaio/framework 1.0.0-dev-1783977266352 → 1.0.0-dev-1784154668798
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/adapters/claude/index.d.mts +8192 -0
- package/dist/adapters/claude/index.mjs +3 -0
- package/dist/adapters/claude/testing.d.mts +17 -0
- package/dist/adapters/claude/testing.mjs +1 -0
- package/dist/adapters/config/index.d.mts +2 -2
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/{artifact-CGjnoyCC.mjs → artifact-Dnpy5ei_.mjs} +1 -1
- package/dist/{authority-state-bootstrap-CEuKScnL.mjs → authority-state-bootstrap-BlbmQ9A5.mjs} +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/context-resolution-D5jHK1w-.d.mts +1268 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -1
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/canonical-model/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 +3 -3
- 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 +68 -68
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +4 -4
- package/dist/contracts/materialization/index.mjs +1 -1
- 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 +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- 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/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{detached-extension-handle-vDK194QV.mjs → detached-extension-handle-BVM-Ic-4.mjs} +1 -1
- package/dist/{filesystem-service-maY_P3yA.mjs → filesystem-service-qR9Zy5-r.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-CisClzat.mjs → globby-DE358g5u.mjs} +1 -1
- package/dist/{index-C6LZOiDv.d.mts → index-B96HlWaM.d.mts} +1 -1
- package/dist/{index-BrAp9ntB.d.mts → index-BM7u_OTo.d.mts} +35 -35
- package/dist/{index-DMQlLz2W.d.mts → index-BPBSMsc8.d.mts} +15 -15
- package/dist/{index-j2YlW_Fc.d.mts → index-B_KmL_z8.d.mts} +1 -1
- package/dist/{index-CSxfU0tB.d.mts → index-BdsuBxEz.d.mts} +4 -4
- package/dist/{index-MTvmxwiu2.d.mts → index-CSyR9Fie2.d.mts} +3 -3
- package/dist/{index-CagRgpXI2.d.mts → index-ChB3K_a12.d.mts} +1 -1
- package/dist/{index-Cx8jGKOs.d.mts → index-CrbFA2kp.d.mts} +4 -4
- package/dist/{index-BxuiHVFi.d.mts → index-DA5S_dj8.d.mts} +1 -1
- package/dist/{index-2PsDAhPN.d.mts → index-DE29b4QM.d.mts} +8 -8
- package/dist/{index-BXWTilGs.d.mts → index-DHejCnq8.d.mts} +3 -3
- package/dist/{index-Cq6rXKae.d.mts → index-D_lLZ2dU.d.mts} +3 -3
- package/dist/{index-D3Eek6kd.d.mts → index-DoJRv-c3.d.mts} +230 -1116
- package/dist/{index-D75FnT0B.d.mts → index-TWs1TQ2-.d.mts} +1 -1
- package/dist/index-XzetMf0e.d.mts +817 -0
- package/dist/{index-CHjKP5G0.d.mts → index-ZGPSCZdC.d.mts} +23 -10
- 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/index.d.mts +5 -5
- 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-DktBDEoY.mjs → lib-6P8_sBCe.mjs} +1 -1
- package/dist/{lib-DIVnpS8e.mjs → lib-DhbCgfYD.mjs} +1 -1
- package/dist/{load-extensions-nqL5WAKj.mjs → load-extensions-5VckHXuw.mjs} +1 -1
- package/dist/{load-extensions-_EnedkUp.d.mts → load-extensions-jGQgvw6Z.d.mts} +1 -1
- package/dist/materialization-BBxXhthv.mjs +1 -0
- package/dist/mcp-http-server/index.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/{package-CsFFT9iR.mjs → package-Brt4dhRC.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/packages-BBJsifai.d.mts +532 -0
- package/dist/packages-I0D3JP9L.mjs +1 -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/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 +23 -23
- 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/schemas-6H-dlMrB.mjs +1 -0
- 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 +3 -3
- 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/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/git/namespace.d.mts +2 -2
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +46 -295
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +76 -0
- package/dist/services/materialization/index.mjs +1 -0
- 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-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/messages/namespace.d.mts +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/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -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-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +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-lineage-YShrn77v.d.mts → session-lineage-CWlcOKBZ.d.mts} +1 -1
- package/dist/{src-Bo2eA51B.mjs → src-T5DtFSyU.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/tools-CWSuNk-M.mjs +1 -0
- package/dist/{transition-DjipYcC3.d.mts → transition-CukPcOG5.d.mts} +2 -2
- package/dist/{types-B-xY9WW2.d.mts → types-Be7wY1De.d.mts} +1 -1
- package/dist/{types-DQsYUZwa.d.mts → types-DiZJnwN0.d.mts} +2 -2
- package/dist/ui-components/index.d.mts +4 -4
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +20 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/view-builder-DQiA4wDH.d.mts +618 -0
- package/dist/{workflow-DFJYGjq_.mjs → workflow-DPeE6-Ta.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +25 -25
- 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-BEFjCccX.mjs → workflow-worker-CPCh68Qf.mjs} +1 -1
- package/package.json +10 -2
- package/dist/definition-D7qCBmtc.d.mts +0 -60
- package/dist/index-CidblQAY.d.mts +0 -355
- package/dist/materialization-BwTORtBr.mjs +0 -1
- package/dist/schemas-DlCdlCEF.d.mts +0 -153
- package/dist/schemas-DlrQ0227.mjs +0 -1
- package/dist/tools-PC_L6g2m.mjs +0 -1
- /package/dist/{adapter-auth-runtime-a4O7cSNP.mjs → adapter-auth-runtime-CotG_6M4.mjs} +0 -0
- /package/dist/{adapter-binding-DDUyv1JK.d.mts → adapter-binding-DQ1HrGcH.d.mts} +0 -0
- /package/dist/{ajv-DfHhgdS5.mjs → ajv-WvFKnw8d.mjs} +0 -0
- /package/dist/{await-trigger-DP-fTQc4.mjs → await-trigger-COHFNyNi.mjs} +0 -0
- /package/dist/{base-orchestrator-BiShpVKL.d.mts → base-orchestrator-p3zIcnaJ.d.mts} +0 -0
- /package/dist/{capability-service-Dg2bU8qc.mjs → capability-service-TCOwWrLi.mjs} +0 -0
- /package/dist/{client-DmJwprw1.d.mts → client-CGEyBWKl.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BK_vIjIo.mjs → client-binary-version-verifier-CaFlNNjs.mjs} +0 -0
- /package/dist/{client-binary-version-verifier-BwrMTAh2.d.mts → client-binary-version-verifier-WsNRplFB.d.mts} +0 -0
- /package/dist/{clients-namespace-B96QIJOs.d.mts → clients-namespace-ClKm1GLT.d.mts} +0 -0
- /package/dist/{config-namespace-x0fuhEXe.d.mts → config-namespace-DOw8R5eb.d.mts} +0 -0
- /package/dist/{create-static-mount-CBTXRtbN.mjs → create-static-mount-DM9qO98Q.mjs} +0 -0
- /package/dist/{cross-spawn-D9WWFl2a.mjs → cross-spawn-CVfmnMVP.mjs} +0 -0
- /package/dist/{cursor-storage-Bw-7ROzx.mjs → cursor-storage-BoFVjVGq.mjs} +0 -0
- /package/dist/{definition-BsTlOz99.d.mts → definition-BZrouYAq.d.mts} +0 -0
- /package/dist/{definition-Cbl0k6Fc.d.mts → definition-ClKlXenJ.d.mts} +0 -0
- /package/dist/{descriptor-to-package-Rs-OjOQU.mjs → descriptor-to-package-DCwvJoUE.mjs} +0 -0
- /package/dist/{drizzle-DYfaDzlO.mjs → drizzle-BQDvlDL2.mjs} +0 -0
- /package/dist/{esm-C_WW4-pP.mjs → esm-1UzF2r1U.mjs} +0 -0
- /package/dist/{event-DTM0-qWP.mjs → event-Ddxe4yp9.mjs} +0 -0
- /package/dist/{execution-target-Bg2wpfML.mjs → execution-target-D6PoGaO8.mjs} +0 -0
- /package/dist/{extension-discovery-APMf1Tes.d.mts → extension-discovery-Cce4FmRu.d.mts} +0 -0
- /package/dist/{filesystem-service-Bx0bR2Lb.d.mts → filesystem-service-CWBzOEAA.d.mts} +0 -0
- /package/dist/{handler-4pKQi3eo.mjs → handler-Bxs0moLY.mjs} +0 -0
- /package/dist/{identity-2qUT1NME.mjs → identity-D481xSkS.mjs} +0 -0
- /package/dist/{index-FDyqQIt5.d.mts → index-4b-ig5Uf.d.mts} +0 -0
- /package/dist/{index-Bv9lm0Kf.d.mts → index-BOlzcjwS.d.mts} +0 -0
- /package/dist/{index-S-mAqWwq.d.mts → index-BRdPSBFH2.d.mts} +0 -0
- /package/dist/{index-BmsPH78f2.d.mts → index-BcqWLD6J.d.mts} +0 -0
- /package/dist/{index-DmuGKvE2.d.mts → index-BfNfKh4y.d.mts} +0 -0
- /package/dist/{index-DpZbaS7y.d.mts → index-BoCL9IHT.d.mts} +0 -0
- /package/dist/{index-CarbJsC92.d.mts → index-BrvsExEF.d.mts} +0 -0
- /package/dist/{index-D0eUQjTU2.d.mts → index-C2PHX5Em.d.mts} +0 -0
- /package/dist/{index-BZ_DSGnE.d.mts → index-CNS1jyBU.d.mts} +0 -0
- /package/dist/{index-DoLdETfR.d.mts → index-CQco6KNL.d.mts} +0 -0
- /package/dist/{index-C18Pn3zP.d.mts → index-ChsmMZmN.d.mts} +0 -0
- /package/dist/{index-DwDBa2mb.d.mts → index-D3cH5U0n.d.mts} +0 -0
- /package/dist/{index-T96ydgVk.d.mts → index-DAVLhzkq.d.mts} +0 -0
- /package/dist/{index-Bbr5LEUc.d.mts → index-DD9inq5h.d.mts} +0 -0
- /package/dist/{index-9dISOTLT.d.mts → index-DIAmg04s.d.mts} +0 -0
- /package/dist/{index-DlAfs3RD.d.mts → index-DKCFz7dL.d.mts} +0 -0
- /package/dist/{index-DvaPrL6C.d.mts → index-DbP0yaRw.d.mts} +0 -0
- /package/dist/{index-kqxUXYe7.d.mts → index-Du-AJm69.d.mts} +0 -0
- /package/dist/{index-DXBiCH2y.d.mts → index-Dx6P-ajY.d.mts} +0 -0
- /package/dist/{index-Rhcr4YNA.d.mts → index-Jec13bI-2.d.mts} +0 -0
- /package/dist/{index-BkAKfh4d.d.mts → index-M8rNEeH8.d.mts} +0 -0
- /package/dist/{index-DnWZdG6C.d.mts → index-NZ-gfUOw.d.mts} +0 -0
- /package/dist/{index-DfVSWBBp.d.mts → index-RtP5Mi4D.d.mts} +0 -0
- /package/dist/{index-_zsihEmk.d.mts → index-XLGBNeu0.d.mts} +0 -0
- /package/dist/{index-Bd52mmj9.d.mts → index-fFSPF7N0.d.mts} +0 -0
- /package/dist/{index-Ctw617Tj.d.mts → index-p1N3ZuqF.d.mts} +0 -0
- /package/dist/{json-value-C8duSh9X.d.mts → json-value-BsWNQQbr.d.mts} +0 -0
- /package/dist/{jsonl-transport-l5NPcQ_2.mjs → jsonl-transport-B70HQ9l1.mjs} +0 -0
- /package/dist/{lib-ClRTNIuz.mjs → lib-C_apP_9s.mjs} +0 -0
- /package/dist/{model-registry-C8MInDtX.mjs → model-registry-C3NX834K.mjs} +0 -0
- /package/dist/{namespace-HsI0Jbbr.mjs → namespace-B1_egU5J.mjs} +0 -0
- /package/dist/{namespace-Dar3O6iT.d.mts → namespace-BTp6-zD8.d.mts} +0 -0
- /package/dist/{namespace-BoA6u44C.d.mts → namespace-Bldr5X64.d.mts} +0 -0
- /package/dist/{namespace-TLkZRkcU.d.mts → namespace-Bogua97s.d.mts} +0 -0
- /package/dist/{namespace-Bl1UhLnK.d.mts → namespace-BqlDkdht2.d.mts} +0 -0
- /package/dist/{namespace-DoNigVgx.d.mts → namespace-BwAiuQ2_.d.mts} +0 -0
- /package/dist/{namespace-3YVLQ_bM.d.mts → namespace-CU1jSw6E.d.mts} +0 -0
- /package/dist/{namespace-CukqFYHf2.d.mts → namespace-C_phrzqu2.d.mts} +0 -0
- /package/dist/{namespace-BcDHt-ww.d.mts → namespace-CddQuUvG.d.mts} +0 -0
- /package/dist/{namespace-dgNmx9g3.d.mts → namespace-CpSZfHLv.d.mts} +0 -0
- /package/dist/{namespace-rO-C2Dgu2.d.mts → namespace-CzZmsumy.d.mts} +0 -0
- /package/dist/{namespace-BsEoWXV_.d.mts → namespace-DNgZ_rfi.d.mts} +0 -0
- /package/dist/{namespace-VmsT_tLJ.d.mts → namespace-Dzbt8LqQ.d.mts} +0 -0
- /package/dist/{namespace-Dvi66QS6.d.mts → namespace-SwgMs4rw.d.mts} +0 -0
- /package/dist/{namespace-BhVlHfoO.d.mts → namespace-UCwUrFRx.d.mts} +0 -0
- /package/dist/{namespace-Xp9-g_r-.mjs → namespace-kIjqar0Y.mjs} +0 -0
- /package/dist/{orchestrator-shared-pxtyNu3W.d.mts → orchestrator-shared-DrEFeZYw.d.mts} +0 -0
- /package/dist/{orchestrator-shared-DAkGOu9H.mjs → orchestrator-shared-jYk9mi5C.mjs} +0 -0
- /package/dist/{out-BB6Kb4Xu.mjs → out-B6fO6go6.mjs} +0 -0
- /package/dist/{package-BYpWkSuQ.mjs → package-3cW8oIkI.mjs} +0 -0
- /package/dist/{package-DG9GSY8M.d.mts → package-BVm1EakP.d.mts} +0 -0
- /package/dist/{providers-namespace-O4de1tgO.d.mts → providers-namespace-Bl3M8Ibo.d.mts} +0 -0
- /package/dist/{quick-lru-BLaSzINB.mjs → quick-lru-Coxb6GVa.mjs} +0 -0
- /package/dist/{registry-TJjQgTgp.mjs → registry-ElIHcMM2.mjs} +0 -0
- /package/dist/{schema-CxN7d_MU.d.mts → schema-DOPEco97.d.mts} +0 -0
- /package/dist/{schemas-9QJf1FtS.d.mts → schemas-B3K1ekm7.d.mts} +0 -0
- /package/dist/{schemas-jDRSOXJL.d.mts → schemas-BKgUDm_a2.d.mts} +0 -0
- /package/dist/{schemas-OaBqeEUT.d.mts → schemas-BLJ2k226.d.mts} +0 -0
- /package/dist/{schemas-XRhqOgVE.d.mts → schemas-CVbfHPw-.d.mts} +0 -0
- /package/dist/{schemas-CIO03KSD2.d.mts → schemas-Ca3BLPH5.d.mts} +0 -0
- /package/dist/{schemas-CLsbsX1W.d.mts → schemas-CzT0LApM.d.mts} +0 -0
- /package/dist/{schemas-D_9X_CRo.d.mts → schemas-DPosZWw-.d.mts} +0 -0
- /package/dist/{schemas-fRLDhefF.d.mts → schemas-D_H0ztxl.d.mts} +0 -0
- /package/dist/{schemas-qpo1Goit.d.mts → schemas-DfZ85CRF2.d.mts} +0 -0
- /package/dist/{schemas-K3Td_WdR.d.mts → schemas-Dq_g7Giu.d.mts} +0 -0
- /package/dist/{schemas-DwfTUQIa.mjs → schemas-FiDj_kLq.mjs} +0 -0
- /package/dist/{schemas-qt5QTjVc.d.mts → schemas-pl0mzEtO.d.mts} +0 -0
- /package/dist/{server-lifecycle-D-jxVr_0.mjs → server-lifecycle-DLdh0-4H.mjs} +0 -0
- /package/dist/{server-lifecycle-r5Tkk8bU.d.mts → server-lifecycle-DzO3rjKP.d.mts} +0 -0
- /package/dist/{src-Ci_WY9uw.mjs → src-Dqa1n_kI.mjs} +0 -0
- /package/dist/{storage-namespace-BzE2M4Hq.mjs → storage-namespace-B1_x8Ho2.mjs} +0 -0
- /package/dist/{storage-namespace-DWKFqEW-.d.mts → storage-namespace-D4yQ--Sp.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BZJGSaX3.d.mts → storage-namespace-definition-BzSaRLtZ.d.mts} +0 -0
- /package/dist/{supports-color-Dzp6WuF5.mjs → supports-color-CCdGjFUY.mjs} +0 -0
- /package/dist/{tool-approval-service-Dh0XI21f.mjs → tool-approval-service-BgSn_6NT.mjs} +0 -0
- /package/dist/{tray-menu-service-Bonl2KXf.mjs → tray-menu-service-BJ9r7IY3.mjs} +0 -0
- /package/dist/{types-BCW9kr4L.d.mts → types-B9QOZAZ5.d.mts} +0 -0
- /package/dist/{types-DWNoZ3Sd.d.mts → types-Bgb8eQkd.d.mts} +0 -0
- /package/dist/{types-DvKaEOOn.d.mts → types-C8_OhAFv.d.mts} +0 -0
- /package/dist/{types-CrJ7KEZ0.d.mts → types-Diu9uAnB.d.mts} +0 -0
- /package/dist/{window-registry-WsWu-rcK.d.mts → window-registry-CHv3cgSN.d.mts} +0 -0
|
@@ -1,234 +1,57 @@
|
|
|
1
|
-
import { c as ResolveIdResponse, d as ResolveNameRequestSchema, f as ResolveNameResponse, l as ResolveIdResponseSchema, o as ResolveIdRequest, p as ResolveNameResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveNameRequest } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-
|
|
4
|
-
import { p as BindingRecord } from "../schemas-
|
|
5
|
-
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-
|
|
6
|
-
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-
|
|
7
|
-
import { t as CapabilityService } from "../index-
|
|
8
|
-
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-
|
|
9
|
-
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-
|
|
10
|
-
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-
|
|
11
|
-
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-
|
|
12
|
-
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-
|
|
13
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
14
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
15
|
-
import { B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, j as ContainerStarted, n as ContainerSpawnSubjects, q as StopRequest, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../index-
|
|
16
|
-
import { $t as RecoveryConfig, A as SelectTurn, At as registerMemorySessionStorage, Bt as normalizeSelectionString, C as MessageRoutingSubjects, Ct as fetchPreviewBySession, D as registerMemoryMessageStorage, Dt as registerDrizzleAgentStorage, E as messages, Et as registerFtsSearchHandler, F as EmbeddingIndexManager, Ft as SessionBridge, Gt as actionRegistry, Ht as registerListActionsHandler, I as registerDrizzleImportCursorStorage, It as assembleForkContext, Jt as ContextWindowTracker, Kt as registerGetStatusCountsHandler, L as importCursors, Lt as FallbackRuntimeOptions, M as turnsDual, Mt as AgentStorageSubjects, N as registerMemoryTurnStorage, Nt as SessionExtensionContextImpl, O as registerDrizzleMessageStorage, Ot as registerMemoryAgentStorage, P as registerDrizzleTurnStorage, Pt as createSessionExtensionContext, Qt as buildTurnInitiator, R as importCursorsDual, Rt as pickFallbackRuntimeOptions, S as MessageRoutingNamespace, St as fetchMessageCountsBySession, T as SelectMessage, Tt as parseForkTransforms, Ut as registerBuiltInActions, Vt as resolveAdapterNameById, Wt as resetBuiltInActionsRegistration, Xt as ContextWindowTrackerConfig, Yt as AgentContextState, Zt as SessionContextWindowState, _ as InsertMessageRouting, _n as SessionOrchestrator, _t as mapAgentsBySession, a as buildSessionContext, an as buildRecoveryContext, b as messageRoutingDual, bt as SearchSessionRow, c as kindToBranchKind, cn as resolveModelCapabilities, ct as registerDrizzleSessionEventStorage, d as registerSpawningToolCallResolver, dn as resolveTargetAgents, dt as SelectSessionEvent, en as buildRecoveryContextWithPipeline, et as EventTransform, f as registerCompressLineageResolver, fn as extractTextContent, ft as sessionEvents, g as StartTurnOptions, gn as ISessionOrchestrator, gt as fetchSessionPreviewMaps, h as MakaioSessionConfig, hn as AdapterRegistry, ht as SessionPreviewMaps, i as getFullConversation, in as verifyAndRecoverAgents, j as turns, jt as AgentStorageNamespace, k as InsertTurn, kt as registerDrizzleSessionStorage, ln as findTurnByAgent, lt as registerMemorySessionEventStorage, m as MakaioSession, mn as TurnContextEnricher, nn as ensureAgentModel, o as BuildContextOptions, on as resolveAdapterId, p as registerParentResolver, pn as normalizeToBlocks, pt as sessionEventsDual, qt as registerResumeHandler, rn as recoverAgent, s as ContextAssemblyResult, sn as resolveExecutionTarget, tn as ensureAgentCwd, un as getOrCreateSession, ut as InsertSessionEvent, v as SelectMessageRouting, vn as registerCoreSessionServiceHandlers, vt as mapToSession, w as InsertMessage, wt as mapRowToSession, x as registerDrizzleMessageRoutingStorage, xt as fetchAgentsBySession, y as messageRouting, yn as MakaioSessionService, yt as SearchFilters, zt as CONNECTOR_SWAP_DEFAULT_PIPELINE } from "../index-
|
|
17
|
-
import { a as registerCompressHandler, c as SessionTurnManager, d as TurnContext, f as TurnPairStateChange, i as registerForkHandler, l as Turn, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnPairTerminalOutcome, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnConfig } from "../index-
|
|
18
|
-
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-
|
|
19
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
20
|
-
import { a as agents, s as sessions } from "../schema-
|
|
21
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
22
|
-
import { t as TurnStorageNamespace } from "../namespace-
|
|
23
|
-
import { n as TurnStorageSubjects } from "../namespace-
|
|
24
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { n as
|
|
30
|
-
import {
|
|
31
|
-
import { a as
|
|
32
|
-
import { a as
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
35
|
-
import { n as
|
|
1
|
+
import { c as ResolveIdResponse, d as ResolveNameRequestSchema, f as ResolveNameResponse, l as ResolveIdResponseSchema, o as ResolveIdRequest, p as ResolveNameResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveNameRequest } from "../schemas-pl0mzEtO.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-UCwUrFRx.mjs";
|
|
3
|
+
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-TWs1TQ2-.mjs";
|
|
4
|
+
import { p as BindingRecord } from "../schemas-Dq_g7Giu.mjs";
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-BLJ2k226.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-Bldr5X64.mjs";
|
|
7
|
+
import { t as CapabilityService } from "../index-ChsmMZmN.mjs";
|
|
8
|
+
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CddQuUvG.mjs";
|
|
9
|
+
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-D_H0ztxl.mjs";
|
|
10
|
+
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-B3K1ekm7.mjs";
|
|
11
|
+
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-SwgMs4rw.mjs";
|
|
12
|
+
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B9QOZAZ5.mjs";
|
|
13
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-CzT0LApM.mjs";
|
|
14
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CU1jSw6E.mjs";
|
|
15
|
+
import { B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, j as ContainerStarted, n as ContainerSpawnSubjects, q as StopRequest, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../index-Du-AJm69.mjs";
|
|
16
|
+
import { $t as RecoveryConfig, A as SelectTurn, At as registerMemorySessionStorage, Bt as normalizeSelectionString, C as MessageRoutingSubjects, Ct as fetchPreviewBySession, D as registerMemoryMessageStorage, Dt as registerDrizzleAgentStorage, E as messages, Et as registerFtsSearchHandler, F as EmbeddingIndexManager, Ft as SessionBridge, Gt as actionRegistry, Ht as registerListActionsHandler, I as registerDrizzleImportCursorStorage, It as assembleForkContext, Jt as ContextWindowTracker, Kt as registerGetStatusCountsHandler, L as importCursors, Lt as FallbackRuntimeOptions, M as turnsDual, Mt as AgentStorageSubjects, N as registerMemoryTurnStorage, Nt as SessionExtensionContextImpl, O as registerDrizzleMessageStorage, Ot as registerMemoryAgentStorage, P as registerDrizzleTurnStorage, Pt as createSessionExtensionContext, Qt as buildTurnInitiator, R as importCursorsDual, Rt as pickFallbackRuntimeOptions, S as MessageRoutingNamespace, St as fetchMessageCountsBySession, T as SelectMessage, Tt as parseForkTransforms, Ut as registerBuiltInActions, Vt as resolveAdapterNameById, Wt as resetBuiltInActionsRegistration, Xt as ContextWindowTrackerConfig, Yt as AgentContextState, Zt as SessionContextWindowState, _ as InsertMessageRouting, _n as SessionOrchestrator, _t as mapAgentsBySession, a as buildSessionContext, an as buildRecoveryContext, b as messageRoutingDual, bt as SearchSessionRow, c as kindToBranchKind, cn as resolveModelCapabilities, ct as registerDrizzleSessionEventStorage, d as registerSpawningToolCallResolver, dn as resolveTargetAgents, dt as SelectSessionEvent, en as buildRecoveryContextWithPipeline, et as EventTransform, f as registerCompressLineageResolver, fn as extractTextContent, ft as sessionEvents, g as StartTurnOptions, gn as ISessionOrchestrator, gt as fetchSessionPreviewMaps, h as MakaioSessionConfig, hn as AdapterRegistry, ht as SessionPreviewMaps, i as getFullConversation, in as verifyAndRecoverAgents, j as turns, jt as AgentStorageNamespace, k as InsertTurn, kt as registerDrizzleSessionStorage, ln as findTurnByAgent, lt as registerMemorySessionEventStorage, m as MakaioSession, mn as TurnContextEnricher, nn as ensureAgentModel, o as BuildContextOptions, on as resolveAdapterId, p as registerParentResolver, pn as normalizeToBlocks, pt as sessionEventsDual, qt as registerResumeHandler, rn as recoverAgent, s as ContextAssemblyResult, sn as resolveExecutionTarget, tn as ensureAgentCwd, un as getOrCreateSession, ut as InsertSessionEvent, v as SelectMessageRouting, vn as registerCoreSessionServiceHandlers, vt as mapToSession, w as InsertMessage, wt as mapRowToSession, x as registerDrizzleMessageRoutingStorage, xt as fetchAgentsBySession, y as messageRouting, yn as MakaioSessionService, yt as SearchFilters, zt as CONNECTOR_SWAP_DEFAULT_PIPELINE } from "../index-CSyR9Fie2.mjs";
|
|
17
|
+
import { a as registerCompressHandler, c as SessionTurnManager, d as TurnContext, f as TurnPairStateChange, i as registerForkHandler, l as Turn, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnPairTerminalOutcome, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnConfig } from "../index-DAVLhzkq.mjs";
|
|
18
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-ChB3K_a12.mjs";
|
|
19
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Bogua97s.mjs";
|
|
20
|
+
import { a as agents, s as sessions } from "../schema-DOPEco97.mjs";
|
|
21
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-CpSZfHLv.mjs";
|
|
22
|
+
import { t as TurnStorageNamespace } from "../namespace-BTp6-zD8.mjs";
|
|
23
|
+
import { n as TurnStorageSubjects } from "../namespace-BwAiuQ2_.mjs";
|
|
24
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-C_phrzqu2.mjs";
|
|
25
|
+
import { y as ArtifactSchemaRegistry } from "../packages-BBJsifai.mjs";
|
|
26
|
+
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-BrvsExEF.mjs";
|
|
27
|
+
import { t as ToolApprovalService } from "../index-BRdPSBFH2.mjs";
|
|
28
|
+
import { t as TrayMenuService } from "../index-C2PHX5Em.mjs";
|
|
29
|
+
import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-DfZ85CRF2.mjs";
|
|
30
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-BqlDkdht2.mjs";
|
|
31
|
+
import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-Jec13bI-2.mjs";
|
|
32
|
+
import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-BcqWLD6J.mjs";
|
|
33
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-BKgUDm_a2.mjs";
|
|
34
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-D4yQ--Sp.mjs";
|
|
35
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-Ca3BLPH5.mjs";
|
|
36
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-CzZmsumy.mjs";
|
|
36
37
|
import * as _$zod from "zod";
|
|
37
38
|
import { z } from "zod";
|
|
38
39
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
39
40
|
import { MakaioError } from "@makaio/framework/core";
|
|
40
41
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
41
42
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
42
|
-
import { AgentResolutionContext, ArtifactContextSelector, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRef, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock,
|
|
43
|
+
import { AgentResolutionContext, ArtifactContextSelector, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRef, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, ResolvableCanonicalModel, ResolvedArtifactContextWire, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } from "@makaio/framework/contracts";
|
|
43
44
|
import { BaseService } from "@makaio/framework/service-base";
|
|
44
45
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
45
46
|
import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
|
|
46
47
|
import * as _$_makaio_ai_adapters_core0 from "@makaio/framework/adapters";
|
|
47
48
|
import { FacetNamespaceRegistration } from "@makaio/framework/contracts/facet";
|
|
48
|
-
import { SurfaceBindingRegistration } from "@makaio/framework/contracts/materialization";
|
|
49
49
|
import { Condition } from "@makaio/framework/rules";
|
|
50
50
|
import { GitService } from "@makaio/framework/git";
|
|
51
51
|
import { ContributionProcessor } from "@makaio/framework/kernel";
|
|
52
52
|
import * as _$type_fest0 from "type-fest";
|
|
53
53
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
54
54
|
|
|
55
|
-
//#region services/core/src/artifact/artifact-schema-registry.d.ts
|
|
56
|
-
/**
|
|
57
|
-
* Identifies the provenance tier of a kind contributor.
|
|
58
|
-
*
|
|
59
|
-
* - `'extension'` — registered by a runtime extension; highest priority
|
|
60
|
-
* - `'factory-repo'` — declared in a factory-owned repository; medium priority
|
|
61
|
-
* - `'target-repo'` — declared in a target/application repository; lowest priority
|
|
62
|
-
*/
|
|
63
|
-
type ArtifactKindRegistrationSource = 'extension' | 'factory-repo' | 'target-repo';
|
|
64
|
-
/**
|
|
65
|
-
* Identifies the entity that owns a batch of kind registrations.
|
|
66
|
-
*
|
|
67
|
-
* `ownerKey` is an opaque, owner-defined string that uniquely distinguishes
|
|
68
|
-
* one owner from all others at the same source tier (e.g. the extension
|
|
69
|
-
* name, or the repository slug).
|
|
70
|
-
*/
|
|
71
|
-
interface ArtifactKindRegistrationOwner {
|
|
72
|
-
/** Provenance tier of the contributing entity. */
|
|
73
|
-
readonly source: ArtifactKindRegistrationSource;
|
|
74
|
-
/** Stable identifier for this specific owner within its source tier. */
|
|
75
|
-
readonly ownerKey: string;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* In-process registry for artifact kind definitions and relation type vocabulary.
|
|
79
|
-
*
|
|
80
|
-
* Exposes bus RPCs for kind and relation-type registration and listing, and
|
|
81
|
-
* emits `artifact.kind.changed` events when a kind registration is stored,
|
|
82
|
-
* updated, or removed. Core relation vocabulary is seeded during `init()`.
|
|
83
|
-
*
|
|
84
|
-
* Extensions register artifact kinds through this service directly or via
|
|
85
|
-
* {@link ArtifactSubjects}; the registry rejects conflicting duplicate
|
|
86
|
-
* relation type definitions.
|
|
87
|
-
*
|
|
88
|
-
* ### Ownership and priority
|
|
89
|
-
*
|
|
90
|
-
* Each kind slot may have multiple contributing owners. The active registration
|
|
91
|
-
* is the one from the highest-priority owner. Priority order (highest → lowest):
|
|
92
|
-
* `extension` → `factory-repo` → `target-repo`.
|
|
93
|
-
*
|
|
94
|
-
* Within the `extension` tier, the most recently registered owner wins (LIFO).
|
|
95
|
-
* Within `factory-repo` and `target-repo`, the first registration wins (FIFO),
|
|
96
|
-
* and a same-tier duplicate from a different owner is rejected with a warning.
|
|
97
|
-
*
|
|
98
|
-
* When the winning owner deregisters, the next-highest owner automatically
|
|
99
|
-
* becomes active without requiring a re-registration.
|
|
100
|
-
*/
|
|
101
|
-
declare class ArtifactSchemaRegistry extends BaseService {
|
|
102
|
-
/**
|
|
103
|
-
* Winner cache: the currently active registration for each kind key.
|
|
104
|
-
* Kept in sync with `kindContributions` via `recomputeKindWinner`.
|
|
105
|
-
*/
|
|
106
|
-
private readonly kinds;
|
|
107
|
-
/**
|
|
108
|
-
* All contributions indexed by `kindKey → ownerId → contribution`.
|
|
109
|
-
* The winner cache is derived from this map.
|
|
110
|
-
*/
|
|
111
|
-
private readonly kindContributions;
|
|
112
|
-
/** Monotone counter for contribution insertion order. */
|
|
113
|
-
private nextKindContributionOrder;
|
|
114
|
-
private readonly relationTypes;
|
|
115
|
-
/**
|
|
116
|
-
* @param bus - Bus instance used for handler registration and event emission.
|
|
117
|
-
*/
|
|
118
|
-
constructor(bus: IMakaioBus);
|
|
119
|
-
/**
|
|
120
|
-
* Service initialisation hook.
|
|
121
|
-
*
|
|
122
|
-
* Seeds core relation vocabulary and registers bus handlers for the
|
|
123
|
-
* artifact kind and relation-type RPCs.
|
|
124
|
-
*/
|
|
125
|
-
protected onInit(): Promise<void>;
|
|
126
|
-
/**
|
|
127
|
-
* Compares two contributions to determine their relative priority.
|
|
128
|
-
*
|
|
129
|
-
* Returns a negative number when `a` should rank above `b` (win), positive
|
|
130
|
-
* when `b` should rank above `a`, and zero when they are equivalent.
|
|
131
|
-
*
|
|
132
|
-
* Within the `extension` tier, the most recently registered contribution
|
|
133
|
-
* wins (descending order). For all other tiers, the earliest registration
|
|
134
|
-
* wins (ascending order).
|
|
135
|
-
* @param a - First contribution.
|
|
136
|
-
* @param b - Second contribution.
|
|
137
|
-
* @returns Sort comparator value.
|
|
138
|
-
*/
|
|
139
|
-
private compareKindContributions;
|
|
140
|
-
/**
|
|
141
|
-
* Find an existing same-tier repo contribution that owns a kind slot.
|
|
142
|
-
*
|
|
143
|
-
* Repo-sourced kinds are first-wins within their tier; this helper keeps
|
|
144
|
-
* single registration and owner-batch replacement on the same collision rule.
|
|
145
|
-
* @param contributions - Current contributions for the kind slot.
|
|
146
|
-
* @param owner - Candidate owner being registered.
|
|
147
|
-
* @param candidateOrder - Ordering value the candidate would retain or receive.
|
|
148
|
-
* @returns Conflicting contribution, or `undefined` when the candidate can register.
|
|
149
|
-
*/
|
|
150
|
-
private findSameTierRepoConflict;
|
|
151
|
-
/**
|
|
152
|
-
* Recomputes the winner for a kind slot from its current contributions and
|
|
153
|
-
* emits a `kind.changed` event when the active registration changes.
|
|
154
|
-
* @param key - Composite kind key produced by {@link kindKey}.
|
|
155
|
-
*/
|
|
156
|
-
private recomputeKindWinner;
|
|
157
|
-
/**
|
|
158
|
-
* Emits a `kind.changed` event derived from a composite key, but only
|
|
159
|
-
* when there was a previous registration to signal the change against.
|
|
160
|
-
* @param key - Composite kind key produced by {@link kindKey}.
|
|
161
|
-
* @param previous - The registration that was previously active, if any.
|
|
162
|
-
*/
|
|
163
|
-
private emitKindChangedFromKey;
|
|
164
|
-
/**
|
|
165
|
-
* Store a kind registration attributed to `owner`, applying source-priority
|
|
166
|
-
* resolution when multiple owners contribute the same kind slot.
|
|
167
|
-
*
|
|
168
|
-
* Bus RPC registrations (without an explicit owner) are attributed to
|
|
169
|
-
* {@link EXTENSION_BUS_OWNER} and treated as extension-tier contributions.
|
|
170
|
-
*
|
|
171
|
-
* Same-tier repo conflicts (two distinct factory-repo or target-repo owners
|
|
172
|
-
* for the same slot) are rejected with a console warning; the first owner
|
|
173
|
-
* registered at that tier retains ownership.
|
|
174
|
-
* @param registration - Kind registration payload.
|
|
175
|
-
* @param owner - Owner identity. Defaults to the extension bus owner.
|
|
176
|
-
*/
|
|
177
|
-
registerKind(registration: ArtifactKindRegistration, owner?: ArtifactKindRegistrationOwner): void;
|
|
178
|
-
/**
|
|
179
|
-
* Remove a kind registration by `kind + schemaVersion` for the given owner.
|
|
180
|
-
*
|
|
181
|
-
* If the deregistered owner was the active winner, the next-highest owner
|
|
182
|
-
* automatically becomes active. Bus RPC callers without an explicit owner
|
|
183
|
-
* are attributed to {@link EXTENSION_BUS_OWNER}.
|
|
184
|
-
* @param kind - Kind discriminator string.
|
|
185
|
-
* @param schemaVersion - Schema version string.
|
|
186
|
-
* @param owner - Owner identity. Defaults to the extension bus owner.
|
|
187
|
-
*/
|
|
188
|
-
deregisterKind(kind: string, schemaVersion: string, owner?: ArtifactKindRegistrationOwner): void;
|
|
189
|
-
/**
|
|
190
|
-
* Atomically replace all kind registrations for a single owner.
|
|
191
|
-
*
|
|
192
|
-
* All existing contributions from `owner` are removed across every kind
|
|
193
|
-
* slot before the new registrations are applied. Kind slots affected by
|
|
194
|
-
* the replacement recompute their winner after all changes are applied.
|
|
195
|
-
*
|
|
196
|
-
* Other owners' contributions are unaffected.
|
|
197
|
-
* @param owner - The owner whose registrations are being replaced.
|
|
198
|
-
* @param registrations - The new set of kind registrations for this owner.
|
|
199
|
-
*/
|
|
200
|
-
replaceKindRegistrationsForOwner(owner: ArtifactKindRegistrationOwner, registrations: readonly ArtifactKindRegistration[]): void;
|
|
201
|
-
/**
|
|
202
|
-
* Store a relation type registration.
|
|
203
|
-
*
|
|
204
|
-
* An identical re-registration (same type and symmetry) is silently accepted.
|
|
205
|
-
* A registration that differs only in symmetry is rejected with an error.
|
|
206
|
-
* @param registration - Relation type registration payload received from the bus RPC.
|
|
207
|
-
* @throws If a conflicting registration for the same type already exists.
|
|
208
|
-
*/
|
|
209
|
-
private storeRelationType;
|
|
210
|
-
/**
|
|
211
|
-
* Look up a kind registration by kind string and schema version.
|
|
212
|
-
* @param kind - Kind discriminator string.
|
|
213
|
-
* @param schemaVersion - Schema version string.
|
|
214
|
-
* @returns The registration record, or `undefined` if not found.
|
|
215
|
-
*/
|
|
216
|
-
getKind(kind: string, schemaVersion: string): ArtifactKindRegistration | undefined;
|
|
217
|
-
/**
|
|
218
|
-
* Look up a relation type registration by type string.
|
|
219
|
-
* @param type - Relation type string.
|
|
220
|
-
* @returns The registration record, or `undefined` if not found.
|
|
221
|
-
*/
|
|
222
|
-
getRelationType(type: string): RelationTypeRegistration | undefined;
|
|
223
|
-
/**
|
|
224
|
-
* Service teardown hook.
|
|
225
|
-
*
|
|
226
|
-
* Clears all in-memory registrations so the instance can be garbage-collected
|
|
227
|
-
* without retaining large schema maps.
|
|
228
|
-
*/
|
|
229
|
-
protected onDestroy(): void;
|
|
230
|
-
}
|
|
231
|
-
//#endregion
|
|
232
55
|
//#region services/core/src/artifact/artifact-contribution-processor.d.ts
|
|
233
56
|
/**
|
|
234
57
|
* Create a framework-owned processor for `MakaioExtension.artifactKinds`.
|
|
@@ -569,76 +392,6 @@ declare class FacetNamespaceRegistry extends BaseService {
|
|
|
569
392
|
*/
|
|
570
393
|
declare function createFacetNamespaceContributionProcessor(): ContributionProcessor;
|
|
571
394
|
//#endregion
|
|
572
|
-
//#region services/core/src/materialization/surface-binding-registry.d.ts
|
|
573
|
-
/**
|
|
574
|
-
* In-process registry for surface binding definitions.
|
|
575
|
-
*
|
|
576
|
-
* Exposes bus RPCs for surface binding registration and listing, and emits
|
|
577
|
-
* `surfaceBinding.changed` events when a binding is stored or removed. Rejects
|
|
578
|
-
* conflicting duplicate registrations (same binding `id`, different
|
|
579
|
-
* definition). Identical re-registrations are silently accepted.
|
|
580
|
-
*
|
|
581
|
-
* Extensions register surface bindings through this service directly or via
|
|
582
|
-
* {@link MaterializationSubjects}; the registry rejects conflicting duplicate
|
|
583
|
-
* binding definitions.
|
|
584
|
-
*/
|
|
585
|
-
declare class SurfaceBindingRegistry extends BaseService {
|
|
586
|
-
private readonly bindings;
|
|
587
|
-
/**
|
|
588
|
-
* @param bus - Bus instance used for handler registration and event emission.
|
|
589
|
-
*/
|
|
590
|
-
constructor(bus: IMakaioBus);
|
|
591
|
-
/**
|
|
592
|
-
* Service initialisation hook.
|
|
593
|
-
*
|
|
594
|
-
* Registers bus handlers for the surface binding registration and listing
|
|
595
|
-
* RPCs.
|
|
596
|
-
*/
|
|
597
|
-
protected onInit(): Promise<void>;
|
|
598
|
-
/**
|
|
599
|
-
* Store a surface binding registration, rejecting conflicting duplicates.
|
|
600
|
-
*
|
|
601
|
-
* An identical re-registration (same `id` and all fields) is silently
|
|
602
|
-
* accepted. A registration that differs in any field is rejected with an error.
|
|
603
|
-
*
|
|
604
|
-
* The bus RPC handler delegates here; the contribution processor also calls
|
|
605
|
-
* this directly.
|
|
606
|
-
* @param registration - Surface binding registration payload to store.
|
|
607
|
-
* @throws If a conflicting registration for the same binding `id` already exists.
|
|
608
|
-
*/
|
|
609
|
-
registerBinding(registration: SurfaceBindingRegistration): void;
|
|
610
|
-
/**
|
|
611
|
-
* Remove a surface binding registration by stable identifier.
|
|
612
|
-
* @param id - Surface binding identifier to remove.
|
|
613
|
-
*/
|
|
614
|
-
deregisterBinding(id: string): void;
|
|
615
|
-
/**
|
|
616
|
-
* Look up a surface binding registration by its stable identifier.
|
|
617
|
-
* @param id - Surface binding identifier to look up.
|
|
618
|
-
* @returns The registration record, or `undefined` if not found.
|
|
619
|
-
*/
|
|
620
|
-
getBinding(id: string): SurfaceBindingRegistration | undefined;
|
|
621
|
-
/**
|
|
622
|
-
* Service teardown hook.
|
|
623
|
-
*
|
|
624
|
-
* Clears all in-memory registrations so the instance can be garbage-collected
|
|
625
|
-
* without retaining large registration maps.
|
|
626
|
-
*/
|
|
627
|
-
protected onDestroy(): void;
|
|
628
|
-
}
|
|
629
|
-
//#endregion
|
|
630
|
-
//#region services/core/src/materialization/surface-binding-contribution-processor.d.ts
|
|
631
|
-
/**
|
|
632
|
-
* Create a framework-owned processor for `MakaioExtension.surfaceBindings`.
|
|
633
|
-
*
|
|
634
|
-
* Iterates over each declared {@link SurfaceBindingDefinition} and registers
|
|
635
|
-
* it directly with the {@link SurfaceBindingRegistry} service. Missing registry
|
|
636
|
-
* is a hard composition error — ensure `surfaceBindingRegistryPackage` is
|
|
637
|
-
* started before extensions that declare surface bindings.
|
|
638
|
-
* @returns Awaited contribution processor for surface binding contributions.
|
|
639
|
-
*/
|
|
640
|
-
declare function createSurfaceBindingContributionProcessor(): ContributionProcessor;
|
|
641
|
-
//#endregion
|
|
642
395
|
//#region services/core/src/workflow-blocks/workflow-block-registry.d.ts
|
|
643
396
|
/**
|
|
644
397
|
* Registry for workflow blocks contributed by extensions.
|
|
@@ -1230,6 +983,12 @@ declare class CanonicalModelService extends BaseService {
|
|
|
1230
983
|
*/
|
|
1231
984
|
declare const canonicalModelPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1232
985
|
//#endregion
|
|
986
|
+
//#region services/core/src/artifact/packages.d.ts
|
|
987
|
+
/** Token for the artifact schema registry service. */
|
|
988
|
+
declare const ArtifactSchemaRegistryToken: _$_makaio_contracts0.ExtensionToken<ArtifactSchemaRegistry>;
|
|
989
|
+
/** Package that starts the framework artifact schema registry. */
|
|
990
|
+
declare const artifactSchemaRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
991
|
+
//#endregion
|
|
1233
992
|
//#region services/core/src/framework-packages.d.ts
|
|
1234
993
|
/** Token for the session storage package. */
|
|
1235
994
|
declare const SessionStorageToken: _$_makaio_contracts0.ExtensionToken<never>;
|
|
@@ -1253,22 +1012,14 @@ declare const ModelRegistryToken: _$_makaio_contracts0.ExtensionToken<ModelRegis
|
|
|
1253
1012
|
declare const WorkflowBlockRegistryToken: _$_makaio_contracts0.ExtensionToken<WorkflowBlockRegistry>;
|
|
1254
1013
|
/** Token for the transition pipeline service. */
|
|
1255
1014
|
declare const TransitionPipelineToken: _$_makaio_contracts0.ExtensionToken<TransitionPipelineService>;
|
|
1256
|
-
/** Token for the artifact schema registry service. */
|
|
1257
|
-
declare const ArtifactSchemaRegistryToken: _$_makaio_contracts0.ExtensionToken<ArtifactSchemaRegistry>;
|
|
1258
1015
|
/** Token for the artifact lifecycle hook registry service. */
|
|
1259
1016
|
declare const ArtifactLifecycleHookRegistryToken: _$_makaio_contracts0.ExtensionToken<ArtifactLifecycleHookRegistry>;
|
|
1260
1017
|
/** Token for the facet namespace registry service. */
|
|
1261
1018
|
declare const FacetNamespaceRegistryToken: _$_makaio_contracts0.ExtensionToken<FacetNamespaceRegistry>;
|
|
1262
|
-
/** Token for the surface binding registry service. */
|
|
1263
|
-
declare const SurfaceBindingRegistryToken: _$_makaio_contracts0.ExtensionToken<SurfaceBindingRegistry>;
|
|
1264
|
-
/** Package that starts the framework artifact schema registry. */
|
|
1265
|
-
declare const artifactSchemaRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1266
1019
|
/** Package that starts the framework artifact lifecycle hook registry. */
|
|
1267
1020
|
declare const artifactLifecycleHookRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1268
1021
|
/** Package that starts the framework facet namespace registry. */
|
|
1269
1022
|
declare const facetNamespaceRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1270
|
-
/** Package that starts the framework surface binding registry. */
|
|
1271
|
-
declare const surfaceBindingRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1272
1023
|
/** Package that registers framework session storage handlers. */
|
|
1273
1024
|
declare const sessionStoragePackage: MakaioNodeExtension<IMakaioBus>;
|
|
1274
1025
|
/** Package that bridges agent events into session storage. */
|
|
@@ -4557,8 +4308,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4557
4308
|
ruleId: _$zod.ZodString;
|
|
4558
4309
|
changeType: _$zod.ZodEnum<{
|
|
4559
4310
|
updated: "updated";
|
|
4560
|
-
created: "created";
|
|
4561
4311
|
deleted: "deleted";
|
|
4312
|
+
created: "created";
|
|
4562
4313
|
}>;
|
|
4563
4314
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
4564
4315
|
scope: _$zod.ZodEnum<{
|
|
@@ -5415,6 +5166,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5415
5166
|
name: _$zod.ZodString;
|
|
5416
5167
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5417
5168
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5169
|
+
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5418
5170
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
5419
5171
|
"file.read": "file.read";
|
|
5420
5172
|
"file.write": "file.write";
|
|
@@ -5436,7 +5188,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5436
5188
|
"always-ask": "always-ask";
|
|
5437
5189
|
"full-access": "full-access";
|
|
5438
5190
|
}>>>;
|
|
5439
|
-
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5440
5191
|
approvalPolicy: _$zod.ZodEnum<{
|
|
5441
5192
|
reject: "reject";
|
|
5442
5193
|
"always-ask": "always-ask";
|
|
@@ -7827,4 +7578,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7827
7578
|
};
|
|
7828
7579
|
}>];
|
|
7829
7580
|
//#endregion
|
|
7830
|
-
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, type ArtifactContextKindRegistry, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema,
|
|
7581
|
+
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, type ArtifactContextKindRegistry, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnPairStateChange, type TurnPairTerminalOutcome, type TurnResult, TurnStorageNamespace, TurnStorageSubjects, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createSessionExtensionContext, createSubagentServicePackage, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionEventsDual, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, turnsDual, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{n,t as r}from"../schema-cus0dJ81.mjs";import{t as i}from"../schema-BI0aCHvV.mjs";import{i as a,n as o,r as s,t as c}from"../namespace-DwQtzlY-.mjs";import{A as l,B as u,C as d,D as f,E as p,F as m,M as h,N as ee,O as te,P as g,S as ne,T as re,V as ie,_ as ae,a as oe,b as se,c as ce,d as le,f as ue,g as de,h as fe,i as pe,j as me,k as he,l as ge,m as _e,n as ve,o as ye,p as be,r as xe,s as Se,t as Ce,u as we,v as Te,w as Ee,y as De}from"../handlers-RGs3eC9X.mjs";import{TurnStorageNamespace as Oe,TurnStorageSubjects as ke}from"./turn/namespace.mjs";import{SessionStorageNamespace as Ae,SessionStorageSubjects as je}from"./session/storage/namespace.mjs";import{$ as Me,A as Ne,B as _,C as v,D as y,E as b,F as Pe,G as Fe,H as Ie,I as Le,J as x,K as Re,L as ze,M as Be,N as Ve,O as He,Q as Ue,R as We,S as Ge,T as Ke,U as qe,V as Je,W as Ye,X as Xe,Y as Ze,Z as Qe,a as $e,b as et,c as tt,et as nt,i as rt,j as it,k as at,l as ot,nt as st,o as ct,q as lt,r as ut,s as dt,t as ft,tt as pt,u as mt,w as ht,x as gt,z as _t}from"../session-CAjudDuJ.mjs";import{t as vt}from"../namespace-D7pE2QWv.mjs";import{ProviderStorageNamespace as yt}from"./settings/storage/providers-namespace.mjs";import{a as bt,o as xt,r as St,t as Ct}from"../provider-context-BYkMl--1.mjs";import{AdapterRuntimeSchemas as wt,ResolveIdRequestSchema as Tt,ResolveIdResponseSchema as Et,ResolveNameRequestSchema as Dt,ResolveNameResponseSchema as Ot}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as S,AdapterRuntimeSubjects as kt}from"./adapter-runtime/namespace.mjs";import{A as At,C as jt,M as Mt,N as Nt,O as Pt,T as Ft,_ as It,a as Lt,b as Rt,c as zt,i as Bt,j as Vt,k as Ht,l as Ut,n as Wt,o as Gt,r as Kt,s as qt,t as Jt,v as Yt,w as Xt,x as Zt,y as Qt}from"../schemas-C-J4W1ID.mjs";import{ExecutionTargetNamespace as C,ExecutionTargetSubjects as $t}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as en,MessageStorageSubjects as tn}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as nn}from"./session/turns/namespace.mjs";import{BugEntrySchema as rn,CompressRequestSchema as an,CompressResponseSchema as on,CompressionEventSchema as sn,CompressionSchemas as cn,ExtractedContextSchema as ln,TechnicalDetailsSchema as un,TodoEntrySchema as dn}from"./compression/schemas.mjs";import{PreferenceItemSchema as fn,PreferenceKeySchema as pn,PreferenceValueSchema as mn,PreferencesSchemas as hn}from"./preferences/schemas.mjs";import{PreferencesNamespace as w,PreferencesSubjects as gn}from"./preferences/storage-namespace.mjs";import{t as _n}from"../namespace-DDx4NVJm.mjs";import{A as vn,B as yn,C as bn,D as xn,E as Sn,F as Cn,G as wn,H as Tn,I as En,J as Dn,K as On,L as kn,M as An,N as jn,O as Mn,P as Nn,R as Pn,S as Fn,T as In,U as Ln,V as Rn,W as zn,Y as T,_ as Bn,a as E,b as Vn,c as Hn,d as Un,f as Wn,g as D,h as Gn,i as O,j as Kn,k as qn,l as Jn,m as Yn,o as Xn,p as k,q as Zn,r as Qn,s as A,u as $n,v as j,w as er,x as tr,y as nr,z as rr}from"../tools-PC_L6g2m.mjs";import{t as ir}from"../capability-service-Dg2bU8qc.mjs";import{a as ar,c as or,i as sr,l as cr,n as lr,o as M,r as ur,s as dr,t as fr,u as pr}from"../model-registry-C8MInDtX.mjs";import{t as mr}from"../tool-approval-service-Dh0XI21f.mjs";import{TrayMenuEntrySchema as hr,TrayMenuGroupEntrySchema as gr,TrayMenuGroupSchema as _r,TrayMenuItemClickedSchema as vr,TrayMenuListEntrySchema as yr,TrayMenuMetadataSchema as br,TrayMenuSchemas as xr,TrayMenuSectionSchema as Sr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as N,TrayMenuSubjects as Cr}from"./tray-menu/namespace.mjs";import{t as wr}from"../tray-menu-service-Bonl2KXf.mjs";import{n as Tr}from"../handler-4pKQi3eo.mjs";import{a as Er,i as Dr,n as Or,o as kr,r as Ar,t as jr}from"../package-BYpWkSuQ.mjs";import{FsNamespace as Mr}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Nr,AgentRuntimeSchemas as Pr,AgentRuntimeSelectionSchema as Fr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as P,AgentRuntimeSubjects as Ir}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Lr,CodebaseSchemas as Rr}from"./codebase/schemas.mjs";import{CodebaseNamespace as F,CodebaseSubjects as zr}from"./codebase/namespace.mjs";import{CompressionNamespace as I,CompressionSubjects as Br}from"./compression/namespace.mjs";import{r as Vr,t as Hr}from"../storage-namespace-BzE2M4Hq.mjs";import{DefinitionNamespace as Ur}from"./definition/namespace.mjs";import{DialogNamespace as Wr}from"./dialog/namespace.mjs";import{a as Gr,i as L,n as Kr,t as qr}from"../execution-target-Bg2wpfML.mjs";import{CLIDetectionNamespace as Jr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Yr}from"./local-notification/namespace.mjs";import{t as Xr}from"../namespace-Xp9-g_r-.mjs";import{ExtensionConfigStorageNamespace as Zr}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Qr}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as $r,SubagentTemplateCreateSchema as ei,SubagentTemplateInstanceSchema as ti,SubagentTemplateInstanceStatusSchema as ni,SubagentTemplateKernelSchemas as ri,SubagentTemplateSchema as ii,SubagentTemplateSettingsSchemas as ai,SubagentTemplateSpawnRequestSchema as oi,SubagentTemplateSpawnedEventSchema as si,SubagentTemplateSummarySchema as ci,SubagentTemplateUpdateSchema as li}from"./subagent-template/schemas.mjs";import{r as ui,t as di}from"../namespace-HsI0Jbbr.mjs";import{SubagentTemplateKernelNamespace as R,SubagentTemplateSubjects as fi}from"./subagent-template/namespace.mjs";import{i as pi,n as mi,r as hi,t as gi}from"../identity-2qUT1NME.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as _i}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as vi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as yi}from"@makaio/framework/contracts/model-registry";function bi(e){return{source:`extension`,ownerKey:`extension:${e}`}}function xi(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Si(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}xi(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(E);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=bi(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ci(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function wi(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(O);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(Ci(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}async function Ti(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await B(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await z(n,r,H(await V(n,r),e.selectors),0,new Set([Z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function z(e,t,n,r,i){let a=Fi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Mi(t);for(let a of t.relations)await Ei(e,o,a,n,r,i)}async function Ei(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Di(o,n.target)){W(e,U(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){W(e,U(t,n,s,`unsupported-ref-class`));return}let c=Z(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){W(e,U(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await B(e,n.target);if(!d){W(e,U(t,n,s,`not-found`));return}if(W(e,{sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=f>0?{[n.type]:{...o,depth:f}}:void 0,m=H(H(await V(e,d),p),o.nested),h=new Set(a);h.add(c),await z(e,d,m,i+1,h)}async function B(e,t){let n=Z(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(_i.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function V(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function H(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function Di(e,t){return e?e.kinds?e.kinds.includes(Oi(t)):!0:!1}function Oi(e){return e.refClass===`local`?e.artifact.kind:e.kind}function U(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function W(e,t,n){let r=Ni(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),J(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!ki(a,ji(e,r)))return;q(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&X(n)||t.status===`unresolved`&&!G(t.reason,a.reason))return;q(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){G(t.reason,a.reason)&&q(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){q(e,i,r,t,n);return}t.status===`resolved`&&!X(n)&&Y(e,r,n)}}function ki(e,t){return e.status===`resolved`?t:G(`depth-exceeded`,e.reason)}function G(e,t){return K(e)>K(t)}function K(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function q(e,t,n,r,i){J(e,n,r,i),e.refs[t]=r}function J(e,t,n,r){if(n.status===`resolved`){Y(e,t,r);return}Ai(e,t)}function Y(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Ai(e,t){e.refMetadataByKey.delete(t)}function ji(e,t){return X(e.refMetadataByKey.get(t))}function X(e){return e?.resolvedViaBackEdge===!0}function Mi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Z(e){return JSON.stringify([e.kind,e.id,e.revision])}function Ni(e){return JSON.stringify([Z(e.sourceRef),e.relationType,Pi(e.target)])}function Pi(e){return e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,Z(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function Fi(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Ii(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}Q(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(A);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw Q(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerBinding(e)}function Li(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerBinding(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterBinding(t.id)}$(e,n.registry)}};return{filter:e=>(e.surfaceBindings?.bindings?.length??0)>0,async processActivated(r,i,a){let o=a.getService(k);if(!o)throw Error(`SurfaceBindingRegistry is not available — ensure surface-binding-registry is started before extensions with surfaceBindings.`);let s=(i.surfaceBindings?.bindings??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerBinding(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterBinding(l[e].id);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[SurfaceBindingContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ri(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(j);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function zi(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(D);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${D.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&Bi(t,a),c&&Vi(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Bi(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function Vi(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const Hi=[S,vt,P,g,Jr,Qr,F,I,Vr,Hr,Ur,Wr,L,C,Zr,Mr,Tr,vi,Yr,x,M,yi,w,Xr,yt,_n,di,N,Oe,R,ui];export{gi as AdapterIdentityRegistry,nt as AdapterRegistry,S as AdapterRuntimeNamespace,wt as AdapterRuntimeSchemas,kt as AdapterRuntimeSubjects,Nr as AgentInstanceStatusSchema,P as AgentRuntimeNamespace,Pr as AgentRuntimeSchemas,Fr as AgentRuntimeSelectionSchema,Ir as AgentRuntimeSubjects,g as AgentStorageNamespace,m as AgentStorageSubjects,Zn as ArtifactLifecycleHookRegistry,O as ArtifactLifecycleHookRegistryToken,Dn as ArtifactLifecycleHookRejectedError,T as ArtifactSchemaRegistry,E as ArtifactSchemaRegistryToken,rn as BugEntrySchema,_t as CONNECTOR_SWAP_DEFAULT_PIPELINE,fr as CachedRegistryFetcher,zn as CanonicalModelResolutionError,Ln as CanonicalModelResolver,Tn as CanonicalModelService,ir as CapabilityService,Xn as CapabilityToken,Lr as CodebaseChangedEventSchema,F as CodebaseNamespace,Rr as CodebaseSchemas,zr as CodebaseSubjects,an as CompressRequestSchema,on as CompressResponseSchema,sn as CompressionEventSchema,I as CompressionNamespace,cn as CompressionSchemas,Br as CompressionSubjects,It as ContainerCreatedSchema,Yt as ContainerDestroyedSchema,Jt as ContainerIsolatedExecutionTargetSchema,Qt as ContainerIsolatedSpawnRequestSchema,Wt as ContainerLocalExecutionTargetSchema,Rt as ContainerLocalSpawnRequestSchema,Zt as ContainerRuntimeSchema,qr as ContainerSpawnNamespace,Kr as ContainerSpawnSubjects,jt as ContainerStartedSchema,Xt as ContainerStateSchema,Ft as ContainerStoppedSchema,ft as ContextWindowTracker,L as DockerNamespace,Gr as DockerSubjects,dt as EmbeddingIndexManager,Kt as ExecutionTargetInputSchema,Bt as ExecutionTargetListQuerySchema,C as ExecutionTargetNamespace,Lt as ExecutionTargetResolveRequestSchema,Gt as ExecutionTargetSchema,qt as ExecutionTargetSchemas,$t as ExecutionTargetSubjects,zt as ExecutionTargetTypeSchema,ln as ExtractedContextSchema,On as FacetNamespaceRegistry,A as FacetNamespaceRegistryToken,lr as FallbackRegistryFetcher,Hi as FrameworkServicesCoreNamespaces,Ut as LocalExecutionTargetSchema,ct as MakaioSession,pt as MakaioSessionService,x as MessageRoutingNamespace,Ze as MessageRoutingSubjects,en as MessageStorageNamespace,tn as MessageStorageSubjects,M as ModelRegistryNamespace,ur as ModelRegistryProviderNotFoundError,or as ModelRegistrySchema,cr as ModelRegistrySchemas,sr as ModelRegistryService,dr as ModelRegistrySubjects,Hn as ModelRegistryToken,fn as PreferenceItemSchema,pn as PreferenceKeySchema,mn as PreferenceValueSchema,w as PreferencesNamespace,hn as PreferencesSchemas,gn as PreferencesSubjects,Ct as ProviderContextActivationError,pr as ProviderModelOverrideSchema,Tt as ResolveIdRequestSchema,Et as ResolveIdResponseSchema,Dt as ResolveNameRequestSchema,Ot as ResolveNameResponseSchema,bt as RuntimeProviderContextResolutionError,ze as SessionBridge,Jn as SessionBridgeToken,c as SessionEventStorageNamespace,o as SessionEventStorageSubjects,Pe as SessionExtensionContextImpl,Ye as SessionOrchestrator,$n as SessionOrchestratorToken,Ae as SessionStorageNamespace,je as SessionStorageSubjects,Un as SessionStorageToken,Wn as SessionToken,Fe as SessionTurnManager,Pt as SpawnRequestSchema,Ht as SpawnResponseSchema,At as StatusRequestSchema,Vt as StatusResponseSchema,Mt as StopRequestSchema,Nt as StopResponseSchema,Dr as SubagentFailureFinalizationError,kr as SubagentManager,Er as SubagentService,jr as SubagentServiceToken,$r as SubagentTemplateCompletedEventSchema,ei as SubagentTemplateCreateSchema,ti as SubagentTemplateInstanceSchema,ni as SubagentTemplateInstanceStatusSchema,R as SubagentTemplateKernelNamespace,ri as SubagentTemplateKernelSchemas,ii as SubagentTemplateSchema,ai as SubagentTemplateSettingsSchemas,oi as SubagentTemplateSpawnRequestSchema,si as SubagentTemplateSpawnedEventSchema,fi as SubagentTemplateSubjects,ci as SubagentTemplateSummarySchema,li as SubagentTemplateUpdateSchema,wn as SurfaceBindingRegistry,k as SurfaceBindingRegistryToken,un as TechnicalDetailsSchema,dn as TodoEntrySchema,mr as ToolApprovalService,Yn as ToolApprovalToken,yn as ToolRegistry,Gn as ToolRegistryToken,kn as TransitionActionRegistry,Cn as TransitionPipelineService,D as TransitionPipelineToken,En as TransitionRuleRegistry,hr as TrayMenuEntrySchema,gr as TrayMenuGroupEntrySchema,_r as TrayMenuGroupSchema,vr as TrayMenuItemClickedSchema,yr as TrayMenuListEntrySchema,br as TrayMenuMetadataSchema,N as TrayMenuNamespace,xr as TrayMenuSchemas,Sr as TrayMenuSectionSchema,wr as TrayMenuService,Cr as TrayMenuSubjects,Bn as TrayMenuToken,Re as Turn,qe as TurnContextEnricher,nn as TurnStorageNamespace,ke as TurnStorageSubjects,Pn as WORKFLOW_START_ACTION_TYPE,rr as WorkflowBlockRegistry,j as WorkflowBlockRegistryToken,he as actionRegistry,St as activateProviderContext,e as agents,nr as artifactLifecycleHookRegistryPackage,Vn as artifactSchemaRegistryPackage,ve as assembleForkContext,mi as buildDeterministicAdapterId,f as buildRecoveryContext,ne as buildRecoveryContextWithPipeline,l as buildSessionContext,le as buildTurnInitiator,Rn as canonicalModelPackage,tr as capabilityPackage,Si as createArtifactKindContributionProcessor,wi as createArtifactLifecycleHookContributionProcessor,Ii as createFacetNamespaceContributionProcessor,Fn as createModelRegistryPackage,Le as createSessionExtensionContext,Or as createSubagentServicePackage,Li as createSurfaceBindingContributionProcessor,Qn as createToolContributionProcessor,zi as createTransitionContributionProcessor,Ri as createWorkflowBlockContributionProcessor,d as ensureAgentCwd,Ee as ensureAgentModel,fe as extractTextContent,bn as facetNamespaceRegistryPackage,gt as fetchAgentsBySession,Ge as fetchMessageCountsBySession,v as fetchPreviewBySession,He as fetchSessionPreviewMaps,ue as findTurnByAgent,er as frameworkCorePackages,te as getFullConversation,be as getOrCreateSession,ot as importCursors,mt as importCursorsDual,Ve as kindToBranchKind,at as mapAgentsBySession,ht as mapRowToSession,Ne as mapToSession,ar as mergeModelMetadata,Xe as messageRouting,Qe as messageRoutingDual,i as messages,ae as normalizeSelectionString,de as normalizeToBlocks,Ke as parseForkTransforms,We as pickFallbackRuntimeOptions,re as recoverAgent,ce as registerAbandonHandler,hi as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,oe as registerCompressHandler,rt as registerCompressLineageResolver,st as registerCoreSessionServiceHandlers,it as registerDrizzleAgentStorage,tt as registerDrizzleImportCursorStorage,lt as registerDrizzleMessageRoutingStorage,Me as registerDrizzleMessageStorage,u as registerDrizzleSessionEventStorage,y as registerDrizzleSessionStorage,se as registerDrizzleTurnStorage,pe as registerForkHandler,et as registerFtsSearchHandler,Je as registerGetStatusCountsHandler,_ as registerListActionsHandler,b as registerMemoryAgentStorage,Ue as registerMemoryMessageStorage,ie as registerMemorySessionEventStorage,Be as registerMemorySessionStorage,De as registerMemoryTurnStorage,xe as registerMergeHandler,$e as registerParentResolver,Ie as registerResumeHandler,ut as registerSpawningToolCallResolver,Se as resetBuiltInActionsRegistration,me as resolveAdapterId,Te as resolveAdapterNameById,Ti as resolveArtifactContext,pi as resolveDeterministicAdapterId,h as resolveExecutionTarget,ee as resolveModelCapabilities,xt as resolveRuntimeProviderContext,_e as resolveTargetAgents,Ce as routeToAgents,we as routeToAgentsCore,In as sessionBridgePackage,s as sessionEvents,a as sessionEventsDual,Sn as sessionOrchestratorPackage,xn as sessionPackage,Mn as sessionStoragePackage,t as sessions,Ar as subagentServicePackage,qn as surfaceBindingRegistryPackage,vn as toolApprovalPackage,Kn as toolRegistryPackage,An as transitionPipelinePackage,jn as trayMenuPackage,r as turns,n as turnsDual,p as verifyAndRecoverAgents,Nn as workflowBlockRegistryPackage};
|
|
1
|
+
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{n,t as r}from"../schema-cus0dJ81.mjs";import{t as i}from"../schema-BI0aCHvV.mjs";import{i as a,n as o,r as s,t as c}from"../namespace-DwQtzlY-.mjs";import{A as l,B as u,C as d,D as f,E as p,F as m,M as h,N as ee,O as te,P as g,S as ne,T as re,V as ie,_ as ae,a as oe,b as se,c as ce,d as le,f as ue,g as de,h as fe,i as pe,j as me,k as he,l as ge,m as _e,n as ve,o as ye,p as be,r as xe,s as Se,t as Ce,u as we,v as Te,w as Ee,y as De}from"../handlers-RGs3eC9X.mjs";import{TurnStorageNamespace as Oe,TurnStorageSubjects as ke}from"./turn/namespace.mjs";import{SessionStorageNamespace as Ae,SessionStorageSubjects as je}from"./session/storage/namespace.mjs";import{$ as _,A as v,B as y,C as b,D as x,E as S,F as Me,G as Ne,H as Pe,I as Fe,J as C,K as Ie,L as Le,M as Re,N as ze,O as Be,Q as Ve,R as He,S as Ue,T as We,U as Ge,V as Ke,W as qe,X as Je,Y as Ye,Z as Xe,a as Ze,b as Qe,c as $e,et,i as tt,j as nt,k as rt,l as it,nt as at,o as ot,q as st,r as ct,s as lt,t as ut,tt as dt,u as ft,w as pt,x as mt,z as ht}from"../session-CAjudDuJ.mjs";import{t as gt}from"../namespace-D7pE2QWv.mjs";import{ProviderStorageNamespace as _t}from"./settings/storage/providers-namespace.mjs";import{a as vt,o as yt,r as bt,t as xt}from"../provider-context-BYkMl--1.mjs";import{AdapterRuntimeSchemas as St,ResolveIdRequestSchema as Ct,ResolveIdResponseSchema as wt,ResolveNameRequestSchema as Tt,ResolveNameResponseSchema as Et}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as w,AdapterRuntimeSubjects as Dt}from"./adapter-runtime/namespace.mjs";import{A as Ot,C as kt,M as At,N as jt,O as Mt,T as Nt,_ as Pt,a as Ft,b as It,c as Lt,i as Rt,j as zt,k as Bt,l as Vt,n as Ht,o as Ut,r as Wt,s as Gt,t as Kt,v as qt,w as Jt,x as Yt,y as Xt}from"../schemas-C-J4W1ID.mjs";import{ExecutionTargetNamespace as T,ExecutionTargetSubjects as Zt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Qt,MessageStorageSubjects as $t}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as en}from"./session/turns/namespace.mjs";import{BugEntrySchema as tn,CompressRequestSchema as nn,CompressResponseSchema as rn,CompressionEventSchema as an,CompressionSchemas as on,ExtractedContextSchema as sn,TechnicalDetailsSchema as cn,TodoEntrySchema as ln}from"./compression/schemas.mjs";import{PreferenceItemSchema as un,PreferenceKeySchema as dn,PreferenceValueSchema as fn,PreferencesSchemas as pn}from"./preferences/schemas.mjs";import{PreferencesNamespace as E,PreferencesSubjects as mn}from"./preferences/storage-namespace.mjs";import{t as hn}from"../namespace-DDx4NVJm.mjs";import{_ as D,v as gn,y as _n}from"../packages-I0D3JP9L.mjs";import{A as vn,B as yn,C as bn,D as xn,E as Sn,F as Cn,H as wn,I as Tn,L as En,M as Dn,N as On,O as kn,P as An,R as jn,S as Mn,T as O,U as Nn,V as Pn,_ as Fn,a as In,b as Ln,c as Rn,d as zn,f as Bn,g as k,h as Vn,i as A,j as Hn,k as Un,l as Wn,m as j,o as M,p as Gn,r as Kn,s as qn,u as Jn,v as Yn,w as Xn,x as Zn,y as Qn,z as $n}from"../tools-CWSuNk-M.mjs";import{t as er}from"../capability-service-TCOwWrLi.mjs";import{a as tr,c as nr,i as rr,l as ir,n as ar,o as N,r as or,s as sr,t as cr,u as lr}from"../model-registry-C3NX834K.mjs";import{t as ur}from"../tool-approval-service-BgSn_6NT.mjs";import{TrayMenuEntrySchema as dr,TrayMenuGroupEntrySchema as fr,TrayMenuGroupSchema as pr,TrayMenuItemClickedSchema as mr,TrayMenuListEntrySchema as hr,TrayMenuMetadataSchema as gr,TrayMenuSchemas as _r,TrayMenuSectionSchema as vr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as P,TrayMenuSubjects as yr}from"./tray-menu/namespace.mjs";import{t as br}from"../tray-menu-service-BJ9r7IY3.mjs";import{n as xr}from"../handler-Bxs0moLY.mjs";import{a as Sr,i as Cr,n as wr,o as Tr,r as Er,t as Dr}from"../package-3cW8oIkI.mjs";import{FsNamespace as Or}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as kr,AgentRuntimeSchemas as Ar,AgentRuntimeSelectionSchema as jr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as F,AgentRuntimeSubjects as Mr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Nr,CodebaseSchemas as Pr}from"./codebase/schemas.mjs";import{CodebaseNamespace as I,CodebaseSubjects as Fr}from"./codebase/namespace.mjs";import{CompressionNamespace as L,CompressionSubjects as Ir}from"./compression/namespace.mjs";import{r as Lr,t as Rr}from"../storage-namespace-B1_x8Ho2.mjs";import{DefinitionNamespace as zr}from"./definition/namespace.mjs";import{DialogNamespace as Br}from"./dialog/namespace.mjs";import{a as Vr,i as R,n as Hr,t as Ur}from"../execution-target-D6PoGaO8.mjs";import{CLIDetectionNamespace as Wr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Gr}from"./local-notification/namespace.mjs";import{t as Kr}from"../namespace-kIjqar0Y.mjs";import{ExtensionConfigStorageNamespace as qr}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Jr}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Yr,SubagentTemplateCreateSchema as Xr,SubagentTemplateInstanceSchema as Zr,SubagentTemplateInstanceStatusSchema as Qr,SubagentTemplateKernelSchemas as $r,SubagentTemplateSchema as ei,SubagentTemplateSettingsSchemas as ti,SubagentTemplateSpawnRequestSchema as ni,SubagentTemplateSpawnedEventSchema as ri,SubagentTemplateSummarySchema as ii,SubagentTemplateUpdateSchema as ai}from"./subagent-template/schemas.mjs";import{r as oi,t as si}from"../namespace-B1_egU5J.mjs";import{SubagentTemplateKernelNamespace as z,SubagentTemplateSubjects as ci}from"./subagent-template/namespace.mjs";import{i as li,n as ui,r as di,t as fi}from"../identity-D481xSkS.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as pi}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as mi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as hi}from"@makaio/framework/contracts/model-registry";function gi(e){return{source:`extension`,ownerKey:`extension:${e}`}}function _i(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function vi(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}_i(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(D);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=gi(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function yi(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function bi(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(A);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(yi(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}async function xi(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await V(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await B(n,r,U(await H(n,r),e.selectors),0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function B(e,t,n,r,i){let a=ji(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Oi(t);for(let a of t.relations)await Si(e,o,a,n,r,i)}async function Si(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Ci(o,n.target)){G(e,W(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){G(e,W(t,n,s,`unsupported-ref-class`));return}let c=Q(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){G(e,W(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await V(e,n.target);if(!d){G(e,W(t,n,s,`not-found`));return}if(G(e,{sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=f>0?{[n.type]:{...o,depth:f}}:void 0,m=U(U(await H(e,d),p),o.nested),h=new Set(a);h.add(c),await B(e,d,m,i+1,h)}async function V(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(pi.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function H(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function U(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function Ci(e,t){return e?e.kinds?e.kinds.includes(wi(t)):!0:!1}function wi(e){return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=ki(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),Y(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Ti(a,Di(e,r)))return;J(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&Z(n)||t.status===`unresolved`&&!K(t.reason,a.reason))return;J(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){K(t.reason,a.reason)&&J(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){J(e,i,r,t,n);return}t.status===`resolved`&&!Z(n)&&X(e,r,n)}}function Ti(e,t){return e.status===`resolved`?t:K(`depth-exceeded`,e.reason)}function K(e,t){return q(e)>q(t)}function q(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function J(e,t,n,r,i){Y(e,n,r,i),e.refs[t]=r}function Y(e,t,n,r){if(n.status===`resolved`){X(e,t,r);return}Ei(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Ei(e,t){e.refMetadataByKey.delete(t)}function Di(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function Oi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Q(e){return JSON.stringify([e.kind,e.id,e.revision])}function ki(e){return JSON.stringify([Q(e.sourceRef),e.relationType,Ai(e.target)])}function Ai(e){return e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,Q(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function ji(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Mi(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(M);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ni(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(k);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Pi(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(j);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${j.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&Fi(t,a),c&&Ii(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Fi(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function Ii(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const Li=[w,gt,F,g,Wr,Jr,I,L,Lr,Rr,zr,Br,R,T,qr,Or,xr,mi,Gr,C,N,hi,E,Kr,_t,hn,si,P,Oe,z,oi];export{fi as AdapterIdentityRegistry,et as AdapterRegistry,w as AdapterRuntimeNamespace,St as AdapterRuntimeSchemas,Dt as AdapterRuntimeSubjects,kr as AgentInstanceStatusSchema,F as AgentRuntimeNamespace,Ar as AgentRuntimeSchemas,jr as AgentRuntimeSelectionSchema,Mr as AgentRuntimeSubjects,g as AgentStorageNamespace,m as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,A as ArtifactLifecycleHookRegistryToken,Nn as ArtifactLifecycleHookRejectedError,_n as ArtifactSchemaRegistry,D as ArtifactSchemaRegistryToken,tn as BugEntrySchema,ht as CONNECTOR_SWAP_DEFAULT_PIPELINE,cr as CachedRegistryFetcher,yn as CanonicalModelResolutionError,$n as CanonicalModelResolver,jn as CanonicalModelService,er as CapabilityService,In as CapabilityToken,Nr as CodebaseChangedEventSchema,I as CodebaseNamespace,Pr as CodebaseSchemas,Fr as CodebaseSubjects,nn as CompressRequestSchema,rn as CompressResponseSchema,an as CompressionEventSchema,L as CompressionNamespace,on as CompressionSchemas,Ir as CompressionSubjects,Pt as ContainerCreatedSchema,qt as ContainerDestroyedSchema,Kt as ContainerIsolatedExecutionTargetSchema,Xt as ContainerIsolatedSpawnRequestSchema,Ht as ContainerLocalExecutionTargetSchema,It as ContainerLocalSpawnRequestSchema,Yt as ContainerRuntimeSchema,Ur as ContainerSpawnNamespace,Hr as ContainerSpawnSubjects,kt as ContainerStartedSchema,Jt as ContainerStateSchema,Nt as ContainerStoppedSchema,ut as ContextWindowTracker,R as DockerNamespace,Vr as DockerSubjects,lt as EmbeddingIndexManager,Wt as ExecutionTargetInputSchema,Rt as ExecutionTargetListQuerySchema,T as ExecutionTargetNamespace,Ft as ExecutionTargetResolveRequestSchema,Ut as ExecutionTargetSchema,Gt as ExecutionTargetSchemas,Zt as ExecutionTargetSubjects,Lt as ExecutionTargetTypeSchema,sn as ExtractedContextSchema,Pn as FacetNamespaceRegistry,M as FacetNamespaceRegistryToken,ar as FallbackRegistryFetcher,Li as FrameworkServicesCoreNamespaces,Vt as LocalExecutionTargetSchema,ot as MakaioSession,dt as MakaioSessionService,C as MessageRoutingNamespace,Ye as MessageRoutingSubjects,Qt as MessageStorageNamespace,$t as MessageStorageSubjects,N as ModelRegistryNamespace,or as ModelRegistryProviderNotFoundError,nr as ModelRegistrySchema,ir as ModelRegistrySchemas,rr as ModelRegistryService,sr as ModelRegistrySubjects,qn as ModelRegistryToken,un as PreferenceItemSchema,dn as PreferenceKeySchema,fn as PreferenceValueSchema,E as PreferencesNamespace,pn as PreferencesSchemas,mn as PreferencesSubjects,xt as ProviderContextActivationError,lr as ProviderModelOverrideSchema,Ct as ResolveIdRequestSchema,wt as ResolveIdResponseSchema,Tt as ResolveNameRequestSchema,Et as ResolveNameResponseSchema,vt as RuntimeProviderContextResolutionError,Le as SessionBridge,Rn as SessionBridgeToken,c as SessionEventStorageNamespace,o as SessionEventStorageSubjects,Me as SessionExtensionContextImpl,qe as SessionOrchestrator,Wn as SessionOrchestratorToken,Ae as SessionStorageNamespace,je as SessionStorageSubjects,Jn as SessionStorageToken,zn as SessionToken,Ne as SessionTurnManager,Mt as SpawnRequestSchema,Bt as SpawnResponseSchema,Ot as StatusRequestSchema,zt as StatusResponseSchema,At as StopRequestSchema,jt as StopResponseSchema,Cr as SubagentFailureFinalizationError,Tr as SubagentManager,Sr as SubagentService,Dr as SubagentServiceToken,Yr as SubagentTemplateCompletedEventSchema,Xr as SubagentTemplateCreateSchema,Zr as SubagentTemplateInstanceSchema,Qr as SubagentTemplateInstanceStatusSchema,z as SubagentTemplateKernelNamespace,$r as SubagentTemplateKernelSchemas,ei as SubagentTemplateSchema,ti as SubagentTemplateSettingsSchemas,ni as SubagentTemplateSpawnRequestSchema,ri as SubagentTemplateSpawnedEventSchema,ci as SubagentTemplateSubjects,ii as SubagentTemplateSummarySchema,ai as SubagentTemplateUpdateSchema,cn as TechnicalDetailsSchema,ln as TodoEntrySchema,ur as ToolApprovalService,Bn as ToolApprovalToken,Tn as ToolRegistry,Gn as ToolRegistryToken,On as TransitionActionRegistry,Hn as TransitionPipelineService,j as TransitionPipelineToken,Dn as TransitionRuleRegistry,dr as TrayMenuEntrySchema,fr as TrayMenuGroupEntrySchema,pr as TrayMenuGroupSchema,mr as TrayMenuItemClickedSchema,hr as TrayMenuListEntrySchema,gr as TrayMenuMetadataSchema,P as TrayMenuNamespace,_r as TrayMenuSchemas,vr as TrayMenuSectionSchema,br as TrayMenuService,yr as TrayMenuSubjects,Vn as TrayMenuToken,Ie as Turn,Ge as TurnContextEnricher,en as TurnStorageNamespace,ke as TurnStorageSubjects,An as WORKFLOW_START_ACTION_TYPE,Cn as WorkflowBlockRegistry,k as WorkflowBlockRegistryToken,he as actionRegistry,bt as activateProviderContext,e as agents,Fn as artifactLifecycleHookRegistryPackage,gn as artifactSchemaRegistryPackage,ve as assembleForkContext,ui as buildDeterministicAdapterId,f as buildRecoveryContext,ne as buildRecoveryContextWithPipeline,l as buildSessionContext,le as buildTurnInitiator,En as canonicalModelPackage,Yn as capabilityPackage,vi as createArtifactKindContributionProcessor,bi as createArtifactLifecycleHookContributionProcessor,Mi as createFacetNamespaceContributionProcessor,Qn as createModelRegistryPackage,Fe as createSessionExtensionContext,wr as createSubagentServicePackage,Kn as createToolContributionProcessor,Pi as createTransitionContributionProcessor,Ni as createWorkflowBlockContributionProcessor,d as ensureAgentCwd,Ee as ensureAgentModel,fe as extractTextContent,Ln as facetNamespaceRegistryPackage,mt as fetchAgentsBySession,Ue as fetchMessageCountsBySession,b as fetchPreviewBySession,Be as fetchSessionPreviewMaps,ue as findTurnByAgent,Zn as frameworkCorePackages,te as getFullConversation,be as getOrCreateSession,it as importCursors,ft as importCursorsDual,ze as kindToBranchKind,rt as mapAgentsBySession,pt as mapRowToSession,v as mapToSession,tr as mergeModelMetadata,Je as messageRouting,Xe as messageRoutingDual,i as messages,ae as normalizeSelectionString,de as normalizeToBlocks,We as parseForkTransforms,He as pickFallbackRuntimeOptions,re as recoverAgent,ce as registerAbandonHandler,di as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,oe as registerCompressHandler,tt as registerCompressLineageResolver,at as registerCoreSessionServiceHandlers,nt as registerDrizzleAgentStorage,$e as registerDrizzleImportCursorStorage,st as registerDrizzleMessageRoutingStorage,_ as registerDrizzleMessageStorage,u as registerDrizzleSessionEventStorage,x as registerDrizzleSessionStorage,se as registerDrizzleTurnStorage,pe as registerForkHandler,Qe as registerFtsSearchHandler,Ke as registerGetStatusCountsHandler,y as registerListActionsHandler,S as registerMemoryAgentStorage,Ve as registerMemoryMessageStorage,ie as registerMemorySessionEventStorage,Re as registerMemorySessionStorage,De as registerMemoryTurnStorage,xe as registerMergeHandler,Ze as registerParentResolver,Pe as registerResumeHandler,ct as registerSpawningToolCallResolver,Se as resetBuiltInActionsRegistration,me as resolveAdapterId,Te as resolveAdapterNameById,xi as resolveArtifactContext,li as resolveDeterministicAdapterId,h as resolveExecutionTarget,ee as resolveModelCapabilities,yt as resolveRuntimeProviderContext,_e as resolveTargetAgents,Ce as routeToAgents,we as routeToAgentsCore,Mn as sessionBridgePackage,s as sessionEvents,a as sessionEventsDual,bn as sessionOrchestratorPackage,Xn as sessionPackage,O as sessionStoragePackage,t as sessions,Er as subagentServicePackage,Sn as toolApprovalPackage,xn as toolRegistryPackage,kn as transitionPipelinePackage,Un as trayMenuPackage,r as turns,n as turnsDual,p as verifyAndRecoverAgents,vn as workflowBlockRegistryPackage};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as LogImporterInfo } from "../../index-
|
|
2
|
-
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-
|
|
1
|
+
import { t as LogImporterInfo } from "../../index-fFSPF7N0.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-Be7wY1De.mjs";
|
|
3
3
|
export { type LogImportRegistryOptions, type LogImporterInfo, type LogImporterRegistration, type OrchestratorEntry, type OrchestratorFactory };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as LogImportSettings, t as LogImporterInfo } from "../../index-
|
|
2
|
-
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-
|
|
1
|
+
import { i as LogImportSettings, t as LogImporterInfo } from "../../index-fFSPF7N0.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-Be7wY1De.mjs";
|
|
3
3
|
import { LogImportNamespace, LogImportSubjects } from "./namespace.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
5
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|