- serve now periodically writes account-pool state (active/cooldown/ disabled, cooldown until, token expiry) to workbuddy-status.json, refreshed every 3s and immediately on cooldown/disable/refresh events - new 'monitor' command runs in foreground: refreshes a live panel of all accounts (usable/cooldown/expired + reasons) every N seconds, optionally showing recent logs via journalctl (-journal) or a log file (-logfile) - statusSnapshotFile excluded from git via .gitignore - unit tests for tailLines and status snapshot states
23 lines
369 B
Plaintext
23 lines
369 B
Plaintext
# 凭据与敏感数据(切勿提交!)
|
|
workbuddy.json
|
|
workbuddy-console.json
|
|
dist/workbuddy.json
|
|
dist/*.json
|
|
last-*.json
|
|
*.json.bak
|
|
*.json.disabled
|
|
.workbuddy-*.json
|
|
workbuddy-status.json
|
|
|
|
# 本地编译产物
|
|
workbuddy-gateway.exe
|
|
dist/*.exe
|
|
dist/workbuddy-gateway-linux-*
|
|
dist/workbuddy-gateway-darwin-*
|
|
|
|
# 日志与临时文件
|
|
*.log
|
|
*.tmp
|
|
.DS_Store
|
|
Thumbs.db
|