Tunglies 2f370d6490 refactor(log): in-place writer lifecycle and span-based core observability (#7889)
* refactor(log): migrate logging to tracing-estuary pipeline

Swap flexi_logger + clash-verge-logger wiring for the tracing-estuary
crate: buffered file sink with explicit panic/exit drains, live level
switching, and tokio-trace/chrome-trace behind crate features.

AsyncLogger moves in-house (VecDeque ring); file format and rotation
stay unchanged.

* fix(log): reset sidecar writer in place and re-pin service-ipc v2.6.7

Rebuilding the sidecar FileLogWriter on config changes leaked flexi's
unstoppable flusher thread plus an fd each time; the writer is now flushed
and reset in place, matching what the service crate does.
get_clash_logs_by_service drops the CompactString conversion layer now that
service-ipc v2.6.7 returns plain Vec<String>, and AsyncLogger is renamed
LogRing to match.

* refactor(log): span-based observability and log noise cleanup

Instrument spans carry the structure flat lines never could: the core-start
spine (mode, readiness/owner generations, pid, config file), proxy apply and
clear routes with guard generations, service IPC sessions with refusal codes
and outcomes, profile-switch terminal outcomes, subscription fetch strategies,
core upgrades with per-proxy version probes, backup flows, timer tasks, config
generation uids, and the startup setup flow; running-mode changes emit one
guarded transition event each.
~90 hand-written noise lines are gone or demoted (entry+success pairs, polled
getter echoes, phase brackets, window sub-steps, platform install chatter);
errors keep their anyhow chain, operation name, and item id, and swallowed
retry results surface per attempt.
2026-09-08 05:51:04 +08:00
2026-07-20 00:24:35 +08:00
2026-03-15 07:40:11 +00:00
2022-11-12 11:37:23 +08:00
2026-03-15 07:40:11 +00:00
2021-12-22 01:12:32 +08:00

Clash
Continuation of Clash Verge

A Clash Meta GUI based on Tauri.

Languages: 简体中文 · English · Español · Русский · 日本語 · 한국어 · فارسی

Preview

Dark Light
预览 预览

Install

请到发布页面下载对应的安装包:Release page
Go to the Release page to download the corresponding installation package
Supports Windows (x64/x86), Linux (x64/arm64) and macOS 11+ (intel/apple).

我应当怎样选择发行版

版本 特征 链接
Stable 正式版,高可靠性,适合日常使用。 Release
Alpha(废弃) 测试发布流程。 Alpha
AutoBuild 滚动更新版,适合测试反馈,可能存在缺陷。 AutoBuild

安装说明和常见问题,请到 文档页 查看

TG 频道: @clash_verge_rev


Promotion

✈️ AI云边 -- 全新架构机场 ClaudeBorder

🔥热销中使用本链接注册即送 3 天免费试用**,每日 1GB 流量:👉 点此注册

AI云边 -- 全新架构机场。

  • 💻 多次技术迭代后全新亮相。
  • 🗺 全高速稳定正价节点。
  • 🌏 海外团队,不跑路
  • 🚀 线路冗余设计,自动化运维**对抗各类封锁
  • 👨‍🦲 团队架构师为大厂网络架构师
  • 💰 极致稳定,亲民价价格
  • 🌐 全面支持流媒体及各AI访问
  • 🙋 7*12小时真人客服。解决您的各类问题。

🌐 官网:👉 https://www.claudeborder.com

🤖 GPTKefu —— 与 Crisp 深度整合的 AI 智能客服平台

  • 🧠 深度理解完整对话上下文 + 图片识别,自动给出专业、精准的回复,告别机械式客服。
  • ♾️ 不限回答数量,无额度焦虑,区别于其他按条计费的 AI 客服产品。
  • 💬 售前咨询、售后服务、复杂问题解答,全场景轻松覆盖,真实用户案例已验证效果。
  • ⚡ 3 分钟极速接入,零门槛上手,即刻提升客服效率与客户满意度。
  • 🎁 高级套餐免费试用 14 天,先体验后付费:👉 立即试用
  • 📢 智能客服TG 频道:@crisp_ai

Features

  • 基于性能强劲的 Rust 和 Tauri 2 框架
  • 内置Clash.Meta(mihomo)内核,并支持切换 Alpha 版本内核。
  • 简洁美观的用户界面,支持自定义主题颜色、代理组/托盘图标以及 CSS Injection。
  • 配置文件管理和增强(Merge 和 Script),配置文件语法提示。
  • 系统代理和守卫、TUN(虚拟网卡) 模式。
  • 可视化节点和规则编辑
  • WebDav 配置备份和同步

FAQ

Refer to Doc FAQ Page

Donation

捐助Clash Verge Rev的开发

Development

See CONTRIBUTING.md for more details.

To run the development server, execute the following commands after all prerequisites for Tauri are installed:

pnpm i
pnpm run prebuild
pnpm dev

pnpm dev preserves the Development Channel's installed service state: an existing service is used, while a previously uninstalled service remains uninstalled and the app starts in Sidecar mode. Use pnpm dev:service to explicitly install or update the isolated development service before launch, or pnpm dev:sidecar to force the unprivileged Sidecar workflow.

Contributions

Issue and PR welcome!

Acknowledgement

Clash Verge rev was based on or inspired by these projects and so on:

License

GPL-3.0 License. See License here for details.

S
Description
No description provided
Readme GPL-3.0
528 MiB
Languages
Rust 46.4%
TypeScript 45.3%
JavaScript 5.9%
NSIS 1.5%
Shell 0.5%
Other 0.3%