@valentia-ai-skills/framework 1.0.6 → 1.0.7

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/bin/cli.js +7 -10
  2. package/package.json +2 -2
package/bin/cli.js CHANGED
@@ -298,7 +298,6 @@ async function cmdSetup() {
298
298
 
299
299
  let skills;
300
300
  let teamName = null;
301
- let useRemote = true;
302
301
 
303
302
  try {
304
303
  // 3. Request OTP (with 1 retry for wrong email)
@@ -330,11 +329,9 @@ async function cmdSetup() {
330
329
  console.log(` ${c("bold", skills.length)} skill(s) to install\n`);
331
330
 
332
331
  } catch (err) {
333
- console.log(c("yellow", `\n Could not reach skills server: ${err.message}`));
334
- console.log(c("dim", " Falling back to local skills from npm package...\n"));
335
-
336
- skills = getLocalSkills();
337
- useRemote = false;
332
+ console.log(c("red", `\n Could not complete verification: ${err.message}`));
333
+ console.log(c("dim", " Please check your internet connection and try again.\n"));
334
+ process.exit(1);
338
335
  }
339
336
 
340
337
  if (skills.length === 0) {
@@ -362,7 +359,7 @@ async function cmdSetup() {
362
359
  version: require(path.join(__dirname, "..", "package.json")).version,
363
360
  email,
364
361
  team: teamName,
365
- source: useRemote ? "supabase" : "local",
362
+ source: "supabase",
366
363
  tools,
367
364
  skills: skills.map((s) => ({ name: s.name, scope: s.scope, version: s.version })),
368
365
  installedAt: new Date().toISOString(),
@@ -408,9 +405,9 @@ async function cmdUpdate() {
408
405
  console.log(c("yellow", `⚠ ${response.message || "No team found."}`));
409
406
  }
410
407
  } catch (err) {
411
- console.log(c("yellow", `⚠ Server unreachable: ${err.message}`));
412
- console.log(c("dim", " Using local fallback...\n"));
413
- skills = getLocalSkills();
408
+ console.log(c("red", `\n✗ Could not complete verification: ${err.message}`));
409
+ console.log(c("dim", " Please check your internet connection and try again.\n"));
410
+ process.exit(1);
414
411
  }
415
412
 
416
413
  const tools = config.tools || detectTools();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valentia-ai-skills/framework",
3
- "version": "1.0.6",
4
- "description": "AI development skills framework — centralized coding standards, security patterns, and SOPs for AI-assisted development. Works with Claude Code, Cursor, Copilot, Windsurf, and any AI coding tool.",
3
+ "version": "1.0.7",
4
+ "description": "AI development skills framework — centralized coding standards, security patterns, and SOPs for AI-assisted development. Works with Claude Code, Cursor, Copilot, Windsurf, and any AI coding tool.",
5
5
  "keywords": [
6
6
  "ai-skills",
7
7
  "claude-code",