Authentication persistence and session management for `opencli` when interacting with web services like WeRead.
Raw Developer Origin & Technical Request
GitHub Issue
Mar 30, 2026
### Description
opencli weread shelf
⚠ WeRead private API auth expired; showing cached shelf data from localStorage. Results may be stale, and detail commands may still require re-login.
weread/shelf
┌──────────────┬────────┬──────────┬───────────────────┐
│ Title │ Author │ Progress │ BookId │
├──────────────┼────────┼──────────┼───────────────────┤
│ 方伟看10年 │ 公众号 │ - │ MP_WXS_3634777637 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 卓哥投研笔记 │ 公众号 │ - │ MP_WXS_3943649596 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 36氪 │ 公众号 │ - │ MP_WXS_3264997043 │
├──────────────┼────────┼──────────┼───────────────────┤
│ 见实 │ 公众号 │ - │ MP_WXS_3575594744 │
└──────────────┴────────┴──────────┴───────────────────┘
4 items · 2.8s · weread/shelf
opencli weread book MP_WXS_3634777637
🔒 Not logged in to WeRead
→ Please log in to weread.qq.com in Chrome first
查看具体文章说没有登录
### Steps to Reproduce
1. Run `opencli ...`
2. ...
3. See error
### Expected Behavior
不报错
### OpenCLI Version
1.5.6
### Node.js Version
22.x
### Operating System
macOS
### Logs / Screenshots
```shell
```
Developer Debate & Comments
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from jackwener/opencli.
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like WeRead private API auth expired and cached shelf data by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
Market Trends