@convex-dev/agent 0.6.0-beta.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/definePlaygroundAPI.d.ts +31 -31
- package/dist/client/index.d.ts +23 -23
- package/dist/client/messages.d.ts +9 -9
- package/dist/client/search.d.ts +9 -9
- package/dist/client/streaming.d.ts +66 -66
- package/dist/component/_generated/dataModel.d.ts +1 -1
- package/dist/component/_generated/server.d.ts.map +1 -1
- package/dist/component/messages.d.ts +107 -107
- package/dist/component/schema.d.ts +59 -56
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/component/streams.d.ts +4 -4
- package/dist/component/threads.d.ts +17 -17
- package/dist/component/users.d.ts +3 -3
- package/dist/component/vector/tables.d.ts +2 -2
- package/dist/component/vector/tables.d.ts.map +1 -1
- package/dist/validators.d.ts +15 -15
- package/package.json +39 -39
- package/src/component/_generated/dataModel.ts +1 -1
- package/src/component/_generated/server.ts +0 -5
- package/src/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
package/dist/client/search.d.ts
CHANGED
|
@@ -81,8 +81,8 @@ export declare function fetchRecentAndSearchMessages(ctx: QueryCtx | MutationCtx
|
|
|
81
81
|
* @returns The filtered messages.
|
|
82
82
|
*/
|
|
83
83
|
export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
84
|
-
userId?: string | undefined;
|
|
85
84
|
id?: string | undefined;
|
|
85
|
+
userId?: string | undefined;
|
|
86
86
|
embeddingId?: string | undefined;
|
|
87
87
|
fileIds?: string[] | undefined;
|
|
88
88
|
error?: string | undefined;
|
|
@@ -239,9 +239,9 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
239
239
|
toolCallId: string;
|
|
240
240
|
toolName: string;
|
|
241
241
|
} | {
|
|
242
|
+
title?: string | undefined;
|
|
242
243
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
243
244
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
244
|
-
title?: string | undefined;
|
|
245
245
|
id: string;
|
|
246
246
|
type: "source";
|
|
247
247
|
url: string;
|
|
@@ -251,10 +251,10 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
251
251
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
252
252
|
filename?: string | undefined;
|
|
253
253
|
id: string;
|
|
254
|
+
title: string;
|
|
254
255
|
type: "source";
|
|
255
256
|
mediaType: string;
|
|
256
257
|
sourceType: "document";
|
|
257
|
-
title: string;
|
|
258
258
|
} | {
|
|
259
259
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
260
260
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -370,10 +370,10 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
370
370
|
totalTokens: number;
|
|
371
371
|
} | undefined;
|
|
372
372
|
sources?: ({
|
|
373
|
+
title?: string | undefined;
|
|
373
374
|
type?: "source" | undefined;
|
|
374
375
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
375
376
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
376
|
-
title?: string | undefined;
|
|
377
377
|
id: string;
|
|
378
378
|
url: string;
|
|
379
379
|
sourceType: "url";
|
|
@@ -382,10 +382,10 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
382
382
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
383
383
|
filename?: string | undefined;
|
|
384
384
|
id: string;
|
|
385
|
+
title: string;
|
|
385
386
|
type: "source";
|
|
386
387
|
mediaType: string;
|
|
387
388
|
sourceType: "document";
|
|
388
|
-
title: string;
|
|
389
389
|
})[] | undefined;
|
|
390
390
|
warnings?: ({
|
|
391
391
|
details?: string | undefined;
|
|
@@ -399,7 +399,7 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
399
399
|
type: "other";
|
|
400
400
|
message: string;
|
|
401
401
|
})[] | undefined;
|
|
402
|
-
finishReason?: "
|
|
402
|
+
finishReason?: "error" | "length" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
403
403
|
reasoningDetails?: ({
|
|
404
404
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
405
405
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -414,13 +414,13 @@ export declare function filterOutOrphanedToolMessages(docs: MessageDoc[]): {
|
|
|
414
414
|
type: "redacted";
|
|
415
415
|
data: string;
|
|
416
416
|
})[] | undefined;
|
|
417
|
-
|
|
417
|
+
status: "pending" | "success" | "failed";
|
|
418
|
+
order: number;
|
|
418
419
|
_creationTime: number;
|
|
419
420
|
threadId: string;
|
|
420
|
-
order: number;
|
|
421
421
|
stepOrder: number;
|
|
422
|
-
status: "pending" | "success" | "failed";
|
|
423
422
|
tool: boolean;
|
|
423
|
+
_id: string;
|
|
424
424
|
}[];
|
|
425
425
|
/**
|
|
426
426
|
* Embed a list of messages, including calling any usage handler.
|