Skip to content

Commit a38f6ff

Browse files
committed
fix: resolve react-doctor issues and remove Astro remnants
1 parent 3f0f520 commit a38f6ff

13 files changed

Lines changed: 68 additions & 315 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ node_modules/
44
# Build outputs
55
dist/
66
.next/
7+
.astro/
78
target/
89
*.tsbuildinfo
910

CLAUDE.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Sandchest is a Linux-only sandbox platform for AI agent code execution. Every sa
66

77
**Polyglot monorepo:**
88
- `apps/api` — Control plane HTTP API (EffectTS on Node.js)
9-
- `apps/web`Replay page (Astro)
9+
- `apps/web`Dashboard + replay page (Next.js App Router)
1010
- `packages/sdk-ts` — TypeScript SDK (`@sandchest/sdk`)
1111
- `packages/mcp` — MCP server (`@sandchest/mcp`)
1212
- `packages/cli` — CLI tool (`@sandchest/cli`)
@@ -126,7 +126,7 @@ EffectTS is used in `apps/api` — use `Effect.fail` with typed error types, not
126126

127127
## React / Frontend Code
128128

129-
The `apps/web` replay page uses Astro (with React islands where interactive). Follow these rules strictly when writing any React component.
129+
`apps/web` uses Next.js 15 App Router with React 19. Follow these rules strictly when writing any React component.
130130

131131
### You Might Not Need an Effect
132132

@@ -342,10 +342,8 @@ One commit per task. Stage specific files — never `git add -A` blindly.
342342
DATABASE_URL= # PlanetScale connection string
343343
REDIS_URL= # Redis connection string
344344
SANDCHEST_API_KEY= # Used by SDK (defaults to this env var)
345-
GITHUB_CLIENT_ID=
346-
GITHUB_CLIENT_SECRET=
347-
GOOGLE_CLIENT_ID=
348-
GOOGLE_CLIENT_SECRET=
345+
RESEND_API_KEY= # Resend API key for email OTP
346+
RESEND_FROM_EMAIL= # Optional sender address (defaults to Sandchest <noreply@sandchest.com>)
349347
```
350348

351349
Never commit `.env` files. Never hardcode credentials.

apps/web/.astro/content-assets.mjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/web/.astro/content-modules.mjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/web/.astro/content.d.ts

Lines changed: 0 additions & 199 deletions
This file was deleted.

apps/web/.astro/data-store.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/web/.astro/types.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)