Commit Graph
100 Commits
Author SHA1 Message Date
Tunglies 37fa9b65fa ci: add AI-collaboration contract and PR gates for slop review
Codify the rules agents and contributors are judged by: a tracked
AGENTS.md instruction contract, a Contribution Expectations section in
CONTRIBUTING, and a minimal PR template. Align the AI-slop review
policy with them - linkage substance, test/defensive-code padding,
write-access skips, disclosure as transparency - and add two
tamper-resistant checks: an ai-slop:high merge gate with a linked-issue
requirement (no-issue-needed exemption), plus a docs-consistency anchor
check guarding the cross-references.
2026-09-08 14:13:58 +08:00
Tunglies 4ddd021826 Revert "chore(deps): update pnpm to v12.3.4 (#7878)"
pnpm 12.3.4 deterministically breaks every Windows CI build: the install inside the tauri beforeBuildCommand fails importing into the pnpm store with os error 32 (ERROR_SHARING_VIOLATION). Reproduced on fresh runners with caches wiped; 12.3.3 was green on the same pipeline. Re-pin to 12.3.3 until upstream ships a fix.
2026-09-07 20:01:26 +08:00
Tunglies 6de0a59756 chore(deps): bump tauri-plugin-mihomo to 0.6.0 and move home card to count stream
Locks both sides to upstream main 17c7757: the WS channel now uses a
single Json transport (connections wire shrinks ~3.4x) and count-stream
error frames are forwarded unchanged; JS/Rust API surfaces stay
identical, so upper-layer code is untouched except the card below.

The home Active Connections card now subscribes to the count-only
ws_connections_count stream instead of parsing the full connections
snapshot every second; the full stream runs only while the Connections
page is mounted.
2026-09-07 07:13:27 +08:00
Tunglies b39c5f9b6d test(perf): add macOS Tauri WebView performance harness
Drive the production home traffic graph through embedded WebDriver in an
isolated optimized measurement build. Record attributed WebContent and main
process CPU/RSS distributions across foreground, hidden and restored phases.

Keep replay, raw reports, independent-run comparison, cleanup checks and
focused validation available through project commands. Normal release builds
exclude the automation service and measurement entry points.
2026-09-07 07:13:24 +08:00
Tunglies dd7b032cb1 refactor: retire application portable mode 2026-09-06 20:53:36 +08:00
Tunglies 9c9b7c3992 perf(proxy): read delays once per latency sort 2026-09-06 20:50:15 +08:00
Tunglies ee497cc65d refactor(ipc): remove unused commands 2026-09-06 04:38:46 +08:00
Tunglies 4ed474706a refactor(frontend): consolidate query state ownership
Consolidate ordinary query snapshots on SWR and make Profiles own its query key, cache mutation, and invalidation policy.

Impact:
- remove the generic synchronous query Map while keeping dedicated Mihomo WebSocket snapshots
- eliminate duplicate Profiles refreshes while preserving retries and the 800 ms event throttle
- preserve preload-backed Verge updates and system proxy rollback behavior
- scope uptime polling to the Home Clash info card instead of the app lifetime
- leave RunState, Connections, Traffic, backend, and IPC contracts unchanged
- reduce frontend code by 72 net lines without adding dependencies
2026-09-06 04:32:22 +08:00
Tunglies d8b94d12dd perf(core): batch close connections on mode change 2026-09-04 18:20:39 +08:00
Tunglies 836199cfe2 fix: unify font-family usage across GUI
- Remove hardcoded body font-family from index.scss, use MUI theme dt.font_family instead
- Extract monospace font stack to shared MONACO_FONT_FAMILY constant in utils/font-family.ts
- Add platform check for twemoji mozilla in ip-info-card.tsx
- Consolidate 5 Monaco Editor font-family declarations into single constant
2026-09-04 09:57:24 +08:00
Tunglies 7ffb0ef23b test: remove useless test 2026-09-03 19:18:50 +08:00
Tunglies ff4b4dd822 chore: cleanup build script 2026-09-03 11:28:00 +08:00
Tunglies 8611fdc34f chore(deps): update mihomo plugin 2026-08-30 18:34:11 +08:00
Tunglies 44f6f6e19b fix(profile): preserve files until explicit deletion 2026-08-30 14:34:28 +08:00
Tunglies 598b5e690c feat(updater): sanitize release notes and standardize semver 2026-08-29 11:52:08 +08:00
Tunglies 181dfb87a4 chore: migrate to pnpm 12 2026-08-28 11:16:51 +08:00
Tunglies 4c1df582ba fix(profile): propagate subscription update failures 2026-08-26 00:24:28 +08:00
Tunglies 695fadf21e fix(security): restrict external URL opening
Close: 7800
2026-08-25 16:11:47 +08:00
Tunglies 9085d907cd perf: reduce idle backend work 2026-08-24 18:42:49 +08:00
Tunglies eb6c81b00f feat(macos): adopt Icon Composer 2 app icon 2026-08-24 10:20:46 +08:00
Tunglies 6eaf65ff0f fix(profiles): stabilize drag reorder motion
Close: 7798
2026-08-23 17:10:38 +08:00
Tunglies b58ffc909b fix(ci): skip AI review when quota is unavailable 2026-08-22 14:54:57 +08:00
Tunglies c009de42a1 fix(proxy): hide provider names in node cards 2026-08-22 13:42:45 +08:00
Tunglies 0d3f141f20 test: remove redundant backend coverage 2026-08-22 08:53:42 +08:00
Tungliesandwonfen 629c00dc4a fix(port): handle stale macOS wildcard guards
Co-authored-by: wonfen <eiwonfen@gmail.com>
2026-08-22 04:17:15 +08:00
TungliesandTheodore b1e953e495 chore(macos): update liquid glass icon
Co-authored-by: Theodore <57642656+AlwaysExtraordinary@users.noreply.github.com>
2026-08-21 18:34:01 +08:00
Tunglies 332097bc9f chore: bump clash-verge-service-ipc to v2.6.4 2026-08-20 22:30:13 +08:00
Tunglies 927d794285 chore: bump version to 2.5.4 2026-08-20 17:31:23 +08:00
Tunglies fc5fdbfea6 perf(proxy): reuse group order names 2026-08-19 15:49:03 +08:00
Tunglies 95ae5e4e71 fix(proxy): focus filter input when opened 2026-08-17 14:34:11 +08:00
Tunglies 3618ee1e05 fix(clippy): remove redundant formatting borrow 2026-08-17 00:42:59 +08:00
Tunglies 1feba6f073 perf(tray): skip proxy data when menu groups are disabled 2026-08-17 00:42:59 +08:00
Tunglies 3e51aaa4da Revert "fix(ui): center sidebar item labels (#7289)"
This reverts commit 6960daf05e.
2026-08-16 11:08:34 +08:00
Tunglies 49f638414b refactor: clean up unused backend code 2026-08-15 00:07:48 +08:00
Tunglies c11791137f perf(tray): avoid cloning runtime config 2026-08-10 22:13:33 +08:00
Tunglies eb769b44ab fix(macos): precompile liquid glass icon (ref #7682) 2026-08-09 16:05:03 +08:00
Tunglies ed4e55a947 chore(knip): include Sass project files 2026-08-09 12:16:48 +08:00
Tunglies f32fd0eaa9 fix(profile): cover card with switching overlay 2026-08-09 11:32:59 +08:00
Tunglies 9b61b3bd4e fix(sysproxy): update to 0.5.5 2026-08-09 10:55:58 +08:00
Tunglies 6d9813756d style: fix side menu fontWeight
Ref: #6578
Close: #7536
2026-08-08 02:32:28 +08:00
Tunglies 1ebe2ab0f8 chore: update pr-ai-slop-review 2026-08-08 01:32:57 +08:00
Tunglies 19744805a9 chore: remove unused config 2026-08-08 01:22:06 +08:00
Tunglies a8275b20b7 refactor: extract media unlock checker crate 2026-08-04 11:37:54 +08:00
Tunglies c5b641e421 fix: make profile deletion rollback-safe 2026-08-03 20:00:01 +08:00
Tunglies 5590f6ab15 fix: scope windows-sys dependency to Windows 2026-07-29 05:42:40 +08:00
Tunglies 95bd5ceed9 fix: update js-yaml imports for ESM 2026-07-28 16:21:06 +08:00
Tunglies 2f7e5771ac fix(ci): update agentic workflow runtime 2026-07-28 03:12:49 +08:00
Tunglies 912f93fe85 fix: resolve default-feature clippy errors 2026-07-28 02:45:14 +08:00
Tunglies 5a2f1fc4c7 fix(macos): sync tray speed style across displays 2026-07-27 14:28:29 +08:00
Tunglies e9cd49eb46 ci(frontend): enforce knip checks on pull requests 2026-07-23 15:29:31 +08:00
Tunglies 0a19dd965d fix(frontend): resolve knip report findings 2026-07-23 15:28:47 +08:00
Tunglies 444215f8ed refactor(frontend): simplify home card settings state 2026-07-23 15:25:09 +08:00
Tunglies 17fe92352e refactor(frontend): centralize tun availability guard 2026-07-23 15:07:33 +08:00
Tunglies d7dbff9f08 chore(hooks): block pushes on knip errors 2026-07-20 02:52:04 +08:00
Tunglies c85928ecaf fix(i18n): keep language section loader private 2026-07-20 02:50:49 +08:00
Tunglies e63b8e6eb0 perf(frontend): eliminate navigation loading states 2026-07-20 02:43:38 +08:00
Tunglies 971dd37965 chore: bump version 2.5.3 2026-07-20 00:24:35 +08:00
Tunglies 12aa989af1 fix(knip): remove unused proxy order export 2026-07-19 21:29:30 +08:00
Tunglies d327a435ff fix(profile): validate profile file names 2026-07-16 16:49:11 +08:00
Tunglies 14bc636ee8 refactor(frontend): remove unused modules 2026-07-12 12:42:27 +08:00
Tunglies 656b6b6d44 chore(frontend): add Knip unused file report 2026-07-12 12:42:27 +08:00
Tunglies 0c86b70fe9 refactor(frontend): reuse sortable arrayMove 2026-07-11 18:58:31 +08:00
Tunglies 6d3761a9ee refactor(frontend): remove obsolete monitor diagnostics 2026-07-11 17:48:16 +08:00
Tunglies ab1e15dceb refactor(frontend): remove retired test page 2026-07-11 16:55:56 +08:00
Tunglies 34fee12496 fix(frontend): warm lazy routes concurrently after idle
Start all navigation route preloads after a single idle gate and show centered loading fallbacks during cold route loads.
2026-07-11 18:01:53 +08:00
Tunglies e8cefa8b07 perf(frontend): vectorize home navigation icon 2026-07-10 20:05:41 +08:00
Tunglies b53227dab5 perf(frontend): optimize initial dependency loading 2026-07-10 19:43:55 +08:00
Tunglies afbc14840c fix: warm lazy routes after startup visibility 2026-07-06 09:13:11 +08:00
Tunglies 1d7462a021 fix: stop idle mihomo websocket subscriptions 2026-07-06 08:33:23 +08:00
Tunglies 9a2f4ff8fb fix: warm lazy navigation routes after startup 2026-06-30 21:34:32 +08:00
Tunglies ad68e445dd rm unused workflow 2026-06-30 18:59:09 +08:00
Tunglies a862667d9b fix: defer setup resources until after first window 2026-06-30 12:53:21 +08:00
Tunglies 4aec41d3be fix: defer tray proxy menu refresh 2026-06-29 18:52:11 +08:00
Tunglies 5fd2175b06 fix: read enhance chain items concurrently 2026-06-29 18:28:18 +08:00
Tunglies fa712b59c9 fix: reuse preloaded verge config 2026-06-29 16:55:25 +08:00
Tunglies 520746428c fix: dedupe initial websocket subscriptions 2026-06-29 11:54:05 +08:00
Tunglies 3ce228ff7a fix: lazy load i18n sections 2026-06-29 11:11:57 +08:00
Tunglies 2442634b2a fix: lazy load non-home routes 2026-06-29 06:30:54 +08:00
Tunglies 4ec3a9bf4c fix: defer provider queries on startup 2026-06-29 06:03:51 +08:00
Tunglies 2a5d29cdb2 fix: defer runtime config init until after window 2026-06-29 05:19:38 +08:00
Tunglies 3a4cd2c361 Revert "fix: update js-yaml imports for v5"
This reverts commit 250198d547.

Revert "chore(deps): update dependency js-yaml to v5 (#7331)"

This reverts commit b44f671fc2.
2026-06-29 05:17:04 +08:00
Tunglies 250198d547 fix: update js-yaml imports for v5 2026-06-29 03:28:46 +08:00
Tunglies 55060d422a fix: include url-test groups in proxy selectors 2026-06-29 03:14:03 +08:00
Tunglies dad5121b7d fix(service): harden privileged service path execution 2026-06-28 21:21:01 +08:00
Tunglies b9da0875cd refactor: optimize swr data refresh paths 2026-06-28 19:42:21 +08:00
Tunglies e71e701fd0 refactor: migrate query cache to swr 2026-06-28 19:39:15 +08:00
Tunglies de438aadf8 fix(ci): skip bot PRs in AI slop review 2026-06-20 00:23:48 +08:00
Tunglies 4ee63b6cf2 perf(proxies): optimize virtual list scrolling 2026-06-18 20:53:22 +08:00
Tunglies f7ed126bb8 fix: update mihomo plugin config enum handling 2026-06-18 20:05:31 +08:00
Tunglies fd8c852698 fix: update mihomo plugin log handling 2026-06-18 19:18:10 +08:00
Tunglies 220474888c fix: clippy error 2026-06-16 12:39:14 +08:00
Tunglies 658312fe7b fix: keep home current proxy in sync 2026-06-13 21:20:52 +08:00
Tunglies 55ce7bffe4 refactor: avoid embed server clone 2026-06-13 19:51:14 +08:00
Tunglies 2ddd95cf40 refactor(macos): avoid speed text clone 2026-06-13 19:48:49 +08:00
Tunglies f763fcb244 fix: fallback clash mode from runtime config 2026-06-13 14:47:29 +08:00
Tunglies 1e57f41190 fix: use mihomo traffic totals 2026-06-13 14:03:44 +08:00
Tunglies 27161876f0 refactor: avoid allocating default tray icons 2026-06-13 13:37:15 +08:00
Tunglies e1380b9bab fix: frontend build after bump version for tauri-plugin-mihomo 2026-06-10 20:01:19 +08:00
Tunglies 358dff9c62 chore: fix pre-push script 2026-06-10 16:38:39 +08:00
Tunglies 35c534ae1c refactor: lazylock for profile regex 2026-06-10 16:38:39 +08:00