@yumind-ai/harness 1.0.0 → 1.0.1
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 +1 -1
- package/public/index.html +2 -1
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -648,7 +648,8 @@
|
|
|
648
648
|
traceEl.appendChild(div);
|
|
649
649
|
if (nearBottom(traceEl)) scrollBottom(traceEl);
|
|
650
650
|
|
|
651
|
-
|
|
651
|
+
// 只有实时事件才在消息区追加工具卡片;重放历史轨迹时不要重复渲染
|
|
652
|
+
if (appendToState && evt.type === 'tool.result') {
|
|
652
653
|
addToolCard(evt.detail.name, evt.detail.args, evt.detail.output, evt.detail.ok);
|
|
653
654
|
refreshVfs();
|
|
654
655
|
}
|