icoa-cli 2.19.349 → 2.19.351

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.
Files changed (47) hide show
  1. package/dist/commands/ai4ctf.js +1 -1
  2. package/dist/commands/connect.js +1 -1
  3. package/dist/commands/ctf.js +1 -1
  4. package/dist/commands/ctf4ai-demo.js +1 -1
  5. package/dist/commands/ctf4vla.js +1 -1
  6. package/dist/commands/exam.js +1 -1
  7. package/dist/index.js +1 -355
  8. package/dist/lib/access.js +1 -184
  9. package/dist/lib/arena-submit.js +1 -21
  10. package/dist/lib/budget.js +1 -6
  11. package/dist/lib/challenge-dir.js +1 -16
  12. package/dist/lib/comms.js +1 -212
  13. package/dist/lib/config.js +1 -93
  14. package/dist/lib/country-lang.js +1 -39
  15. package/dist/lib/demo-exam.js +1 -478
  16. package/dist/lib/demo-flags.js +1 -27
  17. package/dist/lib/demo-stats.js +1 -62
  18. package/dist/lib/demo2-progress.js +1 -102
  19. package/dist/lib/exam-client.js +1 -54
  20. package/dist/lib/exam-state.js +1 -273
  21. package/dist/lib/gemini.js +1 -247
  22. package/dist/lib/integrity-snapshot.js +1 -88
  23. package/dist/lib/interactive-spawn.js +1 -55
  24. package/dist/lib/ipynb-input.js +1 -65
  25. package/dist/lib/kernel-protocol.js +1 -88
  26. package/dist/lib/kernel.js +2 -146
  27. package/dist/lib/learn-curricula.js +1 -309
  28. package/dist/lib/learn-i18n.js +1 -184
  29. package/dist/lib/log-sync.js +1 -155
  30. package/dist/lib/logger.js +1 -49
  31. package/dist/lib/open-file.js +1 -55
  32. package/dist/lib/paper-upgrade.js +1 -119
  33. package/dist/lib/render-card.js +1 -112
  34. package/dist/lib/repl-asker.js +1 -67
  35. package/dist/lib/sample-runner.js +1 -227
  36. package/dist/lib/shell-split.js +1 -69
  37. package/dist/lib/sim-cooldown.js +1 -75
  38. package/dist/lib/theme.js +1 -119
  39. package/dist/lib/token-format.js +1 -74
  40. package/dist/lib/toolset-hash.js +1 -48
  41. package/dist/lib/translations-fetcher.js +1 -95
  42. package/dist/lib/ui.js +1 -99
  43. package/dist/lib/version.js +1 -24
  44. package/dist/postinstall.js +1 -48
  45. package/dist/repl.js +1 -2251
  46. package/dist/types/index.js +1 -63
  47. package/package.json +1 -1
@@ -1,63 +1 @@
1
- // ========================
2
- // CTFd API Response Types
3
- // ========================
4
- export const DEFAULT_BUDGET = {
5
- a: 50,
6
- b: 10,
7
- c: 2,
8
- tokensUsed: 0,
9
- tokenCap: 50000,
10
- };
11
- export const DEFAULT_CONFIG = {
12
- ctfdUrl: '',
13
- token: '',
14
- language: 'en',
15
- sessionId: '',
16
- competitionCode: '',
17
- teamId: null,
18
- userId: null,
19
- userName: '',
20
- teamName: '',
21
- currentChallengeId: null,
22
- currentChallengeName: '',
23
- currentChallengeCategory: '',
24
- competitionState: 'unknown',
25
- competitionStartsAt: '',
26
- competitionEndsAt: '',
27
- geminiApiKey: '',
28
- // V2.19.186: switched to lite (2.2x faster, 3x higher per-key RPM,
29
- // burst-test showed 12/12 vs 7/12 on plain flash). Pinned to 2.5 series
30
- // (not -latest alias) so Google's rolling update can't surprise us.
31
- // ctf4ai TARGET prompts still resist injection in lite — verified.
32
- geminiModel: 'gemini-2.5-flash-lite',
33
- accessToken: '',
34
- deviceFingerprint: '',
35
- lastVersion: '',
36
- sessionCookie: '',
37
- country: '',
38
- mode: '',
39
- demoIntroSeen: false,
40
- themeVariant: 'dark',
41
- };
42
- export const SUPPORTED_LANGUAGES = [
43
- 'en',
44
- 'zh',
45
- 'ja',
46
- 'ko',
47
- 'es',
48
- 'ar',
49
- 'fr',
50
- 'pt',
51
- 'ru',
52
- 'hi',
53
- 'de',
54
- 'id',
55
- 'th',
56
- 'vi',
57
- 'tr',
58
- 'uk',
59
- 'ht',
60
- 'sw',
61
- 'uz',
62
- 'lo',
63
- ];
1
+ export const DEFAULT_BUDGET={a:50,b:10,c:2,tokensUsed:0,tokenCap:5e4};export const DEFAULT_CONFIG={ctfdUrl:"",token:"",language:"en",sessionId:"",competitionCode:"",teamId:null,userId:null,userName:"",teamName:"",currentChallengeId:null,currentChallengeName:"",currentChallengeCategory:"",competitionState:"unknown",competitionStartsAt:"",competitionEndsAt:"",geminiApiKey:"",geminiModel:"gemini-2.5-flash-lite",accessToken:"",deviceFingerprint:"",lastVersion:"",sessionCookie:"",country:"",mode:"",demoIntroSeen:!1,themeVariant:"dark"};export const SUPPORTED_LANGUAGES=["en","zh","ja","ko","es","ar","fr","pt","ru","hi","de","id","th","vi","tr","uk","ht","sw","uz","lo"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.19.349",
3
+ "version": "2.19.351",
4
4
  "description": "ICOA CLI — The world's first CLI-native cyber & AI security olympiad terminal: AI4CTF (Day 1), CTF4AI (Day 2), VLA4CTF (Pioneer Round — embodied AI)",
5
5
  "type": "module",
6
6
  "bin": {