skilluse 0.9.0 → 0.10.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/dist/cli.js +35 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -66477,8 +66477,8 @@ var AGENTS = {
|
|
|
66477
66477
|
id: "opencode",
|
|
66478
66478
|
name: "OpenCode",
|
|
66479
66479
|
description: "OpenCode CLI",
|
|
66480
|
-
localPath: ".opencode/
|
|
66481
|
-
globalPath: join(homedir2(), ".opencode/
|
|
66480
|
+
localPath: ".opencode/skill",
|
|
66481
|
+
globalPath: join(homedir2(), ".config/opencode/skill")
|
|
66482
66482
|
},
|
|
66483
66483
|
letta: {
|
|
66484
66484
|
id: "letta",
|
|
@@ -67802,11 +67802,23 @@ function Install({ args: [skillName], options: opts }) {
|
|
|
67802
67802
|
setState({ phase: "no_repos" });
|
|
67803
67803
|
return;
|
|
67804
67804
|
}
|
|
67805
|
-
|
|
67806
|
-
|
|
67807
|
-
|
|
67805
|
+
let searchRepos;
|
|
67806
|
+
if (config2.defaultRepo) {
|
|
67807
|
+
const defaultRepoConfig = config2.repos.find((r) => r.repo === config2.defaultRepo);
|
|
67808
|
+
if (defaultRepoConfig) {
|
|
67809
|
+
searchRepos = [defaultRepoConfig];
|
|
67810
|
+
} else {
|
|
67811
|
+
setState({
|
|
67812
|
+
phase: "error",
|
|
67813
|
+
message: `Default repo "${config2.defaultRepo}" not found in configured repos`
|
|
67814
|
+
});
|
|
67815
|
+
return;
|
|
67816
|
+
}
|
|
67817
|
+
} else {
|
|
67818
|
+
searchRepos = config2.repos;
|
|
67808
67819
|
}
|
|
67809
|
-
|
|
67820
|
+
setState({ phase: "searching", repo: searchRepos[0].repo });
|
|
67821
|
+
const findResult = await findSkill(token, searchRepos, source.name);
|
|
67810
67822
|
if ("authRequired" in findResult) {
|
|
67811
67823
|
setState({ phase: "auth_required", message: findResult.message });
|
|
67812
67824
|
return;
|
|
@@ -68134,16 +68146,23 @@ function Install({ args: [skillName], options: opts }) {
|
|
|
68134
68146
|
]
|
|
68135
68147
|
}, undefined, true, undefined, this),
|
|
68136
68148
|
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(Box_default, {
|
|
68149
|
+
flexDirection: "column",
|
|
68137
68150
|
marginTop: 1,
|
|
68138
|
-
children:
|
|
68139
|
-
|
|
68140
|
-
|
|
68141
|
-
|
|
68142
|
-
|
|
68143
|
-
|
|
68144
|
-
|
|
68145
|
-
|
|
68146
|
-
|
|
68151
|
+
children: [
|
|
68152
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(Text, {
|
|
68153
|
+
dimColor: true,
|
|
68154
|
+
children: [
|
|
68155
|
+
"Try 'skilluse search ",
|
|
68156
|
+
state.skillName,
|
|
68157
|
+
"' to find available skills."
|
|
68158
|
+
]
|
|
68159
|
+
}, undefined, true, undefined, this),
|
|
68160
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(Text, {
|
|
68161
|
+
dimColor: true,
|
|
68162
|
+
children: "Or install from a specific repo: skilluse install https://github.com/owner/repo/tree/main/skill-name"
|
|
68163
|
+
}, undefined, false, undefined, this)
|
|
68164
|
+
]
|
|
68165
|
+
}, undefined, true, undefined, this)
|
|
68147
68166
|
]
|
|
68148
68167
|
}, undefined, true, undefined, this);
|
|
68149
68168
|
case "conflict":
|
|
@@ -71785,7 +71804,7 @@ function Publish({ args: [skillName] }) {
|
|
|
71785
71804
|
// package.json
|
|
71786
71805
|
var package_default = {
|
|
71787
71806
|
name: "skilluse",
|
|
71788
|
-
version: "0.
|
|
71807
|
+
version: "0.10.0",
|
|
71789
71808
|
description: "CLI tool for managing and installing AI Coding Agent Skills",
|
|
71790
71809
|
main: "dist/cli.js",
|
|
71791
71810
|
bin: {
|