diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-26 00:26:02 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-26 00:26:02 -0700 |
commit | 79a2fa634e5b5d44e13fbd49facf14a4fc3745d1 (patch) | |
tree | 0e5917d1ae3fad12e4cf459ec273593d9d5267a4 /extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts | |
parent | b759e2dbfe36b3e8873527b9736d64866da9b604 (diff) | |
parent | 2b69bf6f1fc2e06b16b718358ceed4911d6e87c3 (diff) | |
download | sncontinue-79a2fa634e5b5d44e13fbd49facf14a4fc3745d1.tar.gz sncontinue-79a2fa634e5b5d44e13fbd49facf14a4fc3745d1.tar.bz2 sncontinue-79a2fa634e5b5d44e13fbd49facf14a4fc3745d1.zip |
Merge branch 'config-py' into merge-config-py-TO-main
Diffstat (limited to 'extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts')
-rw-r--r-- | extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts index 6c0df8fc..8e3735ec 100644 --- a/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts +++ b/extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts @@ -1,3 +1,5 @@ +import { ContextItemId } from "../../../schema/FullState"; + abstract class AbstractContinueGUIClientProtocol { abstract sendMainInput(input: string): void; @@ -13,23 +15,21 @@ abstract class AbstractContinueGUIClientProtocol { callback: (commands: { name: string; description: string }[]) => void ): void; - abstract changeDefaultModel(model: string): void; - abstract sendClear(): void; abstract retryAtIndex(index: number): void; abstract deleteAtIndex(index: number): void; - abstract deleteContextAtIndices(indices: number[]): void; + abstract deleteContextWithIds(ids: ContextItemId[]): void; abstract setEditingAtIndices(indices: number[]): void; - abstract setPinnedAtIndices(indices: number[]): void; - abstract toggleAddingHighlightedCode(): void; abstract showLogsAtIndex(index: number): void; + + abstract selectContextItem(id: string, query: string): void; } export default AbstractContinueGUIClientProtocol; |