sam-coder-cli 1.0.57 → 1.0.58

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,24 +859,16 @@ 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);
862
+ // Neural pathways phase completed
865
863
 
866
864
  // PHASE 10: Consciousness Awakening (2 seconds - 60 frames)
867
- console.log('[DEBUG] About to start consciousness sound...');
868
-
869
- // Temporarily disable consciousness sound to test
870
- // sound.playConsciousnessSound().catch(() => {});
871
-
872
- console.log('[DEBUG] Starting consciousness frame generation...');
865
+ // Play consciousness sound (non-blocking)
866
+ sound.playConsciousnessSound().catch(() => {});
873
867
  const consciousnessFrames = [];
874
868
  const brainWidth = Math.min(60, Math.floor(width * 0.7));
875
869
  const brainHeight = Math.min(24, Math.floor(height * 0.7));
876
870
 
877
- console.log('[DEBUG] About to generate 60 consciousness frames...');
878
871
  for (let frame = 0; frame < 60; frame++) {
879
- if (frame % 10 === 0) console.log(`[DEBUG] Generating consciousness frame ${frame}/60`);
880
872
  const progress = frame / 59;
881
873
  const wavePhase = frame * 0.1;
882
874
 
@@ -968,7 +960,7 @@ async function runAGIAnimation() {
968
960
  consciousnessFrames.push(consciousnessFrame);
969
961
  }
970
962
 
971
- console.log('[DEBUG] Finished generating consciousness frames, now rendering...');
963
+
972
964
  for (const frame of consciousnessFrames) {
973
965
  clearScreen();
974
966
  safeWrite(frame);
@@ -976,9 +968,7 @@ async function runAGIAnimation() {
976
968
  frameCount++;
977
969
  }
978
970
 
979
- // Debug: Confirm consciousness phase completed
980
- console.log('\n[DEBUG] Consciousness phase completed, starting galaxy formation...');
981
- await sleep(1000);
971
+ // Consciousness phase completed
982
972
 
983
973
  // PHASE 11: Galaxy Formation (2 seconds - 60 frames)
984
974
  // Play galaxy sound (non-blocking)
@@ -1430,7 +1420,7 @@ async function runAGIAnimation() {
1430
1420
  process.stdin.resume();
1431
1421
  process.stdin.once('data', () => {
1432
1422
  process.stdin.setRawMode(false);
1433
- process.stdin.pause();
1423
+ // Don't pause stdin here - let the CLI handle it
1434
1424
  resolve();
1435
1425
  });
1436
1426
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sam-coder-cli",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "SAM-CODER: An animated command-line AI assistant with agency capabilities.",
5
5
  "main": "bin/agi-cli.js",
6
6
  "bin": {