NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #58 by repository stars
Latest stable
v0.54.2
Last release 5 months ago
29 May 2026
Ships on a steady schedule
a new release about every 8 days
Most releases are documented
notes for 46 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 months old
147 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Removed again; the bundled ink in dist/ is the implementation. 0.54.0 is deprecated on npm. 0.54.1 was tagged but never published — its lockfile carri…
Install fix — npx reasonix no longer crashes on EUNSUPPORTEDPROTOCOL.
Same regression as 0.53.0 → 0.53.1: "ink": "workspace:*" leaked back
into runtime dependencies because the 0.53.1 fix lived only on the
release-tag commit, not on main. tsup bundles ink into dist/ at
build time, so the runtime never resolves it — but npm on consumer
machines parses the declaration and rejects the unresolvable
workspace: protocol. Removed again; the bundled ink in dist/ is
the implementation. 0.54.0 is deprecated on npm. 0.54.1 was tagged
but never published — its lockfile carried a stale node_modules/reasonix
entry pinned to 0.52.0 that blocked CI's npm ci; 0.54.2 regenerates
the lockfile from a clean install.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per month.
Nothing published for this version
Cache diagnostics v1. /cache-miss-report, doctor --cache, and prefix-hash evidence in turn telemetry make cache-miss root-causes visible without instr
Cache diagnostics v1. /cache-miss-report, doctor --cache, and
prefix-hash evidence in turn telemetry make cache-miss root-causes
visible without instrumenting the loop by hand (#2188). The healing
pipeline and token count are now skipped when the log is unchanged
(#2180), sync FS I/O is eliminated from agent loop hot paths and the
server API (#2162, #2219), and tokenizer + prompt builder hot paths
are tightened (#2163, #2176).
Edit tools — unified diff display. edit_file, write_file, and
multi_edit render as one consistent diff card in both TUI and
desktop (#2173, #2177). Two new symbol-precise tools land:
AST-aware delete_symbol (#2191) and anchor-based delete_range
(#2190). Auto git rollback checkpoints are now enforced before any
write (#2169).
TUI — split-pane plan panel. Plans render in a dedicated
right-side panel instead of inline cards, keeping conversation flow
intact (#2227). Themed background now applies to the input area and
app surface (#2182, #2183), ANSI dim is replaced with explicit
FG.faint colors for WCAG contrast (#2221), and mouse-wheel scroll
jitter (#2076) plus VS Code terminal lag (#2080) are throttled. A
windowed AppendOnlyLog (200 messages) with lazy file fallback keeps
long sessions responsive (#2057).
Remote channels. Telegram support lands with bind-callback confirmations and improved remote rendering / ingress (#2168, #2213, #2222). Weixin gains a trusted iLink channel (#2240) and terminal QR rendering for ilink login (#2246). QQ gets desktop support (#2058) plus model and mode controls in remote commands (#2062).
Sessions. /session-persist toggles auto-resume on launch
(#2238, #2243). Session resume warns when the system prompt has
changed (#2212). Desktop sessions stay alive when the window closes
(#2144), prompt history persists across sessions (#2068), and the
session picker now polls for renames (#2127).
Permissions + shell. Global shell allowlist cascades with
per-project overrides (#2059, #2091). Allowlisted commands are
demoted when path args escape the workspace (#2081, #2089, #2138).
Per-turn iteration cap is configurable via maxIterPerTurn (#2037).
MCP. Tool schemas are canonicalized for cache stability across
turns (#2189). ${VAR} env vars expand in mcpServers header values
(#2148). cc-switch migration imports existing server configs
(#2135). MCP search tools are preferred over built-in defaults when
configured (#2066). Per-server requestTimeoutMs (#2023, #2036).
Skills. references/ files are inlined at load time for
Anthropic Skills compatibility (#2214). Symlinked entries are
followed in SkillStore.readEntry (#2104, #2124, #2137). Built-in
QQ helper skill (#2004).
Web search. Baidu AI Search backend (#2147), bing-intl engine
for international index (#1990), Baidu / Metaso HTTP errors are
classified before JSON parse to surface clearer failures (#2206).
Lifecycle. Explicit plan-first intent detection (#2070) and
plan-rails suggestion for high-risk tasks (#2119). Plan suggestion
shows once per session (#2208). Plan cancel/refine carries a
feedback text input (#2053). Desktop aborts the agent loop on
plan_response cancel (#2225).
i18n. Russian (ru) locale added across desktop and dashboard
(#2217). ja layer files now use the spread-fallback pattern across
all three layers (#2216) so missing keys fall back to English instead
of rendering bare keys. t() uses replaceAll instead of regex
(#2176).
Desktop. Virtual list with Virtuoso renders only visible
messages in the thread (#2056). Composer inline mentions, command
chips, and text highlighting (#2143). Streaming output follows the
bottom when user is at bottom (#2159). write_file results render
as a DiffCard in thread view (#2177). Pending tool/path approval is
grantable with Enter (#2015). Markdown rendering for plan body and
memory body (#2042). Theme palettes expanded (#2134). Cache
percentage shows 2 decimal places with details on hover (#2158).
Loop / agent. /max-tokens slash command caps output tokens per
turn (#2196, #2207). Force-summary uses the active model instead of
hard-coded flash (#1986). Headless NEEDS_PRO escalation is
one-shot (#2236).
CLI bundle. macOS dmg split by arch — separate Apple Silicon and Intel DMGs (#2050). Bundled CLI version metadata is preserved across rebuilds (#1997).
Nothing published for this version
Nothing published for this version
Nothing published for this version
Ink renderer in-tree as `@esengine/ink`. The vendored Ink fork now lives as a workspace package (#1847), unblocking TUI-specific renderer tweaks (focu
Ink renderer in-tree as @esengine/ink. The vendored Ink fork now
lives as a workspace package (#1847), unblocking TUI-specific
renderer tweaks (focus, IME, Static append) without forking upstream.
TUI polish lands on top: guard ASCII IME enter commits so JP/CN IME
atomic commits don't double-submit (#1874), preserve undo state across
session context switches (#1810), incremental repaint coverage
(#1873).
Desktop — clipboard image paste. Paste screenshots / copied images directly into the composer (#1889); paste path hardened against oversized + non-image clipboard payloads (#1897). Sessions exported by other local AI apps can be imported into Reasonix (#1894).
Desktop — JumpBar polish + drag perf. JumpBar now highlights the
active message bar and follows the latest one as the thread grows
(#1813); dot styling pulled into a shared helper (#1892). Sidebar drag
writes CSS vars directly to the DOM with content-visibility on
messages (#1812) and unit-suffixes the vars to dodge a Chromium
recompute storm (#1875).
Desktop — smaller fixes.
@ popup stays stable while filtering (#1850); split
kind/length effects in the popup (#1859)memoryDetail / onReadMemory wired through test fixtures so the
desktop memory browser is exercisable in unit testsConfig — base URL + proxy. DEEPSEEK_API_BASE_URL accepted as an
env alias to the existing base-url override (#1876, #1887), and
proxy.url is now a first-class field in config.json (#1881). MCP
initialize no longer leaks LSP-only fields that some servers reject
(#1861).
Providers. Ollama usage parsing tolerates the field-name variants recent Ollama versions emit (#1886).
i18n.
ru) language pack added (#1879)/qq command hints + argsHint localized; English fallback for
zh-CN (#1857, #1862)Dashboard / UI.
useEditHistory no longer re-exports undo-context through itself
(#1854)First paint — session restore 4.5s → 430ms. Progressive mount streams scrollback in chunks instead of mounting the full history synchronously (#1761).
First paint — session restore 4.5s → 430ms. Progressive <Static>
mount streams scrollback in chunks instead of mounting the full history
synchronously (#1761). Combined with index-backed mutateCard + O(n)
plan.drop + cursor elide (#1769) and the bump to ink@7.0.4 (which
ships the flicker fix we'd been carrying as a patch — patch-package
machinery is gone, #1809), large session restores no longer block the
event loop on startup.
Perf — tokenizer + markdown + search. BPE tokenizer caches its
table + bounds per-content counts with a fast-path truncate (#1741),
so long sessions don't re-tokenize the world on every turn. CodeBlock
syntax highlight is memoized (#1743). Literal-pattern search bypasses
the regex worker entirely (#1748). Windows terminal repaint cadence is
throttled (#1750) and a BEL → ST swap on Windows stdout stops cmd.exe
from beeping on every render frame (#1795).
Cross-platform robustness.
EXDEV fallback for atomic config writes on OneDrive / NTFS reparse
points (#1778) — config saves no longer fail on Windows + cloud-syncESC-less CSI recovery is
refused when followed by typed text (#1771).devenv and .direnv are skipped by glob / search / directory_tree (#1706)Memory — CLAUDE.md import for Claude Code migration. Loading
CLAUDE.md and ~/.claude/CLAUDE.md alongside the existing
REASONIX.md (#1694) lets Claude Code users carry their project /
user memory directly into Reasonix without rewriting it.
i18n — German. Full German (de) locale added (#1773) with a
follow-up correction pass (#1797).
Desktop polish.
TUI polish.
[PLAN] / [计划] badge in input bar (#1742)Delete key (#1735)running plan step on turn end (#1784)max effort on non-DeepSeek endpoints (#1798)Dashboard / web mode.
Smaller fixes.
/new + /cwd so prior intent doesn't leak (#1774)normalizeSemanticEmbeddingUserConfig preserves timeoutMs (#1788)REASONIX_ACP_SYSTEM_APPEND env var for system-prompt injection (#1737)Refactors / internals.
LruCache + TtlLruCache + lazy() helpers from ad-hoc
duplicates (#1746)step() (#1739)REASONIX_TRACE_RENDERS (#1747);
readStats API on render trace + real-numbers large-session probe (#1751)anywhere except a git checkout). 0.50.0 is deprecated on npm.
Install fix — postinstall no longer crashes on npx. The
postinstall hook added in 0.50.0 (#1584) ran npm ci inside
dashboard/ and desktop/ to set up the dev workspace, but those
directories aren't shipped in the published tarball. Result: npx reasonix@0.50.0 code failed during install with a dashboard/package.json not found error and the CLI never started. postinstall now delegates
to scripts/postinstall.mjs, which exits 0 when dashboard/package.json
is missing (i.e. anywhere except a git checkout). 0.50.0 is deprecated
on npm.
Desktop dashboard — unified on the CLI-hosted React surface. The old Tauri+Preact dashboard inside the desktop bundle is gone (#1418). Desktop now emb
Desktop dashboard — unified on the CLI-hosted React surface. The old Tauri+Preact dashboard inside the desktop bundle is gone (#1418). Desktop now embeds the same CLI-hosted dashboard the browser surface already uses, so there's one React app rendering chat across all three surfaces (CLI, browser, desktop) instead of two divergent implementations drifting apart. Cuts the duplicate rendering paths that caused tool cards, code blocks, and compacted history to look subtly different depending on where you opened the same session.
Presets — flash/pro are the only knobs now. The preset abstraction
is removed (#1657, #1630): config now exposes model + effort
directly instead of indirecting through preset: auto | flash | pro.
The /pro switch is dropped too — flash and pro remain as direct
model selections. Per-skill flash/pro override lands with a Settings
UI (#1632) so subagents can opt into a heavier model without
reconfiguring the parent.
Cumulative usage stats — persisted + auto-restored. Session token
totals and accumulated cost now write to the session meta on each
turn and reload on startup (#1667, #1680 follow-up). Cost telemetry
survives a CLI restart or desktop relaunch instead of resetting to
zero, and the context-size readout shows the current window, not the
all-time cumulative cache count (#1643). SessionStats caps at 200
turns with cost carryover so long-lived sessions don't unbound (#1628).
Plans — editMode="plan" enforced at the dispatch gate. Plan
mode now blocks write tools at the ToolRegistry dispatch layer
(#1681), not as a per-tool soft check. Plan steps also advance
correctly when intermediate actions are skipped (#1629), so the
"current step" indicator no longer stalls on a step the model already
completed.
Context — fold once at turn start. The pre-flight fold pass is gone — context folding now happens once at the start of each turn instead of being threaded through mid-turn checks (#1642, #1646). The obsolete byte-ceiling check is dropped too. Compacted history renders as a single collapsible card on all three surfaces (#1649), so the fold is visible without dominating the scrollback.
Desktop polish.
Esc closes the open modal instead of aborting the model turn (#1685)edit_file / multi_edit results as DiffCard, matching CLI (#1662)dashboard.enabled config to suppress auto-start when the
dashboard isn't wanted (#1612)Dashboard polish.
$turn_complete from per-iter assistant_final —
let the real completion event fire (#1673)TUI.
Alt+S hotkey stashes the current input buffer and recalls it
later, like a one-slot clipboard for the composermulti_edit is gated in review mode to match the single-edit
approval flow (#1647)Diff rendering — CJK column-border alignment. SplitDiff no
longer misaligns the column border when CJK characters appear in
either side of the diff (#1686). The width math now accounts for
double-width graphemes when laying out the gutter.
Subagents — per-skill model override. Each named skill
(/explore, /research, /review, /security-review) can now
override flash/pro independently (#1632), with a Settings UI to
manage the overrides. Defaults flow from the parent session.
MCP.
codeCommand honors the full normalizeMcpConfig pipeline including
inline mcpServers blocks (#1603, follow-up to #1568)Config.
(baseUrl, apiKey) is resolved as a tuple instead of two
independent fields (#1658), so a partial override on one no longer
silently falls through to the env value of the otherMemory. JobRegistry self-cleans entries for completed jobs
(#1620), so long sessions don't accumulate dead job records that
never release their references.
Other.
chore(loop) drop redundant abort warning, keep only the synthetic
final event (#1659)chore(theme) finish theme rename follow-up after #1666 (#1678)chore(ui) drop redundant overflow-wrap from inherited
descendants (#1675)fix(presets) drop stale "5/31 discount" framing in pro cost copy
(#1583)chore(install) include desktop deps in root postinstall (#1584)test(lifecycle) cover deterministic policy corpus + npm package
aliases (#1574, #1621)TUI — Static-history renderer. The history pane is now rendered exclusively through Ink's (#1529, stages 1–4). The previous virtual-viewport machinery
TUI — Static-history renderer. The history pane is now rendered
exclusively through Ink's <Static> (#1529, stages 1–4). The previous
virtual-viewport machinery — viewport-budget row allocator, byte-virtual
frame layer, manual scroll math — is gone. Net: less code on the hot
path, no more "frame drift" on very long sessions, and the rewrite stays
Ink-native instead of fighting it. Behind REASONIX_STATIC_HISTORY at
stage 1, default-on by stage 2, scaffolding removed by stage 4.
Chat — queued mid-turn steers. Typing while the model is mid-turn no longer fights the live render or drops the keystroke. New input queues, surfaces a small "queued" hint, and feeds into the next user turn cleanly (#1501). Pairs with the static-history switch so the queued line stays visible across re-renders.
Web search — Bing default, dashboard engine switcher. Default web backend switches from Mojeek to Bing (#1558); the dashboard gains a visible engine switcher so you can flip between configured backends without editing config. Mojeek is dropped from the bundled set entirely in this release.
Plans — lifecycle evidence summaries. Plan acceptance now surfaces the evidence captured at each lifecycle step (#1500), so the "why this plan is ready to accept" question has a structured answer instead of implicit trust. Builds on the strict-lifecycle observability that landed in 0.48.1.
Desktop — approval + completion notifications. Native OS
notifications for approval prompts and turn-complete events (#1519),
so a long-running turn can land in the background and still surface.
Uses tauri-plugin-notification.
i18n — CLI command output. /mcp, /sessions, /prune, /theme
output is now translated (#1524), closing the remaining English-only
gap in CLI command surfaces. Approval-prompt confirm titles and action
labels also get zh-CN (#1560/#1561).
Security.
web_fetch now blocks SSRF — private/loopback/link-local targets are
rejected at the boundary (#1544)>, >>, <) are constrained to the sandbox
boundary (#1457)Tools. run_command description now actively discourages
shell-based file edits in favor of the structured edit tool (#1514).
A per-turn dispatch-rate limit lands for tool calls (#1356), keeping
runaway loops from burning a quota slice in one turn.
TUI polish.
Ctrl+Enter now inserts a newline (#1513) — matching how every
modern composer treats the modifiermouseWheelRows config knob tunes scroll velocity per terminal
(#1511) so trackpad vs. wheel mouse don't fight the default@mention file search is restricted to the current directory prefix
(#1548) so the picker doesn't dump the whole repo^O expands the paste — the
shortcut never existed (#1517)Context. Pinned-constraint blocks are now preserved across context folds (#1515) and the fold tail captures all of them, not just the last (#1552). Memory constraints survive the fold instead of silently dropping out under pressure.
Client.
timeoutMs is now wired to fetch when the caller passes an
AbortSignal (#1535) — previously the timeout was silently ignored--no-proxy / REASONIX_NO_PROXY opt-out is honored for the
DeepSeek direct-route default (#1507)Files. Read/edit/restore now preserve the source file's encoding (GB18030, UTF-8 BOM, etc.) instead of normalizing to UTF-8 on write (#1518). Important for CJK Windows projects.
Web/Dashboard.
@mention file picker popover lands in the dashboard ChatPane
(#1546), gated on attached mode (#1549)Config. Atomic config writes restore the preset-write diagnostic trace (#1555), so when a preset write goes wrong you can actually see why.
Refactor. lifecycle extracts a standalone risk policy module
(#1557), shrinking the orchestrator and unblocking risk policy reuse
from non-lifecycle callers.
Edit safety. read-before-edit is now enforced at the dispatch
gate, not as a per-tool check (#1563) — edit / multi_edit refuse
to fire on a file the model hasn't read this session, closing the
race where a SEARCH block could match stale bytes after an external
write.
Cache. Fold-summary requests now reuse the live agent's system prompt + tool list as their prefix, so the cached bytes the main agent just paid for carry over to the summary call (#1565). Measured on a 48.7K-token fold: 0% → 99.6% cache hit, ~89% input cost reduction per fold.
Other:
fix(desktop) drop workspace:* protocol for core-utils — desktop
isn't a workspace memberfix(desktop) tsc errors blocking desktop bundle build`dsnix` — short alias. A new dsnix shim package lands alongside reasonix (#1440), so npx dsnix is now equivalent to npx reasonix for users who'd rathe
dsnix — short alias. A new dsnix shim package lands alongside
reasonix (#1440), so npx dsnix is now equivalent to npx reasonix
for users who'd rather type five characters than eight. The shim is
just a forwarding binary — same CLI, same release cadence — and ships
on npm with the same version pinning (#1442). The root README documents
the alias.
Lifecycle — observability + corpus tests. Strict lifecycle now surfaces step-level evidence and rail decisions through a structured observability channel (#1426), so what the loop is doing at each step is legible instead of inferred. Two corpus tests lock the behavior in: multi-file refactor flow (#1427) and config-migration replay (#1473).
Approval prompt unification. Phase 3 of the pause-request work
(#1322) lands a single PauseRequest → UI data model shared by ACP,
CLI, and Desktop (#1443) — the three surfaces now render the same
prompt from the same payload instead of each translating in their own
way. Net: pause prompts stay in sync across surfaces when fields are
added.
i18n. Builtin skill descriptions are now translated (#1468), and MCP error toasts + status labels carry zh-CN (#1481). The remaining hardcoded English surface in skill picker and MCP error toasts is gone.
Composer redesign + Ctrl+P shortcut modal. The input area is rebuilt with a denser layout, a clearer affordance for multi-line input, and a Ctrl+P shortcut-help modal that lists every key binding in one place (#1483). The desktop composer also autosizes for multi-line input properly (#1439).
Java tool — cheaper. The Java source/decompile tool description and output are pruned (#1485), shaving cached prefix tokens. Pairs with the #1390 buffer raise from 0.48.0.
Security. metaso web-search no longer ships with a baked API
key — it now requires the user-configured key like every other backend
(#1488). Project-level hooks are trusted without an extra prompt
provided they live inside the working directory.
YOLO mode polish. run_command and run_background approval
gates now auto-resolve in YOLO mode (#1489) so power users don't get a
modal for every shell call after explicitly opting in.
Perf — folding thresholds. Normal fold threshold raised 50% → 75%, aggressive 70% → 78% (#1461) — the loop now spends less time folding context that didn't need to be folded.
Preflight. The cap that previously only counted tokens now also gates on raw JSON body bytes (#1451), catching oversized payloads that weren't reflected in the token count.
Desktop. Error cards are dismissable and recoverable variants
toned down (#1487); orphaned pause-gate modals are cleared on
$turn_complete so a stale gate can't block the next turn (#1484);
session titles are renameable from the sidebar (#1478); /btw now
echoes input, surfaces busy state, and routes through the side-question
prompt instead of silently dropping the keystroke (#1472).
TUI. SGR mouse mode stays on for Windows Terminal (#1486) —
alternate-scroll silently breaks the wheel there. The default for
non-WT terminals switches to alternate-scroll (?1007h) (#1477) to
avoid the click-eats-selection problem on conhost-class hosts.
Other:
fix(cost) show session-aggregate cache hit so /cost matches the
status-bar number (#1482)fix(plan) Accept executes immediately when the plan has no open
questions instead of waiting on a non-existent answer (#1480)fix resolve root-relative edit-block paths (#1452)fix(tests) bump chat-mcp-startup timeout to 30s for Windows test
matrix (#1471)Proxy-aware networking. NO_PROXY is now honored end-to-end and the DeepSeek host is baked into the default bypass whitelist so a machine-wide HTTPS_PR
Proxy-aware networking. NO_PROXY is now honored end-to-end and
the DeepSeek host is baked into the default bypass whitelist so a
machine-wide HTTPS_PROXY no longer routes API traffic through an
unwanted proxy (#1373). A --no-proxy CLI flag, REASONIX_NO_PROXY
env, and cfg.proxy field give per-invocation control (#1374), and
/doctor surfaces the resolved NO_PROXY value plus the routing
decision Reasonix made for each host (#1375). If proxy behavior ever
looks wrong, /doctor will tell you why in one screen.
Code intelligence boost. Two new tree-sitter–powered tools land:
get_symbols and find_in_code cover TS/JS/Python/Go/Rust/Java
(#1387), giving Reasonix structural code navigation instead of plain
grep. Java gets a dedicated java_source tool that reads .java
sources and decompiles .class / inner jar entries via javap
(#1344), with output stripped of noise and the read buffer raised so
large classes fit in one round (#1390). Web search adds Perplexity
and Exa backends alongside the existing Mojeek / Tavily set (#1350).
Lifecycle round two. Checkpoints now gate mutating tools during
restore so an in-flight edit can't race a rollback (#1389), state is
preserved across plan revisions (#1388), and step evidence is
summarized at the plan card so progress is legible without expanding
each step (#1391). /plan is excluded from the strict-rails cache
constraint that would otherwise force a re-prefix on every revision
(#1407, #1386), and a strict end-to-end harness covers the whole
lifecycle path (#1424).
Subagent UX. Long-running explore / research / review are
now top-level slash commands with live byte-progress in the status
row instead of a frozen spinner (#1422). The agent loop is hardened:
_turnAbort resets in finally so a consumer break can't lock the
session (#1421), ambiguous search-replace edit blocks are rejected
instead of silently miss-applying (#1414), repeated gate rejections
no longer ping-pong (#1392), and FS tools walk .reasonix/ so user
skills are reachable from any subdir (#1371).
Desktop. QQ sessions are now usable from the desktop app — the
QQ Adapter routes events through the same RPC bridge as CLI tabs
(#1334). Custom font support + file-link rendering improvements ship
(#1376). Reliability fixes: rpc_spawn is idempotent and a
desktop_resync rehydrate path recovers cleanly after a renderer
reload (#1428); F5 / Ctrl+R are swallowed in packaged builds so a
stray refresh can't wipe the chat (#1430); React error #31 with
non-string MCP config items is fixed (#1394); the context-token
meter syncs after /compact (#1399); the cost meter and session
cost card apply USD→CNY conversion (#1369); augmentProcessPath()
lost in the #1334 rebase is restored (#1361); desktop stdout partial
writes are handled (#1405); /btw on empty payload now surfaces a
usage hint instead of dropping the keystroke (#1383).
TUI / UI. /about is a new slash command showing version,
website, GitHub, and license (#1434). Remaining hardcoded strings in
edit history and MCP browse are now i18n'd (#1433). Reasoning,
streaming, and diff content beyond the recent window are elided so
long sessions don't tank scroll perf (#1432). Wheel scroll is less
sensitive and per-card stdout resize listeners collapse to one (#1423);
terminal mouse tracking now has a CLI opt-out for users on
mouse-hostile terminals (#1345).
Settings / config. config.json with a UTF-8 BOM is tolerated
instead of crashing the loader (#1431); preset-trace diagnostic
retired (#1431). The dashboard can now clear baseUrl to fall back
to the bundled default (#1425). string[] config fields are
sanitized at the readConfig boundary so a malformed entry can't
propagate into the running session (#1396).
Other:
fix(test) switch vitest to forks pool to stop heap OOM on
many-core hosts (#1408)chore(shell) trim run_command param description (saves 119
tokens of cached prefix) (#1403)chore(scripts) measure per-tool token cost end-to-end (#1402)test(tools) close dispatch-level E2E gaps for shell jobs, web,
and scaffold (#1400)test(shell-tools) raise run_background dispatch test timeout
to 15s (#1406)test(web) cover Perplexity + Exa backends (#1366)docs(qq) add desktop quick start and trim README surface (#1401)…belongs under devDependencies. Moved. 0.47.1 is deprecated on npm; please install 0.47.2.
Hotfix — npx reasonix@latest install. 0.47.1 shipped with
@reasonix/core-utils listed under runtime dependencies as
workspace:*. Because the workspace package is private: true,
npm publish did not rewrite the protocol, so consumers hit
EUNSUPPORTEDPROTOCOL: Unsupported URL Type "workspace:" during
install. The bundled dist/ already inlines core-utils at build
time, so the dependency belongs under devDependencies. Moved.
0.47.1 is deprecated on npm; please install 0.47.2.
Desktop shakeout. Follow-ups to the 0.47.0 desktop launch: inherit login-shell PATH so nvm/asdf/fnm-installed Node is visible to run_command (#1331);
Desktop shakeout. Follow-ups to the 0.47.0 desktop launch:
inherit login-shell PATH so nvm/asdf/fnm-installed Node is
visible to run_command (#1331); stop claiming "Connected" on the QQ
settings page since the desktop is config-editor-only, not a live
bridge (#1326); re-enable devtools + right-click context menu in
release builds; route the in-app update check through the updater
plugin so CSP doesn't block it (#1298); prevent the browser-level
Select-All when the composer isn't focused (#1314); add unified
button:disabled style; ship selectable theme styles (#1291); a few
follow-up bug fixes from the release.
Prompt budget — round one. codeSystemPrompt compressed -51%
(~3.1k tokens/request, #1323) and tool spec descriptions -28% (~2.7k
tokens/request, #1321), with a byte-budget regression test locked in
(#1320). The cache-prefix shrinks accordingly — cheaper first turn,
same behavior.
TUI / shell-exec. Per-call shell-exec approval flow now surfaces
on the first run instead of failing silently (#1278); spinner +
stream tick rate dropped on legacy Windows conhost; light-theme
picker rows highlight on selection (#1330); // line-comment input
no longer parses as a slash command (#1288).
Other:
feat(core-utils) new @reasonix/core-utils workspace package —
Phase 1 internal split, no public-API change (#1328)feat(lifecycle) opt-in engineering lifecycle (#1306)feat(tools) ordered interceptor chain (#1301)feat(plan) persist step evidence metadata (#1302)feat(read_file) lower outline threshold 512 KiB → 64 KiB (#1324)fix(multi_edit) roll back files that may have been modified on
write failure (#1325)fix(permissions) strip literal * from always-allow prefix in
Desktop/ACP (#1312)fix(client) skip extra_body for Azure endpoints (#1316)fix(search) honor tavily engine + read engine at call timefix(cli) resolve heap reexec entrypoint (#1303)fix(docs) point download mirrors at desktop-v* tag namespaceDesktop matures. The Tauri app picks up the polish it was missing — About modal with one-click update check, KaTeX math rendering in chat, window/tab/
Desktop matures. The Tauri app picks up the polish it was missing —
About modal with one-click update check, KaTeX math rendering in chat,
window/tab/session/scroll restore across relaunch, /compact /retry /btw
/feedback slash commands, per-message copy + file-export actions, QQ
settings entry, platform-aware keyboard shortcut hints. The auto-updater
now reads latest.json from the R2 mirror so an npm-only v* release
can no longer brick the in-app update banner; the banner also surfaces
download progress while the bundle pulls. Universal Node is bundled on
macOS so Intel Macs stop blank-screening at launch.
TUI — composer round two. Composer keys and visuals re-align with
Claude Code: rounded border, status row at the bottom, input-box
background fill, left stripe on user card. ctrl+r toggles verbose
(reasoning + raw tool I/O); esc-esc opens a rewind picker over the
last 5s; u undo is now gated to the same 5s window so stale taps
can't revert. SGR mouse wheel is on by default again, IME cursor stays
glued to ▌, WelcomeBanner centers vertically on empty chats.
Search hardening. Regex now runs in a worker thread so a ReDoS
pattern can be terminated cleanly; worker deadline 5s → 60s and walk
deadline 15s → 120s for legitimately large repos. Tavily added as a
web_search backend — escape hatch when Mojeek 403s. search_content
gets a walk-level deadline and ESC preempts queued tool calls.
Claude-ecosystem compat. Reasonix now reads .mcp.json and
.claude/skills/ from the repo so existing Claude Code setups work
without a second copy; common skill fields (type/context/agent)
are aliased.
Other:
feat(embedding) batch OpenAI-compat embedding requests to respect
provider batch limitsfeat(memory) inject ancestor AGENTS.md into list_directory,
not only read_fileperf(session) skip cross-workspace jsonls + byte-scan line count
— sidebar list ~10× fasterfeat(config) support pricing overrides and per-model rpm limitsfeat(dashboard) new / switch / delete sessions in-place, no CLI
bouncefix(mcp) runtime schema validation for MCP server responses; ESC
aborts hung handshakes during startup; surface the real bridge-
failure reason in the dashboardfix(cli) preserve flash-preset auto-escalate semanticsci split desktop + npm releases into separate tag namespaces:
v* → npm, desktop-v* → Tauri bundlesNothing published for this version
Breaking — Rust renderer removed. Reasonix is back to a pure Ink/Node TUI. The reasonix-render ratatui crate, the five @reasonix/render-{platform}-{ar
Breaking — Rust renderer removed. Reasonix is back to a pure Ink/Node
TUI. The reasonix-render ratatui crate, the five
@reasonix/render-{platform}-{arch} optional sub-packages, the NAPI
loader (src/cli/ui/scene/), and the --node opt-out flag are all
gone. Cross-terminal compat issues (Termux #1149 / #1026, mac eager-spawn
chain, Windows alt-screen handoff, integrated-mode keyboard collisions)
disappear with them — at the cost of the streaming/animation perf the
rust renderer was supposed to buy us.
Notes for users:
REASONIX_RENDERER, REASONIX_RENDER_BIN, REASONIX_RENDER_CMD,
REASONIX_INPUT_CMD, REASONIX_RENDERER_INTEGRATED env vars are no-ops
— drop them from your shell config.--node flag is no-op (and unrecognized; will error). Just drop it.--no-alt-screen / --no-mouse flags also gone — Ink defaults take
over end-to-end.npm install reasonix@0.46.0 no longer pulls a per-platform binary —
one dep tree on every OS, no optional resolution step.TUI overhaul — same pass that removed the rust path also cleared the Ink-side workarounds we'd accumulated on top of it:
▎ stripe; cards are plain column
boxes with a top margin● running, ✓ done, ✗
failed, ⊘ aborted, ○ queued, ⚠ warn, ⎿ child row, █/░
bars, braille spinner/dashboard URL surfaces as a startup info row (was easy to miss)/copy permanently in the startup hint list — vim-style copy mode
was undiscoverable beforeNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix: macOS hang on npx reasonix@next code — keep-alive interval from rc.1 prevented Node from exiting, but the rust child was never actually spawned.
Fix: macOS hang on npx reasonix@next code — keep-alive interval
from rc.1 prevented Node from exiting, but the rust child was never
actually spawned. Root cause: spawn was triggered by a React
useEffect (useSceneTrace → emitSceneMessage → trace.ts
ensureInitialized), and that effect simply never fired in some
macOS npx contexts. Node sat alive with the keep-alive holding the
event loop open, nothing on screen, no rust process.
Fix: spawn rust eagerly in chat.tsx via new
ensureSceneTraceReady() export, after setIntegratedEventHandler so
the integrated event callback is wired before spawn. Also:
renderer-process.ts synthesizes an exit event when the rust child
dies on its own (panic / SIGKILL / terminal close) so the integrated
event handler tears Node down instead of hanging forever.trace.ts now logs a clear warning to stderr when resolveRenderer
returns no usable command, instead of bailing silently — anyone
hitting "TUI never appears" can find the cause in
~/.reasonix/rust-render-stderr.log.Fix: macOS npx reasonix code (default rust + integrated TUI) exited back to the shell prompt immediately without rendering. Root cause: makeNullStdin
Fix: macOS npx reasonix code (default rust + integrated TUI) exited
back to the shell prompt immediately without rendering. Root cause:
makeNullStdin / makeNullStdout are pure-JS Node streams with no
underlying libuv handles, so they don't keep the event loop alive. The
rust trace child is spawned by a React useEffect (via useSceneTrace
→ emitSceneMessage) — that effect is enqueued microseconds AFTER
render() returns, but on macOS the event loop sees no active handles
in that window and exits before the effect runs. Linux/Windows happen
to keep the loop alive via other handles in the boot path; macOS
doesn't.
Defensive setInterval(()=>{}, 0x7fffffff) keep-alive held for the
lifetime of waitUntilExit() and cleared in finally. Same renderer
binary as 0.44.0; only chat.tsx changed.
Fix: Mac/Linux npx reasonix@latest failed with EACCES when spawning the rust renderer (spawn ... reasonix-render EACCES). actions/download-artifact@v4
Fix: Mac/Linux npx reasonix@latest failed with EACCES when spawning
the rust renderer (spawn ... reasonix-render EACCES). actions/download-artifact@v4
strips Unix file modes during the release pipeline's artifact round-trip,
so the binaries in the published 0.44.0 subpackages landed without the
executable bit. Two-layer fix:
@reasonix/render-* subpackage now declares its binary in the
bin field of package.json, so npm install chmod +x's the file
during extraction (standard npm behavior for bin-declared files).chmod +x's the non-Windows binaries
after staging from artifacts, so the tarball itself ships with the
right mode regardless of npm version.No code changes — same renderer binary as 0.44.0, just a republish with correct file modes.
Headline: The Rust TUI is now the default TUI. npx reasonix@latest on any supported platform (win32-x64, linux-x64, linux-arm64, darwin-x64, darwin-ar
Headline: The Rust TUI is now the default TUI. npx reasonix@latest
on any supported platform (win32-x64, linux-x64, linux-arm64, darwin-x64,
darwin-arm64) pulls a pre-built ratatui binary as an optionalDependencies
sub-package and renders the full agent loop natively — no cargo, no
toolchain setup, no opt-in flag. The Ink/Node TUI is still shipped and
reachable via --node for users who hit a regression or run on an
unsupported platform; the renderer-resolver auto-falls-back to Ink with
a one-line stderr hint when no rust binary is locatable. Inside the rust
TUI, integrated mode is the default too (rust owns keyboard + mouse +
composer directly), which fixes the multi-press Ctrl+D + dropped preset
clicks + Ctrl+C terminal-state leak that the split keystroke-bus path had.
Bare reasonix (no subcommand) routes to code in the cwd instead of
chat — explicit reasonix chat still works.
Note: Existing users with REASONIX_RENDERER=rust or
REASONIX_RENDERER_INTEGRATED=1 set in their shell rc will see no
behavior change (both are now no-ops with the value =node / =0
opting back to the old behaviors).
Features:
--node flag (or
REASONIX_RENDERER=node) opts back to the Ink/Node renderer. Auto-
fallback to Ink with a stderr hint when no rust binary is found
(#1081)REASONIX_RENDERER_INTEGRATED=0 opts back to the
--emit-input split keystroke bus (debug only) (#1081)reasonix (no subcommand) now launches code in
the cwd. Drops the project-marker heuristic that used to route to
chat outside of project dirs; reasonix chat stays explicit (#1081)REASONIX_RENDER_CMD / REASONIX_INPUT_CMD env (full-command
override) > REASONIX_RENDER_BIN env (single binary path) >
@reasonix/render-{platform}-{arch} optional dependency > source-
tree target/release/reasonix-render(.exe) > target/debug/... >
cargo run --bin reasonix-render (source tree + cargo on PATH) >
missing → Ink fallback (#1081)paint_link_wrapped
emits each wrapped chunk as its own OSC 8 hyperlink so click-to-open
still hits the full URL (#1081)@reasonix/render-* subpackages
published as optionalDependencies of the main package. CI workflow
cross-compiles the rust renderer for 5 targets on tag push, uploads
one binary per subpackage, and npm publishes the 5 subpackages +
the main package together. scripts/sync-render-versions.mjs keeps
every subpackage version + the main optionalDependencies pins
lockstep, guarded by a verify + prepublishOnly --check (#1084)npm run dev auto-runs cargo build --release ahead of
tsx so contributors never spawn a stale rust binary after editing
rust source. Silent no-op when cargo is missing (TS-only devs).
Added npm run rust:build for explicit rebuilds (#1081)Fixes (inherited from #1070, included for 0.44.0 baseline):
\t
expands to 2 spaces. Resolves the tau-benc / tatus] style card-
body fragmentation seen in 0.43.0 (#1070)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Headline: Desktop client graduates — v0.42.0-* prereleases hardened the bundle pipeline (sync-from-tag versioning, signed Windows + signed
Headline: Desktop client graduates — v0.42.0-* prereleases hardened
the bundle pipeline (sync-from-tag versioning, signed Windows + signed
max-iters frontmatter knob so per-skill budget
overrides don't need a config edit, and /skill arg picker
autocompletes skill names. The CLI gets --profile for V8 CPU profiles
(send the file with a perf bug report; no instrumentation needed). On
the daily-driver side: /btw arg picker and /skill autocomplete in
the slash menu, a context-usage pill in the TUI status row, full i18n
sweep (settings UI, dashboard tool descriptions, residual hardcoded
strings), and ~20 desktop UX fixes (HiDPI window clamping, @-mention
drag-drop + tree picker, font scale + family pickers, language picker
synced to <html lang>, theme toggle, skill-running indicator, memory
panel mid-turn refresh, plan-checkpoint modal in dashboard, and several
keyboard / pause-state regressions caught in the field).Note: 0.41.0's ReadOnlyLoopTracker (auto-escalate flash → pro on
read-only sequences) is removed in 0.43.0 — the heuristic fired on
legitimate skim-mode reads and the cost ceiling didn't justify the
behavior change. Preset escalation now happens only on explicit
/preset or --auto-escalate. (#860)
Features:
partial_summary in the paused result) and a follow-up
call resumes from there. Cap raised 32 → 256, validated end-to-end
against the real API. (#822, #823, #838, #839)max-iters frontmatter on skill files raises the
subagent tool budget for that skill only — no config edit, no global
bump. (#791)--profile <path> records a V8 CPU profile for the
session and writes it on exit (flushed before useQuit's
process.exit so the file actually lands). Attach to perf bug
reports without rebuilding with instrumentation. (#846, #847)/skill arg picker autocompletes skill names. (#805)docs/ via GitHub Pages. Installer links resolve to
the R2-mirrored bundles. (#815, #817)<html lang> so the OS-level locale fall-through works. (#841,
#842)/btw and /search-engine zh-CN keys filled; /help
hanging-indent wrap fixed for long arg lists. (#875)Fixes:
PauseKind in the IPC bridge so the
agent loop doesn't silently hang when the desktop ships ahead of a
new pause variant. (#873)active — a
background tab no longer reacts to global hotkeys meant for the
foreground session. (#874)rpc_kill so the front-end can request a clean shutdown. (#792)remember /
forget — the right-panel was stale until the next user input.
(#829)/
autocomplete popup; normalize workspace path so the session sidebar
filter matches sessions opened from a different cwd casing. (#881,
#883)path_access gate and scope the right-panel to
the active session — cross-session leakage on workdir switch.
(#787)autoEscalate when building the loop —
was always reading the global default. (#819)2>nul and 2>/dev/null to the OS null device
cross-platform, so the same shell line works in WSL and Windows
cmd. (#821)reasonix with no
subcommand, in a project directory) to code mode. (#812)--yolo bypasses path_access too, parity with the
shell allowAll shortcut. (#786)Polish / refactor:
buildCodeToolset
finishes — first frame ~200 ms earlier on cold start. (#836)if: can read it; pass GITHUB_TOKEN to tauri-action; switch
macOS to universal-apple-darwin and drop the macos-13 shard
(queue waits ran to hours). (#794, #795, #796, #799)Nothing published for this version
Nothing published for this version
Nothing published for this version
…taking the whole install down. 0.39.0 is deprecated on npm.
Hotfix: 0.39.0 shipped with a postinstall: patch-package hook
but neither patch-package (in devDependencies only) nor the
patches/ directory (omitted from files) made it into the published
tarball. Fresh installs failed with 'patch-package' is not recognized as an internal or external command, taking the whole install down.
0.39.0 is deprecated on npm.
The patch-package approach was wrong by design — it patches
./node_modules/<dep>, but npm hoists ink to the consumer's
top-level node_modules/ink, so patch-package never finds the target
when reasonix is installed as a dependency. The install-time
machinery is removed entirely. The ink alt-screen render fix (#639)
will return via a forked ink package and an npm: alias in a later
release; until then the alt-screen ghosting on CJK terminals matches
0.38.0 behavior. Tracked at #663.
Three feature/fix PRs that were in flight piggyback on this release.
Features:
$EDITOR with the current input —
drafts long prompts in vim/code/etc. instead of fighting the
in-terminal editor. (#647, #661)@-mention, slash-arg pickers move up/down with the
same keys as ↑/↓ when active, fall through to history recall when
closed. (#647, #662)Fixes:
postinstall: patch-package, the patches/
directory and the patch-package dependency. Fresh installs no
longer fail on the missing patch-package binary.web_search / web_fetch errors now carry an actionable
— try: … tail so the model self-corrects (back off on 429,
switch engine on 403, pick a smaller URL on oversize, etc.) instead
of giving up on a bare status code. (#16, #632)Headline: field-bug week — a wave of user-reported rendering, tool and network bugs all landed with focused fixes. Two structural wins: the open AGENT
Headline: field-bug week — a wave of user-reported rendering, tool
and network bugs all landed with focused fixes. Two structural wins:
the open AGENTS.md spec now works without anyone having to create a
separate REASONIX.md, and HTTPS_PROXY / HTTP_PROXY / ALL_PROXY
are honored across every fetch path (DeepSeek API, web search, MCP,
doctor) — Node's built-in fetch silently ignored them before. zh-CN
coverage is now essentially complete for the TUI surface.
Features:
readProjectMemory walks REASONIX.md → AGENTS.md →
AGENT.md and picks the first that exists; writes target whichever
file is already on disk. Projects on the open
agents.md spec no longer need a separate
reasonix-only memory file. (#635, #636)ProxyAgent at
CLI entry, before any client constructs. /doctor reports the active
proxy URL (credentials redacted). (#646, #650)mcpEnv — set custom env vars
on individual MCP server invocations instead of relying on the shell
inherited environment. (#627)--dashboard-port <port> flag + dashboard.port
config field to pin the embedded dashboard to a fixed port; required
for stable SSH tunnels. (#624, #625)--json flag for structured machine-readable output —
scriptable / pipeable for CI checks and aggregator dashboards. (#620)/plans done <stepId> and /plans done all — manual
escape valve when the model forgets to call mark_step_complete, so
the resume banner doesn't get stuck at 0/N done. (#641, #645)t() with consistent translations. (#622,
#654)Fixes:
log-update
line-count drift that produced duplicated status bars at the bottom
of the viewport for users with CJK / ambiguous-width content on East
Asian terminals (Windows Terminal at 120×30 + zh-CN was the field
repro). Patched via patch-package against ink@7.0.2. (#639, #640)# → H1, [label](url) → link with URL
hidden, etc.). Assistant turns keep Markdown rendering. (#655, #656)"
instead of "); terminals don't render entities so they leaked
visibly. Common named + numeric forms decode at the rendering
boundary; unknown names pass through. (#657, #658)loadEditMode preserves yolo instead of demoting it
to review — the load path had only recognized auto and dropped
every other value back to the safe default, so /mode yolo survived
one process but reset on the next launch and the shell tool's
allowAll getter never returned true. (#644, #648)read_file({}) twice in a row
with the same missing-required-param error in between; the existing
StormBreaker threshold of 3 missed this shape. ToolRegistry now
tracks per-tool fingerprints of validation failures and returns a
sharper "DO NOT retry with identical args" error on the second
identical malformed call. (#651, #652)issue-labeler.yml now uses /pattern/i literal regex form
instead of the PCRE (?i) inline flag, which JavaScript's RegExp
doesn't accept. The auto-label workflow was dying on every issue
before this. (#637)Internal:
Headline: new /copy slash command — a vim/tmux-style copy mode that gives users a keyboard path to yank chat text from the alt-screen buffer, where te
Headline: new /copy slash command — a vim/tmux-style copy mode
that gives users a keyboard path to yank chat text from the alt-screen
buffer, where terminal drag-select can't extend past the visible
viewport. Plus a long-overdue docs/CLI-REFERENCE.md covering every
shell subcommand, every slash, and every keybinding, linked from both
READMEs and the website footer.
Features:
/copy enters a frozen-snapshot copy mode. j/k (or
arrows) move the cursor by line; v toggles a selection anchor;
y/Enter yanks via the existing OSC 52 path (with the temp-file
fallback for >75 KB or terminals that don't honour OSC 52); g/G
jump to top/bottom; q/Esc exits without yanking. Snapshot spans
user / streaming / reasoning cards — tool / diff / etc. are skipped;
headers are navigable but excluded from yank, so cross-card
selections come out clean. Solves the SSH / mosh / tmux drag-select
pain where alt-screen has nothing scrollable above the viewport for
the terminal to extend the selection into. (#614, #616)Docs:
docs/CLI-REFERENCE.md mirrors /help + /keys so the surface
is greppable from the repo, indexable on the website, and printable
for offline reference. Linked from README.md, README.zh-CN.md,
docs/index.html (footer), and docs/configuration.html (outro CTA),
with EN + zh strings in both website i18n dictionaries. (#616)Headline: boot splash + zh-CN status bar, MCP-handshake stall on launch is gone (bridging deferred to first paint), card virtualization keeps long ses
Headline: boot splash + zh-CN status bar, MCP-handshake stall on
launch is gone (bridging deferred to first paint), card virtualization
keeps long sessions snappy, and four field-reported bugs that all
shared a "silent failure" shape — /new was overwriting the live
session file so prior transcripts vanished from the Sessions tab,
flat-format skills (<dir>/<name>.md) didn't appear in the dashboard
even though /skill <name> ran them, skills missing a description:
frontmatter were silently dropped from the prefix index so a new
session claimed they didn't exist, and the escalation contract told
every session it was running on flash so /preset pro self-reported
as flash when asked.
Fixes:
fix(loop): /new truncated ~/.reasonix/sessions/code-<project>.jsonl
in place — multiple /news in a project produced exactly one
Sessions row and every prior turn was destroyed without warning.
clearLog now rotates the live jsonl plus sidecars to
<name>__archive_<ts> via archiveSession so the prior conversation
survives in the dashboard. The __archive_ infix sits outside the
${name}- resume-prefix matcher so archives don't auto-resume on
next launch. sessionName is unchanged so the cache-first prefix
invariant holds. (#587, #590)
fix(dashboard): /api/skills only walked folder-format skills
(<dir>/<name>/SKILL.md); flat-format skills (<dir>/<name>.md)
worked from /skill <name> in the TUI but the dashboard tab was
silently empty for users who installed them flat. The listing now
dispatches on Dirent and resolves both layouts; read / save /
delete share the same resolver so a flat skill can be edited or
removed from the dashboard without spawning a duplicate folder
entry. (#586, #589)
fix(skills): a skill whose frontmatter omitted description: worked
in the install session (because /skill <name> calls store.read
directly) and silently disappeared the next session (because
applySkillsIndex filtered it out of the prefix). Two-layer fix:
the dashboard install POST validates frontmatter via the new
validateSkillFrontmatter() and returns 400 instead of writing a
skill the model will never see; applySkillsIndex now lists blank-
description skills with a placeholder line so the model can name
them and tell the user how to fix the frontmatter. (#583, #591)
fix(prompt): ESCALATION_CONTRACT was a module-level const with
deepseek-v4-flash baked into the literal — interpolated into
DEFAULT_SYSTEM, CODE_SYSTEM_PROMPT, and DEFAULT_SUBAGENT_SYSTEM
at module load. A pro session got told it was running on flash and
answered honestly when asked which model it was. escalationContract
is now a function: pro tier gets a short "you are the escalation
tier; <<<NEEDS_PRO>>> is a no-op" note (no ladder, since pro can't
escalate to itself), other tiers get the full contract with the
actual model id interpolated plus an explicit "if asked which model
you are, answer <id>" line. The three system-prompt sites thread
the resolved session model through. The public CODE_SYSTEM_PROMPT
const is preserved for backward compat. (#582, #592)
fix(ui): pressing / on the empty home screen left the bordered
WelcomeBanner mounted while SlashSuggestions rendered below — both
occupied the same flex column so the frame buffer interleaved them
and the welcome card border drew through the menu rows. The empty-
state guard now also requires slashMatches === null, so the
welcome card yields the moment the menu opens and returns when it
closes. (#594)
fix(ui): wheel-up felt laggy because schedule() was trailing-edge —
every tick paid a 16 ms timer before any visual feedback, and on
top of Ink reconcile + Yoga layout a single tick cost 30-50 ms
before the frame moved. schedule() is now leading-edge so the
first delta lands immediately; subsequent calls inside the window
accumulate. Wheel/PgUp/PgDn step jumps from 3 → 8 rows so each
tick travels roughly a third of a viewport. (#571)
fix(ui): the default frame flush was 16ms (60Hz), which on
winpty / MINTTY / ConEmu / tmux / high-latency SSH couldn't
atomically swap the cursor-up rewrite — the previous frame's
bottom rows briefly bled through every redraw, visible as
vertical bobbing. Default is now 50ms (20Hz); still reads as
continuous streaming, no bob on any affected terminal. The
REASONIX_UI=plain escape hatch (which suppressed every live row)
is removed since the new default addresses the same terminals
without losing the spinner / status line / live cards. Override
via REASONIX_FLUSH_MS=16 for terminals with atomic frame swap.
(#570)
Features:
feat(ui): boot splash for reasonix code / reasonix chat. Cold
launch used to flash the alt-screen blank for a few hundred ms
before AppInner's first paint completed; users read that as a
freeze. The splash holds for one whale-spout cycle (~1.4s) so the
REASONIX wordmark lands cleanly and AppInner's heavy first-paint
cost (~150 hooks + several disk reads) hides under it. ANSI Shadow
block letters in brand color; three-tone shaded whale silhouette
with a 7-frame spout cycle and a shifting wave below. Setup screen
and SessionPicker bypass the splash. (#588)
feat(i18n): status bar, input placeholder, edit-mode hints, and
composer prompts route through t() with zh-CN coverage. Final
pieces of the chat surface that were still hardcoded English —
turn / cache / spent / left / slow / disconnect labels in
StatusRow, the "ask anything..." placeholder and "⏎ send · ^C quit"
hint in PromptInput, and the REVIEW / AUTO / YOLO mode label in
LiveRows. (#584)
Perf:
perf(boot): MCP bridging moved from chatCommand's pre-render
serial loop to an App.tsx mount-time effect that runs in the
background. Each runtime.addSpec(raw) handshake is 100ms-2s; users
with several servers configured used to watch a black alt-screen
until the last one finished. The UI now paints immediately, MCP
lifecycle events surface as in-app toasts via log.pushInfo /
log.pushWarning, and loop.prefix.addTool hot-adds tools as
they bridge — first turn after bridging is one cache-miss, same as
the existing /mcp browse install path. (#585)
perf(ui): card virtualization. Yoga used to lay out every card in CardStream's inner Box on every scroll tick — for a 50-card history that's hundreds of rows re-measured per tick. Each card now reports its measured height to the chat-scroll store and CardStream collapses off-viewport ranges into a single spacer Box, so only the 5-10 cards under the viewport (± a 30-row buffer) go through Yoga per scroll. Streaming and freshly-mounted cards always render live for measurement. (#574)
perf(ui): scroll state isolated from App.tsx via
chat-scroll-store (same useSyncExternalStore pattern as the
agent store). Wheel/arrow ticks no longer re-render AppInner's
3,800 lines / 122 hooks per tick — only CardStream and the
position indicator. The static ↑ earlier hint is now a live
position indicator (↑ N / M rows above — K more) that briefly
highlights on each applied delta so the user gets instant
confirmation. (#573)
Headline: stability sweep on field-reported crashes and freezes — TUI no longer tears down on /model / /sessions, Esc and /new recover from a stuck pl
Headline: stability sweep on field-reported crashes and freezes —
TUI no longer tears down on /model / /sessions, Esc and /new
recover from a stuck plan checkpoint, the dashboard chat tab survives
long streaming turns, plan-card spinners can't strand themselves on a
missed end-event, and the model can't infer its identity from a
foreign agent platform's data dir at the workspace root. New /theme
picker for one-keystroke theme switching.
Fixes:
↑ earlier hint
conditionally rendered as a sibling of the measured outer Box) tied
outer.height to scrollRows. Opening /model or /sessions —
which mounts a picker that shrinks the outer column by 10+ rows in
a single commit — could stack the cycle deep enough to trip React's
MAX_NESTED_UPDATES = 50, raising "Maximum update depth exceeded"
inside ink's useBoxMetrics and tearing down the TUI. The hint row
is now reserved unconditionally so its visibility no longer feeds
back into measurement. (#549)pauseGate.ask ignored AbortSignal — when a tool was
awaiting the gate (e.g. mark_step_complete → plan_checkpoint)
and the user pressed Esc, the gate's promise stayed pending forever,
busy stayed true, the prompt stayed disabled, and /new was
silently dropped by handleSubmit's if (busy) return guard. New
pauseGate.cancelAll() resolves every outstanding request with its
kind's safe-cancel verdict; Esc-during-busy and /new both flush
pending modals through it so the awaiting tool fn returns cleanly
and the user can recover. (#552)SOUL.md, skills/, memories/, a foreign
REASONIX.md) the model would browse those files and claim a
layered architectural relationship — "the underlying runtime is
Hermes Agent" or similar. Top-of-prompt identity guard names the
failure mode: workspace files describe the user's project, never
what Reasonix is; identity questions are answered from the prompt,
not from ls. Plus a launch-time detector that warns when those
markers sit at the workspace root, suggesting --dir <real-project>.
(#555)assistant_delta (~20/sec, more under fan-in) called setState
synchronously, re-rendering every historical ChatMessage with no
memoization — every delta re-ran marked.parse and hljs.highlight
on unchanged content. Memoized ChatMessage via preact/compat
memo, stabilised the per-row streaming prop so memo's shallow
compare actually bails out, and rAF-coalesced delta accumulation so
the streaming bubble re-renders at most once per frame regardless
of delta volume. (#560)running flag was set
imperatively from paired events, and any exit path that forgot to
emit the closing event (storm-breaker, network drop, parent abort
propagating, hook block) left the card stuck. Replaced with a
finally-guaranteed InflightSet on the loop: tools are added at
dispatch entry and deleted in finally regardless of how the call
exits. UI tool cards consult the set via useIsInflight(card.id)
for the spinner, decoupling running-or-not from end-event delivery.
(#566)Features:
/theme opens a SingleSelect picker listing auto
/theme <name> keeps its existing
persist-and-report behaviour. (#543, contributed by @J3y0r;
re-landed via #567 after rebasing onto current main)fix(slash): the slash-suggestion picker sorts by usage frequency, but the Enter-time substitution recomputed the list without that sort, so the shared
Fixes:
Headline: terminal-compatibility + interaction-loss fixes from 0.35.0 field reports. Mouse wheel now scrolls chat on cloud / web / SSH terminals (xter
Headline: terminal-compatibility + interaction-loss fixes from
0.35.0 field reports. Mouse wheel now scrolls chat on cloud / web /
SSH terminals (xterm.js, code-server, Cloud Shell, mobile SSH apps,
tmux without mouse on) via DECSET 1007 alternate-scroll, with
native drag-to-select restored on Konsole and friends — no Shift
bypass needed because we're not enabling full mouse tracking.
Render ghosting on CJK / emoji-heavy output goes away (Ink
incrementalRendering off so each frame is a single full-screen redraw
inside the BSU/ESU envelope). Pasting a multi-line block stops firing
one agent call per line on hosts where bracketed-paste markers get
stripped — the parser now wraps unbracketed multi-line chunks in
synthetic markers so the existing accumulator delivers exactly one
paste event. Plan-mode Refine finally pipes the user's typed feedback
to the model instead of dropping it on the floor (PlanVerdict was
missing a feedback field, the rich synthetic text was built and
discarded). Web dashboard recovers canonical state on SSE reconnect
so a missed end-of-turn event no longer wedges the page on busy=true
forever.
Plus a setup-wizard theme-picker step with live preview, "did you
mean /…?" suggestions on slash typos, install-source-aware
reasonix update (no more forced npm install -g for bun/pnpm
users), zh-CN coverage extended to the card components, Windows PATH
normalized before spawn, slash-popover windowing stabilized, semver
compare on the dashboard up-to-date check, and self-hosted DeepSeek
endpoints with non-standard key prefixes accepted.
Features:
feat(ui): nearest-slash-command suggestion on typos. Slash typos
produce an inline "did you mean /<closest>?" hint instead of
silently dropping. (#302)
feat(wizard): theme-picker step with live preview during setup.
Previously users had to learn /theme after the fact and try
themes blind. (#518)
feat(update): reasonix update respects the install source
(npm / yarn / pnpm / bun) instead of always forcing npm install -g. Stops bun-installed users from getting a stale global from a
different package manager. (#511)
feat(i18n): card component labels route through zh-CN. Final TUI surface (status / context / streaming / tool / search / reasoning / sub-agent / usage cards) localized — closes the English-residue gap from prior i18n passes. (#526)
Fixes:
fix(slash): hoist hooks above early returns. SlashSuggestions had
useColor / useStdout / useState before two early-return
branches and useEffect after, so when matches flipped between
non-empty and null/empty across renders React saw a different hook
count and threw "Rendered more hooks than during the previous
render", killing the entire TUI mid-session. Triggered by everyday
slash editing (typo → backspace → typing again). Hoisted the
effect + windowStart math above the returns. (#538)
fix(tui): wheel scroll on cloud / web / SSH terminals via DECSET
1007. Old code relied on the implicit "terminal translates
wheel→↑/↓ in alt-screen" behavior — only on by default in xterm /
iTerm / Windows Terminal / Alacritty / Kitty. Web/cloud terminals
ship with it off, leaving the wheel as a dead key. Explicit DECSET
1007 alternate-scroll routes wheel through the existing ↑/↓ chat-
scroll handler without enabling full mouse tracking, so native
drag-select + right-click stay 100% intact (no Shift bypass).
Paired with incrementalRendering: false to drop render ghosting
on CJK / emoji-heavy output. --no-mouse opts out. (#529, partial
mitigation for #412, fixes #519, #531)
fix(tui): rescue unbracketed pastes so multi-line content stops
firing N submits. Bracketed-paste markers (DECSET 2004) don't
reach the parser on every host — multiplexers strip them, some
web-SSH gateways drop them, certain Windows pipes never forward
them. Without them, each \r in a paste fires an Enter event
and the loop submits the partial buffer per line. Heuristic at
the parser entry wraps multi-line chunks in synthetic paste
markers when 2+ line breaks (or 1 break with text on both sides)
are present and no ESC bytes appear. Bare \r and \r\n stay
typed-Enter; "abc\r" stays type-then-Enter. (#536, closes #522)
fix(plan): pipe user feedback through the Refine / Approve /
Cancel gate. PlanVerdict didn't carry a feedback field, so
the rich text typed in PlanRefineInput was built into a
synthetic string and never sent. Model received bare "user
requested refinement" tool error and proposed a near-identical
plan, looking like the suggestion was ignored. PlanVerdict now
matches CheckpointVerdict's shape and surfaces feedback as the
tool result string. (#534, closes #533)
fix(dashboard): resync canonical state on SSE reconnect. The
/api/events stream snapshots only busy-change on (re)connect.
When the connection dropped during a long task — proxy timeout,
browser background-tab throttle, Node event loop blocked past
the 25s ping window during heavy work — every assistant_delta /
assistant_final / tool / modal event fired during the disconnect
window was lost. If the disconnect happened before
busy-change(false), the UI wedged on busy forever. EventSource
onopen now refetches /api/messages + /api/modal on every
reconnect. (#532, closes #521)
fix(tui): drop xterm mouse tracking — restore native copy/paste, rebind keys. Multiple users reported they couldn't copy text or scroll with SGR mouse-tracking modes enabled. ↑/↓ always scroll chat now; Ctrl+P / Ctrl+N take over what ↑/↓ used to do in PromptInput (cursor up/down inside multi-line draft, falls back to prompt history). Pickers still own ↑/↓ while open. Superseded by #529's DECSET 1007 approach but the rebinding stands. (#514)
fix(shell): normalize Windows PATH env before spawn. PowerShell
passed PATH with trailing semicolons that broke where and
downstream tool resolution on certain Windows builds. (#525,
closes #520)
fix(slash): stabilize suggestions windowing + isolate status row layout. Slash-suggestion popover was reflowing on every typed character; status row width changes were leaking up into the composer. (#516)
fix(config): honor config.baseUrl + accept self-hosted key
formats. Self-hosted DeepSeek-compatible endpoints with non-
standard key prefixes were rejected by client-side validation.
(#513)
fix(dashboard): use semver compare for up-to-date check. Lexical string compare flagged 0.35.0 as older than 0.5.10. (#512)
fix(semantic): unblock Build when daemon is up but binary lookup fails. Build path was throwing on daemon start when the embedding binary wasn't where the registry expected it. (#507)
Performance:
REASONIX_FLUSH_MS overrides for hosts that need it. (#515, #517)Headline: the agent gains the ability to extend itself from chat, and bug reporting collapses from a multi-tab scavenger hunt into one slash. create_s
Headline: the agent gains the ability to extend itself from chat,
and bug reporting collapses from a multi-tab scavenger hunt into one
slash. create_skill and add_mcp_server are first-class tools — "add
a skill that runs typecheck before commits" or "wire up a postgres MCP
server" now works as a normal chat request, with structured args
(description / runAs / allowed-tools / model for skills; transport
name=… spec. Both reuse the same
persistence paths the wizard / /skill new already use, so on-disk
shape stays one source of truth./feedback opens GitHub's new-issue page with an 11-field diagnostic
block (version + latest-version compare + platform + terminal env
markers including WT_SESSION/TMUX/SSH/WSL + cols×rows + theme + edit /
plan mode + MCP count + session) pre-filled in the textarea via
?body= — clipboard stays as belt-and-suspenders. The status row
shows a v<VERSION> · ⚑ /feedback chip at cols ≥ 100 for
discoverability. Diagnostic block is locked by a test that pins the
exact field set so future additions can't sneak in unannounced.
Plan mode finally surfaces the open-questions block it was already
flagging. The banner detected Open Questions / Risks / Unknowns
headings since 0.30, but the actual questions were swallowed by either
the step list or the 24-line body cap. Now the extracted block renders
under the banner regardless, and refines pre-fill the questions above
the input. Whole plan flow (PlanConfirm / PlanRefineInput /
PlanCheckpointConfirm / PlanStepList) moves through t() — the i18n
gap the issue called out is closed.
Read tooling gets sharper: read_file auto-preview now embeds a
top-level export outline so callers can pick a range without a
follow-up grep, and search_content adds a per-file cap + a histogram
fallback so a single high-frequency hit can't drown the result. The
subagent loop now sees its own iter budget and gets a near-cap
countdown.
Plus: dashboard typography pass (sidebar 240→260px column, body
12.5→15px, section headers tightened), cache-hit percentages now show
1-decimal precision across CLI + dashboard, Usage panel chart fully
i18n'd, spawn_subagent tool result body finally renders as markdown
instead of literal **/##/code-fences in the JSON envelope.
Features:
feat(tools): create_skill + add_mcp_server — let the model
scaffold from chat. create_skill pre-fills frontmatter
(description / runAs / allowed-tools / model) from structured
args; add_mcp_server builds name=… specs for stdio / sse /
streamable-http with from_catalog shortcut for bundled entries,
runs the existing preflight, refuses name collisions. Both register
alongside native filesystem / shell tools in reasonix code.
(#498, closes #494)
feat(ui): /feedback + version badge in the status row. Slash
collects an 11-field diagnostic (terminal env / size / theme / edit
?body=<urlencoded>, falls back to clipboard. StatusRow shows
v<VERSION> at cols ≥ 70 and adds a · ⚑ /feedback hint at
cols ≥ 100. Field set is locked by test. (#501, closes #499)feat(tools): read_file auto-preview embeds a top-level export
outline. When the file is > 200 lines and no head / tail /
range was given, the elision marker now also lists function /
class / const / interface / type / enum names with their line
numbers (capped at 30 entries with elision). Callers can pick a
meaningful range without a follow-up search_content. (#490,
closes #487)
feat(search): search_content per-file cap + histogram fallback.
When a single file dominates the result (typical: a generated lock
file or a long log), the new per-file cap clips its share and the
histogram footer shows the per-file distribution so callers can
re-query against a specific file instead of widening the cast. (#495,
closes #489)
feat(subagent): tell the child its iter budget; warn near the cap.
The child loop now sees its maxToolIters budget in the system
prompt (replaces the static "Cap at 6-8 tool calls" prose), and the
parent injects a remaining-iter hint into tool results once budget
is tight ([budget: 3 of 20 tool calls left — wrap up soon]).
Stops the explore-burns-17-iters-then-truncates-mid-thought failure
mode. (#493, closes #488)
Fixes:
fix(plan): surface the open-questions block under the banner; i18n
the plan flow. The Open Questions / Risks / Unknowns
detection regex already fired but the block was swallowed by the
step list or the 24-line body cap. Extract via
extractOpenQuestionsSection and render under the banner regardless
of steps / cap; thread the questions into PlanRefineInput
above the input on mode === "refine". Move PlanConfirm /
PlanRefineInput / PlanCheckpointConfirm / PlanStepList strings
through t() under a new planFlow namespace in EN + zh-CN.
Replace the blank-refine synthetic that asks the model to re-derive
questions with one that tells it to pick safe defaults. (#497,
closes #477)
fix(ui): render spawn_subagent tool result body as markdown.
formatSubagentResult returns a JSON envelope with the child's
final answer in output; ToolCard rendered the JSON-stringified
body as raw <Text>, so ## headers, **bold**, fenced code
blocks all leaked through as literal characters. Special-case
card.name === "spawn_subagent": parse the envelope, pass output
through the same Markdown component the streaming reply uses;
fall back to the line-tail loop on parse failures and success: false. (#496, closes #491)
fix(dashboard): bump doc-chrome typography; widen sidebar column.
Sidebar 240 → 260px (so 2–3 word section labels fit without
mid-word wraps), section headers 10 → 12px with tracking 0.14em →
0.08em, links 12.5 → 14px with line-height: 1.4 and
overflow-wrap: anywhere, body copy 12.5 → 15px, .swatch .hex /
.scale-row .lbl 10.5 → 11.5px. Mirrored verbatim into
docs/design/agent-dashboard.html. (#500, closes #461)
fix(ui): improve cache hit percentage display + Usage chart i18n.
Cache-hit ratio now shows 1-decimal precision (85.6% rather than
86%) across the dashboard sidebar, the Stats panel, and /status.
Usage panel chart axes (USD / turns / time) and series labels
(cost / cache saved / turns) move through t() — they were
hardcoded English. Adds the missing colWindow header (was an
empty <th>), promotes numeric columns to right-aligned tabular
numerals at the header level, not just the body. Thanks
@kabaka9527. (#503)
Headline: scroll lag fix for long sessions. useChatScroll was calling setScrollRows synchronously on every PgUp / PgDn / arrow / wheel tick, so a sing
Headline: scroll lag fix for long sessions. useChatScroll was
calling setScrollRows synchronously on every PgUp / PgDn / arrow /
wheel tick, so a single mouse-wheel gesture (10–30 events on Windows)
triggered 10–30 full Yoga layout passes over the entire CardStream
subtree. Layout cost scales linearly with card count — that's why the
lag worsened the longer the session ran. Coalesce deltas into a ref
and flush once per ~16ms; one scroll burst now produces one render
regardless of event volume. End (jumpToBottom) cancels any
pending delta so it stays instant. Reported in #482 by @GyroChen.
The deeper fix — pre-rendering cards to a row buffer so Yoga isn't on the scroll/streaming hot path at all — is tracked separately and covers the streaming-redraw lag too.
Fixes:
chat-scroll: coalesce wheel/key events into one render per ~16ms
frame; long-session scroll no longer scales O(history) (#485, closes
#482)Headline: two big UX shifts in the composer. The @-mention picker is rebuilt as a streaming file browser — @ alone shows the immediate directory listi
Headline: two big UX shifts in the composer. The @-mention picker
is rebuilt as a streaming file browser — @ alone shows the immediate
directory listing, anything you type fires a cancelable walk that
streams matches in as it finds them, with a searching… N scanned
footer. Fixes the unusable-on-large-repos behavior reported by
@xlingyun8-maker (5000 files would evict 90% before ranking, picker
showed nothing). The mouse wheel now scrolls chat history regardless of
where the cursor is, via SGR mouse tracking — wheel events route
through mouseScrollUp/Down instead of being mistranslated as ↑/↓ by
Windows Terminal / ConPTY.
The supporting cast: a structured TipCard variant replaces the
multi-line text crammed into a step-progress card (the existing
edit-gate hint reported as ugly), a real /keys command with the full
keyboard + mouse + copy-paste reference (was a dangling reference in
the edit-gate tip footer for months), and a one-time mouse/clipboard
tip on first launch so users don't think the prompt is broken when
right-click stops doing the terminal's native paste.
Critical bug fix at the bottom: dashboard was silently overwriting
CLI-side /language changes by pushing localStorage back to the
server on every page load.
Features:
feat(at-picker): rebuild as file browser with streaming search.
Empty / trailing-slash queries (@, @some/dir/) browse one
directory level via a single readdir — folders selectable, drill
with Tab. Any non-slash filter (@foo, @auth/log) kicks off a
cancelable streaming walk across the full tree, matches batch into
the popup as the walker finds them, footer shows scan progress
in flight. Drops the 500-file walker cap; cancellation bounds work
instead. New public API: walkFilesStream (streaming + abort),
listDirectory (single-level browse), parseAtQuery (dir/filter
split with trailing-slash awareness). expandAtUrls + helpers
split into at-mentions-url.ts to keep at-mentions.ts under the
800-line ceiling. (#479, closes #478)
fix(scroll): route mouse wheel via SGR mouse tracking. Enable
DECSET 1006 + 1000 at startup so the terminal reports wheel events
as \x1b[<btn;col;row;M mouse sequences instead of translating
them to ↑/↓ key presses. The chat-scroll handler routes the
resulting mouseScrollUp/Down events to scrollback, bypassing the
arrow-key path entirely. ↑/↓ keys retain their existing PromptInput
bindings (history recall on empty buffer, cursor motion otherwise).
The SGR mouse parser already lived in stdin-reader.ts; this just
turns on the terminal-side feature. Cost: terminal-native drag-to-
select needs a modifier (Shift on Windows Terminal / Alacritty /
WezTerm, Option on iTerm2) — same convention as tmux, Claude Code,
Cursor's terminal. (#479)
feat(ui): structured TipCard variant for onboarding hints. The
edit-gate one-time tip rendered as raw multi-line text inside a
stepProgress LiveCard — ✓ glyph (success semantic, wrong for
educational content) plus a manually-inlined ▸ TIP: prefix,
columns aligned with hand-counted spaces that wrap badly on narrow
terminals. Replaces with a dedicated TipCard kind: single ⓘ
glyph in accent color, topic + "shown once" badge in a justified
header row, each row gets its own <Text> with column alignment
driven by string-width (CJK-correct), footer separated from body
by a blank row, no border. (#480)
feat(ui): /keys reference + first-run mouse/clipboard tip.
/keys was already referenced in the edit-gate tip's footer ("Run
/keys anytime for the full list") but no handler existed; typing
/keys hit the unknown-command branch. Adds a multi-section
TipCard with the full keyboard / mouse / copy-paste / edit-gate
reference. Adds a first-run mouse + clipboard tip mirroring the
edit-gate pattern (suppressed thereafter via a
mouseClipboardHintShown flag) so users don't think the prompt
is broken when right-click stops doing the terminal's native
paste. TipCard now supports multiple sections; existing single-
section tips are unchanged. New i18n helper tObj<T>(path) for
structured translation entries. (#481)
Bug fixes:
initLangFromServer() had a one-way sync
rule: when localStorage's lang differed from server config AND
localStorage was tagged "explicit", it POSTed localStorage's value
back, silently clobbering CLI-side /language changes whenever the
dashboard tab next loaded (including auto-restored tabs from
previous browser sessions). Server config is the single source of
truth now; localStorage stays as a render-cache to avoid first-paint
flicker but is never pushed back. Removes EXPLICIT_KEY /
isExplicit / markExplicit entirely. (#483)Headline: two bug fixes for #468 reported by @dacec354.
Headline: two bug fixes for #468 reported by @dacec354.
Bug fixes:
fix(ui): ↑/↓ on an empty buffer recalls prompt history again. The
binding was unbound from arrows back in 9254d3a because Windows
Terminal + ConPTY can translate mouse-wheel events to ↑/↓
keystrokes (wheel-up was clobbering the prompt with a recalled
message); history moved to Ctrl+P / Ctrl+N. That was right for
legacy ConPTY but broke the universal CLI convention for
everyone else (bash / zsh / fish all bind ↑ to history). Restored
↑/↓ on empty buffer = history; Ctrl+P / Ctrl+N stays as the
wheel-immune fallback. Dead chatScrollHandoff plumbing dropped.
(#475, closes part 1 of #468)
fix(doctor): tokenizer check now finds the file. The runtime
resolver in tokenizer.ts had three candidates including a
createRequire("reasonix/package.json") probe and worked
reliably; the doctor had its own copy of the path math that
walked dist/cli/commands/doctor.js → ../../../data/. After the
lazy-import refactor in #467 the doctor compiles to
dist/cli/doctor-HASH.js (one level shallower), so three ..
walked above the package root and reported "tokenizer not
found" even when the npm tarball had it. Reuse the runtime
resolver so the two paths can never disagree. (#475, closes part
2 of #468)
Headline: the bottom status row now shows the wallet. Both status.balance and status.sessionCost were already being populated by the reducer (refreshe
Headline: the bottom status row now shows the wallet. Both
status.balance and status.sessionCost were already being
populated by the reducer (refreshed on every submit), and a
balanceColor() helper with red/orange thresholds had been sitting
unused in the theme — but StatusRow only ever rendered the
per-turn cost and cache-hit pills. Pure plumbing gap; users had
to type /cost to see the running spend or remaining DeepSeek
balance. Plus a small polish pass on the prompt input footer.
UI:
feat(ui): wallet pill on the status row. New segment renders
right of the cache pill: ⛁ ¥1.20 spent / ¥45.32 left. Spent
shows when sessionCost > 0, balance shows when known; the
separator only renders when both are present. Balance is colored
via balanceColor() (red <¥5, orange <¥20, brand otherwise).
Hidden on terminals narrower than 90 cols so the row doesn't
wrap. (#473)
feat(ui): friendlier prompt input. Placeholder reads "ask
anything · slash for commands · at-sign for files" instead of
"type a message". Hint footer extracted into a HintRow
component with keycap/label spacing — keys (⏎ ⇧⏎ ↑↓ esc ^C) in
FG.meta, labels in FG.faint. Replaces shift/alt+⏎ with
⇧⏎ and ctrl-c with ^C. (#473)
Headline: the filesystem toolbelt grew a hand. Three new tools — multi_edit for atomic multi-site SEARCH/REPLACE in one file (or across files in one c
Headline: the filesystem toolbelt grew a hand. Three new tools —
multi_edit for atomic multi-site SEARCH/REPLACE in one file (or
across files in one call), todo_write for lightweight in-session
intent tracking, and glob for mtime-sorted file walks with
picomatch syntax — close the gaps where the model was either
round-tripping eight edit_file calls or losing its plan to a
context fold. search_content also gains -C N context lines.
The other half is cold-start surgery (#464). Stage 1 adds a zero-cost
profiler gated behind REASONIX_PROFILE_STARTUP=1. Stage 2 lazy-
imports every per-command module and the dashboard server, paying
for the chat UI only when reasonix code actually runs. reasonix version and reasonix --help drop ~290ms (~440ms → ~140ms);
reasonix code is unchanged on the hot path. Critical bug fix at
the bottom: a long-session OOM where every tool result was retained
indefinitely in a useRef array left behind when /tool was deleted.
Features:
feat(tools): multi_edit — atomic batch SEARCH/REPLACE. N edits
apply sequentially against an in-memory buffer with one write at
the end; any failure (empty edits, search not found, ambiguous
match) leaves the file untouched. Edit N+1 can match text inserted
by edit N (composable refactors). Cuts the round-trip cost of
multi-site rewrites and removes the half-applied-edit failure mode
of looping edit_file. (#458)
feat(tools): multi_edit cross-file mode. Same atomicity guarantee
extended across files: dry-run all targets, then write. One failure
rolls the whole batch back. (#462)
feat(tools): todo_write — in-session task tracker. Replace-set
semantics (full list every call), no approval gate, no file writes.
Each item is { content, status, activeForm } with status: pending | in_progress | completed. Validated: at most one in_progress at
a time. Empty list signals work-done. Sits between submit_plan
(heavy: approval + checkpoints) and prose lists (lost on history
fold). Stays callable in plan mode (readOnly: true). (#460)
feat(tools): glob — mtime-sorted file walks. Picomatch syntax
(**/, *.{ts,tsx}); defaults to sort: "mtime" so "what did I
touch lately" works without arguments. sort: "name" for
deterministic listings. Skips deps by default, capped at 200 (1000
max) with overflow notice. (#462)
feat(tools): search_content gains context: N. Semantics match
grep -C N; output uses ripgrep convention (: after match line,
- after context). (#462)
Performance:
perf(cli): REASONIX_PROFILE_STARTUP=1 cold-start profiler. Marks
at cli_module_loaded, chat_command_enter, config_loaded,
mcp_launch, mcp_connected_M_of_N, code_command_enter,
semantic_bootstrap_start/_done_*, ink_render_complete. Single
env-var read when off; dumps to stderr at first paint when on.
Stage 1 of #464. (#466)
perf(cli): lazy-import every per-command module. Each
reasonix <subcommand> only loads its own command's chunk. tsup
splits, Node loads on first invocation. reasonix version and
reasonix --help drop ~290ms (~440ms → ~140ms); reasonix code
hot path unchanged (within noise). Stage 2 of #464. (#467)
perf(cli): lazy-import dashboard server. ~4200 LOC of HTTP / static
asset code (startDashboardServer) moved to a dynamic
await import() inside the App startup IIFE — only loads when the
user actually opens the dashboard. Two new App marks
(app_render_start, app_inner_start) clarify the first-paint
delta. (#469)
Bug fixes:
fix(ui): drop dead toolHistoryRef leak. /tool was removed in
#453 but its supporting plumbing stayed behind: every tool result
was being pushed into a useRef array with no consumer reading it,
so long sessions retained the full text of every Read / Grep /
Bash call indefinitely. Reported by @trytsomile as a
FATAL ERROR: Ineffective mark-compacts near heap limit crash
after ~2.6h on v0.31.0 (V8's 4GB ceiling). 48 lines deleted across
4 files; state.cards[].output (which actually drives scrollback
rendering) is untouched. (#471, closes #465)
fix(/cwd): re-bootstrap semantic_search on workspace swap.
FS / shell / memory tools re-registered against the new root, but
semantic_search kept pointing at the old one — queries silently
hit the previous project's index, or the tool stayed registered
when the new directory had no index. Split the async re-bootstrap
out of the sync reregisterTools callback; App.tsx fires
void reBootstrapSemantic(root).then(postInfo) so the slash
dispatch returns synchronously. Tail of #459. (#470)
fix(ux): fuzzy @-mention ranking. The picker's substring-only
ranker rejected typo'd subsequences — @atmnt returned nothing for
at-mentions.ts. Adds a fuzzy-subsequence fallback that triggers
only when the substring lookup misses; substring hits still win
(classes 0/1/2 cap at 29_999, subseq starts at 30_000). Also adds
the /cwd slash for in-session workspace swap. Parts 1+2 of #459.
(#463)
Headline: the slash surface lost weight. Eleven redundant commands gone (/clear, /keys, /models, /effort, /rename, /forget, /think, /tool, /apply-plan
Headline: the slash surface lost weight. Eleven redundant
commands gone (/clear, /keys, /models, /effort, /rename,
/forget, /think, /tool, /apply-plan, /semantic,
/resume), the unified preset+model picker replaces three
near-identical commands, and the two heaviest features almost
nobody opted into — /harvest (Pillar-2 plan-state extraction)
and /branch (parallel-sample selector) — are deleted along with
their backing modules, events, transcript fields, and CLI flags.
The four-pillar architecture collapses to three. The slash registry
now carries a group tag (chat / setup / info / session / extend
/ code / jobs / advanced) and bare-/ suggestions render those
groups with advanced rows hidden behind a + N advanced · type to search footer. A new ~/.reasonix/slash-usage.json counter
sorts frequent commands first within a prefix.
The other half of the release is plan-mode UX. PlanLiveRow had
nothing to dock — a code path that should have materialized an
"active" plan card on approval was missing, so the bottom strip
stayed empty after /plan. Fixed. And the per-step "Checkpoint —
step done" picker fired in auto/yolo too, defeating the whole
point of those modes; auto/yolo now resolve "continue" without
prompting while still creating per-step rollback snapshots so
/restore granularity stays intact. Plus a long-standing
@-mention bug: typing @docs/ produced an empty not-file
placeholder. It now expands to a recursive <directory> listing
respecting the project's gitignore, and symlinked source files
finally appear in the @-picker.
Features:
feat(semantic): OpenAI-compatible embedding provider. Configure custom API URL / key / model / request body for embeddings, replacing the Ollama-only setup. Dashboard semantic panel adds a provider dropdown with "OpenAI-Compatible" alongside Ollama, clearer status messages, and detailed indexing-job phases (scanning / embedding / writing). Community contribution from @kabaka9527. (#424)
feat(slash): unified preset+model picker. ModelPicker shows the
three presets at the top with cost/headline copy and the model
catalog below; cursor lands on the active row (auto-detects which
preset matches the loop's current model + effort + autoEscalate).
Both /preset (no arg) and /model (no arg) open it. (#453)
feat(slash): grouped suggestions + usage telemetry.
SlashCommandSpec gains a group field; suggestion palette
renders section headers on bare / with advanced rows hidden
behind a footer. New ~/.reasonix/slash-usage.json counter
(read-modify-write, atomic rename) feeds suggestSlashCommands
so frequent commands sort first; slash.invoked events emit to
events.jsonl for cross-session analysis. /help walks the same
grouped registry so there's one source of truth. (#453)
Bug fixes:
fix(plan): dock active plan card. case "plan_proposed" had
been dropping the gate payload's steps/summary, and the
approve path never dispatched plan.show — so no card with
variant: "active" ever existed and isActivePlanInFlight
returned null. PlanLiveRow now docks correctly after approval,
and the dock tracks tail rewrites on revise-accept. (#454)
fix(plan): auto/yolo skip the per-step checkpoint picker. The
"Checkpoint — step done" picker fired after every
mark_step_complete regardless of edit mode — shell and
edit-gate already self-skip in auto/yolo, but plan checkpoints
kept stopping the model. The gate handler now checks
editModeRef and resolves "continue" without UI; per-step
rollback snapshot still runs so /restore granularity is
preserved. review mode is unchanged. (#454)
fix(at-mentions): @<dir> expands to a recursive listing.
Was treated as a not-file skip, leaving the model with an
empty placeholder. Walks the project root with the existing
gitignore layers, filters to entries under the directory, and
inlines a <directory path="..." entries="N"> block capped at
DEFAULT_AT_DIR_MAX_ENTRIES (200). @docs/ and @docs
resolve identically. (#455, closes #451)
fix(at-mentions): symlinks-to-files appear in the @-picker.
Dirent.isFile() returns false for symlinks, so symlinked
source files never showed up in completions. Both
listFilesWithStatsSync and listFilesWithStatsAsync now stat
through symlinks; symlinks-to-files come back, symlinks-to-dirs
stay dropped (cycle risk), broken links stay dropped (nothing
to point at). (#455, closes #451)
Removals — slash commands:
/clear (merged into /new as alias — was the most common
source of "what's the difference?" confusion)/models (picker covers it)/keys (folded into /help)/resume (sessions picker has switch action)/semantic (folded into /doctor)/effort (preset locks effort)/rename and /forget (sessions picker actions)/apply-plan (plan picker handles the fallback path)/think and /tool (debug-only; events.jsonl records both)/mcp browse entry (handler still routes ["browse"])Removals — features:
/harvest (Pillar-2 plan-state extraction): src/harvest.ts,
--harvest CLI flag, harvestedTurns transcript field./branch (parallel-sample selector): src/consistency.ts,
src/loop/branch.ts, BranchCard,
branch_start/progress/done events, --branch CLI flag.benchmarks/harvest/ deleted; ARCHITECTURE.md collapses from
four pillars to three; README + zh-CN + dashboard/PARITY.md
updated.Removals — public API:
src/index.ts drops harvest, runBranches,
aggregateBranchUsage, defaultSelector, emptyPlanState,
isPlanStateEmpty, and the TypedPlanState, HarvestOptions,
BranchSample, BranchSummary, BranchProgress,
BranchOptions, BranchResult, BranchSelector types.
Consumers depending on these break intentionally — they were
experimental from the start and never met the cache-first
cost target this project gates on.Headline: a Mac user reported a DeepSeek 503 day where Reasonix showed a wall of raw DeepSeek 503: ... and they couldn't tell if our agent had crashed
Headline: a Mac user reported a DeepSeek 503 day where Reasonix
showed a wall of raw DeepSeek 503: <html>... and they couldn't tell
if our agent had crashed or the upstream API was down. Two threads of
work fell out of that single bug: a friendly outage notice with a
1.5s reachability probe to /user/balance (so we can say "DS main
API answered, but /chat/completions is failing — their problem") and
a full sweep of every hardcoded English string a Chinese user could
hit. ~150 strings across 8 files moved into the loop.* / errors.*
/ app.* / hooks.* / summary.* / wizard.* namespaces with
zh-CN translations. The setup wizard now opens with a language picker
defaulting to detectSystemLanguage() — for the case where
Intl.DateTimeFormat().resolvedOptions().locale returns the wrong
locale and a user shouldn't have to discover /language after
finishing setup in English.
The other half of the release is dashboard parity work — picker
modals (sessions / checkpoint / MCP marketplace), viewer modal for
/replay, plus cockpit / budget gauge / model picker / loop control
panel / /pro one-shot — closing buckets B-E of the #369 web-parity
tracker.
Features:
formatLoopError now spawns a 1.5s
/user/balance probe and renders one of three messages: no probe
(generic outage notice), reachable (main API up but /chat dying),
unreachable (DS or your network is down). All three say "this is
a DeepSeek-side problem, not Reasonix" and link
https://status.deepseek.com. Removes the misleading file header in
loop/errors.ts that claimed retry.ts swallowed all 5xx — it
doesn't, and never did. (#440)language step before apiKey, cursor defaults to
detectSystemLanguage() marked (detected). Selection saves
immediately so all later wizard screens render in the chosen
language. Re-running reasonix setup opens at the same step with
the cursor on the saved language so Enter is a no-op. The wizard's
~30 hardcoded strings (welcome, prompts, validation errors, MCP
catalog hints, review labels, save errors, saved screen) all moved
to a new wizard.* namespace with zh-CN. (#442)picker modal kind drives sessions, checkpoint, and MCP
marketplace pickers from the same protocol. Closes the gap where
TUI-only modals stayed inaccessible from /dashboard. (#417,
#418, #419, #420)/replay. Loads an archived
plan into a read-only time-travel snapshot, mirrors the TUI replay
experience. (#421)/pro
one-shot panel + loop control (start / stop / countdown). The
settings tab is now the single place to flip model preset, arm
/pro for the next turn, or start an autonomous loop without
switching to the TUI. (#430, #432, #433)/pro / /budget / /model
/ /loop. POST endpoints under /api/cockpit/* carry the
mutations the panels above need. (#429)i18n sweep:
step() — budget exhausted /
80% warning, /pro armed, aborted-at-iter, tool-budget warning,
preflight fold/no-fold, flash + auto escalation, storm-broken,
history compaction (regular + aggressive), forcing-summary. The
loop.* namespace had 7 dead keys defined but never wired —
removed and replaced with 20 that match the actual yield shapes.
(#445)hook PreToolUse/Bash \cmd` block (output truncated at 256KB)) and the force-summary status / hallucinated-fallback / failed-fallback strings now go through t(). New hooks.andsummary.` namespaces. (#446)App.tsx plus seven existing
ui.* keys that had been declared but never called (same dead-key
pattern as loop.*). New app.* namespace covers walk modal,
edit-mode cycle (review/auto/yolo), edit gate, dashboard stopped,
hash-memory note, bash-mode failures, hook header rows,
@mentions / @url, shell confirm, checkpoint saved, plan
continue / stop / revise. (#447)web-search-engine.ts
was 0% localized, plus mcp.ts / plans.ts / semantic.ts had
small gaps. ~22 new keys. (#448)idle status pill — the
active / done pills already used t() but the third branch
was hardcoded English. (#443)Bug fixes:
search tool call now exits promptly instead of finishing
the walk. (#400)C:\Foo differently from c:\foo,
causing entries to "disappear" depending on which case the cwd
carried. (#402)Tests / refactor / docs:
Headline: three contributor-led follow-ups from the #350 RFC plus the #366 onboarding piece. The repeat-loop storm guard now exempts obviously-safe in
Headline: three contributor-led follow-ups from the #350 RFC plus
the #366 onboarding piece. The repeat-loop storm guard now exempts
obviously-safe inspector tools (read_file, list_directory,
job_output, list_jobs) so a model intentionally re-reading state
isn't flagged as stuck. A new wait_for_job(jobId, timeoutMs?) tool
replaces N-iteration polling loops with a single blocking call —
returns the moment the job exits or emits new output. And /skill new <name> finally provides the missing creation entry-point for
user skills, scaffolding a stub with the right frontmatter so
first-time users don't have to read the source to author a skill.
Features:
stormExempt flag on ToolDefinition, set on
read_file, list_directory, job_output, list_jobs. Cheap
state-inspection no longer trips the repeat-loop guard. Mutating
tools and unknown tools still go through the existing window-and-
threshold check. (#350, PR #388 by @ctharvey)wait_for_job(jobId, timeoutMs?) shell tool —
blocks until the job exits or emits new output, bounded by
timeoutMs (default 5000, clamped to 0..30000). Returns
{ exited, exitCode, latestOutput }; latestOutput is the
delta since the call started, not the full buffer. Rides the
existing job registry's exit + output events; one call replaces
N polling iterations and is token-cheaper than the prior
re-call-job_output loop. (#350, PR #390 by @ctharvey)/skill new <name> scaffolds a stub at
<project>/.reasonix/skills/<name>.md with minimal frontmatter
runAs,
allowed-tools, model). /skill new <name> --global writes
under ~/.reasonix/skills/ for cross-project use; auto-falls-
back to global when there's no project root. The empty
/skill list now ends with an explicit "no remote registry yet
— scaffold one with /skill new <name>" line so users don't
hunt for a marketplace that doesn't exist. (#366, PR #394)Bug fixes:
wx flag — close the TOCTOU
race between existsSync(...) and writeFileSync(...) that
CodeQL flagged. The existence check IS the atomic write now;
EEXIST from a parallel writer surfaces as the same "skill
already exists" error instead of silently overwriting. (PR #394)Headline: sweep of the user-reported bug + onboarding queue from the 0.30.2 / 0.30.3 launch day. Resume now restores the full session state (cache hit
Headline: sweep of the user-reported bug + onboarding queue from
the 0.30.2 / 0.30.3 launch day. Resume now restores the full session
state (cache hit %, cost, last context bar — previously they all
showed zero on a fresh boot until the first turn landed). The model
pill on assistant cards reflects the model that actually answered
after /model or /preset switches it. Bare /model opens an
interactive picker — typed-id entry stays for power users.
PowerShell users get Shift+Tab back via three additional encodings
(modifier-encoded back-tab, modifyOtherKeys, Kitty keyboard). And a
class of "junk text after exit" on Linux/fish (terminal-feature
replies leaking into the parent shell) gets a defensive stdin drain
in the exit path.
--dir is now discoverable for beginners — surfaced in the welcome
banner, the /status panel, the filesystem sandbox-escape error,
and a Getting Started callout in both READMEs.
Bug fixes:
lastPromptTokens across
resume. SessionMeta only carried totalCostUsd / turnCount,
so on every resume /status showed 0 context + 0% cache hit until
the first turn actually fired (even though the prefix was already
cached, costing $0.01 per turn). Three new fields are persisted
per-turn and seeded into SessionStats on resume; the existing
carryover plumbing now covers cache + last context.
(#364, PR #384)/model <id> and /preset {auto,flash,pro} now update
the active model in the agent store so the next assistant card
pill reflects the new selection. Previously state.session.model
was set once in initialState() and never mutated, so the pill
showed the launch-time model regardless of what actually answered
the turn. New session.model.change event; cards already opened
keep their captured model so mid-turn auto-escalation doesn't
retroactively relabel. (#372, PR #385)\x1b[1;2Z (modifier-
encoded back-tab some PowerShell hosts emit), \x1b[27;2;9~
(modifyOtherKeys level 2, which we already enable on startup),
\x1b[9;2u (Kitty keyboard envelope). Without these the edit-
mode cycle was silently dropped on PowerShell.
/mode typed fallback continues to work. (#373, PR #386)^[]11;rgb:...^[\^[[33;1R^[[?62;1;4c printed by
fish / bash after exiting reasonix — those bytes are responses to
OSC 11 / CPR / DA1 queries the runtime emits during startup that
sit in stdin's queue until exit. New drainTtyResponses(50ms)
reads-and-discards anything queued before control returns to the
parent shell. Layered on top of 0.30.3's alt-screen mitigation
(--no-alt-screen users get the fix too). (#365, PR #391)Features:
/model opens an interactive model picker — arrow-
key list, current model marked, [r] refreshes the catalog, esc
cancels. Seeds from the live DeepSeek catalog
(useSessionInfo.listModels()); falls back to the four known
DeepSeek ids when the catalog hasn't loaded yet so the picker
isn't empty on first open. The current id is always included even
when the API didn't return it. /model <id> typed entry stays
for power users. (#371, PR #387)--dir / pinned workspace for first-time users.
WelcomeBanner shows the workspace + relaunch hint in code mode;
/status adds a workspace <path> · pinned at launch line; the
filesystem sandbox-escape error points at reasonix code --dir <path> instead of just dropping a raw error; both READMEs gain a
Getting Started subsection on --dir. No new slash command —
mid-session retargeting is intentionally not supported (the
message log + memory paths get tangled with stale roots).
(#370, PR #389)Headline: the chat scroll rewrite lands. Ink 5.2 → 7.0.2 / React 18.3 → 19.2, the cell-diff renderer is retired, and reasonix code / reasonix chat def
Headline: the chat scroll rewrite lands. Ink 5.2 → 7.0.2 / React
18.3 → 19.2, the cell-diff renderer is retired, and reasonix code /
reasonix chat default to alt-screen with row-precision virtual
scroll. PgUp / PgDn / mouse wheel scroll history; an empty prompt + ↑
also scrolls (Ctrl+P / Ctrl+N still recalls prompt history). When
scrolled away from bottom, the prompt hides and a 📖 reading history — End / PgDn to return hint appears. Resize-ghost dividers
and <Static>-related scroll-yank artifacts are gone with the
renderer that produced them. --no-alt-screen keeps the legacy
in-shell-scrollback behavior.
web_search gains a configurable backend — Mojeek stays the default,
but /web-search-engine searxng <url> switches to a self-hosted
SearXNG instance for users whose network blocks Mojeek. And the MCP
filesystem sandbox now fails with an actionable
mkdir -p '<path>' hint instead of a raw Node stack when the
configured directory doesn't exist; the wizard offers to create it
inline at config time.
Features:
<Static> retired (incompatible with alt-screen reflow);
React.memo(CardRenderer) plus reference-stable cards in the
reducer skip the reconciler on unchanged history. useChatScroll
drives an outer overflow=hidden clip + inner marginTop=-N
slide; useBoxMetrics reports inner / outer heights so bounds
clamp and auto-pin to bottom on new content. App owns
PgUp/PgDn/End/wheel; PromptInput hands off ↑/↓ on empty buffer
when pinned + idle. Ticker migrated to Ink 7's shared
useAnimation. (PR #380)web_search backend with SearXNG support.
/web-search-engine shows / switches the active engine; URL is
persisted to ~/.reasonix/config.json. Mojeek remains the default;
the original Mojeek path is preserved as searchMojeek(). Protocol
auto-normalizes (localhost:8080 → http://...); an unreachable
SearXNG endpoint surfaces an install hint instead of a raw fetch
error. (PR #338)Bug fixes:
@modelcontextprotocol/server-filesystem. Missing
directories now throw MCP filesystem sandbox '<path>' does not exist — create it with: mkdir -p '<path>' instead of a raw Node
stack from inside npx's child. The init wizard adds an inline
[Y] create it (mkdir -p) / [N] enter a different path confirm
step when the user types a path that doesn't exist, so bad config
never reaches disk. Spawn-time path deliberately does not
auto-mkdir — by then the user may not remember writing the
config. (#362, PR #379)/reasonix/ to
/DeepSeek-Reasonix/. (PR #375)Chores:
Headline: five user-visible polish items from the @dacec354 triage batch. The streaming reply now carries a live 42 t/s throughput pill (plus a 1.2k t
Headline: five user-visible polish items from the @dacec354 triage
batch. The streaming reply now carries a live 42 t/s throughput pill
(plus a 1.2k tok · 42 t/s summary on settled), and ctrl-o toggles a
full-tail view so a long plan / todo can be read while it's still
being written. The auto-mode undo banner gains a space-to-pause
keybind for users who want a beat to think before the 5-second window
expires. SessionPicker and the dashboard's session-cost displays both
respect the user's wallet currency now — USD wallets see $0.05, CNY
wallets see ¥0.36 end-to-end. And a long-standing scrollback bug
that left the "reasoning…" spinner spinning forever after reasoning
ended is fixed.
Features:
42 t/s pill on the streaming reply card; settled
card shows 1.2k tok · 42 t/s summary. Computed via the bundled
DeepSeek tokenizer; gated below 4 tokens / 500 ms so the first
chunk doesn't print bogus rates. Re-renders ride the slow tick so
the rate keeps updating during chunk silence. (#334, PR #356)space toggles pause / resume on the auto-mode 5-second
undo countdown. While paused the bar freezes at the captured
fraction, the badge swaps to Ns · paused, and pressing space
again resumes from where it stopped. The u and space keybinds
share the same modal-and-prompt-empty gating. (#337, PR #356)ctrl-o toggles "expanded" mode on the live streaming
card. Expanded shows up to 60 visual lines (capped so the card
can't swallow the whole viewport) plus a ⋯ N earlier lines above
hint when content overflows. Auto-resets to collapsed at turn end.
A expanded ⌃o / preview ⌃o pill in the card header advertises
the keybind. (#335, #337, PR #359)Bug fixes:
splitCardStream only treated the LAST card as live,
committing every earlier card to Ink's <Static>. When the model
streamed reasoning then content (or kicked off a tool card), the
reasoning card was no longer last — it got frozen into <Static>
while still streaming: true. <Static> doesn't re-render frozen
items, so when reasoning.end later set streaming: false, the
spinner kept spinning forever. The split now scans for the first
unsettled card and keeps everything from that index onward live;
a card only commits to <Static> once it's settled AND every
earlier card is too. (PR #358)¥ and ran USD → CNY itself, so
USD-wallet users saw ¥X.XX in the session list. SessionMeta
gains balanceCurrency; App.tsx writes the live wallet currency
alongside totalCostUsd on each turn save. Picker accepts a
walletCurrency prop and falls back to each row's stored
currency. Cost rendering routes through the shared formatCost()
helper. (#312, PR #357)$ via fmtUsd(),
so a CNY-wallet user saw session $0.5190 in the dashboard while
the same session read ¥0.024 in the CLI — both the symbol AND
the magnitude diverged because no conversion happened. Dashboard
now has its own fmtCost(usd, currency) mirroring the CLI's
conversion (CNY × 7.2). Overview current-session cost, cost-trend
day average, and the chat panel rail / status-bar costs all
thread the wallet currency from the cockpit balance. Claude-
equivalent comparisons in usage.ts stay USD by design — Claude's
API is USD-priced regardless of the user's wallet. (PR #360)Headline: two TUI ghost-rendering fixes for issues that only showed up on the published binary. The CLI bundle now uses real Ink in production instead
Headline: two TUI ghost-rendering fixes for issues that only showed
up on the published binary. The CLI bundle now uses real Ink in
production instead of the cell-diff renderer that source mode never
exercised, eliminating a whole class of bugs invisible to npx tsx
repros. The submit_plan approval picker no longer leaves a
duplicated row behind when arrow-navigating choices — the live tool
card above the modal is suppressed while the picker owns the screen.
Bug fixes:
tsup ink → ink-compat alias and the
noExternal for ink / ink-text-input. The CLI bundle keeps
from "ink" external; ink and ink-text-input move to runtime
dependencies so npm install pulls the real package. The
cell-diff renderer is no longer on the user-facing path; it's
retained only for direct test imports. Same behavior as npx tsx src/cli/index.ts mode — TUI bug repros from source mode are now
valid for the published binary again. (#346, PR #354)CardStream accepts a suppressLive flag; App.tsx
computes a modalOpen flag from the union of pending modal states
and passes it through. While any picker / confirm modal owns the
screen, the unsettled live tool card above it stops repainting,
removing the rerender competition that left stale rows during
arrow-key navigation. (#352, PR #353 — thanks @ctharvey)Headline: slash commands grow first-class aliases, and the cell-diff renderer hardens column targeting against per-cell width miscounts. /quit and /q
Headline: slash commands grow first-class aliases, and the
cell-diff renderer hardens column targeting against per-cell width
miscounts. /quit and /q now resolve to /exit from a single
declaration on the spec instead of ad-hoc handler mirrors; /? →
/help, /reset → /new, /lang → /language follow the same
path. The renderer's moveTo() now uses CHA absolute (\x1b[N+1G)
for column targeting instead of CUF relative (\x1b[NC), making the
diff stream immune to the cursor-drift class of bug Anthropic
documented in claude-code#14208.
Features:
aliases?: readonly string[] on SlashCommandSpec.
Adding a new alias is now a one-line edit to the canonical command
— dispatch, autocomplete, arg-context resolution, and the
dashboard /api/slash response all route through one
resolveSlashAlias() map built from SLASH_COMMANDS at module
init. Suggestion rows display aliases dimly ( · /quit /q) so
they stay discoverable without doubling the autocomplete list.
Removes the per-handler alias mirrors that used to live in
handlers/basic.ts and handlers/language.ts. (#332, PR #347)Bug fixes:
moveTo() from CUF
relative (\x1b[NC) to CHA absolute (\x1b[N+1G). Y-axis stays
on CUU/CUD since we don't track absolute terminal rows. Relative
column moves accumulate drift across frames whenever an earlier
write miscounts cell width — ▸ (U+25B8) rendered 2-cell on
fonts with East Asian fallback, ambiguous-width chars on
terminals that font-detect width, OSC8 hyperlinks parsed as
visible chars, etc. The next CUF lands at the wrong column,
ghost rows leak into adjacent hint lines, and the modal "shifts"
as users navigate. CHA targets the absolute column regardless of
what the terminal thinks — immune to the desync chain. Same fix
Anthropic shipped in claude-code per their issue #14208
post-mortem. (#346, PR #348)Headline: four user-reported bugs from the 0.29.0 release window. The markdown renderer no longer turns English abbreviations like e.g. into broken hy
Headline: four user-reported bugs from the 0.29.0 release window.
The markdown renderer no longer turns English abbreviations like
e.g. into broken hyperlinks (which on cmd.exe / non-OSC-8 terminals
showed up as visible ]8;;file://e.g… garbage and on the cell-diff
side desynced the renderer's prev-frame model). The cell-diff
renderer now defensively trail-clears any row whose content shrank
between frames. Resumed sessions keep their cumulative session cost
instead of resetting to $0. The Approve plan modal now shows the
plan body inline when the model didn't supply structured steps.
Wide markdown tables fall back to row-grouped key/value lines
instead of the previous column-grouped output.
Bug fixes:
FILE_REF_RE extension class was too loose
({1,6}), so e.g, i.e, a.m matched as file paths; osc8()
baked OSC 8 escape bytes into Text content, which the cell-diff
renderer's wrapLine stripped of zero-width chars but kept the
printable body — producing visible ]8;;file://e.ge.g]8;; garbage
on every terminal. Tightened the regex (now requires path-shape,
line-number suffix, or extension >= 2 chars) and removed the OSC 8
escape — file refs still stand out via color + underline. (#330,
PR #341)allow always + mand, ask again next time after Up/Down navigation. New clearToEOL patch type and a
per-row sweep after diffEach. (#330, PR #341)$X session figure reset to $0 on every resume even
though the disk meta still held the cumulative totalCostUsd.
SessionStats gains seedCarryover(); CacheFirstLoop reads the
meta on resume and seeds the carryover when prior messages exist.
(#333, PR #342)submit_plan with a markdown body but no structured
steps, the modal showed only the choice list — users had no way
to see what they were approving without scrolling back. The modal
now renders the body via MarkdownView, capped at 24 lines with
an overflow hint. (#336, PR #343)Headline: tool dispatch is no longer strictly serial. When the model emits multiple parallelSafe-annotated tool calls in one turn (multiple read_file,
Headline: tool dispatch is no longer strictly serial. When the model
emits multiple parallelSafe-annotated tool calls in one turn (multiple
read_file, multiple spawn_subagent, etc.), the loop now races them
together via Promise.allSettled; a non-parallelSafe call ends the
chunk and runs alone, so read-after-write ordering still holds. Tool
yields and history append still land in declared order regardless of
which call settles first — the model and UI see the same shape they
would under serial dispatch. The TUI's SubagentRow becomes
SubagentLiveStack, rendering 1 → rich card, 2..max → compact rows,
max → "+N more running…" fold. Closes umbrella #325.
Tool dispatch:
ToolDefinition.parallelSafe?: boolean — opt-in
annotation, default false. ToolRegistry.isParallelSafe(name) for
the dispatcher to query; unknown / unannotated tools resolve to
false so third-party MCP tools must explicitly opt in. Built-in
read-only filesystem (read_file, list_directory,
directory_tree, search_files, search_content,
get_file_info), web (web_search, web_fetch), recall_memory,
semantic_search, isolated child loops (run_skill,
spawn_subagent), and in-memory job queries (job_output,
list_jobs) are annotated. Mutating tools stay default. (PR #326)for...of + await in the dispatch loop with a chunking loop that groups
consecutive parallelSafe calls and races them; unsafe calls form
serial barriers. runOneToolCall extracts per-call lifecycle
(PreToolUse + dispatch + PostToolUse) so the chunk can fan out via
Promise.allSettled while the loop body keeps yielding events in
declared order. Two new env knobs: REASONIX_PARALLEL_MAX (chunk
size cap, default 3, hard max 16) and REASONIX_TOOL_DISPATCH=serial
(escape hatch). Tests cover parallel timing, serial barrier on mixed
safe/unsafe, declared-order yields under racey completion, and both
env-knob overrides. (PR #327)TUI:
SubagentEvent carries a stable runId per spawn so the
sink can key concurrent runs apart instead of overwriting one shared
row. useSubagent keeps an array of in-flight activities;
SubagentLiveStack renders 1 → rich card (unchanged), 2..max →
compact rows with per-row spinner + iter + last tool, > max →
compact rows + "+N more running…" fold. (PR #327)Docs:
docs/ARCHITECTURE.md Pillar 1 gains a
"Parallel tool dispatch" section explaining the chunking rule, both
env knobs, and the list of built-in tools that opt in. (PR #328)