Skip to content

Releases: MichengAI/dsh-simplify

v0.1.2

Choose a tag to compare

@MichengAI MichengAI released this 06 Sep 13:14

简体中文

  • 修复父进程 Git 环境设置导致审查仓库或暂存区选择错误的问题,支持普通仓库与 worktree。
  • 对过于零碎的改动和超大审查清单提前停止,并提示缩小范围,避免收集大量最终无法提交的内容。
  • 明确没有首次提交时新增文件按整文件整理的范围说明。

已知问题

  • 没有可简化的代码行时,不会启动 Agent;部分宿主界面可能未显示结果,看起来像命令没有响应。

English

  • Fix inherited Git environment settings selecting the wrong repository or staging area, including in linked worktrees.
  • Stop collecting excessively fragmented changes or oversized review lists early and ask for a narrower scope.
  • Clarify that new files before the initial commit are eligible for whole-file simplification.

Known Issues

  • When there are no eligible code lines to simplify, the Agent does not start. Some host interfaces may not display the result, making the command appear unresponsive.

v0.1.1

Choose a tag to compare

@MichengAI MichengAI released this 06 Sep 12:43

简体中文

  • 更新安装包中的说明文档,聚焦功能、使用范围与已知问题。代码简化行为与 0.1.0 一致。

已知问题

  • 没有可简化的代码行时,不会启动 Agent;部分宿主界面可能未显示结果,看起来像命令没有响应。

English

  • Update the documentation in the package to focus on features, usage scope, and known issues. Code simplification behavior is unchanged from 0.1.0.

Known Issues

  • When there are no eligible code lines to simplify, the Agent does not start. Some host interfaces may not display the result, making the command appear unresponsive.

v0.1.0

Choose a tag to compare

@MichengAI MichengAI released this 06 Sep 12:19

简体中文

  • 新增 /simplify,由当前 Agent 简化代码,改善可读性,并以保持原有功能为前提。
  • 支持当前改动、仅暂存区、相对指定提交的改动,以及指定文件或目录范围。
  • 支持未跟踪的新增文件,以及包含中文、空格的文件路径。
  • 默认模式下,当前没有改动时可回看最近一次提交。
  • Git 执行失败、超时、输出不完整或文件在收集期间发生变化时停止任务;可缩小范围或在编辑结束后重试。
  • 仅暂存区模式下,所选文件若还有未暂存改动,会提示先处理这些改动。

已知问题

  • 没有可简化的代码行时,不会启动 Agent;部分宿主界面可能未显示结果,看起来像命令没有响应。

English

  • Add /simplify to ask the current Agent to simplify code and improve readability while preserving existing behavior.
  • Support current changes, staged changes only, changes relative to a specified commit, and selected files or directories.
  • Support untracked new files and file paths containing Chinese characters or spaces.
  • In default mode, review the most recent commit when there are no current changes.
  • Stop the task if Git fails, times out, returns incomplete output, or files change during collection. Retry with a smaller scope or after editing has finished.
  • In staged-only mode, ask you to resolve any unstaged changes in the selected files before proceeding.

Known Issues

  • When there are no eligible code lines to simplify, the Agent does not start. Some host interfaces may not display the result, making the command appear unresponsive.