oh-skillhub 0.1.6 → 0.1.7
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 +1 -1
- package/src/cli.js +9 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -185,6 +185,7 @@ async function runInteractiveInstaller(input = process.stdin, output = process.s
|
|
|
185
185
|
}
|
|
186
186
|
output.write(`\nInstalling ${selectedChoices.map((choice) => choice.path).join(", ")} for ${agent}:user...\n`);
|
|
187
187
|
output.write(`${renderInstallForSkills(skills, { agent, scope: "user" })}\n`);
|
|
188
|
+
output.write(`${renderInteractiveCompletion(skills, { agent, scope: "user" })}\n`);
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
function readAll(input) {
|
|
@@ -547,6 +548,14 @@ function renderInstallForSkills(skills, targetOptions) {
|
|
|
547
548
|
return renderInstallPlan("Install summary", plan);
|
|
548
549
|
}
|
|
549
550
|
|
|
551
|
+
function renderInteractiveCompletion(skills, targetOptions) {
|
|
552
|
+
return [
|
|
553
|
+
"",
|
|
554
|
+
`Done. Installed ${skills.length} skill(s) for ${targetOptions.agent}:${targetOptions.scope}.`,
|
|
555
|
+
"You can close this terminal or start using the installed skills.",
|
|
556
|
+
].join("\n");
|
|
557
|
+
}
|
|
558
|
+
|
|
550
559
|
function renderInstallPlan(title, plan) {
|
|
551
560
|
const lines = [title];
|
|
552
561
|
for (const operation of plan.operations) {
|