feat: add automated Vercel AI registry sync with OpenAI

Add hourly GitHub Action that syncs tools from Vercel's AI SDK registry:

Features:
- Fetches Vercel AI registry from their GitHub
- Uses OpenAI GPT-4 to intelligently convert tool metadata
- Handles multi-export packages (multiple tools per npm package)
- Automatically commits new tools to manual-tools.ts
- Sends Discord notifications with detailed stats
- Extensive logging at every step

Files added:
- sync-vercel-registry.ts - Main sync script with AI conversion
- .github/workflows/sync-vercel-registry.yml - Hourly GitHub Action
- docs/vercel-registry-sync.md - Complete documentation

Requires OPENAI_API_KEY secret in GitHub repository settings.
This commit is contained in:
Ajax Davis 2025-12-04 17:43:17 +10:00
parent dc4846c7b1
commit 1642ec07d9
5 changed files with 1003 additions and 0 deletions

View file

@ -34,6 +34,7 @@
"dependency-cruiser": "^17.3.1",
"knip": "^5.70.2",
"lefthook": "^1.10.1",
"openai": "^6.9.1",
"tsx": "^4.21.0",
"turbo": "^2.6.1",
"type-coverage": "^2.29.7",