mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-13 19:20:04 +00:00
87b1f39c0f
* ✨ feat: add delete/uninstall actions to settings/skill items - LobehubSkillItem: show compact `...` dropdown in list mode for connected items with Disconnect action (revokes OAuth) - KlavisSkillItem: show compact `...` dropdown in list mode for connected/pending servers with Remove action (true delete via removeKlavisServer) - ConnectorDetail: add Delete button for custom (mcp) connectors; calls deleteConnector + notifies parent via onDelete - SkillDetail / Page: thread onDelete callback so selecting null after deletion triggers auto-select of next item - Locales: add tools.klavis.remove / removeConfirm.title / removeConfirm.desc in en-US, zh-CN, and default source Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(skill): gate Klavis remove by canEdit and clear selected after removal Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(skill): show dropdown for all Klavis/Lobehub items in list mode Previously, the ... button was gated behind `server` (Klavis) and `isConnected` (LobehubSkill), so disconnected/never-connected items showed no actions. Remove those guards so the dropdown always renders in list mode. handleRemove/handleDisconnect now skip the server call when no server instance exists and instead clear the selected item. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(skill): move delete/uninstall actions from list dropdown to detail panel - Remove heavy ... dropdown from KlavisSkillItem / LobehubSkillItem list items - Add danger Uninstall button to builtin-skill detail header (matches ConnectorDetail style) - Add slim action bar with Uninstall to agent-skill detail panel - All actions respect canEdit / canCreate permissions with confirmModal gating Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>