返回 DeepSeek-Reasonix
CHANGELOG.md
根目录 / CHANGELOG.md
1 # Changelog
2
3 All notable changes to the Go line (Reasonix 1.0+) are recorded here. The legacy
4 `0.x` TypeScript history lives on the [`v1`](https://github.com/esengine/DeepSeek-Reasonix/tree/v1)
5 branch.
6
7 ## Unreleased
8
9 ### Desktop conversation creation
10
11 - Local **New Conversation** creates a distinct formal session immediately,
12 including when another empty conversation already exists. First send uses
13 that identity. Closing or archiving the last conversation leaves the welcome
14 page; it does not create a replacement.
15 - Unsent local inputs are saved independently of chat history. Previous project
16 drafts remain available through **Previous drafts**. Unconfirmed submissions
17 are retained for inspection and are never automatically replayed.
18 - Automatic historical empty-session cleanup is retired. Existing trash and
19 manual restore remain available. Session v5 and workspace registry v3 remain
20 unchanged. Downgrading to 1.38.9 is unsupported; 1.38.10 also cannot read
21 revision-3 sessions introduced by #10545. Returning from 1.38.11 preserves
22 new input files and requires review when session history has advanced. See
23 [compatibility and recovery](docs/manual-session-rollback.md).
24
25 ### Added
26
27 - **Discover Reasonix Studio (Desktop 1.x):** a one-time introduction on an idle
28 stable desktop launch, plus a permanent entry in **Settings → About**. Opens
29 the official Studio download page and explains coexistence and data limits;
30 it does not install Studio or change the 1.x updater. See
31 [the introduction guide](docs/STUDIO_DISCOVERY.md).
32
33 - **Editable message queue (Desktop):** full-text editing in the original queue row,
34 pointer and keyboard reordering, move-to-top/bottom actions, and a pause
35 control. Saves preserve message identity, order and attachments; conflicting
36 or unconfirmed saves retain the user's draft. Remote editing requires the
37 additive `inbox-mutations-v1` capability. Editing temporarily hides the main
38 composer; saving or cancelling restores its draft, attachments and focus.
39 Switching sessions protects newer edits from delayed replies; loading the
40 latest version can recover after the active session selection changes.
41
42 - **Live file observations:** structured file tools now protect mutations with
43 a host-owned current-version observation. Any successful text window is
44 sufficient, successful writes refresh the version, and external changes
45 produce `FS_STALE_VERSION` without blocking unrelated tools.
46
47 - **MCP 2026-07-28 protocol:** multi-round-trip form/URL elicitation across
48 Desktop, CLI TUI, and serve; headless entries stay on the core surface and
49 cancel unanswered requests instead of guessing.
50 - **MCP Apps 2026-01-26 (Desktop):** inline app surfaces in tool cards behind
51 a per-server double-iframe sandbox, app-tool visibility metadata, bounded
52 aggregate local presentations, tab-bound AppBridge routing and teardown,
53 immutable digest-bound resource snapshots, and confirmed external links;
54 local rich results, instance-gated app tool calls, and the four-layer
55 capability matrix in MCP status.
56 - **Profile-scoped MCP schema caches:** capability-declaring hosts keep their
57 own `v3` cache files so catalogs negotiated under different client
58 capabilities never cross-read.
59
60 ### Changed
61
62 - Sending while a task is running now queues a follow-up by default. Use
63 **Guide current turn** for explicit mid-turn guidance. Stopping the current
64 task retains pending messages; the queue has separate pause/delete controls.
65
66 - **Persistent bash PTY:** ordinary foreground `bash` calls in a session now
67 share one PTY, so `cd`, exported variables, and shell functions survive
68 across calls. Output stays byte-identical to one-shot execution, stdin stays
69 detached, and a timeout or cancel reports partial output and says the shell
70 was reset. Background jobs, commands that background a child, per-call
71 write-root escalations, host terminals, and PowerShell hosts stay one-shot.
72 The bash tool schema and description are unchanged.
73
74 - **CLI YOLO shortcuts:** the CLI displays the unrestricted preset as YOLO;
75 `Ctrl+Y` toggles the canonical `danger-full-access` permission, while
76 `Shift+Tab` cycles Read only → Workspace write → YOLO → Plan.
77
78 - **Harness-style scheduling and recovery:** calls take effect in execution
79 order, including same-batch read/edit sequences. Bounded reads create no
80 completion debt. Unknown external effects are durable advisory facts and no
81 longer block tools or trigger replay. Proof/settlement tools, Auto Guard,
82 recovery actions, and repeat-call rejection are retired; identical calls get
83 non-blocking reminders at counts 3, 5, and 8.
84
85 - **Fact-driven execution:** Ordinary requests always enter the executor.
86 There is no automatic simple / light / full task mode and no per-turn
87 `TaskPolicy` classification. The planner runs only for an explicit Plan,
88 an approval boundary, or Goal start. The host builds verification
89 obligations from concrete tool effects and receipts. Plan, Goal,
90 permission, and sandbox stay independent. Tool schemas and the executor
91 system prefix stay byte-stable. Historical `<execution-policy>` tags remain
92 readable on old sessions and are stripped from new provider context.
93 Old `--preset`/`--profile` compatibility no-ops are unchanged.
94
95 - **Remote connect wizard host picker:** Step 1's host field now opens the
96 saved SSH connections through an explicit chevron dropdown on the input's
97 right edge instead of the old focus-triggered popup. The dropdown lists
98 every saved connection unfiltered, appends non-standard ports to each row,
99 leads with a "saved SSH connections" caption, and closes on pick, arrow
100 toggle, Escape (before the Escape that exits the wizard), or an outside
101 pointer press. The arrow is hidden while no hosts are saved and disabled
102 while a connection is busy.
103
104 ### Fixed
105
106 - **Setup menus in narrow terminals:** `reasonix setup` and the other
107 arrow-key menus clip every row to the terminal width. A row that soft-wrapped
108 used to throw off the redraw, stacking a fresh copy of the header and the
109 wrapped rows on screen with each keypress.
110
111 - **Read evidence recovery:** partial reads no longer freeze independent work
112 or ordinary final answers. Explicit full reads retain bounded completion
113 checks. Rejected edits track operation/version requirements so successful
114 retries, fresh versions and confirmed deletion retire obsolete blocks.
115 - **File and shell boundaries:** guard raced creates/overwrites and move-source
116 changes, recognize `git --no-pager` inspections, and retain structured recovery
117 diagnostics without changing provider tool schemas.
118
119 - **Relay image input:** ID-only or invalid model metadata now stays unknown.
120 Both Desktop model editors expose per-model Auto / On / Off overrides, with
121 official protocol limits retained. A separate V2 discovery cache rejects stale
122 results; saved settings and runtime image serialization share one resolver and
123 apply at Controller rebuild boundaries. Legacy configuration remains readable.
124 - **中转站图片输入:** 缺失或无效的模型能力显示“图片能力未识别”,两个编辑入口
125 均可逐模型选择“自动 / 开启 / 关闭”。独立 V2 缓存隔离旧错误声明并防止陈旧结果
126 覆盖;保存设置与实际图片请求统一解析,在 Controller 重建边界生效,兼容旧配置。
127
128 - **Deterministic natural-turn completion:** removed the extra completion
129 validator model request. Clean model stops now finish from provider/tool state;
130 true zero-content responses retry the frozen request at the Agent step
131 boundary, while explicit host-owned readiness and safety gates remain active.
132 Legacy completion-validator configuration and `completion_uncertain` event
133 values remain readable for compatibility but are no longer produced by the
134 validator path.
135
136 - **serve Host-header allowlist:** `reasonix serve` now rejects requests whose
137 `Host` is neither loopback nor the actual listen address (HTTP 421), closing
138 the DNS-rebinding bypass of the JSON content-type CSRF guard — a rebind page
139 becomes same-origin with the loopback listener and could previously drive
140 `/bypass`, `/submit`, and read `/history`. `behind_proxy` deployments and
141 wildcard/non-loopback binds are exempt. The non-loopback plaintext-HTTP
142 startup warning now also fires — loudest — for the unauthenticated `auth =
143 none` case that used to stay silent.
144
145 - **Preview read confinement:** `write_file` / `edit_file` / `multi_edit`
146 previews now apply the same `confinePreview` boundary as `delete_range` /
147 `delete_symbol`. A model-supplied absolute path outside the workspace roots
148 previously read the file (rendering its contents into the approval card and
149 session log) even though Execute would refuse the write.
150
151 - **Clean-filter hardening on internal diffs:** gitcmd diff invocations now
152 neutralize every `filter.<driver>` defined in the repository's local
153 `.git/config` (`clean=` emptied, `required` forced off), so viewing a changed
154 file's diff can no longer execute a repository-configured clean filter via
155 `.gitattributes`. Emptied filters are identity pass-throughs: the diff still
156 renders the real working-tree change.
157
158 - **install_source proxy SSRF parity:** the install_source SSRF dial guard now
159 also validates the request destination (IP literals) at the RoundTripper
160 boundary, so a configured HTTP/HTTPS proxy can no longer forward a blocked
161 target (cloud metadata, RFC1918, link-local, CGNAT) that the dial-time check
162 never sees — matching web_fetch's proxy-path behavior.
163
164 - **awk approval classification:** the bash indirect-execution classifier now
165 treats `awk`/`gawk`/`mawk`/`nawk` with an inline program (anything not read
166 via `-f`/`--file`) like `python -c`: it always requires human approval and
167 can never be covered by a remembered reusable prefix rule. `awk
168 'BEGIN{system("…")}'` previously fell through to the reusable class.
169
170 - **cargo check/doc read-only correction:** the legacy read-only command table
171 no longer lists `cargo check` / `cargo doc` as permission readers — cargo
172 executes the crate's `build.rs` for both. The effect classifier already
173 billed them as code-executing writers; the stale table entry (and its test)
174 now agree. Only `cargo search` remains read-only.
175
176 - **Compact MCP discovery:** `use_capability(action=list)` now returns one
177 compact summary per configured MCP server instead of expanding every cached
178 tool description, including tools from disabled servers. Inspecting one
179 enabled `mcp-server:<name>` still returns its live or cached directory
180 without starting it, while direct known-ID calls, routing, authorization,
181 and the fixed provider-visible tool schema remain unchanged.
182
183 - **Project MCP session reliability:** The MCP client now uses the official Go
184 SDK for stdio, legacy SSE, and Streamable HTTP while retaining Reasonix's
185 existing configuration, OAuth, process isolation, and schema-cache contracts.
186 Streamable HTTP opens its long-lived GET/SSE listener immediately after
187 initialization, so JetBrains project-level `.mcp.json` servers no longer lose
188 their pending session before the first tool call. Lost sessions converge on
189 one bounded rebuild and one replay, read-only surfaces consume every cursor
190 page, prompts/resources share the tool session, and shutdown terminates HTTP
191 sessions and local processes. MCP calls also accept a single JSON-object
192 string in `use_capability.arguments`, while rejecting arrays, scalars, invalid
193 JSON, and nested encoded strings. `/mcp` and Desktop expose redacted protocol,
194 listening, reconnect, and error-category diagnostics without session IDs.
195
196 - **v1.24.2 session snapshot & recovery root fix:** Keep PR #7982's WAL/CAS/lease
197 safety foundation, but replace process-level "I hold a lease" ownership with a
198 generation-bound `SessionWriteAuthority`. Same-revision tool-preview/load
199 reshapes no longer false-diverge; recovery files are bounded to one path per
200 writer/lineage; empty checkpoints heal from their own WAL; projection lineage
201 rebinds across upgrade/model switch and inherits across recovery forks without
202 changing provider-visible prompt bytes. Catalog upgrades to disposable
203 `session-catalog/v3.sqlite` with recovery lineage roles
204 (`normal|covered_copy|adopted|diverged`); covered idle copies move to the
205 recoverable `.trash` using a 15-minute idle threshold applied on two early
206 sweeps (at startup and ~20 minutes later), then a 24-hour threshold on the
207 6-hour background ticker; independent diverged branches stay and are listed
208 for user choice. v1/v2 catalogs are
209 left byte-unchanged for coexistence/downgrade.
210 **v1.24.1** only hid/reclaimed already-created covered copies and fixed Windows
211 flash-window startup; **v1.24.2** stops the misclassification source and repairs
212 existing user directories without rewriting authoritative JSONL/WAL/sidecar data.
213
214 - Goal now runs continuously by default: the former 16-round per-Run boundary,
215 10/20/40 cross-Run quotas, default wall-clock budget, and numeric
216 no-progress/Todo-stall pauses no longer stop valid work. Progress guards still
217 detect repeated host outcomes and zero-evidence work, but redirect the model
218 to re-plan instead of producing `goal_run_budget` or `goal_stuck`. Explicit
219 `[agent].goal_token_budget`, `--max-steps`, positive time/cost budgets, manual
220 pause/stop, genuine user/external blockers, and evaluator fail-closed behavior
221 remain available. The Goal token budget defaults to `0` (off); resuming its
222 `budget_spend` pause grants a fresh slice without clearing cumulative usage.
223 Goal status reports turns, provider requests, tokens, the optional configured
224 token threshold, and cumulative active work time. Bot `max_steps` also
225 defaults to `0` (continuous), while positive user configuration is enforced.
226
227 - Removed numeric Goal pauses in existing sidecars automatically normalize to
228 `running` without sending a model request. Active Goal sidecars write
229 `turnsLimit: -1` as a downgrade-safe unlimited sentinel while public runtime
230 APIs retain deprecated limit fields as `0`. The migration preserves unknown
231 fields, todos, checkpoints, usage, evidence, and historical metadata.
232
233 - Goal is now the sole long-task runtime. Historical AutoResearch sidecars
234 migrate transactionally into Goals with research compatibility metadata. Invalid archives block
235 fail closed and remain read-only, retaining the task id and compatibility mode
236 for a restart or `/goal resume` retry; successful Goal-only sidecars omit the
237 old task id and write an explicit downgrade fence so previous readers cannot
238 reactivate the removed runtime.
239
240 - Context-dependent workflow tools now share one host-side execution boundary.
241 Goal, Plan sign-off, and background-job calls cannot reach permissions,
242 hooks, leases, or Execute outside their owning context; mixed batches execute
243 valid calls once and stop safely after one repair. Child agents also isolate
244 inherited Goal, Jobs, and live memory queues, while persisted tool identity
245 records the effective child schema projection.
246
247 - **Issue #7575:** Linux Bash under bubblewrap no longer mounts a fresh empty
248 `--tmpfs /tmp` on every call. Consecutive commands in the same logical session
249 now share a private temporary directory (bound at `/tmp` on Linux, exported via
250 `TMPDIR`/`TMP`/`TEMP` on all platforms) without exposing the host public
251 temporary root. `/new`, `/clear`, resume of another session, and branch
252 switches rotate the directory; model/settings hot rebuilds keep it. Sub-agent
253 runs get independent directories. Temporary files are not durable across process
254 restarts.
255
256 ### Added
257
258 - Added `[ui].show_turn_usage` so CLI/TUI users can hide per-request token and
259 cost receipts from transcript scrollback without disabling usage accounting.
260
261 ## [1.20.0] — 2026-08-05
262
263 Extension kernel, Task Monitor, and safer Goal completion.
264
265 Compact decision surfaces, local decision receipts, unified extension kernel,
266 native Task Monitor, bounded sub-agent progress, Goal fail-closed completion,
267 MiMo and DashScope Responses fixes, SSH remote access simplification, and
268 multiple Desktop stability improvements.
269
270 ### Highlights
271
272 - **Unified Extension Kernel and Extension Protocol v1**: Immutable runtime
273 snapshots, fail-atomic reload, Plugin Manifest v1 (prompts, themes, full-trust
274 code runtimes), stable JSON-RPC sidecar protocol, interceptor dispatch,
275 streaming provider adapter, structured UI, and Go SDK.
276 - **Native Task Monitor**: Monitor agent tasks natively in CLI and Desktop with
277 lifecycle semantics and session-scoped summary view.
278 - **Bounded Sub-agent Progress Forwarding**: Forward structured progress for
279 `task`, `parallel_tasks`, and `fleet` without flooding the parent stream.
280 Renders nested lifecycle cards in Desktop and stable per-child transcript
281 slots in CLI.
282 - **Goal Completion Fail-Closed**: Replace free-form Goal footer markers with a
283 stable `update_goal` tool and epoch-scoped per-turn reports. Centralized
284 completion logic with bounded evaluator, progress-aware budgets, and
285 pause/resume controls.
286 - **Ablation Subsystem Switches**: Switch subsystems off behind one shared
287 vocabulary for controlled experiments. Includes planner, subagent, retrieval,
288 evidence, and compaction.
289 - **Benchmark Cost per Solved Task**: Report cost per solved task, tokens per
290 solved, median wall time, and failure-class breakdown in e2e reports.
291 - **Compact Decision Surfaces and Local Receipts**: Compact footer decision-card
292 layout with bounded scroll, dense action rows, and overflow disclosure.
293 Record bounded Ask, approval, and recovery decisions as local transcript
294 receipts.
295 - **Simplified SSH Remote Access**: Remove Remote Workbench protocol and
296 stacks; reuse CLI/Serve remote model. Desktop opens per-host native web child
297 windows via SSH. Keyless remote Serve setup with loopback-only page.
298 - **Model Usage Charts with Primer Palette**: Replace monochrome accent ramp
299 with GitHub Primer data-viz two-set categorical palette. Fix donut overflow
300 on hover and keyboard accessibility.
301 - **Cross-platform Extension and Task Monitor Reliability**: Make
302 content-reference eviction deterministic, reject Unix and Windows absolute
303 plugin paths consistently, stabilize parallel-task cancellation, and restore
304 reliable Windows validation for Task Monitor and remote provider setup.
305 - **MiMo and DashScope Responses Wire Alignment**: Fix multi-turn tool loops,
306 reasoning round-trip, JSON output for MiMo; fix DashScope second-turn 400
307 error, all-zero usage suppression, and vendor-aware cache TTL.
308 - **Desktop Stability Fixes**: Recover stuck updates and legacy WebKit, contain
309 macOS alias repair startup crashes, keep composer overflow stacks readable,
310 and harden account verification and community flows.
311 - **Remote Web Recovery After SSH Drops**: Add integration regression test for
312 SSH drop, forward recovery, and window reload. Document transient outage
313 behavior.
314 - **CI: Auto-minimize Activity-Farming Spam Comments**: Detect and minimize
315 template spam comments from non-contributor accounts based on structural
316 signals.
317
318 ### Added
319
320 - Added Extension Protocol v1 and the unified extension kernel: installed or
321 linked sidecars can contribute tools, skills, commands, hooks, MCP servers,
322 providers, interceptors, and structured UI surfaces through a versioned
323 NDJSON contract and the public Go SDK. CLI, Desktop, ACP, and Serve support
324 fail-atomic runtime reloads; Serve also renders extension surfaces and lists
325 extension-hosted providers without exposing credentials.
326 - Added the structured Goal completion protocol: the always-registered
327 `update_goal` tool (continue/complete/blocked with reason and next_action)
328 replaces the `[goal:*]` footer markers. The Goal FSM is now the exclusive
329 cross-turn decision point and validates every complete claim against Delivery
330 readiness; when the model submits no report, an independent bounded evaluator
331 (recovery_model → guardian_model → main model, no tools/history, usage
332 attributed to `goal-evaluator`) judges the turn once, and any evaluator
333 failure pauses the goal instead of continuing silently.
334 - Added Goal budget classes with safe pauses: simple 10 turns / 200k tokens,
335 write 20 turns / 400k tokens, AutoResearch 40 turns / 800k tokens, and a
336 4-turn no-host-verifiable-progress gate. Pauses keep all Goal state; `/goal
337 resume` continues and adds one slice of the current class when the pause was
338 budget-related. `/goal status` shows the full turn/token/no-progress runtime,
339 and `/goal pause` manually suspends a running Goal.
340 - Added the `goalRuntime` nested view to the desktop Meta, the remote protocol
341 (`session/goal/pause` operation, `goalRuntime` DTO on session meta), and the
342 ACP status payload; the desktop Composer goal menu shows the runtime summary
343 with distinct pause/end/resume actions.
344
345 ### Changed
346
347 - Delivery no longer retries final-answer readiness with hidden model messages:
348 a plain Delivery run ends on the first unsatisfied final answer and surfaces
349 the recovery card, while a Goal + Delivery run has the Goal FSM absorb the
350 failure and continue under budget with the missing requirements as the next
351 turn's prompt. Historical `[goal:*]` footers are stripped from old transcripts
352 for display only and never participate in state decisions.
353 - Added a **Remote SSH** module (VS Code Remote-SSH style): a user-global
354 `[remote]` host config, `reasonix remote` CLI (add/list/remove/import/test/
355 connect/status/forward/serve/fs) and `/remote` slash command, an SSH transport
356 with trust-on-first-use host-key verification, keepalive + exponential-backoff
357 reconnect, `-L`/`-R` port forwarding, and SFTP file access. `connect`
358 bootstraps a persistent `reasonix serve` on the remote host and tunnels its
359 loopback port so the full agent runs remotely. The desktop app adds a
360 **Settings -> Remote SSH** host manager, a remote file browser/editor, a
361 port-forwarding panel, and a status-bar connection chip. Linux/macOS remotes.
362 - Added `reasonix serve --port-file/--token-file/--pid-file` so a supervised
363 headless serve can bind an ephemeral port and read its auth token from a file
364 (keeping it out of `ps`).
365 - Added an authenticated, loopback-only Provider setup page for `reasonix
366 serve`. A Serve whose selected Provider is missing its API key now remains
367 reachable, stores the submitted key in that host's Reasonix credential file,
368 and rebuilds the active controller in place without restarting Serve.
369 - Added Claude Code-style searchable CLI pickers for models, providers, and
370 sessions, with arrow, Vim, and `Ctrl+P` / `Ctrl+N` navigation.
371 - Added `-p` / `--print`, `text`, `json`, and `stream-json` output modes for
372 one-shot use and automation.
373 - Added session-scoped `--allowed-tools`, repeatable `--add-dir`, Claude-compatible
374 permission modes, flexible `--resume [QUERY]`, and the `--copy` resume escape
375 hatch.
376 - Added `/status` details for the active model, effort, cache, Git state,
377 background jobs, work profile, and provider balance where available.
378 - Remote SSH workspaces now open as a standalone remote web window again.
379 Opening a workspace from the status bar or the Remote Server tab starts or
380 reuses the remote `reasonix serve`, tunnels its loopback port, and opens the
381 Serve web client in a dedicated per-host window. The remote web page uses
382 the provider configuration and API keys on the **remote** host; the desktop
383 no longer exposes its local providers to remote hosts. If the selected remote
384 Provider is missing its API key, the window opens a setup page that saves the
385 key only on that host and then opens the normal Serve UI. The Remote Workbench
386 protocol, its Provider Broker, and the same-window remote projection were
387 removed. Legacy mirror and provider-trust files are not deleted
388 automatically; Settings -> Remote SSH shows a cleanup card when they exist.
389 The hidden `remote attach-workspace`, `remote runtime-workbench`, and
390 `remote workbench-build-id` commands now fail with a pointer to
391 `reasonix remote connect <host> --open`.
392 - Automatic Plan Mode has been retired. Plan Mode is now always entered through
393 an explicit user choice, and the one-time config v5 upgrade removes legacy
394 `agent.auto_plan` and `agent.auto_plan_classifier` values so upgraded users
395 receive the same behavior as new users.
396 - `Shift+Tab` now cycles CLI safe modes from Ask to Auto to Plan, while YOLO
397 remains an independent `Ctrl+Y` toggle.
398 - Model, provider, resume, and approval menus now use consistent row selection;
399 slash completion, help, aliases, and dispatch share one command registry.
400 - The full-screen CLI composer now uses theme-accented borders and a slim bar
401 cursor by default, grows within the available terminal height, scrolls long
402 drafts independently, and preserves selections across explicit image paste.
403 - The persistent CLI footer now uses a responsive, theme-aware layout for
404 interaction state, model, effort, localized work mode, Git identity, cache,
405 context, compaction headroom, jobs, and balance. Narrow terminals move or
406 compact complete groups instead of clipping labels.
407 - CLI clipboard actions now separate terminal-native text paste from explicit
408 image paste: `Ctrl+V` on macOS/Linux, `Alt+V` on Windows, or `/paste-image`.
409 Local transcript copy verifies the native clipboard write, while SSH uses a
410 clearly labelled OSC 52 fallback.
411 - Runtime rebuilds after model, effort, or work-mode changes now preserve the
412 conversation, session permission overrides, additional directories, and
413 session lease ownership.
414 - Agent execution now monitors host-observed Todo progress automatically. A
415 stalled current item receives a recovery nudge after 8 tool-call rounds with
416 no new completion, unique read, command, or mutation, and pauses with saved
417 work after 16. Exact repeats do not renew the progress lease; real work does.
418 Two-level task lists keep the single in_progress contract: the active
419 sub-step is the only current item while its phase stays pending, and the
420 phase becomes in_progress to sign off only after all of its sub-steps are
421 completed. A level-1 sub-step with no phase header above it is rejected.
422 Executor and planner rounds now use automatic progress management. Retired
423 `[agent].max_steps` and `planner_max_steps` keys remain parseable for upgrades,
424 but are ignored and removed by a one-time migration so stale hidden limits
425 cannot truncate new behavior. One-off CLI and unattended bot limits remain.
426
427 ### Fixed
428
429 - Fixed long parallel sub-agent research being silently lost when combined
430 `parallel_tasks` or `fleet` answers exceeded the single-tool output limit.
431 Persisted sessions now keep each child transcript independently, return a
432 bounded fair preview plus stable reference for every result, and page full
433 answers through the conversation-scoped `read_subagent_result` tool.
434 - Fixed Remote Workbench failing with only `initialize: workbench-desktop:
435 connection closed` on fresh or cross-platform SSH hosts. Desktop now proves
436 the exact Host CLI Build ID, provisions the matching verified release without
437 requiring remote npm, runs the managed binary explicitly, and preserves a
438 safe structured bootstrap error when the remote command exits early.
439 - Hardened Bash permission reuse for dynamic and indirect execution. Parameter/arithmetic expansions,
440 assignments, redirects, heredocs, and globs can only be remembered as exact
441 `Bash=<literal>` rules, while still using Auto's normal fallback. Nested or
442 indirect execution now requires a human in interactive Ask/Auto and fails
443 closed in headless Ask/Auto/DontAsk. Broad Bash rules, Guardian/hook allows,
444 and the approved-plan window can no longer silently authorize that stricter
445 class; YOLO remains the explicit full-access bypass and sandbox enforcement
446 is unchanged.
447 - Fixed Desktop sessions incorrectly locking themselves during Goal + Delivery
448 mode changes, controller rebuilds, duplicate-tab restore, and background
449 reattachment. Desktop now keeps one process-local runtime owner per canonical
450 session, fences stale controller events by runtime epoch, blocks sends until
451 that runtime is ready, and scopes single-instance ownership to
452 `REASONIX_HOME` instead of the executable path. Switching saved sessions is
453 now transactional: a target build, restore, or lease failure leaves the
454 current controller, lease, path, mode profile, and runtime epoch untouched.
455 - Stabilized the desktop rich composer caret after skill and plugin invocation
456 tags. DOM→model and model→DOM selection mapping now treat invocation chips as
457 zero-length atoms while still counting user text that lands inside the NBSP
458 caret anchor (common on Windows WebView2), restore both selection ends, and
459 recover the insertion point from a `beforeinput` snapshot when the browser
460 temporarily loses selection — so mid-text edits no longer jump to the end.
461 - Isolated the Windows desktop WebView2 shell from stale system proxies, so an
462 exited proxy client cannot leave the embedded UI hidden during startup. If
463 WebView2 still does not reach DOM-ready within 15 seconds, Reasonix now shows
464 the native window with a recovery prompt instead of appearing not to launch.
465 Remote Markdown images are fetched by the backend with Reasonix's proxy
466 configuration instead of bypassing that proxy through the isolated WebView.
467 - Restored captured-mouse right-click text paste, made composer drag selection
468 copy through the verified native clipboard path, and kept non-Git footer
469 telemetry left-aligned without reserving an empty data band.
470 - Restored stateful MCP behavior after the v1.17.13 regression: user-added
471 servers work without extra trust settings (including delivery-mode on-demand
472 calls), repository-provided servers use one exact launch confirmation, and
473 stdio tools reuse one persistent process so browser sessions survive across
474 calls without repeated startup latency. The former trust/reverify/catalog
475 management UI and CLI are removed.
476 - Localized persistent-footer labels and displayed work-mode values in English,
477 Simplified Chinese, and Traditional Chinese, while keeping command arguments
478 stable.
479 - Restored the `0.53` content boundary: model output, tool output, session
480 transcripts, recovery branches, and background-job artifacts retain their
481 original text instead of being rewritten by heuristic secret redaction.
482 Credential masking remains in key-entry summaries and explicit diagnostic or
483 session-cleanup paths. Transcript-bearing session/job sidecars are kept
484 private (`0600`, with private job directories), and the retired
485 `redact_tool_output` setting is removed with a one-time upgrade notice.
486
487 ### Notes
488
489 - Full bilingual release notes:
490 <https://reasonix.io/changelog/v1.20.0/> ·
491 [GitHub release](https://github.com/esengine/DeepSeek-Reasonix/releases/tag/desktop-v1.20.0).
492 - The detailed entries below accumulated on `main-v2` after 1.0.0 and shipped
493 across 1.1.0–1.20.0; per-version attribution lives in the per-version release
494 notes linked above.
495
496 ## 1.1.0 – 1.19.7
497
498 Per-version entries for the intermediate releases are published in the
499 [bilingual release notes](https://reasonix.io/changelog/) and on the
500 [GitHub releases page](https://github.com/esengine/DeepSeek-Reasonix/releases).
501
502 ## [1.0.0] — 2026-06-03
503
504 First stable release — a **ground-up rewrite in Go**. Not an upgrade of the `0.x`
505 TypeScript line; a new codebase that becomes the default (`main-v2`).
506
507 ### Highlights
508
509 - **Go kernel**: a single static binary (CGO-free), cross-compiled for
510 darwin/linux/windows on amd64 + arm64. Distributed via npm (the package wraps
511 the native binary), Homebrew (`esengine/reasonix` tap), and release archives;
512 no Node runtime needed to run it.
513 - **Agent core**: the loop, built-in tools (read/write/edit/multi_edit/glob/grep/
514 ls/bash/web_fetch/todo_write), permission gate, sandboxed bash, and the
515 DeepSeek prefix-cache–oriented design.
516 - **Subagents**: `task` plus explore/research/review/security_review skill agents.
517 - **Skills & hooks**: Claude-Code-style skills (`internal/skill`) and hooks
518 (`internal/hook`), symlink-aware and slash-integrated.
519 - **MCP client**: connect external servers over stdio / Streamable HTTP; reads
520 `[[plugins]]` and a Claude-Code `.mcp.json`.
521 - **Code intelligence via CodeGraph**: a tree-sitter symbol/call graph
522 (`codegraph_*` tools) replaces embedding semantic search — no embedding service
523 or API cost. Fetched into a local cache on first use (or `reasonix codegraph
524 install`) and indexed in the background, so installs and startup stay fast.
525 - **Plan mode** with evidence-backed step sign-off (`complete_step`).
526 - **Memory**: `REASONIX.md` hierarchy + auto-memory, folded into the cache-stable
527 prefix.
528 - **ACP** (`reasonix acp`) and an HTTP/SSE server frontend; desktop app (Wails).
529
530 ### Fixed
531
532 - **File encoding support restored** — GBK/GB18030 (and other non-UTF-8) files
533 can now be read, edited, and grepped correctly. The v2 rewrite had dropped
534 v1's encoding detection; files in CJK Windows charsets were silently misread
535 or rejected as binary. The read/edit/write round-trip now preserves the
536 original file encoding. (#2637)
537
538 ### Notes
539
540 - Versions: the legacy TypeScript line stays in `0.x`; the Go line starts at
541 `1.0.0`. See [docs/MIGRATING.md](docs/MIGRATING.md).
542 - Release archives ship a bare binary; CodeGraph is fetched on first use. Windows
543 support for the fetched runtime is unverified — install `codegraph` on PATH if
544 the auto-fetch doesn't resolve there.
545
546 [1.20.0]: https://github.com/esengine/DeepSeek-Reasonix/releases/tag/desktop-v1.20.0
547 [1.0.0]: https://github.com/esengine/DeepSeek-Reasonix/releases/tag/v1.0.0
548
548 lines MARKDOWN