@makaio/framework 1.0.0-dev-1789034250920 → 1.0.0-dev-1789056039016

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 (110) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +36 -36
  3. package/dist/bootstrap-start-client-D7t7d9ty.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/contracts/adapter/index.d.mts +2 -2
  6. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +2 -2
  8. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  9. package/dist/contracts/capabilities/index.d.mts +1 -1
  10. package/dist/contracts/client/index.d.mts +2 -2
  11. package/dist/contracts/extension/index.d.mts +4 -4
  12. package/dist/contracts/harness/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +51 -51
  14. package/dist/contracts/index.mjs +1 -1
  15. package/dist/contracts/materialization/index.d.mts +1 -1
  16. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  17. package/dist/contracts/reaction/index.d.mts +1 -1
  18. package/dist/contracts/session/index.d.mts +2 -2
  19. package/dist/contracts/variant/index.d.mts +1 -1
  20. package/dist/contracts/worker/index.d.mts +2 -2
  21. package/dist/contracts/worker/index.mjs +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{contribution-CejwVIb3.d.mts → contribution-BWanQHUz.d.mts} +1 -1
  24. package/dist/{extension-context-SrQpa_kp.d.mts → extension-context-BGNUn34r.d.mts} +3 -3
  25. package/dist/{hook-responses-E1gipXIp.d.mts → hook-responses-DVjMuGh9.d.mts} +1 -1
  26. package/dist/{index-D1rYHYPO.d.mts → index-B4KCyY6J.d.mts} +8 -8
  27. package/dist/{index-yapYXeah.d.mts → index-BLhNHkiK.d.mts} +8 -8
  28. package/dist/{index-DWlmiprx2.d.mts → index-BgKU1PuR2.d.mts} +1 -1
  29. package/dist/{index-DKq33gti.d.mts → index-C0jn5nKJ.d.mts} +32 -32
  30. package/dist/{index-BncQwKi-2.d.mts → index-CAURP-Tl2.d.mts} +37 -37
  31. package/dist/{index-BN0qpem12.d.mts → index-CK5GEXLB2.d.mts} +16 -16
  32. package/dist/{index-B94tZHiU.d.mts → index-CKvliyuY.d.mts} +241 -241
  33. package/dist/{index-MKNhvbfG.d.mts → index-CO6ADD43.d.mts} +22 -22
  34. package/dist/{index-OLGGmjgd.d.mts → index-CU9xmTkP.d.mts} +1 -1
  35. package/dist/{index-B7VWSBm72.d.mts → index-CVP9K9-a2.d.mts} +4 -4
  36. package/dist/{index-BTwMms1p.d.mts → index-Caai1zAG.d.mts} +1 -1
  37. package/dist/{index-BPrpnLRQ.d.mts → index-CrvTRZqh.d.mts} +4 -4
  38. package/dist/{index-6BDbhx3A2.d.mts → index-DO0QO0ux2.d.mts} +1 -1
  39. package/dist/{index-BFchykav.d.mts → index-Ddk-kjif.d.mts} +1 -1
  40. package/dist/{index-Cp9olTr7.d.mts → index-DhW9WHFS.d.mts} +6 -6
  41. package/dist/{index-0_Ao0hwU.d.mts → index-Dtc5UYJG.d.mts} +54 -54
  42. package/dist/{index-BeLI73yw2.d.mts → index-H2NL2OwF2.d.mts} +116 -4
  43. package/dist/{index-DxUstDMY.d.mts → index-LRAmVQLj.d.mts} +277 -43
  44. package/dist/{index-BN2_TMtX.d.mts → index-fpGFhEmI.d.mts} +6 -6
  45. package/dist/kernel/extension/index.d.mts +1 -1
  46. package/dist/kernel/index.d.mts +2 -2
  47. package/dist/kernel/observability/index.d.mts +1 -1
  48. package/dist/{namespace-CZJQrexB.d.mts → namespace--mFdPlbu.d.mts} +18 -18
  49. package/dist/{namespace-CjFT0wBT.d.mts → namespace-CQPcYS-Q.d.mts} +2 -2
  50. package/dist/{namespace-BHkEHrUG.d.mts → namespace-DyWNxLt1.d.mts} +6 -6
  51. package/dist/{namespace-BYBMtQUy.d.mts → namespace-TX9DlWiQ.d.mts} +4 -4
  52. package/dist/package.json +1 -1
  53. package/dist/runtime-node/index.d.mts +2 -2
  54. package/dist/runtime-node/index.mjs +21 -21
  55. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  56. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  57. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  58. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  59. package/dist/{schemas-COQUToGQ.d.mts → schemas-BGcAiQE0.d.mts} +4 -4
  60. package/dist/{schemas-DNUfTOJ0.d.mts → schemas-D9WJH6We.d.mts} +1 -1
  61. package/dist/{schemas-Ct0tTtkV.d.mts → schemas-Dt1YwXLN.d.mts} +8 -8
  62. package/dist/{schemas-DYtUc2WA.d.mts → schemas-FkLOBJgq.d.mts} +4 -4
  63. package/dist/{schemas-DNvDh0eE2.d.mts → schemas-Fn-eeay32.d.mts} +7 -7
  64. package/dist/{schemas-mTWvDwx9.d.mts → schemas-_NrySTmN.d.mts} +1 -1
  65. package/dist/services/adapter-runtime/index.d.mts +3 -3
  66. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  67. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  68. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  69. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +3 -3
  71. package/dist/services/execution-target/index.d.mts +1 -1
  72. package/dist/services/filesystem/namespace.d.mts +6 -6
  73. package/dist/services/filesystem/schemas.d.mts +3 -3
  74. package/dist/services/git/namespace.d.mts +2 -2
  75. package/dist/services/git/schemas.d.mts +1 -1
  76. package/dist/services/harness/index.d.mts +3 -3
  77. package/dist/services/index.d.mts +34 -34
  78. package/dist/services/log-import/browser.d.mts +2 -2
  79. package/dist/services/log-import/index.d.mts +2 -2
  80. package/dist/services/log-import/log-import.d.mts +1 -1
  81. package/dist/services/log-import/namespace.d.mts +2 -2
  82. package/dist/services/log-import/schemas.d.mts +1 -1
  83. package/dist/services/preferences/index.d.mts +2 -2
  84. package/dist/services/preferences/schemas.d.mts +1 -1
  85. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  86. package/dist/services/provider-context/index.d.mts +1 -1
  87. package/dist/services/session/index.d.mts +4 -4
  88. package/dist/services/session/messages/namespace.d.mts +1 -1
  89. package/dist/services/session/session-events/namespace.d.mts +1 -1
  90. package/dist/services/settings/namespace.d.mts +8 -8
  91. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  92. package/dist/services/subagent-template/index.d.mts +1 -1
  93. package/dist/services/subagent-template/schemas.d.mts +1 -1
  94. package/dist/{session-lineage-9_qwkjUq.d.mts → session-lineage-CoNs4WZy.d.mts} +1 -1
  95. package/dist/{storage-namespace-DITavhRL.d.mts → storage-namespace-BUSNKZLw.d.mts} +10 -10
  96. package/dist/{transition-DNi6L7i2.d.mts → transition-D2VKNtv6.d.mts} +1 -1
  97. package/dist/{types-BeAxyCuU2.d.mts → types-DafDuOcH2.d.mts} +1 -1
  98. package/dist/{types-DXobLxrf.d.mts → types-DyXXIK4c.d.mts} +15 -15
  99. package/dist/ui-kernel/index.d.mts +4 -4
  100. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  101. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  102. package/dist/{view-builder-B5gP9RnN.d.mts → view-builder-BFEvUe6n.d.mts} +1 -1
  103. package/dist/worker-L8vWpbYa.mjs +1 -0
  104. package/dist/workflow-engine/index.d.mts +32 -32
  105. package/dist/workflow-worker-BDA-E_pm.mjs +2 -0
  106. package/package.json +1 -1
  107. package/dist/bootstrap-start-client-rW55mDI-.mjs +0 -1
  108. package/dist/worker-Cmme3rMM.mjs +0 -1
  109. package/dist/workflow-worker-BAO7pQpx.mjs +0 -2
  110. package/dist/{index-C4DMSFLE2.d.mts → index-D4FE3jHM2.d.mts} +6 -6
@@ -1,4 +1,4 @@
1
- import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-E1gipXIp.mjs";
1
+ import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-DVjMuGh9.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -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<{
@@ -222,8 +222,8 @@ declare const ClientSchemas: {
222
222
  clientId: z.ZodString;
223
223
  source: z.ZodObject<{
224
224
  layer: z.ZodEnum<{
225
- supervisor: "supervisor";
226
225
  adapter: "adapter";
226
+ supervisor: "supervisor";
227
227
  "client-hook": "client-hook";
228
228
  statusline: "statusline";
229
229
  "cli-wrapper": "cli-wrapper";
@@ -263,8 +263,8 @@ declare const ClientSchemas: {
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
266
- supervisor: "supervisor";
267
266
  adapter: "adapter";
267
+ supervisor: "supervisor";
268
268
  "client-hook": "client-hook";
269
269
  statusline: "statusline";
270
270
  "cli-wrapper": "cli-wrapper";
@@ -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
- fresh: "fresh";
510
- resume: "resume";
511
509
  fork: "fork";
510
+ resume: "resume";
511
+ fresh: "fresh";
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
- downloading: "downloading";
652
651
  resolving: "resolving";
652
+ downloading: "downloading";
653
653
  verifying: "verifying";
654
654
  extracting: "extracting";
655
655
  installing: "installing";
@@ -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
- downloading: "downloading";
1163
1162
  resolving: "resolving";
1163
+ downloading: "downloading";
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
- downloading: "downloading";
1187
1186
  resolving: "resolving";
1187
+ downloading: "downloading";
1188
1188
  verifying: "verifying";
1189
1189
  extracting: "extracting";
1190
1190
  installing: "installing";
@@ -1264,8 +1264,8 @@ type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
1264
1264
  * - `'cli-wrapper'` — a thin CLI shim wrapping the client binary reported the signal
1265
1265
  */
1266
1266
  declare const ClientRuntimeSourceLayerSchema: z.ZodEnum<{
1267
- supervisor: "supervisor";
1268
1267
  adapter: "adapter";
1268
+ supervisor: "supervisor";
1269
1269
  "client-hook": "client-hook";
1270
1270
  statusline: "statusline";
1271
1271
  "cli-wrapper": "cli-wrapper";
@@ -1279,8 +1279,8 @@ type ClientRuntimeSourceLayer = z.infer<typeof ClientRuntimeSourceLayerSchema>;
1279
1279
  */
1280
1280
  declare const ClientRuntimeSourceSchema: z.ZodObject<{
1281
1281
  layer: z.ZodEnum<{
1282
- supervisor: "supervisor";
1283
1282
  adapter: "adapter";
1283
+ supervisor: "supervisor";
1284
1284
  "client-hook": "client-hook";
1285
1285
  statusline: "statusline";
1286
1286
  "cli-wrapper": "cli-wrapper";
@@ -1334,8 +1334,8 @@ declare const ClientRuntimeObserveSchema: {
1334
1334
  clientId: z.ZodString;
1335
1335
  source: z.ZodObject<{
1336
1336
  layer: z.ZodEnum<{
1337
- supervisor: "supervisor";
1338
1337
  adapter: "adapter";
1338
+ supervisor: "supervisor";
1339
1339
  "client-hook": "client-hook";
1340
1340
  statusline: "statusline";
1341
1341
  "cli-wrapper": "cli-wrapper";
@@ -1387,8 +1387,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
1390
- supervisor: "supervisor";
1391
1390
  adapter: "adapter";
1391
+ supervisor: "supervisor";
1392
1392
  "client-hook": "client-hook";
1393
1393
  statusline: "statusline";
1394
1394
  "cli-wrapper": "cli-wrapper";
@@ -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
- fresh: "fresh";
1490
- resume: "resume";
1491
1489
  fork: "fork";
1490
+ resume: "resume";
1491
+ fresh: "fresh";
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
- fresh: "fresh";
1509
- resume: "resume";
1510
1508
  fork: "fork";
1509
+ resume: "resume";
1510
+ fresh: "fresh";
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<{
@@ -1808,8 +1808,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1808
1808
  clientId: _$zod.ZodString;
1809
1809
  source: _$zod.ZodObject<{
1810
1810
  layer: _$zod.ZodEnum<{
1811
- supervisor: "supervisor";
1812
1811
  adapter: "adapter";
1812
+ supervisor: "supervisor";
1813
1813
  "client-hook": "client-hook";
1814
1814
  statusline: "statusline";
1815
1815
  "cli-wrapper": "cli-wrapper";
@@ -1849,8 +1849,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
1852
- supervisor: "supervisor";
1853
1852
  adapter: "adapter";
1853
+ supervisor: "supervisor";
1854
1854
  "client-hook": "client-hook";
1855
1855
  statusline: "statusline";
1856
1856
  "cli-wrapper": "cli-wrapper";
@@ -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
- fresh: "fresh";
2080
- resume: "resume";
2081
2079
  fork: "fork";
2080
+ resume: "resume";
2081
+ fresh: "fresh";
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
- downloading: "downloading";
2222
2221
  resolving: "resolving";
2222
+ downloading: "downloading";
2223
2223
  verifying: "verifying";
2224
2224
  extracting: "extracting";
2225
2225
  installing: "installing";
@@ -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<{
@@ -2448,8 +2448,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2448
2448
  clientId: _$zod.ZodString;
2449
2449
  source: _$zod.ZodObject<{
2450
2450
  layer: _$zod.ZodEnum<{
2451
- supervisor: "supervisor";
2452
2451
  adapter: "adapter";
2452
+ supervisor: "supervisor";
2453
2453
  "client-hook": "client-hook";
2454
2454
  statusline: "statusline";
2455
2455
  "cli-wrapper": "cli-wrapper";
@@ -2489,8 +2489,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
2492
- supervisor: "supervisor";
2493
2492
  adapter: "adapter";
2493
+ supervisor: "supervisor";
2494
2494
  "client-hook": "client-hook";
2495
2495
  statusline: "statusline";
2496
2496
  "cli-wrapper": "cli-wrapper";
@@ -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
- fresh: "fresh";
2720
- resume: "resume";
2721
2719
  fork: "fork";
2720
+ resume: "resume";
2721
+ fresh: "fresh";
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
- downloading: "downloading";
2862
2861
  resolving: "resolving";
2862
+ downloading: "downloading";
2863
2863
  verifying: "verifying";
2864
2864
  extracting: "extracting";
2865
2865
  installing: "installing";
@@ -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>;
@@ -1,4 +1,4 @@
1
- import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DXobLxrf.mjs";
1
+ import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DyXXIK4c.mjs";
2
2
  import { o as Message$1 } from "./index-CgYGg-Ne2.mjs";
3
3
  import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-1uCuoHvM.mjs";
4
4
  import * as _$zod from "zod";
@@ -3154,8 +3154,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3154
3154
  type: _$zod.ZodLiteral<"locality.degraded">;
3155
3155
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3156
3156
  intent: _$zod.ZodEnum<{
3157
- resume: "resume";
3158
3157
  fork: "fork";
3158
+ resume: "resume";
3159
3159
  }>;
3160
3160
  verdictKind: _$zod.ZodLiteral<"degrade">;
3161
3161
  reason: _$zod.ZodEnum<{
@@ -3180,8 +3180,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3180
3180
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3181
3181
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3182
3182
  intent: _$zod.ZodEnum<{
3183
- resume: "resume";
3184
3183
  fork: "fork";
3184
+ resume: "resume";
3185
3185
  }>;
3186
3186
  verdictKind: _$zod.ZodLiteral<"foreign">;
3187
3187
  foreignMachineId: _$zod.ZodString;
@@ -3826,8 +3826,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3826
3826
  type: _$zod.ZodLiteral<"locality.degraded">;
3827
3827
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3828
3828
  intent: _$zod.ZodEnum<{
3829
- resume: "resume";
3830
3829
  fork: "fork";
3830
+ resume: "resume";
3831
3831
  }>;
3832
3832
  verdictKind: _$zod.ZodLiteral<"degrade">;
3833
3833
  reason: _$zod.ZodEnum<{
@@ -3852,8 +3852,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3852
3852
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3853
3853
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3854
3854
  intent: _$zod.ZodEnum<{
3855
- resume: "resume";
3856
3855
  fork: "fork";
3856
+ resume: "resume";
3857
3857
  }>;
3858
3858
  verdictKind: _$zod.ZodLiteral<"foreign">;
3859
3859
  foreignMachineId: _$zod.ZodString;
@@ -3956,8 +3956,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3956
3956
  timestamp: _$zod.ZodNumber;
3957
3957
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3958
3958
  intent: _$zod.ZodEnum<{
3959
- resume: "resume";
3960
3959
  fork: "fork";
3960
+ resume: "resume";
3961
3961
  }>;
3962
3962
  verdictKind: _$zod.ZodLiteral<"degrade">;
3963
3963
  reason: _$zod.ZodEnum<{
@@ -3982,8 +3982,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3982
3982
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3983
3983
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3984
3984
  intent: _$zod.ZodEnum<{
3985
- resume: "resume";
3986
3985
  fork: "fork";
3986
+ resume: "resume";
3987
3987
  }>;
3988
3988
  verdictKind: _$zod.ZodLiteral<"foreign">;
3989
3989
  foreignMachineId: _$zod.ZodString;
@@ -4001,8 +4001,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4001
4001
  maxTokens: _$zod.ZodNumber;
4002
4002
  percentage: _$zod.ZodNumber;
4003
4003
  level: _$zod.ZodEnum<{
4004
- ok: "ok";
4005
4004
  warn: "warn";
4005
+ ok: "ok";
4006
4006
  critical: "critical";
4007
4007
  }>;
4008
4008
  lastUpdatedAt: _$zod.ZodNumber;
@@ -4342,8 +4342,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4342
4342
  type: _$zod.ZodLiteral<"locality.degraded">;
4343
4343
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4344
4344
  intent: _$zod.ZodEnum<{
4345
- resume: "resume";
4346
4345
  fork: "fork";
4346
+ resume: "resume";
4347
4347
  }>;
4348
4348
  verdictKind: _$zod.ZodLiteral<"degrade">;
4349
4349
  reason: _$zod.ZodEnum<{
@@ -4368,8 +4368,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4368
4368
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
4369
4369
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4370
4370
  intent: _$zod.ZodEnum<{
4371
- resume: "resume";
4372
4371
  fork: "fork";
4372
+ resume: "resume";
4373
4373
  }>;
4374
4374
  verdictKind: _$zod.ZodLiteral<"foreign">;
4375
4375
  foreignMachineId: _$zod.ZodString;
@@ -8265,8 +8265,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8265
8265
  type: _$zod.ZodLiteral<"locality.degraded">;
8266
8266
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
8267
8267
  intent: _$zod.ZodEnum<{
8268
- resume: "resume";
8269
8268
  fork: "fork";
8269
+ resume: "resume";
8270
8270
  }>;
8271
8271
  verdictKind: _$zod.ZodLiteral<"degrade">;
8272
8272
  reason: _$zod.ZodEnum<{
@@ -8291,8 +8291,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8291
8291
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
8292
8292
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
8293
8293
  intent: _$zod.ZodEnum<{
8294
- resume: "resume";
8295
8294
  fork: "fork";
8295
+ resume: "resume";
8296
8296
  }>;
8297
8297
  verdictKind: _$zod.ZodLiteral<"foreign">;
8298
8298
  foreignMachineId: _$zod.ZodString;
@@ -8937,8 +8937,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8937
8937
  type: _$zod.ZodLiteral<"locality.degraded">;
8938
8938
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
8939
8939
  intent: _$zod.ZodEnum<{
8940
- resume: "resume";
8941
8940
  fork: "fork";
8941
+ resume: "resume";
8942
8942
  }>;
8943
8943
  verdictKind: _$zod.ZodLiteral<"degrade">;
8944
8944
  reason: _$zod.ZodEnum<{
@@ -8963,8 +8963,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8963
8963
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
8964
8964
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
8965
8965
  intent: _$zod.ZodEnum<{
8966
- resume: "resume";
8967
8966
  fork: "fork";
8967
+ resume: "resume";
8968
8968
  }>;
8969
8969
  verdictKind: _$zod.ZodLiteral<"foreign">;
8970
8970
  foreignMachineId: _$zod.ZodString;
@@ -9067,8 +9067,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9067
9067
  timestamp: _$zod.ZodNumber;
9068
9068
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
9069
9069
  intent: _$zod.ZodEnum<{
9070
- resume: "resume";
9071
9070
  fork: "fork";
9071
+ resume: "resume";
9072
9072
  }>;
9073
9073
  verdictKind: _$zod.ZodLiteral<"degrade">;
9074
9074
  reason: _$zod.ZodEnum<{
@@ -9093,8 +9093,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9093
9093
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
9094
9094
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
9095
9095
  intent: _$zod.ZodEnum<{
9096
- resume: "resume";
9097
9096
  fork: "fork";
9097
+ resume: "resume";
9098
9098
  }>;
9099
9099
  verdictKind: _$zod.ZodLiteral<"foreign">;
9100
9100
  foreignMachineId: _$zod.ZodString;
@@ -9112,8 +9112,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9112
9112
  maxTokens: _$zod.ZodNumber;
9113
9113
  percentage: _$zod.ZodNumber;
9114
9114
  level: _$zod.ZodEnum<{
9115
- ok: "ok";
9116
9115
  warn: "warn";
9116
+ ok: "ok";
9117
9117
  critical: "critical";
9118
9118
  }>;
9119
9119
  lastUpdatedAt: _$zod.ZodNumber;
@@ -9453,8 +9453,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9453
9453
  type: _$zod.ZodLiteral<"locality.degraded">;
9454
9454
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
9455
9455
  intent: _$zod.ZodEnum<{
9456
- resume: "resume";
9457
9456
  fork: "fork";
9457
+ resume: "resume";
9458
9458
  }>;
9459
9459
  verdictKind: _$zod.ZodLiteral<"degrade">;
9460
9460
  reason: _$zod.ZodEnum<{
@@ -9479,8 +9479,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9479
9479
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
9480
9480
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
9481
9481
  intent: _$zod.ZodEnum<{
9482
- resume: "resume";
9483
9482
  fork: "fork";
9483
+ resume: "resume";
9484
9484
  }>;
9485
9485
  verdictKind: _$zod.ZodLiteral<"foreign">;
9486
9486
  foreignMachineId: _$zod.ZodString;
@@ -11055,8 +11055,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
11055
11055
  isError: z.ZodOptional<z.ZodBoolean>;
11056
11056
  }, z.core.$strip>], "type">>;
11057
11057
  agentId: z.ZodOptional<z.ZodString>;
11058
- adapterSessionId: z.ZodOptional<z.ZodString>;
11059
11058
  turnId: z.ZodNullable<z.ZodString>;
11059
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11060
11060
  timestamp: z.ZodNumber;
11061
11061
  contentText: z.ZodString;
11062
11062
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -11903,8 +11903,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
11903
11903
  isError: z.ZodOptional<z.ZodBoolean>;
11904
11904
  }, z.core.$strip>], "type">>;
11905
11905
  agentId: z.ZodOptional<z.ZodString>;
11906
- adapterSessionId: z.ZodOptional<z.ZodString>;
11907
11906
  turnId: z.ZodNullable<z.ZodString>;
11907
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11908
11908
  timestamp: z.ZodNumber;
11909
11909
  contentText: z.ZodString;
11910
11910
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -13047,8 +13047,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13047
13047
  type: z.ZodLiteral<"locality.degraded">;
13048
13048
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13049
13049
  intent: z.ZodEnum<{
13050
- resume: "resume";
13051
13050
  fork: "fork";
13051
+ resume: "resume";
13052
13052
  }>;
13053
13053
  verdictKind: z.ZodLiteral<"degrade">;
13054
13054
  reason: z.ZodEnum<{
@@ -13073,8 +13073,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13073
13073
  turnId: z.ZodOptional<z.ZodString>;
13074
13074
  }, z.core.$strip>, z.ZodObject<{
13075
13075
  intent: z.ZodEnum<{
13076
- resume: "resume";
13077
13076
  fork: "fork";
13077
+ resume: "resume";
13078
13078
  }>;
13079
13079
  verdictKind: z.ZodLiteral<"foreign">;
13080
13080
  foreignMachineId: z.ZodString;
@@ -13435,8 +13435,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13435
13435
  type: z.ZodLiteral<"locality.degraded">;
13436
13436
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13437
13437
  intent: z.ZodEnum<{
13438
- resume: "resume";
13439
13438
  fork: "fork";
13439
+ resume: "resume";
13440
13440
  }>;
13441
13441
  verdictKind: z.ZodLiteral<"degrade">;
13442
13442
  reason: z.ZodEnum<{
@@ -13461,8 +13461,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13461
13461
  turnId: z.ZodOptional<z.ZodString>;
13462
13462
  }, z.core.$strip>, z.ZodObject<{
13463
13463
  intent: z.ZodEnum<{
13464
- resume: "resume";
13465
13464
  fork: "fork";
13465
+ resume: "resume";
13466
13466
  }>;
13467
13467
  verdictKind: z.ZodLiteral<"foreign">;
13468
13468
  foreignMachineId: z.ZodString;
@@ -13813,8 +13813,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13813
13813
  type: z.ZodLiteral<"locality.degraded">;
13814
13814
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13815
13815
  intent: z.ZodEnum<{
13816
- resume: "resume";
13817
13816
  fork: "fork";
13817
+ resume: "resume";
13818
13818
  }>;
13819
13819
  verdictKind: z.ZodLiteral<"degrade">;
13820
13820
  reason: z.ZodEnum<{
@@ -13839,8 +13839,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
13839
13839
  turnId: z.ZodOptional<z.ZodString>;
13840
13840
  }, z.core.$strip>, z.ZodObject<{
13841
13841
  intent: z.ZodEnum<{
13842
- resume: "resume";
13843
13842
  fork: "fork";
13843
+ resume: "resume";
13844
13844
  }>;
13845
13845
  verdictKind: z.ZodLiteral<"foreign">;
13846
13846
  foreignMachineId: z.ZodString;
@@ -14205,8 +14205,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
14205
14205
  type: z.ZodLiteral<"locality.degraded">;
14206
14206
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14207
14207
  intent: z.ZodEnum<{
14208
- resume: "resume";
14209
14208
  fork: "fork";
14209
+ resume: "resume";
14210
14210
  }>;
14211
14211
  verdictKind: z.ZodLiteral<"degrade">;
14212
14212
  reason: z.ZodEnum<{
@@ -14231,8 +14231,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
14231
14231
  turnId: z.ZodOptional<z.ZodString>;
14232
14232
  }, z.core.$strip>, z.ZodObject<{
14233
14233
  intent: z.ZodEnum<{
14234
- resume: "resume";
14235
14234
  fork: "fork";
14235
+ resume: "resume";
14236
14236
  }>;
14237
14237
  verdictKind: z.ZodLiteral<"foreign">;
14238
14238
  foreignMachineId: z.ZodString;
@@ -14584,8 +14584,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14584
14584
  type: z.ZodLiteral<"locality.degraded">;
14585
14585
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14586
14586
  intent: z.ZodEnum<{
14587
- resume: "resume";
14588
14587
  fork: "fork";
14588
+ resume: "resume";
14589
14589
  }>;
14590
14590
  verdictKind: z.ZodLiteral<"degrade">;
14591
14591
  reason: z.ZodEnum<{
@@ -14610,8 +14610,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14610
14610
  turnId: z.ZodOptional<z.ZodString>;
14611
14611
  }, z.core.$strip>, z.ZodObject<{
14612
14612
  intent: z.ZodEnum<{
14613
- resume: "resume";
14614
14613
  fork: "fork";
14614
+ resume: "resume";
14615
14615
  }>;
14616
14616
  verdictKind: z.ZodLiteral<"foreign">;
14617
14617
  foreignMachineId: z.ZodString;
@@ -14972,8 +14972,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14972
14972
  type: z.ZodLiteral<"locality.degraded">;
14973
14973
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14974
14974
  intent: z.ZodEnum<{
14975
- resume: "resume";
14976
14975
  fork: "fork";
14976
+ resume: "resume";
14977
14977
  }>;
14978
14978
  verdictKind: z.ZodLiteral<"degrade">;
14979
14979
  reason: z.ZodEnum<{
@@ -14998,8 +14998,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14998
14998
  turnId: z.ZodOptional<z.ZodString>;
14999
14999
  }, z.core.$strip>, z.ZodObject<{
15000
15000
  intent: z.ZodEnum<{
15001
- resume: "resume";
15002
15001
  fork: "fork";
15002
+ resume: "resume";
15003
15003
  }>;
15004
15004
  verdictKind: z.ZodLiteral<"foreign">;
15005
15005
  foreignMachineId: z.ZodString;
@@ -15350,8 +15350,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15350
15350
  type: z.ZodLiteral<"locality.degraded">;
15351
15351
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
15352
15352
  intent: z.ZodEnum<{
15353
- resume: "resume";
15354
15353
  fork: "fork";
15354
+ resume: "resume";
15355
15355
  }>;
15356
15356
  verdictKind: z.ZodLiteral<"degrade">;
15357
15357
  reason: z.ZodEnum<{
@@ -15376,8 +15376,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15376
15376
  turnId: z.ZodOptional<z.ZodString>;
15377
15377
  }, z.core.$strip>, z.ZodObject<{
15378
15378
  intent: z.ZodEnum<{
15379
- resume: "resume";
15380
15379
  fork: "fork";
15380
+ resume: "resume";
15381
15381
  }>;
15382
15382
  verdictKind: z.ZodLiteral<"foreign">;
15383
15383
  foreignMachineId: z.ZodString;
@@ -15742,8 +15742,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15742
15742
  type: z.ZodLiteral<"locality.degraded">;
15743
15743
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
15744
15744
  intent: z.ZodEnum<{
15745
- resume: "resume";
15746
15745
  fork: "fork";
15746
+ resume: "resume";
15747
15747
  }>;
15748
15748
  verdictKind: z.ZodLiteral<"degrade">;
15749
15749
  reason: z.ZodEnum<{
@@ -15768,8 +15768,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
15768
15768
  turnId: z.ZodOptional<z.ZodString>;
15769
15769
  }, z.core.$strip>, z.ZodObject<{
15770
15770
  intent: z.ZodEnum<{
15771
- resume: "resume";
15772
15771
  fork: "fork";
15772
+ resume: "resume";
15773
15773
  }>;
15774
15774
  verdictKind: z.ZodLiteral<"foreign">;
15775
15775
  foreignMachineId: z.ZodString;