Skip to content

The agent that grows with you

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

hermes-seaeye[bot]a89c1e1135a9
diff --git a/apps/desktop/src/lib/chat-messages/competing-contracts.test.ts b/apps/desktop/src/lib/chat-messages/competing-contracts.test.ts
index 9bd3e526189..aab2f1b6270 100644
--- a/apps/desktop/src/lib/chat-messages/competing-contracts.test.ts
+++ b/apps/desktop/src/lib/chat-messages/competing-contracts.test.ts
@@ -22,6 +22,7 @@ describe('D1 competing implementation contracts', () => {
result: { success: true },
isError: true
}
+
expect(summarizeToolRun([part], false)).toContain('Loaded skill')
})
it('does not report a failed skill as loaded in the settled summary', () => {
@@ -29,6 +30,7 @@ describe('D1 competing implementation contracts', () => {
[{ toolName: 'skill_view', args: { name: 'missing-skill' }, result: { error: 'missing' }, isError: true }],
false
)
+
expect(summary.toLowerCase()).toContain('failed')
expect(summary).not.toContain('Loaded')
})
diff --git a/apps/desktop/src/lib/chat-messages/d1-consumers.test.ts b/apps/desktop/src/lib/chat-messages/d1-consumers.test.ts
index a1c7862671f..f720c9aad36 100644
--- a/apps/desktop/src/lib/chat-messages/d1-consumers.test.ts
+++ b/apps/desktop/src/lib/chat-messages/d1-consumers.test.ts
@@ -23,6 +23,7 @@ describe('D1 settlement and presentation consumers', () => {
parts: upsertToolPart([], { name: 'terminal', tool_id: 'missing' }, 'running', 1)
}
]
+
const sealed = sealOpenToolParts(messages)
const part = sealed[0].parts[0]
expect('result' in part ? part.result : undefined).toBeUndefined()
@@ -43,6 +44,7 @@ describe('D1 settlement and presentation consumers', () => {
'complete',
2
)
+
expect(deriveChangedFiles(normalize(parts))).toEqual([{ path: '/tmp/a.ts', name: 'a.ts', added: 1, removed: 1 }])
})
it('keeps envelope-only todo completion and explicit clearing after normalization', () => {