diff --git a/src/renderer/components/workspace-panel.ts b/src/renderer/components/workspace-panel.ts
index a887ae7..3feb535 100644
--- a/src/renderer/components/workspace-panel.ts
+++ b/src/renderer/components/workspace-panel.ts
@@ -622,7 +622,15 @@ function renderFileList(): void {
}
if (fileTree.length === 0) {
- container.innerHTML = '
空目录
';
+ const relDir = currentFileDir.replace(workspaceDir, '~') || '~';
+ container.innerHTML = `
+
+
📂
+
${escapeHtml(relDir)}
+
+
空目录 · AI 创建的文件会出现在这里
+
+ `;
return;
}
@@ -784,7 +792,23 @@ function renderToolCalls(): void {
if (!container) return;
if (toolCards.length === 0) {
- container.innerHTML = '等待工具调用...
';
+ container.innerHTML = `
+
+
+
📄文件
+
💻命令
+
🔍搜索
+
🌐浏览器
+
🔖Git
+
🧠记忆
+
🎯技能
+
🤖代理
+
+
+
AI 对话中自动调用工具,结果在此展示
+
共 38 个内置工具 · MCP 动态扩展
+
+ `;
return;
}
diff --git a/src/renderer/styles/style.css b/src/renderer/styles/style.css
index a6cc084..afa5765 100644
--- a/src/renderer/styles/style.css
+++ b/src/renderer/styles/style.css
@@ -2434,6 +2434,60 @@ html, body {
opacity: 0;
}
+/* ── 工具页签空闲 ── */
+.ws-idle-icon-grid {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 10px;
+ max-width: 240px;
+}
+
+.ws-idle-icon-item {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 3px;
+ padding: 8px 4px;
+ border-radius: 8px;
+ background: rgba(245, 240, 232, 0.04);
+ border: 1px solid rgba(245, 240, 232, 0.06);
+ transition: background 0.2s;
+}
+
+.ws-idle-icon-item span {
+ font-size: 18px;
+}
+
+.ws-idle-icon-item small {
+ font-size: 9px;
+ color: rgba(245, 240, 232, 0.4);
+ font-family: var(--font);
+}
+
+/* ── 文件页签空闲 ── */
+.ws-idle-icon {
+ font-size: 28px;
+ opacity: 0.6;
+}
+
+.ws-idle-icon-lg {
+ font-size: 36px;
+}
+
+.ws-idle-desc {
+ font-size: 12px;
+ color: rgba(245, 240, 232, 0.55);
+ font-family: var(--font-mono);
+ text-align: center;
+}
+
+.ws-idle-hint {
+ font-size: 10px;
+ color: rgba(245, 240, 232, 0.3);
+ font-family: var(--font);
+ text-align: center;
+}
+
/* 工具调用 Tab */
.ws-tools-output {
flex: 1;