Make --allowed-tools work in non-interactive mode (#9114)

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
mistergarrison
2025-09-26 10:03:35 -07:00
committed by GitHub
parent 8a16165a9b
commit e8a065cb9f
9 changed files with 388 additions and 7 deletions

View File

@@ -61,6 +61,7 @@ describe('ShellTool', () => {
.mockReturnValue(createMockWorkspaceContext('/test/dir')),
getGeminiClient: vi.fn(),
getShouldUseNodePtyShell: vi.fn().mockReturnValue(false),
isInteractive: vi.fn().mockReturnValue(true),
} as unknown as Config;
shellTool = new ShellTool(mockConfig);