This project creates a custom code generation tool API for AI editors (VS Code, Cursor). The main purpose is to override Tool Use functionality in AI editors and implement custom code generation logic, while maintaining full compatibility with Chat Completions API and Ollama API so existing editor configurations can be used as-is.
The supported environment includes VS Code and Cursor editors, with deployment capability on Cloudflare Workers. The API must support streaming=true for real-time responses. Tool Call detailed tracking and log output are provided for debugging purposes.
This code was created with reference to the Vercel V0 API design. https://vercel.com/docs/v0/api
npm create cloudflare@latest