sam-coder-cli 1.0.52 → 1.0.54

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.
@@ -859,6 +859,10 @@ async function runAGIAnimation() {
859
859
  frameCount++;
860
860
  }
861
861
 
862
+ // Debug: Confirm neural pathways completed
863
+ console.log('\n[DEBUG] Neural pathways phase completed, starting consciousness...');
864
+ await sleep(1000);
865
+
862
866
  // PHASE 10: Consciousness Awakening (2 seconds - 60 frames)
863
867
  // Play consciousness sound (non-blocking)
864
868
  sound.playConsciousnessSound().catch(() => {});
@@ -1407,7 +1411,16 @@ async function runAGIAnimation() {
1407
1411
  safeWrite(chalk.gray(centerText('\n\n[ SYSTEM READY ]')));
1408
1412
  safeWrite(chalk.dim(centerText('\n\nPress any key to continue...')));
1409
1413
 
1410
- await sleep(500);
1414
+ // Wait for actual user input
1415
+ await new Promise(resolve => {
1416
+ process.stdin.setRawMode(true);
1417
+ process.stdin.resume();
1418
+ process.stdin.once('data', () => {
1419
+ process.stdin.setRawMode(false);
1420
+ process.stdin.pause();
1421
+ resolve();
1422
+ });
1423
+ });
1411
1424
 
1412
1425
  const totalTime = Date.now() - startTime;
1413
1426
  const actualFPS = Math.round(frameCount / (totalTime / 1000));
@@ -1417,8 +1430,6 @@ async function runAGIAnimation() {
1417
1430
  console.log(chalk.gray(`\n\nAnimation completed: ${frameCount} frames in ${totalTime}ms (${actualFPS} FPS)`));
1418
1431
  }
1419
1432
 
1420
- await sleep(1000);
1421
-
1422
1433
  } finally {
1423
1434
  process.stdout.write(ANSI.showCursor);
1424
1435
  clearScreen();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sam-coder-cli",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "SAM-CODER: An animated command-line AI assistant with agency capabilities.",
5
5
  "main": "bin/agi-cli.js",
6
6
  "bin": {