uxos 0.0.26 → 0.0.28

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 (3) hide show
  1. package/README.md +16 -23
  2. package/cli.js +0 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,43 +2,36 @@
2
2
 
3
3
  UXOS - 设计效率助手:一个由 AI 驱动的、具有引导式工作流的设计协作系统。
4
4
 
5
+ ## ⚠️ 重要提示
6
+
7
+ **必须使用 `@latest` 标签,否则可能使用缓存的旧版本导致安装失败!**
8
+
5
9
  ## 安装方法
6
10
 
7
- **⭐ 必须使用 @latest 标签**:
11
+ **唯一正确的安装命令**:
8
12
 
9
13
  ```bash
10
14
  npx uxos@latest
11
15
  ```
12
16
 
13
- > ❌ **不要使用** `npx uxos`(会使用缓存的旧版本)
14
- > **必须使用** `npx uxos@latest`(始终获取最新版本)
17
+ > ❌ **错误**:`npx uxos`(会使用缓存)
18
+ > **错误**:`npx uxos install`(会使用缓存)
19
+ > ✅ **正确**:`npx uxos@latest`(始终最新)
20
+ > ✅ **正确**:`npx uxos@0.0.27`(指定版本)
15
21
 
16
22
  ### 为什么必须使用 @latest?
17
23
 
18
- npx 会优先使用缓存的旧版本,导致:
19
- - 创建错误的文件夹(`config/`, `workflows/`)
20
- - 缺少必要的文件
21
- - 安装失败
24
+ npx 会优先使用缓存的旧版本(0.0.21 或更早),导致:
25
+ - 创建错误的文件夹(`config/`、`workflows/`)
26
+ - ❌ 缺少必要的文件(`_uxos/`)
27
+ - ❌ 安装失败并报错
28
+ - ❌ 与新版本冲突(同时出现旧文件夹和 `_uxos/`)
22
29
 
23
30
  使用 `@latest` 可以:
24
- - ✅ 强制下载最新版本
31
+ - ✅ 强制从 npm 下载最新版本
25
32
  - ✅ 跳过缓存
26
33
  - ✅ 确保正确安装
27
-
28
- ### 正确用法
29
-
30
- ```bash
31
- # ✅ 推荐:使用 @latest
32
- npx uxos@latest
33
-
34
- # ✅ 或指定具体版本号
35
- npx uxos@0.0.25
36
-
37
- # ❌ 错误:不要直接使用(会用缓存)
38
- npx uxos
39
- ```
40
-
41
- > ⚠️ **注意拼写**:是 `latest`(不是 `lastest`)
34
+ - ✅ 避免版本冲突
42
35
 
43
36
  **方法一:通过 AI 助手安装**
44
37
 
package/cli.js CHANGED
@@ -169,7 +169,6 @@ Then run:
169
169
  Installing UXOS workflow system...
170
170
  `);
171
171
 
172
- const projectRoot = process.cwd();
173
172
  const uxosDestDir = path.join(projectRoot, '_uxos');
174
173
 
175
174
  // Copy entire _uxos directory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uxos",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "UXOS - Design Efficiency Assistant: A guided workflow system for AI-powered design collaboration",
5
5
  "main": "cli.js",
6
6
  "bin": {