@makaio/framework 1.0.0-dev-1783282710723 → 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.mjs +1 -1
- 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/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/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +24 -24
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-DFcxkf2i.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-CTEsbp9H.d.mts → index-31vR1sxk.d.mts} +31 -13
- package/dist/{index-9b2_jXxq.d.mts → index-3J0HZlPH.d.mts} +372 -87
- package/dist/{index-Bh6lHiW4.d.mts → index-3X0368CL.d.mts} +16 -16
- package/dist/{index-Y2r0Zvcm.d.mts → index-B5w-0Gg9.d.mts} +4 -4
- package/dist/{index-DdBRlm7m.d.mts → index-BKZhnb2B.d.mts} +3 -3
- package/dist/{index-gAFwNiJT.d.mts → index-BYfSAJRC.d.mts} +64 -0
- package/dist/{index-2fK9iSHI.d.mts → index-BwGfdbI0.d.mts} +9 -9
- package/dist/{index-DLy-tc0L.d.mts → index-C5C1tk9f.d.mts} +214 -1
- package/dist/{index-CL2T6LVv.d.mts → index-C6Ys8pxt.d.mts} +9 -9
- package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
- package/dist/{index-CfIW5biI.d.mts → index-D7rWAEY0.d.mts} +1 -0
- package/dist/{index-CaOWqztb.d.mts → index-DQYj8-53.d.mts} +1 -1
- package/dist/{index-Dg-y1mrq.d.mts → index-DV4nRk0h.d.mts} +14 -14
- package/dist/{index-GD-i3DW7.d.mts → index-DvHYpi-J.d.mts} +365 -163
- 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-DGAWYjbO.d.mts → namespace-Bm77p82L.d.mts} +5 -5
- 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-KMxsPJwm.d.mts → namespace-DhDY0juT.d.mts} +66 -0
- package/dist/{namespace-DXW-voCe.d.mts → namespace-DmqoDDRD.d.mts} +158 -22
- package/dist/namespace-dFBD2ZmS.mjs +1 -0
- package/dist/node/transports/index.mjs +1 -1
- 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-D1HrnvT7.d.mts → schema-DLNBajAV.d.mts} +23 -1
- package/dist/{schemas-DMCGXlKa.d.mts → schemas-DMMWmWjq.d.mts} +3 -3
- package/dist/schemas-DZGnr9Tl.mjs +1 -0
- package/dist/{schemas-D-9zNyAM2.d.mts → schemas-DuuVuhHX2.d.mts} +2 -2
- package/dist/schemas-ftgVeWIG.mjs +1 -0
- package/dist/services/context-rules/index.d.mts +6 -6
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/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 +87 -18
- 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 +54 -0
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +44 -0
- 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 +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +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 +2 -2
- 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/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-DnXibkhX.d.mts → transition-Dq41YCkc.d.mts} +1 -1
- package/dist/{types-BslClRkH.d.mts → types-BMlzmWp6.d.mts} +11 -1
- package/dist/{types-Dur8EtpR.d.mts → types-C76EP81O.d.mts} +125 -82
- 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 +1 -1
- 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/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/session-0nWT4st6.mjs +0 -39
- package/dist/session-DH-ja8Ka.mjs +0 -1
- package/dist/tools-DFOsOboy.mjs +0 -1
|
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
88
88
|
tableName: "sessions";
|
|
89
89
|
dataType: "string";
|
|
90
90
|
columnType: "SQLiteText";
|
|
91
|
-
data: "
|
|
91
|
+
data: "closed" | "discovered" | "active" | "archived";
|
|
92
92
|
driverParam: string;
|
|
93
93
|
notNull: true;
|
|
94
94
|
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
|
}>;
|
|
@@ -1021,8 +1038,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1021
1038
|
lastActivityAt: _$zod.ZodNumber;
|
|
1022
1039
|
}, _$zod_v4_core0.$strip>>;
|
|
1023
1040
|
status: _$zod.ZodEnum<{
|
|
1024
|
-
discovered: "discovered";
|
|
1025
1041
|
closed: "closed";
|
|
1042
|
+
discovered: "discovered";
|
|
1026
1043
|
active: "active";
|
|
1027
1044
|
archived: "archived";
|
|
1028
1045
|
}>;
|
|
@@ -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
|
};
|
|
@@ -1141,8 +1159,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1141
1159
|
lastActivityAt: _$zod.ZodNumber;
|
|
1142
1160
|
}, _$zod_v4_core0.$strip>>;
|
|
1143
1161
|
status: _$zod.ZodEnum<{
|
|
1144
|
-
discovered: "discovered";
|
|
1145
1162
|
closed: "closed";
|
|
1163
|
+
discovered: "discovered";
|
|
1146
1164
|
active: "active";
|
|
1147
1165
|
archived: "archived";
|
|
1148
1166
|
}>;
|
|
@@ -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>;
|
|
@@ -1238,8 +1257,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1238
1257
|
request: _$zod.ZodObject<{
|
|
1239
1258
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1240
1259
|
all: "all";
|
|
1241
|
-
discovered: "discovered";
|
|
1242
1260
|
closed: "closed";
|
|
1261
|
+
discovered: "discovered";
|
|
1243
1262
|
active: "active";
|
|
1244
1263
|
archived: "archived";
|
|
1245
1264
|
}>>;
|
|
@@ -1286,8 +1305,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1286
1305
|
lastActivityAt: _$zod.ZodNumber;
|
|
1287
1306
|
}, _$zod_v4_core0.$strip>>;
|
|
1288
1307
|
status: _$zod.ZodEnum<{
|
|
1289
|
-
discovered: "discovered";
|
|
1290
1308
|
closed: "closed";
|
|
1309
|
+
discovered: "discovered";
|
|
1291
1310
|
active: "active";
|
|
1292
1311
|
archived: "archived";
|
|
1293
1312
|
}>;
|
|
@@ -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>;
|
|
@@ -1401,8 +1421,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1401
1421
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1402
1422
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1403
1423
|
all: "all";
|
|
1404
|
-
discovered: "discovered";
|
|
1405
1424
|
closed: "closed";
|
|
1425
|
+
discovered: "discovered";
|
|
1406
1426
|
active: "active";
|
|
1407
1427
|
archived: "archived";
|
|
1408
1428
|
}>>;
|
|
@@ -1446,8 +1466,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1446
1466
|
lastActivityAt: _$zod.ZodNumber;
|
|
1447
1467
|
}, _$zod_v4_core0.$strip>>;
|
|
1448
1468
|
status: _$zod.ZodEnum<{
|
|
1449
|
-
discovered: "discovered";
|
|
1450
1469
|
closed: "closed";
|
|
1470
|
+
discovered: "discovered";
|
|
1451
1471
|
active: "active";
|
|
1452
1472
|
archived: "archived";
|
|
1453
1473
|
}>;
|
|
@@ -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>;
|
|
@@ -1535,8 +1556,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1535
1556
|
request: _$zod.ZodObject<{
|
|
1536
1557
|
sessionId: _$zod.ZodString;
|
|
1537
1558
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1538
|
-
discovered: "discovered";
|
|
1539
1559
|
closed: "closed";
|
|
1560
|
+
discovered: "discovered";
|
|
1540
1561
|
active: "active";
|
|
1541
1562
|
archived: "archived";
|
|
1542
1563
|
}>>;
|
|
@@ -1628,8 +1649,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1628
1649
|
lastActivityAt: _$zod.ZodNumber;
|
|
1629
1650
|
}, _$zod_v4_core0.$strip>>;
|
|
1630
1651
|
status: _$zod.ZodEnum<{
|
|
1631
|
-
discovered: "discovered";
|
|
1632
1652
|
closed: "closed";
|
|
1653
|
+
discovered: "discovered";
|
|
1633
1654
|
active: "active";
|
|
1634
1655
|
archived: "archived";
|
|
1635
1656
|
}>;
|
|
@@ -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;
|
|
@@ -1815,8 +1889,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1815
1889
|
lastActivityAt: _$zod.ZodNumber;
|
|
1816
1890
|
}, _$zod_v4_core0.$strip>>;
|
|
1817
1891
|
status: _$zod.ZodEnum<{
|
|
1818
|
-
discovered: "discovered";
|
|
1819
1892
|
closed: "closed";
|
|
1893
|
+
discovered: "discovered";
|
|
1820
1894
|
active: "active";
|
|
1821
1895
|
archived: "archived";
|
|
1822
1896
|
}>;
|
|
@@ -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
|
};
|
|
@@ -1942,8 +2017,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
1942
2017
|
lastActivityAt: _$zod.ZodNumber;
|
|
1943
2018
|
}, _$zod_v4_core0.$strip>>;
|
|
1944
2019
|
status: _$zod.ZodEnum<{
|
|
1945
|
-
discovered: "discovered";
|
|
1946
2020
|
closed: "closed";
|
|
2021
|
+
discovered: "discovered";
|
|
1947
2022
|
active: "active";
|
|
1948
2023
|
archived: "archived";
|
|
1949
2024
|
}>;
|
|
@@ -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
|
};
|
|
@@ -2090,8 +2166,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2090
2166
|
lastActivityAt: _$zod.ZodNumber;
|
|
2091
2167
|
}, _$zod_v4_core0.$strip>>;
|
|
2092
2168
|
status: _$zod.ZodEnum<{
|
|
2093
|
-
discovered: "discovered";
|
|
2094
2169
|
closed: "closed";
|
|
2170
|
+
discovered: "discovered";
|
|
2095
2171
|
active: "active";
|
|
2096
2172
|
archived: "archived";
|
|
2097
2173
|
}>;
|
|
@@ -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
|
};
|
|
@@ -2210,8 +2287,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2210
2287
|
lastActivityAt: _$zod.ZodNumber;
|
|
2211
2288
|
}, _$zod_v4_core0.$strip>>;
|
|
2212
2289
|
status: _$zod.ZodEnum<{
|
|
2213
|
-
discovered: "discovered";
|
|
2214
2290
|
closed: "closed";
|
|
2291
|
+
discovered: "discovered";
|
|
2215
2292
|
active: "active";
|
|
2216
2293
|
archived: "archived";
|
|
2217
2294
|
}>;
|
|
@@ -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>;
|
|
@@ -2307,8 +2385,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2307
2385
|
request: _$zod.ZodObject<{
|
|
2308
2386
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2309
2387
|
all: "all";
|
|
2310
|
-
discovered: "discovered";
|
|
2311
2388
|
closed: "closed";
|
|
2389
|
+
discovered: "discovered";
|
|
2312
2390
|
active: "active";
|
|
2313
2391
|
archived: "archived";
|
|
2314
2392
|
}>>;
|
|
@@ -2355,8 +2433,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2355
2433
|
lastActivityAt: _$zod.ZodNumber;
|
|
2356
2434
|
}, _$zod_v4_core0.$strip>>;
|
|
2357
2435
|
status: _$zod.ZodEnum<{
|
|
2358
|
-
discovered: "discovered";
|
|
2359
2436
|
closed: "closed";
|
|
2437
|
+
discovered: "discovered";
|
|
2360
2438
|
active: "active";
|
|
2361
2439
|
archived: "archived";
|
|
2362
2440
|
}>;
|
|
@@ -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>;
|
|
@@ -2470,8 +2549,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2470
2549
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2471
2550
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2472
2551
|
all: "all";
|
|
2473
|
-
discovered: "discovered";
|
|
2474
2552
|
closed: "closed";
|
|
2553
|
+
discovered: "discovered";
|
|
2475
2554
|
active: "active";
|
|
2476
2555
|
archived: "archived";
|
|
2477
2556
|
}>>;
|
|
@@ -2515,8 +2594,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2515
2594
|
lastActivityAt: _$zod.ZodNumber;
|
|
2516
2595
|
}, _$zod_v4_core0.$strip>>;
|
|
2517
2596
|
status: _$zod.ZodEnum<{
|
|
2518
|
-
discovered: "discovered";
|
|
2519
2597
|
closed: "closed";
|
|
2598
|
+
discovered: "discovered";
|
|
2520
2599
|
active: "active";
|
|
2521
2600
|
archived: "archived";
|
|
2522
2601
|
}>;
|
|
@@ -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>;
|
|
@@ -2604,8 +2684,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2604
2684
|
request: _$zod.ZodObject<{
|
|
2605
2685
|
sessionId: _$zod.ZodString;
|
|
2606
2686
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2607
|
-
discovered: "discovered";
|
|
2608
2687
|
closed: "closed";
|
|
2688
|
+
discovered: "discovered";
|
|
2609
2689
|
active: "active";
|
|
2610
2690
|
archived: "archived";
|
|
2611
2691
|
}>>;
|
|
@@ -2697,8 +2777,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2697
2777
|
lastActivityAt: _$zod.ZodNumber;
|
|
2698
2778
|
}, _$zod_v4_core0.$strip>>;
|
|
2699
2779
|
status: _$zod.ZodEnum<{
|
|
2700
|
-
discovered: "discovered";
|
|
2701
2780
|
closed: "closed";
|
|
2781
|
+
discovered: "discovered";
|
|
2702
2782
|
active: "active";
|
|
2703
2783
|
archived: "archived";
|
|
2704
2784
|
}>;
|
|
@@ -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;
|
|
@@ -2884,8 +3017,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
2884
3017
|
lastActivityAt: _$zod.ZodNumber;
|
|
2885
3018
|
}, _$zod_v4_core0.$strip>>;
|
|
2886
3019
|
status: _$zod.ZodEnum<{
|
|
2887
|
-
discovered: "discovered";
|
|
2888
3020
|
closed: "closed";
|
|
3021
|
+
discovered: "discovered";
|
|
2889
3022
|
active: "active";
|
|
2890
3023
|
archived: "archived";
|
|
2891
3024
|
}>;
|
|
@@ -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
|
};
|
|
@@ -3011,8 +3145,8 @@ declare const SessionStorageNamespace$1: {
|
|
|
3011
3145
|
lastActivityAt: _$zod.ZodNumber;
|
|
3012
3146
|
}, _$zod_v4_core0.$strip>>;
|
|
3013
3147
|
status: _$zod.ZodEnum<{
|
|
3014
|
-
discovered: "discovered";
|
|
3015
3148
|
closed: "closed";
|
|
3149
|
+
discovered: "discovered";
|
|
3016
3150
|
active: "active";
|
|
3017
3151
|
archived: "archived";
|
|
3018
3152
|
}>;
|
|
@@ -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
|
};
|
|
@@ -3149,7 +3284,7 @@ declare const SessionStorageNamespace$1: {
|
|
|
3149
3284
|
clientId?: string | undefined;
|
|
3150
3285
|
compressionMode?: "auto" | "manual" | "off" | undefined;
|
|
3151
3286
|
}[];
|
|
3152
|
-
status: "
|
|
3287
|
+
status: "closed" | "discovered" | "active" | "archived";
|
|
3153
3288
|
leadAgentId?: string | undefined;
|
|
3154
3289
|
parentSessionId?: string | undefined;
|
|
3155
3290
|
contextInheritance?: "none" | "parent-history" | 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};
|