From a74c801945a7b6d1fc608e2126c016a53104ca42 Mon Sep 17 00:00:00 2001 From: ooodc <549496103@qq.com> Date: Sat, 23 May 2026 12:24:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=92=8C=E6=8F=8F=E8=BF=B0=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E5=8F=AF=E8=AF=BB=E6=80=A7=E5=B9=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=A4=9A=E5=B9=B3=E5=8F=B0=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0b786fe..415374c 100644 --- a/README.md +++ b/README.md @@ -488,46 +488,52 @@ tools 配置示例: 可用工具名称: - calculator - 数学计算器 - get_time - 获取当前时间 -- file_read - 读取文件 -- file_write - 写入文件 -- file_edit - 编辑文件 +- read - 读取文件 +- write - 写入文件 +- edit - 编辑文件 - memory_search - 搜索长期记忆 - memory_manage - 管理长期记忆 -- session_send - 发送会话消息 +- send_session_message - 发送会话消息 - scheduler_manage - 管理定时任务 - skill_activate - 激活技能 -- skill_list - 列出技能 -- skill_manage - 管理技能 -- bash - 执行 shell 命令 +- skill_manage - 管理技能(含 list 功能) +- bash - 执行 shell 命令(Unix/Linux/macOS) +- shell - 执行 shell 命令(Windows PowerShell/Cmd) - http_request - HTTP 请求 - web_fetch - 网页抓取 +- task - 创建和管理子代理 + +注意:bash 和 shell 是同一个工具在不同平台上的名称,运行时自动检测。 ## 8. 工具机制 PicoBot 的 Agent 是围绕工具调用构建的。当前默认注册的工具包括: - calculator:简单数学计算 -- time:获取当前时间与时区上下文 -- file_read:读取文件 -- file_write:写文件 -- file_edit:编辑文件 +- get_time:获取当前时间与时区上下文 +- read:读取文件 +- write:写文件 +- edit:编辑文件 - memory_search:读取长期记忆 - memory_manage:写入 / 更新 / 删除长期记忆 +- send_session_message:发送会话消息 - scheduler_manage:管理调度任务 - skill_activate:读取并激活某个技能内容 -- skill_list:列出技能 -- skill_manage:管理技能 -- bash:执行 shell 命令 +- skill_manage:管理技能(支持 list, get, create, update, delete, disable, reload) +- bash / shell:执行 shell 命令(同一工具,Unix 下名称为 bash,Windows 下名称为 shell) - http_request:发起 HTTP 请求 - web_fetch:抓取网页正文 +- task:创建和管理子代理 其中: -- 文件工具适合做代码库和文档操作 +- read / write / edit 文件工具适合做代码库和文档操作 - 记忆工具适合维持长期用户画像 - scheduler_manage 允许 Agent 自主创建后续计划任务 - skill_activate 负责把具体技能正文注入当前任务上下文 -- bash / http_request / web_fetch 让 Agent 具备更强的外部交互能力 +- skill_manage 整合了技能列出与管理功能,支持运行时创建、更新、删除和批量禁用 +- bash / shell / http_request / web_fetch 让 Agent 具备更强的外部交互能力(bash 和 shell 是同一工具在不同平台的名称) +- task 允许 Agent 创建独立上下文的子代理来处理复杂多步骤任务,支持 general 和 explore 两种类型 ## 9. 调度器机制