This commit is contained in:
decolua
2026-03-30 17:27:15 +07:00
parent 054facb08b
commit 01787a3d5b
3 changed files with 26 additions and 24 deletions
+22 -22
View File
@@ -340,111 +340,111 @@ export class AntigravityExecutor extends BaseExecutor {
}
}
// AG decoy tools — same names as AG native defaults, neutral description & minimal properties
// AG decoy tools — same names as AG native defaults, redirect to ide_ prefixed tools
const AG_DECOY_TOOLS = [
{
name: "browser_subagent",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "command_status",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "find_by_name",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "generate_image",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "grep_search",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "list_dir",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "list_resources",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "mcp_sequential-thinking_sequentialthinking",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "multi_replace_file_content",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "notify_user",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "read_resource",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "read_terminal",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "read_url_content",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "replace_file_content",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "run_command",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "search_web",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "send_command_input",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "task_boundary",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "view_content_chunk",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "view_file",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
},
{
name: "write_to_file",
description: "This tool is not available in the current context.",
description: "Use ide_ prefixed tools instead",
parameters: { type: "OBJECT", properties: {}, required: [] }
}
];