@makaio/framework 1.0.0-dev-1783282710723 → 1.0.0-dev-1783439621927

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 (194) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-Lx6K7yQS.mjs +1 -0
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/index.d.mts +229 -41
  6. package/dist/adapters/index.mjs +6 -6
  7. package/dist/adapters/node.d.mts +1 -1
  8. package/dist/adapters/node.mjs +1 -1
  9. package/dist/{base-orchestrator-Cw0vpNgB.d.mts → base-orchestrator-ODRyDBzu.d.mts} +79 -3
  10. package/dist/bus/index.mjs +1 -1
  11. package/dist/client-n0OJiTt1.mjs +1 -0
  12. package/dist/contracts/adapter/index.d.mts +2 -2
  13. package/dist/contracts/adapter/index.mjs +1 -1
  14. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  15. package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -1
  16. package/dist/contracts/artifact/index.d.mts +1 -1
  17. package/dist/contracts/client/index.d.mts +2 -2
  18. package/dist/contracts/client/index.mjs +1 -1
  19. package/dist/contracts/config/index.d.mts +6 -6
  20. package/dist/contracts/extension/index.d.mts +2 -2
  21. package/dist/contracts/facet/index.d.mts +1 -1
  22. package/dist/contracts/harness/index.d.mts +1 -1
  23. package/dist/contracts/index.d.mts +375 -197
  24. package/dist/contracts/index.mjs +1 -1
  25. package/dist/contracts/materialization/index.d.mts +3 -3
  26. package/dist/contracts/provider/index.d.mts +1 -1
  27. package/dist/contracts/session/index.d.mts +3 -3
  28. package/dist/contracts/session/index.mjs +1 -1
  29. package/dist/contracts/variant/index.d.mts +1 -1
  30. package/dist/contracts/workflow/index.d.mts +2 -2
  31. package/dist/contracts/workflow/index.mjs +1 -1
  32. package/dist/{definition-DFcxkf2i.d.mts → definition-DpkfJi8v.d.mts} +1 -1
  33. package/dist/drizzle/0021_m_mr8e1j84.sql +3 -0
  34. package/dist/drizzle/0022_m_mr8i4ky3.sql +43 -0
  35. package/dist/drizzle/0023_m_mr9gc37m.sql +1 -0
  36. package/dist/drizzle/meta/_journal.json +21 -0
  37. package/dist/{handler-2bPhRn0u.mjs → handler-BFNvtv5t.mjs} +1 -1
  38. package/dist/handlers-B74FvKlA.mjs +57 -0
  39. package/dist/hooks/index.d.mts +27 -2
  40. package/dist/hooks/index.mjs +1 -1
  41. package/dist/{identity-BarL3JYI.mjs → identity-DC3Pk0ps.mjs} +1 -1
  42. package/dist/{index-4eP9DRL_.d.mts → index-B3fjN5HX.d.mts} +7 -7
  43. package/dist/{index-Bh6lHiW4.d.mts → index-B5Uczo3R.d.mts} +40 -40
  44. package/dist/{index-CL2T6LVv.d.mts → index-BIZeIA5k.d.mts} +8 -8
  45. package/dist/{index-gAFwNiJT.d.mts → index-BvTd61i5.d.mts} +212 -26
  46. package/dist/{index-Y2r0Zvcm.d.mts → index-BvjLe_w9.d.mts} +12 -12
  47. package/dist/{index-2fK9iSHI.d.mts → index-BwGfdbI0.d.mts} +9 -9
  48. package/dist/{index-CaOWqztb.d.mts → index-C8k2f_E0.d.mts} +1 -1
  49. package/dist/{index-DEzdNQum.d.mts → index-CYHWOXUm.d.mts} +1 -1
  50. package/dist/{index-9b2_jXxq.d.mts → index-CwHP8Jxs.d.mts} +514 -96
  51. package/dist/{index-D6aAzr32.d.mts → index-Cyi7y_aG.d.mts} +20 -20
  52. package/dist/{index-DdBRlm7m.d.mts → index-D7Fu3375.d.mts} +401 -21
  53. package/dist/{index-CfIW5biI.d.mts → index-D7rWAEY0.d.mts} +1 -0
  54. package/dist/{index-CTEsbp9H.d.mts → index-DFK3tpEY.d.mts} +83 -5
  55. package/dist/{index-Dg-y1mrq.d.mts → index-DS6kxiFl.d.mts} +28 -28
  56. package/dist/{index-BMbmoarE.d.mts → index-DTBQOCar.d.mts} +16 -16
  57. package/dist/{index-GD-i3DW7.d.mts → index-DmJ-OpTD.d.mts} +1275 -224
  58. package/dist/{index-DLy-tc0L.d.mts → index-Dtb2cVJz.d.mts} +260 -47
  59. package/dist/{index-D9-vOJvZ.d.mts → index-h5go5Dtd.d.mts} +1 -1
  60. package/dist/kernel/extension/index.d.mts +1 -1
  61. package/dist/kernel/index.d.mts +2 -2
  62. package/dist/kernel/observability/index.d.mts +1 -1
  63. package/dist/{lib-Ba55od_d.mjs → lib-BOmKyjWD.mjs} +1 -1
  64. package/dist/{lib-CM_BUxN8.mjs → lib-DLZYp5z3.mjs} +1 -1
  65. package/dist/{loop-gate-handlers-BLoGCWMQ.mjs → loop-gate-handlers-Bjmat-K3.mjs} +1 -1
  66. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
  67. package/dist/{namespace-CfvtDD_U.d.mts → namespace-BLER-Qom.d.mts} +2 -2
  68. package/dist/{namespace-B3ol3pc-.d.mts → namespace-BigVYQyx.d.mts} +12 -0
  69. package/dist/{namespace-j7vFsmYL.d.mts → namespace-C74bbsdZ.d.mts} +2 -2
  70. package/dist/{namespace-B4cV_pk3.d.mts → namespace-CGxFYDlK.d.mts} +32 -32
  71. package/dist/{namespace-LUNf8zo5.d.mts → namespace-D1_9WVCo.d.mts} +157 -0
  72. package/dist/{namespace-KMxsPJwm.d.mts → namespace-D4Uf5Mw_.d.mts} +432 -18
  73. package/dist/{namespace-BsYKEMd8.d.mts → namespace-DAj_riOn.d.mts} +138 -0
  74. package/dist/{namespace-DXW-voCe.d.mts → namespace-DRXQyBe0.d.mts} +204 -24
  75. package/dist/{namespace-DGAWYjbO.d.mts → namespace-JFzrlNs4.d.mts} +27 -27
  76. package/dist/namespace-dFBD2ZmS.mjs +1 -0
  77. package/dist/node/transports/index.mjs +1 -1
  78. package/dist/orchestrator-shared-ChygCvR1.mjs +1 -0
  79. package/dist/{orchestrator-shared-ChOdIgh6.d.mts → orchestrator-shared-DFLb1otg.d.mts} +9 -3
  80. package/dist/{package-MmQvNJ3u.d.mts → package-B6mEMD8r.d.mts} +5 -0
  81. package/dist/package-BQn_RTo7.mjs +1 -0
  82. package/dist/package.json +1 -1
  83. package/dist/runtime-node/index.mjs +1 -1
  84. package/dist/schema-7aKBGB7S.mjs +1 -0
  85. package/dist/{schema-D1HrnvT7.d.mts → schema-B9goOieO.d.mts} +50 -1
  86. package/dist/{schema-DHlTAy0N.mjs → schema-CHp6I33k.mjs} +1 -1
  87. package/dist/{schemas-D-9zNyAM2.d.mts → schemas-9S9Y9PHT2.d.mts} +7 -7
  88. package/dist/{schemas-CoFCV42v.d.mts → schemas-B_t6oOK-.d.mts} +2 -2
  89. package/dist/{schemas-lnE9YoG7.d.mts → schemas-CW6YsPT4.d.mts} +3 -3
  90. package/dist/schemas-CkOigLAT.mjs +1 -0
  91. package/dist/{schemas-BemsLc_V.d.mts → schemas-CurUbHy4.d.mts} +4 -4
  92. package/dist/{schemas-DMCGXlKa.d.mts → schemas-DXeGCbJ9.d.mts} +4 -4
  93. package/dist/schemas-DZGnr9Tl.mjs +1 -0
  94. package/dist/{schemas-DWfo0wp4.d.mts → schemas-DnmbwE_V.d.mts} +7 -7
  95. package/dist/{schemas-DmGRSeIq.d.mts → schemas-t6h9oSct.d.mts} +28 -1
  96. package/dist/services/adapter-runtime/index.d.mts +4 -4
  97. package/dist/services/adapter-runtime/index.mjs +1 -1
  98. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  99. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  100. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  101. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  102. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  103. package/dist/services/agent-runtime/index.d.mts +2 -2
  104. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  105. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  106. package/dist/services/context-rules/index.d.mts +3 -3
  107. package/dist/services/filesystem/namespace.d.mts +6 -6
  108. package/dist/services/filesystem/schemas.d.mts +3 -3
  109. package/dist/services/git/namespace.d.mts +2 -2
  110. package/dist/services/git/schemas.d.mts +2 -2
  111. package/dist/services/harness/index.d.mts +4 -4
  112. package/dist/services/harness/index.mjs +1 -1
  113. package/dist/services/index.d.mts +129 -53
  114. package/dist/services/index.mjs +1 -1
  115. package/dist/services/log-import/browser.d.mts +2 -2
  116. package/dist/services/log-import/index.d.mts +86 -6
  117. package/dist/services/log-import/index.mjs +2 -2
  118. package/dist/services/log-import/log-import.d.mts +1 -1
  119. package/dist/services/log-import/log-import.mjs +1 -1
  120. package/dist/services/log-import/namespace.d.mts +54 -0
  121. package/dist/services/log-import/namespace.mjs +1 -1
  122. package/dist/services/log-import/schemas.d.mts +44 -0
  123. package/dist/services/log-import/schemas.mjs +1 -1
  124. package/dist/services/preferences/index.d.mts +2 -2
  125. package/dist/services/preferences/schemas.d.mts +1 -1
  126. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  127. package/dist/services/session/handlers/index.d.mts +1 -1
  128. package/dist/services/session/handlers/index.mjs +1 -1
  129. package/dist/services/session/index.d.mts +9 -9
  130. package/dist/services/session/index.mjs +1 -1
  131. package/dist/services/session/messages/namespace.d.mts +1 -1
  132. package/dist/services/session/messages/namespace.mjs +1 -1
  133. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  134. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  135. package/dist/services/session/session-events/namespace.d.mts +1 -1
  136. package/dist/services/session/session-events/namespace.mjs +1 -1
  137. package/dist/services/session/storage/namespace.d.mts +1 -1
  138. package/dist/services/session/storage/schema.d.mts +1 -1
  139. package/dist/services/session/storage/schema.mjs +1 -1
  140. package/dist/services/session/testing/index.mjs +10 -4
  141. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  142. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  143. package/dist/services/session/turns/namespace.d.mts +1 -1
  144. package/dist/services/session/turns/namespace.mjs +1 -1
  145. package/dist/services/session-editor/index.d.mts +1 -1
  146. package/dist/services/settings/namespace.d.mts +7 -7
  147. package/dist/services/subagent-template/index.d.mts +2 -2
  148. package/dist/services/subagent-template/namespace.d.mts +1 -1
  149. package/dist/services/subagent-template/schemas.d.mts +1 -1
  150. package/dist/services/tool-approval/index.mjs +1 -1
  151. package/dist/services/tools/index.mjs +1 -1
  152. package/dist/services/tray-menu/index.d.mts +2 -2
  153. package/dist/services/tray-menu/namespace.d.mts +1 -1
  154. package/dist/services/tray-menu/schemas.d.mts +1 -1
  155. package/dist/services/turn/index.d.mts +1 -1
  156. package/dist/services/turn/namespace.d.mts +1 -1
  157. package/dist/services/turn/schemas.d.mts +89 -0
  158. package/dist/services/turn/schemas.mjs +1 -1
  159. package/dist/session-CZUrp7gC.mjs +69 -0
  160. package/dist/session-Dp7z5N1d.mjs +1 -0
  161. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-C1M7-O3C.d.mts} +3 -3
  162. package/dist/storage/drizzle/index.d.mts +1 -1
  163. package/dist/storage/drizzle/index.mjs +1 -1
  164. package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-BvRF22by.d.mts} +10 -10
  165. package/dist/{tool-approval-service-DEQiipxj.mjs → tool-approval-service-BIbUSuqg.mjs} +1 -1
  166. package/dist/tools-Yz8XyiwA.mjs +1 -0
  167. package/dist/{transition-DnXibkhX.d.mts → transition-DYorNHZu.d.mts} +1 -1
  168. package/dist/{types-Dur8EtpR.d.mts → types-9XCB1aPK.d.mts} +562 -107
  169. package/dist/{types-BMS6yfLS.d.mts → types-BNW5n6qm.d.mts} +1 -1
  170. package/dist/{types-BslClRkH.d.mts → types-BWduCvRU.d.mts} +22 -1
  171. package/dist/{types-Cse8s_cD.d.mts → types-N_BOtTqt.d.mts} +29 -18
  172. package/dist/ui-components/index.mjs +1 -1
  173. package/dist/ui-kernel/index.d.mts +4 -4
  174. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  175. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  176. package/dist/{workflow-BqH6ar-D.mjs → workflow-C1z7I5CI.mjs} +1 -1
  177. package/dist/workflow-engine/index.d.mts +45 -45
  178. package/dist/workflow-engine/index.mjs +1 -1
  179. package/dist/workflow-engine/package.d.mts +1 -1
  180. package/dist/workflow-engine/package.mjs +1 -1
  181. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  182. package/package.json +1 -1
  183. package/dist/adapter-DaQqmKOJ.mjs +0 -1
  184. package/dist/client-BcfR-LJC.mjs +0 -1
  185. package/dist/handlers-BAycjV02.mjs +0 -41
  186. package/dist/namespace-C-piH3w4.mjs +0 -1
  187. package/dist/orchestrator-shared-Cxk3x8Vs.mjs +0 -1
  188. package/dist/package-B1AXe-oz.mjs +0 -1
  189. package/dist/schema-D6WAI8OL.mjs +0 -1
  190. package/dist/schemas-ArqQTC0Q.mjs +0 -1
  191. package/dist/schemas-uID59wR8.mjs +0 -1
  192. package/dist/session-0nWT4st6.mjs +0 -39
  193. package/dist/session-DH-ja8Ka.mjs +0 -1
  194. package/dist/tools-DFOsOboy.mjs +0 -1
@@ -61,6 +61,7 @@ declare const LogImporterInfoSchema: z.ZodObject<{
61
61
  logFilePattern: z.ZodString;
62
62
  isRunning: z.ZodBoolean;
63
63
  supportsManualImport: z.ZodDefault<z.ZodBoolean>;
64
+ clientId: z.ZodOptional<z.ZodString>;
64
65
  }, z.core.$strip>;
65
66
  type LogImporterInfo = z.infer<typeof LogImporterInfoSchema>;
66
67
  //#endregion
@@ -456,6 +456,17 @@ declare const ClientSchemas: {
456
456
  sessionId: z.ZodOptional<z.ZodString>;
457
457
  adapterSessionId: z.ZodOptional<z.ZodString>;
458
458
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
459
+ transcriptPath: z.ZodOptional<z.ZodString>;
460
+ cwd: z.ZodOptional<z.ZodString>;
461
+ machineId: z.ZodOptional<z.ZodString>;
462
+ startMode: z.ZodOptional<z.ZodEnum<{
463
+ fork: "fork";
464
+ fresh: "fresh";
465
+ resume: "resume";
466
+ clear: "clear";
467
+ compact: "compact";
468
+ }>>;
469
+ parentAdapterSessionId: z.ZodOptional<z.ZodString>;
459
470
  }, z.core.$strip>;
460
471
  'session.userPrompt.submitted': z.ZodObject<{
461
472
  clientId: z.ZodString;
@@ -481,6 +492,7 @@ declare const ClientSchemas: {
481
492
  sessionId: z.ZodOptional<z.ZodString>;
482
493
  adapterSessionId: z.ZodOptional<z.ZodString>;
483
494
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
495
+ transcriptPath: z.ZodOptional<z.ZodString>;
484
496
  }, z.core.$strip>;
485
497
  'session.tool.pre': z.ZodObject<{
486
498
  clientId: z.ZodString;
@@ -630,8 +642,8 @@ declare const ClientSchemas: {
630
642
  reason: z.ZodEnum<{
631
643
  update: "update";
632
644
  install: "install";
633
- uninstall: "uninstall";
634
645
  "set-active": "set-active";
646
+ uninstall: "uninstall";
635
647
  }>;
636
648
  }, z.core.$strip>;
637
649
  resolveBinary: {
@@ -1130,8 +1142,8 @@ declare const ClientVersionChangedSchema: z.ZodObject<{
1130
1142
  reason: z.ZodEnum<{
1131
1143
  update: "update";
1132
1144
  install: "install";
1133
- uninstall: "uninstall";
1134
1145
  "set-active": "set-active";
1146
+ uninstall: "uninstall";
1135
1147
  }>;
1136
1148
  }, z.core.$strip>;
1137
1149
  type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
@@ -1319,6 +1331,30 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1319
1331
  * This is a normalized observed signal — not a command. The session may not
1320
1332
  * yet be linked to a framework session at emission time.
1321
1333
  */
1334
+ /**
1335
+ * Closed set of session start modes a client runtime can report.
1336
+ *
1337
+ * Narrower than the agent-level {@link StartMode}: a client can distinguish
1338
+ * `'fresh'` (new session) from `'fork'` (fork child), `'resume'`
1339
+ * (continuation of an existing session), `'clear'` (conversation cleared),
1340
+ * and `'compact'` (context compacted), but cannot know `'rotation'`
1341
+ * (a framework-level concept).
1342
+ *
1343
+ * Maps 1:1 to the Claude Code SDK `SessionStartHookInput.source` union:
1344
+ * `'startup'` → `'fresh'`, `'resume'` → `'resume'` or `'fork'` (after
1345
+ * transcript sniff), `'clear'` → `'clear'`, `'compact'` → `'compact'`.
1346
+ */
1347
+ declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1348
+ /** Zod schema for the client-reported session start mode. */
1349
+ declare const ClientSessionStartModeSchema: z.ZodEnum<{
1350
+ fork: "fork";
1351
+ fresh: "fresh";
1352
+ resume: "resume";
1353
+ clear: "clear";
1354
+ compact: "compact";
1355
+ }>;
1356
+ /** Client-reported session start mode discriminator. */
1357
+ type ClientSessionStartMode = z.infer<typeof ClientSessionStartModeSchema>;
1322
1358
  declare const ClientSessionStartedSchema: z.ZodObject<{
1323
1359
  clientId: z.ZodString;
1324
1360
  source: z.ZodString;
@@ -1326,6 +1362,17 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1326
1362
  sessionId: z.ZodOptional<z.ZodString>;
1327
1363
  adapterSessionId: z.ZodOptional<z.ZodString>;
1328
1364
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1365
+ transcriptPath: z.ZodOptional<z.ZodString>;
1366
+ cwd: z.ZodOptional<z.ZodString>;
1367
+ machineId: z.ZodOptional<z.ZodString>;
1368
+ startMode: z.ZodOptional<z.ZodEnum<{
1369
+ fork: "fork";
1370
+ fresh: "fresh";
1371
+ resume: "resume";
1372
+ clear: "clear";
1373
+ compact: "compact";
1374
+ }>>;
1375
+ parentAdapterSessionId: z.ZodOptional<z.ZodString>;
1329
1376
  }, z.core.$strip>;
1330
1377
  type ClientSessionStarted = z.infer<typeof ClientSessionStartedSchema>;
1331
1378
  /**
@@ -1350,6 +1397,12 @@ type ClientSessionUserPromptSubmitted = z.infer<typeof ClientSessionUserPromptSu
1350
1397
  *
1351
1398
  * Emitted when an adapter observes the beginning of an assistant turn inside
1352
1399
  * an ongoing client session.
1400
+ *
1401
+ * Intentionally base-only: unlike {@link ClientSessionTurnCompletedSchema},
1402
+ * this event carries no `transcriptPath`. The Stop hook (`turn.completed`) is
1403
+ * the import trigger for observed sessions; `turn.started` (mapped from
1404
+ * UserPromptSubmit) is cadence-only. Do not "fix" this asymmetry by adding
1405
+ * transcript fields here.
1353
1406
  */
1354
1407
  declare const ClientSessionTurnStartedSchema: z.ZodObject<{
1355
1408
  clientId: z.ZodString;
@@ -1373,6 +1426,7 @@ declare const ClientSessionTurnCompletedSchema: z.ZodObject<{
1373
1426
  sessionId: z.ZodOptional<z.ZodString>;
1374
1427
  adapterSessionId: z.ZodOptional<z.ZodString>;
1375
1428
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1429
+ transcriptPath: z.ZodOptional<z.ZodString>;
1376
1430
  }, z.core.$strip>;
1377
1431
  type ClientSessionTurnCompleted = z.infer<typeof ClientSessionTurnCompletedSchema>;
1378
1432
  /**
@@ -1832,6 +1886,17 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1832
1886
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
1833
1887
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1834
1888
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
1889
+ transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
1890
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
1891
+ machineId: _$zod.ZodOptional<_$zod.ZodString>;
1892
+ startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
1893
+ fork: "fork";
1894
+ fresh: "fresh";
1895
+ resume: "resume";
1896
+ clear: "clear";
1897
+ compact: "compact";
1898
+ }>>;
1899
+ parentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1835
1900
  }, _$zod_v4_core0.$strip>;
1836
1901
  'session.userPrompt.submitted': _$zod.ZodObject<{
1837
1902
  clientId: _$zod.ZodString;
@@ -1857,6 +1922,7 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1857
1922
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
1858
1923
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1859
1924
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
1925
+ transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
1860
1926
  }, _$zod_v4_core0.$strip>;
1861
1927
  'session.tool.pre': _$zod.ZodObject<{
1862
1928
  clientId: _$zod.ZodString;
@@ -2006,8 +2072,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2006
2072
  reason: _$zod.ZodEnum<{
2007
2073
  update: "update";
2008
2074
  install: "install";
2009
- uninstall: "uninstall";
2010
2075
  "set-active": "set-active";
2076
+ uninstall: "uninstall";
2011
2077
  }>;
2012
2078
  }, _$zod_v4_core0.$strip>;
2013
2079
  resolveBinary: {
@@ -2414,6 +2480,17 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2414
2480
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2415
2481
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2416
2482
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
2483
+ transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
2484
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
2485
+ machineId: _$zod.ZodOptional<_$zod.ZodString>;
2486
+ startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2487
+ fork: "fork";
2488
+ fresh: "fresh";
2489
+ resume: "resume";
2490
+ clear: "clear";
2491
+ compact: "compact";
2492
+ }>>;
2493
+ parentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2417
2494
  }, _$zod_v4_core0.$strip>;
2418
2495
  'session.userPrompt.submitted': _$zod.ZodObject<{
2419
2496
  clientId: _$zod.ZodString;
@@ -2439,6 +2516,7 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2439
2516
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2440
2517
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2441
2518
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
2519
+ transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
2442
2520
  }, _$zod_v4_core0.$strip>;
2443
2521
  'session.tool.pre': _$zod.ZodObject<{
2444
2522
  clientId: _$zod.ZodString;
@@ -2588,8 +2666,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2588
2666
  reason: _$zod.ZodEnum<{
2589
2667
  update: "update";
2590
2668
  install: "install";
2591
- uninstall: "uninstall";
2592
2669
  "set-active": "set-active";
2670
+ uninstall: "uninstall";
2593
2671
  }>;
2594
2672
  }, _$zod_v4_core0.$strip>;
2595
2673
  resolveBinary: {
@@ -2989,4 +3067,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
2989
3067
  type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
2990
3068
  type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
2991
3069
  //#endregion
2992
- export { ClientSessionTurnCompletedSchema as $, ClientIdentifierStrength as $t, SessionConfigIdSchema as A, ClientSetActiveResponse as At, SessionConfigTeardownResponseSchema as B, InstallError as Bt, SessionConfigCleanupRequest as C, ClientExecutionContext as Cn, ClientInstallRequest as Ct, SessionConfigDestroyRequest as D, ClientResolveBinarySchema as Dn, ClientListResponse as Dt, SessionConfigCreateResponse as E, ClientResolveBinaryResponse as En, ClientListRequest as Et, SessionConfigSetupResponse as F, ClientUpdateRequest as Ft, ClientSessionObservedBaseSchema as G, InstalledVersionEntrySchema as Gt, ClientNamespace as H, InstallStage as Ht, SessionConfigSetupResponseSchema as I, ClientUpdateResponse as It, ClientSessionToolPost as J, ClientAccountIdentifier as Jt, ClientSessionStarted as K, ManagedInstallStrategy as Kt, SessionConfigTeardownRequest as L, ClientUpdateSchema as Lt, SessionConfigInheritanceSchema as M, ClientUninstallRequest as Mt, SessionConfigSetupRequest as N, ClientUninstallResponse as Nt, SessionConfigDestroyResponse as O, ClientListSchema as Ot, SessionConfigSetupRequestSchema as P, ClientUninstallSchema as Pt, ClientSessionTurnCompleted as Q, ClientAccountObserveSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientVersionChanged as Rt, ProfileUpdateResponse as S, ClientSchemas as Sn, ClientInstallProgressSchema as St, SessionConfigCreateRequest as T, ClientResolveBinaryRequest as Tn, ClientInstallSchema as Tt, ClientSubjects as U, InstallStageSchema as Ut, createClientDefinition as V, InstallErrorSchema as Vt, ClientSessionObservedBase as W, InstalledVersionEntry as Wt, ClientSessionToolPre as X, ClientAccountObserveRequest as Xt, ClientSessionToolPostSchema as Y, ClientAccountIdentifierSchema as Yt, ClientSessionToolPreSchema as Z, ClientAccountObserveResponse as Zt, ProfileListRequest as _, ClientUsageSnapshotSchema as _n, ClientBinaryListEntry as _t, ClientConfigPrimeSchema as a, ClientScanResultSchema as an, ClientWiringEntrySchema as at, ProfileSetDefaultResponse as b, ClientUsageWindows as bn, ClientInstallCompletedSchema as bt, ClientProfileSchema as c, ClientSessionAccountObserveRequest as cn, ClientRuntimeObserveRequest as ct, ProfileCreateRequest as d, ClientSessionLocator as dn, ClientRuntimeSource as dt, ClientIdentifierStrengthSchema as en, ClientSessionTurnStarted as et, ProfileCreateResponse as f, ClientSessionLocatorSchema as fn, ClientRuntimeSourceLayer as ft, ProfileGetResponse as g, ClientUsageSnapshot as gn, ClientRuntimeStartedSchema as gt, ProfileGetRequest as h, ClientUsageIngestSchema as hn, ClientRuntimeStarted as ht, ClientConfigPrimeResponse as i, ClientScanResult as in, ClientWiringEntry as it, SessionConfigInheritance as j, ClientSetActiveSchema as jt, SessionConfigEnvSchema as k, ClientSetActiveRequest as kt, ClientProfileSchemas as l, ClientSessionAccountObserveResponse as ln, ClientRuntimeObserveResponse as lt, ProfileDeleteResponse as m, ClientUsageIngestResponse as mn, ClientRuntimeSourceSchema as mt, ClientConfigPrimePhaseSchema as n, ClientIdentityObservationSchema as nn, ClientSessionUserPromptSubmitted as nt, ClientProfile as o, ClientScanTarget as on, ClientRuntimeEvidenceBase as ot, ProfileDeleteRequest as p, ClientUsageIngestRequest as pn, ClientRuntimeSourceLayerSchema as pt, ClientSessionStartedSchema as q, ManagedInstallStrategySchema as qt, ClientConfigPrimeRequest as r, ClientMetadataSchema as rn, ClientSessionUserPromptSubmittedSchema as rt, ClientProfileNameSchema as s, ClientScanTargetSchema as sn, ClientRuntimeEvidenceBaseSchema as st, ClientConfigPrimePhase as t, ClientIdentityObservation as tn, ClientSessionTurnStartedSchema as tt, ClientSessionConfigSchemas as u, ClientSessionAccountObserveSchema as un, ClientRuntimeObserveSchema as ut, ProfileListResponse as v, ClientUsageWindow as vn, ClientBinaryListEntrySchema as vt, SessionConfigCleanupResponse as w, ClientExecutionContextSchema as wn, ClientInstallResponse as wt, ProfileUpdateRequest as x, ClientUsageWindowsSchema as xn, ClientInstallProgress as xt, ProfileSetDefaultRequest as y, ClientUsageWindowSchema as yn, ClientInstallCompleted as yt, SessionConfigTeardownResponse as z, ClientVersionChangedSchema as zt };
3070
+ export { ClientSessionToolPre as $, ClientAccountObserveRequest as $t, SessionConfigIdSchema as A, ClientResolveBinarySchema as An, ClientListResponse as At, SessionConfigTeardownResponseSchema as B, ClientUpdateSchema as Bt, SessionConfigCleanupRequest as C, ClientUsageWindows as Cn, ClientInstallCompletedSchema as Ct, SessionConfigDestroyRequest as D, ClientExecutionContextSchema as Dn, ClientInstallResponse as Dt, SessionConfigCreateResponse as E, ClientExecutionContext as En, ClientInstallRequest as Et, SessionConfigSetupResponse as F, ClientUninstallRequest as Ft, ClientSessionObservedBase as G, InstallStage as Gt, ClientNamespace as H, ClientVersionChangedSchema as Ht, SessionConfigSetupResponseSchema as I, ClientUninstallResponse as It, ClientSessionStartModeSchema as J, InstalledVersionEntrySchema as Jt, ClientSessionObservedBaseSchema as K, InstallStageSchema as Kt, SessionConfigTeardownRequest as L, ClientUninstallSchema as Lt, SessionConfigInheritanceSchema as M, ClientSetActiveRequest as Mt, SessionConfigSetupRequest as N, ClientSetActiveResponse as Nt, SessionConfigDestroyResponse as O, ClientResolveBinaryRequest as On, ClientInstallSchema as Ot, SessionConfigSetupRequestSchema as P, ClientSetActiveSchema as Pt, ClientSessionToolPostSchema as Q, ClientAccountIdentifierSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientUpdateRequest as Rt, ProfileUpdateResponse as S, ClientUsageWindowSchema as Sn, ClientInstallCompleted as St, SessionConfigCreateRequest as T, ClientSchemas as Tn, ClientInstallProgressSchema as Tt, ClientSubjects as U, InstallError as Ut, createClientDefinition as V, ClientVersionChanged as Vt, CLIENT_SESSION_START_MODES as W, InstallErrorSchema as Wt, ClientSessionStartedSchema as X, ManagedInstallStrategySchema as Xt, ClientSessionStarted as Y, ManagedInstallStrategy as Yt, ClientSessionToolPost as Z, ClientAccountIdentifier as Zt, ProfileListRequest as _, ClientUsageIngestResponse as _n, ClientRuntimeSourceSchema as _t, ClientConfigPrimeSchema as a, ClientIdentityObservationSchema as an, ClientSessionUserPromptSubmitted as at, ProfileSetDefaultResponse as b, ClientUsageSnapshotSchema as bn, ClientBinaryListEntry as bt, ClientProfileSchema as c, ClientScanResultSchema as cn, ClientWiringEntrySchema as ct, ProfileCreateRequest as d, ClientSessionAccountObserveRequest as dn, ClientRuntimeObserveRequest as dt, ClientAccountObserveResponse as en, ClientSessionToolPreSchema as et, ProfileCreateResponse as f, ClientSessionAccountObserveResponse as fn, ClientRuntimeObserveResponse as ft, ProfileGetResponse as g, ClientUsageIngestRequest as gn, ClientRuntimeSourceLayerSchema as gt, ProfileGetRequest as h, ClientSessionLocatorSchema as hn, ClientRuntimeSourceLayer as ht, ClientConfigPrimeResponse as i, ClientIdentityObservation as in, ClientSessionTurnStartedSchema as it, SessionConfigInheritance as j, ClientListSchema as jt, SessionConfigEnvSchema as k, ClientResolveBinaryResponse as kn, ClientListRequest as kt, ClientProfileSchemas as l, ClientScanTarget as ln, ClientRuntimeEvidenceBase as lt, ProfileDeleteResponse as m, ClientSessionLocator as mn, ClientRuntimeSource as mt, ClientConfigPrimePhaseSchema as n, ClientIdentifierStrength as nn, ClientSessionTurnCompletedSchema as nt, ClientProfile as o, ClientMetadataSchema as on, ClientSessionUserPromptSubmittedSchema as ot, ProfileDeleteRequest as p, ClientSessionAccountObserveSchema as pn, ClientRuntimeObserveSchema as pt, ClientSessionStartMode as q, InstalledVersionEntry as qt, ClientConfigPrimeRequest as r, ClientIdentifierStrengthSchema as rn, ClientSessionTurnStarted as rt, ClientProfileNameSchema as s, ClientScanResult as sn, ClientWiringEntry as st, ClientConfigPrimePhase as t, ClientAccountObserveSchema as tn, ClientSessionTurnCompleted as tt, ClientSessionConfigSchemas as u, ClientScanTargetSchema as un, ClientRuntimeEvidenceBaseSchema as ut, ProfileListResponse as v, ClientUsageIngestSchema as vn, ClientRuntimeStarted as vt, SessionConfigCleanupResponse as w, ClientUsageWindowsSchema as wn, ClientInstallProgress as wt, ProfileUpdateRequest as x, ClientUsageWindow as xn, ClientBinaryListEntrySchema as xt, ProfileSetDefaultRequest as y, ClientUsageSnapshot as yn, ClientRuntimeStartedSchema as yt, SessionConfigTeardownResponse as z, ClientUpdateResponse as zt };
@@ -1,4 +1,4 @@
1
- import { r as ArtifactProjectionPolicy$1 } from "./schemas-DMCGXlKa.mjs";
1
+ import { r as ArtifactProjectionPolicy$1 } from "./schemas-DXeGCbJ9.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_core0 from "@makaio/framework/core";
4
4
  import { MakaioBusLike } from "@makaio/framework/core";
@@ -462,9 +462,9 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
462
462
  lifecycle: z.ZodOptional<z.ZodObject<{
463
463
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
464
464
  active: "active";
465
- archived: "archived";
466
465
  fading: "fading";
467
466
  retired: "retired";
467
+ archived: "archived";
468
468
  }>>;
469
469
  decayPolicy: z.ZodOptional<z.ZodString>;
470
470
  }, z.core.$strip>>;
@@ -472,13 +472,13 @@ declare const ArtifactKindRegistrationSchema: z.ZodObject<{
472
472
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
473
  projection: z.ZodOptional<z.ZodObject<{
474
474
  mode: z.ZodEnum<{
475
- none: "none";
476
475
  comment: "comment";
477
476
  surface: "surface";
477
+ none: "none";
478
478
  }>;
479
479
  defaultRole: z.ZodOptional<z.ZodEnum<{
480
- artifact: "artifact";
481
480
  workpiece: "workpiece";
481
+ artifact: "artifact";
482
482
  }>>;
483
483
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
484
484
  created: "created";
@@ -1654,9 +1654,9 @@ declare const ArtifactSchemas: {
1654
1654
  lifecycle: z.ZodOptional<z.ZodObject<{
1655
1655
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
1656
1656
  active: "active";
1657
- archived: "archived";
1658
1657
  fading: "fading";
1659
1658
  retired: "retired";
1659
+ archived: "archived";
1660
1660
  }>>;
1661
1661
  decayPolicy: z.ZodOptional<z.ZodString>;
1662
1662
  }, z.core.$strip>>;
@@ -1664,13 +1664,13 @@ declare const ArtifactSchemas: {
1664
1664
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1665
1665
  projection: z.ZodOptional<z.ZodObject<{
1666
1666
  mode: z.ZodEnum<{
1667
- none: "none";
1668
1667
  comment: "comment";
1669
1668
  surface: "surface";
1669
+ none: "none";
1670
1670
  }>;
1671
1671
  defaultRole: z.ZodOptional<z.ZodEnum<{
1672
- artifact: "artifact";
1673
1672
  workpiece: "workpiece";
1673
+ artifact: "artifact";
1674
1674
  }>>;
1675
1675
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1676
1676
  created: "created";
@@ -1718,9 +1718,9 @@ declare const ArtifactSchemas: {
1718
1718
  lifecycle: z.ZodOptional<z.ZodObject<{
1719
1719
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
1720
1720
  active: "active";
1721
- archived: "archived";
1722
1721
  fading: "fading";
1723
1722
  retired: "retired";
1723
+ archived: "archived";
1724
1724
  }>>;
1725
1725
  decayPolicy: z.ZodOptional<z.ZodString>;
1726
1726
  }, z.core.$strip>>;
@@ -1728,13 +1728,13 @@ declare const ArtifactSchemas: {
1728
1728
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1729
1729
  projection: z.ZodOptional<z.ZodObject<{
1730
1730
  mode: z.ZodEnum<{
1731
- none: "none";
1732
1731
  comment: "comment";
1733
1732
  surface: "surface";
1733
+ none: "none";
1734
1734
  }>;
1735
1735
  defaultRole: z.ZodOptional<z.ZodEnum<{
1736
- artifact: "artifact";
1737
1736
  workpiece: "workpiece";
1737
+ artifact: "artifact";
1738
1738
  }>>;
1739
1739
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1740
1740
  created: "created";
@@ -1801,6 +1801,7 @@ declare const ArtifactSchemas: {
1801
1801
  request: z.ZodObject<{
1802
1802
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1803
1803
  kind: z.ZodString;
1804
+ createdAt: z.ZodOptional<z.ZodNumber>;
1804
1805
  scope: z.ZodObject<{
1805
1806
  level: z.ZodString;
1806
1807
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1880,7 +1881,6 @@ declare const ArtifactSchemas: {
1880
1881
  summary: z.ZodOptional<z.ZodString>;
1881
1882
  plaintext: z.ZodOptional<z.ZodString>;
1882
1883
  }, z.core.$strip>>;
1883
- createdAt: z.ZodOptional<z.ZodNumber>;
1884
1884
  }, z.core.$strip>;
1885
1885
  response: z.ZodObject<{
1886
1886
  artifact: z.ZodObject<{
@@ -1983,6 +1983,7 @@ declare const ArtifactSchemas: {
1983
1983
  revision: z.ZodObject<{
1984
1984
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1985
1985
  kind: z.ZodString;
1986
+ createdAt: z.ZodOptional<z.ZodNumber>;
1986
1987
  scope: z.ZodObject<{
1987
1988
  level: z.ZodString;
1988
1989
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2062,7 +2063,6 @@ declare const ArtifactSchemas: {
2062
2063
  summary: z.ZodOptional<z.ZodString>;
2063
2064
  plaintext: z.ZodOptional<z.ZodString>;
2064
2065
  }, z.core.$strip>>;
2065
- createdAt: z.ZodOptional<z.ZodNumber>;
2066
2066
  }, z.core.$strip>;
2067
2067
  }, z.core.$strip>;
2068
2068
  response: z.ZodObject<{
@@ -3055,9 +3055,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3055
3055
  lifecycle: z.ZodOptional<z.ZodObject<{
3056
3056
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
3057
3057
  active: "active";
3058
- archived: "archived";
3059
3058
  fading: "fading";
3060
3059
  retired: "retired";
3060
+ archived: "archived";
3061
3061
  }>>;
3062
3062
  decayPolicy: z.ZodOptional<z.ZodString>;
3063
3063
  }, z.core.$strip>>;
@@ -3065,13 +3065,13 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3065
3065
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3066
3066
  projection: z.ZodOptional<z.ZodObject<{
3067
3067
  mode: z.ZodEnum<{
3068
- none: "none";
3069
3068
  comment: "comment";
3070
3069
  surface: "surface";
3070
+ none: "none";
3071
3071
  }>;
3072
3072
  defaultRole: z.ZodOptional<z.ZodEnum<{
3073
- artifact: "artifact";
3074
3073
  workpiece: "workpiece";
3074
+ artifact: "artifact";
3075
3075
  }>>;
3076
3076
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3077
3077
  created: "created";
@@ -3119,9 +3119,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3119
3119
  lifecycle: z.ZodOptional<z.ZodObject<{
3120
3120
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
3121
3121
  active: "active";
3122
- archived: "archived";
3123
3122
  fading: "fading";
3124
3123
  retired: "retired";
3124
+ archived: "archived";
3125
3125
  }>>;
3126
3126
  decayPolicy: z.ZodOptional<z.ZodString>;
3127
3127
  }, z.core.$strip>>;
@@ -3129,13 +3129,13 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3129
3129
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3130
3130
  projection: z.ZodOptional<z.ZodObject<{
3131
3131
  mode: z.ZodEnum<{
3132
- none: "none";
3133
3132
  comment: "comment";
3134
3133
  surface: "surface";
3134
+ none: "none";
3135
3135
  }>;
3136
3136
  defaultRole: z.ZodOptional<z.ZodEnum<{
3137
- artifact: "artifact";
3138
3137
  workpiece: "workpiece";
3138
+ artifact: "artifact";
3139
3139
  }>>;
3140
3140
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3141
3141
  created: "created";
@@ -3202,6 +3202,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3202
3202
  request: z.ZodObject<{
3203
3203
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3204
3204
  kind: z.ZodString;
3205
+ createdAt: z.ZodOptional<z.ZodNumber>;
3205
3206
  scope: z.ZodObject<{
3206
3207
  level: z.ZodString;
3207
3208
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3281,7 +3282,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3281
3282
  summary: z.ZodOptional<z.ZodString>;
3282
3283
  plaintext: z.ZodOptional<z.ZodString>;
3283
3284
  }, z.core.$strip>>;
3284
- createdAt: z.ZodOptional<z.ZodNumber>;
3285
3285
  }, z.core.$strip>;
3286
3286
  response: z.ZodObject<{
3287
3287
  artifact: z.ZodObject<{
@@ -3384,6 +3384,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3384
3384
  revision: z.ZodObject<{
3385
3385
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3386
3386
  kind: z.ZodString;
3387
+ createdAt: z.ZodOptional<z.ZodNumber>;
3387
3388
  scope: z.ZodObject<{
3388
3389
  level: z.ZodString;
3389
3390
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3463,7 +3464,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3463
3464
  summary: z.ZodOptional<z.ZodString>;
3464
3465
  plaintext: z.ZodOptional<z.ZodString>;
3465
3466
  }, z.core.$strip>>;
3466
- createdAt: z.ZodOptional<z.ZodNumber>;
3467
3467
  }, z.core.$strip>;
3468
3468
  }, z.core.$strip>;
3469
3469
  response: z.ZodObject<{
@@ -4470,9 +4470,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4470
4470
  lifecycle: z.ZodOptional<z.ZodObject<{
4471
4471
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
4472
4472
  active: "active";
4473
- archived: "archived";
4474
4473
  fading: "fading";
4475
4474
  retired: "retired";
4475
+ archived: "archived";
4476
4476
  }>>;
4477
4477
  decayPolicy: z.ZodOptional<z.ZodString>;
4478
4478
  }, z.core.$strip>>;
@@ -4480,13 +4480,13 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4480
4480
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
4481
4481
  projection: z.ZodOptional<z.ZodObject<{
4482
4482
  mode: z.ZodEnum<{
4483
- none: "none";
4484
4483
  comment: "comment";
4485
4484
  surface: "surface";
4485
+ none: "none";
4486
4486
  }>;
4487
4487
  defaultRole: z.ZodOptional<z.ZodEnum<{
4488
- artifact: "artifact";
4489
4488
  workpiece: "workpiece";
4489
+ artifact: "artifact";
4490
4490
  }>>;
4491
4491
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4492
4492
  created: "created";
@@ -4534,9 +4534,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4534
4534
  lifecycle: z.ZodOptional<z.ZodObject<{
4535
4535
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
4536
4536
  active: "active";
4537
- archived: "archived";
4538
4537
  fading: "fading";
4539
4538
  retired: "retired";
4539
+ archived: "archived";
4540
4540
  }>>;
4541
4541
  decayPolicy: z.ZodOptional<z.ZodString>;
4542
4542
  }, z.core.$strip>>;
@@ -4544,13 +4544,13 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4544
4544
  searchableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
4545
4545
  projection: z.ZodOptional<z.ZodObject<{
4546
4546
  mode: z.ZodEnum<{
4547
- none: "none";
4548
4547
  comment: "comment";
4549
4548
  surface: "surface";
4549
+ none: "none";
4550
4550
  }>;
4551
4551
  defaultRole: z.ZodOptional<z.ZodEnum<{
4552
- artifact: "artifact";
4553
4552
  workpiece: "workpiece";
4553
+ artifact: "artifact";
4554
4554
  }>>;
4555
4555
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4556
4556
  created: "created";
@@ -4617,6 +4617,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4617
4617
  request: z.ZodObject<{
4618
4618
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4619
4619
  kind: z.ZodString;
4620
+ createdAt: z.ZodOptional<z.ZodNumber>;
4620
4621
  scope: z.ZodObject<{
4621
4622
  level: z.ZodString;
4622
4623
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4696,7 +4697,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4696
4697
  summary: z.ZodOptional<z.ZodString>;
4697
4698
  plaintext: z.ZodOptional<z.ZodString>;
4698
4699
  }, z.core.$strip>>;
4699
- createdAt: z.ZodOptional<z.ZodNumber>;
4700
4700
  }, z.core.$strip>;
4701
4701
  response: z.ZodObject<{
4702
4702
  artifact: z.ZodObject<{
@@ -4799,6 +4799,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4799
4799
  revision: z.ZodObject<{
4800
4800
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4801
4801
  kind: z.ZodString;
4802
+ createdAt: z.ZodOptional<z.ZodNumber>;
4802
4803
  scope: z.ZodObject<{
4803
4804
  level: z.ZodString;
4804
4805
  ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4878,7 +4879,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4878
4879
  summary: z.ZodOptional<z.ZodString>;
4879
4880
  plaintext: z.ZodOptional<z.ZodString>;
4880
4881
  }, z.core.$strip>>;
4881
- createdAt: z.ZodOptional<z.ZodNumber>;
4882
4882
  }, z.core.$strip>;
4883
4883
  }, z.core.$strip>;
4884
4884
  response: z.ZodObject<{
@@ -11,8 +11,8 @@ import * as _$_makaio_core0 from "@makaio/framework/core";
11
11
  */
12
12
  declare const FacetAuthoritySchema: z.ZodEnum<{
13
13
  system: "system";
14
- agent: "agent";
15
14
  human: "human";
15
+ agent: "agent";
16
16
  }>;
17
17
  /**
18
18
  * Cardinality of values a facet namespace permits per target.
@@ -32,8 +32,8 @@ declare const FacetCardinalitySchema: z.ZodEnum<{
32
32
  * - `'surface'` — a UI surface or layout area
33
33
  */
34
34
  declare const FacetAppliesToSchema: z.ZodEnum<{
35
- artifact: "artifact";
36
35
  workpiece: "workpiece";
36
+ artifact: "artifact";
37
37
  surface: "surface";
38
38
  }>;
39
39
  /**
@@ -53,12 +53,12 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
53
53
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
54
54
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
55
55
  system: "system";
56
- agent: "agent";
57
56
  human: "human";
57
+ agent: "agent";
58
58
  }>>>;
59
59
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
60
- artifact: "artifact";
61
60
  workpiece: "workpiece";
61
+ artifact: "artifact";
62
62
  surface: "surface";
63
63
  }>>>;
64
64
  description: z.ZodOptional<z.ZodString>;
@@ -157,12 +157,12 @@ declare const FacetSchemas: {
157
157
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
158
158
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
159
159
  system: "system";
160
- agent: "agent";
161
160
  human: "human";
161
+ agent: "agent";
162
162
  }>>>;
163
163
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
164
- artifact: "artifact";
165
164
  workpiece: "workpiece";
165
+ artifact: "artifact";
166
166
  surface: "surface";
167
167
  }>>>;
168
168
  description: z.ZodOptional<z.ZodString>;
@@ -185,12 +185,12 @@ declare const FacetSchemas: {
185
185
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
186
186
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
187
187
  system: "system";
188
- agent: "agent";
189
188
  human: "human";
189
+ agent: "agent";
190
190
  }>>>;
191
191
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
192
- artifact: "artifact";
193
192
  workpiece: "workpiece";
193
+ artifact: "artifact";
194
194
  surface: "surface";
195
195
  }>>>;
196
196
  description: z.ZodOptional<z.ZodString>;
@@ -223,12 +223,12 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
223
223
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
224
224
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
225
225
  system: "system";
226
- agent: "agent";
227
226
  human: "human";
227
+ agent: "agent";
228
228
  }>>>;
229
229
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
230
- artifact: "artifact";
231
230
  workpiece: "workpiece";
231
+ artifact: "artifact";
232
232
  surface: "surface";
233
233
  }>>>;
234
234
  description: z.ZodOptional<z.ZodString>;
@@ -251,12 +251,12 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
251
251
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
252
252
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
253
253
  system: "system";
254
- agent: "agent";
255
254
  human: "human";
255
+ agent: "agent";
256
256
  }>>>;
257
257
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
258
- artifact: "artifact";
259
258
  workpiece: "workpiece";
259
+ artifact: "artifact";
260
260
  surface: "surface";
261
261
  }>>>;
262
262
  description: z.ZodOptional<z.ZodString>;
@@ -295,12 +295,12 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
295
295
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
296
296
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
297
297
  system: "system";
298
- agent: "agent";
299
298
  human: "human";
299
+ agent: "agent";
300
300
  }>>>;
301
301
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
302
- artifact: "artifact";
303
302
  workpiece: "workpiece";
303
+ artifact: "artifact";
304
304
  surface: "surface";
305
305
  }>>>;
306
306
  description: z.ZodOptional<z.ZodString>;
@@ -323,12 +323,12 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
323
323
  values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
324
324
  authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
325
325
  system: "system";
326
- agent: "agent";
327
326
  human: "human";
327
+ agent: "agent";
328
328
  }>>>;
329
329
  appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
330
- artifact: "artifact";
331
330
  workpiece: "workpiece";
331
+ artifact: "artifact";
332
332
  surface: "surface";
333
333
  }>>>;
334
334
  description: z.ZodOptional<z.ZodString>;