apero-kit-cli 1.7.0 → 1.7.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/ak.js +6 -1
  2. package/package.json +1 -1
package/bin/ak.js CHANGED
@@ -9,8 +9,13 @@ import { updateCommand } from '../src/commands/update.js';
9
9
  import { statusCommand } from '../src/commands/status.js';
10
10
  import { doctorCommand } from '../src/commands/doctor.js';
11
11
  import { helpCommand } from '../src/commands/help.js';
12
+ import { readFileSync } from 'fs';
13
+ import { fileURLToPath } from 'url';
14
+ import { dirname, join } from 'path';
12
15
 
13
- const VERSION = '1.4.2';
16
+ const __filename = fileURLToPath(import.meta.url);
17
+ const __dirname = dirname(__filename);
18
+ const { version: VERSION } = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf-8'));
14
19
 
15
20
  console.log(chalk.cyan.bold('\n Apero Kit CLI') + chalk.gray(` v${VERSION}\n`));
16
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apero-kit-cli",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "CLI tool to scaffold AI agent projects with pre-configured kits (Claude, OpenCode, Codex)",
5
5
  "type": "module",
6
6
  "bin": {