@workflow/world-testing 5.0.3 → 5.0.5

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.
@@ -1621,10 +1621,10 @@ var init_encryption2 = __esm({
1621
1621
  }
1622
1622
  });
1623
1623
 
1624
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/constants.js
1624
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/constants.js
1625
1625
  var UNDEFINED, HOLE, NAN, POSITIVE_INFINITY, NEGATIVE_INFINITY, NEGATIVE_ZERO, SPARSE, MAX_ARRAY_LEN, MAX_ARRAY_INDEX;
1626
1626
  var init_constants = __esm({
1627
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/constants.js"() {
1627
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/constants.js"() {
1628
1628
  "use strict";
1629
1629
  UNDEFINED = -1;
1630
1630
  HOLE = -2;
@@ -1638,7 +1638,21 @@ var init_constants = __esm({
1638
1638
  }
1639
1639
  });
1640
1640
 
1641
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/utils.js
1641
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/utils.js
1642
+ function format_path(keys, format_map_key) {
1643
+ const path = [];
1644
+ for (let i2 = 0; i2 < keys.length; i2 += 1) {
1645
+ const segment = keys[i2];
1646
+ if (segment === MAP_KEY) {
1647
+ path.push(`.get(${format_map_key(keys[++i2])})`);
1648
+ } else if (typeof segment === "number") {
1649
+ path.push(`[${segment}]`);
1650
+ } else {
1651
+ path.push(stringify_key(segment));
1652
+ }
1653
+ }
1654
+ return path;
1655
+ }
1642
1656
  function is_plain_object(thing) {
1643
1657
  const proto = Object.getPrototypeOf(thing);
1644
1658
  return proto === Object.prototype || proto === null || Object.getPrototypeOf(proto) === null || Object.getOwnPropertyNames(proto).sort().join("\0") === object_proto_names;
@@ -1646,48 +1660,29 @@ function is_plain_object(thing) {
1646
1660
  function get_type(thing) {
1647
1661
  return Object.prototype.toString.call(thing).slice(8, -1);
1648
1662
  }
1649
- function get_escaped_char(char) {
1650
- switch (char) {
1651
- case '"':
1652
- return '\\"';
1653
- case "<":
1654
- return "\\u003C";
1655
- case "\\":
1656
- return "\\\\";
1657
- case "\n":
1658
- return "\\n";
1659
- case "\r":
1660
- return "\\r";
1661
- case " ":
1662
- return "\\t";
1663
- case "\b":
1664
- return "\\b";
1665
- case "\f":
1666
- return "\\f";
1667
- case "\u2028":
1668
- return "\\u2028";
1669
- case "\u2029":
1670
- return "\\u2029";
1671
- default:
1672
- return char < " " ? `\\u${char.charCodeAt(0).toString(16).padStart(4, "0")}` : "";
1673
- }
1663
+ function is_buffer(thing) {
1664
+ return typeof Buffer !== "undefined" && Buffer.isBuffer(thing);
1665
+ }
1666
+ function escape_raw(char) {
1667
+ return raw_escapes[char];
1674
1668
  }
1675
1669
  function stringify_string(str) {
1676
- let result = "";
1677
- let last_pos = 0;
1678
- const len = str.length;
1679
- for (let i2 = 0; i2 < len; i2 += 1) {
1680
- const char = str[i2];
1681
- const replacement = get_escaped_char(char);
1682
- if (replacement) {
1683
- result += str.slice(last_pos, i2) + replacement;
1684
- last_pos = i2 + 1;
1685
- }
1670
+ if (!needs_escape.test(str) && str.isWellFormed()) return `"${str}"`;
1671
+ return JSON.stringify(str).replace(json_leaves_raw, escape_raw);
1672
+ }
1673
+ function quote_key(key) {
1674
+ if (key.length > MAX_CACHED_KEY_LENGTH) return stringify_string(key);
1675
+ let quoted = quoted_keys.get(key);
1676
+ if (quoted === void 0) {
1677
+ if (quoted_keys.size >= 1024) quoted_keys.clear();
1678
+ quoted = stringify_string(key);
1679
+ quoted_keys.set(key, quoted);
1686
1680
  }
1687
- return `"${last_pos === 0 ? str : result + str.slice(last_pos)}"`;
1681
+ return quoted;
1688
1682
  }
1689
1683
  function enumerable_symbols(object2) {
1690
- return Object.getOwnPropertySymbols(object2).filter((symbol2) => Object.getOwnPropertyDescriptor(object2, symbol2).enumerable);
1684
+ const symbols = Object.getOwnPropertySymbols(object2);
1685
+ return symbols.length === 0 ? symbols : symbols.filter((symbol2) => Object.getOwnPropertyDescriptor(object2, symbol2)?.enumerable);
1691
1686
  }
1692
1687
  function stringify_key(key) {
1693
1688
  return is_identifier.test(key) ? "." + key : "[" + JSON.stringify(key) + "]";
@@ -1726,9 +1721,9 @@ function valid_array_indices(array2) {
1726
1721
  keys.length = array_index_cut(keys);
1727
1722
  return keys;
1728
1723
  }
1729
- var DevalueError, object_proto_names, is_identifier;
1724
+ var DevalueError, MAP_KEY, object_proto_names, needs_escape, json_leaves_raw, raw_escapes, MAX_CACHED_KEY_LENGTH, quoted_keys, is_identifier;
1730
1725
  var init_utils = __esm({
1731
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/utils.js"() {
1726
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/utils.js"() {
1732
1727
  "use strict";
1733
1728
  init_constants();
1734
1729
  DevalueError = class extends Error {
@@ -1749,11 +1744,24 @@ var init_utils = __esm({
1749
1744
  this.root = root;
1750
1745
  }
1751
1746
  };
1747
+ MAP_KEY = /* @__PURE__ */ Symbol();
1748
+ __name(format_path, "format_path");
1752
1749
  object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
1753
1750
  __name(is_plain_object, "is_plain_object");
1754
1751
  __name(get_type, "get_type");
1755
- __name(get_escaped_char, "get_escaped_char");
1752
+ __name(is_buffer, "is_buffer");
1753
+ needs_escape = /["<\\\u0000-\u001f\u2028\u2029]/;
1754
+ json_leaves_raw = /[<\u2028\u2029]/g;
1755
+ raw_escapes = {
1756
+ "<": "\\u003C",
1757
+ "\u2028": "\\u2028",
1758
+ "\u2029": "\\u2029"
1759
+ };
1760
+ __name(escape_raw, "escape_raw");
1756
1761
  __name(stringify_string, "stringify_string");
1762
+ MAX_CACHED_KEY_LENGTH = 64;
1763
+ quoted_keys = /* @__PURE__ */ new Map();
1764
+ __name(quote_key, "quote_key");
1757
1765
  __name(enumerable_symbols, "enumerable_symbols");
1758
1766
  is_identifier = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
1759
1767
  __name(stringify_key, "stringify_key");
@@ -1765,7 +1773,7 @@ var init_utils = __esm({
1765
1773
  }
1766
1774
  });
1767
1775
 
1768
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/base64.js
1776
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/base64.js
1769
1777
  function encode_native(array_buffer) {
1770
1778
  return new Uint8Array(array_buffer).toBase64();
1771
1779
  }
@@ -1784,7 +1792,11 @@ function encode_legacy(array_buffer) {
1784
1792
  const chunk_size = 32768;
1785
1793
  for (let i2 = 0; i2 < array2.length; i2 += chunk_size) {
1786
1794
  const chunk = array2.subarray(i2, i2 + chunk_size);
1787
- binary += String.fromCharCode.apply(null, chunk);
1795
+ binary += String.fromCharCode.apply(
1796
+ null,
1797
+ /** @type {unknown} */
1798
+ chunk
1799
+ );
1788
1800
  }
1789
1801
  return btoa(binary);
1790
1802
  }
@@ -1799,7 +1811,7 @@ function decode_legacy(base643) {
1799
1811
  }
1800
1812
  var native, buffer, encode64, decode64;
1801
1813
  var init_base64 = __esm({
1802
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/base64.js"() {
1814
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/base64.js"() {
1803
1815
  "use strict";
1804
1816
  __name(encode_native, "encode_native");
1805
1817
  __name(decode_native, "decode_native");
@@ -1814,7 +1826,7 @@ var init_base64 = __esm({
1814
1826
  }
1815
1827
  });
1816
1828
 
1817
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/operations.js
1829
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/operations.js
1818
1830
  function merge_operations(defaults, overrides) {
1819
1831
  if (!overrides) return defaults;
1820
1832
  const merged = (
@@ -1826,17 +1838,17 @@ function merge_operations(defaults, overrides) {
1826
1838
  }
1827
1839
  return merged;
1828
1840
  }
1829
- var NOT_PLAIN, SYMBOL_KEYS, stringify_operations, default_stringify_operations, parse_operations, default_parse_operations;
1841
+ var NOT_PLAIN, SYMBOL_KEYS, stringify_operations, default_stringify_operations, array_buffer_byte_length, shared_array_buffer_byte_length, parse_operations, default_parse_operations;
1830
1842
  var init_operations = __esm({
1831
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/operations.js"() {
1843
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/operations.js"() {
1832
1844
  "use strict";
1833
1845
  init_constants();
1834
1846
  init_utils();
1835
1847
  __name(merge_operations, "merge_operations");
1836
- NOT_PLAIN = Object.freeze({
1848
+ NOT_PLAIN = /* @__PURE__ */ Object.freeze({
1837
1849
  kind: "not-plain"
1838
1850
  });
1839
- SYMBOL_KEYS = Object.freeze({
1851
+ SYMBOL_KEYS = /* @__PURE__ */ Object.freeze({
1840
1852
  kind: "symbol-keys"
1841
1853
  });
1842
1854
  stringify_operations = {
@@ -1855,13 +1867,16 @@ var init_operations = __esm({
1855
1867
  }), "regExpInfo"),
1856
1868
  valuesOf: /* @__PURE__ */ __name((set2) => set2, "valuesOf"),
1857
1869
  entriesOf: /* @__PURE__ */ __name((map2) => map2, "entriesOf"),
1858
- viewInfo: /* @__PURE__ */ __name((view) => ({
1859
- buffer: view.buffer,
1860
- byteOffset: view.byteOffset,
1861
- byteLength: view.byteLength,
1862
- length: view.length,
1863
- bufferByteLength: view.buffer.byteLength
1864
- }), "viewInfo"),
1870
+ viewInfo: /* @__PURE__ */ __name((view) => {
1871
+ if (is_buffer(view)) view = new Uint8Array(view);
1872
+ return {
1873
+ buffer: view.buffer,
1874
+ byteOffset: view.byteOffset,
1875
+ byteLength: view.byteLength,
1876
+ length: view.length,
1877
+ bufferByteLength: view.buffer.byteLength
1878
+ };
1879
+ }, "viewInfo"),
1865
1880
  toArrayBuffer: /* @__PURE__ */ __name((buffer2) => buffer2, "toArrayBuffer"),
1866
1881
  lengthOf: /* @__PURE__ */ __name((array2) => array2.length, "lengthOf"),
1867
1882
  hasOwn: /* @__PURE__ */ __name((value, key) => Object.hasOwn(value, key), "hasOwn"),
@@ -1876,7 +1891,10 @@ var init_operations = __esm({
1876
1891
  }, "shapeOf"),
1877
1892
  get: /* @__PURE__ */ __name((value, key) => value[key], "get")
1878
1893
  };
1879
- default_stringify_operations = Object.freeze(stringify_operations);
1894
+ default_stringify_operations = /* @__PURE__ */ Object.freeze(stringify_operations);
1895
+ array_buffer_byte_length = /** @type {() => number} */
1896
+ Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")?.get;
1897
+ shared_array_buffer_byte_length = typeof SharedArrayBuffer === "undefined" ? void 0 : Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength")?.get;
1880
1898
  parse_operations = {
1881
1899
  fromPrimitive: /* @__PURE__ */ __name((primitive) => primitive, "fromPrimitive"),
1882
1900
  fromISOString: /* @__PURE__ */ __name((iso) => new Date(iso), "fromISOString"),
@@ -1888,6 +1906,12 @@ var init_operations = __esm({
1888
1906
  fromArrayBuffer: /* @__PURE__ */ __name((buffer2) => buffer2, "fromArrayBuffer"),
1889
1907
  fromRegExpInfo: /* @__PURE__ */ __name((source, flags) => new RegExp(source, flags), "fromRegExpInfo"),
1890
1908
  fromViewInfo: /* @__PURE__ */ __name((tag, buffer2, byteOffset, length) => {
1909
+ try {
1910
+ array_buffer_byte_length.call(buffer2);
1911
+ } catch (error61) {
1912
+ if (!shared_array_buffer_byte_length) throw error61;
1913
+ shared_array_buffer_byte_length.call(buffer2);
1914
+ }
1891
1915
  const Constructor = (
1892
1916
  /** @type {any} */
1893
1917
  globalThis[tag]
@@ -1917,11 +1941,14 @@ var init_operations = __esm({
1917
1941
  map2.set(key, value);
1918
1942
  }, "addEntry")
1919
1943
  };
1920
- default_parse_operations = Object.freeze(parse_operations);
1944
+ default_parse_operations = /* @__PURE__ */ Object.freeze(parse_operations);
1921
1945
  }
1922
1946
  });
1923
1947
 
1924
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/parse.js
1948
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/parse.js
1949
+ function invalid() {
1950
+ throw new Error("Invalid input");
1951
+ }
1925
1952
  function parse(serialized, revivers, options) {
1926
1953
  return unflatten(JSON.parse(serialized), revivers, options);
1927
1954
  }
@@ -1929,7 +1956,7 @@ function unflatten(parsed, revivers, options) {
1929
1956
  const ops = merge_operations(default_parse_operations, options?.operations);
1930
1957
  if (typeof parsed === "number") return hydrate(parsed, true);
1931
1958
  if (!Array.isArray(parsed) || parsed.length === 0) {
1932
- throw new Error("Invalid input");
1959
+ invalid();
1933
1960
  }
1934
1961
  const values = (
1935
1962
  /** @type {any[]} */
@@ -1937,6 +1964,13 @@ function unflatten(parsed, revivers, options) {
1937
1964
  );
1938
1965
  const hydrated = Array(values.length);
1939
1966
  let hydrating = null;
1967
+ function get_raw(index) {
1968
+ if (!is_valid_array_index(index) || index >= values.length) {
1969
+ invalid();
1970
+ }
1971
+ return values[index];
1972
+ }
1973
+ __name(get_raw, "get_raw");
1940
1974
  function hydrate(index, standalone = false) {
1941
1975
  if (index === UNDEFINED) return ops.fromPrimitive(void 0);
1942
1976
  if (index === NAN) return ops.fromPrimitive(NaN);
@@ -1944,11 +1978,11 @@ function unflatten(parsed, revivers, options) {
1944
1978
  if (index === NEGATIVE_INFINITY) return ops.fromPrimitive(-Infinity);
1945
1979
  if (index === NEGATIVE_ZERO) return ops.fromPrimitive(-0);
1946
1980
  if (standalone || typeof index !== "number") {
1947
- throw new Error(`Invalid input`);
1981
+ invalid();
1948
1982
  }
1949
1983
  if (index in hydrated) return hydrated[index];
1950
1984
  if (index >= values.length) {
1951
- throw new Error(`Invalid input`);
1985
+ invalid();
1952
1986
  }
1953
1987
  const value = values[index];
1954
1988
  if (!value || typeof value !== "object") {
@@ -1997,8 +2031,13 @@ function unflatten(parsed, revivers, options) {
1997
2031
  break;
1998
2032
  case "Object": {
1999
2033
  const wrapped_index = value[1];
2000
- if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") {
2001
- throw new Error("Invalid input");
2034
+ const is_boxable_sentinel = wrapped_index === NAN || wrapped_index === POSITIVE_INFINITY || wrapped_index === NEGATIVE_INFINITY || wrapped_index === NEGATIVE_ZERO;
2035
+ if (!is_boxable_sentinel) {
2036
+ const wrapped = get_raw(wrapped_index);
2037
+ const is_bigint = Array.isArray(wrapped) && wrapped[0] === "BigInt";
2038
+ if ((wrapped === void 0 || typeof wrapped === "object") && !is_bigint) {
2039
+ invalid();
2040
+ }
2002
2041
  }
2003
2042
  hydrated[index] = ops.box(hydrate(wrapped_index));
2004
2043
  break;
@@ -2010,10 +2049,14 @@ function unflatten(parsed, revivers, options) {
2010
2049
  const obj = ops.createNullPrototypeObject();
2011
2050
  hydrated[index] = obj;
2012
2051
  for (let i2 = 1; i2 < value.length; i2 += 2) {
2013
- if (value[i2] === "__proto__") {
2052
+ const key = value[i2];
2053
+ if (typeof key !== "string") {
2054
+ throw new Error("Cannot parse an object with a non-string key");
2055
+ }
2056
+ if (key === "__proto__") {
2014
2057
  throw new Error("Cannot parse an object with a `__proto__` property");
2015
2058
  }
2016
- ops.set(obj, value[i2], hydrate(value[i2 + 1]));
2059
+ ops.set(obj, key, hydrate(value[i2 + 1]));
2017
2060
  }
2018
2061
  break;
2019
2062
  case "Int8Array":
@@ -2029,10 +2072,12 @@ function unflatten(parsed, revivers, options) {
2029
2072
  case "BigInt64Array":
2030
2073
  case "BigUint64Array":
2031
2074
  case "DataView": {
2032
- if (values[value[1]][0] !== "ArrayBuffer") {
2033
- throw new Error("Invalid data");
2075
+ const buffer_index = value[1];
2076
+ const raw = get_raw(buffer_index);
2077
+ if (!Array.isArray(raw) || raw[0] !== "ArrayBuffer") {
2078
+ invalid();
2034
2079
  }
2035
- const buffer2 = hydrate(value[1]);
2080
+ const buffer2 = hydrate(buffer_index);
2036
2081
  hydrated[index] = ops.fromViewInfo(type, buffer2, value[2], value[3]);
2037
2082
  break;
2038
2083
  }
@@ -2063,14 +2108,14 @@ function unflatten(parsed, revivers, options) {
2063
2108
  } else if (value[0] === SPARSE) {
2064
2109
  const len = value[1];
2065
2110
  if (!is_valid_array_len(len)) {
2066
- throw new Error("Invalid input");
2111
+ invalid();
2067
2112
  }
2068
2113
  const array2 = ops.createSparseArray(len);
2069
2114
  hydrated[index] = array2;
2070
2115
  for (let i2 = 2; i2 < value.length; i2 += 2) {
2071
2116
  const idx = value[i2];
2072
2117
  if (!is_valid_array_index(idx) || idx >= len) {
2073
- throw new Error("Invalid input");
2118
+ invalid();
2074
2119
  }
2075
2120
  ops.set(array2, idx, hydrate(value[i2 + 1]));
2076
2121
  }
@@ -2099,18 +2144,19 @@ function unflatten(parsed, revivers, options) {
2099
2144
  return hydrate(0);
2100
2145
  }
2101
2146
  var init_parse = __esm({
2102
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/parse.js"() {
2147
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/parse.js"() {
2103
2148
  "use strict";
2104
2149
  init_base64();
2105
2150
  init_constants();
2106
2151
  init_operations();
2107
2152
  init_utils();
2153
+ __name(invalid, "invalid");
2108
2154
  __name(parse, "parse");
2109
2155
  __name(unflatten, "unflatten");
2110
2156
  }
2111
2157
  });
2112
2158
 
2113
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/stringify.js
2159
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/stringify.js
2114
2160
  function stringify(value, reducers, options) {
2115
2161
  const stringified = run(false, value, reducers, options);
2116
2162
  return typeof stringified === "string" ? stringified : `[${stringified.join(",")}]`;
@@ -2128,8 +2174,17 @@ function run(async, value, reducers, options) {
2128
2174
  });
2129
2175
  }
2130
2176
  }
2131
- const keys = [];
2177
+ let keys = [];
2132
2178
  let p = 0;
2179
+ function error61(message, thing) {
2180
+ const path = format_path(keys, (key) => {
2181
+ const key_type = ops.typeOf(key);
2182
+ const key_is_primitive = key_type !== "object" && key_type !== "function" && key_type !== "symbol";
2183
+ return key_is_primitive ? stringify_primitive(ops.toPrimitive(key)) : "...";
2184
+ });
2185
+ throw new DevalueError(message, path, thing, value);
2186
+ }
2187
+ __name(error61, "error");
2133
2188
  function flatten(thing, index2) {
2134
2189
  const type = ops.typeOf(thing);
2135
2190
  if (type === "undefined") return UNDEFINED;
@@ -2157,21 +2212,25 @@ function run(async, value, reducers, options) {
2157
2212
  }
2158
2213
  }
2159
2214
  if (type === "function") {
2160
- throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
2215
+ error61(`Cannot stringify a function`, thing);
2161
2216
  } else if (type === "symbol") {
2162
- throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
2217
+ error61(`Cannot stringify a Symbol primitive`, thing);
2163
2218
  }
2164
2219
  let str = "";
2165
2220
  if (type !== "object") {
2166
2221
  str = stringify_primitive(type === "number" ? number4 : ops.toPrimitive(thing));
2167
2222
  } else if (ops.isThenable(thing)) {
2168
2223
  if (!async) {
2169
- throw new DevalueError(`Cannot stringify a Promise or thenable \u2014 use stringifyAsync instead`, keys, thing, value);
2224
+ error61(`Cannot stringify a Promise or thenable \u2014 use stringifyAsync instead`, thing);
2170
2225
  }
2226
+ const prev_keys = keys.slice();
2171
2227
  str = ops.toPromise(thing).then((value2) => {
2228
+ keys = prev_keys;
2172
2229
  const i2 = flatten(value2, index2);
2173
2230
  if (i2 < 0) stringified[index2] = i2;
2174
2231
  });
2232
+ str.catch(() => {
2233
+ });
2175
2234
  } else {
2176
2235
  const tag = ops.tagOf(thing);
2177
2236
  switch (tag) {
@@ -2201,7 +2260,7 @@ function run(async, value, reducers, options) {
2201
2260
  for (let i2 = 0; i2 < length; i2 += 1) {
2202
2261
  if (i2 > 0) str += ",";
2203
2262
  if (ops.hasOwn(thing, i2)) {
2204
- keys.push(`[${i2}]`);
2263
+ keys.push(i2);
2205
2264
  str += flatten(ops.get(thing, i2));
2206
2265
  keys.pop();
2207
2266
  } else if (mostly_dense) {
@@ -2216,7 +2275,7 @@ function run(async, value, reducers, options) {
2216
2275
  str = "[" + SPARSE + "," + length;
2217
2276
  for (let j = 0; j < populated_keys.length; j++) {
2218
2277
  const key = populated_keys[j];
2219
- keys.push(`[${key}]`);
2278
+ keys.push(+key);
2220
2279
  str += "," + key + "," + flatten(ops.get(thing, key));
2221
2280
  keys.pop();
2222
2281
  }
@@ -2240,11 +2299,10 @@ function run(async, value, reducers, options) {
2240
2299
  case "Map":
2241
2300
  str = '["Map"';
2242
2301
  for (const [key, value2] of ops.entriesOf(thing)) {
2243
- const key_type = ops.typeOf(key);
2244
- const key_is_primitive = key_type !== "object" && key_type !== "function" && key_type !== "symbol";
2245
- keys.push(`.get(${key_is_primitive ? stringify_primitive(ops.toPrimitive(key)) : "..."})`);
2302
+ keys.push(MAP_KEY, key);
2246
2303
  str += `,${flatten(key)},${flatten(value2)}`;
2247
2304
  keys.pop();
2305
+ keys.pop();
2248
2306
  }
2249
2307
  str += "]";
2250
2308
  break;
@@ -2295,19 +2353,19 @@ function run(async, value, reducers, options) {
2295
2353
  default: {
2296
2354
  const shape = ops.shapeOf(thing);
2297
2355
  if (shape.kind === "not-plain") {
2298
- throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
2356
+ error61(`Cannot stringify arbitrary non-POJOs`, thing);
2299
2357
  }
2300
2358
  if (shape.kind === "symbol-keys") {
2301
- throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
2359
+ error61(`Cannot stringify POJOs with symbolic keys`, thing);
2302
2360
  }
2303
2361
  if (shape.kind === "null-proto") {
2304
2362
  str = '["null"';
2305
2363
  for (const key of shape.keys) {
2306
2364
  if (key === "__proto__") {
2307
- throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
2365
+ error61(`Cannot stringify objects with __proto__ keys`, thing);
2308
2366
  }
2309
- keys.push(stringify_key(key));
2310
- str += `,${stringify_string(key)},${flatten(ops.get(thing, key))}`;
2367
+ keys.push(key);
2368
+ str += `,${quote_key(key)},${flatten(ops.get(thing, key))}`;
2311
2369
  keys.pop();
2312
2370
  }
2313
2371
  str += "]";
@@ -2316,12 +2374,12 @@ function run(async, value, reducers, options) {
2316
2374
  let started = false;
2317
2375
  for (const key of shape.keys) {
2318
2376
  if (key === "__proto__") {
2319
- throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
2377
+ error61(`Cannot stringify objects with __proto__ keys`, thing);
2320
2378
  }
2321
2379
  if (started) str += ",";
2322
2380
  started = true;
2323
- keys.push(stringify_key(key));
2324
- str += `${stringify_string(key)}:${flatten(ops.get(thing, key))}`;
2381
+ keys.push(key);
2382
+ str += `${quote_key(key)}:${flatten(ops.get(thing, key))}`;
2325
2383
  keys.pop();
2326
2384
  }
2327
2385
  str += "}";
@@ -2346,7 +2404,7 @@ function stringify_primitive(thing) {
2346
2404
  return String(thing);
2347
2405
  }
2348
2406
  var init_stringify = __esm({
2349
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/src/stringify.js"() {
2407
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/stringify.js"() {
2350
2408
  "use strict";
2351
2409
  init_utils();
2352
2410
  init_constants();
@@ -2358,9 +2416,9 @@ var init_stringify = __esm({
2358
2416
  }
2359
2417
  });
2360
2418
 
2361
- // ../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/index.js
2362
- var init_devalue = __esm({
2363
- "../../node_modules/.pnpm/devalue@5.9.2/node_modules/devalue/index.js"() {
2419
+ // ../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/index.js
2420
+ var init_src = __esm({
2421
+ "../../node_modules/.pnpm/devalue@6.0.3/node_modules/devalue/src/index.js"() {
2364
2422
  "use strict";
2365
2423
  init_parse();
2366
2424
  init_stringify();
@@ -26460,7 +26518,7 @@ var init_hardened = __esm({
26460
26518
  "../core/dist/serialization/hardened.js"() {
26461
26519
  "use strict";
26462
26520
  init_dist();
26463
- init_devalue();
26521
+ init_src();
26464
26522
  GUEST_CODE_EXECUTION_SAMPLE_LIMIT = 5;
26465
26523
  activeStats = null;
26466
26524
  reportedProxies = null;
@@ -27266,7 +27324,7 @@ var encoder, decoder, MAX_SPARSE_ARRAY_LENGTH, parseOptions, devalueCodec;
27266
27324
  var init_codec_devalue = __esm({
27267
27325
  "../core/dist/serialization/codec-devalue.js"() {
27268
27326
  "use strict";
27269
- init_devalue();
27327
+ init_src();
27270
27328
  init_hardened();
27271
27329
  init_class();
27272
27330
  init_common();
@@ -27444,7 +27502,7 @@ async function compress(data2, mode, stats, opts) {
27444
27502
  recordStats(stats, "none", data2.length, data2.length);
27445
27503
  return data2;
27446
27504
  }
27447
- const compressed = codec2 === "zstd" ? opts?.preferAsync ? await zstdBytesAsync(data2) : zstdBytes(data2) : await gzipBytes(data2);
27505
+ const compressed = codec2 === "zstd" ? opts?.preferAsync && data2.length >= COMPRESSION_ASYNC_MIN_BYTES ? await zstdBytesAsync(data2) : zstdBytes(data2) : await gzipBytes(data2);
27448
27506
  const format = codec2 === "zstd" ? SerializationFormat.ZSTD : SerializationFormat.GZIP;
27449
27507
  const wrappedLength = 4 + compressed.length;
27450
27508
  if (wrappedLength >= data2.length * (1 - COMPRESSION_MIN_SAVINGS_RATIO)) {
@@ -27475,7 +27533,7 @@ async function decompress(data2, stats, opts) {
27475
27533
  recordStats(stats, "none", data2.length, data2.length);
27476
27534
  return data2;
27477
27535
  }
27478
- var COMPRESSION_MIN_BYTES, COMPRESSION_MIN_SAVINGS_RATIO, ZSTD_LEVEL, DecompressedSizeLimitError;
27536
+ var COMPRESSION_MIN_BYTES, COMPRESSION_MIN_SAVINGS_RATIO, COMPRESSION_ASYNC_MIN_BYTES, ZSTD_LEVEL, DecompressedSizeLimitError;
27479
27537
  var init_compression = __esm({
27480
27538
  "../core/dist/serialization/compression.js"() {
27481
27539
  "use strict";
@@ -27483,6 +27541,7 @@ var init_compression = __esm({
27483
27541
  init_types();
27484
27542
  COMPRESSION_MIN_BYTES = 1024;
27485
27543
  COMPRESSION_MIN_SAVINGS_RATIO = 0.05;
27544
+ COMPRESSION_ASYNC_MIN_BYTES = 256 * 1024;
27486
27545
  ZSTD_LEVEL = 3;
27487
27546
  __name(isCompressionDisabledByEnv, "isCompressionDisabledByEnv");
27488
27547
  __name(codecOverrideFromEnv, "codecOverrideFromEnv");
@@ -27794,7 +27853,7 @@ function SemanticConvention(...names) {
27794
27853
  value
27795
27854
  ]));
27796
27855
  }
27797
- var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowExecutionMode, WorkflowDynamic, WorkflowDynamicSourceHash, WorkflowDynamicCodeBytes, WorkflowDynamicCodeStorage, WorkflowBundleCompileCacheHit, WorkflowReplayLoadSource, WorkflowParkedEventsCount, WorkflowParkedEventId, WorkflowParkedEventType, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowVm, QuickJSOutcome, QuickJSEventsPreloaded, QuickJSEventsFetchedCount, QuickJSEventsFetchedPages, QuickJSPendingOpsCount, QuickJSInlineSteps, QuickJSSnapshotRestored, QuickJSSnapshotDeltaEvents, QuickJSSnapshotRestoreMs, QuickJSSnapshotFallbackReason, QuickJSSnapshotSaveMs, QuickJSSnapshotPlaintextBytes, QuickJSSnapshotStoredBytes, WorkflowTraceMode, WorkflowTurbo, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, WorkflowStepsFailedSerialization, WorkflowOwnedRecoverySteps, WorkflowBackstopWakesArmed, WorkflowDispatchRepublishSkipped, WorkflowRouteType, WorkflowRouteHandlerCached, WorkflowRouteInvocationCount, WorkflowRouteEntrypointAgeMs, WorkflowRouteModuleBodyInitMs, FaasInstance, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepTtfsMs, StepStsoMs, StepRsfsMs, StepFinalSchedulingReplayMs, StepLatencyOptimizations, StepStartStrategy, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, MessagingBatchMessageCount, QueueOverheadMs, DeploymentId, WorkflowRunPinnedDeploymentId, WorkflowDeploymentMismatchRetryCount, WorkflowDeploymentMismatchRecovered, WorkflowRunSpecVersion, WorkflowRunSpecVersionSource, WorkflowCapabilityProbeLatencyMs, WorkflowCapabilityProbeCached, WorkflowCapabilityProbeError, HookToken, HookId, HookFound, HookResilientResume, HookResumeCommitted, HookWakePublished, HookResilientResumeMaterialized, HookResumeSetupSource, StepResilientDispatchRecovered, StepResilientDispatchMaterialized, StepDispatchPrologue, ResumeTotalMs, ResumeProducerPrepMs, ResumeQueueDeliveryMs, ResumeSetupMs, ResumeReplayMs, ResumeStepDispatchMs, ResumeStepClaimMs, ResumeStepPrepareMs, ResumeTrigger, ResumeStrategy, ResumeSetupSource, ResumeStepExecution, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, HttpRoute, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, SerializationGuestCodeExecutions, SerializationGuestCodeDetails, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
27856
+ var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowExecutionMode, WorkflowDynamic, WorkflowDynamicSourceHash, WorkflowDynamicCodeBytes, WorkflowDynamicCodeStorage, WorkflowBundleCompileCacheHit, WorkflowReplayLoadSource, WorkflowParkedEventsCount, WorkflowParkedEventId, WorkflowParkedEventType, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowVm, QuickJSOutcome, QuickJSEventsPreloaded, QuickJSEventsFetchedCount, QuickJSEventsFetchedPages, QuickJSPendingOpsCount, QuickJSInlineSteps, QuickJSSnapshotRestored, QuickJSSnapshotDeltaEvents, QuickJSSnapshotRestoreMs, QuickJSSnapshotFallbackReason, QuickJSSnapshotSaveMs, QuickJSSnapshotPlaintextBytes, QuickJSSnapshotStoredBytes, WorkflowTraceMode, WorkflowTurbo, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, WorkflowStepsFailedSerialization, WorkflowOwnedRecoverySteps, WorkflowBackstopWakesArmed, WorkflowDispatchRepublishSkipped, WorkflowRouteType, WorkflowRouteHandlerCached, WorkflowRouteInvocationCount, WorkflowRouteEntrypointAgeMs, WorkflowRouteModuleBodyInitMs, FaasInstance, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepTtfsMs, StepStsoMs, StepRsfsMs, StepFinalSchedulingReplayMs, StepLatencyOptimizations, StepStartStrategy, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, MessagingBatchMessageCount, QueueOverheadMs, DeploymentId, WorkflowRunPinnedDeploymentId, WorkflowDeploymentMismatchRetryCount, WorkflowDeploymentMismatchRecovered, WorkflowRunSpecVersion, WorkflowRunSpecVersionSource, WorkflowCapabilityProbeLatencyMs, WorkflowCapabilityProbeCached, WorkflowCapabilityProbeError, HookToken, HookId, HookFound, HookResilientResume, HookResumeCommitted, HookWakePublished, HookResilientResumeMaterialized, HookResumeSetupSource, StepDispatchPrologue, ResumeTotalMs, ResumeProducerPrepMs, ResumeQueueDeliveryMs, ResumeSetupMs, ResumeReplayMs, ResumeStepDispatchMs, ResumeStepClaimMs, ResumeStepPrepareMs, ResumeTrigger, ResumeStrategy, ResumeSetupSource, ResumeStepExecution, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, HttpRoute, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, SerializationGuestCodeExecutions, SerializationGuestCodeDetails, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
27798
27857
  var init_semantic_conventions = __esm({
27799
27858
  "../core/dist/telemetry/semantic-conventions.js"() {
27800
27859
  "use strict";
@@ -27895,8 +27954,6 @@ var init_semantic_conventions = __esm({
27895
27954
  HookWakePublished = SemanticConvention("workflow.hook.wake_published");
27896
27955
  HookResilientResumeMaterialized = SemanticConvention("workflow.hook.resilient_resume_materialized");
27897
27956
  HookResumeSetupSource = SemanticConvention("workflow.resume_setup_source");
27898
- StepResilientDispatchRecovered = SemanticConvention("workflow.step.resilient_dispatch_recovered");
27899
- StepResilientDispatchMaterialized = SemanticConvention("workflow.step.resilient_dispatch_materialized");
27900
27957
  StepDispatchPrologue = SemanticConvention("workflow.step.dispatch_prologue");
27901
27958
  ResumeTotalMs = SemanticConvention("workflow.resume.total_ms");
27902
27959
  ResumeProducerPrepMs = SemanticConvention("workflow.resume.phase.producer_prep_ms");
@@ -30283,7 +30340,7 @@ var init_errors3 = __esm({
30283
30340
  "../core/dist/serialization/errors.js"() {
30284
30341
  "use strict";
30285
30342
  init_dist2();
30286
- init_devalue();
30343
+ init_src();
30287
30344
  init_logger();
30288
30345
  __name(rethrowIfRuntimeError, "rethrowIfRuntimeError");
30289
30346
  __name(formatSerializationError, "formatSerializationError");
@@ -30295,7 +30352,9 @@ async function serialize(value, encryptionKey, options) {
30295
30352
  try {
30296
30353
  const payload = devalueCodec.serialize(value, "client", options);
30297
30354
  const prefixed = encodeWithFormatPrefix(SerializationFormat.DEVALUE_V1, payload);
30298
- const compressed = await compress(prefixed, options?.compression ?? false, options?.compressionStats);
30355
+ const compressed = await compress(prefixed, options?.compression ?? false, options?.compressionStats, {
30356
+ preferAsync: true
30357
+ });
30299
30358
  return encrypt2(compressed, encryptionKey);
30300
30359
  } catch (error61) {
30301
30360
  rethrowIfRuntimeError(error61);
@@ -32594,7 +32653,7 @@ var version2;
32594
32653
  var init_version = __esm({
32595
32654
  "../core/dist/version.js"() {
32596
32655
  "use strict";
32597
- version2 = "5.2.0";
32656
+ version2 = "5.2.2";
32598
32657
  }
32599
32658
  });
32600
32659
 
@@ -32604,7 +32663,7 @@ function isDynamicWorkflowsEnabled() {
32604
32663
  if (raw === void 0) return false;
32605
32664
  return raw === "1" || raw.toLowerCase() === "true";
32606
32665
  }
32607
- var warned, MAX_RESILIENT_STEP_INPUT_BYTES, DYNAMIC_WORKFLOWS_ENV;
32666
+ var warned, DYNAMIC_WORKFLOWS_ENV;
32608
32667
  var init_constants2 = __esm({
32609
32668
  "../core/dist/runtime/constants.js"() {
32610
32669
  "use strict";
@@ -32616,7 +32675,6 @@ var init_constants2 = __esm({
32616
32675
  maxInlineStepsValues: /* @__PURE__ */ new Set(),
32617
32676
  maxEventsValues: /* @__PURE__ */ new Set()
32618
32677
  }));
32619
- MAX_RESILIENT_STEP_INPUT_BYTES = 128 * 1024;
32620
32678
  DYNAMIC_WORKFLOWS_ENV = "WORKFLOW_EXPERIMENTAL_DYNAMIC_WORKFLOWS";
32621
32679
  __name(isDynamicWorkflowsEnabled, "isDynamicWorkflowsEnabled");
32622
32680
  }
@@ -39795,7 +39853,7 @@ var init_serialization2 = __esm({
39795
39853
  init_dist2();
39796
39854
  init_dist();
39797
39855
  init_env_config();
39798
- init_devalue();
39856
+ init_src();
39799
39857
  init_node();
39800
39858
  init_encryption();
39801
39859
  init_flushable_stream();
@@ -47622,9 +47680,13 @@ async function start(workflow, argsOrOptions, options) {
47622
47680
  }
47623
47681
  const workflowVm = getWorkflowVmFromEnv();
47624
47682
  const snapshotThreshold = getSnapshotThresholdFromEnv();
47683
+ const queueNamespace = resolveQueueNamespace(opts.namespace);
47625
47684
  const executionContext = {
47626
47685
  traceCarrier,
47627
47686
  workflowCoreVersion: version2,
47687
+ ...queueNamespace ? {
47688
+ queueNamespace
47689
+ } : {},
47628
47690
  ...targetNodeVersion ? {
47629
47691
  nodeVersion: targetNodeVersion
47630
47692
  } : {},
@@ -47655,7 +47717,8 @@ async function start(workflow, argsOrOptions, options) {
47655
47717
  }
47656
47718
  }
47657
47719
  const compression = specVersion >= SPEC_VERSION_SUPPORTS_COMPRESSION ? targetCompression : false;
47658
- const workflowArguments = await dehydrateWorkflowArguments(args, runId, encryptionKey, ops, globalThis, v1Compat, framedByteStreams, compression);
47720
+ const argumentCompression = opts.compressArguments === false ? false : compression;
47721
+ const workflowArguments = await dehydrateWorkflowArguments(args, runId, encryptionKey, ops, globalThis, v1Compat, framedByteStreams, argumentCompression);
47659
47722
  let dynamicWorkflowCode;
47660
47723
  let dynamicWorkflowCodeRef;
47661
47724
  if (dynamicWorkflow) {
@@ -47789,7 +47852,7 @@ __name(start, "start");
47789
47852
  value: "start",
47790
47853
  configurable: true
47791
47854
  });
47792
- })(start, "step//@workflow/core/runtime/start@5.2.0//start");
47855
+ })(start, "step//@workflow/core/runtime/start@5.2.2//start");
47793
47856
 
47794
47857
  // ../core/dist/runtime/runs.js
47795
47858
  async function wakeUpRun(world, runId, options) {
@@ -48263,7 +48326,7 @@ var Run = class _Run {
48263
48326
  value: "wakeUp",
48264
48327
  configurable: true
48265
48328
  });
48266
- })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.2.0//Run#wakeUp");
48329
+ })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.2.2//Run#wakeUp");
48267
48330
  (function(__wf_fn, __wf_id) {
48268
48331
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48269
48332
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48272,7 +48335,7 @@ var Run = class _Run {
48272
48335
  value: "cancel",
48273
48336
  configurable: true
48274
48337
  });
48275
- })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.2.0//Run#cancel");
48338
+ })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.2.2//Run#cancel");
48276
48339
  (function(__wf_fn, __wf_id) {
48277
48340
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48278
48341
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48281,7 +48344,7 @@ var Run = class _Run {
48281
48344
  value: "getReadable",
48282
48345
  configurable: true
48283
48346
  });
48284
- })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.2.0//Run#getReadable");
48347
+ })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.2.2//Run#getReadable");
48285
48348
  (function(__wf_fn, __wf_id) {
48286
48349
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48287
48350
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48290,7 +48353,7 @@ var Run = class _Run {
48290
48353
  value: "getWritable",
48291
48354
  configurable: true
48292
48355
  });
48293
- })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.2.0//Run#getWritable");
48356
+ })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.2.2//Run#getWritable");
48294
48357
  (function(__wf_fn, __wf_id) {
48295
48358
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48296
48359
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48299,7 +48362,7 @@ var Run = class _Run {
48299
48362
  value: "exists",
48300
48363
  configurable: true
48301
48364
  });
48302
- })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.2.0//Run#exists");
48365
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.2.2//Run#exists");
48303
48366
  (function(__wf_fn, __wf_id) {
48304
48367
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48305
48368
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48308,7 +48371,7 @@ var Run = class _Run {
48308
48371
  value: "status",
48309
48372
  configurable: true
48310
48373
  });
48311
- })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.2.0//Run#status");
48374
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.2.2//Run#status");
48312
48375
  (function(__wf_fn, __wf_id) {
48313
48376
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48314
48377
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48317,7 +48380,7 @@ var Run = class _Run {
48317
48380
  value: "returnValue",
48318
48381
  configurable: true
48319
48382
  });
48320
- })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.2.0//Run#returnValue");
48383
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.2.2//Run#returnValue");
48321
48384
  (function(__wf_fn, __wf_id) {
48322
48385
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48323
48386
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48326,7 +48389,7 @@ var Run = class _Run {
48326
48389
  value: "workflowName",
48327
48390
  configurable: true
48328
48391
  });
48329
- })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.2.0//Run#workflowName");
48392
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.2.2//Run#workflowName");
48330
48393
  (function(__wf_fn, __wf_id) {
48331
48394
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48332
48395
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48335,7 +48398,7 @@ var Run = class _Run {
48335
48398
  value: "createdAt",
48336
48399
  configurable: true
48337
48400
  });
48338
- })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.2.0//Run#createdAt");
48401
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#createdAt");
48339
48402
  (function(__wf_fn, __wf_id) {
48340
48403
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48341
48404
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48344,7 +48407,7 @@ var Run = class _Run {
48344
48407
  value: "startedAt",
48345
48408
  configurable: true
48346
48409
  });
48347
- })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.2.0//Run#startedAt");
48410
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#startedAt");
48348
48411
  (function(__wf_fn, __wf_id) {
48349
48412
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48350
48413
  __wf_reg.set(__wf_id, __wf_fn);
@@ -48353,7 +48416,7 @@ var Run = class _Run {
48353
48416
  value: "completedAt",
48354
48417
  configurable: true
48355
48418
  });
48356
- })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.2.0//Run#completedAt");
48419
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.2.2//Run#completedAt");
48357
48420
  (function(__wf_cls, __wf_id) {
48358
48421
  var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
48359
48422
  __wf_reg.set(__wf_id, __wf_cls);
@@ -48363,7 +48426,7 @@ var Run = class _Run {
48363
48426
  enumerable: false,
48364
48427
  configurable: false
48365
48428
  });
48366
- })(Run, "class//@workflow/core/runtime/run@5.2.0//Run");
48429
+ })(Run, "class//@workflow/core/runtime/run@5.2.2//Run");
48367
48430
 
48368
48431
  // ../workflow/dist/stdlib.js
48369
48432
  async function fetch2(...args) {