Compare commits

..

No commits in common. "095e0631c153d6a8599e690710d70708e15026ed" and "7d716b8b9072e52f3c8b4f3937a0c3431a410b45" have entirely different histories.

5 changed files with 17 additions and 32 deletions

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="opacity:1;"><path d="M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5"/><circle cx="13" cy="12" r="2"/><path d="M18 19c-2.8 0-5-2.2-5-5v8"/><circle cx="20" cy="19" r="2"/></svg>

Before

Width:  |  Height:  |  Size: 414 B

View File

@ -799,7 +799,7 @@ export const messageMethods = {
// 标记任务进行中,直到任务完成或用户手动停止
this.taskInProgress = true;
const localMessageSource = usePresetText ? (options?.source === 'runtime_queue_manual_guide' ? 'guidance' : 'presend') : 'user';
const localMessageSource = usePresetText ? (options?.source === 'runtime_queue' ? 'presend' : 'guidance') : 'user';
this.chatAddUserMessage(message, images, videos, [], localMessageSource);
// 关键体验修复:用户发送后立刻显示 assistant 头部 + 工作中计时 + 等待提示,
// 不等待 createTask / 轮询首事件返回。

View File

@ -18,15 +18,7 @@
<div class="git-changes-panel__body">
<div v-if="loading && !diff" class="git-changes-panel__empty">正在加载 Git 变更</div>
<div v-else-if="error && !files.length" class="git-changes-panel__empty git-changes-panel__empty--error">{{ error }}</div>
<div v-else-if="!files.length" class="git-changes-panel__empty">
<svg class="git-changes-panel__empty-svg" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="13" cy="12" r="2" stroke="currentColor" stroke-width="2"/>
<path d="M18 19c-2.8 0-5-2.2-5-5v8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="20" cy="19" r="2" stroke="currentColor" stroke-width="2"/>
</svg>
<span>当前没有未提交变更</span>
</div>
<div v-else-if="!files.length" class="git-changes-panel__empty">当前没有未提交变更</div>
<section v-for="file in files" v-else :key="file.path" class="git-change-file">
<div class="git-change-file__header">
<span class="git-change-file__title">

View File

@ -33,7 +33,8 @@
<rect x="2" y="3" width="20" height="16" rx="2" stroke="currentColor" stroke-width="1.5"/>
<path d="M6 7h12M6 10h8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
</svg>
<span>当前没有开启的终端</span>
<span>暂无活动终端</span>
<span class="terminal-panel__idle-hint">AI 使用终端时将自动显示</span>
</div>
</div>
</aside>
@ -465,9 +466,9 @@ onBeforeUnmount(() => {
.terminal-panel__empty-tab {
display: flex;
align-items: center;
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
padding: 4px 10px;
font-size: 12px;
color: var(--text-muted);
}
.terminal-panel__tab {
@ -551,7 +552,11 @@ onBeforeUnmount(() => {
.terminal-panel__idle-svg {
width: 36px;
height: 36px;
color: var(--text-tertiary);
opacity: 0.35;
}
.terminal-panel__idle-hint {
font-size: 11px;
opacity: 0.55;
}

View File

@ -77,8 +77,8 @@
.git-changes-panel__header {
flex: 0 0 auto;
min-height: 38px;
padding: 0 8px;
min-height: 54px;
padding: 10px 14px 8px 16px;
display: flex;
align-items: center;
justify-content: space-between;
@ -182,21 +182,10 @@
}
.git-changes-panel__empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
gap: 8px;
color: var(--text-muted);
padding: 48px 12px;
color: var(--claude-text-secondary);
text-align: center;
font-size: 13px;
&-svg {
width: 36px;
height: 36px;
color: var(--text-tertiary);
opacity: 0.55;
}
}
.git-changes-panel__empty--error {