mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-10 03:28:03 +00:00
Add the getCurrentTaskStack method to public API interface
This commit is contained in:
parent
3b5b34012f
commit
c4559b7d0f
1 changed files with 6 additions and 0 deletions
6
src/exports/roo-code.d.ts
vendored
6
src/exports/roo-code.d.ts
vendored
|
|
@ -62,6 +62,12 @@ export interface RooCodeAPI extends EventEmitter<RooCodeEvents> {
|
|||
* @returns An array of ClineMessage objects.
|
||||
*/
|
||||
getMessages(taskId: string): ClineMessage[]
|
||||
|
||||
/**
|
||||
* Returns the current task stack.
|
||||
* @returns An array of task IDs.
|
||||
*/
|
||||
getCurrentTaskStack(): string[]
|
||||
}
|
||||
|
||||
export type ClineAsk =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue