Skip to content
Merged
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
2 changes: 2 additions & 0 deletions apps/mobile/src/features/threads/thread-work-log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ function workRowSymbolName(icon: ThreadFeedActivity["icon"]): WorkContentIcon {
return { ios: "globe", android: "public" };
case "search":
return "magnifyingglass";
case "stop":
return "stop.fill";
case "hammer":
return { ios: "hammer", android: "construction" };
case "lock":
Expand Down
2 changes: 2 additions & 0 deletions apps/mobile/src/lib/threadActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export interface ThreadFeedActivity {
| "eye"
| "globe"
| "search"
| "stop"
| "hammer"
| "lock"
| "message"
Expand Down Expand Up @@ -617,6 +618,7 @@ function itemIcon(item: OrchestrationV2TurnItem): ThreadFeedActivity["icon"] {
return "hammer";
case "run_interrupt_request":
case "run_interrupt_result":
return "stop";
case "system_notice":
return "warning";
case "error":
Expand Down
10 changes: 5 additions & 5 deletions apps/web/src/components/chat/TimelineV2EventRow.logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { providerErrorPresentation } from "../../session-logic";
import {
CheckIcon,
CircleAlertIcon,
CircleStopIcon,
GitForkIcon,
type LucideIcon,
MinusIcon,
WrenchIcon,
XIcon,
ZapIcon,
} from "lucide-react";
import * as DateTime from "effect/DateTime";
Expand Down Expand Up @@ -38,15 +38,15 @@ export function v2EventPresentation(item: OrchestrationV2TurnItem): {
return {
label: "Interrupt requested",
detail: item.message,
tone: "warning",
icon: CircleAlertIcon,
tone: "muted",
icon: CircleStopIcon,
};
case "run_interrupt_result":
return {
label: "Run interrupted",
detail: item.message,
tone: "danger",
icon: XIcon,
tone: "muted",
icon: CircleStopIcon,
};
case "handoff":
return {
Expand Down
11 changes: 3 additions & 8 deletions apps/web/src/components/chat/V2LifecycleRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ import type { TimestampFormat } from "@t3tools/contracts/settings";
import {
BotIcon,
ChevronRightIcon,
CircleStopIcon,
ArrowRightLeftIcon,
ArrowRightIcon,
GitForkIcon,
MessageSquareIcon,
MinusIcon,
XIcon,
} from "lucide-react";

import { Tooltip, TooltipTrigger, TooltipPopup } from "../ui/tooltip";
Expand Down Expand Up @@ -86,7 +86,7 @@ export function V2LifecycleRow(props: {
if (item.type === "run_interrupt_request") {
return (
<div className="flex justify-end px-1 py-1" data-v2-item-type={item.type}>
<div className="flex max-w-[80%] items-center gap-2 text-xs text-destructive">
<div className="flex max-w-[80%] items-center gap-2 text-xs text-muted-foreground">
<span aria-hidden="true" className="font-mono">
■
</span>
Expand All @@ -104,12 +104,7 @@ export function V2LifecycleRow(props: {
}
if (item.type === "run_interrupt_result") {
return (
<TimelineSystemDivider
label="Run interrupted"
detail={item.message}
tone="danger"
icon={XIcon}
/>
<TimelineSystemDivider label="Run interrupted" detail={item.message} icon={CircleStopIcon} />
);
}
if (item.type === "compaction") {
Expand Down
Loading