@wix/evalforge-types 0.82.0 → 0.83.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 +29 -1
- package/build/index.js.map +2 -2
- package/build/index.mjs +28 -1
- package/build/index.mjs.map +2 -2
- package/build/types/target/capability.d.ts +79 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -154,6 +154,7 @@ __export(index_exports, {
|
|
|
154
154
|
OpenCodePermissionSchema: () => OpenCodePermissionSchema,
|
|
155
155
|
PermissionValueSchema: () => PermissionValueSchema,
|
|
156
156
|
PlaywrightNLTestSchema: () => PlaywrightNLTestSchema,
|
|
157
|
+
PluginManifestSchema: () => PluginManifestSchema,
|
|
157
158
|
PresetSchema: () => PresetSchema,
|
|
158
159
|
ProjectSchema: () => ProjectSchema,
|
|
159
160
|
PromptResultSchema: () => PromptResultSchema,
|
|
@@ -650,13 +651,39 @@ var CapabilityTypeSchema = import_zod10.z.enum([
|
|
|
650
651
|
"SKILL",
|
|
651
652
|
"SUB_AGENT",
|
|
652
653
|
"RULE",
|
|
653
|
-
"MCP"
|
|
654
|
+
"MCP",
|
|
655
|
+
"PLUGIN"
|
|
654
656
|
]);
|
|
655
657
|
var CAPABILITY_NAME_REGEX = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
656
658
|
function isValidCapabilityName(name) {
|
|
657
659
|
return typeof name === "string" && name.length > 0 && CAPABILITY_NAME_REGEX.test(name);
|
|
658
660
|
}
|
|
659
661
|
var KEBAB_CASE_MESSAGE2 = "Name must be in kebab-case (lowercase letters, numbers, hyphens only, e.g. my-capability)";
|
|
662
|
+
var StringOrStringArraySchema = import_zod10.z.union([import_zod10.z.string(), import_zod10.z.array(import_zod10.z.string())]);
|
|
663
|
+
var PluginManifestSchema = import_zod10.z.looseObject({
|
|
664
|
+
name: import_zod10.z.string().optional(),
|
|
665
|
+
version: import_zod10.z.string().optional(),
|
|
666
|
+
description: import_zod10.z.string().optional(),
|
|
667
|
+
author: import_zod10.z.union([
|
|
668
|
+
import_zod10.z.string(),
|
|
669
|
+
import_zod10.z.object({
|
|
670
|
+
name: import_zod10.z.string().optional(),
|
|
671
|
+
email: import_zod10.z.string().optional(),
|
|
672
|
+
url: import_zod10.z.string().optional()
|
|
673
|
+
}).partial()
|
|
674
|
+
]).optional(),
|
|
675
|
+
homepage: import_zod10.z.string().optional(),
|
|
676
|
+
repository: import_zod10.z.string().optional(),
|
|
677
|
+
license: import_zod10.z.string().optional(),
|
|
678
|
+
keywords: import_zod10.z.array(import_zod10.z.string()).optional(),
|
|
679
|
+
commands: StringOrStringArraySchema.optional(),
|
|
680
|
+
agents: StringOrStringArraySchema.optional(),
|
|
681
|
+
skills: StringOrStringArraySchema.optional(),
|
|
682
|
+
mcpServers: import_zod10.z.string().optional(),
|
|
683
|
+
hooks: import_zod10.z.string().optional(),
|
|
684
|
+
lspServers: import_zod10.z.string().optional(),
|
|
685
|
+
outputStyles: import_zod10.z.string().optional()
|
|
686
|
+
});
|
|
660
687
|
var CapabilityContentSchema = import_zod10.z.record(import_zod10.z.string(), import_zod10.z.unknown());
|
|
661
688
|
var CapabilityVersionOriginSchema = import_zod10.z.enum(["manual", "pr", "master"]);
|
|
662
689
|
var CapabilitySchema = TenantEntitySchema.extend({
|
|
@@ -2449,6 +2476,7 @@ var UpdateEvalScheduleInputSchema = BaseCreateScheduleSchema.partial().superRefi
|
|
|
2449
2476
|
OpenCodePermissionSchema,
|
|
2450
2477
|
PermissionValueSchema,
|
|
2451
2478
|
PlaywrightNLTestSchema,
|
|
2479
|
+
PluginManifestSchema,
|
|
2452
2480
|
PresetSchema,
|
|
2453
2481
|
ProjectSchema,
|
|
2454
2482
|
PromptResultSchema,
|