🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat: add tool agents in tool detail page (#11993)
Rdmclin2501352e0350a
diff --git a/locales/ar/discover.json b/locales/ar/discover.jsonindex 441ca97a09a..b5c9864eb9f 100644--- a/locales/ar/discover.json+++ b/locales/ar/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "الطقس","mcp.categories.web-search.description": "البحث على الويب واسترجاع المعلومات","mcp.categories.web-search.name": "استرجاع المعلومات",+ "mcp.details.agents.empty": "لا يوجد وكلاء يستخدمون هذه المهارة بعد",+ "mcp.details.agents.networkError": "فشل في تحميل البيانات. تحقق من الاتصال بالشبكة وحاول مرة أخرى.",+ "mcp.details.agents.title": "الوكلاء الذين يستخدمون هذه المهارة","mcp.details.connectionType.hybrid.desc": "يمكن تشغيل هذه الخدمة محليًا أو عبر السحابة حسب الإعداد أو سيناريو الاستخدام، مما يوفر إمكانية التشغيل المزدوج.","mcp.details.connectionType.hybrid.title": "خدمة هجينة","mcp.details.connectionType.local.desc": "يمكن تشغيل هذا الخادم فقط على جهاز المستخدم المحلي، ويتطلب التثبيت ويعتمد على الموارد المحلية.",diff --git a/locales/ar/plugin.json b/locales/ar/plugin.jsonindex 45c44ce2b77..bd19e6a99d1 100644--- a/locales/ar/plugin.json+++ b/locales/ar/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "المؤلف","skillDetail.details": "التفاصيل","skillDetail.developedBy": "تم التطوير بواسطة",+ "skillDetail.networkError": "فشل في تحميل البيانات. تحقق من الاتصال بالشبكة وحاول مرة أخرى.",+ "skillDetail.noAgents": "لا يوجد وكلاء يستخدمون هذه المهارة حتى الآن",+ "skillDetail.tabs.agents": "الوكلاء الذين يستخدمون هذه المهارة","skillDetail.tabs.overview": "نظرة عامة","skillDetail.tabs.tools": "القدرات","skillDetail.tools": "الأدوات",diff --git a/locales/bg-BG/discover.json b/locales/bg-BG/discover.jsonindex f402d54a907..e5ebae4f415 100644--- a/locales/bg-BG/discover.json+++ b/locales/bg-BG/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Времето","mcp.categories.web-search.description": "Уеб търсене и извличане на информация","mcp.categories.web-search.name": "Извличане на информация",+ "mcp.details.agents.empty": "Все още няма агенти, които използват този умение",+ "mcp.details.agents.networkError": "Неуспешно зареждане на данни. Проверете мрежовата връзка и опитайте отново.",+ "mcp.details.agents.title": "Агенти, използващи този умение","mcp.details.connectionType.hybrid.desc": "Тази услуга може да работи локално или в облака в зависимост от конфигурацията или сценария на използване, предлагайки възможност за двойна работа.","mcp.details.connectionType.hybrid.title": "Хибридна услуга","mcp.details.connectionType.local.desc": "Този сървър може да работи само на локалното устройство на клиента, изисква инсталация и разчита на локални ресурси.",diff --git a/locales/bg-BG/plugin.json b/locales/bg-BG/plugin.jsonindex 414b4bc0ce6..ac16ba5665c 100644--- a/locales/bg-BG/plugin.json+++ b/locales/bg-BG/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Автор","skillDetail.details": "Подробности","skillDetail.developedBy": "Разработено от",+ "skillDetail.networkError": "Неуспешно зареждане на данни. Проверете мрежовата връзка и опитайте отново.",+ "skillDetail.noAgents": "Все още няма агенти, които използват този умение",+ "skillDetail.tabs.agents": "Агенти, използващи това умение","skillDetail.tabs.overview": "Преглед","skillDetail.tabs.tools": "Възможности","skillDetail.tools": "Инструменти",diff --git a/locales/de-DE/discover.json b/locales/de-DE/discover.jsonindex 0943f4ba272..4bee8bcf73f 100644--- a/locales/de-DE/discover.json+++ b/locales/de-DE/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Wetter","mcp.categories.web-search.description": "Websuche und Informationsabruf","mcp.categories.web-search.name": "Informationsabruf",+ "mcp.details.agents.empty": "Noch keine Agenten verwenden diese Fähigkeit",+ "mcp.details.agents.networkError": "Daten konnten nicht geladen werden. Bitte Netzwerkverbindung prüfen und erneut versuchen.",+ "mcp.details.agents.title": "Agenten, die diese Fähigkeit nutzen","mcp.details.connectionType.hybrid.desc": "Dieser Dienst kann je nach Konfiguration oder Nutzungsszenario lokal oder in der Cloud ausgeführt werden und bietet eine duale Betriebsfähigkeit.","mcp.details.connectionType.hybrid.title": "Hybrider Dienst","mcp.details.connectionType.local.desc": "Dieser Server kann nur auf dem lokalen Gerät des Clients ausgeführt werden, erfordert eine Installation und nutzt lokale Ressourcen.",diff --git a/locales/de-DE/plugin.json b/locales/de-DE/plugin.jsonindex e6d6f263cd3..1e2dc6101f4 100644--- a/locales/de-DE/plugin.json+++ b/locales/de-DE/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Autor","skillDetail.details": "Details","skillDetail.developedBy": "Entwickelt von",+ "skillDetail.networkError": "Daten konnten nicht geladen werden. Bitte Netzwerkverbindung überprüfen und erneut versuchen.",+ "skillDetail.noAgents": "Derzeit verwendet kein Agent diese Fähigkeit",+ "skillDetail.tabs.agents": "Agenten, die diese Fähigkeit nutzen","skillDetail.tabs.overview": "Übersicht","skillDetail.tabs.tools": "Funktionen","skillDetail.tools": "Werkzeuge",diff --git a/locales/en-US/discover.json b/locales/en-US/discover.jsonindex e60666d4cba..7bc7054686c 100644--- a/locales/en-US/discover.json+++ b/locales/en-US/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Weather","mcp.categories.web-search.description": "Web Search and Information Retrieval","mcp.categories.web-search.name": "Information Retrieval",+ "mcp.details.agents.empty": "No agents are using this skill yet",+ "mcp.details.agents.networkError": "Failed to load data. Check network and retry.",+ "mcp.details.agents.title": "Agents Using This Skill","mcp.details.connectionType.hybrid.desc": "This service can run locally or in the cloud depending on configuration or usage scenario, offering dual operation capability.","mcp.details.connectionType.hybrid.title": "Hybrid Service","mcp.details.connectionType.local.desc": "This server can only run on the client’s local device, requiring installation and relying on local resources.",diff --git a/locales/en-US/plugin.json b/locales/en-US/plugin.jsonindex c7daa1b7ae3..9c7d5bcf2a9 100644--- a/locales/en-US/plugin.json+++ b/locales/en-US/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Author","skillDetail.details": "Details","skillDetail.developedBy": "Developed by",+ "skillDetail.networkError": "Failed to load data. Check network and retry.",+ "skillDetail.noAgents": "No agents are using this skill yet",+ "skillDetail.tabs.agents": "Agents Using This Skill","skillDetail.tabs.overview": "Overview","skillDetail.tabs.tools": "Capabilities","skillDetail.tools": "Tools",diff --git a/locales/es-ES/discover.json b/locales/es-ES/discover.jsonindex 3c7f8517cf7..92bf047f568 100644--- a/locales/es-ES/discover.json+++ b/locales/es-ES/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Clima","mcp.categories.web-search.description": "Búsqueda web y recuperación de información","mcp.categories.web-search.name": "Recuperación de información",+ "mcp.details.agents.empty": "Aún no hay agentes que usen esta habilidad",+ "mcp.details.agents.networkError": "No se pudo cargar la información. Verifica la conexión y vuelve a intentarlo.",+ "mcp.details.agents.title": "Agentes que usan esta habilidad","mcp.details.connectionType.hybrid.desc": "Este servicio puede ejecutarse localmente o en la nube según la configuración o el escenario de uso, ofreciendo capacidad de operación dual.","mcp.details.connectionType.hybrid.title": "Servicio Híbrido","mcp.details.connectionType.local.desc": "Este servidor solo puede ejecutarse en el dispositivo local del cliente, requiere instalación y depende de recursos locales.",diff --git a/locales/es-ES/plugin.json b/locales/es-ES/plugin.jsonindex 1aa008e94cd..d038fe8ea29 100644--- a/locales/es-ES/plugin.json+++ b/locales/es-ES/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Autor","skillDetail.details": "Detalles","skillDetail.developedBy": "Desarrollado por",+ "skillDetail.networkError": "No se pudo cargar la información. Verifica tu conexión a internet e inténtalo de nuevo.",+ "skillDetail.noAgents": "Aún no hay agentes que utilicen esta habilidad",+ "skillDetail.tabs.agents": "Agentes que usan esta habilidad","skillDetail.tabs.overview": "Resumen","skillDetail.tabs.tools": "Capacidades","skillDetail.tools": "Herramientas",diff --git a/locales/fa-IR/discover.json b/locales/fa-IR/discover.jsonindex db7a893ac0e..6d61592779f 100644--- a/locales/fa-IR/discover.json+++ b/locales/fa-IR/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "آبوهوا","mcp.categories.web-search.description": "جستجوی وب و بازیابی اطلاعات","mcp.categories.web-search.name": "بازیابی اطلاعات",+ "mcp.details.agents.empty": "هنوز هیچ عاملی از این مهارت استفاده نمیکند",+ "mcp.details.agents.networkError": "بارگذاری دادهها ناموفق بود. اتصال شبکه را بررسی کرده و دوباره تلاش کنید.",+ "mcp.details.agents.title": "عوامل استفادهکننده از این مهارت","mcp.details.connectionType.hybrid.desc": "این سرویس میتواند بسته به پیکربندی یا سناریوی استفاده، بهصورت محلی یا ابری اجرا شود و قابلیت عملکرد دوگانه را فراهم میکند.","mcp.details.connectionType.hybrid.title": "سرویس ترکیبی","mcp.details.connectionType.local.desc": "این سرور فقط روی دستگاه محلی کاربر اجرا میشود، نیاز به نصب دارد و به منابع محلی وابسته است.",diff --git a/locales/fa-IR/plugin.json b/locales/fa-IR/plugin.jsonindex f4a7ff7e327..3d30cda079c 100644--- a/locales/fa-IR/plugin.json+++ b/locales/fa-IR/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "نویسنده","skillDetail.details": "جزئیات","skillDetail.developedBy": "توسعهدهنده",+ "skillDetail.networkError": "بارگذاری دادهها ناموفق بود. اتصال شبکه را بررسی کرده و دوباره تلاش کنید.",+ "skillDetail.noAgents": "هنوز هیچ عاملی از این مهارت استفاده نمیکند",+ "skillDetail.tabs.agents": "عوامل استفادهکننده از این مهارت","skillDetail.tabs.overview": "نمای کلی","skillDetail.tabs.tools": "قابلیتها","skillDetail.tools": "ابزارها",diff --git a/locales/fr-FR/discover.json b/locales/fr-FR/discover.jsonindex f9e2f9b1ee1..3dcaba42d2b 100644--- a/locales/fr-FR/discover.json+++ b/locales/fr-FR/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Météo","mcp.categories.web-search.description": "Recherche web et récupération d'informations","mcp.categories.web-search.name": "Recherche d'information",+ "mcp.details.agents.empty": "Aucun agent n'utilise encore cette compétence",+ "mcp.details.agents.networkError": "Échec du chargement des données. Vérifiez votre connexion réseau et réessayez.",+ "mcp.details.agents.title": "Agents utilisant cette compétence","mcp.details.connectionType.hybrid.desc": "Ce service peut fonctionner localement ou dans le cloud selon la configuration ou le scénario d'utilisation, offrant une capacité de fonctionnement double.","mcp.details.connectionType.hybrid.title": "Service Hybride","mcp.details.connectionType.local.desc": "Ce serveur ne peut fonctionner que sur l'appareil local du client, nécessitant une installation et s'appuyant sur les ressources locales.",diff --git a/locales/fr-FR/plugin.json b/locales/fr-FR/plugin.jsonindex 1385f72005d..63f98a2fd79 100644--- a/locales/fr-FR/plugin.json+++ b/locales/fr-FR/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Auteur","skillDetail.details": "Détails","skillDetail.developedBy": "Développé par",+ "skillDetail.networkError": "Échec du chargement des données. Vérifiez votre connexion réseau et réessayez.",+ "skillDetail.noAgents": "Aucun agent n'utilise encore cette compétence",+ "skillDetail.tabs.agents": "Agents utilisant cette compétence","skillDetail.tabs.overview": "Aperçu","skillDetail.tabs.tools": "Fonctionnalités","skillDetail.tools": "Outils",diff --git a/locales/it-IT/discover.json b/locales/it-IT/discover.jsonindex a9a4c7aaace..5ee8f014724 100644--- a/locales/it-IT/discover.json+++ b/locales/it-IT/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Meteo","mcp.categories.web-search.description": "Ricerca web e recupero di informazioni","mcp.categories.web-search.name": "Recupero informazioni",+ "mcp.details.agents.empty": "Nessun agente sta ancora utilizzando questa competenza",+ "mcp.details.agents.networkError": "Caricamento dei dati non riuscito. Controlla la connessione di rete e riprova.",+ "mcp.details.agents.title": "Agenti che utilizzano questa competenza","mcp.details.connectionType.hybrid.desc": "Questo servizio può essere eseguito localmente o nel cloud a seconda della configurazione o dello scenario d'uso, offrendo una doppia modalità operativa.","mcp.details.connectionType.hybrid.title": "Servizio ibrido","mcp.details.connectionType.local.desc": "Questo server può essere eseguito solo sul dispositivo locale del client, richiede installazione e utilizza risorse locali.",diff --git a/locales/it-IT/plugin.json b/locales/it-IT/plugin.jsonindex 44e0ff09204..7c184d03f9e 100644--- a/locales/it-IT/plugin.json+++ b/locales/it-IT/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Autore","skillDetail.details": "Dettagli","skillDetail.developedBy": "Sviluppato da",+ "skillDetail.networkError": "Impossibile caricare i dati. Controlla la connessione di rete e riprova.",+ "skillDetail.noAgents": "Nessun agente sta ancora utilizzando questa competenza",+ "skillDetail.tabs.agents": "Agenti che utilizzano questa competenza","skillDetail.tabs.overview": "Panoramica","skillDetail.tabs.tools": "Funzionalità","skillDetail.tools": "Strumenti",diff --git a/locales/ja-JP/discover.json b/locales/ja-JP/discover.jsonindex dac03127b48..e6ee6d4bd05 100644--- a/locales/ja-JP/discover.json+++ b/locales/ja-JP/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "気象・天気","mcp.categories.web-search.description": "ウェブ検索と情報検索","mcp.categories.web-search.name": "情報検索",+ "mcp.details.agents.empty": "このスキルを使用しているエージェントはまだいません",+ "mcp.details.agents.networkError": "データの読み込みに失敗しました。ネットワークを確認して再試行してください。",+ "mcp.details.agents.title": "このスキルを使用しているエージェント","mcp.details.connectionType.hybrid.desc": "このサービスは設定や使用シーンに応じて、ローカルまたはクラウドで動作可能なハイブリッド型サービスです。","mcp.details.connectionType.hybrid.title": "ハイブリッドサービス","mcp.details.connectionType.local.desc": "このサーバーはクライアントのローカルデバイス上でのみ動作し、インストールとローカルリソースへの依存が必要です。",diff --git a/locales/ja-JP/plugin.json b/locales/ja-JP/plugin.jsonindex f793572959e..e559bb676ca 100644--- a/locales/ja-JP/plugin.json+++ b/locales/ja-JP/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "作成者","skillDetail.details": "詳細","skillDetail.developedBy": "開発者",+ "skillDetail.networkError": "データの読み込みに失敗しました。ネットワークを確認して再試行してください。",+ "skillDetail.noAgents": "このスキルを使用しているエージェントはまだいません",+ "skillDetail.tabs.agents": "このスキルを使用しているエージェント","skillDetail.tabs.overview": "概要","skillDetail.tabs.tools": "機能","skillDetail.tools": "ツール",diff --git a/locales/ko-KR/discover.json b/locales/ko-KR/discover.jsonindex 2a94d02a1c9..79be0e1e9ee 100644--- a/locales/ko-KR/discover.json+++ b/locales/ko-KR/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "날씨 & 기상","mcp.categories.web-search.description": "웹 검색 및 정보 검색","mcp.categories.web-search.name": "정보 검색",+ "mcp.details.agents.empty": "이 기술을 사용하는 에이전트가 아직 없습니다",+ "mcp.details.agents.networkError": "데이터를 불러오지 못했습니다. 네트워크를 확인하고 다시 시도하세요.",+ "mcp.details.agents.title": "이 기술을 사용하는 에이전트","mcp.details.connectionType.hybrid.desc": "이 서비스는 설정 또는 사용 시나리오에 따라 로컬 또는 클라우드에서 실행될 수 있으며, 이중 실행 기능을 갖추고 있습니다.","mcp.details.connectionType.hybrid.title": "하이브리드 서비스","mcp.details.connectionType.local.desc": "이 서버는 클라이언트의 로컬 장치에서만 실행되며, 로컬 리소스에 의존합니다.",diff --git a/locales/ko-KR/plugin.json b/locales/ko-KR/plugin.jsonindex 4b320959a1d..657ac51c4b5 100644--- a/locales/ko-KR/plugin.json+++ b/locales/ko-KR/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "작성자","skillDetail.details": "세부 정보","skillDetail.developedBy": "개발자",+ "skillDetail.networkError": "데이터를 불러오지 못했습니다. 네트워크를 확인한 후 다시 시도하세요.",+ "skillDetail.noAgents": "아직 이 스킬을 사용하는 에이전트가 없습니다.",+ "skillDetail.tabs.agents": "이 스킬을 사용하는 에이전트","skillDetail.tabs.overview": "개요","skillDetail.tabs.tools": "기능","skillDetail.tools": "도구",diff --git a/locales/nl-NL/discover.json b/locales/nl-NL/discover.jsonindex 43e13507e9c..91174a41ec3 100644--- a/locales/nl-NL/discover.json+++ b/locales/nl-NL/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Weer","mcp.categories.web-search.description": "Webzoekopdrachten en informatieopvraging","mcp.categories.web-search.name": "Informatieopvraging",+ "mcp.details.agents.empty": "Er gebruiken nog geen agenten deze vaardigheid",+ "mcp.details.agents.networkError": "Laden van gegevens mislukt. Controleer de netwerkverbinding en probeer het opnieuw.",+ "mcp.details.agents.title": "Agenten die deze vaardigheid gebruiken","mcp.details.connectionType.hybrid.desc": "Deze service kan lokaal of in de cloud draaien, afhankelijk van de configuratie of het gebruiksscenario, en biedt een dubbele gebruiksmogelijkheid.","mcp.details.connectionType.hybrid.title": "Hybride Service","mcp.details.connectionType.local.desc": "Deze server kan alleen draaien op het lokale apparaat van de gebruiker, vereist installatie en maakt gebruik van lokale bronnen.",diff --git a/locales/nl-NL/plugin.json b/locales/nl-NL/plugin.jsonindex 6657a4c57d2..fa02c509be7 100644--- a/locales/nl-NL/plugin.json+++ b/locales/nl-NL/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Auteur","skillDetail.details": "Details","skillDetail.developedBy": "Ontwikkeld door",+ "skillDetail.networkError": "Laden van gegevens mislukt. Controleer de netwerkverbinding en probeer het opnieuw.",+ "skillDetail.noAgents": "Er gebruiken nog geen agenten deze vaardigheid",+ "skillDetail.tabs.agents": "Agenten die deze vaardigheid gebruiken","skillDetail.tabs.overview": "Overzicht","skillDetail.tabs.tools": "Mogelijkheden","skillDetail.tools": "Hulpmiddelen",diff --git a/locales/pl-PL/discover.json b/locales/pl-PL/discover.jsonindex 33c128ac9a8..2628110ead8 100644--- a/locales/pl-PL/discover.json+++ b/locales/pl-PL/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Pogoda","mcp.categories.web-search.description": "Wyszukiwanie w sieci i pozyskiwanie informacji","mcp.categories.web-search.name": "Pozyskiwanie informacji",+ "mcp.details.agents.empty": "Żaden agent jeszcze nie korzysta z tej umiejętności",+ "mcp.details.agents.networkError": "Nie udało się załadować danych. Sprawdź połączenie sieciowe i spróbuj ponownie.",+ "mcp.details.agents.title": "Agenci korzystający z tej umiejętności","mcp.details.connectionType.hybrid.desc": "Usługa ta może działać lokalnie lub w chmurze, w zależności od konfiguracji lub scenariusza użycia, oferując możliwość podwójnego działania.","mcp.details.connectionType.hybrid.title": "Usługa Hybrydowa","mcp.details.connectionType.local.desc": "Ten serwer może działać wyłącznie na lokalnym urządzeniu klienta, wymaga instalacji i korzysta z lokalnych zasobów.",diff --git a/locales/pl-PL/plugin.json b/locales/pl-PL/plugin.jsonindex f38bfa69e4f..1877c290797 100644--- a/locales/pl-PL/plugin.json+++ b/locales/pl-PL/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Autor","skillDetail.details": "Szczegóły","skillDetail.developedBy": "Opracowane przez",+ "skillDetail.networkError": "Nie udało się załadować danych. Sprawdź połączenie sieciowe i spróbuj ponownie.",+ "skillDetail.noAgents": "Żaden agent jeszcze nie korzysta z tej umiejętności",+ "skillDetail.tabs.agents": "Agenci korzystający z tej umiejętności","skillDetail.tabs.overview": "Przegląd","skillDetail.tabs.tools": "Możliwości","skillDetail.tools": "Narzędzia",diff --git a/locales/pt-BR/discover.json b/locales/pt-BR/discover.jsonindex 02a233588ff..e0b296a639f 100644--- a/locales/pt-BR/discover.json+++ b/locales/pt-BR/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Clima","mcp.categories.web-search.description": "Busca na Web e Recuperação de Informações","mcp.categories.web-search.name": "Recuperação de Informação",+ "mcp.details.agents.empty": "Nenhum agente está usando esta habilidade ainda",+ "mcp.details.agents.networkError": "Falha ao carregar os dados. Verifique a conexão e tente novamente.",+ "mcp.details.agents.title": "Agentes que usam esta habilidade","mcp.details.connectionType.hybrid.desc": "Este serviço pode ser executado localmente ou na nuvem, dependendo da configuração ou do cenário de uso, oferecendo capacidade de operação dupla.","mcp.details.connectionType.hybrid.title": "Serviço Híbrido","mcp.details.connectionType.local.desc": "Este servidor só pode ser executado no dispositivo local do cliente, exigindo instalação e utilizando recursos locais.",diff --git a/locales/pt-BR/plugin.json b/locales/pt-BR/plugin.jsonindex 22ddf5cbca8..b7f979a5ec3 100644--- a/locales/pt-BR/plugin.json+++ b/locales/pt-BR/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Autor","skillDetail.details": "Detalhes","skillDetail.developedBy": "Desenvolvido por",+ "skillDetail.networkError": "Falha ao carregar os dados. Verifique a conexão e tente novamente.",+ "skillDetail.noAgents": "Nenhum agente está usando esta habilidade ainda",+ "skillDetail.tabs.agents": "Agentes que usam esta habilidade","skillDetail.tabs.overview": "Visão geral","skillDetail.tabs.tools": "Capacidades","skillDetail.tools": "Ferramentas",diff --git a/locales/ru-RU/discover.json b/locales/ru-RU/discover.jsonindex ffbd52a5f85..3a421a5bb2a 100644--- a/locales/ru-RU/discover.json+++ b/locales/ru-RU/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Погода","mcp.categories.web-search.description": "Поиск в интернете и извлечение информации","mcp.categories.web-search.name": "Извлечение информации",+ "mcp.details.agents.empty": "Эта навык пока не используется ни одним агентом",+ "mcp.details.agents.networkError": "Не удалось загрузить данные. Проверьте подключение к сети и повторите попытку.",+ "mcp.details.agents.title": "Агенты, использующие этот навык","mcp.details.connectionType.hybrid.desc": "Эта служба может работать локально или в облаке в зависимости от конфигурации или сценария использования, обеспечивая возможность двойного режима работы.","mcp.details.connectionType.hybrid.title": "Гибридная служба","mcp.details.connectionType.local.desc": "Этот сервер может работать только на локальном устройстве клиента, требует установки и использует локальные ресурсы.",diff --git a/locales/ru-RU/plugin.json b/locales/ru-RU/plugin.jsonindex 925d6e0acd7..9ce7d620654 100644--- a/locales/ru-RU/plugin.json+++ b/locales/ru-RU/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Автор","skillDetail.details": "Подробности","skillDetail.developedBy": "Разработано",+ "skillDetail.networkError": "Не удалось загрузить данные. Проверьте подключение к сети и повторите попытку.",+ "skillDetail.noAgents": "Эту навык пока никто не использует",+ "skillDetail.tabs.agents": "Агенты, использующие этот навык","skillDetail.tabs.overview": "Обзор","skillDetail.tabs.tools": "Возможности","skillDetail.tools": "Инструменты",diff --git a/locales/tr-TR/discover.json b/locales/tr-TR/discover.jsonindex c1185809a48..fa1f6bc1454 100644--- a/locales/tr-TR/discover.json+++ b/locales/tr-TR/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Hava Durumu","mcp.categories.web-search.description": "Web Arama ve Bilgi Erişimi","mcp.categories.web-search.name": "Bilgi Erişimi",+ "mcp.details.agents.empty": "Bu yeteneği kullanan ajan henüz yok",+ "mcp.details.agents.networkError": "Veri yüklenemedi. Ağ bağlantınızı kontrol edip tekrar deneyin.",+ "mcp.details.agents.title": "Bu Yeteneği Kullanan Ajanlar","mcp.details.connectionType.hybrid.desc": "Bu hizmet, yapılandırmaya veya kullanım senaryosuna bağlı olarak yerel veya bulutta çalışabilir ve çift yönlü çalışma yeteneği sunar.","mcp.details.connectionType.hybrid.title": "Hibrit Hizmet","mcp.details.connectionType.local.desc": "Bu sunucu yalnızca istemcinin yerel cihazında çalışabilir, kurulum gerektirir ve yerel kaynaklara dayanır.",diff --git a/locales/tr-TR/plugin.json b/locales/tr-TR/plugin.jsonindex c02f9e00068..97e3fc37688 100644--- a/locales/tr-TR/plugin.json+++ b/locales/tr-TR/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Yazar","skillDetail.details": "Ayrıntılar","skillDetail.developedBy": "Geliştiren",+ "skillDetail.networkError": "Veriler yüklenemedi. Ağı kontrol edin ve tekrar deneyin.",+ "skillDetail.noAgents": "Bu beceriyi henüz kullanan bir temsilci yok",+ "skillDetail.tabs.agents": "Bu Beceriyi Kullanan Temsilciler","skillDetail.tabs.overview": "Genel Bakış","skillDetail.tabs.tools": "Yetenekler","skillDetail.tools": "Araçlar",diff --git a/locales/vi-VN/discover.json b/locales/vi-VN/discover.jsonindex 7fd76ff412b..fe38a26b938 100644--- a/locales/vi-VN/discover.json+++ b/locales/vi-VN/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "Thời tiết","mcp.categories.web-search.description": "Tìm kiếm web và truy xuất thông tin","mcp.categories.web-search.name": "Truy xuất Thông tin",+ "mcp.details.agents.empty": "Chưa có tác nhân nào sử dụng kỹ năng này",+ "mcp.details.agents.networkError": "Tải dữ liệu thất bại. Vui lòng kiểm tra kết nối mạng và thử lại.",+ "mcp.details.agents.title": "Các tác nhân đang sử dụng kỹ năng này","mcp.details.connectionType.hybrid.desc": "Dịch vụ này có thể chạy cục bộ hoặc trên đám mây tùy theo cấu hình hoặc kịch bản sử dụng, mang lại khả năng hoạt động kép.","mcp.details.connectionType.hybrid.title": "Dịch vụ Kết hợp","mcp.details.connectionType.local.desc": "Máy chủ này chỉ có thể chạy trên thiết bị cục bộ của người dùng, yêu cầu cài đặt và phụ thuộc vào tài nguyên cục bộ.",diff --git a/locales/vi-VN/plugin.json b/locales/vi-VN/plugin.jsonindex d141eafe4ca..09268e9aa11 100644--- a/locales/vi-VN/plugin.json+++ b/locales/vi-VN/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "Tác giả","skillDetail.details": "Chi tiết","skillDetail.developedBy": "Phát triển bởi",+ "skillDetail.networkError": "Tải dữ liệu không thành công. Vui lòng kiểm tra kết nối mạng và thử lại.",+ "skillDetail.noAgents": "Chưa có tác nhân nào đang sử dụng kỹ năng này",+ "skillDetail.tabs.agents": "Tác nhân đang sử dụng kỹ năng này","skillDetail.tabs.overview": "Tổng quan","skillDetail.tabs.tools": "Khả năng","skillDetail.tools": "Công cụ",diff --git a/locales/zh-CN/discover.json b/locales/zh-CN/discover.jsonindex 64a1d06430b..12820585f03 100644--- a/locales/zh-CN/discover.json+++ b/locales/zh-CN/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "气象天气","mcp.categories.web-search.description": "网页搜索与信息检索","mcp.categories.web-search.name": "信息检索",+ "mcp.details.agents.empty": "暂无助理使用此技能",+ "mcp.details.agents.networkError": "数据加载失败,请检查网络后重试",+ "mcp.details.agents.title": "使用该技能的助理","mcp.details.connectionType.hybrid.desc": "该服务可根据配置或使用场景,在本地或云端运行,具备双重运行能力。","mcp.details.connectionType.hybrid.title": "混合型服务","mcp.details.connectionType.local.desc": "该服务器只能在客户端本地设备上运行,需安装并依赖本地资源。",diff --git a/locales/zh-CN/plugin.json b/locales/zh-CN/plugin.jsonindex f7b8984afe1..40e2780de0e 100644--- a/locales/zh-CN/plugin.json+++ b/locales/zh-CN/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "作者","skillDetail.details": "详情","skillDetail.developedBy": "开发者",+ "skillDetail.networkError": "数据加载失败,请检查网络后重试",+ "skillDetail.noAgents": "暂无助理使用此技能",+ "skillDetail.tabs.agents": "使用该技能的助理","skillDetail.tabs.overview": "概览","skillDetail.tabs.tools": "技能功能","skillDetail.tools": "工具",diff --git a/locales/zh-TW/discover.json b/locales/zh-TW/discover.jsonindex 795969fe56b..fb3399ae261 100644--- a/locales/zh-TW/discover.json+++ b/locales/zh-TW/discover.json@@ -194,6 +194,9 @@"mcp.categories.weather.name": "氣象天氣","mcp.categories.web-search.description": "網頁搜尋與資訊檢索","mcp.categories.web-search.name": "資訊檢索",+ "mcp.details.agents.empty": "尚無代理使用此技能",+ "mcp.details.agents.networkError": "資料載入失敗。請檢查網路連線並重試。",+ "mcp.details.agents.title": "使用此技能的代理","mcp.details.connectionType.hybrid.desc": "該服務可根據配置或使用場景,在本地或雲端運行,具備雙重運行能力。","mcp.details.connectionType.hybrid.title": "混合型服務","mcp.details.connectionType.local.desc": "該伺服器只能在用戶端本地設備上運行,需安裝並依賴本地資源。",diff --git a/locales/zh-TW/plugin.json b/locales/zh-TW/plugin.jsonindex 9277d867ae7..7f301a21b77 100644--- a/locales/zh-TW/plugin.json+++ b/locales/zh-TW/plugin.json@@ -490,6 +490,9 @@"skillDetail.author": "作者","skillDetail.details": "詳細資訊","skillDetail.developedBy": "開發者",+ "skillDetail.networkError": "無法載入資料。請檢查網路連線並重試。",+ "skillDetail.noAgents": "目前尚無代理人使用此技能",+ "skillDetail.tabs.agents": "使用此技能的代理人","skillDetail.tabs.overview": "概覽","skillDetail.tabs.tools": "功能","skillDetail.tools": "工具",diff --git a/package.json b/package.jsonindex bd89b88a457..f375b5f5945 100644--- a/package.json+++ b/package.json@@ -216,7 +216,7 @@"@lobehub/desktop-ipc-typings": "workspace:*","@lobehub/editor": "^3.14.0","@lobehub/icons": "^4.0.3",- "@lobehub/market-sdk": "0.29.1",+ "@lobehub/market-sdk": "0.29.2","@lobehub/tts": "^4.0.2","@lobehub/ui": "4.33.4","@modelcontextprotocol/sdk": "^1.25.3",diff --git a/packages/types/src/discover/mcp.ts b/packages/types/src/discover/mcp.tsindex 7daa2992fb0..db2f778728b 100644--- a/packages/types/src/discover/mcp.ts+++ b/packages/types/src/discover/mcp.ts@@ -1,6 +1,8 @@import { PluginItem, PluginListResponse } from '@lobehub/market-sdk';import { PluginItemDetail } from '@lobehub/market-types';+import { DiscoverAssistantItem } from './assistants';+export enum McpCategory {All = 'all',Business = 'business',@@ -18,7 +20,7 @@ export enum McpCategory {Tools = 'tools',TravelTransport = 'travel-transport',Weather = 'weather',- WebSearch = 'web-search'+ WebSearch = 'web-search',}export enum McpSorts {@@ -28,10 +30,11 @@ export enum McpSorts {IsValidated = 'isValidated',RatingCount = 'ratingCount',Recommended = 'recommended',- UpdatedAt = 'updatedAt'+ UpdatedAt = 'updatedAt',}export enum McpNavKey {+ Agents = 'agents',Deployment = 'deployment',Overview = 'overview',Related = 'related',@@ -62,6 +65,7 @@ export interface McpQueryParams {export type McpListResponse = PluginListResponse;export interface DiscoverMcpDetail extends PluginItemDetail {+ agents?: DiscoverAssistantItem[];haveCloudEndpoint?: boolean;isClaimed?: boolean;related: DiscoverMcpItem[];diff --git a/src/app/[variants]/(main)/community/(detail)/mcp/features/Details/index.tsx b/src/app/[variants]/(main)/community/(detail)/mcp/features/Details/index.tsxindex e8e1181fda7..40cc2e5eda0 100644--- a/src/app/[variants]/(main)/community/(detail)/mcp/features/Details/index.tsx+++ b/src/app/[variants]/(main)/community/(detail)/mcp/features/Details/index.tsx@@ -4,6 +4,7 @@ import { Flexbox } from '@lobehub/ui';import { useResponsive } from 'antd-style';import { memo } from 'react';+import Agents from '@/features/MCPPluginDetail/Agents';import Deployment from '@/features/MCPPluginDetail/Deployment';import Nav from '@/features/MCPPluginDetail/Nav';import Overview from '@/features/MCPPluginDetail/Overview';@@ -16,7 +17,11 @@ import Sidebar from '../Sidebar';import Related from './Related';import Versions from './Versions';-const Details = memo<{ mobile?: boolean }>(({ mobile: isMobile }) => {+interface DetailsProps {+ mobile?: boolean;+}++const Details = memo<DetailsProps>(({ mobile: isMobile }) => {const { mobile = isMobile } = useResponsive();const [activeTab, setActiveTab] = useQueryState('activeTab', {clearOnDefault: true,@@ -48,6 +53,7 @@ const Details = memo<{ mobile?: boolean }>(({ mobile: isMobile }) => {{activeTab === McpNavKey.Schema && <Schema />}{activeTab === McpNavKey.Related && <Related />}{activeTab === McpNavKey.Score && <Score />}+ {activeTab === McpNavKey.Agents && <Agents />}{activeTab === McpNavKey.Version && <Versions />}</Flexbox><Sidebar mobile={mobile} />diff --git a/src/features/MCP/MCPDetail/index.tsx b/src/features/MCP/MCPDetail/index.tsxindex 699452096d1..24e046211e0 100644--- a/src/features/MCP/MCPDetail/index.tsx+++ b/src/features/MCP/MCPDetail/index.tsx@@ -4,6 +4,7 @@ import { Boxes } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';+import Agents from '@/features/MCPPluginDetail/Agents';import Deployment from '@/features/MCPPluginDetail/Deployment';import { DetailProvider } from '@/features/MCPPluginDetail/DetailProvider';import Header from '@/features/MCPPluginDetail/Header';@@ -76,6 +77,7 @@ const Detail = memo<DetailProps>(({ identifier: defaultIdentifier, defaultTab, n{activeTab === McpNavKey.Deployment && <Deployment />}{activeTab === McpNavKey.Schema && <Schema />}{activeTab === McpNavKey.Score && <Score />}+ {activeTab === McpNavKey.Agents && <Agents inModal />}</Flexbox></Flexbox></DetailProvider>diff --git a/src/features/MCPPluginDetail/Agents.tsx b/src/features/MCPPluginDetail/Agents.tsxnew file mode 100644index 00000000000..a74724eb991--- /dev/null+++ b/src/features/MCPPluginDetail/Agents.tsx@@ -0,0 +1,245 @@+'use client';++import { Avatar, Block, Center, Flexbox, Grid, Icon, Skeleton, Text } from '@lobehub/ui';+import { createStaticStyles, cssVar } from 'antd-style';+import { ClockIcon, InboxIcon, ServerCrash } from 'lucide-react';+import { memo, useCallback, useEffect, useRef, useState } from 'react';+import { useTranslation } from 'react-i18next';+import { VirtuosoGrid } from 'react-virtuoso';++import PublishedTime from '@/components/PublishedTime';+import VirtuosoLoading from '@/features/SkillStore/SkillList/VirtuosoLoading';+import { virtuosoGridStyles } from '@/features/SkillStore/SkillList/style';+import { useClientDataSWR } from '@/libs/swr';+import { discoverService } from '@/services/discover';+import { type DiscoverAssistantItem } from '@/types/discover';++import { useDetailContext } from './DetailProvider';++const PAGE_SIZE = 6;++const styles = createStaticStyles(({ css, cssVar }) => ({+ author: css`+ color: ${cssVar.colorTextDescription};+ `,+ desc: css`+ flex: 1;+ margin: 0 !important;+ color: ${cssVar.colorTextSecondary};+ `,+ footer: css`+ margin-block-start: 16px;+ border-block-start: 1px dashed ${cssVar.colorBorder};+ background: ${cssVar.colorBgContainer};+ `,+ secondaryDesc: css`+ font-size: 12px;+ color: ${cssVar.colorTextDescription};+ `,+ title: css`+ margin: 0 !important;+ font-size: 16px !important;+ font-weight: 500 !important;++ &:hover {+ color: ${cssVar.colorLink};+ }+ `,+}));++const AgentItem = memo<DiscoverAssistantItem>(+ ({ createdAt, author, avatar, title, description, identifier, category, backgroundColor }) => {+ return (+ <a+ href={`/community/agent/${identifier}`}+ rel="noopener noreferrer"+ style={{ display: 'block', height: '100%' }}+ target="_blank"+ >+ <Block+ clickable+ height={'100%'}+ style={{+ overflow: 'hidden',+ position: 'relative',+ }}+ variant={'outlined'}+ width={'100%'}+ >+ <Flexbox+ align={'flex-start'}+ gap={16}+ horizontal+ justify={'space-between'}+ padding={16}+ width={'100%'}+ >+ <Flexbox+ gap={12}+ horizontal+ style={{+ overflow: 'hidden',+ }}+ title={identifier}+ >+ <Avatar+ avatar={avatar}+ background={backgroundColor || 'transparent'}+ shape={'square'}+ size={40}+ style={{ flex: 'none' }}+ />+ <Flexbox+ flex={1}+ gap={2}+ style={{+ overflow: 'hidden',+ }}+ >+ <Text as={'h2'} className={styles.title} ellipsis>+ {title}+ </Text>+ {author && <div className={styles.author}>{author}</div>}+ </Flexbox>+ </Flexbox>+ </Flexbox>+ <Flexbox flex={1} gap={12} paddingInline={16}>+ <Text+ as={'p'}+ className={styles.desc}+ ellipsis={{+ rows: 3,+ }}+ >+ {description}+ </Text>+ </Flexbox>+ <Flexbox+ align={'center'}+ className={styles.footer}+ horizontal+ justify={'space-between'}+ padding={16}+ >+ <Flexbox+ align={'center'}+ className={styles.secondaryDesc}+ horizontal+ justify={'space-between'}+ >+ <Flexbox align={'center'} gap={4} horizontal>+ <Icon icon={ClockIcon} size={14} />+ <PublishedTime+ className={styles.secondaryDesc}+ date={createdAt}+ template={'MMM DD, YYYY'}+ />+ </Flexbox>+ {category && <span style={{ marginLeft: 12 }}>{category}</span>}+ </Flexbox>+ </Flexbox>+ </Block>+ </a>+ );+ },+);++interface AgentsProps {+ inModal?: boolean;+}++const Agents = memo<AgentsProps>(({ inModal }) => {+ const { t } = useTranslation('discover');+ const { identifier } = useDetailContext();++ // Local state for pagination+ const [items, setItems] = useState<DiscoverAssistantItem[]>([]);+ const [currentPage, setCurrentPage] = useState(1);+ const [totalCount, setTotalCount] = useState(0);+ const [isInitialized, setIsInitialized] = useState(false);+ const prevPageRef = useRef(currentPage);++ // SWR fetch data (lazy loading - only requests when component mounts)+ const { data, isLoading, error } = useClientDataSWR(+ identifier ? ['mcp-agents', identifier, currentPage] : null,+ () =>+ discoverService.getAgentsByPlugin({+ page: currentPage,+ pageSize: PAGE_SIZE,+ pluginId: identifier!,+ }),+ );++ // Data accumulation logic+ useEffect(() => {+ if (data) {+ if (currentPage === 1) {+ setItems(data.items);+ } else if (currentPage > prevPageRef.current) {+ setItems((prev) => [...prev, ...data.items]);+ }+ setTotalCount(data.totalCount);+ setIsInitialized(true);+ prevPageRef.current = currentPage;+ }+ }, [data, currentPage]);++ const hasMore = items.length < totalCount;++ const loadMore = useCallback(() => {+ if (!isLoading && hasMore) {+ setCurrentPage((prev) => prev + 1);+ }+ }, [isLoading, hasMore]);++ // Initial loading state+ if (!isInitialized && isLoading) {+ return (+ <Grid gap={16} rows={2} width={'100%'}>+ {Array.from({ length: 4 }).map((_, index) => (+ <Skeleton active key={index} paragraph={{ rows: 4 }} />+ ))}+ </Grid>+ );+ }++ // Error state+ if (error) {+ return (+ <Center gap={12} padding={40}>+ <Icon color={cssVar.colorTextDescription} icon={ServerCrash} size={80} />+ <Text type={'secondary'}>{t('mcp.details.agents.networkError')}</Text>+ </Center>+ );+ }++ // Empty state+ if (isInitialized && items.length === 0) {+ return (+ <Center gap={12} padding={40}>+ <Icon color={cssVar.colorTextDescription} icon={InboxIcon} size={80} />+ <Text type={'secondary'}>{t('mcp.details.agents.empty')}</Text>+ </Center>+ );+ }++ // Use VirtuosoGrid for rendering+ return (+ <VirtuosoGrid+ components={{+ Footer: isLoading ? VirtuosoLoading : () => <div style={{ height: 16 }} />,+ }}+ data={items}+ endReached={loadMore}+ increaseViewportBy={typeof window !== 'undefined' ? window.innerHeight : 0}+ itemClassName={virtuosoGridStyles.item}+ itemContent={(_, item) => <AgentItem key={item.identifier} {...item} />}+ listClassName={virtuosoGridStyles.list}+ overscan={24}+ style={inModal ? { height: '50vh', width: '100%' } : { width: '100%' }}+ useWindowScroll={!inModal}+ />+ );+});++export default Agents;diff --git a/src/features/MCPPluginDetail/Nav.tsx b/src/features/MCPPluginDetail/Nav.tsxindex 253de8cfbe8..1c237b4ea05 100644--- a/src/features/MCPPluginDetail/Nav.tsx+++ b/src/features/MCPPluginDetail/Nav.tsx@@ -5,6 +5,7 @@ import { Flexbox, Icon, Tabs, type TabsProps, Tag } from '@lobehub/ui';import { createStaticStyles } from 'antd-style';import {BookOpenIcon,+ BotIcon,CodeIcon,DownloadIcon,HistoryIcon,@@ -143,7 +144,11 @@ const Nav = memo<NavProps>(key: McpNavKey.Score,label: t('mcp.details.score.title'),},-+ {+ icon: <Icon icon={BotIcon} size={16} />,+ key: McpNavKey.Agents,+ label: t('mcp.details.agents.title'),+ },!inModal && {icon: <Icon icon={HistoryIcon} size={16} />,key: McpNavKey.Version,diff --git a/src/features/SkillStore/SkillDetail/Agents.tsx b/src/features/SkillStore/SkillDetail/Agents.tsxnew file mode 100644index 00000000000..c0242ac2d73--- /dev/null+++ b/src/features/SkillStore/SkillDetail/Agents.tsx@@ -0,0 +1,240 @@+'use client';++import { Avatar, Block, Center, Flexbox, Grid, Icon, Skeleton, Text } from '@lobehub/ui';+import { createStaticStyles, cssVar } from 'antd-style';+import { ClockIcon, InboxIcon, ServerCrash } from 'lucide-react';+import { memo, useCallback, useEffect, useRef, useState } from 'react';+import { useTranslation } from 'react-i18next';+import { VirtuosoGrid } from 'react-virtuoso';++import PublishedTime from '@/components/PublishedTime';+import { useClientDataSWR } from '@/libs/swr';+import { discoverService } from '@/services/discover';+import { type DiscoverAssistantItem } from '@/types/discover';++import VirtuosoLoading from '../SkillList/VirtuosoLoading';+import { virtuosoGridStyles } from '../SkillList/style';+import { useDetailContext } from './DetailContext';++const PAGE_SIZE = 6;++const styles = createStaticStyles(({ css, cssVar }) => ({+ author: css`+ color: ${cssVar.colorTextDescription};+ `,+ desc: css`+ flex: 1;+ margin: 0 !important;+ color: ${cssVar.colorTextSecondary};+ `,+ footer: css`+ margin-block-start: 16px;+ border-block-start: 1px dashed ${cssVar.colorBorder};+ background: ${cssVar.colorBgContainer};+ `,+ secondaryDesc: css`+ font-size: 12px;+ color: ${cssVar.colorTextDescription};+ `,+ title: css`+ margin: 0 !important;+ font-size: 16px !important;+ font-weight: 500 !important;++ &:hover {+ color: ${cssVar.colorLink};+ }+ `,+}));++const AgentItem = memo<DiscoverAssistantItem>(+ ({ createdAt, author, avatar, title, description, identifier, category, backgroundColor }) => {+ return (+ <a+ href={`/community/agent/${identifier}`}+ rel="noopener noreferrer"+ style={{ display: 'block', height: '100%' }}+ target="_blank"+ >+ <Block+ clickable+ height={'100%'}+ style={{+ overflow: 'hidden',+ position: 'relative',+ }}+ variant={'outlined'}+ width={'100%'}+ >+ <Flexbox+ align={'flex-start'}+ gap={16}+ horizontal+ justify={'space-between'}+ padding={16}+ width={'100%'}+ >+ <Flexbox+ gap={12}+ horizontal+ style={{+ overflow: 'hidden',+ }}+ title={identifier}+ >+ <Avatar+ avatar={avatar}+ background={backgroundColor || 'transparent'}+ shape={'square'}+ size={40}+ style={{ flex: 'none' }}+ />+ <Flexbox+ flex={1}+ gap={2}+ style={{+ overflow: 'hidden',+ }}+ >+ <Text as={'h2'} className={styles.title} ellipsis>+ {title}+ </Text>+ {author && <div className={styles.author}>{author}</div>}+ </Flexbox>+ </Flexbox>+ </Flexbox>+ <Flexbox flex={1} gap={12} paddingInline={16}>+ <Text+ as={'p'}+ className={styles.desc}+ ellipsis={{+ rows: 3,+ }}+ >+ {description}+ </Text>+ </Flexbox>+ <Flexbox+ align={'center'}+ className={styles.footer}+ horizontal+ justify={'space-between'}+ padding={16}+ >+ <Flexbox+ align={'center'}+ className={styles.secondaryDesc}+ horizontal+ justify={'space-between'}+ >+ <Flexbox align={'center'} gap={4} horizontal>+ <Icon icon={ClockIcon} size={14} />+ <PublishedTime+ className={styles.secondaryDesc}+ date={createdAt}+ template={'MMM DD, YYYY'}+ />+ </Flexbox>+ {category && <span style={{ marginLeft: 12 }}>{category}</span>}+ </Flexbox>+ </Flexbox>+ </Block>+ </a>+ );+ },+);++const Agents = memo(() => {+ const { t } = useTranslation('plugin');+ const { identifier } = useDetailContext();++ // Local state for pagination+ const [items, setItems] = useState<DiscoverAssistantItem[]>([]);+ const [currentPage, setCurrentPage] = useState(1);+ const [totalCount, setTotalCount] = useState(0);+ const [isInitialized, setIsInitialized] = useState(false);+ const prevPageRef = useRef(currentPage);++ // SWR fetch data (lazy loading - only requests when component mounts)+ const { data, isLoading, error } = useClientDataSWR(+ identifier ? ['skill-agents', identifier, currentPage] : null,+ () =>+ discoverService.getAgentsByPlugin({+ page: currentPage,+ pageSize: PAGE_SIZE,+ pluginId: identifier,+ }),+ );++ // Data accumulation logic+ useEffect(() => {+ if (data) {+ if (currentPage === 1) {+ setItems(data.items);+ } else if (currentPage > prevPageRef.current) {+ setItems((prev) => [...prev, ...data.items]);+ }+ setTotalCount(data.totalCount);+ setIsInitialized(true);+ prevPageRef.current = currentPage;+ }+ }, [data, currentPage]);++ const hasMore = items.length < totalCount;++ const loadMore = useCallback(() => {+ if (!isLoading && hasMore) {+ setCurrentPage((prev) => prev + 1);+ }+ }, [isLoading, hasMore]);++ // Initial loading state+ if (!isInitialized && isLoading) {+ return (+ <Grid gap={16} rows={2} width={'100%'}>+ {Array.from({ length: 4 }).map((_, index) => (+ <Skeleton active key={index} paragraph={{ rows: 4 }} />+ ))}+ </Grid>+ );+ }++ // Error state+ if (error) {+ return (+ <Center gap={12} padding={40}>+ <Icon color={cssVar.colorTextDescription} icon={ServerCrash} size={80} />+ <Text type={'secondary'}>{t('skillDetail.networkError')}</Text>+ </Center>+ );+ }++ // Empty state+ if (isInitialized && items.length === 0) {+ return (+ <Center gap={12} padding={40}>+ <Icon color={cssVar.colorTextDescription} icon={InboxIcon} size={80} />+ <Text type={'secondary'}>{t('skillDetail.noAgents')}</Text>+ </Center>+ );+ }++ // Use VirtuosoGrid for rendering+ return (+ <VirtuosoGrid+ components={{+ Footer: isLoading ? VirtuosoLoading : () => <div style={{ height: 16 }} />,+ }}+ data={items}+ endReached={loadMore}+ increaseViewportBy={typeof window !== 'undefined' ? window.innerHeight : 0}+ itemClassName={virtuosoGridStyles.item}+ itemContent={(_, item) => <AgentItem key={item.identifier} {...item} />}+ listClassName={virtuosoGridStyles.list}+ overscan={24}+ style={{ height: '50vh', width: '100%' }}+ />+ );+});++export default Agents;diff --git a/src/features/SkillStore/SkillDetail/Nav.tsx b/src/features/SkillStore/SkillDetail/Nav.tsxindex 89a24102472..7d6aa3d4de9 100644--- a/src/features/SkillStore/SkillDetail/Nav.tsx+++ b/src/features/SkillStore/SkillDetail/Nav.tsx@@ -1,13 +1,11 @@'use client';-import { Flexbox, Icon, Tabs, Tag } from '@lobehub/ui';+import { Flexbox, Icon, Tabs } from '@lobehub/ui';import { createStaticStyles } from 'antd-style';-import { BookOpenIcon, CodeIcon } from 'lucide-react';-import { memo } from 'react';+import { BookOpenIcon, BotIcon, CodeIcon } from 'lucide-react';+import { memo, useMemo } from 'react';import { useTranslation } from 'react-i18next';-import { useDetailContext } from './DetailContext';-const styles = createStaticStyles(({ css, cssVar }) => ({nav: css`border-block-end: 1px solid ${cssVar.colorBorder};@@ -24,7 +22,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({`,}));-export type TabKey = 'overview' | 'schema';+export type TabKey = 'agents' | 'overview' | 'schema';interface NavProps {activeTab?: TabKey;@@ -34,8 +32,27 @@ interface NavProps {const Nav = memo<NavProps>(({ activeTab = 'overview', setActiveTab, mobile }) => {const { t } = useTranslation('plugin');- const { tools } = useDetailContext();- const toolsCount = tools.length;++ const items = useMemo(+ () => [+ {+ icon: <Icon icon={BookOpenIcon} size={16} />,+ key: 'overview',+ label: t('skillDetail.tabs.overview'),+ },+ {+ icon: <Icon icon={CodeIcon} size={16} />,+ key: 'schema',+ label: t('skillDetail.tabs.tools'),+ },+ {+ icon: <Icon icon={BotIcon} size={16} />,+ key: 'agents',+ label: t('skillDetail.tabs.agents'),+ },+ ],+ [t],+ );return (<Flexbox className={styles.nav}>@@ -43,26 +60,7 @@ const Nav = memo<NavProps>(({ activeTab = 'overview', setActiveTab, mobile }) =>activeKey={activeTab}className={styles.tabs}compact={mobile}- items={[- {- icon: <Icon icon={BookOpenIcon} size={16} />,- key: 'overview',- label: t('skillDetail.tabs.overview'),- },- {- icon: <Icon icon={CodeIcon} size={16} />,- key: 'schema',- label:- toolsCount > 0 ? (- <Flexbox align="center" gap={6} horizontal style={{ display: 'inline-flex' }}>- {t('skillDetail.tabs.tools')}- <Tag>{toolsCount}</Tag>- </Flexbox>- ) : (- t('skillDetail.tabs.tools')- ),- },- ]}+ items={items}onChange={(key) => setActiveTab?.(key as TabKey)}/></Flexbox>diff --git a/src/features/SkillStore/SkillDetail/Schema.tsx b/src/features/SkillStore/SkillDetail/Schema.tsxindex 4b66ac3df5c..1f54a97fe63 100644--- a/src/features/SkillStore/SkillDetail/Schema.tsx+++ b/src/features/SkillStore/SkillDetail/Schema.tsx@@ -1,6 +1,6 @@'use client';-import { Flexbox, Segmented, Tag } from '@lobehub/ui';+import { Flexbox, Segmented, Skeleton, Tag } from '@lobehub/ui';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -13,11 +13,19 @@ import { useDetailContext } from './DetailContext';const Schema = memo(() => {const { t } = useTranslation('discover');- const { tools } = useDetailContext();+ const { tools, toolsLoading } = useDetailContext();const [activeKey, setActiveKey] = useState<string[]>([]);const [mode, setMode] = useState<ModeType>(ModeType.Docs);const toolsCount = tools.length;+ if (toolsLoading) {+ return (+ <Flexbox gap={16}>+ <Skeleton active paragraph={{ rows: 4 }} />+ </Flexbox>+ );+ }+return (<DetailProvider config={{ tools, toolsCount }}><Flexbox gap={8}>diff --git a/src/features/SkillStore/SkillDetail/SkillDetailInner.tsx b/src/features/SkillStore/SkillDetail/SkillDetailInner.tsxindex ac853e8f208..38ae3d2146b 100644--- a/src/features/SkillStore/SkillDetail/SkillDetailInner.tsx+++ b/src/features/SkillStore/SkillDetail/SkillDetailInner.tsx@@ -1,13 +1,20 @@'use client';import { Flexbox, Skeleton } from '@lobehub/ui';-import { memo, useState } from 'react';+import { Suspense, lazy, memo, useState } from 'react';-import { useDetailContext } from './DetailContext';+import Agents from './Agents';import Header from './Header';import Nav, { type TabKey } from './Nav';import Overview from './Overview';-import Schema from './Schema';++const Schema = lazy(() => import('./Schema'));++const TabSkeleton = () => (+ <Flexbox gap={16}>+ <Skeleton active paragraph={{ rows: 4 }} />+ </Flexbox>+);interface SkillDetailInnerProps {type: 'klavis' | 'lobehub';@@ -15,22 +22,30 @@ interface SkillDetailInnerProps {const SkillDetailInner = memo<SkillDetailInnerProps>(({ type }) => {const [activeTab, setActiveTab] = useState<TabKey>('overview');- const { toolsLoading } = useDetailContext();- if (toolsLoading) {- return (- <Flexbox gap={16}>- <Skeleton active paragraph={{ rows: 3 }} />- <Skeleton active paragraph={{ rows: 6 }} title={false} />- </Flexbox>- );- }+ const renderContent = () => {+ switch (activeTab) {+ case 'agents': {+ return <Agents />;+ }+ case 'schema': {+ return (+ <Suspense fallback={<TabSkeleton />}>+ <Schema />+ </Suspense>+ );+ }+ default: {+ return <Overview />;+ }+ }+ };return (<Flexbox gap={16}><Header type={type} /><Nav activeTab={activeTab} setActiveTab={setActiveTab} />- {activeTab === 'overview' ? <Overview /> : <Schema />}+ {renderContent()}</Flexbox>);});diff --git a/src/locales/default/discover.ts b/src/locales/default/discover.tsindex f8c784961cb..a5b577b4d73 100644--- a/src/locales/default/discover.ts+++ b/src/locales/default/discover.ts@@ -262,6 +262,10 @@ export default {'mcp.categories.web-search.name': 'Information Retrieval',+ 'mcp.details.agents.empty': 'No agents are using this skill yet',+ 'mcp.details.agents.networkError': 'Failed to load data. Check network and retry.',+ 'mcp.details.agents.title': 'Agents Using This Skill',+'mcp.details.connectionType.hybrid.desc':'This service can run locally or in the cloud depending on configuration or usage scenario, offering dual operation capability.',diff --git a/src/locales/default/plugin.ts b/src/locales/default/plugin.tsindex 98819042427..565dd70ca08 100644--- a/src/locales/default/plugin.ts+++ b/src/locales/default/plugin.ts@@ -501,6 +501,9 @@ export default {'skillDetail.author': 'Author','skillDetail.details': 'Details','skillDetail.developedBy': 'Developed by',+ 'skillDetail.networkError': 'Failed to load data. Check network and retry.',+ 'skillDetail.noAgents': 'No agents are using this skill yet',+ 'skillDetail.tabs.agents': 'Agents Using This Skill','skillDetail.tabs.overview': 'Overview','skillDetail.tabs.tools': 'Capabilities','skillDetail.tools': 'Tools',diff --git a/src/server/routers/lambda/market/index.ts b/src/server/routers/lambda/market/index.tsindex dcb070e297e..4f2c77ddf99 100644--- a/src/server/routers/lambda/market/index.ts+++ b/src/server/routers/lambda/market/index.ts@@ -53,8 +53,32 @@ export const marketRouter = router({// ============================== Agent Group Management (authenticated) ==============================agentGroup: agentGroupRouter,++ getAgentsByPlugin: marketProcedure+ .input(+ z.object({+ locale: z.string().optional(),+ page: z.number().optional(),+ pageSize: z.number().optional(),+ pluginId: z.string(),+ }),+ )+ .query(async ({ input, ctx }) => {+ log('getAgentsByPlugin input: %O', input);++ try {+ return await ctx.discoverService.getAgentsByPlugin(input);+ } catch (error) {+ log('Error fetching agents by plugin: %O', error);+ throw new TRPCError({+ code: 'INTERNAL_SERVER_ERROR',+ message: 'Failed to fetch agents by plugin',+ });+ }+ }),+// ============================== Assistant Market ==============================- getAssistantCategories: marketProcedure+getAssistantCategories: marketProcedure.input(z.object({diff --git a/src/server/services/discover/index.ts b/src/server/services/discover/index.tsindex 174128df6c0..0ad718c49d3 100644--- a/src/server/services/discover/index.ts+++ b/src/server/services/discover/index.ts@@ -574,9 +574,9 @@ export class DiscoverService {examples: Array.isArray((data as any).examples)? (data as any).examples.map((example: any) => ({- content: typeof example === 'string' ? example : example.content || '',- role: example.role || 'user',- }))+ content: typeof example === 'string' ? example : example.content || '',+ role: example.role || 'user',+ })): [],forkCount: (data as any).forkCount,forkedFromAgentId: (data as any).forkedFromAgentId,@@ -680,8 +680,7 @@ export class DiscoverService {try {const normalizedLocale = normalizeLocale(locale);- let apiSort: 'createdAt' | 'updatedAt' | 'name' | 'mostUsage' | 'recommended' =- 'recommended';+ let apiSort: 'createdAt' | 'updatedAt' | 'name' | 'mostUsage' | 'recommended' = 'recommended';let haveSkills: boolean | undefined = rest.haveSkills;switch (sort) {@@ -814,12 +813,15 @@ export class DiscoverService {},},);++ // Fetch related MCPsconst list = await this.getMcpList({category: mcp.category,locale,page: 1,pageSize: 7,});+const result = {...mcp,related: list.items.filter((item) => item.identifier !== mcp.identifier).slice(0, 6),@@ -832,7 +834,9 @@ export class DiscoverService {log('getMcpList: params=%O', params);const { category, locale, sort } = params;const normalizedLocale = normalizeLocale(locale);- const shouldOmitCategory = [McpCategory.All, McpCategory.Discover].includes(category as McpCategory)+ const shouldOmitCategory = [McpCategory.All, McpCategory.Discover].includes(+ category as McpCategory,+ );const result = await this.market.plugins.getPluginList({@@ -911,6 +915,78 @@ export class DiscoverService {await this.market.agents.increaseInstallCount(identifier);};+ /**+ * Get agents that use a specific plugin+ */+ getAgentsByPlugin = async (params: {+ locale?: string;+ page?: number;+ pageSize?: number;+ pluginId: string;+ }): Promise<AssistantListResponse> => {+ log('getAgentsByPlugin: params=%O', params);+ const { locale, pluginId, page = 1, pageSize = 20 } = params;+ const normalizedLocale = normalizeLocale(locale);++ try {+ const data = await this.market.agents.getAgentsByPlugin({+ locale: normalizedLocale,+ page,+ pageSize,+ pluginId,+ });++ // Transform to DiscoverAssistantItem format+ const items: DiscoverAssistantItem[] = (data.items || []).map((item: any) => {+ const normalizedAuthor = this.normalizeAuthorField(item.author);+ return {+ author:+ normalizedAuthor.name || (item.ownerId !== null ? `User${item.ownerId}` : 'Unknown'),+ avatar: item.avatar || '',+ category: item.category,+ config: {} as any,+ createdAt: item.createdAt || item.updatedAt || new Date().toISOString(),+ description: item.description || '',+ homepage: `https://lobehub.com/discover/assistant/${item.identifier}`,+ identifier: item.identifier,+ installCount: item.installCount,+ knowledgeCount: item.knowledgeCount || 0,+ pluginCount: item.pluginCount || 0,+ schemaVersion: 1,+ tags: item.tags || [],+ title: item.name || item.identifier,+ tokenUsage: item.tokenUsage || 0,+ userName: normalizedAuthor.userName,+ };+ });++ const result: AssistantListResponse = {+ currentPage: data.currentPage || page,+ items,+ pageSize: data.pageSize || pageSize,+ totalCount: data.totalCount || 0,+ totalPages: data.totalPages || 0,+ };++ log(+ 'getAgentsByPlugin: returning page %d/%d with %d items',+ result.currentPage,+ result.totalPages,+ result.items.length,+ );+ return result;+ } catch (error) {+ log('getAgentsByPlugin: error fetching from market SDK: %O', error);+ return {+ currentPage: page,+ items: [],+ pageSize,+ totalCount: 0,+ totalPages: 0,+ };+ }+ };+// ============================== Plugin Market ==============================private _getPluginList = async (locale?: string): Promise<DiscoverPluginItem[]> => {diff --git a/src/services/discover.ts b/src/services/discover.tsindex b8d96294074..76155d725d1 100644--- a/src/services/discover.ts+++ b/src/services/discover.ts@@ -88,6 +88,21 @@ class DiscoverService {);};+ getAgentsByPlugin = async (params: {+ locale?: string;+ page?: number;+ pageSize?: number;+ pluginId: string;+ }): Promise<AssistantListResponse> => {+ const locale = globalHelpers.getCurrentLanguage();+ return lambdaClient.market.getAgentsByPlugin.query({+ ...params,+ locale,+ page: params.page ? Number(params.page) : 1,+ pageSize: params.pageSize ? Number(params.pageSize) : 20,+ });+ };+// ============================== MCP Market ==============================getMcpCategories = async (params: CategoryListQuery = {}): Promise<CategoryItem[]> => {