@workflow/web 4.1.23 → 4.1.25
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/{highlighted-body-B3W2YXNL-Bt3a5JLE.js → highlighted-body-B3W2YXNL-BRVsq_Ui.js} +1 -1
- package/build/client/assets/{home-Blj6TeEE.js → home-CWZI6fn-.js} +2 -2
- package/build/client/assets/{manifest-7bf3847b.js → manifest-25c2e662.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-Bp6ZST9_.js → mermaid-3ZIDBTTL-871SHrja.js} +82 -46
- package/build/client/assets/{root-BxnaECGo.js → root-8dRSI2dZ.js} +1 -1
- package/build/client/assets/{run-detail-DivTczoC.js → run-detail-CaG8UDwA.js} +2 -2
- package/build/client/assets/{workflow-graph-viewer-C6PWoIIU.js → workflow-graph-viewer-C1On-L19.js} +1 -1
- package/build/server/assets/{app-Cqq1tzT2.js → app-C2ZMBpJF.js} +1 -1
- package/build/server/assets/{highlighted-body-B3W2YXNL-DCJ0KRmM.js → highlighted-body-B3W2YXNL-CmiyUOiW.js} +2 -2
- package/build/server/assets/{index-B4hi3c32.js → index-iPDTwQkr.js} +17 -16
- package/build/server/assets/{mermaid-3ZIDBTTL-Dagv8YB7.js → mermaid-3ZIDBTTL-Ku6qjB5F.js} +2 -2
- package/build/server/assets/{server-build-C7DcIi-X.js → server-build-BVUmxy06.js} +357 -145
- package/build/server/assets/{token-CERc2_Jt.js → token-CPIWEDbd.js} +2 -2
- package/build/server/assets/{token-util-Br9V80P7.js → token-util-BszBIaAk.js} +2 -2
- package/build/server/index.js +1 -1
- package/package.json +4 -4
|
@@ -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-871SHrja.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 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-
|
|
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-C1On-L19.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-871SHrja.js";
|
|
4
4
|
import "./index-DZSXezpI.js";
|
|
5
5
|
var PORTAL_NAME$2 = "Portal";
|
|
6
6
|
var Portal$2 = reactExports.forwardRef((props, forwardedRef) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-C_C46bD6.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-C_C46bD6.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-8dRSI2dZ.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-871SHrja.js"],"css":["/assets/root-BOS11TzD.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.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-CWZI6fn-.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C1On-L19.js","/assets/mermaid-3ZIDBTTL-871SHrja.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.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-CaG8UDwA.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C1On-L19.js","/assets/mermaid-3ZIDBTTL-871SHrja.js","/assets/encryption-BRhjWsZh.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.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-25c2e662.js","version":"25c2e662"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-BRhjWsZh.js","assets/index-DZSXezpI.js","assets/index-BsV8i_Jn.js","assets/highlighted-body-B3W2YXNL-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-BRhjWsZh.js","assets/index-DZSXezpI.js","assets/index-BsV8i_Jn.js","assets/highlighted-body-B3W2YXNL-BRVsq_Ui.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -10155,10 +10155,55 @@ function decode_legacy(base642) {
|
|
|
10155
10155
|
const native = typeof Uint8Array.fromBase64 === "function";
|
|
10156
10156
|
const buffer = typeof process === "object" && ((_a2 = process.versions) == null ? void 0 : _a2.node) !== void 0;
|
|
10157
10157
|
const decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
|
|
10158
|
-
function
|
|
10158
|
+
function merge_operations(defaults, overrides) {
|
|
10159
|
+
return defaults;
|
|
10160
|
+
}
|
|
10161
|
+
const parse_operations = {
|
|
10162
|
+
fromPrimitive: (primitive) => primitive,
|
|
10163
|
+
fromISOString: (iso) => new Date(iso),
|
|
10164
|
+
fromStringValue: (tag, text2) => {
|
|
10165
|
+
if (tag === "URL") return new URL(text2);
|
|
10166
|
+
if (tag === "URLSearchParams") return new URLSearchParams(text2);
|
|
10167
|
+
return Temporal[tag.slice(9)].from(text2);
|
|
10168
|
+
},
|
|
10169
|
+
fromArrayBuffer: (buffer2) => buffer2,
|
|
10170
|
+
fromRegExpInfo: (source, flags) => new RegExp(source, flags),
|
|
10171
|
+
fromViewInfo: (tag, buffer2, byteOffset, length) => {
|
|
10172
|
+
const Constructor = (
|
|
10173
|
+
/** @type {any} */
|
|
10174
|
+
globalThis[tag]
|
|
10175
|
+
);
|
|
10176
|
+
return byteOffset !== void 0 ? new Constructor(buffer2, byteOffset, length) : new Constructor(buffer2);
|
|
10177
|
+
},
|
|
10178
|
+
box: (value) => Object(value),
|
|
10179
|
+
createArray: (length) => new Array(length),
|
|
10180
|
+
createSparseArray: (length) => {
|
|
10181
|
+
const array2 = [];
|
|
10182
|
+
array2[MAX_ARRAY_INDEX] = void 0;
|
|
10183
|
+
delete array2[MAX_ARRAY_INDEX];
|
|
10184
|
+
array2.length = length;
|
|
10185
|
+
return array2;
|
|
10186
|
+
},
|
|
10187
|
+
createObject: () => ({}),
|
|
10188
|
+
createNullPrototypeObject: () => /* @__PURE__ */ Object.create(null),
|
|
10189
|
+
createSet: () => /* @__PURE__ */ new Set(),
|
|
10190
|
+
createMap: () => /* @__PURE__ */ new Map(),
|
|
10191
|
+
set: (target2, key, value) => {
|
|
10192
|
+
target2[key] = value;
|
|
10193
|
+
},
|
|
10194
|
+
addValue: (set, value) => {
|
|
10195
|
+
set.add(value);
|
|
10196
|
+
},
|
|
10197
|
+
addEntry: (map2, key, value) => {
|
|
10198
|
+
map2.set(key, value);
|
|
10199
|
+
}
|
|
10200
|
+
};
|
|
10201
|
+
const default_parse_operations = Object.freeze(parse_operations);
|
|
10202
|
+
function parse$4(serialized, revivers, options) {
|
|
10159
10203
|
return unflatten(JSON.parse(serialized), revivers);
|
|
10160
10204
|
}
|
|
10161
|
-
function unflatten(parsed, revivers) {
|
|
10205
|
+
function unflatten(parsed, revivers, options) {
|
|
10206
|
+
const ops = merge_operations(default_parse_operations);
|
|
10162
10207
|
if (typeof parsed === "number") return hydrate(parsed, true);
|
|
10163
10208
|
if (!Array.isArray(parsed) || parsed.length === 0) {
|
|
10164
10209
|
throw new Error("Invalid input");
|
|
@@ -10170,18 +10215,21 @@ function unflatten(parsed, revivers) {
|
|
|
10170
10215
|
const hydrated = Array(values.length);
|
|
10171
10216
|
let hydrating = null;
|
|
10172
10217
|
function hydrate(index2, standalone = false) {
|
|
10173
|
-
if (index2 === UNDEFINED) return void 0;
|
|
10174
|
-
if (index2 === NAN) return NaN;
|
|
10175
|
-
if (index2 === POSITIVE_INFINITY) return Infinity;
|
|
10176
|
-
if (index2 === NEGATIVE_INFINITY) return -Infinity;
|
|
10177
|
-
if (index2 === NEGATIVE_ZERO) return -0;
|
|
10218
|
+
if (index2 === UNDEFINED) return ops.fromPrimitive(void 0);
|
|
10219
|
+
if (index2 === NAN) return ops.fromPrimitive(NaN);
|
|
10220
|
+
if (index2 === POSITIVE_INFINITY) return ops.fromPrimitive(Infinity);
|
|
10221
|
+
if (index2 === NEGATIVE_INFINITY) return ops.fromPrimitive(-Infinity);
|
|
10222
|
+
if (index2 === NEGATIVE_ZERO) return ops.fromPrimitive(-0);
|
|
10178
10223
|
if (standalone || typeof index2 !== "number") {
|
|
10179
10224
|
throw new Error(`Invalid input`);
|
|
10180
10225
|
}
|
|
10181
10226
|
if (index2 in hydrated) return hydrated[index2];
|
|
10227
|
+
if (index2 >= values.length) {
|
|
10228
|
+
throw new Error(`Invalid input`);
|
|
10229
|
+
}
|
|
10182
10230
|
const value = values[index2];
|
|
10183
10231
|
if (!value || typeof value !== "object") {
|
|
10184
|
-
hydrated[index2] = value;
|
|
10232
|
+
hydrated[index2] = ops.fromPrimitive(value);
|
|
10185
10233
|
} else if (Array.isArray(value)) {
|
|
10186
10234
|
if (typeof value[0] === "string") {
|
|
10187
10235
|
const type = value[0];
|
|
@@ -10191,6 +10239,9 @@ function unflatten(parsed, revivers) {
|
|
|
10191
10239
|
if (typeof i !== "number") {
|
|
10192
10240
|
i = values.push(value[1]) - 1;
|
|
10193
10241
|
}
|
|
10242
|
+
if (Object.hasOwn(hydrated, i)) {
|
|
10243
|
+
return hydrated[index2] = reviver(hydrated[i]);
|
|
10244
|
+
}
|
|
10194
10245
|
hydrating ?? (hydrating = /* @__PURE__ */ new Set());
|
|
10195
10246
|
if (hydrating.has(i)) {
|
|
10196
10247
|
throw new Error("Invalid circular reference");
|
|
@@ -10202,44 +10253,44 @@ function unflatten(parsed, revivers) {
|
|
|
10202
10253
|
}
|
|
10203
10254
|
switch (type) {
|
|
10204
10255
|
case "Date":
|
|
10205
|
-
hydrated[index2] =
|
|
10256
|
+
hydrated[index2] = ops.fromISOString(value[1]);
|
|
10206
10257
|
break;
|
|
10207
10258
|
case "Set":
|
|
10208
|
-
const set =
|
|
10259
|
+
const set = ops.createSet();
|
|
10209
10260
|
hydrated[index2] = set;
|
|
10210
10261
|
for (let i = 1; i < value.length; i += 1) {
|
|
10211
|
-
|
|
10262
|
+
ops.addValue(set, hydrate(value[i]));
|
|
10212
10263
|
}
|
|
10213
10264
|
break;
|
|
10214
10265
|
case "Map":
|
|
10215
|
-
const map2 =
|
|
10266
|
+
const map2 = ops.createMap();
|
|
10216
10267
|
hydrated[index2] = map2;
|
|
10217
10268
|
for (let i = 1; i < value.length; i += 2) {
|
|
10218
|
-
|
|
10269
|
+
ops.addEntry(map2, hydrate(value[i]), hydrate(value[i + 1]));
|
|
10219
10270
|
}
|
|
10220
10271
|
break;
|
|
10221
10272
|
case "RegExp":
|
|
10222
|
-
hydrated[index2] =
|
|
10273
|
+
hydrated[index2] = ops.fromRegExpInfo(value[1], value[2]);
|
|
10223
10274
|
break;
|
|
10224
10275
|
case "Object": {
|
|
10225
10276
|
const wrapped_index = value[1];
|
|
10226
10277
|
if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") {
|
|
10227
10278
|
throw new Error("Invalid input");
|
|
10228
10279
|
}
|
|
10229
|
-
hydrated[index2] =
|
|
10280
|
+
hydrated[index2] = ops.box(hydrate(wrapped_index));
|
|
10230
10281
|
break;
|
|
10231
10282
|
}
|
|
10232
10283
|
case "BigInt":
|
|
10233
|
-
hydrated[index2] = BigInt(value[1]);
|
|
10284
|
+
hydrated[index2] = ops.fromPrimitive(BigInt(value[1]));
|
|
10234
10285
|
break;
|
|
10235
10286
|
case "null":
|
|
10236
|
-
const obj =
|
|
10287
|
+
const obj = ops.createNullPrototypeObject();
|
|
10237
10288
|
hydrated[index2] = obj;
|
|
10238
10289
|
for (let i = 1; i < value.length; i += 2) {
|
|
10239
10290
|
if (value[i] === "__proto__") {
|
|
10240
10291
|
throw new Error("Cannot parse an object with a `__proto__` property");
|
|
10241
10292
|
}
|
|
10242
|
-
obj
|
|
10293
|
+
ops.set(obj, value[i], hydrate(value[i + 1]));
|
|
10243
10294
|
}
|
|
10244
10295
|
break;
|
|
10245
10296
|
case "Int8Array":
|
|
@@ -10258,9 +10309,8 @@ function unflatten(parsed, revivers) {
|
|
|
10258
10309
|
if (values[value[1]][0] !== "ArrayBuffer") {
|
|
10259
10310
|
throw new Error("Invalid data");
|
|
10260
10311
|
}
|
|
10261
|
-
const TypedArrayConstructor = globalThis[type];
|
|
10262
10312
|
const buffer2 = hydrate(value[1]);
|
|
10263
|
-
hydrated[index2] =
|
|
10313
|
+
hydrated[index2] = ops.fromViewInfo(type, buffer2, value[2], value[3]);
|
|
10264
10314
|
break;
|
|
10265
10315
|
}
|
|
10266
10316
|
case "ArrayBuffer": {
|
|
@@ -10268,10 +10318,11 @@ function unflatten(parsed, revivers) {
|
|
|
10268
10318
|
if (typeof base642 !== "string") {
|
|
10269
10319
|
throw new Error("Invalid ArrayBuffer encoding");
|
|
10270
10320
|
}
|
|
10271
|
-
|
|
10272
|
-
hydrated[index2] = arraybuffer;
|
|
10321
|
+
hydrated[index2] = ops.fromArrayBuffer(decode64(base642));
|
|
10273
10322
|
break;
|
|
10274
10323
|
}
|
|
10324
|
+
case "URL":
|
|
10325
|
+
case "URLSearchParams":
|
|
10275
10326
|
case "Temporal.Duration":
|
|
10276
10327
|
case "Temporal.Instant":
|
|
10277
10328
|
case "Temporal.PlainDate":
|
|
@@ -10280,18 +10331,7 @@ function unflatten(parsed, revivers) {
|
|
|
10280
10331
|
case "Temporal.PlainMonthDay":
|
|
10281
10332
|
case "Temporal.PlainYearMonth":
|
|
10282
10333
|
case "Temporal.ZonedDateTime": {
|
|
10283
|
-
|
|
10284
|
-
hydrated[index2] = Temporal[temporalName].from(value[1]);
|
|
10285
|
-
break;
|
|
10286
|
-
}
|
|
10287
|
-
case "URL": {
|
|
10288
|
-
const url = new URL(value[1]);
|
|
10289
|
-
hydrated[index2] = url;
|
|
10290
|
-
break;
|
|
10291
|
-
}
|
|
10292
|
-
case "URLSearchParams": {
|
|
10293
|
-
const url = new URLSearchParams(value[1]);
|
|
10294
|
-
hydrated[index2] = url;
|
|
10334
|
+
hydrated[index2] = ops.fromStringValue(type, value[1]);
|
|
10295
10335
|
break;
|
|
10296
10336
|
}
|
|
10297
10337
|
default:
|
|
@@ -10302,36 +10342,32 @@ function unflatten(parsed, revivers) {
|
|
|
10302
10342
|
if (!is_valid_array_len(len)) {
|
|
10303
10343
|
throw new Error("Invalid input");
|
|
10304
10344
|
}
|
|
10305
|
-
const array2 =
|
|
10345
|
+
const array2 = ops.createSparseArray(len);
|
|
10306
10346
|
hydrated[index2] = array2;
|
|
10307
|
-
array2[MAX_ARRAY_INDEX] = void 0;
|
|
10308
|
-
delete array2[MAX_ARRAY_INDEX];
|
|
10309
10347
|
for (let i = 2; i < value.length; i += 2) {
|
|
10310
10348
|
const idx = value[i];
|
|
10311
10349
|
if (!is_valid_array_index(idx) || idx >= len) {
|
|
10312
10350
|
throw new Error("Invalid input");
|
|
10313
10351
|
}
|
|
10314
|
-
array2
|
|
10352
|
+
ops.set(array2, idx, hydrate(value[i + 1]));
|
|
10315
10353
|
}
|
|
10316
|
-
array2.length = len;
|
|
10317
10354
|
} else {
|
|
10318
|
-
const array2 =
|
|
10355
|
+
const array2 = ops.createArray(value.length);
|
|
10319
10356
|
hydrated[index2] = array2;
|
|
10320
10357
|
for (let i = 0; i < value.length; i += 1) {
|
|
10321
10358
|
const n = value[i];
|
|
10322
10359
|
if (n === HOLE) continue;
|
|
10323
|
-
array2
|
|
10360
|
+
ops.set(array2, i, hydrate(n));
|
|
10324
10361
|
}
|
|
10325
10362
|
}
|
|
10326
10363
|
} else {
|
|
10327
|
-
const object2 =
|
|
10364
|
+
const object2 = ops.createObject();
|
|
10328
10365
|
hydrated[index2] = object2;
|
|
10329
10366
|
for (const key of Object.keys(value)) {
|
|
10330
10367
|
if (key === "__proto__") {
|
|
10331
10368
|
throw new Error("Cannot parse an object with a `__proto__` property");
|
|
10332
10369
|
}
|
|
10333
|
-
|
|
10334
|
-
object2[key] = hydrate(n);
|
|
10370
|
+
ops.set(object2, key, hydrate(value[key]));
|
|
10335
10371
|
}
|
|
10336
10372
|
}
|
|
10337
10373
|
return hydrated[index2];
|
|
@@ -43652,7 +43688,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
43652
43688
|
var et = ({ className: e, language: t, style: o, isIncomplete: n, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e), "data-incomplete": n || void 0, "data-language": t, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o }, ...s2 });
|
|
43653
43689
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
43654
43690
|
var ot = ({ language: e }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e }) });
|
|
43655
|
-
var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-
|
|
43691
|
+
var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-BRVsq_Ui.js"), true ? __vite__mapDeps([3,2]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
|
|
43656
43692
|
let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
|
|
43657
43693
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
|
|
43658
43694
|
return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e }, children: jsxRuntimeExports.jsxs(et, { isIncomplete: s2, language: t, children: [jsxRuntimeExports.jsx(ot, { language: t }), n ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o, language: t, result: c, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o, code: i, language: t, raw: c, ...r2 }) })] }) });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, x as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, y as Scripts, O as Outlet, z as useRouteError, i as isRouteErrorResponse, A as Link, B as useNavigate, C as useSearchParams } from "./index-BsV8i_Jn.js";
|
|
2
|
-
import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, r as runHealthCheck, t as toast, B as Button, L as LoaderCircle, d as cn, e as Toaster$1, S as ServerConfigProvider, f as TooltipProvider } from "./mermaid-3ZIDBTTL-
|
|
2
|
+
import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, r as runHealthCheck, t as toast, B as Button, L as LoaderCircle, d as cn, e as Toaster$1, S as ServerConfigProvider, f as TooltipProvider } from "./mermaid-3ZIDBTTL-871SHrja.js";
|
|
3
3
|
var M = (e, i, s, u, m, a, l, h) => {
|
|
4
4
|
let d = document.documentElement, w = ["light", "dark"];
|
|
5
5
|
function p(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports, r as reactExports, f as reactDomExports, D as ReactDOM, B as useNavigate, C as useSearchParams, A as Link, w as withComponentProps, H as useParams } from "./index-BsV8i_Jn.js";
|
|
2
|
-
import { O as Copy, C as CircleAlert, Q as parseStepName, B as parseWorkflowName, j as ChevronRight, q as Check, U as ErrorCard, V as format, Z as Zap, S as Send, R as ResolveHookModal, p as ChevronUp, o as ChevronDown, X, N as ErrorBoundary, Y as Clock, G as CircleX, I as unwrapServerActionResult, u as unwrapOrThrow, W as WorkflowWebAPIError, _ as useEscapeKeydown, t as composeEventHandlers, $ as useCallbackRef, a0 as useLayoutEffect2, s as useControllableState, a1 as useId, a2 as createContext2, v as Presence, x as createContextScope, l as hideOthers, m as ReactRemoveScroll, a3 as useFocusGuards, a4 as LAYOUT, a5 as wakeUpRun, r as resumeHook, A as Alert, c as AlertTitle, d as AlertDescription, a as Skeleton$1, a6 as RunActionsButtons, F as StatusBadge, e as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, y as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-
|
|
3
|
-
import { c as createLucideIcon, M as Spinner, h as useToast, N as useHasContextCardProvider, O as ContextCardProvider, U as ContextCardTrigger, W as Skeleton, X as DecryptClickContext, Y as Yr, Z as isEncryptedMarker, _ as formatDuration, $ as DataInspector, a0 as _r, a1 as StreamClickContext, a2 as isExpiredMarker, a3 as isDoStreamStep, a4 as extractConversation, a5 as Lock, a6 as EVENT_DATA_REF_FIELDS, a7 as clsx, a8 as useTraceViewer, a9 as styles, aa as formatDurationForTimeline, ab as formatWallClockTime, ac as useImmediateStyle, ad as TIMELINE_PADDING, ae as formatTimeSelection, af as MARKER_HEIGHT, ag as ROW_HEIGHT, ah as ROW_PADDING, ai as SEARCH_HEIGHT, aj as getHighResInMs, ak as getMsInHighRes, al as MARKER_NOTCH_HEIGHT, am as MAP_HEIGHT, an as SEARCH_GAP, ao as MiniMap, ap as SpanNodes, aq as SpanDetailPanel, ar as TraceViewerContextProvider, as as hydrateResourceIOWithKey, at as hydrateResourceIO, au as fetchHook, l as fetchEvents, F as fetchRun, av as fetchStep, aw as hasEncryptedFields, ax as fetchStreams, ay as Slot, E as useComposedRefs, az as Slottable, d as cn, aA as buttonVariants, aB as isEncryptedData, aC as hydrateData, aD as getWebRevivers, aE as fetchEvent, aF as fetchEventsByCorrelationId, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aG as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, aH as getEncryptionKeyForRun, t as toast, L as LoaderCircle, aI as StreamViewer } from "./mermaid-3ZIDBTTL-
|
|
2
|
+
import { O as Copy, C as CircleAlert, Q as parseStepName, B as parseWorkflowName, j as ChevronRight, q as Check, U as ErrorCard, V as format, Z as Zap, S as Send, R as ResolveHookModal, p as ChevronUp, o as ChevronDown, X, N as ErrorBoundary, Y as Clock, G as CircleX, I as unwrapServerActionResult, u as unwrapOrThrow, W as WorkflowWebAPIError, _ as useEscapeKeydown, t as composeEventHandlers, $ as useCallbackRef, a0 as useLayoutEffect2, s as useControllableState, a1 as useId, a2 as createContext2, v as Presence, x as createContextScope, l as hideOthers, m as ReactRemoveScroll, a3 as useFocusGuards, a4 as LAYOUT, a5 as wakeUpRun, r as resumeHook, A as Alert, c as AlertTitle, d as AlertDescription, a as Skeleton$1, a6 as RunActionsButtons, F as StatusBadge, e as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, y as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-C1On-L19.js";
|
|
3
|
+
import { c as createLucideIcon, M as Spinner, h as useToast, N as useHasContextCardProvider, O as ContextCardProvider, U as ContextCardTrigger, W as Skeleton, X as DecryptClickContext, Y as Yr, Z as isEncryptedMarker, _ as formatDuration, $ as DataInspector, a0 as _r, a1 as StreamClickContext, a2 as isExpiredMarker, a3 as isDoStreamStep, a4 as extractConversation, a5 as Lock, a6 as EVENT_DATA_REF_FIELDS, a7 as clsx, a8 as useTraceViewer, a9 as styles, aa as formatDurationForTimeline, ab as formatWallClockTime, ac as useImmediateStyle, ad as TIMELINE_PADDING, ae as formatTimeSelection, af as MARKER_HEIGHT, ag as ROW_HEIGHT, ah as ROW_PADDING, ai as SEARCH_HEIGHT, aj as getHighResInMs, ak as getMsInHighRes, al as MARKER_NOTCH_HEIGHT, am as MAP_HEIGHT, an as SEARCH_GAP, ao as MiniMap, ap as SpanNodes, aq as SpanDetailPanel, ar as TraceViewerContextProvider, as as hydrateResourceIOWithKey, at as hydrateResourceIO, au as fetchHook, l as fetchEvents, F as fetchRun, av as fetchStep, aw as hasEncryptedFields, ax as fetchStreams, ay as Slot, E as useComposedRefs, az as Slottable, d as cn, aA as buttonVariants, aB as isEncryptedData, aC as hydrateData, aD as getWebRevivers, aE as fetchEvent, aF as fetchEventsByCorrelationId, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aG as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, aH as getEncryptionKeyForRun, t as toast, L as LoaderCircle, aI as StreamViewer } from "./mermaid-3ZIDBTTL-871SHrja.js";
|
|
4
4
|
import { decrypt, importKey } from "./encryption-BRhjWsZh.js";
|
|
5
5
|
import "./index-DZSXezpI.js";
|
|
6
6
|
/**
|
package/build/client/assets/{workflow-graph-viewer-C6PWoIIU.js → workflow-graph-viewer-C1On-L19.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { c as createLucideIcon, aJ as cn, d as cn$1, G as cva, aK as composeRefs, E as useComposedRefs, aL as useFloating, aM as offset, aN as shift, aO as limitShift, aP as flip, aQ as size, aR as arrow, aS as hide, aT as autoUpdate, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aU as cancelRun$1, aV as reenqueueRun$1, aW as wakeUpRun$1, aX as resumeHook$1, aY as recreateRun$1, v as createContextScope$1, n as useComposedRefs$1, w as createSlot, _ as formatDuration, B as Button, t as toast, p as useId$1, P as Primitive$1, o as composeEventHandlers$1, x as useControllableState$1, m as useCallbackRef$2, H as Presence$1 } from "./mermaid-3ZIDBTTL-
|
|
4
|
+
import { c as createLucideIcon, aJ as cn, d as cn$1, G as cva, aK as composeRefs, E as useComposedRefs, aL as useFloating, aM as offset, aN as shift, aO as limitShift, aP as flip, aQ as size, aR as arrow, aS as hide, aT as autoUpdate, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aU as cancelRun$1, aV as reenqueueRun$1, aW as wakeUpRun$1, aX as resumeHook$1, aY as recreateRun$1, v as createContextScope$1, n as useComposedRefs$1, w as createSlot, _ as formatDuration, B as Button, t as toast, p as useId$1, P as Primitive$1, o as composeEventHandlers$1, x as useControllableState$1, m as useCallbackRef$2, H as Presence$1 } from "./mermaid-3ZIDBTTL-871SHrja.js";
|
|
5
5
|
import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, I as React, D as ReactDOM, a as requireReact, g as getDefaultExportFromCjs } from "./index-BsV8i_Jn.js";
|
|
6
6
|
import { V as VERCEL_403_ERROR_MESSAGE } from "./index-DZSXezpI.js";
|
|
7
7
|
function parseName(tag, name) {
|
|
@@ -9180,7 +9180,7 @@ const app = express();
|
|
|
9180
9180
|
app.all(
|
|
9181
9181
|
"/{*splat}",
|
|
9182
9182
|
createRequestHandler({
|
|
9183
|
-
build: () => import("./server-build-
|
|
9183
|
+
build: () => import("./server-build-BVUmxy06.js").then((n) => n.a7)
|
|
9184
9184
|
})
|
|
9185
9185
|
);
|
|
9186
9186
|
app.use(
|
|
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof globalThis.require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
6
|
-
import { r as reactExports } from "./app-
|
|
5
|
+
import { a1 as R, a2 as Ks, a3 as jsxRuntimeExports, a4 as Qe } from "./server-build-BVUmxy06.js";
|
|
6
|
+
import { r as reactExports } from "./app-C2ZMBpJF.js";
|
|
7
7
|
import "node:stream";
|
|
8
8
|
import "util";
|
|
9
9
|
import "crypto";
|
|
@@ -2,9 +2,9 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof globalThis.require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import { H as HookSchema } from "./server-build-
|
|
6
|
-
import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _,
|
|
7
|
-
import "./app-
|
|
5
|
+
import { H as HookSchema } from "./server-build-BVUmxy06.js";
|
|
6
|
+
import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _, $, a0 } from "./server-build-BVUmxy06.js";
|
|
7
|
+
import "./app-C2ZMBpJF.js";
|
|
8
8
|
import "stream";
|
|
9
9
|
import "express";
|
|
10
10
|
import "node:stream";
|
|
@@ -88,17 +88,18 @@ export {
|
|
|
88
88
|
y as WorkflowRunSchema,
|
|
89
89
|
z as WorkflowRunStatusSchema,
|
|
90
90
|
A as envFlag,
|
|
91
|
-
C as
|
|
92
|
-
F as
|
|
93
|
-
G as
|
|
94
|
-
I as
|
|
95
|
-
J as
|
|
96
|
-
K as
|
|
97
|
-
O as
|
|
98
|
-
U as
|
|
99
|
-
X as
|
|
100
|
-
Y as
|
|
101
|
-
Z as
|
|
102
|
-
_ as
|
|
103
|
-
$ as
|
|
91
|
+
C as envNumber,
|
|
92
|
+
F as getQueueTopicPrefix,
|
|
93
|
+
G as isLegacySpecVersion,
|
|
94
|
+
I as isNodeHttpEnabled,
|
|
95
|
+
J as isTerminalRunEventType,
|
|
96
|
+
K as isTerminalStepStatus,
|
|
97
|
+
O as isTerminalWorkflowRunStatus,
|
|
98
|
+
U as parseQueueName,
|
|
99
|
+
X as reenqueueActiveRuns,
|
|
100
|
+
Y as requiresNewerWorld,
|
|
101
|
+
Z as resolveQueueNamespace,
|
|
102
|
+
_ as stripEventDataRefs,
|
|
103
|
+
$ as ulidToDate,
|
|
104
|
+
a0 as validateUlidTimestamp
|
|
104
105
|
};
|
|
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof globalThis.require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import { N as Nt } from "./server-build-
|
|
6
|
-
import "./app-
|
|
5
|
+
import { N as Nt } from "./server-build-BVUmxy06.js";
|
|
6
|
+
import "./app-C2ZMBpJF.js";
|
|
7
7
|
import "stream";
|
|
8
8
|
import "express";
|
|
9
9
|
import "node:stream";
|