Loading...
Loading...
Compare original and translation side by side
user list40164user list40164undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined~/.config/agent-messenger/MEMORY.mdReadWrite~/.config/agent-messenger/MEMORY.mdReadWrite~/.config/agent-messenger/MEMORY.mdReadRead~/.config/agent-messenger/MEMORY.md~/.config/agent-messenger/MEMORY.mdWriteauth listauth statustemplate listuser listuser getWriteWrite~/.config/agent-messenger/MEMORY.mdauth listauth statustemplate listuser listuser getWriteMEMORY.mdMEMORY.mdundefinedundefinedwx1234567890wx1234567890TM00001TM00002TM00001TM00002oABCD1234oEFGH5678oABCD1234oEFGH5678wx1234567890wx1234567890
> Memory lets you skip repeated `template list` calls. When you already know a template ID from a previous session, use it directly.
> 记忆功能可避免重复调用`template list`命令。如果之前会话中已获取模板ID,可直接使用。undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined{
"success": true,
"app_id": "wx1234567890",
"account_name": "wx1234567890"
}{
"success": true,
"app_id": "wx1234567890",
"account_name": "wx1234567890"
}--prettyagent-wechatbot template list --pretty--prettyagent-wechatbot template list --pretty| Option | Description |
|---|---|
| Human-readable output instead of JSON |
| Use a specific account for this command |
| 参数 | 描述 |
|---|---|
| 输出人类可读格式而非JSON |
| 为当前命令指定特定账号 |
references/common-patterns.mdreferences/common-patterns.mdundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedagent-wechatbot template send oABCD1234 deployment_alert \
--data '{"version":{"value":"v2.1.0"},"environment":{"value":"production"},"status":{"value":"success"}}'agent-wechatbot template send oABCD1234 deployment_alert \
--data '{"version":{"value":"v2.1.0"},"environment":{"value":"production"},"status":{"value":"success"}}'templates/post-message.shaccount-summary.shsend-template.shtemplates/post-message.shaccount-summary.shsend-template.sh{
"error": "No credentials. Run \"auth set <app-id> <app-secret>\" first."
}No credentialsAccount not foundInvalid credentialsWeChat API error (errcode: 40001)IP not in whitelist (errcode: 40164)Rate limit exceeded (errcode: 45009){
"error": "No credentials. Run \"auth set <app-id> <app-secret>\" first."
}No credentialsAccount not foundInvalid credentialsWeChat API error (errcode: 40001)IP not in whitelist (errcode: 40164)Rate limit exceeded (errcode: 45009)~/.config/agent-messenger/wechatbot-credentials.json{
"current": { "account_id": "wx1234567890" },
"accounts": {
"wx1234567890": {
"app_id": "wx1234567890",
"app_secret": "...",
"account_name": "wx1234567890"
}
}
}~/.config/agent-messenger/wechatbot-credentials.json{
"current": { "account_id": "wx1234567890" },
"accounts": {
"wx1234567890": {
"app_id": "wx1234567890",
"app_secret": "...",
"account_name": "wx1234567890"
}
}
}4016440164agent-wechatbot: command not foundagent-wechatbot: command not foundagent-wechatbotagent-messengeragent-wechatbotagent-wechatbot message send oABCD1234 "Hello"npx -ynpx -y agent-messenger wechatbot message send oABCD1234 "Hello"Note: If the user prefers a different package runner (e.g.,,bunx,pnpx), use that instead.pnpm dlx
npx agent-wechatbotbunx agent-wechatbotpnpm dlx agent-wechatbotagent-wechatbotagent-wechatbotagent-messengeragent-wechatbotagent-wechatbot message send oABCD1234 "Hello"npx -ynpx -y agent-messenger wechatbot message send oABCD1234 "Hello"注意:如果用户偏好其他包运行工具(如、bunx、pnpx),可替换使用。pnpm dlx
npx agent-wechatbotbunx agent-wechatbotpnpm dlx agent-wechatbotagent-wechatbotagent-wechatbot auth set <app-id> <app-secret>agent-wechatbot auth set <app-id> <app-secret>4016440164agent-wechatbot auth set <app-id> <app-secret>agent-wechatbot auth set <app-id> <app-secret>4500945009