@alis-build/harness-eval 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -33,6 +33,8 @@ npx @alis-build/harness-eval run examples/basic.yaml --output report.json
33
33
 
34
34
  The npm package name is `@alis-build/harness-eval`; the CLI binary is `harness-eval`. With a single bin entry, `npx @alis-build/harness-eval <command>` invokes it directly.
35
35
 
36
+ In a git checkout of this repo, npm resolves `npx @alis-build/harness-eval` to the local package (not the registry). Run `pnpm run build` first so `dist/cli/bin.js` exists; the build links `harness-eval` into `node_modules/.bin` for local use.
37
+
36
38
  ### Development (clone & build)
37
39
 
38
40
  Contributors working from a git checkout:
@@ -40,7 +42,8 @@ Contributors working from a git checkout:
40
42
  ```bash
41
43
  pnpm install
42
44
  pnpm run build
43
- node dist/cli/bin.js --help
45
+ pnpm exec harness-eval --help
46
+ # or: node dist/cli/bin.js --help
44
47
  ```
45
48
 
46
49
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/harness-eval",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Harness-level eval framework for measuring AI coding agent tool-selection behavior",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -45,6 +45,7 @@
45
45
  "scripts": {
46
46
  "generate-schemas": "tsx src/schemas/generate.ts",
47
47
  "build": "pnpm run generate-schemas && tsdown",
48
+ "postbuild": "node scripts/link-local-bin.mjs",
48
49
  "prepack": "pnpm run build",
49
50
  "prepublishOnly": "pnpm run build",
50
51
  "watch": "tsdown --watch",
@@ -71,4 +72,4 @@
71
72
  "access": "public"
72
73
  },
73
74
  "packageManager": "pnpm@11.3.0"
74
- }
75
+ }