@tanagram/cli 0.5.41 → 0.5.43
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/dist/npm/darwin-arm64/tanagram +0 -0
- package/dist/npm/darwin-x64/tanagram +0 -0
- package/dist/npm/linux-arm64/tanagram +0 -0
- package/dist/npm/linux-x64/tanagram +0 -0
- package/dist/npm/tanagram_0.5.43_darwin_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.43_darwin_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.43_linux_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.43_linux_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.43_windows_amd64.zip +0 -0
- package/dist/npm/win32-x64/tanagram.exe +0 -0
- package/package.json +1 -1
- package/skills/tanagram/SKILL.md +10 -10
- package/dist/npm/tanagram_0.5.41_darwin_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.41_darwin_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.41_linux_amd64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.41_linux_arm64.tar.gz +0 -0
- package/dist/npm/tanagram_0.5.41_windows_amd64.zip +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/skills/tanagram/SKILL.md
CHANGED
|
@@ -6,24 +6,24 @@ allowed-tools: Bash
|
|
|
6
6
|
|
|
7
7
|
# Tanagram
|
|
8
8
|
|
|
9
|
-
Tanagram
|
|
9
|
+
Tanagram evaluates rule violations in your code changes before they reach a pull request. It encodes your team's tribal knowledge — security requirements, architectural patterns, reliability constraints — and enforces them locally.
|
|
10
10
|
|
|
11
11
|
## When to Use
|
|
12
12
|
|
|
13
|
-
**Run `tanagram
|
|
13
|
+
**Run `tanagram eval` after ANY code change.** This means after every Edit, Write, or NotebookEdit tool call. Do not wait for the user to ask — run it proactively every time you modify code.
|
|
14
14
|
|
|
15
|
-
Also run when the user says "check rules", "evaluate code", "run tanagram", "
|
|
15
|
+
Also run when the user says "check rules", "evaluate code", "run tanagram", "eval violations", "check my changes", or asks if their changes follow team conventions.
|
|
16
16
|
|
|
17
17
|
## Commands
|
|
18
18
|
|
|
19
|
-
### `tanagram
|
|
19
|
+
### `tanagram eval`
|
|
20
20
|
|
|
21
21
|
Evaluate uncommitted changes against the team's rules. Runs 100% locally — no backend API call needed for evaluation.
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
tanagram
|
|
25
|
-
tanagram
|
|
26
|
-
tanagram
|
|
24
|
+
tanagram eval # check changes, human-readable output
|
|
25
|
+
tanagram eval --json # JSON output for structured parsing
|
|
26
|
+
tanagram eval --offline # use cached policies (requires prior sync)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
**What it does:**
|
|
@@ -62,14 +62,14 @@ tanagram sync
|
|
|
62
62
|
|
|
63
63
|
### `tanagram login` / `tanagram logout`
|
|
64
64
|
|
|
65
|
-
Authenticate with Tanagram. Required before
|
|
65
|
+
Authenticate with Tanagram. Required before eval (unless using `--offline` with cached policies).
|
|
66
66
|
|
|
67
67
|
## Workflow
|
|
68
68
|
|
|
69
69
|
After making code changes:
|
|
70
70
|
|
|
71
71
|
```
|
|
72
|
-
$ tanagram
|
|
72
|
+
$ tanagram eval
|
|
73
73
|
Found 2 violation(s):
|
|
74
74
|
|
|
75
75
|
[error] Input sanitization required
|
|
@@ -84,7 +84,7 @@ $ tanagram catch
|
|
|
84
84
|
Fix the violations, then run again:
|
|
85
85
|
|
|
86
86
|
```
|
|
87
|
-
$ tanagram
|
|
87
|
+
$ tanagram eval
|
|
88
88
|
No violations found. 15 rule(s) checked.
|
|
89
89
|
```
|
|
90
90
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|