@wix/evalforge-types 0.76.0 → 0.77.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/build/index.js +6 -0
- package/build/index.js.map +2 -2
- package/build/index.mjs +5 -0
- package/build/index.mjs.map +2 -2
- package/build/types/evaluation/conversation.d.ts +34 -0
- package/package.json +2 -2
|
@@ -106,3 +106,37 @@ export declare const ScenarioConversationSchema: z.ZodObject<{
|
|
|
106
106
|
createdAt: z.ZodString;
|
|
107
107
|
}, z.core.$strip>;
|
|
108
108
|
export type ScenarioConversation = z.infer<typeof ScenarioConversationSchema>;
|
|
109
|
+
/**
|
|
110
|
+
* Response shape for the GET conversation endpoint.
|
|
111
|
+
* isPartial is true when the conversation was reconstructed from trace events
|
|
112
|
+
* rather than saved from a completed run.
|
|
113
|
+
*/
|
|
114
|
+
export declare const ConversationResponseSchema: z.ZodObject<{
|
|
115
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
116
|
+
role: z.ZodEnum<{
|
|
117
|
+
system: "system";
|
|
118
|
+
user: "user";
|
|
119
|
+
assistant: "assistant";
|
|
120
|
+
}>;
|
|
121
|
+
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"text">;
|
|
123
|
+
text: z.ZodString;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
type: z.ZodLiteral<"thinking">;
|
|
126
|
+
thinking: z.ZodString;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"tool_use">;
|
|
129
|
+
toolName: z.ZodString;
|
|
130
|
+
toolId: z.ZodString;
|
|
131
|
+
input: z.ZodUnknown;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"tool_result">;
|
|
134
|
+
toolUseId: z.ZodString;
|
|
135
|
+
content: z.ZodString;
|
|
136
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
}, z.core.$strip>], "type">>;
|
|
138
|
+
timestamp: z.ZodString;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
isPartial: z.ZodBoolean;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export type ConversationResponse = z.infer<typeof ConversationResponseSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Unified types for EvalForge agent evaluation system",
|
|
5
5
|
"files": [
|
|
6
6
|
"build"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"artifactId": "evalforge-types"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "4e3cc484177d8c60cfd9b5eabfeb9ad1906d658be6f4b6ad6ec299bf"
|
|
50
50
|
}
|