openAgent
gitlabThe open source UNIVERSAL agent.
clone
https://gitlab.com/bitzzdev/openAgent.gitAIagentautomationopen-sourceuniversal-agent
import type { JSX } from "solid-js"import type { RGBA } from "@opentui/core"import open from "open"export interface LinkProps {href: stringchildren?: JSX.Element | stringfg?: RGBAbg?: RGBAwidth?: number | "auto" | `${number}%`wrapMode?: "word" | "none"}/*** Link component that renders clickable hyperlinks.* Clicking anywhere on the link text opens the URL in the default browser.*/export function Link(props: LinkProps) {const displayText = props.children ?? props.hrefreturn (<textfg={props.fg}bg={props.bg}width={props.width}wrapMode={props.wrapMode}onMouseUp={() => {open(props.href).catch(() => {})}}>{displayText}</text>)}