-
-
Notifications
You must be signed in to change notification settings - Fork 13.5k
♻️ refactor: clean mcp sitemap #8596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Reviewer's GuideThis refactor removes all MCP-specific sitemap functionality and related identifier endpoints and hooks, streamlining sitemap generation by dropping MCP pagination, methods, tests, API routes, and client hooks. Class diagram for Sitemap class after MCP sitemap removalclassDiagram
class Sitemap {
+getPluginPageCount()
+getAssistantPageCount()
+getModelPageCount()
+getPlugins(page?)
+getAssistants(page?)
+getModels(page?)
+getProviders(page?)
+getIndex()
}
Class diagram for DiscoverService after MCP identifier removalclassDiagram
class DiscoverService {
+getMcpList(params)
+getPluginIdentifiers()
+getModelIdentifiers()
+getProviderIdentifiers()
...
}
Class diagram for MCPAction interface after MCP identifier hook removalclassDiagram
class MCPAction {
+useFetchMcpDetail(params)
+useFetchMcpList(params)
+useMcpCategories(params)
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
TestGru AssignmentSummary
Files
Tip You can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8596 +/- ##
==========================================
+ Coverage 85.62% 85.64% +0.01%
==========================================
Files 910 910
Lines 69311 69266 -45
Branches 6631 4759 -1872
==========================================
- Hits 59350 59321 -29
+ Misses 9961 9945 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
❤️ Great PR @arvinxx ❤️ 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 1.105.2](v1.105.1...v1.105.2) <sup>Released on **2025-07-29**</sup> #### ♻ Code Refactoring - **misc**: Clean mcp sitemap, refactor jose-JWT to xor obfuscation. #### 💄 Styles - **misc**: Add more OpenAI SDK Text2Image providers, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Clean mcp sitemap, closes [#8596](#8596) ([b9e3e66](b9e3e66)) * **misc**: Refactor jose-JWT to xor obfuscation, closes [#8595](#8595) ([be98d56](be98d56)) #### Styles * **misc**: Add more OpenAI SDK Text2Image providers, closes [#8573](#8573) ([403aebd](403aebd)) * **misc**: Update i18n, closes [#8593](#8593) ([356cf0c](356cf0c)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.105.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.104.1](v1.104.0...v1.104.1) <sup>Released on **2025-07-29**</sup> #### ♻ Code Refactoring - **misc**: Clean mcp sitemap, refactor jose-JWT to xor obfuscation. #### 💄 Styles - **misc**: Add more OpenAI SDK Text2Image providers, support more Text2Image from Qwen, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Clean mcp sitemap, closes [lobehub#8596](https://github.com/jaworldwideorg/OneJA-Bot/issues/8596) ([b9e3e66](b9e3e66)) * **misc**: Refactor jose-JWT to xor obfuscation, closes [lobehub#8595](https://github.com/jaworldwideorg/OneJA-Bot/issues/8595) ([be98d56](be98d56)) #### Styles * **misc**: Add more OpenAI SDK Text2Image providers, closes [lobehub#8573](https://github.com/jaworldwideorg/OneJA-Bot/issues/8573) ([403aebd](403aebd)) * **misc**: Support more Text2Image from Qwen, closes [lobehub#8574](https://github.com/jaworldwideorg/OneJA-Bot/issues/8574) ([b8c0e2d](b8c0e2d)) * **misc**: Update i18n, closes [lobehub#8593](https://github.com/jaworldwideorg/OneJA-Bot/issues/8593) ([356cf0c](356cf0c)) </details> <div align="right"> [](#readme-top) </div>
### [Version 1.105.2](lobehub/lobe-chat@v1.105.1...v1.105.2) <sup>Released on **2025-07-29**</sup> #### ♻ Code Refactoring - **misc**: Clean mcp sitemap, refactor jose-JWT to xor obfuscation. #### 💄 Styles - **misc**: Add more OpenAI SDK Text2Image providers, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Clean mcp sitemap, closes [lobehub#8596](lobehub#8596) ([9715349](lobehub@9715349)) * **misc**: Refactor jose-JWT to xor obfuscation, closes [lobehub#8595](lobehub#8595) ([06b7164](lobehub@06b7164)) #### Styles * **misc**: Add more OpenAI SDK Text2Image providers, closes [lobehub#8573](lobehub#8573) ([221488e](lobehub@221488e)) * **misc**: Update i18n, closes [lobehub#8593](lobehub#8593) ([89d4059](lobehub@89d4059)) </details> <div align="right"> [](#readme-top) </div>
### [Version 1.105.2](lobehub/lobe-chat@v1.105.1...v1.105.2) <sup>Released on **2025-07-29**</sup> #### ♻ Code Refactoring - **misc**: Clean mcp sitemap, refactor jose-JWT to xor obfuscation. #### 💄 Styles - **misc**: Add more OpenAI SDK Text2Image providers, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Clean mcp sitemap, closes [lobehub#8596](lobehub#8596) ([b9e3e66](lobehub@b9e3e66)) * **misc**: Refactor jose-JWT to xor obfuscation, closes [lobehub#8595](lobehub#8595) ([be98d56](lobehub@be98d56)) #### Styles * **misc**: Add more OpenAI SDK Text2Image providers, closes [lobehub#8573](lobehub#8573) ([403aebd](lobehub@403aebd)) * **misc**: Update i18n, closes [lobehub#8593](lobehub#8593) ([356cf0c](lobehub@356cf0c)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
Summary by Sourcery
Remove obsolete MCP sitemap functionality and cleanup related code across services, routers, tests, and client integration
Enhancements: