@wix/evalforge-types 0.51.0 → 0.53.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 +23 -2
- package/build/index.js.map +2 -2
- package/build/index.mjs +20 -2
- package/build/index.mjs.map +2 -2
- package/build/types/common/models.d.ts +1 -1
- package/build/types/evaluation/eval-result.d.ts +1 -0
- package/build/types/evaluation/eval-run.d.ts +1 -0
- package/build/types/target/agent.d.ts +3 -0
- package/build/types/target/skill.d.ts +46 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -46,6 +46,9 @@ __export(index_exports, {
|
|
|
46
46
|
BuildCheckTestSchema: () => BuildCheckTestSchema,
|
|
47
47
|
BuildPassedAssertionSchema: () => BuildPassedAssertionSchema,
|
|
48
48
|
BuildPassedConfigSchema: () => BuildPassedConfigSchema,
|
|
49
|
+
BulkImportResultItemSchema: () => BulkImportResultItemSchema,
|
|
50
|
+
BulkImportResultSchema: () => BulkImportResultSchema,
|
|
51
|
+
BulkImportSkillsInputSchema: () => BulkImportSkillsInputSchema,
|
|
49
52
|
ClaudeModel: () => ClaudeModel2,
|
|
50
53
|
ClaudeModelSchema: () => ClaudeModelSchema,
|
|
51
54
|
CommandExecutionSchema: () => CommandExecutionSchema,
|
|
@@ -1133,7 +1136,6 @@ var WebhookIdentityType;
|
|
|
1133
1136
|
|
|
1134
1137
|
// src/common/models.ts
|
|
1135
1138
|
var ClaudeModel2 = {
|
|
1136
|
-
CLAUDE_3_7_SONNET_1_0: AnthropicModel.CLAUDE_3_7_SONNET_1_0,
|
|
1137
1139
|
CLAUDE_4_SONNET_1_0: AnthropicModel.CLAUDE_4_SONNET_1_0,
|
|
1138
1140
|
CLAUDE_4_OPUS_1_0: AnthropicModel.CLAUDE_4_OPUS_1_0,
|
|
1139
1141
|
CLAUDE_4_5_SONNET_1_0: AnthropicModel.CLAUDE_4_5_SONNET_1_0,
|
|
@@ -1187,7 +1189,8 @@ var ModelConfigSchema = import_zod4.z.object({
|
|
|
1187
1189
|
nullToUndefined,
|
|
1188
1190
|
import_zod4.z.number().min(0).max(1).optional()
|
|
1189
1191
|
),
|
|
1190
|
-
maxTokens: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(1).optional())
|
|
1192
|
+
maxTokens: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(1).optional()),
|
|
1193
|
+
maxTurns: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().int().min(1).optional())
|
|
1191
1194
|
});
|
|
1192
1195
|
|
|
1193
1196
|
// src/common/rule.ts
|
|
@@ -1359,6 +1362,21 @@ var UpdateSkillInputSchema = SkillInputBaseSchema.partial().refine(
|
|
|
1359
1362
|
var SkillWithLatestVersionSchema = SkillSchema.extend({
|
|
1360
1363
|
latestVersion: SkillVersionSchema.optional()
|
|
1361
1364
|
});
|
|
1365
|
+
var BulkImportSkillsInputSchema = import_zod7.z.object({
|
|
1366
|
+
source: GitHubSourceSchema
|
|
1367
|
+
});
|
|
1368
|
+
var BulkImportResultItemSchema = import_zod7.z.object({
|
|
1369
|
+
name: import_zod7.z.string(),
|
|
1370
|
+
status: import_zod7.z.enum(["created", "skipped", "failed"]),
|
|
1371
|
+
skillId: import_zod7.z.string().optional(),
|
|
1372
|
+
reason: import_zod7.z.string().optional()
|
|
1373
|
+
});
|
|
1374
|
+
var BulkImportResultSchema = import_zod7.z.object({
|
|
1375
|
+
created: import_zod7.z.number(),
|
|
1376
|
+
skipped: import_zod7.z.number(),
|
|
1377
|
+
failed: import_zod7.z.number(),
|
|
1378
|
+
items: import_zod7.z.array(BulkImportResultItemSchema)
|
|
1379
|
+
});
|
|
1362
1380
|
|
|
1363
1381
|
// src/target/sub-agent.ts
|
|
1364
1382
|
var import_zod8 = require("zod");
|
|
@@ -2547,6 +2565,9 @@ function getSystemAssertion(id) {
|
|
|
2547
2565
|
BuildCheckTestSchema,
|
|
2548
2566
|
BuildPassedAssertionSchema,
|
|
2549
2567
|
BuildPassedConfigSchema,
|
|
2568
|
+
BulkImportResultItemSchema,
|
|
2569
|
+
BulkImportResultSchema,
|
|
2570
|
+
BulkImportSkillsInputSchema,
|
|
2550
2571
|
ClaudeModel,
|
|
2551
2572
|
ClaudeModelSchema,
|
|
2552
2573
|
CommandExecutionSchema,
|