lokuma-cli 1.4.7 → 1.4.8
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.js +3 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -80,11 +80,8 @@ function resolvePath(p) {
|
|
|
80
80
|
if (p.startsWith("~/")) return join(homedir(), p.slice(2));
|
|
81
81
|
return p;
|
|
82
82
|
}
|
|
83
|
-
function buildSkillMd(scriptPath
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
` : "";
|
|
87
|
-
return `${keyLine}---
|
|
83
|
+
function buildSkillMd(scriptPath) {
|
|
84
|
+
return `---
|
|
88
85
|
name: frontend-designer
|
|
89
86
|
description: >
|
|
90
87
|
Lokuma design intelligence. Use this skill whenever building or modifying UI:
|
|
@@ -246,8 +243,7 @@ async function initCommand(options) {
|
|
|
246
243
|
}
|
|
247
244
|
await mkdir(dirname(paths.skillMd), { recursive: true });
|
|
248
245
|
await mkdir(dirname(paths.scriptPy), { recursive: true });
|
|
249
|
-
|
|
250
|
-
await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy, apiKey), "utf-8");
|
|
246
|
+
await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy), "utf-8");
|
|
251
247
|
await writeFile(paths.scriptPy, DESIGN_PY, "utf-8");
|
|
252
248
|
installed.push({ name: AI_DISPLAY_NAMES[t], skillMd: paths.skillMd, scriptPy: paths.scriptPy });
|
|
253
249
|
}
|