agileflow 2.50.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.
Files changed (87) hide show
  1. package/README.md +82 -460
  2. package/package.json +18 -3
  3. package/scripts/agileflow-configure.js +134 -63
  4. package/scripts/agileflow-welcome.js +161 -31
  5. package/scripts/generators/agent-registry.js +2 -2
  6. package/scripts/generators/command-registry.js +6 -6
  7. package/scripts/generators/index.js +2 -6
  8. package/scripts/generators/inject-babysit.js +9 -2
  9. package/scripts/generators/inject-help.js +3 -1
  10. package/scripts/generators/inject-readme.js +7 -3
  11. package/scripts/generators/skill-registry.js +5 -5
  12. package/scripts/get-env.js +13 -12
  13. package/scripts/obtain-context.js +396 -185
  14. package/scripts/session-coordinator.sh +232 -0
  15. package/scripts/session-manager.js +512 -0
  16. package/src/core/agents/orchestrator.md +275 -0
  17. package/src/core/commands/adr.md +38 -16
  18. package/src/core/commands/agent.md +39 -22
  19. package/src/core/commands/assign.md +17 -0
  20. package/src/core/commands/auto.md +60 -46
  21. package/src/core/commands/babysit.md +302 -637
  22. package/src/core/commands/baseline.md +20 -0
  23. package/src/core/commands/blockers.md +33 -48
  24. package/src/core/commands/board.md +19 -0
  25. package/src/core/commands/changelog.md +20 -0
  26. package/src/core/commands/ci.md +17 -0
  27. package/src/core/commands/context.md +43 -40
  28. package/src/core/commands/debt.md +76 -45
  29. package/src/core/commands/deploy.md +20 -0
  30. package/src/core/commands/deps.md +40 -46
  31. package/src/core/commands/diagnose.md +24 -18
  32. package/src/core/commands/docs.md +18 -0
  33. package/src/core/commands/epic.md +31 -0
  34. package/src/core/commands/feedback.md +33 -21
  35. package/src/core/commands/handoff.md +29 -0
  36. package/src/core/commands/help.md +16 -7
  37. package/src/core/commands/impact.md +31 -61
  38. package/src/core/commands/metrics.md +17 -35
  39. package/src/core/commands/packages.md +21 -0
  40. package/src/core/commands/pr.md +15 -0
  41. package/src/core/commands/readme-sync.md +42 -9
  42. package/src/core/commands/research.md +58 -11
  43. package/src/core/commands/retro.md +42 -50
  44. package/src/core/commands/review.md +22 -27
  45. package/src/core/commands/session/end.md +53 -297
  46. package/src/core/commands/session/history.md +38 -257
  47. package/src/core/commands/session/init.md +44 -446
  48. package/src/core/commands/session/new.md +152 -0
  49. package/src/core/commands/session/resume.md +51 -447
  50. package/src/core/commands/session/status.md +32 -244
  51. package/src/core/commands/sprint.md +33 -0
  52. package/src/core/commands/status.md +18 -0
  53. package/src/core/commands/story-validate.md +32 -0
  54. package/src/core/commands/story.md +21 -6
  55. package/src/core/commands/template.md +18 -0
  56. package/src/core/commands/tests.md +22 -0
  57. package/src/core/commands/update.md +72 -58
  58. package/src/core/commands/validate-expertise.md +25 -37
  59. package/src/core/commands/velocity.md +33 -74
  60. package/src/core/commands/verify.md +16 -0
  61. package/src/core/experts/documentation/expertise.yaml +16 -2
  62. package/src/core/skills/agileflow-retro-facilitator/SKILL.md +57 -219
  63. package/src/core/skills/agileflow-retro-facilitator/cookbook/4ls.md +86 -0
  64. package/src/core/skills/agileflow-retro-facilitator/cookbook/glad-sad-mad.md +79 -0
  65. package/src/core/skills/agileflow-retro-facilitator/cookbook/start-stop-continue.md +142 -0
  66. package/src/core/skills/agileflow-retro-facilitator/prompts/action-items.md +83 -0
  67. package/src/core/skills/writing-skills/SKILL.md +352 -0
  68. package/src/core/skills/writing-skills/testing-skills-with-subagents.md +232 -0
  69. package/tools/cli/agileflow-cli.js +4 -2
  70. package/tools/cli/commands/config.js +20 -13
  71. package/tools/cli/commands/doctor.js +25 -9
  72. package/tools/cli/commands/list.js +10 -6
  73. package/tools/cli/commands/setup.js +54 -3
  74. package/tools/cli/commands/status.js +6 -8
  75. package/tools/cli/commands/uninstall.js +5 -5
  76. package/tools/cli/commands/update.js +51 -7
  77. package/tools/cli/installers/core/installer.js +8 -4
  78. package/tools/cli/installers/ide/_base-ide.js +3 -1
  79. package/tools/cli/installers/ide/claude-code.js +3 -7
  80. package/tools/cli/installers/ide/codex.js +440 -0
  81. package/tools/cli/installers/ide/manager.js +2 -6
  82. package/tools/cli/lib/content-injector.js +3 -3
  83. package/tools/cli/lib/docs-setup.js +3 -2
  84. package/tools/cli/lib/npm-utils.js +3 -3
  85. package/tools/cli/lib/ui.js +7 -7
  86. package/tools/cli/lib/version-checker.js +3 -3
  87. 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((resolve) => {
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, (res) => {
26
+ const req = https.request(options, res => {
27
27
  let data = '';
28
28
 
29
- res.on('data', (chunk) => {
29
+ res.on('data', chunk => {
30
30
  data += chunk;
31
31
  });
32
32
 
@@ -82,7 +82,7 @@ const IDE_CHOICES = [
82
82
  value: 'claude-code',
83
83
  checked: true,
84
84
  configDir: '.claude/commands',
85
- description: 'Anthropic\'s Claude Code IDE',
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: 'Codeium\'s AI IDE',
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: (input) => {
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: (input) => {
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: (input) => {
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: (input) => {
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((ide) => ide.value === ideName) || null;
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((resolve) => {
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 }, (res) => {
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', (chunk) => {
31
+ res.on('data', chunk => {
32
32
  data += chunk;
33
33
  });
34
34
 
@@ -137,8 +137,8 @@ async function runAutoInstall() {
137
137
  output: process.stdout,
138
138
  });
139
139
 
140
- const answer = await new Promise((resolve) => {
141
- readline.question('Choose an option (1 or 2): ', (ans) => {
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');