@makaio/framework 1.0.0-dev-1782480236258 → 1.0.0-dev-1783355411417
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/dist/.makaio-build.json +2 -2
- package/dist/adapter-BRxCc72E.mjs +1 -0
- package/dist/adapters/index.d.mts +11 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/{base-orchestrator-Cw0vpNgB.d.mts → base-orchestrator-BNysGvaM.d.mts} +70 -2
- package/dist/bus/index.d.mts +39 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-D-ioC0DE.mjs +1 -0
- package/dist/bus-rgUFuO2a.mjs +2 -0
- package/dist/{client-BcfR-LJC.mjs → client-BgUjVbXX.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +14 -14
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-DePb3ke-.d.mts → definition-b9jyJqPD.d.mts} +1 -1
- package/dist/drizzle/0021_m_mr8e1j84.sql +3 -0
- package/dist/drizzle/0022_m_mr8i4ky3.sql +43 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{handler-2bPhRn0u.mjs → handler-BFNvtv5t.mjs} +1 -1
- package/dist/handlers-v47Gbsr1.mjs +57 -0
- package/dist/hooks/index.d.mts +8 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-BhOLtp0B.d.mts → index-31vR1sxk.d.mts} +47 -29
- package/dist/{index-Clqt7Nm3.d.mts → index-3J0HZlPH.d.mts} +372 -87
- package/dist/{index-D4gn93gL.d.mts → index-3X0368CL.d.mts} +12 -12
- package/dist/{index-gAFwNiJT.d.mts → index-BYfSAJRC.d.mts} +64 -0
- package/dist/{index-B1XsbrAr.d.mts → index-BwGfdbI0.d.mts} +6 -6
- package/dist/{index-D8ScOpus.d.mts → index-C5C1tk9f.d.mts} +222 -9
- package/dist/{index-Cvjnj7Zh.d.mts → index-C6Ys8pxt.d.mts} +5 -5
- package/dist/{index-mU2lnU7O.d.mts → index-CqCe7Phc.d.mts} +6 -6
- package/dist/{index-Cyi7y_aG.d.mts → index-D6aAzr32.d.mts} +20 -20
- package/dist/{index-wfSedMR9.d.mts → index-D7rWAEY0.d.mts} +2 -1
- package/dist/{index-CYHWOXUm.d.mts → index-DEzdNQum.d.mts} +1 -1
- package/dist/{index-DsLpP5ek.d.mts → index-DQYj8-53.d.mts} +1 -1
- package/dist/{index-0WhPbKnH.d.mts → index-DV4nRk0h.d.mts} +21 -21
- package/dist/{index-C6SLILCZ.d.mts → index-DvHYpi-J.d.mts} +378 -176
- package/dist/{index-BMbmoarE.d.mts → index-O08Q2ikz.d.mts} +8 -8
- 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/{lib-Ba55od_d.mjs → lib-BOmKyjWD.mjs} +1 -1
- package/dist/{lib-CM_BUxN8.mjs → lib-DLZYp5z3.mjs} +1 -1
- package/dist/{loop-gate-handlers-BLoGCWMQ.mjs → loop-gate-handlers-Bjmat-K3.mjs} +1 -1
- package/dist/{namespace-CGxFYDlK.d.mts → namespace-B4cV_pk3.d.mts} +32 -32
- package/dist/{namespace-LUNf8zo5.d.mts → namespace-D1_9WVCo.d.mts} +157 -0
- package/dist/{namespace-BsYKEMd8.d.mts → namespace-DAj_riOn.d.mts} +138 -0
- package/dist/{namespace-BeMGmLrp.d.mts → namespace-DhDY0juT.d.mts} +75 -9
- package/dist/{namespace-Bmi5bjm4.d.mts → namespace-DmqoDDRD.d.mts} +156 -20
- package/dist/namespace-dFBD2ZmS.mjs +1 -0
- package/dist/node/transports/index.d.mts +8 -0
- package/dist/node/transports/index.mjs +2 -2
- package/dist/orchestrator-shared-ChygCvR1.mjs +1 -0
- package/dist/{orchestrator-shared-ChOdIgh6.d.mts → orchestrator-shared-DFLb1otg.d.mts} +9 -3
- package/dist/package-BmRhhi-3.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/schema-7aKBGB7S.mjs +1 -0
- package/dist/{schema-DHlTAy0N.mjs → schema-CHp6I33k.mjs} +1 -1
- package/dist/{schema-Bf_ZNjif.d.mts → schema-DLNBajAV.d.mts} +23 -1
- package/dist/{schemas-D512XweP.d.mts → schemas-DMMWmWjq.d.mts} +4 -4
- package/dist/schemas-DZGnr9Tl.mjs +1 -0
- package/dist/{schemas-C6TVJ80V2.d.mts → schemas-DuuVuhHX2.d.mts} +2 -2
- package/dist/schemas-ftgVeWIG.mjs +1 -0
- package/dist/scoped-bus-CZId-Df8.mjs +1 -0
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- 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/harness/index.d.mts +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +103 -34
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +73 -6
- package/dist/services/log-import/index.mjs +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.d.mts +56 -2
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +45 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +8 -8
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +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/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +9 -4
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +5 -5
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/turn/schemas.d.mts +89 -0
- package/dist/services/turn/schemas.mjs +1 -1
- package/dist/session-CKWfn3oc.mjs +1 -0
- package/dist/session-DCbJwYEU.mjs +69 -0
- package/dist/{session-lineage-5-wRBzuC.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/{tool-approval-service-DEQiipxj.mjs → tool-approval-service-MU_DmJsf.mjs} +1 -1
- package/dist/tools-BrNm-een.mjs +1 -0
- package/dist/{transition-CBjccCMw.d.mts → transition-Dq41YCkc.d.mts} +1 -1
- package/dist/{types-InWSdi-V.d.mts → types-BMlzmWp6.d.mts} +11 -1
- package/dist/{types-8rhArs_K.d.mts → types-C76EP81O.d.mts} +136 -93
- package/dist/ui-components/index.mjs +1 -1
- package/dist/{workflow-BqH6ar-D.mjs → workflow-C1z7I5CI.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +12 -12
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/package.json +1 -1
- package/dist/adapter-DaQqmKOJ.mjs +0 -1
- package/dist/bus-BgodbPl9.mjs +0 -2
- package/dist/bus-HgaFcCZ1.mjs +0 -1
- package/dist/handlers-BAycjV02.mjs +0 -41
- package/dist/namespace-C-piH3w4.mjs +0 -1
- package/dist/orchestrator-shared-Cxk3x8Vs.mjs +0 -1
- package/dist/package-B1AXe-oz.mjs +0 -1
- package/dist/schema-D6WAI8OL.mjs +0 -1
- package/dist/schemas-ArqQTC0Q.mjs +0 -1
- package/dist/schemas-uID59wR8.mjs +0 -1
- package/dist/scoped-bus-H3xMYR0E.mjs +0 -1
- package/dist/session-0nWT4st6.mjs +0 -39
- package/dist/session-DH-ja8Ka.mjs +0 -1
- package/dist/tools-DFOsOboy.mjs +0 -1
|
@@ -202,7 +202,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
202
202
|
tableName: "sessions";
|
|
203
203
|
dataType: "string";
|
|
204
204
|
columnType: "SQLiteText";
|
|
205
|
-
data: "
|
|
205
|
+
data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
|
|
206
206
|
driverParam: string;
|
|
207
207
|
notNull: false;
|
|
208
208
|
hasDefault: false;
|
|
@@ -626,6 +626,23 @@ declare const SessionStorageNamespace$1: {
|
|
|
626
626
|
}, {}, {
|
|
627
627
|
length: number | undefined;
|
|
628
628
|
}>;
|
|
629
|
+
isSidechain: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
630
|
+
name: string;
|
|
631
|
+
tableName: "sessions";
|
|
632
|
+
dataType: "boolean";
|
|
633
|
+
columnType: "SQLiteBoolean";
|
|
634
|
+
data: boolean;
|
|
635
|
+
driverParam: number;
|
|
636
|
+
notNull: false;
|
|
637
|
+
hasDefault: false;
|
|
638
|
+
isPrimaryKey: false;
|
|
639
|
+
isAutoincrement: false;
|
|
640
|
+
hasRuntimeDefault: false;
|
|
641
|
+
enumValues: undefined;
|
|
642
|
+
baseColumn: never;
|
|
643
|
+
identity: undefined;
|
|
644
|
+
generated: undefined;
|
|
645
|
+
}, {}, {}>;
|
|
629
646
|
};
|
|
630
647
|
dialect: "sqlite";
|
|
631
648
|
}>;
|
|
@@ -1035,10 +1052,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1035
1052
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1036
1053
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1037
1054
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1038
|
-
branch: "branch";
|
|
1039
1055
|
fork: "fork";
|
|
1040
1056
|
subagent: "subagent";
|
|
1041
1057
|
compress: "compress";
|
|
1058
|
+
branch: "branch";
|
|
1042
1059
|
rewrite: "rewrite";
|
|
1043
1060
|
coordinator: "coordinator";
|
|
1044
1061
|
aside: "aside";
|
|
@@ -1098,6 +1115,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1098
1115
|
imported: "imported";
|
|
1099
1116
|
tracking: "tracking";
|
|
1100
1117
|
}>>;
|
|
1118
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1101
1119
|
}, _$zod_v4_core0.$strip>>;
|
|
1102
1120
|
}, _$zod_v4_core0.$strip>;
|
|
1103
1121
|
};
|
|
@@ -1155,10 +1173,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1155
1173
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1156
1174
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1157
1175
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1158
|
-
branch: "branch";
|
|
1159
1176
|
fork: "fork";
|
|
1160
1177
|
subagent: "subagent";
|
|
1161
1178
|
compress: "compress";
|
|
1179
|
+
branch: "branch";
|
|
1162
1180
|
rewrite: "rewrite";
|
|
1163
1181
|
coordinator: "coordinator";
|
|
1164
1182
|
aside: "aside";
|
|
@@ -1218,6 +1236,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1218
1236
|
imported: "imported";
|
|
1219
1237
|
tracking: "tracking";
|
|
1220
1238
|
}>>;
|
|
1239
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1221
1240
|
}, _$zod_v4_core0.$strip>;
|
|
1222
1241
|
ifAbsent: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1223
1242
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -1300,10 +1319,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1300
1319
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1301
1320
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1302
1321
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1303
|
-
branch: "branch";
|
|
1304
1322
|
fork: "fork";
|
|
1305
1323
|
subagent: "subagent";
|
|
1306
1324
|
compress: "compress";
|
|
1325
|
+
branch: "branch";
|
|
1307
1326
|
rewrite: "rewrite";
|
|
1308
1327
|
coordinator: "coordinator";
|
|
1309
1328
|
aside: "aside";
|
|
@@ -1363,6 +1382,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1363
1382
|
imported: "imported";
|
|
1364
1383
|
tracking: "tracking";
|
|
1365
1384
|
}>>;
|
|
1385
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1366
1386
|
preview: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1367
1387
|
messageCount: _$zod.ZodNumber;
|
|
1368
1388
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -1381,10 +1401,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1381
1401
|
title: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1382
1402
|
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1383
1403
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
1384
|
-
branch: "branch";
|
|
1385
1404
|
fork: "fork";
|
|
1386
1405
|
subagent: "subagent";
|
|
1387
1406
|
compress: "compress";
|
|
1407
|
+
branch: "branch";
|
|
1388
1408
|
rewrite: "rewrite";
|
|
1389
1409
|
coordinator: "coordinator";
|
|
1390
1410
|
aside: "aside";
|
|
@@ -1460,10 +1480,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1460
1480
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1461
1481
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1462
1482
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1463
|
-
branch: "branch";
|
|
1464
1483
|
fork: "fork";
|
|
1465
1484
|
subagent: "subagent";
|
|
1466
1485
|
compress: "compress";
|
|
1486
|
+
branch: "branch";
|
|
1467
1487
|
rewrite: "rewrite";
|
|
1468
1488
|
coordinator: "coordinator";
|
|
1469
1489
|
aside: "aside";
|
|
@@ -1523,6 +1543,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1523
1543
|
imported: "imported";
|
|
1524
1544
|
tracking: "tracking";
|
|
1525
1545
|
}>>;
|
|
1546
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1526
1547
|
preview: _$zod.ZodObject<{
|
|
1527
1548
|
messageCount: _$zod.ZodNumber;
|
|
1528
1549
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -1548,10 +1569,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1548
1569
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1549
1570
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1550
1571
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1551
|
-
branch: "branch";
|
|
1552
1572
|
fork: "fork";
|
|
1553
1573
|
subagent: "subagent";
|
|
1554
1574
|
compress: "compress";
|
|
1575
|
+
branch: "branch";
|
|
1555
1576
|
rewrite: "rewrite";
|
|
1556
1577
|
coordinator: "coordinator";
|
|
1557
1578
|
aside: "aside";
|
|
@@ -1642,10 +1663,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1642
1663
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1643
1664
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1644
1665
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1645
|
-
branch: "branch";
|
|
1646
1666
|
fork: "fork";
|
|
1647
1667
|
subagent: "subagent";
|
|
1648
1668
|
compress: "compress";
|
|
1669
|
+
branch: "branch";
|
|
1649
1670
|
rewrite: "rewrite";
|
|
1650
1671
|
coordinator: "coordinator";
|
|
1651
1672
|
aside: "aside";
|
|
@@ -1705,6 +1726,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1705
1726
|
imported: "imported";
|
|
1706
1727
|
tracking: "tracking";
|
|
1707
1728
|
}>>;
|
|
1729
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1708
1730
|
}, _$zod_v4_core0.$strip>>;
|
|
1709
1731
|
}, _$zod_v4_core0.$strip>;
|
|
1710
1732
|
};
|
|
@@ -1728,6 +1750,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
1728
1750
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1729
1751
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1730
1752
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1753
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1754
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1755
|
+
clientId: _$zod.ZodString;
|
|
1756
|
+
source: _$zod.ZodString;
|
|
1757
|
+
kind: _$zod.ZodString;
|
|
1758
|
+
observedAt: _$zod.ZodNumber;
|
|
1759
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1760
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1761
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1762
|
+
discovered: "discovered";
|
|
1763
|
+
tracking: "tracking";
|
|
1764
|
+
}>>;
|
|
1765
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1731
1766
|
kind: _$zod.ZodLiteral<"root">;
|
|
1732
1767
|
parentAdapterSessionId: _$zod.ZodNull;
|
|
1733
1768
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -1740,6 +1775,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
1740
1775
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1741
1776
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1742
1777
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1778
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1779
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1780
|
+
clientId: _$zod.ZodString;
|
|
1781
|
+
source: _$zod.ZodString;
|
|
1782
|
+
kind: _$zod.ZodString;
|
|
1783
|
+
observedAt: _$zod.ZodNumber;
|
|
1784
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1785
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1786
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1787
|
+
discovered: "discovered";
|
|
1788
|
+
tracking: "tracking";
|
|
1789
|
+
}>>;
|
|
1790
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1743
1791
|
kind: _$zod.ZodLiteral<"fork">;
|
|
1744
1792
|
parentAdapterSessionId: _$zod.ZodString;
|
|
1745
1793
|
forkPointMessageId: _$zod.ZodString;
|
|
@@ -1752,6 +1800,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
1752
1800
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1753
1801
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1754
1802
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1803
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1804
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1805
|
+
clientId: _$zod.ZodString;
|
|
1806
|
+
source: _$zod.ZodString;
|
|
1807
|
+
kind: _$zod.ZodString;
|
|
1808
|
+
observedAt: _$zod.ZodNumber;
|
|
1809
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1810
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1811
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1812
|
+
discovered: "discovered";
|
|
1813
|
+
tracking: "tracking";
|
|
1814
|
+
}>>;
|
|
1815
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1755
1816
|
kind: _$zod.ZodLiteral<"subagent">;
|
|
1756
1817
|
parentAdapterSessionId: _$zod.ZodString;
|
|
1757
1818
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -1764,6 +1825,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
1764
1825
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1765
1826
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1766
1827
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
1828
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1829
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1830
|
+
clientId: _$zod.ZodString;
|
|
1831
|
+
source: _$zod.ZodString;
|
|
1832
|
+
kind: _$zod.ZodString;
|
|
1833
|
+
observedAt: _$zod.ZodNumber;
|
|
1834
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1835
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1836
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1837
|
+
discovered: "discovered";
|
|
1838
|
+
tracking: "tracking";
|
|
1839
|
+
}>>;
|
|
1840
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1767
1841
|
kind: _$zod.ZodLiteral<"compress">;
|
|
1768
1842
|
parentAdapterSessionId: _$zod.ZodString;
|
|
1769
1843
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -1829,10 +1903,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1829
1903
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1830
1904
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1831
1905
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1832
|
-
branch: "branch";
|
|
1833
1906
|
fork: "fork";
|
|
1834
1907
|
subagent: "subagent";
|
|
1835
1908
|
compress: "compress";
|
|
1909
|
+
branch: "branch";
|
|
1836
1910
|
rewrite: "rewrite";
|
|
1837
1911
|
coordinator: "coordinator";
|
|
1838
1912
|
aside: "aside";
|
|
@@ -1892,6 +1966,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
1892
1966
|
imported: "imported";
|
|
1893
1967
|
tracking: "tracking";
|
|
1894
1968
|
}>>;
|
|
1969
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1895
1970
|
}, _$zod_v4_core0.$strip>>;
|
|
1896
1971
|
}, _$zod_v4_core0.$strip>;
|
|
1897
1972
|
};
|
|
@@ -1956,10 +2031,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
1956
2031
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1957
2032
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1958
2033
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1959
|
-
branch: "branch";
|
|
1960
2034
|
fork: "fork";
|
|
1961
2035
|
subagent: "subagent";
|
|
1962
2036
|
compress: "compress";
|
|
2037
|
+
branch: "branch";
|
|
1963
2038
|
rewrite: "rewrite";
|
|
1964
2039
|
coordinator: "coordinator";
|
|
1965
2040
|
aside: "aside";
|
|
@@ -2019,6 +2094,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2019
2094
|
imported: "imported";
|
|
2020
2095
|
tracking: "tracking";
|
|
2021
2096
|
}>>;
|
|
2097
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2022
2098
|
}, _$zod_v4_core0.$strip>>;
|
|
2023
2099
|
}, _$zod_v4_core0.$strip>;
|
|
2024
2100
|
};
|
|
@@ -2104,10 +2180,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2104
2180
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2105
2181
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2106
2182
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2107
|
-
branch: "branch";
|
|
2108
2183
|
fork: "fork";
|
|
2109
2184
|
subagent: "subagent";
|
|
2110
2185
|
compress: "compress";
|
|
2186
|
+
branch: "branch";
|
|
2111
2187
|
rewrite: "rewrite";
|
|
2112
2188
|
coordinator: "coordinator";
|
|
2113
2189
|
aside: "aside";
|
|
@@ -2167,6 +2243,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2167
2243
|
imported: "imported";
|
|
2168
2244
|
tracking: "tracking";
|
|
2169
2245
|
}>>;
|
|
2246
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2170
2247
|
}, _$zod_v4_core0.$strip>>;
|
|
2171
2248
|
}, _$zod_v4_core0.$strip>;
|
|
2172
2249
|
};
|
|
@@ -2224,10 +2301,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2224
2301
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2225
2302
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2226
2303
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2227
|
-
branch: "branch";
|
|
2228
2304
|
fork: "fork";
|
|
2229
2305
|
subagent: "subagent";
|
|
2230
2306
|
compress: "compress";
|
|
2307
|
+
branch: "branch";
|
|
2231
2308
|
rewrite: "rewrite";
|
|
2232
2309
|
coordinator: "coordinator";
|
|
2233
2310
|
aside: "aside";
|
|
@@ -2287,6 +2364,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2287
2364
|
imported: "imported";
|
|
2288
2365
|
tracking: "tracking";
|
|
2289
2366
|
}>>;
|
|
2367
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2290
2368
|
}, _$zod_v4_core0.$strip>;
|
|
2291
2369
|
ifAbsent: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2292
2370
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -2369,10 +2447,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2369
2447
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2370
2448
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2371
2449
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2372
|
-
branch: "branch";
|
|
2373
2450
|
fork: "fork";
|
|
2374
2451
|
subagent: "subagent";
|
|
2375
2452
|
compress: "compress";
|
|
2453
|
+
branch: "branch";
|
|
2376
2454
|
rewrite: "rewrite";
|
|
2377
2455
|
coordinator: "coordinator";
|
|
2378
2456
|
aside: "aside";
|
|
@@ -2432,6 +2510,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2432
2510
|
imported: "imported";
|
|
2433
2511
|
tracking: "tracking";
|
|
2434
2512
|
}>>;
|
|
2513
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2435
2514
|
preview: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2436
2515
|
messageCount: _$zod.ZodNumber;
|
|
2437
2516
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -2450,10 +2529,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2450
2529
|
title: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2451
2530
|
forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2452
2531
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
2453
|
-
branch: "branch";
|
|
2454
2532
|
fork: "fork";
|
|
2455
2533
|
subagent: "subagent";
|
|
2456
2534
|
compress: "compress";
|
|
2535
|
+
branch: "branch";
|
|
2457
2536
|
rewrite: "rewrite";
|
|
2458
2537
|
coordinator: "coordinator";
|
|
2459
2538
|
aside: "aside";
|
|
@@ -2529,10 +2608,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2529
2608
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2530
2609
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2531
2610
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2532
|
-
branch: "branch";
|
|
2533
2611
|
fork: "fork";
|
|
2534
2612
|
subagent: "subagent";
|
|
2535
2613
|
compress: "compress";
|
|
2614
|
+
branch: "branch";
|
|
2536
2615
|
rewrite: "rewrite";
|
|
2537
2616
|
coordinator: "coordinator";
|
|
2538
2617
|
aside: "aside";
|
|
@@ -2592,6 +2671,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2592
2671
|
imported: "imported";
|
|
2593
2672
|
tracking: "tracking";
|
|
2594
2673
|
}>>;
|
|
2674
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2595
2675
|
preview: _$zod.ZodObject<{
|
|
2596
2676
|
messageCount: _$zod.ZodNumber;
|
|
2597
2677
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -2617,10 +2697,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2617
2697
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2618
2698
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2619
2699
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2620
|
-
branch: "branch";
|
|
2621
2700
|
fork: "fork";
|
|
2622
2701
|
subagent: "subagent";
|
|
2623
2702
|
compress: "compress";
|
|
2703
|
+
branch: "branch";
|
|
2624
2704
|
rewrite: "rewrite";
|
|
2625
2705
|
coordinator: "coordinator";
|
|
2626
2706
|
aside: "aside";
|
|
@@ -2711,10 +2791,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2711
2791
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2712
2792
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2713
2793
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2714
|
-
branch: "branch";
|
|
2715
2794
|
fork: "fork";
|
|
2716
2795
|
subagent: "subagent";
|
|
2717
2796
|
compress: "compress";
|
|
2797
|
+
branch: "branch";
|
|
2718
2798
|
rewrite: "rewrite";
|
|
2719
2799
|
coordinator: "coordinator";
|
|
2720
2800
|
aside: "aside";
|
|
@@ -2774,6 +2854,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2774
2854
|
imported: "imported";
|
|
2775
2855
|
tracking: "tracking";
|
|
2776
2856
|
}>>;
|
|
2857
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2777
2858
|
}, _$zod_v4_core0.$strip>>;
|
|
2778
2859
|
}, _$zod_v4_core0.$strip>;
|
|
2779
2860
|
};
|
|
@@ -2797,6 +2878,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
2797
2878
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2798
2879
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2799
2880
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2881
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2882
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2883
|
+
clientId: _$zod.ZodString;
|
|
2884
|
+
source: _$zod.ZodString;
|
|
2885
|
+
kind: _$zod.ZodString;
|
|
2886
|
+
observedAt: _$zod.ZodNumber;
|
|
2887
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2888
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2889
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2890
|
+
discovered: "discovered";
|
|
2891
|
+
tracking: "tracking";
|
|
2892
|
+
}>>;
|
|
2893
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2800
2894
|
kind: _$zod.ZodLiteral<"root">;
|
|
2801
2895
|
parentAdapterSessionId: _$zod.ZodNull;
|
|
2802
2896
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -2809,6 +2903,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
2809
2903
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2810
2904
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2811
2905
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2906
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2907
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2908
|
+
clientId: _$zod.ZodString;
|
|
2909
|
+
source: _$zod.ZodString;
|
|
2910
|
+
kind: _$zod.ZodString;
|
|
2911
|
+
observedAt: _$zod.ZodNumber;
|
|
2912
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2913
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2914
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2915
|
+
discovered: "discovered";
|
|
2916
|
+
tracking: "tracking";
|
|
2917
|
+
}>>;
|
|
2918
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2812
2919
|
kind: _$zod.ZodLiteral<"fork">;
|
|
2813
2920
|
parentAdapterSessionId: _$zod.ZodString;
|
|
2814
2921
|
forkPointMessageId: _$zod.ZodString;
|
|
@@ -2821,6 +2928,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
2821
2928
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2822
2929
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2823
2930
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2931
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2932
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2933
|
+
clientId: _$zod.ZodString;
|
|
2934
|
+
source: _$zod.ZodString;
|
|
2935
|
+
kind: _$zod.ZodString;
|
|
2936
|
+
observedAt: _$zod.ZodNumber;
|
|
2937
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2938
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2939
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2940
|
+
discovered: "discovered";
|
|
2941
|
+
tracking: "tracking";
|
|
2942
|
+
}>>;
|
|
2943
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2824
2944
|
kind: _$zod.ZodLiteral<"subagent">;
|
|
2825
2945
|
parentAdapterSessionId: _$zod.ZodString;
|
|
2826
2946
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -2833,6 +2953,19 @@ declare const SessionStorageNamespace$1: {
|
|
|
2833
2953
|
logFilePath: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2834
2954
|
startedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2835
2955
|
title: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
2956
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
2957
|
+
lastClientIdentityObservation: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2958
|
+
clientId: _$zod.ZodString;
|
|
2959
|
+
source: _$zod.ZodString;
|
|
2960
|
+
kind: _$zod.ZodString;
|
|
2961
|
+
observedAt: _$zod.ZodNumber;
|
|
2962
|
+
payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2963
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2964
|
+
importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2965
|
+
discovered: "discovered";
|
|
2966
|
+
tracking: "tracking";
|
|
2967
|
+
}>>;
|
|
2968
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2836
2969
|
kind: _$zod.ZodLiteral<"compress">;
|
|
2837
2970
|
parentAdapterSessionId: _$zod.ZodString;
|
|
2838
2971
|
forkPointMessageId: _$zod.ZodNull;
|
|
@@ -2898,10 +3031,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
2898
3031
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2899
3032
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2900
3033
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2901
|
-
branch: "branch";
|
|
2902
3034
|
fork: "fork";
|
|
2903
3035
|
subagent: "subagent";
|
|
2904
3036
|
compress: "compress";
|
|
3037
|
+
branch: "branch";
|
|
2905
3038
|
rewrite: "rewrite";
|
|
2906
3039
|
coordinator: "coordinator";
|
|
2907
3040
|
aside: "aside";
|
|
@@ -2961,6 +3094,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
2961
3094
|
imported: "imported";
|
|
2962
3095
|
tracking: "tracking";
|
|
2963
3096
|
}>>;
|
|
3097
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2964
3098
|
}, _$zod_v4_core0.$strip>>;
|
|
2965
3099
|
}, _$zod_v4_core0.$strip>;
|
|
2966
3100
|
};
|
|
@@ -3025,10 +3159,10 @@ declare const SessionStorageNamespace$1: {
|
|
|
3025
3159
|
rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3026
3160
|
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3027
3161
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3028
|
-
branch: "branch";
|
|
3029
3162
|
fork: "fork";
|
|
3030
3163
|
subagent: "subagent";
|
|
3031
3164
|
compress: "compress";
|
|
3165
|
+
branch: "branch";
|
|
3032
3166
|
rewrite: "rewrite";
|
|
3033
3167
|
coordinator: "coordinator";
|
|
3034
3168
|
aside: "aside";
|
|
@@ -3088,6 +3222,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3088
3222
|
imported: "imported";
|
|
3089
3223
|
tracking: "tracking";
|
|
3090
3224
|
}>>;
|
|
3225
|
+
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
3091
3226
|
}, _$zod_v4_core0.$strip>>;
|
|
3092
3227
|
}, _$zod_v4_core0.$strip>;
|
|
3093
3228
|
};
|
|
@@ -3155,7 +3290,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3155
3290
|
contextInheritance?: "none" | "parent-history" | undefined;
|
|
3156
3291
|
rootSessionId?: string | undefined;
|
|
3157
3292
|
forkPointMessageId?: string | undefined;
|
|
3158
|
-
branchKind?: "
|
|
3293
|
+
branchKind?: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside" | undefined;
|
|
3159
3294
|
adapterName?: string | undefined;
|
|
3160
3295
|
adapterSessionId?: string | undefined;
|
|
3161
3296
|
adapterId?: string | undefined;
|
|
@@ -3199,6 +3334,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3199
3334
|
logFilePath?: string | undefined;
|
|
3200
3335
|
discoveredAt?: number | undefined;
|
|
3201
3336
|
importStatus?: "discovered" | "imported" | "tracking" | undefined;
|
|
3337
|
+
isSidechain?: boolean | undefined;
|
|
3202
3338
|
} | null;
|
|
3203
3339
|
} | undefined;
|
|
3204
3340
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{sessionsDual as e}from"./services/session/storage/schema.mjs";import{n as t}from"./schema-CHp6I33k.mjs";import{t as n}from"./schema-7aKBGB7S.mjs";import{SessionEventStorageNamespace as r,SessionEventStorageSubjects as i}from"@makaio/framework/contracts";import{index as a}from"drizzle-orm/sqlite-core";import{customType as o,index as s,pgTable as c,text as l,uniqueIndex as u}from"drizzle-orm/pg-core";import{defineDialectSchema as d,defineDualTable as f}from"@makaio/framework/storage/drizzle";import{sql as p}from"drizzle-orm";import{epochMs as m}from"@makaio/framework/storage/drizzle/columns/postgres";const h=o({dataType(){return`tsvector`}}),g=c(`messages`,{messageId:l(`message_id`).primaryKey(),turnId:l(`turn_id`).references(()=>t.postgres.turnId,{onDelete:`cascade`}),sessionId:l(`session_id`).notNull().references(()=>e.postgres.sessionId,{onDelete:`cascade`}),role:l(`role`,{enum:[`user`,`assistant`]}).notNull(),contentText:l(`content_text`).notNull(),blocks:l(`blocks`).notNull().default(`[]`),agentId:l(`agent_id`),adapterSessionId:l(`adapter_session_id`),adapterMessageId:l(`adapter_message_id`),timestamp:m(`timestamp`).notNull(),editOf:l(`edit_of`).references(()=>g.messageId),origin:l(`origin`,{enum:[`voice`,`text`,`compact`]}),contentTsv:h(`content_tsv`).generatedAlwaysAs(p`to_tsvector('english', coalesce(content_text, ''))`)},e=>[s(`idx_messages_session`).on(e.sessionId,e.timestamp),s(`idx_messages_turn`).on(e.turnId,e.timestamp),s(`idx_messages_agent`).on(e.agentId,e.timestamp),u(`uniq_messages_adapter_message_id_session`).on(e.adapterMessageId,e.sessionId),s(`idx_messages_content_tsv`).using(`gin`,e.contentTsv)]),_=d({messages:n},{messages:g}),v=()=>({sqlite:n.messageId,postgres:g.messageId}),y=f(`session_events`,t=>({id:t.autoPk(`id`),sessionId:t.text(`session_id`).notNull().references(()=>e.columnPair(`sessionId`),{onDelete:`cascade`}),eventId:t.text(`event_id`).notNull().unique(),timestamp:t.epochMs(`timestamp`).notNull(),type:t.text(`type`).notNull(),agentId:t.text(`agent_id`),adapterId:t.text(`adapter_id`),originatingMessageId:t.text(`originating_message_id`),messageId:t.text(`message_id`).references(v,{onDelete:`cascade`}),turnId:t.text(`turn_id`),contentText:t.text(`content_text`),payload:t.text(`payload`).notNull()}),{sqlite:e=>[a(`idx_events_session_ts`).on(e.sessionId,e.timestamp),a(`idx_events_session_type`).on(e.sessionId,e.type),a(`idx_events_turn`).on(e.turnId),a(`idx_events_originating_message`).on(e.originatingMessageId)],postgres:e=>[s(`idx_events_session_ts`).on(e.sessionId,e.timestamp),s(`idx_events_session_type`).on(e.sessionId,e.type),s(`idx_events_turn`).on(e.turnId),s(`idx_events_originating_message`).on(e.originatingMessageId)]}),b=y.sqlite,x={...r,extensions:{drizzle:{sessionEvents:b}}};export{v as a,y as i,i as n,_ as o,b as r,x as t};
|
|
@@ -1069,6 +1069,14 @@ declare class WebSocketClientTransport implements BusTransport {
|
|
|
1069
1069
|
private closeListener;
|
|
1070
1070
|
/** AbortController for the active reconnect loop; `null` when not connected. */
|
|
1071
1071
|
private reconnectAbort;
|
|
1072
|
+
/**
|
|
1073
|
+
* In-flight `handleInboundMessage` promises for the current socket session.
|
|
1074
|
+
*
|
|
1075
|
+
* Reset to a new `Set` at the start of each connection attempt so that the
|
|
1076
|
+
* drain-before-rejectAll logic in `drainAndRejectPendingCorrelations` only
|
|
1077
|
+
* waits on the promises belonging to the active session.
|
|
1078
|
+
*/
|
|
1079
|
+
private inFlightMessages;
|
|
1072
1080
|
/** AbortController for the current backoff sleep; aborting wakes the sleep early. */
|
|
1073
1081
|
private backoffWakeAbort;
|
|
1074
1082
|
/**
|