icoa-cli 2.13.1 → 2.13.3

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)
@@ -80,7 +80,7 @@ export async function generateHint(level, question, context) {
80
80
  }
81
81
  }
82
82
  const config = getConfig();
83
- const modelName = config.geminiModel || 'gemini-2.5-flash';
83
+ const modelName = config.geminiModel || 'gemma-4-31b-it';
84
84
  const ai = getClient(apiKey);
85
85
  const response = await ai.models.generateContent({
86
86
  model: modelName,
@@ -115,7 +115,7 @@ ${text}`;
115
115
  catch {
116
116
  // Fallback to flash if pro not available
117
117
  const config = getConfig();
118
- const fallback = config.geminiModel || 'gemini-2.5-flash';
118
+ const fallback = config.geminiModel || 'gemma-4-31b-it';
119
119
  const response = await ai.models.generateContent({
120
120
  model: fallback,
121
121
  contents: prompt,
@@ -165,7 +165,7 @@ export async function createChatSession(context) {
165
165
  }
166
166
  }
167
167
  const config = getConfig();
168
- const modelName = config.geminiModel || 'gemini-2.5-flash';
168
+ const modelName = config.geminiModel || 'gemma-4-31b-it';
169
169
  const ai = getClient(apiKey);
170
170
  let systemPrompt = CHAT_SYSTEM_PROMPT;
171
171
  if (context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.13.1",
3
+ "version": "2.13.3",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {