@burdenoff/microfe-botmanor 2026.1127.1 → 2026.1127.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.
Files changed (112) hide show
  1. package/dist/botlit/BotmanorRootInner.js +45 -44
  2. package/dist/botlit/BotmanorRootInner.js.map +1 -1
  3. package/dist/botlit/components/AgentA2APanel.js +63 -62
  4. package/dist/botlit/components/AgentA2APanel.js.map +1 -1
  5. package/dist/botlit/components/AgentBindingsPanel.js +125 -124
  6. package/dist/botlit/components/AgentBindingsPanel.js.map +1 -1
  7. package/dist/botlit/components/AgentFallbackModelsPicker.js +56 -55
  8. package/dist/botlit/components/AgentFallbackModelsPicker.js.map +1 -1
  9. package/dist/botlit/components/AiOperationsPanel.js.map +1 -1
  10. package/dist/botlit/components/AssistantChannelPanel.js +40 -39
  11. package/dist/botlit/components/AssistantChannelPanel.js.map +1 -1
  12. package/dist/botlit/components/AssistantRuntimeSetupPanel.js +36 -35
  13. package/dist/botlit/components/AssistantRuntimeSetupPanel.js.map +1 -1
  14. package/dist/botlit/components/BotAgentsPanel.js +104 -103
  15. package/dist/botlit/components/BotAgentsPanel.js.map +1 -1
  16. package/dist/botlit/components/BotFormFields.js +118 -117
  17. package/dist/botlit/components/BotFormFields.js.map +1 -1
  18. package/dist/botlit/components/BucketDialogs.js +110 -110
  19. package/dist/botlit/components/BucketDialogs.js.map +1 -1
  20. package/dist/botlit/components/ChannelRoutesPanel.js +29 -28
  21. package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -1
  22. package/dist/botlit/components/CreateChannelRouteDialog.js +105 -105
  23. package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -1
  24. package/dist/botlit/components/DescribeBotDialog.js +86 -86
  25. package/dist/botlit/components/DescribeBotDialog.js.map +1 -1
  26. package/dist/botlit/components/EmptyState.d.ts +8 -0
  27. package/dist/botlit/components/EmptyState.js +43 -30
  28. package/dist/botlit/components/EmptyState.js.map +1 -1
  29. package/dist/botlit/components/HandoffConfigPanel.js +125 -124
  30. package/dist/botlit/components/HandoffConfigPanel.js.map +1 -1
  31. package/dist/botlit/components/HandoffTargetPickers.js +42 -41
  32. package/dist/botlit/components/HandoffTargetPickers.js.map +1 -1
  33. package/dist/botlit/components/KnowledgeBackendMigrationPanel.js +106 -105
  34. package/dist/botlit/components/KnowledgeBackendMigrationPanel.js.map +1 -1
  35. package/dist/botlit/components/KnowledgeRetrievalTestPanel.js +76 -75
  36. package/dist/botlit/components/KnowledgeRetrievalTestPanel.js.map +1 -1
  37. package/dist/botlit/components/KnowledgeSourceImportPanel.js +76 -75
  38. package/dist/botlit/components/KnowledgeSourceImportPanel.js.map +1 -1
  39. package/dist/botlit/components/ModelRegistrationPanel.js +70 -69
  40. package/dist/botlit/components/ModelRegistrationPanel.js.map +1 -1
  41. package/dist/botlit/components/StorePackageDraftCard.js +87 -86
  42. package/dist/botlit/components/StorePackageDraftCard.js.map +1 -1
  43. package/dist/botlit/components/SuggestionsPanel.js.map +1 -1
  44. package/dist/botlit/pages/A2AAgentDetailPage.js +263 -262
  45. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
  46. package/dist/botlit/pages/A2ARegistryPage.js +47 -46
  47. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
  48. package/dist/botlit/pages/AgentBuilderPage.js +426 -425
  49. package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
  50. package/dist/botlit/pages/AgentDetailPage.js +1 -0
  51. package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
  52. package/dist/botlit/pages/AgentsListPage.js +248 -247
  53. package/dist/botlit/pages/AgentsListPage.js.map +1 -1
  54. package/dist/botlit/pages/BotChannelsTab.js +324 -310
  55. package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
  56. package/dist/botlit/pages/BotDetailPage.js +1 -0
  57. package/dist/botlit/pages/BotDetailPage.js.map +1 -1
  58. package/dist/botlit/pages/BotWorkflowTab.js +126 -121
  59. package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
  60. package/dist/botlit/pages/BotsListPage.js +1 -0
  61. package/dist/botlit/pages/BotsListPage.js.map +1 -1
  62. package/dist/botlit/pages/BucketDetailPage.js +1 -0
  63. package/dist/botlit/pages/BucketDetailPage.js.map +1 -1
  64. package/dist/botlit/pages/BucketsPage.js +1 -0
  65. package/dist/botlit/pages/BucketsPage.js.map +1 -1
  66. package/dist/botlit/pages/ChannelDetailPage.js +267 -266
  67. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
  68. package/dist/botlit/pages/ChannelsPage.js +187 -186
  69. package/dist/botlit/pages/ChannelsPage.js.map +1 -1
  70. package/dist/botlit/pages/ChatPage.js +69 -68
  71. package/dist/botlit/pages/ChatPage.js.map +1 -1
  72. package/dist/botlit/pages/ExecutionDetailPage.js +1 -0
  73. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
  74. package/dist/botlit/pages/ExecutionsPage.js +191 -191
  75. package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
  76. package/dist/botlit/pages/HandoffsPage.js +65 -64
  77. package/dist/botlit/pages/HandoffsPage.js.map +1 -1
  78. package/dist/botlit/pages/InstalledPackagesPage.js +146 -145
  79. package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
  80. package/dist/botlit/pages/KnowledgeBaseDetailPage.js +235 -234
  81. package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -1
  82. package/dist/botlit/pages/KnowledgeBasesPage.js +152 -151
  83. package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
  84. package/dist/botlit/pages/MCPServerDetailPage.js +180 -179
  85. package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
  86. package/dist/botlit/pages/MCPServersPage.js +145 -145
  87. package/dist/botlit/pages/MCPServersPage.js.map +1 -1
  88. package/dist/botlit/pages/PoliciesPage.js.map +1 -1
  89. package/dist/botlit/pages/PolicyDetailPage.js +293 -292
  90. package/dist/botlit/pages/PolicyDetailPage.js.map +1 -1
  91. package/dist/botlit/pages/PromptStudioPage.js +229 -229
  92. package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
  93. package/dist/botlit/pages/PromptTemplateDetailPage.js +280 -279
  94. package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
  95. package/dist/botlit/pages/PromptTemplatesPage.js +31 -30
  96. package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
  97. package/dist/botlit/pages/RetrievalProfileDetailPage.js +204 -203
  98. package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -1
  99. package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
  100. package/dist/botlit/pages/SettingsPage.js +153 -153
  101. package/dist/botlit/pages/SettingsPage.js.map +1 -1
  102. package/dist/botlit/pages/SkillDetailPage.js +305 -304
  103. package/dist/botlit/pages/SkillDetailPage.js.map +1 -1
  104. package/dist/botlit/pages/SkillsPage.js.map +1 -1
  105. package/dist/botlit/pages/StorePackageDetailPage.js +1 -0
  106. package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -1
  107. package/dist/botlit/pages/StorePage.js +173 -173
  108. package/dist/botlit/pages/StorePage.js.map +1 -1
  109. package/dist/botlit/utils/confirmAction.d.ts +13 -11
  110. package/dist/botlit/utils/confirmAction.js +26 -4
  111. package/dist/botlit/utils/confirmAction.js.map +1 -1
  112. package/package.json +3 -3
@@ -8,18 +8,18 @@ import { Input as l } from "../components/Input.js";
8
8
  import { Badge as u } from "../components/Badge.js";
9
9
  import { EmptyState as ee } from "../components/EmptyState.js";
10
10
  import { LoadMore as te } from "../components/LoadMore.js";
11
- import { ErrorState as d } from "../components/ErrorState.js";
11
+ import { ErrorState as ne } from "../components/ErrorState.js";
12
12
  import "../hooks/index.js";
13
- import { formatRelativeTime as f } from "../utils/formatters.js";
13
+ import { formatRelativeTime as d } from "../utils/formatters.js";
14
14
  import "../permissions/index.js";
15
- import { storePackageName as p, useInstalledPackages as ne, useUninstallPackage as re, useUpdateInstalledPackage as ie } from "../hooks/useStore.js";
16
- import { STORE_PACKAGE_KINDS as ae, UninstallPackageDialog as oe, packageKindLabels as m } from "../components/StoreDialogs.js";
17
- import { useTr as se } from "../../shared/hooks/useTr.js";
18
- import { useMemo as h, useState as g } from "react";
19
- import { GlassCard as _, PagePurpose as ce } from "@burdenoff/fe-libs/ui";
20
- import { Fragment as le, jsx as v, jsxs as y } from "react/jsx-runtime";
15
+ import { storePackageName as f, useInstalledPackages as re, useUninstallPackage as ie, useUpdateInstalledPackage as ae } from "../hooks/useStore.js";
16
+ import { STORE_PACKAGE_KINDS as oe, UninstallPackageDialog as p, packageKindLabels as m } from "../components/StoreDialogs.js";
17
+ import { useTr as h } from "../../shared/hooks/useTr.js";
18
+ import { useMemo as g, useState as _ } from "react";
19
+ import { GlassCard as v, PagePurpose as se, ThemedSelect as ce } from "@burdenoff/fe-libs/ui";
20
+ import { Fragment as le, jsx as y, jsxs as b } from "react/jsx-runtime";
21
21
  import { Link as ue } from "react-router";
22
- import { ArrowUpCircle as b, Copy as x, Download as S, ExternalLink as C, Link2 as de, Package as w, RefreshCw as fe, Search as pe, Trash2 as T } from "lucide-react";
22
+ import { ArrowUpCircle as x, Copy as S, Download as de, ExternalLink as fe, Link2 as pe, Package as C, RefreshCw as w, Search as me, Trash2 as T } from "lucide-react";
23
23
  import { toast as E } from "sonner";
24
24
  // src/botlit/pages/InstalledPackagesPage.tsx
25
25
  var D = {
@@ -98,7 +98,7 @@ function A(e) {
98
98
  return e.package?.kind;
99
99
  }
100
100
  function j(e) {
101
- return p(e.package) || k(e);
101
+ return f(e.package) || k(e);
102
102
  }
103
103
  function M(e) {
104
104
  let t = A(e);
@@ -109,133 +109,133 @@ function N(e) {
109
109
  return !!(t && t !== e.installedVersion);
110
110
  }
111
111
  var P = () => {
112
- let { navigateTo: D, getPath: O } = e(), { data: P, loading: F, error: I, refetch: L, hasMore: R, loadingMore: z, loadMore: B } = ne(), { uninstall: me, loading: he } = re(), { update: ge, loading: _e } = ie(), [V, ve] = g(""), [ye, H] = g(!1), [U, be] = g("all"), [W, G] = g(null), [K, q] = g(null), J = se(), Y = m(J), X = h(() => {
113
- let e = V.trim().toLowerCase();
112
+ let { navigateTo: D, getPath: O } = e(), { data: P, loading: F, error: I, refetch: L, hasMore: R, loadingMore: z, loadMore: he } = re(), { uninstall: ge, loading: _e } = ie(), { update: ve, loading: ye } = ae(), [B, V] = _(""), [be, H] = _(!1), [U, xe] = _("all"), [W, G] = _(null), [K, q] = _(null), J = h(), Y = m(J), X = g(() => {
113
+ let e = B.trim().toLowerCase();
114
114
  return P.filter((t) => {
115
- let n = !e || k(t).toLowerCase().includes(e) || p(t.package).toLowerCase().includes(e), r = U === "all" || A(t) === U;
115
+ let n = !e || k(t).toLowerCase().includes(e) || f(t.package).toLowerCase().includes(e), r = U === "all" || A(t) === U;
116
116
  return n && r;
117
117
  });
118
118
  }, [
119
119
  P,
120
- V,
120
+ B,
121
121
  U
122
- ]), Z = h(() => P.find((e) => e.id === W) ?? null, [P, W]), xe = h(() => P.filter(N).length, [P]), Se = async () => {
122
+ ]), Z = g(() => P.find((e) => e.id === W) ?? null, [P, W]), Se = g(() => P.filter(N).length, [P]), Ce = async () => {
123
123
  H(!0);
124
124
  try {
125
125
  await L();
126
126
  } finally {
127
127
  H(!1);
128
128
  }
129
- }, Q = (e) => q(e), Ce = async () => {
129
+ }, Q = (e) => q(e), we = async () => {
130
130
  let e = K;
131
131
  if (e) {
132
132
  try {
133
- await me(e.id);
133
+ await ge(e.id);
134
134
  } catch (e) {
135
135
  E.error(e instanceof Error ? e.message : J("botlit.store.uninstall.error", "Could not uninstall the package."));
136
136
  return;
137
137
  }
138
138
  E.success(J("botlit.store.uninstall.success", "Uninstalled \"{{name}}\"", { name: j(e) })), q(null), G(null), L();
139
139
  }
140
- }, we = async (e) => {
140
+ }, Te = async (e) => {
141
141
  let t = e.package?.version;
142
142
  if (t) try {
143
- await ge({
143
+ await ve({
144
144
  installedId: e.id,
145
145
  input: { installedVersion: t }
146
146
  }), E.success(A(e) === "POLICY_BUNDLE" && e.mode === "LINKED" ? J("botlit.store.installed.updatedPolicies", "Updated to v{{version}} and refreshed its policies", { version: t }) : J("botlit.store.installed.updatedRecord", "Recorded v{{version}} as the installed version", { version: t })), L();
147
147
  } catch (e) {
148
148
  E.error(e instanceof Error ? e.message : J("botlit.store.installed.updateError", "Could not update the package."));
149
149
  }
150
- }, $ = (e) => e === "LINKED" ? /* @__PURE__ */ v(de, { className: "h-4 w-4 text-status-info-text" }) : /* @__PURE__ */ v(x, { className: "h-4 w-4 text-status-warning-text" }), Te = ({ pkg: e }) => {
150
+ }, $ = (e) => e === "LINKED" ? /* @__PURE__ */ y(pe, { className: "h-4 w-4 text-status-info-text" }) : /* @__PURE__ */ y(S, { className: "h-4 w-4 text-status-warning-text" }), Ee = ({ pkg: e }) => {
151
151
  let t = M(e), i = k(e), a = N(e);
152
- return /* @__PURE__ */ v(n, {
152
+ return /* @__PURE__ */ y(n, {
153
153
  className: "hover:shadow-md transition-shadow cursor-pointer",
154
154
  onClick: () => G(e.id),
155
- children: /* @__PURE__ */ y(r, {
155
+ children: /* @__PURE__ */ b(r, {
156
156
  className: "pt-6",
157
157
  children: [
158
- /* @__PURE__ */ y("div", {
158
+ /* @__PURE__ */ b("div", {
159
159
  className: "flex items-start justify-between",
160
- children: [/* @__PURE__ */ y("div", {
160
+ children: [/* @__PURE__ */ b("div", {
161
161
  className: "flex items-start gap-3",
162
- children: [/* @__PURE__ */ v("div", {
162
+ children: [/* @__PURE__ */ y("div", {
163
163
  className: "p-2 rounded-lg bg-bg-sunken text-2xl",
164
164
  children: t.icon
165
- }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ y("div", {
165
+ }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ b("div", {
166
166
  className: "flex items-center gap-2",
167
- children: [/* @__PURE__ */ v("h3", {
167
+ children: [/* @__PURE__ */ y("h3", {
168
168
  className: "font-semibold",
169
- children: p(e.package) || i
170
- }), a && /* @__PURE__ */ y(u, {
169
+ children: f(e.package) || i
170
+ }), a && /* @__PURE__ */ b(u, {
171
171
  variant: "warning",
172
172
  className: "gap-1",
173
- children: [/* @__PURE__ */ v(b, { className: "h-3 w-3" }), J("botlit.store.installed.updateBadge", "Update")]
173
+ children: [/* @__PURE__ */ y(x, { className: "h-3 w-3" }), J("botlit.store.installed.updateBadge", "Update")]
174
174
  })]
175
- }), /* @__PURE__ */ v("p", {
175
+ }), /* @__PURE__ */ y("p", {
176
176
  className: "text-sm text-text-secondary font-mono",
177
177
  children: i
178
178
  })] })]
179
- }), /* @__PURE__ */ y("div", {
179
+ }), /* @__PURE__ */ b("div", {
180
180
  className: "flex items-center gap-2",
181
- children: [$(e.mode), /* @__PURE__ */ v(u, {
181
+ children: [$(e.mode), /* @__PURE__ */ y(u, {
182
182
  variant: "outline",
183
183
  children: Y[A(e) ?? ""] ?? t.label
184
184
  })]
185
185
  })]
186
186
  }),
187
- /* @__PURE__ */ y("div", {
187
+ /* @__PURE__ */ b("div", {
188
188
  className: "mt-4 grid grid-cols-3 gap-4 text-sm",
189
189
  children: [
190
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
190
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
191
191
  className: "text-text-secondary",
192
192
  children: J("botlit.store.installed.installedVersion", "Installed version")
193
- }), /* @__PURE__ */ y("p", {
193
+ }), /* @__PURE__ */ b("p", {
194
194
  className: "font-medium font-mono",
195
195
  children: ["v", e.installedVersion]
196
196
  })] }),
197
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
197
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
198
198
  className: "text-text-secondary",
199
199
  children: J("botlit.store.installed.mode", "Mode")
200
- }), /* @__PURE__ */ y("p", {
200
+ }), /* @__PURE__ */ b("p", {
201
201
  className: "font-medium flex items-center gap-1",
202
202
  children: [$(e.mode), e.mode]
203
203
  })] }),
204
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
204
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
205
205
  className: "text-text-secondary",
206
206
  children: J("botlit.store.installed.installed", "Installed")
207
- }), /* @__PURE__ */ v("p", {
207
+ }), /* @__PURE__ */ y("p", {
208
208
  className: "font-medium",
209
- children: f(e.installedAt)
209
+ children: d(e.installedAt)
210
210
  })] })
211
211
  ]
212
212
  }),
213
- /* @__PURE__ */ y("div", {
213
+ /* @__PURE__ */ b("div", {
214
214
  className: "mt-4 flex justify-end gap-2",
215
215
  children: [
216
- /* @__PURE__ */ y(c, {
216
+ /* @__PURE__ */ b(c, {
217
217
  variant: "ghost",
218
218
  size: "sm",
219
219
  onClick: (e) => {
220
220
  e.stopPropagation(), D(`store/package/${i}`);
221
221
  },
222
- children: [/* @__PURE__ */ v(C, { className: "h-4 w-4 mr-1" }), J("botlit.store.installed.viewInStore", "View in Store")]
222
+ children: [/* @__PURE__ */ y(fe, { className: "h-4 w-4 mr-1" }), J("botlit.store.installed.viewInStore", "View in Store")]
223
223
  }),
224
- a && /* @__PURE__ */ v(s, {
224
+ a && /* @__PURE__ */ y(s, {
225
225
  permission: o.STORE_UPDATE,
226
- children: /* @__PURE__ */ y(c, {
226
+ children: /* @__PURE__ */ b(c, {
227
227
  variant: "outline",
228
228
  size: "sm",
229
229
  onClick: (t) => {
230
- t.stopPropagation(), we(e);
230
+ t.stopPropagation(), Te(e);
231
231
  },
232
- isLoading: _e,
233
- children: [/* @__PURE__ */ v(b, { className: "h-4 w-4 mr-1" }), J("botlit.store.installed.update", "Update")]
232
+ isLoading: ye,
233
+ children: [/* @__PURE__ */ y(x, { className: "h-4 w-4 mr-1" }), J("botlit.store.installed.update", "Update")]
234
234
  })
235
235
  }),
236
- /* @__PURE__ */ v(s, {
236
+ /* @__PURE__ */ y(s, {
237
237
  permission: o.STORE_DELETE,
238
- children: /* @__PURE__ */ v(c, {
238
+ children: /* @__PURE__ */ y(c, {
239
239
  variant: "ghost",
240
240
  size: "sm",
241
241
  "aria-label": "Uninstall package",
@@ -243,7 +243,7 @@ var P = () => {
243
243
  onClick: (t) => {
244
244
  t.stopPropagation(), Q(e);
245
245
  },
246
- children: /* @__PURE__ */ v(T, { className: "h-4 w-4" })
246
+ children: /* @__PURE__ */ y(T, { className: "h-4 w-4" })
247
247
  })
248
248
  })
249
249
  ]
@@ -252,173 +252,174 @@ var P = () => {
252
252
  })
253
253
  });
254
254
  };
255
- return F ? /* @__PURE__ */ v(t, {
255
+ return F ? /* @__PURE__ */ y(t, {
256
256
  title: J("botlit.store.installed.title", "Installed packages"),
257
257
  description: J("botlit.store.installed.subtitle", "Packages installed from the BotManor Store"),
258
- children: /* @__PURE__ */ v("div", {
258
+ children: /* @__PURE__ */ y("div", {
259
259
  className: "space-y-4",
260
260
  children: [
261
261
  1,
262
262
  2,
263
263
  3
264
- ].map((e) => /* @__PURE__ */ v("div", { className: "h-48 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
264
+ ].map((e) => /* @__PURE__ */ y("div", { className: "h-48 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
265
265
  })
266
- }) : /* @__PURE__ */ y(t, {
266
+ }) : /* @__PURE__ */ b(t, {
267
267
  title: J("botlit.store.installed.title", "Installed packages"),
268
268
  description: J("botlit.store.installed.subtitle", "Packages installed from the BotManor Store"),
269
- actions: /* @__PURE__ */ y("div", {
269
+ actions: /* @__PURE__ */ b("div", {
270
270
  className: "flex gap-2",
271
- children: [/* @__PURE__ */ v(c, {
271
+ children: [/* @__PURE__ */ y(c, {
272
272
  variant: "outline",
273
- leftIcon: /* @__PURE__ */ v(fe, { size: 16 }),
274
- onClick: () => void Se(),
275
- isLoading: ye,
273
+ leftIcon: /* @__PURE__ */ y(w, { size: 16 }),
274
+ onClick: () => void Ce(),
275
+ isLoading: be,
276
276
  children: J("botlit.store.installed.checkUpdates", "Check updates")
277
- }), /* @__PURE__ */ v(c, {
278
- leftIcon: /* @__PURE__ */ v(w, { size: 16 }),
277
+ }), /* @__PURE__ */ y(c, {
278
+ leftIcon: /* @__PURE__ */ y(C, { size: 16 }),
279
279
  onClick: () => D("store"),
280
280
  children: J("botlit.store.installed.browseStore", "Browse Store")
281
281
  })]
282
282
  }),
283
283
  children: [
284
- /* @__PURE__ */ v(ce, {
284
+ /* @__PURE__ */ y(se, {
285
285
  className: "mb-6",
286
- icon: /* @__PURE__ */ v(w, { size: 18 }),
286
+ icon: /* @__PURE__ */ y(C, { size: 18 }),
287
287
  children: J("botlit.store.installed.purpose", "These are the packages this workspace installed from the BotManor Store. See which version each one is on and whether it is linked to the store listing or a forked copy, update linked packages when a newer version is published, and uninstall what you no longer need.")
288
288
  }),
289
- I ? /* @__PURE__ */ v(d, {
289
+ I ? /* @__PURE__ */ y(ne, {
290
290
  resource: "installed packages",
291
291
  error: I,
292
292
  onRetry: () => void L()
293
- }) : /* @__PURE__ */ y(le, { children: [
294
- /* @__PURE__ */ y("div", {
293
+ }) : /* @__PURE__ */ b(le, { children: [
294
+ /* @__PURE__ */ b("div", {
295
295
  className: "grid grid-cols-2 md:grid-cols-4 gap-4 mb-6",
296
296
  children: [
297
- /* @__PURE__ */ y(_, {
297
+ /* @__PURE__ */ b(v, {
298
298
  treatment: "glass",
299
299
  glow: !0,
300
300
  className: "p-6 text-center",
301
- children: [/* @__PURE__ */ v("p", {
301
+ children: [/* @__PURE__ */ y("p", {
302
302
  className: "text-3xl font-bold tabular-nums text-text-primary",
303
303
  children: P.length
304
- }), /* @__PURE__ */ v("p", {
304
+ }), /* @__PURE__ */ y("p", {
305
305
  className: "text-sm text-text-secondary",
306
306
  children: J("botlit.store.installed.totalInstalled", "Total installed")
307
307
  })]
308
308
  }),
309
- /* @__PURE__ */ y(_, {
309
+ /* @__PURE__ */ b(v, {
310
310
  treatment: "metric",
311
311
  className: "p-6 text-center",
312
- children: [/* @__PURE__ */ v("p", {
312
+ children: [/* @__PURE__ */ y("p", {
313
313
  className: "text-3xl font-bold tabular-nums text-text-primary",
314
314
  children: P.filter((e) => e.mode === "LINKED").length
315
- }), /* @__PURE__ */ v("p", {
315
+ }), /* @__PURE__ */ y("p", {
316
316
  className: "text-sm text-text-secondary",
317
317
  children: J("botlit.store.installed.linked", "Linked")
318
318
  })]
319
319
  }),
320
- /* @__PURE__ */ y(_, {
320
+ /* @__PURE__ */ b(v, {
321
321
  treatment: "metric",
322
322
  className: "p-6 text-center",
323
- children: [/* @__PURE__ */ v("p", {
323
+ children: [/* @__PURE__ */ y("p", {
324
324
  className: "text-3xl font-bold tabular-nums text-text-primary",
325
325
  children: P.filter((e) => e.mode === "FORKED").length
326
- }), /* @__PURE__ */ v("p", {
326
+ }), /* @__PURE__ */ y("p", {
327
327
  className: "text-sm text-text-secondary",
328
328
  children: J("botlit.store.installed.forked", "Forked")
329
329
  })]
330
330
  }),
331
- /* @__PURE__ */ y(_, {
331
+ /* @__PURE__ */ b(v, {
332
332
  treatment: "metric",
333
333
  className: "p-6 text-center",
334
- children: [/* @__PURE__ */ v("p", {
334
+ children: [/* @__PURE__ */ y("p", {
335
335
  className: "text-3xl font-bold tabular-nums text-text-primary",
336
- children: xe
337
- }), /* @__PURE__ */ v("p", {
336
+ children: Se
337
+ }), /* @__PURE__ */ y("p", {
338
338
  className: "text-sm text-text-secondary",
339
339
  children: J("botlit.store.installed.updatesAvailable", "Updates available")
340
340
  })]
341
341
  })
342
342
  ]
343
343
  }),
344
- /* @__PURE__ */ y("div", {
344
+ /* @__PURE__ */ b("div", {
345
345
  className: "flex flex-col md:flex-row gap-4 mb-6",
346
- children: [/* @__PURE__ */ y("div", {
346
+ children: [/* @__PURE__ */ b("div", {
347
347
  className: "relative flex-1",
348
- children: [/* @__PURE__ */ v(pe, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ v(l, {
348
+ children: [/* @__PURE__ */ y(me, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ y(l, {
349
349
  placeholder: J("botlit.store.installed.searchPlaceholder", "Search packages…"),
350
- value: V,
351
- onChange: (e) => ve(e.target.value),
350
+ value: B,
351
+ onChange: (e) => V(e.target.value),
352
352
  className: "pl-9"
353
353
  })]
354
- }), /* @__PURE__ */ v("div", {
354
+ }), /* @__PURE__ */ y("div", {
355
355
  className: "flex gap-2",
356
- children: /* @__PURE__ */ y("select", {
356
+ children: /* @__PURE__ */ b(ce, {
357
357
  "aria-label": "Filter by package type",
358
358
  className: "flex h-10 rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm",
359
359
  value: U,
360
- onChange: (e) => be(e.target.value),
361
- children: [/* @__PURE__ */ v("option", {
360
+ onChange: (e) => xe(e.target.value),
361
+ children: [/* @__PURE__ */ y("option", {
362
362
  value: "all",
363
363
  children: J("botlit.store.filters.allTypes", "All types")
364
- }), ae.map((e) => /* @__PURE__ */ v("option", {
364
+ }), oe.map((e) => /* @__PURE__ */ y("option", {
365
365
  value: e,
366
366
  children: Y[e] ?? e
367
367
  }, e))]
368
368
  })
369
369
  })]
370
370
  }),
371
- X.length > 0 ? /* @__PURE__ */ v("div", {
371
+ X.length > 0 ? /* @__PURE__ */ y("div", {
372
372
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
373
- children: X.map((e) => /* @__PURE__ */ v(Te, { pkg: e }, e.id))
374
- }) : /* @__PURE__ */ v(ee, {
373
+ children: X.map((e) => /* @__PURE__ */ y(Ee, { pkg: e }, e.id))
374
+ }) : /* @__PURE__ */ y(ee, {
375
+ kind: B || U !== "all" ? "filtered" : "first-use",
375
376
  illustration: "empty-generic",
376
- title: V || U !== "all" ? J("botlit.store.installed.noMatches", "No matching packages") : J("botlit.store.installed.empty", "No packages installed"),
377
- description: V || U !== "all" ? J("botlit.store.installed.noMatchesBody", "Try adjusting your search or type filter.") : J("botlit.store.installed.emptyBody", "Browse the BotManor Store to find agents, skills and tools to install."),
378
- action: /* @__PURE__ */ v(c, {
377
+ title: B || U !== "all" ? J("botlit.store.installed.noMatches", "No matching packages") : J("botlit.store.installed.empty", "No packages installed"),
378
+ description: B || U !== "all" ? J("botlit.store.installed.noMatchesBody", "Try adjusting your search or type filter.") : J("botlit.store.installed.emptyBody", "Browse the BotManor Store to find agents, skills and tools to install."),
379
+ action: /* @__PURE__ */ y(c, {
379
380
  onClick: () => D("store"),
380
- leftIcon: /* @__PURE__ */ v(S, { className: "h-4 w-4" }),
381
+ leftIcon: /* @__PURE__ */ y(de, { className: "h-4 w-4" }),
381
382
  children: J("botlit.store.installed.browseStore", "Browse Store")
382
383
  })
383
384
  }),
384
- /* @__PURE__ */ v(te, {
385
+ /* @__PURE__ */ y(te, {
385
386
  hasMore: R,
386
387
  loadingMore: z,
387
- onLoadMore: () => void B(),
388
+ onLoadMore: () => void he(),
388
389
  loadedCount: P.length
389
390
  })
390
391
  ] }),
391
- /* @__PURE__ */ v(oe, {
392
+ /* @__PURE__ */ y(p, {
392
393
  name: K ? j(K) : null,
393
394
  version: K?.installedVersion,
394
- uninstalling: he,
395
- onConfirm: () => void Ce(),
395
+ uninstalling: _e,
396
+ onConfirm: () => void we(),
396
397
  onClose: () => q(null)
397
398
  }),
398
- Z && /* @__PURE__ */ v(({ pkg: e, onClose: t }) => {
399
+ Z && /* @__PURE__ */ y(({ pkg: e, onClose: t }) => {
399
400
  let l = M(e), u = k(e);
400
- return /* @__PURE__ */ v("div", {
401
+ return /* @__PURE__ */ y("div", {
401
402
  className: "fixed inset-0 bg-bg-overlay flex items-center justify-center z-50",
402
- children: /* @__PURE__ */ y("div", {
403
+ children: /* @__PURE__ */ b("div", {
403
404
  className: "bg-bg-surface rounded-lg shadow-xl max-w-2xl w-full mx-4 max-h-[90vh] overflow-y-auto",
404
405
  children: [
405
- /* @__PURE__ */ v("div", {
406
+ /* @__PURE__ */ y("div", {
406
407
  className: "p-6 border-b border-border-subtle",
407
- children: /* @__PURE__ */ y("div", {
408
+ children: /* @__PURE__ */ b("div", {
408
409
  className: "flex items-start justify-between",
409
- children: [/* @__PURE__ */ y("div", {
410
+ children: [/* @__PURE__ */ b("div", {
410
411
  className: "flex items-start gap-3",
411
- children: [/* @__PURE__ */ v("div", {
412
+ children: [/* @__PURE__ */ y("div", {
412
413
  className: "p-3 rounded-lg bg-bg-sunken text-3xl",
413
414
  children: l.icon
414
- }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("h2", {
415
+ }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h2", {
415
416
  className: "text-xl font-bold",
416
- children: p(e.package) || u
417
- }), /* @__PURE__ */ v("p", {
417
+ children: f(e.package) || u
418
+ }), /* @__PURE__ */ y("p", {
418
419
  className: "text-sm text-text-secondary font-mono",
419
420
  children: u
420
421
  })] })]
421
- }), /* @__PURE__ */ v(c, {
422
+ }), /* @__PURE__ */ y(c, {
422
423
  variant: "ghost",
423
424
  size: "sm",
424
425
  "aria-label": "Close",
@@ -427,100 +428,100 @@ var P = () => {
427
428
  })]
428
429
  })
429
430
  }),
430
- /* @__PURE__ */ y("div", {
431
+ /* @__PURE__ */ b("div", {
431
432
  className: "p-6 space-y-6",
432
- children: [/* @__PURE__ */ y(n, { children: [/* @__PURE__ */ v(i, { children: /* @__PURE__ */ v(a, {
433
+ children: [/* @__PURE__ */ b(n, { children: [/* @__PURE__ */ y(i, { children: /* @__PURE__ */ y(a, {
433
434
  className: "text-base",
434
435
  children: J("botlit.store.installed.versionInfo", "Version information")
435
- }) }), /* @__PURE__ */ y(r, {
436
+ }) }), /* @__PURE__ */ b(r, {
436
437
  className: "space-y-4",
437
- children: [/* @__PURE__ */ y("div", {
438
+ children: [/* @__PURE__ */ b("div", {
438
439
  className: "grid grid-cols-2 gap-4",
439
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
440
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
440
441
  className: "text-sm text-text-secondary",
441
442
  children: J("botlit.store.installed.installedVersion", "Installed version")
442
- }), /* @__PURE__ */ y("p", {
443
+ }), /* @__PURE__ */ b("p", {
443
444
  className: "font-mono font-medium",
444
445
  children: ["v", e.installedVersion]
445
- })] }), e.package && /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
446
+ })] }), e.package && /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
446
447
  className: "text-sm text-text-secondary",
447
448
  children: J("botlit.store.installed.latestVersion", "Latest version")
448
- }), /* @__PURE__ */ y("p", {
449
+ }), /* @__PURE__ */ b("p", {
449
450
  className: "font-mono font-medium",
450
451
  children: ["v", e.package.version]
451
452
  })] })]
452
- }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
453
+ }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
453
454
  className: "text-sm text-text-secondary mb-2",
454
455
  children: J("botlit.store.installed.installMode", "Installation mode")
455
- }), /* @__PURE__ */ y("div", {
456
+ }), /* @__PURE__ */ b("div", {
456
457
  className: "flex items-center gap-2",
457
458
  children: [
458
459
  $(e.mode),
459
- /* @__PURE__ */ v("span", {
460
+ /* @__PURE__ */ y("span", {
460
461
  className: "font-medium",
461
462
  children: e.mode
462
463
  }),
463
- /* @__PURE__ */ v("span", {
464
+ /* @__PURE__ */ y("span", {
464
465
  className: "text-sm text-text-secondary",
465
466
  children: e.mode === "LINKED" ? J("botlit.store.installed.linkedHint", "Tracks the store listing; update when a newer version is published") : J("botlit.store.installed.forkedHint", "Your own copy; store updates are not offered")
466
467
  })
467
468
  ]
468
469
  })] })]
469
- })] }), /* @__PURE__ */ y(n, { children: [/* @__PURE__ */ v(i, { children: /* @__PURE__ */ v(a, {
470
+ })] }), /* @__PURE__ */ b(n, { children: [/* @__PURE__ */ y(i, { children: /* @__PURE__ */ y(a, {
470
471
  className: "text-base",
471
472
  children: J("botlit.store.installed.metadata", "Metadata")
472
- }) }), /* @__PURE__ */ v(r, { children: /* @__PURE__ */ y("div", {
473
+ }) }), /* @__PURE__ */ y(r, { children: /* @__PURE__ */ b("div", {
473
474
  className: "grid grid-cols-2 gap-4 text-sm",
474
475
  children: [
475
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
476
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
476
477
  className: "text-text-secondary",
477
478
  children: J("botlit.store.installed.installedAt", "Installed at")
478
- }), /* @__PURE__ */ v("p", {
479
+ }), /* @__PURE__ */ y("p", {
479
480
  className: "font-medium",
480
- children: f(e.installedAt)
481
+ children: d(e.installedAt)
481
482
  })] }),
482
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
483
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
483
484
  className: "text-text-secondary",
484
485
  children: J("botlit.store.installed.installedBy", "Installed by")
485
- }), /* @__PURE__ */ v("p", {
486
+ }), /* @__PURE__ */ y("p", {
486
487
  className: "font-medium",
487
488
  children: e.installedBy
488
489
  })] }),
489
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
490
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
490
491
  className: "text-text-secondary",
491
492
  children: J("botlit.store.installed.packageId", "Package id")
492
- }), /* @__PURE__ */ v("p", {
493
+ }), /* @__PURE__ */ y("p", {
493
494
  className: "font-mono text-xs",
494
495
  children: e.packageId
495
496
  })] }),
496
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
497
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
497
498
  className: "text-text-secondary",
498
499
  children: J("botlit.store.installed.installationId", "Installation id")
499
- }), /* @__PURE__ */ v("p", {
500
+ }), /* @__PURE__ */ y("p", {
500
501
  className: "font-mono text-xs",
501
502
  children: e.id
502
503
  })] })
503
504
  ]
504
505
  }) })] })]
505
506
  }),
506
- /* @__PURE__ */ y("div", {
507
+ /* @__PURE__ */ b("div", {
507
508
  className: "p-6 border-t border-border-subtle flex justify-between",
508
- children: [/* @__PURE__ */ v(s, {
509
+ children: [/* @__PURE__ */ y(s, {
509
510
  permission: o.STORE_DELETE,
510
- children: /* @__PURE__ */ y(c, {
511
+ children: /* @__PURE__ */ b(c, {
511
512
  variant: "destructive",
512
513
  onClick: () => Q(e),
513
- children: [/* @__PURE__ */ v(T, { className: "h-4 w-4 mr-2" }), J("botlit.store.installed.uninstall", "Uninstall")]
514
+ children: [/* @__PURE__ */ y(T, { className: "h-4 w-4 mr-2" }), J("botlit.store.installed.uninstall", "Uninstall")]
514
515
  })
515
- }), /* @__PURE__ */ y("div", {
516
+ }), /* @__PURE__ */ b("div", {
516
517
  className: "flex gap-2",
517
- children: [/* @__PURE__ */ v(ue, {
518
+ children: [/* @__PURE__ */ y(ue, {
518
519
  to: O(`store/package/${u}`),
519
- children: /* @__PURE__ */ v(c, {
520
+ children: /* @__PURE__ */ y(c, {
520
521
  variant: "outline",
521
522
  children: J("botlit.store.installed.viewInStore", "View in Store")
522
523
  })
523
- }), /* @__PURE__ */ v(c, {
524
+ }), /* @__PURE__ */ y(c, {
524
525
  variant: "outline",
525
526
  onClick: t,
526
527
  children: J("botlit.store.installed.close", "Close")