Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import type { SettingsSearchModule } from './settingsSearchTypes';
/** Search entries owned by the Appearance tab (AppearanceSection + StreamFadeSection). */
export default {
id: 'AppearanceSection',
order: 30,
entries: [
// 'general.appearance' / 'personalization.streamFade' 是拆分前的旧 id,保留为别名供旧深链解析(含旧具体锚点 targetId)。
{ id: 'appearance', tab: 'appearance', targetId: 'settings-panel-appearance', titleKey: 'settings.tabs.appearance', sectionKey: 'settings.tabs.appearance', aliases: ['general.appearance', 'settings-search-target-general-appearance'] },
{ id: 'appearance.fonts', tab: 'appearance', targetId: 'settings-search-target-appearance-fonts', titleKey: 'settings.appearance.font.title', sectionKey: 'settings.appearance.font.title' },
{ id: 'appearance.sidebar', tab: 'appearance', targetId: 'settings-search-target-appearance-sidebar', titleKey: 'settings.appearance.sidebarAndPanels', sectionKey: 'settings.appearance.sidebarAndPanels' },
{ id: 'settings.appearance.wallpaper.customChoose', fallbackTargetId: 'settings-search-target-appearance-wallpaper', tab: 'appearance', targetId: 'settings-search-settings-appearance-wallpaper', titleKey: 'settings.appearance.wallpaper.options.custom', sectionKey: 'settings.appearance.wallpaper.title', descriptionKey: 'settings.appearance.wallpaper.customHint' },
{ id: 'settings.appearance.modeLabel', fallbackTargetId: 'settings-search-target-appearance-theme', tab: 'appearance', targetId: 'settings-search-settings-appearance-modeLabel', titleKey: 'settings.appearance.modeLabel', sectionKey: 'settings.appearance.themeLabel' },
{ id: 'settings.appearance.themeLabel', fallbackTargetId: 'settings-search-target-appearance-theme', tab: 'appearance', targetId: 'settings-search-settings-appearance-themeLabel', titleKey: 'settings.appearance.themeLabel', sectionKey: 'settings.appearance.themeLabel' },
{ id: 'settings.appearance.wallpaper.title', fallbackTargetId: 'settings-search-target-appearance-wallpaper', tab: 'appearance', targetId: 'settings-search-settings-appearance-wallpaper', titleKey: 'settings.appearance.wallpaper.title', sectionKey: 'settings.appearance.wallpaper.title', descriptionKey: 'settings.appearance.wallpaper.description' },
{ id: 'settings.appearance.localThemes.title', fallbackTargetId: 'settings-search-target-appearance-theme', tab: 'appearance', targetId: 'settings-search-settings-appearance-localThemes-title', titleKey: 'settings.appearance.localThemes.title', sectionKey: 'settings.appearance.themeLabel' },
{ id: 'settings.appearance.font.uiFamily.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-uiFamily-label', titleKey: 'settings.appearance.font.uiFamily.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.uiFamily.description' },
{ id: 'settings.appearance.font.uiSize.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-uiSize-label', titleKey: 'settings.appearance.font.uiSize.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.uiSize.description' },
{ id: 'settings.appearance.font.codeFamily.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-codeFamily-label', titleKey: 'settings.appearance.font.codeFamily.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.codeFamily.description' },
{ id: 'settings.appearance.font.codeSize.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-codeSize-label', titleKey: 'settings.appearance.font.codeSize.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.codeSize.description' },
{ id: 'settings.appearance.font.terminalFamily.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-terminalFamily-label', titleKey: 'settings.appearance.font.terminalFamily.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.terminalFamily.description' },
{ id: 'settings.appearance.font.terminalSize.label', fallbackTargetId: 'settings-search-target-appearance-fonts', tab: 'appearance', targetId: 'settings-search-settings-appearance-font-terminalSize-label', titleKey: 'settings.appearance.font.terminalSize.label', sectionKey: 'settings.appearance.font.title', descriptionKey: 'settings.appearance.font.terminalSize.description' },
{ id: 'settings.appearance.sidebarCardMode.label', fallbackTargetId: 'settings-search-target-appearance-sidebar', tab: 'appearance', targetId: 'settings-search-settings-appearance-sidebarCardMode-label', titleKey: 'settings.appearance.sidebarCardMode.label', sectionKey: 'settings.appearance.sidebarAndPanels', descriptionKey: 'settings.appearance.sidebarCardMode.hint' },
{ id: 'settings.appearance.sidebarMainListMode.label', fallbackTargetId: 'settings-search-target-appearance-sidebar', tab: 'appearance', targetId: 'settings-search-settings-appearance-sidebarMainListMode-label', titleKey: 'settings.appearance.sidebarMainListMode.label', sectionKey: 'settings.appearance.sidebarAndPanels', descriptionKey: 'settings.appearance.sidebarMainListMode.hint' },
{ id: 'appearance.streamFade', tab: 'appearance', targetId: 'settings-search-target-appearance-stream-fade', titleKey: 'settings.sections.streamFade', sectionKey: 'settings.sections.streamFade', aliases: ['personalization.streamFade', 'settings-search-target-personalization-stream-fade'] },
{ id: 'settings.streamFade.label', fallbackTargetId: 'settings-search-target-appearance-stream-fade', tab: 'appearance', targetId: 'settings-search-target-appearance-stream-fade', titleKey: 'settings.streamFade.label', sectionKey: 'settings.sections.streamFade', aliases: ['fade in', '流式淡入'] },
],
} satisfies SettingsSearchModule;