Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

πŸ› fix: show multi-select for hetero messages (#16892)

Arvin Xu72243e98aaa2
diff --git a/src/routes/(main)/agent/features/Conversation/useActionsBarConfig.ts b/src/routes/(main)/agent/features/Conversation/useActionsBarConfig.ts
index ffbac07c0e8..195fb72fb9e 100644
--- a/src/routes/(main)/agent/features/Conversation/useActionsBarConfig.ts
+++ b/src/routes/(main)/agent/features/Conversation/useActionsBarConfig.ts
@@ -10,6 +10,8 @@ import { agentSelectors } from '@/store/agent/selectors';
* Hetero-agent (Claude Code / Codex) sessions keep the menu minimal β€” copy +
* delete β€” because the external runtime owns the assistant message lifecycle
* (edit / regenerate / branching / translate / tts / share don't apply).
+ * `select` remains available because forwarding / batch deletion is handled by
+ * the local conversation UI and does not depend on the external runtime.
*
* The one user-message action that DOES belong here is `restoreToInput`: a long
* CLI run that errors out or loses context is exactly when you want to pull the
@@ -18,12 +20,12 @@ import { agentSelectors } from '@/store/agent/selectors';
*/
const HETERO_USER: { bar: MessageActionSlot[]; menu: MessageActionSlot[] } = {
bar: ['copy'],
- menu: ['restoreToInput', 'copy', 'divider', 'del'],
+ menu: ['restoreToInput', 'copy', 'divider', 'select', 'divider', 'del'],
};
const HETERO_ASSISTANT: { bar: MessageActionSlot[]; menu: MessageActionSlot[] } = {
bar: ['copy'],
- menu: ['copy', 'divider', 'del'],
+ menu: ['copy', 'divider', 'select', 'divider', 'del'],
};
export const useActionsBarConfig = (): ActionsBarConfig => {