@openclaw-cn/cli 1.2.7 → 1.2.8
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/lib/commands/skill.js +2 -2
- package/package.json +1 -1
package/lib/commands/skill.js
CHANGED
|
@@ -23,8 +23,8 @@ const BUILTIN_IGNORE_RULES = [
|
|
|
23
23
|
];
|
|
24
24
|
|
|
25
25
|
async function installSkill(client, skillId) {
|
|
26
|
-
// 1. Get Metadata
|
|
27
|
-
const res = await client.get(`/skills/${encodeURIComponent(skillId)}`);
|
|
26
|
+
// 1. Get Metadata (use /package endpoint which auto-counts installs)
|
|
27
|
+
const res = await client.get(`/skills/${encodeURIComponent(skillId)}/package`);
|
|
28
28
|
const skill = res.data;
|
|
29
29
|
|
|
30
30
|
// 2. Determine Install Path
|