feat: CCW Dashboard 增强 - 停止命令、浏览器修复和MCP多源配置

- 新增 ccw stop 命令支持优雅停止和强制终止 (--force)
- 修复 ccw view 服务器检测时浏览器无法打开的问题
- MCP 配置现在从多个源读取:
  - ~/.claude.json (项目级)
  - ~/.claude/settings.json 和 settings.local.json (全局)
  - 各工作空间的 .claude/settings.json (工作空间级)
- 新增全局 MCP 服务器显示区域
- 修复路径选择模态框样式问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-08 10:28:07 +08:00
parent f4299457fb
commit 27273405f7
8 changed files with 377 additions and 21 deletions

View File

@@ -8112,3 +8112,76 @@ code.ctx-meta-chip-value {
opacity: 0.5;
cursor: not-allowed;
}
/* Path Input Group */
.path-input-group {
display: flex;
align-items: center;
gap: 0.75rem;
flex-wrap: wrap;
}
.path-input-group label {
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
white-space: nowrap;
}
.path-input-group input {
flex: 1;
min-width: 200px;
padding: 0.625rem 0.875rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
font-size: 0.875rem;
font-family: var(--font-mono);
color: hsl(var(--foreground));
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.path-input-group input:focus {
border-color: hsl(var(--primary));
box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.path-input-group input::placeholder {
color: hsl(var(--muted-foreground));
}
.path-go-btn {
padding: 0.625rem 1.25rem;
background: hsl(var(--primary));
color: white;
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
}
.path-go-btn:hover {
background: hsl(var(--primary) / 0.9);
transform: translateY(-1px);
}
.path-go-btn:active {
transform: translateY(0);
}
/* Selected Folder Display */
.selected-folder {
padding: 0.75rem 1rem;
background: hsl(var(--muted));
border-radius: 0.5rem;
margin-bottom: 0.75rem;
}
.selected-folder strong {
font-size: 1rem;
color: hsl(var(--foreground));
font-family: var(--font-mono);
}