@makaio/framework 1.0.0-dev-1779046984397 → 1.0.0-dev-1779051654000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -315
- package/dist/{account-identity-Ce1Bwrqi.mjs → account-identity-Bg_vKkcs.mjs} +1 -1
- package/dist/{adapter-CbyjCE2d.mjs → adapter-CpF2aK_-.mjs} +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/client-DMWXCWhM.mjs +1 -0
- package/dist/clients/index.d.mts +122 -347
- package/dist/clients/index.mjs +2 -1
- package/dist/{clients-namespace-B0xAPZ6J.d.mts → clients-namespace-UHj5wt-l.d.mts} +7 -7
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +64 -63
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +2 -0
- package/dist/contracts/timeout/index.mjs +1 -0
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/{definition-DxvZ9e22.d.mts → definition-DB7bbFSa.d.mts} +84 -91
- package/dist/{extension-COqwS-2Q.mjs → extension-53GerdGg.mjs} +1 -1
- package/dist/extension-fJmv8Yri.mjs +1 -0
- package/dist/{handlers-iGKUJ380.mjs → handlers-DR_4_rAT.mjs} +1 -1
- package/dist/{harness-CEq1Zkf9.mjs → harness-B6lGP9rm.mjs} +1 -1
- package/dist/{index-DBQtpFLE.d.mts → index-BnSQE7z7.d.mts} +3 -3
- package/dist/{index-CVA0m1g9.d.mts → index-CnmPtjnA.d.mts} +4 -4
- package/dist/{index-hapw9_En.d.mts → index-Cq8B7cwK.d.mts} +67 -67
- package/dist/{index-BJOfdtbw.d.mts → index-DGTFJB_8.d.mts} +3 -3
- package/dist/{index-DubqLGH8.d.mts → index-DaEp4UWW.d.mts} +56 -62
- package/dist/{index-C9F3Fc1A.d.mts → index-DwCA1HWa.d.mts} +133 -79
- package/dist/index-E8d_RwaF.d.mts +28 -0
- package/dist/{index-BB419vv-.d.mts → index-e5C62_M3.d.mts} +31 -11
- package/dist/{index-Bv15sNLn.d.mts → index-sBob9D25.d.mts} +1 -1
- package/dist/{index-BAKM2GMH2.d.mts → index-tKvu34DJ2.d.mts} +6 -6
- package/dist/{index-BdPwu6c0.d.mts → index-yvN8UcEH.d.mts} +110 -110
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/{namespace-CkLUtc0g.d.mts → namespace-B1E57soL.d.mts} +22 -22
- package/dist/{namespace-bq4Prtzn.d.mts → namespace-B5ZCshBw.d.mts} +75 -75
- package/dist/{namespace-CCDEOwmW.d.mts → namespace-BCRNwPnw.d.mts} +6 -6
- package/dist/{namespace-ptv-pw_g.d.mts → namespace-BKrV_2gZ.d.mts} +9 -9
- package/dist/{namespace-O5SNY-LV.d.mts → namespace-BpIE-jQW.d.mts} +14 -14
- package/dist/{namespace-8cNguvIp.mjs → namespace-DGMO2E8f.mjs} +1 -1
- package/dist/{namespace-FWx6HxaW.d.mts → namespace-DXnMk3U8.d.mts} +14 -14
- package/dist/{namespace-xkvVw3hf2.d.mts → namespace-DwCyOaZn2.d.mts} +2 -2
- package/dist/{namespace-C2ufjgaQ.d.mts → namespace-Ysg1N6rR.d.mts} +24 -24
- package/dist/{native-session-supervisor-L-UIaEfd.mjs → native-session-supervisor-zPt624Tp.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{orchestrator-shared-Wv1GI2mW.mjs → orchestrator-shared-D2txLAUs.mjs} +1 -1
- package/dist/profile-Cq4A7kQa.mjs +1 -0
- package/dist/{provider-context-CNRQ4d5m.mjs → provider-context-BB4eD8ON.mjs} +1 -1
- package/dist/{schema-BwzXEtT2.d.mts → schema-B295yplx.d.mts} +1 -1
- package/dist/{schema-CAw_BqaG.mjs → schema-C4iznV0q.mjs} +1 -1
- package/dist/{schema-introspection-D61TT_7b.mjs → schema-introspection-DCYC47_d.mjs} +1 -1
- package/dist/{schemas-BdMU-gew.d.mts → schemas-BWvuaL0w.d.mts} +4 -4
- package/dist/{schemas-D9108Iv1.d.mts → schemas-BfMZAwff.d.mts} +7 -7
- package/dist/{schemas-BXstpWVp.mjs → schemas-Bn8aqDIE.mjs} +1 -1
- package/dist/{schemas-qmn5SWPU.d.mts → schemas-C31qbb0s.d.mts} +4 -4
- package/dist/{schemas-DbWs_hj8.d.mts → schemas-DYqKRNju.d.mts} +3 -3
- package/dist/{schemas-DENVYyds.d.mts → schemas-Ra8pz5M-.d.mts} +14 -14
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +34 -34
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/harness/storage/schema.d.mts +4 -4
- package/dist/services/index.d.mts +70 -71
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +7 -7
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +1 -1
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +9 -9
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +1 -1
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/turn/schemas.d.mts +11 -11
- package/dist/services/worker/index.d.mts +1 -1
- package/dist/services/worker/schemas.d.mts +1 -1
- package/dist/{session-piI1R5rP.mjs → session-BCSf-Fgj.mjs} +1 -1
- package/dist/{session-Do6lDZM4.mjs → session-BNo_cIiz.mjs} +1 -1
- package/dist/{shared-DxHLl9UP.mjs → shared-BhuSHZXH.mjs} +1 -1
- package/dist/{skill-CB5h-ZFQ.mjs → skill-20_SBXaI.mjs} +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/{storage-namespace-DAm8iWEj.d.mts → storage-namespace-DoH-Wkjp.d.mts} +10 -10
- package/dist/timeout-D33CUZ0M.mjs +1 -0
- package/dist/{tool-approval-service-BcBSUZCO.mjs → tool-approval-service-CZCPfvVy.mjs} +1 -1
- package/dist/{tools-CDSgj0ee.mjs → tools-Cid9D99F.mjs} +1 -1
- package/dist/{types-BjToUrHp.d.mts → types--nrtGZ1V.d.mts} +24 -24
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/package.json +5 -1
- package/dist/client-Dh4x4GQN.mjs +0 -1
- package/dist/extension-Cbrl4YGX.mjs +0 -1
- package/dist/index-CNxS4Tlu.d.mts +0 -1
- package/dist/profile-4StaDQW0.mjs +0 -1
- package/dist/schemas-CGZy_rU6.d.mts +0 -13
- /package/dist/{base-orchestrator-9z8TuA5a.d.mts → base-orchestrator-BOAPgqF7.d.mts} +0 -0
- /package/dist/{capability-service-tnpR_TaB.mjs → capability-service-DV32ecwR.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-DvcIGXTG.mjs → cleanEnvForAdapter-hTPNvPU5.mjs} +0 -0
- /package/dist/{config-namespace-DLSs83zr.d.mts → config-namespace-ChZOpi1W.d.mts} +0 -0
- /package/dist/{config-namespace-MJT8P0Ud.mjs → config-namespace-wJ2CakDB.mjs} +0 -0
- /package/dist/{cursor-storage-DOQdvo9j.mjs → cursor-storage-BoNI7OAR.mjs} +0 -0
- /package/dist/{drizzle-CWVVw7Er.mjs → drizzle-Bn2GtW8c.mjs} +0 -0
- /package/dist/{execution-target-BW_uiBVe.mjs → execution-target-D6MgthYs.mjs} +0 -0
- /package/dist/{extension-namespace-zaGKi6Qj.mjs → extension-namespace-CTd9kOtt.mjs} +0 -0
- /package/dist/{host-CXAUGGN0.mjs → host-CvEht5RT.mjs} +0 -0
- /package/dist/{identity-B_A0mE63.mjs → identity-DBST3-XO.mjs} +0 -0
- /package/dist/{index-PdUSmPT2.d.mts → index-D2jejYlV.d.mts} +0 -0
- /package/dist/{index-T0471kWA.d.mts → index-DQWMu5fS.d.mts} +0 -0
- /package/dist/{model-registry-CIscwC52.mjs → model-registry-Dzpssh9j.mjs} +0 -0
- /package/dist/{model-registry-BNzpR6TU.mjs → model-registry-xINyxQUT.mjs} +0 -0
- /package/dist/{namespace-Bmc7AW4J2.mjs → namespace-C_h7scWx2.mjs} +0 -0
- /package/dist/{namespace-N0dfwSg6.mjs → namespace-DBw9BYr8.mjs} +0 -0
- /package/dist/{namespace-pNcSglBS.mjs → namespace-DUVgMfTR.mjs} +0 -0
- /package/dist/{namespace-0yuzAKlr.mjs → namespace-OwAf1Brw.mjs} +0 -0
- /package/dist/{namespace-CfEWMXBx.mjs → namespace-Zb8HAbyF.mjs} +0 -0
- /package/dist/{namespace-Db-p67Rg.mjs → namespace-aALq9tnE.mjs} +0 -0
- /package/dist/{namespace-D5Wrt7YU.mjs → namespace-yxIxUsjo.mjs} +0 -0
- /package/dist/{platform-BbSLVg5b.mjs → platform-BMFUpmTA.mjs} +0 -0
- /package/dist/{providers-Cr4Za8a1.mjs → providers-DhiW_fx4.mjs} +0 -0
- /package/dist/{schema-uSGW-6oM.mjs → schema-D3ZG13h9.mjs} +0 -0
- /package/dist/{schemas-C40ZAJ33.mjs → schemas-CEBe89yE.mjs} +0 -0
- /package/dist/{schemas-Co_sVhzz.mjs → schemas-COnLJnt_.mjs} +0 -0
- /package/dist/{schemas-CLxtoKFy.mjs → schemas-CrnlCRep.mjs} +0 -0
- /package/dist/{server-lifecycle-Cf_SZ27k.d.mts → server-lifecycle-BC6FRn86.d.mts} +0 -0
- /package/dist/{server-lifecycle-DbFwlrTW.mjs → server-lifecycle-Dx5WgfoS.mjs} +0 -0
- /package/dist/{session-lineage-Eev4uo4I.d.mts → session-lineage-B0cpHfuc.d.mts} +0 -0
- /package/dist/{shared-schemas-BgQv_tnu.mjs → shared-schemas-Byah36lG.mjs} +0 -0
- /package/dist/{storage-namespace-ADwyijoe.mjs → storage-namespace-BIDs9LPb.mjs} +0 -0
- /package/dist/{storage-namespace-definition-CHu2k14q.mjs → storage-namespace-definition-BjK9nZAN.mjs} +0 -0
- /package/dist/{tray-menu-service-CTXC1Elg.mjs → tray-menu-service-BAYtLdAg.mjs} +0 -0
- /package/dist/{types-CD1LJwPc.d.mts → types-C11LvekX.d.mts} +0 -0
- /package/dist/{ui-config-CXmbsqZV.mjs → ui-config-zawaoEfB.mjs} +0 -0
- /package/dist/{variant-D5kSrL3m.mjs → variant-BZWfmS0q.mjs} +0 -0
- /package/dist/{version-CjS20oXi.mjs → version-D8S4O22A.mjs} +0 -0
- /package/dist/{window-registry-CUftmDr3.mjs → window-registry-B_-hBEcV.mjs} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-
|
|
2
|
-
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-
|
|
1
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-BfMZAwff.mjs";
|
|
2
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-DoH-Wkjp.mjs";
|
|
3
3
|
export { PreferenceItem, PreferenceItemSchema, PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../provider-context-
|
|
1
|
+
import{n as e,r as t,t as n}from"../../provider-context-BB4eD8ON.mjs";export{n as activateProviderContext,e as activateProviderContextStrict,t as buildProviderContext};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../namespace-
|
|
1
|
+
import{n as e,t}from"../../namespace-DBw9BYr8.mjs";export{t as ProviderRuntimeNamespace,e as ProviderRuntimeSubjects};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,c as t,i as n,l as r,r as i,t as a,u as o}from"../../../handlers-
|
|
1
|
+
import{a as e,c as t,i as n,l as r,r as i,t as a,u as o}from"../../../handlers-DR_4_rAT.mjs";export{r as registerAbandonHandler,t as registerAttachHandler,e as registerCompressHandler,n as registerForkHandler,i as registerMergeHandler,a as routeToAgents,o as routeToAgentsCore};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as mapAgentsBySession, $t as extractTextContent, A as MessageRoutingSubjects, At as registerBuiltInActions, B as registerDrizzleTurnStorage, Bt as RecoveryConfig, C as MakaioSessionConfig, Ct as assembleForkContext, D as messageRouting, Dt as normalizeSelectionString, E as SelectMessageRouting, Et as CONNECTOR_SWAP_DEFAULT_PIPELINE, F as registerDrizzleMessageStorage, Ft as ContextWindowTracker, G as SessionLoggerOptions, Gt as verifyAndRecoverAgents, H as importCursors, Ht as ensureAgentCwd, I as InsertTurn, It as AgentContextState, J as InsertSessionEvent, Jt as resolveExecutionTarget, K as registerDrizzleSessionEventStorage, Kt as buildRecoveryContext, L as SelectTurn, Lt as ContextWindowTrackerConfig, M as SelectMessage, Mt as actionRegistry, N as messages, Nt as registerGetStatusCountsHandler, O as registerDrizzleMessageRoutingStorage, Ot as resolveAdapterNameById, P as registerMemoryMessageStorage, Pt as registerResumeHandler, Q as fetchSessionPreviewMaps, Qt as resolveTargetAgents, R as turns, Rt as SessionContextWindowState, S as MakaioSession, St as createAttachmentArtifacts, T as InsertMessageRouting, Tt as pickFallbackRuntimeOptions, U as EventTransform, Ut as ensureAgentModel, V as registerDrizzleImportCursorStorage, Vt as buildRecoveryContextWithPipeline, W as SessionLogger, Wt as recoverAgent, X as sessionEvents, Xt as findTurnByAgent, Y as SelectSessionEvent, Yt as resolveModelCapabilities, Z as SessionPreviewMaps, Zt as getOrCreateSession, _ as AdapterSessionStorageNamespace, _t as SessionBridge, a as kindToBranchKind, an as registerCoreSessionServiceHandlers, at as fetchPreviewBySession, b as SelectAdapterSession, bt as StoreArtifactFn, c as registerParentResolver, ct as registerFtsSearchHandler, d as createAndLinkImportedSession, dt as registerDrizzleSessionStorage, en as normalizeToBlocks, et as mapToSession, f as registerCreateAndLinkHandler, ft as registerMemorySessionStorage, g as AdapterSessionStatus, gt as createSessionExtensionContext, h as AdapterSessionRecord, ht as SessionExtensionContextImpl, i as ContextAssemblyResult, in as SessionOrchestrator, it as fetchMessageCountsBySession, j as InsertMessage, jt as resetBuiltInActionsRegistration, k as MessageRoutingNamespace, kt as registerListActionsHandler, l as CreateAndLinkParams, lt as registerDrizzleAgentStorage, m as registerDrizzleAdapterSessionStorage, mt as AgentStorageSubjects, n as buildSessionContext, nn as AdapterRegistry, nt as SearchSessionRow, o as registerSpawningToolCallResolver, on as MakaioSessionService, ot as mapRowToSession, p as registerSessionDiscoveredHandler, pt as AgentStorageNamespace, q as registerMemorySessionEventStorage, qt as resolveAdapterId, r as BuildContextOptions, rn as ISessionOrchestrator, rt as fetchAgentsBySession, s as registerCompressLineageResolver, st as parseForkTransforms, t as getFullConversation, tn as TurnContextEnricher, tt as SearchFilters, u as CreateAndLinkResult, ut as registerMemoryAgentStorage, v as AdapterSessionStorageSubjects, vt as AttachmentArtifactInput, w as StartTurnOptions, wt as FallbackRuntimeOptions, x as adapterSessions, xt as StoreArtifactResult, y as InsertAdapterSession, yt as AttachmentArtifactMetadata, z as registerMemoryTurnStorage, zt as buildTurnInitiator } from "../../index-
|
|
1
|
+
import { $ as mapAgentsBySession, $t as extractTextContent, A as MessageRoutingSubjects, At as registerBuiltInActions, B as registerDrizzleTurnStorage, Bt as RecoveryConfig, C as MakaioSessionConfig, Ct as assembleForkContext, D as messageRouting, Dt as normalizeSelectionString, E as SelectMessageRouting, Et as CONNECTOR_SWAP_DEFAULT_PIPELINE, F as registerDrizzleMessageStorage, Ft as ContextWindowTracker, G as SessionLoggerOptions, Gt as verifyAndRecoverAgents, H as importCursors, Ht as ensureAgentCwd, I as InsertTurn, It as AgentContextState, J as InsertSessionEvent, Jt as resolveExecutionTarget, K as registerDrizzleSessionEventStorage, Kt as buildRecoveryContext, L as SelectTurn, Lt as ContextWindowTrackerConfig, M as SelectMessage, Mt as actionRegistry, N as messages, Nt as registerGetStatusCountsHandler, O as registerDrizzleMessageRoutingStorage, Ot as resolveAdapterNameById, P as registerMemoryMessageStorage, Pt as registerResumeHandler, Q as fetchSessionPreviewMaps, Qt as resolveTargetAgents, R as turns, Rt as SessionContextWindowState, S as MakaioSession, St as createAttachmentArtifacts, T as InsertMessageRouting, Tt as pickFallbackRuntimeOptions, U as EventTransform, Ut as ensureAgentModel, V as registerDrizzleImportCursorStorage, Vt as buildRecoveryContextWithPipeline, W as SessionLogger, Wt as recoverAgent, X as sessionEvents, Xt as findTurnByAgent, Y as SelectSessionEvent, Yt as resolveModelCapabilities, Z as SessionPreviewMaps, Zt as getOrCreateSession, _ as AdapterSessionStorageNamespace, _t as SessionBridge, a as kindToBranchKind, an as registerCoreSessionServiceHandlers, at as fetchPreviewBySession, b as SelectAdapterSession, bt as StoreArtifactFn, c as registerParentResolver, ct as registerFtsSearchHandler, d as createAndLinkImportedSession, dt as registerDrizzleSessionStorage, en as normalizeToBlocks, et as mapToSession, f as registerCreateAndLinkHandler, ft as registerMemorySessionStorage, g as AdapterSessionStatus, gt as createSessionExtensionContext, h as AdapterSessionRecord, ht as SessionExtensionContextImpl, i as ContextAssemblyResult, in as SessionOrchestrator, it as fetchMessageCountsBySession, j as InsertMessage, jt as resetBuiltInActionsRegistration, k as MessageRoutingNamespace, kt as registerListActionsHandler, l as CreateAndLinkParams, lt as registerDrizzleAgentStorage, m as registerDrizzleAdapterSessionStorage, mt as AgentStorageSubjects, n as buildSessionContext, nn as AdapterRegistry, nt as SearchSessionRow, o as registerSpawningToolCallResolver, on as MakaioSessionService, ot as mapRowToSession, p as registerSessionDiscoveredHandler, pt as AgentStorageNamespace, q as registerMemorySessionEventStorage, qt as resolveAdapterId, r as BuildContextOptions, rn as ISessionOrchestrator, rt as fetchAgentsBySession, s as registerCompressLineageResolver, st as parseForkTransforms, t as getFullConversation, tn as TurnContextEnricher, tt as SearchFilters, u as CreateAndLinkResult, ut as registerMemoryAgentStorage, v as AdapterSessionStorageSubjects, vt as AttachmentArtifactInput, w as StartTurnOptions, wt as FallbackRuntimeOptions, x as adapterSessions, xt as StoreArtifactResult, y as InsertAdapterSession, yt as AttachmentArtifactMetadata, z as registerMemoryTurnStorage, zt as buildTurnInitiator } from "../../index-BnSQE7z7.mjs";
|
|
2
2
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../../index-C_kS2aqV2.mjs";
|
|
3
3
|
import { r as buildProviderContext } from "../../index-Ch3ph52M2.mjs";
|
|
4
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-
|
|
5
|
-
import { a as agents, o as sessions } from "../../schema-
|
|
6
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-
|
|
7
|
-
import { t as TurnStorageNamespace } from "../../namespace-
|
|
8
|
-
import { n as TurnStorageSubjects } from "../../namespace-
|
|
9
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-
|
|
4
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-BpIE-jQW.mjs";
|
|
5
|
+
import { a as agents, o as sessions } from "../../schema-B295yplx.mjs";
|
|
6
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BKrV_2gZ.mjs";
|
|
7
|
+
import { t as TurnStorageNamespace } from "../../namespace-Ysg1N6rR.mjs";
|
|
8
|
+
import { n as TurnStorageSubjects } from "../../namespace-B1E57soL.mjs";
|
|
9
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-B5ZCshBw.mjs";
|
|
10
10
|
export { AdapterRegistry, AdapterSessionRecord, AdapterSessionStatus, AdapterSessionStorageNamespace, AdapterSessionStorageSubjects, AgentContextState, AgentStorageNamespace, AgentStorageSubjects, AttachmentArtifactInput, AttachmentArtifactMetadata, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, CreateAndLinkParams, CreateAndLinkResult, EventTransform, FallbackRuntimeOptions, ISessionOrchestrator, InsertAdapterSession, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, MakaioSession, MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, RecoveryConfig, SearchFilters, SearchSessionRow, SelectAdapterSession, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, SessionLoggerOptions, SessionOrchestrator, SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, StartTurnOptions, StoreArtifactFn, StoreArtifactResult, Turn, TurnCompleteCallback, TurnCompletionResult, TurnConfig, TurnContext, TurnContextEnricher, TurnResult, TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, actionRegistry, adapterSessions, agents, assembleForkContext, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createAndLinkImportedSession, createAttachmentArtifacts, createSessionExtensionContext, ensureAgentCwd, ensureAgentModel, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, importCursors, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerCreateAndLinkHandler, registerDrizzleAdapterSessionStorage, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionEvents, sessions, turns, verifyAndRecoverAgents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./storage/schema.mjs";import{t as n}from"../../schema-
|
|
1
|
+
import{agents as e,sessions as t}from"./storage/schema.mjs";import{t as n}from"../../schema-D3ZG13h9.mjs";import{t as r}from"../../schema-C4iznV0q.mjs";import{n as i,r as a,t as o}from"../../namespace-DGMO2E8f.mjs";import{SessionStorageNamespace as s,SessionStorageSubjects as c}from"./storage/namespace.mjs";import{A as l,C as u,D as d,E as f,F as p,M as m,N as h,O as g,P as _,S as v,T as y,_ as b,a as x,b as S,c as C,d as w,f as T,g as E,h as D,i as O,j as k,k as A,l as j,m as M,n as N,o as P,p as F,r as I,s as L,t as R,u as z,v as B,w as V,x as H,y as U}from"../../handlers-DR_4_rAT.mjs";import{A as W,B as G,C as K,D as q,E as J,F as Y,G as X,H as Z,I as Q,J as $,K as ee,L as te,M as ne,N as re,O as ie,P as ae,Q as oe,R as se,S as ce,T as le,U as ue,V as de,W as fe,X as pe,Y as me,Z as he,_ as ge,a as _e,b as ve,c as ye,d as be,f as xe,g as Se,h as Ce,i as we,j as Te,k as Ee,l as De,m as Oe,n as ke,o as Ae,p as je,q as Me,r as Ne,s as Pe,t as Fe,u as Ie,v as Le,w as Re,x as ze,y as Be,z as Ve}from"../../session-BNo_cIiz.mjs";import{TurnStorageSubjects as He}from"../turn/namespace.mjs";import{TurnStorageNamespace as Ue}from"./turns/namespace.mjs";import{MessageStorageNamespace as We,MessageStorageSubjects as Ge}from"./messages/namespace.mjs";import{r as Ke}from"../../provider-context-BB4eD8ON.mjs";export{pe as AdapterRegistry,Ie as AdapterSessionStorageNamespace,be as AdapterSessionStorageSubjects,_ as AgentStorageNamespace,p as AgentStorageSubjects,Y as CONNECTOR_SWAP_DEFAULT_PIPELINE,Fe as ContextWindowTracker,je as MakaioSession,he as MakaioSessionService,ue as MessageRoutingNamespace,fe as MessageRoutingSubjects,We as MessageStorageNamespace,Ge as MessageStorageSubjects,ne as SessionBridge,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,W as SessionExtensionContextImpl,Se as SessionLogger,G as SessionOrchestrator,s as SessionStorageNamespace,c as SessionStorageSubjects,de as SessionTurnManager,k as Turn,Ve as TurnContextEnricher,Ue as TurnStorageNamespace,He as TurnStorageSubjects,S as actionRegistry,xe as adapterSessions,e as agents,N as assembleForkContext,Ke as buildProviderContext,B as buildRecoveryContext,F as buildRecoveryContextWithPipeline,H as buildSessionContext,y as buildTurnInitiator,_e as createAndLinkImportedSession,re as createAttachmentArtifacts,Te as createSessionExtensionContext,M as ensureAgentCwd,D as ensureAgentModel,A as extractTextContent,Le as fetchAgentsBySession,Be as fetchMessageCountsBySession,ve as fetchPreviewBySession,le as fetchSessionPreviewMaps,f as findTurnByAgent,U as getFullConversation,d as getOrCreateSession,Ce as importCursors,ye as kindToBranchKind,J as mapAgentsBySession,ze as mapRowToSession,q as mapToSession,X as messageRouting,r as messages,w as normalizeSelectionString,l as normalizeToBlocks,ce as parseForkTransforms,ae as pickFallbackRuntimeOptions,E as recoverAgent,j as registerAbandonHandler,C as registerAttachHandler,P as registerBuiltInActions,x as registerCompressHandler,Ne as registerCompressLineageResolver,oe as registerCoreSessionServiceHandlers,Ae as registerCreateAndLinkHandler,De as registerDrizzleAdapterSessionStorage,ie as registerDrizzleAgentStorage,Oe as registerDrizzleImportCursorStorage,Z as registerDrizzleMessageRoutingStorage,Me as registerDrizzleMessageStorage,$ as registerDrizzleSessionEventStorage,Re as registerDrizzleSessionStorage,h as registerDrizzleTurnStorage,O as registerForkHandler,ge as registerFtsSearchHandler,te as registerGetStatusCountsHandler,Q as registerListActionsHandler,K as registerMemoryAgentStorage,ee as registerMemoryMessageStorage,me as registerMemorySessionEventStorage,Ee as registerMemorySessionStorage,m as registerMemoryTurnStorage,I as registerMergeHandler,we as registerParentResolver,se as registerResumeHandler,Pe as registerSessionDiscoveredHandler,ke as registerSpawningToolCallResolver,L as resetBuiltInActionsRegistration,v as resolveAdapterId,T as resolveAdapterNameById,u as resolveExecutionTarget,V as resolveModelCapabilities,g as resolveTargetAgents,R as routeToAgents,z as routeToAgentsCore,a as sessionEvents,t as sessions,n as turns,b as verifyAndRecoverAgents};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-
|
|
1
|
+
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-B5ZCshBw.mjs";
|
|
2
2
|
export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../../schema-
|
|
1
|
+
import{t as e}from"../../../schema-C4iznV0q.mjs";import{MessagePageCursorSchema as t,MessageStorageNamespace as n,MessageStorageSubjects as r}from"@makaio/framework/contracts";const i={...n,extensions:{drizzle:{messages:e}}};export{t as MessagePageCursorSchema,i as MessageStorageNamespace,r as MessageStorageSubjects};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../orchestrator-shared-
|
|
1
|
+
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../orchestrator-shared-D2txLAUs.mjs";export{S as collectTurnCompletedEvents,T as collectTurnStartedEvents,o as collectUserMessageAcknowledgedEvents,w as collectUserMessageCompletedEvents,n as collectUserMessageSentEvents,b as createMockAgent,h as createMockSession,e as emitAdapterInitialized,v as emitAgentAdded,f as emitAgentComplete,a as emitAgentError,C as getStoredEvents,g as registerAgentAddedHandler,y as registerCapturingStartAgentHandler,s as registerCreateSessionHandler,p as registerCwdChangeHandler,x as registerFailingSendMessageHandler,c as registerFailingStartAgentHandler,l as registerGetAgentHandler,_ as registerGetSessionHandler,m as registerModelChangeHandler,d as registerRehydrateAgentHandler,u as registerSendMessageHandler,i as registerStartAgentHandler,r as resetBusHandlers,t as waitForAsync};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-
|
|
1
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-BKrV_2gZ.mjs";
|
|
2
2
|
export { SessionEventStorageNamespace, SessionEventStorageSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../../namespace-
|
|
1
|
+
import{n as e,t}from"../../../namespace-DGMO2E8f.mjs";export{t as SessionEventStorageNamespace,e as SessionEventStorageSubjects};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-
|
|
1
|
+
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-BpIE-jQW.mjs";
|
|
2
2
|
export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as agents, i as SelectSession, n as InsertSession, o as sessions, r as SelectAgent, t as InsertAgent } from "../../../schema-
|
|
1
|
+
import { a as agents, i as SelectSession, n as InsertSession, o as sessions, r as SelectAgent, t as InsertAgent } from "../../../schema-B295yplx.mjs";
|
|
2
2
|
export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, sessions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"../../../namespace-
|
|
1
|
+
import{n as e}from"../../../namespace-DGMO2E8f.mjs";import{SessionStorageSubjects as t}from"../storage/namespace.mjs";import{F as n}from"../../../handlers-DR_4_rAT.mjs";import{W as r}from"../../../session-BNo_cIiz.mjs";import{TurnStorageSubjects as i}from"../../turn/namespace.mjs";import{AdapterRuntimeSubjects as a}from"../../adapter-runtime/namespace.mjs";import{MessageStorageSubjects as o}from"../messages/namespace.mjs";import{n as s}from"../../../namespace-aALq9tnE.mjs";import{ProviderStorageSubjects as c}from"../../settings/storage/providers-namespace.mjs";import{ExecutionTargetSubjects as l}from"../../execution-target/namespace.mjs";import{t as u}from"../../../identity-DBST3-XO.mjs";import{MakaioBus as d}from"@makaio/framework/bus";import{AdapterSubjects as f}from"@makaio/framework/contracts";import{sql as p}from"drizzle-orm";import{buildStoredCredentialRef as m}from"@makaio/framework/contracts/config";function h(e){let t=new u(e);return{registerHandlers(){let e=[d.on(f.initialized,e=>{t.rememberAdapterId(e.payload.adapterId,e.payload.adapterName)}),d.on(a.resolveId,e=>{let n=t.resolveId(e.payload);e.setResult({adapterId:n})}),d.on(a.resolveName,e=>{let n=t.resolveAdapterName(e.payload.adapterId);if(!n)throw Error(`Adapter not found for adapterId="${e.payload.adapterId}"`);e.setResult({adapterName:n})})];return()=>{for(let t of e)t()}},async registerKnownAdapter(e,n){let r=n??t.resolveId({adapterName:e});await d.emit(f.initialized,{adapterName:e,adapterId:r,capabilities:[]})}}}function g(e){let t=h(e);return{registry:t,unsubscribe:t.registerHandlers()}}const _=[p`
|
|
2
2
|
CREATE TABLE IF NOT EXISTS sessions (
|
|
3
3
|
session_id TEXT PRIMARY KEY,
|
|
4
4
|
created_at INTEGER NOT NULL,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../orchestrator-shared-
|
|
1
|
+
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../orchestrator-shared-D2txLAUs.mjs";export{S as collectTurnCompletedEvents,T as collectTurnStartedEvents,o as collectUserMessageAcknowledgedEvents,w as collectUserMessageCompletedEvents,n as collectUserMessageSentEvents,b as createMockAgent,h as createMockSession,e as emitAdapterInitialized,v as emitAgentAdded,f as emitAgentComplete,a as emitAgentError,C as getStoredEvents,g as registerAgentAddedHandler,y as registerCapturingStartAgentHandler,s as registerCreateSessionHandler,p as registerCwdChangeHandler,x as registerFailingSendMessageHandler,c as registerFailingStartAgentHandler,l as registerGetAgentHandler,_ as registerGetSessionHandler,m as registerModelChangeHandler,d as registerRehydrateAgentHandler,u as registerSendMessageHandler,i as registerStartAgentHandler,r as resetBusHandlers,t as waitForAsync};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TurnStorageNamespace } from "../../../namespace-
|
|
1
|
+
import { t as TurnStorageNamespace } from "../../../namespace-Ysg1N6rR.mjs";
|
|
2
2
|
export { TurnStorageNamespace };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../../schema-
|
|
1
|
+
import{t as e}from"../../../schema-D3ZG13h9.mjs";import{TurnStorageNamespace as t}from"../../turn/namespace.mjs";const n={...t,extensions:{drizzle:{turns:e}}};export{n as TurnStorageNamespace};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,i as t,n,o as r,r as i,t as a}from"../../namespace-
|
|
1
|
+
import{a as e,i as t,n,o as r,r as i,t as a}from"../../namespace-yxIxUsjo.mjs";export{e as ActionCategorySchema,r as ActionResultSchema,i as ActionSummarySchema,a as SessionEditorNamespace,t as SessionEditorSchemas,n as SessionEditorSubjects};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../clients-namespace-
|
|
1
|
+
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../clients-namespace-UHj5wt-l.mjs";
|
|
2
2
|
import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../providers-namespace-CDwxY_DV.mjs";
|
|
3
3
|
import { t as StorageIdRequestSchema } from "../../index-ESSDWIB7.mjs";
|
|
4
4
|
import { ProtocolId } from "@makaio/framework/contracts/provider";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../shared-schemas-
|
|
1
|
+
import{t as e}from"../../shared-schemas-Byah36lG.mjs";import{ProviderRecordSchema as t,ProviderStorageNamespace as n,ProviderStorageSubjects as r}from"./storage/providers-namespace.mjs";import{ClientRecordSchema as i,ClientStorageNamespace as a,ClientStorageSubjects as o}from"./storage/clients-namespace.mjs";import"./storage/index.mjs";export{i as ClientRecordSchema,a as ClientStorageNamespace,o as ClientStorageSubjects,t as ProviderRecordSchema,n as ProviderStorageNamespace,r as ProviderStorageSubjects,e as StorageIdRequestSchema};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as RequiredTimeoutConfig } from "../../schemas-CGZy_rU6.mjs";
|
|
2
1
|
import { ExtensionConfigStorageSubjects } from "./storage/extension-configs/namespace.mjs";
|
|
3
2
|
import * as _$zod from "zod";
|
|
4
3
|
import { z } from "zod";
|
|
5
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
6
6
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
7
7
|
|
|
8
8
|
//#region packages/services/core/src/settings/schemas.d.ts
|
|
@@ -172,7 +172,7 @@ declare const SettingsNamespace: _$_makaio_core0.BusNamespaceDefinition<"setting
|
|
|
172
172
|
}, _$zod_v4_core0.$strip>;
|
|
173
173
|
response: _$zod.ZodObject<{
|
|
174
174
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
175
|
-
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>>;
|
|
175
|
+
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown>>>>;
|
|
176
176
|
cwd: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
177
177
|
env: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>>;
|
|
178
178
|
credentials: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>>>;
|
|
@@ -184,7 +184,7 @@ declare const SettingsNamespace: _$_makaio_core0.BusNamespaceDefinition<"setting
|
|
|
184
184
|
adapterName: _$zod.ZodString;
|
|
185
185
|
defaults: _$zod.ZodObject<{
|
|
186
186
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
187
|
-
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>>;
|
|
187
|
+
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown>>>>;
|
|
188
188
|
cwd: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
189
189
|
env: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>>;
|
|
190
190
|
credentials: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>>>;
|
|
@@ -385,7 +385,7 @@ declare const SettingsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
385
385
|
}, _$zod_v4_core0.$strip>;
|
|
386
386
|
response: _$zod.ZodObject<{
|
|
387
387
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
388
|
-
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>>;
|
|
388
|
+
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown>>>>;
|
|
389
389
|
cwd: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
390
390
|
env: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>>;
|
|
391
391
|
credentials: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>>>;
|
|
@@ -397,7 +397,7 @@ declare const SettingsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
397
397
|
adapterName: _$zod.ZodString;
|
|
398
398
|
defaults: _$zod.ZodObject<{
|
|
399
399
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
400
|
-
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>>;
|
|
400
|
+
timeouts: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodType<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown, _$zod_v4_core0.$ZodTypeInternals<Partial<_$_makaio_contracts0.RequiredTimeoutConfig>, unknown>>>>;
|
|
401
401
|
cwd: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
402
402
|
env: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>>;
|
|
403
403
|
credentials: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>>>;
|
|
@@ -517,14 +517,14 @@ declare const WorkerSettingsNamespace: _$_makaio_core0.BusNamespaceDefinition<"s
|
|
|
517
517
|
create: {
|
|
518
518
|
request: _$zod.ZodObject<{
|
|
519
519
|
name: _$zod.ZodString;
|
|
520
|
-
adapterName: _$zod.ZodString;
|
|
521
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
522
520
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
523
521
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
524
522
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
525
523
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
526
524
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
525
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
527
526
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
527
|
+
adapterName: _$zod.ZodString;
|
|
528
528
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
529
529
|
fork: "fork";
|
|
530
530
|
fresh: "fresh";
|
|
@@ -608,14 +608,14 @@ declare const WorkerSettingsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
608
608
|
create: {
|
|
609
609
|
request: _$zod.ZodObject<{
|
|
610
610
|
name: _$zod.ZodString;
|
|
611
|
-
adapterName: _$zod.ZodString;
|
|
612
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
613
611
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
614
612
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
615
613
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
616
614
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
617
615
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
616
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
618
617
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
618
|
+
adapterName: _$zod.ZodString;
|
|
619
619
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
620
620
|
fork: "fork";
|
|
621
621
|
fresh: "fresh";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ExtensionConfigStorageSubjects as e}from"./storage/extension-configs/namespace.mjs";import{a as t,i as n,n as r,r as i,t as a}from"../../namespace-
|
|
1
|
+
import{ExtensionConfigStorageSubjects as e}from"./storage/extension-configs/namespace.mjs";import{a as t,i as n,n as r,r as i,t as a}from"../../namespace-C_h7scWx2.mjs";export{t as AdapterInfoSchema,e as ExtensionConfigStorageSubjects,a as SettingsNamespace,r as SettingsSubjects,i as WorkerSettingsNamespace,n as WorkerSettingsSubjects};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../../clients-namespace-
|
|
1
|
+
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../../clients-namespace-UHj5wt-l.mjs";
|
|
2
2
|
export { ClientRecord, ClientRecordSchema, ClientStorageNamespace, ClientStorageSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../../shared-schemas-
|
|
1
|
+
import{t as e}from"../../../shared-schemas-Byah36lG.mjs";import{z as t}from"zod";import{createStorageNamespaceDefinition as n}from"@makaio/framework/storage";import{ClientBinaryCompatibilitySchema as r,ClientToolDefinitionSchema as i,LogSourceDefinitionSchema as a}from"@makaio/framework/contracts/client";import{ApprovalPolicySchema as o}from"@makaio/framework/contracts/harness";const s=t.object({id:t.string(),packageName:t.string(),name:t.string(),description:t.string().optional(),binary:r.optional(),nativeTools:t.array(i),defaultApprovalPolicy:o,logSources:t.array(a).optional(),defaultProviderId:t.string().optional(),env:t.record(t.string(),t.string()).optional(),credentials:t.record(t.string(),t.string()).optional(),cwd:t.string().optional(),enabled:t.boolean(),createdAt:t.number().int().nonnegative().finite(),updatedAt:t.number().int().nonnegative().finite()}),c=n(`client`,{schemas:{get:{request:e,response:t.object({client:s.nullable()})},list:{request:t.object({}),response:t.object({clients:t.array(s)})},listByBinaryName:{request:t.object({binaryName:t.string()}),response:t.object({clients:t.array(s)})}}}),l=c.subjects;export{s as ClientRecordSchema,c as ClientStorageNamespace,l as ClientStorageSubjects};
|
|
@@ -18,8 +18,8 @@ declare const ExtensionConfigInputSchema: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
enabled: z.ZodBoolean;
|
|
20
20
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21
|
-
extensionName: z.ZodString;
|
|
22
21
|
scope: z.ZodString;
|
|
22
|
+
extensionName: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
/** Query schema for listing extension configs. */
|
|
25
25
|
declare const ExtensionConfigListQuerySchema: z.ZodObject<{
|
|
@@ -63,8 +63,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
|
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
enabled: z.ZodBoolean;
|
|
65
65
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
66
|
-
extensionName: z.ZodString;
|
|
67
66
|
scope: z.ZodString;
|
|
67
|
+
extensionName: z.ZodString;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
response: z.ZodObject<{
|
|
@@ -131,8 +131,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
|
|
|
131
131
|
id: z.ZodString;
|
|
132
132
|
enabled: z.ZodBoolean;
|
|
133
133
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
134
|
-
extensionName: z.ZodString;
|
|
135
134
|
scope: z.ZodString;
|
|
135
|
+
extensionName: z.ZodString;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
response: z.ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../../clients-namespace-
|
|
1
|
+
import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../../clients-namespace-UHj5wt-l.mjs";
|
|
2
2
|
import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../../providers-namespace-CDwxY_DV.mjs";
|
|
3
3
|
import { t as StorageIdRequestSchema } from "../../../index-ESSDWIB7.mjs";
|
|
4
4
|
export { ClientRecord, ClientRecordSchema, ClientStorageNamespace, ClientStorageSubjects, ProviderRecord, ProviderRecordSchema, ProviderStorageNamespace, ProviderStorageSubjects, StorageIdRequestSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../../shared-schemas-
|
|
1
|
+
import{t as e}from"../../../shared-schemas-Byah36lG.mjs";import{ProviderRecordSchema as t,ProviderStorageNamespace as n,ProviderStorageSubjects as r}from"./providers-namespace.mjs";import{ClientRecordSchema as i,ClientStorageNamespace as a,ClientStorageSubjects as o}from"./clients-namespace.mjs";export{i as ClientRecordSchema,a as ClientStorageNamespace,o as ClientStorageSubjects,t as ProviderRecordSchema,n as ProviderStorageNamespace,r as ProviderStorageSubjects,e as StorageIdRequestSchema};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../../shared-schemas-
|
|
1
|
+
import{t as e}from"../../../shared-schemas-Byah36lG.mjs";import{z as t}from"zod";import{AIModelSchema as n,ModelFilterModeSchema as r,ProtocolEndpointsSchema as i,ProtocolIdSchema as a}from"@makaio/framework/contracts";import{createStorageNamespaceDefinition as o}from"@makaio/framework/storage";const s=t.object({id:t.string(),packageName:t.string(),name:t.string(),description:t.string().optional(),endpoints:i.optional(),defaultModel:t.string().optional(),fastModel:t.string().optional(),availableModels:t.array(n),defaultModelFilterMode:r,credentialEnvVars:t.record(t.string(),t.string()).optional(),enabled:t.boolean(),createdAt:t.number(),updatedAt:t.number()}),c=o(`provider`,{schemas:{get:{request:e,response:t.object({provider:s.nullable()})},list:{request:t.object({}),response:t.object({providers:t.array(s)})},listByProtocol:{request:t.object({protocol:a}),response:t.object({providers:t.array(s)})}}}),l=c.subjects;export{s as ProviderRecordSchema,c as ProviderStorageNamespace,l as ProviderStorageSubjects};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../tool-approval-service-
|
|
1
|
+
import{t as e}from"../../tool-approval-service-CZCPfvVy.mjs";export{e as ToolApprovalService};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,n as t,r as n,t as r}from"../../tools-
|
|
1
|
+
import{D as e,n as t,r as n,t as r}from"../../tools-Cid9D99F.mjs";export{r as FILE_ACCESS_RULES_KEY,e as ToolRegistry,n as createToolContributionProcessor,t as extractToolFilePath};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as TrayMenuService } from "../../index-7sXlairn2.mjs";
|
|
2
|
-
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-
|
|
3
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-
|
|
2
|
+
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-DYqKRNju.mjs";
|
|
3
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-DwCyOaZn2.mjs";
|
|
4
4
|
export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TrayMenuEntrySchema as e,TrayMenuGroupEntrySchema as t,TrayMenuGroupSchema as n,TrayMenuItemClickedSchema as r,TrayMenuListEntrySchema as i,TrayMenuMetadataSchema as a,TrayMenuSchemas as o,TrayMenuSectionSchema as s}from"./schemas.mjs";import{TrayMenuNamespace as c,TrayMenuSubjects as l}from"./namespace.mjs";import{t as u}from"../../tray-menu-service-
|
|
1
|
+
import{TrayMenuEntrySchema as e,TrayMenuGroupEntrySchema as t,TrayMenuGroupSchema as n,TrayMenuItemClickedSchema as r,TrayMenuListEntrySchema as i,TrayMenuMetadataSchema as a,TrayMenuSchemas as o,TrayMenuSectionSchema as s}from"./schemas.mjs";import{TrayMenuNamespace as c,TrayMenuSubjects as l}from"./namespace.mjs";import{t as u}from"../../tray-menu-service-BAYtLdAg.mjs";export{e as TrayMenuEntrySchema,t as TrayMenuGroupEntrySchema,n as TrayMenuGroupSchema,r as TrayMenuItemClickedSchema,i as TrayMenuListEntrySchema,a as TrayMenuMetadataSchema,c as TrayMenuNamespace,o as TrayMenuSchemas,s as TrayMenuSectionSchema,u as TrayMenuService,l as TrayMenuSubjects};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-
|
|
1
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-DwCyOaZn2.mjs";
|
|
2
2
|
export { TrayMenuNamespace, TrayMenuSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-DYqKRNju.mjs";
|
|
2
2
|
export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuSchemas, TrayMenuSectionSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-
|
|
1
|
+
import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-B1E57soL.mjs";
|
|
2
2
|
export { TurnStorageNamespace, TurnStorageSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-
|
|
1
|
+
import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-B1E57soL.mjs";
|
|
2
2
|
export { TurnStorageNamespace, TurnStorageSubjects };
|
|
@@ -26,8 +26,8 @@ declare const TurnStorageSchemas: {
|
|
|
26
26
|
startedAt: z.ZodNumber;
|
|
27
27
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
28
28
|
status: z.ZodEnum<{
|
|
29
|
-
error: "error";
|
|
30
29
|
completed: "completed";
|
|
30
|
+
error: "error";
|
|
31
31
|
active: "active";
|
|
32
32
|
}>;
|
|
33
33
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -56,12 +56,12 @@ declare const TurnStorageSchemas: {
|
|
|
56
56
|
request: z.ZodObject<{
|
|
57
57
|
turnId: z.ZodString;
|
|
58
58
|
status: z.ZodEnum<{
|
|
59
|
-
error: "error";
|
|
60
59
|
completed: "completed";
|
|
60
|
+
error: "error";
|
|
61
61
|
}>;
|
|
62
62
|
expectedStatus: z.ZodOptional<z.ZodEnum<{
|
|
63
|
-
error: "error";
|
|
64
63
|
completed: "completed";
|
|
64
|
+
error: "error";
|
|
65
65
|
active: "active";
|
|
66
66
|
}>>;
|
|
67
67
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -86,8 +86,8 @@ declare const TurnStorageSchemas: {
|
|
|
86
86
|
startedAt: z.ZodNumber;
|
|
87
87
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
status: z.ZodEnum<{
|
|
89
|
-
error: "error";
|
|
90
89
|
completed: "completed";
|
|
90
|
+
error: "error";
|
|
91
91
|
active: "active";
|
|
92
92
|
}>;
|
|
93
93
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -124,8 +124,8 @@ declare const TurnStorageSchemas: {
|
|
|
124
124
|
startedAt: z.ZodNumber;
|
|
125
125
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
126
126
|
status: z.ZodEnum<{
|
|
127
|
-
error: "error";
|
|
128
127
|
completed: "completed";
|
|
128
|
+
error: "error";
|
|
129
129
|
active: "active";
|
|
130
130
|
}>;
|
|
131
131
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -151,8 +151,8 @@ declare const TurnStorageSchemas: {
|
|
|
151
151
|
startedAt: z.ZodNumber;
|
|
152
152
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
153
153
|
status: z.ZodEnum<{
|
|
154
|
-
error: "error";
|
|
155
154
|
completed: "completed";
|
|
155
|
+
error: "error";
|
|
156
156
|
active: "active";
|
|
157
157
|
}>;
|
|
158
158
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -189,8 +189,8 @@ declare const TurnStorageSchemas: {
|
|
|
189
189
|
startedAt: z.ZodNumber;
|
|
190
190
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
191
191
|
status: z.ZodEnum<{
|
|
192
|
-
error: "error";
|
|
193
192
|
completed: "completed";
|
|
193
|
+
error: "error";
|
|
194
194
|
active: "active";
|
|
195
195
|
}>;
|
|
196
196
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -220,8 +220,8 @@ declare const TurnStorageSchemas: {
|
|
|
220
220
|
sessionId: z.ZodString;
|
|
221
221
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
222
222
|
status: z.ZodOptional<z.ZodEnum<{
|
|
223
|
-
error: "error";
|
|
224
223
|
completed: "completed";
|
|
224
|
+
error: "error";
|
|
225
225
|
active: "active";
|
|
226
226
|
}>>;
|
|
227
227
|
}, z.core.$strip>;
|
|
@@ -233,8 +233,8 @@ declare const TurnStorageSchemas: {
|
|
|
233
233
|
startedAt: z.ZodNumber;
|
|
234
234
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
235
235
|
status: z.ZodEnum<{
|
|
236
|
-
error: "error";
|
|
237
236
|
completed: "completed";
|
|
237
|
+
error: "error";
|
|
238
238
|
active: "active";
|
|
239
239
|
}>;
|
|
240
240
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -271,8 +271,8 @@ declare const TurnStorageSchemas: {
|
|
|
271
271
|
startedAt: z.ZodNumber;
|
|
272
272
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
273
273
|
status: z.ZodEnum<{
|
|
274
|
-
error: "error";
|
|
275
274
|
completed: "completed";
|
|
275
|
+
error: "error";
|
|
276
276
|
active: "active";
|
|
277
277
|
}>;
|
|
278
278
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -310,8 +310,8 @@ declare const TurnStorageSchemas: {
|
|
|
310
310
|
startedAt: z.ZodNumber;
|
|
311
311
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
error: "error";
|
|
314
313
|
completed: "completed";
|
|
314
|
+
error: "error";
|
|
315
315
|
active: "active";
|
|
316
316
|
}>;
|
|
317
317
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as WorkerSpawnRequestSchema, a as WorkerDefinitionSchema, c as WorkerDefinitionUpdate, d as WorkerInstanceSchema, f as WorkerInstanceStatus, g as WorkerSpawnRequest, h as WorkerSettingsSchemas, i as WorkerDefinitionCreateSchema, l as WorkerDefinitionUpdateSchema, m as WorkerKernelSchemas, n as WorkerDefinition, o as WorkerDefinitionSummary, p as WorkerInstanceStatusSchema, r as WorkerDefinitionCreate, s as WorkerDefinitionSummarySchema, t as WorkerCompletedEventSchema, u as WorkerInstance, v as WorkerSpawnedEventSchema } from "../../schemas-
|
|
1
|
+
import { _ as WorkerSpawnRequestSchema, a as WorkerDefinitionSchema, c as WorkerDefinitionUpdate, d as WorkerInstanceSchema, f as WorkerInstanceStatus, g as WorkerSpawnRequest, h as WorkerSettingsSchemas, i as WorkerDefinitionCreateSchema, l as WorkerDefinitionUpdateSchema, m as WorkerKernelSchemas, n as WorkerDefinition, o as WorkerDefinitionSummary, p as WorkerInstanceStatusSchema, r as WorkerDefinitionCreate, s as WorkerDefinitionSummarySchema, t as WorkerCompletedEventSchema, u as WorkerInstance, v as WorkerSpawnedEventSchema } from "../../schemas-C31qbb0s.mjs";
|
|
2
2
|
import { n as WorkerSubjects, t as WorkerKernelNamespace } from "../../namespace-ZbthBQVt.mjs";
|
|
3
3
|
export { WorkerCompletedEventSchema, type WorkerDefinition, type WorkerDefinitionCreate, WorkerDefinitionCreateSchema, WorkerDefinitionSchema, type WorkerDefinitionSummary, WorkerDefinitionSummarySchema, type WorkerDefinitionUpdate, WorkerDefinitionUpdateSchema, type WorkerInstance, WorkerInstanceSchema, type WorkerInstanceStatus, WorkerInstanceStatusSchema, WorkerKernelNamespace, WorkerKernelSchemas, WorkerSettingsSchemas, type WorkerSpawnRequest, WorkerSpawnRequestSchema, WorkerSpawnedEventSchema, WorkerSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as WorkerSpawnRequestSchema, a as WorkerDefinitionSchema, c as WorkerDefinitionUpdate, d as WorkerInstanceSchema, f as WorkerInstanceStatus, g as WorkerSpawnRequest, h as WorkerSettingsSchemas, i as WorkerDefinitionCreateSchema, l as WorkerDefinitionUpdateSchema, m as WorkerKernelSchemas, n as WorkerDefinition, o as WorkerDefinitionSummary, p as WorkerInstanceStatusSchema, r as WorkerDefinitionCreate, s as WorkerDefinitionSummarySchema, t as WorkerCompletedEventSchema, u as WorkerInstance, v as WorkerSpawnedEventSchema } from "../../schemas-
|
|
1
|
+
import { _ as WorkerSpawnRequestSchema, a as WorkerDefinitionSchema, c as WorkerDefinitionUpdate, d as WorkerInstanceSchema, f as WorkerInstanceStatus, g as WorkerSpawnRequest, h as WorkerSettingsSchemas, i as WorkerDefinitionCreateSchema, l as WorkerDefinitionUpdateSchema, m as WorkerKernelSchemas, n as WorkerDefinition, o as WorkerDefinitionSummary, p as WorkerInstanceStatusSchema, r as WorkerDefinitionCreate, s as WorkerDefinitionSummarySchema, t as WorkerCompletedEventSchema, u as WorkerInstance, v as WorkerSpawnedEventSchema } from "../../schemas-C31qbb0s.mjs";
|
|
2
2
|
export { WorkerCompletedEventSchema, WorkerDefinition, WorkerDefinitionCreate, WorkerDefinitionCreateSchema, WorkerDefinitionSchema, WorkerDefinitionSummary, WorkerDefinitionSummarySchema, WorkerDefinitionUpdate, WorkerDefinitionUpdateSchema, WorkerInstance, WorkerInstanceSchema, WorkerInstanceStatus, WorkerInstanceStatusSchema, WorkerKernelSchemas, WorkerSettingsSchemas, WorkerSpawnRequest, WorkerSpawnRequestSchema, WorkerSpawnedEventSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as e,G as t,I as n,L as r,M as i,N as a,S as o,W as s,at as c,q as l,rt as u}from"./schemas-
|
|
1
|
+
import{F as e,G as t,I as n,L as r,M as i,N as a,S as o,W as s,at as c,q as l,rt as u}from"./schemas-Bn8aqDIE.mjs";import{t as d}from"./schemas-COnLJnt_.mjs";import{i as f}from"./account-identity-Bg_vKkcs.mjs";import{t as p}from"./storage-namespace-definition-BjK9nZAN.mjs";import{z as m}from"zod";import{createBusNamespace as h}from"@makaio/framework/core";const g=h(`session`,o),_=g.subjects;function v(e){return a.includes(e.type)}const y=`ui-warnings`,b=`connector-swap-warning-suppressed`,x=1440*60*1e3,S={cancel:`cancel`,edit:`edit`,continue:`continue`},C=`CONNECTOR_SWAP_CANCELLED`;var w=class extends Error{code=C;constructor(){super(`Connector swap cancelled by user`),this.name=`ConnectorSwapCancelledError`}};function T(e){return e instanceof w||e instanceof Error&&`code`in e&&e.code===`CONNECTOR_SWAP_CANCELLED`}const E={branch:{label:`branch`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},subagent:{label:`subagent`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},fork:{label:`fork`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},compress:{label:`compress`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},rewrite:{label:`rewrite`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},coordinator:{label:`coordinator`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1},aside:{label:`aside`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1}};function D(e){return e!=null&&E[e].staysInView}function O(e){return e==null||E[e].navigatesToChild}function k(e){return e!=null&&E[e].canMergeBack}function A(e){return E[e]}const j=m.object({timestamp:m.number(),messageId:m.string()}),M=p(`message`,{schemas:{append:{request:m.object({message:l.omit({messageId:!0}).extend({messageId:m.string().optional()}),emitEvent:m.boolean().optional()}),response:m.object({message:l})},getBySession:{request:m.object({sessionId:m.string(),limit:m.number().int().min(1).optional(),after:j.optional(),includeAfter:m.boolean().optional(),order:m.enum([`asc`,`desc`]).optional()}),response:m.object({messages:m.array(l),nextCursor:j.nullable()})},getByTurn:{request:m.object({turnId:m.string()}),response:m.object({messages:m.array(l)})},get:{request:m.object({messageId:m.string()}),response:m.object({message:l.nullable()})},getByAdapterMessageId:{request:m.object({adapterMessageId:m.string()}),response:m.object({message:l.nullable()})},search:{request:m.object({query:m.string(),sessionId:m.string().optional(),limit:m.number().int().min(1).optional()}),response:m.object({messages:m.array(l),total:m.number()})},ftsSearch:{request:m.object({query:m.string(),sessionId:m.string().optional(),limit:m.number().int().min(1).optional().default(20)}),response:m.object({results:m.array(m.object({messageId:m.string(),sessionId:m.string(),score:m.number(),excerpt:m.string()})),total:m.number()})},upsertByAdapterMessageId:{request:m.object({sessionId:m.string(),turnId:m.string().nullable(),adapterMessageId:m.string(),role:m.enum([`user`,`assistant`]),contentText:m.string(),blocks:m.array(s),agentId:m.string().optional(),adapterSessionId:m.string().optional(),timestamp:m.number(),origin:t.optional()}),response:m.object({messageId:m.string(),created:m.boolean()})},stored:m.object({message:l})}}),N=M.subjects;function P(e,t){return e.timestamp===t.timestamp?e.messageId.localeCompare(t.messageId):e.timestamp-t.timestamp}function F(e,t){return P(t,e)}function I(e){return{timestamp:e.timestamp,messageId:e.messageId}}function L(e){return`${e.timestamp}:${e.messageId}`}const R=m.object({after:m.string().optional(),limit:m.number().int().min(1).optional(),types:m.array(m.string()).optional(),includeReasoning:m.boolean().optional(),order:m.enum([`asc`,`desc`]).optional()}),z=m.object({events:m.array(i),nextCursor:m.string().nullable(),totalCount:m.number().optional()}),B=p(`sessionEvent`,{schemas:{append:{request:m.object({event:i}),response:m.object({success:m.boolean()})},getEvents:{request:m.object({sessionId:m.string(),options:R.optional()}),response:z},getByIds:{request:m.object({sessionId:m.string(),eventIds:m.array(m.string())}),response:m.object({events:m.array(i)})},deleteBySession:{request:m.object({sessionId:m.string()}),response:m.object({success:m.boolean(),deletedCount:m.number().optional()})},getEventsBySessions:{request:m.object({sessionIds:m.array(m.string()),types:m.array(m.string()),limitPerSession:m.number().int().min(1).optional()}),response:m.object({eventsBySession:m.record(m.string(),m.array(i))})}}}),V=B.subjects,H=e.extend({preview:n});function U(e,t){e.clientAccountId!==void 0&&e.lastClientIdentityObservation===void 0&&t.addIssue({code:m.ZodIssueCode.custom,path:[`lastClientIdentityObservation`],message:`lastClientIdentityObservation is required when clientAccountId is provided`}),e.clientAccountId!==void 0&&e.clientId===void 0&&t.addIssue({code:m.ZodIssueCode.custom,path:[`clientId`],message:`clientId is required when clientAccountId is provided`})}const W=e.superRefine((e,t)=>{U(e,t)}),G=m.object({sessionId:m.string(),session:W,ifAbsent:m.boolean().optional()}).superRefine((e,t)=>{e.sessionId!==e.session.sessionId&&t.addIssue({code:m.ZodIssueCode.custom,path:[`session`,`sessionId`],message:`session.sessionId must match the top-level sessionId`})}),K={request:m.object({sessionId:m.string(),status:m.enum([`active`,`closed`,`archived`,`discovered`]).optional(),parentSessionId:m.string().optional(),rootSessionId:m.string().optional(),forkPointMessageId:m.string().optional(),branchKind:c.optional(),isOrchestrated:m.boolean().optional(),clientId:m.string().optional(),clientAccountId:m.string().optional(),lastClientIdentityObservation:f.optional(),executionTargetId:m.string().nullable().optional(),approvalPolicyOverride:d.nullable().optional(),title:m.string().optional(),targetWorkingDirectory:m.string().optional(),createdAt:m.number().finite().optional(),lastActivityAt:m.number().finite().optional(),spawningToolCallId:m.string().nullable().optional()}),response:m.object({success:m.boolean(),clientAccountChanged:m.boolean().optional()})},q=p(`session`,{schemas:{get:{request:m.object({sessionId:m.string()}),response:m.object({session:e.nullable()})},set:{request:G,response:m.object({success:m.boolean(),clientAccountChanged:m.boolean().optional()})},delete:{request:m.object({sessionId:m.string()}),response:m.object({success:m.boolean()})},list:{request:m.object({status:m.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),limit:m.number().int().min(1).optional(),offset:m.number().int().min(0).optional(),includePreview:m.boolean().optional(),executionTargetId:m.string().optional()}),response:m.object({sessions:m.array(r),total:m.number()})},getChildren:{request:m.object({sessionId:m.string()}),response:m.object({children:m.array(u)})},search:{request:m.object({query:m.string(),limit:m.number().int().min(1).optional(),status:m.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),isImported:m.boolean().optional()}),response:m.object({sessions:m.array(H),total:m.number()})},update:K,getByAdapterSessionId:{request:m.object({adapterSessionId:m.string()}),response:m.object({session:e.nullable()})},getStatusCounts:{request:m.object({}),response:m.object({all:m.number(),active:m.number(),closed:m.number(),archived:m.number(),discovered:m.number()})}}}),J=q.subjects;export{b as C,g as D,v as E,_ as O,S,y as T,k as _,K as a,w as b,P as c,I as d,j as f,D as g,A as h,J as i,F as l,N as m,G as n,B as o,M as p,W as r,V as s,q as t,L as u,O as v,x as w,T as x,C as y};
|