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",
|
||||
},
|
||||
{
|
||||
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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user