Skip to content

Commit ea09755

Browse files
committed
feat(env-setup): 🚀 optimize environment setup flow and UI
- Add automatic TCB service initialization and free environment creation - Implement env-setup tool with error handling and telemetry - Refactor environment setup UI with modular template components - Add support for Google Antigravity and Qoder IDEs - Enhance rules directory sync with hardlink support - Improve documentation UI with card-style layouts - Update CloudBase Manager Node to latest version - Add comprehensive setup guides and documentation
1 parent 80ca316 commit ea09755

65 files changed

Lines changed: 10864 additions & 123 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

RELEASE_v2.3.0.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# 🚀 CloudBase AI Toolkit v2.3.0
2+
3+
## 🎉 What's New
4+
5+
### ✨ Features
6+
7+
* **New IDE Support**:
8+
- **Google Antigravity**: Add full support for Google Antigravity IDE with workspace rules integration
9+
- **Qoder**: Add complete Qoder IDE support with MCP configuration and rules directory sync
10+
11+
* **Enhanced Rules Directory Sync**:
12+
- Support rules directory synchronization for multiple IDEs (Antigravity, Qoder, Cursor, Trae, WindSurf, Cline)
13+
- Automatic `.md` to `.mdc` conversion for Cursor and Antigravity
14+
- Maintain directory structure and file relationships via hard links
15+
16+
* **Documentation UI Enhancements**:
17+
- Add card-style layout for templates and tutorials pages
18+
- Enhance IDE icon grid with better visual presentation
19+
- Improve user experience with modern UI components
20+
21+
* **VSCode Integration**:
22+
- Add one-click install support for VSCode
23+
- Rename Visual Studio Code to VSCode for consistency
24+
25+
* **CodeBuddy Improvements**:
26+
- Add CodeBuddy Code support
27+
- Fix CodeBuddy skills linking issues
28+
- Improve CodeBuddy manual configuration
29+
30+
### 🐛 Bug Fixes
31+
32+
* Fix IDE detection from environment variables
33+
* Fix CodeBuddy skills linking
34+
* Remove default test configurations
35+
* Improve IDE selector documentation
36+
37+
### 🔧 Improvements
38+
39+
* Update CloudBase Manager Node to latest version
40+
* Enhance setup tool with directory-based file mappings
41+
* Improve hardlink script for better rules synchronization
42+
* Refactor IDE selector component for better maintainability
43+
44+
### 📚 Documentation
45+
46+
* Add comprehensive setup guides for Antigravity and Qoder IDEs
47+
* Update IDE configuration documentation
48+
* Enhance user guides with better examples
49+
50+
---
51+
52+
## 📋 Full Changelog
53+
54+
**Full Changelog**: [v2.1.0...v2.3.0](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/compare/v2.1.0...v2.3.0)
55+
56+
---
57+
58+
## 🚀 Upgrade Guide
59+
60+
### Update MCP Tool
61+
62+
**Method 1: Auto Update (Recommended)**
63+
In your AI development tool's MCP list, find cloudbase and re-enable or refresh the MCP list to automatically install the latest version.
64+
65+
**Method 2: Manual Update**
66+
If auto-update doesn't work, disable and re-enable cloudbase, or restart your AI IDE.
67+
68+
**Method 3: Use Latest Version**
69+
70+
```json
71+
{
72+
"mcpServers": {
73+
"cloudbase": {
74+
"command": "npx",
75+
"args": ["@cloudbase/cloudbase-mcp@latest"],
76+
"env": {
77+
"INTEGRATION_IDE": "YourIDE"
78+
}
79+
}
80+
}
81+
}
82+
```
83+
84+
### Update Project Rules
85+
86+
In your project, tell AI:
87+
88+
```
89+
在当前项目中下载云开发 AI 规则,并强制覆盖
90+
```
91+
92+
Or specify a specific IDE:
93+
94+
```
95+
在当前项目中下载云开发 AI 规则,只包含 Cursor 配置,并强制覆盖
96+
```
97+
98+
---
99+
100+
## 🙏 Acknowledgments
101+
102+
Thanks to all contributors who made this release possible!
103+
104+
Special thanks to the community for feedback and suggestions that help us continuously improve the toolkit.
105+
106+
---
107+
108+
## 📞 Get Help
109+
110+
* 📖 [Full Documentation](https://docs.cloudbase.net/ai/cloudbase-ai-toolkit)
111+
* 💬 [Community Discussions](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/discussions)
112+
* 🐛 [Report Issues](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/issues)
113+
114+
---
115+
116+
**⭐ If this project helps you, please give us a Star!**
117+
118+

config/.augment-guidelines

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,3 +313,24 @@ If development is found to not comply with standards, can:
313313
- Point out specific issues
314314
- Require re-execution of rule check process
315315
- Clearly specify rule files that need to be followed
316+
317+
## CloudBase Console Entry Points
318+
319+
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
320+
321+
### Core Function Entry Points
322+
323+
1. **Overview (概览)**: `#/overview` - Main dashboard
324+
2. **Template Center (模板中心)**: `#/template` - Project templates
325+
3. **Document Database (文档型数据库)**: `#/db/doc` - NoSQL collections: `#/db/doc/collection/${collectionName}`, Models: `#/db/doc/model/${modelName}`
326+
4. **MySQL Database (MySQL 数据库)**: `#/db/mysql` - Tables: `#/db/mysql/table/default/`
327+
5. **Cloud Functions (云函数)**: `#/scf` - Function detail: `#/scf/detail?id=${functionName}&NameSpace=${envId}`
328+
6. **CloudRun (云托管)**: `#/cloudrun` - Container services
329+
7. **Cloud Storage (云存储)**: `#/storage` - File storage
330+
8. **AI+**: `#/ai` - AI capabilities
331+
9. **Static Website Hosting (静态网站托管)**: `#/hosting`
332+
10. **Identity Authentication (身份认证)**: `#/identity` - Login: `#/identity/login-manage`, Tokens: `#/identity/token-management`
333+
11. **Weida Low-Code (微搭低代码)**: `#/weida`
334+
12. **Logs & Monitoring (日志监控)**: `#/logs`
335+
13. **Extensions (扩展功能)**: `#/extensions`
336+
14. **Environment Settings (环境配置)**: `#/settings`

config/.claude/skills/cloudbase-platform/SKILL.md

Lines changed: 103 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,106 @@ Use this skill for **CloudBase platform knowledge** when you need to:
150150

151151
## Console Management
152152

153-
After creating/deploying resources, provide corresponding console management page links:
154-
155-
1. **Static Hosting**: https://console.cloud.tencent.com/tcb/hosting
156-
157-
2. **Cloud Function**: https://tcb.cloud.tencent.com/dev?envId=${envId}#/scf/detail?id=${functionName}&NameSpace=${envId}
158-
159-
3. **Database Collection**: https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/collection/${collectionName}
160-
161-
4. **Data Model**: https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/model/${modelName}
162-
163-
**Usage**: After creating corresponding resources, replace variables with actual values, provide to user for management operations.
153+
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
154+
155+
### Core Function Entry Points
156+
157+
1. **Overview (概览)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/overview`
158+
- Main dashboard showing environment status, resource usage, and quick access to key features
159+
- Displays overview of all CloudBase services and their status
160+
161+
2. **Template Center (模板中心)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/template`
162+
- Access project templates for React, Vue, Mini Program, UniApp, and backend frameworks
163+
- AI Builder templates for rapid application generation
164+
- Framework templates: React, Vue, Miniapp, UniApp, Gin, Django, Flask, SpringBoot, Express, NestJS, FastAPI
165+
166+
3. **Document Database (文档型数据库)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc`
167+
- Manage NoSQL document database collections
168+
- **Collection Management**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/collection/${collectionName}`
169+
- View, edit, and manage collection data
170+
- Configure security rules and permissions
171+
- **Data Model Management**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/model/${modelName}`
172+
- Create and manage data models with relationships
173+
- View model schema and field definitions
174+
175+
4. **MySQL Database (MySQL 数据库)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/mysql`
176+
- Manage MySQL relational database
177+
- **Table Management**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/mysql/table/default/`
178+
- Create, modify, and manage database tables
179+
- Execute SQL queries and manage table structure
180+
- **Important**: Must enable MySQL database in console before use
181+
182+
5. **Cloud Functions (云函数)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/scf`
183+
- Manage and deploy Node.js cloud functions
184+
- **Function List**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/scf`
185+
- **Function Detail**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/scf/detail?id=${functionName}&NameSpace=${envId}`
186+
- View function code, logs, and configuration
187+
- Manage function triggers and environment variables
188+
- Monitor function invocations and performance
189+
190+
6. **CloudRun (云托管)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/cloudrun`
191+
- Manage containerized backend services
192+
- Deploy services using Function mode or Container mode
193+
- Configure service scaling, access types, and environment variables
194+
- View service logs and monitoring data
195+
196+
7. **Cloud Storage (云存储)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/storage`
197+
- Manage file storage buckets
198+
- Upload, download, and organize files
199+
- Configure storage permissions and access policies
200+
- Generate temporary access URLs for private files
201+
202+
8. **AI+**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/ai`
203+
- Access AI capabilities and services
204+
- AI Builder for generating templates and code
205+
- AI image recognition and other AI features
206+
207+
9. **Static Website Hosting (静态网站托管)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/hosting`
208+
- Deploy and manage static websites
209+
- Alternative URL: `https://console.cloud.tencent.com/tcb/hosting`
210+
- Configure custom domains and CDN settings
211+
- View deployment history and access logs
212+
213+
10. **Identity Authentication (身份认证)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/identity`
214+
- Configure authentication methods and user management
215+
- **Login Management**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/identity/login-manage`
216+
- Enable/disable login methods (SMS, Email, Username/Password, WeChat, Custom Login)
217+
- Configure SMS/Email templates
218+
- Manage security domain whitelist
219+
- **Token Management**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/identity/token-management`
220+
- Manage API Keys and Publishable Keys
221+
- View and manage access tokens
222+
223+
11. **Weida Low-Code (微搭低代码)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/weida`
224+
- Access Weida low-code development platform
225+
- Build applications using visual drag-and-drop interface
226+
227+
12. **Logs & Monitoring (日志监控)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/logs`
228+
- View logs from cloud functions, CloudRun services, and other resources
229+
- Monitor resource usage, performance metrics, and error rates
230+
- Set up alerts and notifications
231+
232+
13. **Extensions (扩展功能)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/extensions`
233+
- Manage platform extensions and plugins
234+
- Install and configure additional CloudBase capabilities
235+
236+
14. **Environment Settings (环境配置)**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/settings`
237+
- Configure environment-level settings
238+
- Manage security domains and CORS settings
239+
- Configure environment variables and secrets
240+
- View environment information and resource quotas
241+
242+
### URL Construction Guidelines
243+
244+
- **Base URL Pattern**: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
245+
- **Replace Variables**: Always replace `${envId}` with the actual environment ID queried via `envQuery` tool
246+
- **Resource-Specific URLs**: For specific resources (collections, functions, models), replace resource name variables with actual values
247+
- **Usage**: After creating/deploying resources, provide these console links to users for management operations
248+
249+
### Quick Reference
250+
251+
When directing users to console pages:
252+
- Use the full URL with environment ID
253+
- Explain what they can do on each page
254+
- Provide context about why they need to access that specific page
255+
- For configuration pages (like login management), guide users through the setup process

config/.clinerules/cloudbase-rules.mdc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,3 +313,24 @@ If development is found to not comply with standards, can:
313313
- Point out specific issues
314314
- Require re-execution of rule check process
315315
- Clearly specify rule files that need to be followed
316+
317+
## CloudBase Console Entry Points
318+
319+
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
320+
321+
### Core Function Entry Points
322+
323+
1. **Overview (概览)**: `#/overview` - Main dashboard
324+
2. **Template Center (模板中心)**: `#/template` - Project templates
325+
3. **Document Database (文档型数据库)**: `#/db/doc` - NoSQL collections: `#/db/doc/collection/${collectionName}`, Models: `#/db/doc/model/${modelName}`
326+
4. **MySQL Database (MySQL 数据库)**: `#/db/mysql` - Tables: `#/db/mysql/table/default/`
327+
5. **Cloud Functions (云函数)**: `#/scf` - Function detail: `#/scf/detail?id=${functionName}&NameSpace=${envId}`
328+
6. **CloudRun (云托管)**: `#/cloudrun` - Container services
329+
7. **Cloud Storage (云存储)**: `#/storage` - File storage
330+
8. **AI+**: `#/ai` - AI capabilities
331+
9. **Static Website Hosting (静态网站托管)**: `#/hosting`
332+
10. **Identity Authentication (身份认证)**: `#/identity` - Login: `#/identity/login-manage`, Tokens: `#/identity/token-management`
333+
11. **Weida Low-Code (微搭低代码)**: `#/weida`
334+
12. **Logs & Monitoring (日志监控)**: `#/logs`
335+
13. **Extensions (扩展功能)**: `#/extensions`
336+
14. **Environment Settings (环境配置)**: `#/settings`

0 commit comments

Comments
 (0)