@geminilight/mindos 0.5.19 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/app/api/ask/route.ts +308 -172
- package/app/app/api/file/route.ts +35 -11
- package/app/app/api/skills/route.ts +22 -3
- package/app/components/SettingsModal.tsx +52 -58
- package/app/components/Sidebar.tsx +21 -1
- package/app/components/settings/AiTab.tsx +4 -25
- package/app/components/settings/AppearanceTab.tsx +31 -13
- package/app/components/settings/KnowledgeTab.tsx +13 -28
- package/app/components/settings/McpAgentInstall.tsx +227 -0
- package/app/components/settings/McpServerStatus.tsx +172 -0
- package/app/components/settings/McpSkillsSection.tsx +583 -0
- package/app/components/settings/McpTab.tsx +16 -728
- package/app/components/settings/PluginsTab.tsx +4 -27
- package/app/components/settings/Primitives.tsx +69 -0
- package/app/components/settings/ShortcutsTab.tsx +2 -4
- package/app/components/settings/SyncTab.tsx +8 -24
- package/app/components/settings/types.ts +116 -2
- package/app/lib/agent/context.ts +151 -87
- package/app/lib/agent/index.ts +4 -3
- package/app/lib/agent/model.ts +76 -10
- package/app/lib/agent/stream-consumer.ts +73 -77
- package/app/lib/agent/to-agent-messages.ts +106 -0
- package/app/lib/agent/tools.ts +260 -266
- package/app/lib/i18n-en.ts +480 -0
- package/app/lib/i18n-zh.ts +505 -0
- package/app/lib/i18n.ts +4 -947
- package/app/next-env.d.ts +1 -1
- package/app/next.config.ts +7 -0
- package/app/package-lock.json +3258 -3093
- package/app/package.json +6 -3
- package/bin/cli.js +140 -5
- package/package.json +4 -1
- package/scripts/setup.js +13 -0
- package/skills/mindos/SKILL.md +10 -168
- package/skills/mindos-zh/SKILL.md +14 -172
- package/templates/skill-rules/en/skill-rules.md +222 -0
- package/templates/skill-rules/en/user-rules.md +20 -0
- package/templates/skill-rules/zh/skill-rules.md +222 -0
- package/templates/skill-rules/zh/user-rules.md +20 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- MindOS 用户规则 -->
|
|
2
|
+
<!-- Agent 根据你的反馈自动维护此文件。你也可以手动编辑。 -->
|
|
3
|
+
|
|
4
|
+
## 偏好
|
|
5
|
+
|
|
6
|
+
<!-- 你的操作偏好(正向和负向) -->
|
|
7
|
+
<!-- 示例:
|
|
8
|
+
### 新笔记默认放收件箱
|
|
9
|
+
- 触发:创建新笔记且未指定路径
|
|
10
|
+
- 规则:放入收件箱目录
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
## 抑制
|
|
14
|
+
|
|
15
|
+
<!-- 已关闭的主动提议 -->
|
|
16
|
+
<!-- 示例:
|
|
17
|
+
### 关闭"经验沉淀"提议
|
|
18
|
+
- 原因:拒绝 3 次(2026-03-15, 2026-03-16, 2026-03-18)
|
|
19
|
+
- 状态:已关闭
|
|
20
|
+
-->
|