icoa-cli 2.19.427 → 2.19.428
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/commands/ai4ctf.js +1 -1
- package/dist/commands/ctf4ai-demo.js +1 -1
- package/dist/commands/ctf4vla.js +1 -1
- package/dist/commands/exam.js +1 -1
- package/dist/lib/learn-outcome.d.ts +0 -1
- package/dist/lib/learn-outcome.js +1 -1
- package/package.json +1 -2
- package/dist/postinstall.d.ts +0 -6
- package/dist/postinstall.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=!1;export function setLearnSessionStarted(t){e=t}
|
|
1
|
+
let e=!1;export function setLearnSessionStarted(t){e=t}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "icoa-cli",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.428",
|
|
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": {
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"smoke:offline": "tsc && SMOKE_NO_NETWORK=1 node --test test/smoke/*.test.js",
|
|
25
25
|
"ux-audit": "node panda/ux-audit.js",
|
|
26
26
|
"ux-record": "bash panda/ux-record.sh",
|
|
27
|
-
"postinstall": "node -e \"try{require('./dist/postinstall.js')}catch(e){}\"",
|
|
28
27
|
"prepublishOnly": "npm run build:release",
|
|
29
28
|
"prepare": "husky"
|
|
30
29
|
},
|
package/dist/postinstall.d.ts
DELETED
package/dist/postinstall.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const o=["Initializing ICOA CLI...","Loading competition modules...","Configuring exam system...","Setting up references...","Finalizing installation..."];function l(o,l){const e=Math.round(o/100*30),n=30-e,m=`[32m${"█".repeat(e)}[90m${"░".repeat(n)}[0m`,t=`${String(o).padStart(3)}%`;process.stdout.write(`\r ${m} ${t} [90m${l}[0m`)}(async function(){console.log(),console.log(" [1m[37m██╗ ██████╗ ██████╗ █████╗[0m"),console.log(" [1m[37m██║██╔════╝██╔═══██╗██╔══██╗[0m"),console.log(" [1m[37m██║██║ ██║ ██║███████║[0m"),console.log(" [1m[37m██║██║ ██║ ██║██╔══██║[0m"),console.log(" [1m[37m██║╚██████╗╚██████╔╝██║ ██║[0m"),console.log(" [1m[37m╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝[0m"),console.log();for(let e=0;e<o.length;e++){const n=Math.round(e/o.length*100),m=Math.round((e+1)/o.length*100);for(let t=n;t<=m;t++)l(t,o[e]),await new Promise(o=>setTimeout(o,15))}console.log(),console.log(),console.log(" [32m✓[0m ICOA CLI installed successfully!"),console.log(),console.log(" [90mGet started:[0m"),console.log(" [1m[37micoa[0m [90mLaunch and select your mode[0m"),console.log(" [1m[37micoa --help[0m [90mShow all commands[0m"),console.log()})().catch(()=>{});export{};
|