mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
add some otel initialization, pointing at honeycomb + a function to wrap other functions with spans. use that function to wrap `callAnthropic` and add some context (number of messages sent, token usage, along with some metadata should we ever support other providers.) The honeycomb api key/dataset are to be passed via env vars `HONEYCOMB_API_KEY` and `HONEYCOMB_DATASET` respectively. |
||
---|---|---|
.github | ||
.husky | ||
app | ||
docs | ||
functions | ||
icons | ||
public | ||
types | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.tool-versions | ||
bindings.sh | ||
changelog.md | ||
CONTRIBUTING.md | ||
docker-compose.yaml | ||
Dockerfile | ||
eslint.config.mjs | ||
FAQ.md | ||
LICENSE | ||
load-context.ts | ||
package.json | ||
pnpm-lock.yaml | ||
pre-start.cjs | ||
PROJECT.md | ||
README.md | ||
tsconfig.json | ||
uno.config.ts | ||
vite.config.ts | ||
worker-configuration.d.ts | ||
wrangler.toml |
Nut
Nut is an open source fork of Bolt.new for helping you develop full stack apps using AI. AI developers frequently struggle with fixing even simple bugs when they don't know the cause, and get stuck making ineffective changes over and over. We want to crack these tough nuts, so to speak, so you can get back to building.
When you ask Nut to fix a bug, it creates a Replay.io recording of your app and whatever you did to produce the bug. The recording captures all the runtime behavior of your app, which is analyzed to explain the bug's root cause. This explanation is given to the AI developer so it has context to write a good fix.
Setup
pnpm install
pnpm build
./node_modules/.bin/wrangler pages dev