@burdenoff/microfe-botmanor 2026.819.1 → 2026.925.1
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.
- package/dist/botlit/BotlitRoutes.js.map +1 -1
- package/dist/botlit/BotmanorRoot.js.map +1 -1
- package/dist/botlit/BotmanorRootInner.js +4 -4
- package/dist/botlit/BotmanorRootInner.js.map +1 -1
- package/dist/botlit/components/ErrorState.js +33 -29
- package/dist/botlit/components/ErrorState.js.map +1 -1
- package/dist/botlit/components/RouteLoader.js +52 -48
- package/dist/botlit/components/RouteLoader.js.map +1 -1
- package/dist/botlit/components/VersionHistoryPanel.js +74 -77
- package/dist/botlit/components/VersionHistoryPanel.js.map +1 -1
- package/dist/botlit/components/WorkspaceRequired.js +31 -30
- package/dist/botlit/components/WorkspaceRequired.js.map +1 -1
- package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
- package/dist/botlit/hooks/useConversations.js.map +1 -1
- package/dist/botlit/hooks/useLLMProviders.js.map +1 -1
- package/dist/botlit/hooks/useMCPServers.js +60 -49
- package/dist/botlit/hooks/useMCPServers.js.map +1 -1
- package/dist/botlit/pages/A2AAgentDetailPage.js +1 -1
- package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/A2ARegistryPage.js +116 -124
- package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
- package/dist/botlit/pages/AgentDetailPage.js +169 -172
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/AgentsListPage.js +96 -90
- package/dist/botlit/pages/AgentsListPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/BotDetailPage.js +228 -231
- package/dist/botlit/pages/BotDetailPage.js.map +1 -1
- package/dist/botlit/pages/BotWorkflowTab.js +84 -87
- package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
- package/dist/botlit/pages/BotsListPage.js +144 -147
- package/dist/botlit/pages/BotsListPage.js.map +1 -1
- package/dist/botlit/pages/BucketsPage.js +3 -3
- package/dist/botlit/pages/BucketsPage.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelsPage.js +156 -149
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/ChatPage.js +126 -129
- package/dist/botlit/pages/ChatPage.js.map +1 -1
- package/dist/botlit/pages/DashboardPage.js +111 -114
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.js +163 -159
- package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
- package/dist/botlit/pages/InstalledPackagesPage.js +3 -3
- package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBasesPage.js +84 -78
- package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
- package/dist/botlit/pages/MCPServerDetailPage.js +295 -238
- package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
- package/dist/botlit/pages/MCPServersPage.js +159 -154
- package/dist/botlit/pages/MCPServersPage.js.map +1 -1
- package/dist/botlit/pages/PoliciesPage.js +119 -114
- package/dist/botlit/pages/PoliciesPage.js.map +1 -1
- package/dist/botlit/pages/RetrievalProfilesPage.js +102 -109
- package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
- package/dist/botlit/pages/SettingsPage.js +144 -159
- package/dist/botlit/pages/SettingsPage.js.map +1 -1
- package/dist/botlit/pages/SkillsPage.js +122 -105
- package/dist/botlit/pages/SkillsPage.js.map +1 -1
- package/dist/botlit/pages/StorePage.js +176 -175
- package/dist/botlit/pages/StorePage.js.map +1 -1
- package/dist/botlit/providers/BotlitProvider.js.map +1 -1
- package/dist/botlit/store/botlitStore.js +1 -1
- package/dist/botlit/store/botlitStore.js.map +1 -1
- package/dist/botlit/utils/navigation.js.map +1 -1
- package/dist/generated/wspace-operations.js +45 -29
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/shared/hooks/useTr.js +14 -0
- package/dist/shared/hooks/useTr.js.map +1 -0
- package/package.json +33 -9
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useCallback as e } from "react";
|
|
2
|
+
import { useI18n as t } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
3
|
+
//#region src/shared/hooks/useTr.ts
|
|
4
|
+
function n() {
|
|
5
|
+
let { t: n } = t();
|
|
6
|
+
return e((e, t, r) => {
|
|
7
|
+
let i = n(e), a = i === e ? t : i;
|
|
8
|
+
return r ? Object.entries(r).reduce((e, [t, n]) => e.replace(RegExp(`\\{\\{${t}\\}\\}`, "g"), String(n)), a) : a;
|
|
9
|
+
}, [n]);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as useTr };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=useTr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTr.js","names":[],"sources":["../../../src/shared/hooks/useTr.ts"],"sourcesContent":["import { useCallback } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\n\n/**\n * useTr — translation hook with fallback semantics.\n *\n * Wraps `useI18n().t()` so that when a key has no translation (i.e. the\n * provider returns the key itself), the caller's English fallback is used\n * instead. This keeps consumer call sites consistent and avoids leaking\n * untranslated keys into the UI.\n *\n * Supports optional interpolation params using `{{key}}` placeholders.\n *\n * @example\n * const tr = useTr();\n * return <h1>{tr('botlit.dashboard.title', 'Dashboard')}</h1>;\n * return <p>{tr('botlit.delete.confirm', 'Delete {{count}} items?', { count: 5 })}</p>;\n */\nexport function useTr(): (\n key: string,\n fallback: string,\n params?: Record<string, string | number>\n) => string {\n const { t } = useI18n();\n return useCallback(\n (key: string, fallback: string, params?: Record<string, string | number>): string => {\n const translated = t(key);\n const raw = translated === key ? fallback : translated;\n if (!params) return raw;\n return Object.entries(params).reduce(\n (str, [k, v]) => str.replace(new RegExp(`\\\\{\\\\{${k}\\\\}\\\\}`, 'g'), String(v)),\n raw\n );\n },\n [t]\n );\n}\n"],"mappings":";;;AAkBA,SAAgB,IAIJ;CACV,IAAM,EAAE,SAAM,GAAS;AACvB,QAAO,GACJ,GAAa,GAAkB,MAAqD;EACnF,IAAM,IAAa,EAAE,EAAI,EACnB,IAAM,MAAe,IAAM,IAAW;AAE5C,SADK,IACE,OAAO,QAAQ,EAAO,CAAC,QAC3B,GAAK,CAAC,GAAG,OAAO,EAAI,QAAY,OAAO,SAAS,EAAE,SAAS,IAAI,EAAE,OAAO,EAAE,CAAC,EAC5E,EACD,GAJmB;IAMtB,CAAC,EAAE,CACJ"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-botmanor",
|
|
3
|
-
"version": "2026.
|
|
4
|
-
"description": "Burdenoff
|
|
3
|
+
"version": "2026.925.1",
|
|
4
|
+
"description": "Burdenoff BotManor Microfrontend - AI Agent platform interface for building, deploying and managing AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -84,16 +84,16 @@
|
|
|
84
84
|
"eslint-plugin-react-refresh": "^0.5.0",
|
|
85
85
|
"jsdom": "^26.1.0",
|
|
86
86
|
"lefthook": "^2.1.1",
|
|
87
|
-
"postcss": "^8.
|
|
87
|
+
"postcss": "^8.5.23",
|
|
88
88
|
"prettier": "^3.4.2",
|
|
89
89
|
"sonner": "^2.0.7",
|
|
90
90
|
"storybook": "^8.6.0",
|
|
91
91
|
"tailwindcss": "^4.0.0",
|
|
92
92
|
"typescript": "^5.9.0",
|
|
93
93
|
"typescript-eslint": "^8.56.0",
|
|
94
|
-
"vite": "8.0.8",
|
|
94
|
+
"vite": "^8.0.8",
|
|
95
95
|
"vite-plugin-dts": "3.9.1",
|
|
96
|
-
"vitest": "^3.2.
|
|
96
|
+
"vitest": "^3.2.7"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@apollo/client": "^4.0.11",
|
|
@@ -116,18 +116,42 @@
|
|
|
116
116
|
"overrides": {
|
|
117
117
|
"lodash": ">=4.17.21",
|
|
118
118
|
"lodash-es": ">=4.17.21",
|
|
119
|
-
"dompurify": ">=3.
|
|
119
|
+
"dompurify": ">=3.4.13",
|
|
120
120
|
"fast-xml-parser": ">=4.5.5",
|
|
121
121
|
"@xmldom/xmldom": ">=0.8.12",
|
|
122
122
|
"swiper": ">=12.1.2",
|
|
123
123
|
"brace-expansion": ">=1.1.13",
|
|
124
124
|
"follow-redirects": ">=1.15.12",
|
|
125
125
|
"smol-toml": ">=1.6.1",
|
|
126
|
-
"axios": ">=1.
|
|
126
|
+
"axios": ">=1.18.0",
|
|
127
127
|
"flatted": ">=3.4.1",
|
|
128
128
|
"yaml": ">=2.8.3",
|
|
129
129
|
"picomatch": ">=2.3.2",
|
|
130
|
-
"immutable": ">=
|
|
131
|
-
"minimatch": ">=
|
|
130
|
+
"immutable": ">=5.1.8",
|
|
131
|
+
"minimatch": ">=10.2.1",
|
|
132
|
+
"uuid": ">=11.1.1",
|
|
133
|
+
"esbuild": ">=0.28.1",
|
|
134
|
+
"js-yaml": ">=3.15.1 <4.0.0",
|
|
135
|
+
"nanoid": ">=5.1.16",
|
|
136
|
+
"cookie": ">=0.7.0",
|
|
137
|
+
"extract-zip": ">=2.0.2",
|
|
138
|
+
"tar": ">=7.5.16",
|
|
139
|
+
"form-data": ">=4.0.6",
|
|
140
|
+
"undici": ">=7.29.0",
|
|
141
|
+
"ws": ">=8.21.0",
|
|
142
|
+
"@babel/core": ">=7.29.1 <8.0.0",
|
|
143
|
+
"fast-uri": ">=3.1.5",
|
|
144
|
+
"shell-quote": ">=1.8.5",
|
|
145
|
+
"protobufjs": ">=7.5.8",
|
|
146
|
+
"hono": ">=4.12.18",
|
|
147
|
+
"@hono/node-server": ">=1.19.15",
|
|
148
|
+
"deepmerge-ts": ">=8.0.0",
|
|
149
|
+
"valibot": ">=1.4.2",
|
|
150
|
+
"sharp": ">=0.35.0",
|
|
151
|
+
"ip-address": ">=10.3.1",
|
|
152
|
+
"tmp": ">=0.2.4",
|
|
153
|
+
"xlsx": ">=0.19.3",
|
|
154
|
+
"ajv": ">=6.14.0",
|
|
155
|
+
"playwright": ">=1.55.1"
|
|
132
156
|
}
|
|
133
157
|
}
|