diff --git a/README.md b/README.md index d41c8e8..fe87caa 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ | | 功能 | 说明 | |:---:|:---|:---| | 🤖 | **ReAct Agent Loop** | 始终开启的唯一对话模式。Thought → Action → Observation → Reflection 完整循环,最大 85 轮(可配置),自动重试 2 次,工具去重,并行/链式执行 | -| 🔧 | **38 个内置工具** | 文件系统 · 命令执行 · 联网搜索 · 浏览器控制 · Git · 记忆 · 技能 · 会话 · 子代理 | +| 🔧 | **39 个内置工具** | 文件系统 · 命令执行 · 联网搜索 · 浏览器控制 · Git · 记忆 · 技能 · 会话 · 子代理 | | 🧠 | **智能记忆系统** | 三类记忆(fact / preference / rule),FTS5 全文搜索 + 向量语义搜索,写入前安全扫描,容量 500 条,90 天衰减 | | 📋 | **自定义文件** | SOUL.md(人格,不可压缩)+ AGENT.md(行为准则)+ USER.md(用户画像),工作空间优先,内置默认 fallback | | 🎯 | **技能自动生成 v1.1** | 工具调用链自动提取 → 语义匹配 → 参数自优化 → 未使用衰减 → 技能链合并,越用越精准 | @@ -99,7 +99,7 @@
-🌐 浏览器控制(8 个) +🌐 浏览器控制(9 个) | 工具 | 功能 | |------|------| @@ -110,6 +110,7 @@ | `browser_click` | 点击元素 | | `browser_type` | 输入文本 | | `browser_scroll` | 页面滚动 | +| `browser_wait` | 等待元素/延时 | | `browser_close` | 关闭浏览器 |
@@ -163,7 +164,7 @@ ↓ Ollama API (流式响应,num_ctx 自动检测) ↓ - Tool Registry (38 内置 + MCP 动态) + Tool Registry (39 内置 + MCP 动态) ↓ 观察结果 → 反思 → 循环 / 最终回答 ``` @@ -262,7 +263,7 @@ npm run dist # 构建 Windows 安装包 | | Feature | Description | |:---:|:---|:---| | 🤖 | **ReAct Agent Loop** | Always-on, only chat mode. Full Thought → Action → Observation → Reflection cycle, up to 85 iterations (configurable), auto-retry 2 times, tool dedup, parallel/chain execution | -| 🔧 | **38 Built-in Tools** | File system · Command · Web search · Browser · Git · Memory · Skills · Sessions · Sub-agent | +| 🔧 | **39 Built-in Tools** | File system · Command · Web search · Browser · Git · Memory · Skills · Sessions · Sub-agent | | 🧠 | **Smart Memory System** | Three types (fact / preference / rule), FTS5 + vector semantic search, pre-write security scan, 500 capacity, 90-day decay | | 📋 | **Custom Files** | SOUL.md (persona, never compressed) + AGENT.md (behavior rules) + USER.md (user profile), workspace-first with built-in defaults | | 🎯 | **Auto Skill Generation v1.1** | Tool chain extraction → semantic matching → parameter self-optimization → decay → chain merging | @@ -386,7 +387,7 @@ User message → workspace SOUL.md (never compressed) → AGENT.md → USER.md ↓ Ollama API (Streaming Response) ↓ - Tool Registry (38 Built-in + MCP Dynamic) + Tool Registry (39 Built-in + MCP Dynamic) ↓ Observation → Reflection → Loop / Final Answer ``` diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index f9b384e..319a5fa 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -53,7 +53,7 @@ src/ │ ├── components/ # 14 个 UI 组件 │ ├── services/ │ │ ├── agent-engine.ts # ReAct Agent Loop 引擎 -│ │ ├── tool-registry.ts # 工具注册与调度(38 个内置工具 + MCP 动态) +│ │ ├── tool-registry.ts # 工具注册与调度(39 个内置工具 + MCP 动态) │ │ ├── memory-manager.ts # 记忆管理核心 │ │ ├── vector-memory.ts # 记忆向量索引(IVF) │ │ ├── vector-store.ts # 向量存储 + IVF 索引 @@ -155,7 +155,7 @@ import { ### 5.1 五大子系统 ``` -① Agent 系统 → agent-engine.ts + tool-registry.ts(38 内置工具 + MCP 动态) +① Agent 系统 → agent-engine.ts + tool-registry.ts(39 内置工具 + MCP 动态) ② 记忆系统 → memory-manager.ts + vector-memory.ts ③ 向量存储 → vector-store.ts(IVF 索引) ④ 工作空间 → workspace.ts (主进程) + workspace-panel.ts (渲染进程) diff --git a/release-notes.md b/release-notes.md index 08aa363..e8eaa99 100644 --- a/release-notes.md +++ b/release-notes.md @@ -4,7 +4,7 @@ ## 项目简介 -Metona Ollama Desktop 是一个基于 **Ollama** 的本地 AI 桌面客户端,采用 TypeScript + Electron 构建。所有 AI 推理均在本地完成,数据不离开本机。支持 ReAct Agent Loop、38 个内置工具、智能记忆系统、MCP 协议扩展、四引擎联网搜索、浏览器控制等能力。 +Metona Ollama Desktop 是一个基于 **Ollama** 的本地 AI 桌面客户端,采用 TypeScript + Electron 构建。所有 AI 推理均在本地完成,数据不离开本机。支持 ReAct Agent Loop、39 个内置工具、智能记忆系统、MCP 协议扩展、四引擎联网搜索、浏览器控制等能力。 --- @@ -18,7 +18,7 @@ Metona Ollama Desktop 是一个基于 **Ollama** 的本地 AI 桌面客户端, - 链式工具调用:web_search → web_fetch、list_directory → read_file 等模式 - 文本解析兜底:当模型未通过 tool_calls 返回时,从文本中提取 Action/Input -### 🔧 38 个内置工具 +### 🔧 39 个内置工具 | 分类 | 数量 | 工具 | |------|------|------| @@ -84,7 +84,7 @@ Metona Ollama Desktop 是一个基于 **Ollama** 的本地 AI 桌面客户端, ↓ Ollama API(流式响应) ↓ - 工具调用(38 内置 + MCP 动态) + 工具调用(39 内置 + MCP 动态) ↓ 观察结果 → 反思 → 循环/最终回答 ``` diff --git a/src/renderer/components/workspace-panel.ts b/src/renderer/components/workspace-panel.ts index b6efda7..aac6bf7 100644 --- a/src/renderer/components/workspace-panel.ts +++ b/src/renderer/components/workspace-panel.ts @@ -834,7 +834,7 @@ function renderToolCalls(): void {
AI 对话中自动调用工具,结果在此展示
-
共 38 个内置工具 · MCP 动态扩展
+
共 39 个内置工具 · MCP 动态扩展
`; return; diff --git a/src/renderer/index.html b/src/renderer/index.html index d30267a..a92966f 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -415,9 +415,9 @@