agent-roast 0.1.2 → 0.1.3
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.
- package/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5,8 +5,11 @@ import {
|
|
|
5
5
|
|
|
6
6
|
// src/cli.ts
|
|
7
7
|
import { Command } from "commander";
|
|
8
|
+
import { createRequire } from "module";
|
|
9
|
+
var require2 = createRequire(import.meta.url);
|
|
10
|
+
var pkg = require2("../package.json");
|
|
8
11
|
var program = new Command();
|
|
9
|
-
program.name("agent-roast").description("Audit your git history for AI coding agent infractions and panic loops").version("0.1.
|
|
12
|
+
program.name("agent-roast").description("Audit your git history for AI coding agent infractions and panic loops").version(pkg.version || "0.1.2").argument("[path]", "Path to git repository (default: current directory)", ".").option("-a, --all", "Audit ALL commits regardless of AI attribution tags", false).option("-s, --since <time>", "Time window for git analysis", "90 days ago").option("-v, --verbose", "Show commit SHAs and line snippets for all infractions", false).option("--json", "Output results as raw JSON", false).action(async (repoPath, options) => {
|
|
10
13
|
try {
|
|
11
14
|
const result = await roastRepository({
|
|
12
15
|
cwd: repoPath,
|