@convex-dev/agent 0.1.4-alpha.0 → 0.1.5-alpha.0
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 +24 -35
- package/dist/commonjs/client/createTool.d.ts +3 -5
- package/dist/commonjs/client/createTool.d.ts.map +1 -1
- package/dist/commonjs/client/createTool.js +1 -0
- package/dist/commonjs/client/createTool.js.map +1 -1
- package/dist/commonjs/client/index.d.ts +6 -6
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/client/streaming.d.ts +5 -5
- package/dist/commonjs/client/streaming.d.ts.map +1 -1
- package/dist/commonjs/client/streaming.js +3 -2
- package/dist/commonjs/client/streaming.js.map +1 -1
- package/dist/commonjs/component/files.d.ts +2 -2
- package/dist/commonjs/component/files.d.ts.map +1 -1
- package/dist/commonjs/component/files.js.map +1 -1
- package/dist/commonjs/component/messages.d.ts +24 -24
- package/dist/commonjs/component/messages.d.ts.map +1 -1
- package/dist/commonjs/component/messages.js +4 -5
- package/dist/commonjs/component/messages.js.map +1 -1
- package/dist/commonjs/component/schema.d.ts +45 -45
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/component/schema.js.map +1 -1
- package/dist/commonjs/component/streams.d.ts.map +1 -1
- package/dist/commonjs/component/streams.js +4 -7
- package/dist/commonjs/component/streams.js.map +1 -1
- package/dist/commonjs/component/threads.d.ts +8 -8
- package/dist/commonjs/component/threads.js +3 -3
- package/dist/commonjs/component/threads.js.map +1 -1
- package/dist/commonjs/component/users.js +4 -4
- package/dist/commonjs/component/users.js.map +1 -1
- package/dist/commonjs/component/vector/index.d.ts +3 -3
- package/dist/commonjs/component/vector/index.d.ts.map +1 -1
- package/dist/commonjs/component/vector/index.js +4 -5
- package/dist/commonjs/component/vector/index.js.map +1 -1
- package/dist/commonjs/component/vector/tables.d.ts +5 -7
- package/dist/commonjs/component/vector/tables.d.ts.map +1 -1
- package/dist/commonjs/mapping.d.ts +2 -2
- package/dist/commonjs/mapping.d.ts.map +1 -1
- package/dist/commonjs/mapping.js.map +1 -1
- package/dist/commonjs/react/deltas.d.ts +29 -0
- package/dist/commonjs/react/deltas.d.ts.map +1 -0
- package/dist/commonjs/react/deltas.js +267 -0
- package/dist/commonjs/react/deltas.js.map +1 -0
- package/dist/commonjs/react/index.d.ts +4 -49
- package/dist/commonjs/react/index.d.ts.map +1 -1
- package/dist/commonjs/react/index.js +15 -446
- package/dist/commonjs/react/index.js.map +1 -1
- package/dist/commonjs/react/optimisticallySendMessage.d.ts +8 -0
- package/dist/commonjs/react/optimisticallySendMessage.d.ts.map +1 -0
- package/dist/commonjs/react/optimisticallySendMessage.js +40 -0
- package/dist/commonjs/react/optimisticallySendMessage.js.map +1 -0
- package/dist/commonjs/react/toUIMessages.d.ts +3 -3
- package/dist/commonjs/react/toUIMessages.d.ts.map +1 -1
- package/dist/commonjs/react/toUIMessages.js +4 -2
- package/dist/commonjs/react/toUIMessages.js.map +1 -1
- package/dist/commonjs/react/types.d.ts +26 -0
- package/dist/commonjs/react/types.d.ts.map +1 -0
- package/dist/commonjs/react/types.js +2 -0
- package/dist/commonjs/react/types.js.map +1 -0
- package/dist/commonjs/react/useSmoothText.d.ts +20 -0
- package/dist/commonjs/react/useSmoothText.d.ts.map +1 -0
- package/dist/commonjs/react/useSmoothText.js +50 -0
- package/dist/commonjs/react/useSmoothText.js.map +1 -0
- package/dist/commonjs/shared.d.ts +2 -2
- package/dist/commonjs/shared.d.ts.map +1 -1
- package/dist/commonjs/validators.d.ts +1 -1
- package/dist/commonjs/validators.d.ts.map +1 -1
- package/dist/commonjs/validators.js +2 -2
- package/dist/commonjs/validators.js.map +1 -1
- package/dist/commonjs.tsbuildinfo +1 -0
- package/dist/esm/client/createTool.d.ts +3 -5
- package/dist/esm/client/createTool.d.ts.map +1 -1
- package/dist/esm/client/createTool.js +1 -0
- package/dist/esm/client/createTool.js.map +1 -1
- package/dist/esm/client/index.d.ts +6 -6
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/client/streaming.d.ts +5 -5
- package/dist/esm/client/streaming.d.ts.map +1 -1
- package/dist/esm/client/streaming.js +3 -2
- package/dist/esm/client/streaming.js.map +1 -1
- package/dist/esm/component/files.d.ts +2 -2
- package/dist/esm/component/files.d.ts.map +1 -1
- package/dist/esm/component/files.js.map +1 -1
- package/dist/esm/component/messages.d.ts +24 -24
- package/dist/esm/component/messages.d.ts.map +1 -1
- package/dist/esm/component/messages.js +4 -5
- package/dist/esm/component/messages.js.map +1 -1
- package/dist/esm/component/schema.d.ts +45 -45
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/component/schema.js.map +1 -1
- package/dist/esm/component/streams.d.ts.map +1 -1
- package/dist/esm/component/streams.js +4 -7
- package/dist/esm/component/streams.js.map +1 -1
- package/dist/esm/component/threads.d.ts +8 -8
- package/dist/esm/component/threads.js +3 -3
- package/dist/esm/component/threads.js.map +1 -1
- package/dist/esm/component/users.js +4 -4
- package/dist/esm/component/users.js.map +1 -1
- package/dist/esm/component/vector/index.d.ts +3 -3
- package/dist/esm/component/vector/index.d.ts.map +1 -1
- package/dist/esm/component/vector/index.js +4 -5
- package/dist/esm/component/vector/index.js.map +1 -1
- package/dist/esm/component/vector/tables.d.ts +5 -7
- package/dist/esm/component/vector/tables.d.ts.map +1 -1
- package/dist/esm/mapping.d.ts +2 -2
- package/dist/esm/mapping.d.ts.map +1 -1
- package/dist/esm/mapping.js.map +1 -1
- package/dist/esm/react/deltas.d.ts +29 -0
- package/dist/esm/react/deltas.d.ts.map +1 -0
- package/dist/esm/react/deltas.js +267 -0
- package/dist/esm/react/deltas.js.map +1 -0
- package/dist/esm/react/index.d.ts +4 -49
- package/dist/esm/react/index.d.ts.map +1 -1
- package/dist/esm/react/index.js +15 -446
- package/dist/esm/react/index.js.map +1 -1
- package/dist/esm/react/optimisticallySendMessage.d.ts +8 -0
- package/dist/esm/react/optimisticallySendMessage.d.ts.map +1 -0
- package/dist/esm/react/optimisticallySendMessage.js +40 -0
- package/dist/esm/react/optimisticallySendMessage.js.map +1 -0
- package/dist/esm/react/toUIMessages.d.ts +3 -3
- package/dist/esm/react/toUIMessages.d.ts.map +1 -1
- package/dist/esm/react/toUIMessages.js +4 -2
- package/dist/esm/react/toUIMessages.js.map +1 -1
- package/dist/esm/react/types.d.ts +26 -0
- package/dist/esm/react/types.d.ts.map +1 -0
- package/dist/esm/react/types.js +2 -0
- package/dist/esm/react/types.js.map +1 -0
- package/dist/esm/react/useSmoothText.d.ts +20 -0
- package/dist/esm/react/useSmoothText.d.ts.map +1 -0
- package/dist/esm/react/useSmoothText.js +50 -0
- package/dist/esm/react/useSmoothText.js.map +1 -0
- package/dist/esm/shared.d.ts +2 -2
- package/dist/esm/shared.d.ts.map +1 -1
- package/dist/esm/validators.d.ts +1 -1
- package/dist/esm/validators.d.ts.map +1 -1
- package/dist/esm/validators.js +2 -2
- package/dist/esm/validators.js.map +1 -1
- package/dist/esm.tsbuildinfo +1 -0
- package/package.json +5 -1
- package/src/client/createTool.ts +3 -5
- package/src/client/index.test.ts +1 -1
- package/src/client/index.ts +9 -10
- package/src/client/streaming.ts +15 -5
- package/src/component/files.ts +2 -2
- package/src/component/messages.test.ts +4 -4
- package/src/component/messages.ts +15 -15
- package/src/component/schema.ts +1 -1
- package/src/component/streams.ts +8 -9
- package/src/component/threads.ts +6 -6
- package/src/component/users.ts +7 -7
- package/src/component/vector/index.ts +12 -8
- package/src/component/vector/tables.ts +10 -10
- package/src/mapping.ts +4 -4
- package/src/react/deltas.test.ts +298 -0
- package/src/react/deltas.ts +340 -0
- package/src/react/index.ts +26 -589
- package/src/react/optimisticallySendMessage.ts +46 -0
- package/src/react/toUIMessages.test.ts +301 -0
- package/src/react/toUIMessages.ts +9 -5
- package/src/react/types.ts +52 -0
- package/src/react/useSmoothText.ts +76 -0
- package/src/shared.ts +2 -2
- package/src/validators.test.ts +22 -22
- package/src/validators.ts +8 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Infer } from "convex/values";
|
|
1
|
+
import { type Infer } from "convex/values";
|
|
2
2
|
export declare const schema: import("convex/server").SchemaDefinition<{
|
|
3
3
|
apiKeys: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
4
4
|
name?: string | undefined;
|
|
@@ -2542,7 +2542,7 @@ export declare const vv: {
|
|
|
2542
2542
|
order?: number | undefined;
|
|
2543
2543
|
status: "active" | "archived";
|
|
2544
2544
|
};
|
|
2545
|
-
fieldPaths:
|
|
2545
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "userId" | "title" | "summary" | "defaultSystemPrompt" | "parentThreadIds" | "order");
|
|
2546
2546
|
indexes: {
|
|
2547
2547
|
userId: ["userId", "_creationTime"];
|
|
2548
2548
|
by_id: ["_id"];
|
|
@@ -2563,7 +2563,7 @@ export declare const vv: {
|
|
|
2563
2563
|
table: string;
|
|
2564
2564
|
vector: number[];
|
|
2565
2565
|
};
|
|
2566
|
-
fieldPaths: "_id" | ("
|
|
2566
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2567
2567
|
indexes: {
|
|
2568
2568
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2569
2569
|
by_id: ["_id"];
|
|
@@ -2590,7 +2590,7 @@ export declare const vv: {
|
|
|
2590
2590
|
table: string;
|
|
2591
2591
|
vector: number[];
|
|
2592
2592
|
};
|
|
2593
|
-
fieldPaths: "_id" | ("
|
|
2593
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2594
2594
|
indexes: {
|
|
2595
2595
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2596
2596
|
by_id: ["_id"];
|
|
@@ -2617,7 +2617,7 @@ export declare const vv: {
|
|
|
2617
2617
|
table: string;
|
|
2618
2618
|
vector: number[];
|
|
2619
2619
|
};
|
|
2620
|
-
fieldPaths: "_id" | ("
|
|
2620
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2621
2621
|
indexes: {
|
|
2622
2622
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2623
2623
|
by_id: ["_id"];
|
|
@@ -2644,7 +2644,7 @@ export declare const vv: {
|
|
|
2644
2644
|
table: string;
|
|
2645
2645
|
vector: number[];
|
|
2646
2646
|
};
|
|
2647
|
-
fieldPaths: "_id" | ("
|
|
2647
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2648
2648
|
indexes: {
|
|
2649
2649
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2650
2650
|
by_id: ["_id"];
|
|
@@ -2671,7 +2671,7 @@ export declare const vv: {
|
|
|
2671
2671
|
table: string;
|
|
2672
2672
|
vector: number[];
|
|
2673
2673
|
};
|
|
2674
|
-
fieldPaths: "_id" | ("
|
|
2674
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2675
2675
|
indexes: {
|
|
2676
2676
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2677
2677
|
by_id: ["_id"];
|
|
@@ -2698,7 +2698,7 @@ export declare const vv: {
|
|
|
2698
2698
|
table: string;
|
|
2699
2699
|
vector: number[];
|
|
2700
2700
|
};
|
|
2701
|
-
fieldPaths: "_id" | ("
|
|
2701
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2702
2702
|
indexes: {
|
|
2703
2703
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2704
2704
|
by_id: ["_id"];
|
|
@@ -2725,7 +2725,7 @@ export declare const vv: {
|
|
|
2725
2725
|
table: string;
|
|
2726
2726
|
vector: number[];
|
|
2727
2727
|
};
|
|
2728
|
-
fieldPaths: "_id" | ("
|
|
2728
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2729
2729
|
indexes: {
|
|
2730
2730
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2731
2731
|
by_id: ["_id"];
|
|
@@ -2752,7 +2752,7 @@ export declare const vv: {
|
|
|
2752
2752
|
table: string;
|
|
2753
2753
|
vector: number[];
|
|
2754
2754
|
};
|
|
2755
|
-
fieldPaths: "_id" | ("
|
|
2755
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2756
2756
|
indexes: {
|
|
2757
2757
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2758
2758
|
by_id: ["_id"];
|
|
@@ -2779,7 +2779,7 @@ export declare const vv: {
|
|
|
2779
2779
|
table: string;
|
|
2780
2780
|
vector: number[];
|
|
2781
2781
|
};
|
|
2782
|
-
fieldPaths: "_id" | ("
|
|
2782
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2783
2783
|
indexes: {
|
|
2784
2784
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2785
2785
|
by_id: ["_id"];
|
|
@@ -2806,7 +2806,7 @@ export declare const vv: {
|
|
|
2806
2806
|
table: string;
|
|
2807
2807
|
vector: number[];
|
|
2808
2808
|
};
|
|
2809
|
-
fieldPaths: "_id" | ("
|
|
2809
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
2810
2810
|
indexes: {
|
|
2811
2811
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
2812
2812
|
by_id: ["_id"];
|
|
@@ -2829,7 +2829,7 @@ export declare const vv: {
|
|
|
2829
2829
|
hash: string;
|
|
2830
2830
|
refcount: number;
|
|
2831
2831
|
};
|
|
2832
|
-
fieldPaths: ("_creationTime" | "storageId" | "hash" | "refcount")
|
|
2832
|
+
fieldPaths: "_id" | ("_creationTime" | "storageId" | "hash" | "refcount");
|
|
2833
2833
|
indexes: {
|
|
2834
2834
|
hash: ["hash", "_creationTime"];
|
|
2835
2835
|
refcount: ["refcount", "_creationTime"];
|
|
@@ -2972,7 +2972,7 @@ export declare const vv: {
|
|
|
2972
2972
|
stepOrder: number;
|
|
2973
2973
|
tool: boolean;
|
|
2974
2974
|
};
|
|
2975
|
-
fieldPaths: ("
|
|
2975
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "files" | "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}`);
|
|
2976
2976
|
indexes: {
|
|
2977
2977
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
2978
2978
|
embeddingId: ["embeddingId", "_creationTime"];
|
|
@@ -3152,7 +3152,7 @@ export declare const vv: {
|
|
|
3152
3152
|
}[];
|
|
3153
3153
|
};
|
|
3154
3154
|
};
|
|
3155
|
-
fieldPaths: ("
|
|
3155
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "order" | "threadId" | "stepOrder" | "parentMessageId" | "step" | "step.text" | "step.reasoning" | "step.files" | "step.usage" | "step.providerMetadata" | "step.sources" | "step.reasoningDetails" | "step.warnings" | "step.finishReason" | "step.usage.promptTokens" | "step.usage.completionTokens" | "step.usage.totalTokens" | `step.providerMetadata.${string}` | "step.isContinued" | "step.logprobs" | "step.experimental_providerMetadata" | "step.request" | "step.response" | "step.stepType" | "step.toolCalls" | "step.toolResults" | `step.logprobs.${string}` | `step.experimental_providerMetadata.${string}` | "step.request.url" | "step.request.body" | "step.request.headers" | "step.request.method" | `step.request.body.${string}` | `step.request.headers.${string}` | "step.response.id" | "step.response.messages" | "step.response.body" | "step.response.headers" | `step.response.body.${string}` | `step.response.headers.${string}` | "step.response.timestamp" | "step.response.modelId");
|
|
3156
3156
|
indexes: {
|
|
3157
3157
|
status_threadId_order_stepOrder: ["status", "threadId", "order", "stepOrder", "_creationTime"];
|
|
3158
3158
|
parentMessageId_order_stepOrder: ["parentMessageId", "order", "stepOrder", "_creationTime"];
|
|
@@ -3186,7 +3186,7 @@ export declare const vv: {
|
|
|
3186
3186
|
kind: "error";
|
|
3187
3187
|
};
|
|
3188
3188
|
};
|
|
3189
|
-
fieldPaths: ("
|
|
3189
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "order" | "threadId" | "stepOrder" | "agentName" | "model" | "provider" | "providerOptions" | `providerOptions.${string}` | "state" | "state.error" | "state.kind" | "state.lastHeartbeat" | "state.timeoutFnId" | "state.endedAt");
|
|
3190
3190
|
indexes: {
|
|
3191
3191
|
threadId_state_order_stepOrder: ["threadId", "state.kind", "order", "stepOrder", "_creationTime"];
|
|
3192
3192
|
by_id: ["_id"];
|
|
@@ -3250,7 +3250,7 @@ export declare const vv: {
|
|
|
3250
3250
|
argsTextDelta: string;
|
|
3251
3251
|
})[];
|
|
3252
3252
|
};
|
|
3253
|
-
fieldPaths: ("_creationTime" | "streamId" | "start" | "end" | "parts")
|
|
3253
|
+
fieldPaths: "_id" | ("_creationTime" | "streamId" | "start" | "end" | "parts");
|
|
3254
3254
|
indexes: {
|
|
3255
3255
|
streamId_start_end: ["streamId", "start", "end", "_creationTime"];
|
|
3256
3256
|
by_id: ["_id"];
|
|
@@ -3268,7 +3268,7 @@ export declare const vv: {
|
|
|
3268
3268
|
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;
|
|
3269
3269
|
memory: string;
|
|
3270
3270
|
};
|
|
3271
|
-
fieldPaths:
|
|
3271
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "embeddingId" | "memory");
|
|
3272
3272
|
indexes: {
|
|
3273
3273
|
threadId: ["threadId", "_creationTime"];
|
|
3274
3274
|
userId: ["userId", "_creationTime"];
|
|
@@ -3285,7 +3285,7 @@ export declare const vv: {
|
|
|
3285
3285
|
_creationTime: number;
|
|
3286
3286
|
name?: string | undefined;
|
|
3287
3287
|
};
|
|
3288
|
-
fieldPaths:
|
|
3288
|
+
fieldPaths: "_id" | ("_creationTime" | "name");
|
|
3289
3289
|
indexes: {
|
|
3290
3290
|
name: ["name", "_creationTime"];
|
|
3291
3291
|
by_id: ["_id"];
|
|
@@ -3308,7 +3308,7 @@ export declare const vv: {
|
|
|
3308
3308
|
order?: number | undefined;
|
|
3309
3309
|
status: "active" | "archived";
|
|
3310
3310
|
};
|
|
3311
|
-
fieldPaths:
|
|
3311
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "userId" | "title" | "summary" | "defaultSystemPrompt" | "parentThreadIds" | "order");
|
|
3312
3312
|
indexes: {
|
|
3313
3313
|
userId: ["userId", "_creationTime"];
|
|
3314
3314
|
by_id: ["_id"];
|
|
@@ -3329,7 +3329,7 @@ export declare const vv: {
|
|
|
3329
3329
|
table: string;
|
|
3330
3330
|
vector: number[];
|
|
3331
3331
|
};
|
|
3332
|
-
fieldPaths: "_id" | ("
|
|
3332
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3333
3333
|
indexes: {
|
|
3334
3334
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3335
3335
|
by_id: ["_id"];
|
|
@@ -3356,7 +3356,7 @@ export declare const vv: {
|
|
|
3356
3356
|
table: string;
|
|
3357
3357
|
vector: number[];
|
|
3358
3358
|
};
|
|
3359
|
-
fieldPaths: "_id" | ("
|
|
3359
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3360
3360
|
indexes: {
|
|
3361
3361
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3362
3362
|
by_id: ["_id"];
|
|
@@ -3383,7 +3383,7 @@ export declare const vv: {
|
|
|
3383
3383
|
table: string;
|
|
3384
3384
|
vector: number[];
|
|
3385
3385
|
};
|
|
3386
|
-
fieldPaths: "_id" | ("
|
|
3386
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3387
3387
|
indexes: {
|
|
3388
3388
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3389
3389
|
by_id: ["_id"];
|
|
@@ -3410,7 +3410,7 @@ export declare const vv: {
|
|
|
3410
3410
|
table: string;
|
|
3411
3411
|
vector: number[];
|
|
3412
3412
|
};
|
|
3413
|
-
fieldPaths: "_id" | ("
|
|
3413
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3414
3414
|
indexes: {
|
|
3415
3415
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3416
3416
|
by_id: ["_id"];
|
|
@@ -3437,7 +3437,7 @@ export declare const vv: {
|
|
|
3437
3437
|
table: string;
|
|
3438
3438
|
vector: number[];
|
|
3439
3439
|
};
|
|
3440
|
-
fieldPaths: "_id" | ("
|
|
3440
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3441
3441
|
indexes: {
|
|
3442
3442
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3443
3443
|
by_id: ["_id"];
|
|
@@ -3464,7 +3464,7 @@ export declare const vv: {
|
|
|
3464
3464
|
table: string;
|
|
3465
3465
|
vector: number[];
|
|
3466
3466
|
};
|
|
3467
|
-
fieldPaths: "_id" | ("
|
|
3467
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3468
3468
|
indexes: {
|
|
3469
3469
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3470
3470
|
by_id: ["_id"];
|
|
@@ -3491,7 +3491,7 @@ export declare const vv: {
|
|
|
3491
3491
|
table: string;
|
|
3492
3492
|
vector: number[];
|
|
3493
3493
|
};
|
|
3494
|
-
fieldPaths: "_id" | ("
|
|
3494
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3495
3495
|
indexes: {
|
|
3496
3496
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3497
3497
|
by_id: ["_id"];
|
|
@@ -3518,7 +3518,7 @@ export declare const vv: {
|
|
|
3518
3518
|
table: string;
|
|
3519
3519
|
vector: number[];
|
|
3520
3520
|
};
|
|
3521
|
-
fieldPaths: "_id" | ("
|
|
3521
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3522
3522
|
indexes: {
|
|
3523
3523
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3524
3524
|
by_id: ["_id"];
|
|
@@ -3545,7 +3545,7 @@ export declare const vv: {
|
|
|
3545
3545
|
table: string;
|
|
3546
3546
|
vector: number[];
|
|
3547
3547
|
};
|
|
3548
|
-
fieldPaths: "_id" | ("
|
|
3548
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3549
3549
|
indexes: {
|
|
3550
3550
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3551
3551
|
by_id: ["_id"];
|
|
@@ -3572,7 +3572,7 @@ export declare const vv: {
|
|
|
3572
3572
|
table: string;
|
|
3573
3573
|
vector: number[];
|
|
3574
3574
|
};
|
|
3575
|
-
fieldPaths: "_id" | ("
|
|
3575
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "model" | "table" | "model_table_userId" | "model_table_threadId" | "vector");
|
|
3576
3576
|
indexes: {
|
|
3577
3577
|
model_table_threadId: ["model", "table", "threadId", "_creationTime"];
|
|
3578
3578
|
by_id: ["_id"];
|
|
@@ -3595,7 +3595,7 @@ export declare const vv: {
|
|
|
3595
3595
|
hash: string;
|
|
3596
3596
|
refcount: number;
|
|
3597
3597
|
};
|
|
3598
|
-
fieldPaths: ("_creationTime" | "storageId" | "hash" | "refcount")
|
|
3598
|
+
fieldPaths: "_id" | ("_creationTime" | "storageId" | "hash" | "refcount");
|
|
3599
3599
|
indexes: {
|
|
3600
3600
|
hash: ["hash", "_creationTime"];
|
|
3601
3601
|
refcount: ["refcount", "_creationTime"];
|
|
@@ -3738,7 +3738,7 @@ export declare const vv: {
|
|
|
3738
3738
|
stepOrder: number;
|
|
3739
3739
|
tool: boolean;
|
|
3740
3740
|
};
|
|
3741
|
-
fieldPaths: ("
|
|
3741
|
+
fieldPaths: "_id" | ("_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "files" | "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}`);
|
|
3742
3742
|
indexes: {
|
|
3743
3743
|
threadId_status_tool_order_stepOrder: ["threadId", "status", "tool", "order", "stepOrder", "_creationTime"];
|
|
3744
3744
|
embeddingId: ["embeddingId", "_creationTime"];
|
|
@@ -3918,7 +3918,7 @@ export declare const vv: {
|
|
|
3918
3918
|
}[];
|
|
3919
3919
|
};
|
|
3920
3920
|
};
|
|
3921
|
-
fieldPaths: ("
|
|
3921
|
+
fieldPaths: "_id" | ("_creationTime" | "status" | "order" | "threadId" | "stepOrder" | "parentMessageId" | "step" | "step.text" | "step.reasoning" | "step.files" | "step.usage" | "step.providerMetadata" | "step.sources" | "step.reasoningDetails" | "step.warnings" | "step.finishReason" | "step.usage.promptTokens" | "step.usage.completionTokens" | "step.usage.totalTokens" | `step.providerMetadata.${string}` | "step.isContinued" | "step.logprobs" | "step.experimental_providerMetadata" | "step.request" | "step.response" | "step.stepType" | "step.toolCalls" | "step.toolResults" | `step.logprobs.${string}` | `step.experimental_providerMetadata.${string}` | "step.request.url" | "step.request.body" | "step.request.headers" | "step.request.method" | `step.request.body.${string}` | `step.request.headers.${string}` | "step.response.id" | "step.response.messages" | "step.response.body" | "step.response.headers" | `step.response.body.${string}` | `step.response.headers.${string}` | "step.response.timestamp" | "step.response.modelId");
|
|
3922
3922
|
indexes: {
|
|
3923
3923
|
status_threadId_order_stepOrder: ["status", "threadId", "order", "stepOrder", "_creationTime"];
|
|
3924
3924
|
parentMessageId_order_stepOrder: ["parentMessageId", "order", "stepOrder", "_creationTime"];
|
|
@@ -3952,7 +3952,7 @@ export declare const vv: {
|
|
|
3952
3952
|
kind: "error";
|
|
3953
3953
|
};
|
|
3954
3954
|
};
|
|
3955
|
-
fieldPaths: ("
|
|
3955
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "order" | "threadId" | "stepOrder" | "agentName" | "model" | "provider" | "providerOptions" | `providerOptions.${string}` | "state" | "state.error" | "state.kind" | "state.lastHeartbeat" | "state.timeoutFnId" | "state.endedAt");
|
|
3956
3956
|
indexes: {
|
|
3957
3957
|
threadId_state_order_stepOrder: ["threadId", "state.kind", "order", "stepOrder", "_creationTime"];
|
|
3958
3958
|
by_id: ["_id"];
|
|
@@ -4016,7 +4016,7 @@ export declare const vv: {
|
|
|
4016
4016
|
argsTextDelta: string;
|
|
4017
4017
|
})[];
|
|
4018
4018
|
};
|
|
4019
|
-
fieldPaths: ("_creationTime" | "streamId" | "start" | "end" | "parts")
|
|
4019
|
+
fieldPaths: "_id" | ("_creationTime" | "streamId" | "start" | "end" | "parts");
|
|
4020
4020
|
indexes: {
|
|
4021
4021
|
streamId_start_end: ["streamId", "start", "end", "_creationTime"];
|
|
4022
4022
|
by_id: ["_id"];
|
|
@@ -4034,7 +4034,7 @@ export declare const vv: {
|
|
|
4034
4034
|
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;
|
|
4035
4035
|
memory: string;
|
|
4036
4036
|
};
|
|
4037
|
-
fieldPaths:
|
|
4037
|
+
fieldPaths: "_id" | ("_creationTime" | "userId" | "threadId" | "embeddingId" | "memory");
|
|
4038
4038
|
indexes: {
|
|
4039
4039
|
threadId: ["threadId", "_creationTime"];
|
|
4040
4040
|
userId: ["userId", "_creationTime"];
|
|
@@ -4051,7 +4051,7 @@ export declare const vv: {
|
|
|
4051
4051
|
_creationTime: number;
|
|
4052
4052
|
name?: string | undefined;
|
|
4053
4053
|
};
|
|
4054
|
-
fieldPaths:
|
|
4054
|
+
fieldPaths: "_id" | ("_creationTime" | "name");
|
|
4055
4055
|
indexes: {
|
|
4056
4056
|
name: ["name", "_creationTime"];
|
|
4057
4057
|
by_id: ["_id"];
|
|
@@ -6602,8 +6602,8 @@ export declare const vv: {
|
|
|
6602
6602
|
bytes: () => import("convex/values").VBytes<ArrayBuffer, "required">;
|
|
6603
6603
|
literal: <T extends string | number | bigint | boolean>(literal: T) => import("convex/values").VLiteral<T, "required">;
|
|
6604
6604
|
array: <T_1 extends import("convex/values").Validator<any, "required", any>>(element: T_1) => import("convex/values").VArray<T_1["type"][], T_1, "required">;
|
|
6605
|
-
object: <T_2 extends import("convex/values").PropertyValidators>(fields: T_2) => import("convex/values").VObject<import("convex/server").Expand<{ [Property in { [Property_1 in keyof T_2]: T_2[Property_1]["isOptional"] extends "optional" ? Property_1 : never; }[keyof T_2]]?: Exclude<
|
|
6606
|
-
record: <Key extends import("convex/values").Validator<string, "required", any>, Value extends import("convex/values").Validator<any, "required", any>>(keys: Key, values: Value) => import("convex/values").VRecord<Record<
|
|
6605
|
+
object: <T_2 extends import("convex/values").PropertyValidators>(fields: T_2) => import("convex/values").VObject<import("convex/server").Expand<{ [Property in { [Property_1 in keyof T_2]: T_2[Property_1]["isOptional"] extends "optional" ? Property_1 : never; }[keyof T_2]]?: Exclude<Infer<T_2[Property]>, undefined> | undefined; } & { [Property_1 in Exclude<keyof T_2, { [Property in keyof T_2]: T_2[Property]["isOptional"] extends "optional" ? Property : never; }[keyof T_2]>]: Infer<T_2[Property_1]>; }>, T_2, "required", { [Property_2 in keyof T_2]: Property_2 | `${Property_2 & string}.${T_2[Property_2]["fieldPaths"]}`; }[keyof T_2] & string>;
|
|
6606
|
+
record: <Key extends import("convex/values").Validator<string, "required", any>, Value extends import("convex/values").Validator<any, "required", any>>(keys: Key, values: Value) => import("convex/values").VRecord<Record<Infer<Key>, Value["type"]>, Key, Value, "required", string>;
|
|
6607
6607
|
union: <T_3 extends import("convex/values").Validator<any, "required", any>[]>(...members: T_3) => import("convex/values").VUnion<T_3[number]["type"], T_3, "required", T_3[number]["fieldPaths"]>;
|
|
6608
6608
|
any: () => import("convex/values").VAny<any, "required", string>;
|
|
6609
6609
|
optional: <T_4 extends import("convex/values").GenericValidator>(value: T_4) => import("convex/values").VOptional<T_4>;
|
|
@@ -6613,9 +6613,9 @@ export declare const vThreadDoc: import("convex/values").VObject<{
|
|
|
6613
6613
|
userId?: string | undefined;
|
|
6614
6614
|
title?: string | undefined;
|
|
6615
6615
|
summary?: string | undefined;
|
|
6616
|
-
status: "active" | "archived";
|
|
6617
|
-
_creationTime: number;
|
|
6618
6616
|
_id: string;
|
|
6617
|
+
_creationTime: number;
|
|
6618
|
+
status: "active" | "archived";
|
|
6619
6619
|
}, {
|
|
6620
6620
|
_id: import("convex/values").VString<string, "required">;
|
|
6621
6621
|
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
@@ -6623,7 +6623,7 @@ export declare const vThreadDoc: import("convex/values").VObject<{
|
|
|
6623
6623
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
6624
6624
|
summary: import("convex/values").VString<string | undefined, "optional">;
|
|
6625
6625
|
status: import("convex/values").VUnion<"active" | "archived", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"archived", "required">], "required", never>;
|
|
6626
|
-
}, "required", "
|
|
6626
|
+
}, "required", "_id" | "_creationTime" | "status" | "userId" | "title" | "summary">;
|
|
6627
6627
|
export type ThreadDoc = Infer<typeof vThreadDoc>;
|
|
6628
6628
|
export declare const vMessageDoc: import("convex/values").VObject<{
|
|
6629
6629
|
id?: string | undefined;
|
|
@@ -6747,13 +6747,13 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
6747
6747
|
message: string;
|
|
6748
6748
|
})[] | undefined;
|
|
6749
6749
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
6750
|
+
_id: string;
|
|
6751
|
+
_creationTime: number;
|
|
6750
6752
|
status: "pending" | "success" | "failed";
|
|
6751
6753
|
order: number;
|
|
6752
|
-
_creationTime: number;
|
|
6753
6754
|
threadId: string;
|
|
6754
6755
|
stepOrder: number;
|
|
6755
6756
|
tool: boolean;
|
|
6756
|
-
_id: string;
|
|
6757
6757
|
}, {
|
|
6758
6758
|
threadId: import("convex/values").VString<string, "required">;
|
|
6759
6759
|
embeddingId: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -7308,7 +7308,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
7308
7308
|
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>;
|
|
7309
7309
|
_id: import("convex/values").VString<string, "required">;
|
|
7310
7310
|
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
7311
|
-
}, "required", "
|
|
7311
|
+
}, "required", "_id" | "_creationTime" | "id" | "status" | "userId" | "order" | "threadId" | "stepOrder" | "embeddingId" | "error" | "agentName" | "model" | "provider" | "providerOptions" | "message" | "text" | `providerOptions.${string}` | "reasoning" | "tool" | "files" | "usage" | "providerMetadata" | "sources" | "reasoningDetails" | "warnings" | "finishReason" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | `providerMetadata.${string}`>;
|
|
7312
7312
|
export type MessageDoc = Infer<typeof vMessageDoc>;
|
|
7313
7313
|
export default schema;
|
|
7314
7314
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/component/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAK,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/component/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,KAAK,EAAK,MAAM,eAAe,CAAC;AAqB9C,eAAO,MAAM,MAAM;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4jBAYtB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAGnD,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/component/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/component/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAc,CAAC,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EACL,aAAa,EACb,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,OAAO,EACP,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,EACL,iBAAiB,EACjB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,2BA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;;;;;iBAOnB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"streams.d.ts","sourceRoot":"","sources":["../../../src/component/streams.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOnB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmCrB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;mEAoBjB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;KA4Bf,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BjB,CAAC;AA4CH,eAAO,MAAM,aAAa;;iBAgBxB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { v } from "convex/values";
|
|
2
|
-
import { internalMutation, mutation, query, } from "./_generated/server";
|
|
3
1
|
import { omit, pick } from "convex-helpers";
|
|
2
|
+
import { v } from "convex/values";
|
|
4
3
|
import { vStreamDelta, vStreamMessage } from "../validators";
|
|
5
|
-
import schema from "./schema";
|
|
6
4
|
import { internal } from "./_generated/api";
|
|
5
|
+
import { internalMutation, mutation, query, } from "./_generated/server";
|
|
6
|
+
import schema from "./schema";
|
|
7
7
|
const MAX_DELTAS_PER_REQUEST = 1000;
|
|
8
8
|
const MAX_DELTAS_PER_STREAM = 100;
|
|
9
9
|
const TIMEOUT_INTERVAL = 1000 * 60; // 1 minute
|
|
@@ -34,10 +34,7 @@ export const listDeltas = query({
|
|
|
34
34
|
.withIndex("streamId_start_end", (q) => q.eq("streamId", cursor.streamId).gte("start", cursor.cursor))
|
|
35
35
|
.take(Math.min(MAX_DELTAS_PER_STREAM, MAX_DELTAS_PER_REQUEST - totalDeltas));
|
|
36
36
|
totalDeltas += streamDeltas.length;
|
|
37
|
-
deltas.push(...streamDeltas.map((d) => (
|
|
38
|
-
streamId: d.streamId.toString(),
|
|
39
|
-
...pick(d, ["start", "end", "parts"]),
|
|
40
|
-
})));
|
|
37
|
+
deltas.push(...streamDeltas.map((d) => pick(d, ["streamId", "start", "end", "parts"])));
|
|
41
38
|
if (totalDeltas >= MAX_DELTAS_PER_REQUEST) {
|
|
42
39
|
break;
|
|
43
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streams.js","sourceRoot":"","sources":["../../../src/component/streams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"streams.js","sourceRoot":"","sources":["../../../src/component/streams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAoB,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EACL,gBAAgB,EAChB,QAAQ,EAER,KAAK,GACN,MAAM,qBAAqB,CAAC;AAC7B,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,sBAAsB,GAAG,IAAI,CAAC;AACpC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAClC,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAE,CAAC,CAAC,WAAW;AAE/C,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC;AAE5D,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAC/B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE;IACjB,OAAO,EAAE,KAA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AAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAC5C,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,EAAE;IAC7C,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE;IACjB,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QAC3B,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YAChD,OAAO;QACT,CAAC;QACD,MAAM,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;YAChC,KAAK,EAAE;gBACL,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,IAAI,CAAC,GAAG,EAAE;aACpB;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -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.
|