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",
},
{
id: "content-aware-crop",
name: "Content-Aware Crop",
description: "Extend canvas beyond image bounds with AI-powered fill",
id: "ai-canvas-expand",
name: "AI Canvas Expand",
description: "Expand canvas with AI-powered fill",
category: "ai",
icon: "Expand",
route: "/content-aware-crop",
route: "/ai-canvas-expand",
},
{
id: "transparency-fixer",
@@ -1248,5 +1248,5 @@ export const PYTHON_SIDECAR_TOOLS = [
"restore-photo",
"passport-photo",
"transparency-fixer",
"content-aware-crop",
"ai-canvas-expand",
] as const;
+1 -1
View File
@@ -40,7 +40,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
name: "Object Eraser & Colorize",
description: "Erase objects from photos and colorize B&W images",
estimatedSize: "1-2 GB",
enablesTools: ["erase-object", "colorize", "content-aware-crop"],
enablesTools: ["erase-object", "colorize", "ai-canvas-expand"],
},
"upscale-enhance": {
id: "upscale-enhance",