chore: rebuild CentOS7 release package
This commit is contained in:
@@ -21,6 +21,7 @@ function createAgentRuntime(deps) {
|
||||
saveSession,
|
||||
setRuntimeSessionId,
|
||||
getRuntimeSessionId,
|
||||
titleToolInstructions,
|
||||
} = deps;
|
||||
|
||||
function readRuntimePositiveIntEnv(name, fallback, options = {}) {
|
||||
@@ -179,6 +180,9 @@ function createAgentRuntime(deps) {
|
||||
const ccwebMcpEnv = createCcwebMcpEnv(session, options);
|
||||
appendCcwebMcpConfig(args, ccwebMcpEnv);
|
||||
appendProjectMcpConfigs(args, options.projectMcpConfigs);
|
||||
if (titleToolInstructions) {
|
||||
args.push('-c', `developer_instructions=${tomlString(titleToolInstructions)}`);
|
||||
}
|
||||
|
||||
const permMode = session.permissionMode || 'yolo';
|
||||
// `-s/--sandbox` is an option for `codex exec`, but not for `codex exec resume`.
|
||||
|
||||
@@ -36,6 +36,22 @@ const TOOLS = [
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ccweb_set_title',
|
||||
description: '设置当前 ccweb 对话标题。只作用于当前来源对话;用户手动重命名后会成功返回但忽略,不再覆盖用户标题。',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
title: {
|
||||
type: 'string',
|
||||
maxLength: 120,
|
||||
description: '新的当前对话标题。应简短概括用户主要目标。',
|
||||
},
|
||||
},
|
||||
required: ['title'],
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ccweb_create_conversation',
|
||||
description: '创建一个新的 ccweb 持久对话。Agent 固定继承来源对话,不作为参数指定;只用于需要在会话列表中长期追踪、后续可继续对话的工作流;一次性并行研究应优先使用子代能力。',
|
||||
|
||||
Reference in New Issue
Block a user