github jlcodes99/cockpit-tools v0.9.7
Cockpit Tools v0.9.7

2 hours ago

更新日志(中文)

[0.9.7] - 2026-02-28

修复

  • 修复 macOS 反复弹出隐私权限请求的问题:将 sysinfo 进程扫描由"读取全字段(含 cwd/environ/root)"改为仅按需读取 execmd,避免遍历其他进程的受保护目录,从根源消除 macOS 上反复弹出"访问音乐/照片/文稿"权限提示的问题。

变更

  • Kiro/Windsurf 配额周期重置时间改为"相对 + 绝对"格式:重写 formatKiroResetTime,改为输出 Xd Xh (MM/DD HH:mm) 风格,与其他平台重置时间展示保持一致;不足一天时改为显示小时/分钟,不再向下取整到天。
  • Kiro/Windsurf 配额周期剩余时间不足 1 天时改为显示小时:剩余时间不足 24 小时时,展示文案切换为"{{hours}} 小时后重置",不再出现"剩余 0 天"。
  • Kiro 仪表盘卡片配额展示精简:移除 Dashboard 中 Kiro mini 卡片内多余的 used/total 与 left 行,改为直接展示 resetTextcycleText,与 Windsurf 卡片风格保持一致。

Changelog (English)

[0.9.7] - 2026-02-28

Fixed

  • macOS repeated privacy permission prompts suppressed: Replaced broad sysinfo process refresh (which fetched cwd/environ/root for all processes) with targeted ProcessRefreshKind requests that only retrieve exe and cmd. This prevents sysinfo from touching protected directories on other processes and eliminates the repeated Music/Photos/Documents permission dialogs on macOS.

Changed

  • Kiro/Windsurf quota cycle reset time now shows relative + absolute format: formatKiroResetTime rewritten to output Xd Xh (MM/DD HH:mm) style, consistent with other platform reset time displays. Sub-day granularity now shows hours/minutes instead of rounding to days.
  • Kiro/Windsurf cycle remaining time shows hours when under 24 hours: Quota cycle remaining text now switches to Resets in Xh when less than one day remains, instead of showing 0 days.
  • Kiro dashboard card quota display simplified: Removed redundant used/total and left lines from the Kiro mini-card in Dashboard; now shows resetText or cycleText directly, consistent with Windsurf card layout.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.