mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
fix(shell): update shell setting from usePty to enableInteractiveShell (#8726)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1262,7 +1262,7 @@ describe('SettingsDialog', () => {
|
||||
},
|
||||
},
|
||||
tools: {
|
||||
usePty: true,
|
||||
enableInteractiveShell: true,
|
||||
autoAccept: true,
|
||||
useRipgrep: true,
|
||||
},
|
||||
@@ -1375,7 +1375,7 @@ describe('SettingsDialog', () => {
|
||||
},
|
||||
tools: {
|
||||
useRipgrep: true,
|
||||
usePty: false,
|
||||
enableInteractiveShell: false,
|
||||
},
|
||||
},
|
||||
);
|
||||
@@ -1449,7 +1449,7 @@ describe('SettingsDialog', () => {
|
||||
it('should render with tools and security settings', () => {
|
||||
const settings = createMockSettings({
|
||||
tools: {
|
||||
usePty: true,
|
||||
enableInteractiveShell: true,
|
||||
autoAccept: false,
|
||||
useRipgrep: true,
|
||||
truncateToolOutputThreshold: 25000,
|
||||
@@ -1508,7 +1508,7 @@ describe('SettingsDialog', () => {
|
||||
},
|
||||
},
|
||||
tools: {
|
||||
usePty: false,
|
||||
enableInteractiveShell: false,
|
||||
autoAccept: false,
|
||||
useRipgrep: false,
|
||||
},
|
||||
|
||||
@@ -238,7 +238,7 @@ describe('useShellCommandProcessor', () => {
|
||||
'/test/dir',
|
||||
expect.any(Function),
|
||||
expect.any(Object),
|
||||
false, // usePty
|
||||
false, // enableInteractiveShell
|
||||
expect.any(Object),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user