yuangs 1.2.2 → 1.2.4

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/cli.js +1 -1
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -92,7 +92,7 @@ async function handleAICommand() {
92
92
  });
93
93
 
94
94
  const askLoop = () => {
95
- rl.question(chalk.green('你:'), async (q) => {
95
+ rl.question(chalk.green('你:'), async (q) => {
96
96
  const trimmed = q.trim();
97
97
 
98
98
  // ✨ 新增:优雅退出
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "yuangs",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "苑广山的个人应用集合 CLI(彩色版)",
5
5
  "main": "index.js",
6
6
  "bin": {
7
- "yuangs": "./cli.js"
7
+ "yuangs": "cli.js"
8
8
  },
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1"