tpmjs/apps/web
Ajax Davis cc13e7cb09 fix: remove tiktoken dependency to resolve WASM runtime error in serverless
**Problem:**
The Interactive Playground was failing with "Missing tiktoken_bg.wasm" error in production. Tiktoken requires WASM files which don't work in Vercel's serverless environment.

**Solution:**
- Remove tiktoken import from tool-executor-agent
- Replace tiktoken-based token counting with character estimation (~4 chars/token)
- Remove tiktoken from package.json dependencies
- Remove experimental webpack WASM config (no longer needed)

**Impact:**
- Token counting is now approximate but consistent
- No more WASM-related runtime errors
- Serverless deployment works properly
- Tool execution now functional in production

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 02:15:58 +10:00
..
src fix: remove tiktoken dependency to resolve WASM runtime error in serverless 2025-11-30 02:15:58 +10:00
eslint.config.mjs fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
next-env.d.ts fix(ui): make RadioGroup SSR-compatible while preserving runtime validation 2025-11-27 02:38:55 +10:00
next.config.ts fix: remove VM2 sandboxing to resolve Next.js build errors 2025-11-30 00:57:32 +10:00
package.json fix: remove tiktoken dependency to resolve WASM runtime error in serverless 2025-11-30 02:15:58 +10:00
postcss.config.js feat: add complete monorepo structure and all packages 2025-11-25 21:59:40 +10:00
tailwind.config.ts fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
tsconfig.json feat(sync): implement Phase 3 Sync Workers with Vercel Cron integration 2025-11-28 02:57:54 +10:00
vercel.json fix(vercel): configure Turborepo monorepo build for apps/web 2025-11-28 21:15:18 +10:00