(function BotForm(
{showLegacyAdapters && (
<>
-
+
{t('bots.legacyAdaptersHint')}
diff --git a/web/src/app/home/plugins/components/plugin-installed/PluginComponentList.tsx b/web/src/app/home/plugins/components/plugin-installed/PluginComponentList.tsx
index 792b02991..fe645d6cb 100644
--- a/web/src/app/home/plugins/components/plugin-installed/PluginComponentList.tsx
+++ b/web/src/app/home/plugins/components/plugin-installed/PluginComponentList.tsx
@@ -7,6 +7,7 @@ import {
FileText,
PanelTop,
Bot,
+ Puzzle,
} from 'lucide-react';
import { Badge } from '@/components/ui/badge';
@@ -33,6 +34,7 @@ export default function PluginComponentList({
Parser: ,
Page: ,
AgentRunner: ,
+ EventProcessor: ,
};
const componentKindList = Object.keys(components || {});
diff --git a/web/src/app/home/plugins/components/plugin-market/PluginComponentIcons.ts b/web/src/app/home/plugins/components/plugin-market/PluginComponentIcons.ts
index 81f436a6e..666347c93 100644
--- a/web/src/app/home/plugins/components/plugin-market/PluginComponentIcons.ts
+++ b/web/src/app/home/plugins/components/plugin-market/PluginComponentIcons.ts
@@ -5,6 +5,7 @@ import {
Book,
FileText,
Hash,
+ Puzzle,
Wrench,
type LucideIcon,
} from 'lucide-react';
@@ -17,4 +18,5 @@ export const pluginComponentIconMap: Record = {
Parser: FileText,
Page: AppWindow,
AgentRunner: Bot,
+ EventProcessor: Puzzle,
};
diff --git a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx
index d9e362a05..153894930 100644
--- a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx
+++ b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx
@@ -72,6 +72,7 @@ const MARKET_COMPONENT_VALUES = [
'Parser',
'Page',
'AgentRunner',
+ 'EventProcessor',
];
function getComponentFilterFromQuery(
@@ -244,6 +245,11 @@ function MarketPageContent({
label: t('market.componentName.AgentRunner'),
icon: Bot,
},
+ {
+ value: 'EventProcessor',
+ label: t('market.componentName.EventProcessor'),
+ icon: Puzzle,
+ },
];
// 获取当前排序参数
diff --git a/web/src/i18n/locales/en-US.ts b/web/src/i18n/locales/en-US.ts
index 3e399d573..c47860f9a 100644
--- a/web/src/i18n/locales/en-US.ts
+++ b/web/src/i18n/locales/en-US.ts
@@ -366,7 +366,7 @@ const enUS = {
legacyAdapters: 'Legacy adapters',
legacyAdapterBadge: 'Legacy',
legacyAdaptersHint:
- 'These adapters have newer event-driven counterparts. They are kept only for existing configurations and are not recommended for new bots.',
+ 'These adapters have newer event-driven counterparts.\nThey are kept only for existing configurations and are not recommended for new bots.',
adapterConfig: 'Adapter Configuration',
viewAdapterDocs: 'View Docs',
bindPipeline: 'Bind Pipeline',
@@ -1088,6 +1088,7 @@ const enUS = {
Parser: 'Parser',
Page: 'Page',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'Event Processor',
},
uploadLocal: 'Upload Local',
debugging: 'Debugging',
@@ -1275,6 +1276,7 @@ const enUS = {
Parser: 'Parser',
Page: 'Page',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'Event Processor',
},
filterByType: 'Type',
allTypes: 'All Types',
diff --git a/web/src/i18n/locales/es-ES.ts b/web/src/i18n/locales/es-ES.ts
index ecc0a5d5a..c5810184e 100644
--- a/web/src/i18n/locales/es-ES.ts
+++ b/web/src/i18n/locales/es-ES.ts
@@ -374,7 +374,7 @@ const esES = {
legacyAdapters: 'Adaptadores heredados',
legacyAdapterBadge: 'Heredado',
legacyAdaptersHint:
- 'Estos adaptadores tienen versiones nuevas orientadas a eventos. Se mantienen solo para configuraciones existentes y no se recomiendan para Bots nuevos.',
+ 'Estos adaptadores tienen versiones nuevas orientadas a eventos.\nSe mantienen solo para configuraciones existentes y no se recomiendan para Bots nuevos.',
adapterConfig: 'Configuración del adaptador',
viewAdapterDocs: 'Ver documentación',
bindPipeline: 'Vincular Pipeline',
@@ -729,6 +729,7 @@ const esES = {
Parser: 'Analizador',
Page: 'Página',
AgentRunner: 'Ejecutor de agentes',
+ EventProcessor: 'Procesador de eventos',
},
uploadLocal: 'Subir local',
debugging: 'Depuración',
@@ -911,6 +912,7 @@ const esES = {
Parser: 'Analizador',
Page: 'Página',
AgentRunner: 'Ejecutor de agentes',
+ EventProcessor: 'Procesador de eventos',
},
filterByType: 'Tipo',
allTypes: 'Todos los tipos',
diff --git a/web/src/i18n/locales/ja-JP.ts b/web/src/i18n/locales/ja-JP.ts
index f1d67c974..3f53dc939 100644
--- a/web/src/i18n/locales/ja-JP.ts
+++ b/web/src/i18n/locales/ja-JP.ts
@@ -372,7 +372,7 @@ const jaJP = {
legacyAdapters: '旧式アダプター',
legacyAdapterBadge: '旧式',
legacyAdaptersHint:
- 'これらのアダプターには新しいイベント駆動の接続方式があります。既存設定との互換性のために残しており、新規ボットには推奨されません。',
+ 'これらのアダプターには新しいイベント駆動の接続方式があります。\n既存設定との互換性のために残しており、新規ボットには推奨されません。',
adapterConfig: 'アダプター設定',
viewAdapterDocs: 'ドキュメントを見る',
bindPipeline: 'パイプラインを紐付け',
@@ -1008,6 +1008,7 @@ const jaJP = {
Parser: 'パーサー',
Page: 'ページ',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'イベントプロセッサー',
},
uploadLocal: 'ローカルアップロード',
debugging: 'デバッグ中',
@@ -1196,6 +1197,7 @@ const jaJP = {
Parser: 'パーサー',
Page: 'ページ',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'イベントプロセッサー',
},
filterByType: 'タイプ',
allTypes: '全部',
diff --git a/web/src/i18n/locales/ru-RU.ts b/web/src/i18n/locales/ru-RU.ts
index 08cd606d9..dfb91b57d 100644
--- a/web/src/i18n/locales/ru-RU.ts
+++ b/web/src/i18n/locales/ru-RU.ts
@@ -372,7 +372,7 @@ const ruRU = {
legacyAdapters: 'Устаревшие адаптеры',
legacyAdapterBadge: 'Устаревший',
legacyAdaptersHint:
- 'У этих адаптеров есть новые событийные версии. Они сохранены только для существующих конфигураций и не рекомендуются для новых ботов.',
+ 'У этих адаптеров есть новые событийные версии.\nОни сохранены только для существующих конфигураций и не рекомендуются для новых ботов.',
adapterConfig: 'Настройка адаптера',
viewAdapterDocs: 'Документация',
bindPipeline: 'Привязать конвейер',
@@ -722,6 +722,7 @@ const ruRU = {
Parser: 'Парсер',
Page: 'Страница',
AgentRunner: 'Исполнитель агента',
+ EventProcessor: 'Обработчик событий',
},
uploadLocal: 'Загрузить локально',
debugging: 'Отладка',
@@ -903,6 +904,7 @@ const ruRU = {
Parser: 'Парсер',
Page: 'Страница',
AgentRunner: 'Исполнитель агента',
+ EventProcessor: 'Обработчик событий',
},
filterByType: 'Тип',
allTypes: 'Все типы',
diff --git a/web/src/i18n/locales/th-TH.ts b/web/src/i18n/locales/th-TH.ts
index 52c4cada9..e5b273d53 100644
--- a/web/src/i18n/locales/th-TH.ts
+++ b/web/src/i18n/locales/th-TH.ts
@@ -359,7 +359,7 @@ const thTH = {
legacyAdapters: 'อะแดปเตอร์รุ่นเก่า',
legacyAdapterBadge: 'เก่า',
legacyAdaptersHint:
- 'อะแดปเตอร์เหล่านี้มีรุ่นใหม่แบบขับเคลื่อนด้วยเหตุการณ์แล้ว และเก็บไว้เพื่อความเข้ากันได้กับการตั้งค่าเดิมเท่านั้น ไม่แนะนำสำหรับ Bot ใหม่',
+ 'อะแดปเตอร์เหล่านี้มีรุ่นใหม่แบบขับเคลื่อนด้วยเหตุการณ์แล้ว\nและเก็บไว้เพื่อความเข้ากันได้กับการตั้งค่าเดิมเท่านั้น ไม่แนะนำสำหรับ Bot ใหม่',
adapterConfig: 'การกำหนดค่าอะแดปเตอร์',
viewAdapterDocs: 'ดูเอกสาร',
bindPipeline: 'ผูก Pipeline',
@@ -704,6 +704,7 @@ const thTH = {
Parser: 'ตัวแยกวิเคราะห์',
Page: 'หน้า',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'ตัวประมวลผลเหตุการณ์',
},
uploadLocal: 'อัปโหลดจากเครื่อง',
debugging: 'ดีบัก',
@@ -881,6 +882,7 @@ const thTH = {
Parser: 'ตัวแยกวิเคราะห์',
Page: 'หน้า',
AgentRunner: 'Agent Runner',
+ EventProcessor: 'ตัวประมวลผลเหตุการณ์',
},
filterByType: 'ประเภท',
allTypes: 'ทุกประเภท',
diff --git a/web/src/i18n/locales/vi-VN.ts b/web/src/i18n/locales/vi-VN.ts
index cb95a55cc..ad525c42c 100644
--- a/web/src/i18n/locales/vi-VN.ts
+++ b/web/src/i18n/locales/vi-VN.ts
@@ -368,7 +368,7 @@ const viVN = {
legacyAdapters: 'Adapter cũ',
legacyAdapterBadge: 'Cũ',
legacyAdaptersHint:
- 'Các adapter này đã có phiên bản hướng sự kiện mới hơn. Chúng chỉ được giữ lại để tương thích với cấu hình hiện có và không được khuyến nghị cho Bot mới.',
+ 'Các adapter này đã có phiên bản hướng sự kiện mới hơn.\nChúng chỉ được giữ lại để tương thích với cấu hình hiện có và không được khuyến nghị cho Bot mới.',
adapterConfig: 'Cấu hình Adapter',
viewAdapterDocs: 'Xem tài liệu',
bindPipeline: 'Liên kết Pipeline',
@@ -715,6 +715,7 @@ const viVN = {
Parser: 'Trình phân tích',
Page: 'Trang',
AgentRunner: 'Trình chạy tác tử',
+ EventProcessor: 'Bộ xử lý sự kiện',
},
uploadLocal: 'Tải lên cục bộ',
debugging: 'Gỡ lỗi',
@@ -896,6 +897,7 @@ const viVN = {
Parser: 'Trình phân tích',
Page: 'Trang',
AgentRunner: 'Trình chạy tác tử',
+ EventProcessor: 'Bộ xử lý sự kiện',
},
filterByType: 'Loại',
allTypes: 'Tất cả loại',
diff --git a/web/src/i18n/locales/zh-Hans.ts b/web/src/i18n/locales/zh-Hans.ts
index b17ea511f..694023756 100644
--- a/web/src/i18n/locales/zh-Hans.ts
+++ b/web/src/i18n/locales/zh-Hans.ts
@@ -350,7 +350,7 @@ const zhHans = {
legacyAdapters: '旧版适配器',
legacyAdapterBadge: '过时',
legacyAdaptersHint:
- '这些适配器已有对应的事件驱动接入版本,仅为兼容存量配置保留,不建议新建机器人时使用。',
+ '这些适配器已有对应的事件驱动接入版本,\n仅为兼容存量配置保留,不建议新建机器人时使用。',
adapterConfig: '适配器配置',
viewAdapterDocs: '查看文档',
bindPipeline: '绑定流水线',
@@ -1031,6 +1031,7 @@ const zhHans = {
Parser: '解析器',
Page: '页面',
AgentRunner: 'Agent 运行器',
+ EventProcessor: '事件处理器',
},
uploadLocal: '本地上传',
debugging: '调试中',
@@ -1212,6 +1213,7 @@ const zhHans = {
Parser: '解析器',
Page: '页面',
AgentRunner: 'Agent 运行器',
+ EventProcessor: '事件处理器',
},
filterByType: '类型',
allTypes: '全部类型',
diff --git a/web/src/i18n/locales/zh-Hant.ts b/web/src/i18n/locales/zh-Hant.ts
index c7d44b40f..862d88fdb 100644
--- a/web/src/i18n/locales/zh-Hant.ts
+++ b/web/src/i18n/locales/zh-Hant.ts
@@ -347,7 +347,7 @@ const zhHant = {
legacyAdapters: '舊版適配器',
legacyAdapterBadge: '過時',
legacyAdaptersHint:
- '這些適配器已有對應的事件驅動接入版本,僅為相容既有設定保留,不建議新建機器人時使用。',
+ '這些適配器已有對應的事件驅動接入版本,\n僅為相容既有設定保留,不建議新建機器人時使用。',
adapterConfig: '適配器設定',
viewAdapterDocs: '查看文檔',
bindPipeline: '綁定流程線',
@@ -682,6 +682,7 @@ const zhHant = {
Parser: '解析器',
Page: '擴展頁',
AgentRunner: 'Agent 執行器',
+ EventProcessor: '事件處理器',
},
uploadLocal: '本地上傳',
debugging: '調試中',
@@ -856,6 +857,7 @@ const zhHant = {
Parser: '解析器',
Page: '擴展頁',
AgentRunner: 'Agent 執行器',
+ EventProcessor: '事件處理器',
},
filterByType: '類型',
allTypes: '全部類型',