@devflow-tools/benchmark 0.3.2 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +29 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @devflow-tools/benchmark
2
+
3
+ Benchmark engine for DevFlow — evaluate AI agent code quality on your projects.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @devflow-tools/benchmark
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { BenchmarkEngine } from '@devflow-tools/benchmark';
15
+
16
+ const engine = new BenchmarkEngine({ projectRoot: '/path/to/project' });
17
+ const report = await engine.run();
18
+ console.log(report.score);
19
+ ```
20
+
21
+ ## API
22
+
23
+ - `BenchmarkEngine` — main class for running benchmarks
24
+ - `.run(options?)` — execute a benchmark and return a report
25
+ - `.reports` — list historical benchmark reports
26
+
27
+ ## License
28
+
29
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/benchmark",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "clean": "rm -rf dist"
18
18
  },
19
19
  "dependencies": {
20
- "@devflow-tools/sdk": "^0.3.2"
20
+ "@devflow-tools/sdk": "^0.4.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "typescript": "^5.5.0",
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "8bd4fe5d195782d3e5a5357fc9bff5998561c956"
29
+ "gitHead": "c76bcf3a2bb8ac12b871738d6661979eb45090c6"
30
30
  }