diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-12 21:30:49 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-12 21:30:49 -0700 |
commit | f48854157efed4275ecc23152a7e3027fec9105c (patch) | |
tree | 9dfc45c8b420a5737ca1fb40d4c8253cfa092c58 /extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | |
parent | ccbf9d5c66d5a255d1cfeaee6b07df92186baa61 (diff) | |
download | sncontinue-f48854157efed4275ecc23152a7e3027fec9105c.tar.gz sncontinue-f48854157efed4275ecc23152a7e3027fec9105c.tar.bz2 sncontinue-f48854157efed4275ecc23152a7e3027fec9105c.zip |
slash commands dropdown!
Diffstat (limited to 'extension/react-app/src/hooks/ContinueGUIClientProtocol.ts')
-rw-r--r-- | extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts index 71303c70..824bb086 100644 --- a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts +++ b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts @@ -9,6 +9,10 @@ abstract class AbstractContinueGUIClientProtocol { abstract onStateUpdate(state: any): void; + abstract onAvailableSlashCommands( + callback: (commands: { name: string; description: string }[]) => void + ): void; + abstract sendClear(): void; abstract retryAtIndex(index: number): void; |