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(tui): Distributed teams do not support multiple TUI windows; add this constraint to the documentation

kdgmpw2dd2bd5ffdea
diff --git a/docs/en/DistributedTeam.md b/docs/en/DistributedTeam.md
index 11bc8dc9fe..7823af744a 100644
--- a/docs/en/DistributedTeam.md
+++ b/docs/en/DistributedTeam.md
@@ -21,6 +21,8 @@ The main config file is usually `~/.jiuwenswarm/config/config.yaml`. Override th
**Session semantics**: distributed mode retains **single active session** per channel — creating or switching to a Team for a new session first tears down other active or pending session Teams in the same channel, so remote member bootstrap, transport connections, and runtime resources are not reused across sessions. **Local mode** instead allows multiple Team sessions to run concurrently in the same channel and does not apply this single-session switch policy.
+> **⚠️ Multi-TUI-window limitation**: Multiple TUI windows cannot run Team tasks concurrently under distributed mode — starting a Team session in a new window will automatically stop the existing Team session.
+
---
## 2. Config keys you will touch
diff --git "a/docs/zh/\345\210\206\345\270\203\345\274\217Team.md" "b/docs/zh/\345\210\206\345\270\203\345\274\217Team.md"
index 839b455b51..fb0e1cfac0 100644
--- "a/docs/zh/\345\210\206\345\270\203\345\274\217Team.md"
+++ "b/docs/zh/\345\210\206\345\270\203\345\274\217Team.md"
@@ -21,6 +21,8 @@ English: [Distributed Team](../en/DistributedTeam.md)
**会话语义**:分布式模式保持 **单活 session**——为同一频道新建或切换 Team 会话时,会先停止该频道中原有的活动或待启动会话,确保远程成员 bootstrap、传输连接和运行时资源不会跨会话复用。**本地模式**则支持同一频道下多个 Team 会话并发运行,不应用此单会话切换策略。
+> **⚠️ 多 TUI 窗口限制**:分布式模式下多个 TUI 窗口不能同时运行 Team 任务,新窗口启动 Team 会话会自动停止已有窗口的 Team 会话。
+
---
## 2. 你需要关心的配置键