Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ POSTHOG_API_KEY=key-goes-here
CLERK_BASE_URL=https://epic-chamois-85.clerk.accounts.dev
ROO_CODE_API_URL=http://localhost:3000
ROO_CODE_PROVIDER_URL=http://localhost:8080/proxy/v1
KILOCODE_HIDE_LOGO=false
8 changes: 6 additions & 2 deletions cli/src/ui/messages/cli/WelcomeMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ export const WelcomeMessage: React.FC<WelcomeMessageProps> = ({ options = {} })
const showInstructions = options.showInstructions !== false
const instructions =
options.instructions && options.instructions.length > 0 ? options.instructions : DEFAULT_INSTRUCTIONS

// Check if logo should be hidden via environment variable
const hideLogo = process.env.KILOCODE_HIDE_LOGO === "true" || process.env.KILOCODE_HIDE_LOGO === "1"

const contentHeight = 12 + (showInstructions ? instructions.length : 0)
const marginTop = options.clearScreen ? Math.max(0, (stdout?.rows || 0) - contentHeight) : 0

return (
<Box flexDirection="column" gap={2} marginTop={marginTop}>
{/* Logo section - always shown */}
<Logo />
{/* Logo section - hidden if KILOCODE_HIDE_LOGO env var is set */}
{!hideLogo && <Logo />}

{/* Instructions section */}
{showInstructions && (
Expand Down