@ultrst-armada/floks 2.0.13 → 2.0.14
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/.krusbl-release-attestation.json +3 -3
- package/package.json +1 -1
- package/packages/canvas-ui/dist/{chunk-DAAI7BIG.js → chunk-ZX2OTCIC.js} +121 -13
- package/packages/canvas-ui/dist/fod/FodModule.d.ts +2 -0
- package/packages/canvas-ui/dist/fod/index.d.ts +2 -0
- package/packages/canvas-ui/dist/fod/index.js +9 -1
- package/packages/canvas-ui/dist/fod/remoteCapabilityPicker.d.ts +14 -0
- package/packages/canvas-ui/dist/fod/remoteCapabilityPicker.test.d.ts +1 -0
- package/packages/canvas-ui/dist/fod/remoteExecutionFeedback.d.ts +11 -0
- package/packages/canvas-ui/dist/fod/remoteExecutionFeedback.test.d.ts +1 -0
- package/packages/canvas-ui/dist/index.js +21 -13
- package/packages/ui/dist/{chunk-DKRFO7GI.js → chunk-7I4LUZKF.js} +2 -2
- package/packages/ui/dist/components/auth/index.js +1 -1
- package/packages/ui/dist/index.js +10 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"packageName": "@ultrst-armada/floks",
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "2.0.14",
|
|
5
|
+
"sourceCommit": "3c8ef114f8730e40797f4f80bf5b834f980da7ff",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "44933472125"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -237,6 +237,86 @@ function remoteAuthorizationFingerprint(definitions) {
|
|
|
237
237
|
return JSON.stringify(identity);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
// src/fod/remoteCapabilityPicker.ts
|
|
241
|
+
function remoteCapabilityCategory(node) {
|
|
242
|
+
const surface = node.metadata?.surface;
|
|
243
|
+
return typeof surface === "string" && surface.trim() ? surface : node.category;
|
|
244
|
+
}
|
|
245
|
+
function authorizedRemoteCategories(authorized, filter = {}) {
|
|
246
|
+
return [...new Set(authorized.filter((node) => (!filter.appId || node.metadata?.appId === filter.appId) && (!filter.workspaceId || node.metadata?.targetWorkspaceId === filter.workspaceId)).map(remoteCapabilityCategory).filter(Boolean))].sort();
|
|
247
|
+
}
|
|
248
|
+
function filteredCapabilityPicker(local, authorized, filter) {
|
|
249
|
+
return [...local, ...authorized.filter((node) => (!filter.appId || node.metadata?.appId === filter.appId) && (!filter.workspaceId || node.metadata?.targetWorkspaceId === filter.workspaceId) && (!filter.category || remoteCapabilityCategory(node) === filter.category))];
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// src/fod/remoteExecutionFeedback.ts
|
|
253
|
+
var messages = {
|
|
254
|
+
authentication: "Authentication required. Sign in through Luth before retrying.",
|
|
255
|
+
denied: "Operation denied by the target (403). No fallback was attempted.",
|
|
256
|
+
revoked: "Operation grant revoked. Reload authorized capabilities before retrying.",
|
|
257
|
+
consent: "Active frontend window consent is required.",
|
|
258
|
+
"stale-revision": "Operation revision or typed contract is stale. Reload the authorized operation.",
|
|
259
|
+
"malformed-target": "Target identity or operation is malformed. Invocation blocked.",
|
|
260
|
+
timeout: "Execution timed out; completion may be unknown. Do not replay side effects automatically.",
|
|
261
|
+
unavailable: "Authorized target unavailable. Only the backend can select a safe fallback.",
|
|
262
|
+
"fallback-exhausted": "No eligible authorized deployment remains; fallback exhausted.",
|
|
263
|
+
"replay-unsafe": "Execution outcome is uncertain. Retry requires backend-enforced idempotency.",
|
|
264
|
+
cancelled: "Execution cancelled. Confirm outcome before attempting a new call.",
|
|
265
|
+
unknown: "Remote execution failed. Inspect authorized backend diagnostics."
|
|
266
|
+
};
|
|
267
|
+
var codes = {
|
|
268
|
+
UNAUTHENTICATED: "authentication",
|
|
269
|
+
UNAUTHORIZED: "authentication",
|
|
270
|
+
AUTH_REQUIRED: "authentication",
|
|
271
|
+
FORBIDDEN: "denied",
|
|
272
|
+
DENIED: "denied",
|
|
273
|
+
PERMISSION_DENIED: "denied",
|
|
274
|
+
REVOKED: "revoked",
|
|
275
|
+
GRANT_REVOKED: "revoked",
|
|
276
|
+
AUTHORIZATION_CHANGED: "revoked",
|
|
277
|
+
CONSENT_REQUIRED: "consent",
|
|
278
|
+
ACTIVE_WINDOW_CONSENT_REQUIRED: "consent",
|
|
279
|
+
STALE_REVISION: "stale-revision",
|
|
280
|
+
VERSION_MISMATCH: "stale-revision",
|
|
281
|
+
STALE_VERSION: "stale-revision",
|
|
282
|
+
CONTRACT_CHANGED: "stale-revision",
|
|
283
|
+
MALFORMED_TARGET: "malformed-target",
|
|
284
|
+
INVALID_TARGET: "malformed-target",
|
|
285
|
+
INVALID_HANDLE: "malformed-target",
|
|
286
|
+
TIMEOUT: "timeout",
|
|
287
|
+
DEADLINE_EXCEEDED: "timeout",
|
|
288
|
+
ETIMEDOUT: "timeout",
|
|
289
|
+
UNAVAILABLE: "unavailable",
|
|
290
|
+
TARGET_UNAVAILABLE: "unavailable",
|
|
291
|
+
NO_AVAILABLE_TARGET: "unavailable",
|
|
292
|
+
FALLBACK_EXHAUSTED: "fallback-exhausted",
|
|
293
|
+
NO_ELIGIBLE_DEPLOYMENT: "fallback-exhausted",
|
|
294
|
+
REPLAY_UNSAFE: "replay-unsafe",
|
|
295
|
+
IDEMPOTENCY_REQUIRED: "replay-unsafe",
|
|
296
|
+
DUPLICATE_EXECUTION_UNCERTAIN: "replay-unsafe",
|
|
297
|
+
ABORT_ERR: "cancelled",
|
|
298
|
+
ABORTERROR: "cancelled"
|
|
299
|
+
};
|
|
300
|
+
function remoteExecutionFeedback(error) {
|
|
301
|
+
let kind = "unknown";
|
|
302
|
+
if (error && typeof error === "object" && !Array.isArray(error)) {
|
|
303
|
+
const value = error, status = value.status ?? value.statusCode;
|
|
304
|
+
if (status === 401) kind = "authentication";
|
|
305
|
+
else if (status === 403) kind = "denied";
|
|
306
|
+
else if (status === 408 || status === 504) kind = "timeout";
|
|
307
|
+
else if (status === 503) kind = "unavailable";
|
|
308
|
+
else for (const raw of [value.code, value.errorCode, value.name]) {
|
|
309
|
+
if (typeof raw !== "string") continue;
|
|
310
|
+
const code = raw.toUpperCase().replace(/[^A-Z0-9]+/g, "_");
|
|
311
|
+
if (Object.prototype.hasOwnProperty.call(codes, code)) {
|
|
312
|
+
kind = codes[code];
|
|
313
|
+
break;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return { kind, message: messages[kind], automaticRetryAllowed: false, automaticFallbackAllowed: false };
|
|
318
|
+
}
|
|
319
|
+
|
|
240
320
|
// src/fod/FodModule.tsx
|
|
241
321
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
242
322
|
function toGraphNodes(flow, nodeDefinitions) {
|
|
@@ -263,6 +343,8 @@ function toGraphNodes(flow, nodeDefinitions) {
|
|
|
263
343
|
};
|
|
264
344
|
});
|
|
265
345
|
}
|
|
346
|
+
var FodLocalValidationError = class extends Error {
|
|
347
|
+
};
|
|
266
348
|
function toGraphEdges(flow) {
|
|
267
349
|
return flow.edges.map((edge) => ({ id: edge.id, source: edge.source, sourceSocket: edge.sourceHandle ?? "result", target: edge.target, targetSocket: edge.targetHandle ?? "input" }));
|
|
268
350
|
}
|
|
@@ -280,6 +362,7 @@ function WorkspaceFlows({ runtime, nodeDefinitions, workspaceId, className, scop
|
|
|
280
362
|
const [authorizedNodes, setAuthorizedNodes] = useState([]);
|
|
281
363
|
const [remoteAppFilter, setRemoteAppFilter] = useState("");
|
|
282
364
|
const [remoteWorkspaceFilter, setRemoteWorkspaceFilter] = useState("");
|
|
365
|
+
const [remoteCategoryFilter, setRemoteCategoryFilter] = useState("");
|
|
283
366
|
const permissionEpoch = useRef(0);
|
|
284
367
|
const runningAbort = useRef(null);
|
|
285
368
|
useEffect(() => {
|
|
@@ -422,30 +505,31 @@ function WorkspaceFlows({ runtime, nodeDefinitions, workspaceId, className, scop
|
|
|
422
505
|
};
|
|
423
506
|
const run = async () => {
|
|
424
507
|
if (!flow) return;
|
|
508
|
+
const isRemoteExecution = flow.nodes.some(isRemoteGraphNode);
|
|
425
509
|
const epoch = permissionEpoch.current;
|
|
426
510
|
const abort = new AbortController();
|
|
427
511
|
runningAbort.current = abort;
|
|
428
512
|
setRunning(true);
|
|
429
513
|
try {
|
|
430
514
|
await save();
|
|
431
|
-
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new
|
|
515
|
+
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new FodLocalValidationError("Authorization changed; retry");
|
|
432
516
|
const remoteNodes = flow.nodes.filter(isRemoteGraphNode);
|
|
433
517
|
let result;
|
|
434
518
|
if (remoteNodes.length) {
|
|
435
519
|
if (!scopeKey || !runtime.listAuthorizedNodeDefinitions || !runtime.executeAuthorizedRemoteFlow)
|
|
436
|
-
throw new
|
|
520
|
+
throw new FodLocalValidationError("Remote execution unavailable: authenticated Kloks BackendFacade required");
|
|
437
521
|
const fresh = await runtime.listAuthorizedNodeDefinitions(workspaceId);
|
|
438
|
-
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new
|
|
522
|
+
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new FodLocalValidationError("Authorization changed; retry");
|
|
439
523
|
const scoped = filterRemoteDefinitions(fresh, nodeDefinitions.map((definition) => definition.type));
|
|
440
524
|
const check = validateRemoteGraph(flow.nodes, scoped);
|
|
441
|
-
if (!check.ok) throw new
|
|
525
|
+
if (!check.ok) throw new FodLocalValidationError(check.message ?? "Remote operation denied");
|
|
442
526
|
const wiring = validateRemoteConnections(flow.nodes, flow.edges, [...nodeDefinitions, ...scoped]);
|
|
443
|
-
if (!wiring.ok) throw new
|
|
527
|
+
if (!wiring.ok) throw new FodLocalValidationError(wiring.message ?? "Remote graph connections denied");
|
|
444
528
|
if (check.requiresWindowConsent) {
|
|
445
529
|
if (!runtime.authorizeActiveFrontendWindow || !await runtime.authorizeActiveFrontendWindow({ sourceWorkspaceId: workspaceId, handles: check.handles }, { signal: abort.signal }))
|
|
446
|
-
throw new
|
|
530
|
+
throw new FodLocalValidationError("Active frontend window consent required");
|
|
447
531
|
}
|
|
448
|
-
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new
|
|
532
|
+
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new FodLocalValidationError("Authorization changed; retry");
|
|
449
533
|
result = await runtime.executeAuthorizedRemoteFlow(
|
|
450
534
|
{ flowId: flow.id, sourceWorkspaceId: workspaceId, handles: check.handles },
|
|
451
535
|
{ signal: abort.signal }
|
|
@@ -453,10 +537,10 @@ function WorkspaceFlows({ runtime, nodeDefinitions, workspaceId, className, scop
|
|
|
453
537
|
} else {
|
|
454
538
|
result = await runtime.executeFlow(flow.id);
|
|
455
539
|
}
|
|
456
|
-
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new
|
|
457
|
-
setMessage(result.success ? "Execution completed" : result.errors?.[0]?.message ?? "Execution failed");
|
|
540
|
+
if (abort.signal.aborted || epoch !== permissionEpoch.current) throw new FodLocalValidationError("Authorization changed; retry");
|
|
541
|
+
setMessage(result.success ? "Execution completed" : isRemoteExecution ? remoteExecutionFeedback(result.errors?.[0]).message : result.errors?.[0]?.message ?? "Execution failed");
|
|
458
542
|
} catch (error) {
|
|
459
|
-
setMessage(String(error));
|
|
543
|
+
setMessage(error instanceof FodLocalValidationError ? error.message : isRemoteExecution ? remoteExecutionFeedback(error).message : String(error));
|
|
460
544
|
} finally {
|
|
461
545
|
if (runningAbort.current === abort) runningAbort.current = null;
|
|
462
546
|
setRunning(false);
|
|
@@ -479,19 +563,32 @@ function WorkspaceFlows({ runtime, nodeDefinitions, workspaceId, className, scop
|
|
|
479
563
|
const remoteWorkspaces = useMemo(() => [...new Set(authorizedNodes.filter((node) => !remoteAppFilter || node.metadata?.appId === remoteAppFilter).map((node) => String(node.metadata?.targetWorkspaceId ?? "")))].filter(Boolean).sort(), [authorizedNodes, remoteAppFilter]);
|
|
480
564
|
const selectedApp = remoteApps.includes(remoteAppFilter) ? remoteAppFilter : "";
|
|
481
565
|
const selectedWorkspace = remoteWorkspaces.includes(remoteWorkspaceFilter) ? remoteWorkspaceFilter : "";
|
|
566
|
+
const remoteCategories = useMemo(
|
|
567
|
+
() => authorizedRemoteCategories(authorizedNodes, { appId: selectedApp, workspaceId: selectedWorkspace }),
|
|
568
|
+
[authorizedNodes, selectedApp, selectedWorkspace]
|
|
569
|
+
);
|
|
570
|
+
const selectedCategory = remoteCategories.includes(remoteCategoryFilter) ? remoteCategoryFilter : "";
|
|
571
|
+
const pickerNodes = useMemo(
|
|
572
|
+
() => filteredCapabilityPicker(nodeDefinitions, authorizedNodes, {
|
|
573
|
+
appId: selectedApp,
|
|
574
|
+
workspaceId: selectedWorkspace,
|
|
575
|
+
category: selectedCategory
|
|
576
|
+
}),
|
|
577
|
+
[nodeDefinitions, authorizedNodes, selectedApp, selectedWorkspace, selectedCategory]
|
|
578
|
+
);
|
|
482
579
|
const grouped = useMemo(() => {
|
|
483
580
|
const groups = /* @__PURE__ */ new Map();
|
|
484
|
-
for (const node of
|
|
581
|
+
for (const node of pickerNodes) {
|
|
485
582
|
const appId = node.metadata?.appId;
|
|
486
583
|
const targetWorkspaceId = node.metadata?.targetWorkspaceId;
|
|
487
584
|
if (typeof appId === "string" && (selectedApp && appId !== selectedApp || selectedWorkspace && targetWorkspaceId !== selectedWorkspace)) continue;
|
|
488
|
-
const group = typeof appId === "string" && appId.trim() ? `App ${appId} / workspace ${targetWorkspaceId} / ${node.group} / ${node
|
|
585
|
+
const group = typeof appId === "string" && appId.trim() ? `App ${appId} / workspace ${targetWorkspaceId} / ${node.group} / ${remoteCapabilityCategory(node)}` : node.group;
|
|
489
586
|
const current = groups.get(group) ?? [];
|
|
490
587
|
current.push(node);
|
|
491
588
|
groups.set(group, current);
|
|
492
589
|
}
|
|
493
590
|
return [...groups.entries()].sort(([a], [b]) => a.localeCompare(b));
|
|
494
|
-
}, [
|
|
591
|
+
}, [pickerNodes]);
|
|
495
592
|
return /* @__PURE__ */ jsxs("div", { className, style: { display: "grid", gridTemplateColumns: "220px 1fr", gridTemplateRows: "44px 1fr", height: "100%", minHeight: 500 }, children: [
|
|
496
593
|
/* @__PURE__ */ jsxs("div", { style: { gridColumn: "1 / -1", display: "flex", alignItems: "center", gap: 8, padding: "6px 10px", borderBottom: "1px solid var(--skipo-border,#333)", background: "var(--skipo-matte-bg,#111)" }, children: [
|
|
497
594
|
/* @__PURE__ */ jsx("strong", { children: "FOD" }),
|
|
@@ -523,6 +620,13 @@ function WorkspaceFlows({ runtime, nodeDefinitions, workspaceId, className, scop
|
|
|
523
620
|
remoteWorkspaces.map((workspace) => /* @__PURE__ */ jsx("option", { value: workspace, children: workspace }, workspace))
|
|
524
621
|
] })
|
|
525
622
|
] }),
|
|
623
|
+
/* @__PURE__ */ jsxs("label", { style: { display: "block", fontSize: 12 }, children: [
|
|
624
|
+
"Remote capability category",
|
|
625
|
+
/* @__PURE__ */ jsxs("select", { "aria-label": "Remote capability category", value: selectedCategory, onChange: (event) => setRemoteCategoryFilter(event.target.value), children: [
|
|
626
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "All authorized categories" }),
|
|
627
|
+
remoteCategories.map((category) => /* @__PURE__ */ jsx("option", { value: category, children: category }, category))
|
|
628
|
+
] })
|
|
629
|
+
] }),
|
|
526
630
|
grouped.map(([group, nodes]) => /* @__PURE__ */ jsxs("section", { children: [
|
|
527
631
|
/* @__PURE__ */ jsx("h4", { style: { margin: "8px 0" }, children: group }),
|
|
528
632
|
nodes.map((node) => /* @__PURE__ */ jsx("button", { type: "button", style: { display: "block", width: "100%", textAlign: "left", marginBottom: 4 }, onClick: () => {
|
|
@@ -619,6 +723,10 @@ export {
|
|
|
619
723
|
readRemotePortSnapshot,
|
|
620
724
|
remotePortFingerprint,
|
|
621
725
|
validateRemoteConnections,
|
|
726
|
+
remoteCapabilityCategory,
|
|
727
|
+
authorizedRemoteCategories,
|
|
728
|
+
filteredCapabilityPicker,
|
|
729
|
+
remoteExecutionFeedback,
|
|
622
730
|
FodModule,
|
|
623
731
|
toKloksPublishedWorkflowCall,
|
|
624
732
|
invokeKloksPublishedWorkflow
|
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FodModule,
|
|
3
|
+
authorizedRemoteCategories,
|
|
3
4
|
filterRemoteDefinitions,
|
|
5
|
+
filteredCapabilityPicker,
|
|
4
6
|
invokeKloksPublishedWorkflow,
|
|
5
7
|
isLiveFrontendDefinition,
|
|
6
8
|
isRemoteGraphNode,
|
|
7
9
|
readRemoteHandle,
|
|
8
10
|
readRemotePortSnapshot,
|
|
11
|
+
remoteCapabilityCategory,
|
|
12
|
+
remoteExecutionFeedback,
|
|
9
13
|
remotePortFingerprint,
|
|
10
14
|
snapshotRemotePorts,
|
|
11
15
|
toKloksPublishedWorkflowCall,
|
|
12
16
|
validateRemoteConnections,
|
|
13
17
|
validateRemoteGraph
|
|
14
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-ZX2OTCIC.js";
|
|
15
19
|
import "../chunk-SRGVIYC5.js";
|
|
16
20
|
import "../chunk-ZSVXR3HU.js";
|
|
17
21
|
export {
|
|
18
22
|
FodModule,
|
|
23
|
+
authorizedRemoteCategories,
|
|
19
24
|
filterRemoteDefinitions,
|
|
25
|
+
filteredCapabilityPicker,
|
|
20
26
|
invokeKloksPublishedWorkflow,
|
|
21
27
|
isLiveFrontendDefinition,
|
|
22
28
|
isRemoteGraphNode,
|
|
23
29
|
readRemoteHandle,
|
|
24
30
|
readRemotePortSnapshot,
|
|
31
|
+
remoteCapabilityCategory,
|
|
32
|
+
remoteExecutionFeedback,
|
|
25
33
|
remotePortFingerprint,
|
|
26
34
|
snapshotRemotePorts,
|
|
27
35
|
toKloksPublishedWorkflowCall,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Picker is a view of already authorized discovery, never an authorization source. */
|
|
2
|
+
export interface RemotePickerNode {
|
|
3
|
+
type: string;
|
|
4
|
+
category: string;
|
|
5
|
+
metadata?: Record<string, unknown>;
|
|
6
|
+
}
|
|
7
|
+
export interface RemotePickerFilter {
|
|
8
|
+
appId?: string;
|
|
9
|
+
workspaceId?: string;
|
|
10
|
+
category?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function remoteCapabilityCategory(node: RemotePickerNode): string;
|
|
13
|
+
export declare function authorizedRemoteCategories<T extends RemotePickerNode>(authorized: readonly T[], filter?: Pick<RemotePickerFilter, 'appId' | 'workspaceId'>): string[];
|
|
14
|
+
export declare function filteredCapabilityPicker<T extends RemotePickerNode>(local: readonly T[], authorized: readonly T[], filter: RemotePickerFilter): T[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Presentation-only feedback from the authenticated, transport-neutral executor. */
|
|
2
|
+
export type RemoteFailureKind = 'authentication' | 'denied' | 'revoked' | 'consent' | 'stale-revision' | 'malformed-target' | 'timeout' | 'unavailable' | 'fallback-exhausted' | 'replay-unsafe' | 'cancelled' | 'unknown';
|
|
3
|
+
export interface RemoteExecutionFeedback {
|
|
4
|
+
kind: RemoteFailureKind;
|
|
5
|
+
message: string;
|
|
6
|
+
/** Only the target-aware backend can choose another deployment or replay effects. */
|
|
7
|
+
automaticRetryAllowed: false;
|
|
8
|
+
automaticFallbackAllowed: false;
|
|
9
|
+
}
|
|
10
|
+
/** Untrusted backend message strings can contain tokens, so never render them. */
|
|
11
|
+
export declare function remoteExecutionFeedback(error: unknown): RemoteExecutionFeedback;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -20,12 +20,6 @@ import {
|
|
|
20
20
|
useCanvas2DCoordinates,
|
|
21
21
|
useCanvas2DMagnetic
|
|
22
22
|
} from "./chunk-ZDADZVQ2.js";
|
|
23
|
-
import {
|
|
24
|
-
Tile,
|
|
25
|
-
TileCreateButton,
|
|
26
|
-
TileGrid,
|
|
27
|
-
useTileMenu
|
|
28
|
-
} from "./chunk-SA3JADUG.js";
|
|
29
23
|
import {
|
|
30
24
|
PredictiveGhostNodeCard,
|
|
31
25
|
PredictiveHudToolbar,
|
|
@@ -35,6 +29,12 @@ import {
|
|
|
35
29
|
getSocketLocalOffset,
|
|
36
30
|
getSocketScreenPosition
|
|
37
31
|
} from "./chunk-FPRATI44.js";
|
|
32
|
+
import {
|
|
33
|
+
Tile,
|
|
34
|
+
TileCreateButton,
|
|
35
|
+
TileGrid,
|
|
36
|
+
useTileMenu
|
|
37
|
+
} from "./chunk-SA3JADUG.js";
|
|
38
38
|
import {
|
|
39
39
|
AikoModule,
|
|
40
40
|
EmbeddedAikoModule
|
|
@@ -57,12 +57,6 @@ import {
|
|
|
57
57
|
setAuthoringOperations,
|
|
58
58
|
updateAuthoringNode
|
|
59
59
|
} from "./chunk-CI4C6DJR.js";
|
|
60
|
-
import {
|
|
61
|
-
CanvasViewport,
|
|
62
|
-
InfiniteCanvas,
|
|
63
|
-
MiniMap,
|
|
64
|
-
useCanvas
|
|
65
|
-
} from "./chunk-34YRDZPJ.js";
|
|
66
60
|
import {
|
|
67
61
|
DockBar,
|
|
68
62
|
DockItem,
|
|
@@ -73,20 +67,30 @@ import {
|
|
|
73
67
|
skipoDarkTheme,
|
|
74
68
|
useMonaco
|
|
75
69
|
} from "./chunk-KAKAFGVH.js";
|
|
70
|
+
import {
|
|
71
|
+
CanvasViewport,
|
|
72
|
+
InfiniteCanvas,
|
|
73
|
+
MiniMap,
|
|
74
|
+
useCanvas
|
|
75
|
+
} from "./chunk-34YRDZPJ.js";
|
|
76
76
|
import {
|
|
77
77
|
FodModule,
|
|
78
|
+
authorizedRemoteCategories,
|
|
78
79
|
filterRemoteDefinitions,
|
|
80
|
+
filteredCapabilityPicker,
|
|
79
81
|
invokeKloksPublishedWorkflow,
|
|
80
82
|
isLiveFrontendDefinition,
|
|
81
83
|
isRemoteGraphNode,
|
|
82
84
|
readRemoteHandle,
|
|
83
85
|
readRemotePortSnapshot,
|
|
86
|
+
remoteCapabilityCategory,
|
|
87
|
+
remoteExecutionFeedback,
|
|
84
88
|
remotePortFingerprint,
|
|
85
89
|
snapshotRemotePorts,
|
|
86
90
|
toKloksPublishedWorkflowCall,
|
|
87
91
|
validateRemoteConnections,
|
|
88
92
|
validateRemoteGraph
|
|
89
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-ZX2OTCIC.js";
|
|
90
94
|
import {
|
|
91
95
|
CanvasContextMenu,
|
|
92
96
|
CompatibleNodePicker,
|
|
@@ -778,9 +782,11 @@ export {
|
|
|
778
782
|
Viewer2DNodes,
|
|
779
783
|
Wire2D,
|
|
780
784
|
addAuthoringNode,
|
|
785
|
+
authorizedRemoteCategories,
|
|
781
786
|
bindAuthoringProperty,
|
|
782
787
|
createAuthoringSession,
|
|
783
788
|
filterRemoteDefinitions,
|
|
789
|
+
filteredCapabilityPicker,
|
|
784
790
|
frnlEditableNodeGraphDefinition,
|
|
785
791
|
getAuthoringChildren,
|
|
786
792
|
getAuthoringDepth,
|
|
@@ -794,6 +800,8 @@ export {
|
|
|
794
800
|
menuHidden,
|
|
795
801
|
readRemoteHandle,
|
|
796
802
|
readRemotePortSnapshot,
|
|
803
|
+
remoteCapabilityCategory,
|
|
804
|
+
remoteExecutionFeedback,
|
|
797
805
|
remotePortFingerprint,
|
|
798
806
|
removeAuthoringBinding,
|
|
799
807
|
removeAuthoringNode,
|
|
@@ -744,7 +744,7 @@ function LuthOidcGate({
|
|
|
744
744
|
GoogleSignInButton,
|
|
745
745
|
{
|
|
746
746
|
label: "CONTINUE WITH GOOGLE",
|
|
747
|
-
href: "/api/auth/oidc/start",
|
|
747
|
+
href: "/api/auth/oidc/start?method=google",
|
|
748
748
|
className: "mb-3"
|
|
749
749
|
}
|
|
750
750
|
),
|
|
@@ -756,7 +756,7 @@ function LuthOidcGate({
|
|
|
756
756
|
/* @__PURE__ */ jsx7(
|
|
757
757
|
"a",
|
|
758
758
|
{
|
|
759
|
-
href: "/api/auth/oidc/start",
|
|
759
|
+
href: "/api/auth/oidc/start?method=email",
|
|
760
760
|
className: "block text-center w-full py-3 px-4 text-xs font-black uppercase tracking-wide border-2 border-[var(--skipo-accent,#6366f1)] bg-[var(--skipo-accent,#6366f1)] text-[var(--skipo-accent-fg,#000000)] hover:brightness-110 transition-all cursor-pointer",
|
|
761
761
|
children: "CONTINUE WITH EMAIL"
|
|
762
762
|
}
|
|
@@ -48,21 +48,16 @@ import {
|
|
|
48
48
|
IconOnlyButton,
|
|
49
49
|
ModalContainer
|
|
50
50
|
} from "./chunk-OR5ZNJI4.js";
|
|
51
|
+
import {
|
|
52
|
+
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
53
|
+
GraphsMenu
|
|
54
|
+
} from "./chunk-6EYOJ4DD.js";
|
|
51
55
|
import {
|
|
52
56
|
AppShell,
|
|
53
57
|
BreadcrumbNav,
|
|
54
58
|
HeaderBar,
|
|
55
59
|
TopToolbar
|
|
56
60
|
} from "./chunk-KMVDLACR.js";
|
|
57
|
-
import {
|
|
58
|
-
GRAPHS_MENU_REQUIRED_SERVICES,
|
|
59
|
-
GraphsMenu
|
|
60
|
-
} from "./chunk-6EYOJ4DD.js";
|
|
61
|
-
import "./chunk-2SD6BIUX.js";
|
|
62
|
-
import {
|
|
63
|
-
TilesMenu,
|
|
64
|
-
tilesMenuDefinition
|
|
65
|
-
} from "./chunk-DEKSKDSF.js";
|
|
66
61
|
import {
|
|
67
62
|
AccountsSettingsSection,
|
|
68
63
|
SettingsTab,
|
|
@@ -71,6 +66,11 @@ import {
|
|
|
71
66
|
import {
|
|
72
67
|
CopyableLogViewer
|
|
73
68
|
} from "./chunk-RLQ2ALJG.js";
|
|
69
|
+
import "./chunk-2SD6BIUX.js";
|
|
70
|
+
import {
|
|
71
|
+
TilesMenu,
|
|
72
|
+
tilesMenuDefinition
|
|
73
|
+
} from "./chunk-DEKSKDSF.js";
|
|
74
74
|
import {
|
|
75
75
|
createFrnlDomMeasurementAdapter,
|
|
76
76
|
frnlBadge,
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
resolveLuthOrigin,
|
|
214
214
|
useApplicationOidcAuth,
|
|
215
215
|
useLuthAuth
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-7I4LUZKF.js";
|
|
217
217
|
import {
|
|
218
218
|
frnlButton,
|
|
219
219
|
frnlButtonDefinition,
|