@makaio/framework 1.0.0-dev-1790087128488 → 1.0.0-dev-1790165101280
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/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.d.mts +44 -44
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/bus/index.d.mts +47 -22
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-D4DBDaoS.mjs +9 -0
- package/dist/{client-DWSwtFyI.mjs → client-D1BZILNq.mjs} +1 -1
- package/dist/clients/index.d.mts +9 -3
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- 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 -2
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +5 -5
- 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 +173 -173
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- 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/worker/index.d.mts +2 -2
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-DHJJARJP.d.mts → contribution-kpR61mnG.d.mts} +2 -2
- package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
- package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
- package/dist/{extension-context-C2qColIL.d.mts → extension-context-CmhBCbbq.d.mts} +1 -1
- package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
- package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
- package/dist/{hook-responses-CN5r7i3k.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-DDff0Q_Y.d.mts → index-04uTOEVU.d.mts} +83 -83
- package/dist/{index-D9ExWo6a2.d.mts → index-8HtSFrzb.d.mts} +24 -24
- package/dist/{index-Bcq3UKLQ2.d.mts → index-9O8N514B2.d.mts} +7 -7
- package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-BwaFXFd2.d.mts → index-BTLbhl35.d.mts} +101 -101
- package/dist/{index-vA46dx7q.d.mts → index-BV3nQpdO.d.mts} +100 -100
- package/dist/{index-DjmCOTLM.d.mts → index-BYwt4CNf.d.mts} +297 -297
- package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
- package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
- package/dist/{index-Cm3HuwMC2.d.mts → index-C9Dz8UoK2.d.mts} +236 -1
- package/dist/{index-f31ex0nG.d.mts → index-CFMaXW-s.d.mts} +152 -25
- package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-Dk_f8Cyz2.d.mts → index-CRjWqvy02.d.mts} +7 -7
- package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
- package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
- package/dist/{index-DH55jJaM.d.mts → index-CpGWwlRN.d.mts} +14 -14
- package/dist/{index-D7dbR7Pu2.d.mts → index-Csua5M_M2.d.mts} +16 -16
- package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
- package/dist/{index-Xnn0gJhU.d.mts → index-D5Lw1UsO.d.mts} +339 -339
- package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
- package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
- package/dist/{index-DvtVX-Rj.d.mts → index-DDCixELI.d.mts} +2 -2
- package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
- package/dist/{index-D17f9C3Y.d.mts → index-J6C4thLY.d.mts} +3 -3
- package/dist/{index-DauaMtPH2.d.mts → index-LCumcYK12.d.mts} +379 -379
- package/dist/{index-BMPU9fkA.d.mts → index-aAo9ugCm.d.mts} +8 -8
- package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
- package/dist/{index-qH2Jhegj2.d.mts → index-u0EteHlR2.d.mts} +1 -1
- package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
- package/dist/{index-DNdHuoy6.d.mts → index-xad0YUyF.d.mts} +1 -1
- 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 +2 -2
- 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/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
- package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
- package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
- package/dist/{namespace-x-gk5SmK.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
- package/dist/{namespace-BdsOXWPU.d.mts → namespace-C5tKjqgb.d.mts} +1 -1
- package/dist/{namespace-B2L_hlJ0.d.mts → namespace-HLrZerLd.d.mts} +154 -154
- package/dist/{namespace-CHc7YF0S.d.mts → namespace-KomML5ti.d.mts} +2 -2
- package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +53 -1
- package/dist/node/transports/index.mjs +2 -2
- package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
- package/dist/node-pty-backend-C72EgRws.mjs +1 -0
- package/dist/{package-Bz938q5F.d.mts → package-BswWlFSn.d.mts} +2 -2
- package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.d.mts +5 -0
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- 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 +5 -5
- package/dist/runtime-node/index.mjs +25 -21
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schemas-Dqro7M1d.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
- package/dist/{schemas-C_0aO9S1.d.mts → schemas-Bv7ecHxV.d.mts} +17 -17
- package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
- package/dist/service-base/index.d.mts +35 -5
- package/dist/service-base/index.mjs +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +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 +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +131 -131
- 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/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +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/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.d.mts +14 -14
- 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-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{session-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
- package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
- package/dist/{transition-BVB-sXKI.d.mts → transition-B0qsutdE.d.mts} +2 -2
- package/dist/{types-CVOL6fAm.d.mts → types-BP_P1izV.d.mts} +340 -340
- package/dist/{types-Cues-R7O2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CbZtzUZI.d.mts → view-builder-nKz9DKfE.d.mts} +5 -5
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +62 -62
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
- package/package.json +2 -1
- package/dist/bus-ceMF9rsq.mjs +0 -9
- package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
- package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
- package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
- package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
- package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
- package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
- package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
- package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
- package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
- package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
- package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
- package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
- package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
- package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
- package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
- package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
- package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
- package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
- package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
- package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
- package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
- package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
- package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
- package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
- package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
- package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
- package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
- package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
- package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
- package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
- package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
- package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
- package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
- package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
- package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
- package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
- package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
- package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
- package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
- package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
- package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
- package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
- package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
- package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
- package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
- package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
- package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
- package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
- package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
- package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
- package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.d.mts} +0 -0
- package/dist/{schemas-B-5_Dp4_.d.mts → schemas-C0Fb2-LN.d.mts} +0 -0
- package/dist/{schemas-DiXL8NfA.d.mts → schemas-Cb9OJ9va.d.mts} +0 -0
- package/dist/{schemas-Cl7fPlRv.d.mts → schemas-CjFPsYeV.d.mts} +0 -0
- package/dist/{schemas-BzB6z9oX2.d.mts → schemas-DPtj1sPC2.d.mts} +0 -0
- package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
- package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
- package/dist/{schemas-CU_52YMQ.d.mts → schemas-rliUGyrt.d.mts} +7 -7
- /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
- /package/dist/{session-lineage-CjE3qppC.d.mts → session-lineage-CmP7L5g2.d.mts} +0 -0
- /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
- /package/dist/{storage-namespace-B5r_ScUz.d.mts → storage-namespace-CwwiV3kt.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
- /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
- /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
- /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
- /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
- /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
- /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, 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 "../capability-service-
|
|
8
|
-
import { n as capabilityPackage, t as CapabilityToken } from "../index-
|
|
9
|
-
import { a as selectCodeExecutionProvider, c as createEffectiveExecutionSignal, d as CodeExecutionService, i as CodeExecutionSelectionFailureCode, l as CodeExecutionServiceToken, n as CodeExecutionProviderSelected, o as EffectiveExecutionSignal, r as CodeExecutionProviderSelection, s as EffectiveExecutionSignalOptions, t as CodeExecutionProviderRejected, u as codeExecutionPackage } from "../index-
|
|
10
|
-
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-
|
|
11
|
-
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-
|
|
12
|
-
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-
|
|
13
|
-
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-
|
|
14
|
-
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-
|
|
15
|
-
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-
|
|
16
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
17
|
-
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-
|
|
18
|
-
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-
|
|
19
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-
|
|
20
|
-
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-
|
|
21
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
22
|
-
import { g as sessions, u as agents } from "../schema-
|
|
23
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
24
|
-
import { t as TurnStorageNamespace } from "../namespace-
|
|
25
|
-
import { n as TurnStorageSubjects } from "../namespace-
|
|
26
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
27
|
-
import { v as ArtifactSchemaRegistry } from "../packages-
|
|
28
|
-
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-
|
|
29
|
-
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-
|
|
30
|
-
import { t as ToolApprovalService } from "../index-
|
|
31
|
-
import { t as TrayMenuService } from "../index-
|
|
32
|
-
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-
|
|
33
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-
|
|
34
|
-
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-
|
|
35
|
-
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-
|
|
36
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-
|
|
37
|
-
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-
|
|
38
|
-
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-
|
|
39
|
-
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-Cb9OJ9va.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-D6W4Erwp.mjs";
|
|
3
|
+
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-BM53WQaQ.mjs";
|
|
4
|
+
import { p as BindingRecord } from "../schemas-BzSB9u68.mjs";
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-BOT1HUv6.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-HLrZerLd.mjs";
|
|
7
|
+
import { t as CapabilityService } from "../capability-service-BHcRd1td.mjs";
|
|
8
|
+
import { n as capabilityPackage, t as CapabilityToken } from "../index-t6LnywuE.mjs";
|
|
9
|
+
import { a as selectCodeExecutionProvider, c as createEffectiveExecutionSignal, d as CodeExecutionService, i as CodeExecutionSelectionFailureCode, l as CodeExecutionServiceToken, n as CodeExecutionProviderSelected, o as EffectiveExecutionSignal, r as CodeExecutionProviderSelection, s as EffectiveExecutionSignalOptions, t as CodeExecutionProviderRejected, u as codeExecutionPackage } from "../index-CdkIg4Gu.mjs";
|
|
10
|
+
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CL9OyrHs.mjs";
|
|
11
|
+
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-BGTuiO3u.mjs";
|
|
12
|
+
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-C0Fb2-LN.mjs";
|
|
13
|
+
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-QV_2m25r.mjs";
|
|
14
|
+
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B_mVEuYd.mjs";
|
|
15
|
+
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-BXkSHQaF.mjs";
|
|
16
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CHSwZhH7.mjs";
|
|
17
|
+
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-BOxMyaqG.mjs";
|
|
18
|
+
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-D5BLD2Pw.mjs";
|
|
19
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-CLwnkYRD.mjs";
|
|
20
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-CkE9MwNX.mjs";
|
|
21
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-6O0G1s65.mjs";
|
|
22
|
+
import { g as sessions, u as agents } from "../schema-De6d0FWI.mjs";
|
|
23
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BEi98VfQ.mjs";
|
|
24
|
+
import { t as TurnStorageNamespace } from "../namespace-Sd6qj6w22.mjs";
|
|
25
|
+
import { n as TurnStorageSubjects } from "../namespace-DbtfwD5Z.mjs";
|
|
26
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-C5tKjqgb.mjs";
|
|
27
|
+
import { v as ArtifactSchemaRegistry } from "../packages-KX9yofCa.mjs";
|
|
28
|
+
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-BjrbddkU.mjs";
|
|
29
|
+
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-BCuWtlv5.mjs";
|
|
30
|
+
import { t as ToolApprovalService } from "../index-BTd3fTkW.mjs";
|
|
31
|
+
import { t as TrayMenuService } from "../index-CwVSr7Ow.mjs";
|
|
32
|
+
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-feb64ScA.mjs";
|
|
33
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-D38Fmd0E.mjs";
|
|
34
|
+
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-DsmyofuM.mjs";
|
|
35
|
+
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-DAqAa9aL.mjs";
|
|
36
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DPtj1sPC2.mjs";
|
|
37
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-CwwiV3kt.mjs";
|
|
38
|
+
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-Bv7ecHxV.mjs";
|
|
39
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-KomML5ti.mjs";
|
|
40
40
|
import * as _$zod from "zod";
|
|
41
41
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
42
42
|
import { MakaioError } from "@makaio/framework/core";
|
|
@@ -1073,8 +1073,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1073
1073
|
response: _$zod.ZodObject<{
|
|
1074
1074
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1075
1075
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1076
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1077
1076
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1077
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1078
1078
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1079
1079
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1080
1080
|
label: _$zod.ZodString;
|
|
@@ -1098,8 +1098,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1098
1098
|
response: _$zod.ZodObject<{
|
|
1099
1099
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1100
1100
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1101
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1102
1101
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1102
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1103
1103
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1104
1104
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1105
1105
|
label: _$zod.ZodString;
|
|
@@ -2709,8 +2709,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2709
2709
|
response: _$zod.ZodObject<{
|
|
2710
2710
|
config: _$zod.ZodObject<{
|
|
2711
2711
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2712
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2713
2712
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2713
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2714
2714
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2715
2715
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
2716
2716
|
label: _$zod.ZodString;
|
|
@@ -2946,25 +2946,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2946
2946
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
2947
2947
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2948
2948
|
sessionId: _$zod.ZodString;
|
|
2949
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2950
|
-
fullName: _$zod.ZodString;
|
|
2951
|
-
originalName: _$zod.ZodString;
|
|
2952
|
-
serverName: _$zod.ZodString;
|
|
2953
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2954
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2955
|
-
exposureMode: _$zod.ZodEnum<{
|
|
2956
|
-
discovery: "discovery";
|
|
2957
|
-
direct: "direct";
|
|
2958
|
-
hidden: "hidden";
|
|
2959
|
-
}>;
|
|
2960
|
-
enabled: _$zod.ZodBoolean;
|
|
2961
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2962
|
-
discovery: "discovery";
|
|
2963
|
-
toolset: "toolset";
|
|
2964
|
-
}>>;
|
|
2965
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2966
|
-
exposed: _$zod.ZodBoolean;
|
|
2967
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2968
2949
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2969
2950
|
name: _$zod.ZodString;
|
|
2970
2951
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -3001,9 +2982,28 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3001
2982
|
type: _$zod.ZodLiteral<"http">;
|
|
3002
2983
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
3003
2984
|
exposureMode: _$zod.ZodEnum<{
|
|
2985
|
+
direct: "direct";
|
|
3004
2986
|
discovery: "discovery";
|
|
2987
|
+
}>;
|
|
2988
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2989
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2990
|
+
fullName: _$zod.ZodString;
|
|
2991
|
+
originalName: _$zod.ZodString;
|
|
2992
|
+
serverName: _$zod.ZodString;
|
|
2993
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2994
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2995
|
+
exposureMode: _$zod.ZodEnum<{
|
|
3005
2996
|
direct: "direct";
|
|
2997
|
+
discovery: "discovery";
|
|
2998
|
+
hidden: "hidden";
|
|
3006
2999
|
}>;
|
|
3000
|
+
enabled: _$zod.ZodBoolean;
|
|
3001
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3002
|
+
discovery: "discovery";
|
|
3003
|
+
toolset: "toolset";
|
|
3004
|
+
}>>;
|
|
3005
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3006
|
+
exposed: _$zod.ZodBoolean;
|
|
3007
3007
|
}, _$zod_v4_core0.$strip>>;
|
|
3008
3008
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3009
3009
|
fullName: _$zod.ZodString;
|
|
@@ -3012,8 +3012,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3012
3012
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3013
3013
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3014
3014
|
exposureMode: _$zod.ZodEnum<{
|
|
3015
|
-
discovery: "discovery";
|
|
3016
3015
|
direct: "direct";
|
|
3016
|
+
discovery: "discovery";
|
|
3017
3017
|
hidden: "hidden";
|
|
3018
3018
|
}>;
|
|
3019
3019
|
enabled: _$zod.ZodBoolean;
|
|
@@ -3043,18 +3043,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3043
3043
|
env?: Record<string, string> | undefined;
|
|
3044
3044
|
mcpSessionContext?: {
|
|
3045
3045
|
sessionId: string;
|
|
3046
|
-
directTools: {
|
|
3047
|
-
fullName: string;
|
|
3048
|
-
originalName: string;
|
|
3049
|
-
serverName: string;
|
|
3050
|
-
inputSchema: Record<string, unknown>;
|
|
3051
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
3052
|
-
enabled: boolean;
|
|
3053
|
-
exposed: boolean;
|
|
3054
|
-
description?: string | undefined;
|
|
3055
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3056
|
-
enabledAt?: number | undefined;
|
|
3057
|
-
}[];
|
|
3058
3046
|
servers: {
|
|
3059
3047
|
name: string;
|
|
3060
3048
|
transport: {
|
|
@@ -3082,14 +3070,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3082
3070
|
}[] | undefined;
|
|
3083
3071
|
alwaysLoad?: boolean | undefined;
|
|
3084
3072
|
};
|
|
3085
|
-
exposureMode: "
|
|
3073
|
+
exposureMode: "direct" | "discovery";
|
|
3074
|
+
}[];
|
|
3075
|
+
directTools: {
|
|
3076
|
+
fullName: string;
|
|
3077
|
+
originalName: string;
|
|
3078
|
+
serverName: string;
|
|
3079
|
+
inputSchema: Record<string, unknown>;
|
|
3080
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3081
|
+
enabled: boolean;
|
|
3082
|
+
exposed: boolean;
|
|
3083
|
+
description?: string | undefined;
|
|
3084
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3085
|
+
enabledAt?: number | undefined;
|
|
3086
3086
|
}[];
|
|
3087
3087
|
discoverableTools: {
|
|
3088
3088
|
fullName: string;
|
|
3089
3089
|
originalName: string;
|
|
3090
3090
|
serverName: string;
|
|
3091
3091
|
inputSchema: Record<string, unknown>;
|
|
3092
|
-
exposureMode: "
|
|
3092
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3093
3093
|
enabled: boolean;
|
|
3094
3094
|
exposed: boolean;
|
|
3095
3095
|
description?: string | undefined;
|
|
@@ -3118,18 +3118,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3118
3118
|
env?: Record<string, string> | undefined;
|
|
3119
3119
|
mcpSessionContext?: {
|
|
3120
3120
|
sessionId: string;
|
|
3121
|
-
directTools: {
|
|
3122
|
-
fullName: string;
|
|
3123
|
-
originalName: string;
|
|
3124
|
-
serverName: string;
|
|
3125
|
-
inputSchema: Record<string, unknown>;
|
|
3126
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
3127
|
-
enabled: boolean;
|
|
3128
|
-
exposed: boolean;
|
|
3129
|
-
description?: string | undefined;
|
|
3130
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3131
|
-
enabledAt?: number | undefined;
|
|
3132
|
-
}[];
|
|
3133
3121
|
servers: {
|
|
3134
3122
|
name: string;
|
|
3135
3123
|
transport: {
|
|
@@ -3157,14 +3145,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3157
3145
|
}[] | undefined;
|
|
3158
3146
|
alwaysLoad?: boolean | undefined;
|
|
3159
3147
|
};
|
|
3160
|
-
exposureMode: "
|
|
3148
|
+
exposureMode: "direct" | "discovery";
|
|
3149
|
+
}[];
|
|
3150
|
+
directTools: {
|
|
3151
|
+
fullName: string;
|
|
3152
|
+
originalName: string;
|
|
3153
|
+
serverName: string;
|
|
3154
|
+
inputSchema: Record<string, unknown>;
|
|
3155
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3156
|
+
enabled: boolean;
|
|
3157
|
+
exposed: boolean;
|
|
3158
|
+
description?: string | undefined;
|
|
3159
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3160
|
+
enabledAt?: number | undefined;
|
|
3161
3161
|
}[];
|
|
3162
3162
|
discoverableTools: {
|
|
3163
3163
|
fullName: string;
|
|
3164
3164
|
originalName: string;
|
|
3165
3165
|
serverName: string;
|
|
3166
3166
|
inputSchema: Record<string, unknown>;
|
|
3167
|
-
exposureMode: "
|
|
3167
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3168
3168
|
enabled: boolean;
|
|
3169
3169
|
exposed: boolean;
|
|
3170
3170
|
description?: string | undefined;
|
|
@@ -3190,18 +3190,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3190
3190
|
env?: Record<string, string> | undefined;
|
|
3191
3191
|
mcpSessionContext?: {
|
|
3192
3192
|
sessionId: string;
|
|
3193
|
-
directTools: {
|
|
3194
|
-
fullName: string;
|
|
3195
|
-
originalName: string;
|
|
3196
|
-
serverName: string;
|
|
3197
|
-
inputSchema: Record<string, unknown>;
|
|
3198
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
3199
|
-
enabled: boolean;
|
|
3200
|
-
exposed: boolean;
|
|
3201
|
-
description?: string | undefined;
|
|
3202
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3203
|
-
enabledAt?: number | undefined;
|
|
3204
|
-
}[];
|
|
3205
3193
|
servers: {
|
|
3206
3194
|
name: string;
|
|
3207
3195
|
transport: {
|
|
@@ -3229,14 +3217,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3229
3217
|
}[] | undefined;
|
|
3230
3218
|
alwaysLoad?: boolean | undefined;
|
|
3231
3219
|
};
|
|
3232
|
-
exposureMode: "
|
|
3220
|
+
exposureMode: "direct" | "discovery";
|
|
3221
|
+
}[];
|
|
3222
|
+
directTools: {
|
|
3223
|
+
fullName: string;
|
|
3224
|
+
originalName: string;
|
|
3225
|
+
serverName: string;
|
|
3226
|
+
inputSchema: Record<string, unknown>;
|
|
3227
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3228
|
+
enabled: boolean;
|
|
3229
|
+
exposed: boolean;
|
|
3230
|
+
description?: string | undefined;
|
|
3231
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3232
|
+
enabledAt?: number | undefined;
|
|
3233
3233
|
}[];
|
|
3234
3234
|
discoverableTools: {
|
|
3235
3235
|
fullName: string;
|
|
3236
3236
|
originalName: string;
|
|
3237
3237
|
serverName: string;
|
|
3238
3238
|
inputSchema: Record<string, unknown>;
|
|
3239
|
-
exposureMode: "
|
|
3239
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3240
3240
|
enabled: boolean;
|
|
3241
3241
|
exposed: boolean;
|
|
3242
3242
|
description?: string | undefined;
|
|
@@ -3265,18 +3265,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3265
3265
|
env?: Record<string, string> | undefined;
|
|
3266
3266
|
mcpSessionContext?: {
|
|
3267
3267
|
sessionId: string;
|
|
3268
|
-
directTools: {
|
|
3269
|
-
fullName: string;
|
|
3270
|
-
originalName: string;
|
|
3271
|
-
serverName: string;
|
|
3272
|
-
inputSchema: Record<string, unknown>;
|
|
3273
|
-
exposureMode: "discovery" | "direct" | "hidden";
|
|
3274
|
-
enabled: boolean;
|
|
3275
|
-
exposed: boolean;
|
|
3276
|
-
description?: string | undefined;
|
|
3277
|
-
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3278
|
-
enabledAt?: number | undefined;
|
|
3279
|
-
}[];
|
|
3280
3268
|
servers: {
|
|
3281
3269
|
name: string;
|
|
3282
3270
|
transport: {
|
|
@@ -3304,14 +3292,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3304
3292
|
}[] | undefined;
|
|
3305
3293
|
alwaysLoad?: boolean | undefined;
|
|
3306
3294
|
};
|
|
3307
|
-
exposureMode: "
|
|
3295
|
+
exposureMode: "direct" | "discovery";
|
|
3296
|
+
}[];
|
|
3297
|
+
directTools: {
|
|
3298
|
+
fullName: string;
|
|
3299
|
+
originalName: string;
|
|
3300
|
+
serverName: string;
|
|
3301
|
+
inputSchema: Record<string, unknown>;
|
|
3302
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3303
|
+
enabled: boolean;
|
|
3304
|
+
exposed: boolean;
|
|
3305
|
+
description?: string | undefined;
|
|
3306
|
+
enabledBy?: "discovery" | "toolset" | undefined;
|
|
3307
|
+
enabledAt?: number | undefined;
|
|
3308
3308
|
}[];
|
|
3309
3309
|
discoverableTools: {
|
|
3310
3310
|
fullName: string;
|
|
3311
3311
|
originalName: string;
|
|
3312
3312
|
serverName: string;
|
|
3313
3313
|
inputSchema: Record<string, unknown>;
|
|
3314
|
-
exposureMode: "
|
|
3314
|
+
exposureMode: "direct" | "discovery" | "hidden";
|
|
3315
3315
|
enabled: boolean;
|
|
3316
3316
|
exposed: boolean;
|
|
3317
3317
|
description?: string | undefined;
|
|
@@ -3342,9 +3342,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3342
3342
|
status: _$zod.ZodEnum<{
|
|
3343
3343
|
completed: "completed";
|
|
3344
3344
|
cancelled: "cancelled";
|
|
3345
|
+
failed: "failed";
|
|
3345
3346
|
running: "running";
|
|
3346
3347
|
waiting_input: "waiting_input";
|
|
3347
|
-
failed: "failed";
|
|
3348
3348
|
}>;
|
|
3349
3349
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3350
3350
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -4496,9 +4496,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4496
4496
|
changed: _$zod.ZodObject<{
|
|
4497
4497
|
ruleId: _$zod.ZodString;
|
|
4498
4498
|
changeType: _$zod.ZodEnum<{
|
|
4499
|
-
created: "created";
|
|
4500
4499
|
updated: "updated";
|
|
4501
4500
|
deleted: "deleted";
|
|
4501
|
+
created: "created";
|
|
4502
4502
|
}>;
|
|
4503
4503
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
4504
4504
|
scope: _$zod.ZodEnum<{
|
|
@@ -5125,18 +5125,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5125
5125
|
changed: _$zod.ZodObject<{
|
|
5126
5126
|
path: _$zod.ZodString;
|
|
5127
5127
|
kind: _$zod.ZodEnum<{
|
|
5128
|
+
change: "change";
|
|
5128
5129
|
delete: "delete";
|
|
5129
5130
|
create: "create";
|
|
5130
|
-
change: "change";
|
|
5131
5131
|
}>;
|
|
5132
5132
|
}, _$zod_v4_core0.$strip>;
|
|
5133
5133
|
batch: _$zod.ZodObject<{
|
|
5134
5134
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5135
5135
|
path: _$zod.ZodString;
|
|
5136
5136
|
kind: _$zod.ZodEnum<{
|
|
5137
|
+
change: "change";
|
|
5137
5138
|
delete: "delete";
|
|
5138
5139
|
create: "create";
|
|
5139
|
-
change: "change";
|
|
5140
5140
|
}>;
|
|
5141
5141
|
}, _$zod_v4_core0.$strip>>;
|
|
5142
5142
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5328,6 +5328,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5328
5328
|
name: _$zod.ZodString;
|
|
5329
5329
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5330
5330
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5331
|
+
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5331
5332
|
toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
5332
5333
|
"file.read": "file.read";
|
|
5333
5334
|
"file.write": "file.write";
|
|
@@ -5349,7 +5350,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5349
5350
|
"always-ask": "always-ask";
|
|
5350
5351
|
"full-access": "full-access";
|
|
5351
5352
|
}>>>;
|
|
5352
|
-
credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5353
5353
|
approvalPolicy: _$zod.ZodEnum<{
|
|
5354
5354
|
reject: "reject";
|
|
5355
5355
|
"always-ask": "always-ask";
|
|
@@ -7639,9 +7639,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7639
7639
|
status: _$zod.ZodEnum<{
|
|
7640
7640
|
completed: "completed";
|
|
7641
7641
|
cancelled: "cancelled";
|
|
7642
|
+
failed: "failed";
|
|
7642
7643
|
running: "running";
|
|
7643
7644
|
waiting_input: "waiting_input";
|
|
7644
|
-
failed: "failed";
|
|
7645
7645
|
}>;
|
|
7646
7646
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7647
7647
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7701,8 +7701,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7701
7701
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7702
7702
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7703
7703
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7704
|
-
fork: "fork";
|
|
7705
7704
|
fresh: "fresh";
|
|
7705
|
+
fork: "fork";
|
|
7706
7706
|
}>>;
|
|
7707
7707
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7708
7708
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7720,14 +7720,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7720
7720
|
adapterName: _$zod.ZodString;
|
|
7721
7721
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7722
7722
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7723
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7724
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7725
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7726
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7723
7727
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7724
|
-
fork: "fork";
|
|
7725
7728
|
fresh: "fresh";
|
|
7729
|
+
fork: "fork";
|
|
7726
7730
|
}>>;
|
|
7727
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7728
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7729
|
-
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7730
|
-
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7731
7731
|
}, _$zod_v4_core0.$strip>;
|
|
7732
7732
|
response: _$zod.ZodObject<{
|
|
7733
7733
|
id: _$zod.ZodString;
|
|
@@ -7742,8 +7742,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7742
7742
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7743
7743
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7744
7744
|
contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7745
|
-
fork: "fork";
|
|
7746
7745
|
fresh: "fresh";
|
|
7746
|
+
fork: "fork";
|
|
7747
7747
|
}>>>;
|
|
7748
7748
|
allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
7749
7749
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as d,H as f,K as p,L as m,M as ee,O as te,R as ne,Tt as re,U as ie,V as ae,W as oe,Z as se,a as ce,b as le,c as ue,d as de,f as fe,i as pe,j as me,k as he,l as ge,n as _e,nt as ve,o as ye,r as be,s as xe,t as Se,tt as Ce,wt as we,x as Te,z as Ee}from"../handlers-mjky_fP2.mjs";import{TurnStorageNamespace as De,TurnStorageSubjects as Oe}from"./turn/namespace.mjs";import{a as ke,i as h}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as g,SessionStorageSubjects as _}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as v,ResolveIdRequestSchema as y,ResolveIdResponseSchema as b,ResolveLiveIdentityRequestSchema as x,ResolveLiveIdentityResponseSchema as S,ResolveNameRequestSchema as C,ResolveNameResponseSchema as w}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as T,AdapterRuntimeSubjects as Ae}from"./adapter-runtime/namespace.mjs";import{$ as je,A as Me,B as Ne,C as Pe,E as Fe,F as Ie,G as Le,H as Re,I as ze,J as Be,K as Ve,L as He,M as Ue,N as We,P as Ge,R as Ke,S as qe,T as Je,U as Ye,V as Xe,X as Ze,Y as E,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,r as lt,rt as ut,s as dt,t as ft,tt as pt,w as mt,x as ht,z as gt}from"../session-CMbztxNO.mjs";import{n as _t}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as vt}from"./settings/storage/providers-namespace.mjs";import{A as yt,E as bt,M as xt,N as St,O as Ct,S as wt,T as Tt,_ as Et,a as Dt,b as Ot,c as kt,i as At,j as jt,k as Mt,l as Nt,n as Pt,o as Ft,r as It,s as Lt,t as Rt,v as zt,w as Bt,x as Vt,y as Ht}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as D,ExecutionTargetSubjects as Ut}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Wt,MessageStorageSubjects as Gt}from"./session/messages/namespace.mjs";import{a as Kt,o as qt,r as Jt,t as Yt}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as Xt}from"./session/turns/namespace.mjs";import{i as Zt,n as Qt,r as $t,t as en}from"../identity-DgTjgflr.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 O,PreferencesSubjects as mn}from"./preferences/storage-namespace.mjs";import{t as hn}from"../namespace-Bo6-o_rW.mjs";import{l as gn,n as _n,p as vn,r as yn,t as bn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as xn,g as k,v as Sn}from"../packages-vF9F4M41.mjs";import{A as Cn,B as wn,C as Tn,D as En,E as Dn,F as On,I as kn,L as An,M as A,N as jn,O as Mn,P as Nn,R as j,S as Pn,T as Fn,V as In,_ as Ln,a as Rn,b as zn,c as Bn,d as Vn,f as M,g as Hn,h as Un,i as Wn,j as Gn,k as Kn,l as qn,m as Jn,n as N,o as Yn,p as Xn,r as Zn,s as Qn,t as P,u as $n,v as er,w as tr,x as nr,y as rr,z as ir}from"../framework-packages-U4Xhouxe.mjs";import{n as ar,r as or,t as sr}from"../package-BCKYMTYG.mjs";import{a as cr,c as lr,i as ur,l as dr,n as fr,o as F,r as pr,s as mr,t as hr,u as gr}from"../model-registry-CeDu27XL.mjs";import{t as _r}from"../tool-approval-service-CRo3fZRF.mjs";import{TrayMenuEntrySchema as vr,TrayMenuGroupEntrySchema as yr,TrayMenuGroupSchema as br,TrayMenuItemClickedSchema as xr,TrayMenuListEntrySchema as Sr,TrayMenuMetadataSchema as Cr,TrayMenuSchemas as wr,TrayMenuSectionSchema as Tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as I,TrayMenuSubjects as Er}from"./tray-menu/namespace.mjs";import{t as Dr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Or}from"../handler-Cc1MhaR4.mjs";import{a as kr,i as Ar,n as jr,o as Mr,r as Nr,t as Pr}from"../package-BSz4hbav.mjs";import{FsNamespace as Fr}from"./filesystem/namespace.mjs";import{r as Ir}from"../tools-CKaxi3Mb.mjs";import{t as Lr}from"../workflow-transitions-t0ORS1F5.mjs";import"./capability/index.mjs";import{a as Rr,i as zr,n as Br,r as Vr,t as Hr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Ur,AgentRuntimeSchemas as Wr,AgentRuntimeSelectionSchema as Gr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as L,AgentRuntimeSubjects as Kr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as qr,CodebaseSchemas as Jr}from"./codebase/schemas.mjs";import{CodebaseNamespace as R,CodebaseSubjects as Yr}from"./codebase/namespace.mjs";import{CompressionNamespace as z,CompressionSubjects as Xr}from"./compression/namespace.mjs";import{r as Zr,t as Qr}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as $r}from"./definition/namespace.mjs";import{DialogNamespace as ei}from"./dialog/namespace.mjs";import{a as ti,i as B,n as ni,t as ri}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ii}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as ai}from"./local-notification/namespace.mjs";import{t as oi}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as si}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ci}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as li,SubagentTemplateCreateSchema as ui,SubagentTemplateInstanceSchema as di,SubagentTemplateInstanceStatusSchema as fi,SubagentTemplateKernelSchemas as pi,SubagentTemplateSchema as mi,SubagentTemplateSettingsSchemas as hi,SubagentTemplateSpawnRequestSchema as gi,SubagentTemplateSpawnedEventSchema as _i,SubagentTemplateSummarySchema as vi,SubagentTemplateUpdateSchema as yi}from"./subagent-template/schemas.mjs";import{r as bi,t as xi}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as V,SubagentTemplateSubjects as Si}from"./subagent-template/namespace.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 Ci}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as wi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Ti}from"@makaio/framework/contracts/model-registry";function Ei(e){return{source:`extension`,ownerKey:`extension:${e}`}}function Di(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Oi(){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)}Di(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(k);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=Ei(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 ki(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Ai(){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(P);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(ki(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 ji(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await U(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 H(n,r,e.selectors,0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function H(e,t,n,r,i){let a=Hi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=zi(t);for(let a of t.relations)await Mi(e,o,a,n,r,i)}async function Mi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Pi(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 U(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,sourceLocalId:n.sourceLocalId,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=Ni(f>0?{[n.type]:{...o,depth:f}}:void 0,o.nested),m=new Set(a);m.add(c),await H(e,d,p,i+1,m)}async function U(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(Ci.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}function Ni(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 Pi(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Fi(t);return n!==void 0&&e.kinds.includes(n)}function Fi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,sourceLocalId:t.sourceLocalId,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Bi(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(!Ii(a,Ri(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 Ii(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}Li(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Li(e,t){e.refMetadataByKey.delete(t)}function Ri(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function zi(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 Bi(e){return JSON.stringify([Q(e.sourceRef),e.sourceLocalId??null,e.relationType,Vi(e.target)])}function Vi(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):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 Hi(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 Ui(){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(N);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 Wi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(M);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 Gi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(A);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===A.name||!!e.reactions,async processActivated(n,i,a){if(n===A.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===A.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Ki=[T,_t,L,h,ii,ci,R,z,Zr,Qr,$r,ei,B,D,si,Fr,Or,wi,ai,E,F,Ti,O,oi,vt,hn,xi,I,De,V,bi];export{en as AdapterIdentityRegistry,pt as AdapterRegistry,T as AdapterRuntimeNamespace,v as AdapterRuntimeSchemas,Ae as AdapterRuntimeSubjects,Ur as AgentInstanceStatusSchema,L as AgentRuntimeNamespace,Wr as AgentRuntimeSchemas,Gr as AgentRuntimeSelectionSchema,Kr as AgentRuntimeSubjects,h as AgentStorageNamespace,ke as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,P as ArtifactLifecycleHookRegistryToken,In as ArtifactLifecycleHookRejectedError,Sn as ArtifactSchemaRegistry,k as ArtifactSchemaRegistryToken,tn as BugEntrySchema,Ke as CONNECTOR_SWAP_DEFAULT_PIPELINE,hr as CachedRegistryFetcher,j as CanonicalModelResolutionError,An as CanonicalModelResolver,kn as CanonicalModelService,or as CapabilityService,sr as CapabilityToken,Vr as CodeExecutionService,Hr as CodeExecutionServiceToken,qr as CodebaseChangedEventSchema,R as CodebaseNamespace,Jr as CodebaseSchemas,Yr as CodebaseSubjects,nn as CompressRequestSchema,rn as CompressResponseSchema,an as CompressionEventSchema,z as CompressionNamespace,on as CompressionSchemas,Xr as CompressionSubjects,Et as ContainerCreatedSchema,zt as ContainerDestroyedSchema,Rt as ContainerIsolatedExecutionTargetSchema,Ht as ContainerIsolatedSpawnRequestSchema,Pt as ContainerLocalExecutionTargetSchema,Ot as ContainerLocalSpawnRequestSchema,Vt as ContainerLocalWorkflowSpawnRequestSchema,wt as ContainerRuntimeSchema,ri as ContainerSpawnNamespace,ni as ContainerSpawnSubjects,Bt as ContainerStartedSchema,Tt as ContainerStateSchema,bt as ContainerStoppedSchema,ft as ContextWindowTracker,B as DockerNamespace,ti as DockerSubjects,dt as EmbeddingIndexManager,It as ExecutionTargetInputSchema,At as ExecutionTargetListQuerySchema,D as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ft as ExecutionTargetSchema,Lt as ExecutionTargetSchemas,Ut as ExecutionTargetSubjects,kt as ExecutionTargetTypeSchema,sn as ExtractedContextSchema,ir as FacetNamespaceRegistry,N as FacetNamespaceRegistryToken,fr as FallbackRegistryFetcher,Ki as FrameworkServicesCoreNamespaces,Nt as LocalExecutionTargetSchema,ct as MakaioSession,st as MakaioSessionService,E as MessageRoutingNamespace,Ze as MessageRoutingSubjects,Wt as MessageStorageNamespace,Gt as MessageStorageSubjects,F as ModelRegistryNamespace,pr as ModelRegistryProviderNotFoundError,lr as ModelRegistrySchema,dr as ModelRegistrySchemas,ur as ModelRegistryService,mr as ModelRegistrySubjects,Zn as ModelRegistryToken,un as PreferenceItemSchema,dn as PreferenceKeySchema,fn as PreferenceValueSchema,O as PreferencesNamespace,pn as PreferencesSchemas,mn as PreferencesSubjects,Yt as ProviderContextActivationError,gr as ProviderModelOverrideSchema,Nn as ReactionRegistry,A as ReactionRegistryToken,y as ResolveIdRequestSchema,b as ResolveIdResponseSchema,x as ResolveLiveIdentityRequestSchema,S as ResolveLiveIdentityResponseSchema,C as ResolveNameRequestSchema,w as ResolveNameResponseSchema,Kt as RuntimeProviderContextResolutionError,ze as SessionBridge,Wn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ge as SessionExtensionContextImpl,Ye as SessionOrchestrator,Rn as SessionOrchestratorToken,se as SessionStartError,g as SessionStorageNamespace,_ as SessionStorageSubjects,Yn as SessionStorageToken,Qn as SessionToken,Le as SessionTurnManager,Ct as SpawnRequestSchema,Mt as SpawnResponseSchema,yt as StatusRequestSchema,jt as StatusResponseSchema,xt as StopRequestSchema,St as StopResponseSchema,Ar as SubagentFailureFinalizationError,Mr as SubagentManager,kr as SubagentService,Pr as SubagentServiceToken,li as SubagentTemplateCompletedEventSchema,ui as SubagentTemplateCreateSchema,di as SubagentTemplateInstanceSchema,fi as SubagentTemplateInstanceStatusSchema,V as SubagentTemplateKernelNamespace,pi as SubagentTemplateKernelSchemas,mi as SubagentTemplateSchema,hi as SubagentTemplateSettingsSchemas,gi as SubagentTemplateSpawnRequestSchema,_i as SubagentTemplateSpawnedEventSchema,Si as SubagentTemplateSubjects,vi as SubagentTemplateSummarySchema,yi as SubagentTemplateUpdateSchema,cn as TechnicalDetailsSchema,ln as TodoEntrySchema,_r as ToolApprovalService,Bn as ToolApprovalToken,Gn as ToolRegistry,qn as ToolRegistryToken,Mn as TransitionActionRegistry,Dn as TransitionPipelineService,$n as TransitionPipelineToken,En as TransitionRuleRegistry,vr as TrayMenuEntrySchema,yr as TrayMenuGroupEntrySchema,br as TrayMenuGroupSchema,xr as TrayMenuItemClickedSchema,Sr as TrayMenuListEntrySchema,Cr as TrayMenuMetadataSchema,I as TrayMenuNamespace,wr as TrayMenuSchemas,Tr as TrayMenuSectionSchema,Dr as TrayMenuService,Er as TrayMenuSubjects,Vn as TrayMenuToken,Ve as Turn,Re as TurnContextEnricher,Xt as TurnStorageNamespace,Oe as TurnStorageSubjects,Kn as WORKFLOW_START_ACTION_TYPE,Cn as WorkflowBlockRegistry,M as WorkflowBlockRegistryToken,Ee as actionRegistry,Jt as activateProviderContext,e as agents,Xn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,_e as assembleForkContext,Qt as buildDeterministicAdapterId,m as buildRecoveryContext,te as buildRecoveryContextWithPipeline,l as buildSessionContext,ae as buildTurnInitiator,On as canonicalModelPackage,ar as capabilityPackage,Br as codeExecutionPackage,Oi as createArtifactKindContributionProcessor,Ai as createArtifactLifecycleHookContributionProcessor,Rr as createEffectiveExecutionSignal,Ui as createFacetNamespaceContributionProcessor,Jn as createModelRegistryPackage,Gi as createReactionContributionProcessor,Ie as createSessionExtensionContext,vn as createSessionStorageMemoryState,jr as createSubagentServicePackage,Ir as createToolContributionProcessor,Lr as createTransitionContributionProcessor,Wi as createWorkflowBlockContributionProcessor,he as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Un as facetNamespaceRegistryPackage,ht as fetchAgentsBySession,qe as fetchMessageCountsBySession,Pe as fetchPreviewBySession,Me as fetchSessionPreviewMaps,f as findTurnByAgent,Hn as frameworkCorePackages,ne as getFullConversation,ie as getOrCreateSession,ot as importCursors,gn as kindToBranchKind,it as mapAgentsBySession,mt as mapRowToSession,Ue as mapToSession,cr as mergeModelMetadata,Qe as messageRouting,r as messages,de as normalizeSelectionString,p as normalizeToBlocks,Je as parseForkTransforms,He as pickFallbackRuntimeOptions,jn as reactionRegistryPackage,me as recoverAgent,ue as registerAbandonHandler,$t as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,ce as registerCompressHandler,rt as registerCompressLineageResolver,ut as registerCoreSessionServiceHandlers,We as registerDrizzleAgentStorage,tt as registerDrizzleImportCursorStorage,Be as registerDrizzleMessageRoutingStorage,nt as registerDrizzleMessageStorage,we as registerDrizzleSessionEventStorage,Fe as registerDrizzleSessionOwnershipStorage,at as registerDrizzleSessionStorage,Te as registerDrizzleTurnStorage,pe as registerForkHandler,et as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,gt as registerListActionsHandler,_n as registerMemoryAgentStorage,je as registerMemoryMessageStorage,re as registerMemorySessionEventStorage,bn as registerMemorySessionOwnershipStorage,yn as registerMemorySessionStorage,le as registerMemoryTurnStorage,be as registerMergeHandler,$e as registerParentResolver,Xe as registerResumeHandler,lt as registerSpawningToolCallResolver,xe as resetBuiltInActionsRegistration,s as resolveAdapterId,fe as resolveAdapterNameById,ji as resolveArtifactContext,Zt as resolveDeterministicAdapterId,Ce as resolveExecutionTarget,ve as resolveModelCapabilities,qt as resolveRuntimeProviderContext,oe as resolveTargetAgents,Se as routeToAgents,u as routeToAgentsCore,zr as selectCodeExecutionProvider,Ln as sessionBridgePackage,a as sessionEvents,er as sessionOrchestratorPackage,rr as sessionPackage,zn as sessionStoragePackage,t as sessions,Nr as subagentServicePackage,nr as toolApprovalPackage,Pn as toolRegistryPackage,Tn as transitionPipelinePackage,tr as trayMenuPackage,n as turns,ee as verifyAndRecoverAgents,Fn as workflowBlockRegistryPackage};
|
|
1
|
+
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as d,H as f,K as p,L as m,M as ee,O as te,R as ne,Tt as re,U as ie,V as ae,W as oe,Z as se,a as ce,b as le,c as ue,d as de,f as fe,i as pe,j as me,k as he,l as ge,n as _e,nt as ve,o as ye,r as be,s as xe,t as Se,tt as Ce,wt as we,x as Te,z as Ee}from"../handlers-mjky_fP2.mjs";import{TurnStorageNamespace as De,TurnStorageSubjects as Oe}from"./turn/namespace.mjs";import{a as ke,i as h}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as g,SessionStorageSubjects as _}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as v,ResolveIdRequestSchema as y,ResolveIdResponseSchema as b,ResolveLiveIdentityRequestSchema as x,ResolveLiveIdentityResponseSchema as S,ResolveNameRequestSchema as C,ResolveNameResponseSchema as w}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as T,AdapterRuntimeSubjects as Ae}from"./adapter-runtime/namespace.mjs";import{$ as je,A as Me,B as Ne,C as Pe,E as Fe,F as Ie,G as Le,H as Re,I as ze,J as Be,K as Ve,L as He,M as Ue,N as We,P as Ge,R as Ke,S as qe,T as Je,U as Ye,V as Xe,X as Ze,Y as E,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,r as lt,rt as ut,s as dt,t as ft,tt as pt,w as mt,x as ht,z as gt}from"../session-D38UuGGX.mjs";import{n as _t}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as vt}from"./settings/storage/providers-namespace.mjs";import{A as yt,E as bt,M as xt,N as St,O as Ct,S as wt,T as Tt,_ as Et,a as Dt,b as Ot,c as kt,i as At,j as jt,k as Mt,l as Nt,n as Pt,o as Ft,r as It,s as Lt,t as Rt,v as zt,w as Bt,x as Vt,y as Ht}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as D,ExecutionTargetSubjects as Ut}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Wt,MessageStorageSubjects as Gt}from"./session/messages/namespace.mjs";import{a as Kt,o as qt,r as Jt,t as Yt}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as Xt}from"./session/turns/namespace.mjs";import{i as Zt,n as Qt,r as $t,t as en}from"../identity-DgTjgflr.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 O,PreferencesSubjects as mn}from"./preferences/storage-namespace.mjs";import{t as hn}from"../namespace-Bo6-o_rW.mjs";import{l as gn,n as _n,p as vn,r as yn,t as bn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as xn,g as k,v as Sn}from"../packages-vF9F4M41.mjs";import{A as Cn,B as wn,C as Tn,D as En,E as Dn,F as On,I as kn,L as An,M as A,N as jn,O as Mn,P as Nn,R as j,S as Pn,T as Fn,V as In,_ as Ln,a as Rn,b as zn,c as Bn,d as Vn,f as M,g as Hn,h as Un,i as Wn,j as Gn,k as Kn,l as qn,m as Jn,n as N,o as Yn,p as Xn,r as Zn,s as Qn,t as P,u as $n,v as er,w as tr,x as nr,y as rr,z as ir}from"../framework-packages-C2tvdFmP.mjs";import{n as ar,r as or,t as sr}from"../package-BCKYMTYG.mjs";import{a as cr,c as lr,i as ur,l as dr,n as fr,o as F,r as pr,s as mr,t as hr,u as gr}from"../model-registry-CeDu27XL.mjs";import{t as _r}from"../tool-approval-service-vG2mEC9p.mjs";import{TrayMenuEntrySchema as vr,TrayMenuGroupEntrySchema as yr,TrayMenuGroupSchema as br,TrayMenuItemClickedSchema as xr,TrayMenuListEntrySchema as Sr,TrayMenuMetadataSchema as Cr,TrayMenuSchemas as wr,TrayMenuSectionSchema as Tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as I,TrayMenuSubjects as Er}from"./tray-menu/namespace.mjs";import{t as Dr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Or}from"../handler-Cc1MhaR4.mjs";import{a as kr,i as Ar,n as jr,o as Mr,r as Nr,t as Pr}from"../package-BSz4hbav.mjs";import{FsNamespace as Fr}from"./filesystem/namespace.mjs";import{r as Ir}from"../tools-ByDy0ueE.mjs";import{t as Lr}from"../workflow-transitions-UOXY-VZa.mjs";import"./capability/index.mjs";import{a as Rr,i as zr,n as Br,r as Vr,t as Hr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Ur,AgentRuntimeSchemas as Wr,AgentRuntimeSelectionSchema as Gr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as L,AgentRuntimeSubjects as Kr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as qr,CodebaseSchemas as Jr}from"./codebase/schemas.mjs";import{CodebaseNamespace as R,CodebaseSubjects as Yr}from"./codebase/namespace.mjs";import{CompressionNamespace as z,CompressionSubjects as Xr}from"./compression/namespace.mjs";import{r as Zr,t as Qr}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as $r}from"./definition/namespace.mjs";import{DialogNamespace as ei}from"./dialog/namespace.mjs";import{a as ti,i as B,n as ni,t as ri}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ii}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as ai}from"./local-notification/namespace.mjs";import{t as oi}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as si}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ci}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as li,SubagentTemplateCreateSchema as ui,SubagentTemplateInstanceSchema as di,SubagentTemplateInstanceStatusSchema as fi,SubagentTemplateKernelSchemas as pi,SubagentTemplateSchema as mi,SubagentTemplateSettingsSchemas as hi,SubagentTemplateSpawnRequestSchema as gi,SubagentTemplateSpawnedEventSchema as _i,SubagentTemplateSummarySchema as vi,SubagentTemplateUpdateSchema as yi}from"./subagent-template/schemas.mjs";import{r as bi,t as xi}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as V,SubagentTemplateSubjects as Si}from"./subagent-template/namespace.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 Ci}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as wi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Ti}from"@makaio/framework/contracts/model-registry";function Ei(e){return{source:`extension`,ownerKey:`extension:${e}`}}function Di(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Oi(){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)}Di(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(k);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=Ei(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 ki(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Ai(){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(P);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(ki(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 ji(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await U(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 H(n,r,e.selectors,0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function H(e,t,n,r,i){let a=Hi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=zi(t);for(let a of t.relations)await Mi(e,o,a,n,r,i)}async function Mi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Pi(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 U(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,sourceLocalId:n.sourceLocalId,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=Ni(f>0?{[n.type]:{...o,depth:f}}:void 0,o.nested),m=new Set(a);m.add(c),await H(e,d,p,i+1,m)}async function U(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(Ci.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}function Ni(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 Pi(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Fi(t);return n!==void 0&&e.kinds.includes(n)}function Fi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,sourceLocalId:t.sourceLocalId,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Bi(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(!Ii(a,Ri(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 Ii(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}Li(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Li(e,t){e.refMetadataByKey.delete(t)}function Ri(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function zi(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 Bi(e){return JSON.stringify([Q(e.sourceRef),e.sourceLocalId??null,e.relationType,Vi(e.target)])}function Vi(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):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 Hi(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 Ui(){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(N);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 Wi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(M);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 Gi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(A);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===A.name||!!e.reactions,async processActivated(n,i,a){if(n===A.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===A.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Ki=[T,_t,L,h,ii,ci,R,z,Zr,Qr,$r,ei,B,D,si,Fr,Or,wi,ai,E,F,Ti,O,oi,vt,hn,xi,I,De,V,bi];export{en as AdapterIdentityRegistry,pt as AdapterRegistry,T as AdapterRuntimeNamespace,v as AdapterRuntimeSchemas,Ae as AdapterRuntimeSubjects,Ur as AgentInstanceStatusSchema,L as AgentRuntimeNamespace,Wr as AgentRuntimeSchemas,Gr as AgentRuntimeSelectionSchema,Kr as AgentRuntimeSubjects,h as AgentStorageNamespace,ke as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,P as ArtifactLifecycleHookRegistryToken,In as ArtifactLifecycleHookRejectedError,Sn as ArtifactSchemaRegistry,k as ArtifactSchemaRegistryToken,tn as BugEntrySchema,Ke as CONNECTOR_SWAP_DEFAULT_PIPELINE,hr as CachedRegistryFetcher,j as CanonicalModelResolutionError,An as CanonicalModelResolver,kn as CanonicalModelService,or as CapabilityService,sr as CapabilityToken,Vr as CodeExecutionService,Hr as CodeExecutionServiceToken,qr as CodebaseChangedEventSchema,R as CodebaseNamespace,Jr as CodebaseSchemas,Yr as CodebaseSubjects,nn as CompressRequestSchema,rn as CompressResponseSchema,an as CompressionEventSchema,z as CompressionNamespace,on as CompressionSchemas,Xr as CompressionSubjects,Et as ContainerCreatedSchema,zt as ContainerDestroyedSchema,Rt as ContainerIsolatedExecutionTargetSchema,Ht as ContainerIsolatedSpawnRequestSchema,Pt as ContainerLocalExecutionTargetSchema,Ot as ContainerLocalSpawnRequestSchema,Vt as ContainerLocalWorkflowSpawnRequestSchema,wt as ContainerRuntimeSchema,ri as ContainerSpawnNamespace,ni as ContainerSpawnSubjects,Bt as ContainerStartedSchema,Tt as ContainerStateSchema,bt as ContainerStoppedSchema,ft as ContextWindowTracker,B as DockerNamespace,ti as DockerSubjects,dt as EmbeddingIndexManager,It as ExecutionTargetInputSchema,At as ExecutionTargetListQuerySchema,D as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ft as ExecutionTargetSchema,Lt as ExecutionTargetSchemas,Ut as ExecutionTargetSubjects,kt as ExecutionTargetTypeSchema,sn as ExtractedContextSchema,ir as FacetNamespaceRegistry,N as FacetNamespaceRegistryToken,fr as FallbackRegistryFetcher,Ki as FrameworkServicesCoreNamespaces,Nt as LocalExecutionTargetSchema,ct as MakaioSession,st as MakaioSessionService,E as MessageRoutingNamespace,Ze as MessageRoutingSubjects,Wt as MessageStorageNamespace,Gt as MessageStorageSubjects,F as ModelRegistryNamespace,pr as ModelRegistryProviderNotFoundError,lr as ModelRegistrySchema,dr as ModelRegistrySchemas,ur as ModelRegistryService,mr as ModelRegistrySubjects,Zn as ModelRegistryToken,un as PreferenceItemSchema,dn as PreferenceKeySchema,fn as PreferenceValueSchema,O as PreferencesNamespace,pn as PreferencesSchemas,mn as PreferencesSubjects,Yt as ProviderContextActivationError,gr as ProviderModelOverrideSchema,Nn as ReactionRegistry,A as ReactionRegistryToken,y as ResolveIdRequestSchema,b as ResolveIdResponseSchema,x as ResolveLiveIdentityRequestSchema,S as ResolveLiveIdentityResponseSchema,C as ResolveNameRequestSchema,w as ResolveNameResponseSchema,Kt as RuntimeProviderContextResolutionError,ze as SessionBridge,Wn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ge as SessionExtensionContextImpl,Ye as SessionOrchestrator,Rn as SessionOrchestratorToken,se as SessionStartError,g as SessionStorageNamespace,_ as SessionStorageSubjects,Yn as SessionStorageToken,Qn as SessionToken,Le as SessionTurnManager,Ct as SpawnRequestSchema,Mt as SpawnResponseSchema,yt as StatusRequestSchema,jt as StatusResponseSchema,xt as StopRequestSchema,St as StopResponseSchema,Ar as SubagentFailureFinalizationError,Mr as SubagentManager,kr as SubagentService,Pr as SubagentServiceToken,li as SubagentTemplateCompletedEventSchema,ui as SubagentTemplateCreateSchema,di as SubagentTemplateInstanceSchema,fi as SubagentTemplateInstanceStatusSchema,V as SubagentTemplateKernelNamespace,pi as SubagentTemplateKernelSchemas,mi as SubagentTemplateSchema,hi as SubagentTemplateSettingsSchemas,gi as SubagentTemplateSpawnRequestSchema,_i as SubagentTemplateSpawnedEventSchema,Si as SubagentTemplateSubjects,vi as SubagentTemplateSummarySchema,yi as SubagentTemplateUpdateSchema,cn as TechnicalDetailsSchema,ln as TodoEntrySchema,_r as ToolApprovalService,Bn as ToolApprovalToken,Gn as ToolRegistry,qn as ToolRegistryToken,Mn as TransitionActionRegistry,Dn as TransitionPipelineService,$n as TransitionPipelineToken,En as TransitionRuleRegistry,vr as TrayMenuEntrySchema,yr as TrayMenuGroupEntrySchema,br as TrayMenuGroupSchema,xr as TrayMenuItemClickedSchema,Sr as TrayMenuListEntrySchema,Cr as TrayMenuMetadataSchema,I as TrayMenuNamespace,wr as TrayMenuSchemas,Tr as TrayMenuSectionSchema,Dr as TrayMenuService,Er as TrayMenuSubjects,Vn as TrayMenuToken,Ve as Turn,Re as TurnContextEnricher,Xt as TurnStorageNamespace,Oe as TurnStorageSubjects,Kn as WORKFLOW_START_ACTION_TYPE,Cn as WorkflowBlockRegistry,M as WorkflowBlockRegistryToken,Ee as actionRegistry,Jt as activateProviderContext,e as agents,Xn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,_e as assembleForkContext,Qt as buildDeterministicAdapterId,m as buildRecoveryContext,te as buildRecoveryContextWithPipeline,l as buildSessionContext,ae as buildTurnInitiator,On as canonicalModelPackage,ar as capabilityPackage,Br as codeExecutionPackage,Oi as createArtifactKindContributionProcessor,Ai as createArtifactLifecycleHookContributionProcessor,Rr as createEffectiveExecutionSignal,Ui as createFacetNamespaceContributionProcessor,Jn as createModelRegistryPackage,Gi as createReactionContributionProcessor,Ie as createSessionExtensionContext,vn as createSessionStorageMemoryState,jr as createSubagentServicePackage,Ir as createToolContributionProcessor,Lr as createTransitionContributionProcessor,Wi as createWorkflowBlockContributionProcessor,he as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Un as facetNamespaceRegistryPackage,ht as fetchAgentsBySession,qe as fetchMessageCountsBySession,Pe as fetchPreviewBySession,Me as fetchSessionPreviewMaps,f as findTurnByAgent,Hn as frameworkCorePackages,ne as getFullConversation,ie as getOrCreateSession,ot as importCursors,gn as kindToBranchKind,it as mapAgentsBySession,mt as mapRowToSession,Ue as mapToSession,cr as mergeModelMetadata,Qe as messageRouting,r as messages,de as normalizeSelectionString,p as normalizeToBlocks,Je as parseForkTransforms,He as pickFallbackRuntimeOptions,jn as reactionRegistryPackage,me as recoverAgent,ue as registerAbandonHandler,$t as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,ce as registerCompressHandler,rt as registerCompressLineageResolver,ut as registerCoreSessionServiceHandlers,We as registerDrizzleAgentStorage,tt as registerDrizzleImportCursorStorage,Be as registerDrizzleMessageRoutingStorage,nt as registerDrizzleMessageStorage,we as registerDrizzleSessionEventStorage,Fe as registerDrizzleSessionOwnershipStorage,at as registerDrizzleSessionStorage,Te as registerDrizzleTurnStorage,pe as registerForkHandler,et as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,gt as registerListActionsHandler,_n as registerMemoryAgentStorage,je as registerMemoryMessageStorage,re as registerMemorySessionEventStorage,bn as registerMemorySessionOwnershipStorage,yn as registerMemorySessionStorage,le as registerMemoryTurnStorage,be as registerMergeHandler,$e as registerParentResolver,Xe as registerResumeHandler,lt as registerSpawningToolCallResolver,xe as resetBuiltInActionsRegistration,s as resolveAdapterId,fe as resolveAdapterNameById,ji as resolveArtifactContext,Zt as resolveDeterministicAdapterId,Ce as resolveExecutionTarget,ve as resolveModelCapabilities,qt as resolveRuntimeProviderContext,oe as resolveTargetAgents,Se as routeToAgents,u as routeToAgentsCore,zr as selectCodeExecutionProvider,Ln as sessionBridgePackage,a as sessionEvents,er as sessionOrchestratorPackage,rr as sessionPackage,zn as sessionStoragePackage,t as sessions,Nr as subagentServicePackage,nr as toolApprovalPackage,Pn as toolRegistryPackage,Tn as transitionPipelinePackage,tr as trayMenuPackage,n as turns,ee as verifyAndRecoverAgents,Fn 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-u0EteHlR2.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-DyBD5MdV2.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-u0EteHlR2.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-DyBD5MdV2.mjs";
|
|
3
3
|
import { LogImportNamespace, LogImportSubjects } from "./namespace.mjs";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
5
|
import { MakaioNodeExtension, TurnIngestionMarker } from "@makaio/framework/contracts";
|