sam-coder-cli 1.0.55 → 1.0.56
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 +7 -5
- package/package.json +1 -1
package/bin/agi-animation.js
CHANGED
|
@@ -864,17 +864,19 @@ async function runAGIAnimation() {
|
|
|
864
864
|
await sleep(1000);
|
|
865
865
|
|
|
866
866
|
// PHASE 10: Consciousness Awakening (2 seconds - 60 frames)
|
|
867
|
-
|
|
868
|
-
Promise.race([
|
|
869
|
-
sound.playConsciousnessSound().catch(() => {}),
|
|
870
|
-
new Promise(resolve => setTimeout(resolve, 1000)) // 1 second timeout
|
|
871
|
-
]).catch(() => {});
|
|
867
|
+
console.log('[DEBUG] About to start consciousness sound...');
|
|
872
868
|
|
|
869
|
+
// Temporarily disable consciousness sound to test
|
|
870
|
+
// sound.playConsciousnessSound().catch(() => {});
|
|
871
|
+
|
|
872
|
+
console.log('[DEBUG] Starting consciousness frame generation...');
|
|
873
873
|
const consciousnessFrames = [];
|
|
874
874
|
const brainWidth = Math.min(60, Math.floor(width * 0.7));
|
|
875
875
|
const brainHeight = Math.min(24, Math.floor(height * 0.7));
|
|
876
876
|
|
|
877
|
+
console.log('[DEBUG] About to generate 60 consciousness frames...');
|
|
877
878
|
for (let frame = 0; frame < 60; frame++) {
|
|
879
|
+
if (frame % 10 === 0) console.log(`[DEBUG] Generating consciousness frame ${frame}/60`);
|
|
878
880
|
const progress = frame / 59;
|
|
879
881
|
const wavePhase = frame * 0.1;
|
|
880
882
|
|