@foxden-app/foxclaw 0.5.26 → 0.5.27
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 +10 -0
- package/dist/controller/controller.js +11 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable FoxClaw changes are listed here. Each release note is bilingual so GitHub Releases and the npm package are useful to both Chinese and English readers.
|
|
4
4
|
|
|
5
|
+
## 0.5.27 - 2026-06-09
|
|
6
|
+
|
|
7
|
+
### 中文
|
|
8
|
+
- 重启续接的完成判定进一步收窄:只有 final/final_answer 类 assistant 输出、plan 输出或明确错误才算已有完成结果。
|
|
9
|
+
- 如果旧 turn 只有 commentary 进度消息,例如“正在升级本机服务”,重启后仍会自动续跑,避免状态卡显示“已完成”但没有真正收尾回复。
|
|
10
|
+
|
|
11
|
+
### English
|
|
12
|
+
- Tightened restart recovery completion detection: only final/final_answer assistant output, plan output, or an explicit error now counts as a completed result.
|
|
13
|
+
- If the previous turn only had commentary progress such as "upgrading the local service", FoxClaw still auto-resumes it after restart instead of retiring the status card as completed without a real final reply.
|
|
14
|
+
|
|
5
15
|
## 0.5.26 - 2026-06-09
|
|
6
16
|
|
|
7
17
|
### 中文
|
|
@@ -8472,8 +8472,17 @@ function turnHasRelayableOutcome(turn) {
|
|
|
8472
8472
|
}
|
|
8473
8473
|
return turn.items.some((item) => {
|
|
8474
8474
|
const type = item.type.toLowerCase();
|
|
8475
|
-
|
|
8476
|
-
|
|
8475
|
+
if (!item.text?.trim()) {
|
|
8476
|
+
return false;
|
|
8477
|
+
}
|
|
8478
|
+
if (type === 'plan') {
|
|
8479
|
+
return true;
|
|
8480
|
+
}
|
|
8481
|
+
if (type !== 'agentmessage' && type !== 'assistantmessage') {
|
|
8482
|
+
return false;
|
|
8483
|
+
}
|
|
8484
|
+
const phase = item.phase?.toLowerCase() ?? null;
|
|
8485
|
+
return phase === null || phase.startsWith('final');
|
|
8477
8486
|
});
|
|
8478
8487
|
}
|
|
8479
8488
|
function mapGoalNotification(raw) {
|