Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix:1.◯ disabled->o disabled;2.channel上架微信(定时任务也可选)

openJiuwen-botcd21caba3a24
diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mcp.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mcp.ts
index fd78ddd3b8..38c5852ece 100644
--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mcp.ts
+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mcp.ts
@@ -94,7 +94,7 @@ export function createMcpCommand(): SlashCommand {
title: "MCP Servers",
items: items.map((x, idx) => ({
label: String(idx + 1),
- value: `${x.name} | ${x.transport}${x.enabled ? " · ✔ enabled" : " · ◯ disabled"}`,
+ value: `${x.name} | ${x.transport}${x.enabled ? " · ✔ enabled" : " · ○ disabled"}`,
})),
}),
);
diff --git a/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts b/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts
index d521084c0d..89ac0e1c0c 100644
--- a/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts
+++ b/jiuwenswarm/channels/tui/frontend/src/ui/app-screen.ts
@@ -3548,7 +3548,7 @@ export class AppScreen implements Component, Focusable {
}
const selectItems: SelectItem[] = items.map((x) => ({
- label: `${x.name} | ${x.transport}${x.enabled ? " · ✔ enabled" : " · ◯ disabled"}`,
+ label: `${x.name} | ${x.transport}${x.enabled ? " · ✔ enabled" : " · ○ disabled"}`,
value: x.name,
}));
const list = new SelectList(
@@ -3676,7 +3676,7 @@ export class AppScreen implements Component, Focusable {
// Detail fields
boxedLines.push(padToWidth(
- ` Status: ${enabled ? palette.status.success("✔ enabled") : palette.text.dim("◯ disabled")}`,
+ ` Status: ${enabled ? palette.status.success("✔ enabled") : palette.text.dim("○ disabled")}`,
contentWidth,
));
if (info.transport) {
diff --git a/jiuwenswarm/channels/web/frontend/src/components/ChannelsPanel/index.tsx b/jiuwenswarm/channels/web/frontend/src/components/ChannelsPanel/index.tsx
index 3c284b2d15..f863a2ccac 100644
--- a/jiuwenswarm/channels/web/frontend/src/components/ChannelsPanel/index.tsx
+++ b/jiuwenswarm/channels/web/frontend/src/components/ChannelsPanel/index.tsx
@@ -34,7 +34,8 @@ type SupportedChannelId =
| 'dingtalk'
| 'telegram'
| 'discord'
- | 'whatsapp';
+ | 'whatsapp'
+ | 'wechat';
const ADAPTING_CHANNEL_IDS = new Set<SupportedChannelId>([]);
@@ -272,6 +273,7 @@ const SUPPORTED_CHANNELS: Array<{ channel_id: SupportedChannelId; logo_src: stri
{ channel_id: 'telegram', logo_src: '/telegram.webp' },
{ channel_id: 'discord', logo_src: '/discord.webp' },
{ channel_id: 'whatsapp', logo_src: '/whatsapp.png' },
+ { channel_id: 'wechat', logo_src: '/wechat.png' },
];
diff --git a/jiuwenswarm/channels/web/frontend/src/components/CronPanel/index.tsx b/jiuwenswarm/channels/web/frontend/src/components/CronPanel/index.tsx
index cd4086cb99..c9d56443c3 100644
--- a/jiuwenswarm/channels/web/frontend/src/components/CronPanel/index.tsx
+++ b/jiuwenswarm/channels/web/frontend/src/components/CronPanel/index.tsx
@@ -305,6 +305,7 @@ export default function CronPanel({ sessionId }: CronPanelProps) {
{ value: 'feishu', label: t('cron.targets.feishu'), disabled: !enabledChannels.has('feishu') },
{ value: 'dingtalk', label: t('cron.targets.dingtalk'), disabled: !enabledChannels.has('dingtalk') },
{ value: 'whatsapp', label: t('cron.targets.whatsapp'), disabled: !enabledChannels.has('whatsapp') },
+ { value: 'wechat', label: t('cron.targets.wechat'), disabled: !enabledChannels.has('wechat') },
], [t, enabledChannels]);
// 加载任务列表