icoa-cli 2.3.0 → 2.3.1

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/index.js CHANGED
@@ -37,7 +37,7 @@ ${LINE}
37
37
  ${chalk.white('Sydney, Australia')} ${chalk.gray('Jun 27 - Jul 2, 2026')}
38
38
  ${chalk.cyan.underline('https://icoa2026.au')}
39
39
 
40
- ${chalk.gray('CLI-Native Competition Terminal v2.3.0')}
40
+ ${chalk.gray('CLI-Native Competition Terminal v2.3.1')}
41
41
 
42
42
  ${LINE}
43
43
  `;
@@ -40,6 +40,8 @@ function buildSystemPrompt(level, context) {
40
40
  export function filterFlagPatterns(text) {
41
41
  return text.replace(/icoa\{[^}]*\}/gi, '[FLAG REDACTED]');
42
42
  }
43
+ // Default shared API key for competition (free tier)
44
+ const DEFAULT_API_KEY = 'AIzaSyB7XgD1n1S5sCtSabkaXKSVk3L2D9es6As';
43
45
  function getApiKey() {
44
46
  const envKey = process.env.GEMINI_API_KEY;
45
47
  if (envKey)
@@ -47,7 +49,7 @@ function getApiKey() {
47
49
  const config = getConfig();
48
50
  if (config.geminiApiKey)
49
51
  return config.geminiApiKey;
50
- return '';
52
+ return DEFAULT_API_KEY;
51
53
  }
52
54
  function getClient(apiKey) {
53
55
  return new GoogleGenAI({ apiKey });
package/dist/repl.js CHANGED
@@ -27,7 +27,7 @@ const BLOCKED_COMMANDS = new Set([
27
27
  'iptables', 'ufw', // firewall
28
28
  ]);
29
29
  const INTERCEPT = '__REPL_NO_EXIT__';
30
- const VERSION = '2.3.0';
30
+ const VERSION = '2.3.1';
31
31
  export async function startRepl(program, resumeMode) {
32
32
  const config = getConfig();
33
33
  const connected = isConnected();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {