agileflow 2.76.0 → 2.77.0
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 +1 -1
- package/scripts/agileflow-configure.js +11 -11
- package/scripts/agileflow-statusline.sh +155 -9
- package/scripts/agileflow-welcome.js +83 -52
- package/scripts/auto-self-improve.js +63 -20
- package/scripts/check-update.js +1 -4
- package/scripts/get-env.js +15 -7
- package/scripts/lib/frontmatter-parser.js +4 -1
- package/scripts/obtain-context.js +59 -48
- package/scripts/ralph-loop.js +25 -13
- package/scripts/validate-expertise.sh +19 -15
- package/tools/cli/commands/list.js +3 -1
- package/tools/cli/commands/uninstall.js +4 -5
- package/tools/cli/commands/update.js +11 -3
- package/tools/cli/lib/content-injector.js +6 -1
|
@@ -49,10 +49,7 @@ module.exports = {
|
|
|
49
49
|
|
|
50
50
|
// Confirm removal
|
|
51
51
|
if (!options.force) {
|
|
52
|
-
const proceed = await confirm(
|
|
53
|
-
`Remove ${formatIdeName(ideName)} configuration?`,
|
|
54
|
-
false
|
|
55
|
-
);
|
|
52
|
+
const proceed = await confirm(`Remove ${formatIdeName(ideName)} configuration?`, false);
|
|
56
53
|
if (!proceed) {
|
|
57
54
|
console.log(chalk.dim('\nCancelled\n'));
|
|
58
55
|
process.exit(0);
|
|
@@ -91,7 +88,9 @@ module.exports = {
|
|
|
91
88
|
|
|
92
89
|
console.log(chalk.green(`\n${formatIdeName(ideName)} has been removed.\n`));
|
|
93
90
|
if (status.ides.length > 1) {
|
|
94
|
-
console.log(
|
|
91
|
+
console.log(
|
|
92
|
+
chalk.dim(`Remaining IDEs: ${status.ides.filter(i => i !== ideName).join(', ')}\n`)
|
|
93
|
+
);
|
|
95
94
|
}
|
|
96
95
|
|
|
97
96
|
process.exit(0);
|
|
@@ -107,12 +107,20 @@ module.exports = {
|
|
|
107
107
|
console.log();
|
|
108
108
|
warning('Your global CLI is outdated!');
|
|
109
109
|
console.log(
|
|
110
|
-
chalk.dim(
|
|
110
|
+
chalk.dim(
|
|
111
|
+
` You have a global installation at v${localCliVersion}, but v${npmLatestVersion} is available.\n`
|
|
112
|
+
)
|
|
111
113
|
);
|
|
112
114
|
console.log(chalk.dim(` Options:`));
|
|
113
115
|
console.log(chalk.dim(` 1. Cancel and run: `) + chalk.cyan(`npx agileflow@latest update`));
|
|
114
|
-
console.log(
|
|
115
|
-
|
|
116
|
+
console.log(
|
|
117
|
+
chalk.dim(` 2. Remove global: `) +
|
|
118
|
+
chalk.cyan(`npm uninstall -g agileflow`) +
|
|
119
|
+
chalk.dim(` (recommended)`)
|
|
120
|
+
);
|
|
121
|
+
console.log(
|
|
122
|
+
chalk.dim(` 3. Update global: `) + chalk.cyan(`npm install -g agileflow@latest\n`)
|
|
123
|
+
);
|
|
116
124
|
|
|
117
125
|
const useOutdated = options.force
|
|
118
126
|
? true
|
|
@@ -26,7 +26,12 @@ const path = require('path');
|
|
|
26
26
|
|
|
27
27
|
// Use shared modules
|
|
28
28
|
const { parseFrontmatter, normalizeTools } = require('../../../scripts/lib/frontmatter-parser');
|
|
29
|
-
const {
|
|
29
|
+
const {
|
|
30
|
+
countCommands,
|
|
31
|
+
countAgents,
|
|
32
|
+
countSkills,
|
|
33
|
+
getCounts,
|
|
34
|
+
} = require('../../../scripts/lib/counter');
|
|
30
35
|
|
|
31
36
|
// =============================================================================
|
|
32
37
|
// List Generation Functions
|