@burdenoff/microfe-botmanor 2026.1203.4 → 2026.1203.5

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