summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks/useContinueGUIProtocol.ts
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-07-02 20:15:49 -0700
committerGitHub <noreply@github.com>2023-07-02 20:15:49 -0700
commit9831ac76fbced2f18ec15642eb31d3854af56e67 (patch)
treec2682170eb8f8a81fd494fce7bb8a435dcfa9829 /extension/react-app/src/hooks/useContinueGUIProtocol.ts
parentc41314b095648e6b3bcecc84a20354574db8379d (diff)
parent38d0c1ad7955b43c1765ac8faea723028a90201e (diff)
downloadsncontinue-9831ac76fbced2f18ec15642eb31d3854af56e67.tar.gz
sncontinue-9831ac76fbced2f18ec15642eb31d3854af56e67.tar.bz2
sncontinue-9831ac76fbced2f18ec15642eb31d3854af56e67.zip
Merge pull request #170 from continuedev/explicit-context
Explicit context
Diffstat (limited to 'extension/react-app/src/hooks/useContinueGUIProtocol.ts')
-rw-r--r--extension/react-app/src/hooks/useContinueGUIProtocol.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
index f43a66ff..a0c38c0f 100644
--- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts
+++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
@@ -70,6 +70,10 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
deleteAtIndex(index: number) {
this.messenger.send("delete_at_index", { index });
}
+
+ deleteContextItemAtIndex(index: number) {
+ this.messenger.send("delete_context_item_at_index", { index });
+ }
}
export default ContinueGUIClientProtocol;