Add the maintainer-facing `bench:report` command, the offline counterpart to `bench:run`: it opens the sample store, drains it, aggregates against the scored suite and bonus definitions, and prints the aggregator's comparison to stdout. It renders whatever has accumulated, annotating incomplete coverage rather than blocking on a complete matrix. `parseReportArgs` is the pure argument seam (`--store`, `--help`, plus a `--self-review` / `--no-self-review` variant selector). Unlike `bench:run` the boundary is offline — it reads only the local store, no host or Agent SDK — so the whole `runReportCommand` is deterministic and unit-tested, not smoke-run. Move `DEFAULT_STORE_ROOT` to `store.ts` as the single source of truth, re-exported from `run.ts` for its existing importers.
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "gitea-axi",
|
|
"version": "0.1.0",
|
|
"description": "Agent-ergonomic CLI for Gitea issues and pull requests",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"bin": {
|
|
"gitea-axi": "dist/main.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.alexion.dev/alexion/gitea-axi.git"
|
|
},
|
|
"homepage": "https://git.alexion.dev/alexion/gitea-axi",
|
|
"bugs": {
|
|
"url": "https://git.alexion.dev/alexion/gitea-axi/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"skills"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"prepack": "npm run build",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
"test:pack": "vitest run --config vitest.packaging.config.ts",
|
|
"test:bench": "vitest run --config vitest.bench.config.ts",
|
|
"test:bench:smoke": "vitest run --config vitest.bench-smoke.config.ts",
|
|
"bench:run": "tsx bench/run.ts",
|
|
"bench:report": "tsx bench/report.ts"
|
|
},
|
|
"dependencies": {
|
|
"@toon-format/toon": "^2.3.0",
|
|
"axi-sdk-js": "^0.1.8",
|
|
"gitea-js": "^1.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.0",
|
|
"@vitest/coverage-v8": "^3.2.7",
|
|
"tsx": "^4.23.1",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@anthropic-ai/claude-agent-sdk": ">=0.3.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@anthropic-ai/claude-agent-sdk": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|