@workflow/web 5.0.0-beta.6 → 5.0.0-beta.8
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/build/client/assets/{encryption-DU49MAQV.js → encryption-C69WMRfh.js} +11 -5
- package/build/client/assets/{highlighted-body-B3W2YXNL-BZLzBNxn.js → highlighted-body-B3W2YXNL-WHMd9MPa.js} +1 -1
- package/build/client/assets/{home-DmK2qlF4.js → home-Cai0GqMt.js} +8 -16
- package/build/client/assets/{manifest-f8f46e3c.js → manifest-127f70fe.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-D3hhpLut.js → mermaid-3ZIDBTTL-TNUP6Q3m.js} +356 -219
- package/build/client/assets/root-COvK3yNk.css +1 -0
- package/build/client/assets/{root-DCSDR-Tx.js → root-ORTTXEp6.js} +1 -1
- package/build/client/assets/{run-detail-qu2t8u4x.js → run-detail-DNZJxxPM.js} +1231 -1151
- package/build/client/assets/server-build-DzzvWTSG.css +1 -0
- package/build/client/assets/{workflow-graph-viewer-Bl8eU-PY.js → workflow-graph-viewer-DKqOOMnz.js} +50 -41
- package/build/server/assets/{app-C_Lhht8k.js → app-BxqFvIap.js} +1 -1
- package/build/server/assets/{highlighted-body-B3W2YXNL-DOOlKIMb.js → highlighted-body-B3W2YXNL-BuIiME1D.js} +2 -2
- package/build/server/assets/index-CdMzuwNr.js +89 -0
- package/build/server/assets/{mermaid-3ZIDBTTL-CglyhPap.js → mermaid-3ZIDBTTL-TSh7T1Pv.js} +2 -2
- package/build/server/assets/{server-build-CeQwCbX_.js → server-build-fc5Vuxba.js} +3488 -3014
- package/build/server/assets/{token-CZpVopko.js → token--89oCxEK.js} +2 -2
- package/build/server/assets/{token-util-DUvMx9Gj.js → token-util-N0DDbkKZ.js} +2 -2
- package/build/server/index.js +1 -1
- package/package.json +7 -7
- package/build/client/assets/root-5XHFuftH.css +0 -1
- package/build/client/assets/server-build-olrGumlh.css +0 -1
- package/build/server/assets/index-CRYPN_tt.js +0 -80
|
@@ -3,14 +3,20 @@ import "./index-BsV8i_Jn.js";
|
|
|
3
3
|
const NONCE_LENGTH = 12;
|
|
4
4
|
const TAG_LENGTH = 128;
|
|
5
5
|
const KEY_LENGTH = 32;
|
|
6
|
-
async function importKey(raw) {
|
|
6
|
+
async function importKey(raw, usages = ["encrypt", "decrypt"]) {
|
|
7
7
|
if (raw.byteLength !== KEY_LENGTH) {
|
|
8
8
|
throw new WorkflowRuntimeError(`Encryption key must be exactly ${KEY_LENGTH} bytes, got ${raw.byteLength}`);
|
|
9
9
|
}
|
|
10
|
-
return globalThis.crypto.subtle.importKey(
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
return globalThis.crypto.subtle.importKey(
|
|
11
|
+
"raw",
|
|
12
|
+
raw,
|
|
13
|
+
"AES-GCM",
|
|
14
|
+
false,
|
|
15
|
+
// `KeyUsage` is a DOM-lib type that's not in scope under `es2022`.
|
|
16
|
+
// The `ReadonlyArray<'encrypt' | 'decrypt'>` parameter type matches
|
|
17
|
+
// a strict subset of `KeyUsage[]`, so this cast is sound.
|
|
18
|
+
usages
|
|
19
|
+
);
|
|
14
20
|
}
|
|
15
21
|
async function decrypt(key, data) {
|
|
16
22
|
const minLength = NONCE_LENGTH + TAG_LENGTH / 8;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-
|
|
1
|
+
import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-TNUP6Q3m.js";
|
|
2
2
|
import { r as reactExports, j as jsxRuntimeExports } from "./index-BsV8i_Jn.js";
|
|
3
3
|
var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
|
|
4
4
|
let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as reactExports, D as ReactDOM, j as jsxRuntimeExports, A as Link, f as reactDomExports, C as useSearchParams, B as useNavigate, G as useLocation, w as withComponentProps } from "./index-BsV8i_Jn.js";
|
|
2
|
-
import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as Check, X,
|
|
3
|
-
import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-
|
|
2
|
+
import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as ChevronUp, q as Check, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as cancelRun, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-DKqOOMnz.js";
|
|
3
|
+
import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-TNUP6Q3m.js";
|
|
4
4
|
import "./index-Byi8AWfe.js";
|
|
5
5
|
var PORTAL_NAME$2 = "Portal";
|
|
6
6
|
var Portal$2 = reactExports.forwardRef((props, forwardedRef) => {
|
|
@@ -18,44 +18,36 @@ Portal$2.displayName = PORTAL_NAME$2;
|
|
|
18
18
|
* This source code is licensed under the ISC license.
|
|
19
19
|
* See the LICENSE file in the root directory of this source tree.
|
|
20
20
|
*/
|
|
21
|
-
const __iconNode$
|
|
21
|
+
const __iconNode$6 = [
|
|
22
22
|
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
23
23
|
["path", { d: "M7 20V4", key: "1yoxec" }],
|
|
24
24
|
["path", { d: "M20 8h-5", key: "1vsyxs" }],
|
|
25
25
|
["path", { d: "M15 10V6.5a2.5 2.5 0 0 1 5 0V10", key: "ag13bf" }],
|
|
26
26
|
["path", { d: "M15 14h5l-5 6h5", key: "ur5jdg" }]
|
|
27
27
|
];
|
|
28
|
-
const ArrowDownAZ = createLucideIcon("arrow-down-a-z", __iconNode$
|
|
28
|
+
const ArrowDownAZ = createLucideIcon("arrow-down-a-z", __iconNode$6);
|
|
29
29
|
/**
|
|
30
30
|
* @license lucide-react v0.575.0 - ISC
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the ISC license.
|
|
33
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
34
34
|
*/
|
|
35
|
-
const __iconNode$
|
|
35
|
+
const __iconNode$5 = [
|
|
36
36
|
["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
|
|
37
37
|
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
38
38
|
["path", { d: "M20 8h-5", key: "1vsyxs" }],
|
|
39
39
|
["path", { d: "M15 10V6.5a2.5 2.5 0 0 1 5 0V10", key: "ag13bf" }],
|
|
40
40
|
["path", { d: "M15 14h5l-5 6h5", key: "ur5jdg" }]
|
|
41
41
|
];
|
|
42
|
-
const ArrowUpAZ = createLucideIcon("arrow-up-a-z", __iconNode$
|
|
43
|
-
/**
|
|
44
|
-
* @license lucide-react v0.575.0 - ISC
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the ISC license.
|
|
47
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/
|
|
49
|
-
const __iconNode$5 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
50
|
-
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$5);
|
|
42
|
+
const ArrowUpAZ = createLucideIcon("arrow-up-a-z", __iconNode$5);
|
|
51
43
|
/**
|
|
52
44
|
* @license lucide-react v0.575.0 - ISC
|
|
53
45
|
*
|
|
54
46
|
* This source code is licensed under the ISC license.
|
|
55
47
|
* See the LICENSE file in the root directory of this source tree.
|
|
56
48
|
*/
|
|
57
|
-
const __iconNode$4 = [["path", { d: "
|
|
58
|
-
const
|
|
49
|
+
const __iconNode$4 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
50
|
+
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$4);
|
|
59
51
|
/**
|
|
60
52
|
* @license lucide-react v0.575.0 - ISC
|
|
61
53
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DtOpLtMQ.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-
|
|
1
|
+
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DtOpLtMQ.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-ORTTXEp6.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-TNUP6Q3m.js"],"css":["/assets/root-COvK3yNk.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-Cai0GqMt.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-DKqOOMnz.js","/assets/mermaid-3ZIDBTTL-TNUP6Q3m.js","/assets/index-Byi8AWfe.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-DNZJxxPM.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-DKqOOMnz.js","/assets/mermaid-3ZIDBTTL-TNUP6Q3m.js","/assets/encryption-C69WMRfh.js","/assets/index-Byi8AWfe.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-127f70fe.js","version":"127f70fe"};
|