@vibe-lark/larkpal 0.1.60 → 0.1.61
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/main.mjs +2 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -3463,7 +3463,7 @@ function serializeChatRun(run) {
|
|
|
3463
3463
|
lastEventType: run.lastEventType,
|
|
3464
3464
|
lastToolName: run.lastToolName,
|
|
3465
3465
|
idleSeconds,
|
|
3466
|
-
adapterBusy: run.adapterBusy,
|
|
3466
|
+
adapterBusy: run.status === "running" ? run.adapterBusy : false,
|
|
3467
3467
|
staleReason: run.staleReason
|
|
3468
3468
|
};
|
|
3469
3469
|
}
|
|
@@ -3577,6 +3577,7 @@ async function markRunTerminal(run, messageStore, status, params) {
|
|
|
3577
3577
|
run.finalStatus = params.finalStatus;
|
|
3578
3578
|
run.error = params.error;
|
|
3579
3579
|
run.staleReason = params.staleReason;
|
|
3580
|
+
run.adapterBusy = false;
|
|
3580
3581
|
recordRunEvent(run, `run-${status}`);
|
|
3581
3582
|
broadcastRunStatus(run);
|
|
3582
3583
|
await appendRunStatusMessage(run, messageStore);
|