summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-20 20:02:07 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-20 20:02:07 -0700
commitc98f860460767fe14f8fbf139150b1bd1ee2ff12 (patch)
tree6a88fb4aaa733892d9409324f66505c4263c7c19 /extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts
parent84ec574e182ec441e95d13c3543a934e0a036228 (diff)
downloadsncontinue-c98f860460767fe14f8fbf139150b1bd1ee2ff12.tar.gz
sncontinue-c98f860460767fe14f8fbf139150b1bd1ee2ff12.tar.bz2
sncontinue-c98f860460767fe14f8fbf139150b1bd1ee2ff12.zip
feat: :sparkles: saved context groups
Diffstat (limited to 'extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts')
-rw-r--r--extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts
index 804362aa..2e8aaeef 100644
--- a/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts
+++ b/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts
@@ -1,4 +1,4 @@
-import { ContextItemId } from "../../../schema/FullState";
+import { ContextItem, ContextItemId } from "../../../schema/FullState";
abstract class AbstractContinueGUIClientProtocol {
abstract sendMainInput(input: string): void;
@@ -36,6 +36,10 @@ abstract class AbstractContinueGUIClientProtocol {
abstract onReconnectAtSession(session_id: string): void;
abstract editStepAtIndex(userInput: string, index: number): void;
+
+ abstract saveContextGroup(title: string, contextItems: ContextItem[]): void;
+
+ abstract selectContextGroup(id: string): void;
}
export default AbstractContinueGUIClientProtocol;