import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ArrowLeft } from "lucide-react";
export function AgentParentLink({ parentAgentId, simpleMode, onBack, }) {
    if (!parentAgentId || simpleMode) {
        return null;
    }
    return (_jsx("div", { className: "border-border-default bg-neutral-grey-5 border-b px-4 py-2", children: _jsxs("button", { onClick: onBack, className: "text-neutral-grey-50 hover:text-neutral-grey-100 flex items-center gap-2 text-[11px] transition-colors", title: "Back to parent agent", children: [_jsx(ArrowLeft, { className: "h-3.5 w-3.5", strokeWidth: 1.5 }), _jsx("span", { children: "Back to parent agent" })] }) }));
}
//# sourceMappingURL=AgentParentLink.js.map