feat: add chunked skills.md generation for large collections

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
This commit is contained in:
Ajax Davis 2026-01-21 16:26:06 +10:00
parent 514ea3c0db
commit 5d00f2a711
39 changed files with 6068 additions and 286 deletions

1718
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff