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

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 (77) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/index.d.mts +1 -1
  4. package/dist/bus/index.d.mts +20 -20
  5. package/dist/clients/index.d.mts +5 -5
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +1 -1
  8. package/dist/contracts/canonical-model/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +3 -3
  11. package/dist/contracts/facet/index.d.mts +1 -1
  12. package/dist/contracts/harness/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +185 -185
  14. package/dist/contracts/materialization/index.d.mts +3 -3
  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/{extension-BJHRahFl.mjs → extension-DZqYHmhK.mjs} +1 -1
  21. package/dist/{index-Mi_UJoUV.d.mts → index-4eP9DRL_.d.mts} +4 -4
  22. package/dist/{index-Ck7dBtkM.d.mts → index-B5w-0Gg9.d.mts} +4 -4
  23. package/dist/{index-DeIxVnVs.d.mts → index-BI0f85po.d.mts} +9 -9
  24. package/dist/{index-ZpJftSoa.d.mts → index-BKZhnb2B.d.mts} +342 -342
  25. package/dist/{index-DP-JW3Jc.d.mts → index-BN8MOIKm.d.mts} +432 -432
  26. package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
  27. package/dist/{index-DTBQOCar.d.mts → index-CuILCdip.d.mts} +16 -16
  28. package/dist/{index-DO_Cu5A4.d.mts → index-D2WJ0Zpt.d.mts} +4 -4
  29. package/dist/{index-D1nWOF49.d.mts → index-DImePakw.d.mts} +8 -8
  30. package/dist/{index-BWIkf5oJ.d.mts → index-DnLf0YKC.d.mts} +6 -6
  31. package/dist/{index-BB8AMXbw.d.mts → index-Dsw66R3Z.d.mts} +28 -28
  32. package/dist/{index-DDOB47U7.d.mts → index-ES_PkK4d.d.mts} +46 -46
  33. package/dist/{index-CqImyhjX.d.mts → index-WHUV7neB.d.mts} +100 -100
  34. package/dist/{index-BCNDvAhA.d.mts → index-X2xf5vSA.d.mts} +13 -1
  35. package/dist/{index-DknXbjOs.d.mts → index-vUhaDyDa.d.mts} +16 -16
  36. package/dist/kernel/extension/index.d.mts +1 -1
  37. package/dist/kernel/extension/index.mjs +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/index.mjs +1 -1
  40. package/dist/kernel/observability/index.d.mts +1 -1
  41. package/dist/{namespace-4xHw59K8.d.mts → namespace-Bm77p82L.d.mts} +1 -1
  42. package/dist/{namespace-XmDoz6Sz.d.mts → namespace-CJkAriut.d.mts} +78 -78
  43. package/dist/{namespace-CUkosedS.d.mts → namespace-CfvtDD_U.d.mts} +154 -154
  44. package/dist/{namespace-DXWpFdQH2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
  45. package/dist/{namespace-3yGm4WF9.d.mts → namespace-Do_rmLFb.d.mts} +2 -2
  46. package/dist/{namespace-Bv8B89uB.d.mts → namespace-KMxsPJwm.d.mts} +9 -9
  47. package/dist/package.json +1 -1
  48. package/dist/{schema-fZknEOha.d.mts → schema-B3sB8_cB.d.mts} +3 -3
  49. package/dist/{schemas-CscdPqCt.d.mts → schemas-CDGld_OC.d.mts} +3 -3
  50. package/dist/{schemas-BOhGc0CT.d.mts → schemas-CoFCV42v.d.mts} +154 -154
  51. package/dist/{schemas-1ynXdrNI2.d.mts → schemas-CwgS7KoL2.d.mts} +7 -7
  52. package/dist/{schemas-Dn5bfiTL.d.mts → schemas-DDaP5WkH.d.mts} +2 -2
  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 +12 -12
  58. package/dist/services/filesystem/schemas.d.mts +6 -6
  59. package/dist/services/harness/index.d.mts +3 -3
  60. package/dist/services/index.d.mts +106 -106
  61. package/dist/services/session/index.d.mts +5 -5
  62. package/dist/services/session/messages/namespace.d.mts +1 -1
  63. package/dist/services/session/session-events/namespace.d.mts +1 -1
  64. package/dist/services/session/storage/namespace.d.mts +1 -1
  65. package/dist/services/session/storage/schema.d.mts +1 -1
  66. package/dist/services/settings/namespace.d.mts +4 -4
  67. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  68. package/dist/services/subagent-template/index.d.mts +2 -2
  69. package/dist/services/subagent-template/namespace.d.mts +1 -1
  70. package/dist/services/subagent-template/schemas.d.mts +1 -1
  71. package/dist/services/tray-menu/index.d.mts +2 -2
  72. package/dist/services/tray-menu/namespace.d.mts +1 -1
  73. package/dist/services/tray-menu/schemas.d.mts +1 -1
  74. package/dist/{transition-_Uow1Pr1.d.mts → transition-BBElJqQ8.d.mts} +1 -1
  75. package/dist/{types-BTqJIp9-.d.mts → types-Cog8MogZ.d.mts} +282 -282
  76. package/dist/workflow-engine/index.d.mts +43 -43
  77. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-BOhGc0CT.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CoFCV42v.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -160,9 +160,9 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
- deleted: "deleted";
164
163
  updated: "updated";
165
164
  created: "created";
165
+ deleted: "deleted";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
168
168
  scope: z.ZodEnum<{
@@ -313,9 +313,9 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
- deleted: "deleted";
317
316
  updated: "updated";
318
317
  created: "created";
318
+ deleted: "deleted";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
321
321
  scope: _$zod.ZodEnum<{
@@ -383,9 +383,9 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
- deleted: "deleted";
387
386
  updated: "updated";
388
387
  created: "created";
388
+ deleted: "deleted";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
391
391
  scope: _$zod.ZodEnum<{
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
10
10
  changed: _$zod.ZodObject<{
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
- delete: "delete";
14
- create: "create";
15
13
  change: "change";
14
+ create: "create";
15
+ delete: "delete";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
18
18
  batch: _$zod.ZodObject<{
19
19
  changes: _$zod.ZodArray<_$zod.ZodObject<{
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
- delete: "delete";
23
- create: "create";
24
22
  change: "change";
23
+ create: "create";
24
+ delete: "delete";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
27
27
  }, _$zod_v4_core0.$strip>;
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
153
153
  changed: _$zod.ZodObject<{
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
- delete: "delete";
157
- create: "create";
158
156
  change: "change";
157
+ create: "create";
158
+ delete: "delete";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
161
161
  batch: _$zod.ZodObject<{
162
162
  changes: _$zod.ZodArray<_$zod.ZodObject<{
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
- delete: "delete";
166
- create: "create";
167
165
  change: "change";
166
+ create: "create";
167
+ delete: "delete";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
170
170
  }, _$zod_v4_core0.$strip>;
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
294
294
  changed: _$zod.ZodObject<{
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
- delete: "delete";
298
- create: "create";
299
297
  change: "change";
298
+ create: "create";
299
+ delete: "delete";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
302
302
  batch: _$zod.ZodObject<{
303
303
  changes: _$zod.ZodArray<_$zod.ZodObject<{
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
- delete: "delete";
307
- create: "create";
308
306
  change: "change";
307
+ create: "create";
308
+ delete: "delete";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
311
311
  }, _$zod_v4_core0.$strip>;
@@ -5,9 +5,9 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- delete: "delete";
9
- create: "create";
10
8
  change: "change";
9
+ create: "create";
10
+ delete: "delete";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
13
13
  /**
@@ -16,9 +16,9 @@ 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
- create: "create";
21
19
  change: "change";
20
+ create: "create";
21
+ delete: "delete";
22
22
  }>;
23
23
  }, z.core.$strip>;
24
24
  type FsChanged = z.infer<typeof FsChangedSchema>;
@@ -29,9 +29,9 @@ 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
- create: "create";
34
32
  change: "change";
33
+ create: "create";
34
+ delete: "delete";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
@@ -13,9 +13,9 @@ 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>;
18
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
19
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
20
20
  "file.read": "file.read";
21
21
  "file.write": "file.write";
@@ -130,9 +130,9 @@ 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>;
135
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
136
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
137
137
  "file.read": "file.read";
138
138
  "file.write": "file.write";
@@ -737,9 +737,9 @@ 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>;
742
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
743
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
744
744
  "file.read": "file.read";
745
745
  "file.write": "file.write";
@@ -2,8 +2,8 @@ import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdR
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
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";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CoFCV42v.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CfvtDD_U.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,26 +13,26 @@ 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-vUhaDyDa.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-CJkAriut.mjs";
20
+ import { a as agents, s as sessions } from "../schema-B3sB8_cB.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
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-4xHw59K8.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-Bm77p82L.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-CDGld_OC.mjs";
29
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-Do_rmLFb.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";
35
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-DXWpFdQH2.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-CwgS7KoL2.mjs";
35
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-D8P8Sxce2.mjs";
36
36
  import * as _$zod from "zod";
37
37
  import { z } from "zod";
38
38
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -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;
@@ -2346,8 +2346,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2346
2346
  status: _$zod.ZodEnum<{
2347
2347
  completed: "completed";
2348
2348
  cancelled: "cancelled";
2349
- running: "running";
2350
2349
  failed: "failed";
2350
+ running: "running";
2351
2351
  waiting_input: "waiting_input";
2352
2352
  }>;
2353
2353
  result: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2413,8 +2413,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2413
2413
  member: "member";
2414
2414
  }>;
2415
2415
  status: _$zod.ZodEnum<{
2416
- active: "active";
2417
2416
  idle: "idle";
2417
+ active: "active";
2418
2418
  dead: "dead";
2419
2419
  disposed: "disposed";
2420
2420
  }>;
@@ -2450,8 +2450,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2450
2450
  member: "member";
2451
2451
  }>;
2452
2452
  status: _$zod.ZodEnum<{
2453
- active: "active";
2454
2453
  idle: "idle";
2454
+ active: "active";
2455
2455
  dead: "dead";
2456
2456
  disposed: "disposed";
2457
2457
  }>;
@@ -2476,8 +2476,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2476
2476
  adapterName: _$zod.ZodString;
2477
2477
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2478
2478
  all: "all";
2479
- active: "active";
2480
2479
  idle: "idle";
2480
+ active: "active";
2481
2481
  dead: "dead";
2482
2482
  disposed: "disposed";
2483
2483
  }>>;
@@ -2507,8 +2507,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2507
2507
  member: "member";
2508
2508
  }>;
2509
2509
  status: _$zod.ZodEnum<{
2510
- active: "active";
2511
2510
  idle: "idle";
2511
+ active: "active";
2512
2512
  dead: "dead";
2513
2513
  disposed: "disposed";
2514
2514
  }>;
@@ -2546,8 +2546,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2546
2546
  member: "member";
2547
2547
  }>;
2548
2548
  status: _$zod.ZodEnum<{
2549
- active: "active";
2550
2549
  idle: "idle";
2550
+ active: "active";
2551
2551
  dead: "dead";
2552
2552
  disposed: "disposed";
2553
2553
  }>;
@@ -2560,8 +2560,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2560
2560
  request: _$zod.ZodObject<{
2561
2561
  agentId: _$zod.ZodString;
2562
2562
  status: _$zod.ZodEnum<{
2563
- active: "active";
2564
2563
  idle: "idle";
2564
+ active: "active";
2565
2565
  dead: "dead";
2566
2566
  disposed: "disposed";
2567
2567
  }>;
@@ -2888,7 +2888,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2888
2888
  tableName: "agents";
2889
2889
  dataType: "string";
2890
2890
  columnType: "SQLiteText";
2891
- data: "active" | "idle" | "dead" | "disposed";
2891
+ data: "idle" | "active" | "dead" | "disposed";
2892
2892
  driverParam: string;
2893
2893
  notNull: true;
2894
2894
  hasDefault: false;
@@ -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,18 +3813,18 @@ 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
- create: "create";
3818
3816
  change: "change";
3817
+ create: "create";
3818
+ delete: "delete";
3819
3819
  }>;
3820
3820
  }, _$zod_v4_core0.$strip>;
3821
3821
  batch: _$zod.ZodObject<{
3822
3822
  changes: _$zod.ZodArray<_$zod.ZodObject<{
3823
3823
  path: _$zod.ZodString;
3824
3824
  kind: _$zod.ZodEnum<{
3825
- delete: "delete";
3826
- create: "create";
3827
3825
  change: "change";
3826
+ create: "create";
3827
+ delete: "delete";
3828
3828
  }>;
3829
3829
  }, _$zod_v4_core0.$strip>>;
3830
3830
  }, _$zod_v4_core0.$strip>;
@@ -4014,9 +4014,9 @@ 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>;
4019
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4020
4020
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
4021
4021
  "file.read": "file.read";
4022
4022
  "file.write": "file.write";
@@ -5734,9 +5734,9 @@ 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>;
5739
5738
  priority: _$zod.ZodDefault<_$zod.ZodNumber>;
5739
+ label: _$zod.ZodString;
5740
5740
  entryId: _$zod.ZodString;
5741
5741
  }, _$zod_v4_core0.$strip>>;
5742
5742
  section: _$zod.ZodEnum<{
@@ -6162,8 +6162,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6162
6162
  status: _$zod.ZodEnum<{
6163
6163
  completed: "completed";
6164
6164
  cancelled: "cancelled";
6165
- running: "running";
6166
6165
  failed: "failed";
6166
+ running: "running";
6167
6167
  waiting_input: "waiting_input";
6168
6168
  }>;
6169
6169
  result: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6240,17 +6240,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
6240
6240
  request: _$zod.ZodObject<{
6241
6241
  name: _$zod.ZodString;
6242
6242
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
6243
- enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
6244
- adapterName: _$zod.ZodString;
6245
6243
  model: _$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>>;
6250
6249
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
6251
6250
  fork: "fork";
6252
6251
  fresh: "fresh";
6253
6252
  }>>;
6253
+ adapterName: _$zod.ZodString;
6254
6254
  }, _$zod_v4_core0.$strip>;
6255
6255
  response: _$zod.ZodObject<{
6256
6256
  id: _$zod.ZodString;