@postplus/cli 0.1.16 → 0.1.17
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 +4 -1
- package/build/skill-catalog.js +1 -1
- package/build/skill-management.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,9 +33,12 @@ Requires Node.js and npm.
|
|
|
33
33
|
```bash
|
|
34
34
|
npm install -g @postplus/cli
|
|
35
35
|
postplus auth login
|
|
36
|
-
npx -y skills add PostPlusAI/postplus-skills --full-depth --skill '*' --agent claude-code codex cursor github-copilot windsurf trae trae-cn --yes
|
|
36
|
+
npx -y skills add PostPlusAI/postplus-skills --global --full-depth --skill '*' --agent claude-code codex cursor github-copilot windsurf trae trae-cn --yes
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
Start a new agent session or restart the local agent app after installation so
|
|
40
|
+
the global skills are loaded.
|
|
41
|
+
|
|
39
42
|
Useful checks:
|
|
40
43
|
|
|
41
44
|
```bash
|
package/build/skill-catalog.js
CHANGED
|
@@ -9,7 +9,7 @@ export const POSTPLUS_SKILLS_AGENT_TARGETS = [
|
|
|
9
9
|
'trae-cn',
|
|
10
10
|
];
|
|
11
11
|
const POSTPLUS_SKILLS_AGENT_ARGS = POSTPLUS_SKILLS_AGENT_TARGETS.join(' ');
|
|
12
|
-
export const POSTPLUS_SKILLS_INSTALL_COMMAND = `npx -y skills add PostPlusAI/postplus-skills --full-depth --skill '*' --agent ${POSTPLUS_SKILLS_AGENT_ARGS} --yes`;
|
|
12
|
+
export const POSTPLUS_SKILLS_INSTALL_COMMAND = `npx -y skills add PostPlusAI/postplus-skills --global --full-depth --skill '*' --agent ${POSTPLUS_SKILLS_AGENT_ARGS} --yes`;
|
|
13
13
|
export const POSTPLUS_SKILLS_LIST_COMMAND = 'npx -y skills add PostPlusAI/postplus-skills --list --full-depth';
|
|
14
14
|
const POSTPLUS_SKILLS_INDEX_URL = 'https://raw.githubusercontent.com/PostPlusAI/postplus-skills/main/skills/INDEX.md';
|
|
15
15
|
export async function loadPublicSkillCatalog() {
|
|
@@ -84,13 +84,14 @@ export function formatSkillInstallStatusReport(report) {
|
|
|
84
84
|
return lines.join('\n');
|
|
85
85
|
}
|
|
86
86
|
export function buildPostPlusSkillUpdateArgs(skillNames) {
|
|
87
|
-
return [...NPX_SKILLS, 'update', ...skillNames, '--yes'];
|
|
87
|
+
return [...NPX_SKILLS, 'update', ...skillNames, '--global', '--yes'];
|
|
88
88
|
}
|
|
89
89
|
export function buildPostPlusSkillUninstallArgs(skillNames) {
|
|
90
90
|
return [
|
|
91
91
|
...NPX_SKILLS,
|
|
92
92
|
'remove',
|
|
93
93
|
...skillNames,
|
|
94
|
+
'--global',
|
|
94
95
|
'--agent',
|
|
95
96
|
...POSTPLUS_SKILLS_AGENT_TARGETS,
|
|
96
97
|
'--yes',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postplus/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "PostPlus CLI for PostPlus Cloud auth, status, and diagnostics.",
|