@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
@@ -1,236 +1,236 @@
1
1
  import { useBotlit as e } from "../providers/BotlitProvider.js";
2
2
  import { useTr as t } from "../../shared/hooks/useTr.js";
3
- import { PageLayout as ee } from "../components/PageLayout.js";
4
- import { BOTMANOR_PERMISSIONS as te } from "../permissions/botmanorPermissions.js";
5
- import { BotmanorPermissionGate as n } from "../permissions/useBotmanorPermissions.js";
6
- import { Card as r, CardContent as i, CardDescription as a, CardHeader as o, CardTitle as s } from "../components/Card.js";
3
+ import { PageLayout as n } from "../components/PageLayout.js";
4
+ import { BOTMANOR_PERMISSIONS as r } from "../permissions/botmanorPermissions.js";
5
+ import { BotmanorPermissionGate as ee } from "../permissions/useBotmanorPermissions.js";
6
+ import { Card as i, CardContent as a, CardDescription as te, CardHeader as o, CardTitle as s } from "../components/Card.js";
7
7
  import { Button as c } from "../components/Button.js";
8
- import { Input as ne } from "../components/Input.js";
9
- import { Badge as l } from "../components/Badge.js";
10
- import { EmptyState as re } from "../components/EmptyState.js";
11
- import { LoadMore as u } from "../components/LoadMore.js";
12
- import { ErrorState as d } from "../components/ErrorState.js";
8
+ import { Input as l } from "../components/Input.js";
9
+ import { Badge as u } from "../components/Badge.js";
10
+ import { EmptyState as ne } from "../components/EmptyState.js";
11
+ import { LoadMore as re } from "../components/LoadMore.js";
12
+ import { ErrorState as ie } from "../components/ErrorState.js";
13
13
  import "../hooks/index.js";
14
- import { formatRelativeTime as f } from "../utils/formatters.js";
15
- import { storePackageDescription as p, storePackageName as m, useInstallPackage as h, useInstalledPackageCount as g, useInstalledPackages as ie, useStorePackageCount as _, useStorePackages as ae } from "../hooks/useStore.js";
16
- import { InstallPackageDialog as v, STORE_PACKAGE_KINDS as y, packageKindLabels as oe } from "../components/StoreDialogs.js";
14
+ import { formatRelativeTime as ae } from "../utils/formatters.js";
15
+ import { storePackageDescription as oe, storePackageName as d, useInstallPackage as se, useInstalledPackageCount as f, useInstalledPackages as p, useStorePackageCount as m, useStorePackages as h } from "../hooks/useStore.js";
16
+ import { InstallPackageDialog as g, STORE_PACKAGE_KINDS as _, packageKindLabels as v } from "../components/StoreDialogs.js";
17
17
  import "../permissions/index.js";
18
- import { useMemo as b, useState as x } from "react";
19
- import { GlassCard as S, PagePurpose as C } from "@burdenoff/fe-libs/ui";
20
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
21
- import { Link as E } from "react-router";
22
- import { Bot as D, Check as O, Database as k, FileText as A, Package as j, Search as se, Shield as M, Sparkles as N, Store as P, Upload as F, Wrench as I } from "lucide-react";
23
- import { toast as L } from "sonner";
18
+ import { useMemo as y, useState as b } from "react";
19
+ import { GlassCard as x, PagePurpose as S, ThemedSelect as ce } from "@burdenoff/fe-libs/ui";
20
+ import { jsx as C, jsxs as w } from "react/jsx-runtime";
21
+ import { Link as T } from "react-router";
22
+ import { Bot as E, Check as D, Database as O, FileText as k, Package as A, Search as le, Shield as j, Sparkles as M, Store as N, Upload as P, Wrench as F } from "lucide-react";
23
+ import { toast as I } from "sonner";
24
24
  // src/botlit/pages/StorePage.tsx
25
- var R = ({ kind: e, className: t }) => {
25
+ var L = ({ kind: e, className: t }) => {
26
26
  switch (e) {
27
- case "APP": return /* @__PURE__ */ w(j, { className: t });
27
+ case "APP": return /* @__PURE__ */ C(A, { className: t });
28
28
  case "AGENT":
29
- case "A2A_AGENT": return /* @__PURE__ */ w(D, { className: t });
29
+ case "A2A_AGENT": return /* @__PURE__ */ C(E, { className: t });
30
30
  case "MCP_PACK":
31
- case "TOOL": return /* @__PURE__ */ w(I, { className: t });
31
+ case "TOOL": return /* @__PURE__ */ C(F, { className: t });
32
32
  case "PROMPT_TEMPLATE":
33
- case "PROMPT": return /* @__PURE__ */ w(A, { className: t });
34
- case "SKILL": return /* @__PURE__ */ w(N, { className: t });
33
+ case "PROMPT": return /* @__PURE__ */ C(k, { className: t });
34
+ case "SKILL": return /* @__PURE__ */ C(M, { className: t });
35
35
  case "RETRIEVAL_PROFILE":
36
36
  case "KNOWLEDGE_BASE":
37
- case "KB_TEMPLATE": return /* @__PURE__ */ w(k, { className: t });
38
- case "POLICY_BUNDLE": return /* @__PURE__ */ w(M, { className: t });
39
- default: return /* @__PURE__ */ w(j, { className: t });
37
+ case "KB_TEMPLATE": return /* @__PURE__ */ C(O, { className: t });
38
+ case "POLICY_BUNDLE": return /* @__PURE__ */ C(j, { className: t });
39
+ default: return /* @__PURE__ */ C(A, { className: t });
40
40
  }
41
41
  };
42
- function z(e) {
42
+ function R(e) {
43
43
  let t = e.manifest?.security;
44
44
  return !(!t || typeof t != "object" || Array.isArray(t) || t.requiresSecrets !== !0);
45
45
  }
46
- var B = () => {
47
- let D = t(), { getPath: k } = e(), A = oe(D), [j, M] = x(""), [N, I] = x([]), [B, V] = x("recent"), [H, U] = x(null), W = b(() => ({
48
- search: j,
49
- kind: N,
50
- sortBy: B
46
+ var z = () => {
47
+ let E = t(), { getPath: O } = e(), k = v(E), [A, j] = b(""), [M, F] = b([]), [z, B] = b("recent"), [V, H] = b(null), U = y(() => ({
48
+ search: A,
49
+ kind: M,
50
+ sortBy: z
51
51
  }), [
52
- j,
53
- N,
54
- B
55
- ]), { data: G, loading: K, error: q, refetch: ce, hasMore: le, loadingMore: ue, loadMore: de } = ae(W), fe = _(), J = _(W), Y = g(), { data: X, refetch: pe } = ie(), { install: me, loading: he } = h(), Z = j.trim().length > 0 || N.length > 0, Q = b(() => new Set(X.map((e) => e.package?.slug).filter((e) => typeof e == "string")), [X]), ge = (e) => I((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]), _e = async (e, t) => {
52
+ A,
53
+ M,
54
+ z
55
+ ]), { data: W, loading: G, error: K, refetch: ue, hasMore: de, loadingMore: fe, loadMore: pe } = h(U), me = m(), q = m(U), J = f(), { data: Y, refetch: he } = p(), { install: ge, loading: _e } = se(), X = A.trim().length > 0 || M.length > 0, Z = y(() => new Set(Y.map((e) => e.package?.slug).filter((e) => typeof e == "string")), [Y]), Q = (e) => F((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]), ve = async (e, t) => {
56
56
  try {
57
- await me({
57
+ await ge({
58
58
  packageId: e.id,
59
59
  mode: t
60
60
  });
61
61
  } catch (e) {
62
- L.error(e instanceof Error ? e.message : D("botlit.store.install.error", "Could not install the package."));
62
+ I.error(e instanceof Error ? e.message : E("botlit.store.install.error", "Could not install the package."));
63
63
  return;
64
64
  }
65
- L.success(D("botlit.store.install.success", "Installed \"{{name}}\"", { name: m(e) })), U(null), pe(), Y.refetch();
66
- }, $ = G.slice(0, 3);
67
- return /* @__PURE__ */ T(ee, {
68
- title: D("botlit.store.title", "BotManor Store"),
69
- description: D("botlit.store.description", "Discover and install pre-built agents, tools, and configurations"),
70
- actions: /* @__PURE__ */ T("div", {
65
+ I.success(E("botlit.store.install.success", "Installed \"{{name}}\"", { name: d(e) })), H(null), he(), J.refetch();
66
+ }, $ = W.slice(0, 3);
67
+ return /* @__PURE__ */ w(n, {
68
+ title: E("botlit.store.title", "BotManor Store"),
69
+ description: E("botlit.store.description", "Discover and install pre-built agents, tools, and configurations"),
70
+ actions: /* @__PURE__ */ w("div", {
71
71
  className: "flex gap-2",
72
- children: [/* @__PURE__ */ w(c, {
72
+ children: [/* @__PURE__ */ C(c, {
73
73
  variant: "outline",
74
- children: /* @__PURE__ */ w(E, {
75
- to: k("store/installed"),
76
- children: D("botlit.store.actions.viewInstalled", "View Installed ({{count}})", { count: Y.data ?? X.length })
74
+ children: /* @__PURE__ */ C(T, {
75
+ to: O("store/installed"),
76
+ children: E("botlit.store.actions.viewInstalled", "View Installed ({{count}})", { count: J.data ?? Y.length })
77
77
  })
78
- }), /* @__PURE__ */ w(c, {
78
+ }), /* @__PURE__ */ C(c, {
79
79
  variant: "outline",
80
- leftIcon: /* @__PURE__ */ w(F, { size: 16 }),
81
- children: /* @__PURE__ */ w(E, {
82
- to: k("store/publish"),
83
- children: D("botlit.store.actions.publishPackage", "Publish Package")
80
+ leftIcon: /* @__PURE__ */ C(P, { size: 16 }),
81
+ children: /* @__PURE__ */ C(T, {
82
+ to: O("store/publish"),
83
+ children: E("botlit.store.actions.publishPackage", "Publish Package")
84
84
  })
85
85
  })]
86
86
  }),
87
- children: [/* @__PURE__ */ T("div", {
87
+ children: [/* @__PURE__ */ w("div", {
88
88
  className: "space-y-6",
89
89
  children: [
90
- /* @__PURE__ */ w(C, {
91
- icon: /* @__PURE__ */ w(P, { size: 18 }),
92
- children: D("botlit.store.purpose", "The store is a marketplace of ready-made building blocks — full bots, agents, MCP tool packs, prompt templates and policy bundles published by the BotManor team and the community. Browse and install a package to skip the setup and start from a working example, then customise it for your own use case instead of building everything from scratch.")
90
+ /* @__PURE__ */ C(S, {
91
+ icon: /* @__PURE__ */ C(N, { size: 18 }),
92
+ children: E("botlit.store.purpose", "The store is a marketplace of ready-made building blocks — full bots, agents, MCP tool packs, prompt templates and policy bundles published by the BotManor team and the community. Browse and install a package to skip the setup and start from a working example, then customise it for your own use case instead of building everything from scratch.")
93
93
  }),
94
- /* @__PURE__ */ T("div", {
94
+ /* @__PURE__ */ w("div", {
95
95
  className: "flex flex-wrap items-center gap-4",
96
96
  children: [
97
- /* @__PURE__ */ T("div", {
97
+ /* @__PURE__ */ w("div", {
98
98
  className: "relative flex-1 max-w-md",
99
- children: [/* @__PURE__ */ w(se, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ w(ne, {
100
- placeholder: D("botlit.store.searchPlaceholder", "Search packages..."),
101
- value: j,
102
- onChange: (e) => M(e.target.value),
99
+ children: [/* @__PURE__ */ C(le, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ C(l, {
100
+ placeholder: E("botlit.store.searchPlaceholder", "Search packages..."),
101
+ value: A,
102
+ onChange: (e) => j(e.target.value),
103
103
  className: "pl-9"
104
104
  })]
105
105
  }),
106
- /* @__PURE__ */ T("div", {
106
+ /* @__PURE__ */ w("div", {
107
107
  className: "flex flex-wrap gap-2",
108
108
  role: "group",
109
- "aria-label": D("botlit.store.filters.kindsLabel", "Filter by type"),
110
- children: [/* @__PURE__ */ w(c, {
111
- variant: N.length === 0 ? "default" : "outline",
109
+ "aria-label": E("botlit.store.filters.kindsLabel", "Filter by type"),
110
+ children: [/* @__PURE__ */ C(c, {
111
+ variant: M.length === 0 ? "default" : "outline",
112
112
  size: "sm",
113
- "aria-pressed": N.length === 0,
114
- onClick: () => I([]),
115
- children: D("botlit.store.filters.all", "All")
116
- }), y.map((e) => /* @__PURE__ */ w(c, {
117
- variant: N.includes(e) ? "default" : "outline",
113
+ "aria-pressed": M.length === 0,
114
+ onClick: () => F([]),
115
+ children: E("botlit.store.filters.all", "All")
116
+ }), _.map((e) => /* @__PURE__ */ C(c, {
117
+ variant: M.includes(e) ? "default" : "outline",
118
118
  size: "sm",
119
- "aria-pressed": N.includes(e),
120
- onClick: () => ge(e),
121
- leftIcon: /* @__PURE__ */ w(R, {
119
+ "aria-pressed": M.includes(e),
120
+ onClick: () => Q(e),
121
+ leftIcon: /* @__PURE__ */ C(L, {
122
122
  kind: e,
123
123
  className: "h-4 w-4"
124
124
  }),
125
- children: A[e]
125
+ children: k[e]
126
126
  }, e))]
127
127
  }),
128
- /* @__PURE__ */ T("select", {
129
- "aria-label": D("botlit.store.filters.sortLabel", "Sort packages"),
128
+ /* @__PURE__ */ w(ce, {
129
+ "aria-label": E("botlit.store.filters.sortLabel", "Sort packages"),
130
130
  className: "h-9 px-3 border border-border-default rounded-md bg-bg-surface text-sm",
131
- value: B,
132
- onChange: (e) => V(e.target.value),
133
- children: [/* @__PURE__ */ w("option", {
131
+ value: z,
132
+ onChange: (e) => B(e.target.value),
133
+ children: [/* @__PURE__ */ C("option", {
134
134
  value: "recent",
135
- children: D("botlit.store.sort.recent", "Recently Published")
136
- }), /* @__PURE__ */ w("option", {
135
+ children: E("botlit.store.sort.recent", "Recently Published")
136
+ }), /* @__PURE__ */ C("option", {
137
137
  value: "name",
138
- children: D("botlit.store.sort.name", "Name (A–Z)")
138
+ children: E("botlit.store.sort.name", "Name (A–Z)")
139
139
  })]
140
140
  })
141
141
  ]
142
142
  }),
143
- /* @__PURE__ */ T("div", {
143
+ /* @__PURE__ */ w("div", {
144
144
  className: "grid grid-cols-1 md:grid-cols-3 gap-4",
145
- children: [/* @__PURE__ */ w(S, {
145
+ children: [/* @__PURE__ */ C(x, {
146
146
  treatment: "glass",
147
147
  glow: !0,
148
148
  className: "md:col-span-2 p-6",
149
- children: /* @__PURE__ */ T("div", {
149
+ children: /* @__PURE__ */ w("div", {
150
150
  className: "flex items-start gap-4",
151
- children: [/* @__PURE__ */ w("div", {
151
+ children: [/* @__PURE__ */ C("div", {
152
152
  className: "p-3 bg-action-primary-bg/20 rounded-lg",
153
- children: /* @__PURE__ */ w(P, { className: "h-8 w-8 text-primary" })
154
- }), /* @__PURE__ */ T("div", { children: [
155
- /* @__PURE__ */ w("h3", {
153
+ children: /* @__PURE__ */ C(N, { className: "h-8 w-8 text-primary" })
154
+ }), /* @__PURE__ */ w("div", { children: [
155
+ /* @__PURE__ */ C("h3", {
156
156
  className: "text-lg font-semibold text-text-primary",
157
- children: D("botlit.store.featured.title", "Welcome to the BotManor Store")
157
+ children: E("botlit.store.featured.title", "Welcome to the BotManor Store")
158
158
  }),
159
- /* @__PURE__ */ w("p", {
159
+ /* @__PURE__ */ C("p", {
160
160
  className: "text-sm text-text-secondary mt-1",
161
- children: D("botlit.store.featured.description", "Discover production-ready agents, tool packs, and configurations built by the community and BotManor team. Install packages to jumpstart your AI applications.")
161
+ children: E("botlit.store.featured.description", "Discover production-ready agents, tool packs, and configurations built by the community and BotManor team. Install packages to jumpstart your AI applications.")
162
162
  }),
163
- /* @__PURE__ */ T("div", {
163
+ /* @__PURE__ */ w("div", {
164
164
  className: "flex gap-4 mt-4",
165
- children: [/* @__PURE__ */ T("div", {
165
+ children: [/* @__PURE__ */ w("div", {
166
166
  className: "text-center",
167
- children: [/* @__PURE__ */ w("p", {
167
+ children: [/* @__PURE__ */ C("p", {
168
168
  className: "text-2xl font-bold tabular-nums",
169
- children: fe.data ?? "…"
170
- }), /* @__PURE__ */ w("p", {
169
+ children: me.data ?? "…"
170
+ }), /* @__PURE__ */ C("p", {
171
171
  className: "text-xs text-text-secondary",
172
- children: D("botlit.store.featured.packages", "Packages")
172
+ children: E("botlit.store.featured.packages", "Packages")
173
173
  })]
174
- }), /* @__PURE__ */ T("div", {
174
+ }), /* @__PURE__ */ w("div", {
175
175
  className: "text-center",
176
- children: [/* @__PURE__ */ w("p", {
176
+ children: [/* @__PURE__ */ C("p", {
177
177
  className: "text-2xl font-bold tabular-nums",
178
- children: Y.data ?? "…"
179
- }), /* @__PURE__ */ w("p", {
178
+ children: J.data ?? "…"
179
+ }), /* @__PURE__ */ C("p", {
180
180
  className: "text-xs text-text-secondary",
181
- children: D("botlit.store.featured.installed", "Installed")
181
+ children: E("botlit.store.featured.installed", "Installed")
182
182
  })]
183
183
  })]
184
184
  })
185
185
  ] })]
186
186
  })
187
- }), /* @__PURE__ */ T(r, { children: [/* @__PURE__ */ w(o, {
187
+ }), /* @__PURE__ */ w(i, { children: [/* @__PURE__ */ C(o, {
188
188
  className: "pb-2",
189
- children: /* @__PURE__ */ w(s, {
189
+ children: /* @__PURE__ */ C(s, {
190
190
  className: "text-sm",
191
- children: D("botlit.store.featured.quickInstall", "Quick Install")
191
+ children: E("botlit.store.featured.quickInstall", "Quick Install")
192
192
  })
193
- }), /* @__PURE__ */ w(i, {
193
+ }), /* @__PURE__ */ C(a, {
194
194
  className: "space-y-2",
195
- children: K ? /* @__PURE__ */ w("p", {
195
+ children: G ? /* @__PURE__ */ C("p", {
196
196
  className: "text-sm text-text-secondary",
197
- children: D("botlit.store.quickInstall.loading", "Loading packages…")
198
- }) : $.length === 0 ? /* @__PURE__ */ w("p", {
197
+ children: E("botlit.store.quickInstall.loading", "Loading packages…")
198
+ }) : $.length === 0 ? /* @__PURE__ */ C("p", {
199
199
  className: "text-sm text-text-secondary",
200
- children: Z ? D("botlit.store.quickInstall.noMatches", "No packages match these filters.") : D("botlit.store.quickInstall.empty", "No packages have been published yet. Published packages appear here.")
201
- }) : $.map((e) => /* @__PURE__ */ T("div", {
200
+ children: X ? E("botlit.store.quickInstall.noMatches", "No packages match these filters.") : E("botlit.store.quickInstall.empty", "No packages have been published yet. Published packages appear here.")
201
+ }) : $.map((e) => /* @__PURE__ */ w("div", {
202
202
  className: "flex items-center justify-between rounded bg-bg-sunken p-2",
203
- children: [/* @__PURE__ */ T("div", {
203
+ children: [/* @__PURE__ */ w("div", {
204
204
  className: "flex min-w-0 items-center gap-2",
205
- children: [/* @__PURE__ */ w(R, {
205
+ children: [/* @__PURE__ */ C(L, {
206
206
  kind: e.kind,
207
207
  className: "h-4 w-4 text-text-secondary"
208
- }), /* @__PURE__ */ w("span", {
208
+ }), /* @__PURE__ */ C("span", {
209
209
  className: "max-w-[150px] truncate text-sm",
210
- children: m(e)
210
+ children: d(e)
211
211
  })]
212
- }), Q.has(e.slug) ? /* @__PURE__ */ T(l, {
212
+ }), Z.has(e.slug) ? /* @__PURE__ */ w(u, {
213
213
  variant: "success",
214
214
  className: "text-xs",
215
- children: [/* @__PURE__ */ w(O, {
215
+ children: [/* @__PURE__ */ C(D, {
216
216
  size: 12,
217
217
  className: "mr-1"
218
- }), D("botlit.store.install.installedBadge", "Installed")]
219
- }) : /* @__PURE__ */ w(n, {
220
- permission: te.STORE_CREATE,
221
- children: /* @__PURE__ */ w(c, {
218
+ }), E("botlit.store.install.installedBadge", "Installed")]
219
+ }) : /* @__PURE__ */ C(ee, {
220
+ permission: r.STORE_CREATE,
221
+ children: /* @__PURE__ */ C(c, {
222
222
  size: "sm",
223
223
  variant: "ghost",
224
224
  className: "h-6 text-xs",
225
- "aria-label": D("botlit.store.install.actionFor", "Install {{name}}", { name: m(e) }),
226
- onClick: () => U(e),
227
- children: D("botlit.store.install.action", "Install")
225
+ "aria-label": E("botlit.store.install.actionFor", "Install {{name}}", { name: d(e) }),
226
+ onClick: () => H(e),
227
+ children: E("botlit.store.install.action", "Install")
228
228
  })
229
229
  })]
230
230
  }, e.id))
231
231
  })] })]
232
232
  }),
233
- K ? /* @__PURE__ */ w("div", {
233
+ G ? /* @__PURE__ */ C("div", {
234
234
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
235
235
  children: [
236
236
  1,
@@ -239,31 +239,31 @@ var B = () => {
239
239
  4,
240
240
  5,
241
241
  6
242
- ].map((e) => /* @__PURE__ */ w("div", { className: "h-56 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
243
- }) : q ? /* @__PURE__ */ w(d, {
242
+ ].map((e) => /* @__PURE__ */ C("div", { className: "h-56 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
243
+ }) : K ? /* @__PURE__ */ C(ie, {
244
244
  resource: "store packages",
245
- error: q,
246
- onRetry: () => void ce()
247
- }) : G.length > 0 ? /* @__PURE__ */ w("div", {
245
+ error: K,
246
+ onRetry: () => void ue()
247
+ }) : W.length > 0 ? /* @__PURE__ */ C("div", {
248
248
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
249
- children: G.map((e) => /* @__PURE__ */ w(E, {
250
- to: k(`store/package/${e.slug}`),
251
- children: /* @__PURE__ */ T(r, {
249
+ children: W.map((e) => /* @__PURE__ */ C(T, {
250
+ to: O(`store/package/${e.slug}`),
251
+ children: /* @__PURE__ */ w(i, {
252
252
  className: "h-full hover:border-primary/50 transition-colors cursor-pointer",
253
- children: [/* @__PURE__ */ w(o, { children: /* @__PURE__ */ T("div", {
253
+ children: [/* @__PURE__ */ C(o, { children: /* @__PURE__ */ w("div", {
254
254
  className: "flex items-start justify-between",
255
- children: [/* @__PURE__ */ T("div", {
255
+ children: [/* @__PURE__ */ w("div", {
256
256
  className: "flex items-center gap-3",
257
- children: [/* @__PURE__ */ w("div", {
257
+ children: [/* @__PURE__ */ C("div", {
258
258
  className: "p-2 bg-action-primary-bg/10 rounded-lg",
259
- children: /* @__PURE__ */ w(R, {
259
+ children: /* @__PURE__ */ C(L, {
260
260
  kind: e.kind,
261
261
  className: "h-5 w-5 text-primary"
262
262
  })
263
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w(s, {
263
+ }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(s, {
264
264
  className: "text-base",
265
- children: m(e)
266
- }), /* @__PURE__ */ T(a, {
265
+ children: d(e)
266
+ }), /* @__PURE__ */ w(te, {
267
267
  className: "text-xs",
268
268
  children: [
269
269
  e.slug,
@@ -271,60 +271,60 @@ var B = () => {
271
271
  e.version
272
272
  ]
273
273
  })] })]
274
- }), Q.has(e.slug) && /* @__PURE__ */ T(l, {
274
+ }), Z.has(e.slug) && /* @__PURE__ */ w(u, {
275
275
  variant: "success",
276
276
  className: "text-xs",
277
- children: [/* @__PURE__ */ w(O, {
277
+ children: [/* @__PURE__ */ C(D, {
278
278
  size: 10,
279
279
  className: "mr-1"
280
- }), D("botlit.store.install.installedBadge", "Installed")]
280
+ }), E("botlit.store.install.installedBadge", "Installed")]
281
281
  })]
282
- }) }), /* @__PURE__ */ w(i, { children: /* @__PURE__ */ T("div", {
282
+ }) }), /* @__PURE__ */ C(a, { children: /* @__PURE__ */ w("div", {
283
283
  className: "space-y-3",
284
- children: [/* @__PURE__ */ w("p", {
284
+ children: [/* @__PURE__ */ C("p", {
285
285
  className: "text-sm text-text-secondary line-clamp-2",
286
- children: p(e)
287
- }), /* @__PURE__ */ T("div", {
286
+ children: oe(e)
287
+ }), /* @__PURE__ */ w("div", {
288
288
  className: "pt-3 border-t border-border-subtle flex items-center justify-between",
289
- children: [/* @__PURE__ */ w(l, {
289
+ children: [/* @__PURE__ */ C(u, {
290
290
  variant: "outline",
291
291
  className: "text-xs",
292
- children: A[e.kind] ?? e.kind
293
- }), /* @__PURE__ */ w("span", {
292
+ children: k[e.kind] ?? e.kind
293
+ }), /* @__PURE__ */ C("span", {
294
294
  className: "text-xs text-text-secondary",
295
- children: f(e.publishedAt)
295
+ children: ae(e.publishedAt)
296
296
  })]
297
297
  })]
298
298
  }) })]
299
299
  })
300
300
  }, e.id))
301
- }) : /* @__PURE__ */ w(re, {
301
+ }) : /* @__PURE__ */ C(ne, {
302
302
  illustration: "empty-search",
303
- title: D("botlit.store.empty.title", "No packages found"),
304
- description: Z ? D("botlit.store.empty.descriptionFiltered", "Try adjusting your search or filters.") : D("botlit.store.empty.descriptionNoPackages", "No packages available in the store yet.")
303
+ title: E("botlit.store.empty.title", "No packages found"),
304
+ description: X ? E("botlit.store.empty.descriptionFiltered", "Try adjusting your search or filters.") : E("botlit.store.empty.descriptionNoPackages", "No packages available in the store yet.")
305
305
  }),
306
- Z && J.data !== null && G.length > 0 ? /* @__PURE__ */ w("p", {
306
+ X && q.data !== null && W.length > 0 ? /* @__PURE__ */ C("p", {
307
307
  className: "text-sm text-text-secondary",
308
308
  "aria-live": "polite",
309
- children: D("botlit.store.matchCount", "{{count}} package(s) match", { count: J.data })
309
+ children: E("botlit.store.matchCount", "{{count}} package(s) match", { count: q.data })
310
310
  }) : null,
311
- /* @__PURE__ */ w(u, {
312
- hasMore: le,
313
- loadingMore: ue,
314
- onLoadMore: () => void de(),
315
- loadedCount: G.length
311
+ /* @__PURE__ */ C(re, {
312
+ hasMore: de,
313
+ loadingMore: fe,
314
+ onLoadMore: () => void pe(),
315
+ loadedCount: W.length
316
316
  })
317
317
  ]
318
- }), /* @__PURE__ */ w(v, {
319
- pkg: H,
320
- name: H ? m(H) : "",
321
- requiresSecrets: H ? z(H) : !1,
322
- installing: he,
323
- onConfirm: (e, t) => void _e(e, t),
324
- onClose: () => U(null)
318
+ }), /* @__PURE__ */ C(g, {
319
+ pkg: V,
320
+ name: V ? d(V) : "",
321
+ requiresSecrets: V ? R(V) : !1,
322
+ installing: _e,
323
+ onConfirm: (e, t) => void ve(e, t),
324
+ onClose: () => H(null)
325
325
  })]
326
326
  });
327
327
  };
328
- export { B as StorePage };
328
+ export { z as StorePage };
329
329
 
330
330
  //# sourceMappingURL=StorePage.js.map