Add brand visual style to page profile and logo palette to image prompts

Adds PageProfile.visualStyle (with migration), feeds it into every AI
prompt route, and samples a logo palette for image generation. Also
hardens Chrome focus handling and image copy in the ChatGPT driver.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Loma Bot Ops
2026-11-23 20:58:06 +07:00
parent dc6ee09a55
commit 4c93bf0a11
18 changed files with 166 additions and 49 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { formatDateTime, Notice } from "./ui";
import { useToast } from "./Toast";
import { PROFILE_FIELDS, type ShopProfile } from "@/lib/ai/shared";
const EMPTY: ShopProfile = { business: "", audience: "", tone: "", avoid: "", cta: "" };
const EMPTY: ShopProfile = { business: "", audience: "", tone: "", visualStyle: "", avoid: "", cta: "" };
export function ProfileForm({
pageId,