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 | b2ddcd0e96aaf7604d197809de7f47dd51072ff2 (patch) | |
tree | 6036f665f401d86b13d910f91aadacb7411806e5 /extension/react-app/src/hooks/ContinueNotebookClientProtocol.ts | |
parent | 8d59100b3194cc8d122708523226968899efb5e1 (diff) | |
download | sncontinue-b2ddcd0e96aaf7604d197809de7f47dd51072ff2.tar.gz sncontinue-b2ddcd0e96aaf7604d197809de7f47dd51072ff2.tar.bz2 sncontinue-b2ddcd0e96aaf7604d197809de7f47dd51072ff2.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; |