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
@@ -20,6 +20,7 @@ const APP_CONFIG: Array<{
{ id: "codex", icon: "openai", nameKey: "apps.codex" },
{ id: "gemini", icon: "gemini", nameKey: "apps.gemini" },
{ id: "opencode", icon: "opencode", nameKey: "apps.opencode" },
{ id: "openclaw", icon: "openclaw", nameKey: "apps.openclaw" },
];
export function AppVisibilitySettings({
@@ -33,6 +34,7 @@ export function AppVisibilitySettings({
codex: true,
gemini: true,
opencode: true,
openclaw: true,
};
// Count how many apps are currently visible