Torli Stats 1.4.0
English
-
Torli Stats 1.4.0 adds configurable monitoring pause behavior, richer battery and process information, and additional dashboard/status-bar display settings.
-
Monitoring:
- Adds manual pause/resume through the status-bar menu.
- Adds
manualanddashboardClosedpause reasons with localized dashboard and resume messages. - Supports persisted
manualMonitoringPausedandbackgroundMonitoringEnabledsettings. - Resolves monitoring state across manual pause, system sleep, display sleep, screen lock, night schedule, dashboard visibility, and adaptive sampling.
- Keeps explicit refreshes available while automatic sampling is paused.
- Pauses automatic Codex, WakaTime, and typing-stat refresh work during paused states; adaptive low-frequency mode continues to affect local metric sampling separately.
- Re-evaluates monitoring when the new settings change.
-
Dashboard:
- Adds persisted toggles for
showDashboardDeviceInfo,showTemperatureTags, andshowProcessPID; all default to enabled and are included inresetToDefaults(). - Device information, CPU/GPU temperature tags, and detailed process PIDs can now be hidden independently.
- Popover sizing is recalculated when these dashboard display settings change.
- Process columns now follow
processSort: CPU, memory, or both forcombined; PID remains available only in detailed density when enabled.
- Adds persisted toggles for
-
Battery and thermal status:
BatterySnapshotnow includesSystemThermalState, mapped fromProcessInfo.ThermalState; unknown thermal states are treated ascritical.- Non-compact power views display a localized thermal-status tag alongside battery health and cycle count.
- Battery ring colors now distinguish low, warning, moderate, and normal levels; health and thermal states use corresponding severity colors.
- Bluetooth battery rings use each device’s battery level color, including compact layouts.
-
Process ranking and status data:
ProcessReaderaddsProcessSortOption.combined, ranking processes by normalized CPU plus normalized memory usage before applying the configured limit.MetricsStorenow passes raw download and upload rates intoStatusLineinstead of formatting them there.- New persisted status-bar settings include
statusBarFontSize,showStatusBarMetricIcons,networkRateUnit, andnetworkRateDecimalPlaces; changes to these settings trigger a status-bar title update.
-
Release and platform constraints:
CFBundleShortVersionStringis updated from1.3.0to1.4.0.LSMinimumSystemVersionremains15.0.- No new permission declarations are added in
Info.plist; adaptive idle detection continues to use the permission-freeCGEventSource.secondsSinceLastEventTypepath shown in the implementation.
中文
-
Torli Stats 1.4.0 新增可配置的监控暂停行为、更丰富的电池与进程信息,以及额外的 Dashboard 和状态栏显示设置。
-
监控:
- 状态栏菜单新增手动暂停/恢复监控入口。
- 新增
manual和dashboardClosed暂停原因,并提供对应的 Dashboard 与恢复提示本地化文本。 - 新增持久化设置
manualMonitoringPaused和backgroundMonitoringEnabled。 - 监控状态现在综合处理手动暂停、系统睡眠、显示器睡眠、屏幕锁定、夜间计划、Dashboard 可见性和自适应采样。
- 自动采样暂停时仍保留显式刷新能力。
- 暂停状态下会暂停 Codex、WakaTime 和 typing 的自动刷新;自适应低频模式仍单独影响本地指标采样。
- 新增设置发生变化时会重新评估监控状态。
-
Dashboard:
- 新增持久化开关
showDashboardDeviceInfo、showTemperatureTags和showProcessPID;默认均为启用,并纳入resetToDefaults()。 - 设备信息、CPU/GPU 温度标签以及详细进程 PID 现在可以分别隐藏。
- 这些 Dashboard 显示设置变化时会重新计算弹出面板尺寸。
- 进程列现在跟随
processSort显示:CPU、内存,或combined模式下同时显示两者;PID 仅在启用且密度为详细模式时显示。
- 新增持久化开关
-
电池与温度状态:
BatterySnapshot新增SystemThermalState,由ProcessInfo.ThermalState映射而来;未知温度状态按critical处理。- 非紧凑模式的电源视图会在电池健康度和循环次数旁显示本地化温度状态标签。
- 电池环现在区分低电量、警告、中等和正常电量,并为健康度与温度状态使用相应严重程度颜色。
- Bluetooth 电池环会根据各设备自身电量显示颜色,紧凑布局同样适用。
-
进程排序与状态数据:
ProcessReader新增ProcessSortOption.combined,按照归一化 CPU 使用率与归一化内存使用量之和对进程排序,再应用配置的数量限制。MetricsStore现在向StatusLine传递原始下载和上传速率,不再在此处预先格式化。- 新增持久化状态栏设置
statusBarFontSize、showStatusBarMetricIcons、networkRateUnit和networkRateDecimalPlaces;这些设置变化会触发状态栏标题更新。
-
发布版本与平台限制:
CFBundleShortVersionString从1.3.0更新为1.4.0。LSMinimumSystemVersion仍为15.0。Info.plist未新增权限声明;实现中继续使用标注为无需权限的CGEventSource.secondsSinceLastEventType路径进行自适应空闲检测。