Improve readability issues

This is only the first change of many changes.

* Remove redundant autogenerated comments
* Use the recommended file name style
* Use camelCase for variable names
* Don't introduce submodules for relevant types
* Don't introduce constants like modules, these are implementation details
* Remove empty files
This commit is contained in:
Jaana Dogan
2025-04-17 12:03:02 -07:00
committed by N. Taylor Mullen
parent 898a83031c
commit 81ba61df7f
25 changed files with 186 additions and 240 deletions

View File

@@ -2,13 +2,10 @@ import { spawn, SpawnOptions, ChildProcessWithoutNullStreams, exec } from 'child
import path from 'path';
import os from 'os';
import crypto from 'crypto';
import { promises as fs } from 'fs'; // Added fs.promises
import { BaseTool } from './BaseTool.js'; // Adjust path as needed
import { ToolResult } from './ToolResult.js'; // Adjust path as needed
import { SchemaValidator } from '../utils/schemaValidator.js'; // Adjust path as needed
import { promises as fs } from 'fs';
import { BaseTool, ToolResult } from './tool.js';
import { SchemaValidator } from '../utils/schemaValidator.js';
import { ToolCallConfirmationDetails, ToolConfirmationOutcome, ToolExecuteConfirmationDetails } from '../ui/types.js'; // Adjust path as needed
import { GeminiClient } from '../core/GeminiClient.js';
import { SchemaUnion, Type } from '@google/genai';
import { BackgroundTerminalAnalyzer } from '../utils/BackgroundTerminalAnalyzer.js';
// --- Interfaces ---