Skip to content

Commit 192e33e

Browse files
feat: skills/plugins management virtual tab with install, enable/disable, marketplace support
1 parent b2e350a commit 192e33e

8 files changed

Lines changed: 859 additions & 0 deletions

File tree

crates/tauri-app/frontend/src/components/chat/ChatArea.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ThreadSetup } from "./ThreadSetup";
88
import { McpPanel } from "../sidebar/McpPanel";
99
import { ThemeSelector } from "../settings/ThemeSelector";
1010
import { SearchOverlay } from "../shared/SearchOverlay";
11+
import { SkillsPanel } from "../skills/SkillsPanel";
1112
import type { ContentBlock } from "../../types";
1213

1314
export function ChatArea() {
@@ -169,6 +170,11 @@ export function ChatArea() {
169170
<SearchOverlay inline />
170171
</div>
171172
</Show>
173+
<Show when={store.activeTab === "__skills__"}>
174+
<div class="virtual-tab-content">
175+
<SkillsPanel />
176+
</div>
177+
</Show>
172178

173179
{/* Regular chat content */}
174180
<Show when={!isVirtualTab()}>

crates/tauri-app/frontend/src/components/sidebar/Sidebar.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ export function Sidebar() {
134134
</svg>
135135
Search
136136
</button>
137+
<button class="sidebar-action" onClick={() => appStore.openVirtualTab("__skills__")} title="Skills & Plugins">
138+
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
139+
<path d="M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z" />
140+
</svg>
141+
Skills
142+
</button>
137143
<button class="sidebar-action" onClick={() => setStore("usageDashboardOpen", true)} title="Usage (Cmd+Shift+U)">
138144
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round">
139145
<line x1="18" y1="20" x2="18" y2="10" /><line x1="12" y1="20" x2="12" y2="4" /><line x1="6" y1="20" x2="6" y2="14" />

0 commit comments

Comments
 (0)