Add refresh/reload aliases to slash command subcommands (#19218)

Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This commit is contained in:
Krushna Korade
2026-02-17 02:01:03 +05:30
committed by GitHub
parent 7d165e77f0
commit 80f0cbd798
5 changed files with 5 additions and 0 deletions

View File

@@ -324,6 +324,7 @@ const configCommand: SlashCommand = {
const agentsRefreshCommand: SlashCommand = {
name: 'refresh',
altNames: ['reload'],
description: 'Reload the agent registry',
kind: CommandKind.BUILT_IN,
action: async (context: CommandContext) => {

View File

@@ -69,6 +69,7 @@ export const commandsCommand: SlashCommand = {
subCommands: [
{
name: 'reload',
altNames: ['refresh'],
description:
'Reload custom command definitions from .toml files. Usage: /commands reload',
kind: CommandKind.BUILT_IN,

View File

@@ -313,6 +313,7 @@ const schemaCommand: SlashCommand = {
const refreshCommand: SlashCommand = {
name: 'refresh',
altNames: ['reload'],
description: 'Restarts MCP servers',
kind: CommandKind.BUILT_IN,
autoExecute: true,

View File

@@ -64,6 +64,7 @@ export const memoryCommand: SlashCommand = {
},
{
name: 'refresh',
altNames: ['reload'],
description: 'Refresh the memory from the source',
kind: CommandKind.BUILT_IN,
autoExecute: true,

View File

@@ -396,6 +396,7 @@ export const skillsCommand: SlashCommand = {
},
{
name: 'reload',
altNames: ['refresh'],
description:
'Reload the list of discovered skills. Usage: /skills reload',
kind: CommandKind.BUILT_IN,