agileflow 2.32.4 → 2.33.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agileflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.1",
|
|
4
4
|
"description": "AI-driven agile development system for Claude Code, Cursor, Windsurf, and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agile",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"scripts": {
|
|
38
38
|
"postinstall": "node tools/postinstall.js",
|
|
39
39
|
"agileflow": "node tools/agileflow-npx.js",
|
|
40
|
-
"agileflow:
|
|
40
|
+
"agileflow:setup": "node tools/cli/agileflow-cli.js setup",
|
|
41
41
|
"agileflow:status": "node tools/cli/agileflow-cli.js status",
|
|
42
42
|
"agileflow:update": "node tools/cli/agileflow-cli.js update",
|
|
43
43
|
"lint": "echo 'No linting configured yet'",
|
|
@@ -57,7 +57,7 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
if (!status.installed) {
|
|
59
59
|
warning('No AgileFlow installation found');
|
|
60
|
-
console.log(chalk.dim(` Run 'npx agileflow
|
|
60
|
+
console.log(chalk.dim(` Run 'npx agileflow setup' to set up\n`));
|
|
61
61
|
|
|
62
62
|
// Summary
|
|
63
63
|
printSummary(issues, warnings);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AgileFlow CLI -
|
|
2
|
+
* AgileFlow CLI - Setup Command
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Sets up AgileFlow in a project directory.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
const chalk = require('chalk');
|
|
@@ -15,8 +15,8 @@ const installer = new Installer();
|
|
|
15
15
|
const ideManager = new IdeManager();
|
|
16
16
|
|
|
17
17
|
module.exports = {
|
|
18
|
-
name: '
|
|
19
|
-
description: '
|
|
18
|
+
name: 'setup',
|
|
19
|
+
description: 'Set up AgileFlow in a project',
|
|
20
20
|
options: [
|
|
21
21
|
['-d, --directory <path>', 'Installation directory (default: current directory)'],
|
|
22
22
|
['-y, --yes', 'Skip prompts and use defaults'],
|
|
@@ -39,13 +39,13 @@ module.exports = {
|
|
|
39
39
|
config = await promptInstall();
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
displaySection('
|
|
42
|
+
displaySection('Setting Up AgileFlow', `Target: ${config.directory}`);
|
|
43
43
|
|
|
44
44
|
// Run core installation
|
|
45
45
|
const coreResult = await installer.install(config);
|
|
46
46
|
|
|
47
47
|
if (!coreResult.success) {
|
|
48
|
-
error('Core
|
|
48
|
+
error('Core setup failed');
|
|
49
49
|
process.exit(1);
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -75,18 +75,18 @@ module.exports = {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Final summary
|
|
78
|
-
console.log(chalk.green('\n✨
|
|
78
|
+
console.log(chalk.green('\n✨ Setup complete!\n'));
|
|
79
79
|
|
|
80
80
|
console.log(chalk.bold('Get started:'));
|
|
81
81
|
info('Open your IDE and use /agileflow:help');
|
|
82
|
-
info(`Run 'npx agileflow status' to check
|
|
82
|
+
info(`Run 'npx agileflow status' to check setup`);
|
|
83
83
|
info(`Run 'npx agileflow update' to get updates`);
|
|
84
84
|
|
|
85
85
|
console.log(chalk.dim(`\nInstalled to: ${coreResult.path}\n`));
|
|
86
86
|
|
|
87
87
|
process.exit(0);
|
|
88
88
|
} catch (err) {
|
|
89
|
-
console.error(chalk.red('\
|
|
89
|
+
console.error(chalk.red('\nSetup failed:'), err.message);
|
|
90
90
|
if (process.env.DEBUG) {
|
|
91
91
|
console.error(err.stack);
|
|
92
92
|
}
|
|
@@ -31,7 +31,7 @@ module.exports = {
|
|
|
31
31
|
|
|
32
32
|
if (!status.installed) {
|
|
33
33
|
warning('No AgileFlow installation found in this directory');
|
|
34
|
-
console.log(chalk.dim(`\nRun 'npx agileflow
|
|
34
|
+
console.log(chalk.dim(`\nRun 'npx agileflow setup' to set up AgileFlow\n`));
|
|
35
35
|
process.exit(0);
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
32
32
|
|
|
33
33
|
if (!status.installed) {
|
|
34
34
|
warning('No AgileFlow installation found');
|
|
35
|
-
console.log(chalk.dim(`\nRun 'npx agileflow
|
|
35
|
+
console.log(chalk.dim(`\nRun 'npx agileflow setup' to set up AgileFlow\n`));
|
|
36
36
|
process.exit(1);
|
|
37
37
|
}
|
|
38
38
|
|
package/tools/postinstall.js
CHANGED
|
@@ -105,12 +105,12 @@ function runAutoInstall() {
|
|
|
105
105
|
const cliPath = path.join(__dirname, 'cli', 'agileflow-cli.js');
|
|
106
106
|
|
|
107
107
|
if (!fs.existsSync(cliPath)) {
|
|
108
|
-
log('⚠️ Could not find AgileFlow CLI. Run "npx agileflow
|
|
108
|
+
log('⚠️ Could not find AgileFlow CLI. Run "npx agileflow setup" manually.', 'yellow');
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
// Run
|
|
113
|
-
execSync(`node "${cliPath}"
|
|
112
|
+
// Run setup command with --yes flag (non-interactive)
|
|
113
|
+
execSync(`node "${cliPath}" setup --yes`, {
|
|
114
114
|
stdio: 'inherit',
|
|
115
115
|
cwd: process.cwd(),
|
|
116
116
|
});
|
|
@@ -118,13 +118,13 @@ function runAutoInstall() {
|
|
|
118
118
|
console.log('');
|
|
119
119
|
log('✨ AgileFlow is ready to use!', 'green');
|
|
120
120
|
console.log('');
|
|
121
|
-
log('To skip auto-
|
|
121
|
+
log('To skip auto-setup in the future, set: AGILEFLOW_SKIP_INSTALL=true', 'dim');
|
|
122
122
|
console.log('');
|
|
123
123
|
|
|
124
124
|
} catch (error) {
|
|
125
125
|
console.log('');
|
|
126
|
-
log('⚠️ Auto-
|
|
127
|
-
log(' You can run "npx agileflow
|
|
126
|
+
log('⚠️ Auto-setup encountered an issue.', 'yellow');
|
|
127
|
+
log(' You can run "npx agileflow setup" manually to complete setup.', 'yellow');
|
|
128
128
|
console.log('');
|
|
129
129
|
|
|
130
130
|
if (process.env.DEBUG) {
|