diff --git a/docs/en/intro/architecture.mdx b/docs/en/intro/architecture.mdx index 8958da8..3cdf619 100644 --- a/docs/en/intro/architecture.mdx +++ b/docs/en/intro/architecture.mdx @@ -33,10 +33,10 @@ When Agent mode is enabled, CowAgent runs as an autonomous agent with the follow ## Workspace Directory Structure -The Agent workspace is located at `~/cow` by default and stores system prompts, memory files, and skill files: +The Agent workspace is located at `~/.cow` by default and stores system prompts, memory files, and skill files: ``` -~/cow/ +~/.cow/ ├── system.md # Agent system prompt ├── user.md # User profile ├── memory/ # Long-term memory storage @@ -55,7 +55,7 @@ Configure Agent mode parameters in `config.json`: ```json { "agent": true, - "agent_workspace": "~/cow", + "agent_workspace": "~/.cow", "agent_max_context_tokens": 40000, "agent_max_context_turns": 30, "agent_max_steps": 15 @@ -65,7 +65,7 @@ Configure Agent mode parameters in `config.json`: | Parameter | Description | Default | | --- | --- | --- | | `agent` | Enable Agent mode | `true` | -| `agent_workspace` | Workspace path | `~/cow` | +| `agent_workspace` | Workspace path | `~/.cow` | | `agent_max_context_tokens` | Max context tokens | `40000` | | `agent_max_context_turns` | Max context turns | `30` | | `agent_max_steps` | Max decision steps per task | `15` | diff --git a/docs/en/skills/image-vision.mdx b/docs/en/skills/image-vision.mdx index 63543f4..8cc5c37 100644 --- a/docs/en/skills/image-vision.mdx +++ b/docs/en/skills/image-vision.mdx @@ -3,8 +3,6 @@ title: Image Vision description: Recognize images using OpenAI vision models --- -# openai-image-vision - Analyze image content using OpenAI's GPT-4 Vision API, understanding objects, text, colors, and other elements in images. ## Dependencies diff --git a/docs/en/skills/linkai-agent.mdx b/docs/en/skills/linkai-agent.mdx index db89134..d0edc05 100644 --- a/docs/en/skills/linkai-agent.mdx +++ b/docs/en/skills/linkai-agent.mdx @@ -3,8 +3,6 @@ title: LinkAI Agent description: Integrate LinkAI platform multi-agent skill --- -# linkai-agent - Use agents from the [LinkAI](https://link-ai.tech/) platform as Skills for multi-agent decision-making. The Agent intelligently selects based on agent names and descriptions, calling the corresponding application or workflow via `app_code`. ## Dependencies diff --git a/docs/en/skills/skill-creator.mdx b/docs/en/skills/skill-creator.mdx index d3ff168..6c5c3f7 100644 --- a/docs/en/skills/skill-creator.mdx +++ b/docs/en/skills/skill-creator.mdx @@ -3,8 +3,6 @@ title: Skill Creator description: Create custom skills through conversation --- -# skill-creator - Quickly create, install, or update skills through natural language conversation. ## Dependencies diff --git a/docs/en/skills/web-fetch.mdx b/docs/en/skills/web-fetch.mdx index d37923a..f52077d 100644 --- a/docs/en/skills/web-fetch.mdx +++ b/docs/en/skills/web-fetch.mdx @@ -3,8 +3,6 @@ title: Web Fetch description: Fetch web page text content --- -# web-fetch - Use curl to fetch web pages and extract readable text content. A lightweight web access method without browser automation. ## Dependencies diff --git a/docs/en/tools/bash.mdx b/docs/en/tools/bash.mdx index db10755..60b2091 100644 --- a/docs/en/tools/bash.mdx +++ b/docs/en/tools/bash.mdx @@ -3,8 +3,6 @@ title: bash - Terminal description: Execute system commands --- -# bash - Execute Bash commands in the current working directory, returns stdout and stderr. API keys configured via `env_config` are automatically injected into the environment. ## Dependencies diff --git a/docs/en/tools/browser.mdx b/docs/en/tools/browser.mdx index 6efce9f..b8e7829 100644 --- a/docs/en/tools/browser.mdx +++ b/docs/en/tools/browser.mdx @@ -3,8 +3,6 @@ title: browser - Browser description: Access and interact with web pages --- -# browser - Use a browser to access and interact with web pages, supports JavaScript-rendered dynamic pages. ## Dependencies diff --git a/docs/en/tools/edit.mdx b/docs/en/tools/edit.mdx index accc927..f231c6b 100644 --- a/docs/en/tools/edit.mdx +++ b/docs/en/tools/edit.mdx @@ -3,8 +3,6 @@ title: edit - File Edit description: Edit files via precise text replacement --- -# edit - Edit files via precise text replacement. If `oldText` is empty, appends to the end of the file. ## Dependencies diff --git a/docs/en/tools/env-config.mdx b/docs/en/tools/env-config.mdx index 1bd1c6c..23f75bf 100644 --- a/docs/en/tools/env-config.mdx +++ b/docs/en/tools/env-config.mdx @@ -3,8 +3,6 @@ title: env_config - Environment description: Manage API keys and secrets --- -# env_config - Manage environment variables (API keys and secrets) in the workspace `.env` file, with secure conversational updates. Built-in security protection and desensitization. ## Dependencies diff --git a/docs/en/tools/ls.mdx b/docs/en/tools/ls.mdx index 984a3ef..e9a5f65 100644 --- a/docs/en/tools/ls.mdx +++ b/docs/en/tools/ls.mdx @@ -3,8 +3,6 @@ title: ls - Directory List description: List directory contents --- -# ls - List directory contents, sorted alphabetically, directories suffixed with `/`, includes hidden files. ## Dependencies diff --git a/docs/en/tools/memory.mdx b/docs/en/tools/memory.mdx index 94b4e5a..a752633 100644 --- a/docs/en/tools/memory.mdx +++ b/docs/en/tools/memory.mdx @@ -3,8 +3,6 @@ title: memory - Memory description: Search and read long-term memory --- -# memory - The memory tool contains two sub-tools: `memory_search` (search memory) and `memory_get` (read memory files). ## Dependencies diff --git a/docs/en/tools/read.mdx b/docs/en/tools/read.mdx index 9ac43da..56b5657 100644 --- a/docs/en/tools/read.mdx +++ b/docs/en/tools/read.mdx @@ -3,8 +3,6 @@ title: read - File Read description: Read file content --- -# read - Read file content. Supports text files, PDF files, images (returns metadata), and more. ## Dependencies diff --git a/docs/en/tools/scheduler.mdx b/docs/en/tools/scheduler.mdx index a79d453..0a5520c 100644 --- a/docs/en/tools/scheduler.mdx +++ b/docs/en/tools/scheduler.mdx @@ -3,8 +3,6 @@ title: scheduler - Scheduler description: Create and manage scheduled tasks --- -# scheduler - Create and manage dynamic scheduled tasks with flexible scheduling and execution modes. ## Dependencies diff --git a/docs/en/tools/send.mdx b/docs/en/tools/send.mdx index f1d7cfc..1cf089a 100644 --- a/docs/en/tools/send.mdx +++ b/docs/en/tools/send.mdx @@ -3,8 +3,6 @@ title: send - File Send description: Send files to user --- -# send - Send files to the user (images, videos, audio, documents, etc.), used when the user explicitly requests to send/share a file. ## Dependencies diff --git a/docs/en/tools/web-search.mdx b/docs/en/tools/web-search.mdx index 5e73491..d9d088c 100644 --- a/docs/en/tools/web-search.mdx +++ b/docs/en/tools/web-search.mdx @@ -3,8 +3,6 @@ title: web_search - Web Search description: Search the internet for real-time information --- -# web_search - Search the internet for real-time information, news, research, and more. Supports two search backends with automatic fallback. ## Dependencies diff --git a/docs/en/tools/write.mdx b/docs/en/tools/write.mdx index 42f81f2..2c0a10f 100644 --- a/docs/en/tools/write.mdx +++ b/docs/en/tools/write.mdx @@ -3,8 +3,6 @@ title: write - File Write description: Create or overwrite files --- -# write - Write content to a file. Creates the file if it doesn't exist, overwrites if it does. Automatically creates parent directories. ## Dependencies diff --git a/docs/intro/architecture.mdx b/docs/intro/architecture.mdx index 39ff09a..67aff37 100644 --- a/docs/intro/architecture.mdx +++ b/docs/intro/architecture.mdx @@ -33,10 +33,10 @@ CowAgent 的整体架构由以下核心模块组成: ## 工作空间 -Agent 的工作空间默认位于 `~/cow` 目录,用于存储系统提示词、记忆文件、技能文件等: +Agent 的工作空间默认位于 `~/.cow` 目录,用于存储系统提示词、记忆文件、技能文件等: ``` -~/cow/ +~/.cow/ ├── system.md # Agent system prompt ├── user.md # User profile ├── memory/ # Long-term memory storage @@ -55,7 +55,7 @@ Agent 的工作空间默认位于 `~/cow` 目录,用于存储系统提示词 ```json { "agent": true, - "agent_workspace": "~/cow", + "agent_workspace": "~/.cow", "agent_max_context_tokens": 40000, "agent_max_context_turns": 30, "agent_max_steps": 15 @@ -65,7 +65,7 @@ Agent 的工作空间默认位于 `~/cow` 目录,用于存储系统提示词 | 参数 | 说明 | 默认值 | | --- | --- | --- | | `agent` | 是否启用 Agent 模式 | `true` | -| `agent_workspace` | 工作空间路径 | `~/cow` | +| `agent_workspace` | 工作空间路径 | `~/.cow` | | `agent_max_context_tokens` | 最大上下文 token 数 | `40000` | | `agent_max_context_turns` | 最大上下文记忆轮次 | `30` | | `agent_max_steps` | 单次任务最大决策步数 | `15` | diff --git a/docs/models/doubao.mdx b/docs/models/doubao.mdx index 6895916..e744043 100644 --- a/docs/models/doubao.mdx +++ b/docs/models/doubao.mdx @@ -3,8 +3,6 @@ title: 豆包 Doubao description: 豆包 (火山方舟) 模型配置 --- -# 豆包 (Doubao) - ```json { "model": "doubao-seed-2-0-code-preview-260215", diff --git a/docs/models/glm.mdx b/docs/models/glm.mdx index bee5f4b..bc393db 100644 --- a/docs/models/glm.mdx +++ b/docs/models/glm.mdx @@ -3,8 +3,6 @@ title: 智谱 GLM description: 智谱AI GLM 模型配置 --- -# 智谱AI (GLM) - ```json { "model": "glm-5", diff --git a/docs/models/kimi.mdx b/docs/models/kimi.mdx index 32dd500..1ddf8a6 100644 --- a/docs/models/kimi.mdx +++ b/docs/models/kimi.mdx @@ -3,8 +3,6 @@ title: Kimi description: Kimi (Moonshot) 模型配置 --- -# Kimi (Moonshot) - ```json { "model": "kimi-k2.5", diff --git a/docs/models/qwen.mdx b/docs/models/qwen.mdx index a8aae92..f3c7506 100644 --- a/docs/models/qwen.mdx +++ b/docs/models/qwen.mdx @@ -3,8 +3,6 @@ title: 通义千问 Qwen description: 通义千问模型配置 --- -# 通义千问 (Qwen) - ```json { "model": "qwen3.5-plus", diff --git a/docs/skills/image-vision.mdx b/docs/skills/image-vision.mdx index c5bb4b4..1c71f62 100644 --- a/docs/skills/image-vision.mdx +++ b/docs/skills/image-vision.mdx @@ -3,8 +3,6 @@ title: 图像识别 description: 使用 OpenAI 视觉模型识别图片 --- -# openai-image-vision - 使用 OpenAI 的 GPT-4 Vision API 分析图片内容,理解图像中的物体、文字、颜色等元素。 ## 依赖 diff --git a/docs/skills/linkai-agent.mdx b/docs/skills/linkai-agent.mdx index a0abc3b..38fc735 100644 --- a/docs/skills/linkai-agent.mdx +++ b/docs/skills/linkai-agent.mdx @@ -3,8 +3,6 @@ title: LinkAI 智能体 description: 对接 LinkAI 平台的多智能体技能 --- -# linkai-agent - 将 [LinkAI](https://link-ai.tech/) 平台上的智能体作为 Skill 使用,实现多智能体决策。Agent 根据智能体的名称和描述智能选择,通过 `app_code` 调用对应的应用或工作流。 ## 依赖 diff --git a/docs/skills/skill-creator.mdx b/docs/skills/skill-creator.mdx index 5f35da0..a530195 100644 --- a/docs/skills/skill-creator.mdx +++ b/docs/skills/skill-creator.mdx @@ -3,8 +3,6 @@ title: 创建技能 description: 通过对话创建自定义技能 --- -# skill-creator - 通过自然语言对话快速创建、安装或更新技能。 ## 依赖 diff --git a/docs/skills/web-fetch.mdx b/docs/skills/web-fetch.mdx index 71c239a..eedf49b 100644 --- a/docs/skills/web-fetch.mdx +++ b/docs/skills/web-fetch.mdx @@ -3,8 +3,6 @@ title: 网页抓取 description: 抓取网页文本内容 --- -# web-fetch - 使用 curl 抓取网页并提取可读文本内容,轻量级的网页访问方式,无需浏览器自动化。 ## 依赖 diff --git a/docs/tools/bash.mdx b/docs/tools/bash.mdx index 6ea3176..0090fe1 100644 --- a/docs/tools/bash.mdx +++ b/docs/tools/bash.mdx @@ -3,8 +3,6 @@ title: bash - 终端 description: 执行系统命令 --- -# bash - 在当前工作目录执行 Bash 命令,返回 stdout 和 stderr。`env_config` 中配置的 API Key 会自动注入到环境变量中。 ## 依赖 diff --git a/docs/tools/browser.mdx b/docs/tools/browser.mdx index 88e0fcf..8c473da 100644 --- a/docs/tools/browser.mdx +++ b/docs/tools/browser.mdx @@ -3,8 +3,6 @@ title: browser - 浏览器 description: 访问和操作网页 --- -# browser - 使用浏览器访问和操作网页,支持 JavaScript 渲染的动态页面。 ## 依赖 diff --git a/docs/tools/edit.mdx b/docs/tools/edit.mdx index 2a8f291..717af2b 100644 --- a/docs/tools/edit.mdx +++ b/docs/tools/edit.mdx @@ -3,8 +3,6 @@ title: edit - 文件编辑 description: 通过精确文本替换编辑文件 --- -# edit - 通过精确文本替换编辑文件。如果 `oldText` 为空则追加到文件末尾。 ## 依赖 diff --git a/docs/tools/env-config.mdx b/docs/tools/env-config.mdx index 479ef21..d5d52c6 100644 --- a/docs/tools/env-config.mdx +++ b/docs/tools/env-config.mdx @@ -3,8 +3,6 @@ title: env_config - 环境变量 description: 管理 API Key 等秘钥配置 --- -# env_config - 管理工作空间 `.env` 文件中的环境变量(API Key 等秘钥),支持通过对话安全地添加和更新。内置安全保护和脱敏策略。 ## 依赖 diff --git a/docs/tools/ls.mdx b/docs/tools/ls.mdx index fff91be..e4d25fc 100644 --- a/docs/tools/ls.mdx +++ b/docs/tools/ls.mdx @@ -3,8 +3,6 @@ title: ls - 目录列表 description: 列出目录内容 --- -# ls - 列出目录内容,按字母排序,目录名带 `/` 后缀,包含隐藏文件。 ## 依赖 diff --git a/docs/tools/memory.mdx b/docs/tools/memory.mdx index 4fa0936..0b60624 100644 --- a/docs/tools/memory.mdx +++ b/docs/tools/memory.mdx @@ -3,8 +3,6 @@ title: memory - 记忆 description: 搜索和读取长期记忆 --- -# memory - 记忆工具包含两个子工具:`memory_search`(搜索记忆)和 `memory_get`(读取记忆文件)。 ## 依赖 diff --git a/docs/tools/read.mdx b/docs/tools/read.mdx index 0454125..07e08b8 100644 --- a/docs/tools/read.mdx +++ b/docs/tools/read.mdx @@ -3,8 +3,6 @@ title: read - 文件读取 description: 读取文件内容 --- -# read - 读取文件内容。支持文本文件、PDF 文件、图片(返回元数据)等格式。 ## 依赖 diff --git a/docs/tools/scheduler.mdx b/docs/tools/scheduler.mdx index 20ca4df..91b1789 100644 --- a/docs/tools/scheduler.mdx +++ b/docs/tools/scheduler.mdx @@ -3,8 +3,6 @@ title: scheduler - 定时任务 description: 创建和管理定时任务 --- -# scheduler - 创建和管理动态定时任务,支持灵活的调度方式和执行模式。 ## 依赖 diff --git a/docs/tools/send.mdx b/docs/tools/send.mdx index 4f30c61..05f73a6 100644 --- a/docs/tools/send.mdx +++ b/docs/tools/send.mdx @@ -3,8 +3,6 @@ title: send - 文件发送 description: 向用户发送文件 --- -# send - 向用户发送文件(图片、视频、音频、文档等),当用户明确要求发送/分享文件时使用。 ## 依赖 diff --git a/docs/tools/web-search.mdx b/docs/tools/web-search.mdx index 0eda6d5..2622d0c 100644 --- a/docs/tools/web-search.mdx +++ b/docs/tools/web-search.mdx @@ -3,8 +3,6 @@ title: web_search - 联网搜索 description: 搜索互联网获取实时信息 --- -# web_search - 搜索互联网获取实时信息、新闻、研究等内容。支持两个搜索后端,自动选择可用的后端。 ## 依赖 diff --git a/docs/tools/write.mdx b/docs/tools/write.mdx index 63f77a5..51cf66f 100644 --- a/docs/tools/write.mdx +++ b/docs/tools/write.mdx @@ -3,8 +3,6 @@ title: write - 文件写入 description: 创建或覆盖写入文件 --- -# write - 写入内容到文件。文件不存在则自动创建,已存在则覆盖。自动创建父目录。 ## 依赖