@skillkit/cli 1.6.4 → 1.7.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/index.d.ts +4 -0
- package/dist/index.js +27 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,10 @@ declare class CreateCommand extends Command {
|
|
|
102
102
|
execute(): Promise<number>;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* UI Command - Launch the SkillKit TUI
|
|
107
|
+
* Uses the unified OpenTUI-based interface
|
|
108
|
+
*/
|
|
105
109
|
declare class UICommand extends Command {
|
|
106
110
|
static paths: string[][];
|
|
107
111
|
static usage: clipanion.Usage;
|
package/dist/index.js
CHANGED
|
@@ -1029,15 +1029,39 @@ var UICommand = class extends Command11 {
|
|
|
1029
1029
|
static paths = [["ui"], ["tui"]];
|
|
1030
1030
|
static usage = Command11.Usage({
|
|
1031
1031
|
description: "Launch the interactive TUI (Terminal User Interface)",
|
|
1032
|
+
details: `
|
|
1033
|
+
Launches the SkillKit TUI with a beautiful monochromatic design.
|
|
1034
|
+
|
|
1035
|
+
Features:
|
|
1036
|
+
- Browse and discover skills from the marketplace
|
|
1037
|
+
- Manage installed skills across 17+ AI coding agents
|
|
1038
|
+
- Sync skills between agents
|
|
1039
|
+
- AI-powered recommendations
|
|
1040
|
+
- Team collaboration
|
|
1041
|
+
|
|
1042
|
+
Requires Bun runtime (>=1.2.0) for optimal performance.
|
|
1043
|
+
`,
|
|
1032
1044
|
examples: [
|
|
1033
1045
|
["Open interactive TUI", "$0 ui"],
|
|
1034
1046
|
["Alias for TUI", "$0 tui"]
|
|
1035
1047
|
]
|
|
1036
1048
|
});
|
|
1037
1049
|
async execute() {
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1050
|
+
try {
|
|
1051
|
+
const { startTUI } = await import("@skillkit/tui");
|
|
1052
|
+
await startTUI();
|
|
1053
|
+
return 0;
|
|
1054
|
+
} catch (err) {
|
|
1055
|
+
if (err instanceof Error) {
|
|
1056
|
+
console.error("Error launching TUI:", err.message);
|
|
1057
|
+
console.error("");
|
|
1058
|
+
console.error("Make sure you are running with Bun (>=1.2.0):");
|
|
1059
|
+
console.error(" bun skillkit ui");
|
|
1060
|
+
console.error("");
|
|
1061
|
+
console.error("Install Bun from: https://bun.sh");
|
|
1062
|
+
}
|
|
1063
|
+
return 1;
|
|
1064
|
+
}
|
|
1041
1065
|
}
|
|
1042
1066
|
};
|
|
1043
1067
|
|