@saadnvd1/agent-os 0.3.602 → 0.3.603
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,6 +14,7 @@ import { cn } from "@/lib/utils";
|
|
|
14
14
|
import { orchestratorOpenActions } from "@/stores/orchestratorOpen";
|
|
15
15
|
import { useRowContext } from "./RowContext";
|
|
16
16
|
import { SessionRowMenu } from "./SessionRowMenu";
|
|
17
|
+
import { ActiveTick } from "./RowShell";
|
|
17
18
|
import { RowRename, UnreadDot } from "./RowParts";
|
|
18
19
|
import { QuickChangeRow } from "./QuickChangeRow";
|
|
19
20
|
import { NestRail } from "./RowParts";
|
|
@@ -59,10 +60,11 @@ export const OrchestratorPinRow = memo(function OrchestratorPinRow({
|
|
|
59
60
|
onActivate={() => !renaming && ctx.onSelect(session.id)}
|
|
60
61
|
className={
|
|
61
62
|
active
|
|
62
|
-
? "bg-
|
|
63
|
+
? "bg-foreground/[0.07]"
|
|
63
64
|
: "bg-muted/50 hover:bg-muted has-[[data-chip]:hover]:bg-muted/50"
|
|
64
65
|
}
|
|
65
66
|
>
|
|
67
|
+
{active && <ActiveTick />}
|
|
66
68
|
<Workflow
|
|
67
69
|
aria-hidden
|
|
68
70
|
className={cn(
|
|
@@ -7,6 +7,17 @@ import * as DM from "@/components/ui/dropdown-menu";
|
|
|
7
7
|
import * as CM from "@/components/ui/context-menu";
|
|
8
8
|
import { cn } from "@/lib/utils";
|
|
9
9
|
|
|
10
|
+
// The open row's accent: a thin rounded tick at the left edge, inside the
|
|
11
|
+
// row so the list's overflow can't clip it.
|
|
12
|
+
export function ActiveTick() {
|
|
13
|
+
return (
|
|
14
|
+
<span
|
|
15
|
+
aria-hidden
|
|
16
|
+
className="bg-primary pointer-events-none absolute inset-y-[9px] left-0 w-[3px] rounded-full"
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
10
21
|
export type RowMenuKind = "dropdown" | "context";
|
|
11
22
|
|
|
12
23
|
// Every sidebar row's frame: a leading mark, title over subtitle, what's on
|
|
@@ -66,10 +77,11 @@ export function RowShell({
|
|
|
66
77
|
highlight === "selected"
|
|
67
78
|
? "bg-primary/15"
|
|
68
79
|
: highlight === "active"
|
|
69
|
-
? "bg-
|
|
70
|
-
: "hover:bg-foreground/[0.
|
|
80
|
+
? "bg-foreground/[0.07]"
|
|
81
|
+
: "hover:bg-foreground/[0.025]"
|
|
71
82
|
)}
|
|
72
83
|
>
|
|
84
|
+
{highlight === "active" && <ActiveTick />}
|
|
73
85
|
{leading}
|
|
74
86
|
<span className="@container flex min-w-0 flex-1 flex-col leading-tight">
|
|
75
87
|
{children}
|