Skip to content

Commit e1837e0

Browse files
authored
Merge pull request #53 from SWangHash/bugfix_o
fix the bug
2 parents efb130f + 3d9e39e commit e1837e0

5 files changed

Lines changed: 22 additions & 24 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ Desktop is built on Tauri for Windows / macOS / Linux; remote control works from
133133
- [pnpm](https://pnpm.io/)
134134
- [Rust toolchain](https://rustup.rs/)
135135
- [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) (required for desktop development)
136+
- [ohos-rs](https://ohos.rs/docs/basic/quick-start)
136137

137138
**Commands:**
138139

‎README.zh-CN.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Agent 领域几乎每周都有新范式出现。BitFun 的节奏是——**看
137137
- [pnpm](https://pnpm.io/)
138138
- [Rust 工具链](https://rustup.rs/)
139139
- [Tauri 前置依赖](https://v2.tauri.app/start/prerequisites/)(桌面端开发需要)
140+
- [ohos-rs](https://ohos.rs/docs/basic/quick-start)
140141

141142
**运行指令:**
142143

‎src/web-ui/src/app/scenes/settings/SettingsScene.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
SessionPermissionsConfig,
1616
} from '../../../infrastructure/config/components/SessionConfig';
1717
import McpToolsConfig from '../../../infrastructure/config/components/McpToolsConfig';
18-
import AcpAgentsConfig from '../../../infrastructure/config/components/AcpAgentsConfig';
18+
// import AcpAgentsConfig from '../../../infrastructure/config/components/AcpAgentsConfig'; // temporarily hidden
1919
import EditorConfig from '../../../infrastructure/config/components/EditorConfig';
2020
import BasicsConfig from '../../../infrastructure/config/components/BasicsConfig';
2121
import AppearanceConfig from '../../../infrastructure/config/components/AppearanceConfig';
@@ -61,7 +61,7 @@ const SettingsScene: React.FC = () => {
6161
case 'quick-actions': Content = QuickActionsConfig; break;
6262
case 'review': Content = ReviewConfig; break;
6363
case 'mcp-tools': Content = McpToolsConfig; break;
64-
case 'acp-agents': Content = AcpAgentsConfig; break;
64+
// case 'acp-agents': Content = AcpAgentsConfig; break; // temporarily hidden
6565
case 'editor': Content = EditorConfig; break;
6666
}
6767

‎src/web-ui/src/app/scenes/settings/settingsConfig.ts‎

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type ConfigTab =
1414
| 'quick-actions'
1515
| 'review'
1616
| 'mcp-tools'
17-
| 'acp-agents'
17+
// | 'acp-agents' // temporarily hidden from config center
1818
// | 'lsp' // temporarily hidden from config center
1919
| 'editor'
2020
| 'keyboard';
@@ -192,20 +192,21 @@ export const SETTINGS_CATEGORIES: ConfigCategoryDef[] = [
192192
descriptionKey: 'configCenter.tabDescriptions.mcpTools',
193193
keywords: ['mcp', 'server', 'plugin', 'stdio', 'sse', 'tools'],
194194
},
195-
{
196-
id: 'acp-agents',
197-
labelKey: 'configCenter.tabs.acpAgents',
198-
descriptionKey: 'configCenter.tabDescriptions.acpAgents',
199-
keywords: [
200-
'acp',
201-
'agent client protocol',
202-
'external agent',
203-
'opencode',
204-
'claude code',
205-
'codex',
206-
'stdio',
207-
],
208-
},
195+
// ACP Agent settings — temporarily hidden from nav
196+
// {
197+
// id: 'acp-agents',
198+
// labelKey: 'configCenter.tabs.acpAgents',
199+
// descriptionKey: 'configCenter.tabDescriptions.acpAgents',
200+
// keywords: [
201+
// 'acp',
202+
// 'agent client protocol',
203+
// 'external agent',
204+
// 'opencode',
205+
// 'claude code',
206+
// 'codex',
207+
// 'stdio',
208+
// ],
209+
// },
209210
],
210211
},
211212
{
@@ -247,6 +248,7 @@ export function normalizeSettingsTab(section: string): ConfigTab {
247248
if (section === 'theme' || section === 'font' || section === 'fonts') return 'appearance';
248249
if (section === 'logging' || section === 'terminal') return 'basics';
249250
if (section === 'lsp') return DEFAULT_SETTINGS_TAB;
251+
if (section === 'acp-agents') return DEFAULT_SETTINGS_TAB;
250252
if (section === 'session-config') return 'session-personalization';
251253
if (section === 'deep-review' || section === 'code-review' || section === 'review-team') return 'review';
252254
if (section === 'shortcuts' || section === 'keybindings' || section === 'hotkeys') return 'keyboard';

‎src/web-ui/src/app/scenes/settings/settingsTabSearchContent.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,7 @@ export const SETTINGS_TAB_SEARCH_CONTENT: Record<ConfigTab, readonly SettingsTab
9999
{ ns: 'settings/mcp', key: 'section.serverList.description' },
100100
],
101101

102-
'acp-agents': [
103-
{ ns: 'settings/acp-agents', key: 'title' },
104-
{ ns: 'settings/acp-agents', key: 'subtitle' },
105-
{ ns: 'settings/acp-agents', key: 'registry.title' },
106-
{ ns: 'settings/acp-agents', key: 'registry.description' },
107-
{ ns: 'settings/acp-agents', key: 'json.title' },
108-
],
102+
// 'acp-agents': [ ... ], // nav entry temporarily hidden; omit from search index
109103

110104
editor: [
111105
{ ns: 'settings/editor', key: 'title' },

0 commit comments

Comments
 (0)