diff --git a/mateclaw-ui/src/components/channels/ChannelEditModal.vue b/mateclaw-ui/src/components/channels/ChannelEditModal.vue index e8cfd17c..d419ae77 100644 --- a/mateclaw-ui/src/components/channels/ChannelEditModal.vue +++ b/mateclaw-ui/src/components/channels/ChannelEditModal.vue @@ -42,7 +42,7 @@ @@ -440,6 +440,7 @@ import { useWeixinQrcodePoll } from '@/composables/channels/useWeixinQrcodePoll' import { useWecomBotAuth } from '@/composables/channels/useWecomBotAuth' import { useFeishuAppRegister } from '@/composables/channels/useFeishuAppRegister' import { useDingTalkAppRegister } from '@/composables/channels/useDingTalkAppRegister' +import { plainTextIcon } from '@/composables/usePixelarticons' interface Props { modelValue: boolean diff --git a/mateclaw-ui/src/composables/usePixelarticons.ts b/mateclaw-ui/src/composables/usePixelarticons.ts index 8046745e..eda9aaa8 100644 --- a/mateclaw-ui/src/composables/usePixelarticons.ts +++ b/mateclaw-ui/src/composables/usePixelarticons.ts @@ -54,6 +54,16 @@ export type ParsedIcon = | { kind: 'emoji'; value: string } | { kind: 'empty' } +/** + * Plain-text icon glyph for hosts that can't render components β€” chiefly + * ` @@ -209,6 +209,7 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { agentApi, agentContextApi } from '@/api/index' import type { Agent, WorkspaceFile } from '@/types/index' import { useMarkdownRenderer } from '@/composables/useMarkdownRenderer' +import { plainTextIcon } from '@/composables/usePixelarticons' const { renderMarkdown } = useMarkdownRenderer() diff --git a/mateclaw-ui/src/views/Agents.vue b/mateclaw-ui/src/views/Agents.vue index c48bf950..170f0c51 100644 --- a/mateclaw-ui/src/views/Agents.vue +++ b/mateclaw-ui/src/views/Agents.vue @@ -42,7 +42,9 @@ :class="{ 'agent-card--disabled': !agent.enabled }" >
- {{ agent.icon || 'πŸ€–' }} + + +
+ + +