icoa-cli 2.13.0 → 2.13.2
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/lib/gemini.js +1 -1
- package/dist/repl.js +1 -1
- package/package.json +1 -1
package/dist/lib/gemini.js
CHANGED
|
@@ -41,7 +41,7 @@ export function filterFlagPatterns(text) {
|
|
|
41
41
|
return text.replace(/icoa\{[^}]*\}/gi, '[FLAG REDACTED]');
|
|
42
42
|
}
|
|
43
43
|
// Default shared API key for competition (free tier)
|
|
44
|
-
const DEFAULT_API_KEY = '
|
|
44
|
+
const DEFAULT_API_KEY = 'AIzaSyBLjo2UjaFqWmFaCap0TpiXjo9cDqFmY-E';
|
|
45
45
|
function getApiKey() {
|
|
46
46
|
const envKey = process.env.GEMINI_API_KEY;
|
|
47
47
|
if (envKey)
|
package/dist/repl.js
CHANGED
|
@@ -342,7 +342,7 @@ export async function startRepl(program, resumeMode) {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
// ICOA exam token detection (e.g., "ICOA-PE-001")
|
|
345
|
-
if (/^ICOA-[A-Z]{2}-\d
|
|
345
|
+
if (/^ICOA-[A-Z]{2,3}-\d{1,6}$/i.test(input.trim())) {
|
|
346
346
|
processing = true;
|
|
347
347
|
try {
|
|
348
348
|
await program.parseAsync(['node', 'icoa', 'exam', 'token', input.trim()]);
|