sillyspec 3.7.20 → 3.7.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/run.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sillyspec",
3
- "version": "3.7.20",
3
+ "version": "3.7.21",
4
4
  "description": "SillySpec CLI — 流程状态机,让 AI 严格按步骤来",
5
5
  "icon": "logo.jpg",
6
6
  "homepage": "https://sillyspec.ppdmq.top/",
package/src/run.js CHANGED
@@ -164,7 +164,7 @@ function runStage(progress, stageName, cwd) {
164
164
  }
165
165
 
166
166
  const steps = stageData.steps
167
- const currentIdx = steps.findIndex(s => s.status !== 'completed' && s.status !== 'skipped')
167
+ let currentIdx = steps.findIndex(s => s.status !== 'completed' && s.status !== 'skipped')
168
168
 
169
169
  if (currentIdx === -1) {
170
170
  // 阶段已完成,自动重置,允许重复执行