Add Tauri desktop scaffolding and improve response rendering.

This updates project metadata/scripts for desktop builds, adds Tauri app files, refreshes release artifacts, and improves results preview handling for structured and think-tagged responses.

Made-with: Cursor
This commit is contained in:
Xin Wang
2026-04-30 13:57:58 +08:00
parent f0aeb22f77
commit 86d499245c
70 changed files with 16403 additions and 7 deletions

31
src-tauri/tauri.conf.json Normal file
View File

@@ -0,0 +1,31 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Dify Batch Tester",
"version": "0.0.0",
"identifier": "com.wangx.dify-batch-tester",
"build": {
"beforeDevCommand": "npm run dev:tauri",
"devUrl": "http://localhost:3000",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "Dify Batch Tester",
"width": 1280,
"height": 860,
"minWidth": 1024,
"minHeight": 700,
"resizable": true
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all"
}
}