@geminilight/mindos-linux-arm64-musl 1.1.59 → 1.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -64
- package/README_zh.md +60 -62
- package/bin/mindos +0 -0
- package/package.json +1 -1
- package/runtime-manifest.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<a href="https://github.com/GeminiLight/MindOS/releases?q=clipper"><img src="https://img.shields.io/badge/Web_Clipper-Install-c8873a.svg?style=for-the-badge" alt="Web Clipper"></a>
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
|
-
MindOS is
|
|
27
|
+
MindOS is a local-first knowledge base for sharing durable context between you and the AI agents you use. **Think in one place. Let agents work from shared context.**
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
@@ -78,7 +78,7 @@ MindOS is where you think, and where your AI agents act — a local-first knowle
|
|
|
78
78
|
</table>
|
|
79
79
|
|
|
80
80
|
> [!IMPORTANT]
|
|
81
|
-
> **⭐
|
|
81
|
+
> **⭐ Agent-assisted install:** Send this to your Agent (Claude Code, Cursor, etc.) to set up MindOS, MCP, and Skills:
|
|
82
82
|
> ```
|
|
83
83
|
> Help me install MindOS from https://github.com/GeminiLight/MindOS with MCP and Skills. Use English template.
|
|
84
84
|
> ```
|
|
@@ -96,14 +96,15 @@ MindOS is where you think, and where your AI agents act — a local-first knowle
|
|
|
96
96
|
|
|
97
97
|
## 📢 What's New
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
|
102
|
-
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
99
|
+
MindOS is now organized around a few stable product modules instead of one-off setup scripts:
|
|
100
|
+
|
|
101
|
+
| Module | What is live |
|
|
102
|
+
|------|------|
|
|
103
|
+
| **Local Knowledge Workbench** | A desktop/web/CLI workspace for browsing, editing, importing, searching, and organizing a local Markdown knowledge base. |
|
|
104
|
+
| **MCP + Skills Bridge** | One command installs or repairs both MCP config and the packaged MindOS Skill, then `mindos doctor agents` verifies real agent readiness. |
|
|
105
|
+
| **Native Agent Runtime** | Run agents with resumable sessions, cancellation, reconnect/reattach support, and reviewable output history where the runtime exposes it. |
|
|
106
|
+
| **Workflow & Audit Surfaces** | YAML workflows, Agent Inspector, run ledgers, backlinks, graph views, and importer progress help keep human review in the loop. |
|
|
107
|
+
| **Cross-platform Delivery** | Install through Desktop releases or `npm install -g @geminilight/mindos@latest`; the npm package includes the CLI and prebuilt local Web runtime. |
|
|
107
108
|
|
|
108
109
|
## 🧠 Human-AI Shared Mind
|
|
109
110
|
|
|
@@ -111,24 +112,24 @@ MindOS is where you think, and where your AI agents act — a local-first knowle
|
|
|
111
112
|
|
|
112
113
|
**1. Global Sync — Breaking Memory Silos**
|
|
113
114
|
|
|
114
|
-
Switch tools or start a new chat and you're re-transporting context, scattering knowledge. **With a built-in MCP server, MindOS
|
|
115
|
+
Switch tools or start a new chat and you're re-transporting context, scattering knowledge. **With a built-in MCP server and packaged Skills, MindOS gives supported Agents a shared path into your core knowledge base. Record profile and project memory once, then reuse it across your AI tools.**
|
|
115
116
|
|
|
116
117
|
**2. Transparent & Controllable — No Black Boxes**
|
|
117
118
|
|
|
118
|
-
Agent memory locked in black boxes makes reasoning
|
|
119
|
+
Agent memory locked in black boxes makes reasoning hard to audit and correct. **MindOS keeps your knowledge base as local plain text and exposes review surfaces for agent runs, file changes, and important tool activity, so you can inspect and adjust the context agents rely on.**
|
|
119
120
|
|
|
120
121
|
**3. Symbiotic Evolution — Experience Flows Back As Instructions**
|
|
121
122
|
|
|
122
|
-
You express preferences but the next chat starts from zero, leaving
|
|
123
|
+
You express preferences but the next chat often starts from zero, leaving useful judgment behind. **MindOS helps turn reviewed conversations, corrections, and project standards into reusable notes, Skills, and SOPs, so future agent work can start from a better baseline.**
|
|
123
124
|
|
|
124
|
-
> **Foundation:** Local-first by default —
|
|
125
|
+
> **Foundation:** Local-first by default — your knowledge base stays in local plain text for privacy, ownership, and speed.
|
|
125
126
|
|
|
126
127
|
---
|
|
127
128
|
|
|
128
129
|
## 🚀 Getting Started
|
|
129
130
|
|
|
130
131
|
> [!IMPORTANT]
|
|
131
|
-
> **Quick Start with Agent:** Paste this prompt into any MCP-capable Agent (Claude Code, Cursor, etc.) to install
|
|
132
|
+
> **Quick Start with Agent:** Paste this prompt into any MCP-capable Agent (Claude Code, Cursor, etc.) to install MindOS, MCP, and Skills, then skip to [Step 3](#3-inject-your-personal-mind-with-mindos-agent):
|
|
132
133
|
> ```
|
|
133
134
|
> Help me install MindOS from https://github.com/GeminiLight/MindOS with MCP and Skills. Use English template.
|
|
134
135
|
> ```
|
|
@@ -186,18 +187,18 @@ mindos open
|
|
|
186
187
|
|
|
187
188
|
### 4. Make Any Agent Ready (MCP + Skills)
|
|
188
189
|
|
|
189
|
-
**MCP** (connection) — one command to
|
|
190
|
+
**MCP + Skills** (connection + workflow) — one command to install or repair both:
|
|
190
191
|
|
|
191
192
|
```bash
|
|
192
193
|
mindos mcp install # interactive
|
|
193
194
|
mindos mcp install -g -y # one-shot, global scope
|
|
194
195
|
```
|
|
195
196
|
|
|
196
|
-
|
|
197
|
+
Verify the actual agent-facing state:
|
|
197
198
|
|
|
198
199
|
```bash
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
mindos doctor agents
|
|
201
|
+
mindos doctor agents codex --json
|
|
201
202
|
```
|
|
202
203
|
|
|
203
204
|
> For remote access, manual JSON config, and common pitfalls, see **[docs/en/supported-agents.md](docs/en/supported-agents.md)**.
|
|
@@ -223,28 +224,28 @@ MindOS knowledge doesn't have to start from scratch — bring in what you alread
|
|
|
223
224
|
|
|
224
225
|
**For Agents**
|
|
225
226
|
|
|
226
|
-
- **MCP Server + Skills**: stdio + HTTP
|
|
227
|
-
- **ACP / A2A
|
|
228
|
-
- **Workflow Orchestration**: YAML-based workflow editor with step execution engine
|
|
227
|
+
- **MCP Server + Skills**: stdio + HTTP transports for supported Agents (Claude Code, Cursor, Gemini CLI, Codex, and more), with installer/doctor commands for setup and repair.
|
|
228
|
+
- **ACP / A2A Foundations**: early protocol surfaces for agent discovery, registry, session detection, and JSON-RPC messaging. Deeper coordination such as durable mailbox/task-board workflows is still experimental.
|
|
229
|
+
- **Workflow Orchestration**: YAML-based workflow editor with a step execution engine to define, edit, and run repeatable agent workflows.
|
|
229
230
|
- **Structured Templates**: pre-set directory structures for Profiles, Workflows, Configurations, etc., to jumpstart personal context.
|
|
230
|
-
- **Agent-Ready Docs**: everyday notes
|
|
231
|
+
- **Agent-Ready Docs**: everyday notes can become reusable Agent instructions — write context once, then dispatch or refine it.
|
|
231
232
|
|
|
232
233
|
**Infrastructure**
|
|
233
234
|
|
|
234
235
|
- **Security**: Bearer Token auth, path sandboxing, INSTRUCTION.md write-protection, atomic writes.
|
|
235
236
|
- **Knowledge Graph**: dynamically parses and visualizes inter-file references and dependencies.
|
|
236
237
|
- **Backlinks View**: displays all files that reference the current file, helping you understand how a note fits into the knowledge network.
|
|
237
|
-
- **Agent Inspector**: renders Agent operation logs as a filterable timeline
|
|
238
|
-
- **Git Time Machine**: Git auto-sync (commit/push/pull)
|
|
238
|
+
- **Agent Inspector**: renders Agent operation logs as a filterable timeline for reviewing tool calls in detail.
|
|
239
|
+
- **Git Time Machine**: Git auto-sync (commit/push/pull) keeps human and Agent edits reviewable, with rollback and cross-device sync.
|
|
239
240
|
- **Desktop App**: native macOS/Windows/Linux app with system tray, auto-start, and local process management.
|
|
240
241
|
|
|
241
242
|
<details>
|
|
242
|
-
<summary><strong>
|
|
243
|
+
<summary><strong>Roadmap / Experimental</strong></summary>
|
|
243
244
|
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
-
|
|
247
|
-
-
|
|
245
|
+
- **Retrieval depth**: richer knowledge retrieval and ranking on top of the current local knowledge base and search surfaces.
|
|
246
|
+
- **Agent coordination**: deeper ACP/A2A collaboration once durable mailbox, task-board, permission, and artifact contracts are ready.
|
|
247
|
+
- **Experience capture**: more guided ways to turn reviewed conversations, corrections, and preferences into reusable Skills/SOPs.
|
|
248
|
+
- **Knowledge health**: lightweight signals for stale notes, reused rules, and knowledge that deserves review.
|
|
248
249
|
|
|
249
250
|
</details>
|
|
250
251
|
|
|
@@ -255,7 +256,7 @@ graph LR
|
|
|
255
256
|
H["👤 Human<br/><sub>thinks · reviews · evolves</sub>"]
|
|
256
257
|
M[("📚 MindOS")]
|
|
257
258
|
A["🤖 Agent<br/><sub>executes · retrospects · extracts SOPs</sub>"]
|
|
258
|
-
EXT["🌐
|
|
259
|
+
EXT["🌐 Connected Agents"]
|
|
259
260
|
|
|
260
261
|
H -- "ideas & feedback" --> M
|
|
261
262
|
M -- "context & insights" --> H
|
|
@@ -269,13 +270,15 @@ graph LR
|
|
|
269
270
|
style EXT fill:#64748b,stroke:#475569,color:#fff,stroke-dasharray:5 5
|
|
270
271
|
```
|
|
271
272
|
|
|
272
|
-
> **Both sides evolve.** Humans gain new insights from accumulated knowledge; Agents
|
|
273
|
+
> **Both sides evolve.** Humans gain new insights from accumulated knowledge; Agents reuse reviewed context and SOPs. MindOS sits at the center — the shared second brain that improves as knowledge accumulates.
|
|
273
274
|
|
|
274
275
|
---
|
|
275
276
|
|
|
276
277
|
## 🤝 Supported Agents
|
|
277
278
|
|
|
278
|
-
|
|
279
|
+
MindOS supports the built-in MindOS Agent plus a growing set of CLI, IDE, and extension-based agents. Full list with MCP config paths, Skill paths, and troubleshooting notes: **[docs/en/supported-agents.md](docs/en/supported-agents.md)**
|
|
280
|
+
|
|
281
|
+
Common examples:
|
|
279
282
|
|
|
280
283
|
| Agent | MCP | Skills |
|
|
281
284
|
|:------|:---:|:------:|
|
|
@@ -298,26 +301,22 @@ graph LR
|
|
|
298
301
|
|
|
299
302
|
```bash
|
|
300
303
|
MindOS/
|
|
301
|
-
├── packages/
|
|
302
|
-
├── packages/
|
|
303
|
-
├── packages/
|
|
304
|
+
├── packages/mindos/ # Published runtime package, CLI, server, protocols, and core product logic
|
|
305
|
+
├── packages/web/ # Next.js frontend for the local knowledge workbench
|
|
306
|
+
├── packages/desktop/ # Electron desktop client and local process management
|
|
304
307
|
├── packages/browser-extension/ # Web Clipper browser extension
|
|
305
|
-
├── packages/
|
|
306
|
-
├── packages/
|
|
307
|
-
├──
|
|
308
|
-
├──
|
|
309
|
-
├──
|
|
310
|
-
├── scripts/ # Setup wizard and helper scripts
|
|
308
|
+
├── packages/retrieval/ # Optional retrieval/search/vector adapters
|
|
309
|
+
├── packages/mobile/ # Expo mobile app
|
|
310
|
+
├── skills/ # Packaged MindOS Skills for agents
|
|
311
|
+
├── templates/ # Starter knowledge-base templates
|
|
312
|
+
├── docs/ # Public user and contributor docs
|
|
311
313
|
└── README.md
|
|
312
314
|
|
|
313
315
|
~/.mindos/ # User data directory (outside project, never committed)
|
|
314
316
|
├── config.json # All configuration (AI keys, port, auth token, sync settings)
|
|
315
|
-
├── sync-state.json # Sync state (last sync time, conflicts)
|
|
316
317
|
└── mind/ # Your private knowledge base (default path, customizable on onboard)
|
|
317
318
|
```
|
|
318
319
|
|
|
319
|
-
> In v1, top-level `app/`, `apps/`, `mcp/`, `desktop/`, `mobile/`, `browser-extension/`, `desktop-tauri/`, and root `bin/` are no longer source roots. The repo root is a private monorepo orchestrator. `packages/mindos` is the OpenCode-style published product package (`@geminilight/mindos`): its repo CLI entry is `packages/mindos/bin/cli.js`, installed npm users still receive the package-relative `bin/cli.js`, and the prebuilt local Web runtime is published as `_standalone/`. `packages/web` remains the only Web source tree and is not copied into the npm tarball. During `npm pack` / publish, `packages/mindos/_standalone`, `packages/mindos/packages`, `packages/mindos/scripts`, `packages/mindos/assets`, `packages/mindos/skills`, and `packages/mindos/templates` may be generated as staging output; they are ignored, excluded from pnpm workspace discovery, and cleaned by `pnpm run clean:product-stage` or product `postpack`.
|
|
320
|
-
|
|
321
320
|
## ⌨️ CLI Commands
|
|
322
321
|
|
|
323
322
|
> Full command reference: **[docs/en/cli-commands.md](docs/en/cli-commands.md)**
|
|
@@ -325,31 +324,29 @@ MindOS/
|
|
|
325
324
|
| Command | Description |
|
|
326
325
|
| :--- | :--- |
|
|
327
326
|
| **Core** | |
|
|
328
|
-
| `mindos
|
|
329
|
-
| `mindos
|
|
330
|
-
| `mindos
|
|
331
|
-
| `mindos
|
|
332
|
-
| `mindos
|
|
333
|
-
| `mindos
|
|
334
|
-
| `mindos status` | Show service status overview |
|
|
327
|
+
| `mindos` | Open the MindOS AI Agent REPL |
|
|
328
|
+
| `mindos onboard` / `mindos init` | Interactive setup (config, template, start mode) |
|
|
329
|
+
| `mindos onboard --install-daemon` | Onboard and install the background service on macOS/Linux |
|
|
330
|
+
| `mindos start` / `mindos start --daemon` | Start Web + MCP services in foreground or as a background service |
|
|
331
|
+
| `mindos stop` / `mindos restart` | Stop or restart running processes |
|
|
332
|
+
| `mindos status` | Show service status overview (`--json` supported) |
|
|
335
333
|
| `mindos open` | Open Web UI in browser |
|
|
336
334
|
| **Knowledge** | |
|
|
337
|
-
| `mindos file <sub>` | File operations
|
|
338
|
-
| `mindos
|
|
339
|
-
| `mindos search "<query>"` | Search knowledge base |
|
|
340
|
-
| `mindos` | Open the MindOS AI Agent REPL |
|
|
335
|
+
| `mindos file <sub>` / `mindos space <sub>` | File and space operations for the local knowledge base |
|
|
336
|
+
| `mindos search "<query>"` | Search the knowledge base |
|
|
341
337
|
| `mindos "<task>"` / `mindos -p "<task>"` | Run the MindOS AI Agent with your knowledge base |
|
|
342
|
-
| `mindos agent <sub>` |
|
|
343
|
-
| `mindos channel` / `mindos feishu-ws` | IM channel config and Feishu long connection |
|
|
338
|
+
| `mindos agent <sub>` | Agent command and management helpers (`list`, `info`, scripted runs) |
|
|
344
339
|
| `mindos api <METHOD> <path>` | Raw API passthrough for developers/agents |
|
|
345
340
|
| **MCP & Config** | |
|
|
346
|
-
| `mindos mcp
|
|
347
|
-
| `mindos
|
|
348
|
-
| `mindos
|
|
341
|
+
| `mindos mcp` | Start the MCP server only |
|
|
342
|
+
| `mindos mcp install` | Install or repair MCP config and the MindOS Skill for your Agent |
|
|
343
|
+
| `mindos doctor agents [name]` | Verify agent-facing MCP, command, and Skill readiness |
|
|
344
|
+
| `mindos token` | Show auth token and per-agent MCP config snippets |
|
|
345
|
+
| `mindos config <sub>` | View/update config (`show`, `set`, `validate`) |
|
|
349
346
|
| `mindos sync` | Show sync status (init, now, conflicts, on/off) |
|
|
350
|
-
| `mindos gateway <sub>` | Manage background service on macOS/Linux (install
|
|
351
|
-
| `mindos doctor` | Health check |
|
|
352
|
-
| `mindos update` | Update
|
|
347
|
+
| `mindos gateway <sub>` | Manage background service on macOS/Linux (`install`, `start`, `stop`, `logs`) |
|
|
348
|
+
| `mindos doctor` / `mindos logs` | Health check and local service logs |
|
|
349
|
+
| `mindos update` / `mindos uninstall` | Update or remove MindOS |
|
|
353
350
|
|
|
354
351
|
**Main keyboard shortcuts:** `⌘K` Search · `⌘/` AI Assistant · `E` Edit · `⌘S` Save · `Esc` Close.
|
|
355
352
|
|
|
@@ -379,6 +376,7 @@ Join our WeChat group for early access, feedback, and AI workflow discussions:
|
|
|
379
376
|
<a href="https://github.com/zjpyb"><img src="https://github.com/zjpyb.png" width="60" style="border-radius:50%" alt="zjpyb" /></a>
|
|
380
377
|
<a href="https://github.com/huzhangyi"><img src="https://github.com/huzhangyi.png" width="60" style="border-radius:50%" alt="huzhangyi" /></a>
|
|
381
378
|
<a href="https://github.com/zenozhg"><img src="https://github.com/zenozhg.png" width="60" style="border-radius:50%" alt="Zeno Zhang" /></a>
|
|
379
|
+
<a href="https://github.com/octo-patch"><img src="https://github.com/octo-patch.png" width="60" style="border-radius:50%" alt="Octopus" /></a>
|
|
382
380
|
|
|
383
381
|
### 🙏 Acknowledgements
|
|
384
382
|
|
package/README_zh.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<a href="https://github.com/GeminiLight/MindOS/releases?q=clipper"><img src="https://img.shields.io/badge/网页剪藏-安装-c8873a.svg?style=for-the-badge" alt="网页剪藏"></a>
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
|
-
MindOS
|
|
27
|
+
MindOS 是一个本地优先的知识库,用来在你和常用 AI Agent 之间共享长期上下文。**在一处思考,让 Agent 带着共同上下文行动。**
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
@@ -78,7 +78,7 @@ MindOS 是你思考的地方,也是 AI Agent 行动的起点——一个你和
|
|
|
78
78
|
</table>
|
|
79
79
|
|
|
80
80
|
> [!IMPORTANT]
|
|
81
|
-
> **⭐
|
|
81
|
+
> **⭐ Agent 辅助安装:** 把这句话发给你的 Agent(Claude Code、Cursor 等),安装 MindOS、MCP 和 Skills:
|
|
82
82
|
> ```
|
|
83
83
|
> 帮我从 https://github.com/GeminiLight/MindOS 安装 MindOS,包含 MCP 和 Skills,使用中文模板。
|
|
84
84
|
> ```
|
|
@@ -96,14 +96,15 @@ MindOS 是你思考的地方,也是 AI Agent 行动的起点——一个你和
|
|
|
96
96
|
|
|
97
97
|
## 📢 最新动态
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
MindOS 现在围绕几个稳定的产品模块展开,而不是一组零散安装脚本:
|
|
100
|
+
|
|
101
|
+
| 模块 | 当前已上线 |
|
|
100
102
|
|------|------|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
| 2026-04 | **PDF & 图片导入** — 拖拽 PDF 和图片到 MindOS,自动转换为可搜索的 Markdown。 |
|
|
103
|
+
| **本地知识工作台** | 桌面端 / Web / CLI 共同管理本地 Markdown 知识库,支持浏览、编辑、导入、搜索与整理。 |
|
|
104
|
+
| **MCP + Skills 桥接** | 一条命令安装或修复 MCP 配置与随包发布的 MindOS Skill,再用 `mindos doctor agents` 验证 Agent 实际可用状态。 |
|
|
105
|
+
| **原生 Agent Runtime** | 支持可恢复会话、取消、重连/重新附着,以及在 runtime 暴露能力时记录可审查的输出历史。 |
|
|
106
|
+
| **工作流与审计面** | YAML 工作流、Agent Inspector、run ledger、反向链接、知识图谱与导入进度,让人类审查保留在流程里。 |
|
|
107
|
+
| **跨平台交付** | 可通过桌面端 Release 或 `npm install -g @geminilight/mindos@latest` 安装;npm 包内置 CLI 与预构建本地 Web runtime。 |
|
|
107
108
|
|
|
108
109
|
## 🧠 人机共享心智
|
|
109
110
|
|
|
@@ -111,24 +112,24 @@ MindOS 是你思考的地方,也是 AI Agent 行动的起点——一个你和
|
|
|
111
112
|
|
|
112
113
|
**1. 全局同步 — 打破记忆割裂**
|
|
113
114
|
|
|
114
|
-
切换工具带来上下文割裂,个人深度背景散落各处,导致知识无法复用。**MindOS 内置 MCP Server
|
|
115
|
+
切换工具带来上下文割裂,个人深度背景散落各处,导致知识无法复用。**MindOS 内置 MCP Server,并随包提供 Skills,让受支持的 Agent 能共享访问核心知识库。项目记忆与 SOP 只需记录一次,就能在多个 AI 工具里复用。**
|
|
115
116
|
|
|
116
117
|
**2. 透明可控 — 消除记忆黑箱**
|
|
117
118
|
|
|
118
|
-
Agent
|
|
119
|
+
Agent 记忆锁在黑箱中,推理难以审查,错误也难以纠正。**MindOS 以本地纯文本保存知识库,并提供 Agent 运行、文件变更和关键工具活动的审查入口,让你能看见并调整 Agent 所依赖的上下文。**
|
|
119
120
|
|
|
120
121
|
**3. 共生演进 — 经验回流为指令**
|
|
121
122
|
|
|
122
|
-
|
|
123
|
+
反复表达偏好但新对话又从零开始,思考没有变成可复用的方法论。**MindOS 帮你把经过审查的对话、纠正和项目标准沉淀为笔记、Skills 与 SOP,让后续 Agent 工作从更好的上下文起步。**
|
|
123
124
|
|
|
124
|
-
> **底层原则:**
|
|
125
|
+
> **底层原则:** 默认本地优先,知识库内容以本地纯文本保存,兼顾隐私、主权与性能。
|
|
125
126
|
|
|
126
127
|
---
|
|
127
128
|
|
|
128
129
|
## 🚀 快速开始
|
|
129
130
|
|
|
130
131
|
> [!IMPORTANT]
|
|
131
|
-
> **用 Agent
|
|
132
|
+
> **用 Agent 辅助安装:** 将以下指令粘贴到任意支持 MCP 的 Agent(Claude Code、Cursor 等),安装 MindOS、MCP 和 Skills,然后跳到[第 3 步](#3-通过-mindos-agent-注入你的个人心智):
|
|
132
133
|
> ```
|
|
133
134
|
> 帮我从 https://github.com/GeminiLight/MindOS 安装 MindOS,包含 MCP 和 Skills,使用中文模板。
|
|
134
135
|
> ```
|
|
@@ -186,18 +187,18 @@ mindos open
|
|
|
186
187
|
|
|
187
188
|
### 4. 让任意 Agent 可用(MCP + Skills)
|
|
188
189
|
|
|
189
|
-
**MCP
|
|
190
|
+
**MCP + Skills**(连接能力 + 工作流能力)— 一条命令同时安装或修复:
|
|
190
191
|
|
|
191
192
|
```bash
|
|
192
193
|
mindos mcp install # 交互式
|
|
193
194
|
mindos mcp install -g -y # 一键全局安装
|
|
194
195
|
```
|
|
195
196
|
|
|
196
|
-
|
|
197
|
+
验证 Agent 实际可用状态:
|
|
197
198
|
|
|
198
199
|
```bash
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
mindos doctor agents
|
|
201
|
+
mindos doctor agents codex --json
|
|
201
202
|
```
|
|
202
203
|
|
|
203
204
|
> 远程配置、手动 JSON 片段、常见误区等详见 **[docs/zh/supported-agents.md](docs/zh/supported-agents.md)**。
|
|
@@ -223,28 +224,28 @@ MindOS 的知识不必从零开始——把你已有的信息导入进来:
|
|
|
223
224
|
|
|
224
225
|
**Agent 侧**
|
|
225
226
|
|
|
226
|
-
- **MCP Server + Skills
|
|
227
|
-
- **ACP / A2A
|
|
228
|
-
- **Workflow 编排**:基于 YAML 的可视化工作流编辑器 +
|
|
227
|
+
- **MCP Server + Skills**:为受支持的 Agent(Claude Code、Cursor、Gemini CLI、Codex 等)提供 stdio + HTTP 传输,并通过 installer/doctor 命令完成安装与修复。
|
|
228
|
+
- **ACP / A2A 基础能力**:提供 Agent 发现、注册表、会话检测与 JSON-RPC 消息等早期协议面;持久 mailbox/task-board 等深层协作仍处于实验阶段。
|
|
229
|
+
- **Workflow 编排**:基于 YAML 的可视化工作流编辑器 + 步骤执行引擎,用于定义、编辑和运行可复用的 Agent 工作流。
|
|
229
230
|
- **结构化模板**:预置 Profile、Workflows、Configurations 等目录骨架,快速冷启动个人 Context。
|
|
230
|
-
-
|
|
231
|
+
- **笔记即指令**:日常笔记可以沉淀为 Agent 可复用、可执行的指令,写下上下文后再调度或持续修订。
|
|
231
232
|
|
|
232
233
|
**基础设施**
|
|
233
234
|
|
|
234
235
|
- **安全防线**:Bearer Token 认证、路径沙箱、INSTRUCTION.md 写保护、原子写入。
|
|
235
236
|
- **知识图谱**:动态解析并可视化文件间的引用与依赖关系。
|
|
236
237
|
- **反向链接视图**:展示所有引用当前文件的反向链接,理解笔记在知识网络中的位置。
|
|
237
|
-
- **Agent 审计面板**:将 Agent
|
|
238
|
-
- **Git 时光机**:Git 自动同步(commit/push/pull
|
|
238
|
+
- **Agent 审计面板**:将 Agent 操作日志渲染为可筛选的时间线,用于审查工具调用详情。
|
|
239
|
+
- **Git 时光机**:Git 自动同步(commit/push/pull),让人类与 Agent 的编辑保留可审查历史,支持回滚与跨设备同步。
|
|
239
240
|
- **桌面客户端**:原生 macOS/Windows/Linux 应用,系统托盘、开机自启、本地进程管理。
|
|
240
241
|
|
|
241
242
|
<details>
|
|
242
|
-
<summary><strong
|
|
243
|
+
<summary><strong>路线图 / 实验能力</strong></summary>
|
|
243
244
|
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
-
|
|
247
|
-
-
|
|
245
|
+
- **检索深度**:在现有本地知识库和搜索能力之上,继续增强检索与排序质量。
|
|
246
|
+
- **Agent 协作**:等 mailbox、task-board、权限和 artifact contract 更稳定后,再推进更深层 ACP/A2A 协作。
|
|
247
|
+
- **经验沉淀**:提供更顺手的方式,把审查后的对话、纠正和偏好转为可复用的 Skills/SOP。
|
|
248
|
+
- **知识健康度**:为过期笔记、被复用的规则和需要复查的知识提供轻量信号。
|
|
248
249
|
|
|
249
250
|
</details>
|
|
250
251
|
|
|
@@ -255,7 +256,7 @@ graph LR
|
|
|
255
256
|
H["👤 人类<br/><sub>思考 · 审查 · 进化</sub>"]
|
|
256
257
|
M[("📚 MindOS")]
|
|
257
258
|
A["🤖 Agent<br/><sub>执行 · 复盘 · 提炼 SOP</sub>"]
|
|
258
|
-
EXT["🌐
|
|
259
|
+
EXT["🌐 已连接 Agent"]
|
|
259
260
|
|
|
260
261
|
H -- "想法 & 反馈" --> M
|
|
261
262
|
M -- "上下文 & 洞察" --> H
|
|
@@ -269,13 +270,15 @@ graph LR
|
|
|
269
270
|
style EXT fill:#64748b,stroke:#475569,color:#fff,stroke-dasharray:5 5
|
|
270
271
|
```
|
|
271
272
|
|
|
272
|
-
> **双向进化。** 人类从积累的知识中获得新洞察;Agent
|
|
273
|
+
> **双向进化。** 人类从积累的知识中获得新洞察;Agent 复用经过审查的上下文与 SOP。MindOS 居中——随着知识积累不断改进的共享第二大脑。
|
|
273
274
|
|
|
274
275
|
---
|
|
275
276
|
|
|
276
277
|
## 🤝 支持的 Agent
|
|
277
278
|
|
|
278
|
-
|
|
279
|
+
MindOS 支持内置 MindOS Agent,也支持一批 CLI、IDE 和扩展类 Agent。完整列表、MCP 配置路径、Skill 路径与常见问题见:**[docs/zh/supported-agents.md](docs/zh/supported-agents.md)**
|
|
280
|
+
|
|
281
|
+
常见示例:
|
|
279
282
|
|
|
280
283
|
| Agent | MCP | Skills |
|
|
281
284
|
|:------|:---:|:------:|
|
|
@@ -298,26 +301,22 @@ graph LR
|
|
|
298
301
|
|
|
299
302
|
```bash
|
|
300
303
|
MindOS/
|
|
301
|
-
├── packages/
|
|
302
|
-
├── packages/
|
|
303
|
-
├── packages/
|
|
304
|
+
├── packages/mindos/ # 发布 runtime 包、CLI、server、protocols 与核心产品逻辑
|
|
305
|
+
├── packages/web/ # 本地知识工作台的 Next.js 前端
|
|
306
|
+
├── packages/desktop/ # Electron 桌面端与本地进程管理
|
|
304
307
|
├── packages/browser-extension/ # Web Clipper 浏览器扩展
|
|
305
|
-
├── packages/
|
|
306
|
-
├── packages/
|
|
307
|
-
├──
|
|
308
|
-
├──
|
|
309
|
-
├──
|
|
310
|
-
├── scripts/ # 配置向导与辅助脚本
|
|
308
|
+
├── packages/retrieval/ # 可选检索 / 搜索 / 向量适配器
|
|
309
|
+
├── packages/mobile/ # Expo 移动端
|
|
310
|
+
├── skills/ # 随包发布的 MindOS Skills
|
|
311
|
+
├── templates/ # 知识库初始化模板
|
|
312
|
+
├── docs/ # 公开用户文档与贡献者文档
|
|
311
313
|
└── README.md
|
|
312
314
|
|
|
313
315
|
~/.mindos/ # 用户数据目录(项目外,不会被提交)
|
|
314
316
|
├── config.json # 所有配置(AI 密钥、端口、Auth token、同步设置)
|
|
315
|
-
├── sync-state.json # 同步状态(最后同步时间、冲突文件)
|
|
316
317
|
└── mind/ # 你的私有知识库(默认路径,onboard 时可自定义)
|
|
317
318
|
```
|
|
318
319
|
|
|
319
|
-
> v1 之后,顶层 `app/`、`apps/`、`mcp/`、`desktop/`、`mobile/`、`browser-extension/`、`desktop-tauri/` 和根目录 `bin/` 不再是源码入口。仓库根目录是 private monorepo 编排层。`packages/mindos` 是 OpenCode 式发布产品包(`@geminilight/mindos`):仓库内 CLI 入口是 `packages/mindos/bin/cli.js`,npm 安装后用户仍获得包内相对路径 `bin/cli.js`,预构建本地 Web runtime 以 `_standalone/` 发布。`packages/web` 是唯一 Web 源码,不会复制进 npm tarball。`npm pack` / publish 期间可能生成 `packages/mindos/_standalone`、`packages/mindos/packages`、`packages/mindos/scripts`、`packages/mindos/assets`、`packages/mindos/skills`、`packages/mindos/templates` 等 staging 输出;这些不是源码,已被 git 和 pnpm workspace 排除,可用 `pnpm run clean:product-stage` 或 product `postpack` 清理。
|
|
320
|
-
|
|
321
320
|
## ⌨️ CLI 命令
|
|
322
321
|
|
|
323
322
|
> 完整命令参考:**[docs/zh/cli-commands.md](docs/zh/cli-commands.md)**
|
|
@@ -325,31 +324,29 @@ MindOS/
|
|
|
325
324
|
| 命令 | 说明 |
|
|
326
325
|
| :--- | :--- |
|
|
327
326
|
| **核心** | |
|
|
328
|
-
| `mindos
|
|
329
|
-
| `mindos
|
|
330
|
-
| `mindos
|
|
331
|
-
| `mindos
|
|
332
|
-
| `mindos
|
|
333
|
-
| `mindos
|
|
334
|
-
| `mindos status` | 查看服务状态概览 |
|
|
327
|
+
| `mindos` | 进入 MindOS AI Agent 交互模式 |
|
|
328
|
+
| `mindos onboard` / `mindos init` | 交互式初始化(配置、模板、启动模式) |
|
|
329
|
+
| `mindos onboard --install-daemon` | 初始化并安装 macOS/Linux 后台服务 |
|
|
330
|
+
| `mindos start` / `mindos start --daemon` | 前台或后台启动 Web + MCP 服务 |
|
|
331
|
+
| `mindos stop` / `mindos restart` | 停止或重启服务 |
|
|
332
|
+
| `mindos status` | 查看服务状态概览(支持 `--json`) |
|
|
335
333
|
| `mindos open` | 在浏览器中打开 Web UI |
|
|
336
334
|
| **知识库** | |
|
|
337
|
-
| `mindos file <sub>`
|
|
338
|
-
| `mindos space <sub>` | 空间管理(list, create, info) |
|
|
335
|
+
| `mindos file <sub>` / `mindos space <sub>` | 本地知识库文件与空间操作 |
|
|
339
336
|
| `mindos search "<query>"` | 搜索知识库 |
|
|
340
|
-
| `mindos` | 进入 MindOS AI Agent 交互模式 |
|
|
341
337
|
| `mindos "<task>"` / `mindos -p "<task>"` | 基于知识库运行 MindOS AI Agent |
|
|
342
|
-
| `mindos agent <sub>` |
|
|
343
|
-
| `mindos channel` / `mindos feishu-ws` | IM 渠道配置与飞书长连接 |
|
|
338
|
+
| `mindos agent <sub>` | Agent 命令与管理辅助(`list`、`info`、脚本化运行) |
|
|
344
339
|
| `mindos api <METHOD> <path>` | API 透传(开发者/Agent 用) |
|
|
345
340
|
| **MCP 与配置** | |
|
|
346
|
-
| `mindos mcp
|
|
347
|
-
| `mindos
|
|
348
|
-
| `mindos
|
|
341
|
+
| `mindos mcp` | 仅启动 MCP server |
|
|
342
|
+
| `mindos mcp install` | 为 Agent 安装或修复 MCP 配置与 MindOS Skill |
|
|
343
|
+
| `mindos doctor agents [name]` | 验证 Agent 侧 MCP、命令与 Skill 可用状态 |
|
|
344
|
+
| `mindos token` | 查看认证令牌与各 Agent MCP 配置片段 |
|
|
345
|
+
| `mindos config <sub>` | 查看/修改配置(`show`、`set`、`validate`) |
|
|
349
346
|
| `mindos sync` | 同步状态(init, now, conflicts, on/off) |
|
|
350
|
-
| `mindos gateway <sub>` | 管理 macOS/Linux
|
|
351
|
-
| `mindos doctor` |
|
|
352
|
-
| `mindos update` |
|
|
347
|
+
| `mindos gateway <sub>` | 管理 macOS/Linux 后台服务(`install`、`start`、`stop`、`logs`) |
|
|
348
|
+
| `mindos doctor` / `mindos logs` | 健康检查与本地服务日志 |
|
|
349
|
+
| `mindos update` / `mindos uninstall` | 更新或卸载 MindOS |
|
|
353
350
|
|
|
354
351
|
**主要快捷键:** `⌘K` 搜索 · `⌘/` AI 助手 · `E` 编辑 · `⌘S` 保存 · `Esc` 关闭。
|
|
355
352
|
|
|
@@ -379,6 +376,7 @@ MindOS/
|
|
|
379
376
|
<a href="https://github.com/zjpyb"><img src="https://github.com/zjpyb.png" width="60" style="border-radius:50%" alt="zjpyb" /></a>
|
|
380
377
|
<a href="https://github.com/huzhangyi"><img src="https://github.com/huzhangyi.png" width="60" style="border-radius:50%" alt="huzhangyi" /></a>
|
|
381
378
|
<a href="https://github.com/zenozhg"><img src="https://github.com/zenozhg.png" width="60" style="border-radius:50%" alt="Zeno Zhang" /></a>
|
|
379
|
+
<a href="https://github.com/octo-patch"><img src="https://github.com/octo-patch.png" width="60" style="border-radius:50%" alt="Octopus" /></a>
|
|
382
380
|
|
|
383
381
|
### 🙏 致谢
|
|
384
382
|
|
package/bin/mindos
CHANGED
|
Binary file
|
package/package.json
CHANGED