akili-specs 2.4.1 → 2.4.2

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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ The format is inspired by Keep a Changelog and the repository follows semantic v
10
10
 
11
11
  - No unreleased changes yet.
12
12
 
13
+ ## [2.4.2] - 2026-07-19
14
+
15
+ ### Changed
16
+ - **Update banner now suggests `akili update`:** The auto-update checker banner now recommends running `akili update` instead of `npm install -g akili-specs`, since `akili update` handles both the npm package update and file reinstallation.
13
17
  ## [2.4.1] - 2026-07-19
14
18
 
15
19
  ### Fixed
package/bin/akili.js CHANGED
@@ -589,22 +589,16 @@ function checkForUpdates() {
589
589
  if (isNewer) {
590
590
  const border = `╭─────────────────────────────────────────────────────────────╮`;
591
591
  const emptyLine = `│ │`;
592
- const msgLine1 = `│ ${colors.yellow}Update available!${colors.reset} ${colors.red}${currentVersion}${colors.reset} → ${colors.green}${latestVersion}${colors.reset}`;
593
- const msgLine2 = `│ Run ${colors.cyan}npm install -g akili-specs${colors.reset} to update.`;
594
592
 
595
- // Pad to keep the box neat (very rudimentary padding, assumes specific length of colors)
596
- // Just manually aligning for aesthetic since console length with escape codes is tricky
597
593
  console.log(`\n${colors.yellow}${border}`);
598
594
  console.log(`${emptyLine}`);
599
- // 61 total chars inside.
600
- // "Update available! x.x.x -> y.y.y"
601
595
  const rawStr1 = ` Update available! ${currentVersion} -> ${latestVersion}`;
602
596
  const pad1 = " ".repeat(Math.max(0, 61 - rawStr1.length));
603
597
  console.log(`│ ${colors.yellow}Update available!${colors.reset} ${colors.red}${currentVersion}${colors.reset} → ${colors.green}${latestVersion}${colors.reset}${pad1}│`);
604
598
 
605
- const rawStr2 = ` Run npm install -g akili-specs to update.`;
599
+ const rawStr2 = ` Run akili update to upgrade.`;
606
600
  const pad2 = " ".repeat(Math.max(0, 61 - rawStr2.length));
607
- console.log(`│ Run ${colors.cyan}npm install -g akili-specs${colors.reset} to update.${pad2}│`);
601
+ console.log(`│ Run ${colors.cyan}akili update${colors.reset} to upgrade.${pad2}│`);
608
602
  console.log(`${emptyLine}`);
609
603
  console.log(`╰─────────────────────────────────────────────────────────────╯${colors.reset}\n`);
610
604
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akili-specs",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "Portable AKILI-SPECS methodology commands and skills for AI-assisted development.",
5
5
  "homepage": "https://github.com/JuankCadavid/akili-specs#readme",
6
6
  "repository": {