feat: on-demand AI feature install with progress indicators

This commit is contained in:
ashim-hq
2026-04-19 19:52:14 +08:00
parent 771f786528
commit 10bdc24a4a
9 changed files with 488 additions and 225 deletions
+1 -1
View File
@@ -4,11 +4,11 @@ export const CATEGORIES: CategoryInfo[] = [
{ id: "essentials", name: "Essentials", icon: "Layers", color: "#3B82F6" },
{ id: "optimization", name: "Optimization", icon: "Zap", color: "#10B981" },
{ id: "adjustments", name: "Adjustments", icon: "SlidersHorizontal", color: "#8B5CF6" },
{ id: "ai", name: "AI Tools", icon: "Sparkles", color: "#F59E0B" },
{ id: "watermark", name: "Watermark & Overlay", icon: "Stamp", color: "#EF4444" },
{ id: "utilities", name: "Utilities", icon: "Wrench", color: "#6366F1" },
{ id: "layout", name: "Layout & Composition", icon: "LayoutGrid", color: "#EC4899" },
{ id: "format", name: "Format & Conversion", icon: "FileType", color: "#14B8A6" },
{ id: "ai", name: "AI Tools", icon: "Sparkles", color: "#F59E0B" },
];
export const TOOLS: Tool[] = [
+2 -2
View File
@@ -25,7 +25,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
id: "background-removal",
name: "Background Removal",
description: "Remove image backgrounds with AI",
estimatedSize: "700 MB - 1 GB",
estimatedSize: "3-4 GB",
enablesTools: ["remove-background", "passport-photo"],
},
"face-detection": {
@@ -39,7 +39,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
id: "object-eraser-colorize",
name: "Object Eraser & Colorize",
description: "Erase objects from photos and colorize B&W images",
estimatedSize: "600-800 MB",
estimatedSize: "1-2 GB",
enablesTools: ["erase-object", "colorize"],
},
"upscale-enhance": {