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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/bus/index.d.mts +2 -2
  3. package/dist/clients/index.mjs +1 -1
  4. package/dist/{context-resolution-DsPuX5ox.d.mts → context-resolution-B9ANWbG0.d.mts} +5 -5
  5. package/dist/contracts/adapter/index.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +2 -2
  7. package/dist/contracts/canonical-model/index.d.mts +1 -1
  8. package/dist/contracts/client/index.d.mts +2 -2
  9. package/dist/contracts/extension/index.d.mts +4 -4
  10. package/dist/contracts/facet/index.d.mts +1 -1
  11. package/dist/contracts/harness/index.d.mts +1 -1
  12. package/dist/contracts/index.d.mts +94 -94
  13. package/dist/contracts/materialization/index.d.mts +3 -3
  14. package/dist/contracts/session/index.d.mts +2 -2
  15. package/dist/contracts/shared/index.d.mts +1 -1
  16. package/dist/contracts/variant/index.d.mts +1 -1
  17. package/dist/contracts/workflow/index.d.mts +2 -2
  18. package/dist/{hook-responses-mmqRa2Dq.d.mts → hook-responses-Dg8wDvRo.d.mts} +308 -21
  19. package/dist/{index-4NQLoI7R.d.mts → index-7FjcxGlK.d.mts} +1 -1
  20. package/dist/{index-BLwvcw5C.d.mts → index-BDDbcWNI.d.mts} +54 -54
  21. package/dist/{index-vTBR3OFK.d.mts → index-BMx59xb7.d.mts} +13 -13
  22. package/dist/{index-C3XXcDNg2.d.mts → index-BhXCCgJV2.d.mts} +1 -1
  23. package/dist/{index-DK5z1A5p.d.mts → index-Bi5jFT9S.d.mts} +12 -12
  24. package/dist/{index-C5vYc3m12.d.mts → index-Bs3CXR232.d.mts} +3 -3
  25. package/dist/{index-DxDMF5CP.d.mts → index-CKO9S6oo.d.mts} +9 -300
  26. package/dist/{index-FamxGT0U.d.mts → index-Chy9aknK.d.mts} +10 -10
  27. package/dist/{index-DRTyhYK0.d.mts → index-CjyfQ_vQ.d.mts} +1 -1
  28. package/dist/{index-CtZODNBo.d.mts → index-CnXXq6sW.d.mts} +11 -11
  29. package/dist/{index-t9fTvyq6.d.mts → index-CtUTCAJ6.d.mts} +4 -4
  30. package/dist/{index-D6gaVj-T.d.mts → index-CvmWRumB.d.mts} +103 -103
  31. package/dist/{index-BHQXXd-O.d.mts → index-Cw84_Dqi.d.mts} +4 -4
  32. package/dist/{index-B0N0tFS-.d.mts → index-D43lQCHs.d.mts} +157 -157
  33. package/dist/{index-CzKLLQLw.d.mts → index-DUf47Jn_.d.mts} +8 -8
  34. package/dist/{index-DitLUuR5.d.mts → index-dkvGHN10.d.mts} +6 -6
  35. package/dist/kernel/extension/index.d.mts +1 -1
  36. package/dist/kernel/index.d.mts +2 -2
  37. package/dist/kernel/observability/index.d.mts +1 -1
  38. package/dist/{namespace-DGORv0pz.d.mts → namespace-BHliaabz.d.mts} +6 -6
  39. package/dist/{namespace-BeV7LST-.d.mts → namespace-BetqZA7Z.d.mts} +2 -2
  40. package/dist/{namespace-C_EIMKwg2.d.mts → namespace-BphMM6S82.d.mts} +24 -24
  41. package/dist/{namespace-DrPPxElg.d.mts → namespace-CI313bRv.d.mts} +22 -22
  42. package/dist/{namespace-8-GrdcbF.d.mts → namespace-CriPb5wY.d.mts} +20 -20
  43. package/dist/{namespace-CwGeWIRG.d.mts → namespace-zOfq1Uhn.d.mts} +36 -36
  44. package/dist/package.json +1 -1
  45. package/dist/{schema-CfMsufSb.d.mts → schema-BO9TgmOs.d.mts} +1 -1
  46. package/dist/{schemas-Bu4ZEJAD.d.mts → schemas-B5tMYfhC.d.mts} +4 -4
  47. package/dist/{schemas-oTIqxZN_.d.mts → schemas-BDC2Nqj1.d.mts} +13 -13
  48. package/dist/{schemas-DIQ9GUVX.d.mts → schemas-CbMWN9-z.d.mts} +22 -22
  49. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  50. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  51. package/dist/services/agent-runtime/index.d.mts +2 -2
  52. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  53. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  54. package/dist/services/context-rules/index.d.mts +3 -3
  55. package/dist/services/filesystem/namespace.d.mts +12 -12
  56. package/dist/services/filesystem/schemas.d.mts +6 -6
  57. package/dist/services/git/namespace.d.mts +2 -2
  58. package/dist/services/git/schemas.d.mts +2 -2
  59. package/dist/services/harness/index.d.mts +3 -3
  60. package/dist/services/index.d.mts +38 -38
  61. package/dist/services/provider-context/index.d.mts +1 -1
  62. package/dist/services/session/index.d.mts +6 -6
  63. package/dist/services/session/messages/namespace.d.mts +1 -1
  64. package/dist/services/session/session-events/namespace.d.mts +1 -1
  65. package/dist/services/session/storage/namespace.d.mts +1 -1
  66. package/dist/services/session/storage/schema.d.mts +1 -1
  67. package/dist/services/session-editor/index.d.mts +1 -1
  68. package/dist/services/settings/namespace.d.mts +10 -10
  69. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  70. package/dist/services/subagent-template/index.d.mts +2 -2
  71. package/dist/services/subagent-template/namespace.d.mts +1 -1
  72. package/dist/services/subagent-template/schemas.d.mts +1 -1
  73. package/dist/{transition-DWv5Abk6.d.mts → transition-BodgGLZx.d.mts} +1 -1
  74. package/dist/{types-CzTC6z8M.d.mts → types-Bzxo7ATi.d.mts} +73 -73
  75. package/dist/{types-BwEQ9ucW.d.mts → types-DVLq657Y.d.mts} +1 -1
  76. package/dist/{view-builder-Drp9dB59.d.mts → view-builder-tU7iaxrk.d.mts} +1 -1
  77. package/dist/workflow-engine/index.d.mts +85 -85
  78. package/package.json +1 -1
@@ -423,8 +423,8 @@ declare const SessionEventStorageNamespace$1: {
423
423
  }>>;
424
424
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
425
425
  text: "text";
426
- voice: "voice";
427
426
  compact: "compact";
427
+ voice: "voice";
428
428
  }>>;
429
429
  }, _$zod_v4_core0.$strip>;
430
430
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -548,8 +548,8 @@ declare const SessionEventStorageNamespace$1: {
548
548
  kind: _$zod.ZodEnum<{
549
549
  fork: "fork";
550
550
  subagent: "subagent";
551
- compress: "compress";
552
551
  branch: "branch";
552
+ compress: "compress";
553
553
  rewrite: "rewrite";
554
554
  coordinator: "coordinator";
555
555
  aside: "aside";
@@ -585,8 +585,8 @@ declare const SessionEventStorageNamespace$1: {
585
585
  type: _$zod.ZodLiteral<"locality.degraded">;
586
586
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
587
587
  intent: _$zod.ZodEnum<{
588
- fork: "fork";
589
588
  resume: "resume";
589
+ fork: "fork";
590
590
  }>;
591
591
  verdictKind: _$zod.ZodLiteral<"degrade">;
592
592
  reason: _$zod.ZodEnum<{
@@ -610,8 +610,8 @@ declare const SessionEventStorageNamespace$1: {
610
610
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
611
611
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
612
612
  intent: _$zod.ZodEnum<{
613
- fork: "fork";
614
613
  resume: "resume";
614
+ fork: "fork";
615
615
  }>;
616
616
  verdictKind: _$zod.ZodLiteral<"foreign">;
617
617
  foreignMachineId: _$zod.ZodString;
@@ -804,8 +804,8 @@ declare const SessionEventStorageNamespace$1: {
804
804
  }>>;
805
805
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
806
806
  text: "text";
807
- voice: "voice";
808
807
  compact: "compact";
808
+ voice: "voice";
809
809
  }>>;
810
810
  }, _$zod_v4_core0.$strip>;
811
811
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -929,8 +929,8 @@ declare const SessionEventStorageNamespace$1: {
929
929
  kind: _$zod.ZodEnum<{
930
930
  fork: "fork";
931
931
  subagent: "subagent";
932
- compress: "compress";
933
932
  branch: "branch";
933
+ compress: "compress";
934
934
  rewrite: "rewrite";
935
935
  coordinator: "coordinator";
936
936
  aside: "aside";
@@ -966,8 +966,8 @@ declare const SessionEventStorageNamespace$1: {
966
966
  type: _$zod.ZodLiteral<"locality.degraded">;
967
967
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
968
968
  intent: _$zod.ZodEnum<{
969
- fork: "fork";
970
969
  resume: "resume";
970
+ fork: "fork";
971
971
  }>;
972
972
  verdictKind: _$zod.ZodLiteral<"degrade">;
973
973
  reason: _$zod.ZodEnum<{
@@ -991,8 +991,8 @@ declare const SessionEventStorageNamespace$1: {
991
991
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
992
992
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
993
993
  intent: _$zod.ZodEnum<{
994
- fork: "fork";
995
994
  resume: "resume";
995
+ fork: "fork";
996
996
  }>;
997
997
  verdictKind: _$zod.ZodLiteral<"foreign">;
998
998
  foreignMachineId: _$zod.ZodString;
@@ -1175,8 +1175,8 @@ declare const SessionEventStorageNamespace$1: {
1175
1175
  }>>;
1176
1176
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
1177
1177
  text: "text";
1178
- voice: "voice";
1179
1178
  compact: "compact";
1179
+ voice: "voice";
1180
1180
  }>>;
1181
1181
  }, _$zod_v4_core0.$strip>;
1182
1182
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -1300,8 +1300,8 @@ declare const SessionEventStorageNamespace$1: {
1300
1300
  kind: _$zod.ZodEnum<{
1301
1301
  fork: "fork";
1302
1302
  subagent: "subagent";
1303
- compress: "compress";
1304
1303
  branch: "branch";
1304
+ compress: "compress";
1305
1305
  rewrite: "rewrite";
1306
1306
  coordinator: "coordinator";
1307
1307
  aside: "aside";
@@ -1337,8 +1337,8 @@ declare const SessionEventStorageNamespace$1: {
1337
1337
  type: _$zod.ZodLiteral<"locality.degraded">;
1338
1338
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1339
1339
  intent: _$zod.ZodEnum<{
1340
- fork: "fork";
1341
1340
  resume: "resume";
1341
+ fork: "fork";
1342
1342
  }>;
1343
1343
  verdictKind: _$zod.ZodLiteral<"degrade">;
1344
1344
  reason: _$zod.ZodEnum<{
@@ -1362,8 +1362,8 @@ declare const SessionEventStorageNamespace$1: {
1362
1362
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1363
1363
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1364
1364
  intent: _$zod.ZodEnum<{
1365
- fork: "fork";
1366
1365
  resume: "resume";
1366
+ fork: "fork";
1367
1367
  }>;
1368
1368
  verdictKind: _$zod.ZodLiteral<"foreign">;
1369
1369
  foreignMachineId: _$zod.ZodString;
@@ -1554,8 +1554,8 @@ declare const SessionEventStorageNamespace$1: {
1554
1554
  }>>;
1555
1555
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
1556
1556
  text: "text";
1557
- voice: "voice";
1558
1557
  compact: "compact";
1558
+ voice: "voice";
1559
1559
  }>>;
1560
1560
  }, _$zod_v4_core0.$strip>;
1561
1561
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -1679,8 +1679,8 @@ declare const SessionEventStorageNamespace$1: {
1679
1679
  kind: _$zod.ZodEnum<{
1680
1680
  fork: "fork";
1681
1681
  subagent: "subagent";
1682
- compress: "compress";
1683
1682
  branch: "branch";
1683
+ compress: "compress";
1684
1684
  rewrite: "rewrite";
1685
1685
  coordinator: "coordinator";
1686
1686
  aside: "aside";
@@ -1716,8 +1716,8 @@ declare const SessionEventStorageNamespace$1: {
1716
1716
  type: _$zod.ZodLiteral<"locality.degraded">;
1717
1717
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1718
1718
  intent: _$zod.ZodEnum<{
1719
- fork: "fork";
1720
1719
  resume: "resume";
1720
+ fork: "fork";
1721
1721
  }>;
1722
1722
  verdictKind: _$zod.ZodLiteral<"degrade">;
1723
1723
  reason: _$zod.ZodEnum<{
@@ -1741,8 +1741,8 @@ declare const SessionEventStorageNamespace$1: {
1741
1741
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1742
1742
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1743
1743
  intent: _$zod.ZodEnum<{
1744
- fork: "fork";
1745
1744
  resume: "resume";
1745
+ fork: "fork";
1746
1746
  }>;
1747
1747
  verdictKind: _$zod.ZodLiteral<"foreign">;
1748
1748
  foreignMachineId: _$zod.ZodString;
@@ -1921,8 +1921,8 @@ declare const SessionEventStorageNamespace$1: {
1921
1921
  }>>;
1922
1922
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
1923
1923
  text: "text";
1924
- voice: "voice";
1925
1924
  compact: "compact";
1925
+ voice: "voice";
1926
1926
  }>>;
1927
1927
  }, _$zod_v4_core0.$strip>;
1928
1928
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -2046,8 +2046,8 @@ declare const SessionEventStorageNamespace$1: {
2046
2046
  kind: _$zod.ZodEnum<{
2047
2047
  fork: "fork";
2048
2048
  subagent: "subagent";
2049
- compress: "compress";
2050
2049
  branch: "branch";
2050
+ compress: "compress";
2051
2051
  rewrite: "rewrite";
2052
2052
  coordinator: "coordinator";
2053
2053
  aside: "aside";
@@ -2083,8 +2083,8 @@ declare const SessionEventStorageNamespace$1: {
2083
2083
  type: _$zod.ZodLiteral<"locality.degraded">;
2084
2084
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2085
2085
  intent: _$zod.ZodEnum<{
2086
- fork: "fork";
2087
2086
  resume: "resume";
2087
+ fork: "fork";
2088
2088
  }>;
2089
2089
  verdictKind: _$zod.ZodLiteral<"degrade">;
2090
2090
  reason: _$zod.ZodEnum<{
@@ -2108,8 +2108,8 @@ declare const SessionEventStorageNamespace$1: {
2108
2108
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2109
2109
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2110
2110
  intent: _$zod.ZodEnum<{
2111
- fork: "fork";
2112
2111
  resume: "resume";
2112
+ fork: "fork";
2113
2113
  }>;
2114
2114
  verdictKind: _$zod.ZodLiteral<"foreign">;
2115
2115
  foreignMachineId: _$zod.ZodString;
@@ -2302,8 +2302,8 @@ declare const SessionEventStorageNamespace$1: {
2302
2302
  }>>;
2303
2303
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
2304
2304
  text: "text";
2305
- voice: "voice";
2306
2305
  compact: "compact";
2306
+ voice: "voice";
2307
2307
  }>>;
2308
2308
  }, _$zod_v4_core0.$strip>;
2309
2309
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -2427,8 +2427,8 @@ declare const SessionEventStorageNamespace$1: {
2427
2427
  kind: _$zod.ZodEnum<{
2428
2428
  fork: "fork";
2429
2429
  subagent: "subagent";
2430
- compress: "compress";
2431
2430
  branch: "branch";
2431
+ compress: "compress";
2432
2432
  rewrite: "rewrite";
2433
2433
  coordinator: "coordinator";
2434
2434
  aside: "aside";
@@ -2464,8 +2464,8 @@ declare const SessionEventStorageNamespace$1: {
2464
2464
  type: _$zod.ZodLiteral<"locality.degraded">;
2465
2465
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2466
2466
  intent: _$zod.ZodEnum<{
2467
- fork: "fork";
2468
2467
  resume: "resume";
2468
+ fork: "fork";
2469
2469
  }>;
2470
2470
  verdictKind: _$zod.ZodLiteral<"degrade">;
2471
2471
  reason: _$zod.ZodEnum<{
@@ -2489,8 +2489,8 @@ declare const SessionEventStorageNamespace$1: {
2489
2489
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2490
2490
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2491
2491
  intent: _$zod.ZodEnum<{
2492
- fork: "fork";
2493
2492
  resume: "resume";
2493
+ fork: "fork";
2494
2494
  }>;
2495
2495
  verdictKind: _$zod.ZodLiteral<"foreign">;
2496
2496
  foreignMachineId: _$zod.ZodString;
@@ -2673,8 +2673,8 @@ declare const SessionEventStorageNamespace$1: {
2673
2673
  }>>;
2674
2674
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
2675
2675
  text: "text";
2676
- voice: "voice";
2677
2676
  compact: "compact";
2677
+ voice: "voice";
2678
2678
  }>>;
2679
2679
  }, _$zod_v4_core0.$strip>;
2680
2680
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -2798,8 +2798,8 @@ declare const SessionEventStorageNamespace$1: {
2798
2798
  kind: _$zod.ZodEnum<{
2799
2799
  fork: "fork";
2800
2800
  subagent: "subagent";
2801
- compress: "compress";
2802
2801
  branch: "branch";
2802
+ compress: "compress";
2803
2803
  rewrite: "rewrite";
2804
2804
  coordinator: "coordinator";
2805
2805
  aside: "aside";
@@ -2835,8 +2835,8 @@ declare const SessionEventStorageNamespace$1: {
2835
2835
  type: _$zod.ZodLiteral<"locality.degraded">;
2836
2836
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2837
2837
  intent: _$zod.ZodEnum<{
2838
- fork: "fork";
2839
2838
  resume: "resume";
2839
+ fork: "fork";
2840
2840
  }>;
2841
2841
  verdictKind: _$zod.ZodLiteral<"degrade">;
2842
2842
  reason: _$zod.ZodEnum<{
@@ -2860,8 +2860,8 @@ declare const SessionEventStorageNamespace$1: {
2860
2860
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2861
2861
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2862
2862
  intent: _$zod.ZodEnum<{
2863
- fork: "fork";
2864
2863
  resume: "resume";
2864
+ fork: "fork";
2865
2865
  }>;
2866
2866
  verdictKind: _$zod.ZodLiteral<"foreign">;
2867
2867
  foreignMachineId: _$zod.ZodString;
@@ -3052,8 +3052,8 @@ declare const SessionEventStorageNamespace$1: {
3052
3052
  }>>;
3053
3053
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
3054
3054
  text: "text";
3055
- voice: "voice";
3056
3055
  compact: "compact";
3056
+ voice: "voice";
3057
3057
  }>>;
3058
3058
  }, _$zod_v4_core0.$strip>;
3059
3059
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
@@ -3177,8 +3177,8 @@ declare const SessionEventStorageNamespace$1: {
3177
3177
  kind: _$zod.ZodEnum<{
3178
3178
  fork: "fork";
3179
3179
  subagent: "subagent";
3180
- compress: "compress";
3181
3180
  branch: "branch";
3181
+ compress: "compress";
3182
3182
  rewrite: "rewrite";
3183
3183
  coordinator: "coordinator";
3184
3184
  aside: "aside";
@@ -3214,8 +3214,8 @@ declare const SessionEventStorageNamespace$1: {
3214
3214
  type: _$zod.ZodLiteral<"locality.degraded">;
3215
3215
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3216
3216
  intent: _$zod.ZodEnum<{
3217
- fork: "fork";
3218
3217
  resume: "resume";
3218
+ fork: "fork";
3219
3219
  }>;
3220
3220
  verdictKind: _$zod.ZodLiteral<"degrade">;
3221
3221
  reason: _$zod.ZodEnum<{
@@ -3239,8 +3239,8 @@ declare const SessionEventStorageNamespace$1: {
3239
3239
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3240
3240
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3241
3241
  intent: _$zod.ZodEnum<{
3242
- fork: "fork";
3243
3242
  resume: "resume";
3243
+ fork: "fork";
3244
3244
  }>;
3245
3245
  verdictKind: _$zod.ZodLiteral<"foreign">;
3246
3246
  foreignMachineId: _$zod.ZodString;
@@ -3402,7 +3402,7 @@ declare const SessionEventStorageNamespace$1: {
3402
3402
  };
3403
3403
  agentIds: string[];
3404
3404
  source?: "user" | "system" | "extension" | undefined;
3405
- origin?: "text" | "voice" | "compact" | undefined;
3405
+ origin?: "text" | "compact" | "voice" | undefined;
3406
3406
  };
3407
3407
  } | {
3408
3408
  sessionId: string;
@@ -3498,7 +3498,7 @@ declare const SessionEventStorageNamespace$1: {
3498
3498
  payload: {
3499
3499
  childSessionId: string;
3500
3500
  parentSessionId: string;
3501
- kind: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
3501
+ kind: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
3502
3502
  forkPointMessageId?: string | undefined;
3503
3503
  };
3504
3504
  } | {
@@ -3529,14 +3529,14 @@ declare const SessionEventStorageNamespace$1: {
3529
3529
  timestamp: number;
3530
3530
  type: "locality.degraded";
3531
3531
  payload: {
3532
- intent: "fork" | "resume";
3532
+ intent: "resume" | "fork";
3533
3533
  verdictKind: "degrade";
3534
3534
  reason: "adapter-unsupported" | "adapter-mismatch" | "no-adapter-session" | "missing-machine-id" | "machine-mismatch" | "cwd-mismatch" | "transforms-present" | "compression-present" | "connector-swap" | "mid-history-unsupported" | "hybrid-imported-orchestrated" | "native-attempt-failed" | "agent-already-started" | "fork-point-unresolvable";
3535
3535
  agentId?: string | undefined;
3536
3536
  adapterId?: string | undefined;
3537
3537
  turnId?: string | undefined;
3538
3538
  } | {
3539
- intent: "fork" | "resume";
3539
+ intent: "resume" | "fork";
3540
3540
  verdictKind: "foreign";
3541
3541
  foreignMachineId: string;
3542
3542
  agentId?: string | undefined;
package/dist/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1784707578477",
3
+ "version": "1.0.0-dev-1784889676396",
4
4
  "type": "module"
5
5
  }
@@ -385,7 +385,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
385
385
  tableName: "sessions";
386
386
  dataType: "string";
387
387
  columnType: "SQLiteText";
388
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
388
+ data: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
389
389
  driverParam: string;
390
390
  notNull: false;
391
391
  hasDefault: false;
@@ -20,13 +20,13 @@ declare const AdapterSubsystemSchemas: {
20
20
  displayName: z.ZodOptional<z.ZodString>;
21
21
  protocol: z.ZodOptional<z.ZodString>;
22
22
  clientId: z.ZodOptional<z.ZodString>;
23
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24
23
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
24
  label: z.ZodString;
26
25
  url: z.ZodString;
27
26
  }, z.core.$strict>>>;
28
27
  instructions: z.ZodOptional<z.ZodString>;
29
28
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
30
30
  name: z.ZodString;
31
31
  enabled: z.ZodBoolean;
32
32
  bindings: z.ZodArray<z.ZodObject<{
@@ -48,13 +48,13 @@ declare const AdapterSubsystemSchemas: {
48
48
  displayName: z.ZodOptional<z.ZodString>;
49
49
  protocol: z.ZodOptional<z.ZodString>;
50
50
  clientId: z.ZodOptional<z.ZodString>;
51
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
52
51
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
52
  label: z.ZodString;
54
53
  url: z.ZodString;
55
54
  }, z.core.$strict>>>;
56
55
  instructions: z.ZodOptional<z.ZodString>;
57
56
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
58
58
  name: z.ZodString;
59
59
  enabled: z.ZodBoolean;
60
60
  bindings: z.ZodArray<z.ZodObject<{
@@ -1719,13 +1719,13 @@ declare const AdapterSubsystemSchemas: {
1719
1719
  displayName: z.ZodOptional<z.ZodString>;
1720
1720
  protocol: z.ZodOptional<z.ZodString>;
1721
1721
  clientId: z.ZodOptional<z.ZodString>;
1722
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1723
1722
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1724
1723
  label: z.ZodString;
1725
1724
  url: z.ZodString;
1726
1725
  }, z.core.$strict>>>;
1727
1726
  instructions: z.ZodOptional<z.ZodString>;
1728
1727
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1728
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1729
1729
  name: z.ZodString;
1730
1730
  enabled: z.ZodBoolean;
1731
1731
  bindings: z.ZodArray<z.ZodObject<{
@@ -3124,13 +3124,13 @@ declare const AdapterFileConfigSchema: z.ZodObject<{
3124
3124
  displayName: z.ZodOptional<z.ZodString>;
3125
3125
  protocol: z.ZodOptional<z.ZodString>;
3126
3126
  clientId: z.ZodOptional<z.ZodString>;
3127
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3128
3127
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3129
3128
  label: z.ZodString;
3130
3129
  url: z.ZodString;
3131
3130
  }, z.core.$strict>>>;
3132
3131
  instructions: z.ZodOptional<z.ZodString>;
3133
3132
  providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3133
+ settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3134
3134
  name: z.ZodString;
3135
3135
  enabled: z.ZodBoolean;
3136
3136
  bindings: z.ZodArray<z.ZodObject<{
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
15
15
  model: z.ZodOptional<z.ZodString>;
16
16
  systemPrompt: z.ZodOptional<z.ZodString>;
17
17
  contextMode: z.ZodDefault<z.ZodEnum<{
18
- fork: "fork";
19
18
  fresh: "fresh";
19
+ fork: "fork";
20
20
  }>>;
21
21
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -45,16 +45,16 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
45
45
  declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
47
  enabled: z.ZodDefault<z.ZodBoolean>;
48
- adapterName: z.ZodString;
49
48
  providerConfigId: z.ZodOptional<z.ZodString>;
49
+ adapterName: z.ZodString;
50
50
  model: z.ZodOptional<z.ZodString>;
51
+ systemPrompt: z.ZodOptional<z.ZodString>;
51
52
  contextMode: z.ZodDefault<z.ZodEnum<{
52
- fork: "fork";
53
53
  fresh: "fresh";
54
+ fork: "fork";
54
55
  }>>;
55
56
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
57
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
- systemPrompt: z.ZodOptional<z.ZodString>;
58
58
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
69
69
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
70
70
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
71
71
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
72
- fork: "fork";
73
72
  fresh: "fresh";
73
+ fork: "fork";
74
74
  }>>>;
75
75
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
76
76
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
114
114
  model: z.ZodOptional<z.ZodString>;
115
115
  systemPrompt: z.ZodOptional<z.ZodString>;
116
116
  contextMode: z.ZodDefault<z.ZodEnum<{
117
- fork: "fork";
118
117
  fresh: "fresh";
118
+ fork: "fork";
119
119
  }>>;
120
120
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
121
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -130,16 +130,16 @@ declare const SubagentTemplateSettingsSchemas: {
130
130
  request: z.ZodObject<{
131
131
  name: z.ZodString;
132
132
  enabled: z.ZodDefault<z.ZodBoolean>;
133
- adapterName: z.ZodString;
134
133
  providerConfigId: z.ZodOptional<z.ZodString>;
134
+ adapterName: z.ZodString;
135
135
  model: z.ZodOptional<z.ZodString>;
136
+ systemPrompt: z.ZodOptional<z.ZodString>;
136
137
  contextMode: z.ZodDefault<z.ZodEnum<{
137
- fork: "fork";
138
138
  fresh: "fresh";
139
+ fork: "fork";
139
140
  }>>;
140
141
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
142
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
- systemPrompt: z.ZodOptional<z.ZodString>;
143
143
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
155
155
  model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
156
156
  systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
157
157
  contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
158
- fork: "fork";
159
158
  fresh: "fresh";
159
+ fork: "fork";
160
160
  }>>>;
161
161
  allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
162
162
  disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -191,9 +191,9 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
191
191
  status: z.ZodEnum<{
192
192
  completed: "completed";
193
193
  cancelled: "cancelled";
194
+ failed: "failed";
194
195
  running: "running";
195
196
  waiting_input: "waiting_input";
196
- failed: "failed";
197
197
  }>;
198
198
  createdAt: z.ZodString;
199
199
  }, z.core.$strip>;
@@ -222,9 +222,9 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
222
222
  status: z.ZodEnum<{
223
223
  completed: "completed";
224
224
  cancelled: "cancelled";
225
+ failed: "failed";
225
226
  running: "running";
226
227
  waiting_input: "waiting_input";
227
- failed: "failed";
228
228
  }>;
229
229
  result: z.ZodOptional<z.ZodString>;
230
230
  error: z.ZodOptional<z.ZodString>;
@@ -274,9 +274,9 @@ declare const SubagentTemplateKernelSchemas: {
274
274
  status: z.ZodEnum<{
275
275
  completed: "completed";
276
276
  cancelled: "cancelled";
277
+ failed: "failed";
277
278
  running: "running";
278
279
  waiting_input: "waiting_input";
279
- failed: "failed";
280
280
  }>;
281
281
  result: z.ZodOptional<z.ZodString>;
282
282
  error: z.ZodOptional<z.ZodString>;