ai-spec-tool 0.1.5 → 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/bin/ai-spec-tool.js +5 -6
- package/package.json +1 -1
package/bin/ai-spec-tool.js
CHANGED
|
@@ -147,17 +147,16 @@ async function init(options) {
|
|
|
147
147
|
conflictsResolved: []
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
if (
|
|
151
|
-
|
|
152
|
-
process.exit(1);
|
|
150
|
+
if (fs.existsSync(TEMPLATE_AGENTS_DIR)) {
|
|
151
|
+
copyDirSafe(TEMPLATE_AGENTS_DIR, targetAgentsDir, report, options);
|
|
153
152
|
}
|
|
154
|
-
|
|
155
|
-
copyDirSafe(TEMPLATE_AGENTS_DIR, targetAgentsDir, report, options);
|
|
156
153
|
if (fs.existsSync(TEMPLATE_DOCS_DIR)) {
|
|
157
154
|
const targetDocsDir = path.join(cwd, "docs");
|
|
158
155
|
copyDirSafe(TEMPLATE_DOCS_DIR, targetDocsDir, report, options);
|
|
159
156
|
}
|
|
160
|
-
|
|
157
|
+
if (fs.existsSync(TEMPLATE_AGENTS)) {
|
|
158
|
+
updateAgentsMd(targetAgents, report);
|
|
159
|
+
}
|
|
161
160
|
await resolveConflictsInteractively(report, options);
|
|
162
161
|
|
|
163
162
|
console.log("ai-spec-tool init complete.");
|