Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#98548)

hermes-seaeye[bot]bdb8b1603f5b
diff --git a/apps/desktop/electron/mcp-oauth-callback-ipc.test.ts b/apps/desktop/electron/mcp-oauth-callback-ipc.test.ts
index 2b622f6aefb..5ac2f1619c9 100644
--- a/apps/desktop/electron/mcp-oauth-callback-ipc.test.ts
+++ b/apps/desktop/electron/mcp-oauth-callback-ipc.test.ts
@@ -79,7 +79,10 @@ test('non-callback noise (favicon) does not settle the listener', async () => {
test('provider error param is forwarded', async () => {
const { id, redirectUri } = (await invoke('hermes:mcp-oauth:listen')) as { id: string; redirectUri: string }
- const waitPromise = invoke('hermes:mcp-oauth:wait', id, 5000) as Promise<{ code: null | string; error: null | string }>
+ const waitPromise = invoke('hermes:mcp-oauth:wait', id, 5000) as Promise<{
+ code: null | string
+ error: null | string
+ }>
await fetch(`${redirectUri}?error=access_denied&state=s`)
diff --git a/apps/desktop/src/global.d.ts b/apps/desktop/src/global.d.ts
index b1fdc6ea18b..d3d00e635f6 100644
--- a/apps/desktop/src/global.d.ts
+++ b/apps/desktop/src/global.d.ts
@@ -306,7 +306,10 @@ declare global {
* await the provider redirect, relay code/state via oauth.callback. */
mcpOauth?: {
listen: () => Promise<{ id: string; redirectUri: string }>
- wait: (id: string, timeoutMs?: number) => Promise<{ code: null | string; error: null | string; state: null | string }>
+ wait: (
+ id: string,
+ timeoutMs?: number
+ ) => Promise<{ code: null | string; error: null | string; state: null | string }>
cancel: (id: string) => Promise<boolean>
}
openPreviewInBrowser?: (url: string) => Promise<void>
diff --git a/ui-tui/src/__tests__/appChromeStatusRule.test.tsx b/ui-tui/src/__tests__/appChromeStatusRule.test.tsx
index 017ce923716..24966c7995b 100644
--- a/ui-tui/src/__tests__/appChromeStatusRule.test.tsx
+++ b/ui-tui/src/__tests__/appChromeStatusRule.test.tsx
@@ -492,7 +492,6 @@ describe('StatusRule idle-since read-out', () => {
})
})
-
describe('StatusRule perf read-outs (cache hit / latency / tps)', () => {
const perfUsage = {
...baseProps.usage,