hoomanjs 1.8.0 → 1.8.1
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/package.json
CHANGED
package/src/configure/app.tsx
CHANGED
|
@@ -838,7 +838,7 @@ export function ConfigureApp({
|
|
|
838
838
|
),
|
|
839
839
|
boldSubstring: result.name,
|
|
840
840
|
value: () => {
|
|
841
|
-
const source = result.
|
|
841
|
+
const source = result.slug || result.source;
|
|
842
842
|
void runTask(`Installing ${result.name}...`, async () => {
|
|
843
843
|
await skills.install(source);
|
|
844
844
|
await refreshSkills("Refreshing installed skills...");
|
|
@@ -209,7 +209,7 @@ export class Registry {
|
|
|
209
209
|
}
|
|
210
210
|
const data = (await res.json()) as {
|
|
211
211
|
skills: Array<{
|
|
212
|
-
|
|
212
|
+
skillId: string;
|
|
213
213
|
name: string;
|
|
214
214
|
installs: number;
|
|
215
215
|
source: string;
|
|
@@ -223,7 +223,7 @@ export class Registry {
|
|
|
223
223
|
return data.skills
|
|
224
224
|
.map((skill) => ({
|
|
225
225
|
name: skill.name,
|
|
226
|
-
slug: skill.
|
|
226
|
+
slug: `${skill.source.trim()}@${skill.skillId.trim()}`,
|
|
227
227
|
source: skill.source || "",
|
|
228
228
|
installs: skill.installs,
|
|
229
229
|
}))
|