sam-coder-cli 1.0.54 → 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 +11 -2
- package/package.json +1 -1
package/bin/agi-animation.js
CHANGED
|
@@ -864,14 +864,19 @@ async function runAGIAnimation() {
|
|
|
864
864
|
await sleep(1000);
|
|
865
865
|
|
|
866
866
|
// PHASE 10: Consciousness Awakening (2 seconds - 60 frames)
|
|
867
|
-
|
|
868
|
-
sound.playConsciousnessSound().catch(() => {});
|
|
867
|
+
console.log('[DEBUG] About to start consciousness sound...');
|
|
869
868
|
|
|
869
|
+
// Temporarily disable consciousness sound to test
|
|
870
|
+
// sound.playConsciousnessSound().catch(() => {});
|
|
871
|
+
|
|
872
|
+
console.log('[DEBUG] Starting consciousness frame generation...');
|
|
870
873
|
const consciousnessFrames = [];
|
|
871
874
|
const brainWidth = Math.min(60, Math.floor(width * 0.7));
|
|
872
875
|
const brainHeight = Math.min(24, Math.floor(height * 0.7));
|
|
873
876
|
|
|
877
|
+
console.log('[DEBUG] About to generate 60 consciousness frames...');
|
|
874
878
|
for (let frame = 0; frame < 60; frame++) {
|
|
879
|
+
if (frame % 10 === 0) console.log(`[DEBUG] Generating consciousness frame ${frame}/60`);
|
|
875
880
|
const progress = frame / 59;
|
|
876
881
|
const wavePhase = frame * 0.1;
|
|
877
882
|
|
|
@@ -967,6 +972,10 @@ async function runAGIAnimation() {
|
|
|
967
972
|
frameCount++;
|
|
968
973
|
}
|
|
969
974
|
|
|
975
|
+
// Debug: Confirm consciousness phase completed
|
|
976
|
+
console.log('\n[DEBUG] Consciousness phase completed, starting galaxy formation...');
|
|
977
|
+
await sleep(1000);
|
|
978
|
+
|
|
970
979
|
// PHASE 11: Galaxy Formation (2 seconds - 60 frames)
|
|
971
980
|
// Play galaxy sound (non-blocking)
|
|
972
981
|
sound.playGalaxySound().catch(() => {});
|