@ax-llm/ax 16.0.12 → 16.0.13

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/cli/index.mjs CHANGED
@@ -4,7 +4,7 @@
4
4
  * CLI for @ax-llm/ax
5
5
  *
6
6
  * Commands:
7
- * setup-claude [--force] Install/upgrade Claude Code skill to ~/.claude/skills/ax/
7
+ * setup-claude [--force] Install/upgrade Claude Code skill to .claude/skills/ax/ (project-local)
8
8
  * remove-claude Remove the Claude Code skill
9
9
  *
10
10
  * Usage:
@@ -22,7 +22,6 @@ import {
22
22
  } from 'node:fs';
23
23
  import { dirname, join } from 'node:path';
24
24
  import { fileURLToPath } from 'node:url';
25
- import { homedir } from 'node:os';
26
25
 
27
26
  const __filename = fileURLToPath(import.meta.url);
28
27
  const __dirname = dirname(__filename);
@@ -30,8 +29,8 @@ const __dirname = dirname(__filename);
30
29
  // Skill file location in the package
31
30
  const SKILL_SOURCE = join(__dirname, '..', 'skills', 'ax-llm.md');
32
31
 
33
- // Target location in user's home directory
34
- const SKILL_TARGET_DIR = join(homedir(), '.claude', 'skills', 'ax');
32
+ // Target location in current working directory (project-local)
33
+ const SKILL_TARGET_DIR = join(process.cwd(), '.claude', 'skills', 'ax');
35
34
  const SKILL_TARGET = join(SKILL_TARGET_DIR, 'ax-llm.md');
36
35
 
37
36
  /**