@xqyz/xq-cli 0.3.8 → 0.3.9

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
@@ -10,6 +10,15 @@
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.3.9 / WorkBuddy Plugin 0.10.22 / SkillHub 1.0.6] - 2026-08-26
14
+
15
+ ### WorkBuddy 规划模式自动推进
16
+
17
+ - 修复规划模式解析已经达到 `success=3`,但后端未在任务详情回显标包和 `planMode` 时被误判为 `TASK_PARSE_NOT_ADVANCED` 的问题。
18
+ - WorkBuddy 检测到 `analysis_ready` 后自动对同一 `cid` 执行 `plan confirm-outline`,不再展示 `analysis-review` 或智能解读确认卡。
19
+ - 已被旧版本误标失败、但错误中已记录解析 `success=3` 的规划任务,在查询同一 `runId` 时会原地恢复并自动确认生成大纲。
20
+ - 保留大纲和目录人工确认闸门;自动推进只覆盖后台智能解读到大纲生成这一段,不会提前生成正文。
21
+
13
22
  ## [0.3.8 / WorkBuddy Plugin 0.10.21 / SkillHub 1.0.5] - 2026-08-25
14
23
 
15
24
  ### 规划模式卡住保护
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xqyz/xq-cli",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "CLI for xique bid-book task workflows",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/cli.mjs CHANGED
@@ -2153,11 +2153,16 @@ async function verifyParserWakeUp(client, state, cid, uuid, params, planningMode
2153
2153
  choiceMultiBiddingId: selectedMultiBidId,
2154
2154
  }));
2155
2155
 
2156
+ const parseAdvanced = [1, 3, 4].includes(parseSuccess);
2156
2157
  const selectionRequired = expectedMultiBidId && expectedMultiBidId !== 'notMultiBid';
2157
2158
  const selectionMatches = !selectionRequired || selectedMultiBidId === expectedMultiBidId;
2158
- const parseAdvanced = [1, 3, 4].includes(parseSuccess);
2159
- const planModeMatches = !planningMode || savedPlanMode === 1;
2160
- if (parseAdvanced && selectionMatches && planModeMatches) {
2159
+ // Planning mode persists the full configuration again when
2160
+ // `plan confirm-outline` is called. Some backend deployments complete
2161
+ // intelligent analysis (success=3) without mirroring planMode or the
2162
+ // selected package onto getTaskDetail. Treat the parse result as the
2163
+ // authority here so WorkBuddy can trigger the explicit outline
2164
+ // confirmation instead of failing before that call.
2165
+ if (parseAdvanced && (planningMode || selectionMatches)) {
2161
2166
  return latest;
2162
2167
  }
2163
2168