@lousy-agents/cli 3.1.1 → 3.1.2
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -36062,7 +36062,7 @@ const initCommand = defineCommand({
|
|
|
36062
36062
|
if (!name.endsWith(".md")) {
|
|
36063
36063
|
continue;
|
|
36064
36064
|
}
|
|
36065
|
-
const agentName = (0,external_node_path_.basename)(name, ".md");
|
|
36065
|
+
const agentName = name.endsWith(".agent.md") ? (0,external_node_path_.basename)(name, ".agent.md") : (0,external_node_path_.basename)(name, ".md");
|
|
36066
36066
|
agents.push({
|
|
36067
36067
|
filePath: entryPath,
|
|
36068
36068
|
agentName
|