Skip to content

Options

PuppetAgentWechat

Field Type Required Description
baseUrl string yes Daemon origin, e.g. http://127.0.0.1:6174
token string yes Bearer token
account string yes Daemon account id
selfId string no WeChat username; otherwise taken from account.ownUsername
consumerName string no SSE ack consumer name (default puppet-bridge)
mediaWaitMs number no Media job wait budget (default 120s; large files allow longer)

Environment variables used by the sample bots map to the same fields: AGENT_WECHAT_URL, AGENT_WECHAT_TOKEN, AGENT_WECHAT_ACCOUNT.