From 2d99eec8ae84cc1f065bbe16666f3f4df01ff43b Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 12:43:20 +0800 Subject: [PATCH 1/7] chore: bump deps --- package.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 65e657daf..452520f1d 100644 --- a/package.json +++ b/package.json @@ -42,13 +42,13 @@ "build:linux:x64": "pnpm run build && electron-builder --linux --x64", "build:linux:arm64": "pnpm run build && electron-builder --linux --arm64", "afterSign": "scripts/notarize.js", - "installRuntime": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun", - "installRuntime:win:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a x64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a x64 -p win32", - "installRuntime:win:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a arm64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a arm64 -p win32", - "installRuntime:mac:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a arm64 -p darwin && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun -a arm64 -p darwin", - "installRuntime:mac:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a x64 -p darwin && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun -a x64 -p darwin", - "installRuntime:linux:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a x64 -p linux && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun -a x64 -p linux", - "installRuntime:linux:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv -a arm64 -p linux && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun -a arm64 -p linux", + "installRuntime": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 && npx -y tiny-runtime-injector --type bun --dir ./runtime/bun --runtime-version v1.2.20", + "installRuntime:win:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a x64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a x64 -p win32", + "installRuntime:win:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a arm64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a arm64 -p win32", + "installRuntime:mac:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a arm64 -p darwin && npx -y tiny-runtime-injector --type bun --runtime-version v1.2.20 --dir ./runtime/bun -a arm64 -p darwin", + "installRuntime:mac:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a x64 -p darwin && npx -y tiny-runtime-injector --type bun --runtime-version v1.2.20 --dir ./runtime/bun -a x64 -p darwin", + "installRuntime:linux:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a x64 -p linux && npx -y tiny-runtime-injector --type bun --runtime-version v1.2.20 --dir ./runtime/bun -a x64 -p linux", + "installRuntime:linux:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.8.8 -a arm64 -p linux && npx -y tiny-runtime-injector --type bun --runtime-version v1.2.20 --dir ./runtime/bun -a arm64 -p linux", "installRuntime:duckdb:vss": "node scripts/installVss.js", "i18n": "i18n-check -s zh-CN -f i18next --locales src/renderer/src/i18n", "i18n:en": "i18n-check -s en-US -f i18next --locales src/renderer/src/i18n", @@ -61,9 +61,9 @@ "@e2b/code-interpreter": "^1.5.1", "@electron-toolkit/preload": "^3.0.1", "@electron-toolkit/utils": "^4.0.0", - "@google/genai": "^1.5.1", + "@google/genai": "^1.13.0", "@jxa/run": "^1.4.0", - "@modelcontextprotocol/sdk": "^1.13.1", + "@modelcontextprotocol/sdk": "^1.17.2", "axios": "^1.7.9", "better-sqlite3-multiple-ciphers": "11.10.0", "cheerio": "^1.0.0", @@ -152,9 +152,9 @@ "vite-plugin-monaco-editor-esm": "^2.0.2", "vite-plugin-vue-devtools": "^8.0.0", "vite-svg-loader": "^5.1.0", - "vitest": "^3.2.3", - "vue": "^3.5.14", - "vue-i18n": "^11.1.3", + "vitest": "^3.2.4", + "vue": "^3.5.18", + "vue-i18n": "^11.1.11", "vue-renderer-markdown": "^0.0.32", "vue-router": "4", "vue-tsc": "^2.2.10", @@ -162,7 +162,7 @@ "vue-virtual-scroller": "^2.0.0-beta.8", "vuedraggable": "^4.1.0", "yaml": "^2.8.0", - "zod-to-json-schema": "^3.24.5" + "zod-to-json-schema": "^3.24.6" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged && pnpm typecheck", From 0277e8ffbf4ea54521dd418246b3d8e450b97934 Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 13:00:12 +0800 Subject: [PATCH 2/7] fix: rolldown-vite 7.1.0 and duckdb bundle issue --- electron.vite.config.ts | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/electron.vite.config.ts b/electron.vite.config.ts index 56aab5259..686c0accc 100644 --- a/electron.vite.config.ts +++ b/electron.vite.config.ts @@ -23,7 +23,7 @@ export default defineConfig({ }, build: { rollupOptions: { - external: ['sharp'], + external: ['sharp','@duckdb/node-api'], output: { inlineDynamicImports: true, manualChunks: undefined, // Disable automatic chunk splitting diff --git a/package.json b/package.json index 452520f1d..64400b206 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ "tailwindcss-animate": "^1.0.7", "tippy.js": "^6.3.7", "typescript": "^5.8.3", - "vite": "npm:rolldown-vite@7.0.12", + "vite": "npm:rolldown-vite@7.1.0", "vite-plugin-monaco-editor-esm": "^2.0.2", "vite-plugin-vue-devtools": "^8.0.0", "vite-svg-loader": "^5.1.0", @@ -178,7 +178,7 @@ }, "pnpm": { "overrides": { - "vite": "npm:rolldown-vite@7.0.12" + "vite": "npm:rolldown-vite@7.1.0" }, "onlyBuiltDependencies": [ "@tailwindcss/oxide", From 0c12034ea942089264abdcaf8207dc272eb33611 Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 15:31:15 +0800 Subject: [PATCH 3/7] chore: back to vite --- README.jp.md | 1 - README.md | 1 - README.zh.md | 1 - package.json | 5 +---- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.jp.md b/README.jp.md index 4f95a6c07..54a994c5d 100644 --- a/README.jp.md +++ b/README.jp.md @@ -325,7 +325,6 @@ deepchatへの貢献をご検討いただきありがとうございます!貢 - [Vue](https://vuejs.org/) - [Electron](https://www.electronjs.org/) - [Electron-Vite](https://electron-vite.org/) -- [Rolldown-Vite](https://github.com/vitejs/rolldown-vite) - [oxlint](https://github.com/oxc-project/oxc) ## 📃 ライセンス diff --git a/README.md b/README.md index ebb5fa17a..c82bbbe1d 100644 --- a/README.md +++ b/README.md @@ -331,7 +331,6 @@ This project is built with the help of these awesome libraries: - [Vue](https://vuejs.org/) - [Electron](https://www.electronjs.org/) - [Electron-Vite](https://electron-vite.org/) -- [Rolldown-Vite](https://github.com/vitejs/rolldown-vite) - [oxlint](https://github.com/oxc-project/oxc) ## 📃 License diff --git a/README.zh.md b/README.zh.md index b80bf7731..59cd8f09e 100644 --- a/README.zh.md +++ b/README.zh.md @@ -325,7 +325,6 @@ DeepChat是一个活跃的开源社区项目,我们欢迎各种形式的贡献 - [Vue](https://vuejs.org/) - [Electron](https://www.electronjs.org/) - [Electron-Vite](https://electron-vite.org/) -- [Rolldown-Vite](https://github.com/vitejs/rolldown-vite) - [oxlint](https://github.com/oxc-project/oxc) ## 📃 许可证 diff --git a/package.json b/package.json index 64400b206..781cbbde6 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ "tailwindcss-animate": "^1.0.7", "tippy.js": "^6.3.7", "typescript": "^5.8.3", - "vite": "npm:rolldown-vite@7.1.0", + "vite": "7.1.1", "vite-plugin-monaco-editor-esm": "^2.0.2", "vite-plugin-vue-devtools": "^8.0.0", "vite-svg-loader": "^5.1.0", @@ -177,9 +177,6 @@ ] }, "pnpm": { - "overrides": { - "vite": "npm:rolldown-vite@7.1.0" - }, "onlyBuiltDependencies": [ "@tailwindcss/oxide", "electron", From d04b469b3c815160e532471fa5f40bfadcdf772d Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 17:35:27 +0800 Subject: [PATCH 4/7] chore: update electron --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 781cbbde6..6c32ad8f7 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "dompurify": "^3.2.4", - "electron": "^35.5.1", + "electron": "^36.7.4", "electron-builder": "26.0.12", "electron-vite": "^4.0.0", "jsdom": "^26.1.0", From c261ad7ce0917ab1637750e5d07e7733c75d9475 Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 17:52:17 +0800 Subject: [PATCH 5/7] chore: update versions --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6c32ad8f7..8ae9eb263 100644 --- a/package.json +++ b/package.json @@ -78,12 +78,12 @@ "file-type": "^20.5.0", "glob": "^11.0.3", "https-proxy-agent": "^7.0.6", - "jsonrepair": "^3.12.0", + "jsonrepair": "^3.13.0", "mammoth": "^1.9.0", "mime-types": "^2.1.35", "nanoid": "^5.1.5", "ollama": "^0.5.16", - "openai": "^5.3.0", + "openai": "^5.12.2", "pdf-parse-new": "^1.3.9", "run-applescript": "^7.0.0", "sharp": "^0.33.5", @@ -121,18 +121,18 @@ "@types/node": "^22.14.1", "@types/xlsx": "^0.0.35", "@vitejs/plugin-vue": "^6.0.1", - "@vitest/ui": "^3.2.3", + "@vitest/ui": "^3.2.4", "@vue/test-utils": "^2.4.6", "@vueuse/core": "^12.7.0", - "autoprefixer": "^10.4.20", + "autoprefixer": "^10.4.21", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "dompurify": "^3.2.4", + "dompurify": "^3.2.6", "electron": "^36.7.4", "electron-builder": "26.0.12", "electron-vite": "^4.0.0", "jsdom": "^26.1.0", - "lint-staged": "^16.1.2", + "lint-staged": "^16.1.5", "lucide-vue-next": "^0.511.0", "mermaid": "^11.6.0", "minimatch": "^10.0.1", From 53b886ba9cbd0bcdd025e54af9bfde8fd0fc2d8b Mon Sep 17 00:00:00 2001 From: Simon He <57086651+Simon-He95@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:15:52 +0800 Subject: [PATCH 6/7] fix(math): parser by upgrade vue-renderer-markdown (#722) --- package.json | 2 +- tailwind.config.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 8ae9eb263..314636906 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "vitest": "^3.2.4", "vue": "^3.5.18", "vue-i18n": "^11.1.11", - "vue-renderer-markdown": "^0.0.32", + "vue-renderer-markdown": "^0.0.34", "vue-router": "4", "vue-tsc": "^2.2.10", "vue-use-monaco": "^0.0.6", diff --git a/tailwind.config.js b/tailwind.config.js index 76439fbff..c85e87e7b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -11,8 +11,6 @@ module.exports = { './components/**/*.{ts,tsx,vue}', './app/**/*.{ts,tsx,vue}', './src/**/*.{ts,tsx,vue}', - './node_modules/vue-renderer-markdown/dist/tailwind.ts', - './node_modules/vue-renderer-markdown/dist/index.css' ], fontFamily: { From 954a264a6de05cb00dd15f1c1bb62c44d3750b17 Mon Sep 17 00:00:00 2001 From: zerob13 Date: Mon, 11 Aug 2025 12:43:20 +0800 Subject: [PATCH 7/7] chore: bump deps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 314636906..5219feee4 100644 --- a/package.json +++ b/package.json @@ -152,10 +152,10 @@ "vite-plugin-monaco-editor-esm": "^2.0.2", "vite-plugin-vue-devtools": "^8.0.0", "vite-svg-loader": "^5.1.0", + "vue-renderer-markdown": "^0.0.34", "vitest": "^3.2.4", "vue": "^3.5.18", "vue-i18n": "^11.1.11", - "vue-renderer-markdown": "^0.0.34", "vue-router": "4", "vue-tsc": "^2.2.10", "vue-use-monaco": "^0.0.6",