@antodevs/groundtruth 0.1.1 → 0.1.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 +3 -5
- package/index.js +0 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npx @antodevs/groundtruth --antigravity
|
|
|
25
25
|
Intercepts outbound API calls and injects fresh documentation directly into the message payload.
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npx @antodevs/groundtruth --
|
|
28
|
+
npx @antodevs/groundtruth --claude-code
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Installation
|
|
@@ -97,12 +97,10 @@ flowchart TD
|
|
|
97
97
|
|
|
98
98
|
---
|
|
99
99
|
|
|
100
|
-
## Installation & Usage
|
|
101
|
-
|
|
102
100
|
### Usage with Claude Code
|
|
103
101
|
```bash
|
|
104
102
|
# Initialize GroundTruth in proxy mode (auto-exports ANTHROPIC_BASE_URL)
|
|
105
|
-
npx groundtruth --claude-code
|
|
103
|
+
npx @antodevs/groundtruth --claude-code
|
|
106
104
|
|
|
107
105
|
# Execute your agent in a separate TTY
|
|
108
106
|
claude
|
|
@@ -114,7 +112,7 @@ claude
|
|
|
114
112
|
cd /workspace/your-project
|
|
115
113
|
|
|
116
114
|
# Initialize the daemon in file watcher mode
|
|
117
|
-
npx groundtruth --antigravity
|
|
115
|
+
npx @antodevs/groundtruth --antigravity
|
|
118
116
|
```
|
|
119
117
|
> **Note:** GroundTruth will continuously poll and sync documentation based on your `package.json` manifest.
|
|
120
118
|
|
package/index.js
CHANGED
|
@@ -22,7 +22,6 @@ if (antigravityMode) {
|
|
|
22
22
|
console.log(`\n ${chalk.white.bold('GroundTruth')} ${chalk.gray(`v${version}`)} ${chalk.gray('[claude-code mode]')}\n`);
|
|
23
23
|
console.log(label('◆', 'proxy', `localhost:${p}`));
|
|
24
24
|
console.log(label('◆', 'anthropic', '/v1/messages'));
|
|
25
|
-
console.log(label('◆', 'gemini', '/v1beta/…'));
|
|
26
25
|
console.log(label('◆', 'context', 'DuckDuckGo → live'));
|
|
27
26
|
console.log(`\n ${chalk.cyan('✻')} Listening. Set ANTHROPIC_BASE_URL=http://localhost:${p}\n`);
|
|
28
27
|
await autoSetEnv(p);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antodevs/groundtruth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Lightweight Node.js proxy to intercept API requests from coding agents and inject fresh web context",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"start": "node index.js",
|
|
39
|
-
"dev": "node --watch index.js"
|
|
39
|
+
"dev": "node --watch index.js",
|
|
40
|
+
"release": "git add . && git commit -m \"chore: auto-commit before release\" || true && npm version patch && git push origin main --tags && npm publish",
|
|
41
|
+
"release:minor": "git add . && git commit -m \"chore: auto-commit before release\" || true && npm version minor && git push origin main --tags && npm publish"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
44
|
"@mozilla/readability": "^0.5.0",
|