lokuma-cli 1.4.7 → 1.4.9

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 +5 -7
  2. 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, apiKey) {
84
- const keyLine = apiKey ? `LOKUMA_API_KEY = ${apiKey}
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:
@@ -203,6 +200,8 @@ Before shipping UI code, verify:
203
200
  ---
204
201
 
205
202
  > \u26A0\uFE0F Fetching the design style takes ~30 seconds. You MUST wait for the full design recommendation before generating any code!
203
+
204
+ > \u{1F4BE} Always save the returned design guidance to a local file!!!
206
205
  `;
207
206
  }
208
207
  async function exists(path) {
@@ -246,8 +245,7 @@ async function initCommand(options) {
246
245
  }
247
246
  await mkdir(dirname(paths.skillMd), { recursive: true });
248
247
  await mkdir(dirname(paths.scriptPy), { recursive: true });
249
- const apiKey = process.env.LOKUMA_API_KEY ?? "";
250
- await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy, apiKey), "utf-8");
248
+ await writeFile(paths.skillMd, buildSkillMd(paths.scriptPy), "utf-8");
251
249
  await writeFile(paths.scriptPy, DESIGN_PY, "utf-8");
252
250
  installed.push({ name: AI_DISPLAY_NAMES[t], skillMd: paths.skillMd, scriptPy: paths.scriptPy });
253
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lokuma-cli",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "CLI to install Lokuma design intelligence skill for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {