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

docs: Creating `docs/en/` and `docs/zh/` folder + adding English Translation

openJiuwen-bot648c22c51b01
diff --git a/docs/en/Agent.md b/docs/en/Agent.md
new file mode 100644
index 0000000000..d9bcf46ce1
--- /dev/null
+++ b/docs/en/Agent.md
@@ -0,0 +1,74 @@
+# Agent & workspace
+
+`workspace` is JiuwenClaw’s runtime directory for agent memory, skills, session data, and configurable heartbeat tasks. In **source mode** it lives at the project root `workspace`; in **wheel install mode**, the bundled `workspace` is copied to `~/.jiuwenclaw/workspace` on first run.
+
+![Workspace](../assets/images/agent.png)
+
+## Layout overview
+
+```
+workspace/
+├── agent-data.json # Agent list metadata (generated)
+├── skills_state.json # Skill install/market state (generated)
+├── agent/ # Agent workspace
+│ ├── home/ # Editable home page (copied from package templates by language at init)
+│ │ ├── HEARTBEAT.md # Heartbeat tasks (from HEARTBEAT_ZH/EN.md)
+│ │ ├── PRINCIPLE.md # Principles (from PRINCIPLE_ZH/EN.md)
+│ │ └── TONE.md # Tone (from TONE_ZH/EN.md)
+│ ├── memory/ # Memory system
+│ │ ├── USER.md # User profile (created by user/agent)
+│ │ ├── MEMORY.md # Long-term memory (created by user/agent)
+│ │ ├── YYYY-MM-DD.md # Daily memory (generated)
+│ │ ├── messages.json # Compressed message store (generated)
+│ │ └── memory.db # Vector DB (generated)
+│ ├── skills/ # Skills
+│ │ ├── _marketplace/ # Marketplace clone dir (empty by default)
+│ │ └── <skill-name>/ # Built-in + marketplace skills
+│ └── SOUL.md # Agent persona (preset)
+└── session/ # Sessions (generated)
+ ├── sess_<id>/ # Normal sessions
+ │ ├── todo.md # Todo list (TodoToolkit)
+ │ └── *.md, *.json # Session outputs
+ └── heartbeat_<id>/ # Heartbeat sessions
+```
+
+---
+
+## Pre-configured content
+
+Shipped with the package or source; you can use or edit as needed:
+
+| Path | Description |
+|------|-------------|
+| `agent/home/HEARTBEAT.md` | Heartbeat template (`resources/agent/HEARTBEAT_ZH.md` or `HEARTBEAT_EN.md`, copied by language at init). If present and valid, the agent reads it on each heartbeat; otherwise only `HEARTBEAT_OK` is returned. Editable in the web UI. |
+| `agent/SOUL.md` | Persona for system prompts. |
+| `agent/skills/` | Built-in skills. Each has `SKILL.md`, `prompts/`, `references/`, etc. |
+| `agent/skills/_marketplace/` | Marketplace clone cache; empty by default. |
+| `agent/memory/` | Memory layout. `USER.md` and `MEMORY.md` may be created on first use. |
+
+---
+
+## Dynamically generated content
+
+Created or updated at runtime:
+
+| Path | Description |
+|------|-------------|
+| `agent-data.json` | Generated by `scripts/generate-agent-folders.js` for the web UI. |
+| `skills_state.json` | Maintained by `SkillManager` for installed marketplace plugins. |
+| `agent/memory/YYYY-MM-DD.md` | Daily memory files. |
+| `agent/memory/messages.json` | Compressed messages for memory. |
+| `agent/memory/memory.db` | ChromaDB for `memory_search`. |
+| `agent/skills/<skill>/evolutions.json` | Skill evolution records. |
+| `session/<session_id>/` | One folder per session (`app.py`). |
+| `session/<session_id>/todo.md` | Todo list for that session. |
+| `session/<session_id>/*` | Other session artifacts. |
+
+---
+
+## Related configuration
+
+- **Skill root**: `skill_base_dir` in `config/config.yaml`, default `workspace/agent/skills`.
+- **Memory workspace**: `workspace/agent` (`get_agent_workspace_dir()`).
+- **Sessions**: `workspace/session`, one subfolder per `session_id`.
+- **SkillNet usage in Claw**: see [Skills.md §5](Skills.md#5-how-skills-installed-via-skillnet-are-used-in-claw).
diff --git a/docs/en/Browser.md b/docs/en/Browser.md
new file mode 100644
index 0000000000..745ce147c9
--- /dev/null
+++ b/docs/en/Browser.md
@@ -0,0 +1,196 @@
+# Browser tools
+
+## 1. Overview
+
+Browser tools drive a real Chrome instance for form filling, clicks, uploads, and web tasks. Configure Chrome in the web UI and start the browser service; the system launches an attachable Chrome instance. When needed, the agent connects and controls it.
+
+## 2. Architecture
+
+- **Web UI**: “Browser service” panel — Chrome path and start/stop.
+- **Backend**: `browser_start_client.py` starts local Chrome with remote debugging.
+- **Runtime**: Playwright MCP wrapper; tools talk to the runtime via MCP.
+- **Agent**: `browser_run_task` turns natural language into browser actions.
+- **Sessions**: Browser state is reused per `session_id` (logins, tabs, permissions).
+
+Flow: **UI config → start Chrome → runtime attaches → agent runs tasks**.
+
+## 3. Capabilities
+
+- Open pages and wait for load
+- Continue on sites where you are already logged in
+- Click, type, select elements
+- Multi-step flows
+- Reuse one browser session
+- Read title, URL, page content
+- Forms, attachments, mail, etc.
+
+## 4. Web UI steps
+
+Install Chrome first.
+
+### Step 1: Chrome path and profile
+
+1. Open Chrome.
+2. Visit `chrome://version`.
+3. Note:
+ - **Executable path** → `CHROME_PATH`
+ - **Profile path** → confirms user data for login debugging
+
+### Step 2: Open the browser service panel
+
+1. Open the JiuwenClaw web UI.
+
+![Browser panel](../assets/images/browser1.png)
+
+2. Go to **Settings** → **Browser service**.
+3. Find the Chrome path field.
+
+![Chrome path](../assets/images/browser2.png)
+
+### Step 3: Set `CHROME_PATH`
+
+1. Copy the executable path from `chrome://version`.
+
+![Chrome version](../assets/images/browser3.png)
+
+2. Paste into **CHROME_PATH** and **Save path**.
+
+### Step 4: Start the browser service
+
+1. Click **Start browser service**.
+2. A new Chrome window should open — that instance is controlled by the agent.
+
+### Step 5: Log in manually
+
+For mail, SSO, or intranet, complete login **in that Chrome window** first.
+
+### Step 6: Use from chat
+
+Ask the agent to open pages, fill forms, or continue logged-in flows. It uses the authorized Chrome, not a cold profile.
+
+## 5. Backend configuration
+
+- **`config/config.yaml`**: Chrome launch (path, debugging port, profile).
+- **`.env`**: MCP, Playwright, timeouts.
+
+### 5.1 `config/config.yaml`
+
+```yaml
+browser:
+ chrome_path: "C:\\Users\\YOUR_USER\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe"
+ remote_debugging_address: "127.0.0.1"
+ remote_debugging_port: 9222
+ user_data_dir: ""
+ profile_directory: "Default"
+```
+
+- **`chrome_path`**: Executable; can be a string or per-OS map.
+- **`remote_debugging_address`**: Usually `127.0.0.1`.
+- **`remote_debugging_port`**: Often `9222`.
+- **`user_data_dir`**: Empty uses OS default.
+- **`profile_directory`**: Often `Default`.
+
+Per-OS example:
+
+```yaml
+browser:
+ chrome_path:
+ windows: "C:\\Users\\YOUR_USER\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe"
+ macos: "/Applications/Google Chrome.app"
+ linux: "/usr/bin/google-chrome"
+ remote_debugging_address: "127.0.0.1"
+ remote_debugging_port: 9222
+ user_data_dir: ""
+ profile_directory: "Default"
+```
+
+### 5.2 `.env` — browser runtime
+
+#### A. Browser MCP wrapper
+
+```dotenv
+BROWSER_RUNTIME_MCP_ENABLED=1
+BROWSER_RUNTIME_MCP_CLIENT_TYPE=streamable-http
+BROWSER_RUNTIME_MCP_SERVER_ID=playwright_runtime_wrapper
+BROWSER_RUNTIME_MCP_SERVER_NAME=playwright-runtime-wrapper
+BROWSER_RUNTIME_MCP_SERVER_PATH=http://127.0.0.1:8940/mcp
+BROWSER_RUNTIME_MCP_TIMEOUT_S=300
+BROWSER_RUNTIME_MCP_HOST=127.0.0.1
+BROWSER_RUNTIME_MCP_PORT=8940
+BROWSER_RUNTIME_MCP_PATH=/mcp
+BROWSER_RUNTIME_MCP_COMMAND=
+BROWSER_RUNTIME_MCP_ARGS=
+BROWSER_RUNTIME_MCP_AUTO_SSE_FALLBACK=1
+```
+
+#### B. Official Playwright MCP
+
+```dotenv
+PLAYWRIGHT_MCP_COMMAND=npx
+PLAYWRIGHT_MCP_ARGS=-y @playwright/mcp@latest
+PLAYWRIGHT_CDP_URL=http://127.0.0.1:9222
+```
+
+`PLAYWRIGHT_CDP_URL` must match `config.yaml` debugging host/port.
+
+#### C. Timeouts
+
+```dotenv
+PLAYWRIGHT_TOOL_TIMEOUT_S=300
+BROWSER_TIMEOUT_S=300
+BROWSER_ALLOW_SHORT_TIMEOUT_OVERRIDE=0
+```
+
+### 5.3 Minimal recommended setup
+
+`config/config.yaml`:
+
+```yaml
+browser:
+ chrome_path: "C:\\Users\\YOUR_USER\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe"
+ remote_debugging_address: "127.0.0.1"
+ remote_debugging_port: 9222
+ user_data_dir: ""
+ profile_directory: "Default"
+```
+
+`.env`:
+
+```dotenv
+BROWSER_RUNTIME_MCP_ENABLED=1
+BROWSER_RUNTIME_MCP_CLIENT_TYPE=streamable-http
+BROWSER_RUNTIME_MCP_SERVER_PATH=http://127.0.0.1:8940/mcp
+PLAYWRIGHT_MCP_COMMAND=npx
+PLAYWRIGHT_MCP_ARGS=-y @playwright/mcp@latest
+PLAYWRIGHT_CDP_URL=http://127.0.0.1:9222
+PLAYWRIGHT_TOOL_TIMEOUT_S=300
+BROWSER_TIMEOUT_S=300
+BROWSER_ALLOW_SHORT_TIMEOUT_OVERRIDE=0
+```
+
+## 6. Tips
+
+- Prefer a real local Chrome install.
+- **Log in** in the launched window before heavy automation.
+- Keep one session for long flows.
+- **Align `PLAYWRIGHT_CDP_URL`** with `config.yaml` debugging settings.
+- Keep **`BROWSER_ALLOW_SHORT_TIMEOUT_OVERRIDE=0`** so the model cannot shorten timeouts too aggressively.
+
+## 7. Code index
+
+### Frontend
+- `jiuwenclaw/web/src/components/BrowserPanel/index.tsx` — path, save, start service.
+
+### Backend
+- `app.py` — `path.get`, `path.set`, `browser.start`, etc.
+- `jiuwenclaw/agentserver/tools/browser_start_client.py` — Chrome launch from `config.yaml`.
+- `jiuwenclaw/agentserver/tools/browser_tools.py` — MCP client, auto-start wrapper.
+- `jiuwenclaw/agentserver/tools/browser-move/src/playwright_runtime_mcp_server.py` — MCP server.
+- `.../playwright_runtime/runtime.py`, `service.py`, `agents.py`, `config.py` — runtime orchestration.
+
+### Config
+- `config/config.yaml`, `.env`, `.env.template`
+
+## 8. Summary
+
+Browser tools let the agent run **in your authenticated Chrome**: the UI configures and starts Chrome; the backend attaches and automates via Playwright MCP.
diff --git a/docs/en/CLI.md b/docs/en/CLI.md
new file mode 100644
index 0000000000..b1f13ce961
--- /dev/null
+++ b/docs/en/CLI.md
@@ -0,0 +1,75 @@
+## CLI / channel control commands
+
+JiuwenClaw supports **special prefix commands** to control sessions and modes. Common ones:
+
+- `/new_session`: start a new `session_id` for the current channel
+- `/mode plan` or `/mode agent`: switch the channel’s working mode
+
+These are handled in the Gateway **`MessageHandler`** and **are not** sent to the agent.
+
+---
+
+### 1. `/new_session` — new session id
+
+**Behavior**
+
+- For supported channels (`feishu` / `xiaoyi` / `dingtalk`), generates a new `session_id`, e.g.:
+ - `feishu_<ms hex>_<random hex>`
+ - `xiaoyi_<ms hex>_<random hex>`
+ - `dingtalk_<ms hex>_<random hex>`
+- Later messages on that channel use this id, so a new folder appears under `workspace/session/`.
+
+**Usage**
+
+Send in the channel (Feishu / Xiaoyi / DingTalk):
+
+ ```text
+ /new_session
+ ```
+![](../assets/images/命令行解析.jpg)
+
+The Gateway will:
+
+ 1. Intercept (not forwarded to the agent)
+ 2. Generate a new `session_id` for that `channel_id`
+ 3. Reply with a system message, e.g.
+ `session_id updated to feishu_17f2b4b32e0_ab12cd`
+
+**Notes**
+
+- `/new_session` only changes **future** message binding; the directory is created when the session is actually used (todo, files, etc.).
+
+---
+
+### 2. `/mode` — channel mode (`plan` / `agent`)
+
+**Behavior**
+
+- Sets a logical **mode** for the channel:
+ - `plan`: planning, explanation, decomposition (default)
+ - `agent`: more hands-on execution
+- Mode is passed in `params["mode"]` for prompt construction.
+
+**Usage**
+
+ ```text
+ /mode plan
+ ```
+
+ or
+
+ ```text
+ /mode agent
+ ```
+
+The Gateway will:
+
+ 1. Treat as control, not forward to the agent
+ 2. Update `ChannelControlState.mode`
+ 3. Reply e.g. `mode updated to agent`
+
+**Scope**
+
+- Stored **per channel** (`channel_id` → `mode`). All later messages on that channel use the current mode.
+- Initial value can come from `default_mode` in config; `MessageHandler` reads it on startup.
+
diff --git a/docs/en/Channels.md b/docs/en/Channels.md
new file mode 100644
index 0000000000..9150b846f9
--- /dev/null
+++ b/docs/en/Channels.md
@@ -0,0 +1,446 @@
+# Channels — unified chat hub
+
+**Channels** are how JiuwenClaw connects to chat platforms. **HarmonyOS Xiaoyi**, **Feishu (Lark)**, and more are supported, with more coming. You can talk to JiuwenClaw from **Feishu**, **Xiaoyi on Harmony devices**, and others.
+
+Configure channels in either of two ways:
+
+* **Web UI (recommended)** — In the app, open **Agent** / **Channels**, then fill in the channel form.
+
+* **Edit `config.yaml` manually** — Usually `~/.jiuwenclaw/config/config.yaml` (created on first `jiuwenclaw-start`). Set `enabled: true` and credentials; save to auto-reload without a full restart.
+
+
+
+# Xiaoyi
+
+[Demo video](../assets/videos/xiaoyi_channel.mp4)
+
+## 1. Create a Xiaoyi agent
+
+Create a **JiuwenClaw-mode** agent on the [Xiaoyi Open Platform](https://developer.huawei.com/consumer/cn/hag/abilityportal/#/) to connect to your JiuwenClaw service.
+
+![Xiaoyi open platform](../assets/images/小艺开放平台.png)
+
+Step 1: create a JiuwenClaw-mode agent.
+
+![Create Xiaoyi agent](../assets/images/小艺创建智能体.png)
+
+Step 2: create credentials and whitelist
+
+Create credentials and **save the AK and SK**.
+
+![Credentials 1](../assets/images/小艺创建凭证_1.png)
+
+![Credentials 2](../assets/images/小艺创建凭证_2.png)
+
+![Credentials 3](../assets/images/小艺创建凭证_3.png)
+
+The platform supports on-device debugging: add users to a whitelist group to test on Harmony devices. After approval and publishing, the agent appears in the Xiaoyi app.
+
+![Whitelist 1](../assets/images/小艺创建白名单_1.png)
+
+![Whitelist 2](../assets/images/小艺创建白名单_2.png)
+
+![Whitelist 3](../assets/images/小艺创建白名单_3.png)
+
+Select the new user group.
+
+![Whitelist 4](../assets/images/小艺创建白名单_4.png)
+
+Step 3: publish
+
+Fill in the opening lines and click publish.
+
+![Publish agent](../assets/images/小艺智能体上架.png)
+
+## 2. Bind the channel
+
+**Option A**: Paste **AK**, **SK**, and **agentId** from the platform into the Xiaoyi channel in JiuwenClaw, enable, and save.
+
+![Enable Xiaoyi channel](../assets/images/小艺频道开启.png)
+
+**Option B**: Edit `~/.jiuwenclaw/config/config.yaml`:
+
+``````
+channels:
+ xiaoyi:
+ # Huawei Xiaoyi A2A
+ ak: "<ak from platform>"
+ sk: "<sk from platform>"
+ agent_id: "<your agent id>"
+ enable_streaming: true
+ enabled: true
+``````
+
+If the service is already running it reloads; otherwise run `jiuwenclaw-start`.
+
+## 3. Chat
+
+Option 1: Web UI.
+
+![Xiaoyi web chat](../assets/images/小艺网页对话.png)
+
+Option 2: On a Harmony phone, open the published agent in the Xiaoyi app.
+
+![Xiaoyi device chat](../assets/images/小艺终端对话.png)
+
+
+
+# Feishu (Lark)
+
+## 1. Create a Feishu custom app
+1. Open [Feishu Open Platform](https://open.feishu.cn/) and sign in.
+
+2. In the developer console, **Create custom app**.
+
+3. Set name, description, icon, and create.
+
+ ![Feishu create app](../assets/images/feishu.png)
+
+## 2. Add bot capability
+1. In the app, open **Add capability**.
+
+2. Under **Bot**, click **Add**.
+
+ ![Feishu add bot](../assets/images/feishu_add_robot.png)
+
+## 3. Save app credentials
+1. Open the Feishu bot admin.
+
+2. Copy **App ID** and **App Secret** into JiuwenClaw’s Feishu channel, enable, and save.
+
+ ![Feishu tokens](../assets/images/feishu_app_token.png)
+
+ ![Feishu channel config](../assets/images/feishu_channel_config.png)
+
+## 4. Permissions
+1. **Permission management** → **API permissions**.
+2. Enable at least:
+ - `im:message` (send/receive as app, DMs, group @mentions).
+ - `im:resource` (upload images/files).
+ - `contact:user.employee_id:readonly` (user IDs).
+ - Or import a preset bundle from Volcengine docs.
+
+![Feishu permissions](../assets/images/feishu_app_permission.png)
+
+## 5. Event subscription
+1. **Events & callbacks**.
+2. **Add events**:
+ - `im.message.receive_v1`
+ - `im.message.message_read_v1` (optional)
+3. If encryption is on, save **Encrypt Key**.
+
+![Feishu events](../assets/images/feishu_app_events.png)
+
+## 6. Publish
+1. **Version & release** → **Create version**.
+2. Set version notes and visibility (often **All members**).
+3. Submit. If review is off, it goes live immediately.
+4. In the Feishu app, sign in as the submitter to see the bot.
+
+![Feishu release](../assets/images/feishu_app_release.png)
+
+## 7. Add bot to a group (optional)
+1. Open the target group in Feishu.
+2. **Group settings** → **Group bots** → **Add bot**, search your app name.
+
+![Feishu group](../assets/images/feishu_chat.png)
+
+## 8. Enable Feishu channel in JiuwenClaw
+Start the web UI, open **Channels → Feishu**, enable, and paste **App ID** and **App Secret**.
+
+## 9. Multiple Feishu bots (`feishu_enterprise`)
+
+Use `channels.feishu_enterprise` when one JiuwenClaw instance must serve **multiple Feishu apps** (multiple bots).
+
+Each bot is a separate channel; `channel_id` looks like `feishu_enterprise:<app_id>`.
+
+Configure only via `~/.jiuwenclaw/config/config.yaml`:
+
+``````
+channels:
+ feishu_enterprise:
+ bot_a:
+ app_id: "cli_xxx"
+ app_secret: "xxx"
+ encrypt_key: ""
+ verification_token: ""
+ allow_from: []
+ enable_streaming: true
+ chat_id: ""
+ enabled: true
+ bot_b:
+ app_id: "cli_yyy"
+ app_secret: "yyy"
+ encrypt_key: ""
+ verification_token: ""
+ allow_from: []
+ enable_streaming: true
+ chat_id: ""
+ enabled: true
+``````
+
+### Fields
+
+| Field | Description |
+|:------|:------------|
+| `app_id` | Feishu App ID (required) |
+| `app_secret` | Feishu App Secret (required) |
+| `encrypt_key` | Event encryption key (optional) |
+| `verification_token` | Event verification token (optional) |
+| `allow_from` | Allowed user `open_id` list; empty = no filter |
+| `enable_streaming` | Stream assistant output |
+| `chat_id` | Fixed push target (optional) |
+| `enabled` | Enable this bot |
+
+### vs single `feishu`
+
+- `feishu`: one channel, `channel_id` is always `feishu`.
+- `feishu_enterprise`: multiple channels, one per bot (`feishu_enterprise:<app_id>`).
+- Session state is tracked per bot so bots do not overwrite each other.
+
+# DingTalk
+
+## 1. Prerequisites
+
+- Your account must be an **enterprise admin** or have **developer permissions**.
+- The org must have **DingTalk Open Platform** enabled.
+
+## 2. Create an internal app bot
+
+### Step 1: Open the console
+
+- Visit [https://open-dev.dingtalk.com](https://open-dev.dingtalk.com)
+- **App development** → **Internal org apps** → **Create app**
+
+![DingTalk start](../assets/images/dingding_start.png)
+
+### Step 2: App info
+
+- Name, e.g. `JiuwenClaw`
+- Type: **Bot**
+
+![DingTalk create](../assets/images/dingding_create_app.png)
+
+### Step 3: Enable bot
+
+- Open the app → **Capabilities** → **Bot** → configure name and short intro.
+
+![DingTalk bot](../assets/images/dingding_robot_config.png)
+
+### Step 4: Message mode
+
+Choose **Stream mode** (WebSocket long connection) — no public IP required; good for cloud functions or local dev.
+
+
+## 3. Permissions
+
+Under **Permissions**, enable as needed, e.g.:
+
+- Send DM/group messages: `qyapi_robot_sendmsg`
+- Lookup user by mobile: `topapi_v2_user_getbymobile`
+- Interactive cards: `Card.Instance.Write`
+- Streaming cards: `Card.Streaming.Write`
+
+## 4. Publish
+
+### Step 1: Save and publish
+
+- Save bot settings.
+- **Version & publish** → publish with notes and scope.
+
+![DingTalk publish](../assets/images/dingding_robot_publish.png)
+
+### Step 2: Confirm
+
+- After **Published**, the bot can be used in DingTalk.
+
+> After publishing, search the bot name in DingTalk to add it to chats.
+
+
+## 5. Configure DingTalk in JiuwenClaw
+
+Copy **Client ID** and **Client Secret** from **Credentials**.
+
+In JiuwenClaw **Channels → DingTalk**, enable and paste **client_id** / **client_secret**, then save.
+
+![DingTalk channel](../assets/images/dingding_channel_enable.png)
+
+# WeCom (WeChat Work)
+
+## 1. Create a bot in WeCom
+
+1. Open WeCom → **Workbench** → **Smart bot** → **Create bot** → **Manual creation**
+
+ ![WeCom entry](../assets/images/wecom/1_企业微信创建机器人入口.png?msec=1774269205893)
+
+ ![WeCom manual](../assets/images/wecom/2_创建机器人.png?msec=1774269205909)
+
+ ![WeCom create form](../assets/images/wecom/3_手动创建.png?msec=1774269205918)
+
+2. Choose **API mode**.
+
+ ![WeCom API mode](../assets/images/wecom/4_API模式创建.png?msec=1774269205918)
+
+3. Set connection to **Long connection**.
+
+ ![WeCom long connection](../assets/images/wecom/5_选择长连接.png?msec=1774269205922)
+
+4. After creation, save **Bot ID** and **Secret** for JiuwenClaw.
+
+## 2. Link JiuwenClaw
+
+1. In JiuwenClaw, open **Channels** → **WeCom**.
+
+2. Enter **bot id** and **secret**, then save.
+
+ ![WeCom channel](../assets/images/wecom/6_频道.png?msec=1774269205907)
+
+ ![WeCom channel admin](../assets/images/wecom/7_频道管理.png?msec=1774269205918)
+
+## 3. Chat with the bot
+
+> If you cannot find the bot: **Workbench → Smart bot → Details → Use → Send message**.
+
+![WeCom bot detail](../assets/images/wecom/8_机器人详情.png?msec=1774269205913)
+
+![WeCom bot use](../assets/images/wecom/9_使用机器人.png?msec=1774269205913)
+
+1. On PC WeCom, send a test message; a reply means success.
+
+2. On mobile WeCom, do the same.
+
+![WeCom PC](../assets/images/wecom/10_客户端验证.png?msec=1774269205911)
+![WeCom mobile](../assets/images/wecom/11_手机端验证.png)
+
+# Telegram
+
+## 1. Create a bot
+
+Use [@BotFather](https://t.me/BotFather) to create a bot and get a **Bot Token**.
+
+Step 1: open `@BotFather`.
+
+![BotFather](../assets/images/TelegramBotFather.png)
+
+Step 2: send `/newbot` and follow prompts.
+
+You will set:
+
+- **Display name** (e.g. `JiuwenClaw Bot`)
+- **Username** (must end with `bot`, e.g. `jiuwenclaw_bot`)
+
+![BotFather token](../assets/images/Telegram获取BotToken.png)
+
+Step 3: **Save the token** (format like `123456789:ABCDefGhIJKlmN...`).
+
+> The token is a password for the bot — do not leak it. Use `/revoke` in BotFather if exposed.
+
+## 2. Bind the channel
+
+**Option A: Web UI**
+
+Open **Agent / Channels** → Telegram, paste **Bot Token**, enable, save.
+
+![Telegram channel](../assets/images/Telegram频道配置.png)
+
+**Option B: `config.yaml`**
+
+Edit `~/.jiuwenclaw/config/config.yaml`:
+
+``````
+channels:
+ telegram:
+ bot_token: "<token from BotFather>"
+ allow_from: []
+ parse_mode: Markdown
+ group_chat_mode: mention
+ enabled: true
+``````
+
+Reload or start `jiuwenclaw-start`.
+
+## 3. Options
+
+| Field | Description | Default |
+|:------|:------------|:--------|
+| `bot_token` | Bot token from BotFather (**required**) | empty |
+| `allow_from` | Allowed Telegram `user_id` list; empty = everyone | `[]` |
+| `parse_mode` | `Markdown`, `HTML`, or `None` | `Markdown` |
+| `group_chat_mode` | See below | `mention` |
+| `enabled` | Enable Telegram | `false` |
+
+### Group modes
+
+| Mode | Behavior |
+|:-----|:---------|
+| `mention` | Only when the bot is @mentioned (recommended) |
+| `reply` | Only when replying to the bot |
+| `all` | All text messages in the group |
+| `off` | Ignore group messages |
+
+## 4. Start chatting
+
+DM the bot or add it to a group per `group_chat_mode`.
+
+![Telegram DM](../assets/images/Telegram对话界面.png)
+
+![Telegram group](../assets/images/Telegram群组对话界面.png)
+
+## 5. Find `user_id` (allowlist)
+
+1. Message `@userinfobot` to get your id.
+2. Put ids in `allow_from`:
+
+``````
+channels:
+ telegram:
+ bot_token: "<token>"
+ allow_from:
+ - "123456789"
+ - "987654321"
+ enabled: true
+``````
+
+> Empty `allow_from` allows everyone; non-empty restricts to listed users.
+
+# Discord
+
+Discord is supported. Configure in **Channel management** or edit `config.yaml`.
+
+- `bot_token`
+- `application_id`
+- `guild_id`
+- `channel_id`
+- `allow_from`
+- `enabled`
+
+Example `~/.jiuwenclaw/config/config.yaml`:
+
+``````
+channels:
+ discord:
+ bot_token: "Discord Bot Token"
+ application_id: "Application ID"
+ guild_id: "Guild ID"
+ channel_id: "Channel ID"
+ allow_from: []
+ enabled: false
+``````
+
+## Usage
+
+1. Create a bot in the Discord Developer Portal; copy `bot_token`.
+2. Enable **Message Content Intent** for the bot.
+3. Invite the bot to the server with channel permissions.
+4. Fill JiuwenClaw and set `enabled: true`.
+
+## Fields
+
+| Field | Description |
+|:------|:------------|
+| `bot_token` | Discord bot token (required) |
+| `application_id` | Application id (optional, recommended) |
+| `guild_id` | Limit to one server (optional; empty = any) |
+| `channel_id` | Limit listen/reply to one channel (optional) |
+| `allow_from` | Allowed Discord user ids; empty = all |
+| `enabled` | Enable Discord channel |
diff --git a/docs/en/Configuration.md b/docs/en/Configuration.md
new file mode 100644
index 0000000000..5b3c699e20
--- /dev/null
+++ b/docs/en/Configuration.md
@@ -0,0 +1,81 @@
+# Configuration
+
+JiuwenClaw reads settings from `config/config.yaml`, `.env`, and the web UI. This document explains **what you can change in the UI**, **what must be edited in files**, and what each option does.
+
+---
+
+## 1. Configurable in the web UI
+
+These can be changed in the web app; values are written back to `.env` or config as appropriate.
+
+**Path**: left sidebar → **Configuration**
+
+![Configuration](../assets/images/config.png)
+
+**Saved to**: `.env` (environment variables)
+
+| Field | Environment variable | Description |
+|--------|------------------------|-------------|
+| `api_base` | `API_BASE` | Model API base URL (e.g. `https://api.deepseek.com`) |
+| `api_key` | `API_KEY` | Model API key |
+| `model` | `MODEL_NAME` | Model name (e.g. `deepseek-chat`) |
+| `model_provider` | `MODEL_PROVIDER` | Provider (e.g. `OpenAI`) |
+| `embed_api_base` | `EMBED_API_BASE` | Embedding API base URL |
+| `embed_api_key` | `EMBED_API_KEY` | Embedding API key |
+| `embed_model` | `EMBED_MODEL` | Embedding model name |
+| `video_model` | `VIDEO_MODEL_NAME` | Video processing model |
+| `audio_model` | `AUDIO_MODEL_NAME` | Audio processing model |
+| `vision_model` | `VISION_MODEL_NAME` | Vision model |
+| `jina_api_key` | `JINA_API_KEY` | Jina search API key |
+| `serper_api_key` | `SERPER_API_KEY` | Serper search API key |
+| `perplexity_api_key` | `PERPLEXITY_API_KEY` | Perplexity API key |
+| `github_token` | `GITHUB_TOKEN` | GitHub PAT; SkillNet search/install uses the GitHub API |
+| `evolution_auto_scan` | `EVOLUTION_AUTO_SCAN` | Auto-scan evolvable skills after each turn (`true`/`false`) |
+
+**Note**: After saving, the backend restarts to load new settings. Model fields (`api_base`, `api_key`, `model`, `model_provider`) are required.
+
+## 2. Not configurable in the web UI
+
+Edit **`config/config.yaml`** or **`.env`** directly; there is no UI for these.
+
+### 2.1 `config.yaml` — file-only fields
+
+| Path | Description |
+|------|-------------|
+| `react.agent_name` | Agent name, default `main_agent` |
+| `react.max_iterations` | Max iterations, default 50 |
+| `react.context_engine_config.enable_reload` | Enable context reload |
+| `react.evolution.enabled` | Enable online skill evolution |
+| `react.evolution.skill_base_dir` | Skill root, default `workspace/agent/skills` |
+| `tools` | Enabled tools (e.g. `todo`, `skill`) |
+| `browser.remote_debugging_address` | Remote debugging address |
+| `browser.remote_debugging_port` | Remote debugging port |
+| `browser.user_data_dir` | Chrome user data directory |
+| `browser.profile_directory` | Chrome profile directory |
+
+---
+
+### 2.2 Environment-only fields
+
+| Variable | Description |
+|----------|-------------|
+| `HEARTBEAT_TIMEOUT` | Heartbeat request timeout (seconds) |
+| `HEARTBEAT_RELAY_CHANNEL_ID` | Heartbeat relay channel (overrides `target` in config) |
+| `HEARTBEAT_INTERVAL` | Heartbeat interval (seconds), overrides `every` in config |
+| `BROWSER_RUNTIME_MCP_ENABLED` | Enable browser MCP runtime |
+| `BROWSER_RUNTIME_MCP_CLIENT_TYPE` | MCP client type (`stdio` / `sse` / `streamable-http`) |
+| `BROWSER_RUNTIME_MCP_SERVER_PATH` | MCP server URL |
+| `PLAYWRIGHT_CDP_URL` | Playwright CDP URL for Chrome |
+| `PLAYWRIGHT_TOOL_TIMEOUT_S` | Playwright tool timeout (seconds) |
+| `BROWSER_TIMEOUT_S` | Browser task timeout (seconds) |
+| `JIUWENCLAW_CONFIG_DIR` | Custom config directory |
+
+See `.env.template` for more variables.
+
+---
+
+### 2.3 Precedence
+
+- **Environment variables** override **`config.yaml`**
+- Example: `react.model_name: ${MODEL_NAME:-deepseek-chat}` reads `MODEL_NAME` first, then falls back to `deepseek-chat`.
+- Values saved from the Config panel go to `.env` and take effect on next start.
diff --git a/docs/en/ContextCompression.md b/docs/en/ContextCompression.md
new file mode 100644
index 0000000000..bfe6e1d50f
--- /dev/null
+++ b/docs/en/ContextCompression.md
@@ -0,0 +1,17 @@
+# Context compression & offload
+
+Long chats hit **context window limits**: the model slows, forgets early details, or makes mistakes on dense material. JiuwenClaw uses openJiuwen’s **context offload** to **archive bulky content** when counts or token thresholds are exceeded—like clearing a cluttered desk: large or secondary material is summarized and indexed with `[[OFFLOAD:...]]` markers so the active window stays focused.
+
+## Configuration (high level)
+
+| Parameter | Role |
+| :--- | :--- |
+| **Trigger** | When message count exceeds `messages_threshold` (e.g. 3) **or** total tokens exceed `tokens_threshold` (default 20000), offload runs. |
+| **Large messages** | `large_message_threshold` (e.g. 1000 tokens) marks messages to prioritize for offload. |
+| **What to offload** | `offload_message_type` can target specific roles (e.g. compress long tool output, keep user/assistant dialogue). |
+| **How** | Sampling or summarization; indexed with `[[OFFLOAD:...]]` for later retrieval. |
+| **Protect recent** | `messages_to_keep` or `keep_last_round` keeps the latest user–assistant turn intact. |
+
+[Demo video](../assets/videos/compression.mp4)
+
+Together, this keeps important facts (billing, contracts) while trimming noise so long sessions stay coherent.
diff --git a/docs/en/Heartbeat.md b/docs/en/Heartbeat.md
new file mode 100644
index 0000000000..321d21d993
--- /dev/null
+++ b/docs/en/Heartbeat.md
@@ -0,0 +1,110 @@
+# Heartbeat
+
+**Heartbeat** is a periodic probe from the gateway to AgentServer to verify connectivity and agent health. If **`workspace/HEARTBEAT.md`** (under the agent workspace) is configured, the agent can also run listed tasks on each beat. You can choose which channel receives results (default: web).
+
+---
+
+## 1. Overview
+
+- **Liveness**: Sends on a fixed interval to confirm the service is up.
+- **Optional tasks**: If `HEARTBEAT.md` exists under the workspace, the agent runs “active task items” in order and writes results back; otherwise the response is `HEARTBEAT_OK`.
+- **Relay**: Heartbeat responses can be forwarded to a configured channel (e.g. web) for UI display.
+
+---
+
+## 2. Configuration
+
+Three ways: config file, environment variables, or the web UI.
+
+### 2.1 `config/config.yaml`
+
+```yaml
+heartbeat:
+ # Interval in seconds, default 3600
+ every: 3600
+ # Relay target channel (e.g. "web" for the web UI)
+ target: web
+ # Active window in local time; omit for 24/7
+ active_hours:
+ start: 08:00
+ end: 22:00
+```
+
+
+| Field | Meaning | Notes |
+| ----- | ------- | ----- |
+| `every` | Interval (seconds) | Must be &gt; 0. `60` = every minute, `3600` = hourly. |
+| `target` | Relay channel | Often `web` to push to the web client; empty = no relay. |
+| `active_hours` | Time window | `start` / `end` as `HH:MM` (24h). Heartbeat only fires when local time is in `[start, end]`. Omit for always on. Supports windows past midnight (e.g. 22:00–06:00). |
+
+
+### 2.2 Environment variables (override YAML)
+
+
+| Variable | Meaning | Example |
+| -------- | ------- | ------- |
+| `HEARTBEAT_INTERVAL` | Interval (seconds) | `3600` |
+| `HEARTBEAT_RELAY_CHANNEL_ID` | Relay channel | `web` |
+| `HEARTBEAT_TIMEOUT` | Single heartbeat timeout (seconds) | `30` |
+
+
+Env vars override the `heartbeat` section in `config/config.yaml`.
+
+### 2.3 Web UI — Heartbeat panel
+
+Open **Heartbeat** in the sidebar to:
+
+- View current interval, relay target, and active window
+![](../assets/images/heartbeat1.png)
+- Edit and save (writes `config.yaml` and restarts the heartbeat service)
+![](../assets/images/heartbeat2.png)
+- See the last 20 heartbeat messages (status, body, time)
+![](../assets/images/heartbeat3.png)
+
+---
+
+## 3. `HEARTBEAT.md` and periodic tasks
+
+### 3.1 Location and role
+
+- **Path**: `workspace/HEARTBEAT.md` at the workspace root (same file as in the UI; you can click **Edit** in the panel).
+![](../assets/images/heartbeat5.png)
+- **Role**: If the file exists and lists tasks, each heartbeat run parses and executes them; otherwise only `HEARTBEAT_OK` is returned.
+
+### 3.2 Agent behavior
+
+- Each heartbeat includes instructions to read active items from `HEARTBEAT.md` and complete them; otherwise reply `HEARTBEAT_OK`.
+- The server reads `workspace/HEARTBEAT.md`, builds a chat request, and runs the normal flow; on empty/parse failure, returns `HEARTBEAT_OK`.
+
+---
+
+## 4. Web UI and events
+
+- **Status**: The heartbeat panel/toolbar shows last status (“OK” / alert), last body, and time.
+- **Events**: When `target` is `web`, responses are pushed via `heartbeat.relay`; non-`HEARTBEAT_OK` content may trigger a popup.
+![](../assets/images/heartbeat4.png)
+
+---
+
+## 5. FAQ
+
+**Q: I edited `heartbeat` in `config.yaml` but nothing changed.**
+A: Config is read at startup. If you use the web panel, it rewrites YAML and restarts the heartbeat service. If you edit YAML by hand, restart the app (e.g. `jiuwenclaw-web`).
+
+**Q: Heartbeats only during work hours?**
+A: Set `heartbeat.active_hours.start` / `end`, e.g. `09:00`–`18:00`.
+
+**Q: Heartbeat timeout?**
+A: Set `HEARTBEAT_TIMEOUT` (seconds). On timeout the beat is marked failed and a WARNING is logged.
+
+**Q: Where must `HEARTBEAT.md` live?**
+A: At the workspace root: `workspace/HEARTBEAT.md`, aligned with the agent workspace. Otherwise it is treated as no custom tasks.
+
+---
+
+## 6. Code index
+
+- Service: `jiuwenclaw/gateway/heartbeat.py` (`GatewayHeartbeatService`, `HeartbeatConfig`).
+- Config: `config/config.py` (`update_heartbeat_in_config`); `app.py` builds `HeartbeatConfig` from YAML + env.
+- Agent: `jiuwenclaw/agentserver/interface.py` reads `workspace/HEARTBEAT.md` when `request.params` indicates heartbeat.
+- Web: `jiuwenclaw/web/src/components/HeartbeatPanel/`, `heartbeat.get_conf` / `heartbeat.set_conf`, `heartbeat.relay`.
diff --git a/docs/en/Memory.md b/docs/en/Memory.md
new file mode 100644
index 0000000000..957f068f70
--- /dev/null
+++ b/docs/en/Memory.md
@@ -0,0 +1,118 @@
+# Memory
+
+Memory gives JiuwenClaw **persistent, cross-session recall**: important facts are written to files and retrieved with semantic search (plus optional BM25).
+
+## Configuration
+
+Retrieval defaults to BM25 full-text search. Configure **`EMBED_API_KEY`** (and related embed settings) for vector + BM25 hybrid search.
+
+| Variable | Description |
+|----------|-------------|
+| `EMBED_API_KEY` | Embedding API key (mock provider if unset) |
+| `EMBED_API_BASE` | Embedding endpoint URL |
+| `EMBED_MODEL` | Embedding model name |
+
+![Memory config](../assets/images/memory_config.png)
+
+
+## File layout
+
+Memory is plain Markdown; the agent uses file tools:
+
+```
+{workspace_dir}/memory
+├── MEMORY.md # Long-term memory
+├── USER.md # User profile
+└── YYYY-MM-DD.md # Daily log
+```
+![Memory files](../assets/images/memory_files.png)
+
+### `memory/MEMORY.md` (long-term)
+
+- **Use**: Decisions, preferences, stable facts.
+- **Updates**: `write` / `edit` tools.
+
+### `USER.md` (profile)
+
+- **Use**: Name, role, hobbies, location, etc.
+- **Updates**: `write` / `edit`.
+
+### `YYYY-MM-DD.md` (daily)
+
+- **Use**: Day log, running context.
+- **Updates**: Append via `write` / `edit`; summarization may run when conversations are long.
+
+## When writes happen
+
+| Kind | Target | How | Example |
+|------|--------|-----|---------|
+| Decisions, preferences, facts | `memory/MEMORY.md` | write / edit | “Project uses Python 3.12” |
+| Profile | `memory/USER.md` | write / edit | User name, job, interests |
+| Daily notes | `memory/YYYY-MM-DD.md` | write / edit | “Shipped login fix today” |
+| “Remember this” | `memory/YYYY-MM-DD.md` | write | User asks to remember a fact |
+
+## Architecture overview
+
+```
+User / Agent
+ │
+ ▼
+MemoryIndexManager
+ ├── Persistence (file tools)
+ ├── File watch (watchdog)
+ ├── Semantic search (vector + BM25)
+ └── File reads (on demand)
+```
+
+### Capabilities
+
+| Capability | Description |
+|------------|-------------|
+| Persistence | Markdown files as source of truth |
+| File watch | Watchdog updates local indexes async |
+| Semantic search | Embeddings + BM25 hybrid recall |
+| Direct read | Read specific files to keep context small |
+
+### Technical stack
+
+```
+┌─────────────────────────────────────────────────────────────────┐
+│ MemoryIndexManager │
+├─────────────────────────────────────────────────────────────────┤
+│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
+│ │ Config │ │ Embedding │ │ SQLite Database │ │
+│ │ (config.py) │ │ Provider │ │ - chunks │ │
+│ └─────────────┘ └─────────────┘ │ - files │ │
+│ │ │ │ - embedding_cache │ │
+│ │ │ │ - chunks_fts (FTS5) │ │
+│ │ │ │ - chunks_vec (vec0) │ │
+│ │ │ └─────────────────────┘ │
+│ │ │ │ │
+│ ▼ ▼ ▼ │
+│ ┌───────────────────────────────────────────────────────────┐ │
+│ │ Search Pipeline │ │
+│ │ Query ──► Embed ──► Vector Search ──┐ │ │
+│ │ ├─► Merge ──► Results| |
+│ │ Query ──► FTS5 Search ──────────────┘ │ │
+│ └───────────────────────────────────────────────────────────┘ │
+└─────────────────────────────────────────────────────────────────┘
+```
+
+## Retrieval
+
+### Modes
+
+| Mode | When | Example |
+|------|------|---------|
+| Semantic search | Fuzzy intent, unknown file | “What did we decide about deploy?” |
+| Direct read | Known date or path | Read `memory/2026-02-28.md` |
+
+### Hybrid scoring
+
+```
+Query ──► Embed ──► Vector Search ──┐
+ ├─► Merge ──► Results
+Query ──► FTS5 Search ──────────────┘
+```
+
+Combined score: `score = vectorWeight * vectorScore + textWeight * textScore` (defaults: vector 0.7, text 0.3).
diff --git a/docs/en/PackExeGuide.md b/docs/en/PackExeGuide.md
new file mode 100644
index 0000000000..9c5d85e69a
--- /dev/null
+++ b/docs/en/PackExeGuide.md
@@ -0,0 +1,143 @@
+# Desktop packaging (Windows & macOS)
+
+This guide explains how to build a desktop app with **uv**, **PyInstaller**, and **pywebview**. Supported outputs: Windows **`onedir`** layout (for Inno Setup) and macOS **`.app` + `.dmg`**.
+
+## Prerequisites
+
+- **uv**: Python package manager used by the project
+- **Node.js**: **Build-time only** for the web UI; the shipped app does not require Node at runtime
+- **Windows**: `onedir` output for Inno Setup installers
+- **macOS**: `.app` bundle and `.dmg`
+
+## Files
+
+| Path | Role |
+|------|------|
+| `scripts/jiuwenclaw.spec` | PyInstaller spec |
+| `scripts/jiuwenclaw_exe_entry.py` | Exe entry (desktop mode + subcommands) |
+| `jiuwenclaw/desktop_app.py` | pywebview window and local server |
+| `scripts/build-exe.ps1` | One-shot build (PowerShell) |
+| `scripts/build-exe.bat` | One-shot build (batch) |
+| `scripts/build-macos.sh` | macOS `.app` + `.dmg` |
+
+## Windows
+
+### Option A: scripts (recommended)
+
+From the repo root:
+
+```powershell
+.\scripts\build-exe.ps1
+```
+
+Or double-click `scripts\build-exe.bat`.
+
+The script installs deps, builds the frontend, and runs PyInstaller.
+
+### Option B: manual
+
+#### 1. uv and deps
+
+```bash
+# Install uv if needed (PowerShell):
+# irm https://astral.sh/uv/install.ps1 | iex
+
+cd <your-repo-root>
+uv sync --extra dev
+```
+
+#### 2. Build the web UI
+
+```bash
+cd jiuwenclaw/web
+npm install
+npm run build
+cd ../..
+```
+
+Static files land in `jiuwenclaw/web/dist`.
+
+#### 3. PyInstaller
+
+```bash
+uv run pyinstaller scripts/jiuwenclaw.spec
+```
+
+Output: `dist/jiuwenclaw/`, main binary `dist/jiuwenclaw/jiuwenclaw.exe`.
+
+## Using the Windows build
+
+### First run
+
+1. **Initialize** (required once):
+
+ ```bash
+ jiuwenclaw.exe init
+ ```
+
+ Creates `~/.jiuwenclaw` config and workspace.
+
+2. **Configure**: edit `%USERPROFILE%\.jiuwenclaw\.env` (`API_KEY`, `MODEL_PROVIDER`, …).
+
+3. **Start**:
+
+ ```bash
+ jiuwenclaw.exe
+ ```
+
+ Starts backend + static UI in a borderless pywebview window (default `http://127.0.0.1:5173`); you usually do not open a separate browser.
+
+## Inno Setup notes
+
+- Package the whole `dist/jiuwenclaw/` directory.
+- Entry point: `dist/jiuwenclaw/jiuwenclaw.exe`.
+- Run `jiuwenclaw.exe init` from the installer finish page if needed.
+- User data lives under `%USERPROFILE%\.jiuwenclaw` — do not delete on uninstall by default.
+- Share one `.ico` between `jiuwenclaw.spec` and Inno Setup if you add an icon.
+
+### Subcommands
+
+| Command | Role |
+|---------|------|
+| `jiuwenclaw.exe` | Start desktop app |
+| `jiuwenclaw.exe init` | Initialize workspace |
+
+## macOS
+
+```bash
+chmod +x scripts/build-macos.sh
+./scripts/build-macos.sh
+```
+
+Produces `dist/JiuwenClaw.app` and e.g. `dist/JiuwenClaw-0.1.7.dmg`.
+
+- Open the `.app` or mount the `.dmg` and drag to **Applications**.
+- Not codesigned/notarized — fine for local testing; for distribution add `.icns`, signing, and notarization.
+- First launch may require **Open** from the context menu (Gatekeeper).
+
+## Technical notes
+
+- **Python**: Bundled by PyInstaller; end users do not install Python.
+- **pywebview**: Loads local `http://127.0.0.1:5173`.
+- **Node**: Only for building the React app; runtime uses static files.
+- **Workspace**: Same as pip install — `~/.jiuwenclaw`.
+- **Inno**: Ship the full `dist/jiuwenclaw/` tree, not a single exe only.
+- **DMG**: Script may include an **Applications** shortcut for drag install.
+
+## Troubleshooting
+
+### Missing `web/dist`
+
+Run `cd jiuwenclaw/web && npm run build`.
+
+### `ModuleNotFoundError` at runtime
+
+Add missing modules to `hiddenimports` in `scripts/jiuwenclaw.spec` and rebuild.
+
+### Large bundle
+
+`onedir` is intentional. Trim further via `excludes` in the spec.
+
+### Antivirus false positives
+
+Add exclusions or sign the binary if you have a certificate.
diff --git a/docs/en/Quickstart.md b/docs/en/Quickstart.md
new file mode 100644
index 0000000000..c5b4baf29c
--- /dev/null
+++ b/docs/en/Quickstart.md
@@ -0,0 +1,105 @@
+# Quick start
+
+JiuwenClaw supports two installation paths:
+
+**Option 1: pip install**
+
+​ Suitable if you manage your own Python environment.
+
+**Option 2: Run from source**
+
+​ Suitable if you extend or adapt JiuwenClaw from source.
+
+Dependencies:
+
+- Python: >=3.11, <3.14
+- Node.js: >=18.0.0 (only needed to build the web frontend or for browser-use; 20 LTS recommended)
+
+You can create a virtual environment with `uv` or Anaconda:
+
+```bash
+# uv (any of 3.11, 3.12, 3.13)
+uv venv --python=3.11
+# or: uv venv --python=3.12
+# or: uv venv --python=3.13
+
+# Anaconda (any of 3.11, 3.12, 3.13)
+conda create -n JiuwenClaw python=3.11
+# or: conda create -n JiuwenClaw python=3.12
+# or: conda create -n JiuwenClaw python=3.13
+```
+
+**Option 1: pip install (recommended)**
+
+Run in a terminal:
+
+```bash
+# Create a virtual environment named jiuwenclaw
+python -m venv jiuwenclaw
+
+# Activate it (Windows)
+jiuwenclaw\Scripts\activate
+
+# Install Jiuwenclaw
+pip install jiuwenclaw
+```
+
+After installation, initialize and start:
+
+```bash
+# First-time init
+jiuwenclaw-init
+
+# Start JiuwenClaw
+jiuwenclaw-start
+```
+
+When it is running, open the web UI (default `http://localhost:5173`). For remote access:
+
+``````
+# Web service
+jiuwenclaw-web --host 0.0.0.0 --port <port>
+
+# Backend only
+jiuwenclaw-app
+``````
+
+
+
+**Option 2: Run from source**
+
+Clone the repository:
+
+```bash
+ git clone https://gitcode.com/openjiuwen/jiuwenclaw.git
+```
+
+In the repo root, sync dependencies:
+
+```bash
+ uv sync
+```
+
+Install the web app dependencies:
+
+```bash
+ cd jiuwenclaw/web
+ npm install
+```
+
+Static frontend (production build):
+
+```bash
+ npm run build
+ cd ../../
+ uv run jiuwenclaw-start
+```
+
+Dev mode (dynamic frontend):
+
+```bash
+ cd ../../
+ uv run jiuwenclaw-start dev
+```
+
+Then open the web UI as above.
diff --git a/docs/en/README.md b/docs/en/README.md
new file mode 100644
index 0000000000..fa62ac3aa4
--- /dev/null
+++ b/docs/en/README.md
@@ -0,0 +1,19 @@
+# User guide
+
+This section collects common usage notes and feature documentation for JiuwenClaw.
+
+- Install and run from scratch: [Quick start](Quickstart.md)
+- Model and system configuration: [Configuration](Configuration.md)
+- Topic guides: use the table of contents or start from:
+ - [Channels](Channels.md)
+ - [CLI commands](CLI.md)
+ - [Heartbeat](Heartbeat.md)
+ - [Scheduled tasks](ScheduledTasks.md)
+ - [Task planning](TaskPlanning.md)
+ - [Memory](Memory.md)
+ - [Context compression & offload](ContextCompression.md)
+ - [Skills](Skills.md)
+ - [Skill self-evolution](SkillSelfEvolution.md)
+ - [Agent & workspace](Agent.md)
+ - [Browser tools](Browser.md)
+ - [Packaging desktop executables](PackExeGuide.md)
diff --git a/docs/en/SUMMARY.md b/docs/en/SUMMARY.md
new file mode 100644
index 0000000000..302db2f873
--- /dev/null
+++ b/docs/en/SUMMARY.md
@@ -0,0 +1,21 @@
+# Summary
+
+- [Quick start](Quickstart.md)
+- [Configuration](Configuration.md)
+- [User guide](README.md)
+ - [Channels](Channels.md)
+ - [WhatsApp](WhatsApp.md)
+ - [CLI commands](CLI.md)
+ - [Heartbeat](Heartbeat.md)
+ - [Scheduled tasks](ScheduledTasks.md)
+ - [Task planning](TaskPlanning.md)
+ - [Memory](Memory.md)
+ - [Context compression & offload](ContextCompression.md)
+ - [Skills](Skills.md)
+ - [Skill self-evolution](SkillSelfEvolution.md)
+ - [Agent & workspace](Agent.md)
+ - [Browser tools](Browser.md)
+ - [Packaging desktop executables](PackExeGuide.md)
+- [Development practices](development-practices/README.md)
+ - [Daily report generator practice](development-practices/JiuwenClaw-Daily-Report-Generator.md)
+ - [Code review assistant practice](development-practices/JiuwenClaw-Code-Review-Assistant.md)
diff --git a/docs/en/ScheduledTasks.md b/docs/en/ScheduledTasks.md
new file mode 100644
index 0000000000..35d7b4fd9e
--- /dev/null
+++ b/docs/en/ScheduledTasks.md
@@ -0,0 +1,55 @@
+## Scheduled tasks (Cron)
+
+How to create and manage a simple scheduled job in JiuwenClaw and push results to a channel (e.g. web, Feishu).
+
+---
+
+### 1. What can cron jobs do?
+
+- **Run a one-line instruction on a schedule**, e.g. “every morning at 9, summarize yesterday’s todos.”
+- **Let the agent execute work** on a timer (search, daily report, etc.).
+- **Multi-channel delivery** — results can go to web or Feishu (Feishu may need `chat_id`; see the Feishu section in [Channels](Channels.md)).
+
+---
+
+### 2. Create a job in the web UI
+
+1. Open **Cron / Scheduled tasks**.
+2. Click **New job** and fill in:
+
+ - **name**: e.g. `daily_todo_summary`
+ - **cron_expr**:
+ - Every day 09:00: `0 9 * * *`
+ - Minute 15 every hour: `15 * * * *`
+ - **timezone**: often `Asia/Shanghai`
+ - **targets**: `web` and/or `feishu`
+ - **enabled**: checked (`true`)
+ - **description**: natural language for what the agent should do at fire time, e.g. a short health reminder in Chinese or English.
+ - **wake_offset_seconds** (optional): default `60` to wake the agent one minute early.
+
+![](../assets/images/定时任务1.png)
+
+3. Save. Jobs are stored in `~/.jiuwenclaw/workspace/cron_jobs.json` and picked up by the scheduler.
+
+---
+
+### 3. Common cron expressions
+
+- **Daily 09:00**: `0 9 * * *`
+- **Daily 18:30**: `30 18 * * *`
+- **Monday 09:00**: `0 9 * * 1`
+- **Every hour on the hour**: `0 * * * *`
+
+Format: `minute hour day month weekday` (5 fields, space-separated).
+
+---
+
+### 4. Create via chat (optional)
+
+If the agent has `cron_create_job`, you can say things like:
+
+> “Create a scheduled task to remind me to drink water every day at 9 on the web.”
+
+The agent fills `cron_expr`, `description`, `targets`, etc., equivalent to using the form.
+
+![](../assets/images/定时任务2.png)
diff --git a/docs/en/SkillSelfEvolution.md b/docs/en/SkillSelfEvolution.md
new file mode 100644
index 0000000000..8332106462
--- /dev/null
+++ b/docs/en/SkillSelfEvolution.md
@@ -0,0 +1,199 @@
+# Skill self-evolution
+
+Most agents **freeze** skills after deployment: tool errors become log lines; user corrections do not change behavior. JiuwenClaw uses the **openJiuwen evolution stack** with **`SkillCallOperator`** to unify skill reads/writes and evolution, plus **signal detection** that turns failures and user corrections into updates stored in **`evolutions.json`** and merged back into **`SKILL.md`** when appropriate.
+
+## Core components
+
+### SkillCallOperator
+
+Central entry for skills: read `SKILL.md`, run skill logic, load accumulated evolution notes. When improvements are detected, they go to `evolutions.json` and are merged on the next skill call so the agent always sees the latest guidance.
+
+### SkillOptimizer
+
+Drives evolution: receives signals from `SignalDetector`, decides if they matter, calls the LLM for concrete changes, and writes evolution records. **`/evolve`** invokes this path.
+
+### SkillEvolutionManager
+
+Orchestrates scanning, LLM-generated records, `evolutions.json` I/O, and optional **solidify** into `SKILL.md`. Connects `SignalDetector`, `SkillOptimizer`, and `SkillCallOperator`.
+
+### SignalDetector
+
+Rule-based (no LLM): watches tool results for error patterns and user phrases that look like corrections, and attributes signals to the active skill.
+
+---
+
+## What counts as a signal?
+
+### Execution failures
+
+Timeouts, HTTP errors, exceptions, etc. Keywords include: `error`, `exception`, `failed`, `failure`, `timeout`, `connection error`, `econnrefused`, `enoent`, `permission denied`, `command not found`, and similar.
+
+### User corrections
+
+Phrases like “wrong”, “should be”, “not that”, or English: `that's wrong`, `should be`, `actually`—treated as negative feedback for the current skill.
+
+---
+
+## What happens after a signal?
+
+### Failure → troubleshooting notes
+
+Failure context is turned into actionable bullets under **Troubleshooting** (or similar) in the skill doc.
+
+```text
+Raw:
+Tool 'weather-check' returned: Error: API timeout after 30s
+
+Evolved:
+## Troubleshooting
+- On weather API timeout, check network first; consider retries or a fallback.
+```
+
+### Correction → examples
+
+User corrections become **Examples** so the next run matches real intent.
+
+```text
+Raw:
+User: No—I meant Shanghai, not Beijing
+
+Evolved:
+## Examples
+- For "Shanghai weather" use Shanghai coordinates, not the default Beijing.
+```
+
+---
+
+## Evolution flow
+
+```text
+User chat / tool run
+ │
+ ▼
+┌───────────────────┐
+│ SignalDetector │
+└────────┬──────────┘
+ ▼
+┌─────────────────────────────┐
+│ SkillEvolutionManager │ .scan()
+└────────────┬────────────────┘
+ ▼
+┌─────────────────────────────┐
+│ SkillEvolutionManager │ .generate()
+└────────────┬────────────────┘
+ ▼
+┌─────────────────────────────┐
+│ evolutions.json │
+└────────────┬────────────────┘
+ ▼ (optional)
+┌─────────────────────────────┐
+│ .solidify() │ merge into SKILL.md
+└─────────────────────────────┘
+```
+
+---
+
+## Evolution file
+
+Per-skill `evolutions.json`:
+
+```json
+{
+ "skill_id": "<skill_name>",
+ "version": "1.0.0",
+ "updated_at": "2024-01-15T10:30:00Z",
+ "entries": [
+ {
+ "id": "ev_1234abcd",
+ "source": "execution_failure",
+ "timestamp": "2024-01-15T10:30:00Z",
+ "context": "API timeout after 30s",
+ "change": {
+ "section": "Troubleshooting",
+ "action": "append",
+ "content": "## FAQ\n- On API timeout..."
+ },
+ "applied": false
+ }
+ ]
+}
+```
+
+`applied: false` = pending solidify; `applied: true` = merged into `SKILL.md`.
+
+---
+
+## Effect
+
+Skills stay **living documents**: risks, examples, and fixes accumulate from real use. On the next skill load, `evolutions.json` is merged so behavior improves without manual editing.
+
+---
+
+## How to use
+
+### Enable auto-evolution
+
+Turn on **`evolution_auto_scan`** in configuration (see [Configuration](Configuration.md)).
+
+![Evolution auto-scan](../assets/images/skill演进_自动检测开关.png)
+
+### Automatic path
+
+After each tool run / turn, signals may append entries to `evolutions.json` in the background. No user action required.
+
+![Auto trigger](../assets/images/skill演进_自动触发.png)
+
+### Manual evolution
+
+```bash
+/evolve <skill_name>
+```
+
+Example:
+
+```bash
+/evolve xlsx
+```
+
+![Manual evolve](../assets/images/skill演进_手动触发.png)
+
+### List pending
+
+```bash
+/evolve list
+```
+
+![Evolve list](../assets/images/skill演进_信息总览.png)
+
+### Manage `evolutions.json`
+
+Location:
+
+```
+~/.jiuwenclaw/workspace/agent/skills/<skill_name>/
+├── SKILL.md
+├── evolutions.json
+└── ...
+```
+
+You can edit entries directly: add/remove objects, set `applied: true` when merged.
+
+```json
+{
+ "entries": [
+ {
+ "id": "ev_1cdbc3a5",
+ "source": "execution_failure",
+ "timestamp": "2026-03-09T09:33:08Z",
+ "context": "Error context",
+ "change": {
+ "section": "Troubleshooting",
+ "action": "append",
+ "content": "Evolved content",
+ "relevant": true
+ },
+ "applied": false
+ }
+ ]
+}
+```
diff --git a/docs/en/Skills.md b/docs/en/Skills.md
new file mode 100644
index 0000000000..82632c60d3
--- /dev/null
+++ b/docs/en/Skills.md
@@ -0,0 +1,93 @@
+# Skills
+
+JiuwenClaw’s **Skills** system lets you extend the agent with new capabilities, tool permissions, and extra system prompt content. Use the **Skills** panel in the web UI and the backend `SkillManager` to install, remove, import, and manage skills from multiple sources.
+
+## 1. Skill sources
+
+- **Project / built-in**: Bundled with the repo or project defaults.
+- **Local**: Imported from a path on disk (absolute or relative).
+- **Marketplace**: Downloaded from configured third-party Git repos.
+- **SkillNet**: Search and one-click install from [SkillNet](https://github.com/zjunlp/SkillNet); uses the GitHub API. Without a token, anonymous rate limits apply (~60/hour). Configure **`github_token`** (`GITHUB_TOKEN`) under **Configuration → Third-party** (`skillnet-ai>=0.0.14`).
+
+## 2. Skills panel (web UI)
+
+- **List & search**: Shows installed and available marketplace skills; filter by name, description, author, or tags.
+
+![Skill list](../assets/images/技能列表与检索.png)
+
+- **Details**: Click a skill for metadata, install state, version, author, **allowed tools**, and `SKILL.md` preview.
+
+![Skill details](../assets/images/技能详情.png)
+
+- **Lifecycle**: **Install** marketplace skills, **uninstall**, or **import** a local `SKILL.md` path or folder into the workspace.
+
+![Skill lifecycle](../assets/images/技能生命周期管理.png)
+
+- **Sources**: **Add** a marketplace Git URL (disabled by default), **enable** to fetch the catalog, **disable** to hide without deleting cache, **delete** to remove the source and its cache.
+
+![Skill sources](../assets/images/技能源管理.png)
+
+## 3. Backend behavior
+
+Implementation: `jiuwenclaw/agentserver/skill_manager.py`.
+
+### 3.1 Storage
+
+- **`workspace/agent/skills/`**: Active skills, one folder each.
+- **`workspace/agent/skills/_marketplace/`**: Cloned marketplace repos (cache).
+
+### 3.2 State file
+
+**`workspace/skills_state.json`** stores marketplace sources, install records (name, market, version, commit, time), and local imports.
+
+### 3.3 Logic
+
+- Git **clone/pull** for marketplace sync.
+- Parses **`SKILL.md`** YAML frontmatter (`name`, `description`, `allowed_tools`, …); falls back to folder/file name if missing.
+- **Name conflicts** are blocked unless **force** overwrite is used.
+
+## 4. Authoring a skill
+
+A skill is centered on **`SKILL.md`**. Recommended structure with frontmatter:
+
+```markdown
+---
+name: my-custom-skill
+version: 1.0.0
+author: your-name
+description: Example custom agent skill
+tags: [demo, tools]
+allowed_tools: [webSearch, readFile]
+---
+
+# Skill body / agent instructions
+
+Describe capabilities, background, or workflows here.
+When `allowed_tools` is set, the agent receives those tools when this skill is loaded.
+```
+
+**Fields**
+
+- **`name`**: Unique id (required; filename used if omitted).
+- **`allowed_tools`**: Tool names to enable for this skill.
+- **Body**: Woven into the agent’s prompt at runtime.
+
+---
+
+## 5. How skills installed via SkillNet are used in Claw
+
+SkillNet installs behave like local/marketplace installs.
+
+1. **On disk**
+ Copied to **`workspace/agent/skills/<skill-name>/`** with at least `SKILL.md` (`SkillManager.handle_skills_skillnet_install`).
+
+2. **Agent load**
+ On create/reload, `interface.py` calls `register_skill(str(_SKILLS_DIR))` so `SkillUtil` scans subfolders (skips `_` prefixes), parses each `SKILL.md`, and feeds `get_skill_prompt()`.
+
+3. **Runtime**
+ The system prompt includes a **Skills** section (`react_agent.py` `_get_skill_messages()`): list names/descriptions and instruct the model to **read the skill with `view_file`** before tasks. Path relative to agent workspace: **`skills/<skill-name>/SKILL.md`**.
+
+4. **Evolution**
+ `SkillCallOperator` / `SkillOptimizer` use the same `_SKILLS_DIR`, so SkillNet skills participate in evolution like any other.
+
+**Summary**: If `workspace/agent/skills/<name>/SKILL.md` exists, the skill appears after the next agent reload; the model uses `view_file("skills/<name>/SKILL.md")` to follow the workflow.
diff --git a/docs/en/TaskPlanning.md b/docs/en/TaskPlanning.md
new file mode 100644
index 0000000000..365d2d5695
--- /dev/null
+++ b/docs/en/TaskPlanning.md
@@ -0,0 +1,46 @@
+# Task planning
+
+For long, shifting tasks, users need to **interrupt**, **insert new work**, and **merge outcomes** (e.g. finish December invoices, then add January and email a combined summary) without losing thread. JiuwenClaw’s **task planning** mode uses structured todo tools so the agent can break work down and adapt when requirements change.
+
+[Demo video](../assets/videos/todo.mp4)
+
+## Core idea: dynamic breakdown and live updates
+
+Complex requests are split into subtasks and tracked with built-in todo tools. After each subtask, state updates so progress stays visible. **openJiuwen** interrupt/resume and scheduling help insert urgent items or new goals without breaking the overall flow.
+
+## Todo toolkit (`TodoToolkit`)
+
+Tasks are stored as Markdown in `workspace/session/{session_id}/todo.md`, isolated per session with safe concurrent access.
+
+### Tools
+
+| Tool | Description |
+| :--- | :--- |
+| `todo_create` | Create the initial list. **Fails** if a list already exists — use `todo_insert` instead. |
+| `todo_insert` | Insert at an index; shifts later tasks. Creates the list if missing. |
+| `todo_complete` | Mark done; optional `result` text. |
+| `todo_remove` | Remove a task; renumbers remaining items. |
+| `todo_list` | List all tasks and states. |
+
+### States
+
+| State | Meaning |
+| :--- | :--- |
+| `waiting` | Not started |
+| `running` | In progress |
+| `completed` | Done |
+| `cancelled` | Cancelled |
+
+### Typical flow
+
+1. User asks for something complex → `todo_create` breaks it into steps.
+2. User adds work mid-flight → `todo_insert`.
+3. Subtask done → `todo_complete` with result.
+4. Drop a task → `todo_remove`.
+5. Check status anytime → `todo_list`.
+
+This reduces **lost goals** and **broken execution** on long jobs.
+
+You can toggle task planning in the chat UI; when enabled it defaults to planning mode, otherwise classic ReAct.
+
+![Task planning](../assets/images/todo.png)
diff --git a/docs/whatsapp_en.md b/docs/en/WhatsApp.md
similarity index 100%
rename from docs/whatsapp_en.md
rename to docs/en/WhatsApp.md
diff --git a/docs/en/WindowsAutoUpdateDesign.md b/docs/en/WindowsAutoUpdateDesign.md
new file mode 100644
index 0000000000..983aef2bbf
--- /dev/null
+++ b/docs/en/WindowsAutoUpdateDesign.md
@@ -0,0 +1,95 @@
+# Windows auto-update design
+
+Minimal auto-update path for the **Windows desktop** build: stability first, not silent “magic” upgrades.
+
+## Scope
+
+- Windows desktop only
+- Check once at startup
+- Manual check from the sidebar **Update** page
+- Source: **GitHub Releases**
+- Installer: Inno Setup **`jiuwenclaw-setup-<version>.exe`**
+- After download, an external helper runs a **silent** install and restarts the app
+
+## Out of scope
+
+- Delta/patch updates
+- In-place self-replacement while running
+- macOS auto-install
+- Skip lists, staged rollouts, multiple channels
+- Forced updates
+
+## Flow
+
+1. After start, the frontend calls `updater.check` asynchronously.
+2. Backend calls the GitHub Releases API for the latest release.
+3. If newer, record version, published time, notes, and installer URL.
+4. User clicks **Download** on the **Update** page.
+5. Backend downloads the installer to `%USERPROFILE%\.jiuwenclaw\.updates`.
+6. When done, the frontend calls pywebview to **install**.
+7. The desktop process writes a temporary **cmd** helper that waits for exit.
+8. Helper runs Inno Setup **silently**, then restarts `jiuwenclaw.exe`.
+
+## Source
+
+GitHub Releases API:
+
+```text
+https://api.github.com/repos/{owner}/{repo}/releases/latest
+```
+
+Read:
+
+- `tag_name` — version
+- `body` — release notes
+- `published_at` — time
+- `assets[]` — installer and optional `.sha256`
+
+## Config
+
+`config.yaml` → `updater`:
+
+```yaml
+updater:
+ enabled: true
+ repo_owner: CharlieZhao95
+ repo_name: jiuwenclaw
+ release_api_url: ""
+ asset_name_pattern: "jiuwenclaw-setup-{version}.exe"
+ sha256_name_pattern: "jiuwenclaw-setup-{version}.exe.sha256"
+ timeout_seconds: 20
+```
+
+## RPC
+
+WebSocket RPC methods:
+
+- `updater.get_status`
+- `updater.check`
+- `updater.download`
+
+States:
+
+- `idle`
+- `checking`
+- `up_to_date`
+- `update_available`
+- `downloading`
+- `downloaded`
+- `installing`
+- `error`
+- `unsupported`
+
+## Install mechanics
+
+The running exe is not replaced in-process.
+
+1. Desktop app writes a temp **cmd** helper.
+2. Helper waits for the main process to exit.
+3. Runs the installer:
+
+```text
+/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CLOSEAPPLICATIONS
+```
+
+4. Starts `jiuwenclaw.exe` again after install completes.
diff --git a/docs/en/development-practices/README.md b/docs/en/development-practices/README.md
new file mode 100644
index 0000000000..219db1ba6d
--- /dev/null
+++ b/docs/en/development-practices/README.md
@@ -0,0 +1,8 @@
+# Development practices
+
+In-depth write-ups from building real skills on JiuwenClaw:
+
+- [Advanced daily report generator](JiuwenClaw-Daily-Report-Generator.md) — multi-source data, analysis, cron, Feishu
+- [Code review assistant](JiuwenClaw-Code-Review-Assistant.md) — Ruff, Radon, Bandit, scoring, Feishu reports
+
+Chinese originals: `docs/zh/开发实践/`.
diff --git a/docs/Quickstart.md b/docs/zh/Quickstart.md
similarity index 100%
rename from docs/Quickstart.md
rename to docs/zh/Quickstart.md
diff --git a/docs/README.md b/docs/zh/README.md
similarity index 100%
rename from docs/README.md
rename to docs/zh/README.md
diff --git a/docs/SUMMARY.md b/docs/zh/SUMMARY.md
similarity index 100%
rename from docs/SUMMARY.md
rename to docs/zh/SUMMARY.md
diff --git "a/docs/Skill\350\207\252\346\274\224\350\277\233.md" "b/docs/zh/Skill\350\207\252\346\274\224\350\277\233.md"
similarity index 100%
rename from "docs/Skill\350\207\252\346\274\224\350\277\233.md"
rename to "docs/zh/Skill\350\207\252\346\274\224\350\277\233.md"
diff --git a/docs/whatsapp.md b/docs/zh/whatsapp.md
similarity index 100%
rename from docs/whatsapp.md
rename to docs/zh/whatsapp.md
diff --git "a/docs/windows\350\207\252\345\212\250\346\233\264\346\226\260\350\256\276\350\256\241.md" "b/docs/zh/windows\350\207\252\345\212\250\346\233\264\346\226\260\350\256\276\350\256\241.md"
similarity index 100%
rename from "docs/windows\350\207\252\345\212\250\346\233\264\346\226\260\350\256\276\350\256\241.md"
rename to "docs/zh/windows\350\207\252\345\212\250\346\233\264\346\226\260\350\256\276\350\256\241.md"
diff --git "a/docs/\344\270\212\344\270\213\346\226\207\345\216\213\347\274\251\345\215\270\350\275\275.md" "b/docs/zh/\344\270\212\344\270\213\346\226\207\345\216\213\347\274\251\345\215\270\350\275\275.md"
similarity index 100%
rename from "docs/\344\270\212\344\270\213\346\226\207\345\216\213\347\274\251\345\215\270\350\275\275.md"
rename to "docs/zh/\344\270\212\344\270\213\346\226\207\345\216\213\347\274\251\345\215\270\350\275\275.md"
diff --git "a/docs/\344\273\273\345\212\241\350\247\204\345\210\222.md" "b/docs/zh/\344\273\273\345\212\241\350\247\204\345\210\222.md"
similarity index 100%
rename from "docs/\344\273\273\345\212\241\350\247\204\345\210\222.md"
rename to "docs/zh/\344\273\273\345\212\241\350\247\204\345\210\222.md"
diff --git "a/docs/\345\221\275\344\273\244\350\241\214\346\214\207\344\273\244.md" "b/docs/zh/\345\221\275\344\273\244\350\241\214\346\214\207\344\273\244.md"
similarity index 100%
rename from "docs/\345\221\275\344\273\244\350\241\214\346\214\207\344\273\244.md"
rename to "docs/zh/\345\221\275\344\273\244\350\241\214\346\214\207\344\273\244.md"
diff --git "a/docs/\345\256\232\346\227\266\344\273\273\345\212\241.md" "b/docs/zh/\345\256\232\346\227\266\344\273\273\345\212\241.md"
similarity index 100%
rename from "docs/\345\256\232\346\227\266\344\273\273\345\212\241.md"
rename to "docs/zh/\345\256\232\346\227\266\344\273\273\345\212\241.md"
diff --git "a/docs/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\344\273\243\347\240\201\345\256\241\346\237\245\345\212\251\346\211\213\345\274\200\345\217\221\345\256\236\350\267\265.md" "b/docs/zh/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\344\273\243\347\240\201\345\256\241\346\237\245\345\212\251\346\211\213\345\274\200\345\217\221\345\256\236\350\267\265.md"
similarity index 100%
rename from "docs/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\344\273\243\347\240\201\345\256\241\346\237\245\345\212\251\346\211\213\345\274\200\345\217\221\345\256\236\350\267\265.md"
rename to "docs/zh/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\344\273\243\347\240\201\345\256\241\346\237\245\345\212\251\346\211\213\345\274\200\345\217\221\345\256\236\350\267\265.md"
diff --git "a/docs/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\346\227\245\346\212\245\347\224\237\346\210\220\345\231\250\345\274\200\345\217\221\345\256\236\350\267\265.md" "b/docs/zh/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\346\227\245\346\212\245\347\224\237\346\210\220\345\231\250\345\274\200\345\217\221\345\256\236\350\267\265.md"
similarity index 100%
rename from "docs/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\346\227\245\346\212\245\347\224\237\346\210\220\345\231\250\345\274\200\345\217\221\345\256\236\350\267\265.md"
rename to "docs/zh/\345\274\200\345\217\221\345\256\236\350\267\265/JiuwenClaw\346\227\245\346\212\245\347\224\237\346\210\220\345\231\250\345\274\200\345\217\221\345\256\236\350\267\265.md"
diff --git "a/docs/\345\277\203\350\267\263.md" "b/docs/zh/\345\277\203\350\267\263.md"
similarity index 100%
rename from "docs/\345\277\203\350\267\263.md"
rename to "docs/zh/\345\277\203\350\267\263.md"
diff --git "a/docs/\346\211\223\345\214\205exe\346\214\207\345\215\227.md" "b/docs/zh/\346\211\223\345\214\205exe\346\214\207\345\215\227.md"
similarity index 100%
rename from "docs/\346\211\223\345\214\205exe\346\214\207\345\215\227.md"
rename to "docs/zh/\346\211\223\345\214\205exe\346\214\207\345\215\227.md"
diff --git "a/docs/\346\212\200\350\203\275.md" "b/docs/zh/\346\212\200\350\203\275.md"
similarity index 100%
rename from "docs/\346\212\200\350\203\275.md"
rename to "docs/zh/\346\212\200\350\203\275.md"
diff --git "a/docs/\346\231\272\350\203\275\344\275\223.md" "b/docs/zh/\346\231\272\350\203\275\344\275\223.md"
similarity index 100%
rename from "docs/\346\231\272\350\203\275\344\275\223.md"
rename to "docs/zh/\346\231\272\350\203\275\344\275\223.md"
diff --git "a/docs/\346\265\217\350\247\210\345\231\250.md" "b/docs/zh/\346\265\217\350\247\210\345\231\250.md"
similarity index 100%
rename from "docs/\346\265\217\350\247\210\345\231\250.md"
rename to "docs/zh/\346\265\217\350\247\210\345\231\250.md"
diff --git "a/docs/\350\256\260\345\277\206.md" "b/docs/zh/\350\256\260\345\277\206.md"
similarity index 100%
rename from "docs/\350\256\260\345\277\206.md"
rename to "docs/zh/\350\256\260\345\277\206.md"
diff --git "a/docs/\351\205\215\347\275\256\344\277\241\346\201\257.md" "b/docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
similarity index 100%
rename from "docs/\351\205\215\347\275\256\344\277\241\346\201\257.md"
rename to "docs/zh/\351\205\215\347\275\256\344\277\241\346\201\257.md"
diff --git "a/docs/\351\242\221\351\201\223.md" "b/docs/zh/\351\242\221\351\201\223.md"
similarity index 100%
rename from "docs/\351\242\221\351\201\223.md"
rename to "docs/zh/\351\242\221\351\201\223.md"