Add coin leaderboard command
check / local-gate (push) Failing after 1m34s

This commit is contained in:
JWeBot Contributors
2026-10-15 19:00:29 +08:00
parent 148ae672f4
commit bf4f28f48e
26 changed files with 357 additions and 24 deletions
+10 -6
View File
@@ -8,7 +8,7 @@ JWeBot 是运行于 Linux 的单群微信自动回复系统。它通过本地 OC
观察选定的微信窗口,将消息写入持久化 Edge 账本,调用经过审核的命令插件,
并通过带视觉确认的 GUI 发送链路回复。
当前版本:`alpha 0.6.10.1015`。
当前版本:`alpha 0.6.11.1015`。
0.6.1 新增本地上下文总结、人物与别名索引、单人虚拟金币游戏,并增加
两秒画面复核以补抓遗漏的消息变化。命令和游戏管理规则见
@@ -43,6 +43,8 @@ MR15/加时参数都由数据文件驱动,启动时会校验字段、ID 和素
收款人需先发送 `/金币` 初始化账户。
0.6.10 新增虚拟金币贷款:`/贷款 [金额]` 最多借入 500 金币,`/还款`
可按金额或全部归还;每个账户同一时间最多一笔未还贷款。
0.6.11 新增 `/大富翁榜`、`/金币排行`,按当前群金币余额展示排行榜,
有未还贷款时会在榜单中标注。
### 运行流程
@@ -109,6 +111,7 @@ PATH="$PWD/.venv/bin:$PATH" ./tools/check-local.sh
/上下文 [100|200|300](/context)
/人物列表 [页码](/people);/人物 [名称或别名](/person)
/金币(/wallet);/抽奖 [金额](/draw)
/大富翁榜(/金币排行)
/转账 对方 金额(/transfer name amount)
/贷款 [金额](/loan amount);/还款 [金额|全部](/repay)
/彩票 开始|报名|当前状态|开奖|取消(/lottery)
@@ -287,7 +290,7 @@ visually confirmed GUI bridge.
Current version:
```text
alpha 0.6.10.1015
alpha 0.6.11.1015
```
## Runtime Flow
@@ -388,10 +391,11 @@ Version 0.6.1 adds local `/context 100|200|300` extractive summaries,
`/people` and `/person` lookup, and `/wallet`, `/draw`, `/lottery`, `/blackjack`
single-player virtual coin games. Chinese aliases share the same implementations.
Accounts receive 1000 virtual coins once; funds, game state and event replay
results commit together. `/transfer name amount` moves virtual coins between
initialized group-scoped accounts in one ledger transaction. OCR display aliases
identify group-scoped people; `/loan amount` and `/repay` manage one capped
virtual coin loan per account. Native WeChat account IDs are unavailable. See
results commit together. `/richlist` shows a group-scoped coin leaderboard.
`/transfer name amount` moves virtual coins between initialized group-scoped
accounts in one ledger transaction. OCR display aliases identify group-scoped
people; `/loan amount` and `/repay` manage one capped virtual coin loan per
account. Native WeChat account IDs are unavailable. See
[plugin rules and capture reconciliation](docs/local-plugins-0.6.1.md).
Version 0.6.2 adds a 30-second total deadline to direct DeepSeek streams so an
unfinished upstream response cannot occupy both generation workers for about