sillyspec 3.7.22 → 3.7.23

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sillyspec",
3
- "version": "3.7.22",
3
+ "version": "3.7.23",
4
4
  "description": "SillySpec CLI — 流程状态机,让 AI 严格按步骤来",
5
5
  "icon": "logo.jpg",
6
6
  "homepage": "https://sillyspec.ppdmq.top/",
package/src/run.js CHANGED
@@ -153,10 +153,10 @@ export function runCommand(args, cwd) {
153
153
  }
154
154
 
155
155
  // 默认:输出当前步骤
156
- return runStage(progress, stageName, cwd)
156
+ return runStage(pm, progress, stageName, cwd)
157
157
  }
158
158
 
159
- function runStage(progress, stageName, cwd) {
159
+ function runStage(pm, progress, stageName, cwd) {
160
160
  const stageData = progress.stages[stageName]
161
161
  if (!stageData || !stageData.steps) {
162
162
  console.error(`❌ 阶段 ${stageName} 未初始化`)