mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
fmt(js): npm run fix on merge (#66465)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
29dac61d77
commit
bcea5371c8
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ function armWatchdog(runtimeId: string) {
|
|||
if (existing) {
|
||||
clearTimeout(existing)
|
||||
}
|
||||
|
||||
sessionWatchdogTimers.set(
|
||||
runtimeId,
|
||||
setTimeout(() => {
|
||||
|
|
@ -113,6 +114,7 @@ function handleTransition(previous: ClientSessionState | null, next: ClientSessi
|
|||
if (runtimeId === $activeSessionId.get()) {
|
||||
setActiveSessionStoredId(next.storedSessionId)
|
||||
}
|
||||
|
||||
clearSettled(previous.storedSessionId)
|
||||
}
|
||||
|
||||
|
|
@ -128,6 +130,7 @@ function handleTransition(previous: ClientSessionState | null, next: ClientSessi
|
|||
if (!storedId) {
|
||||
return
|
||||
}
|
||||
|
||||
const wasWorking = previous?.busy ?? false
|
||||
|
||||
if (next.busy && !wasWorking) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue