The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#86407)
hermes-seaeye[bot]31e571acf66d
diff --git a/apps/desktop/electron/renderer-bundle.test.ts b/apps/desktop/electron/renderer-bundle.test.tsindex 2eff89af3e3..1e12389f162 100644--- a/apps/desktop/electron/renderer-bundle.test.ts+++ b/apps/desktop/electron/renderer-bundle.test.ts@@ -21,10 +21,7 @@ const INDEX_HTML = [].join('\n')test('parseModuleAssetRefs collects module scripts and modulepreload hrefs', () => {- assert.deepEqual(parseModuleAssetRefs(INDEX_HTML), [- '/assets/index-a1b2c3.js',- '/assets/shiki-block-COiz1pEN.js'- ])+ assert.deepEqual(parseModuleAssetRefs(INDEX_HTML), ['/assets/index-a1b2c3.js', '/assets/shiki-block-COiz1pEN.js'])})test('parseModuleAssetRefs ignores non-module tags (plain stylesheet, non-module script)', () => {@@ -80,10 +77,7 @@ const INDEX_PATH = path.join('/app', 'dist', 'index.html')const INDEX_DIR = path.dirname(INDEX_PATH)test('missingRendererAssets: intact generation reports nothing missing', () => {- const deps = depsFor(INDEX_DIR, INDEX_HTML, [- 'assets/index-a1b2c3.js',- 'assets/shiki-block-COiz1pEN.js'- ])+ const deps = depsFor(INDEX_DIR, INDEX_HTML, ['assets/index-a1b2c3.js', 'assets/shiki-block-COiz1pEN.js'])assert.deepEqual(missingRendererAssets(INDEX_PATH, deps), [])})@@ -113,10 +107,7 @@ test('missingRendererAssets: existence is checked relative to the index dir, perconst unpackedIndex = path.join('/app', 'app.asar.unpacked', 'dist', 'index.html')const unpackedDir = path.dirname(unpackedIndex)- const intact = depsFor(unpackedDir, INDEX_HTML, [- 'assets/index-a1b2c3.js',- 'assets/shiki-block-COiz1pEN.js'- ])+ const intact = depsFor(unpackedDir, INDEX_HTML, ['assets/index-a1b2c3.js', 'assets/shiki-block-COiz1pEN.js'])const torn = depsFor(INDEX_DIR, INDEX_HTML, ['assets/index-a1b2c3.js'])diff --git a/apps/desktop/electron/zoom.ts b/apps/desktop/electron/zoom.tsindex e0e392be1ba..4ba948c3624 100644--- a/apps/desktop/electron/zoom.ts+++ b/apps/desktop/electron/zoom.ts@@ -66,7 +66,9 @@ export function applyZoomLevel(webContents, level) {export const ZOOM_RESIZE_REASSERT_DELAY_MS = 100export function zoomReassertWindowEvents(platform = process.platform) {- return platform === 'linux' ? ['show', 'restore', 'focus', 'resize', 'move'] : ['show', 'restore', 'focus', 'resized', 'moved']+ return platform === 'linux'+ ? ['show', 'restore', 'focus', 'resize', 'move']+ : ['show', 'restore', 'focus', 'resized', 'moved']}export function installZoomReassertOnWindowEvents(win, reassert, platform = process.platform) {diff --git a/apps/desktop/src/app/chat/sidebar/session-actions-menu.tsx b/apps/desktop/src/app/chat/sidebar/session-actions-menu.tsxindex f1334929c5d..9a0e406f415 100644--- a/apps/desktop/src/app/chat/sidebar/session-actions-menu.tsx+++ b/apps/desktop/src/app/chat/sidebar/session-actions-menu.tsx@@ -251,6 +251,7 @@ function useSessionActions({label: r.openInTerminal,onSelect: () => {triggerHaptic('selection')+// Read the row lazily: subscribing every row's menu to $sessions// would re-render the whole sidebar on each session update.const cwd =diff --git a/ui-tui/src/app/createGatewayEventHandler.ts b/ui-tui/src/app/createGatewayEventHandler.tsindex ce584c20fe9..9507cb08541 100644--- a/ui-tui/src/app/createGatewayEventHandler.ts+++ b/ui-tui/src/app/createGatewayEventHandler.ts@@ -70,7 +70,6 @@ export const mergeUsageStable = (prev: Usage, patch: Partial<Usage> | undefined)return usageChanged(prev, merged) ? merged : prev}-const statusFromBusy = () => (getUiState().busy ? 'running…' : 'ready')// The last gateway skin, kept so the theme can be re-derived when the OSC-11