bolt.diy/app
Chris Toshok c52ae1f9da
Fix otel errors (#31)
Running the prior code in wrangler (but _not_ `npm run dev`) was generating errors during otel initialization.  I was ultimately unable to figure out why, or how to fix them:

```
  (warn) Initializing OpenTelemetry
  (error) Error initializing OpenTelemetry TypeError: Class constructor OTLPExporterBase2 cannot be invoked without 'new'
```

In the end, it was easier to just boil the ocean a little:  With claude's help, write a custom otlp exporter and use that.  Also use BasicTracerProvider instead of WebTracerProvider.

This version is enough to generate spans from within local wrangler.
2025-02-18 16:18:03 -08:00
..
components Followup fixes 2025-02-18 15:16:33 -08:00
lib Fix otel errors (#31) 2025-02-18 16:18:03 -08:00
routes otel changes 2025-02-18 12:40:44 -08:00
styles Update backend APIs for doing simulation based prompting (#7) 2025-01-20 08:03:25 -08:00
types feat: catch errors from web container preview and show in actionable alert so user can send them to AI for fixing (#856) 2024-12-25 03:05:44 +05:30
utils Avoid losing code when prompting AI (#24) 2025-02-13 09:36:22 -08:00
entry.client.tsx fix(browser-extensions): don't render directly in body 2024-10-07 10:49:31 +02:00
entry.server.tsx fix: updated logger and model caching minor bugfix #release (#895) 2024-12-31 22:47:32 +05:30
root.tsx Settings UI enhancement 2024-12-13 01:11:35 +01:00
vite-env.d.ts refactor: updated vite config to inject add version metadata into the app on build (#841) 2024-12-21 01:03:28 +05:30