Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
feat: calendar event detail sheet, landing page refresh, and agent name randomizer
Gus1cab4870ee30
diff --git a/src/app/src/lib/services.ts b/src/app/src/lib/services.tsindex b637546c0..4c6736cd8 100644--- a/src/app/src/lib/services.ts+++ b/src/app/src/lib/services.ts@@ -15,7 +15,9 @@ interface StartOptions {foreground?: boolean;}-const isDevMode = resolveMode({ nodeEnv: process.env.NODE_ENV }) === "dev";+const isDevMode =+ resolveMode({ nodeEnv: process.env.NODE_ENV }) === "dev" &&+ !!process.env.ALOOK_PROJECT_ROOT;function logDir(): string {const dir = join(SELF_HOSTED_DIR, "logs");diff --git a/src/cli/commands/calendar.ts b/src/cli/commands/calendar.tsindex 1f12311e6..5aac67f58 100644--- a/src/cli/commands/calendar.ts+++ b/src/cli/commands/calendar.ts@@ -146,6 +146,7 @@ export function calendarCommand(): Command {if (opts.description) body.description = opts.description;if (opts.repeat) body.repeat_interval = opts.repeat;if (opts.repeat_stop_date) body.repeat_stop_date = opts.repeat_stop_date;+ if (process.env.ALOOK_CONVERSATION_ID) body.conversation_id = process.env.ALOOK_CONVERSATION_ID;try {const created = await client.postJSON<CalendarEventResponse>(diff --git a/src/shared/src/api-types.ts b/src/shared/src/api-types.tsindex a64436bcd..70060de15 100644--- a/src/shared/src/api-types.ts+++ b/src/shared/src/api-types.ts@@ -60,6 +60,7 @@ export interface CreateCalendarEventRequest {scheduled_at: string;repeat_interval?: string;repeat_stop_date?: string;+ conversation_id?: string;}export interface UpdateCalendarEventRequest {diff --git a/src/shared/src/schemas.ts b/src/shared/src/schemas.tsindex 95afef479..f9ec0ac36 100644--- a/src/shared/src/schemas.ts+++ b/src/shared/src/schemas.ts@@ -258,6 +258,7 @@ export const CreateCalendarEventRequestSchema = z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),+ conversation_id: z.string().optional(),}).refine((data) =>diff --git a/src/web/public/gallery/calendar.png b/src/web/public/gallery/calendar.pngnew file mode 100644index 000000000..01d8cafc8Binary files /dev/null and b/src/web/public/gallery/calendar.png differdiff --git a/src/web/public/gallery/collaboration.png b/src/web/public/gallery/collaboration.pngnew file mode 100644index 000000000..1ed850abeBinary files /dev/null and b/src/web/public/gallery/collaboration.png differdiff --git a/src/web/public/gallery/email.png b/src/web/public/gallery/email.pngnew file mode 100644index 000000000..5a28a2d8aBinary files /dev/null and b/src/web/public/gallery/email.png differdiff --git a/src/web/public/gallery/issues.png b/src/web/public/gallery/issues.pngnew file mode 100644index 000000000..fe61a3aabBinary files /dev/null and b/src/web/public/gallery/issues.png differdiff --git a/src/web/public/gallery/local-agent.png b/src/web/public/gallery/local-agent.pngnew file mode 100644index 000000000..ddddb8327Binary files /dev/null and b/src/web/public/gallery/local-agent.png differdiff --git a/src/web/public/gallery/org.png b/src/web/public/gallery/org.pngnew file mode 100644index 000000000..f00e9cd5dBinary files /dev/null and b/src/web/public/gallery/org.png differdiff --git a/src/web/src/app/(auth)/sign-in/page.tsx b/src/web/src/app/(auth)/sign-in/page.tsxindex 2b835fc4c..6fdecca7c 100644--- a/src/web/src/app/(auth)/sign-in/page.tsx+++ b/src/web/src/app/(auth)/sign-in/page.tsx@@ -20,8 +20,8 @@ import {FieldSeparator,} from "@/components/ui/field"import { SiGithub, SiGoogle } from "@icons-pack/react-simple-icons"+import Image from "next/image"import { GradientBackground } from "@/components/gradient-background"-import { TypewriterVisual, EMAILS_PLAYFUL } from "@/components/typewriter-visual"import { resolveMode, DEV_PASSWORD } from "@alook/shared"const mode = resolveMode({@@ -288,6 +288,69 @@ function SignInForm({ postLoginUrl }: { postLoginUrl: string }) {)}+const galleryImages = [+ { src: "/gallery/collaboration.png", label: "Collaboration" },+ { src: "/gallery/email.png", label: "Email Inbox" },+ { src: "/gallery/issues.png", label: "Kanban Board" },+ { src: "/gallery/calendar.png", label: "Calendar" },+ { src: "/gallery/local-agent.png", label: "Local Agent" },+]++function ProductGallery() {+ const [active, setActive] = useState(0)++ useEffect(() => {+ const interval = setInterval(() => {+ setActive((i) => (i + 1) % galleryImages.length)+ }, 3500)+ return () => clearInterval(interval)+ }, [])++ return (+ <div className="flex h-full flex-col items-center justify-center p-6">+ <div className="relative w-full rounded-lg overflow-hidden shadow-lg">+ {galleryImages.map((img, i) => (+ <Image+ key={img.src}+ src={img.src}+ alt={img.label}+ width={600}+ height={450}+ className="w-full h-auto transition-opacity duration-500"+ style={{+ opacity: i === active ? 1 : 0,+ position: i === 0 ? "relative" : "absolute",+ top: 0,+ left: 0,+ }}+ priority={i === 0}+ />+ ))}+ </div>+ <p className="mt-3 text-xs text-muted-foreground font-medium tracking-wide">+ {galleryImages[active].label}+ </p>+ <div className="mt-2 flex gap-1.5">+ {galleryImages.map((_, i) => (+ <button+ key={i}+ onClick={() => setActive(i)}+ className="h-1.5 rounded-full transition-all duration-300"+ style={{+ width: i === active ? 16 : 6,+ backgroundColor: i === active+ ? "var(--foreground)"+ : "var(--muted-foreground)",+ opacity: i === active ? 1 : 0.3,+ }}+ aria-label={`Show ${galleryImages[i].label}`}+ />+ ))}+ </div>+ </div>+ )+}+export default function SignInPage() {const searchParams = useSearchParams()const postLoginUrl = safeRedirectUrl(searchParams.get("redirect"))@@ -302,8 +365,8 @@ export default function SignInPage() {<div className="p-6 md:p-8 md:min-h-105 flex flex-col justify-center"><SignInForm postLoginUrl={postLoginUrl} /></div>- <div className="hidden bg-muted md:flex items-center justify-center overflow-visible min-h-80 pt-24">- <TypewriterVisual className="scale-[0.65] shrink-0" emails={EMAILS_PLAYFUL} blobScale={2.5} blobBottom="30%" />+ <div className="hidden bg-muted md:block relative overflow-hidden min-h-105">+ <ProductGallery /></div></CardContent></Card>diff --git a/src/web/src/app/api/calendar/route.ts b/src/web/src/app/api/calendar/route.tsindex 5ed1c517a..3fc41fc7a 100644--- a/src/web/src/app/api/calendar/route.ts+++ b/src/web/src/app/api/calendar/route.ts@@ -13,6 +13,7 @@ import { withWorkspaceMember } from "@/lib/middleware/workspace";import { writeJSON, writeError, parseBody } from "@/lib/middleware/helpers";import { calendarEventToResponse } from "@/lib/api/responses";import { repeatStopDateToStopAt } from "@/lib/services/calendar";+import { broadcastToUser } from "@/lib/broadcast";export const GET = withAuth(async (req: NextRequest, ctx) => {const ws = await withWorkspaceMember(req, ctx);@@ -174,5 +175,33 @@ export const POST = withAuth(async (req: NextRequest, ctx) => {repeatStopAt: repeatStopAtIso,});+ if (body.conversation_id && agent.ownerId) {+ const conv = await queries.conversation.getConversation(db, body.conversation_id, ws.workspaceId);+ if (conv) {+ const eventContent = `Calendar set: ${body.title} — ${scheduledAtIso}`;+ const metadata = JSON.stringify({ calendarEventId: created.id });+ const eventMsg = await queries.message.createMessage(db, {+ conversationId: body.conversation_id,+ role: "event",+ content: eventContent,+ metadata,+ });+ broadcastToUser(agent.ownerId, {+ type: "conversation.message",+ conversationId: body.conversation_id,+ message: {+ id: eventMsg.id,+ conversation_id: eventMsg.conversationId,+ role: eventMsg.role as "event",+ content: eventMsg.content,+ task_id: eventMsg.taskId,+ attachment_ids: null,+ metadata: { calendarEventId: created.id },+ created_at: eventMsg.createdAt,+ },+ }).catch(() => {});+ }+ }+return writeJSON(calendarEventToResponse(created), 201);});diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.cssindex ae279500f..f0ddeecf4 100644--- a/src/web/src/app/globals.css+++ b/src/web/src/app/globals.css@@ -160,6 +160,14 @@--tw-roller: oklch(0.15 0.01 55);}+/* ─── Feature flip cards ─── */+.flip-card:hover .flip-card-inner {+ transform: rotateY(180deg);+}+.flip-card:hover .flip-card-front {+ pointer-events: none;+}+/* ─── Front-Facing Typewriter Illustration ───Classic front-view typewriter (Olivetti-inspired):diff --git a/src/web/src/components/agent-chat/agent-chat-view.tsx b/src/web/src/components/agent-chat/agent-chat-view.tsxindex 87d23e128..5a24916ac 100644--- a/src/web/src/components/agent-chat/agent-chat-view.tsx+++ b/src/web/src/components/agent-chat/agent-chat-view.tsx@@ -51,6 +51,7 @@ import { MentionPopup } from "@/components/agent-chat/mention-popup";import { highlightMentions } from "@/lib/highlight-mentions";import { ArtifactSheet, formatSize } from "@/components/agent-chat/artifact-sheet";import { EmailEventSheet } from "@/components/agent-chat/email-event-sheet";+import { CalendarEventDetailSheet } from "@/components/agent-chat/calendar-event-sheet";import { IssueSheet } from "@/components/issues/issue-sheet";import { isPreviewable, getArtifactUrl, computeArtifactVersions } from "@/components/artifact-content-renderer";import { FollowUpBuffer } from "@/components/agent-chat/follow-up-buffer";@@ -343,6 +344,8 @@ export function AgentChatView({const [artifactSheetSource, setArtifactSheetSource] = useState<"agent" | "issue" | null>(null);const [emailSheetOpen, setEmailSheetOpen] = useState(false);const [selectedEmailId, setSelectedEmailId] = useState<string | null>(null);+ const [calendarEventSheetOpen, setCalendarEventSheetOpen] = useState(false);+ const [selectedCalendarEventId, setSelectedCalendarEventId] = useState<string | null>(null);const [issueSheetOpen, setIssueSheetOpen] = useState(false);const [selectedIssueId, setSelectedIssueId] = useState<string | null>(null);const [issueDetail, setIssueDetail] = useState<{@@ -959,12 +962,13 @@ export function AgentChatView({const MIN_MESSAGES = 10;useEffect(() => {if (messagesLoading || !conversation) return;+ if (scrollToTaskId || targetConvId) return;if (messages.length >= MIN_MESSAGES || !canLoadMore) return;if (loadingMore) return;if (backfillAttemptsRef.current >= 3) return;backfillAttemptsRef.current += 1;loadOlderMessages(true);- }, [messagesLoading, messages.length, canLoadMore, loadingMore, conversation, loadOlderMessages]);+ }, [messagesLoading, messages.length, canLoadMore, loadingMore, conversation, loadOlderMessages, scrollToTaskId, targetConvId]);const handleScroll = useCallback(() => {const el = scrollRef.current;@@ -1791,6 +1795,10 @@ export function AgentChatView({setSelectedEmailId(emailId);setEmailSheetOpen(true);}}+ onCalendarEventClick={(id) => {+ setSelectedCalendarEventId(id);+ setCalendarEventSheetOpen(true);+ }}onIssueClick={(issueId) => openIssue(issueId)}onRetry={handleRetryTask}mentionComponents={MENTION_COMPONENTS}@@ -2102,6 +2110,16 @@ export function AgentChatView({workspaceId={workspaceId}/>+ <CalendarEventDetailSheet+ open={calendarEventSheetOpen}+ onOpenChange={(v) => {+ setCalendarEventSheetOpen(v);+ if (!v) setTimeout(() => setSelectedCalendarEventId(null), 300);+ }}+ calendarEventId={selectedCalendarEventId}+ workspaceId={workspaceId}+ />+<IssueSheetopen={issueSheetOpen}onOpenChange={(v) => {diff --git a/src/web/src/components/agent-chat/calendar-event-sheet.tsx b/src/web/src/components/agent-chat/calendar-event-sheet.tsxnew file mode 100644index 000000000..fdc1dd85b--- /dev/null+++ b/src/web/src/components/agent-chat/calendar-event-sheet.tsx@@ -0,0 +1,137 @@+"use client";++import React, { useState, useEffect, useRef, useCallback } from "react";+import {+ Sheet,+ SheetContent,+ SheetHeader,+ SheetTitle,+ SheetBody,+} from "@/components/ui/sheet";+import { Button } from "@/components/ui/button";+import { X, Calendar, Loader2 } from "lucide-react";+import { toast } from "sonner";+import { getCalendarEvent } from "@/lib/api";+import type { CalendarEvent } from "@alook/shared";++interface CalendarEventDetailSheetProps {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ calendarEventId: string | null;+ workspaceId: string;+}++const MIN_WIDTH = 320;+const MAX_WIDTH_RATIO = 0.8;+const DEFAULT_WIDTH = 500;++export function CalendarEventDetailSheet({ open, onOpenChange, calendarEventId, workspaceId }: CalendarEventDetailSheetProps) {+ const [event, setEvent] = useState<CalendarEvent | null>(null);+ const [loading, setLoading] = useState(false);+ const [width, setWidth] = useState(DEFAULT_WIDTH);+ const dragging = useRef(false);+ const onOpenChangeRef = useRef(onOpenChange);+ useEffect(() => { onOpenChangeRef.current = onOpenChange; });++ useEffect(() => {+ if (!open || !calendarEventId) return;+ setLoading(true);+ setEvent(null);++ getCalendarEvent(calendarEventId, workspaceId)+ .then(setEvent)+ .catch(() => {+ toast.error("Calendar event not found");+ onOpenChangeRef.current(false);+ })+ .finally(() => setLoading(false));+ }, [open, calendarEventId, workspaceId]);++ const handleOpenChange = (v: boolean) => {+ onOpenChange(v);+ if (!v) {+ setTimeout(() => setEvent(null), 300);+ }+ };++ const onPointerDown = useCallback((e: React.PointerEvent) => {+ e.preventDefault();+ dragging.current = true;+ (e.target as HTMLElement).setPointerCapture(e.pointerId);+ }, []);++ const onPointerMove = useCallback((e: React.PointerEvent) => {+ if (!dragging.current) return;+ const maxW = window.innerWidth * MAX_WIDTH_RATIO;+ setWidth(Math.min(maxW, Math.max(MIN_WIDTH, window.innerWidth - e.clientX)));+ }, []);++ const onPointerUp = useCallback(() => {+ dragging.current = false;+ }, []);++ return (+ <Sheet open={open} onOpenChange={handleOpenChange}>+ <SheetContent+ side="right"+ showCloseButton={false}+ style={{ width: `min(${width}px, 100vw)`, maxWidth: "none" }}+ className="data-[side=right]:sm:inset-y-2 data-[side=right]:sm:right-2 data-[side=right]:sm:h-auto data-[side=right]:sm:rounded-xl data-[side=right]:sm:border"+ >+ <div+ onPointerDown={onPointerDown}+ onPointerMove={onPointerMove}+ onPointerUp={onPointerUp}+ className="hidden sm:block absolute left-0 top-0 bottom-0 w-1.5 cursor-col-resize z-10 hover:bg-primary/20 active:bg-primary/30 transition-colors rounded-l-xl"+ />+ <SheetHeader>+ <div className="flex items-center gap-2">+ <Calendar className="h-4 w-4 shrink-0 text-muted-foreground" />+ <SheetTitle className="truncate flex-1">+ {loading ? "Loading..." : event?.title || "Calendar Event"}+ </SheetTitle>+ <Button variant="ghost" size="icon" className="h-7 w-7" onClick={() => handleOpenChange(false)}>+ <X className="h-4 w-4" />+ </Button>+ </div>+ </SheetHeader>++ <SheetBody className="flex-1 overflow-y-auto thin-scrollbar">+ {loading ? (+ <div className="flex items-center justify-center py-12">+ <Loader2 className="h-6 w-6 animate-spin text-muted-foreground" />+ </div>+ ) : event ? (+ <div className="flex flex-col gap-4">+ <div className="text-sm space-y-2 border-b pb-3">+ <div className="flex gap-2">+ <span className="text-muted-foreground shrink-0">Scheduled:</span>+ <span>{new Date(event.scheduled_at).toLocaleString()}</span>+ </div>+ {event.repeat_interval && (+ <div className="flex gap-2">+ <span className="text-muted-foreground shrink-0">Repeats:</span>+ <span>Every {event.repeat_interval}</span>+ </div>+ )}+ {event.repeat_stop_at && (+ <div className="flex gap-2">+ <span className="text-muted-foreground shrink-0">Until:</span>+ <span>{new Date(event.repeat_stop_at).toLocaleDateString()}</span>+ </div>+ )}+ </div>++ {event.description && (+ <div className="text-sm">+ <p className="text-muted-foreground mb-1">Description</p>+ <pre className="whitespace-pre-wrap font-sans">{event.description}</pre>+ </div>+ )}+ </div>+ ) : null}+ </SheetBody>+ </SheetContent>+ </Sheet>+ );+}diff --git a/src/web/src/components/agent-chat/message-list.tsx b/src/web/src/components/agent-chat/message-list.tsxindex 1ce4b6c72..cd937f057 100644--- a/src/web/src/components/agent-chat/message-list.tsx+++ b/src/web/src/components/agent-chat/message-list.tsx@@ -32,6 +32,7 @@ export interface MessageItemProps {onArtifactClick: (a: Artifact) => void;onEmailClick: (emailId: string) => void;onIssueClick: (issueId: string) => void;+ onCalendarEventClick: (calendarEventId: string) => void;onRetry?: () => void;mentionComponents: Record<string, React.ComponentType<Record<string, unknown> & { children?: React.ReactNode }>>;isFlagged?: boolean;@@ -120,6 +121,7 @@ export const MessageItem = memo(function MessageItem({onArtifactClick,onEmailClick,onIssueClick,+ onCalendarEventClick,onRetry,mentionComponents,isFlagged,@@ -251,7 +253,8 @@ export const MessageItem = memo(function MessageItem({})() : msg.role === "event" ? (() => {const eventEmailId = msg.metadata?.emailId as string | undefined;const eventIssueId = msg.metadata?.issueId as string | undefined;- const isClickable = !!eventEmailId || !!eventIssueId;+ const eventCalendarEventId = msg.metadata?.calendarEventId as string | undefined;+ const isClickable = !!eventEmailId || !!eventIssueId || !!eventCalendarEventId;return (<div className="flex justify-start" data-message-id={msg.id} {...(msg.task_id ? { "data-task-id": msg.task_id } : {})}><div@@ -259,7 +262,7 @@ export const MessageItem = memo(function MessageItem({"w-full rounded-md border bg-muted/50 text-muted-foreground text-sm px-3 py-2 flex items-start gap-2",isClickable && "cursor-pointer hover:bg-muted transition-colors")}- onClick={eventEmailId ? () => onEmailClick(eventEmailId) : eventIssueId ? () => onIssueClick(eventIssueId) : undefined}+ onClick={eventEmailId ? () => onEmailClick(eventEmailId) : eventIssueId ? () => onIssueClick(eventIssueId) : eventCalendarEventId ? () => onCalendarEventClick(eventCalendarEventId) : undefined}><EventMessageIcon content={msg.content} conversationType={conversationType} /><span className="min-w-0 wrap-anywhere">{msg.content}</span>diff --git a/src/web/src/components/agent-create-form.tsx b/src/web/src/components/agent-create-form.tsxindex 73a8da4f6..6ec08a52e 100644--- a/src/web/src/components/agent-create-form.tsx+++ b/src/web/src/components/agent-create-form.tsx@@ -1,6 +1,6 @@"use client";-import { useState, useRef, useEffect } from "react";+import { useState, useRef, useEffect, useCallback } from "react";import { Button } from "@/components/ui/button";import type { AgentRuntime as Runtime } from "@alook/shared";import {@@ -20,6 +20,7 @@ import {randomConfig,serializeAvatarConfig,} from "@/components/avatar";+import { uniqueNamesGenerator, names } from "unique-names-generator";import {type AgentCreateFieldErrors,hasAgentCreateFieldErrors,@@ -134,15 +135,21 @@ export function AgentCreateForm({const [model, setModel] = useState("");const [avatarConfig, setAvatarConfig] = useState<AvatarConfig>(INITIAL_AVATAR);- // Randomize avatar on client mount to avoid hydration mismatch+ // Randomize avatar and name on client mount to avoid hydration mismatchconst avatarInitialized = useRef(false);useEffect(() => {if (!avatarInitialized.current) {avatarInitialized.current = true;setAvatarConfig(randomConfig());+ setName(uniqueNamesGenerator({ dictionaries: [names], length: 1, style: "capital" }));}}, []);+ const shuffleName = useCallback(() => {+ setName(uniqueNamesGenerator({ dictionaries: [names], length: 1, style: "capital" }));+ setFieldErrors((prev) => ({ ...prev, name: undefined }));+ }, []);+const selectedRuntime = runtimes.find((r) => r.id === runtimeId);const providerModels =selectedRuntime && modelOptions@@ -227,6 +234,7 @@ export function AgentCreateForm({providerModels={providerModels}errors={fieldErrors}runtimeAsRadio+ onShuffle={shuffleName}/><div className="border-t border-border/50 pt-4 mt-4 space-y-4">diff --git a/src/web/src/components/agent-form-fields.tsx b/src/web/src/components/agent-form-fields.tsxindex 2abe3eef4..efbdc4e96 100644--- a/src/web/src/components/agent-form-fields.tsx+++ b/src/web/src/components/agent-form-fields.tsx@@ -26,7 +26,7 @@ import { ProviderLogo } from "@/components/provider-logo";import { isValidHandle } from "@alook/shared";import type { AgentRuntime as Runtime } from "@alook/shared";import { cn } from "@/lib/utils";-import { InfoIcon, XIcon } from "lucide-react";+import { InfoIcon, XIcon, Dices } from "lucide-react";import { useWorkspace } from "@/contexts/workspace-context";import {listWhitelist,@@ -74,6 +74,7 @@ interface GeneralFieldsProps {runtimeId?: string;};runtimeAsRadio?: boolean;+ onShuffle?: () => void;}export function GeneralFields({@@ -91,20 +92,28 @@ export function GeneralFields({providerModels,errors,runtimeAsRadio = false,+ onShuffle,}: GeneralFieldsProps) {return (<><div className="space-y-1.5"><Label htmlFor="agent-name">Name <span className="text-destructive">*</span></Label>- <Input- id="agent-name"- value={name}- onChange={(e) => setName(e.target.value)}- placeholder="My Agent"- required- aria-invalid={Boolean(errors?.name)}- aria-describedby={errors?.name ? "agent-name-error" : undefined}- />+ <div className="flex items-center gap-1">+ <Input+ id="agent-name"+ value={name}+ onChange={(e) => setName(e.target.value)}+ placeholder="My Agent"+ required+ aria-invalid={Boolean(errors?.name)}+ aria-describedby={errors?.name ? "agent-name-error" : undefined}+ />+ {onShuffle && (+ <Button type="button" variant="ghost" size="icon" className="shrink-0 size-8" onClick={onShuffle} aria-label="Randomize name">+ <Dices className="size-4 text-muted-foreground" />+ </Button>+ )}+ </div>{errors?.name && (<p id="agent-name-error" className="text-xs text-destructive">{errors.name}diff --git a/src/web/src/components/home/feature-showcase.tsx b/src/web/src/components/home/feature-showcase.tsxindex 312c17a0a..a49c9cfec 100644--- a/src/web/src/components/home/feature-showcase.tsx+++ b/src/web/src/components/home/feature-showcase.tsx@@ -13,6 +13,7 @@ interface Feature {spec: string;description: string;terminal: string[];+ cta: { tagline: string; label: string; href: string };}const features: Feature[] = [@@ -32,6 +33,7 @@ const features: Feature[] = ["▓ R&D ▓░░░░░░░░░░░▓ SALES ▓░░░░░░░░░░░▓ BIZ ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓",],+ cta: { tagline: "Design your org chart", label: "BUILD YOUR TEAM", href: "/sign-in" },},{number: "II",@@ -51,6 +53,7 @@ const features: Feature[] = ["█ █","█████████████████████████",],+ cta: { tagline: "Full audit trail, zero black boxes", label: "SEE EVERY DECISION", href: "/sign-in" },},{number: "III",@@ -69,6 +72,7 @@ const features: Feature[] = ["▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓",],+ cta: { tagline: "Agents that show up on time", label: "SET UP SCHEDULES", href: "/sign-in" },},{number: "IV",@@ -88,6 +92,7 @@ const features: Feature[] = [" "," ",],+ cta: { tagline: "Ship while you sleep", label: "START THE DAEMON", href: "/sign-in" },},{number: "V",@@ -107,6 +112,7 @@ const features: Feature[] = [" ░░░░░▒▓█▓▒░░░░░ "," ",],+ cta: { tagline: "Smarter with every task", label: "GROW YOUR TEAM", href: "/sign-in" },},];@@ -238,43 +244,95 @@ function FeaturePanel({ feature, reversed }: { feature: Feature; reversed: boole</p></div>- {/* CRT terminal */}- <div- className={`panel-crt rounded-lg p-2 ${reversed ? "lg:[direction:ltr]" : ""}`}- style={{- backgroundColor: "oklch(0.82 0.02 75)",- boxShadow:- "0 4px 16px oklch(0.15 0.01 55 / 15%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)",- }}- >+ {/* Flip card */}+ <div className={`mx-auto w-full max-w-sm sm:max-w-md ${reversed ? "lg:[direction:ltr]" : ""}`}>+ <FlipCard feature={feature} />+ </div>+ </div>+ );+}++function FlipCard({ feature }: { feature: Feature }) {+ return (+ <div+ className="flip-card panel-crt cursor-pointer"+ style={{ perspective: "1200px" }}+ >+ <div className="flip-card-inner relative w-full transition-transform duration-500 ease-out [transform-style:preserve-3d]">+ {/* Front — ASCII art */}<div- className="relative overflow-hidden rounded p-5"+ className="flip-card-front rounded-lg p-2"style={{- backgroundColor: "var(--landing-crt-bg)",- boxShadow: "inset 0 0 40px oklch(0.04 0.003 55)",+ backfaceVisibility: "hidden",+ backgroundColor: "oklch(0.82 0.02 75)",+ boxShadow:+ "0 4px 16px oklch(0.15 0.01 55 / 15%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)",}}>- {/* Scan lines */}<div- className="pointer-events-none absolute inset-0 z-10"+ className="relative overflow-hidden rounded p-5"style={{- backgroundImage:- "repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",- backgroundSize: "100% 2px",+ backgroundColor: "var(--landing-crt-bg)",+ boxShadow: "inset 0 0 40px oklch(0.04 0.003 55)",}}- />- {/* Vignette */}- <div- className="pointer-events-none absolute inset-0"+ >+ {/* Scan lines */}+ <div+ className="pointer-events-none absolute inset-0 z-10"+ style={{+ backgroundImage:+ "repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",+ backgroundSize: "100% 2px",+ }}+ />+ {/* Vignette */}+ <div+ className="pointer-events-none absolute inset-0"+ style={{+ background:+ "radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)",+ }}+ />+ {/* ASCII art */}+ <div className="relative z-20 flex items-center justify-center min-h-35">+ <AnimatedArt lines={feature.terminal} />+ </div>+ </div>+ </div>++ {/* Back — CTA */}+ <div+ className="flip-card-back absolute inset-0 flex flex-col items-center justify-center rounded-lg p-6"+ style={{+ backfaceVisibility: "hidden",+ transform: "rotateY(180deg)",+ backgroundColor: "var(--landing-crt-bg)",+ boxShadow:+ "0 4px 16px oklch(0.15 0.01 55 / 15%)",+ }}+ >+ <p+ className="mb-5 text-center text-sm"style={{- background:- "radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)",+ fontFamily: "var(--font-crt)",+ color: "var(--landing-phosphor)",+ textShadow: "0 0 6px oklch(0.75 0.18 80 / 30%)",}}- />- {/* ASCII art */}- <div className="relative z-20 flex items-center justify-center min-h-35">- <AnimatedArt lines={feature.terminal} />- </div>+ >+ {feature.cta.tagline}+ </p>+ <a+ href={feature.cta.href}+ className="inline-flex items-center gap-2 px-5 py-2.5 text-xs uppercase tracking-[0.1em] transition-opacity hover:opacity-80"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-crt-bg)",+ backgroundColor: "var(--landing-phosphor)",+ boxShadow: "0 0 12px oklch(0.75 0.18 80 / 40%)",+ }}+ >+ {feature.cta.label}+ </a></div></div></div>diff --git a/src/web/src/components/home/hero-section.tsx b/src/web/src/components/home/hero-section.tsxindex be263f48e..0adfde632 100644--- a/src/web/src/components/home/hero-section.tsx+++ b/src/web/src/components/home/hero-section.tsx@@ -8,7 +8,6 @@ import { useGSAP } from "@gsap/react";import { ScrollTrigger } from "gsap/ScrollTrigger";import { SplitText } from "gsap/SplitText";import { TypewriterVisual } from "@/components/typewriter-visual";-import { ProviderLogo } from "@/components/provider-logo";gsap.registerPlugin(ScrollTrigger, SplitText);@@ -119,15 +118,15 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {</h1><pref={sublineRef}- className="hidden sm:block max-w-lg text-center leading-relaxed px-2"+ className="block max-w-lg text-center text-sm sm:text-base leading-relaxed px-2"style={{fontFamily: "var(--font-crt)",color: "var(--landing-text-muted)",- fontSize: "clamp(14px, 2vw, 20px)",+ fontSize: "clamp(12px, 2vw, 20px)",}}>- Agents that collaborate, stay always on, and learn from every- task — orchestrated by Alook.+ You have ideas that need ten people to execute.+ Now you only need yourself and Alook.</p></div>@@ -159,35 +158,44 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {))}</div>- {/* Agent providers */}+ {/* Community links */}<div className="hero-providers mt-5 flex items-center justify-center gap-4">- <span- className="text-xs uppercase tracking-[0.15em]"- style={{- fontFamily: "var(--font-mono)",- color: "var(--landing-text-muted)",- }}+ <a+ href="https://github.com/alookai/alook"+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity hover:opacity-70"+ style={{ color: "var(--landing-text)" }}+ aria-label="GitHub">- Use with- </span>- {(- [- { provider: "claude", comingSoon: false },- { provider: "codex", comingSoon: false },- { provider: "opencode", comingSoon: false },- { provider: "cursor", comingSoon: true },- { provider: "hermes", comingSoon: true },- { provider: "openclaw", comingSoon: true },- ] as const- ).map(({ provider, comingSoon }) => (- <div- key={provider}- className="flex items-center justify-center"- style={{ opacity: comingSoon ? 0.45 : 1, color: "var(--landing-text)" }}- >- <ProviderLogo provider={provider} className="h-5 w-5" />- </div>- ))}+ <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">+ <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />+ </svg>+ </a>+ <a+ href="https://discord.alook.ai"+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity hover:opacity-70"+ style={{ color: "var(--landing-text)" }}+ aria-label="Discord"+ >+ <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">+ <path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z" />+ </svg>+ </a>+ <a+ href="https://x.com/alook_ai"+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity hover:opacity-70"+ style={{ color: "var(--landing-text)" }}+ aria-label="Follow us on X"+ >+ <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />+ </svg>+ </a></div>{/* CTA */}@@ -207,32 +215,14 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {</svg>OPEN SOURCE</a> */}- <Link- href="/templates"- className="inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80"- style={{- fontFamily: "var(--font-mono)",- color: "var(--landing-bg)",- backgroundColor: "var(--landing-text)",- letterSpacing: "0.05em",- }}- >- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">- <rect x="3" y="3" width="7" height="7" />- <rect x="14" y="3" width="7" height="7" />- <rect x="3" y="14" width="7" height="7" />- <rect x="14" y="14" width="7" height="7" />- </svg>- TEMPLATES- </Link>{isLoggedIn ? (<ahref="/workspaces?auto"className="inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80"style={{fontFamily: "var(--font-mono)",- color: "var(--landing-text)",- border: "1px solid var(--landing-text)",+ color: "var(--landing-bg)",+ backgroundColor: "var(--landing-text)",letterSpacing: "0.05em",}}>@@ -241,7 +231,7 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {<polyline points="10 17 15 12 10 7" /><line x1="15" y1="12" x2="3" y2="12" /></svg>- APP+ OPEN APP</a>) : (<a@@ -249,8 +239,8 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {className="inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80"style={{fontFamily: "var(--font-mono)",- color: "var(--landing-text)",- border: "1px solid var(--landing-text)",+ color: "var(--landing-bg)",+ backgroundColor: "var(--landing-text)",letterSpacing: "0.05em",}}>@@ -262,6 +252,24 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {GET STARTED</a>)}+ <Link+ href="/templates"+ className="inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-text)",+ border: "1px solid var(--landing-text)",+ letterSpacing: "0.05em",+ }}+ >+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">+ <rect x="3" y="3" width="7" height="7" />+ <rect x="14" y="3" width="7" height="7" />+ <rect x="3" y="14" width="7" height="7" />+ <rect x="14" y="14" width="7" height="7" />+ </svg>+ TEMPLATES+ </Link></div><pclassName="mt-4 sm:hidden text-center text-xs"diff --git a/src/web/src/components/home/home-page.tsx b/src/web/src/components/home/home-page.tsxindex 7b232b015..2aa27925a 100644--- a/src/web/src/components/home/home-page.tsx+++ b/src/web/src/components/home/home-page.tsx@@ -10,6 +10,7 @@ import { ArchitectureOverview } from "./architecture-overview";import { MarketingNav } from "./marketing-nav";import { MarketingFooter } from "./marketing-footer";import { ByoaSection } from "./byoa-section";+import { QuickstartSection } from "./quickstart-section";gsap.registerPlugin(useGSAP, ScrollTrigger);@@ -61,6 +62,7 @@ export function HomePage({ isLoggedIn }: { isLoggedIn: boolean }) {<HeroSection isLoggedIn={isLoggedIn} /><ByoaSection /><FeatureShowcase />+ <QuickstartSection /><ArchitectureOverview /><MarketingFooter /></div>diff --git a/src/web/src/components/home/marketing-footer.tsx b/src/web/src/components/home/marketing-footer.tsxindex 60587b557..1e5c6d7a8 100644--- a/src/web/src/components/home/marketing-footer.tsx+++ b/src/web/src/components/home/marketing-footer.tsx@@ -11,7 +11,10 @@ gsap.registerPlugin(ScrollTrigger);const footerLinks = [{ href: "/templates", label: "Templates" },+ { href: "https://github.com/alookai/alook", label: "GitHub", external: true },{ href: "https://discord.alook.ai", label: "Discord", external: true },+ { href: "https://x.com/alook_ai", label: "X", external: true },+ { href: "/privacy", label: "Privacy" },{ href: "mailto:[email protected]", label: "Contact", external: true },];diff --git a/src/web/src/components/home/marketing-nav.tsx b/src/web/src/components/home/marketing-nav.tsxindex 687f6482e..595fbfe8b 100644--- a/src/web/src/components/home/marketing-nav.tsx+++ b/src/web/src/components/home/marketing-nav.tsx@@ -31,7 +31,7 @@ export function MarketingNav({ isLoggedIn }: { isLoggedIn: boolean }) {<div className="flex items-center gap-3"><Linkhref="/templates"- className="px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70"+ className="hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70"style={{fontFamily: "var(--font-mono)",color: "var(--landing-text)",@@ -39,26 +39,40 @@ export function MarketingNav({ isLoggedIn }: { isLoggedIn: boolean }) {>Templates</Link>- {/* <a+ <ahref="https://github.com/alookai/alook"- className="inline-flex items-center gap-2 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70"- style={{- fontFamily: "var(--font-mono)",- color: "var(--landing-bg)",- backgroundColor: "var(--landing-text)",- }}+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70"+ aria-label="GitHub">- <svg- width="14"- height="14"- viewBox="0 0 24 24"- fill="currentColor"- >+ <svg width="16" height="16" viewBox="0 0 24 24" fill="var(--landing-text)"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" /></svg>- Source- </a> */}- {isLoggedIn && (+ </a>+ <a+ href="https://discord.alook.ai"+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70"+ aria-label="Discord"+ >+ <svg width="16" height="16" viewBox="0 0 24 24" fill="var(--landing-text)">+ <path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z" />+ </svg>+ </a>+ <a+ href="https://x.com/alook_ai"+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center justify-center p-1.5 transition-opacity duration-150 hover:opacity-70"+ aria-label="Follow us on X"+ >+ <svg width="14" height="14" viewBox="0 0 24 24" fill="var(--landing-text)">+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />+ </svg>+ </a>+ {isLoggedIn ? (<Linkhref="/workspaces?auto"className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70"@@ -82,6 +96,18 @@ export function MarketingNav({ isLoggedIn }: { isLoggedIn: boolean }) {<path d="M5 12h14M12 5l7 7-7 7" /></svg></Link>+ ) : (+ <a+ href="/sign-in"+ className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-bg)",+ backgroundColor: "var(--landing-text)",+ }}+ >+ Get Started+ </a>)}</div></div>diff --git a/src/web/src/components/home/quickstart-section.tsx b/src/web/src/components/home/quickstart-section.tsxnew file mode 100644index 000000000..abdca1b24--- /dev/null+++ b/src/web/src/components/home/quickstart-section.tsx@@ -0,0 +1,167 @@+"use client";++import { useRef } from "react";+import gsap from "gsap";+import { useGSAP } from "@gsap/react";+import { ScrollTrigger } from "gsap/ScrollTrigger";++gsap.registerPlugin(ScrollTrigger);++const points = [+ "Your Machine, Your Rules",+ "No Vendor Lock-In",+ "One Command to Start",+];++export function QuickstartSection() {+ const sectionRef = useRef<HTMLDivElement>(null);++ useGSAP(+ () => {+ gsap.from(".selfhost-title", {+ y: 30,+ opacity: 0,+ duration: 0.6,+ scrollTrigger: {+ trigger: sectionRef.current,+ start: "top 75%",+ toggleActions: "play none none none",+ },+ });++ gsap.from(".selfhost-point", {+ y: 25,+ opacity: 0,+ duration: 0.5,+ stagger: 0.12,+ scrollTrigger: {+ trigger: ".selfhost-grid",+ start: "top 80%",+ toggleActions: "play none none none",+ },+ });+ },+ { scope: sectionRef }+ );++ return (+ <section+ ref={sectionRef}+ className="relative px-6 py-24 lg:py-32"+ style={{ backgroundColor: "var(--landing-bg)" }}+ >+ {/* Title */}+ <div className="selfhost-title mx-auto mb-12 max-w-4xl text-center lg:mb-16">+ <div+ className="mb-3 text-xs uppercase tracking-[0.3em]"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-text-muted)",+ }}+ >+ Open Source & Self-Hosted+ </div>+ <h2+ style={{+ fontFamily: "var(--font-crt)",+ color: "var(--landing-text)",+ fontSize: "clamp(1.75rem, 4vw, 3rem)",+ }}+ >+ Own Your Infrastructure+ </h2>+ <p+ className="mx-auto mt-3 max-w-xl"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-text-muted)",+ fontSize: "0.85rem",+ }}+ >+ Alook is fully open source. Self-host the entire platform, keep+ your data private, and run your AI company on hardware you control.+ </p>+ </div>++ {/* Points */}+ <div className="selfhost-grid mx-auto flex max-w-3xl flex-wrap items-center justify-center gap-x-8 gap-y-3">+ {points.map((point) => (+ <span+ key={point}+ className="selfhost-point text-sm"+ style={{+ fontFamily: "var(--font-crt)",+ color: "var(--landing-text)",+ }}+ >+ {point}+ </span>+ ))}+ </div>++ {/* CTA terminal */}+ <div className="mx-auto mt-10 max-w-md">+ <div+ className="rounded-lg p-1.5"+ style={{+ backgroundColor: "oklch(0.82 0.02 75)",+ boxShadow:+ "0 2px 8px oklch(0.15 0.01 55 / 10%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)",+ }}+ >+ <div+ className="relative overflow-hidden rounded px-5 py-4"+ style={{+ backgroundColor: "var(--landing-crt-bg)",+ boxShadow: "inset 0 0 20px oklch(0.04 0.003 55)",+ }}+ >+ {/* Scan lines */}+ <div+ className="pointer-events-none absolute inset-0 z-10"+ style={{+ backgroundImage:+ "repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",+ backgroundSize: "100% 2px",+ }}+ />+ {/* Vignette */}+ <div+ className="pointer-events-none absolute inset-0"+ style={{+ background:+ "radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)",+ }}+ />+ <code+ className="relative z-20 block text-center text-sm leading-relaxed"+ style={{+ fontFamily: "var(--font-crt)",+ color: "var(--landing-phosphor)",+ textShadow: "0 0 6px oklch(0.75 0.18 80 / 30%)",+ }}+ >+ $ npx @alook/app onboard+ </code>+ </div>+ </div>+ </div>++ {/* CTA */}+ <div className="mx-auto mt-8 flex justify-center">+ <a+ href="/sign-in"+ className="inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80"+ style={{+ fontFamily: "var(--font-mono)",+ color: "var(--landing-bg)",+ backgroundColor: "var(--landing-text)",+ letterSpacing: "0.05em",+ }}+ >+ START YOUR COMPANY+ </a>+ </div>+ </section>+ );+}diff --git a/src/web/src/lib/api.ts b/src/web/src/lib/api.tsindex 4291830a0..ea5c24f69 100644--- a/src/web/src/lib/api.ts+++ b/src/web/src/lib/api.ts@@ -653,6 +653,9 @@ export const listCalendarEvents = (return apiFetch<CalendarEvent[]>(`/api/calendar${wsQuery(workspaceId, extra)}`);};+export const getCalendarEvent = (id: string, workspaceId: string) =>+ apiFetch<CalendarEvent>(`/api/calendar/${id}${wsQuery(workspaceId)}`);+export const createCalendarEvent = (req: CreateCalendarEventRequest,workspaceId: stringdiff --git a/src/web/src/lib/services/calendar.ts b/src/web/src/lib/services/calendar.tsindex 4f9425e66..d156ea7fe 100644--- a/src/web/src/lib/services/calendar.ts+++ b/src/web/src/lib/services/calendar.ts@@ -80,6 +80,7 @@ export async function promoteDueCalendarEventsForWorkspace(conversationId: conv.id,role: "event",content: ev.title,+ metadata: JSON.stringify({ calendarEventId: ev.id }),});await queries.task.createTask(db, {