@voltagent/server-core 2.1.5 → 2.1.6
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/index.d.mts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2818,6 +2818,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2818
2818
|
label?: string | undefined;
|
|
2819
2819
|
}>, "many">>;
|
|
2820
2820
|
}, z.ZodTypeAny, "passthrough">>>>>;
|
|
2821
|
+
provided: z.ZodOptional<z.ZodBoolean>;
|
|
2822
|
+
providedAt: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
feedbackId: z.ZodOptional<z.ZodString>;
|
|
2821
2824
|
}, "strip", z.ZodTypeAny, {
|
|
2822
2825
|
key: string;
|
|
2823
2826
|
traceId: string;
|
|
@@ -2842,6 +2845,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2842
2845
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2843
2846
|
expiresAt?: string | undefined;
|
|
2844
2847
|
tokenId?: string | undefined;
|
|
2848
|
+
provided?: boolean | undefined;
|
|
2849
|
+
providedAt?: string | undefined;
|
|
2850
|
+
feedbackId?: string | undefined;
|
|
2845
2851
|
}, {
|
|
2846
2852
|
key: string;
|
|
2847
2853
|
traceId: string;
|
|
@@ -2866,6 +2872,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2866
2872
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2867
2873
|
expiresAt?: string | undefined;
|
|
2868
2874
|
tokenId?: string | undefined;
|
|
2875
|
+
provided?: boolean | undefined;
|
|
2876
|
+
providedAt?: string | undefined;
|
|
2877
|
+
feedbackId?: string | undefined;
|
|
2869
2878
|
}>>>;
|
|
2870
2879
|
}, "strip", z.ZodTypeAny, {
|
|
2871
2880
|
text: string;
|
|
@@ -2894,6 +2903,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2894
2903
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2895
2904
|
expiresAt?: string | undefined;
|
|
2896
2905
|
tokenId?: string | undefined;
|
|
2906
|
+
provided?: boolean | undefined;
|
|
2907
|
+
providedAt?: string | undefined;
|
|
2908
|
+
feedbackId?: string | undefined;
|
|
2897
2909
|
} | null | undefined;
|
|
2898
2910
|
usage?: {
|
|
2899
2911
|
promptTokens: number;
|
|
@@ -2932,6 +2944,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2932
2944
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2933
2945
|
expiresAt?: string | undefined;
|
|
2934
2946
|
tokenId?: string | undefined;
|
|
2947
|
+
provided?: boolean | undefined;
|
|
2948
|
+
providedAt?: string | undefined;
|
|
2949
|
+
feedbackId?: string | undefined;
|
|
2935
2950
|
} | null | undefined;
|
|
2936
2951
|
usage?: {
|
|
2937
2952
|
promptTokens: number;
|
|
@@ -2973,6 +2988,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2973
2988
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2974
2989
|
expiresAt?: string | undefined;
|
|
2975
2990
|
tokenId?: string | undefined;
|
|
2991
|
+
provided?: boolean | undefined;
|
|
2992
|
+
providedAt?: string | undefined;
|
|
2993
|
+
feedbackId?: string | undefined;
|
|
2976
2994
|
} | null | undefined;
|
|
2977
2995
|
usage?: {
|
|
2978
2996
|
promptTokens: number;
|
|
@@ -3014,6 +3032,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
3014
3032
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
3015
3033
|
expiresAt?: string | undefined;
|
|
3016
3034
|
tokenId?: string | undefined;
|
|
3035
|
+
provided?: boolean | undefined;
|
|
3036
|
+
providedAt?: string | undefined;
|
|
3037
|
+
feedbackId?: string | undefined;
|
|
3017
3038
|
} | null | undefined;
|
|
3018
3039
|
usage?: {
|
|
3019
3040
|
promptTokens: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -2818,6 +2818,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2818
2818
|
label?: string | undefined;
|
|
2819
2819
|
}>, "many">>;
|
|
2820
2820
|
}, z.ZodTypeAny, "passthrough">>>>>;
|
|
2821
|
+
provided: z.ZodOptional<z.ZodBoolean>;
|
|
2822
|
+
providedAt: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
feedbackId: z.ZodOptional<z.ZodString>;
|
|
2821
2824
|
}, "strip", z.ZodTypeAny, {
|
|
2822
2825
|
key: string;
|
|
2823
2826
|
traceId: string;
|
|
@@ -2842,6 +2845,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2842
2845
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2843
2846
|
expiresAt?: string | undefined;
|
|
2844
2847
|
tokenId?: string | undefined;
|
|
2848
|
+
provided?: boolean | undefined;
|
|
2849
|
+
providedAt?: string | undefined;
|
|
2850
|
+
feedbackId?: string | undefined;
|
|
2845
2851
|
}, {
|
|
2846
2852
|
key: string;
|
|
2847
2853
|
traceId: string;
|
|
@@ -2866,6 +2872,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2866
2872
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2867
2873
|
expiresAt?: string | undefined;
|
|
2868
2874
|
tokenId?: string | undefined;
|
|
2875
|
+
provided?: boolean | undefined;
|
|
2876
|
+
providedAt?: string | undefined;
|
|
2877
|
+
feedbackId?: string | undefined;
|
|
2869
2878
|
}>>>;
|
|
2870
2879
|
}, "strip", z.ZodTypeAny, {
|
|
2871
2880
|
text: string;
|
|
@@ -2894,6 +2903,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2894
2903
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2895
2904
|
expiresAt?: string | undefined;
|
|
2896
2905
|
tokenId?: string | undefined;
|
|
2906
|
+
provided?: boolean | undefined;
|
|
2907
|
+
providedAt?: string | undefined;
|
|
2908
|
+
feedbackId?: string | undefined;
|
|
2897
2909
|
} | null | undefined;
|
|
2898
2910
|
usage?: {
|
|
2899
2911
|
promptTokens: number;
|
|
@@ -2932,6 +2944,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2932
2944
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2933
2945
|
expiresAt?: string | undefined;
|
|
2934
2946
|
tokenId?: string | undefined;
|
|
2947
|
+
provided?: boolean | undefined;
|
|
2948
|
+
providedAt?: string | undefined;
|
|
2949
|
+
feedbackId?: string | undefined;
|
|
2935
2950
|
} | null | undefined;
|
|
2936
2951
|
usage?: {
|
|
2937
2952
|
promptTokens: number;
|
|
@@ -2973,6 +2988,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
2973
2988
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
2974
2989
|
expiresAt?: string | undefined;
|
|
2975
2990
|
tokenId?: string | undefined;
|
|
2991
|
+
provided?: boolean | undefined;
|
|
2992
|
+
providedAt?: string | undefined;
|
|
2993
|
+
feedbackId?: string | undefined;
|
|
2976
2994
|
} | null | undefined;
|
|
2977
2995
|
usage?: {
|
|
2978
2996
|
promptTokens: number;
|
|
@@ -3014,6 +3032,9 @@ declare const TextResponseSchema: z.ZodObject<{
|
|
|
3014
3032
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
3015
3033
|
expiresAt?: string | undefined;
|
|
3016
3034
|
tokenId?: string | undefined;
|
|
3035
|
+
provided?: boolean | undefined;
|
|
3036
|
+
providedAt?: string | undefined;
|
|
3037
|
+
feedbackId?: string | undefined;
|
|
3017
3038
|
} | null | undefined;
|
|
3018
3039
|
usage?: {
|
|
3019
3040
|
promptTokens: number;
|
package/dist/index.js
CHANGED
|
@@ -438,7 +438,10 @@ var TextResponseSchema = import_zod.z.object({
|
|
|
438
438
|
url: import_zod.z.string(),
|
|
439
439
|
tokenId: import_zod.z.string().optional(),
|
|
440
440
|
expiresAt: import_zod.z.string().optional(),
|
|
441
|
-
feedbackConfig: FeedbackConfigSchema.nullish().optional()
|
|
441
|
+
feedbackConfig: FeedbackConfigSchema.nullish().optional(),
|
|
442
|
+
provided: import_zod.z.boolean().optional(),
|
|
443
|
+
providedAt: import_zod.z.string().optional(),
|
|
444
|
+
feedbackId: import_zod.z.string().optional()
|
|
442
445
|
}).nullable().optional().describe("Feedback metadata for the trace")
|
|
443
446
|
}).describe("AI SDK formatted response")
|
|
444
447
|
])
|