diff --git a/desktop/src/features/agents/ui/ManagedAgentSessionPanel.tsx b/desktop/src/features/agents/ui/ManagedAgentSessionPanel.tsx
index f27e734fc..8f67ca870 100644
--- a/desktop/src/features/agents/ui/ManagedAgentSessionPanel.tsx
+++ b/desktop/src/features/agents/ui/ManagedAgentSessionPanel.tsx
@@ -31,6 +31,7 @@ type ManagedAgentSessionPanelProps = {
compact?: boolean;
emptyDescription?: string;
isWorking?: boolean;
+ rawLayout?: "responsive" | "exclusive";
showHeader?: boolean;
showInterventionHint?: boolean;
showRaw?: boolean;
@@ -44,6 +45,7 @@ export function ManagedAgentSessionPanel({
compact = false,
emptyDescription = "Mention this agent in a channel to watch the next turn.",
isWorking = false,
+ rawLayout = "responsive",
showHeader = true,
showInterventionHint = false,
showRaw = true,
@@ -108,6 +110,7 @@ export function ManagedAgentSessionPanel({
hasObserver={hasObserver}
isWorking={isWorking}
profiles={profiles}
+ rawLayout={rawLayout}
showInterventionHint={showInterventionHint}
showRaw={showRaw}
transcript={scopedTranscript}
@@ -161,6 +164,7 @@ function SessionBody({
hasObserver,
isWorking,
profiles,
+ rawLayout,
showInterventionHint,
showRaw,
transcript,
@@ -174,10 +178,26 @@ function SessionBody({
hasObserver: boolean;
isWorking: boolean;
profiles?: UserProfileLookup;
+ rawLayout: "responsive" | "exclusive";
showInterventionHint: boolean;
showRaw: boolean;
transcript: TranscriptItem[];
}) {
+ if (showRaw && rawLayout === "exclusive") {
+ return (
+ <>
+
+
+ {errorMessage ? (
+
+
+ {errorMessage}
+
+ ) : null}
+ >
+ );
+ }
+
return (
<>
{!hasObserver ? (
@@ -187,7 +207,7 @@ function SessionBody({
) : (
- {showRaw ? : null}
+ {showRaw && rawLayout === "responsive" ? (
+
+ ) : null}
)}
diff --git a/desktop/src/features/agents/ui/RawEventRail.tsx b/desktop/src/features/agents/ui/RawEventRail.tsx
index 74a655b77..89d2ac3a2 100644
--- a/desktop/src/features/agents/ui/RawEventRail.tsx
+++ b/desktop/src/features/agents/ui/RawEventRail.tsx
@@ -1,46 +1,28 @@
-import * as React from "react";
-
-import { Button } from "@/shared/ui/button";
import type { ObserverEvent } from "./agentSessionTypes";
import { describeRawEvent } from "./agentSessionTranscript";
export function RawEventRail({ events }: { events: ObserverEvent[] }) {
- const [expanded, setExpanded] = React.useState(false);
- const visible = expanded ? events : events.slice(-18);
-
return (
-