aihezu 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/ccinstall.js +2 -2
  2. package/package.json +1 -1
package/bin/ccinstall.js CHANGED
@@ -412,8 +412,8 @@ async function main() {
412
412
  console.log(' 4. 修改 hosts 文件');
413
413
  }
414
414
 
415
- const confirmAnswer = await askQuestion(rl, '\n是否继续?(y/n): ');
416
- if (!['y', 'yes'].includes(confirmAnswer.toLowerCase())) {
415
+ const confirmAnswer = await askQuestion(rl, '\n是否继续?(直接回车或输入 y 继续,输入 n 取消): ');
416
+ if (['n', 'no'].includes(confirmAnswer.toLowerCase())) {
417
417
  console.log('❌ 已取消配置');
418
418
  process.exit(0);
419
419
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aihezu",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Claude Code CLI 清理工具 - 快速备份和清理 Claude Code 的本地配置和缓存,同时修改 hosts 文件实现本地代理",
5
5
  "main": "bin/ccclear.js",
6
6
  "bin": {