mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add missing RooCodeIpcServer interface
This commit is contained in:
parent
3457ecbba3
commit
f708a49a05
1 changed files with 12 additions and 0 deletions
|
|
@ -125,3 +125,15 @@ export type IpcServerEvents = {
|
|||
[IpcMessageType.TaskCommand]: [clientId: string, data: TaskCommand]
|
||||
[IpcMessageType.TaskEvent]: [relayClientId: string | undefined, data: TaskEvent]
|
||||
}
|
||||
|
||||
/**
|
||||
* RooCodeIpcServer
|
||||
*/
|
||||
|
||||
export interface RooCodeIpcServer {
|
||||
socketPath: string
|
||||
isListening: boolean
|
||||
listen(): void
|
||||
broadcast(message: IpcMessage): void
|
||||
send(client: string | unknown, message: IpcMessage): void
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue