mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-08-01 16:43:37 +08:00
Add image generation plugin that supports OpenAI-compatible APIs (Agnes, GPT-image-2, Gemini image, nano-banana, DALL-E, Flux, etc.) with automatic provider fallback and parameter compatibility retry. New plugin: - plugins/image-gen/ — MCP server (zero-dependency ESM, stdio JSON-RPC) - 4 tools: generate_image, edit_image, list_providers, list_models - Up to 3 configurable provider slots with fill-in-the-blank UI - Each provider: full params → minimal params retry (spriteflow pattern) Desktop UI enhancements: - PluginConfigModal for visual userConfig configuration - Configure button in PluginDetail when plugin has userConfig - GET/POST /api/plugins/options API endpoints - Sensitive fields use password input + secure storage Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>