@makaio/framework 1.0.0-dev-1781996773251 → 1.0.0-dev-1781999985054

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 (83) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +2 -2
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/adapters/stream-session/index.d.mts +15 -5
  7. package/dist/adapters/stream-session/index.mjs +1 -1
  8. package/dist/contracts/adapter/index.d.mts +2 -2
  9. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  10. package/dist/contracts/artifact/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +1 -1
  12. package/dist/contracts/config/index.d.mts +12 -12
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/facet/index.d.mts +1 -1
  15. package/dist/contracts/harness/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +28 -28
  17. package/dist/contracts/materialization/index.d.mts +3 -3
  18. package/dist/contracts/provider/index.d.mts +1 -1
  19. package/dist/contracts/session/index.d.mts +2 -2
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/variant/index.d.mts +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{definition-0EXM1tyu.d.mts → definition-D_3U4OLJ.d.mts} +1 -1
  24. package/dist/{index-DHUARU-6.d.mts → index-BWnf3pYm.d.mts} +6 -6
  25. package/dist/{index-DImePakw.d.mts → index-B_FtZ3Gn.d.mts} +20 -20
  26. package/dist/{index-DDehaguq.d.mts → index-C096hXsS.d.mts} +47 -47
  27. package/dist/{index-BfsvUD9j.d.mts → index-C2K2Tdo9.d.mts} +61 -61
  28. package/dist/{index-Cx1Bm6WD.d.mts → index-CRmApyqn.d.mts} +4 -4
  29. package/dist/{index-BAQ6QBcU.d.mts → index-CXZ1a_DD.d.mts} +32 -32
  30. package/dist/{index-WOoVeAEf.d.mts → index-D2WJ0Zpt.d.mts} +9 -9
  31. package/dist/{index-Dch9gi4S.d.mts → index-DM8PTbfm.d.mts} +1 -1
  32. package/dist/{index-CUSOL0X_.d.mts → index-DdBRlm7m.d.mts} +6 -6
  33. package/dist/{index-DvLCzle5.d.mts → index-DnZJ4j-7.d.mts} +24 -24
  34. package/dist/{index-4eP9DRL_.d.mts → index-Mi_UJoUV.d.mts} +4 -4
  35. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  36. package/dist/{index-CqCe7Phc.d.mts → index-mU2lnU7O.d.mts} +6 -6
  37. package/dist/{index-DnLf0YKC.d.mts → index-q8nLr74m.d.mts} +6 -6
  38. package/dist/{index-DOIbPMcj.d.mts → index-vUhaDyDa.d.mts} +1 -1
  39. package/dist/{index-CYHWOXUm.d.mts → index-vs_GRZcb.d.mts} +2 -2
  40. package/dist/{index-CuILCdip.d.mts → index-xyXYG5WO.d.mts} +8 -8
  41. package/dist/kernel/extension/index.d.mts +1 -1
  42. package/dist/kernel/index.d.mts +2 -2
  43. package/dist/kernel/observability/index.d.mts +1 -1
  44. package/dist/{namespace-Do_rmLFb.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  45. package/dist/{namespace-CfvtDD_U.d.mts → namespace-BLOld9Wa.d.mts} +2 -2
  46. package/dist/{namespace-B95uYmZB.d.mts → namespace-C6iVTunW.d.mts} +52 -52
  47. package/dist/{namespace-UaiY5v62.d.mts → namespace-CJkAriut.d.mts} +22 -22
  48. package/dist/{namespace-Bm77p82L.d.mts → namespace-DSsdxeKi.d.mts} +9 -9
  49. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-DXWpFdQH2.d.mts} +2 -2
  50. package/dist/package.json +1 -1
  51. package/dist/{schema-CKTzwiif.d.mts → schema-B3sB8_cB.d.mts} +1 -1
  52. package/dist/{schemas-CoFCV42v.d.mts → schemas-CgX7mPkv.d.mts} +2 -2
  53. package/dist/{schemas-CDGld_OC.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  54. package/dist/{schemas-DDaP5WkH.d.mts → schemas-DXjyGVpx.d.mts} +3 -3
  55. package/dist/{schemas-CwgS7KoL2.d.mts → schemas-DhSdafzl2.d.mts} +9 -9
  56. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  57. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  58. package/dist/services/agent-runtime/index.d.mts +2 -2
  59. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  60. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  61. package/dist/services/context-rules/index.d.mts +3 -3
  62. package/dist/services/execution-target/index.d.mts +1 -1
  63. package/dist/services/filesystem/namespace.d.mts +6 -6
  64. package/dist/services/filesystem/schemas.d.mts +3 -3
  65. package/dist/services/harness/index.d.mts +3 -3
  66. package/dist/services/index.d.mts +49 -49
  67. package/dist/services/session/index.d.mts +4 -4
  68. package/dist/services/session/messages/namespace.d.mts +1 -1
  69. package/dist/services/session/storage/namespace.d.mts +1 -1
  70. package/dist/services/session/storage/schema.d.mts +1 -1
  71. package/dist/services/settings/namespace.d.mts +6 -6
  72. package/dist/services/subagent-template/index.d.mts +2 -2
  73. package/dist/services/subagent-template/namespace.d.mts +1 -1
  74. package/dist/services/subagent-template/schemas.d.mts +1 -1
  75. package/dist/services/tray-menu/index.d.mts +2 -2
  76. package/dist/services/tray-menu/namespace.d.mts +1 -1
  77. package/dist/services/tray-menu/schemas.d.mts +1 -1
  78. package/dist/{session-lineage-Cht4jbvV.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
  79. package/dist/{transition-BBElJqQ8.d.mts → transition-ByWf06n-.d.mts} +1 -1
  80. package/dist/{types-B49V7vZJ.d.mts → types-BNgCREUh.d.mts} +13 -13
  81. package/dist/{types-BrTJEhR-.d.mts → types-BXCLseKt.d.mts} +7 -0
  82. package/dist/workflow-engine/index.d.mts +63 -63
  83. package/package.json +1 -1
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
88
88
  tableName: "sessions";
89
89
  dataType: "string";
90
90
  columnType: "SQLiteText";
91
- data: "closed" | "active" | "archived" | "discovered";
91
+ data: "closed" | "discovered" | "active" | "archived";
92
92
  driverParam: string;
93
93
  notNull: true;
94
94
  hasDefault: false;
@@ -1022,9 +1022,9 @@ declare const SessionStorageNamespace$1: {
1022
1022
  }, _$zod_v4_core0.$strip>>;
1023
1023
  status: _$zod.ZodEnum<{
1024
1024
  closed: "closed";
1025
+ discovered: "discovered";
1025
1026
  active: "active";
1026
1027
  archived: "archived";
1027
- discovered: "discovered";
1028
1028
  }>;
1029
1029
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1030
1030
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1142,9 +1142,9 @@ declare const SessionStorageNamespace$1: {
1142
1142
  }, _$zod_v4_core0.$strip>>;
1143
1143
  status: _$zod.ZodEnum<{
1144
1144
  closed: "closed";
1145
+ discovered: "discovered";
1145
1146
  active: "active";
1146
1147
  archived: "archived";
1147
- discovered: "discovered";
1148
1148
  }>;
1149
1149
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1150
1150
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1239,9 +1239,9 @@ declare const SessionStorageNamespace$1: {
1239
1239
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1240
1240
  all: "all";
1241
1241
  closed: "closed";
1242
+ discovered: "discovered";
1242
1243
  active: "active";
1243
1244
  archived: "archived";
1244
- discovered: "discovered";
1245
1245
  }>>;
1246
1246
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1247
1247
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -1287,9 +1287,9 @@ declare const SessionStorageNamespace$1: {
1287
1287
  }, _$zod_v4_core0.$strip>>;
1288
1288
  status: _$zod.ZodEnum<{
1289
1289
  closed: "closed";
1290
+ discovered: "discovered";
1290
1291
  active: "active";
1291
1292
  archived: "archived";
1292
- discovered: "discovered";
1293
1293
  }>;
1294
1294
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1295
1295
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1402,9 +1402,9 @@ declare const SessionStorageNamespace$1: {
1402
1402
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1403
1403
  all: "all";
1404
1404
  closed: "closed";
1405
+ discovered: "discovered";
1405
1406
  active: "active";
1406
1407
  archived: "archived";
1407
- discovered: "discovered";
1408
1408
  }>>;
1409
1409
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
1410
1410
  }, _$zod_v4_core0.$strip>;
@@ -1447,9 +1447,9 @@ declare const SessionStorageNamespace$1: {
1447
1447
  }, _$zod_v4_core0.$strip>>;
1448
1448
  status: _$zod.ZodEnum<{
1449
1449
  closed: "closed";
1450
+ discovered: "discovered";
1450
1451
  active: "active";
1451
1452
  archived: "archived";
1452
- discovered: "discovered";
1453
1453
  }>;
1454
1454
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1455
1455
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1536,9 +1536,9 @@ declare const SessionStorageNamespace$1: {
1536
1536
  sessionId: _$zod.ZodString;
1537
1537
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1538
1538
  closed: "closed";
1539
+ discovered: "discovered";
1539
1540
  active: "active";
1540
1541
  archived: "archived";
1541
- discovered: "discovered";
1542
1542
  }>>;
1543
1543
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1544
1544
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1629,9 +1629,9 @@ declare const SessionStorageNamespace$1: {
1629
1629
  }, _$zod_v4_core0.$strip>>;
1630
1630
  status: _$zod.ZodEnum<{
1631
1631
  closed: "closed";
1632
+ discovered: "discovered";
1632
1633
  active: "active";
1633
1634
  archived: "archived";
1634
- discovered: "discovered";
1635
1635
  }>;
1636
1636
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1637
1637
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1816,9 +1816,9 @@ declare const SessionStorageNamespace$1: {
1816
1816
  }, _$zod_v4_core0.$strip>>;
1817
1817
  status: _$zod.ZodEnum<{
1818
1818
  closed: "closed";
1819
+ discovered: "discovered";
1819
1820
  active: "active";
1820
1821
  archived: "archived";
1821
- discovered: "discovered";
1822
1822
  }>;
1823
1823
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1824
1824
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1943,9 +1943,9 @@ declare const SessionStorageNamespace$1: {
1943
1943
  }, _$zod_v4_core0.$strip>>;
1944
1944
  status: _$zod.ZodEnum<{
1945
1945
  closed: "closed";
1946
+ discovered: "discovered";
1946
1947
  active: "active";
1947
1948
  archived: "archived";
1948
- discovered: "discovered";
1949
1949
  }>;
1950
1950
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1951
1951
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2091,9 +2091,9 @@ declare const SessionStorageNamespace$1: {
2091
2091
  }, _$zod_v4_core0.$strip>>;
2092
2092
  status: _$zod.ZodEnum<{
2093
2093
  closed: "closed";
2094
+ discovered: "discovered";
2094
2095
  active: "active";
2095
2096
  archived: "archived";
2096
- discovered: "discovered";
2097
2097
  }>;
2098
2098
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2099
2099
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2211,9 +2211,9 @@ declare const SessionStorageNamespace$1: {
2211
2211
  }, _$zod_v4_core0.$strip>>;
2212
2212
  status: _$zod.ZodEnum<{
2213
2213
  closed: "closed";
2214
+ discovered: "discovered";
2214
2215
  active: "active";
2215
2216
  archived: "archived";
2216
- discovered: "discovered";
2217
2217
  }>;
2218
2218
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2219
2219
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2308,9 +2308,9 @@ declare const SessionStorageNamespace$1: {
2308
2308
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2309
2309
  all: "all";
2310
2310
  closed: "closed";
2311
+ discovered: "discovered";
2311
2312
  active: "active";
2312
2313
  archived: "archived";
2313
- discovered: "discovered";
2314
2314
  }>>;
2315
2315
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2316
2316
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -2356,9 +2356,9 @@ declare const SessionStorageNamespace$1: {
2356
2356
  }, _$zod_v4_core0.$strip>>;
2357
2357
  status: _$zod.ZodEnum<{
2358
2358
  closed: "closed";
2359
+ discovered: "discovered";
2359
2360
  active: "active";
2360
2361
  archived: "archived";
2361
- discovered: "discovered";
2362
2362
  }>;
2363
2363
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2364
2364
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2471,9 +2471,9 @@ declare const SessionStorageNamespace$1: {
2471
2471
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2472
2472
  all: "all";
2473
2473
  closed: "closed";
2474
+ discovered: "discovered";
2474
2475
  active: "active";
2475
2476
  archived: "archived";
2476
- discovered: "discovered";
2477
2477
  }>>;
2478
2478
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
2479
2479
  }, _$zod_v4_core0.$strip>;
@@ -2516,9 +2516,9 @@ declare const SessionStorageNamespace$1: {
2516
2516
  }, _$zod_v4_core0.$strip>>;
2517
2517
  status: _$zod.ZodEnum<{
2518
2518
  closed: "closed";
2519
+ discovered: "discovered";
2519
2520
  active: "active";
2520
2521
  archived: "archived";
2521
- discovered: "discovered";
2522
2522
  }>;
2523
2523
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2524
2524
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2605,9 +2605,9 @@ declare const SessionStorageNamespace$1: {
2605
2605
  sessionId: _$zod.ZodString;
2606
2606
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2607
2607
  closed: "closed";
2608
+ discovered: "discovered";
2608
2609
  active: "active";
2609
2610
  archived: "archived";
2610
- discovered: "discovered";
2611
2611
  }>>;
2612
2612
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2613
2613
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2698,9 +2698,9 @@ declare const SessionStorageNamespace$1: {
2698
2698
  }, _$zod_v4_core0.$strip>>;
2699
2699
  status: _$zod.ZodEnum<{
2700
2700
  closed: "closed";
2701
+ discovered: "discovered";
2701
2702
  active: "active";
2702
2703
  archived: "archived";
2703
- discovered: "discovered";
2704
2704
  }>;
2705
2705
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2706
2706
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2885,9 +2885,9 @@ declare const SessionStorageNamespace$1: {
2885
2885
  }, _$zod_v4_core0.$strip>>;
2886
2886
  status: _$zod.ZodEnum<{
2887
2887
  closed: "closed";
2888
+ discovered: "discovered";
2888
2889
  active: "active";
2889
2890
  archived: "archived";
2890
- discovered: "discovered";
2891
2891
  }>;
2892
2892
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2893
2893
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3012,9 +3012,9 @@ declare const SessionStorageNamespace$1: {
3012
3012
  }, _$zod_v4_core0.$strip>>;
3013
3013
  status: _$zod.ZodEnum<{
3014
3014
  closed: "closed";
3015
+ discovered: "discovered";
3015
3016
  active: "active";
3016
3017
  archived: "archived";
3017
- discovered: "discovered";
3018
3018
  }>;
3019
3019
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3020
3020
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3149,7 +3149,7 @@ declare const SessionStorageNamespace$1: {
3149
3149
  clientId?: string | undefined;
3150
3150
  compressionMode?: "auto" | "manual" | "off" | undefined;
3151
3151
  }[];
3152
- status: "closed" | "active" | "archived" | "discovered";
3152
+ status: "closed" | "discovered" | "active" | "archived";
3153
3153
  leadAgentId?: string | undefined;
3154
3154
  parentSessionId?: string | undefined;
3155
3155
  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
- agentId: _$zod.ZodOptional<_$zod.ZodString>;
338
337
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
339
- turnId: _$zod.ZodNullable<_$zod.ZodString>;
338
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
340
339
  timestamp: _$zod.ZodNumber;
340
+ turnId: _$zod.ZodNullable<_$zod.ZodString>;
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
- agentId: _$zod.ZodOptional<_$zod.ZodString>;
1123
1122
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1124
- turnId: _$zod.ZodNullable<_$zod.ZodString>;
1123
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
1125
1124
  timestamp: _$zod.ZodNumber;
1125
+ turnId: _$zod.ZodNullable<_$zod.ZodString>;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1128
1128
  editOf: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1960,12 +1960,12 @@ 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
- agentId?: string | undefined;
1968
1967
  adapterSessionId?: string | undefined;
1968
+ agentId?: string | undefined;
1969
1969
  adapterMessageId?: string | undefined;
1970
1970
  editOf?: string | undefined;
1971
1971
  messageId?: string | undefined;
@@ -2029,11 +2029,11 @@ declare const MessageStorageNamespace$1: {
2029
2029
  isError?: boolean | undefined;
2030
2030
  })[];
2031
2031
  messageId: string;
2032
- agentId: never;
2033
2032
  adapterSessionId: never;
2034
- turnId: string | null;
2035
- limit: never;
2033
+ agentId: never;
2036
2034
  timestamp: number;
2035
+ limit: never;
2036
+ turnId: string | null;
2037
2037
  query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
@@ -37,8 +37,8 @@ declare const SubagentTemplateKernelNamespace: _$_makaio_core0.BusNamespaceDefin
37
37
  status: _$zod.ZodEnum<{
38
38
  completed: "completed";
39
39
  cancelled: "cancelled";
40
- failed: "failed";
41
40
  running: "running";
41
+ failed: "failed";
42
42
  waiting_input: "waiting_input";
43
43
  }>;
44
44
  result: _$zod.ZodOptional<_$zod.ZodString>;
@@ -101,8 +101,8 @@ declare const SubagentTemplateSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
101
101
  status: _$zod.ZodEnum<{
102
102
  completed: "completed";
103
103
  cancelled: "cancelled";
104
- failed: "failed";
105
104
  running: "running";
105
+ failed: "failed";
106
106
  waiting_input: "waiting_input";
107
107
  }>;
108
108
  result: _$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-1781996773251",
3
+ "version": "1.0.0-dev-1781999985054",
4
4
  "type": "module"
5
5
  }
@@ -258,7 +258,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
258
258
  tableName: "sessions";
259
259
  dataType: "string";
260
260
  columnType: "SQLiteText";
261
- data: "closed" | "active" | "archived" | "discovered";
261
+ data: "closed" | "discovered" | "active" | "archived";
262
262
  driverParam: string;
263
263
  notNull: true;
264
264
  hasDefault: false;
@@ -425,8 +425,8 @@ declare const AgentInstanceStatusSchema: z.ZodObject<{
425
425
  status: z.ZodEnum<{
426
426
  completed: "completed";
427
427
  cancelled: "cancelled";
428
- failed: "failed";
429
428
  running: "running";
429
+ failed: "failed";
430
430
  waiting_input: "waiting_input";
431
431
  }>;
432
432
  result: z.ZodOptional<z.ZodString>;
@@ -888,8 +888,8 @@ declare const AgentRuntimeSchemas: {
888
888
  status: z.ZodEnum<{
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
- failed: "failed";
892
891
  running: "running";
892
+ failed: "failed";
893
893
  waiting_input: "waiting_input";
894
894
  }>;
895
895
  result: z.ZodOptional<z.ZodString>;
@@ -26,9 +26,9 @@ declare const TrayMenuEntrySchema: z.ZodObject<{
26
26
  /** A group entry inherits its owning package and section from the group. */
27
27
  declare const TrayMenuGroupEntrySchema: z.ZodObject<{
28
28
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
29
+ label: z.ZodString;
29
30
  enabled: z.ZodDefault<z.ZodBoolean>;
30
31
  priority: z.ZodDefault<z.ZodNumber>;
31
- label: z.ZodString;
32
32
  entryId: z.ZodString;
33
33
  }, z.core.$strip>;
34
34
  /** Ordered group of tray entries contributed by one package. */
@@ -37,9 +37,9 @@ declare const TrayMenuGroupSchema: z.ZodObject<{
37
37
  groupId: z.ZodString;
38
38
  entries: z.ZodArray<z.ZodObject<{
39
39
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
+ label: z.ZodString;
40
41
  enabled: z.ZodDefault<z.ZodBoolean>;
41
42
  priority: z.ZodDefault<z.ZodNumber>;
42
- label: z.ZodString;
43
43
  entryId: z.ZodString;
44
44
  }, z.core.$strip>>;
45
45
  section: z.ZodEnum<{
@@ -109,9 +109,9 @@ declare const TrayMenuSchemas: {
109
109
  groupId: z.ZodString;
110
110
  entries: z.ZodArray<z.ZodObject<{
111
111
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
112
+ label: z.ZodString;
112
113
  enabled: z.ZodDefault<z.ZodBoolean>;
113
114
  priority: z.ZodDefault<z.ZodNumber>;
114
- label: z.ZodString;
115
115
  entryId: z.ZodString;
116
116
  }, z.core.$strip>>;
117
117
  section: z.ZodEnum<{
@@ -64,9 +64,9 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
64
64
  template: z.ZodString;
65
65
  }, z.core.$strip>], "kind">;
66
66
  appliesTo: z.ZodArray<z.ZodEnum<{
67
+ artifact: "artifact";
67
68
  surface: "surface";
68
69
  workpiece: "workpiece";
69
- artifact: "artifact";
70
70
  }>>;
71
71
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
72
72
  description: z.ZodOptional<z.ZodString>;
@@ -108,8 +108,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
108
108
  comment: "comment";
109
109
  }>;
110
110
  defaultRole: z.ZodOptional<z.ZodEnum<{
111
- workpiece: "workpiece";
112
111
  artifact: "artifact";
112
+ workpiece: "workpiece";
113
113
  }>>;
114
114
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
115
115
  created: "created";
@@ -141,8 +141,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
141
141
  externalId: z.ZodString;
142
142
  externalUrl: z.ZodOptional<z.ZodString>;
143
143
  surfaceRole: z.ZodEnum<{
144
- workpiece: "workpiece";
145
144
  artifact: "artifact";
145
+ workpiece: "workpiece";
146
146
  }>;
147
147
  lastSyncedRevision: z.ZodOptional<z.ZodString>;
148
148
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -44,18 +44,18 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
44
44
  */
45
45
  declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
- providerConfigId: z.ZodOptional<z.ZodString>;
47
+ enabled: z.ZodDefault<z.ZodBoolean>;
48
+ adapterName: z.ZodString;
48
49
  model: z.ZodOptional<z.ZodString>;
49
50
  systemPrompt: z.ZodOptional<z.ZodString>;
51
+ providerConfigId: z.ZodOptional<z.ZodString>;
50
52
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
53
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
- enabled: z.ZodDefault<z.ZodBoolean>;
53
54
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
55
  contextMode: z.ZodDefault<z.ZodEnum<{
55
56
  fork: "fork";
56
57
  fresh: "fresh";
57
58
  }>>;
58
- adapterName: z.ZodString;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -129,18 +129,18 @@ declare const SubagentTemplateSettingsSchemas: {
129
129
  create: {
130
130
  request: z.ZodObject<{
131
131
  name: z.ZodString;
132
- providerConfigId: z.ZodOptional<z.ZodString>;
132
+ enabled: z.ZodDefault<z.ZodBoolean>;
133
+ adapterName: z.ZodString;
133
134
  model: z.ZodOptional<z.ZodString>;
134
135
  systemPrompt: z.ZodOptional<z.ZodString>;
136
+ providerConfigId: z.ZodOptional<z.ZodString>;
135
137
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
138
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- enabled: z.ZodDefault<z.ZodBoolean>;
138
139
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
140
  contextMode: z.ZodDefault<z.ZodEnum<{
140
141
  fork: "fork";
141
142
  fresh: "fresh";
142
143
  }>>;
143
- adapterName: z.ZodString;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -191,8 +191,8 @@ declare const SubagentTemplateInstanceSchema: z.ZodObject<{
191
191
  status: z.ZodEnum<{
192
192
  completed: "completed";
193
193
  cancelled: "cancelled";
194
- failed: "failed";
195
194
  running: "running";
195
+ failed: "failed";
196
196
  waiting_input: "waiting_input";
197
197
  }>;
198
198
  createdAt: z.ZodString;
@@ -222,8 +222,8 @@ declare const SubagentTemplateInstanceStatusSchema: z.ZodObject<{
222
222
  status: z.ZodEnum<{
223
223
  completed: "completed";
224
224
  cancelled: "cancelled";
225
- failed: "failed";
226
225
  running: "running";
226
+ failed: "failed";
227
227
  waiting_input: "waiting_input";
228
228
  }>;
229
229
  result: z.ZodOptional<z.ZodString>;
@@ -274,8 +274,8 @@ declare const SubagentTemplateKernelSchemas: {
274
274
  status: z.ZodEnum<{
275
275
  completed: "completed";
276
276
  cancelled: "cancelled";
277
- failed: "failed";
278
277
  running: "running";
278
+ failed: "failed";
279
279
  waiting_input: "waiting_input";
280
280
  }>;
281
281
  result: z.ZodOptional<z.ZodString>;
@@ -1,3 +1,3 @@
1
- import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-BAQ6QBcU.mjs";
2
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-B95uYmZB.mjs";
1
+ import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-CXZ1a_DD.mjs";
2
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-C6iVTunW.mjs";
3
3
  export { AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigCredentialRefs, CanonicalProviderConfigCredentialRefsPayload, CanonicalProviderConfigCredentialRefsSchema, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-B95uYmZB.mjs";
1
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-C6iVTunW.mjs";
2
2
  export { AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CoFCV42v.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-CfvtDD_U.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CgX7mPkv.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BLOld9Wa.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-CfvtDD_U.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BLOld9Wa.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-CoFCV42v.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CgX7mPkv.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -160,8 +160,8 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
- updated: "updated";
164
163
  created: "created";
164
+ updated: "updated";
165
165
  deleted: "deleted";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
@@ -313,8 +313,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
- updated: "updated";
317
316
  created: "created";
317
+ updated: "updated";
318
318
  deleted: "deleted";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -383,8 +383,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
- updated: "updated";
387
386
  created: "created";
387
+ updated: "updated";
388
388
  deleted: "deleted";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -1,4 +1,4 @@
1
1
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-D4zaFE2p.mjs";
2
2
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-65uwTpbg.mjs";
3
- import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, a as ContainerBootstrapConfig, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, o as ContainerBootstrapConfigSchema, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../../index-CqCe7Phc.mjs";
3
+ import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, a as ContainerBootstrapConfig, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, o as ContainerBootstrapConfigSchema, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../../index-mU2lnU7O.mjs";
4
4
  export { ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
10
10
  changed: _$zod.ZodObject<{
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
- change: "change";
14
13
  create: "create";
15
14
  delete: "delete";
15
+ change: "change";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
18
18
  batch: _$zod.ZodObject<{
19
19
  changes: _$zod.ZodArray<_$zod.ZodObject<{
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
- change: "change";
23
22
  create: "create";
24
23
  delete: "delete";
24
+ change: "change";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
27
27
  }, _$zod_v4_core0.$strip>;
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
153
153
  changed: _$zod.ZodObject<{
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
- change: "change";
157
156
  create: "create";
158
157
  delete: "delete";
158
+ change: "change";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
161
161
  batch: _$zod.ZodObject<{
162
162
  changes: _$zod.ZodArray<_$zod.ZodObject<{
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
- change: "change";
166
165
  create: "create";
167
166
  delete: "delete";
167
+ change: "change";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
170
170
  }, _$zod_v4_core0.$strip>;
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
294
294
  changed: _$zod.ZodObject<{
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
- change: "change";
298
297
  create: "create";
299
298
  delete: "delete";
299
+ change: "change";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
302
302
  batch: _$zod.ZodObject<{
303
303
  changes: _$zod.ZodArray<_$zod.ZodObject<{
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
- change: "change";
307
306
  create: "create";
308
307
  delete: "delete";
308
+ change: "change";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
311
311
  }, _$zod_v4_core0.$strip>;
@@ -5,9 +5,9 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- change: "change";
9
8
  create: "create";
10
9
  delete: "delete";
10
+ change: "change";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
13
13
  /**
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
16
16
  declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
- change: "change";
20
19
  create: "create";
21
20
  delete: "delete";
21
+ change: "change";
22
22
  }>;
23
23
  }, z.core.$strip>;
24
24
  type FsChanged = z.infer<typeof FsChangedSchema>;
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
29
29
  changes: z.ZodArray<z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- change: "change";
33
32
  create: "create";
34
33
  delete: "delete";
34
+ change: "change";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;