fix(desktop): disable hidden agent cycling (#31207)

This commit is contained in:
Luke Parker 2026-06-07 17:54:13 +10:00 committed by GitHub
parent 2006259a02
commit e82542b802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -547,6 +547,7 @@ export const useSessionCommands = (actions: SessionCommandContext) => {
description: language.t("command.agent.cycle.description"),
keybind: "mod+.",
slash: "agent",
disabled: desktopV2() && !settings.general.showCustomAgents(),
onSelect: () => local.agent.move(1),
}),
agentCommand({
@ -554,6 +555,7 @@ export const useSessionCommands = (actions: SessionCommandContext) => {
title: language.t("command.agent.cycle.reverse"),
description: language.t("command.agent.cycle.reverse.description"),
keybind: "shift+mod+.",
disabled: desktopV2() && !settings.general.showCustomAgents(),
onSelect: () => local.agent.move(-1),
}),
]