@geminilight/mindos 0.6.58 → 0.6.59

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 (219) hide show
  1. package/_standalone/.mindos-build-version +1 -1
  2. package/_standalone/.next/BUILD_ID +1 -1
  3. package/_standalone/.next/app-path-routes-manifest.json +24 -24
  4. package/_standalone/.next/build-manifest.json +3 -3
  5. package/_standalone/.next/cache/.previewinfo +1 -1
  6. package/_standalone/.next/cache/.rscinfo +1 -1
  7. package/_standalone/.next/cache/config.json +3 -3
  8. package/_standalone/.next/prerender-manifest.json +3 -3
  9. package/_standalone/.next/react-loadable-manifest.json +1 -1
  10. package/_standalone/.next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
  11. package/_standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/_standalone/.next/server/app/_global-error.html +2 -2
  13. package/_standalone/.next/server/app/_global-error.rsc +1 -1
  14. package/_standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/_standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/_standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  17. package/_standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  18. package/_standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  19. package/_standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  20. package/_standalone/.next/server/app/_not-found/page.js +1 -1
  21. package/_standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  22. package/_standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  23. package/_standalone/.next/server/app/agents/[agentKey]/page.js +1 -1
  24. package/_standalone/.next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
  25. package/_standalone/.next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
  26. package/_standalone/.next/server/app/agents/page.js +2 -2
  27. package/_standalone/.next/server/app/agents/page.js.nft.json +1 -1
  28. package/_standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  29. package/_standalone/.next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
  30. package/_standalone/.next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
  31. package/_standalone/.next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
  32. package/_standalone/.next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
  33. package/_standalone/.next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
  34. package/_standalone/.next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
  35. package/_standalone/.next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
  36. package/_standalone/.next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
  37. package/_standalone/.next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
  38. package/_standalone/.next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
  39. package/_standalone/.next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -1
  40. package/_standalone/.next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -1
  41. package/_standalone/.next/server/app/api/ask/route.js +3 -3
  42. package/_standalone/.next/server/app/api/ask/route_client-reference-manifest.js +1 -1
  43. package/_standalone/.next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
  44. package/_standalone/.next/server/app/api/auth/route_client-reference-manifest.js +1 -1
  45. package/_standalone/.next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
  46. package/_standalone/.next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
  47. package/_standalone/.next/server/app/api/changes/route_client-reference-manifest.js +1 -1
  48. package/_standalone/.next/server/app/api/export/route_client-reference-manifest.js +1 -1
  49. package/_standalone/.next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
  50. package/_standalone/.next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
  51. package/_standalone/.next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
  52. package/_standalone/.next/server/app/api/file/route_client-reference-manifest.js +1 -1
  53. package/_standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
  54. package/_standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  55. package/_standalone/.next/server/app/api/graph/route_client-reference-manifest.js +1 -1
  56. package/_standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  57. package/_standalone/.next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
  58. package/_standalone/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  59. package/_standalone/.next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
  60. package/_standalone/.next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
  61. package/_standalone/.next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
  62. package/_standalone/.next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
  63. package/_standalone/.next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
  64. package/_standalone/.next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
  65. package/_standalone/.next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
  66. package/_standalone/.next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
  67. package/_standalone/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  68. package/_standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  69. package/_standalone/.next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
  70. package/_standalone/.next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
  71. package/_standalone/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  72. package/_standalone/.next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
  73. package/_standalone/.next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
  74. package/_standalone/.next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
  75. package/_standalone/.next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
  76. package/_standalone/.next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
  77. package/_standalone/.next/server/app/api/setup/route_client-reference-manifest.js +1 -1
  78. package/_standalone/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  79. package/_standalone/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  80. package/_standalone/.next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
  81. package/_standalone/.next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
  82. package/_standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
  83. package/_standalone/.next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
  84. package/_standalone/.next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
  85. package/_standalone/.next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
  86. package/_standalone/.next/server/app/changes/page.js +2 -2
  87. package/_standalone/.next/server/app/changes/page.js.nft.json +1 -1
  88. package/_standalone/.next/server/app/changes/page_client-reference-manifest.js +1 -1
  89. package/_standalone/.next/server/app/echo/[segment]/page.js +3 -3
  90. package/_standalone/.next/server/app/echo/[segment]/page.js.nft.json +1 -1
  91. package/_standalone/.next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
  92. package/_standalone/.next/server/app/echo/page.js +1 -1
  93. package/_standalone/.next/server/app/echo/page.js.nft.json +1 -1
  94. package/_standalone/.next/server/app/echo/page_client-reference-manifest.js +1 -1
  95. package/_standalone/.next/server/app/explore/page.js +2 -2
  96. package/_standalone/.next/server/app/explore/page.js.nft.json +1 -1
  97. package/_standalone/.next/server/app/explore/page_client-reference-manifest.js +1 -1
  98. package/_standalone/.next/server/app/help/page.js +2 -2
  99. package/_standalone/.next/server/app/help/page.js.nft.json +1 -1
  100. package/_standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
  101. package/_standalone/.next/server/app/inbox/history/page.js +1 -1
  102. package/_standalone/.next/server/app/inbox/history/page.js.nft.json +1 -1
  103. package/_standalone/.next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
  104. package/_standalone/.next/server/app/login/page.js +2 -2
  105. package/_standalone/.next/server/app/login/page.js.nft.json +1 -1
  106. package/_standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  107. package/_standalone/.next/server/app/page.js +2 -8
  108. package/_standalone/.next/server/app/page.js.nft.json +1 -1
  109. package/_standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  110. package/_standalone/.next/server/app/setup/page.js +2 -2
  111. package/_standalone/.next/server/app/setup/page.js.nft.json +1 -1
  112. package/_standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  113. package/_standalone/.next/server/app/trash/page.js +3 -3
  114. package/_standalone/.next/server/app/trash/page.js.nft.json +1 -1
  115. package/_standalone/.next/server/app/trash/page_client-reference-manifest.js +1 -1
  116. package/_standalone/.next/server/app/view/[...path]/page.js +3 -3
  117. package/_standalone/.next/server/app/view/[...path]/page.js.nft.json +1 -1
  118. package/_standalone/.next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
  119. package/_standalone/.next/server/app/wiki/page.js +2 -2
  120. package/_standalone/.next/server/app/wiki/page.js.nft.json +1 -1
  121. package/_standalone/.next/server/app/wiki/page_client-reference-manifest.js +1 -1
  122. package/_standalone/.next/server/app-paths-manifest.json +24 -24
  123. package/_standalone/.next/server/chunks/3484.js +1 -1
  124. package/_standalone/.next/server/chunks/530.js +65 -66
  125. package/_standalone/.next/server/chunks/{6793.js → 8343.js} +2 -2
  126. package/_standalone/.next/server/chunks/9787.js +2 -0
  127. package/_standalone/.next/server/middleware-build-manifest.js +1 -1
  128. package/_standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  129. package/_standalone/.next/server/pages/500.html +2 -2
  130. package/_standalone/.next/server/server-reference-manifest.js +1 -1
  131. package/_standalone/.next/server/server-reference-manifest.json +1 -1
  132. package/_standalone/.next/static/chunks/{1814.a7c127b2c73d1f70.js → 1814.a79b84d37df75c43.js} +1 -1
  133. package/_standalone/.next/static/chunks/3427-2e61a5df1f5e55fb.js +1 -0
  134. package/_standalone/.next/static/chunks/{1053-fe009233cff06e72.js → 5581-dac72e9f16e5ea29.js} +3 -3
  135. package/_standalone/.next/static/chunks/6297-085daa21037d5f81.js +1 -0
  136. package/_standalone/.next/static/chunks/{7249-fa98ca10e9a10f39.js → 7249-6cf8f2b78718c59e.js} +1 -1
  137. package/_standalone/.next/static/chunks/8520-56ec9ff087c15204.js +22 -0
  138. package/_standalone/.next/static/chunks/9905-a19d379cb225246e.js +1 -0
  139. package/_standalone/.next/static/chunks/app/agents/[agentKey]/{page-7bdeab5af8e4f5f2.js → page-35ea6de1af2be3b5.js} +1 -1
  140. package/_standalone/.next/static/chunks/app/agents/page-b172ea3743adb047.js +1 -0
  141. package/_standalone/.next/static/chunks/app/changes/{page-5a72144d1080a699.js → page-6d2f49651c0061f7.js} +1 -1
  142. package/_standalone/.next/static/chunks/app/echo/[segment]/page-84b95256f6e38aae.js +11 -0
  143. package/_standalone/.next/static/chunks/app/explore/{page-d3d99308146c2240.js → page-d9f58000bc445360.js} +2 -2
  144. package/_standalone/.next/static/chunks/app/help/{page-222df603080b5fab.js → page-f8cb806371b3175f.js} +1 -1
  145. package/_standalone/.next/static/chunks/app/inbox/history/{page-07819cf95cb0805f.js → page-26e71fb6f716a4c4.js} +1 -1
  146. package/_standalone/.next/static/chunks/app/layout-b89b0d955f39a753.js +164 -0
  147. package/_standalone/.next/static/chunks/app/login/{page-0eeef685052869a6.js → page-18fb00d568cd1f0e.js} +1 -1
  148. package/_standalone/.next/static/chunks/app/page-a8e6f085f38388bf.js +1 -0
  149. package/_standalone/.next/static/chunks/app/setup/{page-99fcfc460fa29733.js → page-821714e7477be46c.js} +1 -1
  150. package/_standalone/.next/static/chunks/app/trash/{page-54cbd5c98d9de69b.js → page-f92b728b78ac0f7e.js} +1 -1
  151. package/_standalone/.next/static/chunks/app/view/[...path]/{not-found-fc04c2bd4f35bc6f.js → not-found-6e0c75ad26ce8572.js} +1 -1
  152. package/_standalone/.next/static/chunks/app/view/[...path]/page-f87f4901b5e1a88f.js +12 -0
  153. package/_standalone/.next/static/chunks/app/wiki/page-641edb1f3cff2f93.js +1 -0
  154. package/_standalone/.next/static/chunks/{webpack-2c19436659aa657b.js → webpack-72e8d9e9073fd1f9.js} +1 -1
  155. package/_standalone/.next/static/css/6c104b118d3bc9b7.css +1 -0
  156. package/_standalone/.next/trace +64 -64
  157. package/_standalone/app/globals.css +2 -1
  158. package/_standalone/components/AskFab.tsx +4 -4
  159. package/_standalone/components/AskModal.tsx +1 -1
  160. package/_standalone/components/GuideCard.tsx +101 -152
  161. package/_standalone/components/RightAskPanel.tsx +2 -2
  162. package/_standalone/components/ask/AskContent.tsx +90 -51
  163. package/_standalone/components/ask/AskHeader.tsx +218 -18
  164. package/_standalone/components/ask/MessageList.tsx +66 -47
  165. package/_standalone/components/ask/SessionHistory.tsx +86 -60
  166. package/_standalone/components/ask/SessionTabBar.tsx +29 -21
  167. package/_standalone/components/ask/ThinkingBlock.tsx +6 -5
  168. package/_standalone/components/ask/ToolCallBlock.tsx +10 -9
  169. package/_standalone/components/settings/SettingsContent.tsx +1 -1
  170. package/_standalone/data/skills/mindos/SKILL.md +67 -15
  171. package/_standalone/data/skills/mindos-zh/SKILL.md +67 -11
  172. package/_standalone/hooks/useAskSession.ts +23 -1
  173. package/_standalone/lib/stores/locale-store.ts +20 -6
  174. package/_standalone/tsconfig.tsbuildinfo +1 -1
  175. package/app/app/globals.css +2 -1
  176. package/app/app/layout.tsx +16 -4
  177. package/app/components/AskFab.tsx +4 -4
  178. package/app/components/AskModal.tsx +1 -1
  179. package/app/components/GuideCard.tsx +101 -152
  180. package/app/components/HomeContent.tsx +116 -575
  181. package/app/components/RightAskPanel.tsx +2 -2
  182. package/app/components/WikiHomeContent.tsx +151 -3
  183. package/app/components/ask/AskContent.tsx +90 -51
  184. package/app/components/ask/AskHeader.tsx +218 -18
  185. package/app/components/ask/MessageList.tsx +66 -47
  186. package/app/components/ask/SessionHistory.tsx +86 -60
  187. package/app/components/ask/SessionTabBar.tsx +29 -21
  188. package/app/components/ask/ThinkingBlock.tsx +6 -5
  189. package/app/components/ask/ToolCallBlock.tsx +10 -9
  190. package/app/components/settings/SettingsContent.tsx +1 -1
  191. package/app/data/skills/mindos/SKILL.md +67 -15
  192. package/app/data/skills/mindos-zh/SKILL.md +67 -11
  193. package/app/hooks/useAskSession.ts +23 -1
  194. package/app/lib/i18n/modules/ai-chat.ts +97 -10
  195. package/app/lib/i18n/modules/onboarding.ts +12 -12
  196. package/app/lib/stores/LocaleStoreInit.tsx +24 -1
  197. package/app/lib/stores/locale-store.ts +20 -6
  198. package/app/lib/types.ts +1 -0
  199. package/package.json +1 -1
  200. package/skills/mindos/SKILL.md +67 -15
  201. package/skills/mindos/references/knowledge-health.md +120 -0
  202. package/skills/mindos-max/SKILL.md +52 -5
  203. package/skills/mindos-max-zh/SKILL.md +55 -6
  204. package/skills/mindos-zh/SKILL.md +67 -11
  205. package/_standalone/.next/server/chunks/2364.js +0 -2
  206. package/_standalone/.next/server/chunks/357.js +0 -1
  207. package/_standalone/.next/static/chunks/178-105779afb62d36d9.js +0 -1
  208. package/_standalone/.next/static/chunks/2218-d54538000574ffef.js +0 -1
  209. package/_standalone/.next/static/chunks/2549-e63cf57fa927a41d.js +0 -1
  210. package/_standalone/.next/static/chunks/9274-296ab35f9f09e42e.js +0 -1
  211. package/_standalone/.next/static/chunks/app/agents/page-5d1446665ddb3801.js +0 -1
  212. package/_standalone/.next/static/chunks/app/echo/[segment]/page-b0103509ce34444b.js +0 -11
  213. package/_standalone/.next/static/chunks/app/layout-7e02ddf4144b01f1.js +0 -186
  214. package/_standalone/.next/static/chunks/app/page-6a6a12bd6d6812d0.js +0 -7
  215. package/_standalone/.next/static/chunks/app/view/[...path]/page-ca7bdcbf27f88a46.js +0 -12
  216. package/_standalone/.next/static/chunks/app/wiki/page-d492256a93f0b8bc.js +0 -1
  217. package/_standalone/.next/static/css/fd84c8316ead16eb.css +0 -1
  218. /package/_standalone/.next/static/{2ksXveDzEcnCMRIElDkLq → u8p6oIRTcr_ns-ElNZ9rl}/_buildManifest.js +0 -0
  219. /package/_standalone/.next/static/{2ksXveDzEcnCMRIElDkLq → u8p6oIRTcr_ns-ElNZ9rl}/_ssgManifest.js +0 -0
@@ -15,7 +15,8 @@ description: >
15
15
  append CSV/table data, cross-agent handoff, distill experience, sync related docs, check if
16
16
  something was discussed before, look up a past decision, find a template, prepare meeting context,
17
17
  daily logging, track goals. Also trigger on Chinese equivalents: 帮我记下来, 搜一下笔记,
18
- 更新知识库, 整理文件, 复盘, 提炼经验, 保存, 记录, 交接.
18
+ 更新知识库, 整理文件, 复盘, 提炼经验, 保存, 记录, 交接, 放到暂存台, 整理暂存台,
19
+ 知识健康检查, 检测知识冲突.
19
20
 
20
21
  When in doubt whether MindOS applies — it probably does. Check anyway.
21
22
  NOT for editing app source code or project repos outside the KB.
@@ -24,7 +25,7 @@ description: >
24
25
 
25
26
  # MindOS Skill
26
27
 
27
- <!-- version: 3.1.0-max — aggressive global memory mode -->
28
+ <!-- version: 3.2.0-max — aggressive global memory mode -->
28
29
 
29
30
  > **You are the user's memory.** Every agent shares MindOS. If something is worth remembering, save it.
30
31
  > If you need context, check MindOS first. Be proactive — don't wait to be asked.
@@ -105,6 +106,7 @@ npm install -g @geminilight/mindos
105
106
  - **Space** — Knowledge partitions organized the way you think. Agents follow the same structure.
106
107
  - **Instruction** — A rules file (`INSTRUCTION.md`) all connected agents obey.
107
108
  - **Skill** — Teaches agents how to read, write, and organize the KB.
109
+ - **Inbox** — The `Inbox/` directory is a staging area for quick capture. Files land here when there's no obvious home yet. They get organized later — by the user manually or via AI-assisted batch organization.
108
110
 
109
111
  Notes can embody both Instruction and Skill — they're just Markdown files in the tree.
110
112
 
@@ -119,9 +121,13 @@ User request
119
121
  | -> [Read-only]: search -> read -> answer with citations. No writes.
120
122
  |
121
123
  |- Save / record / update / organize specific content?
122
- | |- Single file -> [Single-file edit]
124
+ | |- Know where it goes -> [Single-file edit]
125
+ | |- Don't know where it goes -> [Inbox path] -- save to Inbox/, classify later
123
126
  | -> Multiple files or unclear -> [Multi-file routing] -- plan first
124
127
  |
128
+ |- Organize inbox / classify staged files?
129
+ | -> [Inbox organize] -- read Inbox/ files, propose destinations, move after approval
130
+ |
125
131
  |- Structural change (rename / move / delete / reorganize)?
126
132
  | -> [Structural path] -- check backlinks before and after
127
133
  |
@@ -131,6 +137,9 @@ User request
131
137
  |- Retrospective / distill / handoff?
132
138
  | -> [Retrospective path]
133
139
  |
140
+ |- Knowledge health check / detect conflicts?
141
+ | -> [Health check path] -- read references/knowledge-health.md
142
+ |
134
143
  -> Ambiguous?
135
144
  -> ASK. Propose 2-3 specific options based on KB state.
136
145
  ```
@@ -145,8 +154,9 @@ User request
145
154
  - "organize" -> ask: display only, or write back?
146
155
 
147
156
  **File location uncertainty:**
148
- - Can't decide in 5 seconds -> use nearest existing directory, inform user
149
- - "Just put it somewhere" -> inbox, propose classification after
157
+ - Can't decide in 5 seconds -> save to `Inbox/`, inform user, propose classification later
158
+ - "Just put it somewhere" / "先放着" -> save to `Inbox/`
159
+ - User drags files or pastes unstructured content without specifying location -> `Inbox/`
150
160
 
151
161
  **Scope creep:**
152
162
  - Input routes to >5 files -> pause, confirm scope
@@ -179,6 +189,43 @@ When user expresses a standing preference -> read [references/preference-capture
179
189
 
180
190
  When creating/rewriting an SOP -> read [references/sop-template.md](../mindos/references/sop-template.md).
181
191
 
192
+ ## Inbox (staging area)
193
+
194
+ The `Inbox/` directory is the KB's quick-capture zone. It has its own `INSTRUCTION.md` that governs behavior.
195
+
196
+ **When to use Inbox:**
197
+ - User says "just save it" / "先放着" / "放到暂存台" without specifying a location
198
+ - Content doesn't clearly fit any existing Space or directory
199
+ - Batch import of multiple files that need individual classification
200
+
201
+ **How to save to Inbox:**
202
+ ```bash
203
+ mindos file create "Inbox/<filename>.md" --content "..."
204
+ ```
205
+
206
+ **How to organize Inbox:**
207
+ 1. List Inbox files: `mindos file list Inbox/`
208
+ 2. Read each file to understand its content
209
+ 3. For each file, propose the best destination directory based on KB structure
210
+ 4. Present the full routing plan to user for approval
211
+ 5. Move files: `mindos file rename "Inbox/<file>" "<target-dir>/<file>"`
212
+ 6. After moving, check if the target directory's README needs updating
213
+
214
+ **Aging reminder:** Files in Inbox older than 7 days are considered "aging". If you notice aging files during bootstrap, mention it: "You have N files in Inbox that have been sitting there for over a week. Want me to help organize them?"
215
+
216
+ ## Knowledge health check
217
+
218
+ When user asks to check knowledge health, detect conflicts, audit quality, or says "知识健康检查" / "检测冲突" / "check knowledge health"
219
+ -> read [references/knowledge-health.md](../mindos/references/knowledge-health.md) for the full procedure.
220
+
221
+ Quick summary of what gets checked:
222
+ - **Contradictions**: conflicting facts across files on the same topic
223
+ - **Broken links**: references to files that no longer exist
224
+ - **Stale content**: files with outdated date markers or untouched for >6 months
225
+ - **Duplicates**: two files covering the same ground without cross-referencing
226
+ - **Orphan files**: files with zero backlinks, hard to discover
227
+ - **Structural issues**: wrong directory, missing READMEs, aging Inbox files
228
+
182
229
  ---
183
230
 
184
231
  ## Error handling (CLI)
@@ -15,8 +15,10 @@ description: >
15
15
 
16
16
  触发词:帮我记下来、搜一下笔记、更新知识库、整理文件、复盘、提炼经验、保存、记录、
17
17
  交接、把这个存起来、查一下之前的、有没有相关笔记、我之前写过什么、总结一下保存、
18
- 追加到表格、更新进度、查找模板、准备会议资料、记录今天的工作。
19
- 以及对应英文:save, record, search notes, organize, retrospective, handoff, lessons learned。
18
+ 追加到表格、更新进度、查找模板、准备会议资料、记录今天的工作、
19
+ 放到暂存台、整理暂存台、知识健康检查、检测知识冲突。
20
+ 以及对应英文:save, record, search notes, organize, retrospective, handoff, lessons learned,
21
+ inbox, staging, knowledge health, detect conflicts。
20
22
 
21
23
  拿不准是否该用——大概率该用。查一下不会错。
22
24
  不用于:改代码仓库、项目源码、KB 外路径。
@@ -25,7 +27,7 @@ description: >
25
27
 
26
28
  # MindOS 技能
27
29
 
28
- <!-- version: 3.1.0-max — 激进全局记忆模式 -->
30
+ <!-- version: 3.2.0-max — 激进全局记忆模式 -->
29
31
 
30
32
  > **你就是用户的记忆。** 所有 Agent 共享 MindOS。值得记住就存,需要上下文就先查。
31
33
  > 主动行动——不要等用户开口提醒。
@@ -106,6 +108,7 @@ npm install -g @geminilight/mindos
106
108
  - **空间 (Space)** — 按你的思维方式组织的知识分区。Agent 遵循相同结构。
107
109
  - **指令 (Instruction)** — `INSTRUCTION.md`,所有连接的 Agent 都遵守的规则文件。
108
110
  - **技能 (Skill)** — 教 Agent 如何读写和整理知识库。
111
+ - **暂存台 (Inbox)** — `Inbox/` 目录是快速捕获区。内容暂时找不到归属时先放这里,之后再统一整理——用户手动或 AI 辅助批量归类。
109
112
 
110
113
  笔记可以同时承载指令和技能——它们只是目录树中的 Markdown 文件。
111
114
 
@@ -120,9 +123,13 @@ npm install -g @geminilight/mindos
120
123
  | -> [只读路径]:搜索 -> 读取 -> 带引用回答。不写入。
121
124
  |
122
125
  |- 保存 / 记录 / 更新 / 整理具体内容?
123
- | |- 单文件 -> [单文件编辑]
126
+ | |- 知道放哪 -> [单文件编辑]
127
+ | |- 不知道放哪 -> [暂存台路径] -- 存到 Inbox/,之后再归类
124
128
  | -> 多文件或不确定 -> [多文件路由] -- 先出方案
125
129
  |
130
+ |- 整理暂存台 / 归类暂存文件?
131
+ | -> [暂存台整理] -- 读 Inbox/ 文件,提议目标位置,获批后移动
132
+ |
126
133
  |- 结构变更(重命名 / 移动 / 删除 / 重组)?
127
134
  | -> [结构路径] -- 变更前后检查反向链接
128
135
  |
@@ -132,6 +139,9 @@ npm install -g @geminilight/mindos
132
139
  |- 复盘 / 提炼 / 交接?
133
140
  | -> [复盘路径]
134
141
  |
142
+ |- 知识健康检查 / 检测冲突?
143
+ | -> [健康检查路径] -- 读取 references/knowledge-health.md
144
+ |
135
145
  -> 模糊?
136
146
  -> 提问。基于知识库状态提出 2-3 个具体选项。
137
147
  ```
@@ -146,8 +156,9 @@ npm install -g @geminilight/mindos
146
156
  - "整理一下" -> 先问:仅展示,还是写回知识库?
147
157
 
148
158
  **文件位置不确定:**
149
- - 5 秒内定不了 -> 用最近的现有目录,告知用户
150
- - "随便放哪" -> 收件箱,之后提议分类
159
+ - 5 秒内定不了 -> 存到 `Inbox/`,告知用户,之后提议归类
160
+ - "随便放哪" / "先放着" -> 存到 `Inbox/`
161
+ - 用户拖拽文件或粘贴非结构化内容但没指定位置 -> `Inbox/`
151
162
 
152
163
  **范围蔓延:**
153
164
  - 输入路由到 >5 个文件 -> 暂停确认
@@ -180,6 +191,44 @@ npm install -g @geminilight/mindos
180
191
 
181
192
  创建/重写工作流 SOP 时 -> 读取 [references/sop-template.md](../mindos/references/sop-template.md)。
182
193
 
194
+ ## 暂存台 (Inbox)
195
+
196
+ `Inbox/` 目录是知识库的快速捕获区,有自己的 `INSTRUCTION.md` 约束行为。
197
+
198
+ **何时使用暂存台:**
199
+ - 用户说"先存着" / "放到暂存台" / "随便放哪",没指定具体位置
200
+ - 内容明显不属于任何现有空间或目录
201
+ - 批量导入多个文件,需要逐个归类
202
+
203
+ **如何存到暂存台:**
204
+ ```bash
205
+ mindos file create "Inbox/<文件名>.md" --content "..."
206
+ ```
207
+
208
+ **如何整理暂存台:**
209
+ 1. 列出暂存文件:`mindos file list Inbox/`
210
+ 2. 读取每个文件,理解其内容
211
+ 3. 根据知识库结构,为每个文件提议最佳目标目录
212
+ 4. 向用户展示完整路由方案,获批后执行
213
+ 5. 移动文件:`mindos file rename "Inbox/<文件>" "<目标目录>/<文件>"`
214
+ 6. 移动后检查目标目录的 README 是否需要更新
215
+
216
+ **老化提醒:** Inbox 中超过 7 天的文件视为"老化"。如果在 bootstrap 时发现老化文件,主动提醒:
217
+ "暂存台有 N 个文件已经放了一周以上了,要我帮你整理一下吗?"
218
+
219
+ ## 知识健康检查
220
+
221
+ 用户要求检查知识库健康度、检测冲突、审计质量,或说"知识健康检查" / "检测冲突" / "check knowledge health" 时
222
+ -> 读取 [references/knowledge-health.md](../mindos/references/knowledge-health.md) 获取完整流程。
223
+
224
+ 检查维度速览:
225
+ - **矛盾/冲突**:同一主题的不同文件说法互相矛盾
226
+ - **断裂链接**:引用了不存在的文件
227
+ - **过期内容**:带有过期日期标记的文件,或超过 6 个月未更新的活跃主题
228
+ - **重复内容**:两个文件覆盖同一主题且没有互相引用
229
+ - **孤立文件**:零反向链接,难以被发现
230
+ - **结构问题**:文件放错目录、缺少 README、暂存台老化文件
231
+
183
232
  ---
184
233
 
185
234
  ## 错误处理(CLI)
@@ -1,25 +1,34 @@
1
1
  ---
2
2
  name: mindos-zh
3
3
  description: >
4
- MindOS 知识库操作:更新笔记、搜索知识库、整理文件、执行SOP/工作流、复盘、追加CSV、跨Agent交接、
5
- 路由非结构化输入到对应文件、提炼经验、同步关联文档。
4
+ 用户的共享知识库——跨会话、跨 Agent 持久存在。MindOS 存储决策记录、会议纪要、SOP
5
+ 排错经验、架构选型、调研结论和偏好设置。
6
6
  仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。
7
7
  核心概念:空间、指令(INSTRUCTION.md)、技能(SKILL.md);笔记可承载指令与技能。
8
+
8
9
  触发场景:保存或记录任何内容、搜索历史笔记或上下文、更新或编辑文件、整理或重组文件结构、
9
10
  执行SOP或工作流、捕获对话中的决策、复盘或总结经验、追加表格或CSV数据、跨Agent交接上下文、
10
11
  提炼经验教训、同步关联文档、查找之前是否讨论过某事、查询历史决策、查找模板或SOP、
11
- 为会议准备上下文。
12
+ 为会议准备上下文、快速暂存到暂存台、整理暂存台、知识健康检查、检测知识冲突或矛盾、
13
+ 查找过期内容。
12
14
  触发词:帮我记下来、搜一下我的笔记、更新知识库、整理文件、执行工作流、保存到知识库、
13
15
  记录一下、整理笔记、复盘、提炼经验、同步文档、查一下之前的记录、有没有相关的笔记、
14
- 我之前写过什么、把这个存起来、总结一下保存、交接给其他Agent、追加到表格。
15
- English triggers: save, record, search notes, organize, retrospective, handoff, lessons learned.
16
- 当用户的问题暗示可能存在历史记录(过去的决策、之前的讨论、会议纪要)时,
17
- 即使没有明确提到知识库,也应该考虑搜索 MindOS。
16
+ 我之前写过什么、把这个存起来、总结一下保存、交接给其他Agent、追加到表格、
17
+ 放到暂存台、整理暂存台、知识健康检查、检测知识冲突。
18
+ English triggers: save, record, search notes, organize, retrospective, handoff, lessons learned,
19
+ inbox, staging, knowledge health, detect conflicts.
20
+
21
+ 主动行为——不要等用户提到 MindOS:
22
+ (1) 用户的问题暗示可能存在历史记录(过去的决策、之前的讨论、会议纪要)→ 先搜 MindOS,
23
+ 即使没有明确提到知识库。
24
+ (2) 完成有价值的工作后(修了 bug、做了决策、总结了经验、选定了架构、开完了会)→
25
+ 主动提议保存到 MindOS,方便以后查阅。
26
+ (3) 经历了较长或多主题的对话后 → 建议把关键决策和上下文持久化。
18
27
  ---
19
28
 
20
29
  # MindOS 技能
21
30
 
22
- <!-- version: 3.0.0 — CLI 优先,MCP 可选 -->
31
+ <!-- version: 3.2.0 — CLI 优先,MCP 可选 -->
23
32
 
24
33
  ## CLI 命令
25
34
 
@@ -84,6 +93,7 @@ npm install -g @geminilight/mindos
84
93
  - **空间 (Space)** — 按你的思维方式组织的知识分区。Agent 遵循相同结构。
85
94
  - **指令 (Instruction)** — `INSTRUCTION.md`,所有连接的 Agent 都遵守的规则文件。
86
95
  - **技能 (Skill)** — 教 Agent 如何读写和整理知识库。
96
+ - **暂存台 (Inbox)** — `Inbox/` 目录是快速捕获区。内容暂时找不到归属时先放这里,之后再统一整理——用户手动或 AI 辅助批量归类。
87
97
 
88
98
  笔记可以同时承载指令和技能——它们只是目录树中的 Markdown 文件。
89
99
 
@@ -98,9 +108,13 @@ npm install -g @geminilight/mindos
98
108
  │ └─ [只读路径]:搜索 → 读取 → 带引用回答。不写入。
99
109
 
100
110
  ├─ 保存 / 记录 / 更新 / 整理具体内容?
101
- │ ├─ 单文件 → [单文件编辑]
111
+ │ ├─ 知道放哪 → [单文件编辑]
112
+ │ ├─ 不知道放哪 → [暂存台路径] — 存到 Inbox/,之后再归类
102
113
  │ └─ 多文件或不确定 → [多文件路由] — 先出方案
103
114
 
115
+ ├─ 整理暂存台 / 归类暂存文件?
116
+ │ └─ [暂存台整理] — 读 Inbox/ 文件,提议目标位置,获批后移动
117
+
104
118
  ├─ 结构变更(重命名 / 移动 / 删除 / 重组)?
105
119
  │ └─ [结构路径] — 变更前后检查反向链接
106
120
 
@@ -110,6 +124,9 @@ npm install -g @geminilight/mindos
110
124
  ├─ 复盘 / 提炼 / 交接?
111
125
  │ └─ [复盘路径]
112
126
 
127
+ ├─ 知识健康检查 / 检测冲突?
128
+ │ └─ [健康检查路径] — 读取 references/knowledge-health.md
129
+
113
130
  └─ 模糊?
114
131
  └─ 提问。基于知识库状态提出 2-3 个具体选项。
115
132
  ```
@@ -124,8 +141,9 @@ npm install -g @geminilight/mindos
124
141
  - "整理一下" → 先问:仅展示,还是写回知识库?
125
142
 
126
143
  **文件位置不确定:**
127
- - 5 秒内定不了 → 用最近的现有目录,告知用户
128
- - "随便放哪" → 收件箱,之后提议分类
144
+ - 5 秒内定不了 → 存到 `Inbox/`,告知用户,之后提议归类
145
+ - "随便放哪" / "先放着" 存到 `Inbox/`
146
+ - 用户拖拽文件或粘贴非结构化内容但没指定位置 → `Inbox/`
129
147
 
130
148
  **范围蔓延:**
131
149
  - 输入路由到 >5 个文件 → 暂停确认
@@ -158,6 +176,44 @@ npm install -g @geminilight/mindos
158
176
 
159
177
  创建/重写工作流 SOP 时 → 读取 [references/sop-template.md](./references/sop-template.md)。
160
178
 
179
+ ## 暂存台 (Inbox)
180
+
181
+ `Inbox/` 目录是知识库的快速捕获区,有自己的 `INSTRUCTION.md` 约束行为。
182
+
183
+ **何时使用暂存台:**
184
+ - 用户说"先存着" / "放到暂存台" / "随便放哪",没指定具体位置
185
+ - 内容明显不属于任何现有空间或目录
186
+ - 批量导入多个文件,需要逐个归类
187
+
188
+ **如何存到暂存台:**
189
+ ```bash
190
+ mindos file create "Inbox/<文件名>.md" --content "..."
191
+ ```
192
+
193
+ **如何整理暂存台:**
194
+ 1. 列出暂存文件:`mindos file list Inbox/`
195
+ 2. 读取每个文件,理解其内容
196
+ 3. 根据知识库结构,为每个文件提议最佳目标目录
197
+ 4. 向用户展示完整路由方案,获批后执行
198
+ 5. 移动文件:`mindos file rename "Inbox/<文件>" "<目标目录>/<文件>"`
199
+ 6. 移动后检查目标目录的 README 是否需要更新
200
+
201
+ **老化提醒:** Inbox 中超过 7 天的文件视为"老化"。如果在 bootstrap 时发现老化文件,主动提醒:
202
+ "暂存台有 N 个文件已经放了一周以上了,要我帮你整理一下吗?"
203
+
204
+ ## 知识健康检查
205
+
206
+ 用户要求检查知识库健康度、检测冲突、审计质量,或说"知识健康检查" / "检测冲突" / "check knowledge health" 时
207
+ → 读取 [references/knowledge-health.md](./references/knowledge-health.md) 获取完整流程。
208
+
209
+ 检查维度速览:
210
+ - **矛盾/冲突**:同一主题的不同文件说法互相矛盾
211
+ - **断裂链接**:引用了不存在的文件
212
+ - **过期内容**:带有过期日期标记的文件,或超过 6 个月未更新的活跃主题
213
+ - **重复内容**:两个文件覆盖同一主题且没有互相引用
214
+ - **孤立文件**:零反向链接,难以被发现
215
+ - **结构问题**:文件放错目录、缺少 README、暂存台老化文件
216
+
161
217
  ---
162
218
 
163
219
  ## 错误处理(CLI)