chore(center): 下线第一代中心机并清除旧公网信息
- 删除 desktop/controlplane(FastAPI 旧中心机)全部代码,历史见 git - 移除依赖旧中心机模块的两个失效测试 - AGENTS/README/docs 表述改为「已移除/只有内网一套」,去掉旧公网地址与宝塔部署信息 - agent_cli 去掉旧库拦截逻辑,--base 帮助指向内网生产;electron-shell .env.example 默认地址改内网
This commit is contained in:
@@ -176,7 +176,7 @@ powershell -NoProfile -ExecutionPolicy Bypass -File scripts\build-python-env.ps1
|
||||
* 下载票据一次性、有时效;兑换接口返回**文件流**,客户端自行 `sha256` 校验。
|
||||
* 上报字段与时间以控制面为准(客户端多余字段被忽略);离线时落 `offline_reports.jsonl` / `pending_log_uploads.jsonl`,重连补报(启动补报最近 7 天)。
|
||||
* `device/report` 中 `chrome_installed/chrome_ok/status` 为 **int 0/1** 语义。
|
||||
* 客户端侧 base url 未配置直接 503,不做隐式回退——避免把人悄悄连到旧公网库。
|
||||
* 客户端侧 base url 未配置直接 503,不做隐式回退——避免把人连到非现役控制面。
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ except Exception:
|
||||
|---|---|---|
|
||||
| 1. 查线上库 file_sources(shell) | id=9 已登记 `version=1.2.1, enabled=1` | 数据正确 |
|
||||
| 2. 本地新版代码 + 线上库调 `/api/shell/version` | 返回 `{"version":"1.2.1",...}` | 服务端新版逻辑正确 |
|
||||
| 3. 直连线上 117.72.191.188:8800 调 `/api/shell/version` | 返回 1.2.1;`/health` = `{"ok":true}` | 线上已部署新版 |
|
||||
| 3. 直连当时线上控制面调 `/api/shell/version` | 返回 1.2.1;`/health` = `{"ok":true}` | 线上已部署新版 |
|
||||
| 4. 客户端 `_version_lt("1.2.0","1.2.1")` | 复现 True | 比对逻辑正常(无 BOM 时) |
|
||||
| 5. 执行机 shell.version 文件内容 | 用户提供:"1.2.0"(记事本) | 表面正常 |
|
||||
| 6. 执行机 curl 中心机 `/api/shell/version` | 返回 1.2.1 | 网络/服务端/鉴权正常,**问题在客户端进程内** |
|
||||
|
||||
Reference in New Issue
Block a user