Skip to content

Commit e82542b

Browse files
authored
fix(desktop): disable hidden agent cycling (anomalyco#31207)
1 parent 2006259 commit e82542b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/app/src/pages/session/use-session-commands.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,13 +547,15 @@ export const useSessionCommands = (actions: SessionCommandContext) => {
547547
description: language.t("command.agent.cycle.description"),
548548
keybind: "mod+.",
549549
slash: "agent",
550+
disabled: desktopV2() && !settings.general.showCustomAgents(),
550551
onSelect: () => local.agent.move(1),
551552
}),
552553
agentCommand({
553554
id: "agent.cycle.reverse",
554555
title: language.t("command.agent.cycle.reverse"),
555556
description: language.t("command.agent.cycle.reverse.description"),
556557
keybind: "shift+mod+.",
558+
disabled: desktopV2() && !settings.general.showCustomAgents(),
557559
onSelect: () => local.agent.move(-1),
558560
}),
559561
]

0 commit comments

Comments
 (0)