we (web engine): Experimental web browser project to understand the limits of Claude

Implement Console API: console.log, console.error, console.warn master

Add the Console API as built-in JS globals (Phase 11, issue 1 of 8). - ConsoleOutput trait with configurable output sink (default: stdout/stderr) - console.log/info/debug write to the log channel - console.error writes to the error channel - console.warn writes to the warn channel - Rich formatting: arrays show contents, objects show properties - Cycle detection and depth limiting for nested structures - Vm::set_console_output() for redirecting output (dev tools, testing) - 14 tests covering all methods, formatting, and channel routing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+368 -3
2 changed files