@burdenoff/microfe-vibecontrols 2026.1115.1 → 2026.1115.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Route of a plugin's detail page under the VibeControls base path
3
+ * (BOFF-4057). The detail route is a splat (`plugins/*`), so the scoped npm
4
+ * name keeps its slash: `/plugins/@vibecontrols/vibe-plugin-ai-claude`.
5
+ * Pass the result to `useVibeNavigate()`, which adds the base path.
6
+ */
7
+ export declare function pluginDetailPath(packageName: string): string;
@@ -0,0 +1,5 @@
1
+ // src/constants/pluginRoutes.ts
2
+ function e(e) {
3
+ return `/plugins/${e}`;
4
+ }
5
+ export { e as pluginDetailPath };
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * PluginDetailPage — identity + per-agent install matrix for ONE plugin.
3
3
  *
4
- * Route (owned by the integrator): `plugins/pkg/*`
4
+ * Route: `plugins/*` (the catalog cards link here via `pluginDetailPath`).
5
5
  * The splat carries the raw package name, scope slash included, e.g.
6
- * `/vibecontrols/plugins/pkg/@vibecontrols/vibe-plugin-tunnel-cloudflare`.
6
+ * `/vibecontrols/plugins/@vibecontrols/vibe-plugin-tunnel-cloudflare`.
7
7
  *
8
8
  * Everything rendered here comes from something that exists:
9
9
  * - identity/description → the local `PLUGIN_CATALOG` metadata, with the
@@ -1,19 +1,20 @@
1
1
  import { PLUGIN_CATALOG as e } from "../constants/pluginCatalog.js";
2
- import { AgentSelector as t } from "../components/shared/AgentSelector.js";
3
- import { QuotaExhaustedDialog as n } from "../components/shared/QuotaExhaustedDialog.js";
4
- import { usePluginAvailability as r } from "../hooks/usePluginAvailability.js";
5
- import { useVibeControlsStore as i } from "../store/vibeControlsStore.js";
6
- import { BILLING_PLANS_ROUTE as a, useVibeNavigate as o } from "../providers/VibeControlsProvider.js";
7
- import { useTr as s } from "../shared/hooks/useTr.js";
8
- import { useCallback as c, useMemo as l, useState as u } from "react";
9
- import { Check as d, ChevronDown as f, Copy as p, Download as m, Loader2 as h, Plug as g, Search as _, X as v } from "lucide-react";
10
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
11
- import { Card as S, IllustratedEmptyState as C, PageContainer as w, PagePurpose as T } from "@burdenoff/fe-libs/ui";
12
- import { MotionPage as E } from "@burdenoff/fe-libs/shared/motion";
13
- import { useAssistantPageControls as D } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
14
- import { searchOf as O, tabsOf as k } from "@burdenoff/fe-libs/shared/assistant/appControls/pageAdapters";
2
+ import { pluginDetailPath as t } from "../constants/pluginRoutes.js";
3
+ import { AgentSelector as n } from "../components/shared/AgentSelector.js";
4
+ import { QuotaExhaustedDialog as r } from "../components/shared/QuotaExhaustedDialog.js";
5
+ import { usePluginAvailability as i } from "../hooks/usePluginAvailability.js";
6
+ import { useVibeControlsStore as a } from "../store/vibeControlsStore.js";
7
+ import { BILLING_PLANS_ROUTE as o, useVibeNavigate as s } from "../providers/VibeControlsProvider.js";
8
+ import { useTr as c } from "../shared/hooks/useTr.js";
9
+ import { useCallback as l, useMemo as u, useState as d } from "react";
10
+ import { ArrowRight as f, Check as p, ChevronDown as m, Copy as h, Download as g, Loader2 as _, Plug as v, Search as y, X as b } from "lucide-react";
11
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
12
+ import { Card as w, IllustratedEmptyState as T, PageContainer as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
13
+ import { MotionPage as O } from "@burdenoff/fe-libs/shared/motion";
14
+ import { useAssistantPageControls as k } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
15
+ import { searchOf as A, tabsOf as j } from "@burdenoff/fe-libs/shared/assistant/appControls/pageAdapters";
15
16
  // src/pages/PluginsCatalogPage.tsx
16
- var A = [
17
+ var M = [
17
18
  {
18
19
  value: "all",
19
20
  labelKey: "vibecontrols.plugins.category.all",
@@ -90,122 +91,129 @@ var A = [
90
91
  labelFallback: "Tools"
91
92
  }
92
93
  ];
93
- function j(e) {
94
+ function N(e) {
94
95
  return e.endsWith("-core") ? "Meta" : e.endsWith("-provider") ? "Provider" : "Plugin";
95
96
  }
96
- function M(e) {
97
+ function P(e) {
97
98
  switch (e) {
98
99
  case "Meta": return "bg-accent-purple-subtle text-text-primary border-accent-purple/30";
99
100
  case "Provider": return "bg-status-info-bg text-status-info-text border-status-info-border";
100
101
  default: return "bg-bg-sunken text-text-secondary border-border-default";
101
102
  }
102
103
  }
103
- function N({ text: e, ariaLabel: t }) {
104
- let [n, r] = u(!1), i = c(async () => {
104
+ function F({ text: e, ariaLabel: t }) {
105
+ let [n, r] = d(!1), i = l(async () => {
105
106
  try {
106
107
  typeof navigator < "u" && navigator.clipboard && await navigator.clipboard.writeText(e), r(!0), window.setTimeout(() => r(!1), 1500);
107
108
  } catch {
108
109
  r(!1);
109
110
  }
110
111
  }, [e]);
111
- return /* @__PURE__ */ b("button", {
112
+ return /* @__PURE__ */ S("button", {
112
113
  type: "button",
113
114
  onClick: i,
114
115
  "aria-label": t,
115
116
  className: "inline-flex items-center justify-center size-7 rounded border border-border-default bg-bg-surface text-text-secondary hover:text-text-primary hover:bg-bg-elevated transition-colors flex-shrink-0",
116
- children: b(n ? d : p, { className: "size-3.5" })
117
+ children: S(n ? p : h, { className: "size-3.5" })
117
118
  });
118
119
  }
119
- function P({ plugin: e, agentId: t, installed: n, installing: r, installBusy: i, onInstall: a }) {
120
- let o = s(), c = j(e.category), l = `npm install ${e.packageName}`, p = `import plugin from '${e.packageName}';`, [g, _] = u(!1), [v, C] = u(!1);
121
- return /* @__PURE__ */ b(S, {
120
+ function I({ plugin: e, agentId: t, installed: n, installing: r, installBusy: i, onInstall: a, onOpenDetails: o }) {
121
+ let s = c(), l = N(e.category), u = `npm install ${e.packageName}`, h = `import plugin from '${e.packageName}';`, [v, y] = d(!1), [b, T] = d(!1);
122
+ return /* @__PURE__ */ S(w, {
122
123
  className: "flex flex-col h-full p-0 bg-bg-surface border-border-default",
123
- children: /* @__PURE__ */ x("div", {
124
+ children: /* @__PURE__ */ C("div", {
124
125
  className: "flex flex-col gap-3 p-4",
125
126
  children: [
126
- /* @__PURE__ */ x("div", {
127
+ /* @__PURE__ */ C("div", {
127
128
  className: "flex items-start justify-between gap-3",
128
- children: [/* @__PURE__ */ x("div", {
129
+ children: [/* @__PURE__ */ C("div", {
129
130
  className: "min-w-0 flex-1",
130
- children: [/* @__PURE__ */ b("h3", {
131
+ children: [/* @__PURE__ */ S("h3", {
131
132
  className: "text-base font-semibold text-text-primary truncate",
132
133
  children: e.displayName
133
- }), /* @__PURE__ */ b("p", {
134
+ }), /* @__PURE__ */ S("p", {
134
135
  className: "text-xs text-text-secondary font-mono truncate mt-1",
135
136
  children: e.packageName
136
137
  })]
137
- }), /* @__PURE__ */ b("span", {
138
- className: `inline-flex items-center gap-1 px-2 py-0.5 text-[10px] uppercase tracking-wide font-semibold rounded-full border ${M(c)} flex-shrink-0`,
139
- children: c
138
+ }), /* @__PURE__ */ S("span", {
139
+ className: `inline-flex items-center gap-1 px-2 py-0.5 text-[10px] uppercase tracking-wide font-semibold rounded-full border ${P(l)} flex-shrink-0`,
140
+ children: l
140
141
  })]
141
142
  }),
142
- /* @__PURE__ */ b("p", {
143
+ /* @__PURE__ */ S("p", {
143
144
  className: "text-sm text-text-secondary leading-snug",
144
145
  children: e.description
145
146
  }),
146
- n ? /* @__PURE__ */ x("div", {
147
+ /* @__PURE__ */ C("button", {
148
+ type: "button",
149
+ onClick: () => o(e.packageName),
150
+ className: "inline-flex items-center gap-1 self-start text-xs font-medium text-text-link hover:text-text-linkHover hover:underline",
151
+ "data-testid": `plugin-details-${e.packageName}`,
152
+ children: [s("vibecontrols.plugins.viewFleet", "Agents and fleet rollout"), /* @__PURE__ */ S(f, { className: "size-3.5" })]
153
+ }),
154
+ n ? /* @__PURE__ */ C("div", {
147
155
  className: "flex items-center gap-1.5 rounded-md border border-status-success-border bg-status-success-bg px-2.5 py-1.5 text-xs font-medium text-status-success-text",
148
156
  "data-testid": `plugin-installed-${e.packageName}`,
149
- children: [/* @__PURE__ */ b(d, { className: "size-3.5 flex-shrink-0" }), o("vibecontrols.plugins.installedOnAgent", "Installed on this agent")]
150
- }) : t ? /* @__PURE__ */ b("button", {
157
+ children: [/* @__PURE__ */ S(p, { className: "size-3.5 flex-shrink-0" }), s("vibecontrols.plugins.installedOnAgent", "Installed on this agent")]
158
+ }) : t ? /* @__PURE__ */ S("button", {
151
159
  type: "button",
152
160
  onClick: () => a(e.packageName),
153
161
  disabled: i,
154
162
  className: "inline-flex items-center justify-center gap-1.5 rounded-md bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg-hover transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
155
163
  "data-testid": `plugin-install-${e.packageName}`,
156
- children: r ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, { className: "size-3.5 animate-spin" }), o("vibecontrols.plugins.installing", "Installing…")] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(m, { className: "size-3.5" }), o("vibecontrols.plugins.installToAgent", "Install to agent")] })
157
- }) : /* @__PURE__ */ b("p", {
164
+ children: r ? /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(_, { className: "size-3.5 animate-spin" }), s("vibecontrols.plugins.installing", "Installing…")] }) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(g, { className: "size-3.5" }), s("vibecontrols.plugins.installToAgent", "Install to agent")] })
165
+ }) : /* @__PURE__ */ S("p", {
158
166
  className: "text-xs text-text-placeholder",
159
- children: o("vibecontrols.plugins.selectAgentHint", "Select an agent above to install this with one click.")
167
+ children: s("vibecontrols.plugins.selectAgentHint", "Select an agent above to install this with one click.")
160
168
  }),
161
- /* @__PURE__ */ x("div", {
169
+ /* @__PURE__ */ C("div", {
162
170
  className: "mt-1 space-y-1.5",
163
- children: [/* @__PURE__ */ b("p", {
171
+ children: [/* @__PURE__ */ S("p", {
164
172
  className: "text-[11px] font-medium uppercase tracking-wide text-text-secondary",
165
- children: o("vibecontrols.plugins.installCli", "Or install via CLI")
166
- }), /* @__PURE__ */ x("div", {
173
+ children: s("vibecontrols.plugins.installCli", "Or install via CLI")
174
+ }), /* @__PURE__ */ C("div", {
167
175
  className: "flex items-center gap-2 rounded-md border border-border-default bg-bg-sunken px-2.5 py-1.5",
168
- children: [/* @__PURE__ */ b("code", {
176
+ children: [/* @__PURE__ */ S("code", {
169
177
  className: "flex-1 text-xs font-mono text-text-primary truncate",
170
- children: l
171
- }), /* @__PURE__ */ b(N, {
172
- text: l,
173
- ariaLabel: o("vibecontrols.plugins.copyInstall", "Copy install command for {{name}}", { name: e.displayName })
178
+ children: u
179
+ }), /* @__PURE__ */ S(F, {
180
+ text: u,
181
+ ariaLabel: s("vibecontrols.plugins.copyInstall", "Copy install command for {{name}}", { name: e.displayName })
174
182
  })]
175
183
  })]
176
184
  }),
177
- /* @__PURE__ */ x("div", {
185
+ /* @__PURE__ */ C("div", {
178
186
  className: "space-y-2",
179
- children: [/* @__PURE__ */ x("button", {
187
+ children: [/* @__PURE__ */ C("button", {
180
188
  type: "button",
181
- onClick: () => _((e) => !e),
189
+ onClick: () => y((e) => !e),
182
190
  className: "w-full flex items-center justify-between gap-2 text-left text-xs font-medium text-text-secondary hover:text-text-primary transition-colors",
183
- "aria-expanded": g,
184
- children: [/* @__PURE__ */ b("span", { children: o("vibecontrols.plugins.usage", "Usage") }), /* @__PURE__ */ b(f, { className: `size-3.5 transition-transform ${g ? "rotate-180" : ""}` })]
185
- }), g && /* @__PURE__ */ x("div", {
191
+ "aria-expanded": v,
192
+ children: [/* @__PURE__ */ S("span", { children: s("vibecontrols.plugins.usage", "Usage") }), /* @__PURE__ */ S(m, { className: `size-3.5 transition-transform ${v ? "rotate-180" : ""}` })]
193
+ }), v && /* @__PURE__ */ C("div", {
186
194
  className: "flex items-start gap-2 rounded-md border border-border-default bg-bg-sunken px-2.5 py-2",
187
- children: [/* @__PURE__ */ b("code", {
195
+ children: [/* @__PURE__ */ S("code", {
188
196
  className: "flex-1 text-xs font-mono text-text-primary whitespace-pre-wrap break-all",
189
- children: p
190
- }), /* @__PURE__ */ b(N, {
191
- text: p,
192
- ariaLabel: o("vibecontrols.plugins.copyUsage", "Copy usage snippet for {{name}}", { name: e.displayName })
197
+ children: h
198
+ }), /* @__PURE__ */ S(F, {
199
+ text: h,
200
+ ariaLabel: s("vibecontrols.plugins.copyUsage", "Copy usage snippet for {{name}}", { name: e.displayName })
193
201
  })]
194
202
  })]
195
203
  }),
196
- /* @__PURE__ */ x("div", {
204
+ /* @__PURE__ */ C("div", {
197
205
  className: "space-y-2",
198
- children: [/* @__PURE__ */ x("button", {
206
+ children: [/* @__PURE__ */ C("button", {
199
207
  type: "button",
200
- onClick: () => C((e) => !e),
208
+ onClick: () => T((e) => !e),
201
209
  className: "w-full flex items-center justify-between gap-2 text-left text-xs font-medium text-text-secondary hover:text-text-primary transition-colors",
202
- "aria-expanded": v,
203
- children: [/* @__PURE__ */ b("span", { children: o("vibecontrols.plugins.commands", "Command reference") }), /* @__PURE__ */ b(f, { className: `size-3.5 transition-transform ${v ? "rotate-180" : ""}` })]
204
- }), v && /* @__PURE__ */ b("div", {
210
+ "aria-expanded": b,
211
+ children: [/* @__PURE__ */ S("span", { children: s("vibecontrols.plugins.commands", "Command reference") }), /* @__PURE__ */ S(m, { className: `size-3.5 transition-transform ${b ? "rotate-180" : ""}` })]
212
+ }), b && /* @__PURE__ */ S("div", {
205
213
  className: "rounded-md border border-border-default bg-bg-sunken px-2.5 py-2",
206
- children: /* @__PURE__ */ b("p", {
214
+ children: /* @__PURE__ */ S("p", {
207
215
  className: "text-xs text-text-secondary",
208
- children: o("vibecontrols.plugins.commandsHint", "See the agent admin sub-panel or the plugin README for the documented command list.")
216
+ children: s("vibecontrols.plugins.commandsHint", "See the agent admin sub-panel or the plugin README for the documented command list.")
209
217
  })
210
218
  })]
211
219
  })
@@ -213,137 +221,138 @@ function P({ plugin: e, agentId: t, installed: n, installing: r, installBusy: i,
213
221
  })
214
222
  });
215
223
  }
216
- function F() {
217
- let d = s(), f = o(), [p, m] = u(""), [h, y] = u("all"), S = l(() => ({
218
- page: d("vibecontrols.plugins.title", "Plugins"),
219
- tabs: k({
220
- items: A.map((e) => ({
224
+ function L() {
225
+ let f = c(), p = s(), m = l((e) => p(t(e)), [p]), [h, g] = d(""), [_, x] = d("all"), w = u(() => ({
226
+ page: f("vibecontrols.plugins.title", "Plugins"),
227
+ tabs: j({
228
+ items: M.map((e) => ({
221
229
  id: e.value,
222
- label: d(e.labelKey, e.labelFallback)
230
+ label: f(e.labelKey, e.labelFallback)
223
231
  })),
224
- value: h,
225
- set: y
232
+ value: _,
233
+ set: x
226
234
  }),
227
- search: O(m)
228
- }), [d, h]);
229
- D(S);
230
- let j = l(() => Object.values(e).sort((e, t) => e.displayName.localeCompare(t.displayName)), []), M = l(() => j.map((e) => e.packageName), [j]), N = i((e) => e.activeAgentId), { installed: F, installing: I, install: L, loading: R, error: z, errorIsAgentState: B, quotaExhausted: V, clearQuotaExhausted: H } = r(M, N), U = c((e) => {
231
- L(e);
232
- }, [L]), W = l(() => {
233
- let e = p.trim().toLowerCase();
234
- return j.filter((t) => h !== "all" && t.category !== h ? !1 : !e || `${t.displayName} ${t.description} ${t.packageName}`.toLowerCase().includes(e));
235
+ search: A(g)
236
+ }), [f, _]);
237
+ k(w);
238
+ let N = u(() => Object.values(e).sort((e, t) => e.displayName.localeCompare(t.displayName)), []), P = u(() => N.map((e) => e.packageName), [N]), F = a((e) => e.activeAgentId), { installed: L, installing: R, install: z, loading: B, error: V, errorIsAgentState: H, quotaExhausted: U, clearQuotaExhausted: W } = i(P, F), G = l((e) => {
239
+ z(e);
240
+ }, [z]), K = u(() => {
241
+ let e = h.trim().toLowerCase();
242
+ return N.filter((t) => _ !== "all" && t.category !== _ ? !1 : !e || `${t.displayName} ${t.description} ${t.packageName}`.toLowerCase().includes(e));
235
243
  }, [
236
- j,
237
- p,
238
- h
244
+ N,
245
+ h,
246
+ _
239
247
  ]);
240
- return /* @__PURE__ */ x(w, {
248
+ return /* @__PURE__ */ C(E, {
241
249
  padded: !1,
242
- children: [/* @__PURE__ */ x(E, {
250
+ children: [/* @__PURE__ */ C(O, {
243
251
  className: "flex flex-col h-full",
244
- children: [/* @__PURE__ */ x("div", {
252
+ children: [/* @__PURE__ */ C("div", {
245
253
  className: "sticky top-0 z-10 border-b border-border-subtle bg-bg-surface px-6 lg:px-8 pt-5 pb-4 space-y-3",
246
254
  children: [
247
- /* @__PURE__ */ x("div", {
255
+ /* @__PURE__ */ C("div", {
248
256
  className: "flex items-start gap-3",
249
257
  children: [
250
- /* @__PURE__ */ b("div", {
258
+ /* @__PURE__ */ S("div", {
251
259
  className: "flex size-9 flex-shrink-0 items-center justify-center rounded-lg bg-[var(--color-accent-soft)]",
252
- children: /* @__PURE__ */ b(g, { className: "size-5 text-action-primary-bg" })
260
+ children: /* @__PURE__ */ S(v, { className: "size-5 text-action-primary-bg" })
253
261
  }),
254
- /* @__PURE__ */ x("div", {
262
+ /* @__PURE__ */ C("div", {
255
263
  className: "min-w-0 flex-1",
256
- children: [/* @__PURE__ */ b("h1", {
264
+ children: [/* @__PURE__ */ S("h1", {
257
265
  className: "text-2xl font-semibold tracking-tight text-text-primary",
258
- children: d("vibecontrols.plugins.title", "Plugins")
259
- }), /* @__PURE__ */ b("p", {
266
+ children: f("vibecontrols.plugins.title", "Plugins")
267
+ }), /* @__PURE__ */ S("p", {
260
268
  className: "text-sm text-text-secondary mt-0.5",
261
- children: d("vibecontrols.plugins.description", "Browse and install plugins to extend your VibeControls agents.")
269
+ children: f("vibecontrols.plugins.description", "Browse and install plugins to extend your VibeControls agents.")
262
270
  })]
263
271
  }),
264
- /* @__PURE__ */ b(t, {
272
+ /* @__PURE__ */ S(n, {
265
273
  compact: !0,
266
274
  className: "w-56 flex-shrink-0"
267
275
  })
268
276
  ]
269
277
  }),
270
- z && !B && /* @__PURE__ */ b("div", {
278
+ V && !H && /* @__PURE__ */ S("div", {
271
279
  role: "alert",
272
280
  className: "flex items-start gap-2 rounded-md border border-status-error-border bg-status-error-bg px-3 py-2 text-xs text-status-error-text",
273
- children: /* @__PURE__ */ b("span", { children: z })
281
+ children: /* @__PURE__ */ S("span", { children: V })
274
282
  }),
275
- z && B && /* @__PURE__ */ b("div", {
283
+ V && H && /* @__PURE__ */ S("div", {
276
284
  className: "flex items-start gap-2 rounded-md border border-status-warning-border bg-status-warning-bg px-3 py-2 text-xs text-status-warning-text",
277
- children: /* @__PURE__ */ b("span", { children: z })
285
+ children: /* @__PURE__ */ S("span", { children: V })
278
286
  }),
279
- /* @__PURE__ */ x("div", {
287
+ /* @__PURE__ */ C("div", {
280
288
  className: "relative",
281
289
  children: [
282
- /* @__PURE__ */ b(_, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }),
283
- /* @__PURE__ */ b("input", {
290
+ /* @__PURE__ */ S(y, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }),
291
+ /* @__PURE__ */ S("input", {
284
292
  type: "search",
285
- value: p,
286
- onChange: (e) => m(e.target.value),
287
- placeholder: d("vibecontrols.plugins.searchPlaceholder", "Search by name, description, or package…"),
288
- "aria-label": d("vibecontrols.plugins.searchLabel", "Search plugins"),
293
+ value: h,
294
+ onChange: (e) => g(e.target.value),
295
+ placeholder: f("vibecontrols.plugins.searchPlaceholder", "Search by name, description, or package…"),
296
+ "aria-label": f("vibecontrols.plugins.searchLabel", "Search plugins"),
289
297
  className: "w-full pl-10 pr-10 py-2 text-sm bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-action-primary-bg focus:border-transparent transition-all"
290
298
  }),
291
- p && /* @__PURE__ */ b("button", {
299
+ h && /* @__PURE__ */ S("button", {
292
300
  type: "button",
293
- onClick: () => m(""),
294
- "aria-label": d("vibecontrols.plugins.clearSearch", "Clear search"),
301
+ onClick: () => g(""),
302
+ "aria-label": f("vibecontrols.plugins.clearSearch", "Clear search"),
295
303
  className: "absolute right-3 top-1/2 -translate-y-1/2 p-0.5 rounded hover:bg-bg-elevated transition-colors",
296
- children: /* @__PURE__ */ b(v, { className: "size-4 text-text-secondary" })
304
+ children: /* @__PURE__ */ S(b, { className: "size-4 text-text-secondary" })
297
305
  })
298
306
  ]
299
307
  }),
300
- /* @__PURE__ */ b("div", {
308
+ /* @__PURE__ */ S("div", {
301
309
  className: "flex flex-wrap gap-2",
302
310
  role: "tablist",
303
- "aria-label": d("vibecontrols.plugins.categories", "Plugin categories"),
304
- children: A.map((e) => {
305
- let t = h === e.value;
306
- return /* @__PURE__ */ b("button", {
311
+ "aria-label": f("vibecontrols.plugins.categories", "Plugin categories"),
312
+ children: M.map((e) => {
313
+ let t = _ === e.value;
314
+ return /* @__PURE__ */ S("button", {
307
315
  type: "button",
308
316
  role: "tab",
309
317
  "aria-selected": t,
310
- onClick: () => y(e.value),
318
+ onClick: () => x(e.value),
311
319
  className: `px-3 py-1 text-xs rounded-full border transition-colors ${t ? "bg-action-primary-bg text-action-primary-text border-action-primary-bg" : "bg-bg-surface text-text-secondary border-border-default hover:bg-bg-sunken hover:text-text-primary"}`,
312
- children: d(e.labelKey, e.labelFallback)
320
+ children: f(e.labelKey, e.labelFallback)
313
321
  }, e.value);
314
322
  })
315
323
  })
316
324
  ]
317
- }), /* @__PURE__ */ x("div", {
325
+ }), /* @__PURE__ */ C("div", {
318
326
  className: "flex-1 px-4 sm:px-6 py-4 space-y-4",
319
- children: [/* @__PURE__ */ b(T, {
320
- icon: /* @__PURE__ */ b(g, { className: "size-4" }),
321
- children: d("vibecontrols.plugins.purpose", "Plugins extend what your agents can do — adding capabilities like Git, a GraphQL playground, or session providers. Browse this catalog to find a capability you need, install it onto an agent, and unlock new tabs and actions across VibeControls without writing any glue code yourself.")
322
- }), W.length === 0 ? /* @__PURE__ */ b(C, {
327
+ children: [/* @__PURE__ */ S(D, {
328
+ icon: /* @__PURE__ */ S(v, { className: "size-4" }),
329
+ children: f("vibecontrols.plugins.purpose", "Plugins extend what your agents can do — adding capabilities like Git, a GraphQL playground, or session providers. Browse this catalog to find a capability you need, install it onto an agent, and unlock new tabs and actions across VibeControls without writing any glue code yourself.")
330
+ }), K.length === 0 ? /* @__PURE__ */ S(T, {
323
331
  illustration: "empty-search",
324
- title: d("vibecontrols.plugins.empty.title", "No matching plugins"),
325
- description: d("vibecontrols.plugins.empty.description", "Try a different search term or category.")
326
- }) : /* @__PURE__ */ b("div", {
332
+ title: f("vibecontrols.plugins.empty.title", "No matching plugins"),
333
+ description: f("vibecontrols.plugins.empty.description", "Try a different search term or category.")
334
+ }) : /* @__PURE__ */ S("div", {
327
335
  className: "grid gap-3 grid-cols-1 sm:grid-cols-2 xl:grid-cols-3",
328
- children: W.map((e) => /* @__PURE__ */ b(P, {
336
+ children: K.map((e) => /* @__PURE__ */ S(I, {
329
337
  plugin: e,
330
- agentId: N,
331
- installed: !!F[e.packageName],
332
- installing: I === e.packageName,
333
- installBusy: R || I !== null,
334
- onInstall: U
338
+ agentId: F,
339
+ installed: !!L[e.packageName],
340
+ installing: R === e.packageName,
341
+ installBusy: B || R !== null,
342
+ onInstall: G,
343
+ onOpenDetails: m
335
344
  }, e.packageName))
336
345
  })]
337
346
  })]
338
- }), /* @__PURE__ */ b(n, {
339
- isOpen: V,
340
- onClose: H,
347
+ }), /* @__PURE__ */ S(r, {
348
+ isOpen: U,
349
+ onClose: W,
341
350
  onConfirm: () => {
342
- H(), f(a);
351
+ W(), p(o);
343
352
  },
344
- title: d("vibecontrols.plugins.quotaTitle", "Plugin quota reached"),
345
- message: d("vibecontrols.plugins.quotaMessage", "You've used all plugin install quota on your current plan. Upgrade to install more plugins.")
353
+ title: f("vibecontrols.plugins.quotaTitle", "Plugin quota reached"),
354
+ message: f("vibecontrols.plugins.quotaMessage", "You've used all plugin install quota on your current plan. Upgrade to install more plugins.")
346
355
  })]
347
356
  });
348
357
  }
349
- export { F as PluginsCatalogPage };
358
+ export { L as PluginsCatalogPage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-vibecontrols",
3
- "version": "2026.1115.1",
3
+ "version": "2026.1115.2",
4
4
  "description": "VibeControls microfrontend for Burdenoff products",
5
5
  "type": "module",
6
6
  "files": [