@samoradc/tetrad 0.1.6 → 0.1.8
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 +17 -17
- package/bin/tetrad.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tetrad
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/tetrad)
|
|
3
|
+
[](https://www.npmjs.com/package/@samoradc/tetrad)
|
|
4
4
|
[](https://github.com/SamoraDC/Tetrad/actions/workflows/ci.yml)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
### 1. Initialize in your project
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx tetrad init
|
|
16
|
+
npx @samoradc/tetrad init
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
This will:
|
|
@@ -25,36 +25,36 @@ This will:
|
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
# Add as MCP server (available in all projects)
|
|
28
|
-
claude mcp add --scope user tetrad -- npx tetrad serve
|
|
28
|
+
claude mcp add --scope user tetrad -- npx @samoradc/tetrad serve
|
|
29
29
|
|
|
30
30
|
# Or for current project only
|
|
31
|
-
claude mcp add tetrad -- npx tetrad serve
|
|
31
|
+
claude mcp add tetrad -- npx @samoradc/tetrad serve
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### 3. Verify
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
# Check version
|
|
38
|
-
npx tetrad version
|
|
38
|
+
npx @samoradc/tetrad version
|
|
39
39
|
|
|
40
40
|
# Check CLI availability
|
|
41
|
-
npx tetrad status
|
|
41
|
+
npx @samoradc/tetrad status
|
|
42
42
|
|
|
43
43
|
# Diagnose issues
|
|
44
|
-
npx tetrad doctor
|
|
44
|
+
npx @samoradc/tetrad doctor
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Commands
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
npx tetrad init # Initialize config in current directory
|
|
51
|
-
npx tetrad serve # Start MCP server (used by Claude Code)
|
|
52
|
-
npx tetrad status # Show CLI status (codex, gemini, qwen)
|
|
53
|
-
npx tetrad config # Interactive configuration
|
|
54
|
-
npx tetrad doctor # Diagnose configuration issues
|
|
55
|
-
npx tetrad version # Show version
|
|
56
|
-
npx tetrad evaluate -c CODE # Manual code evaluation (without MCP)
|
|
57
|
-
npx tetrad history # Show evaluation history from ReasoningBank
|
|
50
|
+
npx @samoradc/tetrad init # Initialize config in current directory
|
|
51
|
+
npx @samoradc/tetrad serve # Start MCP server (used by Claude Code)
|
|
52
|
+
npx @samoradc/tetrad status # Show CLI status (codex, gemini, qwen)
|
|
53
|
+
npx @samoradc/tetrad config # Interactive configuration
|
|
54
|
+
npx @samoradc/tetrad doctor # Diagnose configuration issues
|
|
55
|
+
npx @samoradc/tetrad version # Show version
|
|
56
|
+
npx @samoradc/tetrad evaluate -c CODE # Manual code evaluation (without MCP)
|
|
57
|
+
npx @samoradc/tetrad history # Show evaluation history from ReasoningBank
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
## Manual MCP Configuration
|
|
@@ -67,7 +67,7 @@ Add to your `.mcp.json`:
|
|
|
67
67
|
"tetrad": {
|
|
68
68
|
"type": "stdio",
|
|
69
69
|
"command": "npx",
|
|
70
|
-
"args": ["tetrad", "serve"]
|
|
70
|
+
"args": ["@samoradc/tetrad", "serve"]
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -92,7 +92,7 @@ Tetrad requires at least one of these AI CLI tools:
|
|
|
92
92
|
|
|
93
93
|
## Configuration
|
|
94
94
|
|
|
95
|
-
After `npx tetrad init`, edit `tetrad.toml`:
|
|
95
|
+
After `npx @samoradc/tetrad init`, edit `tetrad.toml`:
|
|
96
96
|
|
|
97
97
|
```toml
|
|
98
98
|
[general]
|
package/bin/tetrad.js
CHANGED
|
@@ -18,7 +18,7 @@ if (!fs.existsSync(binaryPath)) {
|
|
|
18
18
|
console.error('Error: Tetrad binary not found.');
|
|
19
19
|
console.error('');
|
|
20
20
|
console.error('The binary should have been installed during npm install.');
|
|
21
|
-
console.error('Try reinstalling: npm install -g tetrad');
|
|
21
|
+
console.error('Try reinstalling: npm install -g @samoradc/tetrad');
|
|
22
22
|
console.error('');
|
|
23
23
|
console.error('Or install manually:');
|
|
24
24
|
console.error(' cargo install tetrad');
|