@makaio/framework 1.0.0-dev-1789642522820 → 1.0.0-dev-1790087128488
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.d.mts +15 -7
- 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/{attempt-record-codec-DaQ3WHUs.mjs → attempt-record-codec-DXpdMgyI.mjs} +1 -1
- package/dist/bus/index.d.mts +140 -28
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-ceMF9rsq.mjs +9 -0
- package/dist/client-DWSwtFyI.mjs +1 -0
- package/dist/clients/index.d.mts +27 -1
- 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/code-execution/worker-entry.mjs +1 -1
- package/dist/{code-execution-pUF4IO462.mjs → code-execution-DWSux6k1.mjs} +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 -47
- package/dist/contracts/context-projection/index.d.mts +232 -0
- package/dist/contracts/context-projection/index.mjs +1 -0
- package/dist/contracts/extension/index.d.mts +6 -6
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +174 -174
- 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 +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 +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- 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-DDbHzCPF.d.mts → contribution-DHJJARJP.d.mts} +2 -2
- package/dist/credential-ref-w4ZYpYW0.d.mts +49 -0
- package/dist/{definition-CuaBQyde.d.mts → definition-DeIGoROj.d.mts} +1 -1
- package/dist/{descriptor-to-package-Dw8dnl5E.mjs → descriptor-to-package-BPIArq6N.mjs} +1 -1
- package/dist/{detached-extension-handle-DN3aqLyq.mjs → detached-extension-handle-W5_yfCyE.mjs} +1 -1
- package/dist/drizzle/0041_session_principal_owner.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{execution-attempt-owner-recovery-CE_rvHKE.mjs → execution-attempt-owner-recovery-BZOEVYFH.mjs} +1 -1
- package/dist/extension-C6ANjR33.mjs +1 -0
- package/dist/{extension-context-BH31eOMv.d.mts → extension-context-C2qColIL.d.mts} +47 -4
- package/dist/{extension-discovery-CA2IhDRo.d.mts → extension-discovery-Rup-gANp.d.mts} +114 -15
- package/dist/extension-kOwzAMud.mjs +1 -0
- package/dist/extension-namespace-CeRpt6C8.mjs +1 -0
- package/dist/{framework-packages-BNFG51Td.mjs → framework-packages-U4Xhouxe.mjs} +1 -1
- package/dist/{hook-responses-CQ2q0aPE.d.mts → hook-responses-CN5r7i3k.d.mts} +1 -1
- package/dist/{index-Dm3d490n.d.mts → index-B2bxgKiK.d.mts} +1 -1
- package/dist/{index-B8v1-2-V2.d.mts → index-BMPU9fkA.d.mts} +5 -5
- package/dist/{index-CdWxSwhQ2.d.mts → index-Bcq3UKLQ2.d.mts} +7 -7
- package/dist/{index-Bh57xARQ.d.mts → index-BwaFXFd2.d.mts} +85 -85
- package/dist/{index-CIzvBH8O.d.mts → index-C8two8wz.d.mts} +1 -1
- package/dist/{index-oxZt93RL.d.mts → index-CESqYf8a.d.mts} +2 -2
- package/dist/index-D17f9C3Y.d.mts +869 -0
- package/dist/{index-KdlZRuTp.d.mts → index-D7dbR7Pu2.d.mts} +8 -8
- package/dist/{index-zEkS2L862.d.mts → index-D9ExWo6a2.d.mts} +441 -47
- package/dist/{index-B-u0Tu8X.d.mts → index-DDff0Q_Y.d.mts} +48 -48
- package/dist/{index-Dn23R_ck.d.mts → index-DH55jJaM.d.mts} +531 -26
- package/dist/{index-BS-Fhlux.d.mts → index-DJxg7U2X.d.mts} +29 -8
- package/dist/{index-C87P0WpY2.d.mts → index-DNdHuoy6.d.mts} +1 -1
- package/dist/{index-B6WkHnCQ.d.mts → index-DQU8ZoJr.d.mts} +1 -1
- package/dist/{index-U--ajOHy.d.mts → index-DUYjTfHD.d.mts} +1 -1
- package/dist/{index-CztxEJrG2.d.mts → index-DauaMtPH2.d.mts} +882 -390
- package/dist/{index-HJkz7i4E.d.mts → index-DdJKsdya.d.mts} +188 -10
- package/dist/{index-B4pPwpKk.d.mts → index-DfREUyAk.d.mts} +1 -1
- package/dist/{index-ClKwF6LE.d.mts → index-DjmCOTLM.d.mts} +288 -288
- package/dist/{index-CXpgL3gz2.d.mts → index-Dk_f8Cyz2.d.mts} +3 -3
- package/dist/{index-De_oh9M-2.d.mts → index-DvtVX-Rj.d.mts} +88 -11
- package/dist/{index-DWANFpTG.d.mts → index-Jdju2W3y.d.mts} +1 -1
- package/dist/{index-DQKVQPUS.d.mts → index-L6mssyeZ.d.mts} +1 -1
- package/dist/{index-xsaaa85T.d.mts → index-Xnn0gJhU.d.mts} +359 -359
- package/dist/{index-p1l00SGS.d.mts → index-f31ex0nG.d.mts} +96 -27
- package/dist/{index-zmDRR8gv2.d.mts → index-m5ZQFglW2.d.mts} +1 -1
- package/dist/{index-DmX9W3xH2.d.mts → index-qH2Jhegj2.d.mts} +1 -1
- package/dist/{index-CjDQn6lw.d.mts → index-vA46dx7q.d.mts} +100 -100
- 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 +3 -2
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +6 -6
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +2 -2
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-BF5XBSfw.mjs → lib-BdyGVjpO.mjs} +1 -1
- package/dist/{lib-Dljw2Cqh.mjs → lib-DxP3tPm9.mjs} +1 -1
- package/dist/load-extensions-BGfSWW_R.mjs +1 -0
- package/dist/{load-extensions-DGstT4_p.d.mts → load-extensions-Be_lOjm_.d.mts} +27 -14
- package/dist/mcp-http-server/index.d.mts +7 -2
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-UFcDEBJB.d.mts → namespace-B2L_hlJ0.d.mts} +154 -154
- package/dist/{namespace-rJ3ycPMg.d.mts → namespace-CHc7YF0S.d.mts} +2 -2
- package/dist/{namespace-BMdYJN_t.mjs → namespace-CqJhR19O.mjs} +1 -1
- package/dist/{namespace-BR03HE8G.d.mts → namespace-DudchWPb.d.mts} +415 -0
- package/dist/{namespace-Phxf0Lep.d.mts → namespace-MW-Eg_yB.d.mts} +2 -2
- 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 +102 -4
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-CxO1lfpP.mjs → orchestrator-shared-CF-jPH91.mjs} +1 -1
- package/dist/ownership-memory-handler-C-y9zQf8.mjs +1 -0
- package/dist/package-AlsbnlSt.mjs +159 -0
- package/dist/{package-CDj3F-L3.d.mts → package-Bz938q5F.d.mts} +2 -2
- package/dist/{package-DYScYC0D.mjs → package-kkPGlxMm.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.d.mts +2 -2
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/boot-config.d.mts +45 -0
- package/dist/runtime-node/boot-config.mjs +1 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.mjs +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +345 -27
- package/dist/runtime-node/index.mjs +21 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-DqKCg5Ec.d.mts → schema-FY0EakKe.d.mts} +26 -0
- package/dist/{schemas-CFciElld.d.mts → schemas-C_0aO9S1.d.mts} +15 -15
- package/dist/{schemas-2_D4iVbb.d.mts → schemas-DiXL8NfA.d.mts} +1 -1
- package/dist/{schemas-Cq1d5tid.d.mts → schemas-Dqro7M1d.d.mts} +154 -154
- 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/automation-trigger/index.d.mts +19 -0
- 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-projection/index.d.mts +94 -0
- package/dist/services/context-projection/index.mjs +1 -0
- package/dist/services/context-rules/index.d.mts +1 -1
- 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/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +134 -129
- 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/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +3 -2
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +242 -13
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-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-BNiMZnfF.mjs +1 -0
- package/dist/session-CMbztxNO.mjs +95 -0
- package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-CjE3qppC.d.mts} +1 -1
- package/dist/src-BZdw54VU.mjs +1 -0
- package/dist/{src-CbAw9kjJ.mjs → src-C0sw_Vs_.mjs} +1 -1
- package/dist/{src-Xn6SS74f.mjs → src-CqQSqLQI.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-CXTklh3T.mjs → tool-approval-service-CRo3fZRF.mjs} +1 -1
- package/dist/{tools-hiFv-jJn.mjs → tools-CKaxi3Mb.mjs} +1 -1
- package/dist/{transition-D-Lgbp1j.d.mts → transition-BVB-sXKI.d.mts} +2 -2
- package/dist/{types-D5kqrOad.d.mts → types-CVOL6fAm.d.mts} +334 -334
- package/dist/{types-CjYcHDPo2.d.mts → types-Cues-R7O2.d.mts} +1 -1
- package/dist/ui-hooks/index.d.mts +17 -24
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +11 -2
- package/dist/ui-kernel/index.mjs +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +1 -1
- package/dist/utils/index.d.mts +31 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-CbZtzUZI.d.mts} +2 -2
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +55 -55
- 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/conformance.mjs +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-BalNKTtE.mjs → workflow-transitions-t0ORS1F5.mjs} +1 -1
- package/dist/workflow-worker-DXCXb3g-.mjs +3 -0
- package/package.json +9 -1
- package/dist/bus-BOGcnhgA.mjs +0 -9
- package/dist/client-DqfP7BeX.mjs +0 -1
- package/dist/extension-CfrTp3rC.mjs +0 -1
- package/dist/extension-CnNcY1hR.mjs +0 -1
- package/dist/extension-namespace-Ct9L6SKr.mjs +0 -1
- package/dist/index-Hnsy6XhM.d.mts +0 -435
- package/dist/load-extensions-BVgxTj_y.mjs +0 -1
- package/dist/ownership-memory-handler-BOhmmlJj.mjs +0 -1
- package/dist/session-BP5aq2kt.mjs +0 -95
- package/dist/session-BcArFp9M.mjs +0 -1
- package/dist/workflow-worker-ChrMIcKm.mjs +0 -2
- package/dist/{adapter-binding-BxjUfkOn.d.mts → adapter-binding-CaYBrIkL.d.mts} +0 -0
- package/dist/{attempt-control-evidence-7lwRG73Y.mjs → attempt-control-evidence-CHBnJoqN.mjs} +0 -0
- package/dist/{attempt-fixtures-DHdYmr3o.mjs → attempt-fixtures-D3IsP0KH.mjs} +0 -0
- package/dist/{authority-state-bootstrap-CvuWPywM.mjs → authority-state-bootstrap-4F5Wc_6l.mjs} +0 -0
- package/dist/{base-orchestrator-CrXiMJzf.d.mts → base-orchestrator-1ofFsqUz.d.mts} +0 -0
- package/dist/{bootstrap-start-client-C1ZHbv6e.mjs → bootstrap-start-client-9nOdeDYl.mjs} +0 -0
- package/dist/{capability-service-CQ1aw_p-.d.mts → capability-service-CUN0MIS7.d.mts} +0 -0
- package/dist/{client-ByjHcS78.d.mts → client-BY3sBW2L.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-C4fEAUdo.d.mts → client-binary-version-verifier-BeO4Eptw.d.mts} +0 -0
- package/dist/{clients-namespace-D4BxF2Nw.d.mts → clients-namespace-D92YsbKI.d.mts} +0 -0
- package/dist/{config-namespace-B1zyOYwH.d.mts → config-namespace-OEckUfVE.d.mts} +0 -0
- package/dist/{create-static-mount-Dgxgi4W3.mjs → create-static-mount-4B-mNtx1.mjs} +0 -0
- package/dist/{cross-spawn-BMCAyqrN.mjs → cross-spawn-DGqEuNyT.mjs} +0 -0
- package/dist/{definition-ClWxAKQ2.d.mts → definition-DLJg-P4G.d.mts} +0 -0
- package/dist/{esm-Ccx-3z8E.mjs → esm-DwiWcwH0.mjs} +0 -0
- package/dist/{execution-attempt-repository-aabFKcXN.mjs → execution-attempt-repository-CY289HlC.mjs} +0 -0
- package/dist/{execution-attempt-repository-BUah8hma.d.mts → execution-attempt-repository-DOb5V4N2.d.mts} +0 -0
- package/dist/{extension-package-provenance-C7oO5JAE.mjs → extension-package-provenance-ClpN3GHp.mjs} +0 -0
- package/dist/{filesystem-service-CDYoiwWY.d.mts → filesystem-service-BmavE-uO.d.mts} +0 -0
- package/dist/{index-BbkcbY6d.d.mts → index--gbsE1W0.d.mts} +0 -0
- package/dist/{index-DdVpWkaI.d.mts → index-B36rL4gp.d.mts} +0 -0
- package/dist/{index-DM72_93s.d.mts → index-BD1SbHpP.d.mts} +0 -0
- package/dist/{index-DAaQ--ki.d.mts → index-BQYGOXY5.d.mts} +0 -0
- package/dist/{index-gAyARaKS.d.mts → index-BneZFJ7x.d.mts} +0 -0
- package/dist/{index-D8ELwT5y.d.mts → index-BujgCaKt.d.mts} +0 -0
- package/dist/{index-DfU8s_xP.d.mts → index-C2StVLk4.d.mts} +0 -0
- package/dist/{index-BGnQ0EyD.d.mts → index-CCTzitBA.d.mts} +0 -0
- package/dist/{index-CVRT01082.d.mts → index-Cj_V1aRL.d.mts} +0 -0
- package/dist/{index-Htfr-K5U2.d.mts → index-Cm3HuwMC2.d.mts} +6 -6
- package/dist/{index-nkix3hP7.d.mts → index-CpN2C9jq.d.mts} +0 -0
- package/dist/{index-D6p17KPs.d.mts → index-CsRPJ9FV.d.mts} +0 -0
- package/dist/{index-BPNfYEA22.d.mts → index-CvdvuhTL2.d.mts} +0 -0
- package/dist/{index-DiZ4LmyE.d.mts → index-D7smT-YD.d.mts} +0 -0
- package/dist/{index-B78CRVi9.d.mts → index-DEx4ZFkz.d.mts} +0 -0
- package/dist/{index-F7cVpFJ9.d.mts → index-DTvYp2GT.d.mts} +0 -0
- package/dist/{index-BCU5oByg.d.mts → index-DubyRZD9.d.mts} +0 -0
- package/dist/{index-DjSUOMlr.d.mts → index-DwOpaQAE.d.mts} +0 -0
- package/dist/{index-BZoOYV-y.d.mts → index-DxkSkszz.d.mts} +0 -0
- package/dist/{index-tbjIqwa3.d.mts → index-TBJ1kIGA.d.mts} +0 -0
- package/dist/{index-DXQTkwLB.d.mts → index-YOXWpZAS.d.mts} +0 -0
- package/dist/{index-D6liU_KS.d.mts → index-fxh7TB0q.d.mts} +0 -0
- package/dist/{index-C_kOkO3E.d.mts → index-zqo2mX_Z.d.mts} +0 -0
- package/dist/{json-value-Ymw2f8i_.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
- package/dist/{jsonl-transport-Bg033Ng0.mjs → jsonl-transport-Ct1RWs0h.mjs} +0 -0
- package/dist/{lib-BizqbepU.mjs → lib-DomKag_k.mjs} +0 -0
- package/dist/{namespace-BqfzcRkL.d.mts → namespace-BdsOXWPU.d.mts} +0 -0
- package/dist/{namespace-BCVKdu-U.d.mts → namespace-CxEQv9iZ.d.mts} +0 -0
- package/dist/{namespace-COHHDh2I.d.mts → namespace-D09uQ231.d.mts} +0 -0
- package/dist/{namespace-CvK86QFk.d.mts → namespace-DHLwz4o3.d.mts} +0 -0
- package/dist/{namespace-B5IFLQc-.d.mts → namespace-DHbrNQYD.d.mts} +0 -0
- package/dist/{namespace-s0e215xO.d.mts → namespace-DyD06b5-.d.mts} +0 -0
- package/dist/{namespace-C1pPZKtI.d.mts → namespace-Dz5_Hrz7.d.mts} +0 -0
- package/dist/{namespace-DM5vykb7.d.mts → namespace-hlhPqSsw.d.mts} +0 -0
- package/dist/{namespace-DlOQmhgX.d.mts → namespace-x-gk5SmK.d.mts} +0 -0
- package/dist/{namespace-f6Kz5cwX.d.mts → namespace-zusFEJPh.d.mts} +0 -0
- package/dist/{orchestrator-shared--srEeSaY.d.mts → orchestrator-shared-ChU5qRSe.d.mts} +0 -0
- package/dist/{packages-B98-WETs.d.mts → packages-D2s51nGU.d.mts} +0 -0
- package/dist/{providers-namespace-DRcl03bo.d.mts → providers-namespace-BLVt8OyP.d.mts} +0 -0
- package/dist/{runtime-inputs-DBtVIy9h.d.mts → runtime-inputs-BU_kBrP7.d.mts} +0 -0
- package/dist/{schemas-CEJe8O6P.d.mts → schemas-3KTmPuZg.d.mts} +0 -0
- package/dist/{schemas-D_-iXLQ9.d.mts → schemas-B-5_Dp4_.d.mts} +0 -0
- package/dist/{schemas-CeItAAQM.d.mts → schemas-BLxdGZkr.d.mts} +0 -0
- package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BegArpU_.d.mts} +0 -0
- package/dist/{schemas-Ca5RILd-2.d.mts → schemas-BzB6z9oX2.d.mts} +0 -0
- package/dist/{schemas-CtzZDp29.d.mts → schemas-CBBzvIh0.d.mts} +0 -0
- package/dist/{schemas-JjyFxrC0.d.mts → schemas-CU_52YMQ.d.mts} +8 -8
- /package/dist/{schemas-LiiyNNpr.d.mts → schemas-Cl7fPlRv.d.mts} +0 -0
- /package/dist/{schemas-DJ2vMsgm.d.mts → schemas-CqawCYTY.d.mts} +0 -0
- /package/dist/{server-lifecycle-DUKp1Fbf.d.mts → server-lifecycle-CTJvpdeL.d.mts} +0 -0
- /package/dist/{storage-namespace-IvLOIP7j.d.mts → storage-namespace-B5r_ScUz.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Cv0XiTXb.d.mts → storage-namespace-definition-DiYr8UNl.d.mts} +0 -0
- /package/dist/{types-hkExapGH.d.mts → types-BSx8YYlc.d.mts} +0 -0
- /package/dist/{types-BYEybzjX.d.mts → types-CpEoQapk.d.mts} +0 -0
- /package/dist/{types-QRSc2AUU.d.mts → types-Cuhnt15L.d.mts} +0 -0
- /package/dist/{types-QsyX4H21.d.mts → types-DEGuc-fn.d.mts} +0 -0
- /package/dist/{types-BRM1AZaP.d.mts → types-DciLiPMd.d.mts} +0 -0
- /package/dist/{types-CsmvIK25.mjs → types-wwuw7RkB.mjs} +0 -0
- /package/dist/{window-registry-DeG37kt8.d.mts → window-registry-C3W2wtlX.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-DiXL8NfA.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-MW-Eg_yB.mjs";
|
|
3
|
+
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-DQU8ZoJr.mjs";
|
|
4
|
+
import { p as BindingRecord } from "../schemas-BLxdGZkr.mjs";
|
|
5
|
+
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-Dqro7M1d.mjs";
|
|
6
|
+
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-B2L_hlJ0.mjs";
|
|
7
|
+
import { t as CapabilityService } from "../capability-service-CUN0MIS7.mjs";
|
|
8
|
+
import { n as capabilityPackage, t as CapabilityToken } from "../index-Jdju2W3y.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-C8two8wz.mjs";
|
|
10
|
+
import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-DHLwz4o3.mjs";
|
|
11
|
+
import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-CqawCYTY.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-B-5_Dp4_.mjs";
|
|
13
|
+
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-Dz5_Hrz7.mjs";
|
|
14
|
+
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-DEGuc-fn.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-3KTmPuZg.mjs";
|
|
16
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-hlhPqSsw.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-CpN2C9jq.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-DJxg7U2X.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-DUYjTfHD.mjs";
|
|
20
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-DfREUyAk.mjs";
|
|
21
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DudchWPb.mjs";
|
|
22
|
+
import { g as sessions, u as agents } from "../schema-FY0EakKe.mjs";
|
|
23
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-x-gk5SmK.mjs";
|
|
24
|
+
import { t as TurnStorageNamespace } from "../namespace-DyD06b5-.mjs";
|
|
25
|
+
import { n as TurnStorageSubjects } from "../namespace-CxEQv9iZ.mjs";
|
|
26
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-BdsOXWPU.mjs";
|
|
27
|
+
import { v as ArtifactSchemaRegistry } from "../packages-D2s51nGU.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-BQYGOXY5.mjs";
|
|
29
|
+
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-DEx4ZFkz.mjs";
|
|
30
|
+
import { t as ToolApprovalService } from "../index-fxh7TB0q.mjs";
|
|
31
|
+
import { t as TrayMenuService } from "../index-DxkSkszz.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-BegArpU_.mjs";
|
|
33
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-DHbrNQYD.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-BujgCaKt.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-C2StVLk4.mjs";
|
|
36
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-BzB6z9oX2.mjs";
|
|
37
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-B5r_ScUz.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-C_0aO9S1.mjs";
|
|
39
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-CHc7YF0S.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";
|
|
@@ -1057,8 +1057,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1057
1057
|
teardownCompleted: _$zod.ZodObject<{
|
|
1058
1058
|
evidence: _$zod.ZodEnum<{
|
|
1059
1059
|
unknown: "unknown";
|
|
1060
|
-
exited: "exited";
|
|
1061
1060
|
closed: "closed";
|
|
1061
|
+
exited: "exited";
|
|
1062
1062
|
released: "released";
|
|
1063
1063
|
detached: "detached";
|
|
1064
1064
|
}>;
|
|
@@ -2946,6 +2946,25 @@ 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>>;
|
|
2949
2968
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2950
2969
|
name: _$zod.ZodString;
|
|
2951
2970
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -2982,28 +3001,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2982
3001
|
type: _$zod.ZodLiteral<"http">;
|
|
2983
3002
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
2984
3003
|
exposureMode: _$zod.ZodEnum<{
|
|
2985
|
-
direct: "direct";
|
|
2986
3004
|
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<{
|
|
2996
3005
|
direct: "direct";
|
|
2997
|
-
discovery: "discovery";
|
|
2998
|
-
hidden: "hidden";
|
|
2999
3006
|
}>;
|
|
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
|
-
direct: "direct";
|
|
3016
3015
|
discovery: "discovery";
|
|
3016
|
+
direct: "direct";
|
|
3017
3017
|
hidden: "hidden";
|
|
3018
3018
|
}>;
|
|
3019
3019
|
enabled: _$zod.ZodBoolean;
|
|
@@ -3043,6 +3043,18 @@ 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
|
+
}[];
|
|
3046
3058
|
servers: {
|
|
3047
3059
|
name: string;
|
|
3048
3060
|
transport: {
|
|
@@ -3070,26 +3082,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3070
3082
|
}[] | undefined;
|
|
3071
3083
|
alwaysLoad?: boolean | undefined;
|
|
3072
3084
|
};
|
|
3073
|
-
exposureMode: "
|
|
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;
|
|
3085
|
+
exposureMode: "discovery" | "direct";
|
|
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: "discovery" | "direct" | "hidden";
|
|
3093
3093
|
enabled: boolean;
|
|
3094
3094
|
exposed: boolean;
|
|
3095
3095
|
description?: string | undefined;
|
|
@@ -3118,6 +3118,18 @@ 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
|
+
}[];
|
|
3121
3133
|
servers: {
|
|
3122
3134
|
name: string;
|
|
3123
3135
|
transport: {
|
|
@@ -3145,26 +3157,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3145
3157
|
}[] | undefined;
|
|
3146
3158
|
alwaysLoad?: boolean | undefined;
|
|
3147
3159
|
};
|
|
3148
|
-
exposureMode: "
|
|
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;
|
|
3160
|
+
exposureMode: "discovery" | "direct";
|
|
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: "discovery" | "direct" | "hidden";
|
|
3168
3168
|
enabled: boolean;
|
|
3169
3169
|
exposed: boolean;
|
|
3170
3170
|
description?: string | undefined;
|
|
@@ -3190,6 +3190,18 @@ 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
|
+
}[];
|
|
3193
3205
|
servers: {
|
|
3194
3206
|
name: string;
|
|
3195
3207
|
transport: {
|
|
@@ -3217,26 +3229,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3217
3229
|
}[] | undefined;
|
|
3218
3230
|
alwaysLoad?: boolean | undefined;
|
|
3219
3231
|
};
|
|
3220
|
-
exposureMode: "
|
|
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;
|
|
3232
|
+
exposureMode: "discovery" | "direct";
|
|
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: "discovery" | "direct" | "hidden";
|
|
3240
3240
|
enabled: boolean;
|
|
3241
3241
|
exposed: boolean;
|
|
3242
3242
|
description?: string | undefined;
|
|
@@ -3265,6 +3265,18 @@ 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
|
+
}[];
|
|
3268
3280
|
servers: {
|
|
3269
3281
|
name: string;
|
|
3270
3282
|
transport: {
|
|
@@ -3292,26 +3304,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3292
3304
|
}[] | undefined;
|
|
3293
3305
|
alwaysLoad?: boolean | undefined;
|
|
3294
3306
|
};
|
|
3295
|
-
exposureMode: "
|
|
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;
|
|
3307
|
+
exposureMode: "discovery" | "direct";
|
|
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: "discovery" | "direct" | "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";
|
|
3346
3345
|
running: "running";
|
|
3347
3346
|
waiting_input: "waiting_input";
|
|
3347
|
+
failed: "failed";
|
|
3348
3348
|
}>;
|
|
3349
3349
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3350
3350
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -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
|
+
delete: "delete";
|
|
5128
5129
|
create: "create";
|
|
5129
5130
|
change: "change";
|
|
5130
|
-
delete: "delete";
|
|
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
|
+
delete: "delete";
|
|
5137
5138
|
create: "create";
|
|
5138
5139
|
change: "change";
|
|
5139
|
-
delete: "delete";
|
|
5140
5140
|
}>;
|
|
5141
5141
|
}, _$zod_v4_core0.$strip>>;
|
|
5142
5142
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5961,8 +5961,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5961
5961
|
agentId: _$zod.ZodString;
|
|
5962
5962
|
status: _$zod.ZodEnum<{
|
|
5963
5963
|
completed: "completed";
|
|
5964
|
-
acknowledged: "acknowledged";
|
|
5965
5964
|
sent: "sent";
|
|
5965
|
+
acknowledged: "acknowledged";
|
|
5966
5966
|
}>;
|
|
5967
5967
|
timestamp: _$zod.ZodNumber;
|
|
5968
5968
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5981,8 +5981,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5981
5981
|
agentId: _$zod.ZodString;
|
|
5982
5982
|
status: _$zod.ZodEnum<{
|
|
5983
5983
|
completed: "completed";
|
|
5984
|
-
acknowledged: "acknowledged";
|
|
5985
5984
|
sent: "sent";
|
|
5985
|
+
acknowledged: "acknowledged";
|
|
5986
5986
|
}>;
|
|
5987
5987
|
timestamp: _$zod.ZodNumber;
|
|
5988
5988
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6056,7 +6056,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6056
6056
|
tableName: "message_routing";
|
|
6057
6057
|
dataType: "string";
|
|
6058
6058
|
columnType: "SQLiteText";
|
|
6059
|
-
data: "completed" | "
|
|
6059
|
+
data: "completed" | "sent" | "acknowledged";
|
|
6060
6060
|
driverParam: string;
|
|
6061
6061
|
notNull: true;
|
|
6062
6062
|
hasDefault: false;
|
|
@@ -7076,6 +7076,11 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7076
7076
|
fields: _$zod.ZodArray<_$zod.ZodString>;
|
|
7077
7077
|
}, _$zod_v4_core0.$strip>>>;
|
|
7078
7078
|
}, _$zod_v4_core0.$strip>>;
|
|
7079
|
+
operatorConfig: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
7080
|
+
source: _$zod.ZodString;
|
|
7081
|
+
keys: _$zod.ZodArray<_$zod.ZodString>;
|
|
7082
|
+
values: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
7083
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7079
7084
|
}, _$zod_v4_core0.$strip>;
|
|
7080
7085
|
};
|
|
7081
7086
|
}>, _$_makaio_core0.BusNamespaceDefinition<"host:tray", {
|
|
@@ -7634,9 +7639,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7634
7639
|
status: _$zod.ZodEnum<{
|
|
7635
7640
|
completed: "completed";
|
|
7636
7641
|
cancelled: "cancelled";
|
|
7637
|
-
failed: "failed";
|
|
7638
7642
|
running: "running";
|
|
7639
7643
|
waiting_input: "waiting_input";
|
|
7644
|
+
failed: "failed";
|
|
7640
7645
|
}>;
|
|
7641
7646
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7642
7647
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7712,17 +7717,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7712
7717
|
request: _$zod.ZodObject<{
|
|
7713
7718
|
name: _$zod.ZodString;
|
|
7714
7719
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
7715
|
-
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7716
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7717
7720
|
adapterName: _$zod.ZodString;
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7721
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7721
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7722
|
+
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7722
7723
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7723
7724
|
fork: "fork";
|
|
7724
7725
|
fresh: "fresh";
|
|
7725
7726
|
}>>;
|
|
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>>;
|
|
7726
7731
|
}, _$zod_v4_core0.$strip>;
|
|
7727
7732
|
response: _$zod.ZodObject<{
|
|
7728
7733
|
id: _$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-BP5aq2kt.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-BOhmmlJj.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-BNFG51Td.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-CXTklh3T.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-hiFv-jJn.mjs";import{t as Lr}from"../workflow-transitions-BalNKTtE.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-BMdYJN_t.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-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,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-qH2Jhegj2.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-Cues-R7O2.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-qH2Jhegj2.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-Cues-R7O2.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";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as IMPORT_LAST_SCAN_CATEGORY, r as LogImportMode, t as LogImporterInfo } from "../../index-
|
|
1
|
+
import { n as IMPORT_LAST_SCAN_CATEGORY, r as LogImportMode, t as LogImporterInfo } from "../../index-qH2Jhegj2.mjs";
|
|
2
2
|
import { LogImportSubjects } from "./namespace.mjs";
|
|
3
3
|
export { IMPORT_LAST_SCAN_CATEGORY, type LogImportMode, LogImportSubjects, type LogImporterInfo };
|