fix(linear): clarify setup actions and MCP configuration

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-23 18:29:52 +08:00
1 parent d699088705
commit 1fc44e091b
20 files changed
+228 -121

No files matched your search

+6
View File
@@ -25,6 +25,7 @@ export type ChannelPluginPanelProps = {
showBrandLogos: boolean;
onAction: ChannelFeatureAction;
onFeaturesUpdate: (payload: NanobotFeaturesPayload) => void;
onConfigureMcp?: (name: string) => void;
onBeforeCloseChange?: (handler: (() => Promise<boolean>) | null) => void;
};
@@ -36,10 +37,15 @@ export type ChannelPluginConnectFlowProps = {
onFeaturesUpdate: (payload: NanobotFeaturesPayload) => void;
};
export type ChannelPluginHelpProps = {
feature: NanobotFeatureInfo;
};
export type ChannelUiContribution = {
presentation: ChannelPresentation;
aliases?: Record<string, Partial<ChannelPresentation>>;
Panel?: ComponentType<ChannelPluginPanelProps>;
HelpContent?: ComponentType<ChannelPluginHelpProps>;
ConnectFlow?: ComponentType<ChannelPluginConnectFlowProps>;
canConnectBeforeConfigured?: boolean;
};