@tanagram/cli 0.1.11 → 0.1.12
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 +1 -1
- package/bin/tanagram +0 -0
- package/commands/run.go +1 -1
- package/commands/sync.go +3 -3
- package/main.go +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ If you have existing hooks, you can merge this hook into your existing config.
|
|
|
123
123
|
|
|
124
124
|
## How It Works
|
|
125
125
|
|
|
126
|
-
1. **Finds instruction files** - Searches for `AGENTS.md`, `POLICIES.md`, `CLAUDE.md`, and `.cursor/rules/*.mdc` in your git repository
|
|
126
|
+
1. **Finds instruction files** - Searches for `AGENTS.md`, `POLICIES.md`, `CLAUDE.md`, `BUGBOT.md`, and `.cursor/rules/*.mdc` in your git repository
|
|
127
127
|
2. **Checks cache** - Loads cached policies and MD5 hashes from `.tanagram/`
|
|
128
128
|
3. **Auto-syncs** - Detects file changes via MD5 and automatically resyncs if needed
|
|
129
129
|
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, CLAUDE.md, .cursor/rules/*.mdc)")
|
|
50
|
+
return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, CLAUDE.md, BUGBOT.md, .cursor/rules/*.mdc)")
|
|
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, CLAUDE.md, .cursor/rules/*.mdc)")
|
|
31
|
+
return fmt.Errorf("no instruction files found (looking for AGENTS.md, POLICIES.md, CLAUDE.md, BUGBOT.md, .cursor/rules/*.mdc)")
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
fmt.Printf("Found %d instruction file(s)\n", len(instructionFiles))
|
|
@@ -155,12 +155,12 @@ func Sync() error {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
// FindInstructionFiles searches for instruction files in the git repository
|
|
158
|
-
// Looks for: AGENTS.md, POLICIES.md, CLAUDE.md, and .cursor/rules/*.mdc
|
|
158
|
+
// Looks for: AGENTS.md, POLICIES.md, CLAUDE.md, BUGBOT.md, and .cursor/rules/*.mdc
|
|
159
159
|
func FindInstructionFiles(gitRoot string) ([]string, error) {
|
|
160
160
|
var files []string
|
|
161
161
|
|
|
162
162
|
// Common instruction file names to look for
|
|
163
|
-
commonNames := []string{"AGENTS.md", "POLICIES.md", "CLAUDE.md"}
|
|
163
|
+
commonNames := []string{"AGENTS.md", "POLICIES.md", "CLAUDE.md", "BUGBOT.md"}
|
|
164
164
|
|
|
165
165
|
// Directories to skip
|
|
166
166
|
skipDirs := map[string]bool{
|
package/main.go
CHANGED
|
@@ -57,7 +57,7 @@ EXAMPLES:
|
|
|
57
57
|
|
|
58
58
|
INSTRUCTION FILES:
|
|
59
59
|
Tanagram looks for instruction files in your git repository:
|
|
60
|
-
- AGENTS.md, POLICIES.md, CLAUDE.md
|
|
60
|
+
- AGENTS.md, POLICIES.md, CLAUDE.md, BUGBOT.md
|
|
61
61
|
- Cursor rules: .cursor/rules/*.mdc
|
|
62
62
|
|
|
63
63
|
Policies are cached and automatically resynced when files change.
|