diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-31 16:13:01 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-31 16:13:01 -0400 |
commit | dd5b9f6b7f08f178d6034a57f97faea38442eb0a (patch) | |
tree | b18b4dbc9b6db8b033b9c48d832960b11f9ac687 /extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts | |
parent | 22245d2cbf90daa9033d8551207aa986069d8b24 (diff) | |
download | sncontinue-dd5b9f6b7f08f178d6034a57f97faea38442eb0a.tar.gz sncontinue-dd5b9f6b7f08f178d6034a57f97faea38442eb0a.tar.bz2 sncontinue-dd5b9f6b7f08f178d6034a57f97faea38442eb0a.zip |
checkpoint! protocol reform and it works now
Diffstat (limited to 'extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts')
-rw-r--r-- | extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts b/extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts new file mode 100644 index 00000000..75fd7373 --- /dev/null +++ b/extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts @@ -0,0 +1,13 @@ +abstract class AbstractContinueNotebookClientProtocol { + abstract sendMainInput(input: string): void; + + abstract reverseToIndex(index: number): void; + + abstract sendRefinementInput(input: string, index: number): void; + + abstract sendStepUserInput(input: string, index: number): void; + + abstract onStateUpdate(state: any): void; +} + +export default AbstractContinueNotebookClientProtocol; |