openclaw-lark-multi-agent 1.1.0 → 1.1.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/dist/live-status.js +3 -3
- package/package.json +1 -1
package/dist/live-status.js
CHANGED
|
@@ -3,9 +3,9 @@ const DEFAULT_MAX_CHARS = Number(process.env.OPENCLAW_LARK_MULTI_AGENT_LIVE_STAT
|
|
|
3
3
|
// How many recent activity lines to keep in the card content area.
|
|
4
4
|
const DEFAULT_HISTORY = Number(process.env.OPENCLAW_LARK_MULTI_AGENT_LIVE_STATUS_HISTORY || 6);
|
|
5
5
|
// How often to refresh the elapsed-time footer even when no new activity arrives,
|
|
6
|
-
// so the "已用时间"
|
|
7
|
-
// edit), so a
|
|
8
|
-
const DEFAULT_TICK_MS = Number(process.env.OPENCLAW_LARK_MULTI_AGENT_LIVE_STATUS_TICK_MS ||
|
|
6
|
+
// so the "已用时间" ticks like a live timer. Interactive-card patch has no 20-edit
|
|
7
|
+
// cap (unlike text edit), so a 1s cadence is fine.
|
|
8
|
+
const DEFAULT_TICK_MS = Number(process.env.OPENCLAW_LARK_MULTI_AGENT_LIVE_STATUS_TICK_MS || 1000);
|
|
9
9
|
export class LiveStatusController {
|
|
10
10
|
callbacks;
|
|
11
11
|
opts;
|