tpmjs/apps/web
Ajax Davis cd175daf04 fix: use full inputSchema for tool definitions instead of flattened parameters
The issue was that tools with complex nested parameters (like arrays of objects)
were losing their structure when converted to Zod schemas. The LLM would then
pass stringified JSON instead of actual arrays.

- Import jsonSchema from AI SDK
- Check if tool.inputSchema exists (full JSON Schema from executor)
- Use jsonSchema() wrapper to preserve nested array/object structures
- Fall back to legacy tpmjsParamsToZodSchema only if inputSchema is missing

This fixes the changelog tool and similar tools with complex parameter types.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-11 02:34:37 +10:00
..
public fix: move tools-export.json to public/ for Vercel compatibility 2026-01-01 17:46:36 +10:00
scripts feat: add transport parameter to MCP endpoint 2026-01-02 10:50:34 +10:00
src fix: use full inputSchema for tool definitions instead of flattened parameters 2026-01-11 02:34:37 +10:00
.gitignore fix: add npmPublishedAt to API response and add null safety for dates 2025-12-16 12:49:53 +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 feat: add comprehensive endpoint health monitoring 2026-01-10 03:08:11 +10:00
next.config.ts feat: add /tool-ideas page with 10K AI-generated tools 2026-01-01 17:13:46 +10:00
package.json chore: update dependencies with compatibility fixes 2026-01-09 22:49:41 +10:00
postcss.config.js feat: add complete monorepo structure and all packages 2025-11-25 21:59:40 +10:00
RATE_LIMITING.md feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
RATE_LIMITING_SUMMARY.md feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
tailwind.config.ts fix: preserve streamed output and add markdown rendering to playground 2025-11-30 19:28:53 +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: add build:web script to only build web and dependencies for Vercel 2026-01-03 14:18:28 +10:00
vitest.config.ts feat: add comprehensive stats dashboard with D3 charts 2025-12-28 17:08:19 +10:00