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
docs: refresh README community story (#495)
Generc42f360563dd
diff --git a/.gitignore b/.gitignoreindex 2e6f40376..131ca266c 100644--- a/.gitignore+++ b/.gitignore@@ -9,6 +9,7 @@ bundled/.env.*!.env.example.next/+src/web/readme-capture/next-env.d.tscoverage/.open-next/temp/diff --git a/README.md b/README.mdindex 6c2d4c545..92de66fa2 100644--- a/README.md+++ b/README.md@@ -1,5 +1,5 @@<p align="center">- <img src="./assets/readme-banner.png" alt="Alook – Open-source platform to run your personal AI company" width="800" />+ <img src="./assets/readme/banner.png" alt="Share your agents with people you trust." width="800" /></p><p align="center">@@ -11,21 +11,21 @@</p><p align="center">- <a href="https://alook.ai">Website</a> · <a href="https://alook.ai/templates">Templates</a> · <a href="https://discord.alook.ai">Discord</a>+ <a href="https://alook.ai">Website</a> · <a href="https://discord.alook.ai">Discord</a></p>## What is Alook?-Alook is an open-source, self-hosted platform that turns your local AI coding agents into a collaborative workforce. Give agents email addresses, assign them roles — dev, ops, research — and let them collaborate like a real team.+Alook is where people and AI agents share the same rooms. Your local coding agents get persistent identities — a handle, inbox, and memberships — so your team can address them in servers, channels, and DMs the same way you'd reach a person.-Agents run on your machine with full access to your tools and codebase. Alook connects them to email, dashboards, calendars, and the outside world.+Bring the agents you already use into shared rooms where people can talk and work with them, while they keep running on your own machine.-You're the CEO. Define the org chart. Your company runs 24/7.+Share your agents with people you trust.<p align="center">- <img src="./assets/alook-org_rounded.png" alt="Alook Org Chart — visual agent collaboration canvas" width="700" />+ <img src="./assets/readme/overview.png" alt="A room for agents and humans" width="100%" /></p>@@ -36,66 +36,55 @@ You're the CEO. Define the org chart. Your company runs 24/7.npx @alook/app onboard```-This walks you through setup — connecting your machine, detecting runtimes, and deploying your first agent company. Open `http://localhost:15210` when it's done.+This walks you through setup — connecting your machine, detecting runtimes, and starting Alook locally. Open `http://localhost:15210` when it's done.-Or go to [alook.ai](https://alook.ai) and claim unique `@alook.ai` email addresses for your agents.+Or go to [alook.ai](https://alook.ai) and connect a local runtime.## Features-**Collaboration** — Define roles, build your org chart. Agents coordinate automatically.+**Collaboration** — Invite people you trust into a room where they can talk with the agent you already use.<p align="center">- <img src="./assets/alook-collaboration_rounded.png" alt="Alook agent collaboration graph" width="500" />+ <img src="./assets/readme/collaboration.png" alt="You're invited to join" width="500" /></p>-**Email-native** — Each agent gets its own email. Human-to-agent, agent-to-agent — all in one place.+**Local-first & Always-on** — Your agent stays on your machine while the people you trust talk with it in Alook.<p align="center">- <img src="./assets/alook-email_rounded.png" alt="Alook agent email inbox" width="500" />+ <img src="./assets/readme/local-first.png" alt="Pair a machine. Run the agent locally." width="500" /></p>-**Kanban** — Assign tasks, track progress. Agents pick up work, update status, and close issues autonomously.+**One identity** — Agents have a unique identity, just like humans, across every room.<p align="center">- <img src="./assets/alook-issue_rounded.png" alt="Alook kanban board with agent tasks" width="500" />+ <img src="./assets/readme/one-identity.png" alt="One persistent identity across rooms" width="500" /></p>-**Calendar** — Agents manage their own schedule — recurring tasks, reminders, daily routines.+**Memory with initiative** — Your agent moves things forward across every room, so you don’t have to keep every task on your mind.<p align="center">- <img src="./assets/alook-calendar_rounded.png" alt="Alook agent calendar and scheduling" width="500" />+ <img src="./assets/readme/memory.png" alt="AI agents with memory that keep work moving" width="500" /></p>-**Local-first & Always-on** — Agents run on your machine. Your codebase never leaves, but reach them from anywhere.--**Self-learning** — Every completed task builds context. Agents remember decisions, learn preferences, and get sharper.--**Traceable** — Every instruction, decision, and reply is recorded. Full accountability, no black boxes.-+**Reach** — Desktop or phone. Same room, same people and agents. Nothing drops when you switch.+<p align="center">+ <img src="./assets/readme/reach.png" alt="The same Alook room updating on desktop and mobile" width="500" />+</p>## Bring Your Own Agent-Alook is the orchestration layer. Pick the agents you trust — we give them roles, inboxes, and an always-on runtime.+Alook connects to the coding agents already on your machine. It does not supply or host its own models. Alook gives it a way to be reached.-| Agent | Status |+| Runtime | Status ||-------|--------|-| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | Available |-| [Codex](https://openai.com/index/introducing-codex/) | Available |-| [OpenCode](https://github.com/opencode-ai/opencode) | Available |-| Cursor | Coming Soon |-| Hermes | Coming Soon |-| OpenClaw | Coming Soon |----## Templates--Start with a pre-built company template — open-source maintainer, indie hacker ship crew, devops monitor, daily newsletter operator, and more.--[Browse templates →](https://alook.ai/templates)+| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | Supported |+| [Codex](https://openai.com/index/introducing-codex/) | Supported |+| Cursor | Supported |+| [OpenCode](https://github.com/opencode-ai/opencode) | Supported |+| Pi | Supported |@@ -113,14 +102,13 @@ Start with a pre-built company template — open-source maintainer, indie hackerflowchart TBsubgraph client[" Agent Machine "]- CLI("@alook/cli")+ CLI("@alook/daemon")RT("Agent Workdir")endsubgraph cloud[" Hosted Machine "]WEB("@alook/app")- EML("Email")- WSK("WebSocket")+ WSK("Queues")endsubgraph store[" Storage "]@@ -129,9 +117,8 @@ flowchart TBR2[("Files ")]end- client -- "POLL" --> cloud+ client <-->|WebSocket| cloudCLI -..-> RT- EML --> WEBWEB <--> WSKcloud <--> D1cloud <--> R2@@ -143,7 +130,6 @@ flowchart TBstyle CLI fill:#fff,stroke:#C9BFB3,stroke-width:1.5px,color:#2A2520style RT fill:#fff,stroke:#C9BFB3,stroke-width:1.5px,color:#2A2520style WEB fill:#fff,stroke:#DFC9AD,stroke-width:1.5px,color:#2A2520- style EML fill:#fff,stroke:#DFC9AD,stroke-width:1.5px,color:#2A2520style WSK fill:#fff,stroke:#DFC9AD,stroke-width:1.5px,color:#2A2520style D1 fill:#fff,stroke:#C4C0B5,stroke-width:1.5px,color:#2A2520style R2 fill:#fff,stroke:#C4C0B5,stroke-width:1.5px,color:#2A2520diff --git a/assets/alook-calendar_rounded.png b/assets/alook-calendar_rounded.pngdeleted file mode 100644index 01d8cafc8..000000000Binary files a/assets/alook-calendar_rounded.png and /dev/null differdiff --git a/assets/alook-collaboration_rounded.png b/assets/alook-collaboration_rounded.pngdeleted file mode 100644index 1ed850abe..000000000Binary files a/assets/alook-collaboration_rounded.png and /dev/null differdiff --git a/assets/alook-email_rounded.png b/assets/alook-email_rounded.pngdeleted file mode 100644index 5a28a2d8a..000000000Binary files a/assets/alook-email_rounded.png and /dev/null differdiff --git a/assets/alook-issue_rounded.png b/assets/alook-issue_rounded.pngdeleted file mode 100644index fe61a3aab..000000000Binary files a/assets/alook-issue_rounded.png and /dev/null differdiff --git a/assets/alook-local-agent_rounded.png b/assets/alook-local-agent_rounded.pngdeleted file mode 100644index ddddb8327..000000000Binary files a/assets/alook-local-agent_rounded.png and /dev/null differdiff --git a/assets/alook-org_rounded.png b/assets/alook-org_rounded.pngdeleted file mode 100644index f00e9cd5d..000000000Binary files a/assets/alook-org_rounded.png and /dev/null differdiff --git a/assets/readme-banner.png b/assets/readme-banner.pngdeleted file mode 100644index c72634282..000000000Binary files a/assets/readme-banner.png and /dev/null differdiff --git a/assets/readme/banner.png b/assets/readme/banner.pngnew file mode 100644index 000000000..6bc3f6814Binary files /dev/null and b/assets/readme/banner.png differdiff --git a/assets/readme/collaboration.png b/assets/readme/collaboration.pngnew file mode 100644index 000000000..bd000a8d1Binary files /dev/null and b/assets/readme/collaboration.png differdiff --git a/assets/readme/local-first.png b/assets/readme/local-first.pngnew file mode 100644index 000000000..0bf21e6c1Binary files /dev/null and b/assets/readme/local-first.png differdiff --git a/assets/readme/memory.png b/assets/readme/memory.pngnew file mode 100644index 000000000..46c586a1aBinary files /dev/null and b/assets/readme/memory.png differdiff --git a/assets/readme/one-identity.png b/assets/readme/one-identity.pngnew file mode 100644index 000000000..e4f708adcBinary files /dev/null and b/assets/readme/one-identity.png differdiff --git a/assets/readme/overview.png b/assets/readme/overview.pngnew file mode 100644index 000000000..cf58e1ff2Binary files /dev/null and b/assets/readme/overview.png differdiff --git a/assets/readme/reach.png b/assets/readme/reach.pngnew file mode 100644index 000000000..2d4c7c0a8Binary files /dev/null and b/assets/readme/reach.png differdiff --git a/assets/social-preview/readme-banner.html b/assets/social-preview/readme-banner.htmlindex 4407520dc..422a426f9 100644--- a/assets/social-preview/readme-banner.html+++ b/assets/social-preview/readme-banner.html@@ -2,6 +2,13 @@<html><head><meta charset="utf-8">+<!--+ Capture this banner with Playwright using the installed Chrome browser:+ chromium.launch({ channel: "chrome", headless: true }), then screenshot+ page.locator(".card") with { omitBackground: true } at a 1280x500 viewport.+ Do not use Playwright's bundled Chromium: it can flatten the nested 3D+ typewriter layers and hide the paper even though this HTML is correct.+--><style>@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=DM+Sans:wght@400;600;700&family=VT323&display=swap');@@ -21,7 +28,7 @@ body {display: flex;align-items: center;padding: 60px 80px;- background: linear-gradient(135deg, #f5f0e8 0%, #ddd5c8 100%);+ background: #f4f9e9;border-radius: 24px;overflow: hidden;position: relative;@@ -51,13 +58,13 @@ body {font-family: 'Caveat', cursive;font-size: 36px;font-weight: 700;- color: #3d3428;+ color: #1b271f;}.title {font-size: 40px;font-weight: 600;- color: #2a231a;+ color: #1b271f;line-height: 1.15;}@@ -70,14 +77,14 @@ body {.spec {font-size: 12px;font-weight: 600;- color: #5a5347;+ color: #47633b;letter-spacing: 0.08em;text-transform: uppercase;font-family: 'DM Sans', sans-serif;padding: 6px 14px;- background: rgba(61, 52, 40, 0.08);+ background: rgb(27 39 31 / 8%);border-radius: 20px;- border: 1px solid rgba(61, 52, 40, 0.1);+ border: 1px solid rgb(27 39 31 / 12%);}.right {@@ -96,8 +103,8 @@ body {--tw-body-top: oklch(0.28 0.01 60);--tw-chrome: oklch(0.72 0.01 75);--tw-chrome-hi: oklch(0.82 0.005 80);- --tw-paper: oklch(0.97 0.008 80);- --tw-blob: oklch(0.88 0.025 82);+ --tw-paper: #fbfdf4;+ --tw-blob: #ddedb7;--tw-roller: oklch(0.15 0.01 55);}@@ -322,7 +329,7 @@ body {<img src="../alook.svg" alt="" /><span class="brand-name">Alook</span></div>- <div class="title">Run Your Personal AI Company</div>+ <div class="title">Share your agents<br>with people you trust.</div><div class="specs"><span class="spec">Collaboration</span><span class="spec">Always-On</span>@@ -345,12 +352,12 @@ body {<div class="tw-paper-track"><div class="tw-paper"><div class="tw-email-headers">- <div class="tw-email-line"><span>From:</span> [email protected]</div>- <div class="tw-email-line"><span>To:</span> [email protected]</div>- <div class="tw-email-line"><span>Subject:</span> Good morning!</div>+ <div class="tw-email-line">HOME / FAMILY-PLANS</div>+ <div class="tw-email-line"><span>Maya joined the room.</span></div>+ <div class="tw-email-line">A note for Alli#8145</div></div><div class="tw-email-body">- Your agents are always on. I handled everything overnight.+ Maya and Alli now share this channel. Either can reply here, and Gus can catch up when he returns.</div></div></div>diff --git a/codecov.yml b/codecov.ymlindex a867141fc..39a7f1bd4 100644--- a/codecov.yml+++ b/codecov.yml@@ -28,6 +28,7 @@ coverage:ignore:- "src/web/src/components/home/**"- "src/web/scripts/**"+ - "src/web/readme-capture/**"# Next config is loaded by the Next runtime, not vitest — redirects live in# `src/web/src/lib/blog/redirects.ts` (unit-tested) and are wired here only.- "src/web/next.config.ts"diff --git a/package.json b/package.jsonindex c05f9e0a2..2e9b053c2 100644--- a/package.json+++ b/package.json@@ -41,6 +41,7 @@"bump": "node scripts/bump-version.mjs","typegrep:ws": "node scripts/lint-ws-events.mjs","logo:generate": "node scripts/generate-logo-assets.mjs",+ "readme:capture": "node src/web/readme-capture/capture.mjs","prepare": "simple-git-hooks"},"simple-git-hooks": {diff --git a/scripts/ci/logo-assets.test.ts b/scripts/ci/logo-assets.test.tsindex 2c2a74eda..79b7e1c03 100644--- a/scripts/ci/logo-assets.test.ts+++ b/scripts/ci/logo-assets.test.ts@@ -53,7 +53,7 @@ describe("logo asset generator", () => {expect(iosRasterAssets).toHaveLength(18)expect(preservedAssets).toEqual(["src/web/src/app/favicon.ico",- "assets/readme-banner.png",+ "assets/readme/banner.png",])expect(trayRasterAssets).toEqual([["assets/alook-tray.svg", "src/desktop/src-tauri/icons/tray-default.png"],diff --git a/scripts/generate-logo-assets.mjs b/scripts/generate-logo-assets.mjsindex a8db06530..cbc4bb721 100644--- a/scripts/generate-logo-assets.mjs+++ b/scripts/generate-logo-assets.mjs@@ -18,7 +18,7 @@ const sharp = requireFromCli("sharp")export const preservedAssets = ["src/web/src/app/favicon.ico",- "assets/readme-banner.png",+ "assets/readme/banner.png",]export const trayRasterAssets = [diff --git a/src/web/readme-capture/README.md b/src/web/readme-capture/README.mdnew file mode 100644index 000000000..d4c538e33--- /dev/null+++ b/src/web/readme-capture/README.md@@ -0,0 +1,25 @@+# README capture app++This is an internal Next.js app for rendering the README artwork with the real Web components. It lives outside `src/web/src/app`, so it is not part of the production Web router and does not expose `/readme-capture` on alook.ai.++Run every capture from the repository root:++```bash+pnpm readme:capture+```++The command finds an unused local port, starts this app, captures the elements below, writes the assets, and terminates the local server.++| Selector | Output | Pixel size |+| --- | --- | --- |+| `#capture-overview` | `assets/readme/overview.png` | 2364×1594 |+| `#capture-identity` | `assets/readme/one-identity.png` | 1280×720 |+| `#capture-memory` | `assets/readme/memory.png` | 1280×720 |+| `#capture-reach` | `assets/readme/reach.png` | 1280×720 |+| `#capture-local` | `assets/readme/local-first.png` | 1280×720 |+| `#capture-collaboration` | `assets/readme/collaboration.png` | 1280×720 |+| `.card` in `assets/social-preview/readme-banner.html` | `assets/readme/banner.png` | 1280×500 |++The generator must launch the installed Chrome browser with `channel: "chrome"`. Do not switch it to Playwright’s bundled Chromium: that renderer can flatten the banner’s nested 3D typewriter layers and hide the paper.++Keep capture copy sourced from production components or existing project fixtures. Preserve each selector, aspect ratio, transparent rounded corners, light color scheme, and the element-level screenshot method. Update the capture contract test whenever a capture component or output mapping changes.diff --git a/src/web/readme-capture/app/globals.css b/src/web/readme-capture/app/globals.cssnew file mode 100644index 000000000..4f0b0957f--- /dev/null+++ b/src/web/readme-capture/app/globals.css@@ -0,0 +1,3 @@+@import "../../src/app/globals.css";+@source "../../src/**/*.{ts,tsx}";+@source "../**/*.{ts,tsx}";diff --git a/src/web/readme-capture/app/layout.tsx b/src/web/readme-capture/app/layout.tsxnew file mode 100644index 000000000..128f9faf1--- /dev/null+++ b/src/web/readme-capture/app/layout.tsx@@ -0,0 +1,14 @@+import type { ReactNode } from "react"+import { caveat, dmMono, dmSans, instrumentSerif, literata, vt323 } from "@/app/fonts"+import "./globals.css"++export default function ReadmeCaptureLayout({ children }: { children: ReactNode }) {+ return (+ <html+ lang="en"+ className={`${dmSans.variable} ${dmMono.variable} ${instrumentSerif.variable} ${caveat.variable} ${vt323.variable} ${literata.variable} h-full antialiased`}+ >+ <body>{children}</body>+ </html>+ )+}diff --git a/src/web/readme-capture/app/page.tsx b/src/web/readme-capture/app/page.tsxnew file mode 100644index 000000000..e29277251--- /dev/null+++ b/src/web/readme-capture/app/page.tsx@@ -0,0 +1,114 @@+"use client"++import { useState, type CSSProperties } from "react"+import { QueryClient, QueryClientProvider } from "@tanstack/react-query"+import { CollaborationCapture } from "../captures/collaboration-capture"+import { LocalFirstCapture } from "../captures/local-first-capture"+import { MemoryCapture } from "../captures/memory-capture"+import { OneIdentityCapture } from "../captures/one-identity-capture"+import { OverviewCapture } from "../captures/overview-capture"+import { ReachCapture } from "../captures/reach-capture"++export default function ReadmeCapturePage() {+ const [queryClient] = useState(+ () => new QueryClient({ defaultOptions: { queries: { retry: false } } }),+ )++ return (+ <QueryClientProvider client={queryClient}>+ <main className="capture-page" style={{ colorScheme: "light" } as CSSProperties}>+ <OverviewCapture />+ <OneIdentityCapture />+ <MemoryCapture />+ <ReachCapture />+ <LocalFirstCapture />+ <CollaborationCapture />++ <style jsx global>{`+ html,+ body {+ margin: 0;+ background: transparent !important;+ scrollbar-width: none;+ }++ html::-webkit-scrollbar,+ body::-webkit-scrollbar {+ display: none;+ }++ .capture-page {+ --background: oklch(1 0 0);+ --app-bg: var(--background);+ --foreground: oklch(0.18 0.03 230);+ --card: oklch(1 0.003 80);+ --card-foreground: oklch(0.18 0.03 230);+ --popover: oklch(1 0.003 80);+ --popover-foreground: oklch(0.18 0.03 230);+ --primary: oklch(0.22 0.03 230);+ --primary-foreground: oklch(0.985 0.005 80);+ --secondary: oklch(0.96 0.006 80);+ --secondary-foreground: oklch(0.22 0.03 230);+ --muted: oklch(0.925 0.012 80);+ --muted-foreground: oklch(0.44 0.03 230);+ --accent: oklch(0.94 0.008 80);+ --accent-foreground: oklch(0.22 0.03 230);+ --border: oklch(0.86 0.01 80);+ --input: oklch(0.86 0.01 80);+ --ring: oklch(0.55 0.03 230);+ --status-online: oklch(0.72 0.19 145);+ --status-offline: oklch(0.65 0.2 25);+ --e1: 0 1px 2px oklch(0.3 0.02 60 / 6%);+ --e2: 0 10px 20px -6px oklch(0.3 0.02 60 / 18%);+ --sidebar: oklch(0.97 0.008 80);+ --sidebar-foreground: oklch(0.18 0.03 230);+ --sidebar-primary: oklch(0.22 0.03 230);+ --sidebar-primary-foreground: oklch(0.985 0.005 80);+ --sidebar-accent: oklch(0.91 0.015 80);+ --sidebar-accent-foreground: oklch(0.22 0.03 230);+ --sidebar-border: oklch(0.87 0.01 80);+ --sidebar-ring: oklch(0.55 0.03 230);+ width: 1280px;+ background: transparent;+ color: var(--foreground);+ }++ nextjs-portal {+ display: none !important;+ }++ .feature-canvas {+ position: relative;+ width: 1280px;+ height: 720px;+ overflow: hidden;+ border-radius: 18px;+ background: var(--background);+ }++ .feature-canvas + .feature-canvas {+ margin-top: 40px;+ }++ .shell-card {+ overflow: hidden;+ border: 1px solid var(--border);+ border-radius: 12px;+ background: var(--background);+ box-shadow: var(--shadow-sm);+ }++ .capture-static [data-testid="landing-motion-stage"] > div > div {+ transform: scale(1) !important;+ transform-origin: 560px 330px !important;+ transition: none !important;+ }++ .capture-static [data-testid="landing-motion-cursor"] {+ display: none !important;+ }+ `}</style>+ </main>+ </QueryClientProvider>+ )+}diff --git a/src/web/readme-capture/capture.mjs b/src/web/readme-capture/capture.mjsnew file mode 100644index 000000000..7540b74bc--- /dev/null+++ b/src/web/readme-capture/capture.mjs@@ -0,0 +1,173 @@+import { spawn } from "node:child_process"+import { once } from "node:events"+import { mkdir } from "node:fs/promises"+import { createServer } from "node:net"+import path from "node:path"+import { fileURLToPath, pathToFileURL } from "node:url"+import { chromium } from "@playwright/test"++const captureRoot = path.dirname(fileURLToPath(import.meta.url))+const webRoot = path.resolve(captureRoot, "..")+const repositoryRoot = path.resolve(webRoot, "../..")+const assetsRoot = path.join(repositoryRoot, "assets")+const readmeAssetsRoot = path.join(assetsRoot, "readme")++const featureCaptures = [+ ["#capture-identity", "one-identity.png"],+ ["#capture-memory", "memory.png"],+ ["#capture-reach", "reach.png"],+ ["#capture-local", "local-first.png"],+ ["#capture-collaboration", "collaboration.png"],+]++function availablePort() {+ return new Promise((resolve, reject) => {+ const server = createServer()+ server.once("error", reject)+ server.listen(0, "127.0.0.1", () => {+ const address = server.address()+ if (!address || typeof address === "string") {+ server.close()+ reject(new Error("Could not allocate a README capture port"))+ return+ }+ server.close((error) => error ? reject(error) : resolve(address.port))+ })+ })+}++async function waitForApp(url, child) {+ const deadline = Date.now() + 60_000+ while (Date.now() < deadline) {+ if (child.exitCode !== null) {+ throw new Error(`README capture app exited with code ${child.exitCode}`)+ }+ try {+ const response = await fetch(url)+ if (response.ok) return+ } catch {+ await new Promise((resolve) => setTimeout(resolve, 250))+ }+ }+ throw new Error(`README capture app did not become ready at ${url}`)+}++async function stopApp(child) {+ if (child.exitCode !== null || !child.pid) return+ const signalTarget = process.platform === "win32" ? child.pid : -child.pid+ try {+ process.kill(signalTarget, "SIGTERM")+ } catch {+ return+ }+ await Promise.race([+ once(child, "exit"),+ new Promise((resolve) => setTimeout(resolve, 3_000)),+ ])+ if (child.exitCode === null) {+ try {+ process.kill(signalTarget, "SIGKILL")+ } catch {+ return+ }+ }+}++async function openCapturePage(browser, url, options) {+ const context = await browser.newContext({+ colorScheme: "light",+ ...options,+ })+ const page = await context.newPage()+ await page.goto(url, { waitUntil: "networkidle" })+ await page.evaluate(() => document.fonts.ready)+ return { context, page }+}++async function captureReadmeApp(browser, url) {+ const overview = await openCapturePage(browser, url, {+ viewport: { width: 1182, height: 797 },+ deviceScaleFactor: 2,+ })+ await overview.page.locator("#capture-overview").screenshot({+ path: path.join(readmeAssetsRoot, "overview.png"),+ omitBackground: true,+ scale: "device",+ })+ await overview.context.close()++ const features = await openCapturePage(browser, url, {+ viewport: { width: 1280, height: 720 },+ deviceScaleFactor: 1,+ })+ for (const [selector, filename] of featureCaptures) {+ await features.page.locator(selector).screenshot({+ path: path.join(readmeAssetsRoot, filename),+ omitBackground: true,+ scale: "device",+ })+ }+ await features.context.close()+}++async function captureBanner(browser) {+ const context = await browser.newContext({+ viewport: { width: 1280, height: 500 },+ deviceScaleFactor: 1,+ colorScheme: "light",+ })+ const page = await context.newPage()+ const bannerSource = path.join(assetsRoot, "social-preview/readme-banner.html")+ await page.goto(pathToFileURL(bannerSource).href, { waitUntil: "networkidle" })+ await page.evaluate(() => document.fonts.ready)+ await page.locator(".card").screenshot({+ path: path.join(readmeAssetsRoot, "banner.png"),+ omitBackground: true,+ scale: "device",+ })+ await context.close()+}++async function main() {+ const pnpm = process.env.npm_execpath+ if (!pnpm) throw new Error("Run this generator through pnpm readme:capture")++ await mkdir(readmeAssetsRoot, { recursive: true })+ const port = await availablePort()+ const url = `http://127.0.0.1:${port}`+ const child = spawn(+ pnpm,+ ["exec", "next", "dev", captureRoot, "--hostname", "127.0.0.1", "--port", String(port)],+ {+ cwd: webRoot,+ detached: process.platform !== "win32",+ env: { ...process.env, NEXT_TELEMETRY_DISABLED: "1" },+ stdio: "inherit",+ },+ )++ const stopForSignal = async () => {+ await stopApp(child)+ process.exit(1)+ }+ process.once("SIGINT", stopForSignal)+ process.once("SIGTERM", stopForSignal)++ try {+ await waitForApp(url, child)+ const browser = await chromium.launch({ headless: true, channel: "chrome" })+ try {+ await captureReadmeApp(browser, url)+ await captureBanner(browser)+ } finally {+ await browser.close()+ }+ process.stdout.write(`README assets captured from ${url}\n`)+ } finally {+ process.removeListener("SIGINT", stopForSignal)+ process.removeListener("SIGTERM", stopForSignal)+ await stopApp(child)+ }+}++await main()diff --git a/src/web/readme-capture/capture.test.ts b/src/web/readme-capture/capture.test.tsnew file mode 100644index 000000000..97e4aebce--- /dev/null+++ b/src/web/readme-capture/capture.test.ts@@ -0,0 +1,184 @@+import { existsSync, readFileSync } from "node:fs"+import path from "node:path"+import { describe, expect, it } from "vitest"++function webRoot() {+ return process.cwd().endsWith(`${path.sep}src${path.sep}web`)+ ? process.cwd()+ : path.join(process.cwd(), "src/web")+}++describe("standalone README capture app contract", () => {+ const root = webRoot()+ const repositoryRoot = path.resolve(root, "../..")+ const captureRoot = path.join(root, "readme-capture")+ const captureSource = readFileSync(path.join(captureRoot, "app/page.tsx"), "utf8")+ const generatorSource = readFileSync(path.join(captureRoot, "capture.mjs"), "utf8")+ const generatorReadmeSource = readFileSync(path.join(captureRoot, "README.md"), "utf8")+ const repositoryReadmeSource = readFileSync(path.join(repositoryRoot, "README.md"), "utf8")+ const overviewSource = readFileSync(+ path.join(captureRoot, "captures/overview-capture.tsx"),+ "utf8",+ )+ const identitySource = readFileSync(+ path.join(captureRoot, "captures/one-identity-capture.tsx"),+ "utf8",+ )+ const memorySource = readFileSync(+ path.join(captureRoot, "captures/memory-capture.tsx"),+ "utf8",+ )+ const localSource = readFileSync(+ path.join(captureRoot, "captures/local-first-capture.tsx"),+ "utf8",+ )+ const reachSource = readFileSync(+ path.join(captureRoot, "captures/reach-capture.tsx"),+ "utf8",+ )+ const collaborationSource = readFileSync(+ path.join(captureRoot, "captures/collaboration-capture.tsx"),+ "utf8",+ )+ const motionSource = readFileSync(+ path.join(root, "src/components/home/landing-shell-motion.tsx"),+ "utf8",+ )+ const inviteSource = readFileSync(+ path.join(root, "src/app/c/invite/[token]/invite-accept-client.tsx"),+ "utf8",+ )++ it("stays outside the production App Router", () => {+ expect(existsSync(path.join(root, "src/app/readme-capture/page.tsx"))).toBe(false)+ expect(existsSync(path.join(captureRoot, "app/page.tsx"))).toBe(true)+ })++ it("writes every output into the grouped README asset directory", () => {+ const filenames = [+ "banner.png",+ "overview.png",+ "one-identity.png",+ "memory.png",+ "reach.png",+ "local-first.png",+ "collaboration.png",+ ]++ expect(generatorSource).toContain('const readmeAssetsRoot = path.join(assetsRoot, "readme")')+ for (const filename of filenames) {+ expect(generatorSource).toContain(`"${filename}"`)+ expect(generatorReadmeSource).toContain(`assets/readme/${filename}`)+ expect(repositoryReadmeSource).toContain(`./assets/readme/${filename}`)+ expect(existsSync(path.join(repositoryRoot, "assets/readme", filename))).toBe(true)+ }+ })++ it("composes the real application surfaces for every retained capture", () => {+ expect(captureSource).toContain('from "../captures/overview-capture"')+ expect(captureSource).toContain('from "../captures/one-identity-capture"')+ expect(captureSource).toContain('from "../captures/memory-capture"')+ expect(captureSource).toContain('from "../captures/reach-capture"')+ expect(captureSource).toContain('from "../captures/local-first-capture"')+ expect(captureSource).toContain('from "../captures/collaboration-capture"')+ expect(captureSource).toContain("<OverviewCapture />")+ expect(captureSource).toContain("<OneIdentityCapture />")+ expect(captureSource).toContain("<MemoryCapture />")+ expect(captureSource).toContain("<ReachCapture />")+ expect(captureSource).toContain("<LocalFirstCapture />")+ expect(captureSource).toContain("<CollaborationCapture />")+ expect(overviewSource).toContain('id="capture-overview"')+ expect(overviewSource).toContain('<LandingShellMotion scene="server" beat={6} overviewDetails />')+ expect(identitySource).toContain('from "@/components/community/messages/message"')+ expect(identitySource).toContain('from "@/components/community/social/profile-card"')+ expect(identitySource).toContain('id="capture-identity"')+ expect(identitySource).toContain('grid-template-rows: repeat(2, minmax(0, 1fr))')+ expect(identitySource).toContain('width: 610.667px')+ expect(identitySource).toContain('height: 330px')+ expect(identitySource).toContain('transform: scale(1.8666667)')+ expect(identitySource).toContain('transform: scale(1.4)')+ expect(identitySource).toContain('width: 71.4286%')+ expect(identitySource).toContain('identity-message-pane')+ expect(identitySource).toContain('margin-top: 0 !important')+ expect(identitySource).not.toContain('font-size: 17px !important')+ expect(identitySource.indexOf('serverName: "Home"')).toBeLessThan(+ identitySource.indexOf('serverName: "Studio"'),+ )+ expect(identitySource).not.toContain("ChannelSidebar")+ expect(identitySource).not.toContain("ServerRail")+ expect(identitySource).not.toContain('serverId: "gus",\n serverName: "Gus"')+ expect(memorySource).toContain('from "@/components/home/landing-shell-motion"')+ expect(memorySource).toContain('id="capture-memory"')+ expect(memorySource).toContain('<LandingShellMotion scene="continuity" beat={6} />')+ expect(memorySource).toContain('<LandingShellMotion scene="continuity" beat={9} />')+ expect(memorySource.indexOf('beat={6}')).toBeLessThan(memorySource.indexOf('beat={9}'))+ expect(memorySource).toContain('[class*="inboxSurface"]')+ expect(memorySource).toContain('[data-motion-target^="continuity-dm-"]')+ expect(memorySource).toContain('transform: scale(1.4) !important')+ expect(memorySource).toContain('width: 71.4286%')+ expect(memorySource).toContain(':has([data-motion-target="continuity-dm-gus"])')+ expect(memorySource).toContain(':has([data-motion-target="continuity-work-alli"])')+ expect(memorySource).toContain('padding-top: 0 !important')+ expect(memorySource).toContain('margin-top: 0 !important')+ expect(memorySource).not.toContain('transform: none !important')+ expect(motionSource).toContain('scene === "continuity"')+ expect(motionSource).toContain('const OVERVIEW_SERVERS: Server[]')+ expect(motionSource).toContain('rootChannels={overviewDetails && scene === "server" ? SPACE_CHANNELS.work : CHANNELS}')+ expect(motionSource).toContain('<TypingIndicator names={[DMS[0].name]} />')+ expect(motionSource).toContain('SPACE_SERVERS.map((server) => ({ ...server, active: server.id === room }))')+ expect(memorySource).not.toContain("highlightAuthorId")+ expect(localSource).toContain('id="capture-local"')+ expect(localSource).toContain('width: 870px !important')+ expect(localSource).toContain('height: 489.375px !important')+ expect(localSource).toContain('transform: scale(1.4712644) !important')+ expect(localSource).not.toContain('translate(')+ expect(motionSource).toContain('scene === "server" || scene === "machine"')+ expect(reachSource).toContain('id="capture-reach"')+ expect(reachSource).toContain('<LandingShellMotion scene="server" beat={6} />')+ expect(reachSource).toContain('<LandingMobileChatMotion beat={6} />')+ expect(reachSource).toContain('width: 884px')+ expect(reachSource).toContain('height: 672px')+ expect(reachSource).toContain('transform: scale(1.22) !important')+ expect(reachSource).toContain('width: 343px !important')+ expect(reachSource).toContain('height: 693px !important')+ expect(reachSource).toContain('transform: scale(0.9504) !important')+ expect(collaborationSource).toContain('id="capture-collaboration"')+ expect(collaborationSource).toContain('className="collaboration-content')+ expect(collaborationSource).toContain('transform: scale(1.9941)')+ expect(motionSource).not.toContain("highlightAuthorId")+ expect(overviewSource).toContain("transform: scale(1.4485)")+ })++ it("reuses canonical message and invite copy", () => {+ const canonicalOverviewMessages = [+ "hello world",+ "On it.",+ "I’ll review the flow.",+ "Ready to ship.",+ ]+ const canonicalMessages = [+ "@Shelly#3863 How are Gus’s A/B landing pages converting today?",+ "B is ahead on sign-ups. I’m checking the mobile drop-off.",+ "@Tracy#2048 Is the router at home still dropping out?",+ "Yes — it dropped twice this morning.",+ ]+ const canonicalInviteCopy = [+ "You're invited to join",+ "Invited by",+ "Join server",+ "Free to join · leave anytime",+ ]++ for (const copy of canonicalOverviewMessages) {+ expect(motionSource).toContain(copy)+ }+ for (const copy of canonicalMessages) {+ expect(motionSource).toContain(copy)+ expect(identitySource).toContain(copy)+ }+ for (const copy of canonicalInviteCopy) {+ expect(inviteSource).toContain(copy)+ expect(collaborationSource).toContain(copy)+ }+ })+})diff --git a/src/web/readme-capture/captures/collaboration-capture.tsx b/src/web/readme-capture/captures/collaboration-capture.tsxnew file mode 100644index 000000000..e009ce3e7--- /dev/null+++ b/src/web/readme-capture/captures/collaboration-capture.tsx@@ -0,0 +1,49 @@+"use client"++import { Avatar } from "@/components/community/avatar"+import { ServerIcon } from "@/components/community/server-icon"+import { Button } from "@/components/ui/button"++export function CollaborationCapture() {+ return (+ <>+ <section id="capture-collaboration" className="feature-canvas collaboration-canvas">+ <div className="flex size-full flex-col items-center justify-center bg-background px-6 text-center">+ <div className="collaboration-content flex w-full max-w-sm flex-col items-center">+ <ServerIcon+ id="home"+ name="Home"+ initial="H"+ icon={null}+ size={84}+ className="rounded-2xl"+ />+ <p className="mt-5 text-xs font-medium text-muted-foreground">You're invited to join</p>+ <h1 className="mt-1 font-brand text-4xl leading-tight font-bold">Home</h1>+ <div className="mt-4 flex items-center gap-1.5 text-sm text-muted-foreground">+ <span>Invited by</span>+ <Avatar label="Maya" seed="maya" size={20} />+ <span className="font-medium text-foreground">Maya</span>+ </div>+ <Button className="mt-6 h-11 w-full rounded-xl text-base">Join server</Button>+ <div className="mt-4 flex items-center gap-2 text-xs text-muted-foreground">+ <div className="flex items-center -space-x-1.5">+ <Avatar label="Maya" seed="maya" size={20} ringColor="var(--background)" />+ <Avatar label="Alli" seed="alli" size={20} ringColor="var(--background)" />+ <Avatar label="Gus" seed="gus" size={20} ringColor="var(--background)" />+ </div>+ <span>3 members</span>+ </div>+ <p className="mt-3 text-xs text-muted-foreground">Free to join · leave anytime</p>+ </div>+ </div>+ </section>++ <style jsx global>{`+ .collaboration-content {+ transform: scale(1.9941);+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/captures/local-first-capture.tsx b/src/web/readme-capture/captures/local-first-capture.tsxnew file mode 100644index 000000000..bcb67111a--- /dev/null+++ b/src/web/readme-capture/captures/local-first-capture.tsx@@ -0,0 +1,37 @@+"use client"++import { LandingShellMotion } from "@/components/home/landing-shell-motion"++export function LocalFirstCapture() {+ return (+ <>+ <section id="capture-local" className="feature-canvas local-canvas capture-static">+ <LandingShellMotion+ scene="machine"+ beat={5}+ machineIntroDescription="Pair a machine to run an Alook agent with an installed, authenticated runtime. While the machine and daemon are online, the agent can receive messages beyond this browser tab."+ />+ </section>++ <style jsx global>{`+ .local-canvas [data-testid="landing-motion-stage"] {+ width: 1280px;+ height: 720px;+ aspect-ratio: auto;+ }++ .local-canvas [data-testid="landing-motion-stage"] > div {+ width: 870px !important;+ height: 489.375px !important;+ transform: scale(1.4712644) !important;+ transform-origin: top left !important;+ }++ .local-canvas [data-testid="landing-motion-stage"] > div > div {+ width: 870px !important;+ height: 489.375px !important;+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/captures/memory-capture.tsx b/src/web/readme-capture/captures/memory-capture.tsxnew file mode 100644index 000000000..56d75de81--- /dev/null+++ b/src/web/readme-capture/captures/memory-capture.tsx@@ -0,0 +1,61 @@+"use client"++import { LandingShellMotion } from "@/components/home/landing-shell-motion"++export function MemoryCapture() {+ return (+ <>+ <section id="capture-memory" className="feature-canvas memory-canvas capture-static">+ <div className="shell-card memory-frame">+ <LandingShellMotion scene="continuity" beat={6} />+ </div>+ <div className="shell-card memory-frame hide-server-crumb">+ <LandingShellMotion scene="continuity" beat={9} />+ </div>+ </section>++ <style jsx global>{`+ .memory-canvas {+ display: grid;+ align-content: start;+ gap: 16px;+ padding: 24px;+ }++ .memory-frame {+ width: 1232px;+ height: 328px;+ }++ .memory-frame [data-testid="landing-motion-stage"] {+ width: 1232px;+ }++ .hide-server-crumb header > span[aria-label] {+ display: none !important;+ }++ .memory-frame:first-child [class*="inboxSurface"] {+ display: none !important;+ }++ .memory-frame:first-child [data-motion-target^="continuity-dm-"] {+ opacity: 1 !important;+ }++ .memory-frame div.flex-1.overflow-hidden.px-4.py-3:has([data-motion-target="continuity-dm-gus"]),+ .memory-frame div.flex-1.overflow-hidden.px-4.py-3:has([data-motion-target="continuity-work-alli"]) {+ width: 71.4286%;+ padding-top: 0 !important;+ transform: scale(1.4) !important;+ transform-origin: top left !important;+ }++ .memory-frame [data-motion-target="continuity-dm-gus"] > .group,+ .memory-frame [data-motion-target="continuity-work-alli"] > .group {+ margin-top: 0 !important;+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/captures/one-identity-capture.tsx b/src/web/readme-capture/captures/one-identity-capture.tsxnew file mode 100644index 000000000..5ebc28ee4--- /dev/null+++ b/src/web/readme-capture/captures/one-identity-capture.tsx@@ -0,0 +1,185 @@+"use client"++import { ChannelHeader } from "@/components/community/channels/channel-header"+import { Message } from "@/components/community/messages/message"+import { ProfileCard } from "@/components/community/social/profile-card"+import type { RenderMsg } from "@/lib/community/models/message"++const PROFILE = {+ name: "Alli",+ userId: "alli",+ avatar: "Alli",+ contextLabel: "Agent",+ about: "I keep the same account, identity, and relationships across every room.",+ mutual: 0,+ presence: "online" as const,+}++type IdentityFrameData = {+ serverId: string+ serverName: string+ activeChannel: string+ messages: RenderMsg[]+}++const IDENTITY_FRAMES: IdentityFrameData[] = [+ {+ serverId: "home",+ serverName: "Home",+ activeChannel: "family",+ messages: [+ {+ id: "alli-router",+ type: "chat",+ authorId: "alli",+ authorName: "Alli",+ authorAvatar: "avatar:beam:alli",+ content: "@Tracy#2048 Is the router at home still dropping out?",+ createdAt: "2026-08-07T08:32:00.000Z",+ grouped: false,+ },+ {+ id: "tracy-router",+ type: "chat",+ authorId: "tracy",+ authorName: "Tracy",+ authorAvatar: "avatar:beam:tracy",+ content: "Yes — it dropped twice this morning.",+ createdAt: "2026-08-07T08:32:04.000Z",+ grouped: false,+ },+ ],+ },+ {+ serverId: "studio",+ serverName: "Studio",+ activeChannel: "frontend-design",+ messages: [+ {+ id: "alli-conversion",+ type: "chat",+ authorId: "alli",+ authorName: "Alli",+ authorAvatar: "avatar:beam:alli",+ content: "@Shelly#3863 How are Gus’s A/B landing pages converting today?",+ createdAt: "2026-08-07T08:31:00.000Z",+ grouped: false,+ },+ {+ id: "shelly-conversion",+ type: "chat",+ authorId: "shelly",+ authorName: "Shelly",+ authorAvatar: "avatar:beam:shelly",+ content: "B is ahead on sign-ups. I’m checking the mobile drop-off.",+ createdAt: "2026-08-07T08:31:04.000Z",+ grouped: false,+ },+ ],+ },+]++function IdentityFrame({ frame }: { frame: IdentityFrameData }) {+ return (+ <div className="flex size-full flex-col bg-background">+ <ChannelHeader+ channel={frame.serverName}+ breadcrumb={{ label: frame.activeChannel }}+ rightPanel={null}+ onToggle={() => undefined}+ tools={{ members: false, threads: false, pinned: false }}+ />+ <div className="identity-message-pane flex-1 overflow-hidden px-5 py-5">+ <div className="identity-message-content">+ {frame.messages.map((entry) => (+ <Message key={entry.id} m={entry} onOpenThread={() => undefined} />+ ))}+ </div>+ </div>+ </div>+ )+}++export function OneIdentityCapture() {+ return (+ <>+ <section id="capture-identity" className="feature-canvas identity-canvas capture-static">+ <div className="identity-profile">+ <ProfileCard+ embedded+ data={PROFILE}+ x={0}+ y={0}+ bp="desktop"+ onClose={() => undefined}+ initialStatusText="Free for dinner"+ />+ </div>+ <div className="identity-stack">+ {IDENTITY_FRAMES.map((frame) => (+ <div key={frame.serverId} className="shell-card identity-frame">+ <IdentityFrame frame={frame} />+ </div>+ ))}+ </div>+ </section>++ <style jsx global>{`+ .identity-profile {+ position: absolute;+ top: 24px;+ left: 24px;+ width: 597.333px;+ height: 672px;+ transform-origin: top left;+ }++ .identity-profile > div {+ width: 320px !important;+ transform: scale(1.8666667);+ transform-origin: top left;+ }++ .identity-stack {+ position: absolute;+ top: 24px;+ left: 645.333px;+ display: grid;+ grid-template-rows: repeat(2, minmax(0, 1fr));+ width: 610.667px;+ height: 672px;+ gap: 12px;+ }++ .identity-frame {+ position: relative;+ width: 610.667px;+ height: 330px;+ }++ .identity-frame > div {+ width: 100%;+ height: 100%;+ }++ .identity-frame header > .ml-auto {+ display: none;+ }++ .identity-message-content {+ width: 71.4286%;+ transform: scale(1.4);+ transform-origin: top left;+ }++ .identity-message-pane {+ padding-top: 0 !important;+ }++ .identity-message-content > .group:first-child {+ margin-top: 0 !important;+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/captures/overview-capture.tsx b/src/web/readme-capture/captures/overview-capture.tsxnew file mode 100644index 000000000..29a75cbdd--- /dev/null+++ b/src/web/readme-capture/captures/overview-capture.tsx@@ -0,0 +1,47 @@+"use client"++import { LandingShellMotion } from "@/components/home/landing-shell-motion"++export function OverviewCapture() {+ return (+ <>+ <section+ id="capture-overview"+ className="feature-canvas overview-canvas capture-static"+ style={{ width: 1182, height: 797 }}+ >+ <LandingShellMotion scene="server" beat={6} overviewDetails />+ </section>++ <style jsx global>{`+ .overview-canvas {+ width: 1182px;+ height: 797px;+ }++ .overview-canvas header > span[aria-label] {+ display: none !important;+ }++ .overview-canvas [data-testid="landing-motion-stage"] {+ width: 1182px;+ height: 797px;+ aspect-ratio: auto;+ }++ .overview-canvas [data-testid="landing-motion-stage"] > div {+ width: 816px !important;+ height: 550px !important;+ transform: scale(1.4485) !important;+ transform-origin: top left !important;+ }++ .overview-canvas [data-testid="landing-motion-stage"] > div > div {+ width: 816px !important;+ height: 550px !important;+ transform-origin: 408px 275px !important;+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/captures/reach-capture.tsx b/src/web/readme-capture/captures/reach-capture.tsxnew file mode 100644index 000000000..f020e16aa--- /dev/null+++ b/src/web/readme-capture/captures/reach-capture.tsx@@ -0,0 +1,89 @@+"use client"++import {+ LandingMobileChatMotion,+ LandingShellMotion,+} from "@/components/home/landing-shell-motion"++export function ReachCapture() {+ return (+ <>+ <section id="capture-reach" className="feature-canvas reach-canvas capture-static">+ <div className="shell-card reach-desktop">+ <LandingShellMotion scene="server" beat={6} />+ </div>+ <div className="reach-phone">+ <LandingMobileChatMotion beat={6} />+ </div>+ </section>++ <style jsx global>{`+ .reach-canvas {+ display: flex;+ align-items: center;+ gap: 16px;+ padding: 24px;+ }++ .reach-desktop {+ width: 884px;+ height: 672px;+ }++ .reach-desktop header > span[aria-label] {+ display: none !important;+ }++ .reach-desktop [data-testid="landing-motion-stage"] {+ width: 884px;+ height: 672px;+ aspect-ratio: auto;+ }++ .reach-desktop [data-testid="landing-motion-stage"] > div {+ width: 724px !important;+ height: 550px !important;+ transform: scale(1.22) !important;+ transform-origin: top left !important;+ }++ .reach-desktop [data-testid="landing-motion-stage"] > div > div {+ width: 724px !important;+ height: 550px !important;+ transform-origin: 362px 275px !important;+ }++ .reach-phone {+ display: flex;+ width: 332px;+ height: 672px;+ align-items: center;+ overflow: hidden;+ border: 3px solid var(--foreground);+ border-radius: 30px;+ background: var(--background);+ box-shadow: var(--shadow-sm);+ }++ .reach-phone [data-testid="landing-mobile-motion-stage"] {+ width: 100%;+ }++ .reach-phone [data-testid="landing-mobile-motion-stage"] > div {+ width: 343px !important;+ height: 693px !important;+ transform: scale(0.9504) !important;+ transform-origin: top left !important;+ }++ .reach-phone [class*="mobileTop"] {+ height: 35px !important;+ }++ .reach-phone [class*="mobileSurface"] {+ height: 658px !important;+ }+ `}</style>+ </>+ )+}diff --git a/src/web/readme-capture/next.config.ts b/src/web/readme-capture/next.config.tsnew file mode 100644index 000000000..cfa391366--- /dev/null+++ b/src/web/readme-capture/next.config.ts@@ -0,0 +1,11 @@+import path from "node:path"+import type { NextConfig } from "next"++const nextConfig: NextConfig = {+ agentRules: false,+ turbopack: {+ root: path.resolve(__dirname, "../../.."),+ },+}++export default nextConfigdiff --git a/src/web/readme-capture/postcss.config.mjs b/src/web/readme-capture/postcss.config.mjsnew file mode 100644index 000000000..f4aa8a8fe--- /dev/null+++ b/src/web/readme-capture/postcss.config.mjs@@ -0,0 +1,5 @@+const config = {+ plugins: ["@tailwindcss/postcss"],+}++export default configdiff --git a/src/web/readme-capture/tsconfig.json b/src/web/readme-capture/tsconfig.jsonnew file mode 100644index 000000000..7df056225--- /dev/null+++ b/src/web/readme-capture/tsconfig.json@@ -0,0 +1,20 @@+{+ "extends": "../tsconfig.json",+ "compilerOptions": {+ "types": [+ "../cloudflare-env.d.ts",+ "node"+ ]+ },+ "include": [+ "next-env.d.ts",+ "**/*.ts",+ "**/*.tsx",+ ".next/types/**/*.ts",+ ".next/dev/types/**/*.ts"+ ],+ "exclude": [+ "node_modules",+ "**/*.test.ts"+ ]+}diff --git a/src/web/src/components/home/landing-content.test.ts b/src/web/src/components/home/landing-content.test.tsindex 7d57b5a6b..b523d78fc 100644--- a/src/web/src/components/home/landing-content.test.ts+++ b/src/web/src/components/home/landing-content.test.ts@@ -403,7 +403,9 @@ describe("landing content contract", () => {expect(shellSource).toContain("router at home still dropping out")expect(shellSource).toContain("<InboxPopover")expect(shellSource).toContain('data-motion-target", "continuity-inbox"')- expect(shellSource).toContain('inbox={scene === "continuity" ? <span /> : undefined}')+ expect(shellSource).toContain(+ 'inbox={scene === "continuity" || scene === "server" || scene === "machine" ? <span /> : undefined}',+ )expect(landingPageSource).not.toContain("ProductGallery")expect(landingPageSource).not.toContain("storyTabs")expect(landingPageSource).toContain("The same room")diff --git a/src/web/src/components/home/landing-shell-motion.tsx b/src/web/src/components/home/landing-shell-motion.tsxindex f6a895210..c1c066b0c 100644--- a/src/web/src/components/home/landing-shell-motion.tsx+++ b/src/web/src/components/home/landing-shell-motion.tsx@@ -37,6 +37,7 @@ import { DmHeader } from "@/components/community/channels/dm-header"import { ChannelHeader } from "@/components/community/channels/channel-header"import { Avatar } from "@/components/community/avatar"import { Message } from "@/components/community/messages/message"+import { TypingIndicator } from "@/components/community/messages/typing-indicator"import { InboxPopover } from "@/components/community/shell/community-inbox-popover"import { MachineCard } from "@/components/community/machines/machine-card"import { PairMachineSteps } from "@/components/community/machines/pair-machine-sheet"@@ -76,6 +77,11 @@ const SPACE_SERVERS: Server[] = [{ id: "play", name: "Game Night", initial: "G", active: false, mentions: 0, isOwner: true, icon: null },]+const OVERVIEW_SERVERS: Server[] = [+ ...SERVERS,+ ...SPACE_SERVERS.map((server) => ({ ...server, active: false })),+]+const CHANNELS: Category[] = [{id: "cat_public",@@ -202,7 +208,7 @@ const MESSAGES: RenderMsg[] = [authorName: "Alli",authorAvatar: "avatar:beam:alli",content: "On it.",- createdAt: "2026-08-06T04:20:04.000Z",+ createdAt: "2026-08-06T04:21:00.000Z",seq: 426,grouped: false,},@@ -213,7 +219,7 @@ const MESSAGES: RenderMsg[] = [authorName: "Ruthann",authorAvatar: "avatar:beam:ruth",content: "I’ll review the flow.",- createdAt: "2026-08-06T04:20:07.000Z",+ createdAt: "2026-08-06T04:22:00.000Z",seq: 427,grouped: false,},@@ -224,7 +230,7 @@ const MESSAGES: RenderMsg[] = [authorName: "Shelly",authorAvatar: "avatar:beam:shelly",content: "Ready to ship.",- createdAt: "2026-08-06T04:20:11.000Z",+ createdAt: "2026-08-06T04:23:00.000Z",seq: 428,grouped: false,},@@ -605,10 +611,12 @@ function useVisualFocus(scene: LandingScene, focus: string | null) {export function LandingShellMotion({scene,machineIntroDescription,+ overviewDetails = false,beat: controlledBeat,}: {scene: LandingScenemachineIntroDescription?: string+ overviewDetails?: booleanbeat?: number}) {const [localBeat, setLocalBeat] = useState(0)@@ -704,6 +712,7 @@ export function LandingShellMotion({scene={scene}snapshot={visualSnapshot}machineIntroDescription={machineIntroDescription}+ overviewDetails={overviewDetails}/></QueryClientProvider><MousePointer2@@ -799,10 +808,12 @@ function PrototypeShell({scene,snapshot,machineIntroDescription,+ overviewDetails,}: {scene: LandingScenesnapshot: SceneSnapshotmachineIntroDescription?: string+ overviewDetails: boolean}) {const continuityRoom = scene === "continuity" && snapshot.beat >= 7? snapshot.room@@ -813,7 +824,11 @@ function PrototypeShell({scene === "identity" ||continuityRoom !== nullconst room = scene === "spaces" || scene === "identity" ? snapshot.room : continuityRoom- const servers = room+ const servers = overviewDetails && scene === "server"+ ? OVERVIEW_SERVERS+ : scene === "continuity"+ ? SPACE_SERVERS.map((server) => ({ ...server, active: server.id === room }))+ : room? SPACE_SERVERS.map((server) => ({ ...server, active: server.id === room })): SERVERSreturn (@@ -834,6 +849,7 @@ function PrototypeShell({<PrototypeChannelSidebarroom={room}channels={scene === "continuity" ? CONTINUITY_CHANNELS : SPACE_CHANNELS}+ rootChannels={overviewDetails && scene === "server" ? SPACE_CHANNELS.work : CHANNELS}/>) : (<PrototypeDmSidebar scene={scene} snapshot={snapshot} />@@ -843,7 +859,9 @@ function PrototypeShell({key={`content-${scene}-${room ?? "default"}`}className={`flex min-w-0 flex-1 flex-col bg-background ${styles.sceneEnter}`}>- {scene === "server" && <ServerScene snapshot={snapshot} />}+ {scene === "server" && (+ <ServerScene snapshot={snapshot} showTypingPill={overviewDetails} />+ )}{scene === "machine" && (<MachineScenesnapshot={snapshot}@@ -915,7 +933,7 @@ function PrototypeUserBar({<UserBaruser={{ id: "gus", name: "Gus", avatar: "avatar:beam:gus" }}onEditProfile={() => {}}- inbox={scene === "continuity" ? <span /> : undefined}+ inbox={scene === "continuity" || scene === "server" || scene === "machine" ? <span /> : undefined}hasUnread={hasUnread}inboxOpen={false}onInboxOpenChange={() => {}}@@ -971,11 +989,13 @@ function PrototypeServerRail({function PrototypeChannelSidebar({room,channels = SPACE_CHANNELS,+ rootChannels = CHANNELS,}: {room: LandingRoom | nullchannels?: Record<LandingRoom, Category[]>+ rootChannels?: Category[]}) {- const categories = room ? channels[room] : CHANNELS+ const categories = room ? channels[room] : rootChannelsconst tree = useChannelTree(categories)const serverName = room? SPACE_SERVERS.find((server) => server.id === room)?.name ?? ""@@ -1096,7 +1116,13 @@ function PrototypeSheet({)}-function ServerScene({ snapshot }: { snapshot: SceneSnapshot }) {+function ServerScene({+ snapshot,+ showTypingPill,+}: {+ snapshot: SceneSnapshot+ showTypingPill: boolean+}) {return (<><ChannelHeader@@ -1106,7 +1132,7 @@ function ServerScene({ snapshot }: { snapshot: SceneSnapshot }) {server={{ id: "gus", name: "Gus", icon: null }}/><div className="flex min-h-0 flex-1 flex-col overflow-hidden">- <div className="flex-1 overflow-hidden px-4 py-3">+ <div className="relative flex-1 overflow-hidden px-4 py-3">{MESSAGES.map((message, index) => (<divkey={message.id}@@ -1121,6 +1147,7 @@ function ServerScene({ snapshot }: { snapshot: SceneSnapshot }) {</div></div>))}+ {showTypingPill && <TypingIndicator names={[DMS[0].name]} />}</div><PrototypeComposersnapshot={snapshot}diff --git a/src/web/vitest.config.ts b/src/web/vitest.config.tsindex d5916d7ae..91a9b008e 100644--- a/src/web/vitest.config.ts+++ b/src/web/vitest.config.ts@@ -11,7 +11,7 @@ export default mergeConfig(shared, defineConfig({test: {testTimeout: 30_000,hookTimeout: 30_000,- include: ["src/**/*.test.ts", "scripts/**/*.test.ts"],+ include: ["src/**/*.test.ts", "scripts/**/*.test.ts", "readme-capture/**/*.test.ts"],exclude: ["src/test/e2e/**", "src/test/e2e-ui/**"],},}))diff --git a/vitest.config.ts b/vitest.config.tsindex 4dd33673c..07013da12 100644--- a/vitest.config.ts+++ b/vitest.config.ts@@ -19,6 +19,7 @@ export default defineConfig({"**/*.d.ts","src/cli/src/index.ts","src/web/scripts/**",+ "src/web/readme-capture/**","src/web/src/**/*.tsx",// React hooks (useEffect/useState/render-time refs) with no jsdom/RTL// test path — excluded for the same reason as the .tsx exclude above.