8b6682c325
feat: enterprise version feat: enhance login functionality and UI improvements - Added last login method tracking in the auth state to remember user preferences. - Updated the login page to support switching between SSO and password login modes, improving user experience. - Enhanced UI elements, including background image and button styles, for a more modern look. - Introduced a new chat item in the launchpad with appropriate styling. - Added translations for the new chat feature across multiple languages. chore: update @cherrystudio/api-sdk to version 0.0.43 and refactor related code - Updated the dependency version of @cherrystudio/api-sdk from 0.0.41 to 0.0.43 in package.json and yarn.lock. - Refactored code in format.ts and index.ts to replace references from Agent to Assistant for improved clarity and consistency in the sync process. - Adjusted function names and parameters accordingly to reflect the changes in the data model. chore: upgrade api-sdk refactor: mcp server edit chore: upgrade api-sdk chore: upgrade api-sdk chore: remove outdated GitHub workflows and Dependabot configuration - Deleted the Dependabot configuration file to streamline dependency management. - Removed the dispatch-docs-update workflow, which was no longer needed for release documentation updates. refactor: remove AGENT.md and enhance custom parameters formatting - Deleted the AGENT.md file as it was no longer needed. - Added a new function to format custom parameters in the sync service, improving the handling of assistant settings. - Updated the formatAssistant function to include formatted custom parameters. fix: sync mcp servers feat: enhance user profile settings and internationalization - Integrated server URL display in the user profile settings. - Updated logout confirmation messages to use enterprise-specific translations. - Refactored login page to utilize enterprise translations for error messages and placeholders, improving localization support across multiple languages. chore(version): 1.5.61 refactor: update MCPToolsButton color logic and adjust knowledge recognition default - Simplified the color logic for the MCPToolsButton based on the presence of MCP servers. - Changed the default value of knowledge recognition from 'on' to 'off' in ApiService. - Updated minApps state management to conditionally include logos based on server status. - Enhanced sync settings to include new preprocess provider configurations and proxy settings. chore: update enterprise protocol and version - Changed protocol name from 'cherrystudio' to 'cherrystudio-enterprise' in electron-builder configuration and related files. - Updated application version to 1.5.111 in package.json. feat: add support for webview proxy configuration - Introduced a new IPC channel `App_ProxyForWebview` to handle proxy settings specifically for webview sessions. - Updated `ProxyManager` to manage webview proxy settings, ensuring that the proxy is applied only when necessary. - Enhanced the preload API to include a method for setting the webview proxy. - Updated the sync settings functionality to synchronize webview proxy settings from user preferences. feat: enhance protocol handling for Cherry Studio - Added support for the new `CHERRY_STUDIO_ENTERPRISE_PROTOCOL` in the application. - Updated URL handling to recognize both `CHERRY_STUDIO_PROTOCOL` and `CHERRY_STUDIO_ENTERPRISE_PROTOCOL`. - Modified the default protocol client registration to include the new enterprise protocol.