@geminilight/mindos 0.5.58 → 0.5.60

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 (84) hide show
  1. package/README.md +1 -1
  2. package/README_zh.md +1 -1
  3. package/app/app/api/ask/route.ts +4 -1
  4. package/app/app/api/extract-pdf/route.ts +4 -2
  5. package/app/app/api/file/route.ts +11 -1
  6. package/app/app/api/health/route.ts +3 -1
  7. package/app/app/api/mcp/install-skill/route.ts +4 -2
  8. package/app/app/api/mcp/restart/route.ts +1 -1
  9. package/app/app/api/restart/route.ts +1 -1
  10. package/app/app/api/skills/route.ts +1 -1
  11. package/app/app/api/sync/route.ts +2 -2
  12. package/app/app/api/update/route.ts +1 -1
  13. package/app/app/api/update-check/route.ts +11 -3
  14. package/app/app/globals.css +4 -0
  15. package/app/app/layout.tsx +6 -0
  16. package/app/app/login/page.tsx +12 -1
  17. package/app/app/register-sw.tsx +4 -0
  18. package/app/components/Sidebar.tsx +1 -0
  19. package/app/components/SidebarLayout.tsx +1 -1
  20. package/app/instrumentation.ts +2 -1
  21. package/app/lib/core/list-spaces.ts +58 -0
  22. package/app/lib/project-root.ts +13 -0
  23. package/app/lib/template.ts +13 -6
  24. package/app/next-env.d.ts +1 -1
  25. package/bin/lib/mcp-spawn.js +38 -1
  26. package/mcp/README.md +3 -2
  27. package/mcp/src/index.ts +30 -0
  28. package/package.json +1 -1
  29. package/scripts/setup.js +1 -1
  30. package/skills/mindos/SKILL.md +2 -1
  31. package/skills/mindos/references/README.md +11 -0
  32. package/skills/mindos/references/post-task-hooks.md +53 -0
  33. package/skills/mindos/references/preference-capture.md +41 -0
  34. package/skills/mindos/references/sop-template.md +74 -0
  35. package/skills/mindos-zh/SKILL.md +2 -1
  36. package/skills/mindos-zh/references/README.md +11 -0
  37. package/skills/mindos-zh/references/post-task-hooks.md +53 -0
  38. package/skills/mindos-zh/references/preference-capture.md +41 -0
  39. package/skills/mindos-zh/references/sop-template.md +74 -0
  40. package/templates/empty/CONFIG.json +7 -5
  41. package/templates/empty/INSTRUCTION.md +5 -5
  42. package/templates/empty/README.md +1 -2
  43. package/templates/en/CONFIG.json +7 -5
  44. package/templates/en/INSTRUCTION.md +5 -5
  45. package/templates/en/README.md +1 -2
  46. package/templates/en//360/237/223/232 Resources/README.md" +4 -4
  47. package/templates/en//360/237/223/232 Resources//360/237/247/276 Books.csv" +1 -0
  48. package/templates/en//360/237/223/232 Resources//360/237/247/276 Learning Resources.csv" +1 -0
  49. package/templates/en//360/237/223/232 Resources//360/237/247/276 People to Follow.csv" +1 -0
  50. package/templates/en//360/237/223/232 Resources//360/237/247/276 Tools.csv" +1 -0
  51. package/templates/en//360/237/223/235 Notes/Ideas//360/237/247/252_example_product_idea.md" +9 -12
  52. package/templates/en//360/237/224/204 Workflows/Configurations//360/237/247/252_example_config_update_sop.md" +2 -3
  53. package/templates/en//360/237/224/204 Workflows/INSTRUCTION.md" +13 -5
  54. package/templates/en//360/237/232/200 Projects/Products//360/237/247/252_example_product_project_brief.md" +12 -14
  55. package/templates/template-generation-skill.md +4 -5
  56. package/templates/zh/CONFIG.json +7 -5
  57. package/templates/zh/INSTRUCTION.md +5 -5
  58. package/templates/zh/README.md +1 -2
  59. package/templates/zh//360/237/221/244 /347/224/273/345/203/217/README.md" +4 -4
  60. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//342/232/231/357/270/{217 Preferences.md" → 217 /345/201/217/345/245/275.md" } +1 -1
  61. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/216/{257 Focus.md" → 257 /350/201/232/347/204/246.md" } +1 -1
  62. package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/221/{244 Identity.md" → 244 /350/272/253/344/273/275.md" } +1 -1
  63. package/templates/zh//360/237/223/232 /350/265/204/346/272/220/README.md" +4 -4
  64. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 /344/271/246/345/215/225.csv" +1 -0
  65. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 /345/200/274/345/276/227/345/205/263/346/263/250/347/232/204/344/272/272.csv" +1 -0
  66. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 /345/255/246/344/271/240/350/265/204/346/272/220.csv" +1 -0
  67. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 /345/267/245/345/205/267/346/270/205/345/215/225.csv" +1 -0
  68. package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/203/263/346/263/225//360/237/247/252_example_/344/272/247/345/223/201/346/203/263/346/263/225.md" +8 -11
  69. package/templates/zh//360/237/224/204 /346/265/201/347/250/213/README.md" +1 -0
  70. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/210/233/344/270/232/README.md" +3 -0
  71. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/210/233/344/270/232//360/237/247/252_example_/346/257/217/345/221/250/345/210/233/345/247/213/344/272/272/350/277/220/350/220/245/350/212/202/345/245/217.md" +22 -0
  72. package/templates/zh//360/237/224/204 /346/265/201/347/250/213//351/205/215/347/275/256//360/237/247/252_example_/351/205/215/347/275/256/346/233/264/346/226/260/346/265/201/347/250/213.md" +1 -1
  73. package/templates/zh//360/237/232/200 /351/241/271/347/233/256//344/272/247/345/223/201//360/237/247/252_example_/344/272/247/345/223/201/351/241/271/347/233/256/347/256/200/346/212/245.md" +12 -14
  74. package/templates/empty/CONFIG.md +0 -73
  75. package/templates/en/CONFIG.md +0 -73
  76. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Influencers.csv" +0 -1
  77. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Products.csv" +0 -1
  78. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Scholars.csv" +0 -1
  79. package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Tools.csv" +0 -1
  80. package/templates/zh/CONFIG.md +0 -66
  81. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI Inferencers.csv" +0 -1
  82. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /344/272/247/345/223/201.csv" +0 -1
  83. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/255/246/350/200/205/346/270/205/345/215/225.csv" +0 -1
  84. package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/267/245/345/205/267/346/270/205/345/215/225.csv" +0 -1
@@ -14,7 +14,7 @@ Agent 进入知识库时,按以下顺序加载上下文:
14
14
 
15
15
  1. 读取根 `INSTRUCTION.md`(本文件)
16
16
  2. 读取根 `README.md`(目录索引与导航)
17
- 3. 同时读取 `CONFIG.json` 与 `CONFIG.md`(配置值 + 配置语义说明)
17
+ 3. 读取 `CONFIG.json`(配置值 + 命名语义)
18
18
  4. 路由到目标目录
19
19
  5. 若目标目录含 `INSTRUCTION.md`,先读取局部规则
20
20
  6. 再读取目标目录 `README.md` 与目标文件
@@ -123,7 +123,7 @@ Agent 进入知识库时,按以下顺序加载上下文:
123
123
 
124
124
  - 内容文件:可用 `emoji + 名称`
125
125
  - 目录名:按 `languagePreference.folderNamingLanguage` 生成;中文模板默认中文,英文模板默认英文。
126
- - 系统文件:`README.md`、`INSTRUCTION.md`、`TODO.md`、`CHANGELOG.md`、`CONFIG.json`、`CONFIG.md`
126
+ - 系统文件:`README.md`、`INSTRUCTION.md`、`TODO.md`、`CHANGELOG.md`、`CONFIG.json`
127
127
 
128
128
  ### 4.3 读写前置
129
129
 
@@ -172,6 +172,6 @@ Agent 进入知识库时,按以下顺序加载上下文:
172
172
 
173
173
  ## 9. 配置文件读取规则(CONFIG)
174
174
 
175
- - `CONFIG.json` 与 `CONFIG.md` 必须同时读取。
176
- - 两者是互补关系,不分优先级。
177
- - `CONFIG.json` 提供结构化配置值;`CONFIG.md` 提供语义说明与使用意图。
175
+ - `CONFIG.json` 是配置的唯一权威源。
176
+ - 字段语义内嵌于 `keySpecs`;目录命名规则内嵌于 `naming`。
177
+ - 无需额外的 `CONFIG.md`。
@@ -9,7 +9,6 @@ my-mind/
9
9
  ├── INSTRUCTION.md
10
10
  ├── README.md
11
11
  ├── CONFIG.json
12
- ├── CONFIG.md
13
12
  ├── TODO.md
14
13
  ├── CHANGELOG.md
15
14
  ├── 👤 画像/
@@ -22,6 +21,6 @@ my-mind/
22
21
 
23
22
  ## 💡 使用说明
24
23
 
25
- - 启动时优先读取:`INSTRUCTION.md` -> `README.md` -> `CONFIG.json` + `CONFIG.md`
24
+ - 启动时优先读取:`INSTRUCTION.md` -> `README.md` -> `CONFIG.json`
26
25
  - 新内容先记在 `📝 笔记/`,稳定后归档到对应目录
27
26
  - 需要持续更新的目录:`👤 画像/`、`🔗 关系/`、`🚀 项目/`
@@ -8,13 +8,13 @@
8
8
  👤 画像/
9
9
  ├── README.md
10
10
  ├── INSTRUCTION.md
11
- ├── 👤 Identity.md
12
- ├── ⚙️ Preferences.md
13
- └── 🎯 Focus.md
11
+ ├── 👤 身份.md
12
+ ├── ⚙️ 偏好.md
13
+ └── 🎯 聚焦.md
14
14
  ```
15
15
 
16
16
  ## 💡 使用说明
17
17
 
18
- - 建议先填写:`👤 Identity.md`、`⚙️ Preferences.md`、`🎯 Focus.md`。
18
+ - 建议先填写:`👤 身份.md`、`⚙️ 偏好.md`、`🎯 聚焦.md`。
19
19
  - 本目录只放长期稳定信息,不放临时草稿。
20
20
  - 执行与同步规则以 `INSTRUCTION.md` 为准。
@@ -1,4 +1,4 @@
1
- # 🎯 Focus
1
+ # 🎯 聚焦
2
2
 
3
3
  > 当前阶段快照,建议定期更新。
4
4
 
@@ -8,10 +8,10 @@
8
8
  📚 资源/
9
9
  ├── README.md
10
10
  ├── INSTRUCTION.md
11
- ├── 🧾 AI 产品.csv
12
- ├── 🧾 AI Inferencers.csv
13
- ├── 🧾 AI 工具清单.csv
14
- └── 🧾 AI 学者清单.csv
11
+ ├── 🧾 书单.csv
12
+ ├── 🧾 值得关注的人.csv
13
+ ├── 🧾 工具清单.csv
14
+ └── 🧾 学习资源.csv
15
15
  ```
16
16
 
17
17
  ## 💡 使用说明
@@ -0,0 +1 @@
1
+ 书名,作者,分类,状态,评分,开始日期,完成日期,备注
@@ -0,0 +1 @@
1
+ 名称,类型,主题,提供方,链接,状态,更新日期,备注
@@ -0,0 +1 @@
1
+ 名称,分类,主要用途,网址,价格,状态,更新日期,备注
@@ -1,16 +1,13 @@
1
- # 💡 产品想法示例:可信答案追踪层
1
+ # 💡 想法示例:周末阅读消化
2
2
 
3
3
  ## 方案
4
- - 在回答侧增加“依据来源追踪”,展示每条结论来自用户知识库的哪一条记录。
5
-
6
- ## 用户承诺
7
- - "不只是给答案,还能看到证据。"
4
+ - 每周日回顾本周阅读的高亮内容,提炼 3 条可执行的收获。
8
5
 
9
6
  ## 为什么值得做
10
- - 显著提升可解释性与信任感。
11
- - 对比黑盒助手形成明确差异化。
7
+ - 防止知识在消费后蒸发。
8
+ - 积累个人洞察的复利型知识库。
12
9
 
13
- ## 验证计划
14
- 1. 做一个最小可用追踪面板。
15
- 2. 邀请 10 位目标用户试用。
16
- 3. 评估信任度与任务完成率变化。
10
+ ## 下一步
11
+ 1. 选本周读过的一本书或一篇文章。
12
+ 2. 在笔记/收件箱写 3 条要点。
13
+ 3. 把最有价值的一条关联到某个项目或目标。
@@ -9,6 +9,7 @@
9
9
  ├── README.md
10
10
  ├── INSTRUCTION.md
11
11
  ├── 科研/
12
+ ├── 创业/
12
13
  ├── 媒体/
13
14
  ├── 信息/
14
15
  └── 配置/
@@ -0,0 +1,3 @@
1
+ # 创业流程
2
+
3
+ 创业相关的执行流程(产品、开发、增长、运营)。
@@ -0,0 +1,22 @@
1
+ # 🚀 每周创始人运营节奏 示例:动量系统
2
+
3
+ ## 目标
4
+ - 保持产品、增长、叙事执行每周对齐。
5
+
6
+ ## 周一启动
7
+ 1. 确定一个增长指标和一个产品指标。
8
+ 2. 选择本周 Top 3 下注方向(交付、分发、学习)。
9
+ 3. 设定一个公开证据产物(Demo、帖子、案例)。
10
+
11
+ ## 周中检查
12
+ 1. 复盘阻碍与决策延迟。
13
+ 2. 砍掉低杠杆工作。
14
+ 3. 将时间重新分配到最高学习循环。
15
+
16
+ ## 周五回顾
17
+ 1. 发布本周构建日志。
18
+ 2. 总结成果、失误和关键证据。
19
+ 3. 将洞察转化为下周 backlog。
20
+
21
+ ## 营销产出
22
+ - 每周一个叙事资产,展示复利式进展。
@@ -17,7 +17,7 @@
17
17
  1. 新建或更新 Agent 协议文档。
18
18
  2. 新建或更新 MCP 清单文档(仅记录流程,不写明文密钥)。
19
19
  3. 新建或更新 Skill 清单文档。
20
- 4. 同步 `CONFIG.json` `CONFIG.md`。
20
+ 4. 更新 `CONFIG.json`(含 `keySpecs` `naming`)。
21
21
  5. 运行 `rg` 清理旧路径与失效引用。
22
22
 
23
23
  ## 验收标准
@@ -1,20 +1,18 @@
1
- # 📌 产品项目简报示例:MindOS 对外发布
1
+ # 📌 项目简报示例:个人博客重启
2
2
 
3
3
  ## 愿景
4
- - 成为最值得信任的个人 AI 操作系统。
4
+ - 搭建一个简洁、低维护的博客,分享学习笔记和副项目故事。
5
5
 
6
- ## 核心承诺
7
- - "把分散输入变成持续产出。"
8
-
9
- ## 目标人群
10
- - 被多工具割裂、但追求稳定输出的创作者与构建者。
6
+ ## 目标
7
+ - 每月至少发布 2 篇文章。
8
+ - 总搭建时间控制在 4 小时内。
11
9
 
12
10
  ## 关键交付
13
- - 价值主张驱动的落地页
14
- - 60 秒产品演示
15
- - 真实案例驱动的上手模板
11
+ - 选定静态站点生成器(Hugo / Astro / Next.js)
12
+ - 从现有笔记整理 3 篇种子文章
13
+ - 配置简单的部署流程
16
14
 
17
- ## 核心指标
18
- - 激活率
19
- - 次周留存
20
- - 演示到注册转化率
15
+ ## 验收标准
16
+ - 博客已上线,可公开访问。
17
+ - 写作流程每篇 < 30 分钟。
18
+ - 首月至少收到 1 条读者反馈。
@@ -1,73 +0,0 @@
1
- # CONFIG Guide
2
-
3
- This file explains template config in human-readable form.
4
-
5
- ## Scope
6
-
7
- - Locale scope: `templates/en/`.
8
- - Related machine-readable file: `templates/en/CONFIG.json`.
9
-
10
- ## Read Rule
11
-
12
- - `CONFIG.json` and `CONFIG.md` must be read together.
13
- - They are complementary and have no priority relationship.
14
- - JSON provides structured values; MD provides explanatory intent.
15
-
16
- ## Key Settings
17
-
18
- ### `languagePreference`
19
-
20
- - `preferredLanguage`: global language preference
21
- - `supportedLanguages`: selectable language options
22
- - `folderNamingLanguage`: language used for folder/filename generation
23
- - `contentWritingLanguage`: language used for generated writing content
24
- - `enforceLocalizedNaming`: whether localized naming is enforced (en template defaults to English naming)
25
-
26
- ### `filename`
27
-
28
- - `emojiPrefixDefault`: whether new filenames default to emoji prefix
29
- - `allowEmojiPrefix`: whether emoji prefix is allowed in filenames
30
- - `exampleSuffixSingle`: suffix for single example files (default `_example`)
31
- - `exampleSuffixCollection`: suffix for example collection folders (default `_examples`)
32
-
33
- ### `structure`
34
-
35
- - `requireFirstLevelReadme`: whether first-level directories must include `README.md`
36
- - `recommendFirstLevelInstruction`: whether first-level directories are recommended to include `INSTRUCTION.md`
37
-
38
- ### `document.title`
39
-
40
- - `emojiEnabled`: whether generated titles allow emoji by default
41
- - `defaultHeadingLevel`: default heading level for generated titles (currently `2`)
42
-
43
- ### `protocol`
44
-
45
- - `readMode`: config read mode
46
- - `priorityBetweenConfigAndDoc`: relationship between config values and docs (`none` means no priority)
47
- - `notes`: protocol notes
48
-
49
- ## Directory Naming and Level Rules (Semantic Layer in CONFIG.md)
50
-
51
- These rules are directory naming semantics, documented in `CONFIG.md`:
52
-
53
- - First-level directories (direct children of project root) default to `emoji + name`.
54
- - Second-level and deeper directories default to no emoji.
55
- - Directory naming language is controlled by `languagePreference.folderNamingLanguage`.
56
- - Whether content filenames use emoji prefix is controlled by `filename.*`.
57
-
58
- Current template convention (en):
59
-
60
- - First-level examples: `👤 Profile/`, `📝 Notes/`, `🔗 Connections/`, `🔄 Workflows/`, `📚 Resources/`, `🚀 Projects/`
61
- - Second-level examples: `Family/`, `Friends/`, `Classmates/`, `Colleagues/` (no emoji)
62
-
63
- When naming policy changes:
64
-
65
- 1. Update semantic rules in `CONFIG.md` first.
66
- 2. Then sync `README.md`, `INSTRUCTION.md`, and actual directory structure.
67
-
68
- ## Change Rules
69
-
70
- 1. Update `templates/en/CONFIG.json` and `templates/zh/CONFIG.json` together when keys change.
71
- 2. Keep semantic parity across both locales.
72
- 3. Update both locale `CONFIG.md` files when keys are added/removed/renamed.
73
- 4. Do not document defaults here that conflict with JSON values.
@@ -1,73 +0,0 @@
1
- # CONFIG Guide
2
-
3
- This file explains template config in human-readable form.
4
-
5
- ## Scope
6
-
7
- - Locale scope: `templates/en/`.
8
- - Related machine-readable file: `templates/en/CONFIG.json`.
9
-
10
- ## Read Rule
11
-
12
- - `CONFIG.json` and `CONFIG.md` must be read together.
13
- - They are complementary and have no priority relationship.
14
- - JSON provides structured values; MD provides explanatory intent.
15
-
16
- ## Key Settings
17
-
18
- ### `languagePreference`
19
-
20
- - `preferredLanguage`: global language preference
21
- - `supportedLanguages`: selectable language options
22
- - `folderNamingLanguage`: language used for folder/filename generation
23
- - `contentWritingLanguage`: language used for generated writing content
24
- - `enforceLocalizedNaming`: whether localized naming is enforced (en template defaults to English naming)
25
-
26
- ### `filename`
27
-
28
- - `emojiPrefixDefault`: whether new filenames default to emoji prefix
29
- - `allowEmojiPrefix`: whether emoji prefix is allowed in filenames
30
- - `exampleSuffixSingle`: suffix for single example files (default `_example`)
31
- - `exampleSuffixCollection`: suffix for example collection folders (default `_examples`)
32
-
33
- ### `structure`
34
-
35
- - `requireFirstLevelReadme`: whether first-level directories must include `README.md`
36
- - `recommendFirstLevelInstruction`: whether first-level directories are recommended to include `INSTRUCTION.md`
37
-
38
- ### `document.title`
39
-
40
- - `emojiEnabled`: whether generated titles allow emoji by default
41
- - `defaultHeadingLevel`: default heading level for generated titles (currently `2`)
42
-
43
- ### `protocol`
44
-
45
- - `readMode`: config read mode
46
- - `priorityBetweenConfigAndDoc`: relationship between config values and docs (`none` means no priority)
47
- - `notes`: protocol notes
48
-
49
- ## Directory Naming and Level Rules (Semantic Layer in CONFIG.md)
50
-
51
- These rules are directory naming semantics, documented in `CONFIG.md`:
52
-
53
- - First-level directories (direct children of project root) default to `emoji + name`.
54
- - Second-level and deeper directories default to no emoji.
55
- - Directory naming language is controlled by `languagePreference.folderNamingLanguage`.
56
- - Whether content filenames use emoji prefix is controlled by `filename.*`.
57
-
58
- Current template convention (en):
59
-
60
- - First-level examples: `👤 Profile/`, `📝 Notes/`, `🔗 Connections/`, `🔄 Workflows/`, `📚 Resources/`, `🚀 Projects/`
61
- - Second-level examples: `Family/`, `Friends/`, `Classmates/`, `Colleagues/` (no emoji)
62
-
63
- When naming policy changes:
64
-
65
- 1. Update semantic rules in `CONFIG.md` first.
66
- 2. Then sync `README.md`, `INSTRUCTION.md`, and actual directory structure.
67
-
68
- ## Change Rules
69
-
70
- 1. Update `templates/en/CONFIG.json` and `templates/zh/CONFIG.json` together when keys change.
71
- 2. Keep semantic parity across both locales.
72
- 3. Update both locale `CONFIG.md` files when keys are added/removed/renamed.
73
- 4. Do not document defaults here that conflict with JSON values.
@@ -1 +0,0 @@
1
- Name,Platform,Focus,Region,Link,Status,UpdatedAt,Notes
@@ -1 +0,0 @@
1
- Name,Category,Website,CoreValue,Pricing,Status,UpdatedAt,Notes
@@ -1 +0,0 @@
1
- Name,Institution,ResearchArea,ProfileLink,Region,Status,UpdatedAt,Notes
@@ -1 +0,0 @@
1
- Name,Type,PrimaryUse,Website,Pricing,Status,UpdatedAt,Notes
@@ -1,66 +0,0 @@
1
- # CONFIG 说明
2
-
3
- 本文件用于解释模板配置,供人类快速阅读。
4
-
5
- ## 范围
6
-
7
- - 语言范围:`templates/zh/`。
8
- - 对应机器可读文件:`templates/zh/CONFIG.json`。
9
-
10
- ## 读取规则
11
-
12
- - `CONFIG.json` 与 `CONFIG.md` 需要同时读取。
13
- - 二者是互补关系,不设优先级。
14
- - JSON 提供结构化配置值,MD 提供语义说明与使用意图。
15
-
16
- ## 当前关键配置
17
-
18
- ### `languagePreference`
19
-
20
- - `preferredLanguage`: 总体语言偏好
21
- - `supportedLanguages`: 可选语言列表(中文、英文)
22
- - `folderNamingLanguage`: 目录与文件命名语言
23
- - `contentWritingLanguage`: 内容写作语言
24
- - `enforceLocalizedNaming`: 是否强制本地化命名(中文模板默认中文命名)
25
-
26
- ### `filename`
27
-
28
- - `emojiPrefixDefault`: 新文件名是否默认使用 emoji 前缀
29
- - `allowEmojiPrefix`: 是否允许文件名使用 emoji 前缀
30
- - `exampleSuffixSingle`: 单个示例文件后缀(默认 `_example`)
31
- - `exampleSuffixCollection`: 示例集合目录后缀(默认 `_examples`)
32
-
33
- ### `structure`
34
-
35
- - `requireFirstLevelReadme`: 一级目录是否必须有 `README.md`
36
- - `recommendFirstLevelInstruction`: 是否建议一级目录提供 `INSTRUCTION.md`
37
-
38
- ### `document.title`
39
-
40
- - `emojiEnabled`: 生成标题是否默认允许 emoji
41
- - `defaultHeadingLevel`: 生成标题默认层级(当前为 `2`)
42
-
43
- ### `protocol`
44
-
45
- - `readMode`: 配置读取模式
46
- - `priorityBetweenConfigAndDoc`: 配置值与文档说明关系(当前 `none`,不分优先级)
47
- - `notes`: 配置协议说明
48
-
49
- ## 目录命名与层级规则(放在 CONFIG.md 的语义层)
50
-
51
- 以下规则作为目录命名语义协议,由 `CONFIG.md` 负责解释并约束执行:
52
-
53
- - 一级目录(项目根目录的子目录)默认使用 `emoji + 名称`。
54
- - 二级及以下目录默认不加 emoji。
55
- - 目录命名语言由 `languagePreference.folderNamingLanguage` 决定。
56
- - 内容文件是否使用 emoji 前缀由 `filename.*` 控制。
57
-
58
- 当前模板约定(zh):
59
-
60
- - 一级目录示例:`👤 画像/`、`📝 笔记/`、`🔗 关系/`、`🔄 流程/`、`📚 资源/`、`🚀 项目/`
61
- - 二级目录示例:`家人/`、`朋友/`、`同学/`、`同事/`(不加 emoji)
62
-
63
- 当目录命名策略有调整时:
64
-
65
- - 先更新 `CONFIG.md` 的语义规则。
66
- - 再同步更新 `README.md`、`INSTRUCTION.md` 与实际目录结构。
@@ -1 +0,0 @@
1
- Name,Platform,Focus,Region,Link,Status,UpdatedAt,Notes
@@ -1 +0,0 @@
1
- Name,Category,Website,CoreValue,Pricing,Status,UpdatedAt,Notes
@@ -1 +0,0 @@
1
- Name,Institution,ResearchArea,ProfileLink,Region,Status,UpdatedAt,Notes