Files
cursornew2026/参考计费/.cursor/commands/release_version.md
ccdojox-crypto 73a71f198f 蜂鸟Pro v2.0.1 - 基础框架版本 (待完善)
## 当前状态
- 插件界面已完成重命名 (cursorpro → hummingbird)
- 双账号池 UI 已实现 (Auto/Pro 卡片)
- 后端已切换到 MySQL 数据库
- 添加了 Cursor 官方用量 API 文档

## 已知问题 (待修复)
1. 激活时检查账号导致无账号时激活失败
2. 未启用无感换号时不应获取账号
3. 账号用量模块不显示 (seamless 未启用时应隐藏)
4. 积分显示为 0 (后端未正确返回)
5. Auto/Pro 双密钥逻辑混乱,状态不同步
6. 账号添加后无自动分析功能

## 下一版本计划
- 重构数据模型,优化账号状态管理
- 实现 Cursor API 自动分析账号
- 修复激活流程,不依赖账号
- 启用无感时才分配账号
- 完善账号用量实时显示

## 文件说明
- docs/系统设计文档.md - 完整架构设计
- cursor 官方用量接口.md - Cursor API 文档
- 参考计费/ - Vibeviewer 开源项目参考

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:21:52 +08:00

48 lines
1.3 KiB
Markdown

# Release Version Command
## Description
Automatically bump version number, build DMG package, create GitHub PR and release with English descriptions.
## Usage
```
@release_version [version_type]
```
## Parameters
- `version_type` (optional): Type of version bump
- `patch` (default): 1.1.1 → 1.1.2
- `minor`: 1.1.1 → 1.2.0
- `major`: 1.1.1 → 2.0.0
## Examples
```
@release_version
@release_version patch
@release_version minor
@release_version major
```
## What it does
1. **Version Bump**: Updates version in `Scripts/create_dmg.sh` and `Derived/InfoPlists/Vibeviewer-Info.plist`
2. **Build DMG**: Runs `make dmg` to create installation package
3. **Git Operations**: Commits changes and pushes to current branch
4. **Create PR**: Creates GitHub PR with English description
5. **Create Release**: Creates GitHub release with DMG attachment and English release notes
## Prerequisites
- GitHub CLI (`gh`) installed and authenticated
- Current branch pushed to remote
- Make sure you're in the project root directory
## Output
- Updated version files
- Built DMG package
- GitHub PR link
- GitHub Release link
## Notes
- The command will automatically detect the current version and increment accordingly
- All descriptions will be in English
- The DMG file will be automatically attached to the release
- Make sure you have write permissions to the repository