diff --git a/desktop/src/app/AppShell.tsx b/desktop/src/app/AppShell.tsx
index f3166bb51..31fffd2c4 100644
--- a/desktop/src/app/AppShell.tsx
+++ b/desktop/src/app/AppShell.tsx
@@ -668,6 +668,7 @@ export function AppShell() {
) : null
}
channelType={activeChannel?.channelType}
+ visibility={activeChannel?.visibility}
description={channelDescription}
statusBadge={
activeChannel?.channelType === "dm" &&
diff --git a/desktop/src/features/chat/ui/ChatHeader.tsx b/desktop/src/features/chat/ui/ChatHeader.tsx
index ddc240686..679178a05 100644
--- a/desktop/src/features/chat/ui/ChatHeader.tsx
+++ b/desktop/src/features/chat/ui/ChatHeader.tsx
@@ -1,22 +1,33 @@
-import { Bot, CircleDot, FileText, Hash, Home, Settings2 } from "lucide-react";
+import {
+ Bot,
+ CircleDot,
+ FileText,
+ Hash,
+ Home,
+ Lock,
+ Settings2,
+} from "lucide-react";
import type * as React from "react";
-import type { ChannelType } from "@/shared/api/types";
+import type { ChannelType, ChannelVisibility } from "@/shared/api/types";
type ChatHeaderProps = {
actions?: React.ReactNode;
title: string;
description: string;
channelType?: ChannelType;
+ visibility?: ChannelVisibility;
mode?: "home" | "channel" | "settings" | "agents";
statusBadge?: React.ReactNode;
};
function ChannelIcon({
channelType,
+ visibility,
mode = "channel",
}: {
channelType?: ChannelType;
+ visibility?: ChannelVisibility;
mode?: "home" | "channel" | "settings" | "agents";
}) {
if (mode === "home") {
@@ -35,6 +46,10 @@ function ChannelIcon({
return