ai-sprint-kit 2.1.3 → 2.1.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/README.md +2 -0
- package/bin/ai-sprint.js +41 -7
- 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
|
@@ -176,13 +176,19 @@ program
|
|
|
176
176
|
.description('Show AI Sprint Pro features')
|
|
177
177
|
.action(() => {
|
|
178
178
|
console.log(chalk.blue.bold('\nAI Sprint Pro Framework\n'));
|
|
179
|
-
console.log(chalk.cyan('Agents (
|
|
180
|
-
console.log(chalk.gray(' planner, implementer, tester, reviewer'));
|
|
181
|
-
console.log(chalk.gray('
|
|
182
|
-
console.log(chalk.
|
|
183
|
-
console.log(chalk.
|
|
184
|
-
console.log(chalk.gray(' /
|
|
185
|
-
console.log(chalk.gray(' /
|
|
179
|
+
console.log(chalk.cyan('Agents (12):'));
|
|
180
|
+
console.log(chalk.gray(' planner, implementer, tester, reviewer, security'));
|
|
181
|
+
console.log(chalk.gray(' devops, docs, debugger, researcher, verifier'));
|
|
182
|
+
console.log(chalk.gray(' browser-tester, deployment-smoke'));
|
|
183
|
+
console.log(chalk.cyan('\nCommands (15):'));
|
|
184
|
+
console.log(chalk.gray(' /ai-sprint-plan, /ai-sprint-code, /ai-sprint-test'));
|
|
185
|
+
console.log(chalk.gray(' /ai-sprint-review, /ai-sprint-secure, /ai-sprint-deploy'));
|
|
186
|
+
console.log(chalk.gray(' /ai-sprint-docs, /ai-sprint-debug, /ai-sprint-scan'));
|
|
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'));
|
|
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'));
|
|
186
192
|
});
|
|
187
193
|
|
|
188
194
|
program
|
|
@@ -454,6 +460,34 @@ program
|
|
|
454
460
|
}
|
|
455
461
|
});
|
|
456
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
|
+
|
|
457
491
|
program
|
|
458
492
|
.command('reinstall')
|
|
459
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) {
|