@wix/evalforge-types 0.89.0 → 0.91.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.
@@ -5,7 +5,7 @@ import { z } from 'zod';
5
5
  */
6
6
  export declare const ALLOWED_BUILD_COMMANDS: readonly ["yarn build", "npm run build", "pnpm run build", "pnpm build"];
7
7
  export type AllowedBuildCommandString = (typeof ALLOWED_BUILD_COMMANDS)[number];
8
- /** Default when `command` is omitted (matches historical behavior). */
8
+ /** Default when `command` is omitted (aligns with evaluator npm install when no lockfile). */
9
9
  export declare const DEFAULT_BUILD_PASSED_COMMAND: AllowedBuildCommandString;
10
10
  /**
11
11
  * True if the string (after trim) is an allowlisted build command.
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * GitHub source reference for a file or directory in a GitHub repository.
4
- * Used by skills and templates (directory) and sub-agents (single file)
5
- * to point to content that can be fetched via the GitHub API.
4
+ * Used by skills and templates (directory) and sub-agents, rules, and MCPs
5
+ * (single file) to point to content that can be fetched via the GitHub API.
6
6
  */
7
7
  export declare const GitHubSourceSchema: z.ZodObject<{
8
8
  owner: z.ZodString;
@@ -26,6 +26,12 @@ export declare const MCPEntitySchema: z.ZodObject<{
26
26
  projectId: z.ZodString;
27
27
  name: z.ZodString;
28
28
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
+ source: z.ZodOptional<z.ZodObject<{
30
+ owner: z.ZodString;
31
+ repo: z.ZodString;
32
+ path: z.ZodString;
33
+ ref: z.ZodString;
34
+ }, z.core.$strip>>;
29
35
  }, z.core.$strip>;
30
36
  export type MCPEntity = z.infer<typeof MCPEntitySchema>;
31
37
  /**
@@ -36,6 +42,12 @@ export declare const CreateMcpInputSchema: z.ZodObject<{
36
42
  description: z.ZodString;
37
43
  projectId: z.ZodString;
38
44
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45
+ source: z.ZodOptional<z.ZodObject<{
46
+ owner: z.ZodString;
47
+ repo: z.ZodString;
48
+ path: z.ZodString;
49
+ ref: z.ZodString;
50
+ }, z.core.$strip>>;
39
51
  }, z.core.$strip>;
40
52
  export type CreateMcpInput = z.infer<typeof CreateMcpInputSchema>;
41
53
  /**
@@ -46,6 +58,12 @@ export declare const UpdateMcpInputSchema: z.ZodObject<{
46
58
  description: z.ZodOptional<z.ZodString>;
47
59
  projectId: z.ZodOptional<z.ZodString>;
48
60
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
61
+ source: z.ZodOptional<z.ZodOptional<z.ZodObject<{
62
+ owner: z.ZodString;
63
+ repo: z.ZodString;
64
+ path: z.ZodString;
65
+ ref: z.ZodString;
66
+ }, z.core.$strip>>>;
49
67
  }, z.core.$strip>;
50
68
  export type UpdateMcpInput = z.infer<typeof UpdateMcpInputSchema>;
51
69
  /**
@@ -22,12 +22,24 @@ export declare const RuleSchema: z.ZodObject<{
22
22
  }>;
23
23
  content: z.ZodString;
24
24
  directory: z.ZodOptional<z.ZodString>;
25
+ source: z.ZodOptional<z.ZodObject<{
26
+ owner: z.ZodString;
27
+ repo: z.ZodString;
28
+ path: z.ZodString;
29
+ ref: z.ZodString;
30
+ }, z.core.$strip>>;
25
31
  }, z.core.$strip>;
26
32
  export type Rule = z.infer<typeof RuleSchema>;
27
33
  export declare const CreateRuleInputSchema: z.ZodObject<{
28
34
  name: z.ZodString;
29
35
  description: z.ZodString;
30
36
  projectId: z.ZodString;
37
+ source: z.ZodOptional<z.ZodObject<{
38
+ owner: z.ZodString;
39
+ repo: z.ZodString;
40
+ path: z.ZodString;
41
+ ref: z.ZodString;
42
+ }, z.core.$strip>>;
31
43
  ruleType: z.ZodEnum<{
32
44
  "claude-md": "claude-md";
33
45
  "agents-md": "agents-md";
@@ -42,6 +54,12 @@ export declare const UpdateRuleInputSchema: z.ZodObject<{
42
54
  name: z.ZodOptional<z.ZodString>;
43
55
  description: z.ZodOptional<z.ZodString>;
44
56
  projectId: z.ZodOptional<z.ZodString>;
57
+ source: z.ZodOptional<z.ZodOptional<z.ZodObject<{
58
+ owner: z.ZodString;
59
+ repo: z.ZodString;
60
+ path: z.ZodString;
61
+ ref: z.ZodString;
62
+ }, z.core.$strip>>>;
45
63
  ruleType: z.ZodOptional<z.ZodEnum<{
46
64
  "claude-md": "claude-md";
47
65
  "agents-md": "agents-md";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.89.0",
3
+ "version": "0.91.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": "09bea481d0437b2890674f6139b5e361bd61003412694fb852f07429"
49
+ "falconPackageHash": "e8cab7ed9044d3793532413461922a54adfffac3797a4e5256c12d20"
50
50
  }