@golproductions/check 1.2.0 → 1.2.1
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/package.json +1 -1
- package/src/index.js +4 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golproductions/check",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Pre-execution firewall hook for AI agents. Validates every command before it reaches the shell. 152 failed commands without Check. 1 with it. Supports Claude Code, Gemini CLI, Antigravity, Cursor, and VS Code.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"check": "src/index.js"
|
package/src/index.js
CHANGED
|
@@ -71,20 +71,18 @@ function install() {
|
|
|
71
71
|
const updated = t.config(existing);
|
|
72
72
|
mkdirSync(t.dir, { recursive: true });
|
|
73
73
|
writeFileSync(filepath, JSON.stringify(updated, null, 2) + "\n", "utf8");
|
|
74
|
-
console.log(
|
|
74
|
+
console.log(` ${t.name} configured`);
|
|
75
75
|
installed++;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
if (installed === 0) {
|
|
79
|
-
console.log("
|
|
80
|
-
console.log("Start your IDE first, then run: npx @golproductions/check --install");
|
|
79
|
+
console.log("\nNo supported IDE found. Install Claude Code, Gemini CLI, or Cursor first.");
|
|
81
80
|
process.exit(1);
|
|
82
81
|
}
|
|
83
82
|
|
|
84
|
-
console.log(`\
|
|
83
|
+
console.log(`\nCheck installed. Restart your IDE to activate.\n`);
|
|
85
84
|
if (key === "your_key") {
|
|
86
|
-
console.log("
|
|
87
|
-
console.log("Get a free key at https://www.golproductions.com/check.html");
|
|
85
|
+
console.log("Get your free API key at https://www.golproductions.com/check.html\n");
|
|
88
86
|
}
|
|
89
87
|
process.exit(0);
|
|
90
88
|
}
|