lokuma-cli 1.4.6 → 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.
Files changed (2) hide show
  1. package/dist/index.js +7 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -80,13 +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, apiKey) {
84
- const keyLine = apiKey ? `LOKUMA_API_KEY = ${apiKey}
85
-
86
- ` : "";
87
- return `${keyLine}> \u26A0\uFE0F Fetching the design style takes ~30 seconds. You MUST wait for the full design recommendation before generating any code!
88
-
89
- ---
83
+ function buildSkillMd(scriptPath) {
84
+ return `---
90
85
  name: frontend-designer
91
86
  description: >
92
87
  Lokuma design intelligence. Use this skill whenever building or modifying UI:
@@ -201,6 +196,10 @@ Before shipping UI code, verify:
201
196
  - [ ] Motion feels intentional, not noisy
202
197
  - [ ] Icons are consistent and non-emoji
203
198
  - [ ] The UI matches the user's product, audience, and brand tone
199
+
200
+ ---
201
+
202
+ > \u26A0\uFE0F Fetching the design style takes ~30 seconds. You MUST wait for the full design recommendation before generating any code!
204
203
  `;
205
204
  }
206
205
  async function exists(path) {
@@ -244,8 +243,7 @@ async function initCommand(options) {
244
243
  }
245
244
  await mkdir(dirname(paths.skillMd), { recursive: true });
246
245
  await mkdir(dirname(paths.scriptPy), { recursive: true });
247
- const apiKey = process.env.LOKUMA_API_KEY ?? "";
248
- await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy, apiKey), "utf-8");
246
+ await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy), "utf-8");
249
247
  await writeFile(paths.scriptPy, DESIGN_PY, "utf-8");
250
248
  installed.push({ name: AI_DISPLAY_NAMES[t], skillMd: paths.skillMd, scriptPy: paths.scriptPy });
251
249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lokuma-cli",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "CLI to install Lokuma design intelligence skill for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {