ma-agents 2.3.0 → 2.3.1

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 (2) hide show
  1. package/bin/cli.js +29 -13
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -189,21 +189,37 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
189
189
 
190
190
  // Step 1: Select skills
191
191
  if (selectedSkillIds.length === 0 || isUpdate) {
192
- const { skills: chosen } = await prompts({
193
- type: 'multiselect',
194
- name: 'skills',
195
- message: 'Select the skills you want to have installed:',
196
- choices: skills.map(s => ({
197
- title: chalk.white(s.name) + chalk.gray(` v${s.version} - ${s.description}`),
198
- value: s.id,
199
- selected: selectedSkillIds.includes(s.id)
200
- })),
201
- instructions: chalk.gray(' Use space to select, enter to confirm'),
202
- min: 1
192
+ const { selectionType } = await prompts({
193
+ type: 'select',
194
+ name: 'selectionType',
195
+ message: 'Would you like to install all available skills or choose specific ones?',
196
+ choices: [
197
+ { title: 'Install all available skills', value: 'all' },
198
+ { title: 'Choose which skills to install', value: 'custom' }
199
+ ]
203
200
  });
204
201
 
205
- if (!chosen) process.exit(0);
206
- selectedSkillIds = chosen;
202
+ if (!selectionType) process.exit(0);
203
+
204
+ if (selectionType === 'all') {
205
+ selectedSkillIds = skills.map(s => s.id);
206
+ } else {
207
+ const { skills: chosen } = await prompts({
208
+ type: 'multiselect',
209
+ name: 'skills',
210
+ message: 'Select the skills you want to have installed:',
211
+ choices: skills.map(s => ({
212
+ title: chalk.white(s.name) + chalk.gray(` v${s.version} - ${s.description}`),
213
+ value: s.id,
214
+ selected: selectedSkillIds.includes(s.id)
215
+ })),
216
+ instructions: chalk.gray(' Use space to select, enter to confirm'),
217
+ min: 1
218
+ });
219
+
220
+ if (!chosen) process.exit(0);
221
+ selectedSkillIds = chosen;
222
+ }
207
223
  }
208
224
 
209
225
  // Step 2: Select agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ma-agents",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "NPX tool to install skills for AI coding agents (Claude Code, Gemini, Copilot, Kilocode, Cline, Cursor)",
5
5
  "main": "index.js",
6
6
  "bin": {