@golproductions/check 3.0.2 → 3.0.4
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/README.md +74 -9
- package/package.json +23 -7
- package/src/index.js +18 -0
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
# Check — The Anti-Hallucination
|
|
1
|
+
# Check — The Anti-Hallucination Firewall for AI Coding Agents
|
|
2
2
|
|
|
3
|
-
Your AI
|
|
3
|
+
**Your AI hallucinates commands, imports, and function calls. Check catches them before execution.**
|
|
4
|
+
|
|
5
|
+
Check sits between your AI and your project. Every command is verified before it runs. Every import is checked against your actual dependencies. Every function call is matched against your real source files. What doesn't exist gets blocked.
|
|
6
|
+
|
|
7
|
+
No AI inside. Deterministic. Same input, same output. Every time.
|
|
4
8
|
|
|
5
9
|
## Install
|
|
6
10
|
|
|
@@ -10,22 +14,83 @@ One command. Every IDE.
|
|
|
10
14
|
npx @golproductions/check --install your_key
|
|
11
15
|
```
|
|
12
16
|
|
|
13
|
-
Auto-detects Claude Code
|
|
17
|
+
Auto-detects **Claude Code**, **Cursor**, and **Antigravity**. Writes the hook config, sets your key, done. Restart your IDE to activate.
|
|
18
|
+
|
|
19
|
+
Get your free API key (120 free checks) at [golproductions.com](https://www.golproductions.com/check.html)
|
|
20
|
+
|
|
21
|
+
## What it catches
|
|
22
|
+
|
|
23
|
+
| Type | What happens |
|
|
24
|
+
|------|-------------|
|
|
25
|
+
| **Phantom commands** | AI runs `git stash apply 3` — stash doesn't exist. **Blocked.** |
|
|
26
|
+
| **Hallucinated imports** | AI writes `import cache from "express-session"` — not installed. **Blocked.** |
|
|
27
|
+
| **Invented functions** | AI calls `db.findUserByEmail()` — doesn't exist in your project. **Blocked.** |
|
|
28
|
+
| **Broken syntax** | AI writes a file with mismatched brackets. **Flagged.** |
|
|
29
|
+
| **Post-write integrity** | After the AI writes a file, imports and function calls are re-verified. **Two checkpoints.** |
|
|
30
|
+
|
|
31
|
+
## How it works
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
AI writes code
|
|
35
|
+
↓
|
|
36
|
+
Check intercepts (pre-execution hook)
|
|
37
|
+
↓
|
|
38
|
+
Verifies against your actual project
|
|
39
|
+
↓
|
|
40
|
+
Real → allowed | Not real → blocked
|
|
41
|
+
↓
|
|
42
|
+
After file write → second verification pass
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Check runs as a **PreToolUse** and **PostToolUse** hook. Your AI never knows it's there. Sub-100ms response time.
|
|
14
46
|
|
|
15
|
-
|
|
47
|
+
## Why not just use another guardrail?
|
|
16
48
|
|
|
17
|
-
|
|
49
|
+
| | Check | Security firewalls (AEGIS, Pipelock) | LLM guardrails (Guardrails AI, Lakera) | Eval platforms (Galileo, Braintrust) |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| **Checks code correctness** | Yes | No — checks safety | No — checks format | No — scores after |
|
|
52
|
+
| **Knows your project** | Yes | No | No | No |
|
|
53
|
+
| **Pre-execution** | Yes | Yes | Varies | No |
|
|
54
|
+
| **Post-write verification** | Yes | No | No | No |
|
|
55
|
+
| **No AI inside** | Yes | Varies | Uses LLMs | Uses LLMs |
|
|
56
|
+
| **Per-check pricing** | $0.0068 AUD | Free (self-hosted) | Enterprise pricing | SaaS pricing |
|
|
18
57
|
|
|
19
|
-
|
|
58
|
+
Every other tool checks the AI. **Check checks the code.**
|
|
20
59
|
|
|
21
60
|
## Pricing
|
|
22
61
|
|
|
23
|
-
|
|
62
|
+
**$0.0068 AUD per check.** 120 free checks on signup. Prepaid wallet — no subscription, no monthly fee. Credits never expire.
|
|
63
|
+
|
|
64
|
+
| Tier | Checks | Cost per check |
|
|
65
|
+
|------|--------|---------------|
|
|
66
|
+
| Free | 120 | $0.00 |
|
|
67
|
+
| $5 | ~735 | $0.0068 |
|
|
68
|
+
| $10 | ~1,470 | $0.0068 |
|
|
69
|
+
| $25 | ~3,676 | $0.0068 |
|
|
70
|
+
| $50 | ~7,352 | $0.0068 |
|
|
71
|
+
|
|
72
|
+
## MCP Server
|
|
73
|
+
|
|
74
|
+
Check also runs as an MCP (Model Context Protocol) server for direct integration:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
check-mcp
|
|
78
|
+
```
|
|
24
79
|
|
|
25
80
|
## Links
|
|
26
81
|
|
|
27
|
-
- [
|
|
82
|
+
- [Product page](https://www.golproductions.com/check.html)
|
|
28
83
|
- [Pricing](https://www.golproductions.com/pricing.html)
|
|
29
|
-
- [
|
|
84
|
+
- [Updates](https://www.golproductions.com/updates.html)
|
|
85
|
+
|
|
86
|
+
## Supported IDEs
|
|
87
|
+
|
|
88
|
+
- Claude Code
|
|
89
|
+
- Cursor
|
|
90
|
+
- Antigravity
|
|
91
|
+
|
|
92
|
+
More coming: Windsurf, Cline, Continue, Zed, Aider, JetBrains, GitHub Copilot.
|
|
93
|
+
|
|
94
|
+
## License
|
|
30
95
|
|
|
31
96
|
Copyright (c) 2026 GOL Productions. All rights reserved.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golproductions/check",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "The anti-hallucination layer for AI agents. Supports Claude Code, Antigravity, and Cursor.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"check": "src/index.js",
|
|
@@ -16,15 +16,31 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"keywords": [
|
|
19
|
-
"claude-code",
|
|
20
|
-
"antigravity",
|
|
21
|
-
"cursor",
|
|
22
|
-
"command-validation",
|
|
23
19
|
"anti-hallucination",
|
|
24
|
-
"
|
|
20
|
+
"ai-hallucination",
|
|
21
|
+
"hallucination-detection",
|
|
22
|
+
"ai-firewall",
|
|
25
23
|
"ai-agents",
|
|
24
|
+
"ai-code-validation",
|
|
25
|
+
"command-validation",
|
|
26
|
+
"import-validation",
|
|
27
|
+
"function-verification",
|
|
28
|
+
"code-integrity",
|
|
29
|
+
"pre-execution",
|
|
30
|
+
"deterministic-verification",
|
|
31
|
+
"claude-code",
|
|
32
|
+
"cursor",
|
|
33
|
+
"antigravity",
|
|
34
|
+
"windsurf",
|
|
35
|
+
"ai-guardrails",
|
|
36
|
+
"llm-validation",
|
|
26
37
|
"mcp",
|
|
27
|
-
"model-context-protocol"
|
|
38
|
+
"model-context-protocol",
|
|
39
|
+
"ai-coding-agent",
|
|
40
|
+
"code-verification",
|
|
41
|
+
"ai-safety",
|
|
42
|
+
"developer-tools",
|
|
43
|
+
"devtools"
|
|
28
44
|
],
|
|
29
45
|
"dependencies": {
|
|
30
46
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
package/src/index.js
CHANGED
|
@@ -84,6 +84,24 @@ async function install() {
|
|
|
84
84
|
}];
|
|
85
85
|
return existing;
|
|
86
86
|
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "Homebase",
|
|
90
|
+
dir: join(home, ".homebase"),
|
|
91
|
+
file: "hooks.json",
|
|
92
|
+
config: (existing) => {
|
|
93
|
+
existing.hooks = existing.hooks || {};
|
|
94
|
+
existing.hooks.PreToolUse = [{
|
|
95
|
+
matcher: "Bash|PowerShell",
|
|
96
|
+
hooks: [{ type: "command", command: "node", args: [scriptPath] }]
|
|
97
|
+
}];
|
|
98
|
+
existing.hooks.PostToolUse = [
|
|
99
|
+
{ matcher: "Bash|PowerShell", hooks: [{ type: "command", command: binaryPath }] }
|
|
100
|
+
];
|
|
101
|
+
existing.env = existing.env || {};
|
|
102
|
+
existing.env.GOL_CLIENT_ID = key;
|
|
103
|
+
return existing;
|
|
104
|
+
}
|
|
87
105
|
}
|
|
88
106
|
];
|
|
89
107
|
|