claude-agents-md 1.8.4 → 1.8.5
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/bin/claude-agents-md.js +1 -1
- package/make-agents.sh +1 -1
- package/package.json +1 -1
package/bin/claude-agents-md.js
CHANGED
|
@@ -292,7 +292,7 @@ async function run() {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
// Replace CLAUDE.md with AGENTS.md
|
|
295
|
-
cliContent = cliContent.replace(/CLAUDE\.md/g, '
|
|
295
|
+
cliContent = cliContent.replace(/([^,])CLAUDE\.md/g, '$1AGENTS.md');
|
|
296
296
|
debug("Replaced all instances of CLAUDE.md with AGENTS.md");
|
|
297
297
|
|
|
298
298
|
// Add warning message
|
package/make-agents.sh
CHANGED
|
@@ -17,7 +17,7 @@ cp "$CLI_FILE" "${CLI_FILE}.backup"
|
|
|
17
17
|
echo "Created backup at ${CLI_FILE}.backup"
|
|
18
18
|
|
|
19
19
|
# Replace CLAUDE.md with AGENTS.md case insensitively
|
|
20
|
-
sed -i.bak1 's/CLAUDE\.md
|
|
20
|
+
sed -i.bak1 's/([^,])CLAUDE\.md/$1AGENTS.md/g' "$CLI_FILE"
|
|
21
21
|
echo "Replaced all instances of CLAUDE.md with AGENTS.md"
|
|
22
22
|
|
|
23
23
|
# Clean up the .bak file created by sed
|