ai-global 1.3.0 → 1.4.1
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 -0
- package/ai-global +6 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -144,6 +144,9 @@ The first file found wins (dedup by filename).
|
|
|
144
144
|
| Melty | `melty` | ✓ | | | | | |
|
|
145
145
|
| Void | `void` | ✓ | | | | | |
|
|
146
146
|
| Qoder | `qoder` | ✓ | | | | | |
|
|
147
|
+
| Augment | `augment` | ✓ | | ✓ | ✓ | | |
|
|
148
|
+
| Codebuff | `agents` | ✓ | | ✓ | | | |
|
|
149
|
+
| CodeBuddy | `codebuddy` | ✓ | | ✓ | | | |
|
|
147
150
|
|
|
148
151
|
## Uninstall
|
|
149
152
|
|
package/ai-global
CHANGED
|
@@ -140,6 +140,9 @@ declare -a KNOWN_PATTERNS=(
|
|
|
140
140
|
".gpt-engineer|GPT Engineer|instructions.md|skills|agents|rules|.|prompts"
|
|
141
141
|
".smol|Smol Developer|instructions.md|skills|agents|rules|.|prompts"
|
|
142
142
|
".config/opencode|OpenCode Config|instructions.md|.|.|.|.|."
|
|
143
|
+
".augment|Augment|instructions.md|.|agents|rules|.|."
|
|
144
|
+
".agents|Codebuff|knowledge.md|.|agents|.|.|."
|
|
145
|
+
".codebuddy|CodeBuddy|settings.json|.|agents|.|.|.
|
|
143
146
|
)
|
|
144
147
|
|
|
145
148
|
# Backup a file or directory
|
|
@@ -409,13 +412,6 @@ collect_instructions() {
|
|
|
409
412
|
|
|
410
413
|
if [[ $found_count -gt 0 ]]; then
|
|
411
414
|
echo -e "$merged_content" > "$GLOBAL_MD"
|
|
412
|
-
log_ok "Merged instructions from $found_count tool(s)"
|
|
413
|
-
else
|
|
414
|
-
cat > "$GLOBAL_MD" << 'EOF'
|
|
415
|
-
# AI Assistant Instructions
|
|
416
|
-
|
|
417
|
-
<!-- Add your instructions here. They will sync to all AI tools. -->
|
|
418
|
-
EOF
|
|
419
415
|
log_ok "Created: $GLOBAL_MD"
|
|
420
416
|
fi
|
|
421
417
|
}
|
|
@@ -488,7 +484,7 @@ update_tools() {
|
|
|
488
484
|
if [[ "$instr_file" != "." ]] && [[ "$instr_file" != *.json ]] && [[ "$instr_file" != *.yml ]]; then
|
|
489
485
|
local target="$HOME/$dir_name/$instr_file"
|
|
490
486
|
create_symlink "$GLOBAL_MD" "$target"
|
|
491
|
-
|
|
487
|
+
echo " Linked: $target"
|
|
492
488
|
fi
|
|
493
489
|
|
|
494
490
|
for type_name in skills agents rules commands prompts; do
|
|
@@ -504,7 +500,7 @@ update_tools() {
|
|
|
504
500
|
if [[ "$type_dir" != "." ]]; then
|
|
505
501
|
local target="$HOME/$dir_name/$type_dir"
|
|
506
502
|
create_symlink "$source_dir" "$target"
|
|
507
|
-
|
|
503
|
+
echo " Linked: $type_dir"
|
|
508
504
|
fi
|
|
509
505
|
done
|
|
510
506
|
fi
|
|
@@ -616,7 +612,7 @@ unlink_all_tools() {
|
|
|
616
612
|
|
|
617
613
|
echo ""
|
|
618
614
|
if [[ $unlinked_count -gt 0 ]]; then
|
|
619
|
-
|
|
615
|
+
echo "Unlinked $unlinked_count item(s) and cleared backups. Shared data preserved."
|
|
620
616
|
else
|
|
621
617
|
log_info "No active symlinks found. Backups cleared."
|
|
622
618
|
fi
|