@iservu-inc/adf-cli 0.4.33 → 0.4.34
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 +49 -0
- package/lib/commands/init.js +22 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,55 @@ 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.4.34] - 2025-10-04
|
|
9
|
+
|
|
10
|
+
### ✨ Feature: Multi-Tool Deployment Selection
|
|
11
|
+
|
|
12
|
+
**Changed: Tool Selection from Single to Multi-Select**
|
|
13
|
+
- **Problem:** Could only deploy to one IDE at a time
|
|
14
|
+
- **Solution:** Changed to checkbox multi-select prompt
|
|
15
|
+
|
|
16
|
+
**New Behavior:**
|
|
17
|
+
```
|
|
18
|
+
? Select tools (space to select, enter to confirm): (Press <space> to select, <a> to toggle all, <i> to invert selection)
|
|
19
|
+
❯◯ Windsurf
|
|
20
|
+
◯ Cursor
|
|
21
|
+
◯ VSCode/Copilot
|
|
22
|
+
◯ Claude Code
|
|
23
|
+
◯ Gemini CLI
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**Features:**
|
|
27
|
+
- ✅ Use **spacebar** to select/deselect tools
|
|
28
|
+
- ✅ Use **arrow keys** to navigate
|
|
29
|
+
- ✅ Use **enter** to confirm selection
|
|
30
|
+
- ✅ Select multiple tools at once
|
|
31
|
+
- ✅ Visual checkmarks for selected items
|
|
32
|
+
- ✅ Validation: Must select at least one tool
|
|
33
|
+
- ✅ Deploys to all selected tools sequentially
|
|
34
|
+
|
|
35
|
+
**Implementation:**
|
|
36
|
+
- Changed from `type: 'list'` to `type: 'checkbox'`
|
|
37
|
+
- Changed from single `tool` to array `tools`
|
|
38
|
+
- Loop through each selected tool and deploy
|
|
39
|
+
- Better choice names (e.g., "VSCode/Copilot" instead of "vscode")
|
|
40
|
+
- Validation to prevent empty selection
|
|
41
|
+
|
|
42
|
+
**Code Changes:**
|
|
43
|
+
- init.js:145-171 - Multi-select checkbox implementation
|
|
44
|
+
|
|
45
|
+
**User Experience:**
|
|
46
|
+
```
|
|
47
|
+
# Example: User selects Windsurf and Cursor
|
|
48
|
+
✓ Deploying to Windsurf...
|
|
49
|
+
✓ Complete
|
|
50
|
+
|
|
51
|
+
✓ Deploying to Cursor...
|
|
52
|
+
✓ Complete
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
8
57
|
## [0.4.33] - 2025-10-04
|
|
9
58
|
|
|
10
59
|
### ✨ Feature: Show Active Provider and Model
|
package/lib/commands/init.js
CHANGED
|
@@ -142,17 +142,32 @@ async function init(options) {
|
|
|
142
142
|
]);
|
|
143
143
|
|
|
144
144
|
if (deployNow) {
|
|
145
|
-
const {
|
|
145
|
+
const { tools } = await inquirer.prompt([
|
|
146
146
|
{
|
|
147
|
-
type: '
|
|
148
|
-
name: '
|
|
149
|
-
message: 'Select
|
|
150
|
-
choices: [
|
|
147
|
+
type: 'checkbox',
|
|
148
|
+
name: 'tools',
|
|
149
|
+
message: 'Select tools (space to select, enter to confirm):',
|
|
150
|
+
choices: [
|
|
151
|
+
{ name: 'Windsurf', value: 'windsurf' },
|
|
152
|
+
{ name: 'Cursor', value: 'cursor' },
|
|
153
|
+
{ name: 'VSCode/Copilot', value: 'vscode' },
|
|
154
|
+
{ name: 'Claude Code', value: 'claude-code' },
|
|
155
|
+
{ name: 'Gemini CLI', value: 'gemini-cli' }
|
|
156
|
+
],
|
|
157
|
+
validate: (answer) => {
|
|
158
|
+
if (answer.length === 0) {
|
|
159
|
+
return 'You must choose at least one tool.';
|
|
160
|
+
}
|
|
161
|
+
return true;
|
|
162
|
+
}
|
|
151
163
|
}
|
|
152
164
|
]);
|
|
153
165
|
|
|
154
|
-
|
|
155
|
-
|
|
166
|
+
// Deploy to each selected tool
|
|
167
|
+
for (const tool of tools) {
|
|
168
|
+
console.log('');
|
|
169
|
+
await deployToTool(tool, { silent: false });
|
|
170
|
+
}
|
|
156
171
|
}
|
|
157
172
|
}
|
|
158
173
|
|