agent-gauntlet 0.15.1 → 0.15.2
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/index.js +17 -4
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
- package/skills/gauntlet-setup/SKILL.md +10 -1
package/dist/index.js
CHANGED
|
@@ -287,7 +287,7 @@ import { Command } from "commander";
|
|
|
287
287
|
// package.json
|
|
288
288
|
var package_default = {
|
|
289
289
|
name: "agent-gauntlet",
|
|
290
|
-
version: "0.15.
|
|
290
|
+
version: "0.15.2",
|
|
291
291
|
description: "A CLI tool for testing AI coding agents",
|
|
292
292
|
license: "MIT",
|
|
293
293
|
author: "Paul Caplan",
|
|
@@ -324,7 +324,7 @@ var package_default = {
|
|
|
324
324
|
"build:npm": "bun build.ts",
|
|
325
325
|
prepublishOnly: "bun run build:npm",
|
|
326
326
|
test: "bun test",
|
|
327
|
-
"test:e2e": "bun run build:npm && bun test/integration/
|
|
327
|
+
"test:e2e": "bun run build:npm && bun test test/integration/",
|
|
328
328
|
lint: "biome check src",
|
|
329
329
|
typecheck: "tsc --noEmit && tsc --noEmit -p test/tsconfig.json",
|
|
330
330
|
changeset: "changeset",
|
|
@@ -7223,6 +7223,7 @@ function registerHelpCommand(program) {
|
|
|
7223
7223
|
});
|
|
7224
7224
|
}
|
|
7225
7225
|
// src/commands/init.ts
|
|
7226
|
+
import { statSync } from "node:fs";
|
|
7226
7227
|
import fs27 from "node:fs/promises";
|
|
7227
7228
|
import path26 from "node:path";
|
|
7228
7229
|
import { fileURLToPath } from "node:url";
|
|
@@ -7336,7 +7337,19 @@ async function promptHookOverwrite(hookFile, skipPrompts) {
|
|
|
7336
7337
|
|
|
7337
7338
|
// src/commands/init.ts
|
|
7338
7339
|
var __dirname2 = path26.dirname(fileURLToPath(import.meta.url));
|
|
7339
|
-
var SKILLS_SOURCE_DIR =
|
|
7340
|
+
var SKILLS_SOURCE_DIR = (() => {
|
|
7341
|
+
const bundled = path26.join(__dirname2, "..", "skills");
|
|
7342
|
+
const dev = path26.join(__dirname2, "..", "..", "skills");
|
|
7343
|
+
try {
|
|
7344
|
+
statSync(bundled);
|
|
7345
|
+
return bundled;
|
|
7346
|
+
} catch (err) {
|
|
7347
|
+
const code = err.code;
|
|
7348
|
+
if (code === "ENOENT" || code === "ENOTDIR")
|
|
7349
|
+
return dev;
|
|
7350
|
+
throw err;
|
|
7351
|
+
}
|
|
7352
|
+
})();
|
|
7340
7353
|
var SKILL_ACTIONS = [
|
|
7341
7354
|
"run",
|
|
7342
7355
|
"check",
|
|
@@ -9031,4 +9044,4 @@ if (process.argv.length < 3) {
|
|
|
9031
9044
|
}
|
|
9032
9045
|
program.parse(process.argv);
|
|
9033
9046
|
|
|
9034
|
-
//# debugId=
|
|
9047
|
+
//# debugId=D19CB86EB2F3D65664756E2164756E21
|