icoa-cli 2.19.349 → 2.19.350

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 (46) hide show
  1. package/dist/commands/ai4ctf.js +1 -1
  2. package/dist/commands/connect.js +1 -1
  3. package/dist/commands/ctf4ai-demo.js +1 -1
  4. package/dist/commands/ctf4vla.js +1 -1
  5. package/dist/commands/exam.js +1 -1
  6. package/dist/index.js +1 -355
  7. package/dist/lib/access.js +1 -184
  8. package/dist/lib/arena-submit.js +1 -21
  9. package/dist/lib/budget.js +1 -6
  10. package/dist/lib/challenge-dir.js +1 -16
  11. package/dist/lib/comms.js +1 -212
  12. package/dist/lib/config.js +1 -93
  13. package/dist/lib/country-lang.js +1 -39
  14. package/dist/lib/demo-exam.js +1 -478
  15. package/dist/lib/demo-flags.js +1 -27
  16. package/dist/lib/demo-stats.js +1 -62
  17. package/dist/lib/demo2-progress.js +1 -102
  18. package/dist/lib/exam-client.js +1 -54
  19. package/dist/lib/exam-state.js +1 -273
  20. package/dist/lib/gemini.js +1 -247
  21. package/dist/lib/integrity-snapshot.js +1 -88
  22. package/dist/lib/interactive-spawn.js +1 -55
  23. package/dist/lib/ipynb-input.js +1 -65
  24. package/dist/lib/kernel-protocol.js +1 -88
  25. package/dist/lib/kernel.js +2 -146
  26. package/dist/lib/learn-curricula.js +1 -309
  27. package/dist/lib/learn-i18n.js +1 -184
  28. package/dist/lib/log-sync.js +1 -155
  29. package/dist/lib/logger.js +1 -49
  30. package/dist/lib/open-file.js +1 -55
  31. package/dist/lib/paper-upgrade.js +1 -119
  32. package/dist/lib/render-card.js +1 -112
  33. package/dist/lib/repl-asker.js +1 -67
  34. package/dist/lib/sample-runner.js +1 -227
  35. package/dist/lib/shell-split.js +1 -69
  36. package/dist/lib/sim-cooldown.js +1 -75
  37. package/dist/lib/theme.js +1 -119
  38. package/dist/lib/token-format.js +1 -74
  39. package/dist/lib/toolset-hash.js +1 -48
  40. package/dist/lib/translations-fetcher.js +1 -95
  41. package/dist/lib/ui.js +1 -99
  42. package/dist/lib/version.js +1 -24
  43. package/dist/postinstall.js +1 -48
  44. package/dist/repl.js +1 -2251
  45. package/dist/types/index.js +1 -63
  46. 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.350",
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": {