agileflow 2.51.0 → 2.55.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/README.md +82 -460
- package/package.json +18 -3
- package/scripts/agileflow-configure.js +134 -63
- package/scripts/agileflow-welcome.js +161 -31
- package/scripts/generators/agent-registry.js +2 -2
- package/scripts/generators/command-registry.js +6 -6
- package/scripts/generators/index.js +2 -6
- package/scripts/generators/inject-babysit.js +9 -2
- package/scripts/generators/inject-help.js +3 -1
- package/scripts/generators/inject-readme.js +7 -3
- package/scripts/generators/skill-registry.js +5 -5
- package/scripts/get-env.js +13 -12
- package/scripts/obtain-context.js +79 -26
- package/scripts/session-coordinator.sh +232 -0
- package/scripts/session-manager.js +512 -0
- package/src/core/agents/orchestrator.md +275 -0
- package/src/core/commands/adr.md +38 -16
- package/src/core/commands/agent.md +39 -22
- package/src/core/commands/assign.md +17 -0
- package/src/core/commands/auto.md +60 -46
- package/src/core/commands/babysit.md +302 -637
- package/src/core/commands/baseline.md +20 -0
- package/src/core/commands/blockers.md +33 -48
- package/src/core/commands/board.md +19 -0
- package/src/core/commands/changelog.md +20 -0
- package/src/core/commands/ci.md +17 -0
- package/src/core/commands/context.md +43 -40
- package/src/core/commands/debt.md +76 -45
- package/src/core/commands/deploy.md +20 -0
- package/src/core/commands/deps.md +40 -46
- package/src/core/commands/diagnose.md +24 -18
- package/src/core/commands/docs.md +18 -0
- package/src/core/commands/epic.md +31 -0
- package/src/core/commands/feedback.md +33 -21
- package/src/core/commands/handoff.md +29 -0
- package/src/core/commands/help.md +16 -7
- package/src/core/commands/impact.md +31 -61
- package/src/core/commands/metrics.md +17 -35
- package/src/core/commands/packages.md +21 -0
- package/src/core/commands/pr.md +15 -0
- package/src/core/commands/readme-sync.md +42 -9
- package/src/core/commands/research.md +58 -11
- package/src/core/commands/retro.md +42 -50
- package/src/core/commands/review.md +22 -27
- package/src/core/commands/session/end.md +53 -297
- package/src/core/commands/session/history.md +38 -257
- package/src/core/commands/session/init.md +44 -446
- package/src/core/commands/session/new.md +152 -0
- package/src/core/commands/session/resume.md +51 -447
- package/src/core/commands/session/status.md +32 -244
- package/src/core/commands/sprint.md +33 -0
- package/src/core/commands/status.md +18 -0
- package/src/core/commands/story-validate.md +32 -0
- package/src/core/commands/story.md +21 -6
- package/src/core/commands/template.md +18 -0
- package/src/core/commands/tests.md +22 -0
- package/src/core/commands/update.md +72 -58
- package/src/core/commands/validate-expertise.md +25 -37
- package/src/core/commands/velocity.md +33 -74
- package/src/core/commands/verify.md +16 -0
- package/src/core/experts/documentation/expertise.yaml +16 -2
- package/src/core/skills/agileflow-retro-facilitator/SKILL.md +57 -219
- package/src/core/skills/agileflow-retro-facilitator/cookbook/4ls.md +86 -0
- package/src/core/skills/agileflow-retro-facilitator/cookbook/glad-sad-mad.md +79 -0
- package/src/core/skills/agileflow-retro-facilitator/cookbook/start-stop-continue.md +142 -0
- package/src/core/skills/agileflow-retro-facilitator/prompts/action-items.md +83 -0
- package/src/core/skills/writing-skills/SKILL.md +352 -0
- package/src/core/skills/writing-skills/testing-skills-with-subagents.md +232 -0
- package/tools/cli/agileflow-cli.js +4 -2
- package/tools/cli/commands/config.js +20 -13
- package/tools/cli/commands/doctor.js +25 -9
- package/tools/cli/commands/list.js +10 -6
- package/tools/cli/commands/setup.js +54 -3
- package/tools/cli/commands/status.js +6 -8
- package/tools/cli/commands/uninstall.js +5 -5
- package/tools/cli/commands/update.js +51 -7
- package/tools/cli/installers/core/installer.js +8 -4
- package/tools/cli/installers/ide/_base-ide.js +3 -1
- package/tools/cli/installers/ide/claude-code.js +3 -7
- package/tools/cli/installers/ide/codex.js +440 -0
- package/tools/cli/installers/ide/manager.js +2 -6
- package/tools/cli/lib/content-injector.js +3 -3
- package/tools/cli/lib/docs-setup.js +3 -2
- package/tools/cli/lib/npm-utils.js +3 -3
- package/tools/cli/lib/ui.js +7 -7
- package/tools/cli/lib/version-checker.js +3 -3
- package/tools/postinstall.js +2 -3
|
@@ -12,7 +12,7 @@ const https = require('https');
|
|
|
12
12
|
* @returns {Promise<string|null>} Latest version or null if error
|
|
13
13
|
*/
|
|
14
14
|
async function getLatestVersion(packageName) {
|
|
15
|
-
return new Promise(
|
|
15
|
+
return new Promise(resolve => {
|
|
16
16
|
const options = {
|
|
17
17
|
hostname: 'registry.npmjs.org',
|
|
18
18
|
port: 443,
|
|
@@ -23,10 +23,10 @@ async function getLatestVersion(packageName) {
|
|
|
23
23
|
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const req = https.request(options,
|
|
26
|
+
const req = https.request(options, res => {
|
|
27
27
|
let data = '';
|
|
28
28
|
|
|
29
|
-
res.on('data',
|
|
29
|
+
res.on('data', chunk => {
|
|
30
30
|
data += chunk;
|
|
31
31
|
});
|
|
32
32
|
|
package/tools/cli/lib/ui.js
CHANGED
|
@@ -82,7 +82,7 @@ const IDE_CHOICES = [
|
|
|
82
82
|
value: 'claude-code',
|
|
83
83
|
checked: true,
|
|
84
84
|
configDir: '.claude/commands',
|
|
85
|
-
description:
|
|
85
|
+
description: "Anthropic's Claude Code IDE",
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
name: 'Cursor',
|
|
@@ -96,7 +96,7 @@ const IDE_CHOICES = [
|
|
|
96
96
|
value: 'windsurf',
|
|
97
97
|
checked: false,
|
|
98
98
|
configDir: '.windsurf/workflows',
|
|
99
|
-
description:
|
|
99
|
+
description: "Codeium's AI IDE",
|
|
100
100
|
},
|
|
101
101
|
];
|
|
102
102
|
|
|
@@ -113,7 +113,7 @@ async function promptInstall() {
|
|
|
113
113
|
name: 'directory',
|
|
114
114
|
message: 'Where would you like to install AgileFlow?',
|
|
115
115
|
default: '.',
|
|
116
|
-
validate:
|
|
116
|
+
validate: input => {
|
|
117
117
|
const resolved = path.resolve(input);
|
|
118
118
|
const parent = path.dirname(resolved);
|
|
119
119
|
if (!fs.existsSync(parent)) {
|
|
@@ -127,7 +127,7 @@ async function promptInstall() {
|
|
|
127
127
|
name: 'ides',
|
|
128
128
|
message: 'Select your IDE(s):',
|
|
129
129
|
choices: IDE_CHOICES,
|
|
130
|
-
validate:
|
|
130
|
+
validate: input => {
|
|
131
131
|
if (input.length === 0) {
|
|
132
132
|
return 'Please select at least one IDE';
|
|
133
133
|
}
|
|
@@ -145,7 +145,7 @@ async function promptInstall() {
|
|
|
145
145
|
name: 'agileflowFolder',
|
|
146
146
|
message: 'AgileFlow installation folder name:',
|
|
147
147
|
default: '.agileflow',
|
|
148
|
-
validate:
|
|
148
|
+
validate: input => {
|
|
149
149
|
if (!/^[a-zA-Z0-9._-]+$/.test(input)) {
|
|
150
150
|
return 'Folder name can only contain letters, numbers, dots, underscores, and hyphens';
|
|
151
151
|
}
|
|
@@ -157,7 +157,7 @@ async function promptInstall() {
|
|
|
157
157
|
name: 'docsFolder',
|
|
158
158
|
message: 'Documentation folder name:',
|
|
159
159
|
default: 'docs',
|
|
160
|
-
validate:
|
|
160
|
+
validate: input => {
|
|
161
161
|
if (!/^[a-zA-Z0-9._-]+$/.test(input)) {
|
|
162
162
|
return 'Folder name can only contain letters, numbers, dots, underscores, and hyphens';
|
|
163
163
|
}
|
|
@@ -206,7 +206,7 @@ async function confirm(message, defaultValue = true) {
|
|
|
206
206
|
* @returns {Object|null}
|
|
207
207
|
*/
|
|
208
208
|
function getIdeConfig(ideName) {
|
|
209
|
-
return IDE_CHOICES.find(
|
|
209
|
+
return IDE_CHOICES.find(ide => ide.value === ideName) || null;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
module.exports = {
|
|
@@ -18,17 +18,17 @@ const packageJson = require(packageJsonPath);
|
|
|
18
18
|
* @returns {Promise<string|null>} Latest version or null
|
|
19
19
|
*/
|
|
20
20
|
async function getLatestVersion(packageName = 'agileflow') {
|
|
21
|
-
return new Promise(
|
|
21
|
+
return new Promise(resolve => {
|
|
22
22
|
const url = `https://registry.npmjs.org/${packageName}/latest`;
|
|
23
23
|
|
|
24
|
-
const req = https.get(url, { timeout: 5000 },
|
|
24
|
+
const req = https.get(url, { timeout: 5000 }, res => {
|
|
25
25
|
if (res.statusCode !== 200) {
|
|
26
26
|
resolve(null);
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
let data = '';
|
|
31
|
-
res.on('data',
|
|
31
|
+
res.on('data', chunk => {
|
|
32
32
|
data += chunk;
|
|
33
33
|
});
|
|
34
34
|
|
package/tools/postinstall.js
CHANGED
|
@@ -137,8 +137,8 @@ async function runAutoInstall() {
|
|
|
137
137
|
output: process.stdout,
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
const answer = await new Promise(
|
|
141
|
-
readline.question('Choose an option (1 or 2): ',
|
|
140
|
+
const answer = await new Promise(resolve => {
|
|
141
|
+
readline.question('Choose an option (1 or 2): ', ans => {
|
|
142
142
|
readline.close();
|
|
143
143
|
resolve(ans.trim());
|
|
144
144
|
});
|
|
@@ -176,7 +176,6 @@ async function runAutoInstall() {
|
|
|
176
176
|
console.log('');
|
|
177
177
|
log('To skip auto-setup in the future, set: AGILEFLOW_SKIP_INSTALL=true', 'dim');
|
|
178
178
|
console.log('');
|
|
179
|
-
|
|
180
179
|
} catch (error) {
|
|
181
180
|
console.log('');
|
|
182
181
|
log('⚠️ Auto-setup encountered an issue.', 'yellow');
|