fix(desktop): reduce history and multi-session resource usage (#10603)
Problem: Large historical catalogs and concurrent sessions amplify CPU, allocation, rendering, and layout persistence work during navigation.
Root cause: Settled reads repeat registry decoding and write transactions, unchanged discovery invalidates catalogs, and runtime events resample unrelated controllers. Evicted transcript entries can retain controller references.
Fix: Cache validated metadata and bounded topic orders, keep display reads separate from operation journals, coalesce global runtime updates and layout writes, isolate background rendering, release evicted projections, and refresh dirty catalog directories with periodic fallback checks.
Integration: Preserve canonical transcript structural reconciliation during body reclamation and derive metadata cache paths from confined storage. Calibrate the raw bundle ratchet using the measured 1551-byte increment.
Verification: Root Go packages and all seven inventory-checked Desktop test groups passed, with focused race tests, transcript and navigation regressions, TypeScript checks, lint, Chromium interaction checks, and Windows cross-build. Native Windows CPU reduction has not been measured.
Co-authored-by: f1shsmell 87590995+f1shsmell@users.noreply.github.com
Reasonix是开源编码智能体项目,原生基于DeepSeek大模型打造,可自主读取代码库、理解项目逻辑。支持多入口接入,能完成需求分析、代码编写、bug修复与合并请求等开发任务。它可对接Git工作流,适配DevOps场景,辅助开发者简化编码流程,减少重复开发工作,适合用于软件工程自动化实践。(98字)
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
English · 简体中文 · Guide · ACP · Extensions · Spec · Website · Discord
Open source · MIT · a single Go binary
A coding agent you can leave running.
One local engine, four ways in — terminal, desktop app, browser, or your editor over ACP. Plan mode, permissions, a workspace sandbox and per-turn checkpoints keep a long autonomous run something you can still read and undo.
Features
reasonix.toml. No hardcoded models.CGO_ENABLED=0single binary; cross-compile to six targets with one command. The result is a fully self-contained static binary — nothing to install on the target machine beyond the binary itself.Install
Choose the path that matches how you want to use Reasonix. The CLI/TUI, desktop app, and VS Code extension all use the same local Reasonix engine.
Path A: CLI / TUI
Install the native binary through npm on any supported platform, or use Homebrew on macOS:
Prebuilt archives (
darwin|linux|windows × amd64|arm64) andSHA256SUMSare on every GitHub release.Path B: Desktop app
Use the official download page for the latest desktop build.
.dmgor.zip.exeor portable.zip.debor.tar.gzWindows installers are code-signed through SignPath.io with a free certificate provided by the SignPath Foundation.
Path C: VS Code extension
Complete Path A first. The extension does not bundle the CLI; it starts your local
reasonix acpbackend and adds native chat, editor context, tool-call approvals, model selection, and workspace sessions.SivanLiu.reasonix-agent· source and usage guidePath D: Build from source
Clone the repository first:
CLI
The CLI build requires Go 1.26+. The module pins a
toolchaindirective; keepGOTOOLCHAIN=autoso Go downloads the pinned toolchain, or install it.Desktop
The desktop build additionally requires Node 24+ and pnpm 10 (
npm install -g pnpm@10) for the frontend and the Electron shell:No platform webview dependencies are needed — the shell ships its own Chromium. See the desktop build guide.
Quick start
CLI / TUI
These commands are for the CLI/TUI installed through Path A:
In an interactive session, run
/initwhen you want Reasonix to create project instructions.Desktop app
Download the installer for your platform from the official download page, install and launch Reasonix, then configure a provider and model in the app. The CLI commands above are not required for the desktop app.
For advanced CLI usage and configuration, see the CLI reference, Guide, and configuration paths.
Documentation
presenttool · Capability diagnostics · Recovery and updates · Bot guide · Checkpoints & rewindStar History
Acknowledgments
A small list of folks whose work has shaped Reasonix the most — the current top 20 contributors by commit count. The full contributor graph is on GitHub.
Special thanks to Bernardxu123 for designing the project logo and intro video.
MIT — see LICENSE
Built by the community at esengine/DeepSeek-Reasonix
Support this project
If Reasonix has been useful and you’d like to say thanks, you can. It stays a coffee, not a contract — donations don’t buy feature priority or change how issues get triaged.