Files
claudia/src-tauri/tauri.conf.json
Mufeed VH 93ce8b656f feat: add image preview with drag-and-drop support
- Add ImagePreview component for displaying embedded image thumbnails
- Enable drag-and-drop functionality for images in FloatingPromptInput
- Configure Tauri asset protocol to properly serve local image files
- Support image mentions via @path syntax in prompts
- Add visual feedback for drag hover states
- Implement full-size image preview dialog with navigation
- Handle duplicate images and limit preview to 10 thumbnails
2025-06-22 01:50:29 +05:30

46 lines
1.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Claudia",
"version": "0.1.0",
"identifier": "claudia.asterisk.so",
"build": {
"beforeDevCommand": "bun run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "bun run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "Claudia",
"width": 800,
"height": 600
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost blob: data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'",
"assetProtocol": {
"enable": true,
"scope": ["**"]
}
}
},
"plugins": {
"fs": {
"scope": ["$HOME/**"],
"allow": ["readFile", "writeFile", "readDir", "copyFile", "createDir", "removeDir", "removeFile", "renameFile", "exists"]
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}