@wix/evalforge-evaluator 0.73.0 → 0.74.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,5 +1,5 @@
1
1
  import type { GitHubSource, SkillFile, SkillWithLatestVersion } from '@wix/evalforge-types';
2
- export type FetchSkillFn = (source: GitHubSource, options?: {
2
+ export type FetchGitHubFolderFn = (source: GitHubSource, options?: {
3
3
  userAgent?: string;
4
4
  }) => Promise<SkillFile[]>;
5
5
  /**
@@ -11,10 +11,10 @@ export type FetchSkillFn = (source: GitHubSource, options?: {
11
11
  *
12
12
  * @param cwd - Working directory where .claude/skills/ will be created
13
13
  * @param skills - All skills to write
14
- * @param fetchFn - Function to fetch skill files from GitHub (defaults to fetchSkillFolderRaw)
14
+ * @param fetchFn - Function to fetch files from GitHub (defaults to fetchGitHubFolder)
15
15
  */
16
- export declare function writeSkillsToFilesystem(cwd: string, skills: SkillWithLatestVersion[], fetchFn?: FetchSkillFn): Promise<void>;
17
- export declare function writeSkillToFilesystem(cwd: string, skill: SkillWithLatestVersion, fetchFn?: FetchSkillFn): Promise<void>;
16
+ export declare function writeSkillsToFilesystem(cwd: string, skills: SkillWithLatestVersion[], fetchFn?: FetchGitHubFolderFn): Promise<void>;
17
+ export declare function writeSkillToFilesystem(cwd: string, skill: SkillWithLatestVersion, fetchFn?: FetchGitHubFolderFn): Promise<void>;
18
18
  /**
19
19
  * Write skill files from a snapshot array to the filesystem.
20
20
  */
@@ -2,7 +2,7 @@ import type { Template } from '@wix/evalforge-types';
2
2
  import type { EvaluatorConfig } from '../config.js';
3
3
  /**
4
4
  * Prepare the working directory for a scenario.
5
- * If a template is provided, download and extract it.
5
+ * If a template with source is provided, fetch files from GitHub.
6
6
  * If no template, create an empty directory so file creation/modification can be tracked.
7
7
  *
8
8
  * @param config - Evaluator configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-evaluator",
3
- "version": "0.73.0",
3
+ "version": "0.74.0",
4
4
  "description": "EvalForge Evaluator",
5
5
  "bin": "./build/index.js",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  "@anthropic-ai/claude-agent-sdk": "^0.2.12",
21
21
  "@anthropic-ai/claude-code": "^2.0.76",
22
22
  "@wix/eval-assertions": "0.8.0",
23
- "@wix/evalforge-github-client": "0.3.0",
24
- "@wix/evalforge-types": "0.28.0",
23
+ "@wix/evalforge-github-client": "0.4.0",
24
+ "@wix/evalforge-types": "0.29.0",
25
25
  "ai": "^6.0.6",
26
26
  "diff": "^7.0.0",
27
27
  "tar": "^7.5.3",
@@ -60,5 +60,5 @@
60
60
  "artifactId": "evalforge-evaluator"
61
61
  }
62
62
  },
63
- "falconPackageHash": "f1b2a70a3a8eb5709795504c608ca8747bd52dba1ad0fe10bf39d35a"
63
+ "falconPackageHash": "c7ffcee68ec3ad3c362d9c907d8099c52d8f24bfd99a88d23f2330fc"
64
64
  }