mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-17 16:51:15 -07:00
Add refresh/reload aliases to slash command subcommands (#19218)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This commit is contained in:
@@ -324,6 +324,7 @@ const configCommand: SlashCommand = {
|
|||||||
|
|
||||||
const agentsRefreshCommand: SlashCommand = {
|
const agentsRefreshCommand: SlashCommand = {
|
||||||
name: 'refresh',
|
name: 'refresh',
|
||||||
|
altNames: ['reload'],
|
||||||
description: 'Reload the agent registry',
|
description: 'Reload the agent registry',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
action: async (context: CommandContext) => {
|
action: async (context: CommandContext) => {
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export const commandsCommand: SlashCommand = {
|
|||||||
subCommands: [
|
subCommands: [
|
||||||
{
|
{
|
||||||
name: 'reload',
|
name: 'reload',
|
||||||
|
altNames: ['refresh'],
|
||||||
description:
|
description:
|
||||||
'Reload custom command definitions from .toml files. Usage: /commands reload',
|
'Reload custom command definitions from .toml files. Usage: /commands reload',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
|
|||||||
@@ -313,6 +313,7 @@ const schemaCommand: SlashCommand = {
|
|||||||
|
|
||||||
const refreshCommand: SlashCommand = {
|
const refreshCommand: SlashCommand = {
|
||||||
name: 'refresh',
|
name: 'refresh',
|
||||||
|
altNames: ['reload'],
|
||||||
description: 'Restarts MCP servers',
|
description: 'Restarts MCP servers',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
autoExecute: true,
|
autoExecute: true,
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ export const memoryCommand: SlashCommand = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'refresh',
|
name: 'refresh',
|
||||||
|
altNames: ['reload'],
|
||||||
description: 'Refresh the memory from the source',
|
description: 'Refresh the memory from the source',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
autoExecute: true,
|
autoExecute: true,
|
||||||
|
|||||||
@@ -396,6 +396,7 @@ export const skillsCommand: SlashCommand = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'reload',
|
name: 'reload',
|
||||||
|
altNames: ['refresh'],
|
||||||
description:
|
description:
|
||||||
'Reload the list of discovered skills. Usage: /skills reload',
|
'Reload the list of discovered skills. Usage: /skills reload',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
|
|||||||
Reference in New Issue
Block a user