@wix/evalforge-types 0.88.0 → 0.90.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.
@@ -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";
@@ -15,6 +15,12 @@ export declare const ExtraFileSchema: z.ZodObject<{
15
15
  }, z.core.$strip>>;
16
16
  }, z.core.$strip>;
17
17
  export type ExtraFile = z.infer<typeof ExtraFileSchema>;
18
+ export declare const TemplateFileEntrySchema: z.ZodObject<{
19
+ path: z.ZodString;
20
+ content: z.ZodString;
21
+ extra: z.ZodBoolean;
22
+ }, z.core.$strip>;
23
+ export type TemplateFileEntry = z.infer<typeof TemplateFileEntrySchema>;
18
24
  export declare const TemplateSchema: z.ZodObject<{
19
25
  id: z.ZodString;
20
26
  name: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.88.0",
3
+ "version": "0.90.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": "744e57f170e30437c438d8efe6fcc30928912f7fc49f6891872b5648"
49
+ "falconPackageHash": "1547bbe961165e229bc3d805292c415eef83b705119add0cc6b45be8"
50
50
  }