Files
Folo/locales/errors/en.json
T
Innei 0c9977d5d3 feat(ai): implement MCP service integration for enhanced AI capabilities (#4359)
* feat(ai): implement MCP service integration for enhanced AI capabilities

- Added functionality to manage MCP services, including adding, updating, removing, and connecting to services.
- Introduced UI components for MCP service management, allowing users to enable MCP services and discover service endpoints.
- Updated AI settings to include MCP service configurations and integrated translations for new UI elements.
- Enhanced error handling and user feedback for service connection and discovery processes.

These changes collectively extend the AI capabilities by integrating external services through secure OAuth connections, improving the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(mcp): update MCP service integration and enhance settings management

- Upgraded '@follow-app/client-sdk' to version 0.3.38, reflecting the latest changes in MCP service management.
- Removed deprecated MCP service functions and streamlined the integration process for better performance.
- Introduced new UI components for managing MCP connections, including transport type selection and header configuration.
- Enhanced error handling and user feedback for service connection and discovery processes.
- Updated translations for new UI elements related to MCP services.

These changes collectively improve the user experience by providing a more robust and intuitive interface for managing external services through secure OAuth connections.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance ToolInvocationComponent with error handling and UI updates

- Added error handling to ToolInvocationComponent, displaying error messages and visual indicators when tool execution fails.
- Updated the UI to reflect tool status, changing icons and text based on success or failure.
- Improved styling for the back button in ChatInterfaceContent for a more consistent appearance.

These changes improve user feedback and interaction within the AI chat interface, enhancing overall usability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ai): streamline MCPServiceItem layout for improved readability

- Removed redundant resource and prompt counts from the MCPServiceItem component to simplify the display.
- Adjusted the layout to enhance the presentation of service details, including tools, creation date, and last used date.

These changes improve the clarity and usability of the MCP service information within the AI settings interface.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update deps

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-19 23:34:19 +08:00

85 lines
3.0 KiB
JSON

{
"1": "Previous operation is not completed",
"3": "Unprocessable content",
"4": "Invalid input",
"5": "Missing configuration",
"6": "Not found",
"1000": "Unauthorized",
"1001": "create session failed",
"1002": "Invalid parameter",
"1003": "Invalid invitation",
"1004": "No permission",
"1005": "Internal error",
"1006": "Email not verified",
"1007": "Captcha verification failed",
"1100": "Trial user max feed subscription exceeded",
"1101": "Trial user max list subscription exceeded",
"1102": "Trial user max inbox subscription exceeded",
"1103": "Trial user no permission",
"2000": "Only admins can refresh feeds",
"2001": "Feed not found",
"2002": "feedId or url required",
"2003": "Feed fetch error",
"2004": "Feed failed to parse",
"2010": "Ownership challenge failed",
"2011": "Subscription limit exceeded",
"3000": "Entry not found",
"4000": "Already claimed",
"4001": "User wallet error",
"4002": "Insufficient balance",
"4003": "Feed insufficient withdrawable balance",
"4004": "Target user wallet error",
"4005": "Daily power calculation in progress",
"4006": "Invalid boost amount",
"4007": "Invalid two factor code",
"4008": "Two factor code required",
"4010": "Airdrop not eligible",
"4011": "Airdrop is sending",
"4012": "Airdrop already sent",
"4013": "Airdrop not verified",
"5000": "Invitation limit exceeded. Please try again in a few days.",
"5001": "Invitation already exists.",
"5002": "Invitation code already used.",
"5003": "Invitation code does not exist.",
"6000": "User not found",
"7000": "Setting not found",
"7001": "Invalid setting tab",
"7002": "Invalid setting payload",
"7003": "Setting payload too large",
"8000": "List not found",
"8001": "List permission denied",
"8002": "List limit exceeded",
"8003": "Feed already added to list",
"8004": "Cannot delete a list with subscriptions.",
"9000": "Achievement not completed",
"9001": "Achievement already received",
"9002": "Achievement is under audit",
"9003": "Achievement audit not needed",
"10000": "Inbox not found",
"10001": "Inbox already exists",
"10002": "Inbox limit exceeded",
"10003": "Inbox permission denied",
"12000": "Action limit exceeded",
"13000": "RSSHub route not found",
"13001": "You are not the owner of this RSSHub instance",
"13002": "RSSHub is in use",
"13003": "RSSHub not found",
"13004": "RSSHub user limit exceeded",
"13005": "RSSHub purchase not found",
"13006": "RSSHub config invalid",
"13007": "This RSSHub instance is unavailable currently",
"14000": "Invalid file",
"14001": "File too large",
"14002": "Upload failed",
"15000": "AI token limit exceeded. Please try again later.",
"15001": "You are not allowed to access AI chat",
"16000": "MCP OAuth error",
"16001": "MCP discovery error",
"16002": "MCP service not found",
"16003": "Invalid or expired OAuth state",
"16004": "Token exchange failed",
"16005": "User MCP service not found",
"16006": "MCP configuration error",
"16007": "MCP tool execution failed"
}