mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix: update RooCodeAPIEvents interface for backward compatibility
This commit is contained in:
parent
11e4f6933b
commit
e217ab078f
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ export interface RooCodeAPIEvents {
|
|||
message: [data: { taskId: string; action: "created" | "updated"; message: ClineMessage }]
|
||||
taskCreated: [taskId: string]
|
||||
taskStarted: [taskId: string]
|
||||
taskModeSwitched: [taskId: string, mode: string]
|
||||
taskAgentSwitched: [taskId: string, agent: string]
|
||||
taskModeSwitched: [taskId: string, mode: string] // Backward compatibility alias
|
||||
taskPaused: [taskId: string]
|
||||
taskUnpaused: [taskId: string]
|
||||
taskAskResponded: [taskId: string]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue