🚀 CodeBuddy Code v2.68.0 Release
✨ New Features
Web UI Documentation Viewer
Added a documentation browsing feature in the Web UI, allowing you to access CLI documentation without leaving your workspace:
- Full-text search for quickly locating the content you need
- Language switching between Chinese and English to suit different preferences
- Table of contents navigation and TOC for easy browsing of long documents
- API Reference quick links for direct access to Swagger UI
- Support for opening in a new tab as a standalone full-screen view
- CLI documentation is automatically bundled at build time, supporting offline viewing
🔧 Improvements
- HTTP API Standardization: All public endpoints unified under the
/api/v1/prefix with version control support; internal endpoints migrated to/internal/for a clearer structure - API Documentation: Added Swagger UI (
/api/docs) and OpenAPI specification (/api/openapi.json) for developers to explore and debug APIs - Unified Response Format: Public endpoints adopt the standard
{ data }/{ error: { code, message } }envelope format, improving API consistency - ACP Endpoint Migration: ACP protocol endpoints migrated from
/acpto/api/v1/acp, unifying the routing prefix with REST APIs - Credential Storage Optimization: WeChat and WeCom credentials consolidated into a single
instances.jsonfile format, with automatic migration from legacy formats - API Response Compatibility: Web UI adapted to the unified envelope format, ensuring correct parsing of REST endpoint responses
🐛 Bug Fixes
- Confirmation Dialog Display: Fixed an issue where the AskUserQuestion confirmation dialog occasionally failed to appear, resolving a race condition in route navigation
- Documentation Link Format: Corrected the format of localhost links in the Channels documentation