@tanagram/cli 0.1.6 → 0.1.7

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 CHANGED
@@ -99,7 +99,7 @@ tanagram help
99
99
 
100
100
  ## How It Works
101
101
 
102
- 1. **Finds instruction files** - Searches for `AGENTS.md`, `POLICIES.md` in your git repository
102
+ 1. **Finds instruction files** - Searches for `AGENTS.md`, `POLICIES.md`, `CLAUDE.md` in your git repository
103
103
  2. **Checks cache** - Loads cached policies and MD5 hashes from `.tanagram/`
104
104
  3. **Auto-syncs** - Detects file changes via MD5 and automatically resyncs if needed
105
105
  4. **LLM extraction** - Uses Claude AI to extract ALL policies from instruction files
package/bin/tanagram CHANGED
Binary file
package/commands/run.go CHANGED
@@ -47,7 +47,7 @@ func Run() error {
47
47
  }
48
48
 
49
49
  if len(instructionFiles) == 0 {
50
- return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, etc.)")
50
+ return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, CLAUDE.md)")
51
51
  }
52
52
 
53
53
  // Load cache
package/commands/sync.go CHANGED
@@ -28,7 +28,7 @@ func Sync() error {
28
28
  }
29
29
 
30
30
  if len(instructionFiles) == 0 {
31
- return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, etc.)")
31
+ return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, CLAUDE.md)")
32
32
  }
33
33
 
34
34
  fmt.Printf("Found %d instruction file(s)\n", len(instructionFiles))
@@ -137,12 +137,12 @@ func Sync() error {
137
137
  }
138
138
 
139
139
  // FindInstructionFiles searches for instruction files in the git repository
140
- // Looks for: AGENTS.md, POLICIES.md, and .md files in .tanagram/policies/
140
+ // Looks for: AGENTS.md, POLICIES.md, CLAUDE.md
141
141
  func FindInstructionFiles(gitRoot string) ([]string, error) {
142
142
  var files []string
143
143
 
144
144
  // Common instruction file names to look for
145
- commonNames := []string{"AGENTS.md", "POLICIES.md"}
145
+ commonNames := []string{"AGENTS.md", "POLICIES.md", "CLAUDE.md"}
146
146
 
147
147
  // Directories to skip
148
148
  skipDirs := map[string]bool{
package/main.go CHANGED
@@ -56,7 +56,7 @@ EXAMPLES:
56
56
  tanagram list # View all cached policies
57
57
 
58
58
  INSTRUCTION FILES:
59
- Tanagram looks for instruction files like AGENTS.md or POLICIES.md
59
+ Tanagram looks for instruction files like AGENTS.md, POLICIES.md, or CLAUDE.md
60
60
  in your git repository. Policies are cached and automatically resynced
61
61
  when files change.
62
62
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {