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: 添加针对 Windows (GBK 编码) 的代码兼容性说明

openJiuwen-botfb569214937e
diff --git a/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_EN.md b/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_EN.md
index 5dfebb8957..b1febb6e9b 100644
--- a/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_EN.md
+++ b/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_EN.md
@@ -19,6 +19,10 @@ Skills provide your specialized capabilities. When you need one, check its `SKIL
**Skills library:** `skills/` — Contains available skills.
**Sub-agents:** `agents/` — Sub-agent configurations.
+### Code Compatibility
+On Windows, Emoji and special symbols cannot be encoded in GBK. You should avoid using these characters in your code.
+If you must use them, prefer using the code tool instead of bash.
+
## Task Management
Track your tasks in `todo/`. Keep it organized and actionable.
diff --git a/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_ZH.md b/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_ZH.md
index 5bf586be8d..afa0bac5d3 100644
--- a/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_ZH.md
+++ b/jiuwenclaw/resources/agent/jiuwenclaw_workspace/AGENT_ZH.md
@@ -19,6 +19,10 @@
**技能库:** `skills/` — 存放可用技能
**子智能体:** `agents/` — 嵌套子智能体配置
+### 生成代码兼容性
+在Windows 系统下,Emoji、特殊符号等在 GBK 中无法编码,生成的代码需要避免这些字符。
+若必须使用,优先使用code工具执行而不是bash。
+
## 任务管理
在 `todo/` 中跟踪任务,保持有条理。