Skip to content

Commit 43dea5a

Browse files
committed
chore: refresh welcome logo + desensitize internal git domain
1 parent 1fb305e commit 43dea5a

5 files changed

Lines changed: 18 additions & 13 deletions

File tree

docs/skills-context-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,4 +605,4 @@ AI 应该自动调用 `use_skill(skillName="superpowers:superpowers:brainstormin
605605
---
606606

607607
**维护联系:** Easy Code Team
608-
**问题反馈:** https://gitlab.liebaopay.com/ai_native/EasyCode/DeepVcodeClient/-/issues
608+
**问题反馈:** https://github.com/OrionStarAI/DeepVCode/issues

packages/cli/src/ui/components/AsciiArt.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ export const pixelRobotLogo = `
1111
▘▘ ▝▝
1212
`;
1313

14-
// 立体V字符logo (大括号折角 + 星芒 ✦)
14+
// Easy Code 品牌图标 logo(由 assets/icon.svg 高精度栅格化转译为 ASCII 轮廓,
15+
// 还原其双螺旋花瓣 + 中心星芒的造型)
1516
export const cuteVLogo = `
16-
╭───────────╮
17-
╭─╯
18-
╭╯ ✦
19-
╰─╮
20-
╰───────────╮
17+
.-+*-
18+
:+oo*=.
19+
:=ooo=:
20+
:oo*: .+*:
21+
:oo*: ✦ :+*-.
22+
:=ooo=. . :+*=
23+
-+++=+*oo=.
24+
=**+:
2125
`;
2226

2327
export const shortAsciiLogo = `

packages/cli/src/ui/components/WelcomeScreen.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = ({
151151
const fullPath = config.getProjectRoot();
152152
const welcomeMessage = userName ? `Welcome back, ${userName}!` : 'Welcome back!';
153153

154-
// 处理 Logo 字符串
155-
const trimmedLogo = cuteVLogo.trim();
154+
// 处理 Logo 字符串:仅剥除首尾空行,保留行内前导空格以维持图形对齐
155+
// (不能用 .trim(),否则会吃掉首行前导空格导致 logo 顶部错位)
156+
const trimmedLogo = cuteVLogo.replace(/^\n+/, '').replace(/\s+$/, '');
156157

157158
// 🎯 极致紧凑宽度
158159
const COMPACT_WIDTH = 68;

packages/core/src/utils/gitUtils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ describe('getGitProjectPath', () => {
166166

167167
it('parses SSH remote URL with multi-level subgroup path', () => {
168168
mockGitRemoteOutput(
169-
'origin\tgit@gitlab.liebaopay.com:ai_native/DeepVCode/DeepVcodeClient.git (fetch)\n',
169+
'origin\tgit@gitlab.example.com:group/DeepVCode/DeepVcodeClient.git (fetch)\n',
170170
);
171-
expect(getGitProjectPath('/some/repo')).toBe('ai_native/DeepVCode/DeepVcodeClient');
171+
expect(getGitProjectPath('/some/repo')).toBe('group/DeepVCode/DeepVcodeClient');
172172
});
173173

174174
it('falls back to first remote when origin is absent', () => {

scripts/sync-to-github.README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ git remote -v
3636
```
3737
github https://github.com/OrionStarAI/DeepVCode.git (fetch)
3838
github https://github.com/OrionStarAI/DeepVCode.git (push)
39-
origin https://gitlab.liebaopay.com/ai_native/EasyCode/DeepVcodeClient.git (fetch)
40-
origin https://gitlab.liebaopay.com/ai_native/EasyCode/DeepVcodeClient.git (push)
39+
origin https://your-internal-git.example.com/group/DeepVcodeClient.git (fetch)
40+
origin https://your-internal-git.example.com/group/DeepVcodeClient.git (push)
4141
```
4242

4343
## 🚀 使用方法

0 commit comments

Comments
 (0)