diff options
| author | Seth Troisi <[email protected]> | 2025-05-05 17:57:06 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-05 10:57:06 -0700 |
| commit | 415b757d4a7e654ebf6eae50b67498d0ae49f7f2 (patch) | |
| tree | ef97e881bbb57547447cffe314cf296a4355d8b2 /packages/server/src | |
| parent | a0bed3e7169eb6ce89b283b4c1dc0107e3851572 (diff) | |
Remove passthroughCommands (#252)
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, ); } |
