The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Navigation: Chat takes Assist's place
Adarsha266a8043446
diff --git a/src/components/areas/area-page.tsx b/src/components/areas/area-page.tsxindex c02a0052..a077e137 100644--- a/src/components/areas/area-page.tsx+++ b/src/components/areas/area-page.tsx@@ -149,10 +149,10 @@ function StudioFeatures({ section, subs }: { section: string; subs: AreaShowcase);}-/** The pills at the end of an area page: the other areas, then Canvas, Assist and Chat. */+/** The pills at the end of an area page: the other areas, then Canvas and Chat. */export function MoreInFuobe({ current }: { current: AreaId }) {const others = AREAS.filter((a) => a.id !== current).map((a) => entry(a.entryId));- const list = [...others, entry("canvas"), entry("assist"), entry("chat")].filter((e): e is NavEntry => !!e);+ const list = [...others, entry("canvas"), entry("chat")].filter((e): e is NavEntry => !!e);return (<section aria-labelledby="more-in-fuobe" data-reveal className="mt-10 sm:mt-14"><h2 id="more-in-fuobe" className="mb-2 font-sans text-[13px] font-medium">diff --git a/src/components/nav-items.ts b/src/components/nav-items.tsindex 8d39e03a..8de9c2f6 100644--- a/src/components/nav-items.ts+++ b/src/components/nav-items.ts@@ -32,7 +32,7 @@ export interface NavGroupDef {const GROUPS: { label: string; ids: string[]; collapsible?: boolean }[] = [{label: "Create",- ids: ["home", "assist", "chat", "image", "video", "edit", "live-edit", "layers", "inpaint", "color-grade", "motions", "effects", "storyboard", "canvas", "apps"],+ ids: ["home", "chat", "image", "video", "edit", "live-edit", "layers", "inpaint", "color-grade", "motions", "effects", "storyboard", "canvas", "apps"],},{ label: "Library", ids: ["library", "favorites"] },{diff --git a/src/components/nav/bar-split.tsx b/src/components/nav/bar-split.tsxindex 742ef0c1..d61dd9c3 100644--- a/src/components/nav/bar-split.tsx+++ b/src/components/nav/bar-split.tsx@@ -17,12 +17,9 @@ import { useBarMenu, type TriggerHandlers } from "./bar-menus";* chevron and the bar's one open highlight (BarIndicator) behind it.*/-/**- * The item: 40 px (44 to tap), 10 px left and 8 px right of the words (8 and 8 from 1440 px, 12 and 10 from 1600 px), then- * the chevron.- */+/** The item: 40 px (44 to tap), 10 px left and 8 px right of the words (14 and 10 from 1600 px), then the chevron. */export const BAR_TRIGGER =- "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 items-center gap-1 rounded-[10px] pr-2 pl-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground min-[1440px]:pl-2 min-[1600px]:pr-2.5 min-[1600px]:pl-3 [@media(pointer:coarse)]:h-11 [@media(pointer:coarse)]:min-w-11";+ "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 items-center gap-1 rounded-[10px] pr-2 pl-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground min-[1600px]:pr-2.5 min-[1600px]:pl-3.5 [@media(pointer:coarse)]:h-11 [@media(pointer:coarse)]:min-w-11";/** The chevron: a quiet mark inside the item (no box of its own); it turns while the menu is open. */export const BarChevron = () => (diff --git a/src/components/nav/nav-prefetch.tsx b/src/components/nav/nav-prefetch.tsxindex 38d40f95..af78f292 100644--- a/src/components/nav/nav-prefetch.tsx+++ b/src/components/nav/nav-prefetch.tsx@@ -15,7 +15,7 @@ import { entriesFor, type ViewerKind } from "@/lib/nav-model";/** A panel whose routes load when it opens: the launcher (and the Studios sheet), Create, More, Fuobe FX. */export type NavPanel = "studios" | "create" | "more" | "fx";-const MORE_IDS = ["apps", "motions", "effects", "canvas", "assist", "chat", "area-motions"];+const MORE_IDS = ["apps", "motions", "effects", "canvas", "chat", "area-motions"];/** Each panel's "See all": its area page loads with the panel's rows. */const AREA_OF: Record<NavPanel, string> = { studios: "area-studios", create: "area-create", more: "area-motions", fx: "area-fx" };diff --git a/src/components/nav/top-bar.tsx b/src/components/nav/top-bar.tsxindex 991b7b0b..e5667d7f 100644--- a/src/components/nav/top-bar.tsx+++ b/src/components/nav/top-bar.tsx@@ -27,12 +27,12 @@ import { ViewerSlot } from "./viewer-slot";export { prefetchHrefs } from "./nav-prefetch";/*- * The top bar (md and up): the wordmark, Create, Studios (the launcher), Fuobe FX, Apps, Motions & effects, Canvas, Assist,- * Chat and Library; search; New creation; who is looking. 56 px on every page. What doesn't fit moves into More, by CSS alone+ * The top bar (md and up): the wordmark, Create, Studios (the launcher), Fuobe FX, Apps, Motions & effects, Canvas, Chat and+ * Library; search; New creation; who is looking. 56 px on every page. What doesn't fit moves into More, by CSS alone* (nothing is measured, so nothing moves after the first paint):- * 1600 and up everything, search 280 px, a guest's Log in, items 12 px left of the words- * 1440-1599 the same, search 184 px, items 8 px left of the words (Apps, Motions & effects and Canvas each carry a chevron)- * 1280-1439 Canvas, Assist and Chat in More, search 200 px, items 10 px left of the words+ * 1600 and up everything, search 280 px, a guest's Log in+ * 1440-1599 the same, search 220 px, items 4 px narrower a side (Apps, Motions & effects and Canvas each carry a chevron)+ * 1280-1439 Canvas and Chat in More, search 200 px* 1024-1279 Fuobe FX, Apps and Motions & effects in More too* 768-1023 the same, search and New creation as icon buttons* Measured with the site's fonts for a guest, an account and the owner, a classic scrollbar's width to spare at every@@ -40,17 +40,17 @@ export { prefetchHrefs } from "./nav-prefetch";*//**- * A plain bar link (Assist, Chat, Library). Its states are the nav's (nav-states.css): the highlight on hover or keyboard+ * A plain bar link (Chat, Library). Its states are the nav's (nav-states.css): the highlight on hover or keyboard* focus, and for the open page (aria-current) a pip under the words, never a fill. The items with a menu are* BAR_TRIGGER (bar-split.tsx).*/export const BAR_ITEM =- "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 [@media(pointer:coarse)]:h-11 items-center gap-1.5 rounded-[10px] px-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[state=open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground aria-[current=page]:font-semibold aria-[current=page]:text-foreground min-[1440px]:px-2 min-[1600px]:px-3";+ "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 [@media(pointer:coarse)]:h-11 items-center gap-1.5 rounded-[10px] px-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[state=open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground aria-[current=page]:font-semibold aria-[current=page]:text-foreground min-[1600px]:px-3.5";/*** Which bar item holds the open page, one item per page (areaOfPath): Create for the create tools, Studios for a studio* or one of its tools, Apps for the apps, Motions & effects for both galleries, each for its own area page; Canvas,- * Assist, Chat and Library for theirs. `page`: the area whose own page this is (its name is marked aria-current).+ * Chat (and Assist's pages) and Library for theirs. `page`: the area whose own page this is (its name is marked aria-current).*/export function barActive(pathname: string): {create: boolean;@@ -62,7 +62,6 @@ export function barActive(pathname: string): {canvas: boolean;/** /canvas itself (the Canvas item's own page). */canvasHome: boolean;- assist: boolean;chat: boolean;library: boolean;page: AreaId | undefined;@@ -77,7 +76,6 @@ export function barActive(pathname: string): {fx: area === "fx",canvas: e?.id === "canvas",canvasHome: pathname === "/canvas",- assist: e?.id === "assist",chat: e?.id === "chat",library: e?.kind === "library",page: pathname ? areaPageOf(pathname) : undefined,@@ -143,7 +141,7 @@ function MoreItems() {<SeeAllRow href={MOTIONS_AREA_HREF} name="See all motions & effects" data-col={0} data-row={4} className="mt-1" /><div role="separator" className="mx-2.5 my-1.5 h-px bg-border" /></div>- {pick(["canvas", "assist", "chat"]).map((e, i) => (+ {pick(["canvas", "chat"]).map((e, i) => (<IntentLink key={e.id} href={e.href} eager={e.eager} aria-current={on(e) ? "page" : undefined} data-col={0} data-row={5 + i} className={cn(CARD_ROW, MENU_ROW_2)}><span className="grid h-[27px] w-9 shrink-0 place-items-center rounded-[6px] bg-muted"><NavIcon name={e.icon} className="nav-icon size-4 text-muted-foreground" />@@ -171,8 +169,8 @@ function MoreMenu({ active }: { active: Active }) {onOpen={warmMore}cardClassName="w-80"className="min-[1440px]:hidden"- // Marked when it holds the open page at this width: Canvas, Assist and Chat always; Fuobe FX, Apps, Motions and Effects below xl.- active={active.canvas || active.assist || active.chat}+ // Marked when it holds the open page at this width: Canvas and Chat always; Fuobe FX, Apps, Motions and Effects below xl.+ active={active.canvas || active.chat}data-narrow={active.apps || active.motions || active.fx || undefined}><MoreItems />@@ -196,10 +194,7 @@ function BarLinks({ active, onTap }: { active: Active; onTap?: (href: string) =><MegaLauncher id="apps" active={active.apps || active.page === "apps"} className="hidden xl:inline-flex" /><MegaLauncher id="motions" active={active.motions || active.page === "motions"} className="hidden xl:inline-flex" /><MegaLauncher id="canvas" active={active.canvas || active.canvasHome} className="hidden min-[1440px]:inline-flex" />- <IntentLink href="/assist" eager data-bar-item="" onClick={tap("/assist")} aria-current={cur(active.assist)} className={cn(BAR_ITEM, "hidden min-[1440px]:inline-flex")}>- Assist- </IntentLink>- <IntentLink href="/chat" data-bar-item="" onClick={tap("/chat")} aria-current={cur(active.chat)} className={cn(BAR_ITEM, "hidden min-[1440px]:inline-flex")}>+ <IntentLink href="/chat" eager data-bar-item="" onClick={tap("/chat")} aria-current={cur(active.chat)} className={cn(BAR_ITEM, "hidden min-[1440px]:inline-flex")}>Chat</IntentLink><IntentLink href="/library" eager data-bar-item="" onClick={tap("/library")} aria-current={cur(active.library)} className={BAR_ITEM}>@@ -231,7 +226,7 @@ function SearchField() {className={cn("nav-focus inline-flex h-10 shrink-0 items-center gap-2 rounded-[10px] text-[13.5px] [@media(pointer:coarse)]:h-11 text-muted-foreground motion-safe:transition-colors","w-10 justify-center nav-hover:bg-[var(--nav-hi)] nav-hover:text-foreground active:bg-[var(--nav-press)] [@media(pointer:coarse)]:w-11",- "lg:max-[1439.98px]:w-[200px] lg:justify-start lg:border lg:border-input lg:bg-background/60 lg:px-3 lg:nav-hover:border-border-strong lg:nav-hover:bg-background lg:active:bg-background min-[1440px]:max-[1599.98px]:w-[184px] min-[1600px]:w-[280px]",+ "lg:max-[1439.98px]:w-[200px] lg:justify-start lg:border lg:border-input lg:bg-background/60 lg:px-3 lg:nav-hover:border-border-strong lg:nav-hover:bg-background lg:active:bg-background min-[1440px]:max-[1599.98px]:w-[220px] min-[1600px]:w-[280px]",)}><Search aria-hidden className="size-[18px] shrink-0 lg:size-4" />diff --git a/src/lib/home-showcase.ts b/src/lib/home-showcase.tsindex b613341d..3bc71823 100644--- a/src/lib/home-showcase.ts+++ b/src/lib/home-showcase.ts@@ -170,7 +170,7 @@ export const HOME_STUDIOS: { href: string; id?: string; line: (f: HomeFacts) =>];/** Destinations with a section of their own on Home, so they aren't pills as well. */-export const HOME_OWN_SECTIONS = ["/assist", "/motions", "/effects", "/apps", "/live-edit"];+export const HOME_OWN_SECTIONS = ["/motions", "/effects", "/apps", "/live-edit"];/** Live edit's moment on Home: a recorded session plays (no GPU, no requests), with one way in. */export const HOME_LIVE = {diff --git a/src/lib/nav-areas.ts b/src/lib/nav-areas.tsindex 710004ff..d2130f00 100644--- a/src/lib/nav-areas.ts+++ b/src/lib/nav-areas.ts@@ -127,8 +127,8 @@ export const PILL_ONLY: readonly string[] = ["canvas", "layers", "explainer", "v*/function createSections(): AreaSection[] {const [make, editPicture] = CREATE_COLUMNS;- // Make's own column, less what has a section of its own (Image and Video lead) and Assist and Chat (items of the bar).- const makeRest = make.ids.filter((id) => !["image", "video", "assist", "chat"].includes(id));+ // Make's own column, less what has a section of its own (Image and Video lead) and Chat (an item of the bar).+ const makeRest = make.ids.filter((id) => !["image", "video", "chat"].includes(id));return [{id: "make",@@ -255,9 +255,9 @@ export function rankCards(ids: readonly string[], band: (cover: string) => numbeconst NO_SEARCH = new URLSearchParams();/**- * The bar item that holds a page, one per page: Create for its tools (not Canvas, Assist or Chat, which have items of- * their own), Studios for a studio and its tools, Apps for the apps, Motions & effects for both galleries, Fuobe FX- * for its studios (FX_HOME); and each for its own area page. None for Home, Canvas, Assist, Chat, Library and settings.+ * The bar item that holds a page, one per page: Create for its tools (not Canvas or Chat, which have items of their+ * own), Studios for a studio and its tools, Apps for the apps, Motions & effects for both galleries, Fuobe FX+ * for its studios (FX_HOME); and each for its own area page. None for Home, Canvas, Chat (Assist's pages too), Library and settings.*/export function areaOfPath(pathname: string): AreaId | undefined {const e = pathname ? activeEntry(pathname, NO_SEARCH) : undefined;@@ -266,7 +266,7 @@ export function areaOfPath(pathname: string): AreaId | undefined {if (own) return own.id;if (e.id === "motions" || e.id === "effects") return "motions";if (inFx(e)) return "fx";- if (e.kind === "create" && e.id !== "canvas" && e.id !== "assist" && e.id !== "chat") return "create";+ if (e.kind === "create" && e.id !== "canvas" && e.id !== "chat") return "create";if (e.kind === "studio") return "studios";return undefined;}diff --git a/src/lib/nav-model.ts b/src/lib/nav-model.tsindex 5b3acdbe..42a95465 100644--- a/src/lib/nav-model.ts+++ b/src/lib/nav-model.ts@@ -119,8 +119,20 @@ const newFor30Days = (added: string) => new Date(Date.parse(added) + 30 * 86_400const PAGES: NavEntry[] = [{ id: "home", href: "/", label: "Home", what: "Start from words or a picture", kind: "home", goals: [], keywords: "start new creation home", icon: "Home", eager: true },{ id: "new", href: NEW_CREATION_HREF, label: "New creation", what: "A fresh composer on Home", kind: "action", goals: [], keywords: "new creation start fresh blank compose", icon: "Plus" },- { id: "assist", href: "/assist", label: "Assist", what: "Plan it with an agent", kind: "create", goals: [], keywords: "agent chat plan assistant ai helper", icon: "MessageCircle", eager: true },- { id: "chat", href: "/chat", label: "Chat", short: "Chat", what: "Talk, plan and write with AI", kind: "create", goals: [], keywords: "chat talk advice ideas roleplay characters write ask brainstorm", icon: "MessagesSquare", newUntil: newFor30Days("2026-11-07") },+ // Chat is Assist and Fuobe Chat in one: Assist's words find it, and Assist's pages count as it (activeEntry).+ {+ id: "chat",+ href: "/chat",+ label: "Chat",+ short: "Chat",+ what: "Talk, plan and write with AI",+ kind: "create",+ goals: [],+ keywords: "chat talk advice ideas roleplay characters write ask brainstorm assist assistant agent plan planner helper ai skills memory scheduled",+ icon: "MessagesSquare",+ eager: true,+ newUntil: newFor30Days("2026-11-07"),+ },{ id: "image", href: "/image", label: "Image", what: "Text to image", kind: "create", goals: [], keywords: "text to image picture photo generate", cover: "app-poster", icon: "ImageIcon", eager: true, popular: true },{ id: "video", href: "/video", label: "Video", what: "Text or image to video", kind: "create", goals: ["film"], keywords: "text to video image to video animate clip", cover: "motion-fpv-drone", icon: "Video", eager: true, popular: true },{ id: "edit", href: "/edit", label: "Edit", what: "Change a picture with words", kind: "create", goals: ["edit"], keywords: "edit image change photo retouch", cover: "app-relight", icon: "Wand2" },@@ -320,7 +332,7 @@ const SUB_TOOLS: NavEntry[] = [{ id: "marketing-click-to-ad", href: "/marketing/click-to-ad", label: "Click to Ad", what: "From a product link to an ad", kind: "tool", goals: [], keywords: "product link url to ad shop page amazon", icon: "Megaphone", parent: "marketing" },// A tab of Marketing Studio's suite (Marketing Studio · Click to Ad · Ads Studio · Ad Multiplier), so its studio is that one.{ id: "ads-multiplier", href: "/ads/multiplier", label: "Ad Multiplier", what: "One ad in many versions", kind: "tool", goals: [], keywords: "variations versions sizes multiply ads studio", icon: "Target", parent: "marketing" },- { id: "assist-skills", href: "/assist/skills", label: "Skills", what: "Reusable recipes", kind: "tool", goals: [], keywords: "skill recipe playbook automation", icon: "MessageCircle", parent: "assist" },+ { id: "chat-skills", href: "/assist/skills", label: "Skills", what: "Reusable recipes", kind: "tool", goals: [], keywords: "skill recipe playbook automation assist", icon: "MessagesSquare", parent: "chat" },// An app with a page of its own that Create lists: a tool of Apps, so the bar marks Apps on its page.{ id: "any-angle", href: "/apps/app-any-angle", label: "Any Angle", what: "See it from any angle", kind: "tool", goals: [], keywords: "angle rotate turn view camera viewpoint orbit 3d", cover: "app-any-angle", icon: "Rotate3d", parent: "apps" },];@@ -342,7 +354,7 @@ const feature = (parent: string, icon: NavIconName, id: string, href: string, la/*** The modes and tabs inside the studios that have no page of their own, each opened by its link (?mode=, ?tab=):* Genjutsu (src/lib/catalog/genjutsu.ts), Character Sheet, Image to 3D (src/lib/av/model3d.ts), Photodump, Cinema- * Studio, Canvas and Assist. Labels are the studio's own (a test holds them to it).+ * Studio, Canvas and Chat (Assist's pages). Labels are the studio's own (a test holds them to it).*/const STUDIO_FEATURES: NavEntry[] = [...(@@ -374,9 +386,9 @@ const STUDIO_FEATURES: NavEntry[] = [).map(([id, label, what, kw]) => feature("image-to-3d", "Box", id, `/image-to-3d?mode=${id}`, label, what, kw)),feature("photodump", "Camera", "instadump", "/photodump?tab=instadump", "From a selfie", "A photo pack from one selfie", "instadump selfie one photo pack instagram"),feature("cinema", "Clapperboard", "blockout", "/cinema?blockout=1", "Blockout", "Block a scene out in 3D", "blockout block out 3d layout previs scene"),- feature("canvas", "Network", "skills", "/canvas?tab=skills", "Skills as canvases", "Assist's skills, drawn as boards", "skills recipes boards assist canvas", OWNER),- feature("assist", "MessageCircle", "memory", "/assist/memory", "Memory", "What Assist remembers", "memory remember facts notes", OWNER),- feature("assist", "MessageCircle", "scheduled", "/assist/scheduled", "Scheduled", "Tasks that run on a schedule", "scheduled schedule recurring tasks", OWNER),+ feature("canvas", "Network", "skills", "/canvas?tab=skills", "Skills as canvases", "Chat's skills, drawn as boards", "skills recipes boards assist chat canvas", OWNER),+ feature("chat", "MessagesSquare", "memory", "/assist/memory", "Memory", "What Chat remembers", "memory remember facts notes assist", OWNER),+ feature("chat", "MessagesSquare", "scheduled", "/assist/scheduled", "Scheduled", "Tasks that run on a schedule", "scheduled schedule recurring tasks assist", OWNER),];/** The pages that show everything one of the bar's menus holds (src/lib/nav-areas.ts lays them out). */@@ -500,7 +512,7 @@ export const NAV_ENTRIES: readonly NavEntry[] = [...PAGES, ...STUDIOS, ...HUB_TO* starts from them). Storyboard plans a film, so it sits with Make (its card is in the launcher's Film column).*/export const CREATE_COLUMNS = [- { label: "Make", ids: ["image", "video", "assist", "chat", "canvas", "storyboard"] },+ { label: "Make", ids: ["image", "video", "chat", "canvas", "storyboard"] },{ label: "Edit a picture", ids: ["edit", "live-edit", "inpaint", "layers", "color-grade"] },] as const;@@ -739,7 +751,7 @@ export const STUDIO_SUBS: Readonly<Record<string, StudioSubs>> = {"character-sheet": { ids: ["character-sheet-reference", "character-sheet-cast", "character-sheet-describe"], menu: 0 },cinema: { ids: ["cinema-blockout"], menu: 0 },canvas: { ids: ["canvas-skills"] },- assist: { ids: ["assist-skills", "assist-memory", "assist-scheduled"] },+ chat: { ids: ["chat-skills", "chat-memory", "chat-scheduled"] },};/**@@ -810,6 +822,8 @@ export function goalBand(id: GoalId, kind: ViewerKind | undefined): { goal: Goal/** Entries that are pages of their own (no actions, no settings sections, nothing off the site). */const ROUTES = NAV_ENTRIES.filter((e) => e.kind !== "tool" && e.kind !== "action" && e.href.startsWith("/") && !e.href.includes("#"));const ROUTE_HREFS = ROUTES.map((e) => e.href);+/** /assist and every page under it. */+const ASSIST_PATH = /^\/assist(?:\/|$)/;/*** The page the path is on: the entry whose link matches best (navActive, with every other page as a sibling, so@@ -817,6 +831,8 @@ const ROUTE_HREFS = ROUTES.map((e) => e.href);* pages count as the studio (/audio/clean is Audio, /marketing/click-to-ad is Marketing Studio).*/export function activeEntry(pathname: string, search: URLSearchParams): NavEntry | undefined {+ // Assist's pages, while they still answer, are Chat's (Assist became Chat): the bar and the tabs mark Chat there.+ if (ASSIST_PATH.test(pathname)) return byId.get("chat");let best: NavEntry | undefined;for (const e of ROUTES) {if (!navActive(e.href, pathname, search, ROUTE_HREFS)) continue;diff --git a/src/lib/nav-search.ts b/src/lib/nav-search.tsindex 18511e2c..332b5dde 100644--- a/src/lib/nav-search.ts+++ b/src/lib/nav-search.ts@@ -78,7 +78,13 @@ export const INTENTS: readonly Intent[] = [{ id: "channel", triggers: ["youtube", "channel", "faceless", "episode", "series", "podcast"], targets: ["faceless", "content-factory", "explainer", "audio"] },{ id: "film", triggers: ["film", "movie", "cinematic", "scene", "shot", "director", "trailer", "music video"], targets: ["cinema", "storyboard", "motions", "katana"] },{ id: "dance", triggers: ["dance", "choreography", "pose", "moves", "tiktok dance"], targets: ["motion-control", "app-dance", "genjutsu"] },- { id: "chat", triggers: ["chat", "chatbot", "talk to", "talk with", "talk about", "ask", "advice", "roleplay", "role play", "brainstorm"], targets: ["chat", "assist"] },+ { id: "chat", triggers: ["chat", "chatbot", "talk to", "talk with", "talk about", "ask", "advice", "roleplay", "role play", "brainstorm"], targets: ["chat"] },+ // Assist is Chat now: its words lead there.+ {+ id: "assist",+ triggers: ["assist", "assistant", "agent", "plan", "planner", "make me", "do it for me", "skills", "memory", "scheduled"],+ targets: ["chat", "chat-skills", "chat-memory", "chat-scheduled"],+ },{ id: "talk", triggers: ["talk", "talking", "speak", "lipsync", "lip sync", "avatar", "presenter", "spokesperson"], targets: ["lipsync", "app-talking-photo", "audio-speech"] },{ id: "sound", triggers: ["sound", "audio"], targets: ["audio", "audio-clean", "audio-sfx", "audio-music"] },{ id: "voice", triggers: ["voice", "voiceover", "voice over", "narration", "narrator", "tts", "text to speech", "read aloud"], targets: ["audio-speech", "audio", "lipsync"] },diff --git a/tests/__snapshots__/home-studios.html b/tests/__snapshots__/home-studios.htmlindex 0a4d4840..9325cd19 100644--- a/tests/__snapshots__/home-studios.html+++ b/tests/__snapshots__/home-studios.html@@ -2,7 +2,7 @@<div class="mb-4"><div class="flex items-center justify-between gap-4"><h2 id="home-studios" class="font-heading text-[24px] leading-tight sm:text-[28px]">Studios and tools<span aria-hidden="true" class="ml-2 inline-block rounded-full bg-muted px-2 align-[0.3em] font-sans text-[13px] leading-6 tracking-normal text-muted-foreground tabular-nums">-<span style="display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums">43</span>+<span style="display:inline-block;min-width:2ch;font-variant-numeric:tabular-nums">42</span></span></h2><a aria-label="See all 23 studios" class="group relative inline-flex shrink-0 items-center gap-1 text-[13px] text-muted-foreground transition-colors after:absolute after:-inset-x-2 after:-inset-y-3 after:content-[''] hover:text-foreground" href="/studios">See all 23 studios <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right size-3.5 transition-transform duration-150 group-hover:translate-x-0.5" aria-hidden="true">diff --git a/tests/nav-areas.test.ts b/tests/nav-areas.test.tsindex 2bf9e845..fe20f3c1 100644--- a/tests/nav-areas.test.ts+++ b/tests/nav-areas.test.ts@@ -151,10 +151,9 @@ describe("/studios", () => {});describe("/create", () => {- it("shows every entry of the Create menu but Assist and Chat (items of the bar), as a card or a pill, and the menu reads the model's own columns", () => {+ it("shows every entry of the Create menu but Chat (an item of the bar), as a card or a pill, and the menu reads the model's own columns", () => {const all = ids("create", "guest");- for (const c of CREATE_COLUMNS) for (const id of c.ids) if (id !== "assist" && id !== "chat") expect(all, id).toContain(id);- expect(all).not.toContain("assist");+ for (const c of CREATE_COLUMNS) for (const id of c.ids) if (id !== "chat") expect(all, id).toContain(id);expect(all).not.toContain("chat");expect(all).not.toContain("new");expect(createMenu.CREATE_COLUMNS).toBe(CREATE_COLUMNS);@@ -252,7 +251,7 @@ describe("Motions & effects and Apps", () => {});describe("which bar item and tab a page marks", () => {- it("gives each page one area, and Canvas, Assist and Chat none (they have items of their own)", () => {+ it("gives each page one area, and Canvas and Chat (Assist's pages too) none (they have items of their own)", () => {const cases: [string, string | undefined][] = [["/create", "create"],["/image", "create"],@@ -293,8 +292,8 @@ describe("which bar item and tab a page marks", () => {expect(barActive("/studios")).toMatchObject({ studios: true, create: false, page: "studios" });expect(barActive("/motions-and-effects")).toMatchObject({ motions: true, page: "motions" });expect(barActive("/canvas")).toMatchObject({ canvas: true, create: false });- expect(barActive("/assist")).toMatchObject({ assist: true, chat: false, create: false });- expect(barActive("/chat")).toMatchObject({ chat: true, assist: false, create: false });+ expect(barActive("/assist")).toMatchObject({ chat: true, create: false });+ expect(barActive("/chat")).toMatchObject({ chat: true, create: false });});it("selects the Create and Studios tabs on their own pages, and none on the galleries' page", () => {diff --git a/tests/nav-bar.test.ts b/tests/nav-bar.test.tsindex f0b7fdf2..18f855ab 100644--- a/tests/nav-bar.test.ts+++ b/tests/nav-bar.test.ts@@ -117,15 +117,16 @@ describe("which bar item holds the page", () => {expect(barActive("/live-edit").create).toBe(true);});- it("marks the galleries, Canvas, Assist, Chat and Library on their pages", () => {+ it("marks the galleries, Canvas, Chat (on Assist's pages too) and Library on their pages", () => {expect(barActive("/apps")).toMatchObject({ apps: true, studios: false });expect(barActive("/apps/app-billboard-ad").apps).toBe(true);expect(barActive("/motions").motions).toBe(true);expect(barActive("/effects").motions).toBe(true);expect(barActive("/canvas/p1").canvas).toBe(true);- expect(barActive("/assist/skills").assist).toBe(true);+ expect(barActive("/assist/skills").chat).toBe(true);+ expect(barActive("/assist").chat).toBe(true);expect(barActive("/chat").chat).toBe(true);- expect(barActive("/chat/abc123")).toMatchObject({ chat: true, assist: false, create: false });+ expect(barActive("/chat/abc123")).toMatchObject({ chat: true, create: false });expect(barActive("/library").library).toBe(true);});@@ -283,7 +284,8 @@ describe("the bar's shell", () => {expect(html).toContain('aria-expanded="false"');// Studios is its name only: no count beside it.expect(html).not.toContain(`>${studioCount()}<`);- for (const h of ["/", "/assist", "/chat", "/library", "/?new=1"]) expect(hrefs(html), h).toContain(h);+ for (const h of ["/", "/chat", "/library", "/?new=1"]) expect(hrefs(html), h).toContain(h);+ expect(hrefs(html)).not.toContain("/assist");for (const h of ["/create", "/studios", "/apps", "/motions-and-effects", "/canvas"]) expect(html, h).toContain(`data-href="${h}"`);// Search's name is the words it shows (sr-only below lg).expect(html).toContain(">Search Fuobe</span>");@@ -518,23 +520,24 @@ describe("menu items: one button each, the area's page inside its menu", () => {});describe("create and prefetch", () => {- it("puts the create tools in two columns, Chat beside Assist", () => {+ it("puts the create tools in two columns of five, Chat in Assist's place", () => {const cols = createColumns(undefined);expect(cols.map((c) => c.label)).toEqual(["Make", "Edit a picture"]);expect(cols.map((c) => c.entries.map((e) => e.id))).toEqual([- ["image", "video", "assist", "chat", "canvas", "storyboard"],+ ["image", "video", "chat", "canvas", "storyboard"],["edit", "live-edit", "inpaint", "layers", "color-grade"],]);- expect(CREATE_HREFS).toHaveLength(11);+ expect(CREATE_HREFS).toHaveLength(10);expect(CREATE_HREFS).toContain("/chat");- for (const kind of ["guest", "account", "owner"] as const) expect(createColumns(kind).flatMap((c) => c.entries)).toHaveLength(11);+ expect(CREATE_HREFS).not.toContain("/assist");+ for (const kind of ["guest", "account", "owner"] as const) expect(createColumns(kind).flatMap((c) => c.entries)).toHaveLength(10);});it("prefetches every launcher, create and library route once, and nothing off the site", () => {const list = prefetchHrefs(undefined);expect(new Set(list).size).toBe(list.length);for (const c of launcherColumns(undefined)) for (const e of [c.lead, ...c.rest]) expect(list).toContain(e.href);- for (const id of ["image", "video", "edit", "live-edit", "inpaint", "layers", "color-grade", "canvas", "assist", "chat", "library", "favorites"]) expect(list).toContain(entry(id)!.href);+ for (const id of ["image", "video", "edit", "live-edit", "inpaint", "layers", "color-grade", "canvas", "chat", "library", "favorites"]) expect(list).toContain(entry(id)!.href);for (const h of list) expect(h.startsWith("/") && !h.includes("#"), h).toBe(true);// The same for every viewer: none of these is owner-only.expect(prefetchHrefs("owner")).toEqual(list);diff --git a/tests/nav-model.test.ts b/tests/nav-model.test.tsindex 4e4a0de8..7e130a12 100644--- a/tests/nav-model.test.ts+++ b/tests/nav-model.test.ts@@ -138,13 +138,19 @@ describe("nav model: entries", () => {}});- it("keeps every link the sidebar had, with its label", () => {- for (const [, rows] of OLD_NAV) for (const [href, label] of rows) expect(NAV_ENTRIES.find((e) => e.href === href)?.label, href).toBe(label);+ it("keeps every link the sidebar had, with its label (Assist is Chat now)", () => {+ for (const [, rows] of OLD_NAV)+ for (const [href, label] of rows) {+ if (href === "/assist") continue;+ expect(NAV_ENTRIES.find((e) => e.href === href)?.label, href).toBe(label);+ }+ expect(NAV_ENTRIES.find((e) => e.href === "/assist")).toBeUndefined();+ expect(NAV_ENTRIES.some((e) => e.id === "assist" || e.label === "Assist")).toBe(false);});- it("derives the groups as they were, with Kinetic Motion, Chat beside Assist, and the FX studios moved from Studios to Fuobe FX: 47 rows", () => {+ it("derives the groups as they were, with Kinetic Motion, Chat in Assist's place, and the FX studios moved from Studios to Fuobe FX: 46 rows", () => {const FX_HREFS = ["/genjutsu", "/character-swap", "/motion-control", "/video-tools", "/extend", "/reframe"];- const withChat = (rows: [string, string][]) => rows.flatMap((r): [string, string][] => (r[0] === "/assist" ? [r, ["/chat", "Chat"]] : [r]));+ const withChat = (rows: [string, string][]) => rows.map((r): [string, string] => (r[0] === "/assist" ? ["/chat", "Chat"] : r));const old = OLD_NAV.map(([label, rows]) => [label, label === "Studios" ? rows.filter(([href]) => !FX_HREFS.includes(href)) : label === "Create" ? withChat(rows) : rows] as (typeof OLD_NAV)[number],);@@ -152,7 +158,7 @@ describe("nav model: entries", () => {expect(moved).toHaveLength(6);const fx: (typeof OLD_NAV)[number] = ["Fuobe FX", [["/fx", "Fuobe FX"], ...FX_HREFS.map((h) => moved.find(([href]) => href === h)!)]];expect(NAV.map((g) => [g.label, g.items.map((i) => [i.href, i.label])])).toEqual([...old.slice(0, 3), fx, ...old.slice(3)]);- expect(NAV.flatMap((g) => g.items)).toHaveLength(47);+ expect(NAV.flatMap((g) => g.items)).toHaveLength(46);expect(NAV.find((g) => g.label === "Fuobe FX")?.collapsible).toBe(true);expect(NAV.find((g) => g.label === "Studios")?.collapsible).toBe(true);// The same rows prefetch eagerly, with an icon each and search words.@@ -160,7 +166,7 @@ describe("nav model: entries", () => {NAV.flatMap((g) => g.items).filter((i) => i.eager).map((i) => i.href),- ).toEqual(["/", "/assist", "/image", "/video", "/library"]);+ ).toEqual(["/", "/chat", "/image", "/video", "/library"]);for (const i of NAV.flatMap((g) => g.items)) {expect(typeof i.icon === "function" || typeof i.icon === "object", i.href).toBe(true);expect(i.keywords?.length, i.href).toBeGreaterThan(0);@@ -328,7 +334,11 @@ describe("nav model: the current page", () => {expect(at("/upscale/video")).toBe("upscale");expect(at("/video-tools/captions")).toBe("video-tools");expect(at("/marketing/click-to-ad")).toBe("marketing");- expect(at("/assist/skills")).toBe("assist");+ // Assist's pages, while they still answer, are Chat's.+ expect(at("/assist")).toBe("chat");+ expect(at("/assist/skills")).toBe("chat");+ expect(at("/assist/projects/p1")).toBe("chat");+ expect(at("/assistant")).not.toBe("chat");});});diff --git a/tests/nav-search.test.ts b/tests/nav-search.test.tsindex 58a35765..5089e785 100644--- a/tests/nav-search.test.ts+++ b/tests/nav-search.test.ts@@ -75,6 +75,12 @@ describe("search by what you want to make", () => {for (const q of ["ask", "advice", "roleplay", "role play", "ask for advice", "talk to ai", "talk about ideas", "brainstorm ideas"]) {expect(searchNav(q, entries).best.map((h) => h.href), q).toContain("/chat");}+ // Assist is Chat now: its words find Chat.+ for (const q of ["assist", "assistant", "agent", "planner", "make me a plan", "do it for me", "skills", "memory", "scheduled"]) {+ expect(searchNav(q, entries).best.map((h) => h.href), q).toContain("/chat");+ }+ expect(searchNav("assist", entries).best[0]).toMatchObject({ label: "Chat", href: "/chat" });+ expect(all("assist", entries).map((h) => h.label)).not.toContain("Assist");// "talk" alone is mostly lipsync and voices: Chat is listed with them, first of the rest.expect(all("talk", entries).map((h) => h.href)).toContain("/chat");}diff --git a/tests/nav-subfeatures.test.ts b/tests/nav-subfeatures.test.tsindex cd2b4c9e..8bfa2a1f 100644--- a/tests/nav-subfeatures.test.ts+++ b/tests/nav-subfeatures.test.ts@@ -108,8 +108,8 @@ describe("the catalogue of studio features", () => {const suite = read("src/components/marketing/shell.tsx");for (const id of STUDIO_SUBS.marketing.ids) expect(suite, id).toContain(`href: "${entry(id)!.href}", label: "${entry(id)!.label}"`);const rail = read("src/components/assist/shell.tsx");- for (const id of STUDIO_SUBS.assist.ids) expect(rail, id).toContain(`href="${entry(id)!.href}" icon={`);- for (const id of STUDIO_SUBS.assist.ids) expect(rail, id).toContain(`label="${entry(id)!.label}"`);+ for (const id of STUDIO_SUBS.chat.ids) expect(rail, id).toContain(`href="${entry(id)!.href}" icon={`);+ for (const id of STUDIO_SUBS.chat.ids) expect(rail, id).toContain(`label="${entry(id)!.label}"`);expect(read("src/components/canvas/canvas-list.tsx")).toContain(entry("canvas-skills")!.label);expect(read("src/components/cinema/blockout-panel.tsx")).toContain(`>${entry("cinema-blockout")!.label}<`);});@@ -120,7 +120,7 @@ describe("who sees a studio's features", () => {// Restore & colourise shows to everyone, labelled: it runs on a visitor's own GPU or key (own-setup.ts).expect(entry("video-tools-restore")!.visibility).toBeUndefined();for (const kind of VISITORS) expect(entriesFor(kind).some((e) => e.id === "video-tools-restore"), kind).toBe(true);- for (const id of ["canvas-skills", "assist-memory", "assist-scheduled"]) {+ for (const id of ["canvas-skills", "chat-memory", "chat-scheduled"]) {expect(entry(id)!.visibility, id).toEqual(["owner"]);for (const kind of VISITORS) expect(entriesFor(kind).some((e) => e.id === id), `${kind}: ${id}`).toBe(false);}@@ -254,12 +254,12 @@ describe("finding a studio's features", () => {return [...r.best, ...r.groups.flatMap((g) => g.hits)].map((h) => h.id);};expect(hits("owner", "skills as canvases")).toContain("canvas-skills");- expect(hits("owner", "scheduled")).toContain("assist-scheduled");+ expect(hits("owner", "scheduled")).toContain("chat-scheduled");// Cinema Studio's Blockout is everyone's ("Cinema Studio › Blockout").for (const kind of [...VISITORS, "owner" as const]) expect(hits(kind, "blockout"), String(kind)).toContain("cinema-blockout");for (const kind of VISITORS) {expect(hits(kind, "skills as canvases"), String(kind)).not.toContain("canvas-skills");- expect(hits(kind, "assist memory"), String(kind)).not.toContain("assist-memory");+ expect(hits(kind, "assist memory"), String(kind)).not.toContain("chat-memory");}});});diff --git a/tests/nav.test.ts b/tests/nav.test.tsindex 7939e21e..833acadf 100644--- a/tests/nav.test.ts+++ b/tests/nav.test.ts@@ -47,7 +47,7 @@ describe("nav links' active state", () => {describe("nav rows", () => {it("prefetches only the rows most visits go to next", () => {const eager = NAV.flatMap((g) => g.items.filter((i) => i.eager).map((i) => i.href));- expect(eager).toEqual(["/", "/assist", "/image", "/video", "/library"]);+ expect(eager).toEqual(["/", "/chat", "/image", "/video", "/library"]);// Every destination is unique (the palette and the sidebar key rows by href).const hrefs = NAV.flatMap((g) => g.items.map((i) => i.href));expect(new Set(hrefs).size).toBe(hrefs.length);diff --git a/tests/phone-nav.test.ts b/tests/phone-nav.test.tsindex 50aef659..9a4d29b1 100644--- a/tests/phone-nav.test.ts+++ b/tests/phone-nav.test.ts@@ -66,7 +66,7 @@ describe("the selected tab", () => {it("is Studios in a studio, its pages and the apps, and Create in a create tool", () => {for (const p of ["/cinema", "/cinema/abc", "/marketing/click-to-ad", "/audio/clean", "/apps", "/apps/app-3d-figure", "/fashion-factory"]) expect(tabFor(p), p).toBe("studios");- for (const p of ["/image", "/video", "/edit", "/assist", "/chat", "/chat/abc", "/canvas"]) expect(tabFor(p), p).toBe("create");+ for (const p of ["/image", "/video", "/edit", "/assist", "/assist/skills", "/chat", "/chat/abc", "/canvas"]) expect(tabFor(p), p).toBe("create");});it("is none on a page no tab leads to", () => {