60130b3d9b
Move PSD generation off the server. The image-generation API only produces raster formats, so drop the PSD request path, the oov/psd decoder, and the LayeredDocumentGenerator wiring. Layer separation now returns clean background, foreground, and text_render_data artifacts into a transparent frame. Export that frame (or any image node) as PSD from the canvas context menu: ag-psd assembles layers, rotation/flip, opacity, editable text, and stroke effects from the current canvas state at download time. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
36 lines
1018 B
JSON
36 lines
1018 B
JSON
{
|
|
"name": "img-infinite-canvas-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev -H 0.0.0.0 -p 5173",
|
|
"dev:vite": "vite --host 0.0.0.0",
|
|
"build": "tsc -b && next build && vite build",
|
|
"start": "next start -H 0.0.0.0 -p 3000",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-context-menu": "^2.3.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.19",
|
|
"@radix-ui/react-popover": "^1.1.18",
|
|
"@radix-ui/react-scroll-area": "^1.2.13",
|
|
"@radix-ui/react-switch": "^1.3.2",
|
|
"@radix-ui/react-tabs": "^1.1.16",
|
|
"ag-psd": "31.0.2",
|
|
"lucide-react": "^1.23.0",
|
|
"next": "^16.2.10",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "26.1.0",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.1.3",
|
|
"vite-plugin-compression2": "^2.5.3"
|
|
}
|
|
}
|