The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#83143)
hermes-seaeye[bot]03fa32c92dd4
diff --git a/apps/desktop/src/app/contrib/wiring.tsx b/apps/desktop/src/app/contrib/wiring.tsxindex 1b218f387d9..11583b635cd 100644--- a/apps/desktop/src/app/contrib/wiring.tsx+++ b/apps/desktop/src/app/contrib/wiring.tsx@@ -112,7 +112,12 @@ import { useSessionStateCache } from '../session/hooks/use-session-state-cache'import { startWorkspaceSession } from '../session/workspace-session-target'import { useOverlayRouting } from '../shell/hooks/use-overlay-routing'import { useWindowControlsOverlayWidth } from '../shell/hooks/use-window-controls-overlay-width'-import { titlebarControlsPosition, titlebarControlsYNudge, titlebarToolsRightCss, titlebarToolsWidthCss } from '../shell/titlebar'+import {+ titlebarControlsPosition,+ titlebarControlsYNudge,+ titlebarToolsRightCss,+ titlebarToolsWidthCss+} from '../shell/titlebar'import { TitlebarControls } from '../shell/titlebar-controls'import { UpdatesOverlay } from '../updates-overlay'@@ -971,11 +976,13 @@ export function ContribWiring({ children }: { children: ReactNode }) {// prefer the live WCO measurement, fall back to the static reservation).const measuredOverlayWidth = useWindowControlsOverlayWidth()const nativeOverlayWidth = measuredOverlayWidth ?? connection?.nativeOverlayWidth ?? 0+const titlebarChrome = {darwinMajor: connection?.darwinMajor ?? 0,isFullscreen: Boolean(connection?.isFullscreen),windowButtonPosition: connection?.windowButtonPosition}+const titlebarToolsRight = titlebarToolsRightCss(nativeOverlayWidth, titlebarChrome)// Pane-registered tools (preview's monitor/devtools cluster) anchor flush// against the static system cluster — in the tree layout the titlebar banddiff --git a/apps/desktop/src/app/shell/titlebar.test.ts b/apps/desktop/src/app/shell/titlebar.test.tsindex d15b3e3b5ec..3531adb08b4 100644--- a/apps/desktop/src/app/shell/titlebar.test.ts+++ b/apps/desktop/src/app/shell/titlebar.test.ts@@ -53,9 +53,9 @@ describe('titlebarControlsYNudge', () => {})it('stays flat on Tahoe, Windows/Linux, and macOS fullscreen', () => {- expect(titlebarControlsYNudge({ windowButtonPosition: { x: 24, y: 10 }, darwinMajor: MACOS_TAHOE_DARWIN_MAJOR })).toBe(- '0px'- )+ expect(+ titlebarControlsYNudge({ windowButtonPosition: { x: 24, y: 10 }, darwinMajor: MACOS_TAHOE_DARWIN_MAJOR })+ ).toBe('0px')expect(titlebarControlsYNudge({ windowButtonPosition: null })).toBe('0px')expect(titlebarControlsYNudge({ windowButtonPosition: { x: 24, y: 10 }, isFullscreen: true })).toBe('0px')})