Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
feat(switchdash): add an Add Switch Server command (CHOO-1423)
Christian McDermott2ac5d33fa70d
diff --git a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.ts b/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.tsindex 99a9967a9..9fe83391e 100644--- a/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.ts+++ b/dash/apps/switchdash-desktop/src/renderer/features/command-palette/command-icons.ts@@ -23,6 +23,7 @@ import {Pin,Plus,RefreshCw,+ Server,Settings,SquarePlus,SquareTerminal,@@ -57,6 +58,7 @@ export const COMMAND_ICONS = {'panel-right': PanelRight,'square-terminal': SquareTerminal,globe: Globe,+ server: Server,'refresh-cw': RefreshCw,'text-cursor-input': TextCursorInput,'external-link': ExternalLink,diff --git a/dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.ts b/dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.tsindex 773e6ca15..bf3de90eb 100644--- a/dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.ts+++ b/dash/apps/switchdash-desktop/src/renderer/lib/commands/app-commands.ts@@ -21,6 +21,7 @@ function createAppCommandProvider(): CommandProvider {// when navigation changes.const settingsDef = appDef('app.settings');const newLocationDef = appDef('app.newLocation');+ const addServerDef = appDef('app.addServer');const giveFeedbackDef = appDef('app.giveFeedback');const toggleThemeDef = appDef('app.toggleTheme');const navigateBackDef = appDef('app.navigateBack');@@ -51,6 +52,16 @@ function createAppCommandProvider(): CommandProvider {showModal('addAgentModal', {});},},+ {+ id: addServerDef.id,+ label: addServerDef.label,+ description: addServerDef.description,+ shortcutKey: addServerDef.shortcutKey,+ group: addServerDef.group,+ execute() {+ showModal('addServerModal', {});+ },+ },];commands.push({diff --git a/dash/apps/switchdash-desktop/src/shared/commands.ts b/dash/apps/switchdash-desktop/src/shared/commands.tsindex 8008d649e..b9c060e6a 100644--- a/dash/apps/switchdash-desktop/src/shared/commands.ts+++ b/dash/apps/switchdash-desktop/src/shared/commands.ts@@ -47,6 +47,14 @@ export const APP_COMMAND_DEFS = defineCommandDefs([group: 'App',iconKey: 'plus',},+ {+ id: 'app.addServer',+ label: 'Add Switch Server',+ description: 'Connect switchdash to a Switch server, or run a managed one',+ scope: 'app',+ group: 'App',+ iconKey: 'server',+ },{id: 'app.newSession',label: 'New Session',