Skip to content

optimize: suggest -o .sh 写出 bash - #1

Merged
hc-ui merged 11 commits into
mainfrom
cursor/optimize-whichproxy-aa74
Aug 26, 2026
Merged

hc-ui merged 11 commits into
mainfrom
cursor/optimize-whichproxy-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026 •

Copy link
Copy Markdown
Owner

改了什么

  • whichproxy suggest -o fix.sh / .bash 现在写出 bash export,不再误写 PowerShell
  • .ps1 行为不变
  • suggest -o nested/fix.sh 会创建缺失的父目录
  • 剪贴板复制增加 wl-copy / xsel
  • clinic.py 去掉未使用的 suggest_fix 导入
  • 版本 0.4.1;pyproject.toml 加 ruff(E,F,W,忽略 E501)

验证

本地:pytest + ruff check src tests 通过(31 passed)。

注意

想给 CI 加 ruff job,但当前 token 没有 workflows 写权限,.github/workflows/ci.yml 没改上。现有 CI 仍跑 pytest。

#2 也提到 0.4.1(CIDR)。请先合其中一个再 rebase 另一个,只保留一次版本 bump。

无 PR 模板。

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:28
@hc-ui
hc-ui merged commit 5a0c39b into main Aug 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant