mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -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;
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user