Addresses two key issues:
1. **Console.log Cleanup for Cypress CI**:
- main.ts: Remove redundant console.log (already sent to Sentry)
- sentry.ts: Silent error handling for URL generation
- compiler.ts: Conditional debug logging and proper error reporting
2. **Fetch Unification with safeFetch**:
- api/api.ts: Migrate CE API calls for better type safety
- libs-widget.ts: Migrate external API calls for consistent error handling
- formatter-registry.ts: Update to handle new FetchResult format
- compiler.ts: Update assembly documentation fetching
Benefits:
- Eliminates console.log calls causing Cypress CI failures
- Consistent error handling across all HTTP requests
- Better type safety with TypeScript integration
- Automatic Sentry reporting for network errors
- Improved developer experience with proper error messages
All tests pass, TypeScript clean, linting resolved.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>