🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
export type FindKeyAction = 'close' | 'next' | 'prev';
/** What a key pressed in the find input does — the browser find-bar conventions. */
export const resolveFindKey = (key: string, shiftKey: boolean): FindKeyAction | undefined => {
if (key === 'Enter') return shiftKey ? 'prev' : 'next';
if (key === 'ArrowDown') return 'next';
if (key === 'ArrowUp') return 'prev';
if (key === 'Escape') return 'close';
return undefined;
};