mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-14 20:10:36 -07:00
feat(cli): add hostname to footer with smart visibility
- Add hostname to footer ALL_ITEMS and DEFAULT_ORDER - Implement smart visibility for hostname (only show when remote/container) - Shorten hostname to first segment to save space - Fix vimEnabled destructuring in Footer.tsx Fixes https://github.com/google-gemini/gemini-cli/issues/25661
This commit is contained in:
@@ -22,6 +22,11 @@ export const ALL_ITEMS = [
|
||||
header: 'sandbox',
|
||||
description: 'Sandbox type and trust indicator',
|
||||
},
|
||||
{
|
||||
id: 'hostname',
|
||||
header: 'host',
|
||||
description: 'System hostname (only shown when remote or in a container)',
|
||||
},
|
||||
{
|
||||
id: 'model-name',
|
||||
header: '/model',
|
||||
@@ -70,6 +75,7 @@ export const DEFAULT_ORDER = [
|
||||
'workspace',
|
||||
'git-branch',
|
||||
'sandbox',
|
||||
'hostname',
|
||||
'model-name',
|
||||
'context-used',
|
||||
'quota',
|
||||
@@ -87,6 +93,7 @@ export function deriveItemsFromLegacySettings(
|
||||
'workspace',
|
||||
'git-branch',
|
||||
'sandbox',
|
||||
'hostname',
|
||||
'model-name',
|
||||
'quota',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user