Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions desktop/src/app/routes/channels.$channelId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ type ChannelRouteSearch = {
* composer can verify it has the right draft before firing.
*/
autoSend?: string;
/** Sentinel `"1"` promoting the agent session panel to full-screen harness mode. */
harness?: string;
messageId?: string;
profile?: string;
profileTab?: ProfilePanelTab;
Expand All @@ -35,6 +37,7 @@ function validateChannelSearch(
return {
agentSession: nonEmptyString(search.agentSession),
autoSend: nonEmptyString(search.autoSend),
harness: nonEmptyString(search.harness),
messageId: nonEmptyString(search.messageId),
profile: nonEmptyString(search.profile),
profileTab: parseProfilePanelTab(search.profileTab) ?? undefined,
Expand Down
15 changes: 14 additions & 1 deletion desktop/src/features/agents/ui/AgentSessionTranscriptList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export function AgentSessionTranscriptList({
agentName,
agentPubkey,
autoTail = false,
liveStatusSlot,
channelId = null,
emptyDescription,
emptyState = "idle",
Expand All @@ -126,6 +127,12 @@ export function AgentSessionTranscriptList({
variant = "default",
}: AgentTranscriptIdentityProps & {
autoTail?: boolean;
/**
* Rendered inline beside the turn-liveness indicator. Harness mode puts its
* live status there (buzzword, elapsed, tokens) so the two read as one line
* instead of stacking a second strip above the composer.
*/
liveStatusSlot?: React.ReactNode;
channelId?: string | null;
emptyDescription: string;
emptyState?: AgentSessionTranscriptEmptyState;
Expand Down Expand Up @@ -278,7 +285,12 @@ export function AgentSessionTranscriptList({
</motion.div>
);
})}
{isTurnLive && !isCompactPreview ? <TurnLivenessIndicator /> : null}
{isTurnLive && !isCompactPreview ? (
<div className="flex items-center gap-2">
<TurnLivenessIndicator />
{liveStatusSlot}
</div>
) : null}
</AgentSessionTranscriptVariantProvider>
</div>
</motion.div>
Expand Down Expand Up @@ -518,6 +530,7 @@ function SameKindSummaryItem({
<>
<ActivityRow
className="flex flex-col gap-0.5"
defaultOpen
openToneScope="summary"
testId="transcript-same-kind-summary"
title={formatTranscriptTimestampTitle(summary.timestamp)}
Expand Down
Loading