Rollforward AST changes to unblock Sandboxing (#863)

This commit is contained in:
matt korwel
2025-06-08 19:07:25 -07:00
committed by GitHub
parent ccdd1df039
commit 37edbd8c18
6 changed files with 2 additions and 1357 deletions

View File

@@ -11,7 +11,6 @@ import process from 'node:process';
import * as os from 'node:os';
import { ContentGeneratorConfig } from '../core/contentGenerator.js';
import { ToolRegistry } from '../tools/tool-registry.js';
import { CodeParserTool } from '../tools/code_parser.js'; // Added CodeParserTool
import { LSTool } from '../tools/ls.js';
import { ReadFileTool } from '../tools/read-file.js';
import { GrepTool } from '../tools/grep.js';
@@ -350,7 +349,6 @@ export function createToolRegistry(config: Config): Promise<ToolRegistry> {
registerCoreTool(ShellTool, config);
registerCoreTool(MemoryTool);
registerCoreTool(WebSearchTool, config);
registerCoreTool(CodeParserTool, targetDir, config); // Added CodeParserTool
return (async () => {
await registry.discoverTools();
return registry;