fix cross-conversation replies and mobile session switching
This commit is contained in:
@@ -54,7 +54,7 @@ const TOOLS = [
|
||||
mode: {
|
||||
type: 'string',
|
||||
enum: ['default', 'plan', 'yolo'],
|
||||
description: '可选。权限模式,默认继承来源对话;不会自动写死为 plan。',
|
||||
description: '可选。权限模式,默认 yolo;只有显式传 default/plan/yolo 时才使用指定模式。',
|
||||
},
|
||||
initialMessage: {
|
||||
type: 'string',
|
||||
@@ -87,6 +87,36 @@ const TOOLS = [
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ccweb_list_pending_replies',
|
||||
description: '列出当前来源对话等待中的跨对话回复,包括已完成但尚未处理的子对话返回摘要。',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
status: {
|
||||
type: 'string',
|
||||
enum: ['all', 'waiting', 'ready', 'delivering', 'returned', 'failed'],
|
||||
description: '可选。按回复状态过滤,默认 all。',
|
||||
},
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ccweb_get_pending_reply',
|
||||
description: '读取指定 requestId 的跨对话回复状态和正文;用于主线程判断是否继续追问指定子对话。',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
requestId: {
|
||||
type: 'string',
|
||||
description: '等待回复 requestId。',
|
||||
},
|
||||
},
|
||||
required: ['requestId'],
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ccweb_request_reply',
|
||||
description: '向指定 ccweb 对话发送一条消息,并在目标对话本轮输出完成后把回复作为已处理的只读消息写回当前对话;写回不会再次触发当前对话运行。',
|
||||
|
||||
Reference in New Issue
Block a user