Implements batched generation to avoid Vercel 120s timeout for collections with 60+ tools. Uses per-tool caching and recursive serverless invocations. - Add ToolSkillsCache and SkillsGenerationJob models to schema - Create tool-skills-generator.ts for per-tool markdown generation - Create skills-summary-generator.ts for final pass summary/intro - Update route handler with chunked generation logic - Small collections (<20 tools) use original monolithic approach - Large collections use 10-tool batches with progress tracking |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| data | ||
| hooks | ||
| lib | ||
| test | ||
| env.ts | ||
| middleware.ts | ||