fix: rename content-aware-crop to ai-canvas-expand in shared constants

The tool was renamed in routes, registry, and manifest but the TOOLS[]
and FEATURE_BUNDLES references still used the old name, breaking CI.
This commit is contained in:
SnapOtter
2026-05-13 20:28:14 +08:00
parent beb94b698c
commit bc0cac42e3
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -250,12 +250,12 @@ export const TOOLS: Tool[] = [
route: "/content-aware-resize", route: "/content-aware-resize",
}, },
{ {
id: "content-aware-crop", id: "ai-canvas-expand",
name: "Content-Aware Crop", name: "AI Canvas Expand",
description: "Extend canvas beyond image bounds with AI-powered fill", description: "Expand canvas with AI-powered fill",
category: "ai", category: "ai",
icon: "Expand", icon: "Expand",
route: "/content-aware-crop", route: "/ai-canvas-expand",
}, },
{ {
id: "transparency-fixer", id: "transparency-fixer",
@@ -1248,5 +1248,5 @@ export const PYTHON_SIDECAR_TOOLS = [
"restore-photo", "restore-photo",
"passport-photo", "passport-photo",
"transparency-fixer", "transparency-fixer",
"content-aware-crop", "ai-canvas-expand",
] as const; ] as const;
+1 -1
View File
@@ -40,7 +40,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
name: "Object Eraser & Colorize", name: "Object Eraser & Colorize",
description: "Erase objects from photos and colorize B&W images", description: "Erase objects from photos and colorize B&W images",
estimatedSize: "1-2 GB", estimatedSize: "1-2 GB",
enablesTools: ["erase-object", "colorize", "content-aware-crop"], enablesTools: ["erase-object", "colorize", "ai-canvas-expand"],
}, },
"upscale-enhance": { "upscale-enhance": {
id: "upscale-enhance", id: "upscale-enhance",