@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.mjs
CHANGED
|
@@ -402,13 +402,39 @@ var CapabilityTypeSchema = z10.enum([
|
|
|
402
402
|
"SKILL",
|
|
403
403
|
"SUB_AGENT",
|
|
404
404
|
"RULE",
|
|
405
|
-
"MCP"
|
|
405
|
+
"MCP",
|
|
406
|
+
"PLUGIN"
|
|
406
407
|
]);
|
|
407
408
|
var CAPABILITY_NAME_REGEX = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
408
409
|
function isValidCapabilityName(name) {
|
|
409
410
|
return typeof name === "string" && name.length > 0 && CAPABILITY_NAME_REGEX.test(name);
|
|
410
411
|
}
|
|
411
412
|
var KEBAB_CASE_MESSAGE2 = "Name must be in kebab-case (lowercase letters, numbers, hyphens only, e.g. my-capability)";
|
|
413
|
+
var StringOrStringArraySchema = z10.union([z10.string(), z10.array(z10.string())]);
|
|
414
|
+
var PluginManifestSchema = z10.looseObject({
|
|
415
|
+
name: z10.string().optional(),
|
|
416
|
+
version: z10.string().optional(),
|
|
417
|
+
description: z10.string().optional(),
|
|
418
|
+
author: z10.union([
|
|
419
|
+
z10.string(),
|
|
420
|
+
z10.object({
|
|
421
|
+
name: z10.string().optional(),
|
|
422
|
+
email: z10.string().optional(),
|
|
423
|
+
url: z10.string().optional()
|
|
424
|
+
}).partial()
|
|
425
|
+
]).optional(),
|
|
426
|
+
homepage: z10.string().optional(),
|
|
427
|
+
repository: z10.string().optional(),
|
|
428
|
+
license: z10.string().optional(),
|
|
429
|
+
keywords: z10.array(z10.string()).optional(),
|
|
430
|
+
commands: StringOrStringArraySchema.optional(),
|
|
431
|
+
agents: StringOrStringArraySchema.optional(),
|
|
432
|
+
skills: StringOrStringArraySchema.optional(),
|
|
433
|
+
mcpServers: z10.string().optional(),
|
|
434
|
+
hooks: z10.string().optional(),
|
|
435
|
+
lspServers: z10.string().optional(),
|
|
436
|
+
outputStyles: z10.string().optional()
|
|
437
|
+
});
|
|
412
438
|
var CapabilityContentSchema = z10.record(z10.string(), z10.unknown());
|
|
413
439
|
var CapabilityVersionOriginSchema = z10.enum(["manual", "pr", "master"]);
|
|
414
440
|
var CapabilitySchema = TenantEntitySchema.extend({
|
|
@@ -2200,6 +2226,7 @@ export {
|
|
|
2200
2226
|
OpenCodePermissionSchema,
|
|
2201
2227
|
PermissionValueSchema,
|
|
2202
2228
|
PlaywrightNLTestSchema,
|
|
2229
|
+
PluginManifestSchema,
|
|
2203
2230
|
PresetSchema,
|
|
2204
2231
|
ProjectSchema,
|
|
2205
2232
|
PromptResultSchema,
|