@makaio/framework 1.0.0-dev-1784144891135 → 1.0.0-dev-1784154668798

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 (68) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +8192 -0
  3. package/dist/adapters/claude/index.mjs +3 -0
  4. package/dist/adapters/claude/testing.d.mts +17 -0
  5. package/dist/adapters/claude/testing.mjs +1 -0
  6. package/dist/{context-resolution-CE1o3wTv.d.mts → context-resolution-D5jHK1w-.d.mts} +12 -12
  7. package/dist/contracts/adapter/index.d.mts +2 -2
  8. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +2 -2
  10. package/dist/contracts/client/index.d.mts +1 -1
  11. package/dist/contracts/extension/index.d.mts +3 -3
  12. package/dist/contracts/facet/index.d.mts +1 -1
  13. package/dist/contracts/harness/index.d.mts +1 -1
  14. package/dist/contracts/index.d.mts +93 -93
  15. package/dist/contracts/materialization/index.d.mts +3 -3
  16. package/dist/contracts/session/index.d.mts +2 -2
  17. package/dist/contracts/shared/index.d.mts +1 -1
  18. package/dist/contracts/variant/index.d.mts +1 -1
  19. package/dist/contracts/workflow/index.d.mts +2 -2
  20. package/dist/{index-CxxqBc3y.d.mts → index-BM7u_OTo.d.mts} +91 -91
  21. package/dist/{index-BB5xeWrm.d.mts → index-BPBSMsc8.d.mts} +19 -19
  22. package/dist/{index-BjgfHTX4.d.mts → index-BdsuBxEz.d.mts} +4 -4
  23. package/dist/{index-BB6bmH1n.d.mts → index-BoCL9IHT.d.mts} +3 -3
  24. package/dist/{index-wP-qhIoT2.d.mts → index-CSyR9Fie2.d.mts} +1 -1
  25. package/dist/{index-BMmJJJmZ.d.mts → index-CrbFA2kp.d.mts} +11 -11
  26. package/dist/{index-BFAc9Mqw.d.mts → index-DD9inq5h.d.mts} +1 -1
  27. package/dist/{index-DnPJWaO7.d.mts → index-DE29b4QM.d.mts} +8 -8
  28. package/dist/{index-GmoTPQcx.d.mts → index-D_lLZ2dU.d.mts} +91 -91
  29. package/dist/{index-4WQgnxfO.d.mts → index-DoJRv-c3.d.mts} +91 -91
  30. package/dist/{index-DL1L6Pvw.d.mts → index-Du-AJm69.d.mts} +6 -6
  31. package/dist/{index-n9dy5seY.d.mts → index-XzetMf0e.d.mts} +10 -10
  32. package/dist/{index-DeLkAZZ2.d.mts → index-ZGPSCZdC.d.mts} +6 -6
  33. package/dist/{namespace-CbQ8hdd8.d.mts → namespace-Bldr5X64.d.mts} +2 -2
  34. package/dist/{namespace-CXoCX9u1.d.mts → namespace-Bogua97s.d.mts} +20 -20
  35. package/dist/{namespace-BQhnjUvN2.d.mts → namespace-C_phrzqu2.d.mts} +1 -1
  36. package/dist/{namespace-BF1FZKiV.d.mts → namespace-CpSZfHLv.d.mts} +27 -27
  37. package/dist/{namespace-Cv8zbqwY.d.mts → namespace-CzZmsumy.d.mts} +2 -2
  38. package/dist/package.json +1 -1
  39. package/dist/{schema-BwJf2zRN.d.mts → schema-DOPEco97.d.mts} +1 -1
  40. package/dist/{schemas-D6zcRPQo.d.mts → schemas-BLJ2k226.d.mts} +2 -2
  41. package/dist/{schemas-tF70HEfT.d.mts → schemas-Ca3BLPH5.d.mts} +17 -17
  42. package/dist/services/agent-runtime/index.d.mts +2 -2
  43. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  44. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  45. package/dist/services/context-rules/index.d.mts +3 -3
  46. package/dist/services/execution-target/index.d.mts +1 -1
  47. package/dist/services/filesystem/namespace.d.mts +12 -12
  48. package/dist/services/filesystem/schemas.d.mts +6 -6
  49. package/dist/services/git/namespace.d.mts +2 -2
  50. package/dist/services/git/schemas.d.mts +1 -1
  51. package/dist/services/harness/index.d.mts +3 -3
  52. package/dist/services/index.d.mts +26 -26
  53. package/dist/services/session/index.d.mts +5 -5
  54. package/dist/services/session/messages/namespace.d.mts +1 -1
  55. package/dist/services/session/session-events/namespace.d.mts +1 -1
  56. package/dist/services/session/storage/namespace.d.mts +1 -1
  57. package/dist/services/session/storage/schema.d.mts +1 -1
  58. package/dist/services/settings/namespace.d.mts +14 -14
  59. package/dist/services/subagent-template/index.d.mts +2 -2
  60. package/dist/services/subagent-template/namespace.d.mts +1 -1
  61. package/dist/services/subagent-template/schemas.d.mts +1 -1
  62. package/dist/{session-lineage-COFDOi7x.d.mts → session-lineage-CWlcOKBZ.d.mts} +1 -1
  63. package/dist/{transition-C9UOqw0W.d.mts → transition-CukPcOG5.d.mts} +1 -1
  64. package/dist/{types-he1s7Vd_.d.mts → types-DiZJnwN0.d.mts} +36 -36
  65. package/dist/ui-components/index.d.mts +4 -4
  66. package/dist/{view-builder-D75mQTa1.d.mts → view-builder-DQiA4wDH.d.mts} +4 -4
  67. package/dist/workflow-engine/index.d.mts +75 -75
  68. package/package.json +5 -1
@@ -202,7 +202,7 @@ declare const SessionStorageNamespace$1: {
202
202
  tableName: "sessions";
203
203
  dataType: "string";
204
204
  columnType: "SQLiteText";
205
- data: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
205
+ data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
206
206
  driverParam: string;
207
207
  notNull: false;
208
208
  hasDefault: false;
@@ -1073,8 +1073,8 @@ declare const SessionStorageNamespace$1: {
1073
1073
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1074
1074
  fork: "fork";
1075
1075
  subagent: "subagent";
1076
- branch: "branch";
1077
1076
  compress: "compress";
1077
+ branch: "branch";
1078
1078
  rewrite: "rewrite";
1079
1079
  coordinator: "coordinator";
1080
1080
  aside: "aside";
@@ -1195,8 +1195,8 @@ declare const SessionStorageNamespace$1: {
1195
1195
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1196
1196
  fork: "fork";
1197
1197
  subagent: "subagent";
1198
- branch: "branch";
1199
1198
  compress: "compress";
1199
+ branch: "branch";
1200
1200
  rewrite: "rewrite";
1201
1201
  coordinator: "coordinator";
1202
1202
  aside: "aside";
@@ -1342,8 +1342,8 @@ declare const SessionStorageNamespace$1: {
1342
1342
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1343
1343
  fork: "fork";
1344
1344
  subagent: "subagent";
1345
- branch: "branch";
1346
1345
  compress: "compress";
1346
+ branch: "branch";
1347
1347
  rewrite: "rewrite";
1348
1348
  coordinator: "coordinator";
1349
1349
  aside: "aside";
@@ -1425,8 +1425,8 @@ declare const SessionStorageNamespace$1: {
1425
1425
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
1426
1426
  fork: "fork";
1427
1427
  subagent: "subagent";
1428
- branch: "branch";
1429
1428
  compress: "compress";
1429
+ branch: "branch";
1430
1430
  rewrite: "rewrite";
1431
1431
  coordinator: "coordinator";
1432
1432
  aside: "aside";
@@ -1504,8 +1504,8 @@ declare const SessionStorageNamespace$1: {
1504
1504
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1505
1505
  fork: "fork";
1506
1506
  subagent: "subagent";
1507
- branch: "branch";
1508
1507
  compress: "compress";
1508
+ branch: "branch";
1509
1509
  rewrite: "rewrite";
1510
1510
  coordinator: "coordinator";
1511
1511
  aside: "aside";
@@ -1594,8 +1594,8 @@ declare const SessionStorageNamespace$1: {
1594
1594
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1595
1595
  fork: "fork";
1596
1596
  subagent: "subagent";
1597
- branch: "branch";
1598
1597
  compress: "compress";
1598
+ branch: "branch";
1599
1599
  rewrite: "rewrite";
1600
1600
  coordinator: "coordinator";
1601
1601
  aside: "aside";
@@ -1689,8 +1689,8 @@ declare const SessionStorageNamespace$1: {
1689
1689
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1690
1690
  fork: "fork";
1691
1691
  subagent: "subagent";
1692
- branch: "branch";
1693
1692
  compress: "compress";
1693
+ branch: "branch";
1694
1694
  rewrite: "rewrite";
1695
1695
  coordinator: "coordinator";
1696
1696
  aside: "aside";
@@ -1946,8 +1946,8 @@ declare const SessionStorageNamespace$1: {
1946
1946
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
1947
1947
  fork: "fork";
1948
1948
  subagent: "subagent";
1949
- branch: "branch";
1950
1949
  compress: "compress";
1950
+ branch: "branch";
1951
1951
  rewrite: "rewrite";
1952
1952
  coordinator: "coordinator";
1953
1953
  aside: "aside";
@@ -2075,8 +2075,8 @@ declare const SessionStorageNamespace$1: {
2075
2075
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2076
2076
  fork: "fork";
2077
2077
  subagent: "subagent";
2078
- branch: "branch";
2079
2078
  compress: "compress";
2079
+ branch: "branch";
2080
2080
  rewrite: "rewrite";
2081
2081
  coordinator: "coordinator";
2082
2082
  aside: "aside";
@@ -2225,8 +2225,8 @@ declare const SessionStorageNamespace$1: {
2225
2225
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2226
2226
  fork: "fork";
2227
2227
  subagent: "subagent";
2228
- branch: "branch";
2229
2228
  compress: "compress";
2229
+ branch: "branch";
2230
2230
  rewrite: "rewrite";
2231
2231
  coordinator: "coordinator";
2232
2232
  aside: "aside";
@@ -2347,8 +2347,8 @@ declare const SessionStorageNamespace$1: {
2347
2347
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2348
2348
  fork: "fork";
2349
2349
  subagent: "subagent";
2350
- branch: "branch";
2351
2350
  compress: "compress";
2351
+ branch: "branch";
2352
2352
  rewrite: "rewrite";
2353
2353
  coordinator: "coordinator";
2354
2354
  aside: "aside";
@@ -2494,8 +2494,8 @@ declare const SessionStorageNamespace$1: {
2494
2494
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2495
2495
  fork: "fork";
2496
2496
  subagent: "subagent";
2497
- branch: "branch";
2498
2497
  compress: "compress";
2498
+ branch: "branch";
2499
2499
  rewrite: "rewrite";
2500
2500
  coordinator: "coordinator";
2501
2501
  aside: "aside";
@@ -2577,8 +2577,8 @@ declare const SessionStorageNamespace$1: {
2577
2577
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
2578
2578
  fork: "fork";
2579
2579
  subagent: "subagent";
2580
- branch: "branch";
2581
2580
  compress: "compress";
2581
+ branch: "branch";
2582
2582
  rewrite: "rewrite";
2583
2583
  coordinator: "coordinator";
2584
2584
  aside: "aside";
@@ -2656,8 +2656,8 @@ declare const SessionStorageNamespace$1: {
2656
2656
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2657
2657
  fork: "fork";
2658
2658
  subagent: "subagent";
2659
- branch: "branch";
2660
2659
  compress: "compress";
2660
+ branch: "branch";
2661
2661
  rewrite: "rewrite";
2662
2662
  coordinator: "coordinator";
2663
2663
  aside: "aside";
@@ -2746,8 +2746,8 @@ declare const SessionStorageNamespace$1: {
2746
2746
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2747
2747
  fork: "fork";
2748
2748
  subagent: "subagent";
2749
- branch: "branch";
2750
2749
  compress: "compress";
2750
+ branch: "branch";
2751
2751
  rewrite: "rewrite";
2752
2752
  coordinator: "coordinator";
2753
2753
  aside: "aside";
@@ -2841,8 +2841,8 @@ declare const SessionStorageNamespace$1: {
2841
2841
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
2842
2842
  fork: "fork";
2843
2843
  subagent: "subagent";
2844
- branch: "branch";
2845
2844
  compress: "compress";
2845
+ branch: "branch";
2846
2846
  rewrite: "rewrite";
2847
2847
  coordinator: "coordinator";
2848
2848
  aside: "aside";
@@ -3098,8 +3098,8 @@ declare const SessionStorageNamespace$1: {
3098
3098
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
3099
3099
  fork: "fork";
3100
3100
  subagent: "subagent";
3101
- branch: "branch";
3102
3101
  compress: "compress";
3102
+ branch: "branch";
3103
3103
  rewrite: "rewrite";
3104
3104
  coordinator: "coordinator";
3105
3105
  aside: "aside";
@@ -3227,8 +3227,8 @@ declare const SessionStorageNamespace$1: {
3227
3227
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
3228
3228
  fork: "fork";
3229
3229
  subagent: "subagent";
3230
- branch: "branch";
3231
3230
  compress: "compress";
3231
+ branch: "branch";
3232
3232
  rewrite: "rewrite";
3233
3233
  coordinator: "coordinator";
3234
3234
  aside: "aside";
@@ -3357,7 +3357,7 @@ declare const SessionStorageNamespace$1: {
3357
3357
  contextInheritance?: "none" | "parent-history" | undefined;
3358
3358
  rootSessionId?: string | undefined;
3359
3359
  forkPointMessageId?: string | undefined;
3360
- branchKind?: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside" | undefined;
3360
+ branchKind?: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside" | undefined;
3361
3361
  adapterName?: string | undefined;
3362
3362
  adapterSessionId?: string | undefined;
3363
3363
  adapterId?: string | undefined;
@@ -2032,8 +2032,8 @@ declare const MessageStorageNamespace$1: {
2032
2032
  agentId: never;
2033
2033
  adapterSessionId: never;
2034
2034
  turnId: string | null;
2035
- timestamp: number;
2036
2035
  limit: never;
2036
+ timestamp: number;
2037
2037
  query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
@@ -546,8 +546,8 @@ declare const SessionEventStorageNamespace$1: {
546
546
  kind: _$zod.ZodEnum<{
547
547
  fork: "fork";
548
548
  subagent: "subagent";
549
- branch: "branch";
550
549
  compress: "compress";
550
+ branch: "branch";
551
551
  rewrite: "rewrite";
552
552
  coordinator: "coordinator";
553
553
  aside: "aside";
@@ -583,8 +583,8 @@ declare const SessionEventStorageNamespace$1: {
583
583
  type: _$zod.ZodLiteral<"locality.degraded">;
584
584
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
585
585
  intent: _$zod.ZodEnum<{
586
- fork: "fork";
587
586
  resume: "resume";
587
+ fork: "fork";
588
588
  }>;
589
589
  verdictKind: _$zod.ZodLiteral<"degrade">;
590
590
  reason: _$zod.ZodEnum<{
@@ -608,8 +608,8 @@ declare const SessionEventStorageNamespace$1: {
608
608
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
609
609
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
610
610
  intent: _$zod.ZodEnum<{
611
- fork: "fork";
612
611
  resume: "resume";
612
+ fork: "fork";
613
613
  }>;
614
614
  verdictKind: _$zod.ZodLiteral<"foreign">;
615
615
  foreignMachineId: _$zod.ZodString;
@@ -925,8 +925,8 @@ declare const SessionEventStorageNamespace$1: {
925
925
  kind: _$zod.ZodEnum<{
926
926
  fork: "fork";
927
927
  subagent: "subagent";
928
- branch: "branch";
929
928
  compress: "compress";
929
+ branch: "branch";
930
930
  rewrite: "rewrite";
931
931
  coordinator: "coordinator";
932
932
  aside: "aside";
@@ -962,8 +962,8 @@ declare const SessionEventStorageNamespace$1: {
962
962
  type: _$zod.ZodLiteral<"locality.degraded">;
963
963
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
964
964
  intent: _$zod.ZodEnum<{
965
- fork: "fork";
966
965
  resume: "resume";
966
+ fork: "fork";
967
967
  }>;
968
968
  verdictKind: _$zod.ZodLiteral<"degrade">;
969
969
  reason: _$zod.ZodEnum<{
@@ -987,8 +987,8 @@ declare const SessionEventStorageNamespace$1: {
987
987
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
988
988
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
989
989
  intent: _$zod.ZodEnum<{
990
- fork: "fork";
991
990
  resume: "resume";
991
+ fork: "fork";
992
992
  }>;
993
993
  verdictKind: _$zod.ZodLiteral<"foreign">;
994
994
  foreignMachineId: _$zod.ZodString;
@@ -1294,8 +1294,8 @@ declare const SessionEventStorageNamespace$1: {
1294
1294
  kind: _$zod.ZodEnum<{
1295
1295
  fork: "fork";
1296
1296
  subagent: "subagent";
1297
- branch: "branch";
1298
1297
  compress: "compress";
1298
+ branch: "branch";
1299
1299
  rewrite: "rewrite";
1300
1300
  coordinator: "coordinator";
1301
1301
  aside: "aside";
@@ -1331,8 +1331,8 @@ declare const SessionEventStorageNamespace$1: {
1331
1331
  type: _$zod.ZodLiteral<"locality.degraded">;
1332
1332
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1333
1333
  intent: _$zod.ZodEnum<{
1334
- fork: "fork";
1335
1334
  resume: "resume";
1335
+ fork: "fork";
1336
1336
  }>;
1337
1337
  verdictKind: _$zod.ZodLiteral<"degrade">;
1338
1338
  reason: _$zod.ZodEnum<{
@@ -1356,8 +1356,8 @@ declare const SessionEventStorageNamespace$1: {
1356
1356
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1357
1357
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1358
1358
  intent: _$zod.ZodEnum<{
1359
- fork: "fork";
1360
1359
  resume: "resume";
1360
+ fork: "fork";
1361
1361
  }>;
1362
1362
  verdictKind: _$zod.ZodLiteral<"foreign">;
1363
1363
  foreignMachineId: _$zod.ZodString;
@@ -1671,8 +1671,8 @@ declare const SessionEventStorageNamespace$1: {
1671
1671
  kind: _$zod.ZodEnum<{
1672
1672
  fork: "fork";
1673
1673
  subagent: "subagent";
1674
- branch: "branch";
1675
1674
  compress: "compress";
1675
+ branch: "branch";
1676
1676
  rewrite: "rewrite";
1677
1677
  coordinator: "coordinator";
1678
1678
  aside: "aside";
@@ -1708,8 +1708,8 @@ declare const SessionEventStorageNamespace$1: {
1708
1708
  type: _$zod.ZodLiteral<"locality.degraded">;
1709
1709
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1710
1710
  intent: _$zod.ZodEnum<{
1711
- fork: "fork";
1712
1711
  resume: "resume";
1712
+ fork: "fork";
1713
1713
  }>;
1714
1714
  verdictKind: _$zod.ZodLiteral<"degrade">;
1715
1715
  reason: _$zod.ZodEnum<{
@@ -1733,8 +1733,8 @@ declare const SessionEventStorageNamespace$1: {
1733
1733
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1734
1734
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1735
1735
  intent: _$zod.ZodEnum<{
1736
- fork: "fork";
1737
1736
  resume: "resume";
1737
+ fork: "fork";
1738
1738
  }>;
1739
1739
  verdictKind: _$zod.ZodLiteral<"foreign">;
1740
1740
  foreignMachineId: _$zod.ZodString;
@@ -2036,8 +2036,8 @@ declare const SessionEventStorageNamespace$1: {
2036
2036
  kind: _$zod.ZodEnum<{
2037
2037
  fork: "fork";
2038
2038
  subagent: "subagent";
2039
- branch: "branch";
2040
2039
  compress: "compress";
2040
+ branch: "branch";
2041
2041
  rewrite: "rewrite";
2042
2042
  coordinator: "coordinator";
2043
2043
  aside: "aside";
@@ -2073,8 +2073,8 @@ declare const SessionEventStorageNamespace$1: {
2073
2073
  type: _$zod.ZodLiteral<"locality.degraded">;
2074
2074
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2075
2075
  intent: _$zod.ZodEnum<{
2076
- fork: "fork";
2077
2076
  resume: "resume";
2077
+ fork: "fork";
2078
2078
  }>;
2079
2079
  verdictKind: _$zod.ZodLiteral<"degrade">;
2080
2080
  reason: _$zod.ZodEnum<{
@@ -2098,8 +2098,8 @@ declare const SessionEventStorageNamespace$1: {
2098
2098
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2099
2099
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2100
2100
  intent: _$zod.ZodEnum<{
2101
- fork: "fork";
2102
2101
  resume: "resume";
2102
+ fork: "fork";
2103
2103
  }>;
2104
2104
  verdictKind: _$zod.ZodLiteral<"foreign">;
2105
2105
  foreignMachineId: _$zod.ZodString;
@@ -2415,8 +2415,8 @@ declare const SessionEventStorageNamespace$1: {
2415
2415
  kind: _$zod.ZodEnum<{
2416
2416
  fork: "fork";
2417
2417
  subagent: "subagent";
2418
- branch: "branch";
2419
2418
  compress: "compress";
2419
+ branch: "branch";
2420
2420
  rewrite: "rewrite";
2421
2421
  coordinator: "coordinator";
2422
2422
  aside: "aside";
@@ -2452,8 +2452,8 @@ declare const SessionEventStorageNamespace$1: {
2452
2452
  type: _$zod.ZodLiteral<"locality.degraded">;
2453
2453
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2454
2454
  intent: _$zod.ZodEnum<{
2455
- fork: "fork";
2456
2455
  resume: "resume";
2456
+ fork: "fork";
2457
2457
  }>;
2458
2458
  verdictKind: _$zod.ZodLiteral<"degrade">;
2459
2459
  reason: _$zod.ZodEnum<{
@@ -2477,8 +2477,8 @@ declare const SessionEventStorageNamespace$1: {
2477
2477
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2478
2478
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2479
2479
  intent: _$zod.ZodEnum<{
2480
- fork: "fork";
2481
2480
  resume: "resume";
2481
+ fork: "fork";
2482
2482
  }>;
2483
2483
  verdictKind: _$zod.ZodLiteral<"foreign">;
2484
2484
  foreignMachineId: _$zod.ZodString;
@@ -2784,8 +2784,8 @@ declare const SessionEventStorageNamespace$1: {
2784
2784
  kind: _$zod.ZodEnum<{
2785
2785
  fork: "fork";
2786
2786
  subagent: "subagent";
2787
- branch: "branch";
2788
2787
  compress: "compress";
2788
+ branch: "branch";
2789
2789
  rewrite: "rewrite";
2790
2790
  coordinator: "coordinator";
2791
2791
  aside: "aside";
@@ -2821,8 +2821,8 @@ declare const SessionEventStorageNamespace$1: {
2821
2821
  type: _$zod.ZodLiteral<"locality.degraded">;
2822
2822
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2823
2823
  intent: _$zod.ZodEnum<{
2824
- fork: "fork";
2825
2824
  resume: "resume";
2825
+ fork: "fork";
2826
2826
  }>;
2827
2827
  verdictKind: _$zod.ZodLiteral<"degrade">;
2828
2828
  reason: _$zod.ZodEnum<{
@@ -2846,8 +2846,8 @@ declare const SessionEventStorageNamespace$1: {
2846
2846
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2847
2847
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2848
2848
  intent: _$zod.ZodEnum<{
2849
- fork: "fork";
2850
2849
  resume: "resume";
2850
+ fork: "fork";
2851
2851
  }>;
2852
2852
  verdictKind: _$zod.ZodLiteral<"foreign">;
2853
2853
  foreignMachineId: _$zod.ZodString;
@@ -3161,8 +3161,8 @@ declare const SessionEventStorageNamespace$1: {
3161
3161
  kind: _$zod.ZodEnum<{
3162
3162
  fork: "fork";
3163
3163
  subagent: "subagent";
3164
- branch: "branch";
3165
3164
  compress: "compress";
3165
+ branch: "branch";
3166
3166
  rewrite: "rewrite";
3167
3167
  coordinator: "coordinator";
3168
3168
  aside: "aside";
@@ -3198,8 +3198,8 @@ declare const SessionEventStorageNamespace$1: {
3198
3198
  type: _$zod.ZodLiteral<"locality.degraded">;
3199
3199
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3200
3200
  intent: _$zod.ZodEnum<{
3201
- fork: "fork";
3202
3201
  resume: "resume";
3202
+ fork: "fork";
3203
3203
  }>;
3204
3204
  verdictKind: _$zod.ZodLiteral<"degrade">;
3205
3205
  reason: _$zod.ZodEnum<{
@@ -3223,8 +3223,8 @@ declare const SessionEventStorageNamespace$1: {
3223
3223
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3224
3224
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3225
3225
  intent: _$zod.ZodEnum<{
3226
- fork: "fork";
3227
3226
  resume: "resume";
3227
+ fork: "fork";
3228
3228
  }>;
3229
3229
  verdictKind: _$zod.ZodLiteral<"foreign">;
3230
3230
  foreignMachineId: _$zod.ZodString;
@@ -3480,7 +3480,7 @@ declare const SessionEventStorageNamespace$1: {
3480
3480
  payload: {
3481
3481
  childSessionId: string;
3482
3482
  parentSessionId: string;
3483
- kind: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
3483
+ kind: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
3484
3484
  forkPointMessageId?: string | undefined;
3485
3485
  };
3486
3486
  } | {
@@ -3511,14 +3511,14 @@ declare const SessionEventStorageNamespace$1: {
3511
3511
  timestamp: number;
3512
3512
  type: "locality.degraded";
3513
3513
  payload: {
3514
- intent: "fork" | "resume";
3514
+ intent: "resume" | "fork";
3515
3515
  verdictKind: "degrade";
3516
3516
  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";
3517
3517
  agentId?: string | undefined;
3518
3518
  adapterId?: string | undefined;
3519
3519
  turnId?: string | undefined;
3520
3520
  } | {
3521
- intent: "fork" | "resume";
3521
+ intent: "resume" | "fork";
3522
3522
  verdictKind: "foreign";
3523
3523
  foreignMachineId: string;
3524
3524
  agentId?: string | undefined;
@@ -37,9 +37,9 @@ declare const SubagentTemplateKernelNamespace: _$_makaio_core0.BusNamespaceDefin
37
37
  status: _$zod.ZodEnum<{
38
38
  completed: "completed";
39
39
  cancelled: "cancelled";
40
+ failed: "failed";
40
41
  running: "running";
41
42
  waiting_input: "waiting_input";
42
- failed: "failed";
43
43
  }>;
44
44
  result: _$zod.ZodOptional<_$zod.ZodString>;
45
45
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -101,9 +101,9 @@ declare const SubagentTemplateSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
101
101
  status: _$zod.ZodEnum<{
102
102
  completed: "completed";
103
103
  cancelled: "cancelled";
104
+ failed: "failed";
104
105
  running: "running";
105
106
  waiting_input: "waiting_input";
106
- failed: "failed";
107
107
  }>;
108
108
  result: _$zod.ZodOptional<_$zod.ZodString>;
109
109
  error: _$zod.ZodOptional<_$zod.ZodString>;
package/dist/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1784144891135",
3
+ "version": "1.0.0-dev-1784154668798",
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" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
388
+ data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
389
389
  driverParam: string;
390
390
  notNull: false;
391
391
  hasDefault: false;
@@ -425,9 +425,9 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
425
425
  status: z.ZodEnum<{
426
426
  completed: "completed";
427
427
  cancelled: "cancelled";
428
+ failed: "failed";
428
429
  running: "running";
429
430
  waiting_input: "waiting_input";
430
- failed: "failed";
431
431
  }>;
432
432
  result: z.ZodOptional<z.ZodString>;
433
433
  error: z.ZodOptional<z.ZodString>;
@@ -888,9 +888,9 @@ declare const AgentRuntimeSchemas: {
888
888
  status: z.ZodEnum<{
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
+ failed: "failed";
891
892
  running: "running";
892
893
  waiting_input: "waiting_input";
893
- failed: "failed";
894
894
  }>;
895
895
  result: z.ZodOptional<z.ZodString>;
896
896
  error: z.ZodOptional<z.ZodString>;
@@ -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>>;
@@ -48,14 +48,14 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
48
48
  adapterName: z.ZodString;
49
49
  providerConfigId: z.ZodOptional<z.ZodString>;
50
50
  model: z.ZodOptional<z.ZodString>;
51
+ systemPrompt: z.ZodOptional<z.ZodString>;
52
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
55
  contextMode: z.ZodDefault<z.ZodEnum<{
52
- fork: "fork";
53
56
  fresh: "fresh";
57
+ fork: "fork";
54
58
  }>>;
55
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
- systemPrompt: z.ZodOptional<z.ZodString>;
58
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -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>>;
@@ -133,14 +133,14 @@ declare const SubagentTemplateSettingsSchemas: {
133
133
  adapterName: z.ZodString;
134
134
  providerConfigId: z.ZodOptional<z.ZodString>;
135
135
  model: z.ZodOptional<z.ZodString>;
136
+ systemPrompt: z.ZodOptional<z.ZodString>;
137
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
140
  contextMode: z.ZodDefault<z.ZodEnum<{
137
- fork: "fork";
138
141
  fresh: "fresh";
142
+ fork: "fork";
139
143
  }>>;
140
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
- systemPrompt: z.ZodOptional<z.ZodString>;
143
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -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>;
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-D6zcRPQo.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CbQ8hdd8.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-BLJ2k226.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Bldr5X64.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CbQ8hdd8.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Bldr5X64.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-D6zcRPQo.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-BLJ2k226.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };