sam-coder-cli 1.0.50 → 1.0.51
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/bin/agi-animation.js +3 -3
- package/package.json +1 -1
package/bin/agi-animation.js
CHANGED
|
@@ -366,7 +366,7 @@ async function runAGIAnimation() {
|
|
|
366
366
|
|
|
367
367
|
for (const frame of sparkFrames) {
|
|
368
368
|
clearScreen();
|
|
369
|
-
safeWrite(chalk.
|
|
369
|
+
safeWrite(chalk.whiteBright(frame));
|
|
370
370
|
await sleep(frameTime);
|
|
371
371
|
frameCount++;
|
|
372
372
|
}
|
|
@@ -379,7 +379,7 @@ async function runAGIAnimation() {
|
|
|
379
379
|
const sparkToQuantumTransition = interpolator.fadeFrames(sparkFrames[sparkFrames.length - 1], false, 5);
|
|
380
380
|
for (const frame of sparkToQuantumTransition) {
|
|
381
381
|
clearScreen();
|
|
382
|
-
safeWrite(chalk.
|
|
382
|
+
safeWrite(chalk.whiteBright(frame));
|
|
383
383
|
await sleep(frameTime);
|
|
384
384
|
frameCount++;
|
|
385
385
|
}
|
|
@@ -1006,7 +1006,7 @@ async function runAGIAnimation() {
|
|
|
1006
1006
|
const starChance = spiralValue * (1 - distance / (galaxySize / 2));
|
|
1007
1007
|
if (Math.random() < starChance * 0.3) {
|
|
1008
1008
|
const stars = ['✦', '✧', '★', '☆', '✨'];
|
|
1009
|
-
line += chalk.
|
|
1009
|
+
line += chalk.whiteBright(stars[Math.floor(Math.random() * stars.length)]);
|
|
1010
1010
|
} else if (Math.random() < starChance * 0.5) {
|
|
1011
1011
|
line += chalk.white('·');
|
|
1012
1012
|
} else if (Math.random() < starChance * 0.7) {
|