From 25262703573e79fc436c32f48b8df428bfeb4c97 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 12 Jun 2023 13:18:16 -0700 Subject: clear history and delete step buttons --- extension/react-app/src/hooks/useContinueGUIProtocol.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extension/react-app/src/hooks/useContinueGUIProtocol.ts') diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts index f27895fb..a8e28fc5 100644 --- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts +++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts @@ -45,9 +45,17 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol { }); } + sendClear() { + this.messenger.send("clear_history", {}); + } + retryAtIndex(index: number) { this.messenger.send("retry_at_index", { index }); } + + deleteAtIndex(index: number) { + this.messenger.send("delete_at_index", { index }); + } } export default ContinueGUIClientProtocol; -- cgit v1.2.3-70-g09d2