@convex-dev/agent 0.0.1-alpha.4 → 0.0.2

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 (66) hide show
  1. package/README.md +35 -7
  2. package/dist/commonjs/client/index.d.ts +800 -84
  3. package/dist/commonjs/client/index.d.ts.map +1 -1
  4. package/dist/commonjs/client/index.js +176 -130
  5. package/dist/commonjs/client/index.js.map +1 -1
  6. package/dist/commonjs/component/messages.d.ts +124 -105
  7. package/dist/commonjs/component/messages.d.ts.map +1 -1
  8. package/dist/commonjs/component/messages.js +145 -247
  9. package/dist/commonjs/component/messages.js.map +1 -1
  10. package/dist/commonjs/component/schema.d.ts +822 -746
  11. package/dist/commonjs/component/schema.d.ts.map +1 -1
  12. package/dist/commonjs/component/schema.js +13 -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 +32 -20
  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/mapping.d.ts +3 -2
  23. package/dist/commonjs/mapping.d.ts.map +1 -1
  24. package/dist/commonjs/mapping.js +45 -13
  25. package/dist/commonjs/mapping.js.map +1 -1
  26. package/dist/commonjs/validators.d.ts +2817 -145
  27. package/dist/commonjs/validators.d.ts.map +1 -1
  28. package/dist/commonjs/validators.js +79 -7
  29. package/dist/commonjs/validators.js.map +1 -1
  30. package/dist/esm/client/index.d.ts +800 -84
  31. package/dist/esm/client/index.d.ts.map +1 -1
  32. package/dist/esm/client/index.js +176 -130
  33. package/dist/esm/client/index.js.map +1 -1
  34. package/dist/esm/component/messages.d.ts +124 -105
  35. package/dist/esm/component/messages.d.ts.map +1 -1
  36. package/dist/esm/component/messages.js +145 -247
  37. package/dist/esm/component/messages.js.map +1 -1
  38. package/dist/esm/component/schema.d.ts +822 -746
  39. package/dist/esm/component/schema.d.ts.map +1 -1
  40. package/dist/esm/component/schema.js +13 -3
  41. package/dist/esm/component/schema.js.map +1 -1
  42. package/dist/esm/component/vector/index.d.ts +21 -6
  43. package/dist/esm/component/vector/index.d.ts.map +1 -1
  44. package/dist/esm/component/vector/index.js +32 -20
  45. package/dist/esm/component/vector/index.js.map +1 -1
  46. package/dist/esm/component/vector/tables.d.ts +25 -5
  47. package/dist/esm/component/vector/tables.d.ts.map +1 -1
  48. package/dist/esm/component/vector/tables.js +14 -6
  49. package/dist/esm/component/vector/tables.js.map +1 -1
  50. package/dist/esm/mapping.d.ts +3 -2
  51. package/dist/esm/mapping.d.ts.map +1 -1
  52. package/dist/esm/mapping.js +45 -13
  53. package/dist/esm/mapping.js.map +1 -1
  54. package/dist/esm/validators.d.ts +2817 -145
  55. package/dist/esm/validators.d.ts.map +1 -1
  56. package/dist/esm/validators.js +79 -7
  57. package/dist/esm/validators.js.map +1 -1
  58. package/package.json +7 -7
  59. package/src/client/index.ts +347 -170
  60. package/src/component/_generated/api.d.ts +33 -16
  61. package/src/component/messages.ts +177 -290
  62. package/src/component/schema.ts +14 -3
  63. package/src/component/vector/index.ts +59 -26
  64. package/src/component/vector/tables.ts +38 -6
  65. package/src/mapping.ts +60 -19
  66. package/src/validators.ts +112 -12
@@ -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,20 @@ 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;
233
+ error?: string | undefined;
230
234
  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
235
  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;
236
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
239
237
  status: "pending" | "success" | "failed";
240
238
  order: number;
239
+ threadId: import("convex/values").GenericId<"threads">;
240
+ tool: boolean;
241
+ stepOrder: number;
241
242
  }, {
242
243
  id: import("convex/values").VString<string | undefined, "optional">;
243
244
  userId: import("convex/values").VString<string | undefined, "optional">;
244
- threadId: import("convex/values").VId<import("convex/values").GenericId<"threads"> | undefined, "optional">;
245
+ threadId: import("convex/values").VId<import("convex/values").GenericId<"threads">, "required">;
245
246
  parentMessageId: import("convex/values").VId<import("convex/values").GenericId<"messages"> | undefined, "optional">;
246
247
  stepId: import("convex/values").VId<import("convex/values").GenericId<"steps"> | undefined, "optional">;
247
248
  agentName: import("convex/values").VString<string | undefined, "optional">;
@@ -439,7 +440,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
439
440
  }, "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
441
  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
442
  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<{
443
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
443
444
  providerOptions?: Record<string, any> | undefined;
444
445
  experimental_providerMetadata?: Record<string, any> | undefined;
445
446
  role: "assistant";
@@ -617,7 +618,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
617
618
  }, "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
619
  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
620
  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<{
621
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
621
622
  providerOptions?: Record<string, any> | undefined;
622
623
  experimental_providerMetadata?: Record<string, any> | undefined;
623
624
  role: "tool";
@@ -716,7 +717,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
716
717
  }, "required", "type" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}` | "result" | "experimental_content" | "isError" | `result.${string}`>, "required">;
717
718
  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
719
  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<{
720
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">, import("convex/values").VObject<{
720
721
  providerOptions?: Record<string, any> | undefined;
721
722
  experimental_providerMetadata?: Record<string, any> | undefined;
722
723
  role: "system";
@@ -726,26 +727,32 @@ export declare const vMessageDoc: import("convex/values").VObject<{
726
727
  content: import("convex/values").VString<string, "required">;
727
728
  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
729
  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">;
730
+ }, "required", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">], "optional", "role" | "providerOptions" | "experimental_providerMetadata" | `providerOptions.${string}` | `experimental_providerMetadata.${string}` | "content">;
731
+ error: import("convex/values").VString<string | undefined, "optional">;
730
732
  model: import("convex/values").VString<string | undefined, "optional">;
731
733
  text: import("convex/values").VString<string | undefined, "optional">;
732
734
  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
735
  tool: import("convex/values").VBoolean<boolean, "required">;
734
736
  order: import("convex/values").VFloat64<number, "required">;
735
- stepOrder: import("convex/values").VFloat64<number | undefined, "optional">;
737
+ stepOrder: import("convex/values").VFloat64<number, "required">;
736
738
  fileId: import("convex/values").VId<import("convex/values").GenericId<"files"> | undefined, "optional">;
737
739
  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">;
740
+ }, "required", "id" | "status" | "userId" | "order" | "threadId" | "parentMessageId" | "stepId" | "agentName" | "message" | "text" | "tool" | "error" | "model" | "embeddingId" | "stepOrder" | "fileId" | "message.role" | "message.providerOptions" | "message.experimental_providerMetadata" | `message.providerOptions.${string}` | `message.experimental_providerMetadata.${string}` | "message.content">;
739
741
  export declare const messageStatuses: ("pending" | "success" | "failed")[];
740
742
  export declare const addMessages: import("convex/server").RegisteredMutation<"public", {
741
- pending?: boolean | undefined;
742
- model?: string | undefined;
743
743
  userId?: string | undefined;
744
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
745
744
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
746
745
  stepId?: import("convex/values").GenericId<"steps"> | undefined;
747
746
  agentName?: string | undefined;
747
+ model?: string | undefined;
748
+ pending?: boolean | undefined;
748
749
  failPendingSteps?: boolean | undefined;
750
+ embeddings?: {
751
+ model: string;
752
+ vectors: (number[] | null)[];
753
+ dimension: 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096;
754
+ } | undefined;
755
+ threadId: import("convex/values").GenericId<"threads">;
749
756
  messages: {
750
757
  id?: string | undefined;
751
758
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -838,7 +845,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
838
845
  _id: import("convex/values").GenericId<"messages">;
839
846
  _creationTime: number;
840
847
  id?: string | undefined;
841
- text?: string | undefined;
848
+ userId?: string | undefined;
849
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
850
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
851
+ agentName?: string | undefined;
842
852
  message?: {
843
853
  providerOptions?: Record<string, any> | undefined;
844
854
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -922,24 +932,27 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
922
932
  role: "system";
923
933
  content: string;
924
934
  } | undefined;
925
- fileId?: import("convex/values").GenericId<"files"> | undefined;
935
+ text?: string | undefined;
936
+ error?: string | undefined;
926
937
  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
938
  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;
939
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
935
940
  status: "pending" | "success" | "failed";
936
941
  order: number;
942
+ threadId: import("convex/values").GenericId<"threads">;
943
+ tool: boolean;
944
+ stepOrder: number;
937
945
  }[];
938
946
  }>>;
939
- export declare const addSteps: import("convex/server").RegisteredMutation<"public", {
947
+ export declare const addStep: import("convex/server").RegisteredMutation<"public", {
940
948
  failPendingSteps?: boolean | undefined;
949
+ embeddings?: {
950
+ model: string;
951
+ vectors: (number[] | null)[];
952
+ dimension: 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096;
953
+ } | undefined;
941
954
  threadId: import("convex/values").GenericId<"threads">;
942
- steps: {
955
+ step: {
943
956
  messages: {
944
957
  id?: string | undefined;
945
958
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1032,21 +1045,19 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1032
1045
  experimental_providerMetadata?: Record<string, any> | undefined;
1033
1046
  reasoning?: string | undefined;
1034
1047
  files?: any[] | undefined;
1035
- providerMetadata?: Record<string, any> | undefined;
1036
1048
  logprobs?: any;
1049
+ providerMetadata?: Record<string, any> | undefined;
1037
1050
  reasoningDetails?: any[] | undefined;
1038
1051
  request?: {
1039
- url?: string | undefined;
1040
1052
  body?: any;
1041
1053
  headers?: Record<string, string> | undefined;
1042
1054
  method?: string | undefined;
1055
+ url?: string | undefined;
1043
1056
  } | undefined;
1044
1057
  response?: {
1045
1058
  body?: any;
1046
1059
  headers?: Record<string, string> | undefined;
1047
1060
  id: string;
1048
- timestamp: number;
1049
- modelId: string;
1050
1061
  messages: {
1051
1062
  id?: string | undefined;
1052
1063
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1134,13 +1145,15 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1134
1145
  content: string;
1135
1146
  };
1136
1147
  }[];
1148
+ timestamp: number;
1149
+ modelId: string;
1137
1150
  } | undefined;
1138
1151
  sources?: {
1139
1152
  title?: string | undefined;
1140
1153
  providerMetadata?: Record<string, any> | undefined;
1141
1154
  id: string;
1142
- sourceType: "url";
1143
1155
  url: string;
1156
+ sourceType: "url";
1144
1157
  }[] | undefined;
1145
1158
  usage?: {
1146
1159
  promptTokens: number;
@@ -1160,7 +1173,7 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1160
1173
  message: string;
1161
1174
  })[] | undefined;
1162
1175
  text: string;
1163
- finishReason: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown";
1176
+ finishReason: "length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown";
1164
1177
  isContinued: boolean;
1165
1178
  stepType: "tool-result" | "initial" | "continue";
1166
1179
  toolCalls: {
@@ -1190,31 +1203,34 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1190
1203
  result: any;
1191
1204
  }[];
1192
1205
  };
1193
- }[];
1206
+ };
1194
1207
  messageId: import("convex/values").GenericId<"messages">;
1195
1208
  }, Promise<{
1196
1209
  _id: import("convex/values").GenericId<"steps">;
1197
1210
  _creationTime: number;
1211
+ status: "pending" | "success" | "failed";
1212
+ order: number;
1213
+ threadId: import("convex/values").GenericId<"threads">;
1214
+ parentMessageId: import("convex/values").GenericId<"messages">;
1215
+ stepOrder: number;
1198
1216
  step: {
1199
1217
  providerOptions?: Record<string, any> | undefined;
1200
1218
  experimental_providerMetadata?: Record<string, any> | undefined;
1201
1219
  reasoning?: string | undefined;
1202
1220
  files?: any[] | undefined;
1203
- providerMetadata?: Record<string, any> | undefined;
1204
1221
  logprobs?: any;
1222
+ providerMetadata?: Record<string, any> | undefined;
1205
1223
  reasoningDetails?: any[] | undefined;
1206
1224
  request?: {
1207
- url?: string | undefined;
1208
1225
  body?: any;
1209
1226
  headers?: Record<string, string> | undefined;
1210
1227
  method?: string | undefined;
1228
+ url?: string | undefined;
1211
1229
  } | undefined;
1212
1230
  response?: {
1213
1231
  body?: any;
1214
1232
  headers?: Record<string, string> | undefined;
1215
1233
  id: string;
1216
- timestamp: number;
1217
- modelId: string;
1218
1234
  messages: {
1219
1235
  id?: string | undefined;
1220
1236
  fileId?: import("convex/values").GenericId<"files"> | undefined;
@@ -1302,13 +1318,15 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1302
1318
  content: string;
1303
1319
  };
1304
1320
  }[];
1321
+ timestamp: number;
1322
+ modelId: string;
1305
1323
  } | undefined;
1306
1324
  sources?: {
1307
1325
  title?: string | undefined;
1308
1326
  providerMetadata?: Record<string, any> | undefined;
1309
1327
  id: string;
1310
- sourceType: "url";
1311
1328
  url: string;
1329
+ sourceType: "url";
1312
1330
  }[] | undefined;
1313
1331
  usage?: {
1314
1332
  promptTokens: number;
@@ -1328,7 +1346,7 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1328
1346
  message: string;
1329
1347
  })[] | undefined;
1330
1348
  text: string;
1331
- finishReason: "length" | "stop" | "content-filter" | "tool-calls" | "error" | "other" | "unknown";
1349
+ finishReason: "length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown";
1332
1350
  isContinued: boolean;
1333
1351
  stepType: "tool-result" | "initial" | "continue";
1334
1352
  toolCalls: {
@@ -1358,11 +1376,6 @@ export declare const addSteps: import("convex/server").RegisteredMutation<"publi
1358
1376
  result: any;
1359
1377
  }[];
1360
1378
  };
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
1379
  }[]>>;
1367
1380
  export declare const rollbackMessage: import("convex/server").RegisteredMutation<"public", {
1368
1381
  error?: string | undefined;
@@ -1372,9 +1385,9 @@ export declare const commitMessage: import("convex/server").RegisteredMutation<"
1372
1385
  messageId: Id<"messages">;
1373
1386
  }, Promise<void>>;
1374
1387
  export declare const getThreadMessages: import("convex/server").RegisteredQuery<"public", {
1375
- limit?: number | undefined;
1376
1388
  order?: "asc" | "desc" | undefined;
1377
1389
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1390
+ limit?: number | undefined;
1378
1391
  cursor?: string | undefined;
1379
1392
  statuses?: ("pending" | "success" | "failed")[] | undefined;
1380
1393
  isTool?: boolean | undefined;
@@ -1384,7 +1397,10 @@ export declare const getThreadMessages: import("convex/server").RegisteredQuery<
1384
1397
  _id: import("convex/values").GenericId<"messages">;
1385
1398
  _creationTime: number;
1386
1399
  id?: string | undefined;
1387
- text?: string | undefined;
1400
+ userId?: string | undefined;
1401
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1402
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1403
+ agentName?: string | undefined;
1388
1404
  message?: {
1389
1405
  providerOptions?: Record<string, any> | undefined;
1390
1406
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1468,39 +1484,41 @@ export declare const getThreadMessages: import("convex/server").RegisteredQuery<
1468
1484
  role: "system";
1469
1485
  content: string;
1470
1486
  } | undefined;
1471
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1487
+ text?: string | undefined;
1488
+ error?: string | undefined;
1472
1489
  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
1490
  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;
1491
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1481
1492
  status: "pending" | "success" | "failed";
1482
1493
  order: number;
1494
+ threadId: import("convex/values").GenericId<"threads">;
1495
+ tool: boolean;
1496
+ stepOrder: number;
1483
1497
  }[];
1484
1498
  continueCursor: string;
1485
1499
  isDone: boolean;
1486
1500
  }>>;
1487
1501
  export declare const searchMessages: import("convex/server").RegisteredAction<"public", {
1502
+ userId?: string | undefined;
1503
+ threadId?: import("convex/values").GenericId<"threads"> | undefined;
1504
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1488
1505
  text?: string | undefined;
1489
1506
  vector?: number[] | undefined;
1490
1507
  vectorModel?: string | undefined;
1508
+ vectorScoreThreshold?: number | undefined;
1491
1509
  messageRange?: {
1492
1510
  before: number;
1493
1511
  after: number;
1494
1512
  } | undefined;
1495
- userId?: string | undefined;
1496
- threadId?: import("convex/values").GenericId<"threads"> | undefined;
1497
- parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1498
1513
  limit: number;
1499
1514
  }, Promise<{
1500
1515
  _id: import("convex/values").GenericId<"messages">;
1501
1516
  _creationTime: number;
1502
1517
  id?: string | undefined;
1503
- text?: string | undefined;
1518
+ userId?: string | undefined;
1519
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1520
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1521
+ agentName?: string | undefined;
1504
1522
  message?: {
1505
1523
  providerOptions?: Record<string, any> | undefined;
1506
1524
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1584,18 +1602,16 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
1584
1602
  role: "system";
1585
1603
  content: string;
1586
1604
  } | undefined;
1587
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1605
+ text?: string | undefined;
1606
+ error?: string | undefined;
1588
1607
  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
1608
  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;
1609
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1597
1610
  status: "pending" | "success" | "failed";
1598
1611
  order: number;
1612
+ threadId: import("convex/values").GenericId<"threads">;
1613
+ tool: boolean;
1614
+ stepOrder: number;
1599
1615
  }[]>>;
1600
1616
  export declare const _fetchVectorMessages: import("convex/server").RegisteredQuery<"internal", {
1601
1617
  userId?: string | undefined;
@@ -1603,7 +1619,10 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1603
1619
  parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1604
1620
  textSearchMessages?: {
1605
1621
  id?: string | undefined;
1606
- text?: string | undefined;
1622
+ userId?: string | undefined;
1623
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1624
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1625
+ agentName?: string | undefined;
1607
1626
  message?: {
1608
1627
  providerOptions?: Record<string, any> | undefined;
1609
1628
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1687,18 +1706,16 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1687
1706
  role: "system";
1688
1707
  content: string;
1689
1708
  } | undefined;
1690
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1709
+ text?: string | undefined;
1710
+ error?: string | undefined;
1691
1711
  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
1712
  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;
1713
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1700
1714
  status: "pending" | "success" | "failed";
1701
1715
  order: number;
1716
+ threadId: import("convex/values").GenericId<"threads">;
1717
+ tool: boolean;
1718
+ stepOrder: number;
1702
1719
  _creationTime: number;
1703
1720
  _id: import("convex/values").GenericId<"messages">;
1704
1721
  }[] | undefined;
@@ -1712,7 +1729,10 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1712
1729
  _id: import("convex/values").GenericId<"messages">;
1713
1730
  _creationTime: number;
1714
1731
  id?: string | undefined;
1715
- text?: string | undefined;
1732
+ userId?: string | undefined;
1733
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1734
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1735
+ agentName?: string | undefined;
1716
1736
  message?: {
1717
1737
  providerOptions?: Record<string, any> | undefined;
1718
1738
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1796,18 +1816,16 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
1796
1816
  role: "system";
1797
1817
  content: string;
1798
1818
  } | undefined;
1799
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1819
+ text?: string | undefined;
1820
+ error?: string | undefined;
1800
1821
  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
1822
  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;
1823
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1809
1824
  status: "pending" | "success" | "failed";
1810
1825
  order: number;
1826
+ threadId: import("convex/values").GenericId<"threads">;
1827
+ tool: boolean;
1828
+ stepOrder: number;
1811
1829
  }[]>>;
1812
1830
  export declare const textSearch: import("convex/server").RegisteredQuery<"public", {
1813
1831
  userId?: string | undefined;
@@ -1818,7 +1836,10 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
1818
1836
  _id: import("convex/values").GenericId<"messages">;
1819
1837
  _creationTime: number;
1820
1838
  id?: string | undefined;
1821
- text?: string | undefined;
1839
+ userId?: string | undefined;
1840
+ parentMessageId?: import("convex/values").GenericId<"messages"> | undefined;
1841
+ stepId?: import("convex/values").GenericId<"steps"> | undefined;
1842
+ agentName?: string | undefined;
1822
1843
  message?: {
1823
1844
  providerOptions?: Record<string, any> | undefined;
1824
1845
  experimental_providerMetadata?: Record<string, any> | undefined;
@@ -1902,17 +1923,15 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
1902
1923
  role: "system";
1903
1924
  content: string;
1904
1925
  } | undefined;
1905
- fileId?: import("convex/values").GenericId<"files"> | undefined;
1926
+ text?: string | undefined;
1927
+ error?: string | undefined;
1906
1928
  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
1929
  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;
1930
+ fileId?: import("convex/values").GenericId<"files"> | undefined;
1915
1931
  status: "pending" | "success" | "failed";
1916
1932
  order: number;
1933
+ threadId: import("convex/values").GenericId<"threads">;
1934
+ tool: boolean;
1935
+ stepOrder: number;
1917
1936
  }[]>>;
1918
1937
  //# 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,kBAAkB;;;;;;;;;;;;;;;;;;;;GAmC7B,CAAC;AAKH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;GAqBvB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;GAqBvB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;GASxB,CAAC;AAEH,eAA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