agentskillsdk 0.4.1 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentskillsdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Install agent skills from agentskills.dk",
5
5
  "type": "module",
6
6
  "bin": {
@@ -84,7 +84,7 @@ export async function addCommand(skillName, options) {
84
84
  agents = detected;
85
85
  } else if (detected.length > 1) {
86
86
  // Prompt: all detected vs choose specific
87
- const choice = await selectPrompt('hvordan vil du installere?', [
87
+ const choice = await selectPrompt(chalk.bold('hvordan vil du installere?'), [
88
88
  { label: `alle fundne agenter (${detected.length})`, value: 'all' },
89
89
  { label: 'vælg specifikke agenter', value: 'choose' },
90
90
  ]);
@@ -99,14 +99,14 @@ export async function addCommand(skillName, options) {
99
99
  } else {
100
100
  // Checkbox from detected agents
101
101
  const choices = detected.map(a => ({ label: a.name, value: a }));
102
- const selected = await checkboxPrompt('vælg agenter:', choices);
102
+ const selected = await checkboxPrompt(chalk.bold('vælg agenter:'), choices);
103
103
  if (selected === null) continue agentSelection; // Esc → back to all/choose
104
104
  agents = selected;
105
105
  }
106
106
  } else {
107
107
  // No agents detected — show checkbox of all known agents
108
108
  const choices = AGENTS.map(a => ({ label: a.name, value: a }));
109
- const selected = await checkboxPrompt('vælg agenter:', choices);
109
+ const selected = await checkboxPrompt(chalk.bold('vælg agenter:'), choices);
110
110
  if (selected === null) {
111
111
  // Esc with no detected agents → cancel
112
112
  process.exit(0);
@@ -122,7 +122,7 @@ export async function addCommand(skillName, options) {
122
122
  } else {
123
123
  // Build hint using first agent (representative)
124
124
  const a = agents[0];
125
- const result = await selectPrompt('installationsomfang:', [
125
+ const result = await selectPrompt(chalk.bold(`hvor skal "${installName}" installeres?`), [
126
126
  { label: 'projekt', hint: `(lokalt ${a.folder}/skills/)`, value: 'project' },
127
127
  { label: 'globalt', hint: `(~/${a.globalFolder}/skills/)`, value: 'global' },
128
128
  ]);