Skip to content

v0.1.0

Choose a tag to compare

@MichengAI MichengAI released this 06 Sep 12:19
· 5 commits to main since this release

简体中文

  • 新增 /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.