fix(4.11): align omni adapters and EventProcessor marketplace support

This commit is contained in:
RockChinQ
2026-09-10 15:06:57 +08:00
parent 5ba25c39af
commit d1c79a35e8
137 changed files with 2653 additions and 657 deletions
@@ -611,7 +611,7 @@ const BotForm = forwardRef<BotFormHandle, BotFormProps>(function BotForm(
</div>
{showLegacyAdapters && (
<>
<p className="px-2 pb-1 text-[11px] leading-snug text-muted-foreground">
<p className="whitespace-pre-line px-2 pb-1 text-[11px] leading-snug text-muted-foreground">
{t('bots.legacyAdaptersHint')}
</p>
<SelectGroup>
@@ -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: <FileText className="w-5 h-5" />,
Page: <PanelTop className="w-5 h-5" />,
AgentRunner: <Bot className="w-5 h-5" />,
EventProcessor: <Puzzle className="w-5 h-5" />,
};
const componentKindList = Object.keys(components || {});
@@ -5,6 +5,7 @@ import {
Book,
FileText,
Hash,
Puzzle,
Wrench,
type LucideIcon,
} from 'lucide-react';
@@ -17,4 +18,5 @@ export const pluginComponentIconMap: Record<string, LucideIcon> = {
Parser: FileText,
Page: AppWindow,
AgentRunner: Bot,
EventProcessor: Puzzle,
};
@@ -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,
},
];
// 获取当前排序参数