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.
@@ -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 = 'AIzaSyB7XgD1n1S5sCtSabkaXKSVk3L2D9es6As';
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+$/i.test(input.trim())) {
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()]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.13.0",
3
+ "version": "2.13.2",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {