The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#91000)
hermes-seaeye[bot]63c6d9a45c5e
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex 92ec2104d8c..0a7b998d72b 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -3641,6 +3641,7 @@ async function applyUpdates(opts: { stopSafeBlockers?: boolean } = {}) {if (scriptHandoff) {const updateStartedAt = Math.floor(Date.now() / 1000)+// A bare detached+hidden powershell spawn silently dies before -File// processing (console-subsystem init failure — see// wrapHandoffForDetachedConsole). Route through `cmd start` so thediff --git a/apps/desktop/electron/update-handoff-marker.test.ts b/apps/desktop/electron/update-handoff-marker.test.tsindex 52db0d2e537..a8f48e6a387 100644--- a/apps/desktop/electron/update-handoff-marker.test.ts+++ b/apps/desktop/electron/update-handoff-marker.test.ts@@ -26,21 +26,22 @@ function markerStartedAt(home: string): number {function runPosix(installRoot: string, startedAt?: string) {const env = { ...process.env }+if (startedAt === undefined) {delete env.HERMES_UPDATE_STARTED_AT} else {env.HERMES_UPDATE_STARTED_AT = startedAt}- return spawnSync(- '/bin/bash',- [POSIX_SCRIPT, '--daemonized', '--install-root', installRoot, '--self-test-marker'],- { env, encoding: 'utf8' }- )+ return spawnSync('/bin/bash', [POSIX_SCRIPT, '--daemonized', '--install-root', installRoot, '--self-test-marker'], {+ env,+ encoding: 'utf8'+ })}function runWindows(installRoot: string, startedAt?: string) {const env = { ...process.env }+if (startedAt === undefined) {delete env.HERMES_UPDATE_STARTED_AT} else {diff --git a/apps/desktop/electron/update-marker.ts b/apps/desktop/electron/update-marker.tsindex 80f4aa5d3a3..4bc59665bde 100644--- a/apps/desktop/electron/update-marker.ts+++ b/apps/desktop/electron/update-marker.ts@@ -144,11 +144,13 @@ export function writeUpdateMarker(const file = markerPath(hermesHome)const nowMs = now()const owner = readLiveUpdateMarker(hermesHome, { kill, maxAgeMs, now: () => nowMs })- const acquiredAt = typeof startedAt === 'number' && Number.isInteger(startedAt)- ? startedAt- : owner- ? Math.floor((nowMs - owner.ageMs) / 1000)- : Math.floor(nowMs / 1000)++ const acquiredAt =+ typeof startedAt === 'number' && Number.isInteger(startedAt)+ ? startedAt+ : owner+ ? Math.floor((nowMs - owner.ageMs) / 1000)+ : Math.floor(nowMs / 1000)try {fs.writeFileSync(file, `${pid}\n${acquiredAt}\n`, 'utf8')