fix(mcp): inherit agent when creating conversations

This commit is contained in:
shiyue
2026-06-17 15:25:34 +08:00
parent 0812763c75
commit 216f87e3b4
3 changed files with 10 additions and 15 deletions

View File

@@ -38,15 +38,10 @@ const TOOLS = [
},
{
name: 'ccweb_create_conversation',
description: '创建一个新的 ccweb 持久对话。只用于需要在会话列表中长期追踪、后续可继续对话的工作流;一次性并行研究应优先使用子代能力。',
description: '创建一个新的 ccweb 持久对话。Agent 固定继承来源对话,不作为参数指定;只用于需要在会话列表中长期追踪、后续可继续对话的工作流;一次性并行研究应优先使用子代能力。',
inputSchema: {
type: 'object',
properties: {
agent: {
type: 'string',
enum: ['claude', 'codex', 'codexapp'],
description: '可选。新对话使用的 Agent默认继承来源对话。',
},
cwd: {
type: 'string',
description: '可选。新对话工作目录;指定时必须是已存在的绝对路径,默认继承来源对话 cwd。',