@ax-llm/ax 16.0.12 → 16.1.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/cli/index.mjs +3 -4
- package/index.cjs +76 -76
- package/index.cjs.map +1 -1
- package/index.d.cts +4 -3
- package/index.d.ts +4 -3
- package/index.global.js +76 -76
- package/index.global.js.map +1 -1
- package/index.js +90 -90
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.mjs +4 -2
- package/skills/ax-llm.md +1 -1
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
|
|
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
|
|
34
|
-
const SKILL_TARGET_DIR = join(
|
|
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
|
/**
|