@convex-dev/agent 0.0.1-alpha.4 → 0.0.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.
Files changed (57) hide show
  1. package/README.md +9 -7
  2. package/dist/commonjs/client/index.d.ts +12 -5
  3. package/dist/commonjs/client/index.d.ts.map +1 -1
  4. package/dist/commonjs/client/index.js +127 -44
  5. package/dist/commonjs/client/index.js.map +1 -1
  6. package/dist/commonjs/component/messages.d.ts +114 -103
  7. package/dist/commonjs/component/messages.d.ts.map +1 -1
  8. package/dist/commonjs/component/messages.js +143 -246
  9. package/dist/commonjs/component/messages.js.map +1 -1
  10. package/dist/commonjs/component/schema.d.ts +808 -738
  11. package/dist/commonjs/component/schema.d.ts.map +1 -1
  12. package/dist/commonjs/component/schema.js +12 -3
  13. package/dist/commonjs/component/schema.js.map +1 -1
  14. package/dist/commonjs/component/vector/index.d.ts +21 -6
  15. package/dist/commonjs/component/vector/index.d.ts.map +1 -1
  16. package/dist/commonjs/component/vector/index.js +33 -21
  17. package/dist/commonjs/component/vector/index.js.map +1 -1
  18. package/dist/commonjs/component/vector/tables.d.ts +25 -5
  19. package/dist/commonjs/component/vector/tables.d.ts.map +1 -1
  20. package/dist/commonjs/component/vector/tables.js +14 -6
  21. package/dist/commonjs/component/vector/tables.js.map +1 -1
  22. package/dist/commonjs/validators.d.ts +101 -89
  23. package/dist/commonjs/validators.d.ts.map +1 -1
  24. package/dist/commonjs/validators.js +8 -1
  25. package/dist/commonjs/validators.js.map +1 -1
  26. package/dist/esm/client/index.d.ts +12 -5
  27. package/dist/esm/client/index.d.ts.map +1 -1
  28. package/dist/esm/client/index.js +127 -44
  29. package/dist/esm/client/index.js.map +1 -1
  30. package/dist/esm/component/messages.d.ts +114 -103
  31. package/dist/esm/component/messages.d.ts.map +1 -1
  32. package/dist/esm/component/messages.js +143 -246
  33. package/dist/esm/component/messages.js.map +1 -1
  34. package/dist/esm/component/schema.d.ts +808 -738
  35. package/dist/esm/component/schema.d.ts.map +1 -1
  36. package/dist/esm/component/schema.js +12 -3
  37. package/dist/esm/component/schema.js.map +1 -1
  38. package/dist/esm/component/vector/index.d.ts +21 -6
  39. package/dist/esm/component/vector/index.d.ts.map +1 -1
  40. package/dist/esm/component/vector/index.js +33 -21
  41. package/dist/esm/component/vector/index.js.map +1 -1
  42. package/dist/esm/component/vector/tables.d.ts +25 -5
  43. package/dist/esm/component/vector/tables.d.ts.map +1 -1
  44. package/dist/esm/component/vector/tables.js +14 -6
  45. package/dist/esm/component/vector/tables.js.map +1 -1
  46. package/dist/esm/validators.d.ts +101 -89
  47. package/dist/esm/validators.d.ts.map +1 -1
  48. package/dist/esm/validators.js +8 -1
  49. package/dist/esm/validators.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client/index.ts +149 -50
  52. package/src/component/_generated/api.d.ts +28 -16
  53. package/src/component/messages.ts +175 -289
  54. package/src/component/schema.ts +13 -3
  55. package/src/component/vector/index.ts +65 -26
  56. package/src/component/vector/tables.ts +38 -6
  57. package/src/validators.ts +11 -4
@@ -4,10 +4,10 @@ export declare const getThread: import("convex/server").RegisteredQuery<"public"
4
4
  }, Promise<{
5
5
  _id: import("convex/values").GenericId<"threads">;
6
6
  _creationTime: number;
7
- title?: string | undefined;
8
7
  userId?: string | undefined;
9
8
  order?: number | undefined;
10
9
  defaultSystemPrompt?: string | undefined;
10
+ title?: string | undefined;
11
11
  summary?: string | undefined;
12
12
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
13
13
  status: "active" | "archived";
@@ -16,16 +16,16 @@ export declare const getThreadsByUserId: import("convex/server").RegisteredQuery
16
16
  limit?: number | undefined;
17
17
  cursor?: string | null | undefined;
18
18
  offset?: number | undefined;
19
- statuses?: ("active" | "archived")[] | undefined;
19
+ statuses?: "active" | "archived" | undefined;
20
20
  userId: string;
21
21
  }, Promise<{
22
22
  threads: {
23
23
  _id: import("convex/values").GenericId<"threads">;
24
24
  _creationTime: number;
25
- title?: string | undefined;
26
25
  userId?: string | undefined;
27
26
  order?: number | undefined;
28
27
  defaultSystemPrompt?: string | undefined;
28
+ title?: string | undefined;
29
29
  summary?: string | undefined;
30
30
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
31
31
  status: "active" | "archived";
@@ -34,18 +34,18 @@ export declare const getThreadsByUserId: import("convex/server").RegisteredQuery
34
34
  isDone: boolean;
35
35
  }>>;
36
36
  export declare const createThread: import("convex/server").RegisteredMutation<"public", {
37
- title?: string | undefined;
38
37
  userId?: string | undefined;
39
38
  defaultSystemPrompt?: string | undefined;
39
+ title?: string | undefined;
40
40
  summary?: string | undefined;
41
41
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
42
42
  }, Promise<{
43
43
  _id: import("convex/values").GenericId<"threads">;
44
44
  _creationTime: number;
45
- title?: string | undefined;
46
45
  userId?: string | undefined;
47
46
  order?: number | undefined;
48
47
  defaultSystemPrompt?: string | undefined;
48
+ title?: string | undefined;
49
49
  summary?: string | undefined;
50
50
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
51
51
  status: "active" | "archived";
@@ -53,18 +53,18 @@ export declare const createThread: import("convex/server").RegisteredMutation<"p
53
53
  export declare const updateThread: import("convex/server").RegisteredMutation<"public", {
54
54
  threadId: import("convex/values").GenericId<"threads">;
55
55
  patch: {
56
- title?: string | undefined;
57
56
  status?: "active" | "archived" | undefined;
58
57
  defaultSystemPrompt?: string | undefined;
58
+ title?: string | undefined;
59
59
  summary?: string | undefined;
60
60
  };
61
61
  }, Promise<{
62
62
  _id: import("convex/values").GenericId<"threads">;
63
63
  _creationTime: number;
64
- title?: string | undefined;
65
64
  userId?: string | undefined;
66
65
  order?: number | undefined;
67
66
  defaultSystemPrompt?: string | undefined;
67
+ title?: string | undefined;
68
68
  summary?: string | undefined;
69
69
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
70
70
  status: "active" | "archived";
@@ -74,10 +74,10 @@ export declare const archiveThread: import("convex/server").RegisteredMutation<"
74
74
  }, Promise<{
75
75
  _id: import("convex/values").GenericId<"threads">;
76
76
  _creationTime: number;
77
- title?: string | undefined;
78
77
  userId?: string | undefined;
79
78
  order?: number | undefined;
80
79
  defaultSystemPrompt?: string | undefined;
80
+ title?: string | undefined;
81
81
  summary?: string | undefined;
82
82
  parentThreadIds?: import("convex/values").GenericId<"threads">[] | undefined;
83
83
  status: "active" | "archived";
@@ -142,7 +142,10 @@ export declare const getFilesToDelete: import("convex/server").RegisteredQuery<"
142
142
  }>>;
143
143
  export declare const vMessageDoc: import("convex/values").VObject<{
144
144
  id?: string | undefined;
145
- text?: string | undefined;
145
+ userId?: string | undefined;
146
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
147
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
148
+ agentName?: string | undefined;
146
149
  message?: {
147
150
  providerOptions?: Record<string, any> | undefined;
148
151
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -226,22 +229,19 @@ export declare const vMessageDoc: import("convex/values").VObject<{
226
229
  role: "system";
227
230
  content: string;
228
231
  } | undefined;
229
- fileId?: import("convex/values").GenericId<"files"> | undefined;
232
+ text?: string | undefined;
230
233
  model?: string | undefined;
231
- userId?: string | undefined;
232
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
233
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
234
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
235
- agentName?: string | undefined;
236
234
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
237
- stepOrder?: number | undefined;
238
- tool: boolean;
235
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
239
236
  status: "pending" | "success" | "failed";
240
237
  order: number;
238
+ threadId: import("convex/values").GenericId<"threads">;
239
+ tool: boolean;
240
+ stepOrder: number;
241
241
  }, {
242
242
  id: import("convex/values").VString<string | undefined, "optional">;
243
243
  userId: import("convex/values").VString<string | undefined, "optional">;
244
- threadId: import("convex/values").VId<import("convex/values").GenericId<"threads"> | undefined, "optional">;
244
+ threadId: import("convex/values").VId<import("convex/values").GenericId<"threads">, "required">;
245
245
  parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
246
246
  stepId: import("convex/values").VId<import("convex/values").GenericId<"steps"> | undefined, "optional">;
247
247
  agentName: import("convex/values").VString<string | undefined, "optional">;
@@ -439,7 +439,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
439
439
  }, "required", "type" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "mimeType" | "data">], "required", "type" | "text" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
440
440
  providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
441
441
  experimental_providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
442
- }, "required", "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "role" | "content">, import("convex/values").VObject<{
442
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
443
443
  providerOptions?: Record<string, any> | undefined;
444
444
  experimental_providerMetadata?: Record<string, any> | undefined;
445
445
  role: "assistant";
@@ -617,7 +617,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
617
617
  }, "required", "type" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "text" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "mimeType" | "data" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
618
618
  providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
619
619
  experimental_providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
620
- }, "required", "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "role" | "content">, import("convex/values").VObject<{
620
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
621
621
  providerOptions?: Record<string, any> | undefined;
622
622
  experimental_providerMetadata?: Record<string, any> | undefined;
623
623
  role: "tool";
@@ -716,7 +716,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
716
716
  }, "required", "type" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}` | "result" | "experimental_content" | "isError" | `result.${string}`>, "required">;
717
717
  providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
718
718
  experimental_providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
719
- }, "required", "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "role" | "content">, import("convex/values").VObject<{
719
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
720
720
  providerOptions?: Record<string, any> | undefined;
721
721
  experimental_providerMetadata?: Record<string, any> | undefined;
722
722
  role: "system";
@@ -726,26 +726,31 @@ export declare const vMessageDoc: import("convex/values").VObject<{
726
726
  content: import("convex/values").VString<string, "required">;
727
727
  providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
728
728
  experimental_providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
729
- }, "required", "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "role" | "content">], "optional", "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "role" | "content">;
729
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">], "optional", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">;
730
730
  model: import("convex/values").VString<string | undefined, "optional">;
731
731
  text: import("convex/values").VString<string | undefined, "optional">;
732
732
  embeddingId: import("convex/values").VUnion<import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined, import("convex/values").VId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096", "required">[], "optional", never>;
733
733
  tool: import("convex/values").VBoolean<boolean, "required">;
734
734
  order: import("convex/values").VFloat64<number, "required">;
735
- stepOrder: import("convex/values").VFloat64<number | undefined, "optional">;
735
+ stepOrder: import("convex/values").VFloat64<number, "required">;
736
736
  fileId: import("convex/values").VId<import("convex/values").GenericId<"files"> | undefined, "optional">;
737
737
  status: import("convex/values").VUnion<"pending" | "success" | "failed", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"success", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
738
- }, "required", "id" | "tool" | "text" | "message" | "fileId" | "message.providerOptions" | "message.experimental_providerMetadata" | `message.providerOptions.${string}` | `message.experimental_providerMetadata.${string}` | "message.role" | "message.content" | "model" | "userId" | "threadId" | "status" | "order" | "parentMessageId" | "stepId" | "agentName" | "embeddingId" | "stepOrder">;
738
+ }, "required", "id" | "status" | "userId" | "order" | "threadId" | "parentMessageId" | "stepId" | "agentName" | "message" | "text" | "tool" | "model" | "embeddingId" | "stepOrder" | "fileId" | "message.role" | "message.providerOptions" | "message.experimental_providerMetadata" | `message.providerOptions.${string}` | `message.experimental_providerMetadata.${string}` | "message.content">;
739
739
  export declare const messageStatuses: ("pending" | "success" | "failed")[];
740
740
  export declare const addMessages: import("convex/server").RegisteredMutation<"public", {
741
- pending?: boolean | undefined;
742
- model?: string | undefined;
743
741
  userId?: string | undefined;
744
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
745
742
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
746
743
  stepId?: import("convex/values").GenericId<"steps"> | undefined;
747
744
  agentName?: string | undefined;
745
+ model?: string | undefined;
746
+ pending?: boolean | undefined;
748
747
  failPendingSteps?: boolean | undefined;
748
+ embeddings?: {
749
+ model: string;
750
+ vectors: (number[] | null)[];
751
+ dimension: 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096;
752
+ } | undefined;
753
+ threadId: import("convex/values").GenericId<"threads">;
749
754
  messages: {
750
755
  id?: string | undefined;
751
756
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -838,7 +843,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
838
843
  _id: import("convex/values").GenericId<"messages">;
839
844
  _creationTime: number;
840
845
  id?: string | undefined;
841
- text?: string | undefined;
846
+ userId?: string | undefined;
847
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
848
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
849
+ agentName?: string | undefined;
842
850
  message?: {
843
851
  providerOptions?: Record<string, any> | undefined;
844
852
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -922,24 +930,26 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
922
930
  role: "system";
923
931
  content: string;
924
932
  } | undefined;
925
- fileId?: import("convex/values").GenericId<"files"> | undefined;
933
+ text?: string | undefined;
926
934
  model?: string | undefined;
927
- userId?: string | undefined;
928
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
929
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
930
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
931
- agentName?: string | undefined;
932
935
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
933
- stepOrder?: number | undefined;
934
- tool: boolean;
936
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
935
937
  status: "pending" | "success" | "failed";
936
938
  order: number;
939
+ threadId: import("convex/values").GenericId<"threads">;
940
+ tool: boolean;
941
+ stepOrder: number;
937
942
  }[];
938
943
  }>>;
939
- export declare const addSteps: import("convex/server").RegisteredMutation<"public", {
944
+ export declare const addStep: import("convex/server").RegisteredMutation<"public", {
940
945
  failPendingSteps?: boolean | undefined;
946
+ embeddings?: {
947
+ model: string;
948
+ vectors: (number[] | null)[];
949
+ dimension: 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096;
950
+ } | undefined;
941
951
  threadId: import("convex/values").GenericId<"threads">;
942
- steps: {
952
+ step: {
943
953
  messages: {
944
954
  id?: string | undefined;
945
955
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1032,21 +1042,19 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1032
1042
  experimental_providerMetadata?: Record<string, any> | undefined;
1033
1043
  reasoning?: string | undefined;
1034
1044
  files?: any[] | undefined;
1035
- providerMetadata?: Record<string, any> | undefined;
1036
1045
  logprobs?: any;
1046
+ providerMetadata?: Record<string, any> | undefined;
1037
1047
  reasoningDetails?: any[] | undefined;
1038
1048
  request?: {
1039
- url?: string | undefined;
1040
1049
  body?: any;
1041
1050
  headers?: Record<string, string> | undefined;
1042
1051
  method?: string | undefined;
1052
+ url?: string | undefined;
1043
1053
  } | undefined;
1044
1054
  response?: {
1045
1055
  body?: any;
1046
1056
  headers?: Record<string, string> | undefined;
1047
1057
  id: string;
1048
- timestamp: number;
1049
- modelId: string;
1050
1058
  messages: {
1051
1059
  id?: string | undefined;
1052
1060
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1134,13 +1142,15 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1134
1142
  content: string;
1135
1143
  };
1136
1144
  }[];
1145
+ timestamp: number;
1146
+ modelId: string;
1137
1147
  } | undefined;
1138
1148
  sources?: {
1139
1149
  title?: string | undefined;
1140
1150
  providerMetadata?: Record<string, any> | undefined;
1141
1151
  id: string;
1142
- sourceType: "url";
1143
1152
  url: string;
1153
+ sourceType: "url";
1144
1154
  }[] | undefined;
1145
1155
  usage?: {
1146
1156
  promptTokens: number;
@@ -1190,31 +1200,34 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1190
1200
  result: any;
1191
1201
  }[];
1192
1202
  };
1193
- }[];
1203
+ };
1194
1204
  messageId: import("convex/values").GenericId<"messages">;
1195
1205
  }, Promise<{
1196
1206
  _id: import("convex/values").GenericId<"steps">;
1197
1207
  _creationTime: number;
1208
+ status: "pending" | "success" | "failed";
1209
+ order: number;
1210
+ threadId: import("convex/values").GenericId<"threads">;
1211
+ parentMessageId: import("convex/values").GenericId<"messages">;
1212
+ stepOrder: number;
1198
1213
  step: {
1199
1214
  providerOptions?: Record<string, any> | undefined;
1200
1215
  experimental_providerMetadata?: Record<string, any> | undefined;
1201
1216
  reasoning?: string | undefined;
1202
1217
  files?: any[] | undefined;
1203
- providerMetadata?: Record<string, any> | undefined;
1204
1218
  logprobs?: any;
1219
+ providerMetadata?: Record<string, any> | undefined;
1205
1220
  reasoningDetails?: any[] | undefined;
1206
1221
  request?: {
1207
- url?: string | undefined;
1208
1222
  body?: any;
1209
1223
  headers?: Record<string, string> | undefined;
1210
1224
  method?: string | undefined;
1225
+ url?: string | undefined;
1211
1226
  } | undefined;
1212
1227
  response?: {
1213
1228
  body?: any;
1214
1229
  headers?: Record<string, string> | undefined;
1215
1230
  id: string;
1216
- timestamp: number;
1217
- modelId: string;
1218
1231
  messages: {
1219
1232
  id?: string | undefined;
1220
1233
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1302,13 +1315,15 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1302
1315
  content: string;
1303
1316
  };
1304
1317
  }[];
1318
+ timestamp: number;
1319
+ modelId: string;
1305
1320
  } | undefined;
1306
1321
  sources?: {
1307
1322
  title?: string | undefined;
1308
1323
  providerMetadata?: Record<string, any> | undefined;
1309
1324
  id: string;
1310
- sourceType: "url";
1311
1325
  url: string;
1326
+ sourceType: "url";
1312
1327
  }[] | undefined;
1313
1328
  usage?: {
1314
1329
  promptTokens: number;
@@ -1358,11 +1373,6 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1358
1373
  result: any;
1359
1374
  }[];
1360
1375
  };
1361
- threadId: import("convex/values").GenericId<"threads">;
1362
- status: "pending" | "success" | "failed";
1363
- order: number;
1364
- parentMessageId: import("convex/values").GenericId<"messages">;
1365
- stepOrder: number;
1366
1376
  }[]>>;
1367
1377
  export declare const rollbackMessage: import("convex/server").RegisteredMutation<"public", {
1368
1378
  error?: string | undefined;
@@ -1372,9 +1382,9 @@ export declare const commitMessage: import("convex/server").RegisteredMutation<"
1372
1382
  messageId: Id<"messages">;
1373
1383
  }, Promise<void>>;
1374
1384
  export declare const getThreadMessages: import("convex/server").RegisteredQuery<"public", {
1375
- limit?: number | undefined;
1376
1385
  order?: "asc" | "desc" | undefined;
1377
1386
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1387
+ limit?: number | undefined;
1378
1388
  cursor?: string | undefined;
1379
1389
  statuses?: ("pending" | "success" | "failed")[] | undefined;
1380
1390
  isTool?: boolean | undefined;
@@ -1384,7 +1394,10 @@ export declare const getThreadMessages: import("convex/server").RegisteredQuery<
1384
1394
  _id: import("convex/values").GenericId<"messages">;
1385
1395
  _creationTime: number;
1386
1396
  id?: string | undefined;
1387
- text?: string | undefined;
1397
+ userId?: string | undefined;
1398
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1399
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1400
+ agentName?: string | undefined;
1388
1401
  message?: {
1389
1402
  providerOptions?: Record<string, any> | undefined;
1390
1403
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1468,39 +1481,40 @@ export declare const getThreadMessages: import("convex/server").RegisteredQuery<
1468
1481
  role: "system";
1469
1482
  content: string;
1470
1483
  } | undefined;
1471
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1484
+ text?: string | undefined;
1472
1485
  model?: string | undefined;
1473
- userId?: string | undefined;
1474
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1475
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1476
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
1477
- agentName?: string | undefined;
1478
1486
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
1479
- stepOrder?: number | undefined;
1480
- tool: boolean;
1487
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1481
1488
  status: "pending" | "success" | "failed";
1482
1489
  order: number;
1490
+ threadId: import("convex/values").GenericId<"threads">;
1491
+ tool: boolean;
1492
+ stepOrder: number;
1483
1493
  }[];
1484
1494
  continueCursor: string;
1485
1495
  isDone: boolean;
1486
1496
  }>>;
1487
1497
  export declare const searchMessages: import("convex/server").RegisteredAction<"public", {
1498
+ userId?: string | undefined;
1499
+ threadId?: import("convex/values").GenericId<"threads"> | undefined;
1500
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1488
1501
  text?: string | undefined;
1489
1502
  vector?: number[] | undefined;
1490
1503
  vectorModel?: string | undefined;
1504
+ vectorScoreThreshold?: number | undefined;
1491
1505
  messageRange?: {
1492
1506
  before: number;
1493
1507
  after: number;
1494
1508
  } | undefined;
1495
- userId?: string | undefined;
1496
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1497
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1498
1509
  limit: number;
1499
1510
  }, Promise<{
1500
1511
  _id: import("convex/values").GenericId<"messages">;
1501
1512
  _creationTime: number;
1502
1513
  id?: string | undefined;
1503
- text?: string | undefined;
1514
+ userId?: string | undefined;
1515
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1516
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1517
+ agentName?: string | undefined;
1504
1518
  message?: {
1505
1519
  providerOptions?: Record<string, any> | undefined;
1506
1520
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1584,18 +1598,15 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
1584
1598
  role: "system";
1585
1599
  content: string;
1586
1600
  } | undefined;
1587
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1601
+ text?: string | undefined;
1588
1602
  model?: string | undefined;
1589
- userId?: string | undefined;
1590
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1591
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1592
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
1593
- agentName?: string | undefined;
1594
1603
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
1595
- stepOrder?: number | undefined;
1596
- tool: boolean;
1604
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1597
1605
  status: "pending" | "success" | "failed";
1598
1606
  order: number;
1607
+ threadId: import("convex/values").GenericId<"threads">;
1608
+ tool: boolean;
1609
+ stepOrder: number;
1599
1610
  }[]>>;
1600
1611
  export declare const _fetchVectorMessages: import("convex/server").RegisteredQuery<"internal", {
1601
1612
  userId?: string | undefined;
@@ -1603,7 +1614,10 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1603
1614
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1604
1615
  textSearchMessages?: {
1605
1616
  id?: string | undefined;
1606
- text?: string | undefined;
1617
+ userId?: string | undefined;
1618
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1619
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1620
+ agentName?: string | undefined;
1607
1621
  message?: {
1608
1622
  providerOptions?: Record<string, any> | undefined;
1609
1623
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1687,18 +1701,15 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1687
1701
  role: "system";
1688
1702
  content: string;
1689
1703
  } | undefined;
1690
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1704
+ text?: string | undefined;
1691
1705
  model?: string | undefined;
1692
- userId?: string | undefined;
1693
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1694
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1695
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
1696
- agentName?: string | undefined;
1697
1706
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
1698
- stepOrder?: number | undefined;
1699
- tool: boolean;
1707
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1700
1708
  status: "pending" | "success" | "failed";
1701
1709
  order: number;
1710
+ threadId: import("convex/values").GenericId<"threads">;
1711
+ tool: boolean;
1712
+ stepOrder: number;
1702
1713
  _creationTime: number;
1703
1714
  _id: import("convex/values").GenericId<"messages">;
1704
1715
  }[] | undefined;
@@ -1712,7 +1723,10 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1712
1723
  _id: import("convex/values").GenericId<"messages">;
1713
1724
  _creationTime: number;
1714
1725
  id?: string | undefined;
1715
- text?: string | undefined;
1726
+ userId?: string | undefined;
1727
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1728
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1729
+ agentName?: string | undefined;
1716
1730
  message?: {
1717
1731
  providerOptions?: Record<string, any> | undefined;
1718
1732
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1796,18 +1810,15 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1796
1810
  role: "system";
1797
1811
  content: string;
1798
1812
  } | undefined;
1799
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1813
+ text?: string | undefined;
1800
1814
  model?: string | undefined;
1801
- userId?: string | undefined;
1802
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1803
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1804
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
1805
- agentName?: string | undefined;
1806
1815
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
1807
- stepOrder?: number | undefined;
1808
- tool: boolean;
1816
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1809
1817
  status: "pending" | "success" | "failed";
1810
1818
  order: number;
1819
+ threadId: import("convex/values").GenericId<"threads">;
1820
+ tool: boolean;
1821
+ stepOrder: number;
1811
1822
  }[]>>;
1812
1823
  export declare const textSearch: import("convex/server").RegisteredQuery<"public", {
1813
1824
  userId?: string | undefined;
@@ -1818,7 +1829,10 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
1818
1829
  _id: import("convex/values").GenericId<"messages">;
1819
1830
  _creationTime: number;
1820
1831
  id?: string | undefined;
1821
- text?: string | undefined;
1832
+ userId?: string | undefined;
1833
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1834
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1835
+ agentName?: string | undefined;
1822
1836
  message?: {
1823
1837
  providerOptions?: Record<string, any> | undefined;
1824
1838
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1902,17 +1916,14 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
1902
1916
  role: "system";
1903
1917
  content: string;
1904
1918
  } | undefined;
1905
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1919
+ text?: string | undefined;
1906
1920
  model?: string | undefined;
1907
- userId?: string | undefined;
1908
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1909
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1910
- stepId?: import("convex/values").GenericId<"steps"> | undefined;
1911
- agentName?: string | undefined;
1912
1921
  embeddingId?: import("convex/values").GenericId<"embeddings_128" | "embeddings_256" | "embeddings_512" | "embeddings_768" | "embeddings_1024" | "embeddings_1536" | "embeddings_2048" | "embeddings_3072" | "embeddings_4096"> | undefined;
1913
- stepOrder?: number | undefined;
1914
- tool: boolean;
1922
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1915
1923
  status: "pending" | "success" | "failed";
1916
1924
  order: number;
1925
+ threadId: import("convex/values").GenericId<"threads">;
1926
+ tool: boolean;
1927
+ stepOrder: number;
1917
1928
  }[]>>;
1918
1929
  //# sourceMappingURL=messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/component/messages.ts"],"names":[],"mappings":"AAcA,OAAO,EAAO,EAAE,EAAE,MAAM,2BAA2B,CAAC;AAkBpD,eAAO,MAAM,SAAS;;;;;;;;;;;;UAMpB,CAAC;AAEH,eAAO,MAAM,kBA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