中文 | English
Trae IDE 本地状态深度重置工具
TraeReset 用于清理 Trae 在本地保存的账号状态、缓存目录和设备标识,适合在旧版只改 machineid 的方案不再稳定时使用。
- 一键深度重置,覆盖账号残留、缓存目录和设备标识
- 检测并展示当前识别到的账号,减少误清理风险
- 所有修改前自动生成
.bak备份,并支持恢复最近一次自动备份 - 提供高级选项,用于分步执行局部操作
- 支持中英双语界面
- 支持检查更新
当前版本主要覆盖以下本地状态:
machineidstorage.json中的telemetry.machineId/telemetry.devDeviceId/telemetry.sqmIdstorage.json中的iCubeAuthInfo:///iCubeServerData:///iCubeEntitlementInfo://等键User/globalStorage/state.vscdb/state.vscdb.backupLocal State/Local Storage/Session Storage/IndexedDBNetwork/Cookies及常见分区 Cookie 文件Code Cache/GPUCache/DawnCache等缓存目录
- 先确认当前操作目录是否正确
- 查看当前检测到的账号列表,避免误清理
- 执行一键深度重置
- 仅在需要时再使用高级选项
- 从 Releases 下载
TraeReset.exe - 完全关闭 Trae
- 运行
TraeReset.exe - 首次启动先确认免责声明
- 确认当前检测到的账号后,再执行一键深度重置
当前提供两种方式:
TraeReset_macOS.tar.gz解压后双击TraeReset_macOS.command.app打包方案 仓库中提供TraeReset_macOS.spec,可在 macOS 环境下用PyInstaller生成原生.app
pip install -r requirements.txt
python trae_unlock.pytrae_unlock.py:最薄启动入口traereset_core.py:扫描、清理、备份、恢复、验证、更新检查逻辑traereset_ui.py:窗口、双语文案、布局、事件和界面状态管理
- 本工具仅供个人学习与技术研究使用。
- 本工具不修改 Trae 程序本体,仅处理本地用户数据。
- 使用本工具产生的一切后果由使用者自行承担。
- 开源作者:掠蓝
- GitHub:https://github.com/Ylsssq926/TraeReset
- 如果你是通过付费购买获得本工具,请立即退款,请勿二次倒卖。
Local deep reset tool for Trae IDE state
TraeReset clears local Trae account traces, cache targets, and device identifiers when older reset methods based only on machineid are no longer reliable.
- Deep reset as the primary one-click flow
- Detected account list to reduce accidental cleanup
- Automatic
.bakbackups before changes, plus restore for the latest auto backup - Advanced options for step-by-step operations
- Built-in Chinese and English UI support
- Manual update checking
The current version targets these local artifacts:
machineidtelemetry.machineId/telemetry.devDeviceId/telemetry.sqmIdinsidestorage.jsoniCubeAuthInfo:///iCubeServerData:///iCubeEntitlementInfo://keys insidestorage.jsonUser/globalStorage/state.vscdb/state.vscdb.backupLocal State/Local Storage/Session Storage/IndexedDBNetwork/Cookiesand common partition cookie files- Cache folders such as
Code Cache,GPUCache, andDawnCache
- Confirm the working folder first
- Review the detected account list to avoid clearing the wrong state
- Run Deep Reset knowing a
.bakbackup is created before changes - Use Advanced Options or Restore Latest Auto Backup only when needed
- Download
TraeReset.exefrom Releases - Fully quit Trae
- Run
TraeReset.exe - Accept the disclaimer on first launch
- Review detected accounts, then run Deep Reset
Two distribution modes are available:
TraeReset_macOS.tar.gzExtract it and runTraeReset_macOS.command- Native
.appbuild pathTraeReset_macOS.specis included for building a native.appon macOS withPyInstaller
pip install -r requirements.txt
python trae_unlock.pytrae_unlock.py: thin launcher entrytraereset_core.py: scan, cleanup, backup, restore, verification, and update-check logictraereset_ui.py: window layout, bilingual strings, events, and UI state management
- This tool is for personal study and technical research only.
- It does not modify the Trae application itself, only local user data.
- You are responsible for any consequences of using it.
- Open-source author: 掠蓝
- GitHub: https://github.com/Ylsssq926/TraeReset
- If you paid for this tool, request a refund immediately. Do not resell it. nd immediately. Do not resell it.