bfi-cli 0.1.35 → 0.1.36
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.mjs +3 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -4115,19 +4115,18 @@ async function promptForBfiSkill(options, targetAgents) {
|
|
|
4115
4115
|
console.log();
|
|
4116
4116
|
log.step("正在安装 skillhub-skills 技能...");
|
|
4117
4117
|
try {
|
|
4118
|
-
await runAdd(["
|
|
4119
|
-
skill: ["skillhub-skills"],
|
|
4118
|
+
await runAdd(["@global/skillhub-skills"], {
|
|
4120
4119
|
global: true,
|
|
4121
4120
|
yes: true,
|
|
4122
4121
|
agent: bfiSkillAgents
|
|
4123
4122
|
});
|
|
4124
4123
|
} catch {
|
|
4125
4124
|
log.warn("安装 skillhub-skills 失败。你可以稍后重试:");
|
|
4126
|
-
log.message(import_picocolors.default.dim(" bfi skills add
|
|
4125
|
+
log.message(import_picocolors.default.dim(" bfi skills add @global/skillhub-skills -g -y"));
|
|
4127
4126
|
}
|
|
4128
4127
|
} else {
|
|
4129
4128
|
await dismissPrompt("bfiSkillPrompt");
|
|
4130
|
-
log.message(import_picocolors.default.dim("你可以稍后通过以下命令安装:bfi skills add
|
|
4129
|
+
log.message(import_picocolors.default.dim("你可以稍后通过以下命令安装:bfi skills add @global/skillhub-skills -g -y"));
|
|
4131
4130
|
}
|
|
4132
4131
|
} catch {}
|
|
4133
4132
|
}
|