Skip to content

Commit 7dcedf3

Browse files
committed
docs(StartHere): 添加关于命名的背景说明注释
1 parent 09e44fa commit 7dcedf3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/pages/StartHere.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,22 @@ export function StartHere({ onNavigate }: StartHereProps) {
9999
</div>
100100
</section>
101101

102+
{/* Background Note */}
103+
<section className="bg-[var(--bg-panel)]/50 rounded-lg p-4 border border-[var(--border-subtle)] text-sm">
104+
<div className="flex items-start gap-3">
105+
<span className="text-[var(--amber)] text-lg">💡</span>
106+
<div>
107+
<h3 className="font-semibold text-[var(--text-primary)] mb-1">关于命名</h3>
108+
<p className="text-[var(--text-secondary)]">
109+
Qwen CLI 基于 <span className="text-[var(--cyber-blue)]">Google Gemini CLI</span> 改造而来。
110+
因此源码中会看到 <code className="text-[var(--amber)] bg-[var(--amber)]/10 px-1 rounded">GeminiChat</code>
111+
<code className="text-[var(--amber)] bg-[var(--amber)]/10 px-1 rounded">geminiChat.ts</code> 等命名,
112+
以及 <code className="text-[var(--amber)] bg-[var(--amber)]/10 px-1 rounded">Gemini 格式</code> 的消息结构 —— 这些都是历史遗留的内部命名,不影响理解。
113+
</p>
114+
</div>
115+
</div>
116+
</section>
117+
102118
{/* Learning Path Selection */}
103119
<section className="terminal-panel">
104120
<h2 className="text-xl font-bold font-mono text-[var(--text-primary)] mb-2 flex items-center gap-3">

0 commit comments

Comments
 (0)