Skip to content

Releases: XINY11451/dsh-wsl

v2.2.3

Choose a tag to compare

@github-actions github-actions released this 27 Oct 12:37

The listing now says what the plugin does, in the author's own words. No code changes in this release — only the description that the market, npm and the GitHub release carry.

Extends the working range of DSH into WSL. Files in the distribution can be read, written, edited and searched by DSH directly. Depending on the task, the AI chooses for itself: run a one-off command, or open its own terminal and run several commands there to finish the job. Typing dsh in a WSL terminal calls DSH (type dsh help there for details), fusing WSL and DSH deeply. Every terminal you open can collaborate visually with the AI.

中文:将 DSH 的工作范围扩展到 WSL。插件支持了发行版中的文件直接被 DSH 读取、写入、编辑与搜索。面对不同任务需求,AI可根据任务需求自行选择执行一次性命令/自建终端执行多条命令以完成任务。支持在 WSL 终端中键入 dsh 命令调用 DSH(详情在 WSL 终端键入dsh help),深度融合了 WSL 与 DSH。用户新建的所有终端支持与AI可视化协作。

Full Changelog: v2.2.2...v2.2.3

v2.2.2

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:47

The step clock is one line again. A long turn used to scroll a screenful of ⏱ 已用 … 第 N 步 lines after the answer had started, because every 10 s throttle tick began a new line instead of updating one. It now repaints a single line in place:

  • the first status after a text run moves off the answer's line, later ones return with \r\033[2K;
  • a text frame clears the status line before printing, so the answer and the clock never overwrite each other;
  • the completion line reuses that row instead of leaving a blank line above it;
  • compose flushing and the error paths clear it too.

Shim-only change: reinstall it with the panel's 安装/重装 action (or let the plugin's auto-install pick it up on the next channel start). No config change, no migration.

Full Changelog: v2.2.1...v2.2.2

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:40

File-tool fixes from a pre-release audit of the shell scripts. No new features; 2.2.0's tools, with the sharp edges filed off.

  • A match longer than the result window (one minified line is megabytes) used to render as "No matches found" after capping — a silent miss. It is now refused by name, with a pointer to grep -o / rg -o through the wsl tool.
  • A pattern starting with ~user (~root/x) was tilde-expanded by the shell under the GNU grep fallback (/root/x) while rg left it literal, so the two engines searched different text. Patterns and include globs are now quoted literally — they are never paths.
  • busybox grep has neither -Z nor --include; on Alpine the search died with "invalid option". The fallback probes both and says what to install (ripgrep, via wsl-bootstrap) instead of failing obscurely.
  • A write through a dangling symlink replaced the link instead of creating its target on busybox (readlink -f answers the link itself there). The chain is walked with plain readlink, one hop at a time, with a loop guard.

测试:1566 宿主 + 305 客户端全绿,real provider 与 seam 套件也全绿。升级直接装 2.2.1 即可,配置与市场安装命令不变。

Full Changelog: v2.2.0...v2.2.1

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:28

Four file tools: wsl-read, wsl-write, wsl-edit, wsl-grep — read, write, edit and search files inside the distribution, each with a panel switch (on by default).

  • wsl-read pages by line and refuses binary or non-UTF-8 files; a single line longer than the 1 MiB window is refused with a way forward instead of answering Showing lines 1-0 forever.
  • wsl-write replaces atomically, keeps the mode and follows symlinks; only a regular file is replaced — a FIFO, socket or device node is refused.
  • wsl-edit replaces one unique string (or every match with replaceAll) and reports the hunks it applied. A change made between its read and its write is not detected: last writer wins.
  • wsl-grep groups matches by file with line numbers, using rg when installed and GNU grep -E otherwise (\d is translated for the fallback). A result larger than the window is capped and says so; a tree where some files cannot be read is marked partial; an include with a path separator is refused, and {a,b} alternation is expanded.

Also in this release

  • The hidden terminal history now survives the prompt refresh (it was captured and then dropped before the request that needed it) and /insert messages carry it too; GET /dsh-wsl-tool/channel reports the last capture in its history block.
  • The terminal transport is resolved lazily, so the sidebar-terminal bridge works on DSH 0.2.1-rc.3.
  • Ctrl+C in the terminal no longer swallows the next prompt, and the turn clock keeps ticking after an insert.
  • The asar extractor's data-offset alignment for 0.2.1-rc.3 (maintainer tooling).

中文:新增四个文件工具——会话内读取、写入、编辑、搜索发行版里的文件,面板各有开关;写入原子、保权限、跟随符号链接,且只替换普通文件;搜索在 rg 与 grep -E 之间自动选择,\d 会翻译。另外修好了终端历史"采到了却送不到模型"的问题(改为隐藏上下文,插话消息也带)、插话后的计时、Ctrl+C 后下一条消息被吞,以及 0.2.1-rc.3 的侧边栏终端桥。

Full Changelog: v2.1.0...v2.2.0

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 15:31

Full Changelog: v2.0.0...v2.1.0

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 11:37

Full Changelog: v1.12.9...v2.0.0

v1.12.9

Choose a tag to compare

@github-actions github-actions released this 22 Oct 12:45

Full Changelog: v1.12.8...v1.12.9

v1.12.8

Choose a tag to compare

@github-actions github-actions released this 19 Oct 08:57

Full Changelog: v1.12.7...v1.12.8

v1.12.7

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:45

Full Changelog: v1.12.6...v1.12.7

v1.12.6

Choose a tag to compare

@github-actions github-actions released this 14 Oct 09:05

Full Changelog: v1.12.5...v1.12.6