The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#79496)
hermes-seaeye[bot]18ed612e5cd4
diff --git a/apps/desktop/electron/git-worktree-ops.test.ts b/apps/desktop/electron/git-worktree-ops.test.tsindex 0149088ff8e..0c4d94c3012 100644--- a/apps/desktop/electron/git-worktree-ops.test.ts+++ b/apps/desktop/electron/git-worktree-ops.test.ts@@ -328,7 +328,10 @@ test('addWorktree: base origin/main does not set up upstream tracking', async ()function seedRemoteAndClone(label, branches) {const remoteDir = fs.mkdtempSync(path.join(os.tmpdir(), `hermes-${label}-remote-`))const cloneDir = fs.mkdtempSync(path.join(os.tmpdir(), `hermes-${label}-clone-`))- const remoteGit = (...args) => execFileSync('git', ['-C', remoteDir, ...args]).toString().trim()+ const remoteGit = (...args) =>+ execFileSync('git', ['-C', remoteDir, ...args])+ .toString()+ .trim()execFileSync('git', ['init', '-b', 'main', remoteDir])remoteGit('-c', 'user.email=hermes@localhost', '-c', 'user.name=Hermes', 'commit', '--allow-empty', '-m', 'root')@@ -382,7 +385,10 @@ test('addWorktree: a remote branch becomes a local branch tracking it', async ()try {const result = await addWorktree(cloneDir, { existingBranch: 'origin/teammate-work' }, 'git')- const inTree = (...args) => execFileSync('git', ['-C', result.path, ...args]).toString().trim()+ const inTree = (...args) =>+ execFileSync('git', ['-C', result.path, ...args])+ .toString()+ .trim()// The worktree is on a local branch that has the name of the remote one. It// is not on a detached HEAD, which is the result of a checkout of@@ -402,7 +408,10 @@ test('addWorktree: a remote branch becomes a local branch tracking it', async ()test('addWorktree: a remote default branch gets its own worktree, not a home switch', async () => {const { cloneDir, remoteDir } = seedRemoteAndClone('convert-remote-default', [])- const git = (...args) => execFileSync('git', ['-C', cloneDir, ...args]).toString().trim()+ const git = (...args) =>+ execFileSync('git', ['-C', cloneDir, ...args])+ .toString()+ .trim()try {// Move the main checkout off `main`, which makes "origin/main" convertible.diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsxindex 30f07be1158..a6cee59ea0e 100644--- a/apps/desktop/src/app/chat/sidebar/index.tsx+++ b/apps/desktop/src/app/chat/sidebar/index.tsx@@ -1335,9 +1335,7 @@ export function ChatSidebar({headerAction={inProject && enteredProject ? (<div className="group/workspace flex shrink-0 items-center gap-0.5">- {enteredProject.path && (- <StartWorkButton repoPath={enteredProject.path} />- )}+ {enteredProject.path && <StartWorkButton repoPath={enteredProject.path} />}{/* Home has no folder and no record to rename, theme, or delete. */}{!enteredProject.isNoProject && (<ProjectMenudiff --git a/apps/desktop/src/app/chat/sidebar/projects/workspace-header.tsx b/apps/desktop/src/app/chat/sidebar/projects/workspace-header.tsxindex 102f43ff501..4fe4b4dcc80 100644--- a/apps/desktop/src/app/chat/sidebar/projects/workspace-header.tsx+++ b/apps/desktop/src/app/chat/sidebar/projects/workspace-header.tsx@@ -11,7 +11,6 @@ import { copyPath, revealPath } from '@/store/projects'import { SidebarRowLead } from '../chrome'-// Branch/worktree labels routinely share a long prefix (`bb/coding-context-…`),// so plain end-truncation (`truncate`) hides exactly the suffix that tells two// lanes apart — both render as "bb/coding-context…". Keep the tail pinned anddiff --git a/apps/desktop/src/app/chat/sidebar/projects/worktree-dialog.tsx b/apps/desktop/src/app/chat/sidebar/projects/worktree-dialog.tsxindex d1ee39efd0b..7f808f63900 100644--- a/apps/desktop/src/app/chat/sidebar/projects/worktree-dialog.tsx+++ b/apps/desktop/src/app/chat/sidebar/projects/worktree-dialog.tsx@@ -242,9 +242,7 @@ export function WorktreeDialog() {</Button></PopoverTrigger><PopoverContent align="start" className="z-(--z-modal-popover) min-w-(--radix-popover-trigger-width) p-0">- <Command- filter={(value, search) => (value.toLowerCase().includes(search.toLowerCase()) ? 1 : 0)}- >+ <Command filter={(value, search) => (value.toLowerCase().includes(search.toLowerCase()) ? 1 : 0)}><CommandInput autoFocus placeholder={p.worktreeProjectPlaceholder} /><CommandList className="max-h-64"><CommandEmpty>{p.worktreeProjectNone}</CommandEmpty>diff --git a/apps/desktop/src/app/right-sidebar/files/remote-picker.tsx b/apps/desktop/src/app/right-sidebar/files/remote-picker.tsxindex a42bb9a2102..85fe59bd335 100644--- a/apps/desktop/src/app/right-sidebar/files/remote-picker.tsx+++ b/apps/desktop/src/app/right-sidebar/files/remote-picker.tsx@@ -121,7 +121,10 @@ export function RemoteFolderPicker() {return (<Dialog onOpenChange={open => !open && close()} open={Boolean(pending)}>- <DialogContent bodyClassName="flex min-h-0 flex-col gap-0 overflow-hidden p-0" className="h-[min(36rem,calc(100vh-4rem))] max-w-lg">+ <DialogContent+ bodyClassName="flex min-h-0 flex-col gap-0 overflow-hidden p-0"+ className="h-[min(36rem,calc(100vh-4rem))] max-w-lg"+ ><div className="shrink-0 border-b border-border/70 px-4 py-3"><DialogTitle className="text-sm">{pending?.title || r.remotePickerTitle}</DialogTitle><DialogDescription className="mt-1 text-xs">{r.remotePickerDescription}</DialogDescription>diff --git a/apps/desktop/src/app/updates-overlay.tsx b/apps/desktop/src/app/updates-overlay.tsxindex ec5009f5a7c..14339f03736 100644--- a/apps/desktop/src/app/updates-overlay.tsx+++ b/apps/desktop/src/app/updates-overlay.tsx@@ -104,7 +104,8 @@ export function UpdatesOverlay() {{/* This dialog has no inputs, so Radix's default autofocus would land onthe close button and trigger its tooltip immediately on open. */}<DialogContent- bodyClassName="overflow-hidden p-0 gap-0" className="max-w-sm"+ bodyClassName="overflow-hidden p-0 gap-0"+ className="max-w-sm"onOpenAutoFocus={preventCloseButtonAutoFocus}showCloseButton={phase !== 'applying'}>diff --git a/apps/desktop/src/components/chat/zoomable-image.tsx b/apps/desktop/src/components/chat/zoomable-image.tsxindex fa4d04a7c20..e11ad3cb63a 100644--- a/apps/desktop/src/components/chat/zoomable-image.tsx+++ b/apps/desktop/src/components/chat/zoomable-image.tsx@@ -79,7 +79,8 @@ export function ImageLightbox({return (<Dialog onOpenChange={onOpenChange} open={open}><DialogContent- bodyClassName="block overflow-visible p-0" className="w-auto max-h-[calc(100vh-12rem)] max-w-[calc(100vw-12rem)] border-0 bg-transparent shadow-none"+ bodyClassName="block overflow-visible p-0"+ className="w-auto max-h-[calc(100vh-12rem)] max-w-[calc(100vw-12rem)] border-0 bg-transparent shadow-none"showCloseButton={false}><div className="group/lightbox relative inline-block">diff --git a/apps/desktop/src/components/ui/zoomable.tsx b/apps/desktop/src/components/ui/zoomable.tsxindex 4800cc3e0f4..63801b9c590 100644--- a/apps/desktop/src/components/ui/zoomable.tsx+++ b/apps/desktop/src/components/ui/zoomable.tsx@@ -80,7 +80,8 @@ function ZoomPanViewer({return (<Dialog onOpenChange={onOpenChange} open={open}><DialogContent- bodyClassName="flex min-h-0 flex-col gap-0 overflow-hidden p-0" className="h-[85vh] w-[90vw] max-w-[90vw]"+ bodyClassName="flex min-h-0 flex-col gap-0 overflow-hidden p-0"+ className="h-[85vh] w-[90vw] max-w-[90vw]"showCloseButton={false}><div