@valentia-ai-skills/framework 1.0.7 → 1.0.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/bin/cli.js +12 -4
- package/package.json +2 -2
package/bin/cli.js
CHANGED
|
@@ -248,9 +248,15 @@ async function requestOtpForEmail(emailInput) {
|
|
|
248
248
|
|
|
249
249
|
// OTP sent successfully
|
|
250
250
|
console.log(c("green", `\n✓ Found: ${response.user_name}`));
|
|
251
|
-
console.log(c("dim", ` A verification code has been sent to ${email}\n`));
|
|
252
251
|
|
|
253
|
-
|
|
252
|
+
if (response.fallback_code) {
|
|
253
|
+
// Email delivery not configured — show code in terminal
|
|
254
|
+
console.log(c("yellow", `\n Your verification code: ${c("bold", response.fallback_code)}\n`));
|
|
255
|
+
} else {
|
|
256
|
+
console.log(c("dim", ` A verification code has been sent to ${email}\n`));
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
return { email, fallbackCode: response.fallback_code || null };
|
|
254
260
|
}
|
|
255
261
|
}
|
|
256
262
|
|
|
@@ -301,7 +307,8 @@ async function cmdSetup() {
|
|
|
301
307
|
|
|
302
308
|
try {
|
|
303
309
|
// 3. Request OTP (with 1 retry for wrong email)
|
|
304
|
-
|
|
310
|
+
const otpResult = await requestOtpForEmail(email);
|
|
311
|
+
email = otpResult.email;
|
|
305
312
|
|
|
306
313
|
// 4. Verify OTP and get skills
|
|
307
314
|
const response = await verifyOtp(email);
|
|
@@ -392,7 +399,8 @@ async function cmdUpdate() {
|
|
|
392
399
|
|
|
393
400
|
try {
|
|
394
401
|
// Request OTP for the saved email
|
|
395
|
-
await requestOtpForEmail(email);
|
|
402
|
+
const otpResult = await requestOtpForEmail(email);
|
|
403
|
+
email = otpResult.email;
|
|
396
404
|
|
|
397
405
|
// Verify OTP
|
|
398
406
|
const response = await verifyOtp(email);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valentia-ai-skills/framework",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "AI development skills framework
|
|
3
|
+
"version": "1.0.8",
|
|
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",
|