@agentskill.sh/cli 1.0.4 → 1.0.5
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/dist/api.js +1 -1
- package/dist/commands/install.js +2 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
package/dist/commands/install.js
CHANGED
|
@@ -37,13 +37,8 @@ export async function installCommand(args) {
|
|
|
37
37
|
// Parse owner from slug if present (e.g. @owner/slug or owner/slug)
|
|
38
38
|
let apiPath;
|
|
39
39
|
const cleanSlug = slug.startsWith('@') ? slug.slice(1) : slug;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
apiPath = `/agent/skills/${encodeURIComponent(owner)}/${encodeURIComponent(name)}/install`;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
apiPath = `/agent/skills/${encodeURIComponent(cleanSlug)}/install`;
|
|
46
|
-
}
|
|
40
|
+
// Use encoded composite slug (owner%2Fname) for reliable lookup
|
|
41
|
+
apiPath = `/agent/skills/${encodeURIComponent(cleanSlug)}/install`;
|
|
47
42
|
if (platform) {
|
|
48
43
|
apiPath += apiPath.includes('?') ? `&platform=${platform}` : `?platform=${platform}`;
|
|
49
44
|
}
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { listCommand } from './commands/list.js';
|
|
|
5
5
|
import { removeCommand } from './commands/remove.js';
|
|
6
6
|
import { feedbackCommand } from './commands/feedback.js';
|
|
7
7
|
import { updateCommand } from './commands/update.js';
|
|
8
|
-
const VERSION = '1.0.
|
|
8
|
+
const VERSION = '1.0.5';
|
|
9
9
|
const HELP = `ags v${VERSION} — search, install, and manage AI agent skills
|
|
10
10
|
|
|
11
11
|
Usage:
|