The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#101497)
hermes-seaeye[bot]4e66da6eebe1
diff --git a/apps/desktop/src/app/agents/index.tsx b/apps/desktop/src/app/agents/index.tsxindex e9f977b60ed..cd3f36f168b 100644--- a/apps/desktop/src/app/agents/index.tsx+++ b/apps/desktop/src/app/agents/index.tsx@@ -178,8 +178,10 @@ function groupDelegations(roots: readonly SubagentNode[]): RootGroup[] {const prev = groups.at(-1)const prevTail = prev?.nodes.at(-1)const closeInTime = prevTail ? Math.abs(node.startedAt - prevTail.startedAt) <= 5_000 : false+const sameShape =prev && !prev.id.startsWith('delegation:') && node.taskCount > 1 && prev.taskCount === node.taskCount+const uniqueStep = prev ? !prev.nodes.some(item => item.taskIndex === node.taskIndex) : falseif (prev && sameShape && closeInTime && uniqueStep) {diff --git a/apps/desktop/src/app/chat/session-tile.tsx b/apps/desktop/src/app/chat/session-tile.tsxindex 484307c4071..899c0266763 100644--- a/apps/desktop/src/app/chat/session-tile.tsx+++ b/apps/desktop/src/app/chat/session-tile.tsx@@ -559,6 +559,7 @@ function tileCaption(storedSessionId: string): string {function tileDragPayload(storedSessionId: string): SessionDragPayload {const stored = tileStoredRow(storedSessionId)const tile = $sessionTiles.get().find(candidate => candidate.storedSessionId === storedSessionId)+const title = stored? sessionTitle(stored): tile?.workspaceTabTitle || draftTitleFor(storedSessionId) || NEW_SESSION_TITLEdiff --git a/apps/desktop/src/lib/preview-annotate/in-page.test.ts b/apps/desktop/src/lib/preview-annotate/in-page.test.tsindex b289c70b7db..15c31383e9b 100644--- a/apps/desktop/src/lib/preview-annotate/in-page.test.ts+++ b/apps/desktop/src/lib/preview-annotate/in-page.test.ts@@ -258,9 +258,7 @@ describe('annotateInPage overlay', () => {expect(pins().style.display).toBe('none')// The draft's own marker must survive — it is the point of the crop.- expect(- (shadow.querySelector('[data-annotate-outline="draft"]') as HTMLElement).style.display- ).toBe('block')+ expect((shadow.querySelector('[data-annotate-outline="draft"]') as HTMLElement).style.display).toBe('block')api.endCapture()