agentskillsdk 0.3.2 → 0.4.0

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.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "Install agent skills from agentskills.dk",
5
5
  "type": "module",
6
6
  "bin": {
@@ -85,7 +85,11 @@ export async function addCommand(skillName, options) {
85
85
  } else if (detected.length > 1) {
86
86
  // Prompt: all detected vs choose specific
87
87
  const choice = await selectPrompt('hvordan vil du installere?', [
88
- { label: `alle fundne agenter (${detected.length})`, value: 'all' },
88
+ {
89
+ label: 'alle fundne agenter',
90
+ descriptionLines: detected.map(a => a.name),
91
+ value: 'all',
92
+ },
89
93
  { label: 'vælg specifikke agenter', value: 'choose' },
90
94
  ]);
91
95
 
@@ -22,13 +22,32 @@ function makeAgent(name, folder, { globalFolder, detectFolder } = {}) {
22
22
  }
23
23
 
24
24
  export const AGENTS = [
25
+ makeAgent('Cline', '.cline'),
25
26
  makeAgent('Claude Code', '.claude'),
27
+ makeAgent('CodeBuddy', '.codebuddy'),
26
28
  makeAgent('Codex CLI', '.agents', { globalFolder: '.codex' }),
29
+ makeAgent('Command Code', '.commandcode'),
30
+ makeAgent('Continue', '.continue'),
31
+ makeAgent('Crush', '.crush'),
27
32
  makeAgent('Cursor', '.cursor'),
28
33
  makeAgent('Droid', '.factory'),
29
34
  makeAgent('GitHub Copilot', '.github', { detectFolder: '.github/skills' }),
35
+ makeAgent('Goose', '.goose'),
36
+ makeAgent('Kilo Code', '.kilocode'),
37
+ makeAgent('Kiro CLI', '.kiro'),
38
+ makeAgent('MCPJam', '.mcpjam'),
39
+ makeAgent('Mux', '.mux'),
40
+ makeAgent('Neovate', '.neovate'),
30
41
  makeAgent('OpenClaw', '.openclaw'),
31
42
  makeAgent('OpenCode', '.opencode'),
43
+ makeAgent('OpenHands', '.openhands'),
44
+ makeAgent('Pi', '.pi'),
45
+ makeAgent('Qoder', '.qoder'),
46
+ makeAgent('Qwen Code', '.qwen'),
47
+ makeAgent('Roo Code', '.roo'),
48
+ makeAgent('Trae', '.trae'),
49
+ makeAgent('Windsurf', '.windsurf'),
50
+ makeAgent('Zencoder', '.zencoder'),
32
51
  ];
33
52
 
34
53
  export function detectAgents(cwd) {
package/src/lib/prompt.js CHANGED
@@ -34,12 +34,19 @@ export function selectPrompt(question, choices, { defaultIndex = 0 } = {}) {
34
34
  }
35
35
 
36
36
  function render() {
37
- const lines = choices.map((c, i) => {
37
+ const lines = [];
38
+ for (let i = 0; i < choices.length; i++) {
39
+ const c = choices[i];
38
40
  const marker = i === selected ? chalk.cyan('\u276f') : ' ';
39
41
  const label = i === selected ? chalk.cyan(c.label) : c.label;
40
42
  const hint = c.hint ? chalk.dim(` ${c.hint}`) : '';
41
- return ` ${marker} ${label}${hint}`;
42
- });
43
+ lines.push(` ${marker} ${label}${hint}`);
44
+ if (c.descriptionLines) {
45
+ for (const dl of c.descriptionLines) {
46
+ lines.push(chalk.dim(` ${dl}`));
47
+ }
48
+ }
49
+ }
43
50
  lines.push('');
44
51
  lines.push(chalk.dim(' ↑↓ naviger · enter vælg · esc tilbage'));
45
52
  return lines;