@lumerahq/cli 0.19.0 → 0.19.1
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
CHANGED
|
@@ -264,7 +264,7 @@ async function main() {
|
|
|
264
264
|
break;
|
|
265
265
|
// Skills
|
|
266
266
|
case "skills":
|
|
267
|
-
await import("./skills-
|
|
267
|
+
await import("./skills-TNJHMV4F.js").then((m) => m.skills(subcommand, args.slice(2)));
|
|
268
268
|
break;
|
|
269
269
|
// Dependencies
|
|
270
270
|
case "deps":
|
|
@@ -20,7 +20,7 @@ import { join, resolve } from "path";
|
|
|
20
20
|
function findProjectRoot() {
|
|
21
21
|
let dir = process.cwd();
|
|
22
22
|
while (dir !== "/") {
|
|
23
|
-
if (existsSync(join(dir, "
|
|
23
|
+
if (existsSync(join(dir, ".agents")) || existsSync(join(dir, ".claude"))) {
|
|
24
24
|
return dir;
|
|
25
25
|
}
|
|
26
26
|
dir = resolve(dir, "..");
|
|
@@ -199,7 +199,7 @@ async function install(flags) {
|
|
|
199
199
|
const projectRoot = findProjectRoot();
|
|
200
200
|
if (!projectRoot) {
|
|
201
201
|
console.log(pc.red(" Error: Not in a Lumera project directory"));
|
|
202
|
-
console.log(pc.dim(" Run this command from a directory containing
|
|
202
|
+
console.log(pc.dim(" Run this command from a directory containing .agents/ or .claude/"));
|
|
203
203
|
process.exit(1);
|
|
204
204
|
}
|
|
205
205
|
const skillsDir = join(projectRoot, ".agents", "skills");
|
|
@@ -256,7 +256,7 @@ async function update(args, flags) {
|
|
|
256
256
|
const projectRoot = findProjectRoot();
|
|
257
257
|
if (!projectRoot) {
|
|
258
258
|
console.log(pc.red(" Error: Not in a Lumera project directory"));
|
|
259
|
-
console.log(pc.dim(" Run this command from a directory containing
|
|
259
|
+
console.log(pc.dim(" Run this command from a directory containing .agents/ or .claude/"));
|
|
260
260
|
process.exit(1);
|
|
261
261
|
}
|
|
262
262
|
const skillsDir = join(projectRoot, ".agents", "skills");
|