@convex-dev/agent 0.1.8-alpha.0 → 0.1.8-alpha.1
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 +2 -0
- package/dist/commonjs/client/index.d.ts +65 -51
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +70 -4
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/component/_generated/api.d.ts +235 -0
- package/dist/commonjs/component/messages.d.ts +361 -155
- package/dist/commonjs/component/messages.d.ts.map +1 -1
- package/dist/commonjs/component/messages.js +25 -0
- package/dist/commonjs/component/messages.js.map +1 -1
- package/dist/commonjs/component/schema.d.ts +670 -670
- package/dist/commonjs/component/streams.d.ts +18 -18
- package/dist/commonjs/component/threads.d.ts +6 -6
- package/dist/commonjs/component/vector/index.d.ts +12 -12
- package/dist/commonjs/component/vector/index.d.ts.map +1 -1
- package/dist/commonjs/component/vector/index.js +4 -0
- package/dist/commonjs/component/vector/index.js.map +1 -1
- package/dist/commonjs/component/vector/tables.d.ts +6 -6
- package/dist/commonjs/react/index.d.ts.map +1 -1
- package/dist/commonjs/react/index.js +1 -1
- package/dist/commonjs/react/index.js.map +1 -1
- package/dist/commonjs/validators.d.ts +161 -161
- package/dist/commonjs.tsbuildinfo +1 -1
- package/dist/esm/client/index.d.ts +31 -17
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +70 -4
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/component/_generated/api.d.ts +235 -0
- package/dist/esm/component/messages.d.ts +233 -27
- package/dist/esm/component/messages.d.ts.map +1 -1
- package/dist/esm/component/messages.js +25 -0
- package/dist/esm/component/messages.js.map +1 -1
- package/dist/esm/component/schema.d.ts +48 -48
- package/dist/esm/component/threads.d.ts +8 -8
- package/dist/esm/component/vector/index.d.ts.map +1 -1
- package/dist/esm/component/vector/index.js +4 -0
- package/dist/esm/component/vector/index.js.map +1 -1
- package/dist/esm/react/index.d.ts.map +1 -1
- package/dist/esm/react/index.js +1 -1
- package/dist/esm/react/index.js.map +1 -1
- package/dist/esm/validators.d.ts +19 -19
- package/dist/esm.tsbuildinfo +1 -1
- package/package.json +4 -5
- package/src/client/index.ts +94 -4
- package/src/client/setup.test.ts +2 -2
- package/src/component/_generated/api.d.ts +235 -0
- package/src/component/messages.test.ts +140 -0
- package/src/component/messages.ts +30 -0
- package/src/component/vector/index.ts +4 -0
- package/src/react/index.ts +1 -2
- package/dist/commonjs/react/usePaginatedQuery.d.ts +0 -241
- package/dist/commonjs/react/usePaginatedQuery.d.ts.map +0 -1
- package/dist/commonjs/react/usePaginatedQuery.js +0 -627
- package/dist/commonjs/react/usePaginatedQuery.js.map +0 -1
- package/dist/esm/react/usePaginatedQuery.d.ts +0 -241
- package/dist/esm/react/usePaginatedQuery.d.ts.map +0 -1
- package/dist/esm/react/usePaginatedQuery.js +0 -627
- package/dist/esm/react/usePaginatedQuery.js.map +0 -1
- package/react/package.json +0 -5
- package/src/react/usePaginatedQuery.ts +0 -901
|
@@ -395,7 +395,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
395
395
|
type: "other";
|
|
396
396
|
message: string;
|
|
397
397
|
})[] | undefined;
|
|
398
|
-
finishReason?: "
|
|
398
|
+
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
399
399
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
400
400
|
stepId?: string | undefined;
|
|
401
401
|
status: "pending" | "success" | "failed";
|
|
@@ -953,7 +953,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
953
953
|
type: import("convex/values").VLiteral<"other", "required">;
|
|
954
954
|
message: import("convex/values").VString<string, "required">;
|
|
955
955
|
}, "required", "type" | "message">], "required", "type" | "message" | "tool" | "setting" | "details" | `tool.${string}`>, "optional">;
|
|
956
|
-
finishReason: import("convex/values").VUnion<"
|
|
956
|
+
finishReason: import("convex/values").VUnion<"length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined, [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "optional", never>;
|
|
957
957
|
parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
|
|
958
958
|
stepId: import("convex/values").VString<string | undefined, "optional">;
|
|
959
959
|
files: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
@@ -1352,7 +1352,7 @@ export declare const vv: {
|
|
|
1352
1352
|
order?: number | undefined;
|
|
1353
1353
|
status: "active" | "archived";
|
|
1354
1354
|
};
|
|
1355
|
-
fieldPaths:
|
|
1355
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "userId" | "title" | "summary" | "defaultSystemPrompt" | "parentThreadIds" | "order");
|
|
1356
1356
|
indexes: {
|
|
1357
1357
|
userId: ["userId", "_creationTime"];
|
|
1358
1358
|
by_id: ["_id"];
|
|
@@ -1373,7 +1373,7 @@ export declare const vv: {
|
|
|
1373
1373
|
table: string;
|
|
1374
1374
|
vector: number[];
|
|
1375
1375
|
};
|
|
1376
|
-
fieldPaths: "_id" | ("
|
|
1376
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1377
1377
|
indexes: {
|
|
1378
1378
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1379
1379
|
by_id: ["_id"];
|
|
@@ -1400,7 +1400,7 @@ export declare const vv: {
|
|
|
1400
1400
|
table: string;
|
|
1401
1401
|
vector: number[];
|
|
1402
1402
|
};
|
|
1403
|
-
fieldPaths: "_id" | ("
|
|
1403
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1404
1404
|
indexes: {
|
|
1405
1405
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1406
1406
|
by_id: ["_id"];
|
|
@@ -1427,7 +1427,7 @@ export declare const vv: {
|
|
|
1427
1427
|
table: string;
|
|
1428
1428
|
vector: number[];
|
|
1429
1429
|
};
|
|
1430
|
-
fieldPaths: "_id" | ("
|
|
1430
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1431
1431
|
indexes: {
|
|
1432
1432
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1433
1433
|
by_id: ["_id"];
|
|
@@ -1454,7 +1454,7 @@ export declare const vv: {
|
|
|
1454
1454
|
table: string;
|
|
1455
1455
|
vector: number[];
|
|
1456
1456
|
};
|
|
1457
|
-
fieldPaths: "_id" | ("
|
|
1457
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1458
1458
|
indexes: {
|
|
1459
1459
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1460
1460
|
by_id: ["_id"];
|
|
@@ -1481,7 +1481,7 @@ export declare const vv: {
|
|
|
1481
1481
|
table: string;
|
|
1482
1482
|
vector: number[];
|
|
1483
1483
|
};
|
|
1484
|
-
fieldPaths: "_id" | ("
|
|
1484
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1485
1485
|
indexes: {
|
|
1486
1486
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1487
1487
|
by_id: ["_id"];
|
|
@@ -1508,7 +1508,7 @@ export declare const vv: {
|
|
|
1508
1508
|
table: string;
|
|
1509
1509
|
vector: number[];
|
|
1510
1510
|
};
|
|
1511
|
-
fieldPaths: "_id" | ("
|
|
1511
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1512
1512
|
indexes: {
|
|
1513
1513
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1514
1514
|
by_id: ["_id"];
|
|
@@ -1535,7 +1535,7 @@ export declare const vv: {
|
|
|
1535
1535
|
table: string;
|
|
1536
1536
|
vector: number[];
|
|
1537
1537
|
};
|
|
1538
|
-
fieldPaths: "_id" | ("
|
|
1538
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1539
1539
|
indexes: {
|
|
1540
1540
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1541
1541
|
by_id: ["_id"];
|
|
@@ -1562,7 +1562,7 @@ export declare const vv: {
|
|
|
1562
1562
|
table: string;
|
|
1563
1563
|
vector: number[];
|
|
1564
1564
|
};
|
|
1565
|
-
fieldPaths: "_id" | ("
|
|
1565
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1566
1566
|
indexes: {
|
|
1567
1567
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1568
1568
|
by_id: ["_id"];
|
|
@@ -1589,7 +1589,7 @@ export declare const vv: {
|
|
|
1589
1589
|
table: string;
|
|
1590
1590
|
vector: number[];
|
|
1591
1591
|
};
|
|
1592
|
-
fieldPaths: "_id" | ("
|
|
1592
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1593
1593
|
indexes: {
|
|
1594
1594
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1595
1595
|
by_id: ["_id"];
|
|
@@ -1616,7 +1616,7 @@ export declare const vv: {
|
|
|
1616
1616
|
table: string;
|
|
1617
1617
|
vector: number[];
|
|
1618
1618
|
};
|
|
1619
|
-
fieldPaths: "_id" | ("
|
|
1619
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1620
1620
|
indexes: {
|
|
1621
1621
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1622
1622
|
by_id: ["_id"];
|
|
@@ -1642,7 +1642,7 @@ export declare const vv: {
|
|
|
1642
1642
|
refcount: number;
|
|
1643
1643
|
lastTouchedAt: number;
|
|
1644
1644
|
};
|
|
1645
|
-
fieldPaths: ("_creationTime" | "mimeType" | "filename" | "storageId" | "hash" | "refcount" | "lastTouchedAt")
|
|
1645
|
+
fieldPaths: "_id" | ("_creationTime" | "mimeType" | "filename" | "storageId" | "hash" | "refcount" | "lastTouchedAt");
|
|
1646
1646
|
indexes: {
|
|
1647
1647
|
hash: ["hash", "_creationTime"];
|
|
1648
1648
|
refcount: ["refcount", "_creationTime"];
|
|
@@ -1774,7 +1774,7 @@ export declare const vv: {
|
|
|
1774
1774
|
type: "other";
|
|
1775
1775
|
message: string;
|
|
1776
1776
|
})[] | undefined;
|
|
1777
|
-
finishReason?: "
|
|
1777
|
+
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
1778
1778
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
1779
1779
|
stepId?: string | undefined;
|
|
1780
1780
|
status: "pending" | "success" | "failed";
|
|
@@ -1783,7 +1783,7 @@ export declare const vv: {
|
|
|
1783
1783
|
stepOrder: number;
|
|
1784
1784
|
tool: boolean;
|
|
1785
1785
|
};
|
|
1786
|
-
fieldPaths: ("
|
|
1786
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "providerMetadata" | "sources" | "reasoningDetails" | "warnings" | "finishReason" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | `providerMetadata.${string}`);
|
|
1787
1787
|
indexes: {
|
|
1788
1788
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
1789
1789
|
embeddingId: ["embeddingId", "_creationTime"];
|
|
@@ -1822,7 +1822,7 @@ export declare const vv: {
|
|
|
1822
1822
|
kind: "error";
|
|
1823
1823
|
};
|
|
1824
1824
|
};
|
|
1825
|
-
fieldPaths: ("
|
|
1825
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "order" | "threadId" | "stepOrder" | "agentName" | "model" | "provider" | "providerOptions" | `providerOptions.${string}` | "state" | "state.error" | "state.kind" | "state.lastHeartbeat" | "state.timeoutFnId" | "state.endedAt");
|
|
1826
1826
|
indexes: {
|
|
1827
1827
|
threadId_state_order_stepOrder: ["threadId", "state.kind", "order", "stepOrder", "_creationTime"];
|
|
1828
1828
|
by_id: ["_id"];
|
|
@@ -1886,7 +1886,7 @@ export declare const vv: {
|
|
|
1886
1886
|
argsTextDelta: string;
|
|
1887
1887
|
})[];
|
|
1888
1888
|
};
|
|
1889
|
-
fieldPaths: ("_creationTime" | "streamId" | "start" | "end" | "parts")
|
|
1889
|
+
fieldPaths: "_id" | ("_creationTime" | "streamId" | "start" | "end" | "parts");
|
|
1890
1890
|
indexes: {
|
|
1891
1891
|
streamId_start_end: ["streamId", "start", "end", "_creationTime"];
|
|
1892
1892
|
by_id: ["_id"];
|
|
@@ -1904,7 +1904,7 @@ export declare const vv: {
|
|
|
1904
1904
|
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
1905
1905
|
memory: string;
|
|
1906
1906
|
};
|
|
1907
|
-
fieldPaths:
|
|
1907
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "embeddingId" | "memory");
|
|
1908
1908
|
indexes: {
|
|
1909
1909
|
threadId: ["threadId", "_creationTime"];
|
|
1910
1910
|
userId: ["userId", "_creationTime"];
|
|
@@ -1921,7 +1921,7 @@ export declare const vv: {
|
|
|
1921
1921
|
_creationTime: number;
|
|
1922
1922
|
name?: string | undefined;
|
|
1923
1923
|
};
|
|
1924
|
-
fieldPaths:
|
|
1924
|
+
fieldPaths: "_id" | ("_creationTime" | "name");
|
|
1925
1925
|
indexes: {
|
|
1926
1926
|
name: ["name", "_creationTime"];
|
|
1927
1927
|
by_id: ["_id"];
|
|
@@ -1944,7 +1944,7 @@ export declare const vv: {
|
|
|
1944
1944
|
order?: number | undefined;
|
|
1945
1945
|
status: "active" | "archived";
|
|
1946
1946
|
};
|
|
1947
|
-
fieldPaths:
|
|
1947
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "userId" | "title" | "summary" | "defaultSystemPrompt" | "parentThreadIds" | "order");
|
|
1948
1948
|
indexes: {
|
|
1949
1949
|
userId: ["userId", "_creationTime"];
|
|
1950
1950
|
by_id: ["_id"];
|
|
@@ -1965,7 +1965,7 @@ export declare const vv: {
|
|
|
1965
1965
|
table: string;
|
|
1966
1966
|
vector: number[];
|
|
1967
1967
|
};
|
|
1968
|
-
fieldPaths: "_id" | ("
|
|
1968
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1969
1969
|
indexes: {
|
|
1970
1970
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1971
1971
|
by_id: ["_id"];
|
|
@@ -1992,7 +1992,7 @@ export declare const vv: {
|
|
|
1992
1992
|
table: string;
|
|
1993
1993
|
vector: number[];
|
|
1994
1994
|
};
|
|
1995
|
-
fieldPaths: "_id" | ("
|
|
1995
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
1996
1996
|
indexes: {
|
|
1997
1997
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
1998
1998
|
by_id: ["_id"];
|
|
@@ -2019,7 +2019,7 @@ export declare const vv: {
|
|
|
2019
2019
|
table: string;
|
|
2020
2020
|
vector: number[];
|
|
2021
2021
|
};
|
|
2022
|
-
fieldPaths: "_id" | ("
|
|
2022
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2023
2023
|
indexes: {
|
|
2024
2024
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2025
2025
|
by_id: ["_id"];
|
|
@@ -2046,7 +2046,7 @@ export declare const vv: {
|
|
|
2046
2046
|
table: string;
|
|
2047
2047
|
vector: number[];
|
|
2048
2048
|
};
|
|
2049
|
-
fieldPaths: "_id" | ("
|
|
2049
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2050
2050
|
indexes: {
|
|
2051
2051
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2052
2052
|
by_id: ["_id"];
|
|
@@ -2073,7 +2073,7 @@ export declare const vv: {
|
|
|
2073
2073
|
table: string;
|
|
2074
2074
|
vector: number[];
|
|
2075
2075
|
};
|
|
2076
|
-
fieldPaths: "_id" | ("
|
|
2076
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2077
2077
|
indexes: {
|
|
2078
2078
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2079
2079
|
by_id: ["_id"];
|
|
@@ -2100,7 +2100,7 @@ export declare const vv: {
|
|
|
2100
2100
|
table: string;
|
|
2101
2101
|
vector: number[];
|
|
2102
2102
|
};
|
|
2103
|
-
fieldPaths: "_id" | ("
|
|
2103
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2104
2104
|
indexes: {
|
|
2105
2105
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2106
2106
|
by_id: ["_id"];
|
|
@@ -2127,7 +2127,7 @@ export declare const vv: {
|
|
|
2127
2127
|
table: string;
|
|
2128
2128
|
vector: number[];
|
|
2129
2129
|
};
|
|
2130
|
-
fieldPaths: "_id" | ("
|
|
2130
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2131
2131
|
indexes: {
|
|
2132
2132
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2133
2133
|
by_id: ["_id"];
|
|
@@ -2154,7 +2154,7 @@ export declare const vv: {
|
|
|
2154
2154
|
table: string;
|
|
2155
2155
|
vector: number[];
|
|
2156
2156
|
};
|
|
2157
|
-
fieldPaths: "_id" | ("
|
|
2157
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2158
2158
|
indexes: {
|
|
2159
2159
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2160
2160
|
by_id: ["_id"];
|
|
@@ -2181,7 +2181,7 @@ export declare const vv: {
|
|
|
2181
2181
|
table: string;
|
|
2182
2182
|
vector: number[];
|
|
2183
2183
|
};
|
|
2184
|
-
fieldPaths: "_id" | ("
|
|
2184
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2185
2185
|
indexes: {
|
|
2186
2186
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2187
2187
|
by_id: ["_id"];
|
|
@@ -2208,7 +2208,7 @@ export declare const vv: {
|
|
|
2208
2208
|
table: string;
|
|
2209
2209
|
vector: number[];
|
|
2210
2210
|
};
|
|
2211
|
-
fieldPaths: "_id" | ("
|
|
2211
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2212
2212
|
indexes: {
|
|
2213
2213
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2214
2214
|
by_id: ["_id"];
|
|
@@ -2234,7 +2234,7 @@ export declare const vv: {
|
|
|
2234
2234
|
refcount: number;
|
|
2235
2235
|
lastTouchedAt: number;
|
|
2236
2236
|
};
|
|
2237
|
-
fieldPaths: ("_creationTime" | "mimeType" | "filename" | "storageId" | "hash" | "refcount" | "lastTouchedAt")
|
|
2237
|
+
fieldPaths: "_id" | ("_creationTime" | "mimeType" | "filename" | "storageId" | "hash" | "refcount" | "lastTouchedAt");
|
|
2238
2238
|
indexes: {
|
|
2239
2239
|
hash: ["hash", "_creationTime"];
|
|
2240
2240
|
refcount: ["refcount", "_creationTime"];
|
|
@@ -2366,7 +2366,7 @@ export declare const vv: {
|
|
|
2366
2366
|
type: "other";
|
|
2367
2367
|
message: string;
|
|
2368
2368
|
})[] | undefined;
|
|
2369
|
-
finishReason?: "
|
|
2369
|
+
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
2370
2370
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
2371
2371
|
stepId?: string | undefined;
|
|
2372
2372
|
status: "pending" | "success" | "failed";
|
|
@@ -2375,7 +2375,7 @@ export declare const vv: {
|
|
|
2375
2375
|
stepOrder: number;
|
|
2376
2376
|
tool: boolean;
|
|
2377
2377
|
};
|
|
2378
|
-
fieldPaths: ("
|
|
2378
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "files" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "providerMetadata" | "sources" | "reasoningDetails" | "warnings" | "finishReason" | "parentMessageId" | "stepId" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | `providerMetadata.${string}`);
|
|
2379
2379
|
indexes: {
|
|
2380
2380
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
2381
2381
|
embeddingId: ["embeddingId", "_creationTime"];
|
|
@@ -2414,7 +2414,7 @@ export declare const vv: {
|
|
|
2414
2414
|
kind: "error";
|
|
2415
2415
|
};
|
|
2416
2416
|
};
|
|
2417
|
-
fieldPaths: ("
|
|
2417
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "order" | "threadId" | "stepOrder" | "agentName" | "model" | "provider" | "providerOptions" | `providerOptions.${string}` | "state" | "state.error" | "state.kind" | "state.lastHeartbeat" | "state.timeoutFnId" | "state.endedAt");
|
|
2418
2418
|
indexes: {
|
|
2419
2419
|
threadId_state_order_stepOrder: ["threadId", "state.kind", "order", "stepOrder", "_creationTime"];
|
|
2420
2420
|
by_id: ["_id"];
|
|
@@ -2478,7 +2478,7 @@ export declare const vv: {
|
|
|
2478
2478
|
argsTextDelta: string;
|
|
2479
2479
|
})[];
|
|
2480
2480
|
};
|
|
2481
|
-
fieldPaths: ("_creationTime" | "streamId" | "start" | "end" | "parts")
|
|
2481
|
+
fieldPaths: "_id" | ("_creationTime" | "streamId" | "start" | "end" | "parts");
|
|
2482
2482
|
indexes: {
|
|
2483
2483
|
streamId_start_end: ["streamId", "start", "end", "_creationTime"];
|
|
2484
2484
|
by_id: ["_id"];
|
|
@@ -2496,7 +2496,7 @@ export declare const vv: {
|
|
|
2496
2496
|
embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1408" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
|
|
2497
2497
|
memory: string;
|
|
2498
2498
|
};
|
|
2499
|
-
fieldPaths:
|
|
2499
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "embeddingId" | "memory");
|
|
2500
2500
|
indexes: {
|
|
2501
2501
|
threadId: ["threadId", "_creationTime"];
|
|
2502
2502
|
userId: ["userId", "_creationTime"];
|
|
@@ -2513,7 +2513,7 @@ export declare const vv: {
|
|
|
2513
2513
|
_creationTime: number;
|
|
2514
2514
|
name?: string | undefined;
|
|
2515
2515
|
};
|
|
2516
|
-
fieldPaths:
|
|
2516
|
+
fieldPaths: "_id" | ("_creationTime" | "name");
|
|
2517
2517
|
indexes: {
|
|
2518
2518
|
name: ["name", "_creationTime"];
|
|
2519
2519
|
by_id: ["_id"];
|
|
@@ -2918,7 +2918,7 @@ export declare const vv: {
|
|
|
2918
2918
|
type: "other";
|
|
2919
2919
|
message: string;
|
|
2920
2920
|
})[] | undefined;
|
|
2921
|
-
finishReason?: "
|
|
2921
|
+
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
2922
2922
|
parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
|
|
2923
2923
|
stepId?: string | undefined;
|
|
2924
2924
|
status: "pending" | "success" | "failed";
|
|
@@ -3476,7 +3476,7 @@ export declare const vv: {
|
|
|
3476
3476
|
type: import("convex/values").VLiteral<"other", "required">;
|
|
3477
3477
|
message: import("convex/values").VString<string, "required">;
|
|
3478
3478
|
}, "required", "type" | "message">], "required", "type" | "message" | "tool" | "setting" | "details" | `tool.${string}`>, "optional">;
|
|
3479
|
-
finishReason: import("convex/values").VUnion<"
|
|
3479
|
+
finishReason: import("convex/values").VUnion<"length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined, [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "optional", never>;
|
|
3480
3480
|
parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
|
|
3481
3481
|
stepId: import("convex/values").VString<string | undefined, "optional">;
|
|
3482
3482
|
files: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
@@ -3885,9 +3885,9 @@ export declare const vThreadDoc: import("convex/values").VObject<{
|
|
|
3885
3885
|
userId?: string | undefined;
|
|
3886
3886
|
title?: string | undefined;
|
|
3887
3887
|
summary?: string | undefined;
|
|
3888
|
-
status: "active" | "archived";
|
|
3889
|
-
_creationTime: number;
|
|
3890
3888
|
_id: string;
|
|
3889
|
+
_creationTime: number;
|
|
3890
|
+
status: "active" | "archived";
|
|
3891
3891
|
}, {
|
|
3892
3892
|
_id: import("convex/values").VString<string, "required">;
|
|
3893
3893
|
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
@@ -3895,7 +3895,7 @@ export declare const vThreadDoc: import("convex/values").VObject<{
|
|
|
3895
3895
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
3896
3896
|
summary: import("convex/values").VString<string | undefined, "optional">;
|
|
3897
3897
|
status: import("convex/values").VUnion<"active" | "archived", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"archived", "required">], "required", never>;
|
|
3898
|
-
}, "required", "
|
|
3898
|
+
}, "required", "_id" | "_creationTime" | "status" | "userId" | "title" | "summary">;
|
|
3899
3899
|
export type ThreadDoc = Infer<typeof vThreadDoc>;
|
|
3900
3900
|
export declare const vMessageDoc: import("convex/values").VObject<{
|
|
3901
3901
|
id?: string | undefined;
|
|
@@ -4015,14 +4015,14 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4015
4015
|
type: "other";
|
|
4016
4016
|
message: string;
|
|
4017
4017
|
})[] | undefined;
|
|
4018
|
-
finishReason?: "
|
|
4018
|
+
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
4019
|
+
_id: string;
|
|
4020
|
+
_creationTime: number;
|
|
4019
4021
|
status: "pending" | "success" | "failed";
|
|
4020
4022
|
order: number;
|
|
4021
|
-
_creationTime: number;
|
|
4022
4023
|
threadId: string;
|
|
4023
4024
|
stepOrder: number;
|
|
4024
4025
|
tool: boolean;
|
|
4025
|
-
_id: string;
|
|
4026
4026
|
}, {
|
|
4027
4027
|
threadId: import("convex/values").VString<string, "required">;
|
|
4028
4028
|
embeddingId: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -4573,10 +4573,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4573
4573
|
type: import("convex/values").VLiteral<"other", "required">;
|
|
4574
4574
|
message: import("convex/values").VString<string, "required">;
|
|
4575
4575
|
}, "required", "type" | "message">], "required", "type" | "message" | "tool" | "setting" | "details" | `tool.${string}`>, "optional">;
|
|
4576
|
-
finishReason: import("convex/values").VUnion<"
|
|
4576
|
+
finishReason: import("convex/values").VUnion<"length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined, [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "optional", never>;
|
|
4577
4577
|
_id: import("convex/values").VString<string, "required">;
|
|
4578
4578
|
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
4579
|
-
}, "required", "
|
|
4579
|
+
}, "required", "_id" | "_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "usage" | "providerMetadata" | "sources" | "reasoningDetails" | "warnings" | "finishReason" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | `providerMetadata.${string}`>;
|
|
4580
4580
|
export type MessageDoc = Infer<typeof vMessageDoc>;
|
|
4581
4581
|
export default schema;
|
|
4582
4582
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -4,9 +4,9 @@ export declare const getThread: import("convex/server").RegisteredQuery<"public"
|
|
|
4
4
|
userId?: string | undefined;
|
|
5
5
|
title?: string | undefined;
|
|
6
6
|
summary?: string | undefined;
|
|
7
|
-
status: "active" | "archived";
|
|
8
|
-
_creationTime: number;
|
|
9
7
|
_id: string;
|
|
8
|
+
_creationTime: number;
|
|
9
|
+
status: "active" | "archived";
|
|
10
10
|
} | null>>;
|
|
11
11
|
export declare const listThreadsByUserId: import("convex/server").RegisteredQuery<"public", {
|
|
12
12
|
userId?: string | undefined;
|
|
@@ -24,9 +24,9 @@ export declare const listThreadsByUserId: import("convex/server").RegisteredQuer
|
|
|
24
24
|
userId?: string | undefined;
|
|
25
25
|
title?: string | undefined;
|
|
26
26
|
summary?: string | undefined;
|
|
27
|
-
status: "active" | "archived";
|
|
28
|
-
_creationTime: number;
|
|
29
27
|
_id: string;
|
|
28
|
+
_creationTime: number;
|
|
29
|
+
status: "active" | "archived";
|
|
30
30
|
}[];
|
|
31
31
|
isDone: boolean;
|
|
32
32
|
continueCursor: import("convex/server").Cursor;
|
|
@@ -43,9 +43,9 @@ export declare const createThread: import("convex/server").RegisteredMutation<"p
|
|
|
43
43
|
userId?: string | undefined;
|
|
44
44
|
title?: string | undefined;
|
|
45
45
|
summary?: string | undefined;
|
|
46
|
-
status: "active" | "archived";
|
|
47
|
-
_creationTime: number;
|
|
48
46
|
_id: string;
|
|
47
|
+
_creationTime: number;
|
|
48
|
+
status: "active" | "archived";
|
|
49
49
|
}>>;
|
|
50
50
|
export declare const updateThread: import("convex/server").RegisteredMutation<"public", {
|
|
51
51
|
threadId: import("convex/values").GenericId<"threads">;
|
|
@@ -58,9 +58,9 @@ export declare const updateThread: import("convex/server").RegisteredMutation<"p
|
|
|
58
58
|
userId?: string | undefined;
|
|
59
59
|
title?: string | undefined;
|
|
60
60
|
summary?: string | undefined;
|
|
61
|
-
status: "active" | "archived";
|
|
62
|
-
_creationTime: number;
|
|
63
61
|
_id: string;
|
|
62
|
+
_creationTime: number;
|
|
63
|
+
status: "active" | "archived";
|
|
64
64
|
}>>;
|
|
65
65
|
/**
|
|
66
66
|
* Use this to delete a thread and everything it contains.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/component/vector/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,eAAe,EAIrB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,QAAQ;;;;;;;;;;GAmCnB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;GAqC/B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;MAsBtB,CAAC;AAEH,wBAAsB,YAAY,CAChC,GAAG,EAAE,WAAW,EAChB,SAAS,EAAE,eAAe,EAC1B,CAAC,EAAE,mCAAmC,iPASvC;AAED,wBAAgB,aAAa,CAC3B,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,MAAM,EAAE,EAChB,IAAI,EAAE;IACJ,SAAS,EAAE,eAAe,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;IACzB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;KAoBF;AAED,eAAO,MAAM,WAAW;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/component/vector/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,eAAe,EAIrB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,QAAQ;;;;;;;;;;GAmCnB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;GAqC/B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;MAsBtB,CAAC;AAEH,wBAAsB,YAAY,CAChC,GAAG,EAAE,WAAW,EAChB,SAAS,EAAE,eAAe,EAC1B,CAAC,EAAE,mCAAmC,iPASvC;AAED,wBAAgB,aAAa,CAC3B,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,MAAM,EAAE,EAChB,IAAI,EAAE;IACJ,SAAS,EAAE,eAAe,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;IACzB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;KAoBF;AAED,eAAO,MAAM,WAAW;;;;;;iBAyBtB,CAAC;AAEH,eAAO,MAAM,WAAW;;iBAQtB,CAAC"}
|
|
@@ -122,6 +122,10 @@ export const updateBatch = mutation({
|
|
|
122
122
|
model: v.string(),
|
|
123
123
|
id: vVectorId,
|
|
124
124
|
vector: v.array(v.number()),
|
|
125
|
+
// TODO: support changing the vector length by
|
|
126
|
+
// deleting from one table and inserting into another.
|
|
127
|
+
// However this requires updating all the messages that reference
|
|
128
|
+
// the vector.
|
|
125
129
|
})),
|
|
126
130
|
},
|
|
127
131
|
returns: v.null(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/component/vector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,OAAO,EAEL,QAAQ,EAER,KAAK,GACN,MAAM,yBAAyB,CAAC;AACjC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAEL,kBAAkB,EAElB,oCAAoC,EACpC,gBAAgB,EAChB,SAAS,GACV,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,CAAC;IAC5B,IAAI,EAAE;QACJ,eAAe,EAAE,gBAAgB;QACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;KAClB;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;QACvB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;KAC3B,CAAC;IACF,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC3B,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,eAAe,C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AC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAEL,KAAK,uBAAuB,EAE7B,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAgB,iBAAiB,CAE/B,KAAK,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EAEnC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,MAAM,EACxC,OAAO,EAAE;IACP,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,KAAK,SAAS,iBAAiB,GACpC,OAAO,GACP,YAAY,CAAC,6IAA6I,CAAC,CAAC;CACjK,GACA,uBAAuB,CACxB,oBAAoB,CAAC,KAAK,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CACtD,CA0CA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CAExC,KAAK,SAAS,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,EAEzC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,MAAM,GACvC,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS,CAoEhD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,KAAK,CAAC,EAAE,MAAM;;;;YAOS,MAAM,oBA2C9B"}
|
package/dist/esm/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useQuery, } from "convex/react";
|
|
3
|
-
import { usePaginatedQuery } from "
|
|
3
|
+
import { usePaginatedQuery } from "convex-helpers/react";
|
|
4
4
|
import { useMemo, useState } from "react";
|
|
5
5
|
import { toUIMessages } from "./toUIMessages.js";
|
|
6
6
|
import { mergeDeltas } from "./deltas.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAGL,QAAQ,GACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAK1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAQ1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