forked from NoFxAiOS/nofx
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
priority: lowLow priorityLow priorityquestionFurther information is requestedFurther information is requestedsize: mediumMedium effort (1-4 hours)Medium effort (1-4 hours)
Description
📝 背景
z-dev-v2 和 z-dev-v3 各有一些獨特功能,需要評估是否要雙向同步。
🔍 V2 獨有功能
目前已知 V2 有而 V3 沒有的:
- ✅ Prompts 管理 CRUD API - 已移植到 V3 (commit dc888fd)
🔍 V3 獨有功能
V3 相比 V2 多了約 137 個 commits,包含:
📊 主要功能
-
Bybit 交易所支持 (feat(exchange): add Bybit Futures support NoFxAiOS/nofx#1100)
- Futures trading
- Broker ID commission tracking
- 完整單元測試
-
LIGHTER DEX 集成 (feat(lighter): 完整集成 LIGHTER DEX - SDK + 前端配置 UI NoFxAiOS/nofx#1085)
- SDK 集成
- 前端配置 UI
- API Key 管理
- 數據庫遷移
-
Axios-based httpClient (refactor(web): redesign httpClient with axios and unified error handling NoFxAiOS/nofx#1061)
- 統一錯誤處理
- 更好的 TypeScript 支持
- 401 重定向修復
-
韓語支持
- 韓語 README
- 前端韓語翻譯
🎯 需要評估的問題
對於 V2 用戶
- 是否需要 Bybit 支持?
- 是否需要 LIGHTER DEX?
- 是否需要新的 httpClient 架構?
對於 V3 用戶
- V3 已有 Prompts CRUD,無需從 V2 移植
💡 建議方案
選項 A:保持差異化
- V2 作為穩定版本,專注於核心功能
- V3 作為實驗版本,集成新交易所和新架構
- 只同步關鍵 bug 修復
選項 B:功能對齊
- 將 V3 的 Bybit 和 LIGHTER 反向移植到 V2
- 統一兩個分支的功能集
- 工作量較大
選項 C:合併分支(長期)
- 逐步淘汰 V2
- 將所有用戶遷移到 V3
- 只維護一個主線
✅ 決策標準
需要考慮:
- 用戶需求
- 維護成本
- 測試覆蓋率
- 長期發展方向
Metadata
Metadata
Assignees
Labels
priority: lowLow priorityLow priorityquestionFurther information is requestedFurther information is requestedsize: mediumMedium effort (1-4 hours)Medium effort (1-4 hours)