apero-kit-cli 1.7.0 → 2.0.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/bin/ak.js CHANGED
@@ -1,86 +1,2 @@
1
1
  #!/usr/bin/env node
2
-
3
- import { program } from 'commander';
4
- import chalk from 'chalk';
5
- import { initCommand } from '../src/commands/init.js';
6
- import { addCommand } from '../src/commands/add.js';
7
- import { listCommand } from '../src/commands/list.js';
8
- import { updateCommand } from '../src/commands/update.js';
9
- import { statusCommand } from '../src/commands/status.js';
10
- import { doctorCommand } from '../src/commands/doctor.js';
11
- import { helpCommand } from '../src/commands/help.js';
12
-
13
- const VERSION = '1.4.2';
14
-
15
- console.log(chalk.cyan.bold('\n Apero Kit CLI') + chalk.gray(` v${VERSION}\n`));
16
-
17
- program
18
- .name('ak')
19
- .description('Scaffold AI agent projects with pre-configured kits')
20
- .version(VERSION);
21
-
22
- // ak init [project-name] --kit <kit-type>
23
- program
24
- .command('init [project-name]')
25
- .description('Initialize a new project with an agent kit')
26
- .option('-k, --kit <type>', 'Kit type (engineer, researcher, designer, minimal, full, custom)')
27
- .option('-t, --target <target>', 'Target folder (claude, opencode, generic)', 'claude')
28
- .option('-s, --source <path>', 'Custom source path for templates')
29
- .option('-f, --force', 'Overwrite existing directory')
30
- .action(initCommand);
31
-
32
- // ak add <type>:<name>
33
- program
34
- .command('add <item>')
35
- .description('Add agent, skill, or command (e.g., ak add skill:databases)')
36
- .option('-s, --source <path>', 'Custom source path')
37
- .option('-p, --path <path>', 'Target project path', '.')
38
- .action(addCommand);
39
-
40
- // ak list [type]
41
- program
42
- .command('list [type]')
43
- .description('List available kits, agents, skills, or commands')
44
- .option('-s, --source <path>', 'Custom source path')
45
- .action(listCommand);
46
-
47
- // ak update
48
- program
49
- .command('update')
50
- .description('Update/sync from source templates')
51
- .option('-s, --source <path>', 'Source path to sync from')
52
- .option('--agents', 'Update only agents')
53
- .option('--skills', 'Update only skills')
54
- .option('--commands', 'Update only commands')
55
- .option('--all', 'Update everything')
56
- .option('-n, --dry-run', 'Show what would be updated without making changes')
57
- .option('-f, --force', 'Force update without confirmation')
58
- .action(updateCommand);
59
-
60
- // ak status
61
- program
62
- .command('status')
63
- .description('Show project status and file changes')
64
- .option('-v, --verbose', 'Show all files')
65
- .action(statusCommand);
66
-
67
- // ak doctor
68
- program
69
- .command('doctor')
70
- .description('Check project health and diagnose issues')
71
- .action(doctorCommand);
72
-
73
- // ak kits - alias
74
- program
75
- .command('kits')
76
- .description('List all available kits')
77
- .action(() => listCommand('kits'));
78
-
79
- // ak help - interactive documentation
80
- program
81
- .command('help')
82
- .description('Open interactive help documentation in browser')
83
- .option('-s, --source <path>', 'Custom source path')
84
- .action(helpCommand);
85
-
86
- program.parse();
2
+ import '../dist/index.js';