feat(ui): add OpenClaw support to frontend components

- Update App.tsx with openclaw visibility and skills fallback
- Add OpenClaw to AppSwitcher icon and display name maps
- Update McpFormModal with openclaw in enabled apps
- Update PromptFormModal/Panel with openclaw filename map
- Update EndpointSpeedTest with openclaw timeout
- Update AppVisibilitySettings with openclaw toggle
- Update test state with openclaw defaults
This commit is contained in:
Jason
2026-02-01 20:32:02 +08:00
parent 545be56698
commit fedb08e846
9 changed files with 22 additions and 6 deletions
+3 -1
View File
@@ -123,6 +123,7 @@ function App() {
codex: true,
gemini: true,
opencode: true,
openclaw: true,
};
const getFirstVisibleApp = (): AppId => {
@@ -130,6 +131,7 @@ function App() {
if (visibleApps.codex) return "codex";
if (visibleApps.gemini) return "gemini";
if (visibleApps.opencode) return "opencode";
if (visibleApps.openclaw) return "openclaw";
return "claude"; // fallback
};
@@ -586,7 +588,7 @@ function App() {
return (
<SkillsPage
ref={skillsPageRef}
initialApp={activeApp === "opencode" ? "claude" : activeApp}
initialApp={activeApp === "opencode" || activeApp === "openclaw" ? "claude" : activeApp}
/>
);
case "mcp":