@workflow/web 5.0.4 → 5.0.6
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/app-Dl8u94Mn.css +1 -0
- package/build/client/assets/{arrow-up-right-ychoyK1y.js → arrow-up-right-DDLzuSl1.js} +1 -1
- package/build/client/assets/{highlighted-body-B3W2YXNL-C53ps5L5.js → highlighted-body-B3W2YXNL-7nJixRf5.js} +1 -1
- package/build/client/assets/{home-C3xDSPLC.js → home-DjMKxUF0.js} +3 -3
- package/build/client/assets/{loader-circle-BaPqCMKN.js → loader-circle-BuHkkqyY.js} +1 -1
- package/build/client/assets/{manifest-4e8be598.js → manifest-4ef14c64.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-COEB4Hc6.js → mermaid-3ZIDBTTL-CQkIfF6F.js} +97 -46
- package/build/client/assets/{root-DixDz_si.js → root-BdoS4wTM.js} +3 -3
- package/build/client/assets/root-DlBeVW_-.css +1 -0
- package/build/client/assets/{run-detail-CEQc0q3W.js → run-detail-CY1rcVcm.js} +126 -20
- package/build/client/assets/{workflow-graph-viewer-B9ovZj-2.js → workflow-graph-viewer-DaFQpLw8.js} +3 -2
- package/build/client/assets/{zstd-browser-decoder-D9w7uXpQ.js → zstd-browser-decoder-BEdfA1e2.js} +1 -1
- package/build/server/assets/{app-B50FKpUW.js → app-BWanCGIY.js} +993 -634
- package/build/server/assets/{highlighted-body-B3W2YXNL-DwfdU2_m.js → highlighted-body-B3W2YXNL-DTYrZ-0h.js} +1 -1
- package/build/server/assets/{index-D1YkUiuC.js → index-BE6TqyDE.js} +36 -34
- package/build/server/assets/{index-C3Gx8HYZ.js → index-DKlEIDGP.js} +1 -1
- package/build/server/assets/{mermaid-3ZIDBTTL-koYqT7Zj.js → mermaid-3ZIDBTTL-lgfv9_nj.js} +1 -1
- package/build/server/assets/{token-DbFnZp4-.js → token-BhYk3Bk4.js} +1 -1
- package/build/server/assets/{token-util-BXkc19cz.js → token-util-CfkQa5kX.js} +1 -1
- package/build/server/assets/{wrapper-BC7AidWM.js → wrapper-BO03ZtLx.js} +9 -9
- package/build/server/assets/{zstd-browser-decoder-ClonRoMz.js → zstd-browser-decoder-BAaFFyPz.js} +1 -1
- package/build/server/index.js +2 -2
- package/package.json +7 -7
- package/build/client/assets/app-Cruj5elv.css +0 -1
- package/build/client/assets/root-D51qsCcK.css +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-BEdfA1e2.js","assets/index-CRmVVsbP.js","assets/highlighted-body-B3W2YXNL-7nJixRf5.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);
|
|
5
|
-
var _a2, _b;
|
|
5
|
+
var _a2, _b, _c, _d;
|
|
6
6
|
import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, G as React, D as ReactDOM, R as ReactExports, H as getDefaultExportFromCjs } from "./index-CRmVVsbP.js";
|
|
7
7
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
8
8
|
return function handleEvent(event) {
|
|
@@ -2443,7 +2443,7 @@ var CONTENT_NAME$1 = "PopperContent";
|
|
|
2443
2443
|
var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME$1);
|
|
2444
2444
|
var PopperContent = reactExports.forwardRef(
|
|
2445
2445
|
(props, forwardedRef) => {
|
|
2446
|
-
var _a3, _b2,
|
|
2446
|
+
var _a3, _b2, _c2, _d2, _e2, _f;
|
|
2447
2447
|
const {
|
|
2448
2448
|
__scopePopper,
|
|
2449
2449
|
side = "bottom",
|
|
@@ -2524,7 +2524,7 @@ var PopperContent = reactExports.forwardRef(
|
|
|
2524
2524
|
}, [isPositioned, handlePlaced]);
|
|
2525
2525
|
const arrowX = (_a3 = middlewareData.arrow) == null ? void 0 : _a3.x;
|
|
2526
2526
|
const arrowY = (_b2 = middlewareData.arrow) == null ? void 0 : _b2.y;
|
|
2527
|
-
const cannotCenterArrow = ((
|
|
2527
|
+
const cannotCenterArrow = ((_c2 = middlewareData.arrow) == null ? void 0 : _c2.centerOffset) !== 0;
|
|
2528
2528
|
const [contentZIndex, setContentZIndex] = reactExports.useState();
|
|
2529
2529
|
useLayoutEffect2(() => {
|
|
2530
2530
|
if (content2) setContentZIndex(window.getComputedStyle(content2).zIndex);
|
|
@@ -2541,7 +2541,7 @@ var PopperContent = reactExports.forwardRef(
|
|
|
2541
2541
|
minWidth: "max-content",
|
|
2542
2542
|
zIndex: contentZIndex,
|
|
2543
2543
|
["--radix-popper-transform-origin"]: [
|
|
2544
|
-
(
|
|
2544
|
+
(_d2 = middlewareData.transformOrigin) == null ? void 0 : _d2.x,
|
|
2545
2545
|
(_e2 = middlewareData.transformOrigin) == null ? void 0 : _e2.y
|
|
2546
2546
|
].join(" "),
|
|
2547
2547
|
// hide the content if using the hide middleware and should be hidden
|
|
@@ -2646,7 +2646,7 @@ var transformOrigin = (options) => ({
|
|
|
2646
2646
|
name: "transformOrigin",
|
|
2647
2647
|
options,
|
|
2648
2648
|
fn(data) {
|
|
2649
|
-
var _a3, _b2,
|
|
2649
|
+
var _a3, _b2, _c2;
|
|
2650
2650
|
const { placement, rects, middlewareData } = data;
|
|
2651
2651
|
const cannotCenterArrow = ((_a3 = middlewareData.arrow) == null ? void 0 : _a3.centerOffset) !== 0;
|
|
2652
2652
|
const isArrowHidden = cannotCenterArrow;
|
|
@@ -2655,7 +2655,7 @@ var transformOrigin = (options) => ({
|
|
|
2655
2655
|
const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
|
|
2656
2656
|
const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
|
|
2657
2657
|
const arrowXCenter = (((_b2 = middlewareData.arrow) == null ? void 0 : _b2.x) ?? 0) + arrowWidth / 2;
|
|
2658
|
-
const arrowYCenter = (((
|
|
2658
|
+
const arrowYCenter = (((_c2 = middlewareData.arrow) == null ? void 0 : _c2.y) ?? 0) + arrowHeight / 2;
|
|
2659
2659
|
let x2 = "";
|
|
2660
2660
|
let y2 = "";
|
|
2661
2661
|
if (placedSide === "bottom") {
|
|
@@ -7283,7 +7283,7 @@ function attachSchema(issues, start, inst) {
|
|
|
7283
7283
|
}
|
|
7284
7284
|
}
|
|
7285
7285
|
function finalizeIssue(iss, ctx, config2) {
|
|
7286
|
-
var _a4, _b2,
|
|
7286
|
+
var _a4, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j;
|
|
7287
7287
|
var _a3;
|
|
7288
7288
|
const traits = (_b2 = (_a4 = iss.inst) == null ? void 0 : _a4._zod) == null ? void 0 : _b2.traits;
|
|
7289
7289
|
if (traits == null ? void 0 : traits.has("$ZodType")) {
|
|
@@ -7292,7 +7292,7 @@ function finalizeIssue(iss, ctx, config2) {
|
|
|
7292
7292
|
else
|
|
7293
7293
|
iss.schema = iss.inst;
|
|
7294
7294
|
}
|
|
7295
|
-
const schemaError = iss.schema !== iss.inst ? (
|
|
7295
|
+
const schemaError = iss.schema !== iss.inst ? (_d2 = (_c2 = iss.schema) == null ? void 0 : _c2._zod.def) == null ? void 0 : _d2.error : void 0;
|
|
7296
7296
|
const message = iss.message ? iss.message : unwrapMessage((_g = (_f = (_e2 = iss.inst) == null ? void 0 : _e2._zod.def) == null ? void 0 : _f.error) == null ? void 0 : _g.call(_f, iss)) ?? unwrapMessage(schemaError == null ? void 0 : schemaError(iss)) ?? unwrapMessage((_h = ctx == null ? void 0 : ctx.error) == null ? void 0 : _h.call(ctx, iss)) ?? unwrapMessage((_i = config2.customError) == null ? void 0 : _i.call(config2, iss)) ?? unwrapMessage((_j = config2.localeError) == null ? void 0 : _j.call(config2, iss)) ?? "Invalid input";
|
|
7297
7297
|
const { inst: _inst, schema: _schema, continue: _continue, input: _input, ...rest } = iss;
|
|
7298
7298
|
rest.path ?? (rest.path = []);
|
|
@@ -8973,13 +8973,13 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
|
8973
8973
|
}
|
|
8974
8974
|
const NO_SYMBOL_KEYS = [];
|
|
8975
8975
|
function normalizeDef(def) {
|
|
8976
|
-
var _a3, _b2,
|
|
8976
|
+
var _a3, _b2, _c2, _d2;
|
|
8977
8977
|
const keys2 = Object.keys(def.shape);
|
|
8978
8978
|
const ownSymbols = Object.getOwnPropertySymbols(def.shape);
|
|
8979
8979
|
const symbolKeys = ownSymbols.length ? ownSymbols : NO_SYMBOL_KEYS;
|
|
8980
8980
|
const allKeys = symbolKeys.length ? [...keys2, ...symbolKeys] : keys2;
|
|
8981
8981
|
for (const k2 of allKeys) {
|
|
8982
|
-
if (!((
|
|
8982
|
+
if (!((_d2 = (_c2 = (_b2 = (_a3 = def.shape) == null ? void 0 : _a3[k2]) == null ? void 0 : _b2._zod) == null ? void 0 : _c2.traits) == null ? void 0 : _d2.has("$ZodType"))) {
|
|
8983
8983
|
throw new Error(`Invalid element at key "${String(k2)}": expected a Zod schema`);
|
|
8984
8984
|
}
|
|
8985
8985
|
}
|
|
@@ -12631,7 +12631,7 @@ function encodeJSONPointerSegment(segment) {
|
|
|
12631
12631
|
return segment.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
12632
12632
|
}
|
|
12633
12633
|
function extractDefs(ctx, schema) {
|
|
12634
|
-
var _a3, _b2,
|
|
12634
|
+
var _a3, _b2, _c2, _d2;
|
|
12635
12635
|
const root2 = ctx.seen.get(schema);
|
|
12636
12636
|
if (!root2)
|
|
12637
12637
|
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
@@ -12701,13 +12701,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12701
12701
|
continue;
|
|
12702
12702
|
}
|
|
12703
12703
|
if (ctx.external) {
|
|
12704
|
-
const ext = (
|
|
12704
|
+
const ext = (_c2 = ctx.external.registry.get(entry[0])) == null ? void 0 : _c2.id;
|
|
12705
12705
|
if (schema !== entry[0] && ext) {
|
|
12706
12706
|
extractToDef(entry);
|
|
12707
12707
|
continue;
|
|
12708
12708
|
}
|
|
12709
12709
|
}
|
|
12710
|
-
const id = (
|
|
12710
|
+
const id = (_d2 = ctx.metadataRegistry.get(entry[0])) == null ? void 0 : _d2.id;
|
|
12711
12711
|
if (id) {
|
|
12712
12712
|
extractToDef(entry);
|
|
12713
12713
|
continue;
|
|
@@ -12836,7 +12836,7 @@ function foldIntersection(json) {
|
|
|
12836
12836
|
assignProps(json, folded);
|
|
12837
12837
|
}
|
|
12838
12838
|
function finalize(ctx, schema) {
|
|
12839
|
-
var _a3, _b2,
|
|
12839
|
+
var _a3, _b2, _c2, _d2;
|
|
12840
12840
|
const root2 = ctx.seen.get(schema);
|
|
12841
12841
|
if (!root2)
|
|
12842
12842
|
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
@@ -12949,10 +12949,10 @@ function finalize(ctx, schema) {
|
|
|
12949
12949
|
result.$id = ctx.external.uri(id);
|
|
12950
12950
|
}
|
|
12951
12951
|
assignProps(result, root2.defId ? root2.schema : root2.def ?? root2.schema);
|
|
12952
|
-
const rootMetaId = (
|
|
12952
|
+
const rootMetaId = (_c2 = ctx.metadataRegistry.get(schema)) == null ? void 0 : _c2.id;
|
|
12953
12953
|
if (rootMetaId !== void 0 && result.id === rootMetaId)
|
|
12954
12954
|
delete result.id;
|
|
12955
|
-
const defs = ((
|
|
12955
|
+
const defs = ((_d2 = ctx.external) == null ? void 0 : _d2.defs) ?? {};
|
|
12956
12956
|
if (!ctx.external || ctx.sharedEmitDoneFor !== ctx.external) {
|
|
12957
12957
|
for (const entry of ctx.seen.entries()) {
|
|
12958
12958
|
const seen2 = entry[1];
|
|
@@ -15723,6 +15723,19 @@ const HealthCheckPayloadSchema = compile(object({
|
|
|
15723
15723
|
* probe response. That lets the caller seal the workflow arguments without
|
|
15724
15724
|
* a separate key lookup. Absent for probes issued for other reasons (CLI
|
|
15725
15725
|
* health command, dashboard), in which case no key is returned.
|
|
15726
|
+
*
|
|
15727
|
+
* Deliberately not named `runId`: `runId` is the only required field of
|
|
15728
|
+
* `WorkflowInvokePayloadSchema`, and 4.x deployments parse queue payloads
|
|
15729
|
+
* with a union that tries the invoke schema before the health check. A
|
|
15730
|
+
* probe carrying `runId` is read there as "replay this run", which POSTs
|
|
15731
|
+
* `run_started` for a run that does not exist yet (404) and retries the
|
|
15732
|
+
* delivery, so the probe never answers.
|
|
15733
|
+
*/
|
|
15734
|
+
probeRunId: string$2().optional(),
|
|
15735
|
+
/**
|
|
15736
|
+
* Legacy spelling of {@link probeRunId}, sent by 5.x callers released
|
|
15737
|
+
* before the rename. Accepted so those callers still get a public key
|
|
15738
|
+
* back from this deployment; never sent.
|
|
15726
15739
|
*/
|
|
15727
15740
|
runId: string$2().optional()
|
|
15728
15741
|
}));
|
|
@@ -19403,6 +19416,11 @@ const decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy
|
|
|
19403
19416
|
function merge_operations(defaults, overrides) {
|
|
19404
19417
|
return defaults;
|
|
19405
19418
|
}
|
|
19419
|
+
const array_buffer_byte_length = (
|
|
19420
|
+
/** @type {() => number} */
|
|
19421
|
+
(_b = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")) == null ? void 0 : _b.get
|
|
19422
|
+
);
|
|
19423
|
+
const shared_array_buffer_byte_length = typeof SharedArrayBuffer === "undefined" ? void 0 : (_c = Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength")) == null ? void 0 : _c.get;
|
|
19406
19424
|
const parse_operations = {
|
|
19407
19425
|
fromPrimitive: (primitive) => primitive,
|
|
19408
19426
|
fromISOString: (iso) => new Date(iso),
|
|
@@ -19414,6 +19432,12 @@ const parse_operations = {
|
|
|
19414
19432
|
fromArrayBuffer: (buffer2) => buffer2,
|
|
19415
19433
|
fromRegExpInfo: (source, flags) => new RegExp(source, flags),
|
|
19416
19434
|
fromViewInfo: (tag, buffer2, byteOffset, length) => {
|
|
19435
|
+
try {
|
|
19436
|
+
array_buffer_byte_length.call(buffer2);
|
|
19437
|
+
} catch (error2) {
|
|
19438
|
+
if (!shared_array_buffer_byte_length) throw error2;
|
|
19439
|
+
shared_array_buffer_byte_length.call(buffer2);
|
|
19440
|
+
}
|
|
19417
19441
|
const Constructor = (
|
|
19418
19442
|
/** @type {any} */
|
|
19419
19443
|
globalThis[tag]
|
|
@@ -19443,7 +19467,10 @@ const parse_operations = {
|
|
|
19443
19467
|
map2.set(key, value);
|
|
19444
19468
|
}
|
|
19445
19469
|
};
|
|
19446
|
-
const default_parse_operations = Object.freeze(parse_operations);
|
|
19470
|
+
const default_parse_operations = /* @__PURE__ */ Object.freeze(parse_operations);
|
|
19471
|
+
function invalid() {
|
|
19472
|
+
throw new Error("Invalid input");
|
|
19473
|
+
}
|
|
19447
19474
|
function parse$3(serialized, revivers, options) {
|
|
19448
19475
|
return unflatten(JSON.parse(serialized), revivers);
|
|
19449
19476
|
}
|
|
@@ -19451,7 +19478,7 @@ function unflatten(parsed, revivers, options) {
|
|
|
19451
19478
|
const ops = merge_operations(default_parse_operations);
|
|
19452
19479
|
if (typeof parsed === "number") return hydrate(parsed, true);
|
|
19453
19480
|
if (!Array.isArray(parsed) || parsed.length === 0) {
|
|
19454
|
-
|
|
19481
|
+
invalid();
|
|
19455
19482
|
}
|
|
19456
19483
|
const values = (
|
|
19457
19484
|
/** @type {any[]} */
|
|
@@ -19459,6 +19486,12 @@ function unflatten(parsed, revivers, options) {
|
|
|
19459
19486
|
);
|
|
19460
19487
|
const hydrated = Array(values.length);
|
|
19461
19488
|
let hydrating = null;
|
|
19489
|
+
function get_raw(index2) {
|
|
19490
|
+
if (!is_valid_array_index(index2) || index2 >= values.length) {
|
|
19491
|
+
invalid();
|
|
19492
|
+
}
|
|
19493
|
+
return values[index2];
|
|
19494
|
+
}
|
|
19462
19495
|
function hydrate(index2, standalone = false) {
|
|
19463
19496
|
if (index2 === UNDEFINED) return ops.fromPrimitive(void 0);
|
|
19464
19497
|
if (index2 === NAN) return ops.fromPrimitive(NaN);
|
|
@@ -19466,11 +19499,11 @@ function unflatten(parsed, revivers, options) {
|
|
|
19466
19499
|
if (index2 === NEGATIVE_INFINITY) return ops.fromPrimitive(-Infinity);
|
|
19467
19500
|
if (index2 === NEGATIVE_ZERO) return ops.fromPrimitive(-0);
|
|
19468
19501
|
if (standalone || typeof index2 !== "number") {
|
|
19469
|
-
|
|
19502
|
+
invalid();
|
|
19470
19503
|
}
|
|
19471
19504
|
if (index2 in hydrated) return hydrated[index2];
|
|
19472
19505
|
if (index2 >= values.length) {
|
|
19473
|
-
|
|
19506
|
+
invalid();
|
|
19474
19507
|
}
|
|
19475
19508
|
const value = values[index2];
|
|
19476
19509
|
if (!value || typeof value !== "object") {
|
|
@@ -19519,8 +19552,13 @@ function unflatten(parsed, revivers, options) {
|
|
|
19519
19552
|
break;
|
|
19520
19553
|
case "Object": {
|
|
19521
19554
|
const wrapped_index = value[1];
|
|
19522
|
-
|
|
19523
|
-
|
|
19555
|
+
const is_boxable_sentinel = wrapped_index === NAN || wrapped_index === POSITIVE_INFINITY || wrapped_index === NEGATIVE_INFINITY || wrapped_index === NEGATIVE_ZERO;
|
|
19556
|
+
if (!is_boxable_sentinel) {
|
|
19557
|
+
const wrapped = get_raw(wrapped_index);
|
|
19558
|
+
const is_bigint = Array.isArray(wrapped) && wrapped[0] === "BigInt";
|
|
19559
|
+
if ((wrapped === void 0 || typeof wrapped === "object") && !is_bigint) {
|
|
19560
|
+
invalid();
|
|
19561
|
+
}
|
|
19524
19562
|
}
|
|
19525
19563
|
hydrated[index2] = ops.box(hydrate(wrapped_index));
|
|
19526
19564
|
break;
|
|
@@ -19532,10 +19570,14 @@ function unflatten(parsed, revivers, options) {
|
|
|
19532
19570
|
const obj = ops.createNullPrototypeObject();
|
|
19533
19571
|
hydrated[index2] = obj;
|
|
19534
19572
|
for (let i = 1; i < value.length; i += 2) {
|
|
19535
|
-
|
|
19573
|
+
const key = value[i];
|
|
19574
|
+
if (typeof key !== "string") {
|
|
19575
|
+
throw new Error("Cannot parse an object with a non-string key");
|
|
19576
|
+
}
|
|
19577
|
+
if (key === "__proto__") {
|
|
19536
19578
|
throw new Error("Cannot parse an object with a `__proto__` property");
|
|
19537
19579
|
}
|
|
19538
|
-
ops.set(obj,
|
|
19580
|
+
ops.set(obj, key, hydrate(value[i + 1]));
|
|
19539
19581
|
}
|
|
19540
19582
|
break;
|
|
19541
19583
|
case "Int8Array":
|
|
@@ -19551,10 +19593,12 @@ function unflatten(parsed, revivers, options) {
|
|
|
19551
19593
|
case "BigInt64Array":
|
|
19552
19594
|
case "BigUint64Array":
|
|
19553
19595
|
case "DataView": {
|
|
19554
|
-
|
|
19555
|
-
|
|
19596
|
+
const buffer_index = value[1];
|
|
19597
|
+
const raw2 = get_raw(buffer_index);
|
|
19598
|
+
if (!Array.isArray(raw2) || raw2[0] !== "ArrayBuffer") {
|
|
19599
|
+
invalid();
|
|
19556
19600
|
}
|
|
19557
|
-
const buffer2 = hydrate(
|
|
19601
|
+
const buffer2 = hydrate(buffer_index);
|
|
19558
19602
|
hydrated[index2] = ops.fromViewInfo(type, buffer2, value[2], value[3]);
|
|
19559
19603
|
break;
|
|
19560
19604
|
}
|
|
@@ -19585,14 +19629,14 @@ function unflatten(parsed, revivers, options) {
|
|
|
19585
19629
|
} else if (value[0] === SPARSE) {
|
|
19586
19630
|
const len = value[1];
|
|
19587
19631
|
if (!is_valid_array_len(len)) {
|
|
19588
|
-
|
|
19632
|
+
invalid();
|
|
19589
19633
|
}
|
|
19590
19634
|
const array2 = ops.createSparseArray(len);
|
|
19591
19635
|
hydrated[index2] = array2;
|
|
19592
19636
|
for (let i = 2; i < value.length; i += 2) {
|
|
19593
19637
|
const idx = value[i];
|
|
19594
19638
|
if (!is_valid_array_index(idx) || idx >= len) {
|
|
19595
|
-
|
|
19639
|
+
invalid();
|
|
19596
19640
|
}
|
|
19597
19641
|
ops.set(array2, idx, hydrate(value[i + 1]));
|
|
19598
19642
|
}
|
|
@@ -20595,11 +20639,18 @@ function hydrateResourceIO$1(resource, revivers) {
|
|
|
20595
20639
|
}
|
|
20596
20640
|
if ("executionContext" in hydrated) {
|
|
20597
20641
|
const { executionContext, ...rest } = hydrated;
|
|
20598
|
-
const
|
|
20599
|
-
|
|
20600
|
-
|
|
20642
|
+
const ctx = executionContext && typeof executionContext === "object" ? executionContext : void 0;
|
|
20643
|
+
const preserved = {};
|
|
20644
|
+
if (ctx == null ? void 0 : ctx.workflowCoreVersion) {
|
|
20645
|
+
preserved.workflowCoreVersion = ctx.workflowCoreVersion;
|
|
20601
20646
|
}
|
|
20602
|
-
|
|
20647
|
+
if (typeof (ctx == null ? void 0 : ctx.workflowVm) === "string") {
|
|
20648
|
+
preserved.workflowVm = ctx.workflowVm;
|
|
20649
|
+
}
|
|
20650
|
+
if (typeof (ctx == null ? void 0 : ctx.snapshotThreshold) === "number") {
|
|
20651
|
+
preserved.snapshotThreshold = ctx.snapshotThreshold;
|
|
20652
|
+
}
|
|
20653
|
+
return { ...rest, ...preserved };
|
|
20603
20654
|
}
|
|
20604
20655
|
return hydrated;
|
|
20605
20656
|
}
|
|
@@ -20949,7 +21000,7 @@ async function hydrateResourceIOAsync(resource, key) {
|
|
|
20949
21000
|
return { hydrateDataWithKey: hydrateDataWithKey3, deriveRunPayloadKeys: deriveRunPayloadKeys3 };
|
|
20950
21001
|
}, true ? void 0 : void 0);
|
|
20951
21002
|
const { ensureZstdDecoderRegistered } = await __vitePreload(async () => {
|
|
20952
|
-
const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-
|
|
21003
|
+
const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-BEdfA1e2.js");
|
|
20953
21004
|
return { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 };
|
|
20954
21005
|
}, true ? __vite__mapDeps([0,1]) : void 0);
|
|
20955
21006
|
ensureZstdDecoderRegistered();
|
|
@@ -23032,8 +23083,8 @@ function isObjectLike(value) {
|
|
|
23032
23083
|
return typeof value === "object" && value !== null;
|
|
23033
23084
|
}
|
|
23034
23085
|
function isSameBytesDisplay(a2, b2) {
|
|
23035
|
-
var _a3, _b2,
|
|
23036
|
-
return a2.text === b2.text && ((_a3 = a2.decodedFrom) == null ? void 0 : _a3.type) === ((_b2 = b2.decodedFrom) == null ? void 0 : _b2.type) && ((
|
|
23086
|
+
var _a3, _b2, _c2, _d2, _e2, _f;
|
|
23087
|
+
return a2.text === b2.text && ((_a3 = a2.decodedFrom) == null ? void 0 : _a3.type) === ((_b2 = b2.decodedFrom) == null ? void 0 : _b2.type) && ((_c2 = a2.decodedFrom) == null ? void 0 : _c2.encoding) === ((_d2 = b2.decodedFrom) == null ? void 0 : _d2.encoding) && ((_e2 = a2.decodedFrom) == null ? void 0 : _e2.rawSummary) === ((_f = b2.decodedFrom) == null ? void 0 : _f.rawSummary);
|
|
23037
23088
|
}
|
|
23038
23089
|
function haveSameIterableValues(a2, b2, seen2) {
|
|
23039
23090
|
const aIterator = a2[Symbol.iterator]();
|
|
@@ -47856,7 +47907,7 @@ var x = class u2 {
|
|
|
47856
47907
|
return this.inlineQueue = [], this.tokens;
|
|
47857
47908
|
}
|
|
47858
47909
|
blockTokens(e, t = [], n = false) {
|
|
47859
|
-
var _a3, _b2,
|
|
47910
|
+
var _a3, _b2, _c2;
|
|
47860
47911
|
for (this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, "")); e; ) {
|
|
47861
47912
|
let r2;
|
|
47862
47913
|
if ((_b2 = (_a3 = this.options.extensions) == null ? void 0 : _a3.block) == null ? void 0 : _b2.some((s2) => (r2 = s2.call({ lexer: this }, e, t)) ? (e = e.substring(r2.raw.length), t.push(r2), true) : false)) continue;
|
|
@@ -47918,7 +47969,7 @@ var x = class u2 {
|
|
|
47918
47969
|
continue;
|
|
47919
47970
|
}
|
|
47920
47971
|
let i = e;
|
|
47921
|
-
if ((
|
|
47972
|
+
if ((_c2 = this.options.extensions) == null ? void 0 : _c2.startBlock) {
|
|
47922
47973
|
let s2 = 1 / 0, a2 = e.slice(1), o;
|
|
47923
47974
|
this.options.extensions.startBlock.forEach((l) => {
|
|
47924
47975
|
o = l.call({ lexer: this }, a2), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
|
|
@@ -47955,7 +48006,7 @@ var x = class u2 {
|
|
|
47955
48006
|
return this.inlineQueue.push({ src: e, tokens: t }), t;
|
|
47956
48007
|
}
|
|
47957
48008
|
inlineTokens(e, t = []) {
|
|
47958
|
-
var _a3, _b2,
|
|
48009
|
+
var _a3, _b2, _c2, _d2, _e2;
|
|
47959
48010
|
let n = e, r2 = null;
|
|
47960
48011
|
if (this.tokens.links) {
|
|
47961
48012
|
let o = Object.keys(this.tokens.links);
|
|
@@ -47969,7 +48020,7 @@ var x = class u2 {
|
|
|
47969
48020
|
for (; e; ) {
|
|
47970
48021
|
s2 || (a2 = ""), s2 = false;
|
|
47971
48022
|
let o;
|
|
47972
|
-
if ((
|
|
48023
|
+
if ((_d2 = (_c2 = this.options.extensions) == null ? void 0 : _c2.inline) == null ? void 0 : _d2.some((p2) => (o = p2.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
|
|
47973
48024
|
if (o = this.tokenizer.escape(e)) {
|
|
47974
48025
|
e = e.substring(o.raw.length), t.push(o);
|
|
47975
48026
|
continue;
|
|
@@ -48339,7 +48390,7 @@ var b = class u3 {
|
|
|
48339
48390
|
return n;
|
|
48340
48391
|
}
|
|
48341
48392
|
};
|
|
48342
|
-
var P = (
|
|
48393
|
+
var P = (_d = class {
|
|
48343
48394
|
constructor(e) {
|
|
48344
48395
|
__publicField(this, "options");
|
|
48345
48396
|
__publicField(this, "block");
|
|
@@ -48363,7 +48414,7 @@ var P = (_b = class {
|
|
|
48363
48414
|
provideParser() {
|
|
48364
48415
|
return this.block ? b.parse : b.parseInline;
|
|
48365
48416
|
}
|
|
48366
|
-
}, __publicField(
|
|
48417
|
+
}, __publicField(_d, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField(_d, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _d);
|
|
48367
48418
|
var B = class {
|
|
48368
48419
|
constructor(...e) {
|
|
48369
48420
|
__publicField(this, "defaults", M());
|
|
@@ -48659,7 +48710,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
48659
48710
|
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 });
|
|
48660
48711
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
48661
48712
|
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 }) });
|
|
48662
|
-
var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-
|
|
48713
|
+
var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-7nJixRf5.js"), true ? __vite__mapDeps([2,1]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
|
|
48663
48714
|
let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
|
|
48664
48715
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
|
|
48665
48716
|
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 }) })] }) });
|
|
@@ -49537,7 +49588,7 @@ const useActiveSpan = () => {
|
|
|
49537
49588
|
};
|
|
49538
49589
|
const ATTR_FILTER_REGEX = /(?:^|\s)(?<pair>(?<key>[\w.]+):(?<value>\S*))/g;
|
|
49539
49590
|
function parseSpanSearchQuery(rawQuery) {
|
|
49540
|
-
var _a3, _b2,
|
|
49591
|
+
var _a3, _b2, _c2;
|
|
49541
49592
|
const attributes = [];
|
|
49542
49593
|
for (const match of rawQuery.matchAll(ATTR_FILTER_REGEX)) {
|
|
49543
49594
|
const key = (_b2 = (_a3 = match.groups) == null ? void 0 : _a3.key) == null ? void 0 : _b2.trim();
|
|
@@ -49545,7 +49596,7 @@ function parseSpanSearchQuery(rawQuery) {
|
|
|
49545
49596
|
continue;
|
|
49546
49597
|
attributes.push({
|
|
49547
49598
|
key,
|
|
49548
|
-
value: (((
|
|
49599
|
+
value: (((_c2 = match.groups) == null ? void 0 : _c2.value) ?? "").toLocaleLowerCase()
|
|
49549
49600
|
});
|
|
49550
49601
|
}
|
|
49551
49602
|
const text2 = rawQuery.replace(ATTR_FILTER_REGEX, " ").replace(/\s{2,}/g, " ").trim().toLocaleLowerCase();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, v as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, x as Scripts, O as Outlet, y as useRouteError, i as isRouteErrorResponse, z as Link, A as useNavigate, B as useSearchParams } from "./index-CRmVVsbP.js";
|
|
2
|
-
import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-
|
|
3
|
-
import { L as LoaderCircle } from "./loader-circle-
|
|
4
|
-
import { A as ArrowUpRight } from "./arrow-up-right-
|
|
2
|
+
import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-CQkIfF6F.js";
|
|
3
|
+
import { L as LoaderCircle } from "./loader-circle-BuHkkqyY.js";
|
|
4
|
+
import { A as ArrowUpRight } from "./arrow-up-right-DDLzuSl1.js";
|
|
5
5
|
var M = (e, i, s, u, m, a, l, h) => {
|
|
6
6
|
let d = document.documentElement, w = ["light", "dark"];
|
|
7
7
|
function p(n) {
|