@makaio/framework 1.0.0-dev-1782127638374 → 1.0.0-dev-1782130828143

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.
Files changed (75) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/bus/index.d.mts +20 -20
  3. package/dist/clients/index.d.mts +5 -5
  4. package/dist/contracts/adapter/index.d.mts +1 -1
  5. package/dist/contracts/artifact/index.d.mts +1 -1
  6. package/dist/contracts/canonical-model/index.d.mts +1 -1
  7. package/dist/contracts/client/index.d.mts +1 -1
  8. package/dist/contracts/config/index.d.mts +6 -6
  9. package/dist/contracts/extension/index.d.mts +3 -3
  10. package/dist/contracts/facet/index.d.mts +1 -1
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +184 -184
  13. package/dist/contracts/materialization/index.d.mts +3 -3
  14. package/dist/contracts/provider/index.d.mts +1 -1
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/shared/index.d.mts +1 -1
  17. package/dist/contracts/variant/index.d.mts +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/{definition-rjwHUOBd.d.mts → definition-0EXM1tyu.d.mts} +1 -1
  20. package/dist/{index-Mi_UJoUV.d.mts → index-4eP9DRL_.d.mts} +4 -4
  21. package/dist/{index-CYHWOXUm.d.mts → index-BAnDvAk4.d.mts} +1 -1
  22. package/dist/{index-DTBQOCar.d.mts → index-BW9kVuY2.d.mts} +8 -8
  23. package/dist/{index-BB8AMXbw.d.mts → index-BjPtzjH6.d.mts} +28 -28
  24. package/dist/{index-DknXbjOs.d.mts → index-C3bheiJg.d.mts} +2 -2
  25. package/dist/{index-BCNDvAhA.d.mts → index-CG5h1g3H.d.mts} +1 -1
  26. package/dist/{index-DO_Cu5A4.d.mts → index-CTEsbp9H.d.mts} +9 -9
  27. package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
  28. package/dist/{index-Ck7dBtkM.d.mts → index-Cx1Bm6WD.d.mts} +4 -4
  29. package/dist/{index-DDOB47U7.d.mts → index-DBIqKoFm.d.mts} +32 -32
  30. package/dist/{index-ZpJftSoa.d.mts → index-DBxYWBvw.d.mts} +337 -337
  31. package/dist/{index-D1nWOF49.d.mts → index-DImePakw.d.mts} +8 -8
  32. package/dist/{index-DeIxVnVs.d.mts → index-DeVMGLbP.d.mts} +9 -9
  33. package/dist/{index-BWIkf5oJ.d.mts → index-DnLf0YKC.d.mts} +6 -6
  34. package/dist/{index-CqImyhjX.d.mts → index-WHUV7neB.d.mts} +100 -100
  35. package/dist/{index-DP-JW3Jc.d.mts → index-dZwlJDpU.d.mts} +365 -365
  36. package/dist/{index-BAQ6QBcU.d.mts → index-gKaw_TMU.d.mts} +16 -16
  37. package/dist/kernel/extension/index.d.mts +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/observability/index.d.mts +1 -1
  40. package/dist/{namespace-CUkosedS.d.mts → namespace-BLOld9Wa.d.mts} +152 -152
  41. package/dist/{namespace-XmDoz6Sz.d.mts → namespace-DxyTww2j.d.mts} +42 -42
  42. package/dist/{namespace-B95uYmZB.d.mts → namespace-Dybz75l5.d.mts} +26 -26
  43. package/dist/{namespace-Bv8B89uB.d.mts → namespace-KMxsPJwm.d.mts} +9 -9
  44. package/dist/{namespace-3yGm4WF9.d.mts → namespace-j7vFsmYL.d.mts} +2 -2
  45. package/dist/package.json +1 -1
  46. package/dist/{schema-fZknEOha.d.mts → schema-DqfR-im7.d.mts} +2 -2
  47. package/dist/{schemas-1ynXdrNI2.d.mts → schemas-CBt7Ld8G2.d.mts} +6 -6
  48. package/dist/{schemas-BOhGc0CT.d.mts → schemas-CgX7mPkv.d.mts} +152 -152
  49. package/dist/{schemas-Dn5bfiTL.d.mts → schemas-DDaP5WkH.d.mts} +2 -2
  50. package/dist/{schemas-CscdPqCt.d.mts → schemas-lnE9YoG7.d.mts} +3 -3
  51. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  52. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  53. package/dist/services/agent-runtime/index.d.mts +2 -2
  54. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  55. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  56. package/dist/services/context-rules/index.d.mts +3 -3
  57. package/dist/services/filesystem/namespace.d.mts +6 -6
  58. package/dist/services/filesystem/schemas.d.mts +3 -3
  59. package/dist/services/harness/index.d.mts +3 -3
  60. package/dist/services/index.d.mts +108 -108
  61. package/dist/services/session/index.d.mts +4 -4
  62. package/dist/services/session/session-events/namespace.d.mts +1 -1
  63. package/dist/services/session/storage/namespace.d.mts +1 -1
  64. package/dist/services/session/storage/schema.d.mts +1 -1
  65. package/dist/services/settings/namespace.d.mts +6 -6
  66. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  67. package/dist/services/subagent-template/index.d.mts +1 -1
  68. package/dist/services/subagent-template/schemas.d.mts +1 -1
  69. package/dist/services/tray-menu/index.d.mts +2 -2
  70. package/dist/services/tray-menu/namespace.d.mts +1 -1
  71. package/dist/services/tray-menu/schemas.d.mts +1 -1
  72. package/dist/{transition-_Uow1Pr1.d.mts → transition-BBElJqQ8.d.mts} +1 -1
  73. package/dist/{types-BTqJIp9-.d.mts → types-BLG7bl-Q.d.mts} +255 -255
  74. package/dist/workflow-engine/index.d.mts +40 -40
  75. package/package.json +1 -1
@@ -5,8 +5,8 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- delete: "delete";
9
8
  create: "create";
9
+ delete: "delete";
10
10
  change: "change";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
@@ -16,8 +16,8 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
16
16
  declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
- delete: "delete";
20
19
  create: "create";
20
+ delete: "delete";
21
21
  change: "change";
22
22
  }>;
23
23
  }, z.core.$strip>;
@@ -29,8 +29,8 @@ declare const FsBatchSchema: z.ZodObject<{
29
29
  changes: z.ZodArray<z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- delete: "delete";
33
32
  create: "create";
33
+ delete: "delete";
34
34
  change: "change";
35
35
  }>;
36
36
  }, z.core.$strip>>;
@@ -13,7 +13,6 @@ declare const HarnessInputSchema: z.ZodObject<{
13
13
  cwd: z.ZodOptional<z.ZodString>;
14
14
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15
15
  name: z.ZodString;
16
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17
16
  adapterName: z.ZodOptional<z.ZodString>;
18
17
  clientId: z.ZodOptional<z.ZodString>;
19
18
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -37,6 +36,7 @@ declare const HarnessInputSchema: z.ZodObject<{
37
36
  "always-ask": "always-ask";
38
37
  "full-access": "full-access";
39
38
  }>>>;
39
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  approvalPolicy: z.ZodEnum<{
41
41
  reject: "reject";
42
42
  "always-ask": "always-ask";
@@ -130,7 +130,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
130
130
  cwd: z.ZodOptional<z.ZodString>;
131
131
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
132
132
  name: z.ZodString;
133
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
134
133
  adapterName: z.ZodOptional<z.ZodString>;
135
134
  clientId: z.ZodOptional<z.ZodString>;
136
135
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -154,6 +153,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
154
153
  "always-ask": "always-ask";
155
154
  "full-access": "full-access";
156
155
  }>>>;
156
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
157
  approvalPolicy: z.ZodEnum<{
158
158
  reject: "reject";
159
159
  "always-ask": "always-ask";
@@ -737,7 +737,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
737
737
  cwd: z.ZodOptional<z.ZodString>;
738
738
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
739
739
  name: z.ZodString;
740
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
741
740
  adapterName: z.ZodOptional<z.ZodString>;
742
741
  clientId: z.ZodOptional<z.ZodString>;
743
742
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
@@ -761,6 +760,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
761
760
  "always-ask": "always-ask";
762
761
  "full-access": "full-access";
763
762
  }>>>;
763
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
764
  approvalPolicy: z.ZodEnum<{
765
765
  reject: "reject";
766
766
  "always-ask": "always-ask";
@@ -1,9 +1,9 @@
1
1
  import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-DmGRSeIq.mjs";
2
2
  import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-B3ol3pc-.mjs";
3
3
  import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-D9-vOJvZ.mjs";
4
- import { _ as BindingRecord } from "../index-BAQ6QBcU.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-BOhGc0CT.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CUkosedS.mjs";
4
+ import { _ as BindingRecord } from "../index-gKaw_TMU.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CgX7mPkv.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-BLOld9Wa.mjs";
7
7
  import { t as CapabilityService } from "../index-C4nStEdA.mjs";
8
8
  import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-CQ8uza7o.mjs";
9
9
  import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-DKncXGnb.mjs";
@@ -13,25 +13,25 @@ import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from
13
13
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-D4zaFE2p.mjs";
14
14
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-65uwTpbg.mjs";
15
15
  import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-CqCe7Phc.mjs";
16
- import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-DknXbjOs.mjs";
16
+ import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-C3bheiJg.mjs";
17
17
  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-gAFwNiJT.mjs";
18
18
  import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-DtwGhFFQ.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-XmDoz6Sz.mjs";
20
- import { a as agents, s as sessions } from "../schema-fZknEOha.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Bv8B89uB.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DxyTww2j.mjs";
20
+ import { a as agents, s as sessions } from "../schema-DqfR-im7.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-KMxsPJwm.mjs";
22
22
  import { t as TurnStorageNamespace } from "../namespace-LUNf8zo5.mjs";
23
23
  import { n as TurnStorageSubjects } from "../namespace-BsYKEMd8.mjs";
24
24
  import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-4xHw59K8.mjs";
25
25
  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-Cr9lh21j.mjs";
26
26
  import { t as ToolApprovalService } from "../index-BvLXySoB2.mjs";
27
27
  import { t as TrayMenuService } from "../index-DUD7wikz2.mjs";
28
- 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-CscdPqCt.mjs";
29
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-3yGm4WF9.mjs";
28
+ 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-lnE9YoG7.mjs";
29
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-j7vFsmYL.mjs";
30
30
  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-OGIC4puQ.mjs";
31
31
  import { a as InternalPendingRequest, c as SubagentServiceToken, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../index-C23g_M_J2.mjs";
32
32
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DWfo0wp4.mjs";
33
33
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-Di1A3DMm.mjs";
34
- 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-1ynXdrNI2.mjs";
34
+ 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-CBt7Ld8G2.mjs";
35
35
  import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-DXWpFdQH2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
@@ -1342,8 +1342,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1342
1342
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1343
1343
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1344
1344
  enabled: "enabled";
1345
- disabled: "disabled";
1346
1345
  visible: "visible";
1346
+ disabled: "disabled";
1347
1347
  }>>>;
1348
1348
  modelFilterMode: _$zod.ZodEnum<{
1349
1349
  allowlist: "allowlist";
@@ -1369,8 +1369,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1369
1369
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1370
1370
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1371
1371
  enabled: "enabled";
1372
- disabled: "disabled";
1373
1372
  visible: "visible";
1373
+ disabled: "disabled";
1374
1374
  }>>>;
1375
1375
  modelFilterMode: _$zod.ZodEnum<{
1376
1376
  allowlist: "allowlist";
@@ -1396,8 +1396,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1396
1396
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1397
1397
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1398
1398
  enabled: "enabled";
1399
- disabled: "disabled";
1400
1399
  visible: "visible";
1400
+ disabled: "disabled";
1401
1401
  }>>>;
1402
1402
  modelFilterMode: _$zod.ZodEnum<{
1403
1403
  allowlist: "allowlist";
@@ -1460,8 +1460,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1460
1460
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1461
1461
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1462
1462
  enabled: "enabled";
1463
- disabled: "disabled";
1464
1463
  visible: "visible";
1464
+ disabled: "disabled";
1465
1465
  }>>>;
1466
1466
  modelFilterMode: _$zod.ZodEnum<{
1467
1467
  allowlist: "allowlist";
@@ -1609,8 +1609,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1609
1609
  }, _$zod_v4_core0.$strip>>;
1610
1610
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1611
1611
  enabled: "enabled";
1612
- disabled: "disabled";
1613
1612
  visible: "visible";
1613
+ disabled: "disabled";
1614
1614
  }>>>;
1615
1615
  modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
1616
1616
  allowlist: "allowlist";
@@ -1626,8 +1626,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1626
1626
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1627
1627
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1628
1628
  enabled: "enabled";
1629
- disabled: "disabled";
1630
1629
  visible: "visible";
1630
+ disabled: "disabled";
1631
1631
  }>>>;
1632
1632
  modelFilterMode: _$zod.ZodEnum<{
1633
1633
  allowlist: "allowlist";
@@ -1652,8 +1652,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1652
1652
  }, _$zod_v4_core0.$strip>>>;
1653
1653
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1654
1654
  enabled: "enabled";
1655
- disabled: "disabled";
1656
1655
  visible: "visible";
1656
+ disabled: "disabled";
1657
1657
  }>>>;
1658
1658
  enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
1659
1659
  }, _$zod_v4_core0.$strict>;
@@ -1666,8 +1666,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1666
1666
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1667
1667
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1668
1668
  enabled: "enabled";
1669
- disabled: "disabled";
1670
1669
  visible: "visible";
1670
+ disabled: "disabled";
1671
1671
  }>>>;
1672
1672
  modelFilterMode: _$zod.ZodEnum<{
1673
1673
  allowlist: "allowlist";
@@ -1694,8 +1694,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1694
1694
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1695
1695
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1696
1696
  enabled: "enabled";
1697
- disabled: "disabled";
1698
1697
  visible: "visible";
1698
+ disabled: "disabled";
1699
1699
  }>>>;
1700
1700
  modelFilterMode: _$zod.ZodEnum<{
1701
1701
  allowlist: "allowlist";
@@ -1729,8 +1729,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1729
1729
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1730
1730
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1731
1731
  enabled: "enabled";
1732
- disabled: "disabled";
1733
1732
  visible: "visible";
1733
+ disabled: "disabled";
1734
1734
  }>>>;
1735
1735
  modelFilterMode: _$zod.ZodEnum<{
1736
1736
  allowlist: "allowlist";
@@ -1761,8 +1761,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1761
1761
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1762
1762
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1763
1763
  enabled: "enabled";
1764
- disabled: "disabled";
1765
1764
  visible: "visible";
1765
+ disabled: "disabled";
1766
1766
  }>>>;
1767
1767
  modelFilterMode: _$zod.ZodEnum<{
1768
1768
  allowlist: "allowlist";
@@ -1866,8 +1866,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1866
1866
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1867
1867
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1868
1868
  enabled: "enabled";
1869
- disabled: "disabled";
1870
1869
  visible: "visible";
1870
+ disabled: "disabled";
1871
1871
  }>>>;
1872
1872
  modelFilterMode: _$zod.ZodEnum<{
1873
1873
  allowlist: "allowlist";
@@ -1886,8 +1886,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1886
1886
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1887
1887
  modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
1888
1888
  enabled: "enabled";
1889
- disabled: "disabled";
1890
1889
  visible: "visible";
1890
+ disabled: "disabled";
1891
1891
  }>>>;
1892
1892
  modelFilterMode: _$zod.ZodEnum<{
1893
1893
  allowlist: "allowlist";
@@ -1952,25 +1952,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1952
1952
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1953
1953
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
1954
1954
  sessionId: _$zod.ZodString;
1955
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
1956
- fullName: _$zod.ZodString;
1957
- originalName: _$zod.ZodString;
1958
- serverName: _$zod.ZodString;
1959
- description: _$zod.ZodOptional<_$zod.ZodString>;
1960
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1961
- exposureMode: _$zod.ZodEnum<{
1962
- discovery: "discovery";
1963
- direct: "direct";
1964
- hidden: "hidden";
1965
- }>;
1966
- enabled: _$zod.ZodBoolean;
1967
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
1968
- discovery: "discovery";
1969
- toolset: "toolset";
1970
- }>>;
1971
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1972
- exposed: _$zod.ZodBoolean;
1973
- }, _$zod_v4_core0.$strip>>;
1974
1955
  servers: _$zod.ZodArray<_$zod.ZodObject<{
1975
1956
  name: _$zod.ZodString;
1976
1957
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -2007,9 +1988,28 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2007
1988
  type: _$zod.ZodLiteral<"http">;
2008
1989
  }, _$zod_v4_core0.$strip>], "type">;
2009
1990
  exposureMode: _$zod.ZodEnum<{
1991
+ direct: "direct";
2010
1992
  discovery: "discovery";
1993
+ }>;
1994
+ }, _$zod_v4_core0.$strip>>;
1995
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
1996
+ fullName: _$zod.ZodString;
1997
+ originalName: _$zod.ZodString;
1998
+ serverName: _$zod.ZodString;
1999
+ description: _$zod.ZodOptional<_$zod.ZodString>;
2000
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2001
+ exposureMode: _$zod.ZodEnum<{
2011
2002
  direct: "direct";
2003
+ discovery: "discovery";
2004
+ hidden: "hidden";
2012
2005
  }>;
2006
+ enabled: _$zod.ZodBoolean;
2007
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
2008
+ discovery: "discovery";
2009
+ toolset: "toolset";
2010
+ }>>;
2011
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2012
+ exposed: _$zod.ZodBoolean;
2013
2013
  }, _$zod_v4_core0.$strip>>;
2014
2014
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
2015
2015
  fullName: _$zod.ZodString;
@@ -2018,8 +2018,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2018
2018
  description: _$zod.ZodOptional<_$zod.ZodString>;
2019
2019
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2020
2020
  exposureMode: _$zod.ZodEnum<{
2021
- discovery: "discovery";
2022
2021
  direct: "direct";
2022
+ discovery: "discovery";
2023
2023
  hidden: "hidden";
2024
2024
  }>;
2025
2025
  enabled: _$zod.ZodBoolean;
@@ -2049,18 +2049,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2049
2049
  env?: Record<string, string> | undefined;
2050
2050
  mcpSessionContext?: {
2051
2051
  sessionId: string;
2052
- directTools: {
2053
- fullName: string;
2054
- originalName: string;
2055
- serverName: string;
2056
- inputSchema: Record<string, unknown>;
2057
- exposureMode: "discovery" | "direct" | "hidden";
2058
- enabled: boolean;
2059
- exposed: boolean;
2060
- description?: string | undefined;
2061
- enabledBy?: "discovery" | "toolset" | undefined;
2062
- enabledAt?: number | undefined;
2063
- }[];
2064
2052
  servers: {
2065
2053
  name: string;
2066
2054
  transport: {
@@ -2088,14 +2076,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2088
2076
  }[] | undefined;
2089
2077
  alwaysLoad?: boolean | undefined;
2090
2078
  };
2091
- exposureMode: "discovery" | "direct";
2079
+ exposureMode: "direct" | "discovery";
2080
+ }[];
2081
+ directTools: {
2082
+ fullName: string;
2083
+ originalName: string;
2084
+ serverName: string;
2085
+ inputSchema: Record<string, unknown>;
2086
+ exposureMode: "direct" | "discovery" | "hidden";
2087
+ enabled: boolean;
2088
+ exposed: boolean;
2089
+ description?: string | undefined;
2090
+ enabledBy?: "discovery" | "toolset" | undefined;
2091
+ enabledAt?: number | undefined;
2092
2092
  }[];
2093
2093
  discoverableTools: {
2094
2094
  fullName: string;
2095
2095
  originalName: string;
2096
2096
  serverName: string;
2097
2097
  inputSchema: Record<string, unknown>;
2098
- exposureMode: "discovery" | "direct" | "hidden";
2098
+ exposureMode: "direct" | "discovery" | "hidden";
2099
2099
  enabled: boolean;
2100
2100
  exposed: boolean;
2101
2101
  description?: string | undefined;
@@ -2123,18 +2123,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2123
2123
  env?: Record<string, string> | undefined;
2124
2124
  mcpSessionContext?: {
2125
2125
  sessionId: string;
2126
- directTools: {
2127
- fullName: string;
2128
- originalName: string;
2129
- serverName: string;
2130
- inputSchema: Record<string, unknown>;
2131
- exposureMode: "discovery" | "direct" | "hidden";
2132
- enabled: boolean;
2133
- exposed: boolean;
2134
- description?: string | undefined;
2135
- enabledBy?: "discovery" | "toolset" | undefined;
2136
- enabledAt?: number | undefined;
2137
- }[];
2138
2126
  servers: {
2139
2127
  name: string;
2140
2128
  transport: {
@@ -2162,14 +2150,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2162
2150
  }[] | undefined;
2163
2151
  alwaysLoad?: boolean | undefined;
2164
2152
  };
2165
- exposureMode: "discovery" | "direct";
2153
+ exposureMode: "direct" | "discovery";
2154
+ }[];
2155
+ directTools: {
2156
+ fullName: string;
2157
+ originalName: string;
2158
+ serverName: string;
2159
+ inputSchema: Record<string, unknown>;
2160
+ exposureMode: "direct" | "discovery" | "hidden";
2161
+ enabled: boolean;
2162
+ exposed: boolean;
2163
+ description?: string | undefined;
2164
+ enabledBy?: "discovery" | "toolset" | undefined;
2165
+ enabledAt?: number | undefined;
2166
2166
  }[];
2167
2167
  discoverableTools: {
2168
2168
  fullName: string;
2169
2169
  originalName: string;
2170
2170
  serverName: string;
2171
2171
  inputSchema: Record<string, unknown>;
2172
- exposureMode: "discovery" | "direct" | "hidden";
2172
+ exposureMode: "direct" | "discovery" | "hidden";
2173
2173
  enabled: boolean;
2174
2174
  exposed: boolean;
2175
2175
  description?: string | undefined;
@@ -2195,18 +2195,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2195
2195
  env?: Record<string, string> | undefined;
2196
2196
  mcpSessionContext?: {
2197
2197
  sessionId: string;
2198
- directTools: {
2199
- fullName: string;
2200
- originalName: string;
2201
- serverName: string;
2202
- inputSchema: Record<string, unknown>;
2203
- exposureMode: "discovery" | "direct" | "hidden";
2204
- enabled: boolean;
2205
- exposed: boolean;
2206
- description?: string | undefined;
2207
- enabledBy?: "discovery" | "toolset" | undefined;
2208
- enabledAt?: number | undefined;
2209
- }[];
2210
2198
  servers: {
2211
2199
  name: string;
2212
2200
  transport: {
@@ -2234,14 +2222,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2234
2222
  }[] | undefined;
2235
2223
  alwaysLoad?: boolean | undefined;
2236
2224
  };
2237
- exposureMode: "discovery" | "direct";
2225
+ exposureMode: "direct" | "discovery";
2226
+ }[];
2227
+ directTools: {
2228
+ fullName: string;
2229
+ originalName: string;
2230
+ serverName: string;
2231
+ inputSchema: Record<string, unknown>;
2232
+ exposureMode: "direct" | "discovery" | "hidden";
2233
+ enabled: boolean;
2234
+ exposed: boolean;
2235
+ description?: string | undefined;
2236
+ enabledBy?: "discovery" | "toolset" | undefined;
2237
+ enabledAt?: number | undefined;
2238
2238
  }[];
2239
2239
  discoverableTools: {
2240
2240
  fullName: string;
2241
2241
  originalName: string;
2242
2242
  serverName: string;
2243
2243
  inputSchema: Record<string, unknown>;
2244
- exposureMode: "discovery" | "direct" | "hidden";
2244
+ exposureMode: "direct" | "discovery" | "hidden";
2245
2245
  enabled: boolean;
2246
2246
  exposed: boolean;
2247
2247
  description?: string | undefined;
@@ -2269,18 +2269,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2269
2269
  env?: Record<string, string> | undefined;
2270
2270
  mcpSessionContext?: {
2271
2271
  sessionId: string;
2272
- directTools: {
2273
- fullName: string;
2274
- originalName: string;
2275
- serverName: string;
2276
- inputSchema: Record<string, unknown>;
2277
- exposureMode: "discovery" | "direct" | "hidden";
2278
- enabled: boolean;
2279
- exposed: boolean;
2280
- description?: string | undefined;
2281
- enabledBy?: "discovery" | "toolset" | undefined;
2282
- enabledAt?: number | undefined;
2283
- }[];
2284
2272
  servers: {
2285
2273
  name: string;
2286
2274
  transport: {
@@ -2308,14 +2296,26 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2308
2296
  }[] | undefined;
2309
2297
  alwaysLoad?: boolean | undefined;
2310
2298
  };
2311
- exposureMode: "discovery" | "direct";
2299
+ exposureMode: "direct" | "discovery";
2300
+ }[];
2301
+ directTools: {
2302
+ fullName: string;
2303
+ originalName: string;
2304
+ serverName: string;
2305
+ inputSchema: Record<string, unknown>;
2306
+ exposureMode: "direct" | "discovery" | "hidden";
2307
+ enabled: boolean;
2308
+ exposed: boolean;
2309
+ description?: string | undefined;
2310
+ enabledBy?: "discovery" | "toolset" | undefined;
2311
+ enabledAt?: number | undefined;
2312
2312
  }[];
2313
2313
  discoverableTools: {
2314
2314
  fullName: string;
2315
2315
  originalName: string;
2316
2316
  serverName: string;
2317
2317
  inputSchema: Record<string, unknown>;
2318
- exposureMode: "discovery" | "direct" | "hidden";
2318
+ exposureMode: "direct" | "discovery" | "hidden";
2319
2319
  enabled: boolean;
2320
2320
  exposed: boolean;
2321
2321
  description?: string | undefined;
@@ -3213,9 +3213,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3213
3213
  changed: _$zod.ZodObject<{
3214
3214
  ruleId: _$zod.ZodString;
3215
3215
  changeType: _$zod.ZodEnum<{
3216
- deleted: "deleted";
3217
3216
  updated: "updated";
3218
3217
  created: "created";
3218
+ deleted: "deleted";
3219
3219
  }>;
3220
3220
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
3221
3221
  scope: _$zod.ZodEnum<{
@@ -3764,9 +3764,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3764
3764
  extensionConfig: _$zod.ZodObject<{
3765
3765
  id: _$zod.ZodString;
3766
3766
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3767
- extensionName: _$zod.ZodString;
3768
3767
  enabled: _$zod.ZodBoolean;
3769
3768
  scope: _$zod.ZodString;
3769
+ extensionName: _$zod.ZodString;
3770
3770
  }, _$zod_v4_core0.$strip>;
3771
3771
  }, _$zod_v4_core0.$strip>;
3772
3772
  response: _$zod.ZodObject<{
@@ -3813,8 +3813,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3813
3813
  changed: _$zod.ZodObject<{
3814
3814
  path: _$zod.ZodString;
3815
3815
  kind: _$zod.ZodEnum<{
3816
- delete: "delete";
3817
3816
  create: "create";
3817
+ delete: "delete";
3818
3818
  change: "change";
3819
3819
  }>;
3820
3820
  }, _$zod_v4_core0.$strip>;
@@ -3822,8 +3822,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3822
3822
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3823
3823
  path: _$zod.ZodString;
3824
3824
  kind: _$zod.ZodEnum<{
3825
- delete: "delete";
3826
3825
  create: "create";
3826
+ delete: "delete";
3827
3827
  change: "change";
3828
3828
  }>;
3829
3829
  }, _$zod_v4_core0.$strip>>;
@@ -4014,7 +4014,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4014
4014
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
4015
4015
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4016
4016
  name: _$zod.ZodString;
4017
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4018
4017
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4019
4018
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4020
4019
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
@@ -4038,6 +4037,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4038
4037
  "always-ask": "always-ask";
4039
4038
  "full-access": "full-access";
4040
4039
  }>>>;
4040
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4041
4041
  approvalPolicy: _$zod.ZodEnum<{
4042
4042
  reject: "reject";
4043
4043
  "always-ask": "always-ask";
@@ -5734,8 +5734,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5734
5734
  groupId: _$zod.ZodString;
5735
5735
  entries: _$zod.ZodArray<_$zod.ZodObject<{
5736
5736
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5737
- label: _$zod.ZodString;
5738
5737
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
5738
+ label: _$zod.ZodString;
5739
5739
  priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5740
5740
  entryId: _$zod.ZodString;
5741
5741
  }, _$zod_v4_core0.$strip>>;
@@ -6239,14 +6239,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6239
6239
  create: {
6240
6240
  request: _$zod.ZodObject<{
6241
6241
  name: _$zod.ZodString;
6242
- providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6243
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6244
- adapterName: _$zod.ZodString;
6245
6242
  model: _$zod.ZodOptional<_$zod.ZodString>;
6243
+ providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6246
6244
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
6247
6245
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6248
6246
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6247
+ enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6249
6248
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
6249
+ adapterName: _$zod.ZodString;
6250
6250
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6251
6251
  fork: "fork";
6252
6252
  fresh: "fresh";
@@ -1,9 +1,9 @@
1
- import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-DknXbjOs.mjs";
1
+ import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-C3bheiJg.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-gAFwNiJT.mjs";
3
3
  import { r as buildProviderContext } from "../../index-DtwGhFFQ.mjs";
4
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-XmDoz6Sz.mjs";
5
- import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-fZknEOha.mjs";
6
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-Bv8B89uB.mjs";
4
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-DxyTww2j.mjs";
5
+ import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-DqfR-im7.mjs";
6
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-KMxsPJwm.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-LUNf8zo5.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace-BsYKEMd8.mjs";
9
9
  import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-4xHw59K8.mjs";
@@ -1,2 +1,2 @@
1
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-Bv8B89uB.mjs";
1
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-KMxsPJwm.mjs";
2
2
  export { SessionEventStorageNamespace, 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-XmDoz6Sz.mjs";
1
+ import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-DxyTww2j.mjs";
2
2
  export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
@@ -1,2 +1,2 @@
1
- import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-fZknEOha.mjs";
1
+ import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-DqfR-im7.mjs";
2
2
  export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };