firegoat 0.0.1 → 0.0.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/bin/firegoat.js +13 -0
- package/package.json +15 -3
- package/README.md +0 -3
package/bin/firegoat.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
3
|
+
|
|
4
|
+
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
5
|
+
const [cmd] = process.argv.slice(2);
|
|
6
|
+
|
|
7
|
+
if (cmd === "--version" || cmd === "-v") {
|
|
8
|
+
console.log(pkg.version);
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
console.log(`firegoat ${pkg.version}: not built yet. See https://github.com/team2027/firegoat-cli`);
|
|
13
|
+
process.exit(cmd ? 1 : 0);
|
package/package.json
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firegoat",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Local-first AX evals: how well coding agents use your SDK, CLI, API and docs.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"firegoat": "bin/firegoat.js"
|
|
9
|
+
},
|
|
6
10
|
"files": [
|
|
7
|
-
"
|
|
11
|
+
"bin"
|
|
8
12
|
],
|
|
9
13
|
"engines": {
|
|
10
14
|
"node": ">=18"
|
|
11
15
|
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/team2027/firegoat-cli.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/team2027/firegoat-cli#readme",
|
|
12
21
|
"publishConfig": {
|
|
13
22
|
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "node --test"
|
|
14
26
|
}
|
|
15
27
|
}
|
package/README.md
DELETED