openclaw-lark-multi-agent 1.4.6 → 1.4.7
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/dist/feishu-bot.js +9 -5
- package/package.json +1 -1
package/dist/feishu-bot.js
CHANGED
|
@@ -1825,9 +1825,10 @@ export class FeishuBot {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
completionSummary(meta, emoji = "✅") {
|
|
1827
1827
|
const en = meta.locale === "en";
|
|
1828
|
-
|
|
1828
|
+
const core = en
|
|
1829
1829
|
? `${emoji} ${meta.toolCalls} tool call${meta.toolCalls === 1 ? "" : "s"} · ⏱ ${meta.elapsed}`
|
|
1830
1830
|
: `${emoji} 累计${meta.toolCalls} 次工具调用 · ⏱ 耗时${meta.elapsed}`;
|
|
1831
|
+
return meta.model?.trim() ? `${core} · 🧠 ${this.escapeCardText(meta.model.trim())}` : core;
|
|
1831
1832
|
}
|
|
1832
1833
|
/** Best-effort terminal cleanup for status-only rows and legacy v1.4.3
|
|
1833
1834
|
* outbox entries that once targeted the live-status card. */
|
|
@@ -2654,6 +2655,7 @@ export class FeishuBot {
|
|
|
2654
2655
|
const summary = this.completionSummary({
|
|
2655
2656
|
toolCalls: view.toolCalls,
|
|
2656
2657
|
elapsed: view.elapsed,
|
|
2658
|
+
model: view.model,
|
|
2657
2659
|
locale: en ? "en" : "zh",
|
|
2658
2660
|
}, statusEmoji);
|
|
2659
2661
|
return {
|
|
@@ -2686,10 +2688,12 @@ export class FeishuBot {
|
|
|
2686
2688
|
elements.push({ tag: "markdown", content: en ? "_working…_" : "_正在启动…_" });
|
|
2687
2689
|
}
|
|
2688
2690
|
elements.push({ tag: "hr" });
|
|
2689
|
-
//
|
|
2690
|
-
// reply
|
|
2691
|
-
const
|
|
2692
|
-
|
|
2691
|
+
// Keep the active model visible while the run is in progress or failed.
|
|
2692
|
+
// The final reply also keeps model attribution so it remains self-contained.
|
|
2693
|
+
const footerBits = [en ? `⏱ ${view.elapsed}` : `⏱ 已用 ${view.elapsed}`];
|
|
2694
|
+
if (view.model?.trim())
|
|
2695
|
+
footerBits.push(`🧠 ${this.escapeCardText(view.model.trim())}`);
|
|
2696
|
+
elements.push({ tag: "markdown", content: `<font color='grey'>${footerBits.join(" · ")}</font>` });
|
|
2693
2697
|
const template = view.state === "failed" ? "orange" : "blue";
|
|
2694
2698
|
return {
|
|
2695
2699
|
schema: "2.0",
|