@wix/evalforge-types 0.76.0 → 0.78.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.
@@ -44,6 +44,26 @@ export declare const OPENAI_RESPONSES_MODEL_IDS: ReadonlySet<string>;
44
44
  export declare const OpenAIModelSchema: z.ZodEnum<{
45
45
  [x: string]: string;
46
46
  }>;
47
+ export declare const GeminiModel: {
48
+ readonly GEMINI_2_0_FLASH: "gemini-2.0-flash";
49
+ readonly GEMINI_2_0_FLASH_LITE: "gemini-2.0-flash-lite";
50
+ readonly GEMINI_2_5_PRO: "gemini-2.5-pro";
51
+ readonly GEMINI_2_5_FLASH: "gemini-2.5-flash";
52
+ readonly GEMINI_2_5_FLASH_LITE: "gemini-2.5-flash-lite";
53
+ readonly GEMINI_3_0_PRO: "gemini-3-pro-preview";
54
+ readonly GEMINI_3_0_FLASH: "gemini-3-flash-preview";
55
+ readonly GEMINI_3_1_PRO: "gemini-3.1-pro-preview";
56
+ };
57
+ export type GeminiModel = (typeof GeminiModel)[keyof typeof GeminiModel];
58
+ export declare const AVAILABLE_GEMINI_MODEL_IDS: GeminiModel[];
59
+ /**
60
+ * Gemini models that support extended reasoning (thinking).
61
+ * These models accept a `thinkingConfig` in the generation config.
62
+ */
63
+ export declare const GEMINI_THINKING_MODEL_IDS: ReadonlySet<string>;
64
+ export declare const GeminiModelSchema: z.ZodEnum<{
65
+ [x: string]: string;
66
+ }>;
47
67
  export declare const ALL_AVAILABLE_MODEL_IDS: string[];
48
68
  export declare const AnyModelSchema: z.ZodEnum<{
49
69
  [x: string]: string;
@@ -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.76.0",
3
+ "version": "0.78.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": "ec2ea77058349fdb78b780945489af6699239463053249713f2060d6"
49
+ "falconPackageHash": "8de355f25d33f006c618941ca754a92f07dc96e166199ea843befbb9"
50
50
  }