@makaio/framework 1.0.0-dev-1781354548379 → 1.0.0-dev-1781368205459
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.
- package/README.md +1 -1
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.d.mts +493 -0
- package/dist/adapter-subsystem/index.mjs +1 -0
- package/dist/clients/index.d.mts +5 -5
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +62 -62
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/inbound-hooks/index.d.mts +174 -0
- package/dist/inbound-hooks/index.mjs +1 -0
- package/dist/{index-CH5U3zSA2.d.mts → index-B4vJi_iM2.d.mts} +1 -1
- package/dist/{index-C3zfJg6s.d.mts → index-B6VdcJ5l.d.mts} +34 -34
- package/dist/{index-Da4ABgRq.d.mts → index-Cb0zGPMV.d.mts} +24 -24
- package/dist/{index-DPIdX6kb.d.mts → index-ChrHbhJV.d.mts} +99 -99
- package/dist/{index-BpXX9WZJ.d.mts → index-Ckm-R1Cr.d.mts} +6 -6
- package/dist/{index-BHzgDuRE.d.mts → index-D0Fupmhd.d.mts} +3 -3
- package/dist/{index-CTn_Xi-p.d.mts → index-DC6F_m3G.d.mts} +1 -1
- package/dist/{index-IekAD8Gp.d.mts → index-DhpOh71Z.d.mts} +4 -4
- package/dist/{index-DrGLAuZc.d.mts → index-Dtj6N2sx.d.mts} +2 -2
- package/dist/{index-BAhJKQLX.d.mts → index-EsXVjKsv.d.mts} +4 -4
- package/dist/{index-BDRKAxIV.d.mts → index-dAjtejnc.d.mts} +2 -2
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{namespace-B73Sxj5L.d.mts → namespace-B03JE_ec.d.mts} +4 -4
- package/dist/{namespace-DRFJN-_z.d.mts → namespace-BGmNI3O1.d.mts} +2 -2
- package/dist/{namespace-BxxBhcV_.d.mts → namespace-BPlAuhc_.d.mts} +9 -9
- package/dist/{namespace-B60mn8J-2.d.mts → namespace-CtK3nKKj2.d.mts} +2 -2
- package/dist/{namespace-Boe6l5n9.d.mts → namespace-_Ii2qs15.d.mts} +42 -42
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +8 -59
- package/dist/runtime-node/index.mjs +26 -26
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schema-DGMLvVoQ.d.mts → schema-BJS05p13.d.mts} +2 -2
- package/dist/{schemas-Dv5FxHDT.d.mts → schemas-C2c64X6h.d.mts} +2 -2
- package/dist/{schemas-kVcJMjjn2.d.mts → schemas-CwF2K9N52.d.mts} +7 -7
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +20 -20
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{types-BpuLMR2m.d.mts → types-CjrDiL2H.d.mts} +34 -34
- package/dist/workflow-engine/index.d.mts +30 -30
- package/package.json +9 -1
- package/dist/drizzle/0001_messages_content_tsv.na.md +0 -18
- package/dist/drizzle/meta/0000_snapshot.json +0 -2813
- package/dist/drizzle/meta/0001_snapshot.json +0 -2820
- package/dist/drizzle/meta/0002_snapshot.json +0 -2827
- package/dist/drizzle/meta/0003_snapshot.json +0 -2834
- package/dist/drizzle/meta/0004_snapshot.json +0 -2842
- package/dist/drizzle/meta/0005_snapshot.json +0 -2849
- package/dist/drizzle/meta/0006_snapshot.json +0 -2865
- package/dist/drizzle/meta/0007_snapshot.json +0 -2879
- package/dist/drizzle/meta/0008_snapshot.json +0 -2886
- package/dist/drizzle/meta/0009_snapshot.json +0 -2901
- package/dist/drizzle/meta/0010_snapshot.json +0 -2908
- package/dist/drizzle/meta/0011_snapshot.json +0 -2915
- package/dist/drizzle/meta/0012_snapshot.json +0 -2934
- package/dist/drizzle/meta/0013_snapshot.json +0 -2954
- package/dist/drizzle/meta/0014_snapshot.json +0 -2959
- package/dist/drizzle/meta/0015_snapshot.json +0 -2966
- package/dist/drizzle/meta/0016_snapshot.json +0 -2973
- 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" | "
|
|
90
|
+
data: "closed" | "active" | "archived" | "discovered";
|
|
91
91
|
driverParam: string;
|
|
92
92
|
notNull: true;
|
|
93
93
|
hasDefault: false;
|
|
@@ -201,7 +201,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
201
201
|
tableName: "sessions";
|
|
202
202
|
dataType: "string";
|
|
203
203
|
columnType: "SQLiteText";
|
|
204
|
-
data: "fork" | "
|
|
204
|
+
data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
|
|
205
205
|
driverParam: string;
|
|
206
206
|
notNull: false;
|
|
207
207
|
hasDefault: false;
|
|
@@ -1002,9 +1002,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1002
1002
|
}, _$zod_v4_core0.$strip>>;
|
|
1003
1003
|
status: _$zod.ZodEnum<{
|
|
1004
1004
|
closed: "closed";
|
|
1005
|
-
discovered: "discovered";
|
|
1006
1005
|
active: "active";
|
|
1007
1006
|
archived: "archived";
|
|
1007
|
+
discovered: "discovered";
|
|
1008
1008
|
}>;
|
|
1009
1009
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1010
1010
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1016,9 +1016,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1016
1016
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1017
1017
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1018
1018
|
fork: "fork";
|
|
1019
|
+
branch: "branch";
|
|
1019
1020
|
subagent: "subagent";
|
|
1020
1021
|
compress: "compress";
|
|
1021
|
-
branch: "branch";
|
|
1022
1022
|
rewrite: "rewrite";
|
|
1023
1023
|
coordinator: "coordinator";
|
|
1024
1024
|
aside: "aside";
|
|
@@ -1121,9 +1121,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1121
1121
|
}, _$zod_v4_core0.$strip>>;
|
|
1122
1122
|
status: _$zod.ZodEnum<{
|
|
1123
1123
|
closed: "closed";
|
|
1124
|
-
discovered: "discovered";
|
|
1125
1124
|
active: "active";
|
|
1126
1125
|
archived: "archived";
|
|
1126
|
+
discovered: "discovered";
|
|
1127
1127
|
}>;
|
|
1128
1128
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1129
1129
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1135,9 +1135,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1135
1135
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1136
1136
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1137
1137
|
fork: "fork";
|
|
1138
|
+
branch: "branch";
|
|
1138
1139
|
subagent: "subagent";
|
|
1139
1140
|
compress: "compress";
|
|
1140
|
-
branch: "branch";
|
|
1141
1141
|
rewrite: "rewrite";
|
|
1142
1142
|
coordinator: "coordinator";
|
|
1143
1143
|
aside: "aside";
|
|
@@ -1217,9 +1217,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1217
1217
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1218
1218
|
all: "all";
|
|
1219
1219
|
closed: "closed";
|
|
1220
|
-
discovered: "discovered";
|
|
1221
1220
|
active: "active";
|
|
1222
1221
|
archived: "archived";
|
|
1222
|
+
discovered: "discovered";
|
|
1223
1223
|
}>>;
|
|
1224
1224
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1225
1225
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -1265,9 +1265,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1265
1265
|
}, _$zod_v4_core0.$strip>>;
|
|
1266
1266
|
status: _$zod.ZodEnum<{
|
|
1267
1267
|
closed: "closed";
|
|
1268
|
-
discovered: "discovered";
|
|
1269
1268
|
active: "active";
|
|
1270
1269
|
archived: "archived";
|
|
1270
|
+
discovered: "discovered";
|
|
1271
1271
|
}>;
|
|
1272
1272
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1273
1273
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1279,9 +1279,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1279
1279
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1280
1280
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1281
1281
|
fork: "fork";
|
|
1282
|
+
branch: "branch";
|
|
1282
1283
|
subagent: "subagent";
|
|
1283
1284
|
compress: "compress";
|
|
1284
|
-
branch: "branch";
|
|
1285
1285
|
rewrite: "rewrite";
|
|
1286
1286
|
coordinator: "coordinator";
|
|
1287
1287
|
aside: "aside";
|
|
@@ -1359,9 +1359,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1359
1359
|
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1360
1360
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
1361
1361
|
fork: "fork";
|
|
1362
|
+
branch: "branch";
|
|
1362
1363
|
subagent: "subagent";
|
|
1363
1364
|
compress: "compress";
|
|
1364
|
-
branch: "branch";
|
|
1365
1365
|
rewrite: "rewrite";
|
|
1366
1366
|
coordinator: "coordinator";
|
|
1367
1367
|
aside: "aside";
|
|
@@ -1379,9 +1379,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1379
1379
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1380
1380
|
all: "all";
|
|
1381
1381
|
closed: "closed";
|
|
1382
|
-
discovered: "discovered";
|
|
1383
1382
|
active: "active";
|
|
1384
1383
|
archived: "archived";
|
|
1384
|
+
discovered: "discovered";
|
|
1385
1385
|
}>>;
|
|
1386
1386
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1387
1387
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -1424,9 +1424,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1424
1424
|
}, _$zod_v4_core0.$strip>>;
|
|
1425
1425
|
status: _$zod.ZodEnum<{
|
|
1426
1426
|
closed: "closed";
|
|
1427
|
-
discovered: "discovered";
|
|
1428
1427
|
active: "active";
|
|
1429
1428
|
archived: "archived";
|
|
1429
|
+
discovered: "discovered";
|
|
1430
1430
|
}>;
|
|
1431
1431
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1432
1432
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1438,9 +1438,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1438
1438
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1439
1439
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1440
1440
|
fork: "fork";
|
|
1441
|
+
branch: "branch";
|
|
1441
1442
|
subagent: "subagent";
|
|
1442
1443
|
compress: "compress";
|
|
1443
|
-
branch: "branch";
|
|
1444
1444
|
rewrite: "rewrite";
|
|
1445
1445
|
coordinator: "coordinator";
|
|
1446
1446
|
aside: "aside";
|
|
@@ -1512,9 +1512,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1512
1512
|
sessionId: _$zod.ZodString;
|
|
1513
1513
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1514
1514
|
closed: "closed";
|
|
1515
|
-
discovered: "discovered";
|
|
1516
1515
|
active: "active";
|
|
1517
1516
|
archived: "archived";
|
|
1517
|
+
discovered: "discovered";
|
|
1518
1518
|
}>>;
|
|
1519
1519
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1520
1520
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1525,9 +1525,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1525
1525
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1526
1526
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1527
1527
|
fork: "fork";
|
|
1528
|
+
branch: "branch";
|
|
1528
1529
|
subagent: "subagent";
|
|
1529
1530
|
compress: "compress";
|
|
1530
|
-
branch: "branch";
|
|
1531
1531
|
rewrite: "rewrite";
|
|
1532
1532
|
coordinator: "coordinator";
|
|
1533
1533
|
aside: "aside";
|
|
@@ -1604,9 +1604,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1604
1604
|
}, _$zod_v4_core0.$strip>>;
|
|
1605
1605
|
status: _$zod.ZodEnum<{
|
|
1606
1606
|
closed: "closed";
|
|
1607
|
-
discovered: "discovered";
|
|
1608
1607
|
active: "active";
|
|
1609
1608
|
archived: "archived";
|
|
1609
|
+
discovered: "discovered";
|
|
1610
1610
|
}>;
|
|
1611
1611
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1612
1612
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1618,9 +1618,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1618
1618
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1619
1619
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1620
1620
|
fork: "fork";
|
|
1621
|
+
branch: "branch";
|
|
1621
1622
|
subagent: "subagent";
|
|
1622
1623
|
compress: "compress";
|
|
1623
|
-
branch: "branch";
|
|
1624
1624
|
rewrite: "rewrite";
|
|
1625
1625
|
coordinator: "coordinator";
|
|
1626
1626
|
aside: "aside";
|
|
@@ -1790,9 +1790,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1790
1790
|
}, _$zod_v4_core0.$strip>>;
|
|
1791
1791
|
status: _$zod.ZodEnum<{
|
|
1792
1792
|
closed: "closed";
|
|
1793
|
-
discovered: "discovered";
|
|
1794
1793
|
active: "active";
|
|
1795
1794
|
archived: "archived";
|
|
1795
|
+
discovered: "discovered";
|
|
1796
1796
|
}>;
|
|
1797
1797
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1798
1798
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1804,9 +1804,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1804
1804
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1805
1805
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1806
1806
|
fork: "fork";
|
|
1807
|
+
branch: "branch";
|
|
1807
1808
|
subagent: "subagent";
|
|
1808
1809
|
compress: "compress";
|
|
1809
|
-
branch: "branch";
|
|
1810
1810
|
rewrite: "rewrite";
|
|
1811
1811
|
coordinator: "coordinator";
|
|
1812
1812
|
aside: "aside";
|
|
@@ -1916,9 +1916,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1916
1916
|
}, _$zod_v4_core0.$strip>>;
|
|
1917
1917
|
status: _$zod.ZodEnum<{
|
|
1918
1918
|
closed: "closed";
|
|
1919
|
-
discovered: "discovered";
|
|
1920
1919
|
active: "active";
|
|
1921
1920
|
archived: "archived";
|
|
1921
|
+
discovered: "discovered";
|
|
1922
1922
|
}>;
|
|
1923
1923
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1924
1924
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1930,9 +1930,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
1930
1930
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1931
1931
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1932
1932
|
fork: "fork";
|
|
1933
|
+
branch: "branch";
|
|
1933
1934
|
subagent: "subagent";
|
|
1934
1935
|
compress: "compress";
|
|
1935
|
-
branch: "branch";
|
|
1936
1936
|
rewrite: "rewrite";
|
|
1937
1937
|
coordinator: "coordinator";
|
|
1938
1938
|
aside: "aside";
|
|
@@ -2063,9 +2063,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2063
2063
|
}, _$zod_v4_core0.$strip>>;
|
|
2064
2064
|
status: _$zod.ZodEnum<{
|
|
2065
2065
|
closed: "closed";
|
|
2066
|
-
discovered: "discovered";
|
|
2067
2066
|
active: "active";
|
|
2068
2067
|
archived: "archived";
|
|
2068
|
+
discovered: "discovered";
|
|
2069
2069
|
}>;
|
|
2070
2070
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2071
2071
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2077,9 +2077,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2077
2077
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2078
2078
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2079
2079
|
fork: "fork";
|
|
2080
|
+
branch: "branch";
|
|
2080
2081
|
subagent: "subagent";
|
|
2081
2082
|
compress: "compress";
|
|
2082
|
-
branch: "branch";
|
|
2083
2083
|
rewrite: "rewrite";
|
|
2084
2084
|
coordinator: "coordinator";
|
|
2085
2085
|
aside: "aside";
|
|
@@ -2182,9 +2182,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2182
2182
|
}, _$zod_v4_core0.$strip>>;
|
|
2183
2183
|
status: _$zod.ZodEnum<{
|
|
2184
2184
|
closed: "closed";
|
|
2185
|
-
discovered: "discovered";
|
|
2186
2185
|
active: "active";
|
|
2187
2186
|
archived: "archived";
|
|
2187
|
+
discovered: "discovered";
|
|
2188
2188
|
}>;
|
|
2189
2189
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2190
2190
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2196,9 +2196,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2196
2196
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2197
2197
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2198
2198
|
fork: "fork";
|
|
2199
|
+
branch: "branch";
|
|
2199
2200
|
subagent: "subagent";
|
|
2200
2201
|
compress: "compress";
|
|
2201
|
-
branch: "branch";
|
|
2202
2202
|
rewrite: "rewrite";
|
|
2203
2203
|
coordinator: "coordinator";
|
|
2204
2204
|
aside: "aside";
|
|
@@ -2278,9 +2278,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2278
2278
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2279
2279
|
all: "all";
|
|
2280
2280
|
closed: "closed";
|
|
2281
|
-
discovered: "discovered";
|
|
2282
2281
|
active: "active";
|
|
2283
2282
|
archived: "archived";
|
|
2283
|
+
discovered: "discovered";
|
|
2284
2284
|
}>>;
|
|
2285
2285
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2286
2286
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2326,9 +2326,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2326
2326
|
}, _$zod_v4_core0.$strip>>;
|
|
2327
2327
|
status: _$zod.ZodEnum<{
|
|
2328
2328
|
closed: "closed";
|
|
2329
|
-
discovered: "discovered";
|
|
2330
2329
|
active: "active";
|
|
2331
2330
|
archived: "archived";
|
|
2331
|
+
discovered: "discovered";
|
|
2332
2332
|
}>;
|
|
2333
2333
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2334
2334
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2340,9 +2340,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2340
2340
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2341
2341
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2342
2342
|
fork: "fork";
|
|
2343
|
+
branch: "branch";
|
|
2343
2344
|
subagent: "subagent";
|
|
2344
2345
|
compress: "compress";
|
|
2345
|
-
branch: "branch";
|
|
2346
2346
|
rewrite: "rewrite";
|
|
2347
2347
|
coordinator: "coordinator";
|
|
2348
2348
|
aside: "aside";
|
|
@@ -2420,9 +2420,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2420
2420
|
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2421
2421
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
2422
2422
|
fork: "fork";
|
|
2423
|
+
branch: "branch";
|
|
2423
2424
|
subagent: "subagent";
|
|
2424
2425
|
compress: "compress";
|
|
2425
|
-
branch: "branch";
|
|
2426
2426
|
rewrite: "rewrite";
|
|
2427
2427
|
coordinator: "coordinator";
|
|
2428
2428
|
aside: "aside";
|
|
@@ -2440,9 +2440,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2440
2440
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2441
2441
|
all: "all";
|
|
2442
2442
|
closed: "closed";
|
|
2443
|
-
discovered: "discovered";
|
|
2444
2443
|
active: "active";
|
|
2445
2444
|
archived: "archived";
|
|
2445
|
+
discovered: "discovered";
|
|
2446
2446
|
}>>;
|
|
2447
2447
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2448
2448
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -2485,9 +2485,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2485
2485
|
}, _$zod_v4_core0.$strip>>;
|
|
2486
2486
|
status: _$zod.ZodEnum<{
|
|
2487
2487
|
closed: "closed";
|
|
2488
|
-
discovered: "discovered";
|
|
2489
2488
|
active: "active";
|
|
2490
2489
|
archived: "archived";
|
|
2490
|
+
discovered: "discovered";
|
|
2491
2491
|
}>;
|
|
2492
2492
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2493
2493
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2499,9 +2499,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2499
2499
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2500
2500
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2501
2501
|
fork: "fork";
|
|
2502
|
+
branch: "branch";
|
|
2502
2503
|
subagent: "subagent";
|
|
2503
2504
|
compress: "compress";
|
|
2504
|
-
branch: "branch";
|
|
2505
2505
|
rewrite: "rewrite";
|
|
2506
2506
|
coordinator: "coordinator";
|
|
2507
2507
|
aside: "aside";
|
|
@@ -2573,9 +2573,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2573
2573
|
sessionId: _$zod.ZodString;
|
|
2574
2574
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2575
2575
|
closed: "closed";
|
|
2576
|
-
discovered: "discovered";
|
|
2577
2576
|
active: "active";
|
|
2578
2577
|
archived: "archived";
|
|
2578
|
+
discovered: "discovered";
|
|
2579
2579
|
}>>;
|
|
2580
2580
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2581
2581
|
contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2586,9 +2586,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2586
2586
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2587
2587
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2588
2588
|
fork: "fork";
|
|
2589
|
+
branch: "branch";
|
|
2589
2590
|
subagent: "subagent";
|
|
2590
2591
|
compress: "compress";
|
|
2591
|
-
branch: "branch";
|
|
2592
2592
|
rewrite: "rewrite";
|
|
2593
2593
|
coordinator: "coordinator";
|
|
2594
2594
|
aside: "aside";
|
|
@@ -2665,9 +2665,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2665
2665
|
}, _$zod_v4_core0.$strip>>;
|
|
2666
2666
|
status: _$zod.ZodEnum<{
|
|
2667
2667
|
closed: "closed";
|
|
2668
|
-
discovered: "discovered";
|
|
2669
2668
|
active: "active";
|
|
2670
2669
|
archived: "archived";
|
|
2670
|
+
discovered: "discovered";
|
|
2671
2671
|
}>;
|
|
2672
2672
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2673
2673
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2679,9 +2679,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2679
2679
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2680
2680
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2681
2681
|
fork: "fork";
|
|
2682
|
+
branch: "branch";
|
|
2682
2683
|
subagent: "subagent";
|
|
2683
2684
|
compress: "compress";
|
|
2684
|
-
branch: "branch";
|
|
2685
2685
|
rewrite: "rewrite";
|
|
2686
2686
|
coordinator: "coordinator";
|
|
2687
2687
|
aside: "aside";
|
|
@@ -2851,9 +2851,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2851
2851
|
}, _$zod_v4_core0.$strip>>;
|
|
2852
2852
|
status: _$zod.ZodEnum<{
|
|
2853
2853
|
closed: "closed";
|
|
2854
|
-
discovered: "discovered";
|
|
2855
2854
|
active: "active";
|
|
2856
2855
|
archived: "archived";
|
|
2856
|
+
discovered: "discovered";
|
|
2857
2857
|
}>;
|
|
2858
2858
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2859
2859
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2865,9 +2865,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2865
2865
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2866
2866
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2867
2867
|
fork: "fork";
|
|
2868
|
+
branch: "branch";
|
|
2868
2869
|
subagent: "subagent";
|
|
2869
2870
|
compress: "compress";
|
|
2870
|
-
branch: "branch";
|
|
2871
2871
|
rewrite: "rewrite";
|
|
2872
2872
|
coordinator: "coordinator";
|
|
2873
2873
|
aside: "aside";
|
|
@@ -2977,9 +2977,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2977
2977
|
}, _$zod_v4_core0.$strip>>;
|
|
2978
2978
|
status: _$zod.ZodEnum<{
|
|
2979
2979
|
closed: "closed";
|
|
2980
|
-
discovered: "discovered";
|
|
2981
2980
|
active: "active";
|
|
2982
2981
|
archived: "archived";
|
|
2982
|
+
discovered: "discovered";
|
|
2983
2983
|
}>;
|
|
2984
2984
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2985
2985
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2991,9 +2991,9 @@ declare const SessionStorageNamespace$1: {
|
|
|
2991
2991
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2992
2992
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2993
2993
|
fork: "fork";
|
|
2994
|
+
branch: "branch";
|
|
2994
2995
|
subagent: "subagent";
|
|
2995
2996
|
compress: "compress";
|
|
2996
|
-
branch: "branch";
|
|
2997
2997
|
rewrite: "rewrite";
|
|
2998
2998
|
coordinator: "coordinator";
|
|
2999
2999
|
aside: "aside";
|
|
@@ -3113,13 +3113,13 @@ declare const SessionStorageNamespace$1: {
|
|
|
3113
3113
|
clientId?: string | undefined;
|
|
3114
3114
|
compressionMode?: "auto" | "manual" | "off" | undefined;
|
|
3115
3115
|
}[];
|
|
3116
|
-
status: "closed" | "
|
|
3116
|
+
status: "closed" | "active" | "archived" | "discovered";
|
|
3117
3117
|
leadAgentId?: string | undefined;
|
|
3118
3118
|
parentSessionId?: string | undefined;
|
|
3119
3119
|
contextInheritance?: "none" | "parent-history" | undefined;
|
|
3120
3120
|
rootSessionId?: string | undefined;
|
|
3121
3121
|
forkPointMessageId?: string | undefined;
|
|
3122
|
-
branchKind?: "fork" | "
|
|
3122
|
+
branchKind?: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside" | undefined;
|
|
3123
3123
|
adapterName?: string | undefined;
|
|
3124
3124
|
adapterSessionId?: string | undefined;
|
|
3125
3125
|
adapterId?: string | undefined;
|
package/dist/package.json
CHANGED
|
@@ -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-
|
|
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 {
|
|
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 {
|
|
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
|
|
62
|
+
readonly configRepository: IAdapterConfigRepository;
|
|
114
63
|
/** Platform defaults (cwd/env) supplied to adapter instances. */
|
|
115
64
|
readonly platformDefaults: PlatformDefaults;
|
|
116
65
|
}
|