Skip to content

Commit c4559b7

Browse files
committed
Add the getCurrentTaskStack method to public API interface
1 parent 3b5b340 commit c4559b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/exports/roo-code.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ export interface RooCodeAPI extends EventEmitter<RooCodeEvents> {
6262
* @returns An array of ClineMessage objects.
6363
*/
6464
getMessages(taskId: string): ClineMessage[]
65+
66+
/**
67+
* Returns the current task stack.
68+
* @returns An array of task IDs.
69+
*/
70+
getCurrentTaskStack(): string[]
6571
}
6672

6773
export type ClineAsk =

0 commit comments

Comments
 (0)