@iservu-inc/adf-cli 0.5.2 → 0.5.4

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.
@@ -1,9 +1,9 @@
1
1
  # ADF CLI - Current Session Status
2
2
 
3
3
  **Date:** 2025-10-05
4
- **Status:** ✅ Active - v0.5.2 Ready to Publish
5
- **Latest Version:** v0.5.2 (Ready)
6
- **Phase:** Phase 5 - Polish & UX Improvements
4
+ **Status:** ✅ Active - v0.5.2 Published
5
+ **Latest Version:** v0.5.2 (Published)
6
+ **Phase:** Phase 5 - Polish & UX Improvements Complete
7
7
 
8
8
  ---
9
9
 
@@ -11,29 +11,32 @@
11
11
 
12
12
  **Session:** Post-Install Information Display (v0.5.2)
13
13
  **Completed:** 2025-10-05
14
- **Status:** 🚀 Ready to publish
14
+ **Status:** Published to npm
15
15
  **Branch:** main
16
+ **Commit:** `964262c` - feat: v0.5.2 - Post-Install Information Display
16
17
 
17
18
  ---
18
19
 
19
20
  ## Current State
20
21
 
21
- ### Latest Version (Ready to Publish)
22
+ ### Published Version
22
23
  - **Package:** `@iservu-inc/adf-cli@0.5.2`
23
- - **Status:** 🚀 Ready for npm publish
24
- - **Changes:** Post-install message with version & path info
25
- - **New Files:** lib/utils/postinstall.js
26
-
27
- ### Previous Published Version
28
- - **Package:** `@iservu-inc/adf-cli@0.5.1`
29
24
  - **Status:** ✅ Live on npm
30
25
  - **Published:** 2025-10-05
26
+ - **Size:** 962.9 kB (tarball), 2.0 MB (unpacked)
27
+ - **Files:** 107 total files
28
+ - **New Feature:** Post-install info display with version & paths
29
+
30
+ ### npm Registry
31
+ ```bash
32
+ npm install -g @iservu-inc/adf-cli
33
+ # Now installs v0.5.2 with post-install info display
34
+ ```
31
35
 
32
- ### Recent Commits
33
- - `b670fa4` - docs: Update SESSION-STATUS.md for v0.5.1 publication
34
- - `ce13290` - feat: v0.5.1 - Improved Existing Project Detection UX
35
- - `d9d2249` - docs: Add v0.5.0 session documentation
36
- - `4f236fe` - feat: v0.5.0 - Intelligent Answer Analysis & Dynamic Question Pipeline
36
+ ### Recent Version History
37
+ - **v0.5.2** (2025-10-05) - Post-install information display
38
+ - **v0.5.1** (2025-10-05) - Improved existing project detection UX
39
+ - **v0.5.0** (2025-10-05) - Intelligent Answer Analysis & Dynamic Question Pipeline
37
40
 
38
41
  ### Test Coverage
39
42
  - **Tests:** 200 passing (80 new analysis tests added)
package/CHANGELOG.md CHANGED
@@ -5,6 +5,75 @@ All notable changes to `@iservu-inc/adf-cli` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.4] - 2025-10-05
9
+
10
+ ### ✨ Enhanced Version & Help Display
11
+
12
+ **FIX:** Installation info now reliably shows when users run the CLI.
13
+
14
+ #### What Changed
15
+
16
+ The v0.5.2 postinstall script didn't reliably show during global installs/updates. Now installation info appears when users actually use the CLI:
17
+
18
+ **`adf --version` output:**
19
+ ```
20
+ ADF CLI
21
+ Version: v0.5.4
22
+ Install Path: /usr/local/lib/node_modules/@iservu-inc/adf-cli
23
+ ```
24
+
25
+ **`adf --help` or `adf` (no args) output:**
26
+ ```
27
+ ADF CLI v0.5.4
28
+ Install Path: /usr/local/lib/node_modules/@iservu-inc/adf-cli
29
+
30
+ Usage: adf [options] [command]
31
+ ...
32
+ ```
33
+
34
+ #### Why This Matters
35
+
36
+ - ✅ **Reliable**: Shows every time, not just during install
37
+ - ✅ **User-triggered**: Appears when users need it
38
+ - ✅ **Troubleshooting**: Easy to see version and install location
39
+ - ✅ **Better UX**: Works with `npm update -g` and `npm i -g`
40
+
41
+ #### Technical Changes
42
+
43
+ - Modified: `bin/adf.js` - Custom version handler + help text
44
+ - Kept: `lib/utils/postinstall.js` - Still shows for local installs
45
+ - Note: `postinstall` scripts are often suppressed in global installs for performance
46
+
47
+ ---
48
+
49
+ ## [0.5.3] - 2025-10-05
50
+
51
+ ### 🔧 Dependency Updates & Warning Fixes
52
+
53
+ **MAINTENANCE:** Updated AI SDK dependencies and removed deprecated packages.
54
+
55
+ #### What Changed
56
+
57
+ - Updated `@anthropic-ai/sdk` from v0.32.0 to **v0.65.0**
58
+ - Updated `@google/generative-ai` from v0.21.0 to **v0.24.1**
59
+ - Updated `openai` from v4.73.0 to **v6.1.0**
60
+ - Removed deprecated `node-domexception` dependency (now uses Node.js native implementation)
61
+
62
+ #### Benefits
63
+
64
+ - ✅ **No more deprecation warnings** during installation
65
+ - ✅ **Latest AI features** from all providers
66
+ - ✅ **Better performance** from updated SDKs
67
+ - ✅ **Security improvements** from dependency updates
68
+ - ✅ **Smaller package size** (removed 33 packages, added 3)
69
+ - ✅ **All 200 tests passing** - fully backward compatible
70
+
71
+ #### Technical Details
72
+
73
+ **Explanation:** The `node-domexception` deprecation warning occurred because older versions of `@anthropic-ai/sdk` used a polyfill package. Since Node.js 17+, `DOMException` is built into Node.js itself, making the polyfill unnecessary. The latest SDKs use Node.js's native implementation.
74
+
75
+ ---
76
+
8
77
  ## [0.5.2] - 2025-10-05
9
78
 
10
79
  ### ✨ Post-Install Information Display
package/bin/adf.js CHANGED
@@ -2,8 +2,20 @@
2
2
 
3
3
  const { Command } = require('commander');
4
4
  const chalk = require('chalk');
5
+ const path = require('path');
5
6
  const packageJson = require('../package.json');
6
7
 
8
+ // Check for version flag before commander parses
9
+ if (process.argv.includes('-v') || process.argv.includes('--version')) {
10
+ const adfInstallPath = path.resolve(__dirname, '..');
11
+ console.log('');
12
+ console.log(chalk.cyan.bold('ADF CLI'));
13
+ console.log(chalk.gray('Version: ') + chalk.white.bold(`v${packageJson.version}`));
14
+ console.log(chalk.gray('Install Path:') + chalk.white(` ${adfInstallPath}`));
15
+ console.log('');
16
+ process.exit(0);
17
+ }
18
+
7
19
  const initCommand = require('../lib/commands/init');
8
20
  const deployCommand = require('../lib/commands/deploy');
9
21
  const updateCommand = require('../lib/commands/update');
@@ -14,7 +26,10 @@ const program = new Command();
14
26
  program
15
27
  .name('adf')
16
28
  .description('AgentDevFramework CLI - AI-assisted development framework')
17
- .version(packageJson.version, '-v, --version', 'Output the current version');
29
+ .addHelpText('before', () => {
30
+ const adfInstallPath = path.resolve(__dirname, '..');
31
+ return `\n${chalk.cyan.bold('ADF CLI')} ${chalk.gray(`v${packageJson.version}`)}\n${chalk.gray('Install Path:')} ${chalk.white(adfInstallPath)}\n`;
32
+ });
18
33
 
19
34
  // adf init
20
35
  program
@@ -55,8 +70,3 @@ program.on('command:*', () => {
55
70
 
56
71
  // Parse arguments
57
72
  program.parse(process.argv);
58
-
59
- // Show help if no command provided
60
- if (!process.argv.slice(2).length) {
61
- program.outputHelp();
62
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iservu-inc/adf-cli",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "CLI tool for AgentDevFramework - AI-assisted development framework with multi-provider AI support",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -36,8 +36,8 @@
36
36
  "author": "iServU",
37
37
  "license": "MIT",
38
38
  "dependencies": {
39
- "@anthropic-ai/sdk": "^0.32.0",
40
- "@google/generative-ai": "^0.21.0",
39
+ "@anthropic-ai/sdk": "^0.65.0",
40
+ "@google/generative-ai": "^0.24.1",
41
41
  "chalk": "^4.1.2",
42
42
  "commander": "^11.1.0",
43
43
  "dotenv": "^17.2.3",
@@ -45,7 +45,7 @@
45
45
  "inquirer": "^8.2.5",
46
46
  "inquirer-autocomplete-prompt": "^2.0.1",
47
47
  "node-fetch": "^2.7.0",
48
- "openai": "^4.73.0",
48
+ "openai": "^6.1.0",
49
49
  "ora": "^5.4.1",
50
50
  "uuid": "^9.0.1"
51
51
  },