diff options
Diffstat (limited to 'packages/server/src')
| -rw-r--r-- | packages/server/src/config/config.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/server/src/config/config.ts b/packages/server/src/config/config.ts index 12e4f740..82b31902 100644 --- a/packages/server/src/config/config.ts +++ b/packages/server/src/config/config.ts @@ -21,8 +21,6 @@ import { WebFetchTool } from '../tools/web-fetch.js'; import { ReadManyFilesTool } from '../tools/read-many-files.js'; import { BaseTool, ToolResult } from '../tools/tools.js'; -const DEFAULT_PASSTHROUGH_COMMANDS = ['ls', 'git', 'npm']; - export class Config { private toolRegistry: ToolRegistry; @@ -33,7 +31,6 @@ export class Config { private readonly targetDir: string, private readonly debugMode: boolean, private readonly question: string | undefined, // Keep undefined possibility - private readonly passthroughCommands: string[] = DEFAULT_PASSTHROUGH_COMMANDS, // Default value here private readonly fullContext: boolean = false, // Default value here ) { // toolRegistry still needs initialization based on the instance @@ -67,10 +64,6 @@ export class Config { return this.question; } - getPassthroughCommands(): string[] { - return this.passthroughCommands; - } - getFullContext(): boolean { return this.fullContext; } @@ -106,7 +99,6 @@ export function createServerConfig( targetDir: string, debugMode: boolean, question: string, - passthroughCommands?: string[], fullContext?: boolean, ): Config { return new Config( @@ -116,7 +108,6 @@ export function createServerConfig( path.resolve(targetDir), debugMode, question, - passthroughCommands, fullContext, ); } |
