@makaio/framework 1.0.0-dev-1790087128488 → 1.0.0-dev-1790114433794

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 (101) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +44 -44
  3. package/dist/bus/index.d.mts +20 -20
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/bus-CX0d5tTa.mjs +9 -0
  6. package/dist/{client-DWSwtFyI.mjs → client-D1BZILNq.mjs} +1 -1
  7. package/dist/clients/index.d.mts +7 -2
  8. package/dist/clients/index.mjs +1 -1
  9. package/dist/contracts/adapter/index.d.mts +2 -2
  10. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  11. package/dist/contracts/artifact/index.d.mts +2 -2
  12. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  13. package/dist/contracts/canonical-model/index.d.mts +1 -1
  14. package/dist/contracts/capabilities/index.d.mts +1 -1
  15. package/dist/contracts/client/index.d.mts +3 -3
  16. package/dist/contracts/client/index.mjs +1 -1
  17. package/dist/contracts/extension/index.d.mts +5 -5
  18. package/dist/contracts/facet/index.d.mts +1 -1
  19. package/dist/contracts/harness/index.d.mts +1 -1
  20. package/dist/contracts/index.d.mts +156 -156
  21. package/dist/contracts/index.mjs +1 -1
  22. package/dist/contracts/materialization/index.d.mts +1 -1
  23. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  24. package/dist/contracts/reaction/index.d.mts +1 -1
  25. package/dist/contracts/session/index.d.mts +2 -2
  26. package/dist/contracts/shared/index.d.mts +1 -1
  27. package/dist/contracts/variant/index.d.mts +1 -1
  28. package/dist/contracts/worker/index.d.mts +1 -1
  29. package/dist/contracts/workflow/index.d.mts +2 -2
  30. package/dist/{contribution-DHJJARJP.d.mts → contribution-1GL7Rjaq.d.mts} +1 -1
  31. package/dist/{extension-context-C2qColIL.d.mts → extension-context-pQ7Uio_s.d.mts} +3 -3
  32. package/dist/{hook-responses-CN5r7i3k.d.mts → hook-responses-B882RcQc.d.mts} +1 -1
  33. package/dist/{index-DDff0Q_Y.d.mts → index-6bsTWnnc.d.mts} +45 -45
  34. package/dist/{index-D7dbR7Pu2.d.mts → index-BDcK7jqJ2.d.mts} +8 -8
  35. package/dist/{index-f31ex0nG.d.mts → index-BtMWM80d.d.mts} +153 -26
  36. package/dist/{index-DNdHuoy6.d.mts → index-CmCLAMNs.d.mts} +1 -1
  37. package/dist/{index-BwaFXFd2.d.mts → index-ConhyAnB.d.mts} +106 -106
  38. package/dist/{index-DauaMtPH2.d.mts → index-D2TphOHU2.d.mts} +378 -378
  39. package/dist/{index-qH2Jhegj2.d.mts → index-D3peNmHN2.d.mts} +1 -1
  40. package/dist/{index-DvtVX-Rj.d.mts → index-D6Uq1btG.d.mts} +1 -1
  41. package/dist/{index-vA46dx7q.d.mts → index-DGoJayJg.d.mts} +100 -100
  42. package/dist/{index-DH55jJaM.d.mts → index-DJVQG6Nn.d.mts} +10 -10
  43. package/dist/{index-Xnn0gJhU.d.mts → index-DOD7Lmgu.d.mts} +339 -339
  44. package/dist/{index-DjmCOTLM.d.mts → index-Di-R1gmo.d.mts} +291 -291
  45. package/dist/{index-D17f9C3Y.d.mts → index-DpLjyQ-Z.d.mts} +1 -1
  46. package/dist/{index-D9ExWo6a2.d.mts → index-FyY9jdCQ2.d.mts} +16 -16
  47. package/dist/{index-Bcq3UKLQ2.d.mts → index-UjNxC0VC2.d.mts} +11 -11
  48. package/dist/{index-Dk_f8Cyz2.d.mts → index-aIJ7A4DC2.d.mts} +3 -3
  49. package/dist/{index-BMPU9fkA.d.mts → index-anIxF_eT.d.mts} +4 -4
  50. package/dist/kernel/extension/index.d.mts +2 -2
  51. package/dist/kernel/index.d.mts +2 -2
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/{namespace-BdsOXWPU.d.mts → namespace-B1CgZ0oQ.d.mts} +1 -1
  54. package/dist/{namespace-CHc7YF0S.d.mts → namespace-Bhx72V7S.d.mts} +2 -2
  55. package/dist/{namespace-x-gk5SmK.d.mts → namespace-BtOBQybk.d.mts} +18 -18
  56. package/dist/{namespace-B2L_hlJ0.d.mts → namespace-D5DkpaaN.d.mts} +154 -154
  57. package/dist/{package-Bz938q5F.d.mts → package-CwyC-Krg.d.mts} +1 -1
  58. package/dist/package.json +1 -1
  59. package/dist/{schemas-C_0aO9S1.d.mts → schemas--wiEYYQs.d.mts} +17 -17
  60. package/dist/{schemas-Cl7fPlRv.d.mts → schemas-B7YzDHLs.d.mts} +4 -4
  61. package/dist/{schemas-Dqro7M1d.d.mts → schemas-CD3Mq-jC.d.mts} +154 -154
  62. package/dist/{schemas-BzB6z9oX2.d.mts → schemas-DNNHiY8g2.d.mts} +7 -7
  63. package/dist/services/agent-runtime/index.d.mts +2 -2
  64. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  65. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  66. package/dist/services/context-rules/index.d.mts +3 -3
  67. package/dist/services/filesystem/namespace.d.mts +12 -12
  68. package/dist/services/filesystem/schemas.d.mts +6 -6
  69. package/dist/services/git/namespace.d.mts +2 -2
  70. package/dist/services/git/schemas.d.mts +2 -2
  71. package/dist/services/index.d.mts +103 -103
  72. package/dist/services/log-import/browser.d.mts +2 -2
  73. package/dist/services/log-import/index.d.mts +2 -2
  74. package/dist/services/log-import/log-import.d.mts +1 -1
  75. package/dist/services/log-import/namespace.d.mts +2 -2
  76. package/dist/services/log-import/schemas.d.mts +1 -1
  77. package/dist/services/preferences/index.d.mts +2 -2
  78. package/dist/services/preferences/schemas.d.mts +1 -1
  79. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  80. package/dist/services/session/index.d.mts +2 -2
  81. package/dist/services/session/messages/namespace.d.mts +1 -1
  82. package/dist/services/session/session-events/namespace.d.mts +1 -1
  83. package/dist/services/settings/namespace.d.mts +14 -14
  84. package/dist/services/subagent-template/index.d.mts +2 -2
  85. package/dist/services/subagent-template/namespace.d.mts +1 -1
  86. package/dist/services/subagent-template/schemas.d.mts +1 -1
  87. package/dist/{session-lineage-CjE3qppC.d.mts → session-lineage-BuGN3RZs.d.mts} +1 -1
  88. package/dist/{storage-namespace-B5r_ScUz.d.mts → storage-namespace-DaCB01dg.d.mts} +10 -10
  89. package/dist/{transition-BVB-sXKI.d.mts → transition-DMv8cgEd.d.mts} +1 -1
  90. package/dist/{types-Cues-R7O2.d.mts → types-7L3BrU9m2.d.mts} +1 -1
  91. package/dist/{types-CVOL6fAm.d.mts → types-Dvsn8TOX.d.mts} +338 -338
  92. package/dist/ui-kernel/index.d.mts +4 -4
  93. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  94. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  95. package/dist/{view-builder-CbZtzUZI.d.mts → view-builder-BVIbIS_J.d.mts} +2 -2
  96. package/dist/workflow-engine/index.d.mts +68 -68
  97. package/dist/workflow-engine/package.d.mts +1 -1
  98. package/package.json +1 -1
  99. package/dist/bus-ceMF9rsq.mjs +0 -9
  100. package/dist/{index-Cm3HuwMC2.d.mts → index-DqliLe_D2.d.mts} +6 -6
  101. package/dist/{schemas-CU_52YMQ.d.mts → schemas-rMUsvzeJ.d.mts} +8 -8
@@ -1,4 +1,4 @@
1
- import { A as ClientDefinitionInput, k as ClientDefinition } from "./hook-responses-CN5r7i3k.mjs";
1
+ import { A as ClientDefinitionInput, k as ClientDefinition } from "./hook-responses-B882RcQc.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";
@@ -247,6 +247,34 @@ declare const ClientSchemas: {
247
247
  promoted: z.ZodBoolean;
248
248
  }, z.core.$strip>;
249
249
  };
250
+ 'runtime.observed': z.ZodObject<{
251
+ supervisorSessionId: z.ZodOptional<z.ZodString>;
252
+ pid: z.ZodOptional<z.ZodNumber>;
253
+ parentPid: z.ZodOptional<z.ZodNumber>;
254
+ adapterSessionId: z.ZodOptional<z.ZodString>;
255
+ sessionId: z.ZodOptional<z.ZodString>;
256
+ cwd: z.ZodOptional<z.ZodString>;
257
+ argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
258
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
259
+ clientRuntimeId: z.ZodString;
260
+ clientId: z.ZodString;
261
+ status: z.ZodEnum<{
262
+ started: "started";
263
+ observed: "observed";
264
+ }>;
265
+ source: z.ZodObject<{
266
+ layer: z.ZodEnum<{
267
+ adapter: "adapter";
268
+ supervisor: "supervisor";
269
+ "client-hook": "client-hook";
270
+ statusline: "statusline";
271
+ "cli-wrapper": "cli-wrapper";
272
+ }>;
273
+ producer: z.ZodString;
274
+ }, z.core.$strip>;
275
+ observedAt: z.ZodNumber;
276
+ updatedAt: z.ZodNumber;
277
+ }, z.core.$strip>;
250
278
  'runtime.resolveBySupervisorSessionId': {
251
279
  request: z.ZodObject<{
252
280
  clientId: z.ZodString;
@@ -258,6 +286,7 @@ declare const ClientSchemas: {
258
286
  supervisorSessionId: z.ZodString;
259
287
  adapterSessionId: z.ZodOptional<z.ZodString>;
260
288
  sessionId: z.ZodOptional<z.ZodString>;
289
+ updatedAt: z.ZodNumber;
261
290
  }, z.core.$strict>>;
262
291
  }, z.core.$strict>;
263
292
  };
@@ -278,8 +307,8 @@ declare const ClientSchemas: {
278
307
  }>;
279
308
  source: z.ZodObject<{
280
309
  layer: z.ZodEnum<{
281
- supervisor: "supervisor";
282
310
  adapter: "adapter";
311
+ supervisor: "supervisor";
283
312
  "client-hook": "client-hook";
284
313
  statusline: "statusline";
285
314
  "cli-wrapper": "cli-wrapper";
@@ -521,9 +550,9 @@ declare const ClientSchemas: {
521
550
  cwd: z.ZodOptional<z.ZodString>;
522
551
  machineId: z.ZodOptional<z.ZodString>;
523
552
  startMode: z.ZodOptional<z.ZodEnum<{
524
- fork: "fork";
525
553
  fresh: "fresh";
526
554
  resume: "resume";
555
+ fork: "fork";
527
556
  clear: "clear";
528
557
  compact: "compact";
529
558
  }>>;
@@ -1325,8 +1354,8 @@ type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
1325
1354
  * - `'cli-wrapper'` — a thin CLI shim wrapping the client binary reported the signal
1326
1355
  */
1327
1356
  declare const ClientRuntimeSourceLayerSchema: z.ZodEnum<{
1328
- supervisor: "supervisor";
1329
1357
  adapter: "adapter";
1358
+ supervisor: "supervisor";
1330
1359
  "client-hook": "client-hook";
1331
1360
  statusline: "statusline";
1332
1361
  "cli-wrapper": "cli-wrapper";
@@ -1340,8 +1369,8 @@ type ClientRuntimeSourceLayer = z.infer<typeof ClientRuntimeSourceLayerSchema>;
1340
1369
  */
1341
1370
  declare const ClientRuntimeSourceSchema: z.ZodObject<{
1342
1371
  layer: z.ZodEnum<{
1343
- supervisor: "supervisor";
1344
1372
  adapter: "adapter";
1373
+ supervisor: "supervisor";
1345
1374
  "client-hook": "client-hook";
1346
1375
  statusline: "statusline";
1347
1376
  "cli-wrapper": "cli-wrapper";
@@ -1395,8 +1424,8 @@ declare const ClientRuntimeObserveSchema: {
1395
1424
  clientId: z.ZodString;
1396
1425
  source: z.ZodObject<{
1397
1426
  layer: z.ZodEnum<{
1398
- supervisor: "supervisor";
1399
1427
  adapter: "adapter";
1428
+ supervisor: "supervisor";
1400
1429
  "client-hook": "client-hook";
1401
1430
  statusline: "statusline";
1402
1431
  "cli-wrapper": "cli-wrapper";
@@ -1425,9 +1454,10 @@ type ClientRuntimeObserveResponse = z.infer<typeof ClientRuntimeObserveSchema.re
1425
1454
  /**
1426
1455
  * Request and response schemas for `client.runtime.resolveBySupervisorSessionId`.
1427
1456
  *
1428
- * Reads the correlation recorded for a supervisor session ID and client ID.
1429
- * This is not a current process liveness check and does not authorize access
1430
- * to the runtime.
1457
+ * Reads the committed registry snapshot for a supervisor session ID and client
1458
+ * ID. This is not a current process liveness check, does not authorize access
1459
+ * to the runtime, and does not imply durable storage when no storage handler
1460
+ * is available.
1431
1461
  */
1432
1462
  declare const ClientRuntimeResolveBySupervisorSessionIdSchema: {
1433
1463
  request: z.ZodObject<{
@@ -1440,11 +1470,50 @@ declare const ClientRuntimeResolveBySupervisorSessionIdSchema: {
1440
1470
  supervisorSessionId: z.ZodString;
1441
1471
  adapterSessionId: z.ZodOptional<z.ZodString>;
1442
1472
  sessionId: z.ZodOptional<z.ZodString>;
1473
+ updatedAt: z.ZodNumber;
1443
1474
  }, z.core.$strict>>;
1444
1475
  }, z.core.$strict>;
1445
1476
  };
1446
1477
  type ClientRuntimeResolveBySupervisorSessionIdRequest = z.infer<typeof ClientRuntimeResolveBySupervisorSessionIdSchema.request>;
1447
1478
  type ClientRuntimeResolveBySupervisorSessionIdResponse = z.infer<typeof ClientRuntimeResolveBySupervisorSessionIdSchema.response>;
1479
+ /**
1480
+ * Snapshot emitted after every accepted `client.runtime.observe` request.
1481
+ *
1482
+ * Each payload is a committed registry snapshot. `updatedAt` is assigned by
1483
+ * the runtime registry and orders mutations of this runtime independently of
1484
+ * the observation producer's clock. Consumers can compare snapshots from one
1485
+ * runtime without trusting `observedAt` ordering; it is not a global ordering
1486
+ * across runtimes or a durable-storage acknowledgement.
1487
+ */
1488
+ declare const ClientRuntimeObservedSchema: z.ZodObject<{
1489
+ supervisorSessionId: z.ZodOptional<z.ZodString>;
1490
+ pid: z.ZodOptional<z.ZodNumber>;
1491
+ parentPid: z.ZodOptional<z.ZodNumber>;
1492
+ adapterSessionId: z.ZodOptional<z.ZodString>;
1493
+ sessionId: z.ZodOptional<z.ZodString>;
1494
+ cwd: z.ZodOptional<z.ZodString>;
1495
+ argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1496
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1497
+ clientRuntimeId: z.ZodString;
1498
+ clientId: z.ZodString;
1499
+ status: z.ZodEnum<{
1500
+ started: "started";
1501
+ observed: "observed";
1502
+ }>;
1503
+ source: z.ZodObject<{
1504
+ layer: z.ZodEnum<{
1505
+ adapter: "adapter";
1506
+ supervisor: "supervisor";
1507
+ "client-hook": "client-hook";
1508
+ statusline: "statusline";
1509
+ "cli-wrapper": "cli-wrapper";
1510
+ }>;
1511
+ producer: z.ZodString;
1512
+ }, z.core.$strip>;
1513
+ observedAt: z.ZodNumber;
1514
+ updatedAt: z.ZodNumber;
1515
+ }, z.core.$strip>;
1516
+ type ClientRuntimeObserved = z.infer<typeof ClientRuntimeObservedSchema>;
1448
1517
  /**
1449
1518
  * Payload for `client.runtime.started`.
1450
1519
  *
@@ -1472,8 +1541,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1472
1541
  }>;
1473
1542
  source: z.ZodObject<{
1474
1543
  layer: z.ZodEnum<{
1475
- supervisor: "supervisor";
1476
1544
  adapter: "adapter";
1545
+ supervisor: "supervisor";
1477
1546
  "client-hook": "client-hook";
1478
1547
  statusline: "statusline";
1479
1548
  "cli-wrapper": "cli-wrapper";
@@ -1571,9 +1640,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1571
1640
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1572
1641
  /** Zod schema for the client-reported session start mode. */
1573
1642
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1574
- fork: "fork";
1575
1643
  fresh: "fresh";
1576
1644
  resume: "resume";
1645
+ fork: "fork";
1577
1646
  clear: "clear";
1578
1647
  compact: "compact";
1579
1648
  }>;
@@ -1590,9 +1659,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1590
1659
  cwd: z.ZodOptional<z.ZodString>;
1591
1660
  machineId: z.ZodOptional<z.ZodString>;
1592
1661
  startMode: z.ZodOptional<z.ZodEnum<{
1593
- fork: "fork";
1594
1662
  fresh: "fresh";
1595
1663
  resume: "resume";
1664
+ fork: "fork";
1596
1665
  clear: "clear";
1597
1666
  compact: "compact";
1598
1667
  }>>;
@@ -1930,9 +1999,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1930
1999
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1931
2000
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1932
2001
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2002
+ empty: "empty";
1933
2003
  "auth-only": "auth-only";
1934
2004
  full: "full";
1935
- empty: "empty";
1936
2005
  }>>;
1937
2006
  }, _$zod_v4_core0.$strip>;
1938
2007
  response: _$zod.ZodObject<{
@@ -2063,8 +2132,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2063
2132
  clientId: _$zod.ZodString;
2064
2133
  source: _$zod.ZodObject<{
2065
2134
  layer: _$zod.ZodEnum<{
2066
- supervisor: "supervisor";
2067
2135
  adapter: "adapter";
2136
+ supervisor: "supervisor";
2068
2137
  "client-hook": "client-hook";
2069
2138
  statusline: "statusline";
2070
2139
  "cli-wrapper": "cli-wrapper";
@@ -2088,6 +2157,34 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2088
2157
  promoted: _$zod.ZodBoolean;
2089
2158
  }, _$zod_v4_core0.$strip>;
2090
2159
  };
2160
+ 'runtime.observed': _$zod.ZodObject<{
2161
+ supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2162
+ pid: _$zod.ZodOptional<_$zod.ZodNumber>;
2163
+ parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
2164
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2165
+ sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2166
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
2167
+ argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2168
+ metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
2169
+ clientRuntimeId: _$zod.ZodString;
2170
+ clientId: _$zod.ZodString;
2171
+ status: _$zod.ZodEnum<{
2172
+ started: "started";
2173
+ observed: "observed";
2174
+ }>;
2175
+ source: _$zod.ZodObject<{
2176
+ layer: _$zod.ZodEnum<{
2177
+ adapter: "adapter";
2178
+ supervisor: "supervisor";
2179
+ "client-hook": "client-hook";
2180
+ statusline: "statusline";
2181
+ "cli-wrapper": "cli-wrapper";
2182
+ }>;
2183
+ producer: _$zod.ZodString;
2184
+ }, _$zod_v4_core0.$strip>;
2185
+ observedAt: _$zod.ZodNumber;
2186
+ updatedAt: _$zod.ZodNumber;
2187
+ }, _$zod_v4_core0.$strip>;
2091
2188
  'runtime.resolveBySupervisorSessionId': {
2092
2189
  request: _$zod.ZodObject<{
2093
2190
  clientId: _$zod.ZodString;
@@ -2099,6 +2196,7 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2099
2196
  supervisorSessionId: _$zod.ZodString;
2100
2197
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2101
2198
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2199
+ updatedAt: _$zod.ZodNumber;
2102
2200
  }, _$zod_v4_core0.$strict>>;
2103
2201
  }, _$zod_v4_core0.$strict>;
2104
2202
  };
@@ -2119,8 +2217,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2119
2217
  }>;
2120
2218
  source: _$zod.ZodObject<{
2121
2219
  layer: _$zod.ZodEnum<{
2122
- supervisor: "supervisor";
2123
2220
  adapter: "adapter";
2221
+ supervisor: "supervisor";
2124
2222
  "client-hook": "client-hook";
2125
2223
  statusline: "statusline";
2126
2224
  "cli-wrapper": "cli-wrapper";
@@ -2346,9 +2444,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2346
2444
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2347
2445
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2348
2446
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2349
- fork: "fork";
2350
2447
  fresh: "fresh";
2351
2448
  resume: "resume";
2449
+ fork: "fork";
2352
2450
  clear: "clear";
2353
2451
  compact: "compact";
2354
2452
  }>>;
@@ -2631,9 +2729,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2631
2729
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2632
2730
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2633
2731
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2732
+ empty: "empty";
2634
2733
  "auth-only": "auth-only";
2635
2734
  full: "full";
2636
- empty: "empty";
2637
2735
  }>>;
2638
2736
  }, _$zod_v4_core0.$strip>;
2639
2737
  response: _$zod.ZodObject<{
@@ -2764,8 +2862,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2764
2862
  clientId: _$zod.ZodString;
2765
2863
  source: _$zod.ZodObject<{
2766
2864
  layer: _$zod.ZodEnum<{
2767
- supervisor: "supervisor";
2768
2865
  adapter: "adapter";
2866
+ supervisor: "supervisor";
2769
2867
  "client-hook": "client-hook";
2770
2868
  statusline: "statusline";
2771
2869
  "cli-wrapper": "cli-wrapper";
@@ -2789,6 +2887,34 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2789
2887
  promoted: _$zod.ZodBoolean;
2790
2888
  }, _$zod_v4_core0.$strip>;
2791
2889
  };
2890
+ 'runtime.observed': _$zod.ZodObject<{
2891
+ supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2892
+ pid: _$zod.ZodOptional<_$zod.ZodNumber>;
2893
+ parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
2894
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2895
+ sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2896
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
2897
+ argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2898
+ metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
2899
+ clientRuntimeId: _$zod.ZodString;
2900
+ clientId: _$zod.ZodString;
2901
+ status: _$zod.ZodEnum<{
2902
+ started: "started";
2903
+ observed: "observed";
2904
+ }>;
2905
+ source: _$zod.ZodObject<{
2906
+ layer: _$zod.ZodEnum<{
2907
+ adapter: "adapter";
2908
+ supervisor: "supervisor";
2909
+ "client-hook": "client-hook";
2910
+ statusline: "statusline";
2911
+ "cli-wrapper": "cli-wrapper";
2912
+ }>;
2913
+ producer: _$zod.ZodString;
2914
+ }, _$zod_v4_core0.$strip>;
2915
+ observedAt: _$zod.ZodNumber;
2916
+ updatedAt: _$zod.ZodNumber;
2917
+ }, _$zod_v4_core0.$strip>;
2792
2918
  'runtime.resolveBySupervisorSessionId': {
2793
2919
  request: _$zod.ZodObject<{
2794
2920
  clientId: _$zod.ZodString;
@@ -2800,6 +2926,7 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2800
2926
  supervisorSessionId: _$zod.ZodString;
2801
2927
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2802
2928
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2929
+ updatedAt: _$zod.ZodNumber;
2803
2930
  }, _$zod_v4_core0.$strict>>;
2804
2931
  }, _$zod_v4_core0.$strict>;
2805
2932
  };
@@ -2820,8 +2947,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2820
2947
  }>;
2821
2948
  source: _$zod.ZodObject<{
2822
2949
  layer: _$zod.ZodEnum<{
2823
- supervisor: "supervisor";
2824
2950
  adapter: "adapter";
2951
+ supervisor: "supervisor";
2825
2952
  "client-hook": "client-hook";
2826
2953
  statusline: "statusline";
2827
2954
  "cli-wrapper": "cli-wrapper";
@@ -3047,9 +3174,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3047
3174
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3048
3175
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
3049
3176
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
3050
- fork: "fork";
3051
3177
  fresh: "fresh";
3052
3178
  resume: "resume";
3179
+ fork: "fork";
3053
3180
  clear: "clear";
3054
3181
  compact: "compact";
3055
3182
  }>>;
@@ -3355,9 +3482,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
3355
3482
  * Policy for materializing a session config directory from a base client config.
3356
3483
  */
3357
3484
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
3485
+ empty: "empty";
3358
3486
  "auth-only": "auth-only";
3359
3487
  full: "full";
3360
- empty: "empty";
3361
3488
  }>;
3362
3489
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
3363
3490
  /**
@@ -3513,9 +3640,9 @@ declare const ClientSessionConfigSchemas: {
3513
3640
  baseConfigDir: z.ZodOptional<z.ZodString>;
3514
3641
  projectDir: z.ZodOptional<z.ZodString>;
3515
3642
  configInheritance: z.ZodOptional<z.ZodEnum<{
3643
+ empty: "empty";
3516
3644
  "auth-only": "auth-only";
3517
3645
  full: "full";
3518
- empty: "empty";
3519
3646
  }>>;
3520
3647
  }, z.core.$strip>;
3521
3648
  response: z.ZodObject<{
@@ -3569,9 +3696,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3569
3696
  win32: "win32";
3570
3697
  }>;
3571
3698
  configInheritance: z.ZodEnum<{
3699
+ empty: "empty";
3572
3700
  "auth-only": "auth-only";
3573
3701
  full: "full";
3574
- empty: "empty";
3575
3702
  }>;
3576
3703
  }, z.core.$strip>;
3577
3704
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
@@ -3679,4 +3806,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
3679
3806
  type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
3680
3807
  type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
3681
3808
  //#endregion
3682
- export { ClientSessionCompactionPreSchema as $, ClientResolveBinaryRequest as $n, ClientSetActiveRequest as $t, SessionConfigInheritance as A, ClientIdentityObservationSchema as An, ClientRuntimeObserveResponse as At, SessionConfigTeardownResponseSchema as B, ClientSessionLocatorSchema as Bn, ClientRuntimeStartedSchema as Bt, SessionConfigCleanupRequest as C, ClientAccountIdentifierSchema as Cn, ClientWiringEntrySchema as Ct, SessionConfigDestroyRequest as D, ClientIdentifierStrength as Dn, ClientRuntimeIsAdapterManagedResponse as Dt, SessionConfigCreateResponse as E, ClientAccountObserveSchema as En, ClientRuntimeIsAdapterManagedRequest as Et, SessionConfigSetupResponse as F, ClientScanTargetSchema as Fn, ClientRuntimeSource as Ft, ClientSessionTokenGetRequestSchema as G, ClientUsageSnapshotSchema as Gn, ClientInstallProgress as Gt, ClientNamespace as H, ClientUsageIngestResponse as Hn, ClientBinaryListEntrySchema as Ht, SessionConfigSetupResponseSchema as I, ClientSessionAccountObserveRequest as In, ClientRuntimeSourceLayer as It, ClientSessionTokenScope as J, ClientUsageWindows as Jn, ClientInstallResponse as Jt, ClientSessionTokenGetResponse as K, ClientUsageWindow as Kn, ClientInstallProgressSchema as Kt, SessionConfigTeardownRequest as L, ClientSessionAccountObserveResponse as Ln, ClientRuntimeSourceLayerSchema as Lt, SessionConfigLeaseIdSchema as M, ClientScanResult as Mn, ClientRuntimeResolveBySupervisorSessionIdRequest as Mt, SessionConfigSetupRequest as N, ClientScanResultSchema as Nn, ClientRuntimeResolveBySupervisorSessionIdResponse as Nt, SessionConfigDestroyResponse as O, ClientIdentifierStrengthSchema as On, ClientRuntimeIsAdapterManagedSchema as Ot, SessionConfigSetupRequestSchema as P, ClientScanTarget as Pn, ClientRuntimeResolveBySupervisorSessionIdSchema as Pt, ClientSessionCompactionPre as Q, ClientExecutionContextSchema as Qn, ClientListSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientSessionAccountObserveSchema as Rn, ClientRuntimeSourceSchema as Rt, ProfileUpdateResponse as S, ClientAccountIdentifier as Sn, ClientWiringEntry as St, SessionConfigCreateRequest as T, ClientAccountObserveResponse as Tn, ClientRuntimeEvidenceBaseSchema as Tt, ClientSubjects as U, ClientUsageIngestSchema as Un, ClientInstallCompleted as Ut, createClientDefinition as V, ClientUsageIngestRequest as Vn, ClientBinaryListEntry as Vt, ClientSessionTokenGetRequest as W, ClientUsageSnapshot as Wn, ClientInstallCompletedSchema as Wt, CLIENT_SESSION_COMPACTION_TRIGGERS as X, ClientSchemas as Xn, ClientListRequest as Xt, ClientSessionTokenScopeSchema as Y, ClientUsageWindowsSchema as Yn, ClientInstallSchema as Yt, CLIENT_SESSION_START_MODES as Z, ClientExecutionContext as Zn, ClientListResponse as Zt, ProfileListRequest as _, ManagedInstallStrategySchema as _n, ClientSessionTurnCompletedSchema as _t, ClientConfigPrimeSchema as a, ClientUpdateRequest as an, ClientSessionStartModeSchema as at, ProfileSetDefaultResponse as b, ClientSessionUsageSnapshot as bn, ClientSessionUserPromptSubmitted as bt, ClientProfileSchema as c, ClientVersionChanged as cn, ClientSessionSubagentCompleted as ct, ProfileCreateRequest as d, InstallErrorSchema as dn, ClientSessionSubagentStartedSchema as dt, ClientSetActiveResponse as en, ClientResolveBinaryResponse as er, ClientSessionCompactionTrigger as et, ProfileCreateResponse as f, InstallStage as fn, ClientSessionToolPost as ft, ProfileGetResponse as g, ManagedInstallStrategy as gn, ClientSessionTurnCompleted as gt, ProfileGetRequest as h, InstalledVersionEntrySchema as hn, ClientSessionToolPreSchema as ht, ClientConfigPrimeResponse as i, ClientUninstallSchema as in, ClientSessionStartMode as it, SessionConfigInheritanceSchema as j, ClientMetadataSchema as jn, ClientRuntimeObserveSchema as jt, SessionConfigEnvSchema as k, ClientIdentityObservation as kn, ClientRuntimeObserveRequest as kt, ClientProfileSchemas as l, ClientVersionChangedSchema as ln, ClientSessionSubagentCompletedSchema as lt, ProfileDeleteResponse as m, InstalledVersionEntry as mn, ClientSessionToolPre as mt, ClientConfigPrimePhaseSchema as n, ClientUninstallRequest as nn, ClientSessionObservedBase as nt, ClientProfile as o, ClientUpdateResponse as on, ClientSessionStarted as ot, ProfileDeleteRequest as p, InstallStageSchema as pn, ClientSessionToolPostSchema as pt, ClientSessionTokenGetResponseSchema as q, ClientUsageWindowSchema as qn, ClientInstallRequest as qt, ClientConfigPrimeRequest as r, ClientUninstallResponse as rn, ClientSessionObservedBaseSchema as rt, ClientProfileNameSchema as s, ClientUpdateSchema as sn, ClientSessionStartedSchema as st, ClientConfigPrimePhase as t, ClientSetActiveSchema as tn, ClientResolveBinarySchema as tr, ClientSessionCompactionTriggerSchema as tt, ClientSessionConfigSchemas as u, InstallError as un, ClientSessionSubagentStarted as ut, ProfileListResponse as v, ClientSessionUsageCostProvenance as vn, ClientSessionTurnStarted as vt, SessionConfigCleanupResponse as w, ClientAccountObserveRequest as wn, ClientRuntimeEvidenceBase as wt, ProfileUpdateRequest as x, ClientSessionUsageSnapshotSchema as xn, ClientSessionUserPromptSubmittedSchema as xt, ProfileSetDefaultRequest as y, ClientSessionUsageCostProvenanceSchema as yn, ClientSessionTurnStartedSchema as yt, SessionConfigTeardownResponse as z, ClientSessionLocator as zn, ClientRuntimeStarted as zt };
3809
+ export { ClientSessionCompactionPreSchema as $, ClientExecutionContext as $n, ClientListResponse as $t, SessionConfigInheritance as A, ClientIdentifierStrengthSchema as An, ClientRuntimeObserveResponse as At, SessionConfigTeardownResponseSchema as B, ClientSessionAccountObserveSchema as Bn, ClientRuntimeSourceSchema as Bt, SessionConfigCleanupRequest as C, ClientSessionUsageSnapshotSchema as Cn, ClientWiringEntrySchema as Ct, SessionConfigDestroyRequest as D, ClientAccountObserveResponse as Dn, ClientRuntimeIsAdapterManagedResponse as Dt, SessionConfigCreateResponse as E, ClientAccountObserveRequest as En, ClientRuntimeIsAdapterManagedRequest as Et, SessionConfigSetupResponse as F, ClientScanResultSchema as Fn, ClientRuntimeResolveBySupervisorSessionIdResponse as Ft, ClientSessionTokenGetRequestSchema as G, ClientUsageIngestSchema as Gn, ClientInstallCompleted as Gt, ClientNamespace as H, ClientSessionLocatorSchema as Hn, ClientRuntimeStartedSchema as Ht, SessionConfigSetupResponseSchema as I, ClientScanTarget as In, ClientRuntimeResolveBySupervisorSessionIdSchema as It, ClientSessionTokenScope as J, ClientUsageWindow as Jn, ClientInstallProgressSchema as Jt, ClientSessionTokenGetResponse as K, ClientUsageSnapshot as Kn, ClientInstallCompletedSchema as Kt, SessionConfigTeardownRequest as L, ClientScanTargetSchema as Ln, ClientRuntimeSource as Lt, SessionConfigLeaseIdSchema as M, ClientIdentityObservationSchema as Mn, ClientRuntimeObserved as Mt, SessionConfigSetupRequest as N, ClientMetadataSchema as Nn, ClientRuntimeObservedSchema as Nt, SessionConfigDestroyResponse as O, ClientAccountObserveSchema as On, ClientRuntimeIsAdapterManagedSchema as Ot, SessionConfigSetupRequestSchema as P, ClientScanResult as Pn, ClientRuntimeResolveBySupervisorSessionIdRequest as Pt, ClientSessionCompactionPre as Q, ClientSchemas as Qn, ClientListRequest as Qt, SessionConfigTeardownRequestSchema as R, ClientSessionAccountObserveRequest as Rn, ClientRuntimeSourceLayer as Rt, ProfileUpdateResponse as S, ClientSessionUsageSnapshot as Sn, ClientWiringEntry as St, SessionConfigCreateRequest as T, ClientAccountIdentifierSchema as Tn, ClientRuntimeEvidenceBaseSchema as Tt, ClientSubjects as U, ClientUsageIngestRequest as Un, ClientBinaryListEntry as Ut, createClientDefinition as V, ClientSessionLocator as Vn, ClientRuntimeStarted as Vt, ClientSessionTokenGetRequest as W, ClientUsageIngestResponse as Wn, ClientBinaryListEntrySchema as Wt, CLIENT_SESSION_COMPACTION_TRIGGERS as X, ClientUsageWindows as Xn, ClientInstallResponse as Xt, ClientSessionTokenScopeSchema as Y, ClientUsageWindowSchema as Yn, ClientInstallRequest as Yt, CLIENT_SESSION_START_MODES as Z, ClientUsageWindowsSchema as Zn, ClientInstallSchema as Zt, ProfileListRequest as _, InstalledVersionEntrySchema as _n, ClientSessionTurnCompletedSchema as _t, ClientConfigPrimeSchema as a, ClientUninstallResponse as an, ClientSessionStartModeSchema as at, ProfileSetDefaultResponse as b, ClientSessionUsageCostProvenance as bn, ClientSessionUserPromptSubmitted as bt, ClientProfileSchema as c, ClientUpdateResponse as cn, ClientSessionSubagentCompleted as ct, ProfileCreateRequest as d, ClientVersionChangedSchema as dn, ClientSessionSubagentStartedSchema as dt, ClientListSchema as en, ClientExecutionContextSchema as er, ClientSessionCompactionTrigger as et, ProfileCreateResponse as f, InstallError as fn, ClientSessionToolPost as ft, ProfileGetResponse as g, InstalledVersionEntry as gn, ClientSessionTurnCompleted as gt, ProfileGetRequest as h, InstallStageSchema as hn, ClientSessionToolPreSchema as ht, ClientConfigPrimeResponse as i, ClientUninstallRequest as in, ClientSessionStartMode as it, SessionConfigInheritanceSchema as j, ClientIdentityObservation as jn, ClientRuntimeObserveSchema as jt, SessionConfigEnvSchema as k, ClientIdentifierStrength as kn, ClientRuntimeObserveRequest as kt, ClientProfileSchemas as l, ClientUpdateSchema as ln, ClientSessionSubagentCompletedSchema as lt, ProfileDeleteResponse as m, InstallStage as mn, ClientSessionToolPre as mt, ClientConfigPrimePhaseSchema as n, ClientSetActiveResponse as nn, ClientResolveBinaryResponse as nr, ClientSessionObservedBase as nt, ClientProfile as o, ClientUninstallSchema as on, ClientSessionStarted as ot, ProfileDeleteRequest as p, InstallErrorSchema as pn, ClientSessionToolPostSchema as pt, ClientSessionTokenGetResponseSchema as q, ClientUsageSnapshotSchema as qn, ClientInstallProgress as qt, ClientConfigPrimeRequest as r, ClientSetActiveSchema as rn, ClientResolveBinarySchema as rr, ClientSessionObservedBaseSchema as rt, ClientProfileNameSchema as s, ClientUpdateRequest as sn, ClientSessionStartedSchema as st, ClientConfigPrimePhase as t, ClientSetActiveRequest as tn, ClientResolveBinaryRequest as tr, ClientSessionCompactionTriggerSchema as tt, ClientSessionConfigSchemas as u, ClientVersionChanged as un, ClientSessionSubagentStarted as ut, ProfileListResponse as v, ManagedInstallStrategy as vn, ClientSessionTurnStarted as vt, SessionConfigCleanupResponse as w, ClientAccountIdentifier as wn, ClientRuntimeEvidenceBase as wt, ProfileUpdateRequest as x, ClientSessionUsageCostProvenanceSchema as xn, ClientSessionUserPromptSubmittedSchema as xt, ProfileSetDefaultRequest as y, ManagedInstallStrategySchema as yn, ClientSessionTurnStartedSchema as yt, SessionConfigTeardownResponse as z, ClientSessionAccountObserveResponse as zn, ClientRuntimeSourceLayerSchema as zt };
@@ -1,4 +1,4 @@
1
- import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-C2qColIL.mjs";
1
+ import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-pQ7Uio_s.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4