@nick848/sf-cli 1.0.7 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## v1.0.10 (2026-03-22)
9
+
10
+ **重大重构 - 工作流系统重写**
11
+
12
+ - ✨ 全新的 `WorkflowSession` 架构 - 7 阶段自动流转
13
+ - 🔄 自动执行流程:context → analysis → bdd → spec → tdd → develop → review
14
+ - ⏸️ 唯一暂停点:spec 阶段等待 y/n 确认
15
+ - 🎯 简化交互:y/n/c 三键操作(确认/重新生成/取消)
16
+
17
+ **架构改进**
18
+
19
+ - 📦 `new.ts` - 完全重写,移除旧 WorkflowEngine 依赖
20
+ - 📦 `natural.ts` - 简化为工作流输入处理
21
+ - 📦 `executor.ts` - 简化权限控制逻辑
22
+ - 📦 `repl.ts` - 使用 `getActiveSession()` 获取状态
23
+ - 📦 `status.ts` - 支持新 WorkflowPhase 类型显示
24
+ - 📦 `types/index.ts` - 新增 `WorkflowPhase` 类型定义
25
+
26
+ **修复问题**
27
+
28
+ - 🐛 修复 TypeScript 编译错误(可选属性处理)
29
+ - 🔧 移除冗余的 opsx 命令依赖
30
+
31
+ ## v1.0.9 (2026-03-22)
32
+
33
+ **修复问题**
34
+
35
+ - 🐛 修复有活跃工作流时自然语言输入被阻止的问题
36
+ - 🔧 自然语言输入在有工作流时始终允许(用于 y/n 确认)
37
+
38
+ ## v1.0.8 (2026-03-22)
39
+
40
+ **交互改进**
41
+
42
+ - ✨ 简化规格确认流程 - 直接输入 `y` 确认,`n` 重新生成
43
+ - ✨ 智能需求拆分 - 根据关键词和URL自动识别任务类型
44
+ - 🔄 propose 阶段支持重新生成规格
45
+
46
+ **任务拆分优化**
47
+
48
+ - 自动识别参考界面URL并生成分析任务
49
+ - 根据需求关键词拆分功能点(排盘、界面、数据、图表等)
50
+ - 支持中文自然语言确认(确认、重新、不满意)
51
+
8
52
  ## v1.0.7 (2026-03-22)
9
53
 
10
54
  **新增功能**