docs(history): 清理屏幕时间遗留说明

This commit is contained in:
ysicing committed 2026-09-28 15:29:37 +08:00
1 parent 3beb670849
commit d93eec1bea
3 files changed
+2 -4

No files matched your search

-2
View File
@@ -388,8 +388,6 @@ merge concurrent edits, or use iCloud. A missing remote file requires an initial
- `HistoryRecorder` folds each sample into a per-minute record (averages, CPU and temperature
peaks, worst memory pressure) and writes it to `history.sqlite`; records older than 8 days are
pruned hourly. Queries bucket by 1, 5 or 30 minutes and charts break lines across gaps.
- Daily screen-time collection and its widget were removed. App termination no longer waits for a
screen-time database write.
## Localization
@@ -6,7 +6,7 @@ This policy explains what XStats processes on your Mac and which features contac
## 1. Data processed on your Mac
CPU, GPU, memory, network, temperature, fan, and process metrics come from local system interfaces. Those metrics, their history, hardware serial numbers, and process lists are processed on your Mac and are not uploaded to the XStats update service. XStats no longer collects screen time or reads keyboard and pointer idle time for that purpose. Earlier screen-time records, if still present in the local history database, are no longer read or updated. Preferences are stored locally.
CPU, GPU, memory, network, temperature, fan, and process metrics come from local system interfaces. Those metrics, their history, hardware serial numbers, and process lists are processed on your Mac and are not uploaded to the XStats update service. Preferences are stored locally.
AI Usage & Quotas is off by default. When enabled, it reads local Codex / Claude Code session logs to summarize token usage by model. It also checks subscription quotas. Codex first uses the installed local Codex CLI App Server, which maintains its own login; if unavailable, XStats reads cached CLI credentials and queries the quota service directly. Claude Code uses its local CLI credentials for direct quota requests. Requests send the login token to the respective provider; XStats does not save tokens in its preferences or statistics database, and does not send session-log contents with quota requests. A quota request may fail or be rate-limited without affecting local token statistics. Turning the feature off stops subsequent scans and quota requests. Apple Intelligence process explanations run on-device and do not send process information to another AI service.
If you manually configure Sub2API as a backup quota source for Codex or Claude Code, the app contacts the HTTPS server specified for that source only when its automatic quota lookup fails. The two configurations are stored separately, and XStats verifies the queried account's platform. Your admin email and password are sent to the corresponding server to sign in. Passwords are stored separately in this Mac's Keychain; addresses, emails, and account IDs stay in local preferences. Background quota requests use `force=false` and do not trigger active probes. Removing one source's configuration deletes its locally stored Sub2API password and connection details.
@@ -6,7 +6,7 @@
## 1. 本机处理的数据
CPU、GPU、内存、网络、温度、风扇、进程等监控数据来自本机系统接口,其指标、历史记录、硬件序列号和进程列表仅在本机处理,不上传到 XStats 更新服务。XStats 不再统计屏幕使用时间,也不再为此读取键鼠空闲时长。旧版本保存的屏幕使用时间记录如仍在本机历史数据库中,新版不会读取或更新。设置保存在本机应用偏好中。
CPU、GPU、内存、网络、温度、风扇、进程等监控数据来自本机系统接口,其指标、历史记录、硬件序列号和进程列表仅在本机处理,不上传到 XStats 更新服务。设置保存在本机应用偏好中。
“AI 用量与额度”默认关闭;开启后读取本机 Codex / Claude Code 会话日志,按模型汇总 Token 用量,并查询相应的订阅额度。Codex 优先通过本机已安装的 Codex CLI App Server 读取额度,由 CLI 自行维护登录;若该方式不可用,才读取本机 CLI 登录凭据并直连额度接口。Claude Code 使用本机 CLI 凭据直连。查询请求会向对应服务发送登录令牌;令牌不写入 XStats 设置或统计数据库,日志内容不会随额度请求发送。接口可能变化或限流,额度查询失败不影响本机 Token 统计。关闭此功能后停止后续扫描和额度查询。Apple 智能进程解释在本机运行,不把进程信息发送给其他 AI 服务。
如果你为 Codex 或 Claude Code 手动配置 Sub2API 额度备选来源,只有对应来源的自动额度查询失败时,应用才会连接你为它填写的 HTTPS 服务器。两份配置分别保存,并核对查询账号的平台。管理员邮箱与密码在登录时发送到对应服务器;密码分别保存在本机钥匙串,地址、邮箱和账号 ID 只保存在本机设置中。后台额度请求使用 `force=false`,不触发主动探测。移除某个来源的配置会删除其本机保存的 Sub2API 密码和连接信息。