设置界面支持版本控制和github账号管理

This commit is contained in:
itpkcn@gmail.com
2026-03-21 11:33:48 +08:00
parent e801f041a0
commit 62fab2c3f2
22 changed files with 1595 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import { useCallback, type ComponentType, type ReactNode } from "react"
import {
Bot,
BookOpenText,
GitBranch,
Keyboard,
Palette,
PlugZap,
@@ -19,7 +20,14 @@ import { AppTitleBar } from "@/components/layout/app-title-bar"
interface SettingsNavItem {
href: string
labelKey: "appearance" | "agents" | "mcp" | "skills" | "shortcuts" | "system"
labelKey:
| "appearance"
| "agents"
| "mcp"
| "skills"
| "shortcuts"
| "version_control"
| "system"
icon: ComponentType<{ className?: string }>
}
@@ -49,6 +57,11 @@ const SETTINGS_NAV_ITEMS: SettingsNavItem[] = [
labelKey: "shortcuts",
icon: Keyboard,
},
{
href: "/settings/version-control",
labelKey: "version_control",
icon: GitBranch,
},
{
href: "/settings/system",
labelKey: "system",