feat(wechat): hand off page.generate timeouts to Cursor after 20 minutes
Memind CI / Test, build, and release guards (push) Failing after 2m37s

Wire WECHAT_AGENT_REPLY_TIMEOUT into the same Cursor takeover path used by
agent runs, raise the default WeChat reply timeout to 20 minutes, and fall
back to env-based tool-gateway detection when runtime exports are missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-11 15:31:19 +08:00
parent cb3fb352be
commit 2c3c1f7a52
9 changed files with 352 additions and 37 deletions
+2
View File
@@ -504,6 +504,8 @@ VITE_TKMIND_WORKING_DIR=/Users/john/PycharmProjects/tkmind
# IMAGE_MAKE_SEMANTIC_REVIEW_MAX_ATTEMPTS=3
# H5_WECHAT_MP_FRESH_PAGE_THUMBNAILS=1
# H5_WECHAT_MP_FRESH_THUMBNAIL_REPAIR=0
# 微信服务号 Agent 回复超时(默认 20 分钟);page.generate 超时后可在 MEMIND_CURSOR_PAGE_TIMEOUT_TAKEOVER=1 时由 Cursor 接手
# H5_WECHAT_MP_AGENT_REPLY_TIMEOUT_MS=1200000
# 微信 Page Data 独立 Aider 审核;默认关闭,灰度名单支持 userId/username/slug/displayName/nickname 或 *。
# 该链路不创建 h5_agent_runs,审核收据写入用户工作区 .memind/page-data-reviews/。
# H5_WECHAT_MP_PAGE_DATA_AIDER_REVIEW_ENABLED=0