Skip to content

Commit 47c9d56

Browse files
khaliqgantclaude
andcommitted
fix(ipc-mock): add checkCliAvailable stub to satisfy broker type
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cdba186 commit 47c9d56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/renderer/src/lib/ipc-mock.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@ export const pearMock: PearAPI = {
966966
noopUnsubscribe(state.brokerDiagnosticListeners, callback),
967967
onPtyChunk: (callback: (projectId: string, name: string, chunk: string) => void) =>
968968
noopUnsubscribe(state.ptyChunkListeners, callback),
969-
onStatus: (callback: (status: BrokerStatusEvent) => void) => noopUnsubscribe(state.brokerStatusListeners, callback)
969+
onStatus: (callback: (status: BrokerStatusEvent) => void) => noopUnsubscribe(state.brokerStatusListeners, callback),
970+
checkCliAvailable: async (_cli: string) => true
970971
},
971972
factory: {
972973
status: async () => ({

0 commit comments

Comments
 (0)