@qzhuli/qzhuli-cli 0.4.0-rc.3 → 0.4.1
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 +5 -5
- package/dist/cmd.js +1 -1
- package/package.json +1 -1
- package/skills/qzhuli-cli/SKILL.md +4 -2
package/README.md
CHANGED
|
@@ -39,23 +39,23 @@ If the automatic install didn't work (e.g. local `npm install` without `-g`):
|
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
# Install to all detected agents (global)
|
|
42
|
-
npx qz-install-skill
|
|
42
|
+
npx -p @qzhuli/qzhuli-cli qz-install-skill
|
|
43
43
|
|
|
44
44
|
# Install to current project's skill directory
|
|
45
|
-
npx qz-install-skill --project
|
|
45
|
+
npx -p @qzhuli/qzhuli-cli qz-install-skill --project
|
|
46
46
|
|
|
47
47
|
# Install to a specific agent only
|
|
48
|
-
npx qz-install-skill --agent claude-code
|
|
48
|
+
npx -p @qzhuli/qzhuli-cli qz-install-skill --agent claude-code
|
|
49
49
|
|
|
50
50
|
# Update existing installs if skill version changed
|
|
51
|
-
npx qz-install-skill --update
|
|
51
|
+
npx -p @qzhuli/qzhuli-cli qz-install-skill --update
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
### Updating
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
npm update -g @qzhuli/qzhuli-cli
|
|
58
|
-
npx qz-install-skill --update
|
|
58
|
+
npx -p @qzhuli/qzhuli-cli qz-install-skill --update
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
The postinstall script auto-installs the skill on `npm install -g`. Use the `npx` command above to update skills without
|
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.
|
|
14810
|
+
program.name("qz").version(`v${"0.4.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"));
|
|
14811
14811
|
program.usage("<command> [subcommand] [options]");
|
|
14812
14812
|
program.hook("preAction", () => {
|
|
14813
14813
|
const opts = program.opts();
|
package/package.json
CHANGED
|
@@ -32,8 +32,10 @@ Concise operating manual for the `qz` command.
|
|
|
32
32
|
|
|
33
33
|
When ANY of the following applies, STOP and ask the user first:
|
|
34
34
|
|
|
35
|
-
- **
|
|
36
|
-
and ask
|
|
35
|
+
- **Multiple options from any query**: `user search`, `friend list`, `conversation search`, `friend profile` or similar
|
|
36
|
+
commands return multiple candidates — show all options with clear identifiers (name, Q助号, UID) and ask which one
|
|
37
|
+
to use.
|
|
38
|
+
- **Ambiguous search results**: `status: "needs_resolution"` — show options and ask.
|
|
37
39
|
- **Friend operations**: Before `user add`, show the target profile and confirm.
|
|
38
40
|
- **Relation changes**: Before `relation set`, show the current value and the new value, then confirm.
|
|
39
41
|
- **Message sending**: Before `message send`, show the target conversation, recipient, and message content.
|