@qzhuli/qzhuli-cli 0.4.0-rc.2 → 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 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 automatically installed to your agent's skill directory.
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, Qoder, Trae, Augment, Zed.
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,26 +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
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs
42
+ npx qz-install-skill
41
43
 
42
44
  # Install to current project's skill directory
43
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --project
45
+ npx qz-install-skill --project
44
46
 
45
47
  # Install to a specific agent only
46
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --agent claude-code
48
+ npx qz-install-skill --agent claude-code
47
49
 
48
50
  # Update existing installs if skill version changed
49
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --update
51
+ npx qz-install-skill --update
50
52
  ```
51
53
 
52
54
  ### Updating
53
55
 
54
56
  ```bash
55
57
  npm update -g @qzhuli/qzhuli-cli
56
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --update
58
+ npx qz-install-skill --update
57
59
  ```
58
60
 
59
- The postinstall script auto-installs the skill on `npm install -g`. Use the `npx` command above to update skills without reinstalling the whole package.
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.
60
63
 
61
64
  ## Commands
62
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.2"}`, "-v, --version", t("options.version")).helpOption("-h, --help", t("options.help")).option("-q, --jq <expr>", t("options.jq")).option("--dry-run", t("options.dryRun"));
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.2",
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",
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /**
2
3
  * Standalone skill installer for @qzhuli/qzhuli-cli
3
4
  *