ai-sprint-kit 2.1.4 → 2.1.6
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 +2 -0
- package/bin/ai-sprint.js +32 -1
- package/lib/installer.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,6 +44,8 @@ ai-sprint repair # Repair installation
|
|
|
44
44
|
ai-sprint reinstall # Clean reinstall
|
|
45
45
|
ai-sprint list # Show features
|
|
46
46
|
ai-sprint init-ci # Generate CI/CD workflow
|
|
47
|
+
ai-sprint setup-env # Configure environment variables
|
|
48
|
+
ai-sprint setup-mcp # Configure MCP servers
|
|
47
49
|
```
|
|
48
50
|
|
|
49
51
|
## Requirements
|
package/bin/ai-sprint.js
CHANGED
|
@@ -185,7 +185,10 @@ program
|
|
|
185
185
|
console.log(chalk.gray(' /ai-sprint-review, /ai-sprint-secure, /ai-sprint-deploy'));
|
|
186
186
|
console.log(chalk.gray(' /ai-sprint-docs, /ai-sprint-debug, /ai-sprint-scan'));
|
|
187
187
|
console.log(chalk.gray(' /ai-sprint-validate, /ai-sprint-browser-test'));
|
|
188
|
-
console.log(chalk.gray(' /ai-sprint-orchestrate, /ai-sprint-setup, /ai-sprint-auto
|
|
188
|
+
console.log(chalk.gray(' /ai-sprint-orchestrate, /ai-sprint-setup, /ai-sprint-auto'));
|
|
189
|
+
console.log(chalk.cyan('\nCLI Commands:'));
|
|
190
|
+
console.log(chalk.gray(' init, list, validate, doctor, update, check-update'));
|
|
191
|
+
console.log(chalk.gray(' setup-env, setup-mcp, repair, reinstall, init-ci\n'));
|
|
189
192
|
});
|
|
190
193
|
|
|
191
194
|
program
|
|
@@ -457,6 +460,34 @@ program
|
|
|
457
460
|
}
|
|
458
461
|
});
|
|
459
462
|
|
|
463
|
+
program
|
|
464
|
+
.command('setup-env')
|
|
465
|
+
.description('Configure environment variables')
|
|
466
|
+
.option('-d, --dir <directory>', 'Target directory', process.cwd())
|
|
467
|
+
.action(async (options) => {
|
|
468
|
+
const scriptPath = path.join(options.dir, '.claude', 'scripts', 'setup-env.js');
|
|
469
|
+
try {
|
|
470
|
+
require(scriptPath);
|
|
471
|
+
} catch (error) {
|
|
472
|
+
console.error(chalk.red(`\n❌ Setup failed: ${error.message}\n`));
|
|
473
|
+
console.log(chalk.yellow('Make sure you have run: ai-sprint init\n'));
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
program
|
|
478
|
+
.command('setup-mcp')
|
|
479
|
+
.description('Configure MCP servers')
|
|
480
|
+
.option('-d, --dir <directory>', 'Target directory', process.cwd())
|
|
481
|
+
.action(async (options) => {
|
|
482
|
+
const scriptPath = path.join(options.dir, '.claude', 'scripts', 'setup-mcp.js');
|
|
483
|
+
try {
|
|
484
|
+
require(scriptPath);
|
|
485
|
+
} catch (error) {
|
|
486
|
+
console.error(chalk.red(`\n❌ Setup failed: ${error.message}\n`));
|
|
487
|
+
console.log(chalk.yellow('Make sure you have run: ai-sprint init\n'));
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
|
|
460
491
|
program
|
|
461
492
|
.command('reinstall')
|
|
462
493
|
.description('Clean reinstall AI Sprint Kit')
|
package/lib/installer.js
CHANGED
|
@@ -37,7 +37,8 @@ async function copyProContent(sourceDir, targetDir, force = false) {
|
|
|
37
37
|
{ src: 'ai_context', dest: 'ai_context' },
|
|
38
38
|
{ src: 'CLAUDE.md', dest: 'CLAUDE.md' },
|
|
39
39
|
{ src: 'README.md', dest: 'AI-SPRINT-README.md' },
|
|
40
|
-
{ src: 'docs', dest: '.claude/docs' }
|
|
40
|
+
{ src: 'docs', dest: '.claude/docs' },
|
|
41
|
+
{ src: 'scripts', dest: '.claude/scripts' }
|
|
41
42
|
];
|
|
42
43
|
|
|
43
44
|
for (const item of items) {
|