pingcode-cli-unofficial 1.9.0 → 2.0.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/README.md +41 -20
- package/dist/bin/pingcode.js +3958 -882
- package/dist/bin/pingcode.js.map +1 -1
- package/package.json +4 -2
- package/skills/pingcode/SKILL.md +18 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pingcode-cli-unofficial",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Command-line client for the PingCode Open API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,15 @@
|
|
|
24
24
|
"test:coverage": "vitest run --coverage",
|
|
25
25
|
"catalog:sync": "node --experimental-strip-types scripts/catalog-sync.ts",
|
|
26
26
|
"catalog:check": "node --experimental-strip-types scripts/catalog-sync.ts --check",
|
|
27
|
-
"skill:install": "node
|
|
27
|
+
"skill:install": "node dist/bin/pingcode.js skill install",
|
|
28
|
+
"preskill:install": "npm run build",
|
|
28
29
|
"scan:secrets": "node --experimental-strip-types scripts/scan-secrets.ts",
|
|
29
30
|
"check:commits": "node --experimental-strip-types scripts/check-commits.ts",
|
|
30
31
|
"hooks:install": "node scripts/install-hooks.mjs",
|
|
31
32
|
"prepare": "node scripts/install-hooks.mjs"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
35
|
+
"@clack/prompts": "^1.8.0",
|
|
34
36
|
"commander": "^12.1.0",
|
|
35
37
|
"picocolors": "^1.1.1"
|
|
36
38
|
},
|
package/skills/pingcode/SKILL.md
CHANGED
|
@@ -425,7 +425,22 @@ them inline next to the family they belong to. If a module document does not men
|
|
|
425
425
|
From a checkout of the CLI repository:
|
|
426
426
|
|
|
427
427
|
```bash
|
|
428
|
-
npm run skill:install -- --dry-run # show the
|
|
429
|
-
npm run skill:install #
|
|
428
|
+
npm run skill:install -- --dry-run # show the plan, write nothing
|
|
429
|
+
npm run skill:install # pick targets on a TTY, else install everywhere
|
|
430
|
+
npm run skill:install -- --target claude-code # one agent
|
|
431
|
+
npm run skill:install -- --target cursor,codex # several agents
|
|
430
432
|
npm run skill:install -- --force # overwrite existing copies
|
|
431
|
-
```
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
The target list matches `gh skill install`: 48 agents collapsing onto 43 distinct directories,
|
|
436
|
+
because a few agents read the same one (`.agents/skills` is shared by Codex, Cline, Universal and
|
|
437
|
+
Warp; `.config/agents/skills` by Amp, Kimi Code CLI and Replit). Each directory is written once no
|
|
438
|
+
matter how many agents point at it. `skill list` shows every agent, its directory and whether the
|
|
439
|
+
skill is installed there.
|
|
440
|
+
|
|
441
|
+
`--target` is comma-separated and case-insensitive, `all` means every agent, and `claude` is still
|
|
442
|
+
accepted as an alias for `claude-code`. An unknown id exits `2` and lists the valid ones — it is
|
|
443
|
+
never silently ignored. With no `--target` the command prompts when stdout is a TTY and `CI` is
|
|
444
|
+
unset, defaulting the selection to the agents that already have the skill plus whichever agent is
|
|
445
|
+
detected from the environment; everywhere else it installs everywhere. `--dry-run` prints the plan
|
|
446
|
+
and writes nothing.
|