mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-14 16:50:47 +08:00
fix: improve WhatsApp settings and isolate IM host authentication
Some checks are pending
CI / Test, build, and verify package (push) Waiting to run
Some checks are pending
CI / Test, build, and verify package (push) Waiting to run
This commit is contained in:
parent
bcbe85fdb1
commit
bf73b0c0af
28 changed files with 848 additions and 116 deletions
|
|
@ -109,6 +109,8 @@ GitHub 源安装会直接拉取并构建 Git 依赖;pnpm 10 及以上版本可
|
|||
|
||||
安装后,在对应渠道页面按照内置引导完成扫码或凭据配置。所有 Secret 和 Token 只提交给本机 Harness Host,并写入受保护的凭据存储;状态接口和机器人列表不会回传这些凭据。
|
||||
|
||||
同时安装 `uds-auth` 时,使用 `dsh-im-ops >= 4.9.1-ops.38` 和 `uds-auth >= 0.2.21`,更新两者后重启 Host。IM 后台调用通过可选的 `udsAuth.runAsHost()` 隔离网页登录上下文;未安装认证插件的环境不需要额外配置。认证拒绝显示 `HARNESS_LOGIN_REQUIRED` / `HARNESS_ACCESS`,不会按工作区错误重建会话。详见[Host 认证集成与排错](docs/host-auth-integration.md)。
|
||||
|
||||
如果本机必须通过正向代理访问飞书,请在启动 `dsh web` 前把 `HTTPS_PROXY` 设置为包含协议的 HTTP 代理 URL(例如 `http://proxy:8080`;也支持小写 `https_proxy`,并兼容使用 `HTTP_PROXY` 作为回退),修改后重启 Host。飞书注册和凭据验证会复用 SDK 的代理感知 HTTP 客户端,消息长连接会显式通过这个代理建立 WebSocket;长连接目前不读取 `ALL_PROXY` 或 `NO_PROXY`。
|
||||
|
||||
如果本机无法直连 Telegram Bot API,请使用 Node.js 22.21 或更高版本,并在启动 `dsh web` 前启用 Node 的环境变量代理支持:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue