@qzhuli/qzhuli-cli 0.4.0-rc.1 → 0.4.0-rc.3
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/README.md +11 -11
- package/dist/cmd.js +1 -1
- package/package.json +4 -4
- package/scripts/install-skill.mjs +1 -0
package/README.md
CHANGED
|
@@ -25,11 +25,13 @@ npx qz --version
|
|
|
25
25
|
|
|
26
26
|
## AI Agent Skill
|
|
27
27
|
|
|
28
|
-
The CLI ships with a `SKILL.md` that teaches AI agents how to use it. During `npm install -g`, the skill is
|
|
28
|
+
The CLI ships with a `SKILL.md` that teaches AI agents how to use it. During `npm install -g`, the skill is
|
|
29
|
+
automatically installed to your agent's skill directory.
|
|
29
30
|
|
|
30
31
|
### Supported agents (18)
|
|
31
32
|
|
|
32
|
-
Claude Code, Cursor, Codex, Copilot, Windsurf, OpenClaw, OpenCode, Cline, Gemini CLI, Amp, Roo, Goose, Kiro, Qwen Code,
|
|
33
|
+
Claude Code, Cursor, Codex, Copilot, Windsurf, OpenClaw, OpenCode, Cline, Gemini CLI, Amp, Roo, Goose, Kiro, Qwen Code,
|
|
34
|
+
Qoder, Trae, Augment, Zed.
|
|
33
35
|
|
|
34
36
|
### Manual skill install
|
|
35
37
|
|
|
@@ -37,29 +39,27 @@ If the automatic install didn't work (e.g. local `npm install` without `-g`):
|
|
|
37
39
|
|
|
38
40
|
```bash
|
|
39
41
|
# Install to all detected agents (global)
|
|
40
|
-
|
|
42
|
+
npx qz-install-skill
|
|
41
43
|
|
|
42
44
|
# Install to current project's skill directory
|
|
43
|
-
|
|
45
|
+
npx qz-install-skill --project
|
|
44
46
|
|
|
45
47
|
# Install to a specific agent only
|
|
46
|
-
|
|
48
|
+
npx qz-install-skill --agent claude-code
|
|
47
49
|
|
|
48
50
|
# Update existing installs if skill version changed
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# From npm package directly
|
|
52
|
-
npx @qzhuli/qzhuli-cli scripts/install-skill.mjs
|
|
51
|
+
npx qz-install-skill --update
|
|
53
52
|
```
|
|
54
53
|
|
|
55
54
|
### Updating
|
|
56
55
|
|
|
57
56
|
```bash
|
|
58
57
|
npm update -g @qzhuli/qzhuli-cli
|
|
59
|
-
|
|
58
|
+
npx qz-install-skill --update
|
|
60
59
|
```
|
|
61
60
|
|
|
62
|
-
The postinstall script auto-installs the skill on `npm install -g`. Use
|
|
61
|
+
The postinstall script auto-installs the skill on `npm install -g`. Use the `npx` command above to update skills without
|
|
62
|
+
reinstalling the whole package.
|
|
63
63
|
|
|
64
64
|
## Commands
|
|
65
65
|
|
package/dist/cmd.js
CHANGED
|
@@ -14807,7 +14807,7 @@ async function main() {
|
|
|
14807
14807
|
${t("cli.banner")}` : t("cli.banner");
|
|
14808
14808
|
program.addHelpText("beforeAll", `${banner}
|
|
14809
14809
|
`);
|
|
14810
|
-
program.name("qz").version(`v${"0.4.0-rc.
|
|
14810
|
+
program.name("qz").version(`v${"0.4.0-rc.3"}`, "-v, --version", t("options.version")).helpOption("-h, --help", t("options.help")).option("-q, --jq <expr>", t("options.jq")).option("--dry-run", t("options.dryRun"));
|
|
14811
14811
|
program.usage("<command> [subcommand] [options]");
|
|
14812
14812
|
program.hook("preAction", () => {
|
|
14813
14813
|
const opts = program.opts();
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qzhuli/qzhuli-cli",
|
|
3
|
-
"version": "0.4.0-rc.
|
|
3
|
+
"version": "0.4.0-rc.3",
|
|
4
4
|
"description": "CLI tool for Q助理 (QZhuli)",
|
|
5
5
|
"main": "dist/cmd.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"qz": "dist/cmd.js"
|
|
7
|
+
"qz": "dist/cmd.js",
|
|
8
|
+
"qz-install-skill": "scripts/install-skill.mjs"
|
|
8
9
|
},
|
|
9
10
|
"files": [
|
|
10
11
|
"dist",
|
|
@@ -33,8 +34,7 @@
|
|
|
33
34
|
"qz": "node dist/cmd.js",
|
|
34
35
|
"install:local:test": "cross-env QZ_BUILD_ENV=test pnpm build && npm install -g .",
|
|
35
36
|
"install:local:prod": "pnpm build && npm install -g .",
|
|
36
|
-
"uninstall:local": "npm uninstall -g @qzhuli/qzhuli-cli"
|
|
37
|
-
"install:skill": "node scripts/install-skill.mjs"
|
|
37
|
+
"uninstall:local": "npm uninstall -g @qzhuli/qzhuli-cli"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"cli",
|