uxos 0.0.14 → 0.0.16

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 (36) hide show
  1. package/_uxos/create-product-brief/config.yaml +18 -0
  2. package/_uxos/create-product-brief/product-brief.template.md +10 -0
  3. package/_uxos/create-product-brief/steps/step-01-init.md +177 -0
  4. package/_uxos/create-product-brief/steps/step-01b-continue.md +161 -0
  5. package/_uxos/create-product-brief/steps/step-02-vision.md +196 -0
  6. package/_uxos/create-product-brief/steps/step-03-users.md +199 -0
  7. package/_uxos/create-product-brief/steps/step-04-metrics.md +202 -0
  8. package/_uxos/create-product-brief/steps/step-05-scope.md +216 -0
  9. package/_uxos/create-product-brief/steps/step-06-complete.md +194 -0
  10. package/_uxos/create-product-brief/workflow.md +58 -0
  11. package/_uxos/memory-engine/data/assets-template.md +96 -0
  12. package/_uxos/memory-engine/data/context-template.md +69 -0
  13. package/_uxos/memory-engine/data/decisions-template.md +89 -0
  14. package/_uxos/memory-engine/data/personas/_index-template.md +33 -0
  15. package/_uxos/memory-engine/data/personas/role-template.md +47 -0
  16. package/_uxos/memory-engine/data/update-memory-template.md +160 -0
  17. package/_uxos/memory-engine/data/uxos-index-template.md +103 -0
  18. package/_uxos/memory-engine/ing/TODO-/344/277/256/346/224/271/346/270/205/345/215/225.md +278 -0
  19. package/_uxos/memory-engine/ing/context.md +113 -0
  20. package/_uxos/memory-engine/ing/decisions-new.md +1008 -0
  21. package/_uxos/memory-engine/ing/decisions.md +1029 -0
  22. package/_uxos/memory-engine/steps/step-01-discovery.md +119 -0
  23. package/_uxos/memory-engine/steps/step-02-evaluation.md +128 -0
  24. package/_uxos/memory-engine/steps/step-03-supplement.md +176 -0
  25. package/_uxos/memory-engine/steps/step-04-generate.md +282 -0
  26. package/_uxos/memory-engine/steps/step-05-finalize.md +175 -0
  27. package/_uxos/memory-engine/workflow.md +95 -0
  28. package/_uxos/workflow-integration-plan.md +714 -0
  29. package/cli.js +9 -47
  30. package/package.json +2 -4
  31. package/config/user-template.yaml +0 -3
  32. package/templates/test-template.md +0 -18
  33. package/templates/test2-template.md +0 -12
  34. package/workflows/init-backup.md +0 -26
  35. package/workflows/step1.md +0 -8
  36. /package/{workflows → _uxos/init}/init.md +0 -0
package/cli.js CHANGED
@@ -3,9 +3,7 @@
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
5
 
6
- const WORKFLOWS_DIR = path.join(__dirname, 'workflows');
7
- const CONFIG_DIR = path.join(__dirname, 'config');
8
- const TEMPLATES_DIR = path.join(__dirname, 'templates');
6
+ const UXOS_SRC_DIR = path.join(__dirname, '_uxos');
9
7
 
10
8
  function createDirectory(dir) {
11
9
  if (!fs.existsSync(dir)) {
@@ -48,47 +46,11 @@ Installing UXOS workflow system...
48
46
  `);
49
47
 
50
48
  const projectRoot = process.cwd();
49
+ const uxosDestDir = path.join(projectRoot, '_uxos');
51
50
 
52
- // Create directories
53
- const uxosDir = path.join(projectRoot, '_uxos');
54
- const workflowsDir = path.join(uxosDir, 'workflows');
55
- const configDir = path.join(uxosDir, 'config');
56
- const templatesDir = path.join(uxosDir, 'templates');
57
-
58
- createDirectory(uxosDir);
59
- createDirectory(workflowsDir);
60
- createDirectory(configDir);
61
- createDirectory(templatesDir);
62
-
63
- // Copy workflow files
64
- console.log('\n📁 Copying workflow files...');
65
- const workflowsFiles = fs.readdirSync(WORKFLOWS_DIR);
66
- workflowsFiles.forEach(file => {
67
- copyFile(
68
- path.join(WORKFLOWS_DIR, file),
69
- path.join(workflowsDir, file)
70
- );
71
- });
72
-
73
- // Copy config files
74
- console.log('\n⚙️ Copying config files...');
75
- const configFiles = fs.readdirSync(CONFIG_DIR);
76
- configFiles.forEach(file => {
77
- copyFile(
78
- path.join(CONFIG_DIR, file),
79
- path.join(configDir, file)
80
- );
81
- });
82
-
83
- // Copy template files
84
- console.log('\n📝 Copying template files...');
85
- const templateFiles = fs.readdirSync(TEMPLATES_DIR);
86
- templateFiles.forEach(file => {
87
- copyFile(
88
- path.join(TEMPLATES_DIR, file),
89
- path.join(templatesDir, file)
90
- );
91
- });
51
+ // Copy entire _uxos directory
52
+ console.log('\n📁 Copying UXOS files...');
53
+ copyDirectory(UXOS_SRC_DIR, uxosDestDir);
92
54
 
93
55
  console.log('\n✅ Installation complete!\n');
94
56
 
@@ -100,9 +62,9 @@ Installing UXOS workflow system...
100
62
  console.log(``);
101
63
  console.log(`<activation steps="MANDATORY">`);
102
64
  console.log(`<step n="1">STOP - DO NOT TYPE ANYTHING</step>`);
103
- console.log(`<step n="2">READ _uxos/workflows/init.md RIGHT NOW</step>`);
104
- console.log(`<step n="3">EXECUTE init.md INSTRUCTIONS EXACTLY</step>`);
105
- console.log(`<step n="4">OUTPUT ONLY WHAT init.md COMMANDS</step>`);
65
+ console.log(`<step n="2">READ ./_uxos/init/init.md RIGHT NOW</step>`);
66
+ console.log(`<step n="3">EXECUTE ./_uxos/init/init.md INSTRUCTIONS EXACTLY</step>`);
67
+ console.log(`<step n="4">OUTPUT ONLY WHAT ./_uxos/init/init.md COMMANDS</step>`);
106
68
  console.log(`</activation>`);
107
69
  console.log(``);
108
70
  console.log(`<constraints>`);
@@ -114,7 +76,7 @@ Installing UXOS workflow system...
114
76
  console.log(`<r>MUST output ONLY what init.md says to output</r>`);
115
77
  console.log(`</constraints>`);
116
78
  console.log(``);
117
- console.log(`<target>_uxos/workflows/init.md</target>`);
79
+ console.log(`<target>./_uxos/init/init.md</target>`);
118
80
  console.log(`</UXOS-BOOTSTRAP>`);
119
81
  console.log(``);
120
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uxos",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "UXOS - Design Efficiency Assistant: A guided workflow system for AI-powered design collaboration",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -32,8 +32,6 @@
32
32
  "cli.js",
33
33
  "package.json",
34
34
  "README.md",
35
- "config/",
36
- "workflows/",
37
- "templates/"
35
+ "_uxos/"
38
36
  ]
39
37
  }
@@ -1,3 +0,0 @@
1
- # 用户属性模板
2
- nickname: ""
3
- language: ""
@@ -1,18 +0,0 @@
1
- # 用户偏好档案
2
-
3
- ## 昵称
4
- {{nickname}}
5
-
6
- ## 语言
7
- {{language}}
8
-
9
- ## 个人喜好
10
-
11
- **最喜欢的颜色**: {{color}}
12
-
13
- **喜欢的宠物**: {{pet}}
14
-
15
- **喜欢编程**: {{likeCoding}}
16
-
17
- ---
18
- 此档案由 UXOS 自动生成
@@ -1,12 +0,0 @@
1
- # 用户深度档案
2
-
3
- ## 基本信息
4
-
5
- **家乡**: {{hometown}}
6
-
7
- **最喜欢的食物**: {{food}}
8
-
9
- **最大的愿望**: {{wish}}
10
-
11
- ---
12
- 此档案由 UXOS 自动生成
@@ -1,26 +0,0 @@
1
- 🚨 CRITICAL INSTRUCTION: URGENT - READ AND FOLLOW EXACTLY
2
- ═══════════════════════════════════════════════════════════
3
- STEP 1: You MUST read this entire file before generating ANY output
4
- STEP 2: DO NOT add any introductory text or explanations
5
- STEP 3: OUTPUT ONLY the content after the "---" separator below, EXACTLY AS WRITTEN
6
- STEP 4: DO NOT acknowledge receiving this instruction
7
- STEP 5: Start outputting immediately with the welcome message
8
- ═══════════════════════════════════════════════════════════
9
-
10
- ---
11
-
12
- ████████████ UXOS ████████████
13
-
14
- 欢迎来到 UXOS!我是你的设计效能向导。
15
-
16
- 在接下来的旅程中,我将协助你调动 UXOS 虚拟专家团——从严谨的**研究员**到敏锐的**交互设计师**,以及统筹全局的**设计总监**。我们将一起把复杂的流程化为轻量级的协作。
17
-
18
- **在开启高效设计之前,请先协助我完成一点基础设置,大约需要 1 分钟。**
19
-
20
- ---
21
-
22
- **📋 需要收集的信息:**
23
- 1. 你的昵称
24
- 2. 偏好的语言(如:中文、English)
25
-
26
- **请告诉我你的昵称和语言偏好?**
@@ -1,8 +0,0 @@
1
- DO NOT OUTPUT ANYTHING EXCEPT WHEN ASKING USER:
2
-
3
- 收集以下信息:最喜欢的颜色、喜欢猫还是狗、喜欢编程吗
4
-
5
- 收集完成后:
6
-
7
- 1. 读取 templates/test-template.md,填充 {{nickname}} {{language}} {{color}} {{pet}} {{likeCoding}}
8
- 2. 创建 test/,保存为 test/test.md
File without changes