uxos 1.0.6 → 1.0.8
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.
- package/cli.js +1 -1
- package/package.json +1 -1
- package/workflows/init.md +20 -9
- package/workflows/step1.md +23 -16
- package/workflows/step2.md +23 -16
package/cli.js
CHANGED
package/package.json
CHANGED
package/workflows/init.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- EXECUTE: 勿输出任何中间信息,直接执行以下步骤 -->
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
AI 助手:请向用户获取下列信息:
|
|
3
|
+
欢迎使用 uxos!uxos 是一套快速初始化工具,可以帮助你在几秒钟内完成项目基础配置。现在让我带你完成初始化配置,大约 1-2 分钟。
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
2. 请选择你的语言 (chinese/english)
|
|
5
|
+
---
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
步骤 1: 向用户获取信息
|
|
8
|
+
|
|
9
|
+
请向用户获取以下信息:
|
|
10
|
+
- 昵称
|
|
11
|
+
- 语言 (chinese/english)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
步骤 2: 更新配置
|
|
16
|
+
|
|
17
|
+
修改 config/user-template.yaml,将用户回答填入对应字段
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
步骤 3: 继续
|
|
22
|
+
|
|
23
|
+
读取 workflows/step1.md
|
package/workflows/step1.md
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
<!-- EXECUTE: 勿输出任何中间信息,直接执行以下步骤 -->
|
|
2
|
+
|
|
3
|
+
步骤 1: 向用户获取信息
|
|
4
|
+
|
|
5
|
+
请向用户获取以下信息:
|
|
6
|
+
- 最喜欢的颜色
|
|
7
|
+
- 喜欢猫还是狗
|
|
8
|
+
- 喜欢编程吗
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
步骤 2: 生成文件
|
|
13
|
+
|
|
14
|
+
1. 读取 templates/test-template.md
|
|
15
|
+
2. 将用户回答填充到占位符 {{nickname}}, {{language}}, {{color}}, {{pet}}, {{likeCoding}}
|
|
16
|
+
3. 创建 test/ 目录
|
|
17
|
+
4. 保存为 test/test.md
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
步骤 3: 继续
|
|
22
|
+
|
|
23
|
+
读取 workflows/step2.md
|
package/workflows/step2.md
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
<!-- EXECUTE: 勿输出任何中间信息,直接执行以下步骤 -->
|
|
2
|
+
|
|
3
|
+
步骤 1: 向用户获取信息
|
|
4
|
+
|
|
5
|
+
请向用户获取以下信息:
|
|
6
|
+
- 家乡在哪里
|
|
7
|
+
- 最喜欢的食物
|
|
8
|
+
- 最大的愿望
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
步骤 2: 生成文件
|
|
13
|
+
|
|
14
|
+
1. 读取 templates/test2-template.md
|
|
15
|
+
2. 将用户回答填充到占位符 {{hometown}}, {{food}}, {{wish}}
|
|
16
|
+
3. 创建 test2/ 目录
|
|
17
|
+
4. 保存为 test2/test2.md
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
完成
|
|
22
|
+
|
|
23
|
+
告诉用户:UXOS 初始化流程已完成!
|