docs: update paths for frontends/ migration

This commit is contained in:
Liang Jiaqing
2026-03-22 17:47:56 +08:00
parent 87d557260c
commit 8794c85cfe
3 changed files with 19 additions and 19 deletions

View File

@@ -243,7 +243,7 @@ qq_allowed_users = ["YOUR_USER_OPENID"] # 或 ['*'] 公开访问
```bash
pip install qq-botpy
python qqapp.py
python frontends/qqapp.py
# 或与桌面窗口一起启动
python launch.pyw --qq
```
@@ -252,7 +252,7 @@ python launch.pyw --qq
- 飞书: [assets/SETUP_FEISHU.md](assets/SETUP_FEISHU.md)
- 企业微信: `python launch.pyw --wecom`
- 钉钉: `python launch.pyw --dingtalk`
- Telegram: `python tgapp.py`
- Telegram: `python frontends/tgapp.py`
---

View File

@@ -115,7 +115,7 @@ qq_allowed_users = ["YOUR_USER_OPENID"] # or ['*'] for public access
```
```bash
python qqapp.py
python frontends/qqapp.py
# or launch together with the desktop floating window
python launch.pyw --qq
```
@@ -127,7 +127,7 @@ python launch.pyw --qq
```bash
pip install lark-oapi
python fsapp.py # or python launch.pyw --feishu
python frontends/fsapp.py # or python launch.pyw --feishu
```
```python
@@ -147,7 +147,7 @@ Full setup: [assets/SETUP_FEISHU.md](assets/SETUP_FEISHU.md)
```bash
pip install wecom_aibot_sdk
python wecomapp.py # or python launch.pyw --wecom
python frontends/wecomapp.py # or python launch.pyw --wecom
```
```python
@@ -161,7 +161,7 @@ wecom_welcome_message = "Hello, I'm online."
```bash
pip install dingtalk-stream
python dingtalkapp.py # or python launch.pyw --dingtalk
python frontends/dingtalkapp.py # or python launch.pyw --dingtalk
```
```python
@@ -180,7 +180,7 @@ tg_allowed_users = [YOUR_USER_ID]
```
```bash
python tgapp.py
python frontends/tgapp.py
```
@@ -367,7 +367,7 @@ qq_allowed_users = ["YOUR_USER_OPENID"] # 或 ['*'] 公开访问
```
```bash
python qqapp.py
python frontends/qqapp.py
# 或与桌面悬浮窗一起启动
python launch.pyw --qq
```
@@ -378,7 +378,7 @@ python launch.pyw --qq
```bash
pip install lark-oapi
python fsapp.py # 或 python launch.pyw --feishu
python frontends/fsapp.py # 或 python launch.pyw --feishu
```
```python
@@ -398,7 +398,7 @@ fs_allowed_users = ["ou_xxx"] # 或 ['*']
```bash
pip install wecom_aibot_sdk
python wecomapp.py # 或 python launch.pyw --wecom
python frontends/wecomapp.py # 或 python launch.pyw --wecom
```
```python
@@ -412,7 +412,7 @@ wecom_welcome_message = "你好,我在线上。"
```bash
pip install dingtalk-stream
python dingtalkapp.py # 或 python launch.pyw --dingtalk
python frontends/dingtalkapp.py # 或 python launch.pyw --dingtalk
```
```python
@@ -431,7 +431,7 @@ tg_allowed_users = [YOUR_USER_ID]
```
```bash
python tgapp.py
python frontends/tgapp.py
```

View File

@@ -101,7 +101,7 @@ client = lark.Client.builder().app_id("你的APP_ID").app_secret("你的APP_SECR
def handle(data):
print(f"你的 Open ID: {data.event.sender.sender_id.open_id}")
# ... 或者查看 fsapp.py 运行时的日志输出
# ... 或者查看 frontends/fsapp.py 运行时的日志输出
```
---
@@ -196,7 +196,7 @@ claude_config = {
```bash
cd /path/to/pc-agent-loop
python fsapp.py
python frontends/fsapp.py
```
### 预期输出
@@ -254,7 +254,7 @@ App ID: cli_xxxxxxxxxxxxxxxx
**A:** 检查:
1. `fsapp.py` 是否在运行
1. `frontends/fsapp.py` 是否在运行
2. 终端是否有错误日志
3. LLM API 密钥是否配置正确
@@ -264,7 +264,7 @@ App ID: cli_xxxxxxxxxxxxxxxx
### Q: 如何获取自己的 Open ID
**A:** 运行 `fsapp.py` 后给机器人发消息,查看终端日志中的 `open_id`
**A:** 运行 `frontends/fsapp.py` 后给机器人发消息,查看终端日志中的 `open_id`
### Q: 能否多人同时使用?
@@ -275,14 +275,14 @@ App ID: cli_xxxxxxxxxxxxxxxx
## 架构说明
```
你的飞书 ←→ 飞书云 ←→ 长连接 ←→ fsapp.py ←→ Agent ←→ 你的电脑
你的飞书 ←→ 飞书云 ←→ 长连接 ←→ frontends/fsapp.py ←→ Agent ←→ 你的电脑
运行在你电脑上
```
- 消息通过飞书云转发到你电脑上运行的 `fsapp.py`
- 消息通过飞书云转发到你电脑上运行的 `frontends/fsapp.py`
- Agent 处理请求后,通过飞书 API 回复消息
- **你的电脑必须保持运行** `fsapp.py` 才能响应消息
- **你的电脑必须保持运行** `frontends/fsapp.py` 才能响应消息
---