icoa-cli 2.19.2 → 2.19.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.
@@ -121,8 +121,12 @@ export function registerCtfCommands(program) {
121
121
  console.log(chalk.white(' status ') + chalk.gray('Check score & budget'));
122
122
  }
123
123
  catch (err) {
124
- spinner2.fail('Connection failed');
124
+ spinner2.fail('Connection test failed');
125
125
  printError(err.message);
126
+ // Still save URL so user can retry
127
+ saveConfig({ ctfdUrl: url, sessionCookie: sessionCookie });
128
+ console.log();
129
+ printInfo('Connection saved. Try: join ' + url);
126
130
  }
127
131
  });
128
132
  // ─── icoa ctf logout ───
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.19.2",
3
+ "version": "2.19.3",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {