summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-12 21:30:49 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-12 21:30:49 -0700
commitcc0d73c2c1351a08c95654f7792f56c1d3d0ab54 (patch)
treea94ed31d6024ca7faa3fb057ca5fcfd0792b393e /extension/react-app/src/hooks/ContinueGUIClientProtocol.ts
parentb2cdc7edb0db303fa0e2f82bfa26729102a2f111 (diff)
downloadsncontinue-cc0d73c2c1351a08c95654f7792f56c1d3d0ab54.tar.gz
sncontinue-cc0d73c2c1351a08c95654f7792f56c1d3d0ab54.tar.bz2
sncontinue-cc0d73c2c1351a08c95654f7792f56c1d3d0ab54.zip
slash commands dropdown!
Diffstat (limited to 'extension/react-app/src/hooks/ContinueGUIClientProtocol.ts')
-rw-r--r--extension/react-app/src/hooks/ContinueGUIClientProtocol.ts4
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;