Skip to content

Commit 1cb0939

Browse files
committed
Improve help banner with more info
1 parent 17c6c71 commit 1cb0939

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

cli/src/components/help-banner.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useSubscriptionQuery } from '../hooks/use-subscription-query'
55
import { useTheme } from '../hooks/use-theme'
66
import { IS_FREEBUFF } from '../utils/constants'
77
import { useChatStore } from '../state/chat-store'
8+
import { getChatGptOAuthStatus } from '../utils/chatgpt-oauth'
89

910
const HELP_TIMEOUT = 60 * 1000 // 60 seconds
1011

@@ -74,6 +75,24 @@ export const HelpBanner = () => {
7475
</box>
7576
</box>
7677

78+
{/* Tips Section */}
79+
<box style={{ flexDirection: 'column', gap: 0 }}>
80+
<SectionHeader>Tips</SectionHeader>
81+
<box style={{ flexDirection: 'column', paddingLeft: 2 }}>
82+
{IS_FREEBUFF && !getChatGptOAuthStatus().connected && (
83+
<text style={{ fg: theme.muted }}>
84+
Connect via /connect to unlock /plan & /review
85+
</text>
86+
)}
87+
<text style={{ fg: theme.muted }}>
88+
Use @ to reference agents to spawn or files to read
89+
</text>
90+
<text style={{ fg: theme.muted }}>
91+
Esc to cancel the current response
92+
</text>
93+
</box>
94+
</box>
95+
7796
{/* Credits Section — hidden in Freebuff */}
7897
{!IS_FREEBUFF && (
7998
<box style={{ flexDirection: 'column', gap: 0 }}>

0 commit comments

Comments
 (0)