import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Lock } from "lucide-react";
export function AgentReadOnlyNotice({ ownerName, userId, }) {
    const ownerLabel = ownerName || userId;
    return (_jsxs("div", { className: "border-feedback-orange bg-feedback-orange-light text-feedback-orange flex items-start gap-2 border-b px-4 py-2 text-[11px]", "data-testid": "agent-read-only-access-notice", children: [_jsx(Lock, { className: "mt-0.5 h-3.5 w-3.5 shrink-0", strokeWidth: 1.5 }), _jsxs("div", { className: "min-w-0", children: [_jsx("span", { className: "font-medium", children: "View-only access." }), " You can inspect this agent, but sending prompts, stopping runs, and changing settings require Full access", ownerLabel ? ` from ${ownerLabel}` : "", "."] })] }));
}
//# sourceMappingURL=AgentReadOnlyNotice.js.map