@burdenoff/fluidgrids-fe-sdk 2026.1028.10 → 2026.1028.12
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.
|
@@ -17,6 +17,7 @@ import { Tabs, TabsList, TabsTrigger, TabsContent, Input, Switch, Select, Select
|
|
|
17
17
|
import { toast } from 'sonner';
|
|
18
18
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
19
19
|
import { gql } from '@apollo/client';
|
|
20
|
+
import { resolveExternalGatewayUrls } from '@burdenoff/fe-libs/shared/config';
|
|
20
21
|
import { cn } from '@burdenoff/fe-libs/utils';
|
|
21
22
|
|
|
22
23
|
function SettingRow({
|
|
@@ -464,6 +465,14 @@ function describeScopes(scopes) {
|
|
|
464
465
|
if (versions.length > 0) parts.push(`pinned to ${versions.join(", ")}`);
|
|
465
466
|
return parts.join(" \xB7 ");
|
|
466
467
|
}
|
|
468
|
+
function externalGatewayUrl(configured, pageOrigin, external) {
|
|
469
|
+
if (!pageOrigin) return configured;
|
|
470
|
+
try {
|
|
471
|
+
return new URL(configured).origin === pageOrigin ? external() : configured;
|
|
472
|
+
} catch {
|
|
473
|
+
return configured;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
467
476
|
function endpointUrl(gatewayUrl, path) {
|
|
468
477
|
const base = gatewayUrl.replace(/\/workspaces\/graphql\/?$/, "");
|
|
469
478
|
return `${base.replace(/\/+$/, "")}${path}`;
|
|
@@ -1395,7 +1404,14 @@ function McpGatewayTab({
|
|
|
1395
1404
|
() => mcp.toolSets.filter((set) => set.status === "PUBLISHED").map((set) => set.version),
|
|
1396
1405
|
[mcp.toolSets]
|
|
1397
1406
|
);
|
|
1398
|
-
const url = mcp.endpoint ? endpointUrl(
|
|
1407
|
+
const url = mcp.endpoint ? endpointUrl(
|
|
1408
|
+
externalGatewayUrl(
|
|
1409
|
+
getFluidGridsConfig().apiGatewayUrl,
|
|
1410
|
+
typeof window === "undefined" ? void 0 : window.location.origin,
|
|
1411
|
+
() => resolveExternalGatewayUrls().workspaceBaseUrl
|
|
1412
|
+
),
|
|
1413
|
+
mcp.endpoint.path
|
|
1414
|
+
) : "";
|
|
1399
1415
|
const toggleThisWorkflow = (on) => {
|
|
1400
1416
|
if (!workflowKey) return;
|
|
1401
1417
|
void attempt(
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { HistoryPage } from './chunk-5BY2LZH3.js';
|
|
|
13
13
|
export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndpoint, useNodeEndpoints, useNodeManifest } from './chunk-7OJDILWM.js';
|
|
14
14
|
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-IAOLBKO3.js';
|
|
15
15
|
import './chunk-37HLOFQ3.js';
|
|
16
|
-
export { SettingsPage } from './chunk-
|
|
16
|
+
export { SettingsPage } from './chunk-KWWVBB43.js';
|
|
17
17
|
import './chunk-2PC6JUR6.js';
|
|
18
18
|
export { useDataSinkData, useDataSinks, useInsightsData, useLogStreamDestinationActions, useLogStreamDestinations, useRunReplayActions } from './chunk-TEMQVTTJ.js';
|
|
19
19
|
import './chunk-5ERAJC2I.js';
|
package/dist/settings.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/fluidgrids-fe-sdk",
|
|
3
|
-
"version": "2026.1028.
|
|
3
|
+
"version": "2026.1028.12",
|
|
4
4
|
"description": "FluidGrids Workflow Builder SDK - Embeddable visual workflow automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"imports": {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"react": "^18.0.0 || ^19.0.0",
|
|
84
84
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
85
|
-
"@burdenoff/fe-libs": "2026.
|
|
85
|
+
"@burdenoff/fe-libs": "2026.1028.3"
|
|
86
86
|
},
|
|
87
87
|
"peerDependenciesMeta": {
|
|
88
88
|
"@burdenoff/fe-libs": {
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"zustand": "^5.0.3"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@burdenoff/fe-libs": "2026.
|
|
138
|
+
"@burdenoff/fe-libs": "2026.1028.3",
|
|
139
139
|
"@eslint/js": "^9.18.0",
|
|
140
140
|
"@graphql-codegen/core": "6.2.2",
|
|
141
141
|
"@graphql-codegen/schema-ast": "6.1.1",
|