From 460c719816d805d231b147af40633857c7af168e Mon Sep 17 00:00:00 2001 From: QQ Date: Tue, 17 Nov 2026 08:49:33 +0800 Subject: [PATCH] Import packages/plugin/tests/acp-hermes-process.test.ts --- packages/plugin/tests/acp-hermes-process.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/plugin/tests/acp-hermes-process.test.ts b/packages/plugin/tests/acp-hermes-process.test.ts index 4e80fdd..b3b9c15 100644 --- a/packages/plugin/tests/acp-hermes-process.test.ts +++ b/packages/plugin/tests/acp-hermes-process.test.ts @@ -161,7 +161,9 @@ describe('HermesAcpClient', () => { queueMicrotask(() => child.emit('error', new Error('spawn hermes ENOENT'))) return child }) - await expect(client.start()).rejects.toMatchObject({ code: 'CURSOR_BINARY_UNAVAILABLE' }) + // Hermes reuses the Cursor stdio client, but its failures must not be + // reported as Cursor ones: a disabled Cursor backend stays silent. + await expect(client.start()).rejects.toMatchObject({ code: 'HERMES_BINARY_UNAVAILABLE' }) expect(client.isReady()).toBe(false) }) })