项目文件夹

文件
wehub-resource-sync d68f003000
CI / Change detection (push) Has been cancelled
CI / Version drift (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Workflow RLM cache (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / npm wrapper smoke (push) Has been cancelled
CI / Mobile runtime smoke (push) Has been cancelled
CI / Workflow lint (push) Has been cancelled
CI / Documentation (push) Has been cancelled
Web Frontend / Lint & Type Check (push) Failing after 1s
Auto-close harvested PRs / close (push) Failing after 1s
cargo-deny / cargo-deny (bans licenses sources) (push) Failing after 1s
Security audit / cargo-audit (push) Failing after 1s
Sync to CNB / sync (push) Failing after 1s
cargo-deny / cargo-deny (advisories) (push) Failing after 3s
Web Frontend / Deploy to Cloudflare (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:08:23 +08:00

38 行
1.4 KiB
Bash

# =============================================================================
# Weixin Bot Bridge — 环境变量模板
# =============================================================================
#
# 此 bridge 通过扫码登录微信个人账号(iLink Bot 协议),
# 而非微信公众号。登录后 bot_token 会自动保存到 WEIXIN_STATE_DIR。
#
# 注:旧的 WEXIN_*(拼写错误)变量名仍作为已弃用别名被识别,
# 但请改用下方的 WEIXIN_* 名称。
# / Note: the legacy WEXIN_* (typo) names are still read as deprecated
# aliases; prefer the WEIXIN_* names below.
# CodeWhale Runtime 连接
CODEWHALE_RUNTIME_URL=http://127.0.0.1:7878
CODEWHALE_RUNTIME_TOKEN=replace-with-long-random-token
CODEWHALE_WORKSPACE=/opt/whalebro
CODEWHALE_MODEL=auto
CODEWHALE_MODE=agent
CODEWHALE_ALLOW_SHELL=true
CODEWHALE_TRUST_MODE=false
CODEWHALE_AUTO_APPROVE=false
# Comma-separated WeChat user IDs (from_user_id) allowed to control the runtime.
# Leave empty only during first pairing, with WEIXIN_ALLOW_UNLISTED=true.
WEIXIN_CHAT_ALLOWLIST=
WEIXIN_ALLOW_UNLISTED=false
# 状态持久化路径
WEIXIN_STATE_DIR=/var/lib/codewhale-weixin-bot-bridge
WEIXIN_THREAD_MAP_PATH=/var/lib/codewhale-weixin-bot-bridge/thread-map.json
# 消息配置
WEIXIN_MAX_REPLY_CHARS=3500
CODEWHALE_TURN_TIMEOUT_MS=900000
# 长轮询配置
WEIXIN_LONGPOLL_TIMEOUT_MS=35000