summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'extension/react-app/src/hooks/ContinueGUIClientProtocol.ts')
-rw-r--r--extension/react-app/src/hooks/ContinueGUIClientProtocol.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
index c2285f6d..82aeee28 100644
--- a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
+++ b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
@@ -125,6 +125,13 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
selectContextItem(id: string, query: string): void {
this.messenger?.send("select_context_item", { id, query });
}
+
+ editStepAtIndex(userInput: string, index: number): void {
+ this.messenger?.send("edit_step_at_index", {
+ user_input: userInput,
+ index,
+ });
+ }
}
export default ContinueGUIClientProtocol;