@geminilight/mindos 0.6.56 → 0.6.58

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 (424) 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 +21 -19
  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 +8 -8
  10. package/_standalone/.next/routes-manifest.json +12 -0
  11. package/_standalone/.next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
  12. package/_standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  13. package/_standalone/.next/server/app/_global-error.html +2 -2
  14. package/_standalone/.next/server/app/_global-error.rsc +1 -1
  15. package/_standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  16. package/_standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  17. package/_standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  18. package/_standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  19. package/_standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  20. package/_standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/_standalone/.next/server/app/_not-found/page.js +1 -1
  22. package/_standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  23. package/_standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  24. package/_standalone/.next/server/app/agents/[agentKey]/page.js +2 -2
  25. package/_standalone/.next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
  26. package/_standalone/.next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
  27. package/_standalone/.next/server/app/agents/page.js +2 -6
  28. package/_standalone/.next/server/app/agents/page.js.nft.json +1 -1
  29. package/_standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  30. package/_standalone/.next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
  31. package/_standalone/.next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
  32. package/_standalone/.next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
  33. package/_standalone/.next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
  34. package/_standalone/.next/server/app/api/acp/config/route.js +1 -1
  35. package/_standalone/.next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
  36. package/_standalone/.next/server/app/api/acp/detect/route.js +1 -1
  37. package/_standalone/.next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
  38. package/_standalone/.next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
  39. package/_standalone/.next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
  40. package/_standalone/.next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
  41. package/_standalone/.next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
  42. package/_standalone/.next/server/app/api/agents/custom/detect/route.js +1 -0
  43. package/_standalone/.next/server/app/api/agents/custom/detect/route.js.nft.json +1 -0
  44. package/_standalone/.next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -0
  45. package/_standalone/.next/server/app/api/agents/custom/route.js +1 -0
  46. package/_standalone/.next/server/app/api/agents/custom/route.js.nft.json +1 -0
  47. package/_standalone/.next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -0
  48. package/_standalone/.next/server/app/api/ask/route.js +5 -5
  49. package/_standalone/.next/server/app/api/ask/route.js.nft.json +1 -1
  50. package/_standalone/.next/server/app/api/ask/route_client-reference-manifest.js +1 -1
  51. package/_standalone/.next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
  52. package/_standalone/.next/server/app/api/auth/route_client-reference-manifest.js +1 -1
  53. package/_standalone/.next/server/app/api/backlinks/route.js.nft.json +1 -1
  54. package/_standalone/.next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
  55. package/_standalone/.next/server/app/api/bootstrap/route.js.nft.json +1 -1
  56. package/_standalone/.next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
  57. package/_standalone/.next/server/app/api/changes/route.js.nft.json +1 -1
  58. package/_standalone/.next/server/app/api/changes/route_client-reference-manifest.js +1 -1
  59. package/_standalone/.next/server/app/api/export/route.js.nft.json +1 -1
  60. package/_standalone/.next/server/app/api/export/route_client-reference-manifest.js +1 -1
  61. package/_standalone/.next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
  62. package/_standalone/.next/server/app/api/file/import/route.js +1 -1
  63. package/_standalone/.next/server/app/api/file/import/route.js.nft.json +1 -1
  64. package/_standalone/.next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
  65. package/_standalone/.next/server/app/api/file/raw/route.js.nft.json +1 -1
  66. package/_standalone/.next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
  67. package/_standalone/.next/server/app/api/file/route.js.nft.json +1 -1
  68. package/_standalone/.next/server/app/api/file/route_client-reference-manifest.js +1 -1
  69. package/_standalone/.next/server/app/api/files/route.js.nft.json +1 -1
  70. package/_standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
  71. package/_standalone/.next/server/app/api/git/route.js.nft.json +1 -1
  72. package/_standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  73. package/_standalone/.next/server/app/api/graph/route.js.nft.json +1 -1
  74. package/_standalone/.next/server/app/api/graph/route_client-reference-manifest.js +1 -1
  75. package/_standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  76. package/_standalone/.next/server/app/api/inbox/route.js.nft.json +1 -1
  77. package/_standalone/.next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
  78. package/_standalone/.next/server/app/api/init/route.js.nft.json +1 -1
  79. package/_standalone/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  80. package/_standalone/.next/server/app/api/mcp/agents/route.js +1 -1
  81. package/_standalone/.next/server/app/api/mcp/agents/route.js.nft.json +1 -1
  82. package/_standalone/.next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
  83. package/_standalone/.next/server/app/api/mcp/install/route.js +1 -1
  84. package/_standalone/.next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
  85. package/_standalone/.next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
  86. package/_standalone/.next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
  87. package/_standalone/.next/server/app/api/mcp/status/route.js +1 -1
  88. package/_standalone/.next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
  89. package/_standalone/.next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
  90. package/_standalone/.next/server/app/api/monitoring/route.js.nft.json +1 -1
  91. package/_standalone/.next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
  92. package/_standalone/.next/server/app/api/recent-files/route.js.nft.json +1 -1
  93. package/_standalone/.next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
  94. package/_standalone/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  95. package/_standalone/.next/server/app/api/search/route.js.nft.json +1 -1
  96. package/_standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  97. package/_standalone/.next/server/app/api/settings/list-models/route.js +1 -1
  98. package/_standalone/.next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
  99. package/_standalone/.next/server/app/api/settings/reset-token/route.js +1 -1
  100. package/_standalone/.next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
  101. package/_standalone/.next/server/app/api/settings/route.js +1 -1
  102. package/_standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
  103. package/_standalone/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  104. package/_standalone/.next/server/app/api/settings/test-key/route.js +1 -1
  105. package/_standalone/.next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
  106. package/_standalone/.next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
  107. package/_standalone/.next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
  108. package/_standalone/.next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
  109. package/_standalone/.next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
  110. package/_standalone/.next/server/app/api/setup/route.js +1 -1
  111. package/_standalone/.next/server/app/api/setup/route_client-reference-manifest.js +1 -1
  112. package/_standalone/.next/server/app/api/skills/route.js +1 -1
  113. package/_standalone/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  114. package/_standalone/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  115. package/_standalone/.next/server/app/api/tree-version/route.js.nft.json +1 -1
  116. package/_standalone/.next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
  117. package/_standalone/.next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
  118. package/_standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
  119. package/_standalone/.next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
  120. package/_standalone/.next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
  121. package/_standalone/.next/server/app/api/workflows/route.js.nft.json +1 -1
  122. package/_standalone/.next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
  123. package/_standalone/.next/server/app/changes/page.js +2 -2
  124. package/_standalone/.next/server/app/changes/page.js.nft.json +1 -1
  125. package/_standalone/.next/server/app/changes/page_client-reference-manifest.js +1 -1
  126. package/_standalone/.next/server/app/echo/[segment]/page.js +1 -1
  127. package/_standalone/.next/server/app/echo/[segment]/page.js.nft.json +1 -1
  128. package/_standalone/.next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
  129. package/_standalone/.next/server/app/echo/page.js +1 -1
  130. package/_standalone/.next/server/app/echo/page.js.nft.json +1 -1
  131. package/_standalone/.next/server/app/echo/page_client-reference-manifest.js +1 -1
  132. package/_standalone/.next/server/app/explore/page.js +2 -2
  133. package/_standalone/.next/server/app/explore/page.js.nft.json +1 -1
  134. package/_standalone/.next/server/app/explore/page_client-reference-manifest.js +1 -1
  135. package/_standalone/.next/server/app/help/page.js +2 -2
  136. package/_standalone/.next/server/app/help/page.js.nft.json +1 -1
  137. package/_standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
  138. package/_standalone/.next/server/app/inbox/history/page.js +1 -1
  139. package/_standalone/.next/server/app/inbox/history/page.js.nft.json +1 -1
  140. package/_standalone/.next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
  141. package/_standalone/.next/server/app/login/page.js +1 -1
  142. package/_standalone/.next/server/app/login/page.js.nft.json +1 -1
  143. package/_standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  144. package/_standalone/.next/server/app/page.js +1 -1
  145. package/_standalone/.next/server/app/page.js.nft.json +1 -1
  146. package/_standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  147. package/_standalone/.next/server/app/setup/page.js +2 -2
  148. package/_standalone/.next/server/app/setup/page.js.nft.json +1 -1
  149. package/_standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  150. package/_standalone/.next/server/app/trash/page.js +3 -3
  151. package/_standalone/.next/server/app/trash/page.js.nft.json +1 -1
  152. package/_standalone/.next/server/app/trash/page_client-reference-manifest.js +1 -1
  153. package/_standalone/.next/server/app/view/[...path]/page.js +3 -3
  154. package/_standalone/.next/server/app/view/[...path]/page.js.nft.json +1 -1
  155. package/_standalone/.next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
  156. package/_standalone/.next/server/app/wiki/page.js +1 -1
  157. package/_standalone/.next/server/app/wiki/page.js.nft.json +1 -1
  158. package/_standalone/.next/server/app/wiki/page_client-reference-manifest.js +1 -1
  159. package/_standalone/.next/server/app-paths-manifest.json +21 -19
  160. package/_standalone/.next/server/chunks/1550.js +1 -1
  161. package/_standalone/.next/server/chunks/1750.js +1 -1
  162. package/_standalone/.next/server/chunks/{2190.js → 3484.js} +1 -1
  163. package/_standalone/.next/server/chunks/530.js +30 -30
  164. package/_standalone/.next/server/chunks/6539.js +1 -1
  165. package/_standalone/.next/server/chunks/6793.js +52 -0
  166. package/_standalone/.next/server/chunks/8388.js +3 -3
  167. package/_standalone/.next/server/chunks/953.js +2 -2
  168. package/_standalone/.next/server/middleware-build-manifest.js +1 -1
  169. package/_standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  170. package/_standalone/.next/server/pages/500.html +2 -2
  171. package/_standalone/.next/server/server-reference-manifest.js +1 -1
  172. package/_standalone/.next/server/server-reference-manifest.json +1 -1
  173. package/_standalone/.next/static/2ksXveDzEcnCMRIElDkLq/_buildManifest.js +1 -0
  174. package/_standalone/.next/static/chunks/1053-fe009233cff06e72.js +29 -0
  175. package/_standalone/.next/static/chunks/1477.33df3cce509578c2.js +1 -0
  176. package/_standalone/.next/static/chunks/{1814.b08e9fb85dd3b13c.js → 1814.a7c127b2c73d1f70.js} +1 -1
  177. package/_standalone/.next/static/chunks/2549-e63cf57fa927a41d.js +1 -0
  178. package/_standalone/.next/static/chunks/{1007.c11404e50b39d165.js → 2647.e0b67d0c432ad7e7.js} +10 -10
  179. package/_standalone/.next/static/chunks/{2872.c8c8593be1ba4735.js → 2872.045858d00bd8307f.js} +2 -2
  180. package/_standalone/.next/static/chunks/362.3978790a2e636c3c.js +2 -0
  181. package/_standalone/.next/static/chunks/3637.38c4f28d8f698e0e.js +1 -0
  182. package/_standalone/.next/static/chunks/54a60aa6.7a74f547ec1bdd5a.js +79 -0
  183. package/_standalone/.next/static/chunks/6087.4b6102dc0bcd07a7.js +1 -0
  184. package/_standalone/.next/static/chunks/6878-e2c5459e1c608f89.js +1 -0
  185. package/_standalone/.next/static/chunks/7249-fa98ca10e9a10f39.js +11 -0
  186. package/_standalone/.next/static/chunks/8252-e5ae7ced3a41e0ed.js +1 -0
  187. package/_standalone/.next/static/chunks/{8753-ea9db680b0f70f25.js → 8658-16ff58b75ae37fbb.js} +1 -1
  188. package/_standalone/.next/static/chunks/{7322-d67d05067544864c.js → 9274-296ab35f9f09e42e.js} +1 -1
  189. package/_standalone/.next/static/chunks/app/.well-known/agent-card.json/route-2f4705aa66819b86.js +1 -0
  190. package/_standalone/.next/static/chunks/app/_global-error/page-2f4705aa66819b86.js +1 -0
  191. package/_standalone/.next/static/chunks/app/agents/[agentKey]/page-7bdeab5af8e4f5f2.js +1 -0
  192. package/_standalone/.next/static/chunks/app/agents/page-5d1446665ddb3801.js +1 -0
  193. package/_standalone/.next/static/chunks/app/api/a2a/agents/route-2f4705aa66819b86.js +1 -0
  194. package/_standalone/.next/static/chunks/app/api/a2a/delegations/route-2f4705aa66819b86.js +1 -0
  195. package/_standalone/.next/static/chunks/app/api/a2a/discover/route-2f4705aa66819b86.js +1 -0
  196. package/_standalone/.next/static/chunks/app/api/a2a/route-2f4705aa66819b86.js +1 -0
  197. package/_standalone/.next/static/chunks/app/api/acp/config/route-2f4705aa66819b86.js +1 -0
  198. package/_standalone/.next/static/chunks/app/api/acp/detect/route-2f4705aa66819b86.js +1 -0
  199. package/_standalone/.next/static/chunks/app/api/acp/install/route-2f4705aa66819b86.js +1 -0
  200. package/_standalone/.next/static/chunks/app/api/acp/registry/route-2f4705aa66819b86.js +1 -0
  201. package/_standalone/.next/static/chunks/app/api/acp/session/route-2f4705aa66819b86.js +1 -0
  202. package/_standalone/.next/static/chunks/app/api/agent-activity/route-2f4705aa66819b86.js +1 -0
  203. package/_standalone/.next/static/chunks/app/api/agents/custom/detect/route-2f4705aa66819b86.js +1 -0
  204. package/_standalone/.next/static/chunks/app/api/agents/custom/route-2f4705aa66819b86.js +1 -0
  205. package/_standalone/.next/static/chunks/app/api/ask/route-2f4705aa66819b86.js +1 -0
  206. package/_standalone/.next/static/chunks/app/api/ask-sessions/route-2f4705aa66819b86.js +1 -0
  207. package/_standalone/.next/static/chunks/app/api/auth/route-2f4705aa66819b86.js +1 -0
  208. package/_standalone/.next/static/chunks/app/api/backlinks/route-2f4705aa66819b86.js +1 -0
  209. package/_standalone/.next/static/chunks/app/api/bootstrap/route-2f4705aa66819b86.js +1 -0
  210. package/_standalone/.next/static/chunks/app/api/changes/route-2f4705aa66819b86.js +1 -0
  211. package/_standalone/.next/static/chunks/app/api/export/route-2f4705aa66819b86.js +1 -0
  212. package/_standalone/.next/static/chunks/app/api/extract-pdf/route-2f4705aa66819b86.js +1 -0
  213. package/_standalone/.next/static/chunks/app/api/file/import/route-2f4705aa66819b86.js +1 -0
  214. package/_standalone/.next/static/chunks/app/api/file/raw/route-2f4705aa66819b86.js +1 -0
  215. package/_standalone/.next/static/chunks/app/api/file/route-2f4705aa66819b86.js +1 -0
  216. package/_standalone/.next/static/chunks/app/api/files/route-2f4705aa66819b86.js +1 -0
  217. package/_standalone/.next/static/chunks/app/api/git/route-2f4705aa66819b86.js +1 -0
  218. package/_standalone/.next/static/chunks/app/api/graph/route-2f4705aa66819b86.js +1 -0
  219. package/_standalone/.next/static/chunks/app/api/health/route-2f4705aa66819b86.js +1 -0
  220. package/_standalone/.next/static/chunks/app/api/inbox/route-2f4705aa66819b86.js +1 -0
  221. package/_standalone/.next/static/chunks/app/api/init/route-2f4705aa66819b86.js +1 -0
  222. package/_standalone/.next/static/chunks/app/api/mcp/agents/route-2f4705aa66819b86.js +1 -0
  223. package/_standalone/.next/static/chunks/app/api/mcp/install/route-2f4705aa66819b86.js +1 -0
  224. package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-2f4705aa66819b86.js +1 -0
  225. package/_standalone/.next/static/chunks/app/api/mcp/restart/route-2f4705aa66819b86.js +1 -0
  226. package/_standalone/.next/static/chunks/app/api/mcp/status/route-2f4705aa66819b86.js +1 -0
  227. package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-2f4705aa66819b86.js +1 -0
  228. package/_standalone/.next/static/chunks/app/api/monitoring/route-2f4705aa66819b86.js +1 -0
  229. package/_standalone/.next/static/chunks/app/api/recent-files/route-2f4705aa66819b86.js +1 -0
  230. package/_standalone/.next/static/chunks/app/api/restart/route-2f4705aa66819b86.js +1 -0
  231. package/_standalone/.next/static/chunks/app/api/search/route-2f4705aa66819b86.js +1 -0
  232. package/_standalone/.next/static/chunks/app/api/settings/list-models/route-2f4705aa66819b86.js +1 -0
  233. package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-2f4705aa66819b86.js +1 -0
  234. package/_standalone/.next/static/chunks/app/api/settings/route-2f4705aa66819b86.js +1 -0
  235. package/_standalone/.next/static/chunks/app/api/settings/test-key/route-2f4705aa66819b86.js +1 -0
  236. package/_standalone/.next/static/chunks/app/api/setup/check-path/route-2f4705aa66819b86.js +1 -0
  237. package/_standalone/.next/static/chunks/app/api/setup/check-port/route-2f4705aa66819b86.js +1 -0
  238. package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-2f4705aa66819b86.js +1 -0
  239. package/_standalone/.next/static/chunks/app/api/setup/ls/route-2f4705aa66819b86.js +1 -0
  240. package/_standalone/.next/static/chunks/app/api/setup/route-2f4705aa66819b86.js +1 -0
  241. package/_standalone/.next/static/chunks/app/api/skills/route-2f4705aa66819b86.js +1 -0
  242. package/_standalone/.next/static/chunks/app/api/sync/route-2f4705aa66819b86.js +1 -0
  243. package/_standalone/.next/static/chunks/app/api/tree-version/route-2f4705aa66819b86.js +1 -0
  244. package/_standalone/.next/static/chunks/app/api/uninstall/route-2f4705aa66819b86.js +1 -0
  245. package/_standalone/.next/static/chunks/app/api/update/route-2f4705aa66819b86.js +1 -0
  246. package/_standalone/.next/static/chunks/app/api/update-check/route-2f4705aa66819b86.js +1 -0
  247. package/_standalone/.next/static/chunks/app/api/update-status/route-2f4705aa66819b86.js +1 -0
  248. package/_standalone/.next/static/chunks/app/api/workflows/route-2f4705aa66819b86.js +1 -0
  249. package/_standalone/.next/static/chunks/app/echo/[segment]/{page-6710da1f581b2854.js → page-b0103509ce34444b.js} +4 -4
  250. package/_standalone/.next/static/chunks/app/echo/page-2f4705aa66819b86.js +1 -0
  251. package/_standalone/.next/static/chunks/app/{layout-d5f28933c5e14d74.js → layout-7e02ddf4144b01f1.js} +11 -11
  252. package/_standalone/.next/static/chunks/app/loading-2f4705aa66819b86.js +1 -0
  253. package/_standalone/.next/static/chunks/app/page-6a6a12bd6d6812d0.js +7 -0
  254. package/_standalone/.next/static/chunks/app/setup/{page-9a81fa4d82c6351b.js → page-99fcfc460fa29733.js} +1 -1
  255. package/_standalone/.next/static/chunks/app/trash/page-54cbd5c98d9de69b.js +1 -0
  256. package/_standalone/.next/static/chunks/app/view/[...path]/loading-2f4705aa66819b86.js +1 -0
  257. package/_standalone/.next/static/chunks/app/view/[...path]/page-ca7bdcbf27f88a46.js +12 -0
  258. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-2f4705aa66819b86.js +1 -0
  259. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-2f4705aa66819b86.js +1 -0
  260. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-2f4705aa66819b86.js +1 -0
  261. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2f4705aa66819b86.js +1 -0
  262. package/_standalone/.next/static/chunks/webpack-2c19436659aa657b.js +1 -0
  263. package/_standalone/.next/static/css/fd84c8316ead16eb.css +1 -0
  264. package/_standalone/.next/trace +64 -64
  265. package/_standalone/.next/types/routes.d.ts +3 -1
  266. package/_standalone/.next/types/validator.ts +18 -0
  267. package/_standalone/__tests__/api/mcp-install.test.ts +3 -2
  268. package/_standalone/__tests__/ask/non-streaming-api.test.ts +281 -0
  269. package/_standalone/__tests__/core/skill-install-logic.test.ts +1 -0
  270. package/_standalone/components/Editor.tsx +124 -6
  271. package/_standalone/components/MarkdownView.tsx +3 -1
  272. package/_standalone/components/WysiwygEditor.tsx +90 -0
  273. package/_standalone/components/agents/AgentsOverviewSection.tsx +100 -8
  274. package/_standalone/components/agents/CustomAgentModal.tsx +637 -0
  275. package/_standalone/components/settings/types.ts +4 -0
  276. package/_standalone/data/skills/mindos/SKILL.md +14 -9
  277. package/_standalone/data/skills/mindos-zh/SKILL.md +13 -4
  278. package/_standalone/hooks/useEditorImageUpload.ts +113 -0
  279. package/_standalone/lib/image.ts +47 -0
  280. package/_standalone/tsconfig.tsbuildinfo +1 -1
  281. package/app/app/api/agents/custom/detect/route.ts +31 -0
  282. package/app/app/api/agents/custom/route.ts +158 -0
  283. package/app/app/api/ask/route.ts +171 -10
  284. package/app/app/api/file/import/route.ts +42 -0
  285. package/app/app/api/mcp/agents/route.ts +62 -8
  286. package/app/app/api/settings/list-models/route.ts +16 -2
  287. package/app/app/api/settings/route.ts +9 -0
  288. package/app/app/api/settings/test-key/route.ts +13 -1
  289. package/app/components/Editor.tsx +124 -6
  290. package/app/components/MarkdownView.tsx +3 -1
  291. package/app/components/WysiwygEditor.tsx +90 -0
  292. package/app/components/agents/AgentDetailContent.tsx +74 -1
  293. package/app/components/agents/AgentsContentPage.tsx +76 -1
  294. package/app/components/agents/AgentsOverviewSection.tsx +100 -8
  295. package/app/components/agents/CustomAgentModal.tsx +637 -0
  296. package/app/components/settings/types.ts +4 -0
  297. package/app/data/skills/mindos/SKILL.md +14 -9
  298. package/app/data/skills/mindos-zh/SKILL.md +13 -4
  299. package/app/hooks/useEditorImageUpload.ts +113 -0
  300. package/app/lib/agent/model.ts +7 -1
  301. package/app/lib/agent/providers.ts +31 -6
  302. package/app/lib/core/organize.ts +1 -1
  303. package/app/lib/core/tree.ts +1 -1
  304. package/app/lib/custom-agents.ts +322 -0
  305. package/app/lib/fs.ts +1 -1
  306. package/app/lib/i18n/modules/panels.ts +104 -0
  307. package/app/lib/image.ts +47 -0
  308. package/app/lib/mcp-agents.ts +10 -0
  309. package/app/lib/settings.ts +4 -0
  310. package/bin/commands/start.js +5 -4
  311. package/bin/commands/update.js +6 -2
  312. package/bin/lib/gateway.js +6 -2
  313. package/bin/lib/mcp-agents.js +10 -0
  314. package/mcp/dist/index.cjs +1 -1
  315. package/mcp/src/index.ts +6 -1
  316. package/package.json +1 -1
  317. package/skills/mindos/SKILL.md +10 -4
  318. package/skills/mindos-max/SKILL.md +191 -0
  319. package/skills/mindos-max-workspace/evals/evals.json +23 -0
  320. package/skills/mindos-max-workspace/iteration-1/capture-debugging-experience-en/eval_metadata.json +11 -0
  321. package/skills/mindos-max-workspace/iteration-1/capture-debugging-experience-en/old_skill/grading.json +28 -0
  322. package/skills/mindos-max-workspace/iteration-1/capture-debugging-experience-en/old_skill/outputs/transcript.md +203 -0
  323. package/skills/mindos-max-workspace/iteration-1/capture-debugging-experience-en/with_skill/grading.json +28 -0
  324. package/skills/mindos-max-workspace/iteration-1/capture-debugging-experience-en/with_skill/outputs/transcript.md +271 -0
  325. package/skills/mindos-max-workspace/iteration-1/save-meeting-decision-zh/eval_metadata.json +11 -0
  326. package/skills/mindos-max-workspace/iteration-1/save-meeting-decision-zh/old_skill/grading.json +28 -0
  327. package/skills/mindos-max-workspace/iteration-1/save-meeting-decision-zh/old_skill/outputs/transcript.md +121 -0
  328. package/skills/mindos-max-workspace/iteration-1/save-meeting-decision-zh/with_skill/grading.json +28 -0
  329. package/skills/mindos-max-workspace/iteration-1/save-meeting-decision-zh/with_skill/outputs/transcript.md +168 -0
  330. package/skills/mindos-max-workspace/iteration-1/search-past-decision-zh/eval_metadata.json +11 -0
  331. package/skills/mindos-max-workspace/iteration-1/search-past-decision-zh/old_skill/grading.json +28 -0
  332. package/skills/mindos-max-workspace/iteration-1/search-past-decision-zh/old_skill/outputs/transcript.md +143 -0
  333. package/skills/mindos-max-workspace/iteration-1/search-past-decision-zh/with_skill/grading.json +28 -0
  334. package/skills/mindos-max-workspace/iteration-1/search-past-decision-zh/with_skill/outputs/transcript.md +233 -0
  335. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/SKILL.md +165 -0
  336. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/references/README.md +12 -0
  337. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/references/post-task-hooks.md +27 -0
  338. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/references/preference-capture.md +41 -0
  339. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/references/sop-template.md +74 -0
  340. package/skills/mindos-max-workspace/skill-snapshot/mindos-original/references/write-supplement.md +119 -0
  341. package/skills/mindos-max-zh/SKILL.md +192 -0
  342. package/skills/mindos-zh/SKILL.md +11 -3
  343. package/_standalone/.next/server/chunks/7543.js +0 -52
  344. package/_standalone/.next/static/3gMJ8EaZfDgHmB0NR0Q4T/_buildManifest.js +0 -1
  345. package/_standalone/.next/static/chunks/1053-2874859f7caefa0f.js +0 -29
  346. package/_standalone/.next/static/chunks/1880-7abf971bcfd2389b.js +0 -11
  347. package/_standalone/.next/static/chunks/254-32719a9bea2e74f0.js +0 -1
  348. package/_standalone/.next/static/chunks/362.a77be2f206db7b19.js +0 -1
  349. package/_standalone/.next/static/chunks/3637.0541ac2d0ea7de1f.js +0 -1
  350. package/_standalone/.next/static/chunks/54a60aa6.b97ba5e6900c089b.js +0 -79
  351. package/_standalone/.next/static/chunks/6087.0c32d26d0262c8e7.js +0 -1
  352. package/_standalone/.next/static/chunks/7035-2af69391c7b1ad95.js +0 -1
  353. package/_standalone/.next/static/chunks/8131.5e0bdb36bb91f212.js +0 -1
  354. package/_standalone/.next/static/chunks/app/.well-known/agent-card.json/route-e240db6d5049d336.js +0 -1
  355. package/_standalone/.next/static/chunks/app/_global-error/page-e240db6d5049d336.js +0 -1
  356. package/_standalone/.next/static/chunks/app/agents/[agentKey]/page-f006a70f6889eb56.js +0 -1
  357. package/_standalone/.next/static/chunks/app/agents/page-bd522e428e3acb78.js +0 -5
  358. package/_standalone/.next/static/chunks/app/api/a2a/agents/route-e240db6d5049d336.js +0 -1
  359. package/_standalone/.next/static/chunks/app/api/a2a/delegations/route-e240db6d5049d336.js +0 -1
  360. package/_standalone/.next/static/chunks/app/api/a2a/discover/route-e240db6d5049d336.js +0 -1
  361. package/_standalone/.next/static/chunks/app/api/a2a/route-e240db6d5049d336.js +0 -1
  362. package/_standalone/.next/static/chunks/app/api/acp/config/route-e240db6d5049d336.js +0 -1
  363. package/_standalone/.next/static/chunks/app/api/acp/detect/route-e240db6d5049d336.js +0 -1
  364. package/_standalone/.next/static/chunks/app/api/acp/install/route-e240db6d5049d336.js +0 -1
  365. package/_standalone/.next/static/chunks/app/api/acp/registry/route-e240db6d5049d336.js +0 -1
  366. package/_standalone/.next/static/chunks/app/api/acp/session/route-e240db6d5049d336.js +0 -1
  367. package/_standalone/.next/static/chunks/app/api/agent-activity/route-e240db6d5049d336.js +0 -1
  368. package/_standalone/.next/static/chunks/app/api/ask/route-e240db6d5049d336.js +0 -1
  369. package/_standalone/.next/static/chunks/app/api/ask-sessions/route-e240db6d5049d336.js +0 -1
  370. package/_standalone/.next/static/chunks/app/api/auth/route-e240db6d5049d336.js +0 -1
  371. package/_standalone/.next/static/chunks/app/api/backlinks/route-e240db6d5049d336.js +0 -1
  372. package/_standalone/.next/static/chunks/app/api/bootstrap/route-e240db6d5049d336.js +0 -1
  373. package/_standalone/.next/static/chunks/app/api/changes/route-e240db6d5049d336.js +0 -1
  374. package/_standalone/.next/static/chunks/app/api/export/route-e240db6d5049d336.js +0 -1
  375. package/_standalone/.next/static/chunks/app/api/extract-pdf/route-e240db6d5049d336.js +0 -1
  376. package/_standalone/.next/static/chunks/app/api/file/import/route-e240db6d5049d336.js +0 -1
  377. package/_standalone/.next/static/chunks/app/api/file/raw/route-e240db6d5049d336.js +0 -1
  378. package/_standalone/.next/static/chunks/app/api/file/route-e240db6d5049d336.js +0 -1
  379. package/_standalone/.next/static/chunks/app/api/files/route-e240db6d5049d336.js +0 -1
  380. package/_standalone/.next/static/chunks/app/api/git/route-e240db6d5049d336.js +0 -1
  381. package/_standalone/.next/static/chunks/app/api/graph/route-e240db6d5049d336.js +0 -1
  382. package/_standalone/.next/static/chunks/app/api/health/route-e240db6d5049d336.js +0 -1
  383. package/_standalone/.next/static/chunks/app/api/inbox/route-e240db6d5049d336.js +0 -1
  384. package/_standalone/.next/static/chunks/app/api/init/route-e240db6d5049d336.js +0 -1
  385. package/_standalone/.next/static/chunks/app/api/mcp/agents/route-e240db6d5049d336.js +0 -1
  386. package/_standalone/.next/static/chunks/app/api/mcp/install/route-e240db6d5049d336.js +0 -1
  387. package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-e240db6d5049d336.js +0 -1
  388. package/_standalone/.next/static/chunks/app/api/mcp/restart/route-e240db6d5049d336.js +0 -1
  389. package/_standalone/.next/static/chunks/app/api/mcp/status/route-e240db6d5049d336.js +0 -1
  390. package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-e240db6d5049d336.js +0 -1
  391. package/_standalone/.next/static/chunks/app/api/monitoring/route-e240db6d5049d336.js +0 -1
  392. package/_standalone/.next/static/chunks/app/api/recent-files/route-e240db6d5049d336.js +0 -1
  393. package/_standalone/.next/static/chunks/app/api/restart/route-e240db6d5049d336.js +0 -1
  394. package/_standalone/.next/static/chunks/app/api/search/route-e240db6d5049d336.js +0 -1
  395. package/_standalone/.next/static/chunks/app/api/settings/list-models/route-e240db6d5049d336.js +0 -1
  396. package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-e240db6d5049d336.js +0 -1
  397. package/_standalone/.next/static/chunks/app/api/settings/route-e240db6d5049d336.js +0 -1
  398. package/_standalone/.next/static/chunks/app/api/settings/test-key/route-e240db6d5049d336.js +0 -1
  399. package/_standalone/.next/static/chunks/app/api/setup/check-path/route-e240db6d5049d336.js +0 -1
  400. package/_standalone/.next/static/chunks/app/api/setup/check-port/route-e240db6d5049d336.js +0 -1
  401. package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-e240db6d5049d336.js +0 -1
  402. package/_standalone/.next/static/chunks/app/api/setup/ls/route-e240db6d5049d336.js +0 -1
  403. package/_standalone/.next/static/chunks/app/api/setup/route-e240db6d5049d336.js +0 -1
  404. package/_standalone/.next/static/chunks/app/api/skills/route-e240db6d5049d336.js +0 -1
  405. package/_standalone/.next/static/chunks/app/api/sync/route-e240db6d5049d336.js +0 -1
  406. package/_standalone/.next/static/chunks/app/api/tree-version/route-e240db6d5049d336.js +0 -1
  407. package/_standalone/.next/static/chunks/app/api/uninstall/route-e240db6d5049d336.js +0 -1
  408. package/_standalone/.next/static/chunks/app/api/update/route-e240db6d5049d336.js +0 -1
  409. package/_standalone/.next/static/chunks/app/api/update-check/route-e240db6d5049d336.js +0 -1
  410. package/_standalone/.next/static/chunks/app/api/update-status/route-e240db6d5049d336.js +0 -1
  411. package/_standalone/.next/static/chunks/app/api/workflows/route-e240db6d5049d336.js +0 -1
  412. package/_standalone/.next/static/chunks/app/echo/page-e240db6d5049d336.js +0 -1
  413. package/_standalone/.next/static/chunks/app/loading-e240db6d5049d336.js +0 -1
  414. package/_standalone/.next/static/chunks/app/page-45140253e07a135a.js +0 -7
  415. package/_standalone/.next/static/chunks/app/trash/page-c7f14311f040009e.js +0 -1
  416. package/_standalone/.next/static/chunks/app/view/[...path]/loading-e240db6d5049d336.js +0 -1
  417. package/_standalone/.next/static/chunks/app/view/[...path]/page-62cfae628e31d411.js +0 -12
  418. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-e240db6d5049d336.js +0 -1
  419. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-e240db6d5049d336.js +0 -1
  420. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-e240db6d5049d336.js +0 -1
  421. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e240db6d5049d336.js +0 -1
  422. package/_standalone/.next/static/chunks/webpack-521ae5a2ddf0e396.js +0 -1
  423. package/_standalone/.next/static/css/66f8a81e4eda06d4.css +0 -1
  424. /package/_standalone/.next/static/{3gMJ8EaZfDgHmB0NR0Q4T → 2ksXveDzEcnCMRIElDkLq}/_ssgManifest.js +0 -0
@@ -0,0 +1,165 @@
1
+ ---
2
+ name: mindos
3
+ description: >
4
+ Operate a MindOS knowledge base: update notes, search, organize files, execute SOPs/workflows,
5
+ retrospective, append CSV, cross-agent handoff, route unstructured input to the right files,
6
+ distill experience, sync related docs.
7
+ Use when the task targets files inside the user's MindOS KB (mindRoot).
8
+ NOT for editing app source, project docs, or paths outside the KB.
9
+ Core concepts: Space, Instruction (INSTRUCTION.md), Skill (SKILL.md); notes can embody both.
10
+ Trigger when user asks to: save or record a note, search their knowledge base, update or edit
11
+ a file, organize notes, run a workflow or SOP, capture decisions from a session, append rows
12
+ to a table or CSV, hand off context to another agent.
13
+ ---
14
+
15
+ # MindOS Skill
16
+
17
+ <!-- version: 3.0.0 — CLI-first, MCP optional -->
18
+
19
+ ## CLI commands
20
+
21
+ Use `mindos file <subcommand>` for all knowledge base operations. Add `--json` for structured output.
22
+
23
+ | Operation | Command |
24
+ |-----------|---------|
25
+ | List files | `mindos file list` |
26
+ | Read file | `mindos file read <path>` |
27
+ | Write/overwrite | `mindos file write <path> --content "..."` |
28
+ | Create new file | `mindos file create <path> --content "..."` |
29
+ | Append to file | `mindos file append <path> --content "..."` |
30
+ | Edit section | `mindos file edit-section <path> -H "## Heading" --content "..."` |
31
+ | Insert after heading | `mindos file insert-heading <path> -H "## Heading" --content "..."` |
32
+ | Append CSV row | `mindos file append-csv <path> --row "col1,col2,col3"` |
33
+ | Delete file | `mindos file delete <path>` |
34
+ | Rename/move | `mindos file rename <old> <new>` |
35
+ | Search | `mindos search "query"` |
36
+ | Backlinks | `mindos file backlinks <path>` |
37
+ | Recent files | `mindos file recent --limit 10` |
38
+ | Git history | `mindos file history <path>` |
39
+ | List spaces | `mindos space list` |
40
+ | Create space | `mindos space create "name"` |
41
+
42
+ > **MCP users:** If you only have MCP tools (`mindos_*`), use them directly — they are self-describing via their schemas. Prefer CLI when available (lower token cost).
43
+
44
+ ### CLI setup
45
+
46
+ ```bash
47
+ npm install -g @geminilight/mindos
48
+ # Remote mode: mindos config set url http://<IP>:<PORT> && mindos config set authToken <token>
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Rules
54
+
55
+ 1. **Bootstrap first** — list the KB tree to understand structure before searching or writing.
56
+ 2. **Default to read-only.** Only write when the user explicitly asks to save, record, organize, or edit. Lookup / summarize / quote = no writes.
57
+ 3. **Rule precedence** (highest wins): user's current-turn instruction → `.mindos/user-preferences.md` → nearest directory `INSTRUCTION.md` → root `INSTRUCTION.md` → this SKILL's defaults.
58
+ 4. **Multi-file edits require a plan first.** Present the full change list; execute only after approval.
59
+ 5. After create/delete/move/rename → **sync affected READMEs** automatically.
60
+ 6. **Read before write.** Always read a file before overwriting it. Never write based on assumptions.
61
+
62
+ ---
63
+
64
+ ## NEVER do (hard-won pitfalls)
65
+
66
+ - **NEVER write to the KB root** unless explicitly told. Root is for governance files only. New content goes under the most fitting subdirectory.
67
+ - **NEVER assume directory names.** Infer from the actual bootstrap tree — the KB may use Chinese names or flat layout.
68
+ - **NEVER use full-file overwrite for a small edit.** Use `mindos file edit-section` or `mindos file insert-heading` for targeted changes. Full rewrites destroy git diffs.
69
+ - **NEVER search with a single keyword.** Fire 2-4 parallel searches (synonyms, abbreviations, Chinese/English variants).
70
+ - **NEVER modify `INSTRUCTION.md` or `README.md` without confirmation.** Governance docs — treat as high-sensitivity.
71
+ - **NEVER create a file without checking siblings.** Read 1-2 files in the target directory to learn local style.
72
+ - **NEVER leave orphan references.** After rename/move, check backlinks and update every referring file.
73
+ - **NEVER skip routing confirmation for multi-file writes.** The user's mental model may differ from yours.
74
+
75
+ ---
76
+
77
+ ## MindOS concepts
78
+
79
+ - **Space** — Knowledge partitions organized the way you think. Agents follow the same structure.
80
+ - **Instruction** — A rules file (`INSTRUCTION.md`) all connected agents obey.
81
+ - **Skill** — Teaches agents how to read, write, and organize the KB.
82
+
83
+ Notes can embody both Instruction and Skill — they're just Markdown files in the tree.
84
+
85
+ ---
86
+
87
+ ## Decision tree
88
+
89
+ ```
90
+ User request
91
+
92
+ ├─ Lookup / summarize / quote?
93
+ │ └─ [Read-only]: search → read → answer with citations. No writes.
94
+
95
+ ├─ Save / record / update / organize specific content?
96
+ │ ├─ Single file → [Single-file edit]
97
+ │ └─ Multiple files or unclear → [Multi-file routing] — plan first
98
+
99
+ ├─ Structural change (rename / move / delete / reorganize)?
100
+ │ └─ [Structural path] — check backlinks before and after
101
+
102
+ ├─ Procedural / repeatable task?
103
+ │ └─ [SOP path] — find and follow existing SOP, or create one
104
+
105
+ ├─ Retrospective / distill / handoff?
106
+ │ └─ [Retrospective path]
107
+
108
+ └─ Ambiguous?
109
+ └─ ASK. Propose 2-3 specific options based on KB state.
110
+ ```
111
+
112
+ ---
113
+
114
+ ## Judgment heuristics
115
+
116
+ **Save intent boundary:**
117
+ - "save this" / "record" / "write down" = write
118
+ - "search" / "summarize" / "look up" = read-only
119
+ - "organize" → ask: display only, or write back?
120
+
121
+ **File location uncertainty:**
122
+ - Can't decide in 5 seconds → use nearest existing directory, inform user
123
+ - "Just put it somewhere" → inbox, propose classification after
124
+
125
+ **Scope creep:**
126
+ - Input routes to >5 files → pause, confirm scope
127
+ - "Update all of these" spanning multiple topics → split into batches
128
+
129
+ **Citation:** KB-cited facts must include the file path.
130
+
131
+ ---
132
+
133
+ ## Post-task hooks
134
+
135
+ After write tasks (not simple reads), scan this table. At most 1 proposal; highest priority wins. Check `.mindos/user-preferences.md` suppression first.
136
+
137
+ | Hook | Priority | Condition |
138
+ |------|----------|-----------|
139
+ | Experience capture | high | Debugging, troubleshooting, or multi-round work |
140
+ | Consistency sync | high | Edited file with backlinks |
141
+ | SOP drift | medium | Followed SOP but diverged |
142
+ | Linked update | medium | Changed CSV/TODO status with related docs |
143
+ | Structure classification | medium | Created file in inbox/temp location |
144
+ | Pattern extraction | low | 3+ similar operations this session |
145
+
146
+ If a hook triggers → read [references/post-task-hooks.md](./references/post-task-hooks.md).
147
+
148
+ ## Preference capture
149
+
150
+ When user expresses a standing preference → read [references/preference-capture.md](./references/preference-capture.md) and follow confirm-then-write flow.
151
+
152
+ ## SOP authoring
153
+
154
+ When creating/rewriting an SOP → read [references/sop-template.md](./references/sop-template.md).
155
+
156
+ ---
157
+
158
+ ## Error handling (CLI)
159
+
160
+ ```bash
161
+ "command not found: mindos" → npm install -g @geminilight/mindos
162
+ "Mind root not configured" → mindos onboard
163
+ "401 Unauthorized" → Check AUTH_TOKEN: mindos token (on server)
164
+ "ECONNREFUSED" → Start server: mindos start
165
+ ```
@@ -0,0 +1,12 @@
1
+ # MindOS skill — reference bundle
2
+
3
+ Long-form supplements for `../SKILL.md`. Load a file only when the task needs it.
4
+
5
+ | File | When to read |
6
+ |------|----------------|
7
+ | [write-supplement.md](./write-supplement.md) | Any write / SOP / structural task (startup protocol + execution steps) |
8
+ | [post-task-hooks.md](./post-task-hooks.md) | Only when a hook condition in SKILL.md has already triggered |
9
+ | [sop-template.md](./sop-template.md) | Creating or rewriting a workflow SOP in the KB |
10
+ | [preference-capture.md](./preference-capture.md) | User expresses standing preferences to persist |
11
+
12
+ Chinese mirror: `skills/mindos-zh/references/` (same filenames).
@@ -0,0 +1,27 @@
1
+ # Post-task hooks — propose format
2
+
3
+ Conditions are listed in SKILL.md. Read this file only when a hook has already triggered.
4
+
5
+ ## Propose format
6
+
7
+ One sentence + specific target file/path. Only expand if the user says yes.
8
+
9
+ | Hook | Propose template |
10
+ |------|-----------------|
11
+ | Experience capture | "Record this experience to {related experience file}?" — Format: problem → cause → solution → rule |
12
+ | Consistency sync | "{B} references what you just changed — sync it?" |
13
+ | SOP drift | "Execution diverged from {SOP file} — update the SOP?" — Action: update diverged steps, append pitfalls, set `<!-- last-used: -->` to today |
14
+ | Linked update | "Sync the corresponding info in {related doc}?" |
15
+ | Structure classification | "Move this to {recommended directory}?" |
16
+ | Pattern extraction | "This operation repeated multiple times — create an SOP?" |
17
+ | Conversation retrospective | "This conversation had some decisions worth capturing — do a retrospective?" |
18
+
19
+ ## User-defined hooks
20
+
21
+ Add your own below, same format:
22
+
23
+ ```markdown
24
+ ### Weekly report material (priority: medium)
25
+ - Condition: updated a Project-related file.
26
+ - Propose: "Record this change in the weekly report?"
27
+ ```
@@ -0,0 +1,41 @@
1
+ # Preference capture (`user-preferences.md`)
2
+
3
+ ## When to capture
4
+
5
+ The user expresses a preference correction (e.g. "don't do X", "next time remember…", "this should go in… not in…").
6
+
7
+ ## Confirm-then-write flow
8
+
9
+ 1. **First occurrence of a new preference**: propose the rule and target file before writing.
10
+ - "Record this preference to `user-preferences.md`? Rule: _{summary}_"
11
+ - Write only after user confirms.
12
+ 2. **Repeated confirmation on similar category**: after the user confirms the same category of preference 3+ times, auto-write future rules in that category without asking. Add an `auto-confirm: true` flag to the category header in `user-preferences.md`.
13
+ 3. **User explicitly grants blanket permission** (e.g. "just record preferences directly"): set a top-level `auto-confirm-all: true` flag and skip confirmation for all future captures.
14
+
15
+ ## File location
16
+
17
+ - Target: `.mindos/user-preferences.md` in the knowledge base (read by `mindos_bootstrap` when present).
18
+ - If the file does not exist, create it with the template below on first confirmed write.
19
+
20
+ ## File template
21
+
22
+ ```markdown
23
+ # User Skill Rules
24
+ <!-- auto-confirm-all: false -->
25
+
26
+ ## Preferences
27
+ <!-- Group by category. Mark auto-confirm: true on categories confirmed 3+ times. -->
28
+
29
+ ## Suppressed Hooks
30
+ <!-- List post-task hooks the user has opted out of. -->
31
+ ```
32
+
33
+ ## Rule format
34
+
35
+ Each rule is a bullet under its category:
36
+
37
+ ```markdown
38
+ ### {Category}
39
+ <!-- auto-confirm: false -->
40
+ - {Rule description} — _{date captured}_
41
+ ```
@@ -0,0 +1,74 @@
1
+ # SOP file template (MindOS knowledge base)
2
+
3
+ Use when **distilling experience into a new SOP** or normalizing an existing workflow doc. Place the file under whichever directory in the KB holds procedures (often names like `Workflows/`, `SOPs/`, `流程/` — infer from bootstrap tree, do not assume a fixed English folder name).
4
+
5
+ ## Required structure
6
+
7
+ ```markdown
8
+ # SOP: {Title}
9
+ <!-- keywords: {3-5 trigger keywords, English and Chinese} -->
10
+ <!-- last-used: {ISO date} -->
11
+ <!-- created: {ISO date} -->
12
+ <!-- requires-mcp: {comma-separated, e.g. mindos — or "none" if KB-only read/write via other means} -->
13
+ <!-- requires-kb-skills: {optional — paths or names of SKILL.md / instructions the agent must follow, or "none"} -->
14
+
15
+ ## Prerequisites
16
+
17
+ **Before starting**, list what must already be true. If something is missing, **stop or take the degradation branch** (do not assume).
18
+
19
+ | Kind | What to record |
20
+ |------|----------------|
21
+ | **MCP / tools** | Which servers or tool families are required (e.g. `mindos`, browser, git). If the workflow only uses MindOS file APIs, say `mindos` or as appropriate. |
22
+ | **Agent skills** | KB-resident or host skills the executor must have loaded or be able to read (e.g. `skills/foo/SKILL.md`, or “follow root INSTRUCTION.md §X”). |
23
+ | **Environment** | CLI installed, network, API keys, logged-in state, OS constraints. |
24
+ | **KB state** | Files, directories, or tables that must exist first; optional “seed” notes. |
25
+
26
+ If there are **no** special dependencies, write explicitly: **None — MindOS MCP (or equivalent) only.**
27
+
28
+ ## Applicable Scenarios
29
+
30
+ When to use this SOP. Trigger conditions, audience, and **non-goals** (what this SOP deliberately does not cover).
31
+
32
+ ## Inputs and outputs (optional but recommended)
33
+
34
+ - **Inputs**: what the user or agent must supply (paths, decisions, raw text).
35
+ - **Outputs**: artifacts produced (files created/updated, messages to user).
36
+
37
+ ## Steps
38
+
39
+ Each step includes:
40
+ 1. **Action** — concrete operation
41
+ 2. **Branch** — if X do A, if Y do B (mark "none" if no branching)
42
+ 3. **Failure handling** — what can go wrong and how to respond
43
+
44
+ ## Exit Conditions
45
+
46
+ When is the task complete. When to abort or escalate.
47
+
48
+ ## Pitfall Log
49
+
50
+ Known edge cases and lessons learned. Append new entries each time the SOP is executed and a new issue is encountered.
51
+ ```
52
+
53
+ ## Metadata (HTML comments)
54
+
55
+ | Tag | Purpose |
56
+ |-----|---------|
57
+ | **`keywords`** | SOP recall via `mindos_search_notes` + parallel variants. English and Chinese. |
58
+ | **`last-used`** | Set to today’s date whenever the SOP is followed. |
59
+ | **`created`** | Set once at creation time. |
60
+ | **`requires-mcp`** | Quick machine/human scan: required MCP servers (or `none`). |
61
+ | **`requires-kb-skills`** | Optional: KB skill paths or “none”. |
62
+
63
+ Optional, when useful:
64
+
65
+ - **`<!-- related: path/to/other-sop.md -->`** — supersedes, depends-on, or paired workflows.
66
+ - **`<!-- owner: @handle or name -->`** — who curates this SOP.
67
+ - **`<!-- review-by: YYYY-MM -->`** — reminder to revalidate after product/tool changes.
68
+
69
+ ## Authoring tips
70
+
71
+ - **Prerequisites vs scenarios**: *Prerequisites* = hard requirements before step 1; *Applicable scenarios* = when the workflow is the right choice among others.
72
+ - **Degradation path**: if MCP or a skill is missing, add a **Branch** in step 1 (“if tool unavailable → tell user to enable X / use manual checklist Y”).
73
+ - **Stable keywords**: avoid one-off typos in `keywords`; include synonyms you actually search for.
74
+ - **Link related SOPs** in Prerequisites or a short “See also” line under Applicable scenarios to avoid duplicate drift.
@@ -0,0 +1,119 @@
1
+ # MindOS Write & Workflow Supplement
2
+
3
+ <!-- Always injected alongside SKILL.md by route.ts for every request. -->
4
+ <!-- For read-only lookups, Q&A, and summarization this context is also available. -->
5
+
6
+ ---
7
+
8
+ ## NEVER do (write-path specific)
9
+
10
+ - **NEVER use `mindos_write_file` as your first move.** Writing without reading first means replacing content you haven't seen. Even when you "know" the file's content, read it — your assumption may be stale.
11
+ - **NEVER create a Mind Space with `mindos_create_file`.** That only creates a plain directory — no README, no INSTRUCTION scaffolding. A Space missing its governance files is broken from birth. Use `mindos_create_space`.
12
+ - **NEVER write immediately after bootstrap.** Bootstrap gives you the top-level structure; it does NOT tell you whether a local `INSTRUCTION.md` near your target overrides the root rules. Read local governance before touching anything.
13
+ - **NEVER execute multi-file writes without first showing the routing table.** Even when destinations seem obvious — the user's mental model diverges from yours more often than intuition suggests. Show the table, wait for confirmation.
14
+ - **NEVER use `mindos_append_to_file` on structured files.** Blind appending ignores section order. If the file has headings, required fields, or schema constraints, use `insert_after_heading` or `update_section` to land content in the right place.
15
+
16
+ ---
17
+
18
+ ## Write tool selection
19
+
20
+ | Intent | Best tool | Avoid |
21
+ |--------|-----------|-------|
22
+ | Small text edit | `mindos_update_section` / `mindos_update_lines` / `mindos_insert_after_heading` | `mindos_write_file` for small changes |
23
+ | Append to end | `mindos_append_to_file` | Rewriting entire file to add a line |
24
+ | Full file replacement | `mindos_write_file` | Using this when a section edit suffices |
25
+ | New file | `mindos_create_file` | Creates parent dirs but does NOT scaffold Space files |
26
+ | New Mind Space (zone + README + INSTRUCTION) | `mindos_create_space` | The only way to create a Space. `create_file` creates plain folders |
27
+ | Rename a Space directory | `mindos_rename_space` | `rename_file` (files only; does not rename folders) |
28
+ | Add CSV row | `mindos_append_csv` (validates header) | Manual string append without header check |
29
+ | Check impact before rename | `mindos_get_backlinks` | Renaming without checking references |
30
+ | Inspect recent changes | `mindos_get_recent` | Guessing what changed recently |
31
+ | Recover old version | `mindos_get_file_at_version` | Asking user to recall what was there |
32
+
33
+ **Fallback:** Line/section tools unavailable → read + constrained `mindos_write_file` (simulate minimal edit).
34
+
35
+ ---
36
+
37
+ ## Startup protocol
38
+
39
+ Run this before executing any write path:
40
+
41
+ 1. **Bootstrap** — `mindos_bootstrap` (preferred) or manually read root `INSTRUCTION.md` + `README.md`.
42
+ 2. **Discover structure**
43
+ - Only need top-level zones? → `mindos_list_spaces` (lighter; includes README blurbs)
44
+ - Need a specific file path? → confirm zone with `mindos_list_spaces`, then `mindos_list_files` inside that zone
45
+ - Know keywords? → fire 2-4 parallel `mindos_search_notes` covering CN/EN variants and abbreviations
46
+ - **Never assume top-level directory names** — the user's KB may use Chinese, pinyin, or unconventional hierarchy
47
+ 3. **Load local governance** — Read `README.md` / `INSTRUCTION.md` near the target path. Local conventions override global assumptions.
48
+ 4. **Match existing SOP** — If the task is procedural: scan tree for a procedure-holding directory (names like `Workflows/`, `SOPs/`, `流程/` are hints — don't assume). Search by keywords + `<!-- keywords: -->` metadata. If found, read and follow. If execution diverges, propose updating the SOP after.
49
+ 5. **Pre-write checks** — Confirm: target path exists or should be created; location is under a subdirectory (not root); current content is read; edit scope is minimal; backlink impact assessed for path changes.
50
+ 6. **Execute edits.**
51
+
52
+ If context is missing, continue with best effort and state assumptions.
53
+
54
+ ---
55
+
56
+ ## Execution patterns
57
+
58
+ | Pattern | When | Key steps |
59
+ |---------|------|-----------|
60
+ | **Single-file edit** | One clear target file | Startup → read target + local conventions → minimal edit → verify → summarize |
61
+ | **Multi-file routing** | Unstructured input, multiple destinations | Parse into semantic units → routing table → confirm → edit → summarize |
62
+ | **Conversation retrospective** | Distill / capture session | Confirm scope → extract decisions/pitfalls/actions → route → trace changes |
63
+ | **SOP execution** | Repeatable procedure | Read SOP fully → execute stepwise → update stale sections → propose SOP update if diverged |
64
+ | **Structural change** | Rename / move / delete | `get_backlinks` → impact report → confirm → execute → update refs → sync READMEs |
65
+ | **CSV append** | Add row to a table | Read header → validate fields → `mindos_append_csv` |
66
+ | **Cross-agent handoff** | Continue another agent's work | Read task state + decisions → continue without re-discovery → write back progress |
67
+ | **Periodic review** | Summarize recent changes | `get_recent`/`get_history` → read changed files → structured summary |
68
+ | **Handoff doc** | Create a briefing | Read sources → synthesize (background, decisions, status, open items) → place in project dir |
69
+
70
+ ---
71
+
72
+ ## Detailed execution steps
73
+
74
+ ### Single-file edit
75
+ Search → read target + read 1-2 sibling files for local conventions → apply minimal edit (prefer `update_section` / `update_lines` / `insert_after_heading` over full rewrite) → verify heading/style match → summarize what changed.
76
+
77
+ ### Multi-file routing
78
+ Parse unstructured input into discrete semantic units → for each unit: search 2-4 keyword variants to find best-fit file → **present routing table** (content snippet → target file → insertion point) → wait for user confirmation → execute edits one file at a time → summarize all changes with file paths.
79
+
80
+ ### Conversation retrospective
81
+ Confirm scope (which session? which topics?) → extract: decisions made, rationale, pitfalls encountered, next actions → for each artifact, find the best existing file via search → route each to the right place → append a one-line change trace per file touched.
82
+
83
+ ### SOP execution
84
+ Read the full SOP before starting (never skim) → execute step by step, checking off as you go → if a step is stale or diverges from current KB state, note it → after completion, propose a targeted SOP update for any diverged steps.
85
+ **Creating a new SOP** → first read [references/sop-template.md](./references/sop-template.md) for required structure.
86
+
87
+ ### Structural changes
88
+ `get_backlinks` on the path being changed → present impact report (N files will need updates) → wait for confirmation → execute rename/move/delete → update every backlink → sync affected `README.md` files.
89
+
90
+ ### Handoff / cross-agent continuation
91
+ Read the handoff document or last agent's progress notes → identify: current state, decisions already made, open items → continue from that state without re-running discovery already done → write progress back to the same handoff doc when done.
92
+
93
+ ---
94
+
95
+ ## Post-task hooks
96
+
97
+ After **write tasks** (not simple single-file edits or read-only), scan this table. If a condition matches, make a one-line proposal. At most 1 proposal; pick highest priority. Check `.mindos/user-preferences.md` suppression section first. Skip all if user asked for quiet mode.
98
+
99
+ | Hook | Priority | Condition |
100
+ |------|----------|-----------|
101
+ | Experience capture | high | Debugging, troubleshooting, or took multiple rounds |
102
+ | Consistency sync | high | Edited file A which has backlinks (check `get_backlinks`) |
103
+ | SOP drift | medium | Followed an SOP but execution diverged from its steps |
104
+ | Linked update | medium | Changed a CSV/TODO status and related docs exist |
105
+ | Structure classification | medium | Created a file in a temporary location or inbox |
106
+ | Pattern extraction | low | 3+ structurally similar operations this session |
107
+ | Conversation retrospective | low | Session >10 turns with decisions or trade-offs |
108
+
109
+ If a hook triggers → read [references/post-task-hooks.md](./references/post-task-hooks.md) for the propose format and any user-defined hooks. If nothing matches, end quietly — do not read the file.
110
+
111
+ ## Preference capture
112
+
113
+ When the user expresses a standing preference ("don't do X", "always put Y in Z"), read [references/preference-capture.md](./references/preference-capture.md) and follow the confirm-then-write flow to `.mindos/user-preferences.md`.
114
+ **Do NOT read** preference-capture unless the user actually expressed a preference to persist.
115
+
116
+ ## SOP authoring
117
+
118
+ When creating or rewriting a workflow SOP, **MANDATORY — read [references/sop-template.md](./references/sop-template.md)** for required structure (prerequisites, steps with branches, exit conditions, pitfall log).
119
+ **Do NOT read** sop-template for SOP execution (only for SOP creation/editing).
@@ -0,0 +1,192 @@
1
+ ---
2
+ name: mindos-max-zh
3
+ description: >
4
+ 用户的第二大脑——持久化、跨 Agent 共享的全局知识库。
5
+ 决策记录、会议纪要、SOP、排错经验、架构选型、调研结论、偏好设置、对话摘要全部存在这里。
6
+
7
+ 主动使用——不要等用户说"保存到知识库":
8
+ (1) 回答任何关于过去决策、讨论或上下文的问题前 → 先搜 MindOS。
9
+ (2) 产出有价值的内容后(做了决策、修了 bug、总结了经验、开完会)→ 主动提议保存。
10
+ (3) 交接给其他 Agent 或结束会话时 → 把关键上下文持久化到 MindOS。
11
+
12
+ 以下场景全部触发,即使用户没提到"MindOS"或"知识库":保存/记录任何内容、搜索历史笔记、
13
+ 更新文件、整理/重组、执行SOP/工作流、复盘、追加CSV/表格、跨Agent交接、提炼经验、
14
+ 同步关联文档、查之前是否讨论过、查历史决策、找模板、准备会议资料、写日记、追踪进度。
15
+
16
+ 触发词:帮我记下来、搜一下笔记、更新知识库、整理文件、复盘、提炼经验、保存、记录、
17
+ 交接、把这个存起来、查一下之前的、有没有相关笔记、我之前写过什么、总结一下保存、
18
+ 追加到表格、更新进度、查找模板、准备会议资料、记录今天的工作。
19
+ 以及对应英文:save, record, search notes, organize, retrospective, handoff, lessons learned。
20
+
21
+ 拿不准是否该用——大概率该用。查一下不会错。
22
+ 不用于:改代码仓库、项目源码、KB 外路径。
23
+ 核心概念:空间(Space)、指令(INSTRUCTION.md)、技能(SKILL.md)。
24
+ ---
25
+
26
+ # MindOS 技能
27
+
28
+ <!-- version: 3.1.0-max — 激进全局记忆模式 -->
29
+
30
+ > **你就是用户的记忆。** 所有 Agent 共享 MindOS。值得记住就存,需要上下文就先查。
31
+ > 主动行动——不要等用户开口提醒。
32
+
33
+ ## 主动记忆行为
34
+
35
+ 与保守版技能不同,你应该**主动寻找机会**使用 MindOS:
36
+
37
+ - **回答关于过去工作的问题前**:用户问"我们之前怎么定的 X?"或"Y 是怎么处理的?"——先搜 MindOS 再回答。即使他们没提到 MindOS,问题本身就暗示存在历史记录。
38
+ - **完成有价值的工作后**:刚帮用户调完 bug、做了架构决策、总结了会议、解决了复杂问题——主动问:"要不要存到 MindOS,方便团队以后查阅?"
39
+ - **交接时**:结束会话或交接给其他 Agent 时,把关键决策和上下文存入 MindOS,确保不丢失。
40
+ - **发现知识空白时**:搜 MindOS 发现某个用户明显关心的话题没有记录,建议创建一条笔记。
41
+
42
+ 目标:用户永远不需要记住要用 MindOS。你替他们记住。
43
+
44
+ ---
45
+
46
+ ## CLI 命令
47
+
48
+ 使用 `mindos file <子命令>` 完成所有知识库操作。加 `--json` 获取结构化输出。
49
+
50
+ | 操作 | 命令 |
51
+ |------|------|
52
+ | 列出文件 | `mindos file list` |
53
+ | 读取文件 | `mindos file read <路径>` |
54
+ | 写入/覆盖 | `mindos file write <路径> --content "..."` |
55
+ | 创建新文件 | `mindos file create <路径> --content "..."` |
56
+ | 追加内容 | `mindos file append <路径> --content "..."` |
57
+ | 编辑段落 | `mindos file edit-section <路径> -H "## 标题" --content "..."` |
58
+ | 标题后插入 | `mindos file insert-heading <路径> -H "## 标题" --content "..."` |
59
+ | 追加 CSV 行 | `mindos file append-csv <路径> --row "列1,列2,列3"` |
60
+ | 删除文件 | `mindos file delete <路径>` |
61
+ | 重命名/移动 | `mindos file rename <旧> <新>` |
62
+ | 搜索 | `mindos search "关键词"` |
63
+ | 反向链接 | `mindos file backlinks <路径>` |
64
+ | 最近文件 | `mindos file recent --limit 10` |
65
+ | Git 历史 | `mindos file history <路径>` |
66
+ | 列出空间 | `mindos space list` |
67
+ | 创建空间 | `mindos space create "名称"` |
68
+
69
+ > **MCP 用户:** 如果只有 MCP 工具(`mindos_*`),直接使用——工具的 schema 已自带说明。有 CLI 时优先用 CLI(更省 token)。
70
+
71
+ ### CLI 安装
72
+
73
+ ```bash
74
+ npm install -g @geminilight/mindos
75
+ # 远程模式:mindos config set url http://<IP>:<端口> && mindos config set authToken <token>
76
+ ```
77
+
78
+ ---
79
+
80
+ ## 规则
81
+
82
+ 1. **先了解结构** — 列出知识库目录树,再搜索或写入。
83
+ 2. **默认只读。** 只有用户明确要求保存、记录、整理、编辑时才写入。
84
+ 3. **规则优先级**(从高到低):用户当前指令 > `.mindos/user-preferences.md` > 最近目录 `INSTRUCTION.md` > 根 `INSTRUCTION.md` > 本技能默认。
85
+ 4. **多文件编辑先出方案。** 展示完整变更列表,获批后再执行。
86
+ 5. 创建/删除/移动/重命名后 > **自动同步相关 README**。
87
+ 6. **写入前先读取。** 不基于假设写入。
88
+
89
+ ---
90
+
91
+ ## 禁止事项(血泪教训)
92
+
93
+ - **禁止写入知识库根目录**(除非明确要求)。根目录仅放治理文件,新内容放最合适的子目录。
94
+ - **禁止假设目录名。** 从实际目录树推断——知识库可能用中文名或扁平结构。
95
+ - **禁止用整文件覆盖做小修改。** 用 `mindos file edit-section` 或 `mindos file insert-heading` 做精准修改,整文件覆盖破坏 git diff。
96
+ - **禁止单关键词搜索。** 至少 2-4 个并行搜索(同义词、缩写、中英文变体)。
97
+ - **禁止未确认就修改 `INSTRUCTION.md` 或 `README.md`。** 治理文档——高敏感度。
98
+ - **禁止不看邻居就创建文件。** 先读目标目录 1-2 个文件,了解命名和风格。
99
+ - **禁止遗留孤立引用。** 重命名/移动后检查反向链接并更新所有引用。
100
+ - **禁止跳过多文件写入确认。** 用户的心理模型可能和你不同。
101
+
102
+ ---
103
+
104
+ ## MindOS 概念
105
+
106
+ - **空间 (Space)** — 按你的思维方式组织的知识分区。Agent 遵循相同结构。
107
+ - **指令 (Instruction)** — `INSTRUCTION.md`,所有连接的 Agent 都遵守的规则文件。
108
+ - **技能 (Skill)** — 教 Agent 如何读写和整理知识库。
109
+
110
+ 笔记可以同时承载指令和技能——它们只是目录树中的 Markdown 文件。
111
+
112
+ ---
113
+
114
+ ## 决策树
115
+
116
+ ```
117
+ 用户请求
118
+ |
119
+ |- 查找 / 总结 / 引用?
120
+ | -> [只读路径]:搜索 -> 读取 -> 带引用回答。不写入。
121
+ |
122
+ |- 保存 / 记录 / 更新 / 整理具体内容?
123
+ | |- 单文件 -> [单文件编辑]
124
+ | -> 多文件或不确定 -> [多文件路由] -- 先出方案
125
+ |
126
+ |- 结构变更(重命名 / 移动 / 删除 / 重组)?
127
+ | -> [结构路径] -- 变更前后检查反向链接
128
+ |
129
+ |- 流程性 / 可重复任务?
130
+ | -> [SOP 路径] -- 找到并执行现有 SOP,或创建新的
131
+ |
132
+ |- 复盘 / 提炼 / 交接?
133
+ | -> [复盘路径]
134
+ |
135
+ -> 模糊?
136
+ -> 提问。基于知识库状态提出 2-3 个具体选项。
137
+ ```
138
+
139
+ ---
140
+
141
+ ## 判断启发
142
+
143
+ **保存意图边界:**
144
+ - "帮我记下来" / "保存" / "存起来" = 写入
145
+ - "搜一下" / "总结" / "有没有相关的" = 只读
146
+ - "整理一下" -> 先问:仅展示,还是写回知识库?
147
+
148
+ **文件位置不确定:**
149
+ - 5 秒内定不了 -> 用最近的现有目录,告知用户
150
+ - "随便放哪" -> 收件箱,之后提议分类
151
+
152
+ **范围蔓延:**
153
+ - 输入路由到 >5 个文件 -> 暂停确认
154
+ - "全部更新" + 跨多个主题 -> 分批确认
155
+
156
+ **引用规范:** 引用知识库内容必须附带文件路径。
157
+
158
+ ---
159
+
160
+ ## 任务后钩子
161
+
162
+ 写入任务(非简单读取)后扫描此表。最多 1 个提议;优先级最高的优先。先检查 `.mindos/user-preferences.md` 抑制项。
163
+
164
+ | 钩子 | 优先级 | 条件 |
165
+ |------|--------|------|
166
+ | 经验沉淀 | 高 | 调试、排错或多轮工作 |
167
+ | 一致性同步 | 高 | 编辑的文件有反向链接 |
168
+ | SOP 偏移 | 中 | 按 SOP 执行但实际偏离了步骤 |
169
+ | 关联更新 | 中 | 更改了 CSV/TODO 状态且有关联文档 |
170
+ | 结构分类 | 中 | 在临时位置或收件箱创建了文件 |
171
+ | 模式提取 | 低 | 本次会话中 3+ 个结构相似的操作 |
172
+
173
+ 触发时 -> 读取 [references/post-task-hooks.md](../mindos/references/post-task-hooks.md)。
174
+
175
+ ## 偏好捕获
176
+
177
+ 用户表达持久偏好时 -> 读取 [references/preference-capture.md](../mindos/references/preference-capture.md),按确认-写入流程操作。
178
+
179
+ ## SOP 编写
180
+
181
+ 创建/重写工作流 SOP 时 -> 读取 [references/sop-template.md](../mindos/references/sop-template.md)。
182
+
183
+ ---
184
+
185
+ ## 错误处理(CLI)
186
+
187
+ ```bash
188
+ "command not found: mindos" -> npm install -g @geminilight/mindos
189
+ "Mind root not configured" -> mindos onboard
190
+ "401 Unauthorized" -> 检查 AUTH_TOKEN:在服务器运行 mindos token
191
+ "ECONNREFUSED" -> 在服务器启动:mindos start
192
+ ```
@@ -1,12 +1,20 @@
1
1
  ---
2
2
  name: mindos-zh
3
3
  description: >
4
- 操作 MindOS 知识库:更新笔记、搜索知识库、整理文件、执行SOP/工作流、复盘、追加CSV、跨Agent交接、
4
+ MindOS 知识库操作:更新笔记、搜索知识库、整理文件、执行SOP/工作流、复盘、追加CSV、跨Agent交接、
5
5
  路由非结构化输入到对应文件、提炼经验、同步关联文档。
6
- 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目文档、KB 外路径。
6
+ 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。
7
7
  核心概念:空间、指令(INSTRUCTION.md)、技能(SKILL.md);笔记可承载指令与技能。
8
+ 触发场景:保存或记录任何内容、搜索历史笔记或上下文、更新或编辑文件、整理或重组文件结构、
9
+ 执行SOP或工作流、捕获对话中的决策、复盘或总结经验、追加表格或CSV数据、跨Agent交接上下文、
10
+ 提炼经验教训、同步关联文档、查找之前是否讨论过某事、查询历史决策、查找模板或SOP、
11
+ 为会议准备上下文。
8
12
  触发词:帮我记下来、搜一下我的笔记、更新知识库、整理文件、执行工作流、保存到知识库、
9
- 记录一下、整理笔记、复盘、提炼经验。
13
+ 记录一下、整理笔记、复盘、提炼经验、同步文档、查一下之前的记录、有没有相关的笔记、
14
+ 我之前写过什么、把这个存起来、总结一下保存、交接给其他Agent、追加到表格。
15
+ English triggers: save, record, search notes, organize, retrospective, handoff, lessons learned.
16
+ 当用户的问题暗示可能存在历史记录(过去的决策、之前的讨论、会议纪要)时,
17
+ 即使没有明确提到知识库,也应该考虑搜索 MindOS。
10
18
  ---
11
19
 
12
20
  # MindOS 技能