Skip to content

OhMyAgent Desktop v1.1.2

Choose a tag to compare

@github-actions github-actions released this 06 Jul 07:41

v1.1.2 is a stability release with a project-wide log level audit, HTTP reliability improvements, and Termux compatibility fixes.

🔒 HTTP Reliability

  • Socket connection timeoutremote_trigger now has a 5s TCP/TLS connect timeout. Node's built-in timeout only activates after the socket connects, so hung connections (e.g. WSL2 firewall DROP) previously hung until the test timeout. Now properly fails after 5s.

📋 Log Level Audit

  • 30+ level corrections — downgraded noisy warn logs to debug/info for graceful fallbacks, retry loops, and per-request events, reducing log spam in normal operation
  • Console → pino migration — ~20 call sites converted from console.log/console.error to structured pino logging across QQ channel, web-search, computer-use, WebUI routes, config watcher, sqlite-vec, chat-queue, channel-manager, config-event-bus, and desktop-bridge

📱 Termux Compatibility

  • pnpm TTY abort fix — added CI=true to update scripts to prevent pnpm from aborting with TTY errors on Termux

v1.1.2 是一个稳定性版本,包含项目级日志级别审查、HTTP 可靠性改进和 Termux 兼容性修复。

🔒 HTTP 可靠性

  • Socket 连接超时remote_trigger 新增 5 秒 TCP/TLS 连接超时。Node 内置的 timeout 仅在 socket 连接成功后才生效,导致 WSL2 防火墙 DROP 等挂起连接之前会一直等到测试超时。现在 5 秒后正确处理。

📋 日志级别审查

  • 30+ 修正 — 将优雅降级、重试循环和每次请求事件中的嘈杂 warn 降级为 debug/info,减少正常操作中的日志噪声
  • Console → pino 迁移 — ~20 处 console.log/console.error 转换为结构化 pino 日志,覆盖 QQ 频道、web-search、computer-use、WebUI 路由、config watcher、sqlite-vec、chat-queue、channel-manager、config-event-bus、desktop-bridge

📱 Termux 兼容性

  • pnpm TTY 中止修复 — 更新脚本中添加 CI=true,防止 pnpm 在 Termux 上因 TTY 错误而中止