feat: 添加智能体卡片组件
- 新建 agentCard.ts 智能体卡片UI组件 - webviewContent.ts 集成样式和脚本
This commit is contained in:
@ -17,6 +17,10 @@ import {
|
||||
getMessageAreaStyles,
|
||||
getMessageAreaScript,
|
||||
} from "./messageArea";
|
||||
import {
|
||||
getAgentCardStyles,
|
||||
getAgentCardScript,
|
||||
} from "./agentCard";
|
||||
/**
|
||||
* 获取 WebView 面板的 HTML 内容
|
||||
*/
|
||||
@ -65,6 +69,7 @@ export function getWebviewContent(iconUri?: string): string {
|
||||
padding: 0 20px 20px 20px;
|
||||
}
|
||||
${getMessageAreaStyles()}
|
||||
${getAgentCardStyles()}
|
||||
${getWaveformPreviewContent()}
|
||||
${getConversationHistoryBarStyles()}
|
||||
${getInputAreaStyles()}
|
||||
@ -531,6 +536,7 @@ export function getWebviewContent(iconUri?: string): string {
|
||||
});
|
||||
|
||||
${getMessageAreaScript()}
|
||||
${getAgentCardScript()}
|
||||
${getWaveformPreviewScript()}
|
||||
${getConversationHistoryBarScript()}
|
||||
${getInputAreaScript()}
|
||||
|
||||
Reference in New Issue
Block a user