tpmjs/packages
Ajax Davis 6d8bea6c8d fix: resolve Next.js routing and package-executor build errors
**API Route Restructuring:**
- Move execute endpoint from /api/tools/[...slug]/execute to /api/tools/execute/[...slug]
- Move simulations endpoint from /api/tools/[...slug]/simulations to /api/tools/simulations/[...slug]
- Fix Next.js App Router constraint: catch-all segments must be terminal
- Update ToolPlayground component to use new endpoint paths

**Package Executor Export Fix:**
- Remove .js extensions from exports in @tpmjs/package-executor
- Change from './types.js' to './types' for proper TypeScript resolution
- Change from './executor.js' to './executor' for proper TypeScript resolution
- Fixes "Export executePackage doesn't exist in target module" build error

**Next.js Configuration:**
- Add vm2 and @tpmjs/package-executor to serverExternalPackages
- Prevents bundling VM2 which requires filesystem access to internal files

**Code Quality:**
- Add biome-ignore for excessive complexity in SSE stream handling
- Add biome-ignore for decorative loading spinner SVGs (2 instances)

Note: VM2 sandboxing still has compatibility issues with Next.js Turbopack.
This may need to be replaced with a different sandboxing approach or disabled.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 00:52:56 +10:00
..
config fix(biome): ignore Next.js auto-generated next-env.d.ts file 2025-11-26 22:59:32 +10:00
db feat: add interactive tool playground with AI-powered execution 2025-11-30 00:36:05 +10:00
env fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
mocks fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
npm-client feat: add README rendering and enhanced package metadata display 2025-11-29 22:41:50 +10:00
package-executor fix: resolve Next.js routing and package-executor build errors 2025-11-30 00:52:56 +10:00
storybook fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
test fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
tools/createBlogPost chore: version @tpmjs/createblogpost to 0.2.0 2025-11-28 03:17:50 +10:00
types feat(types): add comprehensive TPMJS field schemas with validation 2025-11-28 02:12:11 +10:00
ui fix(ui): replace Tailwind classes with direct SVG attributes in FlowDiagram 2025-11-27 23:14:41 +10:00
utils fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00