@makaio/framework 1.0.0-dev-1783355411417 → 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 (146) 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 +219 -40
  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-BNysGvaM.d.mts → base-orchestrator-ODRyDBzu.d.mts} +9 -1
  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 +3 -3
  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 +372 -194
  24. package/dist/contracts/index.mjs +1 -1
  25. package/dist/contracts/materialization/index.d.mts +2 -2
  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/shared/index.d.mts +1 -1
  30. package/dist/contracts/variant/index.d.mts +1 -1
  31. package/dist/contracts/workflow/index.d.mts +2 -2
  32. package/dist/{definition-b9jyJqPD.d.mts → definition-DpkfJi8v.d.mts} +1 -1
  33. package/dist/drizzle/0023_m_mr9gc37m.sql +1 -0
  34. package/dist/drizzle/meta/_journal.json +7 -0
  35. package/dist/handlers-B74FvKlA.mjs +57 -0
  36. package/dist/hooks/index.d.mts +19 -2
  37. package/dist/{identity-BarL3JYI.mjs → identity-DC3Pk0ps.mjs} +1 -1
  38. package/dist/{index-4eP9DRL_.d.mts → index-B3fjN5HX.d.mts} +7 -7
  39. package/dist/{index-3X0368CL.d.mts → index-B5Uczo3R.d.mts} +24 -24
  40. package/dist/{index-C6Ys8pxt.d.mts → index-BIZeIA5k.d.mts} +6 -6
  41. package/dist/{index-BYfSAJRC.d.mts → index-BvTd61i5.d.mts} +151 -29
  42. package/dist/{index-B5w-0Gg9.d.mts → index-BvjLe_w9.d.mts} +12 -12
  43. package/dist/{index-DQYj8-53.d.mts → index-C8k2f_E0.d.mts} +1 -1
  44. package/dist/{index-DEzdNQum.d.mts → index-CYHWOXUm.d.mts} +1 -1
  45. package/dist/{index-3J0HZlPH.d.mts → index-CwHP8Jxs.d.mts} +145 -12
  46. package/dist/{index-D6aAzr32.d.mts → index-Cyi7y_aG.d.mts} +20 -20
  47. package/dist/{index-BKZhnb2B.d.mts → index-D7Fu3375.d.mts} +404 -24
  48. package/dist/{index-31vR1sxk.d.mts → index-DFK3tpEY.d.mts} +70 -10
  49. package/dist/{index-DV4nRk0h.d.mts → index-DS6kxiFl.d.mts} +15 -15
  50. package/dist/{index-O08Q2ikz.d.mts → index-DTBQOCar.d.mts} +8 -8
  51. package/dist/{index-DvHYpi-J.d.mts → index-DmJ-OpTD.d.mts} +917 -68
  52. package/dist/{index-C5C1tk9f.d.mts → index-Dtb2cVJz.d.mts} +47 -47
  53. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  54. package/dist/{index-D9-vOJvZ.d.mts → index-h5go5Dtd.d.mts} +1 -1
  55. package/dist/kernel/extension/index.d.mts +1 -1
  56. package/dist/kernel/index.d.mts +2 -2
  57. package/dist/kernel/observability/index.d.mts +1 -1
  58. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
  59. package/dist/{namespace-CfvtDD_U.d.mts → namespace-BLER-Qom.d.mts} +2 -2
  60. package/dist/{namespace-B3ol3pc-.d.mts → namespace-BigVYQyx.d.mts} +12 -0
  61. package/dist/{namespace-j7vFsmYL.d.mts → namespace-C74bbsdZ.d.mts} +2 -2
  62. package/dist/{namespace-B4cV_pk3.d.mts → namespace-CGxFYDlK.d.mts} +32 -32
  63. package/dist/{namespace-DhDY0juT.d.mts → namespace-D4Uf5Mw_.d.mts} +366 -18
  64. package/dist/{namespace-DmqoDDRD.d.mts → namespace-DRXQyBe0.d.mts} +46 -2
  65. package/dist/{namespace-Bm77p82L.d.mts → namespace-JFzrlNs4.d.mts} +24 -24
  66. package/dist/{package-MmQvNJ3u.d.mts → package-B6mEMD8r.d.mts} +5 -0
  67. package/dist/{package-BmRhhi-3.mjs → package-BQn_RTo7.mjs} +1 -1
  68. package/dist/package.json +1 -1
  69. package/dist/{schema-DLNBajAV.d.mts → schema-B9goOieO.d.mts} +27 -0
  70. package/dist/{schemas-DuuVuhHX2.d.mts → schemas-9S9Y9PHT2.d.mts} +5 -5
  71. package/dist/{schemas-CoFCV42v.d.mts → schemas-B_t6oOK-.d.mts} +2 -2
  72. package/dist/{schemas-lnE9YoG7.d.mts → schemas-CW6YsPT4.d.mts} +3 -3
  73. package/dist/schemas-CkOigLAT.mjs +1 -0
  74. package/dist/{schemas-BemsLc_V.d.mts → schemas-CurUbHy4.d.mts} +4 -4
  75. package/dist/{schemas-DMMWmWjq.d.mts → schemas-DXeGCbJ9.d.mts} +1 -1
  76. package/dist/{schemas-DWfo0wp4.d.mts → schemas-DnmbwE_V.d.mts} +7 -7
  77. package/dist/{schemas-DmGRSeIq.d.mts → schemas-t6h9oSct.d.mts} +28 -1
  78. package/dist/services/adapter-runtime/index.d.mts +4 -4
  79. package/dist/services/adapter-runtime/index.mjs +1 -1
  80. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  81. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  82. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  83. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  84. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  85. package/dist/services/agent-runtime/index.d.mts +2 -2
  86. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  87. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  88. package/dist/services/context-rules/index.d.mts +3 -3
  89. package/dist/services/filesystem/namespace.d.mts +6 -6
  90. package/dist/services/filesystem/schemas.d.mts +3 -3
  91. package/dist/services/git/namespace.d.mts +2 -2
  92. package/dist/services/git/schemas.d.mts +1 -1
  93. package/dist/services/harness/index.d.mts +3 -3
  94. package/dist/services/index.d.mts +55 -48
  95. package/dist/services/index.mjs +1 -1
  96. package/dist/services/log-import/browser.d.mts +1 -1
  97. package/dist/services/log-import/index.d.mts +14 -1
  98. package/dist/services/log-import/index.mjs +2 -2
  99. package/dist/services/preferences/index.d.mts +2 -2
  100. package/dist/services/preferences/schemas.d.mts +1 -1
  101. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  102. package/dist/services/session/handlers/index.d.mts +1 -1
  103. package/dist/services/session/handlers/index.mjs +1 -1
  104. package/dist/services/session/index.d.mts +7 -7
  105. package/dist/services/session/index.mjs +1 -1
  106. package/dist/services/session/messages/namespace.d.mts +1 -1
  107. package/dist/services/session/session-events/namespace.d.mts +1 -1
  108. package/dist/services/session/storage/namespace.d.mts +1 -1
  109. package/dist/services/session/storage/schema.d.mts +1 -1
  110. package/dist/services/session/storage/schema.mjs +1 -1
  111. package/dist/services/session/testing/index.mjs +3 -2
  112. package/dist/services/session-editor/index.d.mts +1 -1
  113. package/dist/services/settings/namespace.d.mts +5 -5
  114. package/dist/services/subagent-template/index.d.mts +2 -2
  115. package/dist/services/subagent-template/namespace.d.mts +1 -1
  116. package/dist/services/subagent-template/schemas.d.mts +1 -1
  117. package/dist/services/tool-approval/index.mjs +1 -1
  118. package/dist/services/tools/index.mjs +1 -1
  119. package/dist/services/tray-menu/index.d.mts +2 -2
  120. package/dist/services/tray-menu/namespace.d.mts +1 -1
  121. package/dist/services/tray-menu/schemas.d.mts +1 -1
  122. package/dist/session-CZUrp7gC.mjs +69 -0
  123. package/dist/session-Dp7z5N1d.mjs +1 -0
  124. package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-C1M7-O3C.d.mts} +3 -3
  125. package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-BvRF22by.d.mts} +10 -10
  126. package/dist/{tool-approval-service-MU_DmJsf.mjs → tool-approval-service-BIbUSuqg.mjs} +1 -1
  127. package/dist/{tools-BrNm-een.mjs → tools-Yz8XyiwA.mjs} +1 -1
  128. package/dist/{transition-Dq41YCkc.d.mts → transition-DYorNHZu.d.mts} +1 -1
  129. package/dist/{types-C76EP81O.d.mts → types-9XCB1aPK.d.mts} +442 -30
  130. package/dist/{types-BMS6yfLS.d.mts → types-BNW5n6qm.d.mts} +1 -1
  131. package/dist/{types-BMlzmWp6.d.mts → types-BWduCvRU.d.mts} +11 -0
  132. package/dist/{types-Cse8s_cD.d.mts → types-N_BOtTqt.d.mts} +29 -18
  133. package/dist/ui-kernel/index.d.mts +4 -4
  134. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  135. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  136. package/dist/workflow-engine/index.d.mts +44 -44
  137. package/dist/workflow-engine/index.mjs +1 -1
  138. package/dist/workflow-engine/package.d.mts +1 -1
  139. package/dist/workflow-engine/package.mjs +1 -1
  140. package/package.json +1 -1
  141. package/dist/adapter-BRxCc72E.mjs +0 -1
  142. package/dist/client-BgUjVbXX.mjs +0 -1
  143. package/dist/handlers-v47Gbsr1.mjs +0 -57
  144. package/dist/schemas-ftgVeWIG.mjs +0 -1
  145. package/dist/session-CKWfn3oc.mjs +0 -1
  146. package/dist/session-DCbJwYEU.mjs +0 -69
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
17
17
  env: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  configDir: z.ZodNullable<z.ZodString>;
19
19
  source: z.ZodEnum<{
20
- managed: "managed";
21
20
  global: "global";
21
+ managed: "managed";
22
22
  }>;
23
23
  version: z.ZodNullable<z.ZodString>;
24
24
  }, z.core.$strip>;
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
40
  projectDir: z.ZodOptional<z.ZodString>;
41
41
  preferSource: z.ZodOptional<z.ZodEnum<{
42
- managed: "managed";
43
42
  global: "global";
43
+ managed: "managed";
44
44
  }>>;
45
45
  harnessId: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
49
49
  env: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  configDir: z.ZodNullable<z.ZodString>;
51
51
  source: z.ZodEnum<{
52
- managed: "managed";
53
52
  global: "global";
53
+ managed: "managed";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -458,6 +458,15 @@ declare const ClientSchemas: {
458
458
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
459
459
  transcriptPath: z.ZodOptional<z.ZodString>;
460
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>;
461
470
  }, z.core.$strip>;
462
471
  'session.userPrompt.submitted': z.ZodObject<{
463
472
  clientId: z.ZodString;
@@ -643,8 +652,8 @@ declare const ClientSchemas: {
643
652
  sessionId: z.ZodOptional<z.ZodString>;
644
653
  projectDir: z.ZodOptional<z.ZodString>;
645
654
  preferSource: z.ZodOptional<z.ZodEnum<{
646
- managed: "managed";
647
655
  global: "global";
656
+ managed: "managed";
648
657
  }>>;
649
658
  harnessId: z.ZodOptional<z.ZodString>;
650
659
  }, z.core.$strip>;
@@ -653,8 +662,8 @@ declare const ClientSchemas: {
653
662
  env: z.ZodRecord<z.ZodString, z.ZodString>;
654
663
  configDir: z.ZodNullable<z.ZodString>;
655
664
  source: z.ZodEnum<{
656
- managed: "managed";
657
665
  global: "global";
666
+ managed: "managed";
658
667
  }>;
659
668
  version: z.ZodNullable<z.ZodString>;
660
669
  }, z.core.$strip>;
@@ -1322,6 +1331,30 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1322
1331
  * This is a normalized observed signal — not a command. The session may not
1323
1332
  * yet be linked to a framework session at emission time.
1324
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>;
1325
1358
  declare const ClientSessionStartedSchema: z.ZodObject<{
1326
1359
  clientId: z.ZodString;
1327
1360
  source: z.ZodString;
@@ -1331,6 +1364,15 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1331
1364
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1332
1365
  transcriptPath: z.ZodOptional<z.ZodString>;
1333
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>;
1334
1376
  }, z.core.$strip>;
1335
1377
  type ClientSessionStarted = z.infer<typeof ClientSessionStartedSchema>;
1336
1378
  /**
@@ -1846,6 +1888,15 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1846
1888
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
1847
1889
  transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
1848
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>;
1849
1900
  }, _$zod_v4_core0.$strip>;
1850
1901
  'session.userPrompt.submitted': _$zod.ZodObject<{
1851
1902
  clientId: _$zod.ZodString;
@@ -2031,8 +2082,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2031
2082
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2032
2083
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2033
2084
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2034
- managed: "managed";
2035
2085
  global: "global";
2086
+ managed: "managed";
2036
2087
  }>>;
2037
2088
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2038
2089
  }, _$zod_v4_core0.$strip>;
@@ -2041,8 +2092,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2041
2092
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2042
2093
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2043
2094
  source: _$zod.ZodEnum<{
2044
- managed: "managed";
2045
2095
  global: "global";
2096
+ managed: "managed";
2046
2097
  }>;
2047
2098
  version: _$zod.ZodNullable<_$zod.ZodString>;
2048
2099
  }, _$zod_v4_core0.$strip>;
@@ -2431,6 +2482,15 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2431
2482
  metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
2432
2483
  transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
2433
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>;
2434
2494
  }, _$zod_v4_core0.$strip>;
2435
2495
  'session.userPrompt.submitted': _$zod.ZodObject<{
2436
2496
  clientId: _$zod.ZodString;
@@ -2616,8 +2676,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2616
2676
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2617
2677
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2618
2678
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2619
- managed: "managed";
2620
2679
  global: "global";
2680
+ managed: "managed";
2621
2681
  }>>;
2622
2682
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2623
2683
  }, _$zod_v4_core0.$strip>;
@@ -2626,8 +2686,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2626
2686
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2627
2687
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2628
2688
  source: _$zod.ZodEnum<{
2629
- managed: "managed";
2630
2689
  global: "global";
2690
+ managed: "managed";
2631
2691
  }>;
2632
2692
  version: _$zod.ZodNullable<_$zod.ZodString>;
2633
2693
  }, _$zod_v4_core0.$strip>;
@@ -3007,4 +3067,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
3007
3067
  type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
3008
3068
  type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
3009
3069
  //#endregion
3010
- 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-DMMWmWjq.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,9 +472,9 @@ 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
480
  workpiece: "workpiece";
@@ -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,9 +1664,9 @@ 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
1672
  workpiece: "workpiece";
@@ -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,9 +1728,9 @@ 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
1736
  workpiece: "workpiece";
@@ -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,9 +3065,9 @@ 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
3073
  workpiece: "workpiece";
@@ -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,9 +3129,9 @@ 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
3137
  workpiece: "workpiece";
@@ -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,9 +4480,9 @@ 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
4488
  workpiece: "workpiece";
@@ -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,9 +4544,9 @@ 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
4552
  workpiece: "workpiece";
@@ -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.
@@ -53,8 +53,8 @@ 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
60
  workpiece: "workpiece";
@@ -157,8 +157,8 @@ 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
164
  workpiece: "workpiece";
@@ -185,8 +185,8 @@ 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
192
  workpiece: "workpiece";
@@ -223,8 +223,8 @@ 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
230
  workpiece: "workpiece";
@@ -251,8 +251,8 @@ 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
258
  workpiece: "workpiece";
@@ -295,8 +295,8 @@ 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
302
  workpiece: "workpiece";
@@ -323,8 +323,8 @@ 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
330
  workpiece: "workpiece";