@qzhuli/qzhuli-cli 0.4.0-rc.1 → 0.4.0-rc.2

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
@@ -37,29 +37,26 @@ If the automatic install didn't work (e.g. local `npm install` without `-g`):
37
37
 
38
38
  ```bash
39
39
  # Install to all detected agents (global)
40
- pnpm install:skill
40
+ npx @qzhuli/qzhuli-cli scripts/install-skill.mjs
41
41
 
42
42
  # Install to current project's skill directory
43
- pnpm install:skill --project
43
+ npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --project
44
44
 
45
45
  # Install to a specific agent only
46
- pnpm install:skill --agent claude-code
46
+ npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --agent claude-code
47
47
 
48
48
  # Update existing installs if skill version changed
49
- pnpm install:skill --update
50
-
51
- # From npm package directly
52
- npx @qzhuli/qzhuli-cli scripts/install-skill.mjs
49
+ npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --update
53
50
  ```
54
51
 
55
52
  ### Updating
56
53
 
57
54
  ```bash
58
55
  npm update -g @qzhuli/qzhuli-cli
59
- pnpm install:skill --update
56
+ npx @qzhuli/qzhuli-cli scripts/install-skill.mjs --update
60
57
  ```
61
58
 
62
- The postinstall script auto-installs the skill on `npm install -g`. Use `install:skill --update` to update skills without reinstalling the whole package.
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.
63
60
 
64
61
  ## Commands
65
62
 
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.1"}`, "-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.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"));
14811
14811
  program.usage("<command> [subcommand] [options]");
14812
14812
  program.hook("preAction", () => {
14813
14813
  const opts = program.opts();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qzhuli/qzhuli-cli",
3
- "version": "0.4.0-rc.1",
3
+ "version": "0.4.0-rc.2",
4
4
  "description": "CLI tool for Q助理 (QZhuli)",
5
5
  "main": "dist/cmd.js",
6
6
  "bin": {
@@ -33,8 +33,7 @@
33
33
  "qz": "node dist/cmd.js",
34
34
  "install:local:test": "cross-env QZ_BUILD_ENV=test pnpm build && npm install -g .",
35
35
  "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"
36
+ "uninstall:local": "npm uninstall -g @qzhuli/qzhuli-cli"
38
37
  },
39
38
  "keywords": [
40
39
  "cli",