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: 1 addition & 1 deletion apps/dashboard/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Agent Commander",
"short_name": "Commander",
"description": "Mission control for AI agent sessions",
"start_url": "/orchestrator",
"start_url": "/",
"scope": "/",
"display": "standalone",
"background_color": "#020617",
Expand Down
15 changes: 7 additions & 8 deletions apps/dashboard/src/app/(dashboard)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Inter } from 'next/font/google';
import Link from 'next/link';
import { ThemeToggle } from '@/components/ThemeToggle';
import { LayoutShell } from '@/components/layout';
import { MobileHeader } from '@/components/layout/MobileHeader';
import { SettingsButton } from '@/components/settings';
import { HeaderConnectionStatus } from '@/components/layout/HeaderConnectionStatus';
import { AuthControls } from '@/components/auth/AuthControls';
import { OrchestratorButton, OrchestratorModal } from '@/components/orchestrator';
import { OrchestratorButton, OrchestratorSheet } from '@/components/orchestrator';

const inter = Inter({ subsets: ['latin'] });

Expand All @@ -19,16 +19,15 @@ export default function DashboardLayout({
<header className="shrink-0 border-b pt-[env(safe-area-inset-top)]">
<div className="flex h-[57px] items-center justify-between pl-[max(1rem,env(safe-area-inset-left))] pr-[max(1rem,env(safe-area-inset-right))]">
<div className="flex items-center gap-2">
<MobileHeader />
<a href="/" className="text-xl font-bold">
<Link href="/" className="flex min-h-11 items-center text-xl font-bold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
<span className="hidden sm:inline">Agent Commander</span>
<span className="sm:hidden">AC</span>
</a>
</Link>
<HeaderConnectionStatus />
</div>
<div className="flex items-center gap-2">
<OrchestratorButton />
<ThemeToggle />
<SettingsButton />
<AuthControls />
</div>
</div>
Expand All @@ -38,7 +37,7 @@ export default function DashboardLayout({
<LayoutShell>{children}</LayoutShell>

{/* Global overlay */}
<OrchestratorModal />
<OrchestratorSheet />
</div>
);
}

This file was deleted.

6 changes: 3 additions & 3 deletions apps/dashboard/src/app/(dashboard)/orchestrator/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Suspense } from 'react';
import OrchestratorPageClient from './OrchestratorPageClient';
import { OrchestratorSurface } from '@/components/orchestrator/OrchestratorSurface';

export const dynamic = 'force-dynamic';

export default function OrchestratorPage() {
return (
<Suspense fallback={<div className="container mx-auto px-4 py-6">Loading orchestrator...</div>}>
<OrchestratorPageClient />
<Suspense fallback={<div className="container mx-auto px-4 py-6">Loading attention...</div>}>
<OrchestratorSurface presentation="page" />
</Suspense>
);
}
Loading
Loading