The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#86634)
hermes-seaeye[bot]efc3cd8697f3
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex d7bd748c477..9f2b3c9f26f 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -2924,6 +2924,7 @@ function execText(command, args) {async function processStartMarker(pid) {if (process.platform === 'linux') {const stat = await fs.promises.readFile(`/proc/${pid}/stat`, 'utf8')+const fields = stat.slice(stat.lastIndexOf(')') + 1).trim()@@ -7121,7 +7122,9 @@ async function discoverCloudAgents(org?: string) {// A 401 means the portal session lapsed (and silent renewal could not// recover it) — surface it as a re-login, not a generic failure.if (error && error.statusCode === 401) {- const err = new Error('Your Hermes Cloud session has expired. Open Settings → Gateway and sign in again.') as any+ const err = new Error(+ 'Your Hermes Cloud session has expired. Open Settings → Gateway and sign in again.'+ ) as anyerr.needsCloudLogin = trueerr.cause = errorthrow errdiff --git a/apps/desktop/src/store/prompts.ts b/apps/desktop/src/store/prompts.tsindex c70a0965cb5..da9c7dedb54 100644--- a/apps/desktop/src/store/prompts.ts+++ b/apps/desktop/src/store/prompts.ts@@ -137,6 +137,7 @@ export async function replayPendingApproval(gateway: ApprovalGateway | null, sesconst result =rawResult && typeof rawResult === 'object' ? (rawResult as { approvals?: PendingApprovalPayload[] }) : {}+const pending = Array.isArray(result?.approvals) ? result.approvals[0] : undefinedif (!pending || typeof pending.request_id !== 'string') {