ai-sprint-kit 2.1.11 → 2.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/bin/ai-sprint.js +2 -2
- package/package.json +1 -1
package/bin/ai-sprint.js
CHANGED
|
@@ -190,7 +190,7 @@ program
|
|
|
190
190
|
const mcpScript = path.join(targetDir, '.claude', 'scripts', 'setup-mcp.cjs');
|
|
191
191
|
try {
|
|
192
192
|
const { runMcpSetup } = require(mcpScript);
|
|
193
|
-
await runMcpSetup();
|
|
193
|
+
await runMcpSetup(targetDir);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
console.log(chalk.yellow(`\n⚠️ MCP setup skipped. Run later: ai-sprint setup-mcp\n`));
|
|
196
196
|
}
|
|
@@ -521,7 +521,7 @@ program
|
|
|
521
521
|
const scriptPath = path.join(options.dir, '.claude', 'scripts', 'setup-mcp.cjs');
|
|
522
522
|
try {
|
|
523
523
|
const { runMcpSetup } = require(scriptPath);
|
|
524
|
-
await runMcpSetup();
|
|
524
|
+
await runMcpSetup(options.dir);
|
|
525
525
|
} catch (error) {
|
|
526
526
|
console.error(chalk.red(`\n❌ Setup failed: ${error.message}\n`));
|
|
527
527
|
console.log(chalk.yellow('Make sure you have run: ai-sprint init\n'));
|