The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#89492)
hermes-seaeye[bot]72f9e014976b
diff --git a/apps/desktop/electron/profile-session-routing.test.ts b/apps/desktop/electron/profile-session-routing.test.tsindex d9dd79869c0..1c6b916c199 100644--- a/apps/desktop/electron/profile-session-routing.test.ts+++ b/apps/desktop/electron/profile-session-routing.test.ts@@ -352,6 +352,7 @@ test('splice: registry rows dedupe by id and extend per-profile totals', () => {{ id: 'local-1', profile: 'default', last_active: 100 },{ id: 'dupe', profile: 'work', last_active: 90 }]+const totals: Record<string, number> = { default: 1, work: 1 }const { added } = spliceRegistrySessionRows(diff --git a/apps/desktop/src/contrib/plugin.ts b/apps/desktop/src/contrib/plugin.tsindex 0cff5d2a835..dc2a9bbf8a8 100644--- a/apps/desktop/src/contrib/plugin.ts+++ b/apps/desktop/src/contrib/plugin.ts@@ -22,10 +22,7 @@ import type { Contribution } from './types'export type { PluginRestOptions } from '@/hermes'export type { HermesOpenTarget } from '@/lib/hermes-open-target'-export type {- PluginNativeNotificationInput,- PluginNotificationAction-} from '@/store/native-notifications'+export type { PluginNativeNotificationInput, PluginNotificationAction } from '@/store/native-notifications'/** A contribution as a plugin author writes it — provenance + id scoping are* the host's job, so those fields are off-limits here. */diff --git a/apps/desktop/src/global.d.ts b/apps/desktop/src/global.d.tsindex 0096e212ea0..e5f1e1de3be 100644--- a/apps/desktop/src/global.d.ts+++ b/apps/desktop/src/global.d.ts@@ -364,12 +364,7 @@ declare global {onNotificationAction?: (callback: (payload: { actionId: string; sessionId?: string }) => void) => () => void/** Plugin (and other session-less) notification body/action activation. */onNotificationActivate?: (- callback: (payload: {- actionId?: string- activate?: string- notifyId?: string- tag?: string- }) => void+ callback: (payload: { actionId?: string; activate?: string; notifyId?: string; tag?: string }) => void) => () => voidonPreviewFileChanged: (callback: (payload: HermesPreviewFileChanged) => void) => () => voidonBackendExit: (callback: (payload: BackendExit) => void) => () => voiddiff --git a/apps/desktop/src/lib/hermes-open-target.ts b/apps/desktop/src/lib/hermes-open-target.tsindex 5061db0acd7..a865486d1be 100644--- a/apps/desktop/src/lib/hermes-open-target.ts+++ b/apps/desktop/src/lib/hermes-open-target.ts@@ -12,10 +12,7 @@* - `/my-page?item=x` / `#/my-page?item=x` (hash-router paths)*/-export type HermesOpenTarget =- | string- | { href: string }- | { path: string; params?: Record<string, string> }+export type HermesOpenTarget = string | { href: string } | { path: string; params?: Record<string, string> }const HERMES_PROTOCOL = 'hermes:'@@ -158,11 +155,7 @@ export function resolveHermesOpenPath(target: HermesOpenTarget | null | undefine* Build a navigate path from a parsed deep-link payload* (`hermes://<kind>/<name>?…` → kind/name/params).*/-export function pathFromHermesDeepLink(- kind: string,- name: string,- params: Record<string, string> = {}-): string | null {+export function pathFromHermesDeepLink(kind: string, name: string, params: Record<string, string> = {}): string | null {if (!kind || !name) {return null}diff --git a/apps/desktop/src/store/gateway-connection-lifecycle.test.ts b/apps/desktop/src/store/gateway-connection-lifecycle.test.tsindex 3c33363984f..ffa828c3776 100644--- a/apps/desktop/src/store/gateway-connection-lifecycle.test.ts+++ b/apps/desktop/src/store/gateway-connection-lifecycle.test.ts@@ -317,6 +317,7 @@ describe('reconnect fail-stop on a removed connection', () => {// "Hermes gateway is not connected" on the Sessions + action. The drive// must ride out the in-flight activation and hand back the opened socket.let releaseDial: (() => void) | undefined+const dialGate = new Promise<void>(resolve => {releaseDial = resolve})