🐛 fix: resolve server version check issue for desktop app#11834
Conversation
- Fix version check to only run for self-hosted remote server mode - Get remote server URL from electron store for proper origin detection - Remove unnecessary isDesktop parameter from useCheckServerVersion hook
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## next #11834 +/- ##
==========================================
- Coverage 73.70% 73.69% -0.02%
==========================================
Files 1214 1214
Lines 97939 97961 +22
Branches 12706 11097 -1609
==========================================
+ Hits 72188 72193 +5
- Misses 25660 25677 +17
Partials 91 91
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
❤️ Great PR @Innei ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
## [Version 2.0.0-next.379](v2.0.0-next.378...v2.0.0-next.379) <sup>Released on **2026-01-25**</sup> #### ✨ Features - **utils**: Added `trimBasedOnBatchProbe` for truncating without compromising structured data. #### 🐛 Bug Fixes - **desktop**: Prevent duplicate IPC handler registration from dynamic imports. - **misc**: Fix update memory tools, resolve server version check issue for desktop app, slove the descktop use offical endpoint mcp not use stdio. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **utils**: Added `trimBasedOnBatchProbe` for truncating without compromising structured data, closes [#11836](#11836) ([6dac3d1](6dac3d1)) #### What's fixed * **desktop**: Prevent duplicate IPC handler registration from dynamic imports, closes [#11827](#11827) ([c3fd2dc](c3fd2dc)) * **misc**: Fix update memory tools, closes [#11831](#11831) ([cfc03dd](cfc03dd)) * **misc**: Resolve server version check issue for desktop app, closes [#11834](#11834) ([0bd2a59](0bd2a59)) * **misc**: Slove the descktop use offical endpoint mcp not use stdio, closes [#11813](#11813) ([370bf16](370bf16)) </details> <div align="right"> [](#readme-top) </div>
|
🎉 This PR is included in version 2.0.0-next.379 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
isDesktopparameter fromuseCheckServerVersionhookTest Plan