sillyspec 3.12.3 → 3.12.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sillyspec",
3
- "version": "3.12.3",
3
+ "version": "3.12.4",
4
4
  "description": "SillySpec CLI — 流程状态机,让 AI 严格按步骤来",
5
5
  "icon": "logo.jpg",
6
6
  "homepage": "https://sillyspec.ppdmq.top/",
@@ -301,6 +301,8 @@ function isSingleCommandReadonly(cmd, extraReadonlyCommands = []) {
301
301
  if (READONLY_GIT_SUBS.has(sub)) return true
302
302
  // git stash list
303
303
  if (sub === 'stash' && (parts[2] === 'list' || parts.length === 2)) return true
304
+ // git worktree 管理(list/add/remove)放行
305
+ if (sub === 'worktree') return true
304
306
  return false
305
307
  }
306
308