labs-claude 0.4.0 → 0.4.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.
Files changed (3) hide show
  1. package/bin/labs.js +1 -1
  2. package/package.json +1 -1
  3. package/src/ui.js +82 -13
package/bin/labs.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  const axios = require('axios');
3
3
  const { spawn } = require('child_process');
4
4
  const { randomUUID } = require('crypto');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labs-claude",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Run the real Claude Code CLI on Qwen4 1M (Vision + Web), Gemini 4, Bedrock, or ElevenLabs — with colorful setup and admin token tracking.",
5
5
  "bin": {
6
6
  "labs": "bin/labs.js"
package/src/ui.js CHANGED
@@ -49,7 +49,7 @@ const MASCOT_FRAMES = [
49
49
  ' │ ◉ ◉ │ ',
50
50
  ' │ ◡ │ ',
51
51
  ' ╰─┬─────┬─╯ ',
52
- ' ╱ ▒▒▒▒▒ ╲ ',
52
+ ' ╱ ▒▒░░▒ ╲ ',
53
53
  ' ╰─────────╯ ',
54
54
  ],
55
55
  [
@@ -58,7 +58,7 @@ const MASCOT_FRAMES = [
58
58
  ' │ ◠ ◠ │ ',
59
59
  ' │ ◡ │ ',
60
60
  ' ╰─┬─────┬─╯ ',
61
- ' ╱ ▓▓▓▓▓ ╲ ',
61
+ ' ╱ ▓▓▒▒▓ ╲ ',
62
62
  ' ╰─────────╯ ',
63
63
  ],
64
64
  [
@@ -67,25 +67,92 @@ const MASCOT_FRAMES = [
67
67
  ' │ ◉ ◉ │ ',
68
68
  ' │ ◡ │ ',
69
69
  ' ╰─┬─────┬─╯ ',
70
+ ' ╱ ██▓▓█ ╲ ',
71
+ ' ╰─────────╯ ',
72
+ ],
73
+ [
74
+ ' ✦ ╭───╮ ✨ ',
75
+ ' ╭──┴───┴──╮ ',
76
+ ' │ ✦ ✦ │ ',
77
+ ' │ ◡ │ ',
78
+ ' ╰─┬─────┬─╯ ',
79
+ ' ╱ █████ ╲ ',
80
+ ' ╰─────────╯ ',
81
+ ],
82
+ [
83
+ ' ✨ ╭───╮ ✦ ',
84
+ ' ╭──┴───┴──╮ ',
85
+ ' │ ◉ ◉ │ ',
86
+ ' │ ◡ │ ',
87
+ ' ╰─┬─────┬─╯ ',
70
88
  ' ╱ █████ ╲ ',
71
89
  ' ╰─────────╯ ',
72
90
  ],
73
91
  ];
74
92
 
75
93
  const CHILL_QUIPS = [
94
+ 'bro is actually cooking rn 🔥',
95
+ 'hold up let him cook 👨‍🍳🔥',
76
96
  'hehe, spinning up qwen4... try not to hack into nasa 💀',
77
- 'bro really opened another terminal tab 😭 loading 1m context...',
78
- 'warming up 256 experts (8 are working, 248 are chilling) 💀',
79
- 'no rate limits, no drama, just pure speed ⚡',
80
- 'loading 1m context... still smaller than your open chrome tabs 😭',
81
- 'convincing the gpu to go brrr at 400 tok/s...',
82
- 'if this takes more than 2 seconds blame wifi not me 💀',
83
- 'unlocking vision + web search... lock in bro ⚡',
97
+ 'bro really opened another terminal tab 😭',
98
+ 'gpu fans just entered airplane mode ✈️💀',
99
+ 'warming up 256 experts (8 are coding, 248 are chilling) 💀',
100
+ 'loading 1m context... still smaller than your chrome tabs 😭',
101
+ 'no sleep just shipping 🚀😭',
102
+ 'bro woke up and chose 400 tok/s ⚡',
103
+ 'convincing the gpu to go brrr rn 🏎️💨',
104
+ 'if this takes >2s blame wifi not me 💀',
105
+ 'unlocking vision + web search... lock in bro 🔒⚡',
106
+ 'chat is this real?? yes bro 1m context is live 😭🔥',
107
+ 'main character energy detected ✨🚀',
108
+ 'bro really said "i can fix it in 5 mins" (3 hours ago) 💀',
109
+ 'pouring 600w of iced coffee into the gpu ☕⚡',
110
+ 'zero rate limits, pure vibes only 🌊🔥',
111
+ 'prod is shaking rn bro be gentle 😭💀',
112
+ 'git push --force energy (please don’t) 👀💀',
113
+ 'loading big brain mode... 🧠⚡',
114
+ 'your friend is gonna ask how this is so fast 🤫🔥',
115
+ 'shipping before the coffee gets cold ☕🚀',
116
+ 'vibe coding at 400 tokens/sec, peak cinema 🎬🔥',
117
+ 'qwen4 just stretched its knuckles, we ready 💪⚡',
118
+ 'deleting bugs before they even spawn 🪲🔫',
119
+ 'bro’s terminal looks like a movie hacker screen rn 💀✨',
120
+ '1,048,576 tokens of pure locked-in focus 🎯🔥',
121
+ 'trust the process, we shipping tonight 🌙🚀',
122
+ 'no cap this gpu is actually flying rn 🦅⚡',
123
+ 'who needs sleep when you have 1m context 😭☕',
124
+ 'spawning braincells... please wait 🧠✨',
125
+ 'bro is about to refactor the whole repo at 2am 💀🔥',
126
+ 'vision online, web online, aura +1000 ✨⚡',
127
+ 'stack overflow? never heard of her 💅🔥',
128
+ 'building the future from a dark terminal 🖤🚀',
129
+ 'type shi, we locked in 🔒🔥',
130
+ 'let the gpu handle the heavy lifting bro 🏋️⚡',
131
+ 'speedrunning this feature like it’s a world record ⏱️🔥',
132
+ 'your code is about to look illegally clean 🧼✨',
133
+ 'qwen4 woke up with zero chill today 💀🔥',
134
+ 'fetching brain power from the cloud ☁️⚡',
135
+ 'bro’s about to cook a 5-star pull request 👨‍🍳⭐',
136
+ 'no bugs allowed in this zip code 🚫🪲',
137
+ 'terminal aura maxed out ✨💻',
138
+ 'fast enough to make your keyboard jealous ⌨️💨',
139
+ 'ok ok let’s see what we breaking today 😭🔧',
140
+ 'certified cracked engineer moment 💀🔥',
141
+ 'running on pure caffeine and tensor cores ☕⚡',
142
+ 'don’t blink, it’s already loaded 👀🚀',
143
+ 'we are so back 🔥🚀',
144
+ ];
145
+
146
+ const UNCENSORED_QUIPS = [
147
+ 'hehe, going uncensored mode 💀 which one are you hacking into, nasa? 😭',
148
+ 'uncensored mode unlocked 💀 bro what are you building rn 😭🔥',
149
+ 'no guardrails, just vibes 💀 don’t get us on the news bro 😭',
150
+ 'bro clicked uncensored with zero hesitation 💀⚡',
84
151
  ];
85
152
 
86
153
  function randomQuip(modelId = '') {
87
154
  if (String(modelId).includes('uncensored')) {
88
- return 'hehe, going uncensored mode 💀 which one are you hacking into, nasa? 😭';
155
+ return UNCENSORED_QUIPS[Math.floor(Math.random() * UNCENSORED_QUIPS.length)];
89
156
  }
90
157
  return CHILL_QUIPS[Math.floor(Math.random() * CHILL_QUIPS.length)];
91
158
  }
@@ -110,20 +177,22 @@ async function playMascotIntro(version, subtitle = 'Qwen4-35B-A3B · 1M Context
110
177
  ].join('\n');
111
178
 
112
179
  if (!USE_COLOR) {
113
- console.log(paintFrame(MASCOT_FRAMES[3], [56, 189, 248], [52, 211, 153]));
180
+ console.log(paintFrame(MASCOT_FRAMES[5], [56, 189, 248], [52, 211, 153]));
114
181
  return;
115
182
  }
116
183
 
117
184
  const palettes = [
118
185
  [[167, 139, 250], [56, 189, 248]],
119
186
  [[56, 189, 248], [52, 211, 153]],
120
- [[52, 211, 153], [167, 139, 250]],
187
+ [[52, 211, 153], [251, 191, 36]],
188
+ [[251, 191, 36], [167, 139, 250]],
189
+ [[167, 139, 250], [52, 211, 153]],
121
190
  [[56, 189, 248], [52, 211, 153]],
122
191
  ];
123
192
  for (let i = 0; i < MASCOT_FRAMES.length; i += 1) {
124
193
  if (i > 0) process.stdout.write('\x1b[9A\x1b[0J');
125
194
  process.stdout.write(paintFrame(MASCOT_FRAMES[i], palettes[i][0], palettes[i][1]) + '\n');
126
- if (i < MASCOT_FRAMES.length - 1) await sleep(110);
195
+ if (i < MASCOT_FRAMES.length - 1) await sleep(95);
127
196
  }
128
197
  }
129
198