2026-04-20 15:10:54 +02:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
|
|
|
import { CreateTaskDialog } from "@/components/tasks/create-task-dialog";
|
2026-07-15 18:04:00 +02:00
|
|
|
import { HelpTip } from "@/components/ui/help-tip";
|
2026-07-04 03:10:33 +02:00
|
|
|
import { Users, BookOpen, Shield, Sparkles, Bot } from "lucide-react";
|
2026-04-20 15:10:54 +02:00
|
|
|
import Link from "next/link";
|
|
|
|
|
|
|
|
|
|
export function QuickActionsBar() {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-wrap gap-3">
|
|
|
|
|
<CreateTaskDialog />
|
|
|
|
|
|
2026-07-02 15:36:49 +02:00
|
|
|
<Link href="/agents" prefetch={false}>
|
2026-07-15 18:04:00 +02:00
|
|
|
<HelpTip label="Agents page — view the roster and spawn a new agent run">
|
|
|
|
|
<Button variant="outline">
|
|
|
|
|
<Users className="h-4 w-4 mr-2" />
|
|
|
|
|
Spawn Agent
|
|
|
|
|
</Button>
|
|
|
|
|
</HelpTip>
|
2026-04-20 15:10:54 +02:00
|
|
|
</Link>
|
|
|
|
|
|
2026-07-02 15:36:49 +02:00
|
|
|
<Link href="/prompter" prefetch={false}>
|
2026-07-15 18:04:00 +02:00
|
|
|
<HelpTip label="Chat-based interview to draft and submit a new task">
|
|
|
|
|
<Button variant="outline">
|
|
|
|
|
<Sparkles className="h-4 w-4 mr-2" />
|
|
|
|
|
Task Intake
|
|
|
|
|
</Button>
|
|
|
|
|
</HelpTip>
|
2026-06-17 06:36:28 +02:00
|
|
|
</Link>
|
|
|
|
|
|
2026-07-02 15:36:49 +02:00
|
|
|
<Link href="/business?tab=secretary" prefetch={false}>
|
2026-07-15 18:04:00 +02:00
|
|
|
<HelpTip label="Chat with the Secretary — company state and gated CEO directives">
|
|
|
|
|
<Button variant="outline">
|
|
|
|
|
<Bot className="h-4 w-4 mr-2" />
|
|
|
|
|
Secretary
|
|
|
|
|
</Button>
|
|
|
|
|
</HelpTip>
|
2026-06-17 06:36:28 +02:00
|
|
|
</Link>
|
|
|
|
|
|
2026-07-02 15:36:49 +02:00
|
|
|
<Link href="/journals" prefetch={false}>
|
2026-07-15 18:04:00 +02:00
|
|
|
<HelpTip label="Browse agent journal entries and learnings">
|
|
|
|
|
<Button variant="outline">
|
|
|
|
|
<BookOpen className="h-4 w-4 mr-2" />
|
|
|
|
|
View Journals
|
|
|
|
|
</Button>
|
|
|
|
|
</HelpTip>
|
2026-04-20 15:10:54 +02:00
|
|
|
</Link>
|
|
|
|
|
|
2026-07-02 15:36:49 +02:00
|
|
|
<Link href="/auditor" prefetch={false}>
|
2026-07-15 18:04:00 +02:00
|
|
|
<HelpTip label="The Auditor's flagged issues and reports">
|
|
|
|
|
<Button variant="outline">
|
|
|
|
|
<Shield className="h-4 w-4 mr-2" />
|
|
|
|
|
Auditor Report
|
|
|
|
|
</Button>
|
|
|
|
|
</HelpTip>
|
2026-04-20 15:10:54 +02:00
|
|
|
</Link>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|