@@ -18,6 +18,7 @@ import { runtimeListOptions } from "@multica/core/runtimes/queries";
1818import { useQuery , useQueryClient } from "@tanstack/react-query" ;
1919import { useWorkspaceId } from "@multica/core/hooks" ;
2020import { agentListOptions , memberListOptions , workspaceKeys } from "@multica/core/workspace/queries" ;
21+ import { PageHeader } from "../../layout/page-header" ;
2122import { CreateAgentDialog } from "./create-agent-dialog" ;
2223import { AgentListItem } from "./agent-list-item" ;
2324import { AgentDetail } from "./agent-detail" ;
@@ -140,28 +141,28 @@ export function AgentsPage() {
140141 < ResizablePanel id = "list" defaultSize = { 280 } minSize = { 240 } maxSize = { 400 } groupResizeBehavior = "preserve-pixel-size" >
141142 { /* Left column — agent list */ }
142143 < div className = "overflow-y-auto h-full border-r" >
143- < div className = "flex h-12 items-center justify-between border-b px-4 " >
144+ < PageHeader className = "justify-between" >
144145 < h1 className = "text-sm font-semibold" > Agents</ h1 >
145146 < div className = "flex items-center gap-1" >
146147 { archivedCount > 0 && (
147148 < Button
148149 variant = { showArchived ? "secondary" : "ghost" }
149- size = "icon-xs "
150+ size = "icon-sm "
150151 onClick = { ( ) => setShowArchived ( ! showArchived ) }
151152 title = { showArchived ? "Show active agents" : "Show archived agents" }
152153 >
153- < Archive className = "h-4 w-4 text-muted-foreground" />
154+ < Archive className = "text-muted-foreground" />
154155 </ Button >
155156 ) }
156157 < Button
157158 variant = "ghost"
158- size = "icon-xs "
159+ size = "icon-sm "
159160 onClick = { ( ) => setShowCreate ( true ) }
160161 >
161- < Plus className = "h-4 w-4 text-muted-foreground" />
162+ < Plus className = "text-muted-foreground" />
162163 </ Button >
163164 </ div >
164- </ div >
165+ </ PageHeader >
165166 { filteredAgents . length === 0 ? (
166167 < div className = "flex flex-col items-center justify-center px-4 py-12" >
167168 < Bot className = "h-8 w-8 text-muted-foreground/40" />
0 commit comments