Add the getCurrentTaskStack method to public API interface

This commit is contained in:
Wojciech Kordalski 2025-03-15 13:17:50 +01:00
parent 3b5b34012f
commit c4559b7d0f
No known key found for this signature in database
GPG key ID: 7D83E309C320BD86

View file

@ -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 =