@makaio/framework 1.0.0-dev-1784806252593 → 1.0.0-dev-1784889676396

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 (68) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/clients/index.d.mts +5 -5
  3. package/dist/{context-resolution-B5IH2Z9v.d.mts → context-resolution-B9ANWbG0.d.mts} +10 -10
  4. package/dist/contracts/adapter/index.d.mts +2 -2
  5. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +2 -2
  7. package/dist/contracts/client/index.d.mts +1 -1
  8. package/dist/contracts/extension/index.d.mts +3 -3
  9. package/dist/contracts/facet/index.d.mts +1 -1
  10. package/dist/contracts/harness/index.d.mts +1 -1
  11. package/dist/contracts/index.d.mts +66 -66
  12. package/dist/contracts/materialization/index.d.mts +3 -3
  13. package/dist/contracts/session/index.d.mts +2 -2
  14. package/dist/contracts/shared/index.d.mts +1 -1
  15. package/dist/contracts/variant/index.d.mts +1 -1
  16. package/dist/contracts/workflow/index.d.mts +2 -2
  17. package/dist/{index-g36yJDge.d.mts → index-0Ju2i8gV.d.mts} +6 -6
  18. package/dist/{index-4NQLoI7R.d.mts → index-7FjcxGlK.d.mts} +1 -1
  19. package/dist/{index-B6SBIKyk.d.mts → index-BDDbcWNI.d.mts} +3 -3
  20. package/dist/{index-DeoKITib.d.mts → index-BMx59xb7.d.mts} +85 -85
  21. package/dist/{index-DSyyWwR2.d.mts → index-Bi5jFT9S.d.mts} +24 -24
  22. package/dist/{index-D73PTKXG2.d.mts → index-Bs3CXR232.d.mts} +1 -1
  23. package/dist/{index-BF-ZfYo4.d.mts → index-CKO9S6oo.d.mts} +6 -6
  24. package/dist/{index-CYfiCzb-.d.mts → index-CjyfQ_vQ.d.mts} +1 -1
  25. package/dist/{index-D9Tk7hyM.d.mts → index-CnXXq6sW.d.mts} +29 -29
  26. package/dist/{index-BXgsQUhf.d.mts → index-CtUTCAJ6.d.mts} +8 -8
  27. package/dist/{index-y5-qCuUL.d.mts → index-CvmWRumB.d.mts} +98 -98
  28. package/dist/{index-BHQXXd-O.d.mts → index-Cw84_Dqi.d.mts} +4 -4
  29. package/dist/{index-Dfl1vniO.d.mts → index-D43lQCHs.d.mts} +95 -95
  30. package/dist/{index-CzKLLQLw.d.mts → index-DUf47Jn_.d.mts} +8 -8
  31. package/dist/{index-z9bcglqL.d.mts → index-dkvGHN10.d.mts} +10 -10
  32. package/dist/kernel/extension/index.d.mts +1 -1
  33. package/dist/kernel/index.d.mts +2 -2
  34. package/dist/kernel/observability/index.d.mts +1 -1
  35. package/dist/{namespace-BeV7LST-.d.mts → namespace-BetqZA7Z.d.mts} +2 -2
  36. package/dist/{namespace-DRHnU5Yi2.d.mts → namespace-BphMM6S82.d.mts} +8 -8
  37. package/dist/{namespace-Dvo_7BQw.d.mts → namespace-CI313bRv.d.mts} +2 -2
  38. package/dist/{namespace-8-GrdcbF.d.mts → namespace-CriPb5wY.d.mts} +20 -20
  39. package/dist/{namespace-Db_PFX3v.d.mts → namespace-zOfq1Uhn.d.mts} +27 -27
  40. package/dist/package.json +1 -1
  41. package/dist/{schema-CfMsufSb.d.mts → schema-BO9TgmOs.d.mts} +1 -1
  42. package/dist/{schemas-1ahuxM83.d.mts → schemas-BDC2Nqj1.d.mts} +17 -17
  43. package/dist/{schemas-SsGbBOZ-.d.mts → schemas-CbMWN9-z.d.mts} +2 -2
  44. package/dist/services/agent-runtime/index.d.mts +2 -2
  45. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  46. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  47. package/dist/services/context-rules/index.d.mts +6 -6
  48. package/dist/services/execution-target/index.d.mts +1 -1
  49. package/dist/services/git/namespace.d.mts +4 -4
  50. package/dist/services/git/schemas.d.mts +3 -3
  51. package/dist/services/harness/index.d.mts +3 -3
  52. package/dist/services/index.d.mts +24 -24
  53. package/dist/services/session/index.d.mts +5 -5
  54. package/dist/services/session/messages/namespace.d.mts +1 -1
  55. package/dist/services/session/session-events/namespace.d.mts +1 -1
  56. package/dist/services/session/storage/namespace.d.mts +1 -1
  57. package/dist/services/session/storage/schema.d.mts +1 -1
  58. package/dist/services/settings/namespace.d.mts +14 -14
  59. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  60. package/dist/services/subagent-template/index.d.mts +2 -2
  61. package/dist/services/subagent-template/namespace.d.mts +1 -1
  62. package/dist/services/subagent-template/schemas.d.mts +1 -1
  63. package/dist/{session-lineage-D4z26OtM.d.mts → session-lineage-Cte63dGx.d.mts} +1 -1
  64. package/dist/{transition-BuUKc2J1.d.mts → transition-BodgGLZx.d.mts} +1 -1
  65. package/dist/{types-D2KG8ewJ.d.mts → types-Bzxo7ATi.d.mts} +36 -36
  66. package/dist/{view-builder-BktOepKR.d.mts → view-builder-tU7iaxrk.d.mts} +4 -4
  67. package/dist/workflow-engine/index.d.mts +77 -77
  68. package/package.json +1 -1
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
17
17
  env: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  configDir: z.ZodNullable<z.ZodString>;
19
19
  source: z.ZodEnum<{
20
- managed: "managed";
21
20
  global: "global";
21
+ managed: "managed";
22
22
  }>;
23
23
  version: z.ZodNullable<z.ZodString>;
24
24
  }, z.core.$strip>;
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
40
  projectDir: z.ZodOptional<z.ZodString>;
41
41
  preferSource: z.ZodOptional<z.ZodEnum<{
42
- managed: "managed";
43
42
  global: "global";
43
+ managed: "managed";
44
44
  }>>;
45
45
  harnessId: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
49
49
  env: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  configDir: z.ZodNullable<z.ZodString>;
51
51
  source: z.ZodEnum<{
52
- managed: "managed";
53
52
  global: "global";
53
+ managed: "managed";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -89,9 +89,9 @@ declare const ClientSchemas: {
89
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
90
90
  projectDir: z.ZodOptional<z.ZodString>;
91
91
  configInheritance: z.ZodOptional<z.ZodEnum<{
92
+ empty: "empty";
92
93
  "auth-only": "auth-only";
93
94
  full: "full";
94
- empty: "empty";
95
95
  }>>;
96
96
  }, z.core.$strip>;
97
97
  response: z.ZodObject<{
@@ -258,8 +258,8 @@ declare const ClientSchemas: {
258
258
  clientRuntimeId: z.ZodString;
259
259
  clientId: z.ZodString;
260
260
  status: z.ZodEnum<{
261
- observed: "observed";
262
261
  started: "started";
262
+ observed: "observed";
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
@@ -506,9 +506,9 @@ declare const ClientSchemas: {
506
506
  cwd: z.ZodOptional<z.ZodString>;
507
507
  machineId: z.ZodOptional<z.ZodString>;
508
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
- fork: "fork";
510
509
  fresh: "fresh";
511
510
  resume: "resume";
511
+ fork: "fork";
512
512
  clear: "clear";
513
513
  compact: "compact";
514
514
  }>>;
@@ -648,8 +648,8 @@ declare const ClientSchemas: {
648
648
  "signed-binary-bucket": "signed-binary-bucket";
649
649
  }>;
650
650
  stage: z.ZodEnum<{
651
- resolving: "resolving";
652
651
  downloading: "downloading";
652
+ resolving: "resolving";
653
653
  verifying: "verifying";
654
654
  extracting: "extracting";
655
655
  installing: "installing";
@@ -698,8 +698,8 @@ declare const ClientSchemas: {
698
698
  sessionId: z.ZodOptional<z.ZodString>;
699
699
  projectDir: z.ZodOptional<z.ZodString>;
700
700
  preferSource: z.ZodOptional<z.ZodEnum<{
701
- managed: "managed";
702
701
  global: "global";
702
+ managed: "managed";
703
703
  }>>;
704
704
  harnessId: z.ZodOptional<z.ZodString>;
705
705
  }, z.core.$strip>;
@@ -708,8 +708,8 @@ declare const ClientSchemas: {
708
708
  env: z.ZodRecord<z.ZodString, z.ZodString>;
709
709
  configDir: z.ZodNullable<z.ZodString>;
710
710
  source: z.ZodEnum<{
711
- managed: "managed";
712
711
  global: "global";
712
+ managed: "managed";
713
713
  }>;
714
714
  version: z.ZodNullable<z.ZodString>;
715
715
  }, z.core.$strip>;
@@ -1159,8 +1159,8 @@ type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
1159
1159
  * - `'activating'` — marking the installed version as active.
1160
1160
  */
1161
1161
  declare const InstallStageSchema: z.ZodEnum<{
1162
- resolving: "resolving";
1163
1162
  downloading: "downloading";
1163
+ resolving: "resolving";
1164
1164
  verifying: "verifying";
1165
1165
  extracting: "extracting";
1166
1166
  installing: "installing";
@@ -1183,8 +1183,8 @@ declare const ClientInstallProgressSchema: z.ZodObject<{
1183
1183
  "signed-binary-bucket": "signed-binary-bucket";
1184
1184
  }>;
1185
1185
  stage: z.ZodEnum<{
1186
- resolving: "resolving";
1187
1186
  downloading: "downloading";
1187
+ resolving: "resolving";
1188
1188
  verifying: "verifying";
1189
1189
  extracting: "extracting";
1190
1190
  installing: "installing";
@@ -1382,8 +1382,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1382
1382
  clientRuntimeId: z.ZodString;
1383
1383
  clientId: z.ZodString;
1384
1384
  status: z.ZodEnum<{
1385
- observed: "observed";
1386
1385
  started: "started";
1386
+ observed: "observed";
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
@@ -1486,9 +1486,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1486
1486
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1487
1487
  /** Zod schema for the client-reported session start mode. */
1488
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
- fork: "fork";
1490
1489
  fresh: "fresh";
1491
1490
  resume: "resume";
1491
+ fork: "fork";
1492
1492
  clear: "clear";
1493
1493
  compact: "compact";
1494
1494
  }>;
@@ -1505,9 +1505,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1505
1505
  cwd: z.ZodOptional<z.ZodString>;
1506
1506
  machineId: z.ZodOptional<z.ZodString>;
1507
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
- fork: "fork";
1509
1508
  fresh: "fresh";
1510
1509
  resume: "resume";
1510
+ fork: "fork";
1511
1511
  clear: "clear";
1512
1512
  compact: "compact";
1513
1513
  }>>;
@@ -1675,9 +1675,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1675
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1676
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1677
1677
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
1678
+ empty: "empty";
1678
1679
  "auth-only": "auth-only";
1679
1680
  full: "full";
1680
- empty: "empty";
1681
1681
  }>>;
1682
1682
  }, _$zod_v4_core0.$strip>;
1683
1683
  response: _$zod.ZodObject<{
@@ -1844,8 +1844,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1844
1844
  clientRuntimeId: _$zod.ZodString;
1845
1845
  clientId: _$zod.ZodString;
1846
1846
  status: _$zod.ZodEnum<{
1847
- observed: "observed";
1848
1847
  started: "started";
1848
+ observed: "observed";
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
@@ -2076,9 +2076,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2076
2076
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2077
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2078
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
- fork: "fork";
2080
2079
  fresh: "fresh";
2081
2080
  resume: "resume";
2081
+ fork: "fork";
2082
2082
  clear: "clear";
2083
2083
  compact: "compact";
2084
2084
  }>>;
@@ -2218,8 +2218,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2218
2218
  "signed-binary-bucket": "signed-binary-bucket";
2219
2219
  }>;
2220
2220
  stage: _$zod.ZodEnum<{
2221
- resolving: "resolving";
2222
2221
  downloading: "downloading";
2222
+ resolving: "resolving";
2223
2223
  verifying: "verifying";
2224
2224
  extracting: "extracting";
2225
2225
  installing: "installing";
@@ -2268,8 +2268,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2268
2268
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2269
2269
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2270
2270
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2271
- managed: "managed";
2272
2271
  global: "global";
2272
+ managed: "managed";
2273
2273
  }>>;
2274
2274
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2275
2275
  }, _$zod_v4_core0.$strip>;
@@ -2278,8 +2278,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2278
2278
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2279
2279
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2280
2280
  source: _$zod.ZodEnum<{
2281
- managed: "managed";
2282
2281
  global: "global";
2282
+ managed: "managed";
2283
2283
  }>;
2284
2284
  version: _$zod.ZodNullable<_$zod.ZodString>;
2285
2285
  }, _$zod_v4_core0.$strip>;
@@ -2315,9 +2315,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2316
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2317
2317
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2318
+ empty: "empty";
2318
2319
  "auth-only": "auth-only";
2319
2320
  full: "full";
2320
- empty: "empty";
2321
2321
  }>>;
2322
2322
  }, _$zod_v4_core0.$strip>;
2323
2323
  response: _$zod.ZodObject<{
@@ -2484,8 +2484,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2484
2484
  clientRuntimeId: _$zod.ZodString;
2485
2485
  clientId: _$zod.ZodString;
2486
2486
  status: _$zod.ZodEnum<{
2487
- observed: "observed";
2488
2487
  started: "started";
2488
+ observed: "observed";
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
@@ -2716,9 +2716,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2716
2716
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2717
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2718
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
- fork: "fork";
2720
2719
  fresh: "fresh";
2721
2720
  resume: "resume";
2721
+ fork: "fork";
2722
2722
  clear: "clear";
2723
2723
  compact: "compact";
2724
2724
  }>>;
@@ -2858,8 +2858,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2858
2858
  "signed-binary-bucket": "signed-binary-bucket";
2859
2859
  }>;
2860
2860
  stage: _$zod.ZodEnum<{
2861
- resolving: "resolving";
2862
2861
  downloading: "downloading";
2862
+ resolving: "resolving";
2863
2863
  verifying: "verifying";
2864
2864
  extracting: "extracting";
2865
2865
  installing: "installing";
@@ -2908,8 +2908,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2908
2908
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2909
2909
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2910
2910
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2911
- managed: "managed";
2912
2911
  global: "global";
2912
+ managed: "managed";
2913
2913
  }>>;
2914
2914
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2915
2915
  }, _$zod_v4_core0.$strip>;
@@ -2918,8 +2918,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2918
2918
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2919
2919
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2920
2920
  source: _$zod.ZodEnum<{
2921
- managed: "managed";
2922
2921
  global: "global";
2922
+ managed: "managed";
2923
2923
  }>;
2924
2924
  version: _$zod.ZodNullable<_$zod.ZodString>;
2925
2925
  }, _$zod_v4_core0.$strip>;
@@ -2978,9 +2978,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
2978
2978
  * Policy for materializing a session config directory from a base client config.
2979
2979
  */
2980
2980
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
2981
+ empty: "empty";
2981
2982
  "auth-only": "auth-only";
2982
2983
  full: "full";
2983
- empty: "empty";
2984
2984
  }>;
2985
2985
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
2986
2986
  /**
@@ -3136,9 +3136,9 @@ declare const ClientSessionConfigSchemas: {
3136
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3137
3137
  projectDir: z.ZodOptional<z.ZodString>;
3138
3138
  configInheritance: z.ZodOptional<z.ZodEnum<{
3139
+ empty: "empty";
3139
3140
  "auth-only": "auth-only";
3140
3141
  full: "full";
3141
- empty: "empty";
3142
3142
  }>>;
3143
3143
  }, z.core.$strip>;
3144
3144
  response: z.ZodObject<{
@@ -3192,9 +3192,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3192
3192
  win32: "win32";
3193
3193
  }>;
3194
3194
  configInheritance: z.ZodEnum<{
3195
+ empty: "empty";
3195
3196
  "auth-only": "auth-only";
3196
3197
  full: "full";
3197
- empty: "empty";
3198
3198
  }>;
3199
3199
  }, z.core.$strip>;
3200
3200
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
@@ -27,9 +27,9 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
27
27
  */
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
- downloading: "downloading";
31
- progress: "progress";
32
30
  complete: "complete";
31
+ progress: "progress";
32
+ downloading: "downloading";
33
33
  applying: "applying";
34
34
  }>;
35
35
  /** Inferred TypeScript type for an upgrade status value. */
@@ -101,9 +101,9 @@ declare const VariantSchemas: {
101
101
  upgradeProgress: z.ZodObject<{
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
- downloading: "downloading";
105
- progress: "progress";
106
104
  complete: "complete";
105
+ progress: "progress";
106
+ downloading: "downloading";
107
107
  applying: "applying";
108
108
  }>;
109
109
  percent: z.ZodOptional<z.ZodNumber>;
@@ -158,9 +158,9 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
158
158
  upgradeProgress: _$zod.ZodObject<{
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
- downloading: "downloading";
162
- progress: "progress";
163
161
  complete: "complete";
162
+ progress: "progress";
163
+ downloading: "downloading";
164
164
  applying: "applying";
165
165
  }>;
166
166
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -205,9 +205,9 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
205
205
  upgradeProgress: _$zod.ZodObject<{
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
- downloading: "downloading";
209
- progress: "progress";
210
208
  complete: "complete";
209
+ progress: "progress";
210
+ downloading: "downloading";
211
211
  applying: "applying";
212
212
  }>;
213
213
  percent: _$zod.ZodOptional<_$zod.ZodNumber>;