@makaio/framework 1.0.0-dev-1781354548379 → 1.0.0-dev-1781367632837

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 (82) hide show
  1. package/README.md +1 -1
  2. package/dist/.makaio-build.json +2 -2
  3. package/dist/adapter-subsystem/index.d.mts +493 -0
  4. package/dist/adapter-subsystem/index.mjs +1 -0
  5. package/dist/adapters/index.d.mts +1 -1
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +1 -1
  8. package/dist/contracts/config/index.d.mts +6 -6
  9. package/dist/contracts/extension/index.d.mts +2 -2
  10. package/dist/contracts/index.d.mts +55 -55
  11. package/dist/contracts/provider/index.d.mts +1 -1
  12. package/dist/contracts/session/index.d.mts +2 -2
  13. package/dist/inbound-hooks/index.d.mts +174 -0
  14. package/dist/inbound-hooks/index.mjs +1 -0
  15. package/dist/{index-DrGLAuZc.d.mts → index-7EPRy0nT.d.mts} +16 -16
  16. package/dist/{index-BHzgDuRE.d.mts → index-B7uYo0C6.d.mts} +3 -3
  17. package/dist/{index-BHAOu6Hs.d.mts → index-BFuke0jw.d.mts} +14 -14
  18. package/dist/{index-CH5U3zSA2.d.mts → index-BfUq8fO52.d.mts} +1 -1
  19. package/dist/{index-Buo9H8RK.d.mts → index-COPhs8Ay.d.mts} +1 -1
  20. package/dist/{index-CTn_Xi-p.d.mts → index-CcBAFO-1.d.mts} +2 -2
  21. package/dist/{index-BpniJgxu.d.mts → index-CncH-7wf.d.mts} +16 -16
  22. package/dist/{index-Da4ABgRq.d.mts → index-DdZ9PDEE.d.mts} +12 -12
  23. package/dist/{index-BDRKAxIV.d.mts → index-dAjtejnc.d.mts} +2 -2
  24. package/dist/{index-DPIdX6kb.d.mts → index-qGJoNJon.d.mts} +113 -113
  25. package/dist/kernel/extension/index.d.mts +1 -1
  26. package/dist/kernel/index.d.mts +2 -2
  27. package/dist/kernel/observability/index.d.mts +1 -1
  28. package/dist/{namespace-CHMszppN.d.mts → namespace-6OzA9SwY.d.mts} +26 -26
  29. package/dist/{namespace-CqUGzG53.d.mts → namespace-Bx40zNgT.d.mts} +2 -2
  30. package/dist/{namespace-Boe6l5n9.d.mts → namespace-Cq8ScJGp.d.mts} +58 -58
  31. package/dist/{namespace-B73Sxj5L.d.mts → namespace-DI9_OYOU.d.mts} +6 -6
  32. package/dist/{namespace-BBVtD1gu.d.mts → namespace-Do0AUzwu.d.mts} +6 -6
  33. package/dist/package.json +1 -1
  34. package/dist/runtime-node/index.d.mts +8 -59
  35. package/dist/runtime-node/index.mjs +26 -26
  36. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  37. package/dist/{schema-DGMLvVoQ.d.mts → schema-C-yfxlRI.d.mts} +2 -2
  38. package/dist/{schemas-B5ToLwIs.d.mts → schemas-CJYNpT6v.d.mts} +6 -6
  39. package/dist/{schemas-lqvZ6UpK.d.mts → schemas-CW0h1h6l.d.mts} +3 -3
  40. package/dist/{schemas-kVcJMjjn2.d.mts → schemas-DtJWNKZ_2.d.mts} +6 -6
  41. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  42. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  43. package/dist/services/context-rules/index.d.mts +3 -3
  44. package/dist/services/execution-target/index.d.mts +2 -2
  45. package/dist/services/execution-target/namespace.d.mts +1 -1
  46. package/dist/services/execution-target/schemas.d.mts +1 -1
  47. package/dist/services/filesystem/namespace.d.mts +6 -6
  48. package/dist/services/filesystem/schemas.d.mts +3 -3
  49. package/dist/services/index.d.mts +41 -41
  50. package/dist/services/session/index.d.mts +4 -4
  51. package/dist/services/session/messages/namespace.d.mts +1 -1
  52. package/dist/services/session/storage/namespace.d.mts +1 -1
  53. package/dist/services/session/storage/schema.d.mts +1 -1
  54. package/dist/services/settings/namespace.d.mts +6 -6
  55. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  56. package/dist/services/subagent-template/index.d.mts +1 -1
  57. package/dist/services/subagent-template/schemas.d.mts +1 -1
  58. package/dist/services/tray-menu/index.d.mts +2 -2
  59. package/dist/services/tray-menu/namespace.d.mts +1 -1
  60. package/dist/services/tray-menu/schemas.d.mts +1 -1
  61. package/dist/{types-BpuLMR2m.d.mts → types-BOuU-0Vs.d.mts} +36 -36
  62. package/dist/workflow-engine/index.d.mts +37 -37
  63. package/package.json +9 -1
  64. package/dist/drizzle/0001_messages_content_tsv.na.md +0 -18
  65. package/dist/drizzle/meta/0000_snapshot.json +0 -2813
  66. package/dist/drizzle/meta/0001_snapshot.json +0 -2820
  67. package/dist/drizzle/meta/0002_snapshot.json +0 -2827
  68. package/dist/drizzle/meta/0003_snapshot.json +0 -2834
  69. package/dist/drizzle/meta/0004_snapshot.json +0 -2842
  70. package/dist/drizzle/meta/0005_snapshot.json +0 -2849
  71. package/dist/drizzle/meta/0006_snapshot.json +0 -2865
  72. package/dist/drizzle/meta/0007_snapshot.json +0 -2879
  73. package/dist/drizzle/meta/0008_snapshot.json +0 -2886
  74. package/dist/drizzle/meta/0009_snapshot.json +0 -2901
  75. package/dist/drizzle/meta/0010_snapshot.json +0 -2908
  76. package/dist/drizzle/meta/0011_snapshot.json +0 -2915
  77. package/dist/drizzle/meta/0012_snapshot.json +0 -2934
  78. package/dist/drizzle/meta/0013_snapshot.json +0 -2954
  79. package/dist/drizzle/meta/0014_snapshot.json +0 -2959
  80. package/dist/drizzle/meta/0015_snapshot.json +0 -2966
  81. package/dist/drizzle/meta/0016_snapshot.json +0 -2973
  82. package/dist/drizzle/meta/0017_snapshot.json +0 -2980
@@ -87,7 +87,7 @@ declare const SessionStorageNamespace$1: {
87
87
  tableName: "sessions";
88
88
  dataType: "string";
89
89
  columnType: "SQLiteText";
90
- data: "closed" | "discovered" | "active" | "archived";
90
+ data: "active" | "archived" | "closed" | "discovered";
91
91
  driverParam: string;
92
92
  notNull: true;
93
93
  hasDefault: false;
@@ -903,7 +903,7 @@ declare const SessionStorageNamespace$1: {
903
903
  tableName: "agents";
904
904
  dataType: "string";
905
905
  columnType: "SQLiteText";
906
- data: "idle" | "active" | "dead" | "disposed";
906
+ data: "active" | "idle" | "dead" | "disposed";
907
907
  driverParam: string;
908
908
  notNull: true;
909
909
  hasDefault: false;
@@ -992,8 +992,8 @@ declare const SessionStorageNamespace$1: {
992
992
  member: "member";
993
993
  }>;
994
994
  status: _$zod.ZodEnum<{
995
- idle: "idle";
996
995
  active: "active";
996
+ idle: "idle";
997
997
  dead: "dead";
998
998
  disposed: "disposed";
999
999
  }>;
@@ -1001,10 +1001,10 @@ declare const SessionStorageNamespace$1: {
1001
1001
  lastActivityAt: _$zod.ZodNumber;
1002
1002
  }, _$zod_v4_core0.$strip>>;
1003
1003
  status: _$zod.ZodEnum<{
1004
- closed: "closed";
1005
- discovered: "discovered";
1006
1004
  active: "active";
1007
1005
  archived: "archived";
1006
+ closed: "closed";
1007
+ discovered: "discovered";
1008
1008
  }>;
1009
1009
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1010
1010
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1111,8 +1111,8 @@ declare const SessionStorageNamespace$1: {
1111
1111
  member: "member";
1112
1112
  }>;
1113
1113
  status: _$zod.ZodEnum<{
1114
- idle: "idle";
1115
1114
  active: "active";
1115
+ idle: "idle";
1116
1116
  dead: "dead";
1117
1117
  disposed: "disposed";
1118
1118
  }>;
@@ -1120,10 +1120,10 @@ declare const SessionStorageNamespace$1: {
1120
1120
  lastActivityAt: _$zod.ZodNumber;
1121
1121
  }, _$zod_v4_core0.$strip>>;
1122
1122
  status: _$zod.ZodEnum<{
1123
- closed: "closed";
1124
- discovered: "discovered";
1125
1123
  active: "active";
1126
1124
  archived: "archived";
1125
+ closed: "closed";
1126
+ discovered: "discovered";
1127
1127
  }>;
1128
1128
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1129
1129
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1216,10 +1216,10 @@ declare const SessionStorageNamespace$1: {
1216
1216
  request: _$zod.ZodObject<{
1217
1217
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1218
1218
  all: "all";
1219
- closed: "closed";
1220
- discovered: "discovered";
1221
1219
  active: "active";
1222
1220
  archived: "archived";
1221
+ closed: "closed";
1222
+ discovered: "discovered";
1223
1223
  }>>;
1224
1224
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1225
1225
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -1255,8 +1255,8 @@ declare const SessionStorageNamespace$1: {
1255
1255
  member: "member";
1256
1256
  }>;
1257
1257
  status: _$zod.ZodEnum<{
1258
- idle: "idle";
1259
1258
  active: "active";
1259
+ idle: "idle";
1260
1260
  dead: "dead";
1261
1261
  disposed: "disposed";
1262
1262
  }>;
@@ -1264,10 +1264,10 @@ declare const SessionStorageNamespace$1: {
1264
1264
  lastActivityAt: _$zod.ZodNumber;
1265
1265
  }, _$zod_v4_core0.$strip>>;
1266
1266
  status: _$zod.ZodEnum<{
1267
- closed: "closed";
1268
- discovered: "discovered";
1269
1267
  active: "active";
1270
1268
  archived: "archived";
1269
+ closed: "closed";
1270
+ discovered: "discovered";
1271
1271
  }>;
1272
1272
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1273
1273
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1378,10 +1378,10 @@ declare const SessionStorageNamespace$1: {
1378
1378
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1379
1379
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1380
1380
  all: "all";
1381
- closed: "closed";
1382
- discovered: "discovered";
1383
1381
  active: "active";
1384
1382
  archived: "archived";
1383
+ closed: "closed";
1384
+ discovered: "discovered";
1385
1385
  }>>;
1386
1386
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
1387
1387
  }, _$zod_v4_core0.$strip>;
@@ -1414,8 +1414,8 @@ declare const SessionStorageNamespace$1: {
1414
1414
  member: "member";
1415
1415
  }>;
1416
1416
  status: _$zod.ZodEnum<{
1417
- idle: "idle";
1418
1417
  active: "active";
1418
+ idle: "idle";
1419
1419
  dead: "dead";
1420
1420
  disposed: "disposed";
1421
1421
  }>;
@@ -1423,10 +1423,10 @@ declare const SessionStorageNamespace$1: {
1423
1423
  lastActivityAt: _$zod.ZodNumber;
1424
1424
  }, _$zod_v4_core0.$strip>>;
1425
1425
  status: _$zod.ZodEnum<{
1426
- closed: "closed";
1427
- discovered: "discovered";
1428
1426
  active: "active";
1429
1427
  archived: "archived";
1428
+ closed: "closed";
1429
+ discovered: "discovered";
1430
1430
  }>;
1431
1431
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1432
1432
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1511,10 +1511,10 @@ declare const SessionStorageNamespace$1: {
1511
1511
  request: _$zod.ZodObject<{
1512
1512
  sessionId: _$zod.ZodString;
1513
1513
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1514
- closed: "closed";
1515
- discovered: "discovered";
1516
1514
  active: "active";
1517
1515
  archived: "archived";
1516
+ closed: "closed";
1517
+ discovered: "discovered";
1518
1518
  }>>;
1519
1519
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1520
1520
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1594,8 +1594,8 @@ declare const SessionStorageNamespace$1: {
1594
1594
  member: "member";
1595
1595
  }>;
1596
1596
  status: _$zod.ZodEnum<{
1597
- idle: "idle";
1598
1597
  active: "active";
1598
+ idle: "idle";
1599
1599
  dead: "dead";
1600
1600
  disposed: "disposed";
1601
1601
  }>;
@@ -1603,10 +1603,10 @@ declare const SessionStorageNamespace$1: {
1603
1603
  lastActivityAt: _$zod.ZodNumber;
1604
1604
  }, _$zod_v4_core0.$strip>>;
1605
1605
  status: _$zod.ZodEnum<{
1606
- closed: "closed";
1607
- discovered: "discovered";
1608
1606
  active: "active";
1609
1607
  archived: "archived";
1608
+ closed: "closed";
1609
+ discovered: "discovered";
1610
1610
  }>;
1611
1611
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1612
1612
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1780,8 +1780,8 @@ declare const SessionStorageNamespace$1: {
1780
1780
  member: "member";
1781
1781
  }>;
1782
1782
  status: _$zod.ZodEnum<{
1783
- idle: "idle";
1784
1783
  active: "active";
1784
+ idle: "idle";
1785
1785
  dead: "dead";
1786
1786
  disposed: "disposed";
1787
1787
  }>;
@@ -1789,10 +1789,10 @@ declare const SessionStorageNamespace$1: {
1789
1789
  lastActivityAt: _$zod.ZodNumber;
1790
1790
  }, _$zod_v4_core0.$strip>>;
1791
1791
  status: _$zod.ZodEnum<{
1792
- closed: "closed";
1793
- discovered: "discovered";
1794
1792
  active: "active";
1795
1793
  archived: "archived";
1794
+ closed: "closed";
1795
+ discovered: "discovered";
1796
1796
  }>;
1797
1797
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1798
1798
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1906,8 +1906,8 @@ declare const SessionStorageNamespace$1: {
1906
1906
  member: "member";
1907
1907
  }>;
1908
1908
  status: _$zod.ZodEnum<{
1909
- idle: "idle";
1910
1909
  active: "active";
1910
+ idle: "idle";
1911
1911
  dead: "dead";
1912
1912
  disposed: "disposed";
1913
1913
  }>;
@@ -1915,10 +1915,10 @@ declare const SessionStorageNamespace$1: {
1915
1915
  lastActivityAt: _$zod.ZodNumber;
1916
1916
  }, _$zod_v4_core0.$strip>>;
1917
1917
  status: _$zod.ZodEnum<{
1918
- closed: "closed";
1919
- discovered: "discovered";
1920
1918
  active: "active";
1921
1919
  archived: "archived";
1920
+ closed: "closed";
1921
+ discovered: "discovered";
1922
1922
  }>;
1923
1923
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1924
1924
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2053,8 +2053,8 @@ declare const SessionStorageNamespace$1: {
2053
2053
  member: "member";
2054
2054
  }>;
2055
2055
  status: _$zod.ZodEnum<{
2056
- idle: "idle";
2057
2056
  active: "active";
2057
+ idle: "idle";
2058
2058
  dead: "dead";
2059
2059
  disposed: "disposed";
2060
2060
  }>;
@@ -2062,10 +2062,10 @@ declare const SessionStorageNamespace$1: {
2062
2062
  lastActivityAt: _$zod.ZodNumber;
2063
2063
  }, _$zod_v4_core0.$strip>>;
2064
2064
  status: _$zod.ZodEnum<{
2065
- closed: "closed";
2066
- discovered: "discovered";
2067
2065
  active: "active";
2068
2066
  archived: "archived";
2067
+ closed: "closed";
2068
+ discovered: "discovered";
2069
2069
  }>;
2070
2070
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2071
2071
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2172,8 +2172,8 @@ declare const SessionStorageNamespace$1: {
2172
2172
  member: "member";
2173
2173
  }>;
2174
2174
  status: _$zod.ZodEnum<{
2175
- idle: "idle";
2176
2175
  active: "active";
2176
+ idle: "idle";
2177
2177
  dead: "dead";
2178
2178
  disposed: "disposed";
2179
2179
  }>;
@@ -2181,10 +2181,10 @@ declare const SessionStorageNamespace$1: {
2181
2181
  lastActivityAt: _$zod.ZodNumber;
2182
2182
  }, _$zod_v4_core0.$strip>>;
2183
2183
  status: _$zod.ZodEnum<{
2184
- closed: "closed";
2185
- discovered: "discovered";
2186
2184
  active: "active";
2187
2185
  archived: "archived";
2186
+ closed: "closed";
2187
+ discovered: "discovered";
2188
2188
  }>;
2189
2189
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2190
2190
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2277,10 +2277,10 @@ declare const SessionStorageNamespace$1: {
2277
2277
  request: _$zod.ZodObject<{
2278
2278
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2279
2279
  all: "all";
2280
- closed: "closed";
2281
- discovered: "discovered";
2282
2280
  active: "active";
2283
2281
  archived: "archived";
2282
+ closed: "closed";
2283
+ discovered: "discovered";
2284
2284
  }>>;
2285
2285
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2286
2286
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -2316,8 +2316,8 @@ declare const SessionStorageNamespace$1: {
2316
2316
  member: "member";
2317
2317
  }>;
2318
2318
  status: _$zod.ZodEnum<{
2319
- idle: "idle";
2320
2319
  active: "active";
2320
+ idle: "idle";
2321
2321
  dead: "dead";
2322
2322
  disposed: "disposed";
2323
2323
  }>;
@@ -2325,10 +2325,10 @@ declare const SessionStorageNamespace$1: {
2325
2325
  lastActivityAt: _$zod.ZodNumber;
2326
2326
  }, _$zod_v4_core0.$strip>>;
2327
2327
  status: _$zod.ZodEnum<{
2328
- closed: "closed";
2329
- discovered: "discovered";
2330
2328
  active: "active";
2331
2329
  archived: "archived";
2330
+ closed: "closed";
2331
+ discovered: "discovered";
2332
2332
  }>;
2333
2333
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2334
2334
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2439,10 +2439,10 @@ declare const SessionStorageNamespace$1: {
2439
2439
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2440
2440
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2441
2441
  all: "all";
2442
- closed: "closed";
2443
- discovered: "discovered";
2444
2442
  active: "active";
2445
2443
  archived: "archived";
2444
+ closed: "closed";
2445
+ discovered: "discovered";
2446
2446
  }>>;
2447
2447
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
2448
2448
  }, _$zod_v4_core0.$strip>;
@@ -2475,8 +2475,8 @@ declare const SessionStorageNamespace$1: {
2475
2475
  member: "member";
2476
2476
  }>;
2477
2477
  status: _$zod.ZodEnum<{
2478
- idle: "idle";
2479
2478
  active: "active";
2479
+ idle: "idle";
2480
2480
  dead: "dead";
2481
2481
  disposed: "disposed";
2482
2482
  }>;
@@ -2484,10 +2484,10 @@ declare const SessionStorageNamespace$1: {
2484
2484
  lastActivityAt: _$zod.ZodNumber;
2485
2485
  }, _$zod_v4_core0.$strip>>;
2486
2486
  status: _$zod.ZodEnum<{
2487
- closed: "closed";
2488
- discovered: "discovered";
2489
2487
  active: "active";
2490
2488
  archived: "archived";
2489
+ closed: "closed";
2490
+ discovered: "discovered";
2491
2491
  }>;
2492
2492
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2493
2493
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2572,10 +2572,10 @@ declare const SessionStorageNamespace$1: {
2572
2572
  request: _$zod.ZodObject<{
2573
2573
  sessionId: _$zod.ZodString;
2574
2574
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2575
- closed: "closed";
2576
- discovered: "discovered";
2577
2575
  active: "active";
2578
2576
  archived: "archived";
2577
+ closed: "closed";
2578
+ discovered: "discovered";
2579
2579
  }>>;
2580
2580
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2581
2581
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2655,8 +2655,8 @@ declare const SessionStorageNamespace$1: {
2655
2655
  member: "member";
2656
2656
  }>;
2657
2657
  status: _$zod.ZodEnum<{
2658
- idle: "idle";
2659
2658
  active: "active";
2659
+ idle: "idle";
2660
2660
  dead: "dead";
2661
2661
  disposed: "disposed";
2662
2662
  }>;
@@ -2664,10 +2664,10 @@ declare const SessionStorageNamespace$1: {
2664
2664
  lastActivityAt: _$zod.ZodNumber;
2665
2665
  }, _$zod_v4_core0.$strip>>;
2666
2666
  status: _$zod.ZodEnum<{
2667
- closed: "closed";
2668
- discovered: "discovered";
2669
2667
  active: "active";
2670
2668
  archived: "archived";
2669
+ closed: "closed";
2670
+ discovered: "discovered";
2671
2671
  }>;
2672
2672
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2673
2673
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2841,8 +2841,8 @@ declare const SessionStorageNamespace$1: {
2841
2841
  member: "member";
2842
2842
  }>;
2843
2843
  status: _$zod.ZodEnum<{
2844
- idle: "idle";
2845
2844
  active: "active";
2845
+ idle: "idle";
2846
2846
  dead: "dead";
2847
2847
  disposed: "disposed";
2848
2848
  }>;
@@ -2850,10 +2850,10 @@ declare const SessionStorageNamespace$1: {
2850
2850
  lastActivityAt: _$zod.ZodNumber;
2851
2851
  }, _$zod_v4_core0.$strip>>;
2852
2852
  status: _$zod.ZodEnum<{
2853
- closed: "closed";
2854
- discovered: "discovered";
2855
2853
  active: "active";
2856
2854
  archived: "archived";
2855
+ closed: "closed";
2856
+ discovered: "discovered";
2857
2857
  }>;
2858
2858
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2859
2859
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2967,8 +2967,8 @@ declare const SessionStorageNamespace$1: {
2967
2967
  member: "member";
2968
2968
  }>;
2969
2969
  status: _$zod.ZodEnum<{
2970
- idle: "idle";
2971
2970
  active: "active";
2971
+ idle: "idle";
2972
2972
  dead: "dead";
2973
2973
  disposed: "disposed";
2974
2974
  }>;
@@ -2976,10 +2976,10 @@ declare const SessionStorageNamespace$1: {
2976
2976
  lastActivityAt: _$zod.ZodNumber;
2977
2977
  }, _$zod_v4_core0.$strip>>;
2978
2978
  status: _$zod.ZodEnum<{
2979
- closed: "closed";
2980
- discovered: "discovered";
2981
2979
  active: "active";
2982
2980
  archived: "archived";
2981
+ closed: "closed";
2982
+ discovered: "discovered";
2983
2983
  }>;
2984
2984
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2985
2985
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3099,7 +3099,7 @@ declare const SessionStorageNamespace$1: {
3099
3099
  adapterName: string;
3100
3100
  sessionId: string;
3101
3101
  role: "lead" | "member";
3102
- status: "idle" | "active" | "dead" | "disposed";
3102
+ status: "active" | "idle" | "dead" | "disposed";
3103
3103
  createdAt: number;
3104
3104
  lastActivityAt: number;
3105
3105
  adapterSessionId?: string | undefined;
@@ -3113,7 +3113,7 @@ declare const SessionStorageNamespace$1: {
3113
3113
  clientId?: string | undefined;
3114
3114
  compressionMode?: "auto" | "manual" | "off" | undefined;
3115
3115
  }[];
3116
- status: "closed" | "discovered" | "active" | "archived";
3116
+ status: "active" | "archived" | "closed" | "discovered";
3117
3117
  leadAgentId?: string | undefined;
3118
3118
  parentSessionId?: string | undefined;
3119
3119
  contextInheritance?: "none" | "parent-history" | undefined;
@@ -334,10 +334,10 @@ declare const MessageStorageNamespace$1: {
334
334
  output: _$zod.ZodString;
335
335
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
336
336
  }, _$zod_v4_core0.$strip>], "type">>;
337
+ timestamp: _$zod.ZodNumber;
337
338
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
338
339
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
339
340
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
340
- timestamp: _$zod.ZodNumber;
341
341
  contentText: _$zod.ZodString;
342
342
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
343
343
  editOf: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1119,10 +1119,10 @@ declare const MessageStorageNamespace$1: {
1119
1119
  output: _$zod.ZodString;
1120
1120
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1121
1121
  }, _$zod_v4_core0.$strip>], "type">>;
1122
+ timestamp: _$zod.ZodNumber;
1122
1123
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
1123
1124
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1124
1125
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
1125
- timestamp: _$zod.ZodNumber;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1128
1128
  editOf: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1960,8 +1960,8 @@ declare const MessageStorageNamespace$1: {
1960
1960
  output: string;
1961
1961
  isError?: boolean | undefined;
1962
1962
  })[];
1963
- turnId: string | null;
1964
1963
  timestamp: number;
1964
+ turnId: string | null;
1965
1965
  contentText: string;
1966
1966
  origin?: "text" | "voice" | "compact" | undefined;
1967
1967
  agentId?: string | undefined;
@@ -2029,12 +2029,12 @@ declare const MessageStorageNamespace$1: {
2029
2029
  isError?: boolean | undefined;
2030
2030
  })[];
2031
2031
  messageId: string;
2032
+ timestamp: number;
2033
+ query: string;
2034
+ limit: never;
2032
2035
  agentId: never;
2033
2036
  adapterSessionId: never;
2034
2037
  turnId: string | null;
2035
- limit: never;
2036
- timestamp: number;
2037
- query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
2040
2040
  emitEvent: never;
@@ -62,8 +62,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
62
62
  id: _$zod.ZodString;
63
63
  description: _$zod.ZodOptional<_$zod.ZodString>;
64
64
  name: _$zod.ZodString;
65
- enabled: _$zod.ZodBoolean;
66
65
  scope: _$zod.ZodString;
66
+ enabled: _$zod.ZodBoolean;
67
67
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
68
68
  type: _$zod.ZodLiteral<"container-local">;
69
69
  id: _$zod.ZodString;
@@ -71,8 +71,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
71
71
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
72
72
  name: _$zod.ZodString;
73
73
  image: _$zod.ZodOptional<_$zod.ZodString>;
74
- enabled: _$zod.ZodBoolean;
75
74
  scope: _$zod.ZodString;
75
+ enabled: _$zod.ZodBoolean;
76
76
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
77
77
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
78
78
  type: _$zod.ZodLiteral<"container-isolated">;
@@ -81,8 +81,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
81
81
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
82
82
  name: _$zod.ZodString;
83
83
  image: _$zod.ZodOptional<_$zod.ZodString>;
84
- enabled: _$zod.ZodBoolean;
85
84
  scope: _$zod.ZodString;
85
+ enabled: _$zod.ZodBoolean;
86
86
  busMode: _$zod.ZodEnum<{
87
87
  relay: "relay";
88
88
  host: "host";
@@ -363,8 +363,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
363
363
  id: _$zod.ZodString;
364
364
  description: _$zod.ZodOptional<_$zod.ZodString>;
365
365
  name: _$zod.ZodString;
366
- enabled: _$zod.ZodBoolean;
367
366
  scope: _$zod.ZodString;
367
+ enabled: _$zod.ZodBoolean;
368
368
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
369
369
  type: _$zod.ZodLiteral<"container-local">;
370
370
  id: _$zod.ZodString;
@@ -372,8 +372,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
372
372
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
373
373
  name: _$zod.ZodString;
374
374
  image: _$zod.ZodOptional<_$zod.ZodString>;
375
- enabled: _$zod.ZodBoolean;
376
375
  scope: _$zod.ZodString;
376
+ enabled: _$zod.ZodBoolean;
377
377
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
378
378
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
379
379
  type: _$zod.ZodLiteral<"container-isolated">;
@@ -382,8 +382,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
382
382
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
383
383
  name: _$zod.ZodString;
384
384
  image: _$zod.ZodOptional<_$zod.ZodString>;
385
- enabled: _$zod.ZodBoolean;
386
385
  scope: _$zod.ZodString;
386
+ enabled: _$zod.ZodBoolean;
387
387
  busMode: _$zod.ZodEnum<{
388
388
  relay: "relay";
389
389
  host: "host";
package/dist/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1781354548379",
3
+ "version": "1.0.0-dev-1781367632837",
4
4
  "type": "module"
5
5
  }
@@ -1,23 +1,22 @@
1
1
  import { RuntimeSubjects } from "./bus/runtime/namespace.mjs";
2
2
  import { a as FilesystemDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscoveryOptions, r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-CkV_VRdJ.mjs";
3
3
  import { a as isMakaioExtensionLike, c as resolveConventionEntrypoint, i as isCliContributionLike, n as LoadExtensionsOptions, o as isWithinDirectory, r as entrypointStem, s as loadExtensions, t as DescriptorSourcePackageGroup } from "../load-extensions-D9nbDIiW.mjs";
4
- import { A as InitializeNodeDatabaseOptions, B as NoopFrameworkModuleResolver, C as TransportReadyInfo, D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, F as selectFrameworkCorePackages, G as HttpRouteContribution, H as HttpRouteGraphBuilder, I as ShutdownStep, J as createHonoRouteGraph, K as HonoRouteGraph, L as BridgeBrowserOptions, M as initializeNodeDatabase, N as HostCapabilityDeclaration, O as resolveWorkflowWorkerEntry, P as normalizeNodeHostCapabilities, R as FrameworkModuleResolver, S as ServerTransportProvider, T as WorkflowRunnerBootOptions, U as createHttpRouteGraphBuilder, V as resolveFrameworkSpecifier, W as HttpContributionPhase, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, b as CoreBootOptions, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, j as InitializeNodeDatabaseResult, k as DatabaseBootOptions, m as ThinWorkflowPiscinaRunner, q as HonoRouteGraphOptions, v as BootCoordinatorSetupContext, w as UpstreamTelemetryBootOptions, x as MakaioRuntime, y as BootMakaioRuntimeOptions, z as NodeFrameworkModuleResolver } from "../index-BDRKAxIV.mjs";
4
+ import { A as InitializeNodeDatabaseOptions, B as NoopFrameworkModuleResolver, C as TransportReadyInfo, D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, F as selectFrameworkCorePackages, G as HttpRouteContribution, H as HttpRouteGraphBuilder, I as ShutdownStep, J as createHonoRouteGraph, K as HonoRouteGraph, L as BridgeBrowserOptions, M as initializeNodeDatabase, N as HostCapabilityDeclaration, O as resolveWorkflowWorkerEntry, P as normalizeNodeHostCapabilities, R as FrameworkModuleResolver, S as ServerTransportProvider, T as WorkflowRunnerBootOptions, U as createHttpRouteGraphBuilder, V as resolveFrameworkSpecifier, W as HttpContributionPhase, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, b as CoreBootOptions, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, j as InitializeNodeDatabaseResult, k as DatabaseBootOptions, m as ThinWorkflowPiscinaRunner, q as HonoRouteGraphOptions, v as BootCoordinatorSetupContext, w as UpstreamTelemetryBootOptions, x as MakaioRuntime, y as BootMakaioRuntimeOptions, z as NodeFrameworkModuleResolver } from "../index-dAjtejnc.mjs";
5
5
  import { ConfiguredRuntimeOptions, LoadMakaioConfigOptions, LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MakaioConfig, ParseMakaioConfigOptions, ParsedMakaioConfig, WorkflowRunnerConfig, buildConfiguredRuntimeOptions, createMakaioConfigDiscovery, defineMakaioConfig, loadMakaioConfig, parseMakaioConfig, resolveMakaioConfigPath, resolveMakaioHome, shouldIncludeExtension } from "./makaio-config.mjs";
6
- import { z } from "zod";
7
6
  import { IConfigStorage } from "@makaio/framework/core";
8
7
  import { BusTransport, IMakaioBus } from "@makaio/framework/bus";
9
- import { AdapterClientRef, AdapterProviderDefinitionContract, Config, MakaioNodeExtension, ProtocolId } from "@makaio/framework/contracts";
10
- import { BaseService } from "@makaio/framework/service-base";
11
- import { MakaioDatabase, StorageDialect as StorageDialect$1 } from "@makaio/framework/storage/drizzle";
12
- import { AdapterFile, CredentialRef, ProviderConfigFile } from "@makaio/framework/contracts/config";
13
- import { IAdapterConfigRepository, IAdapterConfigRepository as IAdapterConfigRepository$1 } from "@makaio/framework/services/adapter-subsystem";
8
+ import { Config } from "@makaio/framework/contracts";
14
9
  import { DispatchingAuth } from "@makaio/framework/node/transports";
15
- import { ContributionProcessor, ExtensionCoordinator, KernelMakaioExtension, TransportProvider } from "@makaio/framework/kernel";
10
+ import { MakaioDatabase, StorageDialect as StorageDialect$1 } from "@makaio/framework/storage/drizzle";
11
+ import { CredentialRef } from "@makaio/framework/contracts/config";
12
+ import { ExtensionCoordinator, KernelMakaioExtension, TransportProvider } from "@makaio/framework/kernel";
16
13
  import { IModelRegistryCache, ModelRegistry } from "@makaio/framework/services/model-registry";
14
+ import { IAdapterConfigRepository, PlatformDefaults, createAdapterSubsystemPackage } from "@makaio/framework/adapter-subsystem";
17
15
  import { MachineKeyStatus, MachineKeyValidation, PersistedMachineIdentity, loadOrCreateMachineIdentity, machineKeysExist, validateMachineKeys } from "@makaio/framework/node/machine-identity";
18
16
  import { TransportAuth as TransportAuth$1 } from "@makaio/framework/node/bus-server";
19
17
  import { ConfigProvider } from "@makaio/framework/providers";
20
18
  import { Server } from "node:http";
19
+
21
20
  //#region runtimes/node/src/register-adapter-name-resolver.d.ts
22
21
  /**
23
22
  * Register middleware to resolve `adapterName` to `adapterId` for `getCapabilities` requests.
@@ -30,56 +29,6 @@ import { Server } from "node:http";
30
29
  */
31
30
  declare function registerAdapterNameResolver(bus: IMakaioBus): () => void;
32
31
  //#endregion
33
- //#region subsystems/adapter/src/adapter-runtime-lifecycle.d.ts
34
- /**
35
- * Platform-provided defaults injected by the runtime host.
36
- *
37
- * Mirrors the shape of `PlatformDefaults` from `@makaio/ai-adapters-core`
38
- * without taking a dependency on the host-layer package.
39
- */
40
- interface PlatformDefaults {
41
- /** Default working directory for agent execution (e.g. `os.tmpdir()` on Node.js). */
42
- cwd?: string;
43
- /** Default environment variables. */
44
- env?: Record<string, string>;
45
- }
46
- //#endregion
47
- //#region subsystems/adapter/src/index.d.ts
48
- /**
49
- * Options for creating the adapter subsystem extension package.
50
- */
51
- interface CreateAdapterSubsystemPackageOptions {
52
- /**
53
- * Repository seam used by the subsystem service for file-backed config storage.
54
- */
55
- readonly configRepository: IAdapterConfigRepository;
56
- /**
57
- * Extension coordinator forwarded to {@link AdapterContributionProcessor}.
58
- *
59
- * The composition root registers the contribution processor (via
60
- * {@link createAdapterSubsystemContributionProcessor}) with this coordinator
61
- * before `coordinator.startAll()` so adapter contributions run in a stable
62
- * order relative to other contribution processors.
63
- */
64
- readonly coordinator: ExtensionCoordinator;
65
- /**
66
- * Platform-provided defaults forwarded to adapter factories.
67
- */
68
- readonly platformDefaults: PlatformDefaults;
69
- }
70
- /**
71
- * Create the adapter subsystem extension package.
72
- *
73
- * The returned package is critical and declares the `adapters` capability.
74
- * The composition root must register the contribution processor via
75
- * {@link createAdapterSubsystemContributionProcessor} before calling
76
- * `coordinator.startAll()` to ensure adapter contributions are processed in a
77
- * stable order.
78
- * @param options - Package-scoped dependencies including the coordinator.
79
- * @returns Critical Makaio extension for the adapter subsystem.
80
- */
81
- declare function createAdapterSubsystemPackage(options: CreateAdapterSubsystemPackageOptions): MakaioNodeExtension<IMakaioBus>;
82
- //#endregion
83
32
  //#region runtimes/node/src/compose-adapter-runtime.d.ts
84
33
  /**
85
34
  * Composition seam for booting a local adapter runtime.
@@ -110,7 +59,7 @@ interface PrepareAdapterRuntimeInput {
110
59
  /** Coordinator that loads the adapter-subsystem package and owns activation. */
111
60
  readonly coordinator: ExtensionCoordinator;
112
61
  /** Persistence seam for adapter/provider configuration. */
113
- readonly configRepository: IAdapterConfigRepository$1;
62
+ readonly configRepository: IAdapterConfigRepository;
114
63
  /** Platform defaults (cwd/env) supplied to adapter instances. */
115
64
  readonly platformDefaults: PlatformDefaults;
116
65
  }