@makaio/framework 1.0.0-dev-1781983562538 → 1.0.0-dev-1781996773251

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 (62) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.d.mts +8 -0
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/adapters/index.d.mts +1 -1
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +2 -2
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +15 -15
  13. package/dist/contracts/session/index.d.mts +2 -2
  14. package/dist/contracts/workflow/index.d.mts +2 -2
  15. package/dist/{index-Ciw2wNzR.d.mts → index-BfsvUD9j.d.mts} +41 -41
  16. package/dist/{index-6k5ktwXY.d.mts → index-CUSOL0X_.d.mts} +3 -3
  17. package/dist/{index-B5w-0Gg9.d.mts → index-Cx1Bm6WD.d.mts} +4 -4
  18. package/dist/{index-DOkPNhS0.d.mts → index-DDehaguq.d.mts} +131 -131
  19. package/dist/{index-Czv4Fbj1.d.mts → index-DHUARU-6.d.mts} +3 -3
  20. package/dist/{index-CUgqdVBB.d.mts → index-DImePakw.d.mts} +8 -8
  21. package/dist/{index-CKlZwsf3.d.mts → index-DOIbPMcj.d.mts} +17 -17
  22. package/dist/{index-CDwc4Yjn.d.mts → index-Dch9gi4S.d.mts} +1 -1
  23. package/dist/{index-CgNhyMkL.d.mts → index-DvLCzle5.d.mts} +12 -12
  24. package/dist/{index-C8-zmOZK.d.mts → index-WOoVeAEf.d.mts} +13 -13
  25. package/dist/kernel/extension/index.d.mts +1 -1
  26. package/dist/kernel/index.d.mts +2 -2
  27. package/dist/kernel/observability/index.d.mts +1 -1
  28. package/dist/{namespace-twXARP-X.d.mts → namespace-65uwTpbg.d.mts} +6 -6
  29. package/dist/{namespace-DeG6x2fd.d.mts → namespace-Bm77p82L.d.mts} +6 -6
  30. package/dist/{namespace-Cz9ME2yn.d.mts → namespace-Do_rmLFb.d.mts} +2 -2
  31. package/dist/{namespace-Bv8B89uB.d.mts → namespace-KMxsPJwm.d.mts} +9 -9
  32. package/dist/{namespace-XmDoz6Sz.d.mts → namespace-UaiY5v62.d.mts} +58 -58
  33. package/dist/package.json +1 -1
  34. package/dist/{schema-fZknEOha.d.mts → schema-CKTzwiif.d.mts} +3 -3
  35. package/dist/{schemas-sJYw2ALb.d.mts → schemas-CDGld_OC.d.mts} +3 -3
  36. package/dist/{schemas-COginkIS2.d.mts → schemas-CwgS7KoL2.d.mts} +4 -4
  37. package/dist/{schemas-BphR5vaS.d.mts → schemas-D4zaFE2p.d.mts} +6 -6
  38. package/dist/services/context-rules/index.d.mts +3 -3
  39. package/dist/services/execution-target/index.d.mts +2 -2
  40. package/dist/services/execution-target/namespace.d.mts +1 -1
  41. package/dist/services/execution-target/schemas.d.mts +1 -1
  42. package/dist/services/filesystem/namespace.d.mts +6 -6
  43. package/dist/services/filesystem/schemas.d.mts +3 -3
  44. package/dist/services/harness/index.d.mts +3 -3
  45. package/dist/services/index.d.mts +28 -28
  46. package/dist/services/session/index.d.mts +5 -5
  47. package/dist/services/session/messages/namespace.d.mts +1 -1
  48. package/dist/services/session/session-events/namespace.d.mts +1 -1
  49. package/dist/services/session/storage/namespace.d.mts +1 -1
  50. package/dist/services/session/storage/schema.d.mts +1 -1
  51. package/dist/services/settings/namespace.d.mts +4 -4
  52. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  53. package/dist/services/subagent-template/index.d.mts +1 -1
  54. package/dist/services/subagent-template/schemas.d.mts +1 -1
  55. package/dist/services/tray-menu/index.d.mts +2 -2
  56. package/dist/services/tray-menu/namespace.d.mts +1 -1
  57. package/dist/services/tray-menu/schemas.d.mts +1 -1
  58. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-Cht4jbvV.d.mts} +1 -1
  59. package/dist/{transition-BUKCl8gP.d.mts → transition-BBElJqQ8.d.mts} +1 -1
  60. package/dist/{types-DcDvbHe5.d.mts → types-B49V7vZJ.d.mts} +48 -48
  61. package/dist/workflow-engine/index.d.mts +39 -39
  62. package/package.json +1 -1
@@ -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-UaiY5v62.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-CKTzwiif.mjs";
2
2
  export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };
@@ -518,18 +518,18 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
518
518
  create: {
519
519
  request: _$zod.ZodObject<{
520
520
  name: _$zod.ZodString;
521
- model: _$zod.ZodOptional<_$zod.ZodString>;
522
521
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
522
+ model: _$zod.ZodOptional<_$zod.ZodString>;
523
523
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
524
524
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
525
525
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
526
526
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
527
527
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
528
- adapterName: _$zod.ZodString;
529
528
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
530
529
  fork: "fork";
531
530
  fresh: "fresh";
532
531
  }>>;
532
+ adapterName: _$zod.ZodString;
533
533
  }, _$zod_v4_core0.$strip>;
534
534
  response: _$zod.ZodObject<{
535
535
  id: _$zod.ZodString;
@@ -609,18 +609,18 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
609
609
  create: {
610
610
  request: _$zod.ZodObject<{
611
611
  name: _$zod.ZodString;
612
- model: _$zod.ZodOptional<_$zod.ZodString>;
613
612
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
613
+ model: _$zod.ZodOptional<_$zod.ZodString>;
614
614
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
615
615
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
616
616
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
617
617
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
618
618
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
619
- adapterName: _$zod.ZodString;
620
619
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
621
620
  fork: "fork";
622
621
  fresh: "fresh";
623
622
  }>>;
623
+ adapterName: _$zod.ZodString;
624
624
  }, _$zod_v4_core0.$strip>;
625
625
  response: _$zod.ZodObject<{
626
626
  id: _$zod.ZodString;
@@ -17,8 +17,8 @@ declare const ExtensionConfigSchema: z.ZodObject<{
17
17
  declare const ExtensionConfigInputSchema: z.ZodObject<{
18
18
  id: z.ZodString;
19
19
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
- scope: z.ZodString;
21
20
  enabled: z.ZodBoolean;
21
+ scope: z.ZodString;
22
22
  extensionName: z.ZodString;
23
23
  }, z.core.$strip>;
24
24
  /** Query schema for listing extension configs. */
@@ -62,8 +62,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
62
62
  extensionConfig: z.ZodObject<{
63
63
  id: z.ZodString;
64
64
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
- scope: z.ZodString;
66
65
  enabled: z.ZodBoolean;
66
+ scope: z.ZodString;
67
67
  extensionName: z.ZodString;
68
68
  }, z.core.$strip>;
69
69
  }, z.core.$strip>;
@@ -130,8 +130,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
130
130
  extensionConfig: z.ZodObject<{
131
131
  id: z.ZodString;
132
132
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
- scope: z.ZodString;
134
133
  enabled: z.ZodBoolean;
134
+ scope: z.ZodString;
135
135
  extensionName: z.ZodString;
136
136
  }, z.core.$strip>;
137
137
  }, z.core.$strip>;
@@ -1,3 +1,3 @@
1
- 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-COginkIS2.mjs";
1
+ 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";
2
2
  import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-D8P8Sxce2.mjs";
3
3
  export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -1,2 +1,2 @@
1
- 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-COginkIS2.mjs";
1
+ 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";
2
2
  export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -1,4 +1,4 @@
1
1
  import { t as TrayMenuService } from "../../index-DUD7wikz2.mjs";
2
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-sJYw2ALb.mjs";
3
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Cz9ME2yn.mjs";
2
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-CDGld_OC.mjs";
3
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Do_rmLFb.mjs";
4
4
  export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects };
@@ -1,2 +1,2 @@
1
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Cz9ME2yn.mjs";
1
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Do_rmLFb.mjs";
2
2
  export { TrayMenuNamespace, TrayMenuSubjects };
@@ -1,2 +1,2 @@
1
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-sJYw2ALb.mjs";
1
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-CDGld_OC.mjs";
2
2
  export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuSchemas, TrayMenuSectionSchema };
@@ -14,8 +14,8 @@ declare const COMPRESS_SESSION_LINEAGE_KIND: "compress";
14
14
  /** Discriminates the relationship of a session to its parent. */
15
15
  declare const SessionLineageKindSchema: z.ZodEnum<{
16
16
  fork: "fork";
17
- root: "root";
18
17
  subagent: "subagent";
18
+ root: "root";
19
19
  compress: "compress";
20
20
  }>;
21
21
  type SessionLineageKind = z.infer<typeof SessionLineageKindSchema>;
@@ -1,4 +1,4 @@
1
- import { mt as ArtifactRevision$1 } from "./index-CUgqdVBB.mjs";
1
+ import { mt as ArtifactRevision$1 } from "./index-DImePakw.mjs";
2
2
  import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -24,9 +24,9 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
24
24
  forkPointMessageId: z.ZodOptional<z.ZodString>;
25
25
  branchKind: z.ZodOptional<z.ZodEnum<{
26
26
  fork: "fork";
27
- branch: "branch";
28
27
  subagent: "subagent";
29
28
  compress: "compress";
29
+ branch: "branch";
30
30
  rewrite: "rewrite";
31
31
  coordinator: "coordinator";
32
32
  aside: "aside";
@@ -70,8 +70,8 @@ type SessionCreateBase = z.infer<typeof SessionCreateBaseSchema>;
70
70
  * - 'disposed': Agent replaced (cross-adapter switch) — retained for message metadata
71
71
  */
72
72
  declare const AgentStatusSchema$1: z.ZodEnum<{
73
- active: "active";
74
73
  idle: "idle";
74
+ active: "active";
75
75
  dead: "dead";
76
76
  disposed: "disposed";
77
77
  }>;
@@ -106,8 +106,8 @@ declare const MakaioSessionAgentSchema$1: z.ZodObject<{
106
106
  member: "member";
107
107
  }>;
108
108
  status: z.ZodEnum<{
109
- active: "active";
110
109
  idle: "idle";
110
+ active: "active";
111
111
  dead: "dead";
112
112
  disposed: "disposed";
113
113
  }>;
@@ -153,8 +153,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
153
153
  member: "member";
154
154
  }>;
155
155
  status: z.ZodEnum<{
156
- active: "active";
157
156
  idle: "idle";
157
+ active: "active";
158
158
  dead: "dead";
159
159
  disposed: "disposed";
160
160
  }>;
@@ -162,9 +162,9 @@ declare const MakaioSessionSchema: z.ZodObject<{
162
162
  lastActivityAt: z.ZodNumber;
163
163
  }, z.core.$strip>>;
164
164
  status: z.ZodEnum<{
165
+ closed: "closed";
165
166
  active: "active";
166
167
  archived: "archived";
167
- closed: "closed";
168
168
  discovered: "discovered";
169
169
  }>;
170
170
  leadAgentId: z.ZodOptional<z.ZodString>;
@@ -177,9 +177,9 @@ declare const MakaioSessionSchema: z.ZodObject<{
177
177
  forkPointMessageId: z.ZodOptional<z.ZodString>;
178
178
  branchKind: z.ZodOptional<z.ZodEnum<{
179
179
  fork: "fork";
180
- branch: "branch";
181
180
  subagent: "subagent";
182
181
  compress: "compress";
182
+ branch: "branch";
183
183
  rewrite: "rewrite";
184
184
  coordinator: "coordinator";
185
185
  aside: "aside";
@@ -279,8 +279,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
279
279
  member: "member";
280
280
  }>;
281
281
  status: z.ZodEnum<{
282
- active: "active";
283
282
  idle: "idle";
283
+ active: "active";
284
284
  dead: "dead";
285
285
  disposed: "disposed";
286
286
  }>;
@@ -288,9 +288,9 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
288
288
  lastActivityAt: z.ZodNumber;
289
289
  }, z.core.$strip>>;
290
290
  status: z.ZodEnum<{
291
+ closed: "closed";
291
292
  active: "active";
292
293
  archived: "archived";
293
- closed: "closed";
294
294
  discovered: "discovered";
295
295
  }>;
296
296
  leadAgentId: z.ZodOptional<z.ZodString>;
@@ -303,9 +303,9 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
303
303
  forkPointMessageId: z.ZodOptional<z.ZodString>;
304
304
  branchKind: z.ZodOptional<z.ZodEnum<{
305
305
  fork: "fork";
306
- branch: "branch";
307
306
  subagent: "subagent";
308
307
  compress: "compress";
308
+ branch: "branch";
309
309
  rewrite: "rewrite";
310
310
  coordinator: "coordinator";
311
311
  aside: "aside";
@@ -479,8 +479,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
479
479
  member: "member";
480
480
  }>;
481
481
  status: z.ZodEnum<{
482
- active: "active";
483
482
  idle: "idle";
483
+ active: "active";
484
484
  dead: "dead";
485
485
  disposed: "disposed";
486
486
  }>;
@@ -488,9 +488,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
488
488
  lastActivityAt: z.ZodNumber;
489
489
  }, z.core.$strip>>;
490
490
  status: z.ZodEnum<{
491
+ closed: "closed";
491
492
  active: "active";
492
493
  archived: "archived";
493
- closed: "closed";
494
494
  discovered: "discovered";
495
495
  }>;
496
496
  leadAgentId: z.ZodOptional<z.ZodString>;
@@ -503,9 +503,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
503
503
  forkPointMessageId: z.ZodOptional<z.ZodString>;
504
504
  branchKind: z.ZodOptional<z.ZodEnum<{
505
505
  fork: "fork";
506
- branch: "branch";
507
506
  subagent: "subagent";
508
507
  compress: "compress";
508
+ branch: "branch";
509
509
  rewrite: "rewrite";
510
510
  coordinator: "coordinator";
511
511
  aside: "aside";
@@ -590,8 +590,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
590
590
  member: "member";
591
591
  }>;
592
592
  status: z.ZodEnum<{
593
- active: "active";
594
593
  idle: "idle";
594
+ active: "active";
595
595
  dead: "dead";
596
596
  disposed: "disposed";
597
597
  }>;
@@ -981,9 +981,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
981
981
  parentSessionId: z.ZodString;
982
982
  kind: z.ZodEnum<{
983
983
  fork: "fork";
984
- branch: "branch";
985
984
  subagent: "subagent";
986
985
  compress: "compress";
986
+ branch: "branch";
987
987
  rewrite: "rewrite";
988
988
  coordinator: "coordinator";
989
989
  aside: "aside";
@@ -1065,9 +1065,9 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
1065
1065
  */
1066
1066
  declare const BranchKindSchema: z.ZodEnum<{
1067
1067
  fork: "fork";
1068
- branch: "branch";
1069
1068
  subagent: "subagent";
1070
1069
  compress: "compress";
1070
+ branch: "branch";
1071
1071
  rewrite: "rewrite";
1072
1072
  coordinator: "coordinator";
1073
1073
  aside: "aside";
@@ -3224,9 +3224,9 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3224
3224
  parentSessionId: z.ZodString;
3225
3225
  kind: z.ZodEnum<{
3226
3226
  fork: "fork";
3227
- branch: "branch";
3228
3227
  subagent: "subagent";
3229
3228
  compress: "compress";
3229
+ branch: "branch";
3230
3230
  rewrite: "rewrite";
3231
3231
  coordinator: "coordinator";
3232
3232
  aside: "aside";
@@ -3415,9 +3415,9 @@ declare const ForkChildInfoSchema: z.ZodObject<{
3415
3415
  forkPointMessageId: z.ZodNullable<z.ZodString>;
3416
3416
  branchKind: z.ZodNullable<z.ZodEnum<{
3417
3417
  fork: "fork";
3418
- branch: "branch";
3419
3418
  subagent: "subagent";
3420
3419
  compress: "compress";
3420
+ branch: "branch";
3421
3421
  rewrite: "rewrite";
3422
3422
  coordinator: "coordinator";
3423
3423
  aside: "aside";
@@ -3489,9 +3489,9 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
3489
3489
  parentSessionId: z.ZodNullable<z.ZodString>;
3490
3490
  branchKind: z.ZodNullable<z.ZodEnum<{
3491
3491
  fork: "fork";
3492
- branch: "branch";
3493
3492
  subagent: "subagent";
3494
3493
  compress: "compress";
3494
+ branch: "branch";
3495
3495
  rewrite: "rewrite";
3496
3496
  coordinator: "coordinator";
3497
3497
  aside: "aside";
@@ -5104,9 +5104,9 @@ declare const SessionSchemas: {
5104
5104
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
5105
5105
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5106
5106
  fork: "fork";
5107
- branch: "branch";
5108
5107
  subagent: "subagent";
5109
5108
  compress: "compress";
5109
+ branch: "branch";
5110
5110
  rewrite: "rewrite";
5111
5111
  coordinator: "coordinator";
5112
5112
  aside: "aside";
@@ -5161,9 +5161,9 @@ declare const SessionSchemas: {
5161
5161
  parentSessionId: _$zod.ZodString;
5162
5162
  kind: _$zod.ZodEnum<{
5163
5163
  fork: "fork";
5164
- branch: "branch";
5165
5164
  subagent: "subagent";
5166
5165
  compress: "compress";
5166
+ branch: "branch";
5167
5167
  rewrite: "rewrite";
5168
5168
  coordinator: "coordinator";
5169
5169
  aside: "aside";
@@ -5209,9 +5209,9 @@ declare const SessionSchemas: {
5209
5209
  parentSessionId: _$zod.ZodNullable<_$zod.ZodString>;
5210
5210
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5211
5211
  fork: "fork";
5212
- branch: "branch";
5213
5212
  subagent: "subagent";
5214
5213
  compress: "compress";
5214
+ branch: "branch";
5215
5215
  rewrite: "rewrite";
5216
5216
  coordinator: "coordinator";
5217
5217
  aside: "aside";
@@ -5286,8 +5286,8 @@ declare const SessionSchemas: {
5286
5286
  member: "member";
5287
5287
  }>;
5288
5288
  status: _$zod.ZodEnum<{
5289
- active: "active";
5290
5289
  idle: "idle";
5290
+ active: "active";
5291
5291
  dead: "dead";
5292
5292
  disposed: "disposed";
5293
5293
  }>;
@@ -5295,9 +5295,9 @@ declare const SessionSchemas: {
5295
5295
  lastActivityAt: _$zod.ZodNumber;
5296
5296
  }, _$zod_v4_core0.$strip>>;
5297
5297
  status: _$zod.ZodEnum<{
5298
+ closed: "closed";
5298
5299
  active: "active";
5299
5300
  archived: "archived";
5300
- closed: "closed";
5301
5301
  discovered: "discovered";
5302
5302
  }>;
5303
5303
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5310,9 +5310,9 @@ declare const SessionSchemas: {
5310
5310
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5311
5311
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5312
5312
  fork: "fork";
5313
- branch: "branch";
5314
5313
  subagent: "subagent";
5315
5314
  compress: "compress";
5315
+ branch: "branch";
5316
5316
  rewrite: "rewrite";
5317
5317
  coordinator: "coordinator";
5318
5318
  aside: "aside";
@@ -5397,8 +5397,8 @@ declare const SessionSchemas: {
5397
5397
  member: "member";
5398
5398
  }>;
5399
5399
  status: _$zod.ZodEnum<{
5400
- active: "active";
5401
5400
  idle: "idle";
5401
+ active: "active";
5402
5402
  dead: "dead";
5403
5403
  disposed: "disposed";
5404
5404
  }>;
@@ -5788,9 +5788,9 @@ declare const SessionSchemas: {
5788
5788
  parentSessionId: _$zod.ZodString;
5789
5789
  kind: _$zod.ZodEnum<{
5790
5790
  fork: "fork";
5791
- branch: "branch";
5792
5791
  subagent: "subagent";
5793
5792
  compress: "compress";
5793
+ branch: "branch";
5794
5794
  rewrite: "rewrite";
5795
5795
  coordinator: "coordinator";
5796
5796
  aside: "aside";
@@ -5868,8 +5868,8 @@ declare const SessionSchemas: {
5868
5868
  member: "member";
5869
5869
  }>;
5870
5870
  status: _$zod.ZodEnum<{
5871
- active: "active";
5872
5871
  idle: "idle";
5872
+ active: "active";
5873
5873
  dead: "dead";
5874
5874
  disposed: "disposed";
5875
5875
  }>;
@@ -5877,9 +5877,9 @@ declare const SessionSchemas: {
5877
5877
  lastActivityAt: _$zod.ZodNumber;
5878
5878
  }, _$zod_v4_core0.$strip>>;
5879
5879
  status: _$zod.ZodEnum<{
5880
+ closed: "closed";
5880
5881
  active: "active";
5881
5882
  archived: "archived";
5882
- closed: "closed";
5883
5883
  discovered: "discovered";
5884
5884
  }>;
5885
5885
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5892,9 +5892,9 @@ declare const SessionSchemas: {
5892
5892
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5893
5893
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5894
5894
  fork: "fork";
5895
- branch: "branch";
5896
5895
  subagent: "subagent";
5897
5896
  compress: "compress";
5897
+ branch: "branch";
5898
5898
  rewrite: "rewrite";
5899
5899
  coordinator: "coordinator";
5900
5900
  aside: "aside";
@@ -5979,8 +5979,8 @@ declare const SessionSchemas: {
5979
5979
  member: "member";
5980
5980
  }>;
5981
5981
  status: _$zod.ZodEnum<{
5982
- active: "active";
5983
5982
  idle: "idle";
5983
+ active: "active";
5984
5984
  dead: "dead";
5985
5985
  disposed: "disposed";
5986
5986
  }>;
@@ -6370,9 +6370,9 @@ declare const SessionSchemas: {
6370
6370
  parentSessionId: _$zod.ZodString;
6371
6371
  kind: _$zod.ZodEnum<{
6372
6372
  fork: "fork";
6373
- branch: "branch";
6374
6373
  subagent: "subagent";
6375
6374
  compress: "compress";
6375
+ branch: "branch";
6376
6376
  rewrite: "rewrite";
6377
6377
  coordinator: "coordinator";
6378
6378
  aside: "aside";
@@ -6793,9 +6793,9 @@ declare const SessionSchemas: {
6793
6793
  parentSessionId: _$zod.ZodString;
6794
6794
  kind: _$zod.ZodEnum<{
6795
6795
  fork: "fork";
6796
- branch: "branch";
6797
6796
  subagent: "subagent";
6798
6797
  compress: "compress";
6798
+ branch: "branch";
6799
6799
  rewrite: "rewrite";
6800
6800
  coordinator: "coordinator";
6801
6801
  aside: "aside";
@@ -6835,9 +6835,9 @@ declare const SessionSchemas: {
6835
6835
  request: _$zod.ZodObject<{
6836
6836
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6837
6837
  all: "all";
6838
+ closed: "closed";
6838
6839
  active: "active";
6839
6840
  archived: "archived";
6840
- closed: "closed";
6841
6841
  discovered: "discovered";
6842
6842
  }>>;
6843
6843
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -6874,8 +6874,8 @@ declare const SessionSchemas: {
6874
6874
  member: "member";
6875
6875
  }>;
6876
6876
  status: _$zod.ZodEnum<{
6877
- active: "active";
6878
6877
  idle: "idle";
6878
+ active: "active";
6879
6879
  dead: "dead";
6880
6880
  disposed: "disposed";
6881
6881
  }>;
@@ -6883,9 +6883,9 @@ declare const SessionSchemas: {
6883
6883
  lastActivityAt: _$zod.ZodNumber;
6884
6884
  }, _$zod_v4_core0.$strip>>;
6885
6885
  status: _$zod.ZodEnum<{
6886
+ closed: "closed";
6886
6887
  active: "active";
6887
6888
  archived: "archived";
6888
- closed: "closed";
6889
6889
  discovered: "discovered";
6890
6890
  }>;
6891
6891
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6898,9 +6898,9 @@ declare const SessionSchemas: {
6898
6898
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6899
6899
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6900
6900
  fork: "fork";
6901
- branch: "branch";
6902
6901
  subagent: "subagent";
6903
6902
  compress: "compress";
6903
+ branch: "branch";
6904
6904
  rewrite: "rewrite";
6905
6905
  coordinator: "coordinator";
6906
6906
  aside: "aside";
@@ -6974,9 +6974,9 @@ declare const SessionSchemas: {
6974
6974
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
6975
6975
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6976
6976
  all: "all";
6977
+ closed: "closed";
6977
6978
  active: "active";
6978
6979
  archived: "archived";
6979
- closed: "closed";
6980
6980
  discovered: "discovered";
6981
6981
  }>>;
6982
6982
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -7010,8 +7010,8 @@ declare const SessionSchemas: {
7010
7010
  member: "member";
7011
7011
  }>;
7012
7012
  status: _$zod.ZodEnum<{
7013
- active: "active";
7014
7013
  idle: "idle";
7014
+ active: "active";
7015
7015
  dead: "dead";
7016
7016
  disposed: "disposed";
7017
7017
  }>;
@@ -7019,9 +7019,9 @@ declare const SessionSchemas: {
7019
7019
  lastActivityAt: _$zod.ZodNumber;
7020
7020
  }, _$zod_v4_core0.$strip>>;
7021
7021
  status: _$zod.ZodEnum<{
7022
+ closed: "closed";
7022
7023
  active: "active";
7023
7024
  archived: "archived";
7024
- closed: "closed";
7025
7025
  discovered: "discovered";
7026
7026
  }>;
7027
7027
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7034,9 +7034,9 @@ declare const SessionSchemas: {
7034
7034
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7035
7035
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7036
7036
  fork: "fork";
7037
- branch: "branch";
7038
7037
  subagent: "subagent";
7039
7038
  compress: "compress";
7039
+ branch: "branch";
7040
7040
  rewrite: "rewrite";
7041
7041
  coordinator: "coordinator";
7042
7042
  aside: "aside";
@@ -7137,8 +7137,8 @@ declare const SessionSchemas: {
7137
7137
  member: "member";
7138
7138
  }>;
7139
7139
  status: _$zod.ZodEnum<{
7140
- active: "active";
7141
7140
  idle: "idle";
7141
+ active: "active";
7142
7142
  dead: "dead";
7143
7143
  disposed: "disposed";
7144
7144
  }>;
@@ -7146,9 +7146,9 @@ declare const SessionSchemas: {
7146
7146
  lastActivityAt: _$zod.ZodNumber;
7147
7147
  }, _$zod_v4_core0.$strip>>;
7148
7148
  status: _$zod.ZodEnum<{
7149
+ closed: "closed";
7149
7150
  active: "active";
7150
7151
  archived: "archived";
7151
- closed: "closed";
7152
7152
  discovered: "discovered";
7153
7153
  }>;
7154
7154
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7161,9 +7161,9 @@ declare const SessionSchemas: {
7161
7161
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7162
7162
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7163
7163
  fork: "fork";
7164
- branch: "branch";
7165
7164
  subagent: "subagent";
7166
7165
  compress: "compress";
7166
+ branch: "branch";
7167
7167
  rewrite: "rewrite";
7168
7168
  coordinator: "coordinator";
7169
7169
  aside: "aside";
@@ -7237,9 +7237,9 @@ declare const SessionSchemas: {
7237
7237
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7238
7238
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7239
7239
  fork: "fork";
7240
- branch: "branch";
7241
7240
  subagent: "subagent";
7242
7241
  compress: "compress";
7242
+ branch: "branch";
7243
7243
  rewrite: "rewrite";
7244
7244
  coordinator: "coordinator";
7245
7245
  aside: "aside";
@@ -7376,8 +7376,8 @@ declare const SessionSchemas: {
7376
7376
  member: "member";
7377
7377
  }>;
7378
7378
  status: _$zod.ZodEnum<{
7379
- active: "active";
7380
7379
  idle: "idle";
7380
+ active: "active";
7381
7381
  dead: "dead";
7382
7382
  disposed: "disposed";
7383
7383
  }>;
@@ -7385,9 +7385,9 @@ declare const SessionSchemas: {
7385
7385
  lastActivityAt: _$zod.ZodNumber;
7386
7386
  }, _$zod_v4_core0.$strip>>;
7387
7387
  status: _$zod.ZodEnum<{
7388
+ closed: "closed";
7388
7389
  active: "active";
7389
7390
  archived: "archived";
7390
- closed: "closed";
7391
7391
  discovered: "discovered";
7392
7392
  }>;
7393
7393
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7400,9 +7400,9 @@ declare const SessionSchemas: {
7400
7400
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7401
7401
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7402
7402
  fork: "fork";
7403
- branch: "branch";
7404
7403
  subagent: "subagent";
7405
7404
  compress: "compress";
7405
+ branch: "branch";
7406
7406
  rewrite: "rewrite";
7407
7407
  coordinator: "coordinator";
7408
7408
  aside: "aside";
@@ -7486,9 +7486,9 @@ declare const SessionSchemas: {
7486
7486
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7487
7487
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7488
7488
  fork: "fork";
7489
- branch: "branch";
7490
7489
  subagent: "subagent";
7491
7490
  compress: "compress";
7491
+ branch: "branch";
7492
7492
  rewrite: "rewrite";
7493
7493
  coordinator: "coordinator";
7494
7494
  aside: "aside";