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.修改team配置图标;2.心跳间隔提示修改;3.技能-加载中优化展示
openJiuwen-bot48892055290a
diff --git a/jiuwenswarm/channels/web/frontend/src/components/ConfigPanel/index.tsx b/jiuwenswarm/channels/web/frontend/src/components/ConfigPanel/index.tsxindex c3e198b81c..7f100fdf5b 100644--- a/jiuwenswarm/channels/web/frontend/src/components/ConfigPanel/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/components/ConfigPanel/index.tsx@@ -5,7 +5,6 @@ import { useChatStore, useSessionStore } from '../../stores';import type { ModelEntry } from '../../types';import { webRequest } from '../../services/webClient';import { PermissionsToolsEditor } from "./PermissionsToolsEditor";-import clusterIcon from '../../assets/cluster.svg';function MultiSelectDropdown({options,@@ -396,7 +395,11 @@ function getGroupIcon(tag: string) {}if (tag === "team") {return (- <img src={clusterIcon} className="w-3.5 h-3.5" alt="" aria-hidden="true" />+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="rgb(217 70 239)" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="lucide lucide-users text-text-muted" aria-hidden="true">+ <path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path>+ <path d="M22 21v-2a4 4 0 0 0-3-3.87"></path>+ <circle cx="9" cy="7" r="4"></circle>+ </svg>);}if (tag === "context_engine") {diff --git a/jiuwenswarm/channels/web/frontend/src/components/HeartbeatPanel/index.tsx b/jiuwenswarm/channels/web/frontend/src/components/HeartbeatPanel/index.tsxindex aa8c549f15..b7e8b085a3 100644--- a/jiuwenswarm/channels/web/frontend/src/components/HeartbeatPanel/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/components/HeartbeatPanel/index.tsx@@ -185,7 +185,7 @@ export function HeartbeatPanel() {return;}const every = Number(everyInput);- if (!Number.isFinite(every) || every <= 0) {+ if (!Number.isFinite(every) || every < 0) {setError(t('heartbeat.errors.invalidEvery'));return;}diff --git a/jiuwenswarm/channels/web/frontend/src/components/SkillPanel/index.tsx b/jiuwenswarm/channels/web/frontend/src/components/SkillPanel/index.tsxindex 3bc64bdc65..195c236338 100644--- a/jiuwenswarm/channels/web/frontend/src/components/SkillPanel/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/components/SkillPanel/index.tsx@@ -1477,7 +1477,7 @@ export function SkillPanel({ sessionId, onNavigateToConfig }: SkillPanelProps) {{marketplaceSubTab === "builtin" && (<>{listState === "loading" && (- <div className="text-sm text-text-muted">{t('common.loading')}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t('common.loading')}</div>)}{listState === "error" && (<div className="text-sm text-text-muted">{t('skills.listError')}</div>@@ -1774,7 +1774,7 @@ export function SkillPanel({ sessionId, onNavigateToConfig }: SkillPanelProps) {<div className={`mt-4 flex-1 min-h-0 overflow-y-auto ${viewMode === "grid" ? "flex flex-wrap gap-4 content-start" : "space-y-3"}`}>{listState === "loading" && (- <div className="text-sm text-text-muted">{t('common.loading')}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t('common.loading')}</div>)}{listState === "error" && (<div className="text-sm text-text-muted">diff --git a/jiuwenswarm/channels/web/frontend/src/features/ClawHubSearchModal/index.tsx b/jiuwenswarm/channels/web/frontend/src/features/ClawHubSearchModal/index.tsxindex 8c1b76ac30..b40502c246 100644--- a/jiuwenswarm/channels/web/frontend/src/features/ClawHubSearchModal/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/features/ClawHubSearchModal/index.tsx@@ -286,11 +286,7 @@ export function ClawHubSearchModal({if (embedded) {if (tokenLoading) {- return (- <div className="flex items-center justify-center h-full text-text-muted">- {t("common.loading")}- </div>- );+ return null;}return (@@ -321,7 +317,7 @@ export function ClawHubSearchModal({</div>)}{loadState === "loading" && (- <div className="text-sm text-text-muted">{t("common.loading")}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t("common.loading")}</div>)}{loadState === "error" && (<div className="text-sm text-text-muted">{t("skills.clawhub.errors.searchFailed")}</div>diff --git a/jiuwenswarm/channels/web/frontend/src/features/SkillEvolutionModal/index.tsx b/jiuwenswarm/channels/web/frontend/src/features/SkillEvolutionModal/index.tsxindex 2c5d905091..ce717768df 100644--- a/jiuwenswarm/channels/web/frontend/src/features/SkillEvolutionModal/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/features/SkillEvolutionModal/index.tsx@@ -225,7 +225,7 @@ export function SkillEvolutionModal({)}{listState === "loading" && (- <div className="text-sm text-text-muted">{t("common.loading")}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t("common.loading")}</div>)}{listState === "error" && (<div className="text-sm text-text-muted">diff --git a/jiuwenswarm/channels/web/frontend/src/features/SkillNetSearchModal/index.tsx b/jiuwenswarm/channels/web/frontend/src/features/SkillNetSearchModal/index.tsxindex 9eebe9c5a8..ef011bc422 100644--- a/jiuwenswarm/channels/web/frontend/src/features/SkillNetSearchModal/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/features/SkillNetSearchModal/index.tsx@@ -533,7 +533,7 @@ export function SkillNetSearchModal({)}{loadState === "loading" && (- <div className="text-sm text-text-muted">{t("common.loading")}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t("common.loading")}</div>)}{loadState === "error" && (<div className="text-sm text-text-muted">{t("skills.skillNet.searchFailed")}</div>diff --git a/jiuwenswarm/channels/web/frontend/src/features/TeamSkillsHubModal/index.tsx b/jiuwenswarm/channels/web/frontend/src/features/TeamSkillsHubModal/index.tsxindex ce22b13b96..da23c878c2 100644--- a/jiuwenswarm/channels/web/frontend/src/features/TeamSkillsHubModal/index.tsx+++ b/jiuwenswarm/channels/web/frontend/src/features/TeamSkillsHubModal/index.tsx@@ -278,7 +278,7 @@ export function TeamSkillsHubModal({)}{loadState === "loading" && (- <div className="text-sm text-text-muted">{t("common.loading")}</div>+ <div className="flex items-center justify-center h-full text-text-muted">{t("common.loading")}</div>)}{loadState === "error" && (<div className="text-sm text-text-muted">{t("skills.teamskillshub.errors.searchFailed")}</div>diff --git a/jiuwenswarm/channels/web/frontend/src/i18n/locales/en.json b/jiuwenswarm/channels/web/frontend/src/i18n/locales/en.jsonindex fcdc08781e..84ef6b5ae6 100644--- a/jiuwenswarm/channels/web/frontend/src/i18n/locales/en.json+++ b/jiuwenswarm/channels/web/frontend/src/i18n/locales/en.json@@ -438,7 +438,7 @@"errors": {"loadConfig": "Failed to load heartbeat settings","saveConfig": "Failed to save heartbeat settings",- "invalidEvery": "Heartbeat interval must be a number greater than 0",+ "invalidEvery": "Heartbeat interval must be a non-negative number","invalidActiveHours": "active_hours must use HH:MM format (for example 08:00)","invalidRange": "End time must be later than start time"}diff --git a/jiuwenswarm/channels/web/frontend/src/i18n/locales/zh.json b/jiuwenswarm/channels/web/frontend/src/i18n/locales/zh.jsonindex bc34a6f5d3..6acdf70ab0 100644--- a/jiuwenswarm/channels/web/frontend/src/i18n/locales/zh.json+++ b/jiuwenswarm/channels/web/frontend/src/i18n/locales/zh.json@@ -438,7 +438,7 @@"errors": {"loadConfig": "加载心跳配置失败","saveConfig": "保存心跳配置失败",- "invalidEvery": "心跳间隔 every 必须是大于 0 的数字",+ "invalidEvery": "心跳间隔 every 必须是非负数","invalidActiveHours": "active_hours 需使用 HH:MM 格式(例如 08:00)","invalidRange": "结束时间必须大于开始时间"}