eve-hub 0.16.187 → 0.16.188

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.
@@ -17088,12 +17088,12 @@ function compileFn(schema, options) {
17088
17088
  INVALID,
17089
17089
  ...ctx.constants.values()
17090
17090
  ];
17091
- const code = doc.content.join("\n");
17091
+ const code2 = doc.content.join("\n");
17092
17092
  const fullCode = options?.debug ? constantNames.length > 0 ? `// Constants: ${constantNames.join(", ")}
17093
- ${code}` : code : "";
17093
+ ${code2}` : code2 : "";
17094
17094
  const F = Function;
17095
17095
  const factoryCode = `return (input) => {
17096
- ${code}
17096
+ ${code2}
17097
17097
  }`;
17098
17098
  let fn;
17099
17099
  try {
@@ -27620,6 +27620,12 @@ function hint(messages) {
27620
27620
  const message = Array.isArray(messages) ? messages.join("\n") : messages;
27621
27621
  return styles.info(`${internal_chalk_default.bold("hint:")} ${message}`);
27622
27622
  }
27623
+ function docs(url3) {
27624
+ return styles.info(`${internal_chalk_default.bold("docs:")} ${url3}`);
27625
+ }
27626
+ function code(str) {
27627
+ return internal_chalk_default.italic(`${internal_chalk_default.dim("`")}${str}${internal_chalk_default.dim("`")}`);
27628
+ }
27623
27629
  function dim(str) {
27624
27630
  return internal_chalk_default.dim(str);
27625
27631
  }
@@ -27632,6 +27638,23 @@ function red(str) {
27632
27638
  function magenta(str) {
27633
27639
  return internal_chalk_default.magenta(str);
27634
27640
  }
27641
+ function frame(title, contents) {
27642
+ const result = [
27643
+ title
27644
+ ];
27645
+ contents.forEach((content, index) => {
27646
+ const lines = content.split("\n");
27647
+ const isLastContent = index === contents.length - 1;
27648
+ const firstLinePrefix = isLastContent ? "\u2570\u25B6 " : "\u251C\u25B6 ";
27649
+ const continuationPrefix = isLastContent ? " " : "\u2502 ";
27650
+ const framedLines = lines.map((line, lineIndex) => {
27651
+ const prefix = lineIndex === 0 ? firstLinePrefix : continuationPrefix;
27652
+ return `${prefix}${line}`;
27653
+ });
27654
+ result.push(...framedLines);
27655
+ });
27656
+ return result.join("\n");
27657
+ }
27635
27658
  var styles;
27636
27659
  var init_ansi = __esm({
27637
27660
  "node_modules/@workflow/errors/dist/ansi.js"() {
@@ -27644,10 +27667,13 @@ var init_ansi = __esm({
27644
27667
  error: internal_chalk_default.red
27645
27668
  };
27646
27669
  __name(hint, "hint");
27670
+ __name(docs, "docs");
27671
+ __name(code, "code");
27647
27672
  __name(dim, "dim");
27648
27673
  __name(bold, "bold");
27649
27674
  __name(red, "red");
27650
27675
  __name(magenta, "magenta");
27676
+ __name(frame, "frame");
27651
27677
  }
27652
27678
  });
27653
27679
 
@@ -30822,9 +30848,9 @@ var init_helpers = __esm({
30822
30848
  function isRetryableWakeError(error121, isDeploymentUnavailableError) {
30823
30849
  if (isDeploymentUnavailableError?.(error121)) return false;
30824
30850
  const status = error121 ?? {};
30825
- const code = status.status ?? status.statusCode;
30826
- if (typeof code === "number") {
30827
- return code >= 500 || code === 408 || code === 429;
30851
+ const code2 = status.status ?? status.statusCode;
30852
+ if (typeof code2 === "number") {
30853
+ return code2 >= 500 || code2 === 408 || code2 === 429;
30828
30854
  }
30829
30855
  const name = error121?.name;
30830
30856
  return name !== "BadRequestError" && name !== "UnauthorizedError" && name !== "ForbiddenError";
@@ -44845,12 +44871,12 @@ function compileFn2(schema, options) {
44845
44871
  INVALID2,
44846
44872
  ...ctx.constants.values()
44847
44873
  ];
44848
- const code = doc.content.join("\n");
44874
+ const code2 = doc.content.join("\n");
44849
44875
  const fullCode = options?.debug ? constantNames.length > 0 ? `// Constants: ${constantNames.join(", ")}
44850
- ${code}` : code : "";
44876
+ ${code2}` : code2 : "";
44851
44877
  const F = Function;
44852
44878
  const factoryCode = `return (input) => {
44853
- ${code}
44879
+ ${code2}
44854
44880
  }`;
44855
44881
  let fn;
44856
44882
  try {
@@ -53903,8 +53929,8 @@ var require_validation = __commonJS({
53903
53929
  0
53904
53930
  // 112 - 127
53905
53931
  ];
53906
- function isValidStatusCode(code) {
53907
- return code >= 1e3 && code <= 1014 && code !== 1004 && code !== 1005 && code !== 1006 || code >= 3e3 && code <= 4999;
53932
+ function isValidStatusCode(code2) {
53933
+ return code2 >= 1e3 && code2 <= 1014 && code2 !== 1004 && code2 !== 1005 && code2 !== 1006 || code2 >= 3e3 && code2 <= 4999;
53908
53934
  }
53909
53935
  __name(isValidStatusCode, "isValidStatusCode");
53910
53936
  function _isValidUTF8(buf) {
@@ -53984,23 +54010,23 @@ var require_extension = __commonJS({
53984
54010
  let extensionName;
53985
54011
  let paramName;
53986
54012
  let start2 = -1;
53987
- let code = -1;
54013
+ let code2 = -1;
53988
54014
  let end = -1;
53989
54015
  let i2 = 0;
53990
54016
  for (; i2 < header.length; i2++) {
53991
- code = header.charCodeAt(i2);
54017
+ code2 = header.charCodeAt(i2);
53992
54018
  if (extensionName === void 0) {
53993
- if (end === -1 && tokenChars[code] === 1) {
54019
+ if (end === -1 && tokenChars[code2] === 1) {
53994
54020
  if (start2 === -1) start2 = i2;
53995
- } else if (i2 !== 0 && (code === 32 || code === 9)) {
54021
+ } else if (i2 !== 0 && (code2 === 32 || code2 === 9)) {
53996
54022
  if (end === -1 && start2 !== -1) end = i2;
53997
- } else if (code === 59 || code === 44) {
54023
+ } else if (code2 === 59 || code2 === 44) {
53998
54024
  if (start2 === -1) {
53999
54025
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54000
54026
  }
54001
54027
  if (end === -1) end = i2;
54002
54028
  const name = header.slice(start2, end);
54003
- if (code === 44) {
54029
+ if (code2 === 44) {
54004
54030
  push(offers, name, params);
54005
54031
  params = /* @__PURE__ */ Object.create(null);
54006
54032
  } else {
@@ -54011,23 +54037,23 @@ var require_extension = __commonJS({
54011
54037
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54012
54038
  }
54013
54039
  } else if (paramName === void 0) {
54014
- if (end === -1 && tokenChars[code] === 1) {
54040
+ if (end === -1 && tokenChars[code2] === 1) {
54015
54041
  if (start2 === -1) start2 = i2;
54016
- } else if (code === 32 || code === 9) {
54042
+ } else if (code2 === 32 || code2 === 9) {
54017
54043
  if (end === -1 && start2 !== -1) end = i2;
54018
- } else if (code === 59 || code === 44) {
54044
+ } else if (code2 === 59 || code2 === 44) {
54019
54045
  if (start2 === -1) {
54020
54046
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54021
54047
  }
54022
54048
  if (end === -1) end = i2;
54023
54049
  push(params, header.slice(start2, end), true);
54024
- if (code === 44) {
54050
+ if (code2 === 44) {
54025
54051
  push(offers, extensionName, params);
54026
54052
  params = /* @__PURE__ */ Object.create(null);
54027
54053
  extensionName = void 0;
54028
54054
  }
54029
54055
  start2 = end = -1;
54030
- } else if (code === 61 && start2 !== -1 && end === -1) {
54056
+ } else if (code2 === 61 && start2 !== -1 && end === -1) {
54031
54057
  paramName = header.slice(start2, i2);
54032
54058
  start2 = end = -1;
54033
54059
  } else {
@@ -54035,30 +54061,30 @@ var require_extension = __commonJS({
54035
54061
  }
54036
54062
  } else {
54037
54063
  if (isEscaping) {
54038
- if (tokenChars[code] !== 1) {
54064
+ if (tokenChars[code2] !== 1) {
54039
54065
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54040
54066
  }
54041
54067
  if (start2 === -1) start2 = i2;
54042
54068
  else if (!mustUnescape) mustUnescape = true;
54043
54069
  isEscaping = false;
54044
54070
  } else if (inQuotes) {
54045
- if (tokenChars[code] === 1) {
54071
+ if (tokenChars[code2] === 1) {
54046
54072
  if (start2 === -1) start2 = i2;
54047
- } else if (code === 34 && start2 !== -1) {
54073
+ } else if (code2 === 34 && start2 !== -1) {
54048
54074
  inQuotes = false;
54049
54075
  end = i2;
54050
- } else if (code === 92) {
54076
+ } else if (code2 === 92) {
54051
54077
  isEscaping = true;
54052
54078
  } else {
54053
54079
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54054
54080
  }
54055
- } else if (code === 34 && header.charCodeAt(i2 - 1) === 61) {
54081
+ } else if (code2 === 34 && header.charCodeAt(i2 - 1) === 61) {
54056
54082
  inQuotes = true;
54057
- } else if (end === -1 && tokenChars[code] === 1) {
54083
+ } else if (end === -1 && tokenChars[code2] === 1) {
54058
54084
  if (start2 === -1) start2 = i2;
54059
- } else if (start2 !== -1 && (code === 32 || code === 9)) {
54085
+ } else if (start2 !== -1 && (code2 === 32 || code2 === 9)) {
54060
54086
  if (end === -1) end = i2;
54061
- } else if (code === 59 || code === 44) {
54087
+ } else if (code2 === 59 || code2 === 44) {
54062
54088
  if (start2 === -1) {
54063
54089
  throw new SyntaxError(`Unexpected character at index ${i2}`);
54064
54090
  }
@@ -54069,7 +54095,7 @@ var require_extension = __commonJS({
54069
54095
  mustUnescape = false;
54070
54096
  }
54071
54097
  push(params, paramName, value);
54072
- if (code === 44) {
54098
+ if (code2 === 44) {
54073
54099
  push(offers, extensionName, params);
54074
54100
  params = /* @__PURE__ */ Object.create(null);
54075
54101
  extensionName = void 0;
@@ -54081,7 +54107,7 @@ var require_extension = __commonJS({
54081
54107
  }
54082
54108
  }
54083
54109
  }
54084
- if (start2 === -1 || inQuotes || code === 32 || code === 9) {
54110
+ if (start2 === -1 || inQuotes || code2 === 32 || code2 === 9) {
54085
54111
  throw new SyntaxError("Unexpected end of input");
54086
54112
  }
54087
54113
  if (end === -1) end = i2;
@@ -55069,9 +55095,9 @@ var require_receiver = __commonJS({
55069
55095
  this.emit("conclude", 1005, EMPTY_BUFFER);
55070
55096
  this.end();
55071
55097
  } else {
55072
- const code = data2.readUInt16BE(0);
55073
- if (!isValidStatusCode(code)) {
55074
- const error121 = this.createError(RangeError, `invalid status code ${code}`, true, 1002, "WS_ERR_INVALID_CLOSE_CODE");
55098
+ const code2 = data2.readUInt16BE(0);
55099
+ if (!isValidStatusCode(code2)) {
55100
+ const error121 = this.createError(RangeError, `invalid status code ${code2}`, true, 1002, "WS_ERR_INVALID_CLOSE_CODE");
55075
55101
  cb(error121);
55076
55102
  return;
55077
55103
  }
@@ -55082,7 +55108,7 @@ var require_receiver = __commonJS({
55082
55108
  return;
55083
55109
  }
55084
55110
  this._loop = false;
55085
- this.emit("conclude", code, buf);
55111
+ this.emit("conclude", code2, buf);
55086
55112
  this.end();
55087
55113
  }
55088
55114
  this._state = GET_INFO;
@@ -55281,22 +55307,22 @@ var require_sender = __commonJS({
55281
55307
  * @param {Function} [cb] Callback
55282
55308
  * @public
55283
55309
  */
55284
- close(code, data2, mask, cb) {
55310
+ close(code2, data2, mask, cb) {
55285
55311
  let buf;
55286
- if (code === void 0) {
55312
+ if (code2 === void 0) {
55287
55313
  buf = EMPTY_BUFFER;
55288
- } else if (typeof code !== "number" || !isValidStatusCode(code)) {
55314
+ } else if (typeof code2 !== "number" || !isValidStatusCode(code2)) {
55289
55315
  throw new TypeError("First argument must be a valid error code number");
55290
55316
  } else if (data2 === void 0 || !data2.length) {
55291
55317
  buf = Buffer.allocUnsafe(2);
55292
- buf.writeUInt16BE(code, 0);
55318
+ buf.writeUInt16BE(code2, 0);
55293
55319
  } else {
55294
55320
  const length = Buffer.byteLength(data2);
55295
55321
  if (length > 123) {
55296
55322
  throw new RangeError("The message must not be greater than 123 bytes");
55297
55323
  }
55298
55324
  buf = Buffer.allocUnsafe(2 + length);
55299
- buf.writeUInt16BE(code, 0);
55325
+ buf.writeUInt16BE(code2, 0);
55300
55326
  if (typeof data2 === "string") {
55301
55327
  buf.write(data2, 2);
55302
55328
  } else if (isUint8Array(data2)) {
@@ -55681,12 +55707,12 @@ var require_subprotocol = __commonJS({
55681
55707
  let end = -1;
55682
55708
  let i2 = 0;
55683
55709
  for (i2; i2 < header.length; i2++) {
55684
- const code = header.charCodeAt(i2);
55685
- if (end === -1 && tokenChars[code] === 1) {
55710
+ const code2 = header.charCodeAt(i2);
55711
+ if (end === -1 && tokenChars[code2] === 1) {
55686
55712
  if (start2 === -1) start2 = i2;
55687
- } else if (i2 !== 0 && (code === 32 || code === 9)) {
55713
+ } else if (i2 !== 0 && (code2 === 32 || code2 === 9)) {
55688
55714
  if (end === -1 && start2 !== -1) end = i2;
55689
- } else if (code === 44) {
55715
+ } else if (code2 === 44) {
55690
55716
  if (start2 === -1) {
55691
55717
  throw new SyntaxError(`Unexpected character at index ${i2}`);
55692
55718
  }
@@ -55907,9 +55933,9 @@ var require_event_target = __commonJS({
55907
55933
  callListener(handler, this, event);
55908
55934
  }, "onMessage");
55909
55935
  } else if (type === "close") {
55910
- wrapper = /* @__PURE__ */ __name(function onClose(code, message) {
55936
+ wrapper = /* @__PURE__ */ __name(function onClose(code2, message) {
55911
55937
  const event = new CloseEvent("close", {
55912
- code,
55938
+ code: code2,
55913
55939
  reason: message.toString(),
55914
55940
  wasClean: this._closeFrameReceived && this._closeFrameSent
55915
55941
  });
@@ -56245,7 +56271,7 @@ var require_websocket = __commonJS({
56245
56271
  * closing
56246
56272
  * @public
56247
56273
  */
56248
- close(code, data2) {
56274
+ close(code2, data2) {
56249
56275
  if (this.readyState === _WebSocket.CLOSED) return;
56250
56276
  if (this.readyState === _WebSocket.CONNECTING) {
56251
56277
  const msg = "WebSocket was closed before the connection was established";
@@ -56258,7 +56284,7 @@ var require_websocket = __commonJS({
56258
56284
  }
56259
56285
  return;
56260
56286
  }
56261
- this._sender.close(code, data2, !this._isServer, (err) => {
56287
+ this._sender.close(code2, data2, !this._isServer, (err) => {
56262
56288
  if (err) return;
56263
56289
  this._closeFrameSent = true;
56264
56290
  if (this._closeFrameReceived || this._receiver._writableState.errorEmitted) {
@@ -56789,16 +56815,16 @@ var require_websocket = __commonJS({
56789
56815
  }
56790
56816
  }
56791
56817
  __name(sendAfterClose, "sendAfterClose");
56792
- function receiverOnConclude(code, reason) {
56818
+ function receiverOnConclude(code2, reason) {
56793
56819
  const websocket = this[kWebSocket];
56794
56820
  websocket._closeFrameReceived = true;
56795
56821
  websocket._closeMessage = reason;
56796
- websocket._closeCode = code;
56822
+ websocket._closeCode = code2;
56797
56823
  if (websocket._socket[kWebSocket] === void 0) return;
56798
56824
  websocket._socket.removeListener("data", socketOnData);
56799
56825
  process.nextTick(resume, websocket._socket);
56800
- if (code === 1005) websocket.close();
56801
- else websocket.close(code, reason);
56826
+ if (code2 === 1005) websocket.close();
56827
+ else websocket.close(code2, reason);
56802
56828
  }
56803
56829
  __name(receiverOnConclude, "receiverOnConclude");
56804
56830
  function receiverOnDrain() {
@@ -57173,9 +57199,9 @@ var require_websocket_server = __commonJS({
57173
57199
  req
57174
57200
  };
57175
57201
  if (this.options.verifyClient.length === 2) {
57176
- this.options.verifyClient(info, (verified, code, message, headers) => {
57202
+ this.options.verifyClient(info, (verified, code2, message, headers) => {
57177
57203
  if (!verified) {
57178
- return abortHandshake(socket, code || 401, message, headers);
57204
+ return abortHandshake(socket, code2 || 401, message, headers);
57179
57205
  }
57180
57206
  this.completeUpgrade(extensions, key, protocols, req, socket, head, cb);
57181
57207
  });
@@ -57270,8 +57296,8 @@ var require_websocket_server = __commonJS({
57270
57296
  this.destroy();
57271
57297
  }
57272
57298
  __name(socketOnError, "socketOnError");
57273
- function abortHandshake(socket, code, message, headers) {
57274
- message = message || http.STATUS_CODES[code];
57299
+ function abortHandshake(socket, code2, message, headers) {
57300
+ message = message || http.STATUS_CODES[code2];
57275
57301
  headers = {
57276
57302
  Connection: "close",
57277
57303
  "Content-Type": "text/html",
@@ -57279,17 +57305,17 @@ var require_websocket_server = __commonJS({
57279
57305
  ...headers
57280
57306
  };
57281
57307
  socket.once("finish", socket.destroy);
57282
- socket.end(`HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r
57308
+ socket.end(`HTTP/1.1 ${code2} ${http.STATUS_CODES[code2]}\r
57283
57309
  ` + Object.keys(headers).map((h) => `${h}: ${headers[h]}`).join("\r\n") + "\r\n\r\n" + message);
57284
57310
  }
57285
57311
  __name(abortHandshake, "abortHandshake");
57286
- function abortHandshakeOrEmitwsClientError(server, req, socket, code, message, headers) {
57312
+ function abortHandshakeOrEmitwsClientError(server, req, socket, code2, message, headers) {
57287
57313
  if (server.listenerCount("wsClientError")) {
57288
57314
  const err = new Error(message);
57289
57315
  Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
57290
57316
  server.emit("wsClientError", err, socket, req);
57291
57317
  } else {
57292
- abortHandshake(socket, code, message, headers);
57318
+ abortHandshake(socket, code2, message, headers);
57293
57319
  }
57294
57320
  }
57295
57321
  __name(abortHandshakeOrEmitwsClientError, "abortHandshakeOrEmitwsClientError");
@@ -58040,10 +58066,10 @@ function getSerializeStream(reducers, cryptoKey) {
58040
58066
  } else if (keyState.key) {
58041
58067
  prefixed = await encrypt2(prefixed, keyState.key);
58042
58068
  }
58043
- const frame = new Uint8Array(FRAME_HEADER_SIZE + prefixed.length);
58044
- new DataView(frame.buffer).setUint32(0, prefixed.length, false);
58045
- frame.set(prefixed, FRAME_HEADER_SIZE);
58046
- controller.enqueue(frame);
58069
+ const frame2 = new Uint8Array(FRAME_HEADER_SIZE + prefixed.length);
58070
+ new DataView(frame2.buffer).setUint32(0, prefixed.length, false);
58071
+ frame2.set(prefixed, FRAME_HEADER_SIZE);
58072
+ controller.enqueue(frame2);
58047
58073
  } catch (error121) {
58048
58074
  if (RuntimeDecryptionError.is(error121)) {
58049
58075
  controller.error(error121);
@@ -58161,10 +58187,10 @@ function getByteFramingStream() {
58161
58187
  }));
58162
58188
  return;
58163
58189
  }
58164
- const frame = new Uint8Array(FRAME_HEADER_SIZE + chunk.length);
58165
- new DataView(frame.buffer).setUint32(0, chunk.length, false);
58166
- frame.set(chunk, FRAME_HEADER_SIZE);
58167
- controller.enqueue(frame);
58190
+ const frame2 = new Uint8Array(FRAME_HEADER_SIZE + chunk.length);
58191
+ new DataView(frame2.buffer).setUint32(0, chunk.length, false);
58192
+ frame2.set(chunk, FRAME_HEADER_SIZE);
58193
+ controller.enqueue(frame2);
58168
58194
  }
58169
58195
  });
58170
58196
  }
@@ -59402,9 +59428,9 @@ async function dehydrateStepReturnValue(value, runId, key, ops = [], global2 = g
59402
59428
  });
59403
59429
  }
59404
59430
  }
59405
- async function dehydrateDynamicWorkflowCode(code, key, compression = false) {
59431
+ async function dehydrateDynamicWorkflowCode(code2, key, compression = false) {
59406
59432
  try {
59407
- const payload = new TextEncoder().encode(stringify(code));
59433
+ const payload = new TextEncoder().encode(stringify(code2));
59408
59434
  const serialized = encodeWithFormatPrefix(SerializationFormat.DEVALUE_V1, payload);
59409
59435
  const compressionStats = {};
59410
59436
  const compressed = await compress(serialized, compression, compressionStats);
@@ -60924,69 +60950,69 @@ var keywords$1 = {
60924
60950
  var keywordRelationalOperator = /^in(stanceof)?$/;
60925
60951
  var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
60926
60952
  var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
60927
- function isInAstralSet(code, set3) {
60953
+ function isInAstralSet(code2, set3) {
60928
60954
  var pos = 65536;
60929
60955
  for (var i2 = 0; i2 < set3.length; i2 += 2) {
60930
60956
  pos += set3[i2];
60931
- if (pos > code) {
60957
+ if (pos > code2) {
60932
60958
  return false;
60933
60959
  }
60934
60960
  pos += set3[i2 + 1];
60935
- if (pos >= code) {
60961
+ if (pos >= code2) {
60936
60962
  return true;
60937
60963
  }
60938
60964
  }
60939
60965
  return false;
60940
60966
  }
60941
60967
  __name(isInAstralSet, "isInAstralSet");
60942
- function isIdentifierStart(code, astral) {
60943
- if (code < 65) {
60944
- return code === 36;
60968
+ function isIdentifierStart(code2, astral) {
60969
+ if (code2 < 65) {
60970
+ return code2 === 36;
60945
60971
  }
60946
- if (code < 91) {
60972
+ if (code2 < 91) {
60947
60973
  return true;
60948
60974
  }
60949
- if (code < 97) {
60950
- return code === 95;
60975
+ if (code2 < 97) {
60976
+ return code2 === 95;
60951
60977
  }
60952
- if (code < 123) {
60978
+ if (code2 < 123) {
60953
60979
  return true;
60954
60980
  }
60955
- if (code <= 65535) {
60956
- return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code));
60981
+ if (code2 <= 65535) {
60982
+ return code2 >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code2));
60957
60983
  }
60958
60984
  if (astral === false) {
60959
60985
  return false;
60960
60986
  }
60961
- return isInAstralSet(code, astralIdentifierStartCodes);
60987
+ return isInAstralSet(code2, astralIdentifierStartCodes);
60962
60988
  }
60963
60989
  __name(isIdentifierStart, "isIdentifierStart");
60964
- function isIdentifierChar(code, astral) {
60965
- if (code < 48) {
60966
- return code === 36;
60990
+ function isIdentifierChar(code2, astral) {
60991
+ if (code2 < 48) {
60992
+ return code2 === 36;
60967
60993
  }
60968
- if (code < 58) {
60994
+ if (code2 < 58) {
60969
60995
  return true;
60970
60996
  }
60971
- if (code < 65) {
60997
+ if (code2 < 65) {
60972
60998
  return false;
60973
60999
  }
60974
- if (code < 91) {
61000
+ if (code2 < 91) {
60975
61001
  return true;
60976
61002
  }
60977
- if (code < 97) {
60978
- return code === 95;
61003
+ if (code2 < 97) {
61004
+ return code2 === 95;
60979
61005
  }
60980
- if (code < 123) {
61006
+ if (code2 < 123) {
60981
61007
  return true;
60982
61008
  }
60983
- if (code <= 65535) {
60984
- return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code));
61009
+ if (code2 <= 65535) {
61010
+ return code2 >= 170 && nonASCIIidentifier.test(String.fromCharCode(code2));
60985
61011
  }
60986
61012
  if (astral === false) {
60987
61013
  return false;
60988
61014
  }
60989
- return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
61015
+ return isInAstralSet(code2, astralIdentifierStartCodes) || isInAstralSet(code2, astralIdentifierCodes);
60990
61016
  }
60991
61017
  __name(isIdentifierChar, "isIdentifierChar");
60992
61018
  var TokenType = /* @__PURE__ */ __name(function TokenType2(label, conf) {
@@ -61179,16 +61205,16 @@ var types$1 = {
61179
61205
  };
61180
61206
  var lineBreak = /\r\n?|\n|\u2028|\u2029/;
61181
61207
  var lineBreakG = new RegExp(lineBreak.source, "g");
61182
- function isNewLine(code) {
61183
- return code === 10 || code === 13 || code === 8232 || code === 8233;
61208
+ function isNewLine(code2) {
61209
+ return code2 === 10 || code2 === 13 || code2 === 8232 || code2 === 8233;
61184
61210
  }
61185
61211
  __name(isNewLine, "isNewLine");
61186
- function nextLineBreak(code, from, end) {
61187
- if (end === void 0) end = code.length;
61212
+ function nextLineBreak(code2, from, end) {
61213
+ if (end === void 0) end = code2.length;
61188
61214
  for (var i2 = from; i2 < end; i2++) {
61189
- var next2 = code.charCodeAt(i2);
61215
+ var next2 = code2.charCodeAt(i2);
61190
61216
  if (isNewLine(next2)) {
61191
- return i2 < end - 1 && next2 === 13 && code.charCodeAt(i2 + 1) === 10 ? i2 + 2 : i2 + 1;
61217
+ return i2 < end - 1 && next2 === 13 && code2.charCodeAt(i2 + 1) === 10 ? i2 + 2 : i2 + 1;
61192
61218
  }
61193
61219
  }
61194
61220
  return -1;
@@ -61210,12 +61236,12 @@ function wordsRegexp(words) {
61210
61236
  return regexpCache[words] || (regexpCache[words] = new RegExp("^(?:" + words.replace(/ /g, "|") + ")$"));
61211
61237
  }
61212
61238
  __name(wordsRegexp, "wordsRegexp");
61213
- function codePointToString(code) {
61214
- if (code <= 65535) {
61215
- return String.fromCharCode(code);
61239
+ function codePointToString(code2) {
61240
+ if (code2 <= 65535) {
61241
+ return String.fromCharCode(code2);
61216
61242
  }
61217
- code -= 65536;
61218
- return String.fromCharCode((code >> 10) + 55296, (code & 1023) + 56320);
61243
+ code2 -= 65536;
61244
+ return String.fromCharCode((code2 >> 10) + 55296, (code2 & 1023) + 56320);
61219
61245
  }
61220
61246
  __name(codePointToString, "codePointToString");
61221
61247
  var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
@@ -65874,19 +65900,19 @@ pp.nextToken = function() {
65874
65900
  this.readToken(this.fullCharCodeAtPos());
65875
65901
  }
65876
65902
  };
65877
- pp.readToken = function(code) {
65878
- if (isIdentifierStart(code, this.options.ecmaVersion >= 6) || code === 92) {
65903
+ pp.readToken = function(code2) {
65904
+ if (isIdentifierStart(code2, this.options.ecmaVersion >= 6) || code2 === 92) {
65879
65905
  return this.readWord();
65880
65906
  }
65881
- return this.getTokenFromCode(code);
65907
+ return this.getTokenFromCode(code2);
65882
65908
  };
65883
65909
  pp.fullCharCodeAtPos = function() {
65884
- var code = this.input.charCodeAt(this.pos);
65885
- if (code <= 55295 || code >= 56320) {
65886
- return code;
65910
+ var code2 = this.input.charCodeAt(this.pos);
65911
+ if (code2 <= 55295 || code2 >= 56320) {
65912
+ return code2;
65887
65913
  }
65888
65914
  var next2 = this.input.charCodeAt(this.pos + 1);
65889
- return next2 <= 56319 || next2 >= 57344 ? code : (code << 10) + next2 - 56613888;
65915
+ return next2 <= 56319 || next2 >= 57344 ? code2 : (code2 << 10) + next2 - 56613888;
65890
65916
  };
65891
65917
  pp.skipBlockComment = function() {
65892
65918
  var startLoc = this.options.onComment && this.curPosition();
@@ -65993,11 +66019,11 @@ pp.readToken_slash = function() {
65993
66019
  }
65994
66020
  return this.finishOp(types$1.slash, 1);
65995
66021
  };
65996
- pp.readToken_mult_modulo_exp = function(code) {
66022
+ pp.readToken_mult_modulo_exp = function(code2) {
65997
66023
  var next2 = this.input.charCodeAt(this.pos + 1);
65998
66024
  var size = 1;
65999
- var tokentype = code === 42 ? types$1.star : types$1.modulo;
66000
- if (this.options.ecmaVersion >= 7 && code === 42 && next2 === 42) {
66025
+ var tokentype = code2 === 42 ? types$1.star : types$1.modulo;
66026
+ if (this.options.ecmaVersion >= 7 && code2 === 42 && next2 === 42) {
66001
66027
  ++size;
66002
66028
  tokentype = types$1.starstar;
66003
66029
  next2 = this.input.charCodeAt(this.pos + 2);
@@ -66007,21 +66033,21 @@ pp.readToken_mult_modulo_exp = function(code) {
66007
66033
  }
66008
66034
  return this.finishOp(tokentype, size);
66009
66035
  };
66010
- pp.readToken_pipe_amp = function(code) {
66036
+ pp.readToken_pipe_amp = function(code2) {
66011
66037
  var next2 = this.input.charCodeAt(this.pos + 1);
66012
- if (next2 === code) {
66038
+ if (next2 === code2) {
66013
66039
  if (this.options.ecmaVersion >= 12) {
66014
66040
  var next22 = this.input.charCodeAt(this.pos + 2);
66015
66041
  if (next22 === 61) {
66016
66042
  return this.finishOp(types$1.assign, 3);
66017
66043
  }
66018
66044
  }
66019
- return this.finishOp(code === 124 ? types$1.logicalOR : types$1.logicalAND, 2);
66045
+ return this.finishOp(code2 === 124 ? types$1.logicalOR : types$1.logicalAND, 2);
66020
66046
  }
66021
66047
  if (next2 === 61) {
66022
66048
  return this.finishOp(types$1.assign, 2);
66023
66049
  }
66024
- return this.finishOp(code === 124 ? types$1.bitwiseOR : types$1.bitwiseAND, 1);
66050
+ return this.finishOp(code2 === 124 ? types$1.bitwiseOR : types$1.bitwiseAND, 1);
66025
66051
  };
66026
66052
  pp.readToken_caret = function() {
66027
66053
  var next2 = this.input.charCodeAt(this.pos + 1);
@@ -66030,9 +66056,9 @@ pp.readToken_caret = function() {
66030
66056
  }
66031
66057
  return this.finishOp(types$1.bitwiseXOR, 1);
66032
66058
  };
66033
- pp.readToken_plus_min = function(code) {
66059
+ pp.readToken_plus_min = function(code2) {
66034
66060
  var next2 = this.input.charCodeAt(this.pos + 1);
66035
- if (next2 === code) {
66061
+ if (next2 === code2) {
66036
66062
  if (next2 === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || lineBreak.test(this.input.slice(this.lastTokEnd, this.pos)))) {
66037
66063
  this.skipLineComment(3);
66038
66064
  this.skipSpace();
@@ -66045,17 +66071,17 @@ pp.readToken_plus_min = function(code) {
66045
66071
  }
66046
66072
  return this.finishOp(types$1.plusMin, 1);
66047
66073
  };
66048
- pp.readToken_lt_gt = function(code) {
66074
+ pp.readToken_lt_gt = function(code2) {
66049
66075
  var next2 = this.input.charCodeAt(this.pos + 1);
66050
66076
  var size = 1;
66051
- if (next2 === code) {
66052
- size = code === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2;
66077
+ if (next2 === code2) {
66078
+ size = code2 === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2;
66053
66079
  if (this.input.charCodeAt(this.pos + size) === 61) {
66054
66080
  return this.finishOp(types$1.assign, size + 1);
66055
66081
  }
66056
66082
  return this.finishOp(types$1.bitShift, size);
66057
66083
  }
66058
- if (next2 === 33 && code === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45) {
66084
+ if (next2 === 33 && code2 === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45) {
66059
66085
  this.skipLineComment(4);
66060
66086
  this.skipSpace();
66061
66087
  return this.nextToken();
@@ -66065,16 +66091,16 @@ pp.readToken_lt_gt = function(code) {
66065
66091
  }
66066
66092
  return this.finishOp(types$1.relational, size);
66067
66093
  };
66068
- pp.readToken_eq_excl = function(code) {
66094
+ pp.readToken_eq_excl = function(code2) {
66069
66095
  var next2 = this.input.charCodeAt(this.pos + 1);
66070
66096
  if (next2 === 61) {
66071
66097
  return this.finishOp(types$1.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2);
66072
66098
  }
66073
- if (code === 61 && next2 === 62 && this.options.ecmaVersion >= 6) {
66099
+ if (code2 === 61 && next2 === 62 && this.options.ecmaVersion >= 6) {
66074
66100
  this.pos += 2;
66075
66101
  return this.finishToken(types$1.arrow);
66076
66102
  }
66077
- return this.finishOp(code === 61 ? types$1.eq : types$1.prefix, 1);
66103
+ return this.finishOp(code2 === 61 ? types$1.eq : types$1.prefix, 1);
66078
66104
  };
66079
66105
  pp.readToken_question = function() {
66080
66106
  var ecmaVersion2 = this.options.ecmaVersion;
@@ -66100,18 +66126,18 @@ pp.readToken_question = function() {
66100
66126
  };
66101
66127
  pp.readToken_numberSign = function() {
66102
66128
  var ecmaVersion2 = this.options.ecmaVersion;
66103
- var code = 35;
66129
+ var code2 = 35;
66104
66130
  if (ecmaVersion2 >= 13) {
66105
66131
  ++this.pos;
66106
- code = this.fullCharCodeAtPos();
66107
- if (isIdentifierStart(code, true) || code === 92) {
66132
+ code2 = this.fullCharCodeAtPos();
66133
+ if (isIdentifierStart(code2, true) || code2 === 92) {
66108
66134
  return this.finishToken(types$1.privateId, this.readWord1());
66109
66135
  }
66110
66136
  }
66111
- this.raise(this.pos, "Unexpected character '" + codePointToString(code) + "'");
66137
+ this.raise(this.pos, "Unexpected character '" + codePointToString(code2) + "'");
66112
66138
  };
66113
- pp.getTokenFromCode = function(code) {
66114
- switch (code) {
66139
+ pp.getTokenFromCode = function(code2) {
66140
+ switch (code2) {
66115
66141
  // The interpretation of a dot depends on whether it is followed
66116
66142
  // by a digit or another two dots.
66117
66143
  case 46:
@@ -66178,7 +66204,7 @@ pp.getTokenFromCode = function(code) {
66178
66204
  // Quotes produce strings.
66179
66205
  case 34:
66180
66206
  case 39:
66181
- return this.readString(code);
66207
+ return this.readString(code2);
66182
66208
  // Operators are parsed inline in tiny state machines. '=' (61) is
66183
66209
  // often referred to. `finishOp` simply skips the amount of
66184
66210
  // characters it is given as second argument, and returns a token
@@ -66187,21 +66213,21 @@ pp.getTokenFromCode = function(code) {
66187
66213
  return this.readToken_slash();
66188
66214
  case 37:
66189
66215
  case 42:
66190
- return this.readToken_mult_modulo_exp(code);
66216
+ return this.readToken_mult_modulo_exp(code2);
66191
66217
  case 124:
66192
66218
  case 38:
66193
- return this.readToken_pipe_amp(code);
66219
+ return this.readToken_pipe_amp(code2);
66194
66220
  case 94:
66195
66221
  return this.readToken_caret();
66196
66222
  case 43:
66197
66223
  case 45:
66198
- return this.readToken_plus_min(code);
66224
+ return this.readToken_plus_min(code2);
66199
66225
  case 60:
66200
66226
  case 62:
66201
- return this.readToken_lt_gt(code);
66227
+ return this.readToken_lt_gt(code2);
66202
66228
  case 61:
66203
66229
  case 33:
66204
- return this.readToken_eq_excl(code);
66230
+ return this.readToken_eq_excl(code2);
66205
66231
  case 63:
66206
66232
  return this.readToken_question();
66207
66233
  case 126:
@@ -66209,7 +66235,7 @@ pp.getTokenFromCode = function(code) {
66209
66235
  case 35:
66210
66236
  return this.readToken_numberSign();
66211
66237
  }
66212
- this.raise(this.pos, "Unexpected character '" + codePointToString(code) + "'");
66238
+ this.raise(this.pos, "Unexpected character '" + codePointToString(code2) + "'");
66213
66239
  };
66214
66240
  pp.finishOp = function(type, size) {
66215
66241
  var str = this.input.slice(this.pos, this.pos + size);
@@ -66267,8 +66293,8 @@ pp.readInt = function(radix, len, maybeLegacyOctalNumericLiteral) {
66267
66293
  var isLegacyOctalNumericLiteral = maybeLegacyOctalNumericLiteral && this.input.charCodeAt(this.pos) === 48;
66268
66294
  var start2 = this.pos, total = 0, lastCode = 0;
66269
66295
  for (var i2 = 0, e = len == null ? Infinity : len; i2 < e; ++i2, ++this.pos) {
66270
- var code = this.input.charCodeAt(this.pos), val = void 0;
66271
- if (allowSeparators && code === 95) {
66296
+ var code2 = this.input.charCodeAt(this.pos), val = void 0;
66297
+ if (allowSeparators && code2 === 95) {
66272
66298
  if (isLegacyOctalNumericLiteral) {
66273
66299
  this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals");
66274
66300
  }
@@ -66278,22 +66304,22 @@ pp.readInt = function(radix, len, maybeLegacyOctalNumericLiteral) {
66278
66304
  if (i2 === 0) {
66279
66305
  this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits");
66280
66306
  }
66281
- lastCode = code;
66307
+ lastCode = code2;
66282
66308
  continue;
66283
66309
  }
66284
- if (code >= 97) {
66285
- val = code - 97 + 10;
66286
- } else if (code >= 65) {
66287
- val = code - 65 + 10;
66288
- } else if (code >= 48 && code <= 57) {
66289
- val = code - 48;
66310
+ if (code2 >= 97) {
66311
+ val = code2 - 97 + 10;
66312
+ } else if (code2 >= 65) {
66313
+ val = code2 - 65 + 10;
66314
+ } else if (code2 >= 48 && code2 <= 57) {
66315
+ val = code2 - 48;
66290
66316
  } else {
66291
66317
  val = Infinity;
66292
66318
  }
66293
66319
  if (val >= radix) {
66294
66320
  break;
66295
66321
  }
66296
- lastCode = code;
66322
+ lastCode = code2;
66297
66323
  total = total * radix + val;
66298
66324
  }
66299
66325
  if (allowSeparators && lastCode === 95) {
@@ -66375,21 +66401,21 @@ pp.readNumber = function(startsWithDot) {
66375
66401
  return this.finishToken(types$1.num, val);
66376
66402
  };
66377
66403
  pp.readCodePoint = function() {
66378
- var ch = this.input.charCodeAt(this.pos), code;
66404
+ var ch = this.input.charCodeAt(this.pos), code2;
66379
66405
  if (ch === 123) {
66380
66406
  if (this.options.ecmaVersion < 6) {
66381
66407
  this.unexpected();
66382
66408
  }
66383
66409
  var codePos = ++this.pos;
66384
- code = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos);
66410
+ code2 = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos);
66385
66411
  ++this.pos;
66386
- if (code > 1114111) {
66412
+ if (code2 > 1114111) {
66387
66413
  this.invalidStringToken(codePos, "Code point out of bounds");
66388
66414
  }
66389
66415
  } else {
66390
- code = this.readHexChar(4);
66416
+ code2 = this.readHexChar(4);
66391
66417
  }
66392
- return code;
66418
+ return code2;
66393
66419
  };
66394
66420
  pp.readString = function(quote) {
66395
66421
  var out = "", chunkStart = ++this.pos;
@@ -68237,6 +68263,145 @@ async function provision(workspaceId) {
68237
68263
  __name(provision, "provision");
68238
68264
  provision.workflowId = "workflow//./src/work/provision//provision";
68239
68265
 
68266
+ // node_modules/@workflow/core/dist/index.js
68267
+ init_dist2();
68268
+
68269
+ // node_modules/@workflow/core/dist/context-violation-error.js
68270
+ init_ansi();
68271
+ var INSPECT_CUSTOM = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
68272
+ function renderSegmentPlain(s) {
68273
+ if ("code" in s) return `\`${s.code}\``;
68274
+ if ("dim" in s) return s.dim;
68275
+ return s.text;
68276
+ }
68277
+ __name(renderSegmentPlain, "renderSegmentPlain");
68278
+ function renderSegmentPretty(s) {
68279
+ if ("code" in s) return code(s.code);
68280
+ if ("dim" in s) return dim(s.dim);
68281
+ return s.text;
68282
+ }
68283
+ __name(renderSegmentPretty, "renderSegmentPretty");
68284
+ function renderDetailPlain(d) {
68285
+ if (d.type === "docs") return `docs: ${d.url}`;
68286
+ return d.segments.map(renderSegmentPlain).join("");
68287
+ }
68288
+ __name(renderDetailPlain, "renderDetailPlain");
68289
+ function renderDetailPretty(d) {
68290
+ if (d.type === "docs") return docs(d.url);
68291
+ return d.segments.map(renderSegmentPretty).join("");
68292
+ }
68293
+ __name(renderDetailPretty, "renderDetailPretty");
68294
+ function renderPlain(c) {
68295
+ const title = c.title.map(renderSegmentPlain).join("");
68296
+ const lines = [
68297
+ title
68298
+ ];
68299
+ c.details.forEach((detail, index) => {
68300
+ const isLast = index === c.details.length - 1;
68301
+ const first = isLast ? "\u2570\u25B6 " : "\u251C\u25B6 ";
68302
+ const cont = isLast ? " " : "\u2502 ";
68303
+ const raw = renderDetailPlain(detail).split("\n");
68304
+ raw.forEach((line, i2) => {
68305
+ lines.push(`${i2 === 0 ? first : cont}${line}`);
68306
+ });
68307
+ });
68308
+ return lines.join("\n");
68309
+ }
68310
+ __name(renderPlain, "renderPlain");
68311
+ function renderPretty(c) {
68312
+ const title = c.title.map(renderSegmentPretty).join("");
68313
+ return frame(title, c.details.map(renderDetailPretty));
68314
+ }
68315
+ __name(renderPretty, "renderPretty");
68316
+ var ContextViolationError = class extends Error {
68317
+ static {
68318
+ __name(this, "ContextViolationError");
68319
+ }
68320
+ /** Non-retryable, see class doc. */
68321
+ fatal = true;
68322
+ #content;
68323
+ constructor(content) {
68324
+ super(renderPlain(content));
68325
+ this.#content = content;
68326
+ }
68327
+ /**
68328
+ * `console.log(err)` and most Node internals route through `util.inspect`,
68329
+ * which respects this symbol. Returning a custom string here means the
68330
+ * thrown error prints as a pretty frame in the terminal while `.message`
68331
+ * and `.stack` stay plain.
68332
+ */
68333
+ [INSPECT_CUSTOM]() {
68334
+ const pretty = renderPretty(this.#content);
68335
+ const messageLineCount = this.message.split("\n").length;
68336
+ const tail = (this.stack ?? "").split("\n").slice(messageLineCount).join("\n");
68337
+ return tail ? `${this.name}: ${pretty}
68338
+ ${tail}` : `${this.name}: ${pretty}`;
68339
+ }
68340
+ toString() {
68341
+ return `${this.name}: ${renderPretty(this.#content)}`;
68342
+ }
68343
+ };
68344
+
68345
+ // node_modules/@workflow/core/dist/define-hook.js
68346
+ init_resume_hook();
68347
+
68348
+ // node_modules/@workflow/core/dist/set-attributes.js
68349
+ init_dist2();
68350
+ init_dist4();
68351
+ init_get_world_lazy();
68352
+ init_context_storage();
68353
+
68354
+ // node_modules/@workflow/core/dist/sleep.js
68355
+ init_symbols();
68356
+
68357
+ // node_modules/@workflow/core/dist/step/get-step-metadata.js
68358
+ init_context_storage();
68359
+
68360
+ // node_modules/@workflow/core/dist/step/get-workflow-metadata.js
68361
+ init_context_storage();
68362
+
68363
+ // node_modules/@workflow/core/dist/step/writable-stream.js
68364
+ init_flushable_stream();
68365
+ init_sealed_box();
68366
+ init_serialization2();
68367
+ init_symbols();
68368
+ init_util2();
68369
+ init_context_storage();
68370
+
68371
+ // src/telemetry.ts
68372
+ function emit(event, fields = {}, level = "info") {
68373
+ const line = JSON.stringify({
68374
+ event,
68375
+ level,
68376
+ at: Date.now(),
68377
+ ...fields
68378
+ });
68379
+ if (level === "error") console.error(line);
68380
+ else console.log(line);
68381
+ }
68382
+ __name(emit, "emit");
68383
+
68384
+ // src/work/retry.ts
68385
+ var RETRY_MS = Number(process.env.HUB_RETRY_MS) || 5e3;
68386
+ async function reportWorkError(workflow, workspace, attempt, fields) {
68387
+ emit("hub.work_error", {
68388
+ workflow,
68389
+ workspace,
68390
+ attempt,
68391
+ ...fields
68392
+ }, "error");
68393
+ }
68394
+ __name(reportWorkError, "reportWorkError");
68395
+ (function(__wf_fn, __wf_id) {
68396
+ var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
68397
+ __wf_reg.set(__wf_id, __wf_fn);
68398
+ __wf_fn.stepId = __wf_id;
68399
+ Object.defineProperty(__wf_fn, "name", {
68400
+ value: "reportWorkError",
68401
+ configurable: true
68402
+ });
68403
+ })(reportWorkError, "step//./src/work/retry//reportWorkError");
68404
+
68240
68405
  // src/work/runner-lost.ts
68241
68406
  async function check3(workspaceId, token, closedAt) {
68242
68407
  return (await hubSteps()).runnerLost(workspaceId, token, closedAt);