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.

394 B
Raw Blame
import { openTrustedExternalUrl } from '@/utils/openTrustedExternalUrl';

/**
 * Terminal output is attacker-reachable — any command can print an escape
 * sequence — so link opening goes through the shared trusted-URL gate
 * (http(s) only, no current-window navigation). See openTrustedExternalUrl.
 */
export const openTerminalLink = (uri: string) => {
  openTrustedExternalUrl(uri);
};