Commit Graph

19 Commits (e9280208317e80c5baa6ae2002de2a260a8a49c5)

Author SHA1 Message Date
mula.liu e928020831 发布 0.1.16:统一列表行与开关样式
- 权限管理页残留数量改用行标签位显示
- 设置页开关改用共享 Toggle 组件
- 统一各模块列表行的内边距、分隔线与选中态
- 可点击列表行显示手型光标
2026-12-02 19:11:08 +08:00
mula.liu 16914f29d8 发布 0.1.15:Windows 卸载调用系统卸载程序并修复应用图标
- Windows 卸载改用应用注册的卸载命令,MSI 使用 msiexec /x,并在完成后清理残留注册表记录
- 从 InstallLocation、MSI、DisplayIcon 与卸载程序路径推断安装目录,修复 0 B 与无法卸载
- Program Files 应用不再被误判为无权限,卸载后自动刷新列表并保留结果摘要
- Windows 与 macOS 应用列表优先显示真实图标,条目键回退到注册表键
- 版本与发布文档更新到 0.1.15
2026-11-30 15:49:56 +08:00
mula.liu 404d0b6e69 发布 0.1.14:统一组件库与页面布局
- 版本号同步到 0.1.14
- 更新发布说明与下载链接
- 构建物同步发布到 origin releases 与 GitHub Release
2026-11-25 19:58:41 +08:00
mula.liu 51f9fdb085 Merge dev: consolidate navigation and absorb 0.1.13 features
- Space cleaning becomes one hub with junk / duplicates / large files tabs.
- System maintenance becomes one hub with repair / privacy / optimisation tabs.
- Permissions gains grouped startup entries, leftovers, advanced entries and
  grouped context-menu handlers.
- Desktop widget gets its own page and the desktop watch loop.
- Keep the security scan, quarantine and allowlist stack from main, and keep
  the tabbed settings page with its security section.
- Navigation: 维护 / 安全 / 洞察 / 桌面, with history and settings pinned at
  the bottom. Legacy cleanup/purge/storage/startup deep links map to the new
  pages.
- Remove second-level descriptions under page titles and trailing periods.
- Version 0.1.13 to match the merged feature set.
2026-11-25 17:30:48 +08:00
lijunjie ccc3cefe0b Squid 0.1.13 发布:启动项残留清理(MangoDisk 化)+ 重复文件完全删除 + 按钮配色修复
- 版本升至 0.1.13;release/0.1.13 全套发布物(安装包/便携包/校验和/更新清单/一键安装)
- 安装包 SHA256 7ae115a5cd0746c1ab62195686e0c0de53b3767d23a90f0f78231629ad2477e2(3868869 字节)
- 已在本机静默覆盖安装并冒烟通过(标题 [Squid],responding=True)
2026-11-24 21:40:50 +08:00
lijunjie db18bb3b3e 小组件归位彻底修复:位置守护改纯 Win32 比对,旧 DPI 空间记忆位置一次性作废
- 真机取证定根因:150% 缩放下 Tauri 的 outer_position/set_position/primary_monitor
  与 Win32 GetWindowRect/MonitorFromWindow/SetWindowPos 处在不同 DPI 空间;
  旧 position=(1369,18) 是 RDP 小屏会话里存下的数字,回本机 2560 宽大屏后被
  旧 clamp 判为「有效」原样保留——组件永远停在离右缘 660px 的半空,且上一版
  守护用同一套失真坐标系自测「已就位」,所以修不动
- 心跳守护全部改用纯 Win32(GetWindowRect/MonitorFromWindow/SetWindowPos 同
  一虚拟化):每拍比对实际矩形与 dock_point 应有位置,>2px 即拉回;拖动 3.5
  秒宽限逻辑不变
- WidgetPrefs 增加 dock_v2 代际标记:首启丢弃旧空间存下的 position(角位停靠
  恢复确定性),此后前端拖拽记忆与本守护同空间,永久被尊重
- 前端拖动记忆补洞:mount 播种真实位置、位移 <5px 的纯点击不再把(RDP 漂移
  后的)现位置钉成用户记忆;尺寸自适应后 redock 不再依赖 lastPos 判角位
- dock_position → dock_point(monitor 矩形版,24px 物理边距≈原 16 逻辑边距),
  单测更新并新增非原点副屏断言
2026-11-24 17:53:52 +08:00
lijunjie e802f7a231 Squid 0.1.11:洞察与维护双扩展包(重复文件/大文件/矩形图/AI 模型/系统维护/隐私/优化/进阶启动项/卸载增强 + 小工具 RDP 归位)
- 版本升至 0.1.11(4 处同步)
- release/0.1.11 全套发布文件(安装包/便携包/SHA256/更新清单/README/一键安装.bat)
- 安装包已在本机静默覆盖安装并冒烟通过(窗口标题 Squid、responding=True)
2026-11-24 14:34:26 +08:00
lijunjie cdc60fbe6d 卸载增强:来源徽章、安装不完整检测与残留记录清理(G2 完成 C 批)
- AppInfo 新增 uninstall_string/reg_key/dead 字段(serde default,全平台默认值)
- Windows 卸载扫描:MsiQueryProductStateW 探测 MSI 产品状态,安装目录与卸载器双缺失 → 「安装不完整」
- 包管理器来源徽章:winget/scoop/Chocolatey/JetBrains Toolbox/Microsoft Store 按路径指纹识别
- 死应用卸载方案:幽灵 bundle 行改为锁定说明,新增 app_remove_record 命令删除孤儿注册表记录(HKLM 走一次 UAC 提权 reg.exe,HKCU 进程内直删)
- 应用页 UI:安装不完整红色徽章 + 包管理器来源徽章 + 清理残留引导卡
- AI 模型体积诚实化:manifest 行只带自身字节,cluster 总额写入 note,杜绝 清理点 求和双计
- 修正 squid-engine Cargo.toml 误置的 libc 依赖段
- demo 点击测试扩至 53 项全过(隐私锁定/永久删除、优化开关与恢复默认、进阶启动项签名徽章与开关、卸载徽章与残留清理)
2026-11-24 11:43:17 +08:00
lijunjie ef15297e4d A 批:重复文件三级漏斗 + 大文件独立页 + 存储空间矩形图(学习 MangoDisk,保留回收站护城河)
重复文件(D1/D2):
- 新引擎 duplicates.rs:大小分组 → 头中尾 16KiB 采样哈希 → 全量 SHA-256 三级漏斗,
  哈希按 路径+大小+mtime 落盘缓存(hash-cache.json),重扫只算变化的文件
- 每组确认即流式推入结果(Event::Group),扫描不再是不透明转圈;漏斗各级淘汰数实时计数
- 智能选择每组保留一份(路径最短/最早两种策略),微信 FileStorage 副本自动标个人文件、不默认勾选
- 删除走唯一 delete::execute:安全复校 + 回收站 + 历史撤销;全卷安全放宽(with_volume_wide_safety)
- squid dupes CLI 子命令;真机 34k 文件冷扫约 1s,正确识别 23 组重复

大文件(D3):
- analyze::large_files 多盘阈值+类型过滤扫描;休眠标记、网盘可能有副本提示、镜像占用锁定、隐藏系统关键文件
- large_files_scan/delete 命令 + 独立页面,删除同样进回收站

矩形图(D4):
- 纯前端 squarify treemap(~130 行,无新依赖),与列表共用 storage_explore 缓存,秒开、点块下钻

共享改动:Category 新增 duplicates/ai-tools/privacy + Event::Group 流式事件;进度事件带 bigfiles/duplicates 文案
2026-11-24 10:46:58 +08:00
mula.liu ea1465d192 Release Squid 0.1.11 with security allowlist 2026-11-22 15:44:07 +08:00
mula.liu 37658ed61d Release Squid 0.1.10 with flat icons and tabbed settings 2026-11-20 03:53:28 +08:00
mula.liu cea60cc6c1 Release Squid 0.1.9 with low-CPU desktop monitor
Merge the dev monitor optimizations on top of the unreleased 0.1.8 desktop work: shared light snapshots, visibility-aware polling, CPU history/per-core panel, and a resize/redock guard that stops the widget IPC loop.

Also carries the desktop widget, permissions/security, storage-volume fixes, update-installer cleanup category, tray template icon, and Windows Recycle Bin wording.
2026-11-19 10:21:43 +08:00
lijunjie a3253ad38f Squid 0.1.10:升级安装包清理、CPU 面板、回收站文案与桌面小工具降占用
- 清理新增「升级安装包」分类:已知应用精确规则(微信/企微/WPS/网易邮箱等)+ AppData 启发式扫描;只匹配安装包形态、≥7 天、1MiB 起,运行中应用锁定;删除确认弹条「跳过升级包,只删其余」
- 桌面小工具新增 CPU 面板:总占用曲线 + 整行逻辑核心渐变柱(绿→黄→橙→红连续插值,悬停显示核心 N 百分比,0 起编号,柱宽随核心数自适应)
- Windows 上「废纸篓」文案全链路改为「回收站」(bootstrap.binNoun 驱动,macOS 不变)
- 常驻 CPU 优化:轻/全两档采样(system_snapshot(full))、双窗口共享 2s 采样缓存、主窗口收托盘与小工具折叠时完全停止轮询
- 修复小工具自适应尺寸→重锚定 IPC 死循环(主进程+渲染进程空转、每循环写一次 widget.json);同时修复由此摘除 prefs 依赖引入的面板高度不自适应回归
- 版本升至 0.1.10(4 处同步),release/0.1.10 全套发布文件(安装包/便携包/SHA256/更新清单/一键安装.bat)
2026-11-19 00:08:56 +08:00
lijunjie 67a68b4fbb Squid 0.1.6-0.1.9: 权限管理、桌面小工具、概览/卸载修复
权限管理(新增页):开机启动项按软件分组 + 中文软件名 + 每行图标;
右键菜单对齐电脑管家颗粒度(文件/文件夹/桌面/驱动器/所有对象 横向
分类导航、创建者列、模块图标、占位名回退安装目录名、系统内置过滤、
模块去重);弹窗拦截(窗口/规则图标、一键建规则、常驻观察者)。
数据源 crates/squid-platform/src/permissions.rs + src-tauri manage.rs。

桌面小工具(新增,仿飞牛):桌面层无边框窗口(HWND_BOTTOM,压在
壁纸上、其他窗口下),运行状态圆环 / 网络与磁盘曲线 / 存储空间条,
独立面板开关、不透明度(90-100)、频率、停靠角、折叠记忆、拖拽位置
持久化;主界面「桌面小工具」管理页 + 托盘开关;widget.json 持久化。
src-tauri/src/widget.rs、src/pages/Widget{Window,Page}.tsx、
src/components/WidgetPanels.tsx。

概览页:本机配置面板(主板/CPU/内存条/硬盘型号/显卡,原生 API 读取)、
Windows 11 版本识别修复(构建号规则)、盘符百分比、无滚动的紧凑布局。
squid-platform hardware_info + squid-stats gpu_usage 字段。

卸载应用:EstimatedSize/实测目录修复 0 B;应用图标(DisplayIcon 解析、
老图标 AND 掩码、.lnk 目标跟踪)。

安装:NSIS 自定义模板静默覆盖升级(不弹卸载旧版页,继承安装位置与
%APPDATA% 配置);管家环境发布必带 一键安装.bat(复制到 C 盘 %TEMP%
再启动,docs/RELEASE.md 记录);release/0.1.6-0.1.9 归档。

测试:scracth 目录写入被端点防护拒绝时优雅跳过(core/engine/rules/tui);
widget 序列化契约 3 个新单测;工作区 199 测试全绿。
2026-11-18 11:52:36 +08:00
mula.liu 8490f9213c Release Squid 0.1.7 with redesigned overview and corrected system metrics 2026-11-08 10:09:13 +08:00
mula.liu eb8f899fe0 Release Squid 0.1.6 with malware scanning and startup management
Adds the Protection half of the app: a Security page (quick / full / custom
scans, findings by confidence, quarantine and restore) and a Startup items
page (LaunchAgents, login items, registry Run, scheduled tasks, services),
plus a Processes tab on the real-time monitor that joins a running process to
the entry that launched it. XProtect and Defender stay the real-time
protection — Squid only reads what they report, uploads nothing, and installs
no daemon, kext or privileged helper.

On the interface, the two new screens reuse the vocabulary the older screens
already had instead of starting a second one: `.panel`, `.status-chip`,
`.search-field`, `.icon-button`, `.text-button`, `.metric-icon` with `tone-*`,
`.settings-row`. Findings, startup entries and quarantined files share one row
shape, so a row is one definition for three screens. Explanatory copy was cut to
one sentence per screen and per control, and a count now sits on the filter that
produces it rather than also in a summary line above.

Two defects fixed on the way:

- `src-tauri` is excluded from the root workspace and had no `[profile.release]`
  of its own, so no desktop build had ever been stripped; the universal binary
  is 20.6 MiB smaller now. `panic` stays unwind — turning a failed request into
  a dead app is not a change this release should be making.
- The schedule note was built in Rust as an English string, so a Chinese
  interface showed "squid only scans when you ask." beside everything else in
  Chinese. The schedule is now described once, in the frontend, in both
  languages.
2026-11-07 11:09:37 +08:00
mula.liu 6d9db8b700 Release Squid 0.1.5 with language and startup controls 2026-11-05 23:39:38 +08:00
mula.liu 20c20128e1 Release Squid 0.1.4 with restored navigation
- Restore Deep Clean, Storage, and Real-time monitor menu entries
- Group the full sidebar navigation under Maintenance and Insights
- Reorganize README around the current desktop, CLI, architecture, and release model
- Package macOS and Windows 0.1.4 installers and update manifest
2026-11-05 14:05:21 +08:00
mula.liu 09ba6c6b36 Release Squid 0.1.3 with tray support
- Hide up-to-date messaging in the update panel
- Simplify primary navigation to Overview, Cleanup, and Applications
- Keep Squid running in the tray with cleanup and purge actions
- Package macOS, Windows, and update manifest artifacts
2026-11-05 11:40:42 +08:00