diff --git a/packages/cli/src/config/footerItems.ts b/packages/cli/src/config/footerItems.ts index 612418a48f..4688a3fe23 100644 --- a/packages/cli/src/config/footerItems.ts +++ b/packages/cli/src/config/footerItems.ts @@ -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', ]; diff --git a/packages/cli/src/ui/components/Footer.test.tsx b/packages/cli/src/ui/components/Footer.test.tsx index ab242928aa..eac7cb86bd 100644 --- a/packages/cli/src/ui/components/Footer.test.tsx +++ b/packages/cli/src/ui/components/Footer.test.tsx @@ -861,6 +861,47 @@ describe('