@hasna/skills 0.1.68 → 0.1.69

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/dist/sdk/index.js CHANGED
@@ -46,7 +46,7 @@ var __export = (target, all) => {
46
46
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
47
47
  var __require = import.meta.require;
48
48
 
49
- // ../../node_modules/.bun/@smithy+types@4.16.1/node_modules/@smithy/types/dist-cjs/index.js
49
+ // ../../node_modules/.bun/@smithy+types@4.17.2/node_modules/@smithy/types/dist-cjs/index.js
50
50
  var require_dist_cjs = __commonJS((exports) => {
51
51
  var HttpAuthLocation;
52
52
  (function(HttpAuthLocation2) {
@@ -137,7 +137,7 @@ var require_dist_cjs = __commonJS((exports) => {
137
137
  exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
138
138
  });
139
139
 
140
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
140
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
141
141
  var require_transport = __commonJS((exports) => {
142
142
  var { SMITHY_CONTEXT_KEY } = require_dist_cjs();
143
143
  var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
@@ -304,7 +304,7 @@ var require_transport = __commonJS((exports) => {
304
304
  exports.toEndpointV1 = toEndpointV1;
305
305
  });
306
306
 
307
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
307
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
308
308
  var require_schema = __commonJS((exports) => {
309
309
  var { getSmithyContext, HttpResponse, toEndpointV1 } = require_transport();
310
310
  var deref = (schemaRef) => {
@@ -437,8 +437,6 @@ var require_schema = __commonJS((exports) => {
437
437
 
438
438
  class ListSchema extends Schema {
439
439
  static symbol = Symbol.for("@smithy/lis");
440
- name;
441
- traits;
442
440
  valueSchema;
443
441
  symbol = ListSchema.symbol;
444
442
  }
@@ -451,8 +449,6 @@ var require_schema = __commonJS((exports) => {
451
449
 
452
450
  class MapSchema extends Schema {
453
451
  static symbol = Symbol.for("@smithy/map");
454
- name;
455
- traits;
456
452
  keySchema;
457
453
  valueSchema;
458
454
  symbol = MapSchema.symbol;
@@ -467,8 +463,6 @@ var require_schema = __commonJS((exports) => {
467
463
 
468
464
  class OperationSchema extends Schema {
469
465
  static symbol = Symbol.for("@smithy/ope");
470
- name;
471
- traits;
472
466
  input;
473
467
  output;
474
468
  symbol = OperationSchema.symbol;
@@ -483,8 +477,6 @@ var require_schema = __commonJS((exports) => {
483
477
 
484
478
  class StructureSchema extends Schema {
485
479
  static symbol = Symbol.for("@smithy/str");
486
- name;
487
- traits;
488
480
  memberNames;
489
481
  memberList;
490
482
  symbol = StructureSchema.symbol;
@@ -819,9 +811,7 @@ var require_schema = __commonJS((exports) => {
819
811
 
820
812
  class SimpleSchema extends Schema {
821
813
  static symbol = Symbol.for("@smithy/sim");
822
- name;
823
814
  schemaRef;
824
- traits;
825
815
  symbol = SimpleSchema.symbol;
826
816
  }
827
817
  var sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema, {
@@ -983,7 +973,7 @@ var require_schema = __commonJS((exports) => {
983
973
  exports.translateTraits = translateTraits;
984
974
  });
985
975
 
986
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
976
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
987
977
  var require_client = __commonJS((exports) => {
988
978
  var { getSmithyContext, normalizeProvider } = require_transport();
989
979
  exports.getSmithyContext = getSmithyContext;
@@ -2052,7 +2042,7 @@ var require_client = __commonJS((exports) => {
2052
2042
  exports.withBaseException = withBaseException;
2053
2043
  });
2054
2044
 
2055
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
2045
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
2056
2046
  var require_config = __commonJS((exports) => {
2057
2047
  var { homedir } = __require("os");
2058
2048
  var { sep, join } = __require("path");
@@ -2747,7 +2737,7 @@ var require_config = __commonJS((exports) => {
2747
2737
  exports.resolveRegionConfig = resolveRegionConfig;
2748
2738
  });
2749
2739
 
2750
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2740
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2751
2741
  var require_endpoints = __commonJS((exports) => {
2752
2742
  var { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require_config();
2753
2743
  var { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require_transport();
@@ -3559,7 +3549,7 @@ var require_endpoints = __commonJS((exports) => {
3559
3549
  exports.resolveParams = resolveParams;
3560
3550
  });
3561
3551
 
3562
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
3552
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
3563
3553
  var require_serde = __commonJS((exports) => {
3564
3554
  var { createHmac: createHmac2, createHash: createHash2, getRandomValues } = __require("crypto");
3565
3555
  var { ReadStream, lstatSync, fstatSync } = __require("fs");
@@ -5197,7 +5187,7 @@ ${value}\r
5197
5187
  exports.v4 = v4;
5198
5188
  });
5199
5189
 
5200
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
5190
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
5201
5191
  var require_checksum = __commonJS((exports) => {
5202
5192
  var { createReadStream } = __require("fs");
5203
5193
  var { Writable } = __require("stream");
@@ -5813,7 +5803,7 @@ var require_checksum = __commonJS((exports) => {
5813
5803
  exports.readableStreamHasher = readableStreamHasher;
5814
5804
  });
5815
5805
 
5816
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
5806
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
5817
5807
  var require_event_streams = __commonJS((exports) => {
5818
5808
  var { Crc32 } = require_checksum();
5819
5809
  var { toHex, fromHex, toUtf8, fromUtf8 } = require_serde();
@@ -5888,27 +5878,27 @@ var require_event_streams = __commonJS((exports) => {
5888
5878
  formatHeaderValue(header) {
5889
5879
  switch (header.type) {
5890
5880
  case "boolean":
5891
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
5881
+ return Uint8Array.from([header.value ? 0 : 1]);
5892
5882
  case "byte":
5893
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
5883
+ return Uint8Array.from([2, header.value]);
5894
5884
  case "short":
5895
5885
  const shortView = new DataView(new ArrayBuffer(3));
5896
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
5886
+ shortView.setUint8(0, 3);
5897
5887
  shortView.setInt16(1, header.value, false);
5898
5888
  return new Uint8Array(shortView.buffer);
5899
5889
  case "integer":
5900
5890
  const intView = new DataView(new ArrayBuffer(5));
5901
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
5891
+ intView.setUint8(0, 4);
5902
5892
  intView.setInt32(1, header.value, false);
5903
5893
  return new Uint8Array(intView.buffer);
5904
5894
  case "long":
5905
5895
  const longBytes = new Uint8Array(9);
5906
- longBytes[0] = HEADER_VALUE_TYPE.long;
5896
+ longBytes[0] = 5;
5907
5897
  longBytes.set(header.value.bytes, 1);
5908
5898
  return longBytes;
5909
5899
  case "binary":
5910
5900
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
5911
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
5901
+ binView.setUint8(0, 6);
5912
5902
  binView.setUint16(1, header.value.byteLength, false);
5913
5903
  const binBytes = new Uint8Array(binView.buffer);
5914
5904
  binBytes.set(header.value, 3);
@@ -5916,14 +5906,14 @@ var require_event_streams = __commonJS((exports) => {
5916
5906
  case "string":
5917
5907
  const utf8Bytes = this.fromUtf8(header.value);
5918
5908
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
5919
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
5909
+ strView.setUint8(0, 7);
5920
5910
  strView.setUint16(1, utf8Bytes.byteLength, false);
5921
5911
  const strBytes = new Uint8Array(strView.buffer);
5922
5912
  strBytes.set(utf8Bytes, 3);
5923
5913
  return strBytes;
5924
5914
  case "timestamp":
5925
5915
  const tsBytes = new Uint8Array(9);
5926
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
5916
+ tsBytes[0] = 8;
5927
5917
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
5928
5918
  return tsBytes;
5929
5919
  case "uuid":
@@ -5931,7 +5921,7 @@ var require_event_streams = __commonJS((exports) => {
5931
5921
  throw new Error(`Invalid UUID received: ${header.value}`);
5932
5922
  }
5933
5923
  const uuidBytes = new Uint8Array(17);
5934
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
5924
+ uuidBytes[0] = 9;
5935
5925
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
5936
5926
  return uuidBytes;
5937
5927
  }
@@ -5944,46 +5934,46 @@ var require_event_streams = __commonJS((exports) => {
5944
5934
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
5945
5935
  position += nameLength;
5946
5936
  switch (headers.getUint8(position++)) {
5947
- case HEADER_VALUE_TYPE.boolTrue:
5937
+ case 0:
5948
5938
  out[name] = {
5949
5939
  type: BOOLEAN_TAG,
5950
5940
  value: true
5951
5941
  };
5952
5942
  break;
5953
- case HEADER_VALUE_TYPE.boolFalse:
5943
+ case 1:
5954
5944
  out[name] = {
5955
5945
  type: BOOLEAN_TAG,
5956
5946
  value: false
5957
5947
  };
5958
5948
  break;
5959
- case HEADER_VALUE_TYPE.byte:
5949
+ case 2:
5960
5950
  out[name] = {
5961
5951
  type: BYTE_TAG,
5962
5952
  value: headers.getInt8(position++)
5963
5953
  };
5964
5954
  break;
5965
- case HEADER_VALUE_TYPE.short:
5955
+ case 3:
5966
5956
  out[name] = {
5967
5957
  type: SHORT_TAG,
5968
5958
  value: headers.getInt16(position, false)
5969
5959
  };
5970
5960
  position += 2;
5971
5961
  break;
5972
- case HEADER_VALUE_TYPE.integer:
5962
+ case 4:
5973
5963
  out[name] = {
5974
5964
  type: INT_TAG,
5975
5965
  value: headers.getInt32(position, false)
5976
5966
  };
5977
5967
  position += 4;
5978
5968
  break;
5979
- case HEADER_VALUE_TYPE.long:
5969
+ case 5:
5980
5970
  out[name] = {
5981
5971
  type: LONG_TAG,
5982
5972
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
5983
5973
  };
5984
5974
  position += 8;
5985
5975
  break;
5986
- case HEADER_VALUE_TYPE.byteArray:
5976
+ case 6:
5987
5977
  const binaryLength = headers.getUint16(position, false);
5988
5978
  position += 2;
5989
5979
  out[name] = {
@@ -5992,7 +5982,7 @@ var require_event_streams = __commonJS((exports) => {
5992
5982
  };
5993
5983
  position += binaryLength;
5994
5984
  break;
5995
- case HEADER_VALUE_TYPE.string:
5985
+ case 7:
5996
5986
  const stringLength = headers.getUint16(position, false);
5997
5987
  position += 2;
5998
5988
  out[name] = {
@@ -6001,14 +5991,14 @@ var require_event_streams = __commonJS((exports) => {
6001
5991
  };
6002
5992
  position += stringLength;
6003
5993
  break;
6004
- case HEADER_VALUE_TYPE.timestamp:
5994
+ case 8:
6005
5995
  out[name] = {
6006
5996
  type: TIMESTAMP_TAG,
6007
5997
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
6008
5998
  };
6009
5999
  position += 8;
6010
6000
  break;
6011
- case HEADER_VALUE_TYPE.uuid:
6001
+ case 9:
6012
6002
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
6013
6003
  position += 16;
6014
6004
  out[name] = {
@@ -6431,7 +6421,7 @@ var require_event_streams = __commonJS((exports) => {
6431
6421
  this.defaultContentType = defaultContentType;
6432
6422
  this.compositeErrorRegistry = compositeErrorRegistry;
6433
6423
  }
6434
- async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
6424
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType }) {
6435
6425
  const marshaller = this.marshaller;
6436
6426
  const eventStreamMember = requestSchema.getEventStreamMember();
6437
6427
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -6442,7 +6432,7 @@ var require_event_streams = __commonJS((exports) => {
6442
6432
  async* [Symbol.asyncIterator]() {
6443
6433
  if (initialRequest) {
6444
6434
  const headers = {
6445
- ":event-type": { type: "string", value: "initial-request" },
6435
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
6446
6436
  ":message-type": { type: "string", value: "event" },
6447
6437
  ":content-type": { type: "string", value: defaultContentType }
6448
6438
  };
@@ -6486,7 +6476,7 @@ var require_event_streams = __commonJS((exports) => {
6486
6476
  };
6487
6477
  });
6488
6478
  }
6489
- async deserializeEventStream({ response, responseSchema, initialResponseContainer }) {
6479
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType }) {
6490
6480
  const marshaller = this.marshaller;
6491
6481
  const eventStreamMember = responseSchema.getEventStreamMember();
6492
6482
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -6501,7 +6491,7 @@ var require_event_streams = __commonJS((exports) => {
6501
6491
  }
6502
6492
  }
6503
6493
  const body = event[unionMember].body;
6504
- if (unionMember === "initial-response") {
6494
+ if (unionMember === (initialMessageType ?? "initial-response")) {
6505
6495
  const dataObject = await this.deserializer.read(responseSchema, body);
6506
6496
  delete dataObject[eventStreamMember];
6507
6497
  return {
@@ -6696,7 +6686,7 @@ var require_event_streams = __commonJS((exports) => {
6696
6686
  exports.universalEventStreamSerdeProvider = eventStreamSerdeProvider$1;
6697
6687
  });
6698
6688
 
6699
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
6689
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
6700
6690
  var require_protocols = __commonJS((exports) => {
6701
6691
  var { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require_serde();
6702
6692
  var { TypeRegistry, NormalizedSchema, translateTraits } = require_schema();
@@ -7169,10 +7159,9 @@ var require_protocols = __commonJS((exports) => {
7169
7159
  if (eventStreamMember) {
7170
7160
  if (input[eventStreamMember]) {
7171
7161
  const initialRequest = {};
7172
- for (const [memberName, memberSchema] of ns.structIterator()) {
7173
- if (memberName !== eventStreamMember && input[memberName]) {
7174
- serializer.write(memberSchema, input[memberName]);
7175
- initialRequest[memberName] = serializer.flush();
7162
+ for (const [memberName] of ns.structIterator()) {
7163
+ if (memberName !== eventStreamMember && input[memberName] != null) {
7164
+ initialRequest[memberName] = input[memberName];
7176
7165
  }
7177
7166
  }
7178
7167
  payload = await this.serializeEventStream({
@@ -7581,24 +7570,27 @@ var require_protocols = __commonJS((exports) => {
7581
7570
  }
7582
7571
  }
7583
7572
  var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
7573
+ if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
7574
+ runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
7575
+ }
7584
7576
  return {
7585
7577
  setHttpHandler(handler) {
7586
- runtimeConfig.httpHandler = handler;
7578
+ runtimeConfig.requestHandler = handler;
7587
7579
  },
7588
7580
  httpHandler() {
7589
- return runtimeConfig.httpHandler;
7581
+ return runtimeConfig.requestHandler;
7590
7582
  },
7591
7583
  updateHttpClientConfig(key, value) {
7592
- runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
7584
+ runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
7593
7585
  },
7594
7586
  httpHandlerConfigs() {
7595
- return runtimeConfig.httpHandler.httpHandlerConfigs();
7587
+ return runtimeConfig.requestHandler.httpHandlerConfigs();
7596
7588
  }
7597
7589
  };
7598
7590
  };
7599
7591
  var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
7600
7592
  return {
7601
- httpHandler: httpHandlerExtensionConfiguration.httpHandler()
7593
+ requestHandler: httpHandlerExtensionConfiguration.httpHandler()
7602
7594
  };
7603
7595
  };
7604
7596
  var CONTENT_LENGTH_HEADER = "content-length";
@@ -7610,10 +7602,12 @@ var require_protocols = __commonJS((exports) => {
7610
7602
  if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) {
7611
7603
  try {
7612
7604
  const length = bodyLengthChecker(body);
7613
- request.headers = {
7614
- ...request.headers,
7615
- [CONTENT_LENGTH_HEADER]: String(length)
7616
- };
7605
+ if (length != null) {
7606
+ request.headers = {
7607
+ ...request.headers,
7608
+ [CONTENT_LENGTH_HEADER]: String(length)
7609
+ };
7610
+ }
7617
7611
  } catch (ignored) {}
7618
7612
  }
7619
7613
  }
@@ -7682,7 +7676,7 @@ var require_protocols = __commonJS((exports) => {
7682
7676
  exports.resolvedPath = resolvedPath;
7683
7677
  });
7684
7678
 
7685
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
7679
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
7686
7680
  var require_retry = __commonJS((exports) => {
7687
7681
  var { Readable } = __require("stream");
7688
7682
  var { NoOpLogger, normalizeProvider } = require_client();
@@ -8608,7 +8602,7 @@ var require_invoke_store = __commonJS((exports) => {
8608
8602
  exports.InvokeStoreBase = InvokeStoreBase;
8609
8603
  });
8610
8604
 
8611
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/index.js
8605
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/index.js
8612
8606
  var require_dist_cjs2 = __commonJS((exports) => {
8613
8607
  var { getSmithyContext } = require_transport();
8614
8608
  exports.getSmithyContext = getSmithyContext;
@@ -9774,7 +9768,7 @@ var require_es5 = __commonJS((exports, module) => {
9774
9768
  });
9775
9769
  });
9776
9770
 
9777
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
9771
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
9778
9772
  var require_client2 = __commonJS((exports) => {
9779
9773
  var { Retry, RETRY_MODES } = require_retry();
9780
9774
  var { HttpRequest, parseUrl } = require_protocols();
@@ -10712,7 +10706,7 @@ More information can be found at: https://a.co/c895JFp`);
10712
10706
  exports.userAgentMiddleware = userAgentMiddleware;
10713
10707
  });
10714
10708
 
10715
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.26/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
10709
+ // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
10716
10710
  var require_crc = __commonJS((exports) => {
10717
10711
  var { Crc32, Crc32Js, Crc32Node } = require_checksum();
10718
10712
  exports.Crc32 = Crc32;
@@ -10869,7 +10863,7 @@ var require_crc = __commonJS((exports) => {
10869
10863
  exports.crc64NvmeCrtContainer = crc64NvmeCrtContainer;
10870
10864
  });
10871
10865
 
10872
- // ../../node_modules/.bun/@smithy+signature-v4@5.6.12/node_modules/@smithy/signature-v4/dist-cjs/index.js
10866
+ // ../../node_modules/.bun/@smithy+signature-v4@5.7.2/node_modules/@smithy/signature-v4/dist-cjs/index.js
10873
10867
  var require_dist_cjs3 = __commonJS((exports) => {
10874
10868
  var { fromUtf8, fromHex, toHex, toUint8Array: toUint8Array2, isArrayBuffer: isArrayBuffer2 } = require_serde();
10875
10869
  var { normalizeProvider: normalizeProvider2 } = require_client();
@@ -10893,27 +10887,27 @@ var require_dist_cjs3 = __commonJS((exports) => {
10893
10887
  formatHeaderValue(header) {
10894
10888
  switch (header.type) {
10895
10889
  case "boolean":
10896
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
10890
+ return Uint8Array.from([header.value ? 0 : 1]);
10897
10891
  case "byte":
10898
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
10892
+ return Uint8Array.from([2, header.value]);
10899
10893
  case "short":
10900
10894
  const shortView = new DataView(new ArrayBuffer(3));
10901
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
10895
+ shortView.setUint8(0, 3);
10902
10896
  shortView.setInt16(1, header.value, false);
10903
10897
  return new Uint8Array(shortView.buffer);
10904
10898
  case "integer":
10905
10899
  const intView = new DataView(new ArrayBuffer(5));
10906
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
10900
+ intView.setUint8(0, 4);
10907
10901
  intView.setInt32(1, header.value, false);
10908
10902
  return new Uint8Array(intView.buffer);
10909
10903
  case "long":
10910
10904
  const longBytes = new Uint8Array(9);
10911
- longBytes[0] = HEADER_VALUE_TYPE.long;
10905
+ longBytes[0] = 5;
10912
10906
  longBytes.set(header.value.bytes, 1);
10913
10907
  return longBytes;
10914
10908
  case "binary":
10915
10909
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
10916
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
10910
+ binView.setUint8(0, 6);
10917
10911
  binView.setUint16(1, header.value.byteLength, false);
10918
10912
  const binBytes = new Uint8Array(binView.buffer);
10919
10913
  binBytes.set(header.value, 3);
@@ -10921,14 +10915,14 @@ var require_dist_cjs3 = __commonJS((exports) => {
10921
10915
  case "string":
10922
10916
  const utf8Bytes = fromUtf8(header.value);
10923
10917
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
10924
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
10918
+ strView.setUint8(0, 7);
10925
10919
  strView.setUint16(1, utf8Bytes.byteLength, false);
10926
10920
  const strBytes = new Uint8Array(strView.buffer);
10927
10921
  strBytes.set(utf8Bytes, 3);
10928
10922
  return strBytes;
10929
10923
  case "timestamp":
10930
10924
  const tsBytes = new Uint8Array(9);
10931
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
10925
+ tsBytes[0] = 8;
10932
10926
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
10933
10927
  return tsBytes;
10934
10928
  case "uuid":
@@ -10936,7 +10930,7 @@ var require_dist_cjs3 = __commonJS((exports) => {
10936
10930
  throw new Error(`Invalid UUID received: ${header.value}`);
10937
10931
  }
10938
10932
  const uuidBytes = new Uint8Array(17);
10939
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
10933
+ uuidBytes[0] = 9;
10940
10934
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
10941
10935
  return uuidBytes;
10942
10936
  }
@@ -11409,7 +11403,7 @@ ${toHex(hashedRequest)}`;
11409
11403
  exports.signatureV4aContainer = signatureV4aContainer;
11410
11404
  });
11411
11405
 
11412
- // ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.43/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
11406
+ // ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.45/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
11413
11407
  var require_dist_cjs4 = __commonJS((exports) => {
11414
11408
  var { SignatureV4, signatureV4aContainer } = require_dist_cjs3();
11415
11409
  var signatureV4CrtContainer = {
@@ -11541,7 +11535,7 @@ var require_dist_cjs4 = __commonJS((exports) => {
11541
11535
  exports.signatureV4CrtContainer = signatureV4CrtContainer;
11542
11536
  });
11543
11537
 
11544
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
11538
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
11545
11539
  var require_util = __commonJS((exports) => {
11546
11540
  var { buildQueryString } = require_protocols();
11547
11541
  var validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
@@ -11599,7 +11593,7 @@ var require_util = __commonJS((exports) => {
11599
11593
  exports.validate = validate;
11600
11594
  });
11601
11595
 
11602
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
11596
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
11603
11597
  var require_cbor = __commonJS((exports) => {
11604
11598
  var { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require_serde();
11605
11599
  var { HttpRequest: HttpRequest2, collectBody, SerdeContext, RpcProtocol } = require_protocols();
@@ -13693,9 +13687,9 @@ var require_cbor = __commonJS((exports) => {
13693
13687
  this.serializer.write(15, {});
13694
13688
  request.body = this.serializer.flush();
13695
13689
  }
13696
- try {
13690
+ if (request.body instanceof Uint8Array) {
13697
13691
  request.headers["content-length"] = String(request.body.byteLength);
13698
- } catch (ignored) {}
13692
+ }
13699
13693
  }
13700
13694
  const { service, operation } = getSmithyContext(context);
13701
13695
  const path = `/service/${service}/operation/${operation}`;
@@ -13967,7 +13961,7 @@ var require_cbor = __commonJS((exports) => {
13967
13961
  exports.tagSymbol = tagSymbol;
13968
13962
  });
13969
13963
 
13970
- // ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.37/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
13964
+ // ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.39/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
13971
13965
  var require_dist_cjs5 = __commonJS((exports) => {
13972
13966
  var ATTR_ESCAPE_RE = /[&<>"]/g;
13973
13967
  var ATTR_ESCAPE_MAP = {
@@ -14335,7 +14329,7 @@ var require_dist_cjs5 = __commonJS((exports) => {
14335
14329
  exports.parseXML = parseXML;
14336
14330
  });
14337
14331
 
14338
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
14332
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
14339
14333
  var require_protocols2 = __commonJS((exports) => {
14340
14334
  var { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require_cbor();
14341
14335
  var { TypeRegistry, NormalizedSchema, deref } = require_schema();
@@ -17176,7 +17170,7 @@ var require_protocols2 = __commonJS((exports) => {
17176
17170
  exports.parseXmlErrorBody = parseXmlErrorBody;
17177
17171
  });
17178
17172
 
17179
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
17173
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
17180
17174
  var require_httpAuthSchemes = __commonJS((exports) => {
17181
17175
  var { ProviderError, booleanSelector: booleanSelector2, SelectorType: SelectorType3, loadConfig } = require_config();
17182
17176
  var { setCredentialFeature } = require_client2();
@@ -17506,7 +17500,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
17506
17500
  exports.validateSigningProperties = validateSigningProperties;
17507
17501
  });
17508
17502
 
17509
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.67/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
17503
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
17510
17504
  var import_client5, import_config, ENV_KEY = "AWS_ACCESS_KEY_ID", ENV_SECRET = "AWS_SECRET_ACCESS_KEY", ENV_SESSION = "AWS_SESSION_TOKEN", ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION", ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE", ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID", fromEnv = (init) => async () => {
17511
17505
  init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
17512
17506
  const accessKeyId = process.env[ENV_KEY];
@@ -17534,7 +17528,7 @@ var init_fromEnv = __esm(() => {
17534
17528
  import_config = __toESM(require_config(), 1);
17535
17529
  });
17536
17530
 
17537
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.67/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
17531
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
17538
17532
  var exports_dist_es = {};
17539
17533
  __export(exports_dist_es, {
17540
17534
  fromEnv: () => fromEnv,
@@ -17549,7 +17543,7 @@ var init_dist_es = __esm(() => {
17549
17543
  init_fromEnv();
17550
17544
  });
17551
17545
 
17552
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
17546
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
17553
17547
  var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", fromImdsCredentials = (creds) => ({
17554
17548
  accessKeyId: creds.AccessKeyId,
17555
17549
  secretAccessKey: creds.SecretAccessKey,
@@ -17558,14 +17552,14 @@ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && type
17558
17552
  ...creds.AccountId && { accountId: creds.AccountId }
17559
17553
  });
17560
17554
 
17561
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
17555
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
17562
17556
  var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
17563
17557
 
17564
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
17558
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
17565
17559
  import node_http from "http";
17566
17560
  var init_node_http = () => {};
17567
17561
 
17568
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
17562
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
17569
17563
  function httpRequest(options) {
17570
17564
  return new Promise((resolve, reject) => {
17571
17565
  const req = node_http.request({
@@ -17605,7 +17599,7 @@ var init_httpRequest = __esm(() => {
17605
17599
  import_config2 = __toESM(require_config(), 1);
17606
17600
  });
17607
17601
 
17608
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
17602
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
17609
17603
  var retry = (toRetry, maxRetries) => {
17610
17604
  let promise = toRetry();
17611
17605
  for (let i2 = 0;i2 < maxRetries; i2++) {
@@ -17614,7 +17608,7 @@ var retry = (toRetry, maxRetries) => {
17614
17608
  return promise;
17615
17609
  };
17616
17610
 
17617
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
17611
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
17618
17612
  var import_config3, ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromContainerMetadata = (init = {}) => {
17619
17613
  const { timeout, maxRetries } = providerConfigFromInit(init);
17620
17614
  return () => retry(async () => {
@@ -17684,7 +17678,7 @@ var init_fromContainerMetadata = __esm(() => {
17684
17678
  GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
17685
17679
  });
17686
17680
 
17687
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
17681
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
17688
17682
  var import_config4, InstanceMetadataV1FallbackError;
17689
17683
  var init_InstanceMetadataV1FallbackError = __esm(() => {
17690
17684
  import_config4 = __toESM(require_config(), 1);
@@ -17699,7 +17693,7 @@ var init_InstanceMetadataV1FallbackError = __esm(() => {
17699
17693
  };
17700
17694
  });
17701
17695
 
17702
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
17696
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
17703
17697
  var Endpoint;
17704
17698
  var init_Endpoint = __esm(() => {
17705
17699
  (function(Endpoint2) {
@@ -17708,7 +17702,7 @@ var init_Endpoint = __esm(() => {
17708
17702
  })(Endpoint || (Endpoint = {}));
17709
17703
  });
17710
17704
 
17711
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
17705
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
17712
17706
  var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
17713
17707
  var init_EndpointConfigOptions = __esm(() => {
17714
17708
  ENDPOINT_CONFIG_OPTIONS = {
@@ -17718,7 +17712,7 @@ var init_EndpointConfigOptions = __esm(() => {
17718
17712
  };
17719
17713
  });
17720
17714
 
17721
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
17715
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
17722
17716
  var EndpointMode;
17723
17717
  var init_EndpointMode = __esm(() => {
17724
17718
  (function(EndpointMode2) {
@@ -17727,7 +17721,7 @@ var init_EndpointMode = __esm(() => {
17727
17721
  })(EndpointMode || (EndpointMode = {}));
17728
17722
  });
17729
17723
 
17730
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
17724
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
17731
17725
  var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode", ENDPOINT_MODE_CONFIG_OPTIONS;
17732
17726
  var init_EndpointModeConfigOptions = __esm(() => {
17733
17727
  init_EndpointMode();
@@ -17738,7 +17732,7 @@ var init_EndpointModeConfigOptions = __esm(() => {
17738
17732
  };
17739
17733
  });
17740
17734
 
17741
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
17735
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
17742
17736
  var import_config5, import_protocols, getInstanceMetadataEndpoint = async () => import_protocols.parseUrl(await getFromEndpointConfig() || await getFromEndpointModeConfig()), getFromEndpointConfig = async () => import_config5.loadConfig(ENDPOINT_CONFIG_OPTIONS)(), getFromEndpointModeConfig = async () => {
17743
17737
  const endpointMode = await import_config5.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
17744
17738
  switch (endpointMode) {
@@ -17759,7 +17753,7 @@ var init_getInstanceMetadataEndpoint = __esm(() => {
17759
17753
  import_protocols = __toESM(require_protocols(), 1);
17760
17754
  });
17761
17755
 
17762
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
17756
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
17763
17757
  var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS, STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS, STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html", getExtendedInstanceMetadataCredentials = (credentials, logger) => {
17764
17758
  const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
17765
17759
  const newExpiration = new Date(Date.now() + refreshInterval * 1000);
@@ -17777,7 +17771,7 @@ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
17777
17771
  STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
17778
17772
  });
17779
17773
 
17780
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
17774
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
17781
17775
  var staticStabilityProvider = (provider, options = {}) => {
17782
17776
  const logger = options?.logger || console;
17783
17777
  let pastCredentials;
@@ -17804,7 +17798,7 @@ var init_staticStabilityProvider = __esm(() => {
17804
17798
  init_getExtendedInstanceMetadataCredentials();
17805
17799
  });
17806
17800
 
17807
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
17801
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
17808
17802
  var import_config6, IMDS_PATH = "/latest/meta-data/iam/security-credentials/", IMDS_TOKEN_PATH = "/latest/api/token", AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED", PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled", X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token", fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), getInstanceMetadataProvider = (init = {}) => {
17809
17803
  let disableFetchToken = false;
17810
17804
  const { logger, profile } = init;
@@ -17924,7 +17918,7 @@ var init_fromInstanceMetadata = __esm(() => {
17924
17918
  import_config6 = __toESM(require_config(), 1);
17925
17919
  });
17926
17920
 
17927
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/index.js
17921
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/index.js
17928
17922
  var exports_dist_es2 = {};
17929
17923
  __export(exports_dist_es2, {
17930
17924
  providerConfigFromInit: () => providerConfigFromInit,
@@ -17947,7 +17941,7 @@ var init_dist_es2 = __esm(() => {
17947
17941
  init_Endpoint();
17948
17942
  });
17949
17943
 
17950
- // ../../node_modules/.bun/@smithy+node-http-handler@4.9.13/node_modules/@smithy/node-http-handler/dist-cjs/index.js
17944
+ // ../../node_modules/.bun/@smithy+node-http-handler@4.11.2/node_modules/@smithy/node-http-handler/dist-cjs/index.js
17951
17945
  var require_dist_cjs6 = __commonJS((exports) => {
17952
17946
  var { buildQueryString, HttpResponse: HttpResponse2 } = require_protocols();
17953
17947
  var node_https = __require("https");
@@ -18194,6 +18188,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18194
18188
  this.config = await this.configProvider;
18195
18189
  }
18196
18190
  const config = this.config;
18191
+ const logger = config.logger;
18197
18192
  const isSSL = request.protocol === "https:";
18198
18193
  if (!isSSL && !this.config.httpAgent) {
18199
18194
  this.config.httpAgent = await this.config.httpAgentProvider();
@@ -18237,7 +18232,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18237
18232
  });
18238
18233
  }
18239
18234
  socketWarningTimeoutId = timing.setTimeout(() => {
18240
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
18235
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
18241
18236
  }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
18242
18237
  const queryString = request.query ? buildQueryString(request.query) : "";
18243
18238
  let auth = undefined;
@@ -18301,7 +18296,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18301
18296
  }
18302
18297
  const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
18303
18298
  connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
18304
- requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console);
18299
+ requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
18305
18300
  socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
18306
18301
  const httpAgent = nodeHttpsOptions.agent;
18307
18302
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
@@ -18319,6 +18314,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18319
18314
  updateHttpClientConfig(key, value) {
18320
18315
  this.config = undefined;
18321
18316
  this.configProvider = this.configProvider.then((config) => {
18317
+ if (key === Symbol.for("logger")) {
18318
+ return {
18319
+ ...config,
18320
+ logger: config.logger ?? value
18321
+ };
18322
+ }
18322
18323
  return {
18323
18324
  ...config,
18324
18325
  [key]: value
@@ -18754,7 +18755,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18754
18755
  exports.NodeHttpHandler = NodeHttpHandler;
18755
18756
  });
18756
18757
 
18757
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
18758
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
18758
18759
  var import_config7, ECS_CONTAINER_HOST = "169.254.170.2", EKS_CONTAINER_HOST_IPv4 = "169.254.170.23", EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]", checkUrl = (url, logger) => {
18759
18760
  if (url.protocol === "https:") {
18760
18761
  return;
@@ -18788,7 +18789,7 @@ var init_checkUrl = __esm(() => {
18788
18789
  import_config7 = __toESM(require_config(), 1);
18789
18790
  });
18790
18791
 
18791
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
18792
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
18792
18793
  function createGetRequest(url) {
18793
18794
  return new import_protocols2.HttpRequest({
18794
18795
  protocol: url.protocol,
@@ -18837,7 +18838,7 @@ var init_requestHelpers = __esm(() => {
18837
18838
  import_serde2 = __toESM(require_serde(), 1);
18838
18839
  });
18839
18840
 
18840
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
18841
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
18841
18842
  var retryWrapper = (toRetry, maxRetries, delayMs) => {
18842
18843
  return async () => {
18843
18844
  for (let i2 = 0;i2 < maxRetries; ++i2) {
@@ -18851,7 +18852,7 @@ var retryWrapper = (toRetry, maxRetries, delayMs) => {
18851
18852
  };
18852
18853
  };
18853
18854
 
18854
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
18855
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
18855
18856
  import fs from "fs/promises";
18856
18857
  var import_client6, import_config9, import_node_http_handler, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2", AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromHttp = (options = {}) => {
18857
18858
  options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
@@ -18917,7 +18918,7 @@ var init_fromHttp = __esm(() => {
18917
18918
  import_node_http_handler = __toESM(require_dist_cjs6(), 1);
18918
18919
  });
18919
18920
 
18920
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
18921
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
18921
18922
  var exports_dist_es3 = {};
18922
18923
  __export(exports_dist_es3, {
18923
18924
  fromHttp: () => fromHttp
@@ -18926,16 +18927,16 @@ var init_dist_es3 = __esm(() => {
18926
18927
  init_fromHttp();
18927
18928
  });
18928
18929
 
18929
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
18930
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
18930
18931
  var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
18931
18932
 
18932
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
18933
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
18933
18934
  var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
18934
18935
  var init_constants = __esm(() => {
18935
18936
  EXPIRE_WINDOW_MS = 5 * 60 * 1000;
18936
18937
  });
18937
18938
 
18938
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
18939
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
18939
18940
  var require_sso_oidc = __commonJS((exports) => {
18940
18941
  var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
18941
18942
  var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
@@ -19013,7 +19014,7 @@ var require_sso_oidc = __commonJS((exports) => {
19013
19014
  Region: { type: "builtInParams", name: "region" },
19014
19015
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
19015
19016
  };
19016
- var version = "3.997.40";
19017
+ var version = "3.997.42";
19017
19018
  var packageInfo = {
19018
19019
  version
19019
19020
  };
@@ -19690,7 +19691,7 @@ var require_sso_oidc = __commonJS((exports) => {
19690
19691
  exports.errorTypeRegistries = errorTypeRegistries2;
19691
19692
  });
19692
19693
 
19693
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
19694
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
19694
19695
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
19695
19696
  const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
19696
19697
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
@@ -19702,7 +19703,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
19702
19703
  return ssoOidcClient;
19703
19704
  };
19704
19705
 
19705
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
19706
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
19706
19707
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
19707
19708
  const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
19708
19709
  const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
@@ -19715,7 +19716,7 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
19715
19716
  };
19716
19717
  var init_getNewSsoOidcToken = () => {};
19717
19718
 
19718
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
19719
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
19719
19720
  var import_config11, validateTokenExpiry = (token) => {
19720
19721
  if (token.expiration && token.expiration.getTime() < Date.now()) {
19721
19722
  throw new import_config11.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
@@ -19726,7 +19727,7 @@ var init_validateTokenExpiry = __esm(() => {
19726
19727
  import_config11 = __toESM(require_config(), 1);
19727
19728
  });
19728
19729
 
19729
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
19730
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
19730
19731
  var import_config12, validateTokenKey = (key, value, forRefresh = false) => {
19731
19732
  if (typeof value === "undefined") {
19732
19733
  throw new import_config12.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
@@ -19737,7 +19738,7 @@ var init_validateTokenKey = __esm(() => {
19737
19738
  import_config12 = __toESM(require_config(), 1);
19738
19739
  });
19739
19740
 
19740
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
19741
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
19741
19742
  import { promises as fsPromises } from "fs";
19742
19743
  var import_config13, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
19743
19744
  const tokenFilepath = import_config13.getSSOTokenFilepath(id);
@@ -19749,7 +19750,7 @@ var init_writeSSOTokenToFile = __esm(() => {
19749
19750
  ({ writeFile } = fsPromises);
19750
19751
  });
19751
19752
 
19752
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
19753
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
19753
19754
  var import_config14, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
19754
19755
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
19755
19756
  const profiles = await import_config14.parseKnownFiles(init);
@@ -19828,12 +19829,12 @@ var init_fromSso = __esm(() => {
19828
19829
  lastRefreshAttemptTime = new Date(0);
19829
19830
  });
19830
19831
 
19831
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
19832
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
19832
19833
  var init_dist_es4 = __esm(() => {
19833
19834
  init_fromSso();
19834
19835
  });
19835
19836
 
19836
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
19837
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
19837
19838
  function createAwsAuthSigv4HttpAuthOption2(authParameters) {
19838
19839
  return {
19839
19840
  schemeId: "aws.auth#sigv4",
@@ -19884,7 +19885,7 @@ var awsEndpointFunctions2, emitWarningIfUnsupportedVersion$1, createDefaultUserA
19884
19885
  useFipsEndpoint: options.useFipsEndpoint ?? false,
19885
19886
  defaultSigningName: "awsssoportal"
19886
19887
  });
19887
- }, commonParams2, version = "3.997.40", packageInfo, k2 = "ref", a2 = -1, b2 = true, c2 = "isSet", d2 = "PartitionResult", e2 = "booleanEquals", f2 = "getAttr", g2, h2, i2, j2, _data2, root2 = 2, r2 = 1e8, nodes2, bdd2, cache2, defaultEndpointResolver2 = (endpointParams, context = {}) => {
19888
+ }, commonParams2, version = "3.997.42", packageInfo, k2 = "ref", a2 = -1, b2 = true, c2 = "isSet", d2 = "PartitionResult", e2 = "booleanEquals", f2 = "getAttr", g2, h2, i2, j2, _data2, root2 = 2, r2 = 1e8, nodes2, bdd2, cache2, defaultEndpointResolver2 = (endpointParams, context = {}) => {
19888
19889
  return cache2.get(endpointParams, () => decideEndpoint2(bdd2, {
19889
19890
  endpointParams,
19890
19891
  logger: context.logger
@@ -20281,7 +20282,7 @@ var init_sso = __esm(() => {
20281
20282
  $SSOClient = SSOClient;
20282
20283
  });
20283
20284
 
20284
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20285
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20285
20286
  var exports_loadSso = {};
20286
20287
  __export(exports_loadSso, {
20287
20288
  SSOClient: () => $SSOClient,
@@ -20291,7 +20292,7 @@ var init_loadSso = __esm(() => {
20291
20292
  init_sso();
20292
20293
  });
20293
20294
 
20294
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20295
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20295
20296
  var import_client7, import_config15, SHOULD_FAIL_CREDENTIAL_CHAIN = false, resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
20296
20297
  let token;
20297
20298
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
@@ -20380,7 +20381,7 @@ var init_resolveSSOCredentials = __esm(() => {
20380
20381
  import_config15 = __toESM(require_config(), 1);
20381
20382
  });
20382
20383
 
20383
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
20384
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
20384
20385
  var import_config16, validateSsoProfile = (profile, logger) => {
20385
20386
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
20386
20387
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
@@ -20393,7 +20394,7 @@ var init_validateSsoProfile = __esm(() => {
20393
20394
  import_config16 = __toESM(require_config(), 1);
20394
20395
  });
20395
20396
 
20396
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
20397
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
20397
20398
  var import_config17, fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
20398
20399
  init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
20399
20400
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
@@ -20475,7 +20476,7 @@ var init_fromSSO = __esm(() => {
20475
20476
  import_config17 = __toESM(require_config(), 1);
20476
20477
  });
20477
20478
 
20478
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
20479
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
20479
20480
  var exports_dist_es4 = {};
20480
20481
  __export(exports_dist_es4, {
20481
20482
  validateSsoProfile: () => validateSsoProfile,
@@ -20487,7 +20488,7 @@ var init_dist_es5 = __esm(() => {
20487
20488
  init_validateSsoProfile();
20488
20489
  });
20489
20490
 
20490
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
20491
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
20491
20492
  var import_client8, import_config18, resolveCredentialSource = (credentialSource, profileName, logger) => {
20492
20493
  const sourceProvidersMap = {
20493
20494
  EcsContainer: async (options) => {
@@ -20518,7 +20519,7 @@ var init_resolveCredentialSource = __esm(() => {
20518
20519
  import_config18 = __toESM(require_config(), 1);
20519
20520
  });
20520
20521
 
20521
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20522
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20522
20523
  var require_sts = __commonJS((exports) => {
20523
20524
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2, setCredentialFeature: setCredentialFeature5, stsRegionDefaultResolver } = require_client2();
20524
20525
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -20849,7 +20850,7 @@ var require_sts = __commonJS((exports) => {
20849
20850
  Region: { type: "builtInParams", name: "region" },
20850
20851
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
20851
20852
  };
20852
- var version2 = "3.997.40";
20853
+ var version2 = "3.997.42";
20853
20854
  var packageInfo2 = {
20854
20855
  version: version2
20855
20856
  };
@@ -21540,7 +21541,7 @@ var require_sts = __commonJS((exports) => {
21540
21541
  exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
21541
21542
  });
21542
21543
 
21543
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
21544
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
21544
21545
  var import_client9, import_config19, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
21545
21546
  return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
21546
21547
  }, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
@@ -21608,7 +21609,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
21608
21609
  import_config19 = __toESM(require_config(), 1);
21609
21610
  });
21610
21611
 
21611
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21612
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21612
21613
  var require_signin = __commonJS((exports) => {
21613
21614
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2 } = require_client2();
21614
21615
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -21686,7 +21687,7 @@ var require_signin = __commonJS((exports) => {
21686
21687
  Region: { type: "builtInParams", name: "region" },
21687
21688
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
21688
21689
  };
21689
- var version2 = "3.997.40";
21690
+ var version2 = "3.997.42";
21690
21691
  var packageInfo2 = {
21691
21692
  version: version2
21692
21693
  };
@@ -22340,7 +22341,7 @@ var require_signin = __commonJS((exports) => {
22340
22341
  exports.errorTypeRegistries = errorTypeRegistries3;
22341
22342
  });
22342
22343
 
22343
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22344
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22344
22345
  import { createHash as createHash2, createPrivateKey, createPublicKey, sign } from "crypto";
22345
22346
  import { promises as fs2 } from "fs";
22346
22347
  import { homedir } from "os";
@@ -22604,7 +22605,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
22604
22605
  };
22605
22606
  });
22606
22607
 
22607
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22608
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22608
22609
  var import_client10, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
22609
22610
  init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
22610
22611
  const profiles = await import_config21.parseKnownFiles(init || {});
@@ -22628,7 +22629,7 @@ var init_fromLoginCredentials = __esm(() => {
22628
22629
  import_config21 = __toESM(require_config(), 1);
22629
22630
  });
22630
22631
 
22631
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22632
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22632
22633
  var exports_dist_es5 = {};
22633
22634
  __export(exports_dist_es5, {
22634
22635
  fromLoginCredentials: () => fromLoginCredentials
@@ -22637,7 +22638,7 @@ var init_dist_es6 = __esm(() => {
22637
22638
  init_fromLoginCredentials();
22638
22639
  });
22639
22640
 
22640
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
22641
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
22641
22642
  var import_client11, isLoginProfile = (data) => {
22642
22643
  return Boolean(data && data.login_session);
22643
22644
  }, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
@@ -22652,7 +22653,7 @@ var init_resolveLoginCredentials = __esm(() => {
22652
22653
  import_client11 = __toESM(require_client2(), 1);
22653
22654
  });
22654
22655
 
22655
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
22656
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
22656
22657
  var import_client12, getValidatedProcessCredentials = (profileName, data, profiles) => {
22657
22658
  if (data.Version !== 1) {
22658
22659
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
@@ -22686,7 +22687,7 @@ var init_getValidatedProcessCredentials = __esm(() => {
22686
22687
  import_client12 = __toESM(require_client2(), 1);
22687
22688
  });
22688
22689
 
22689
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
22690
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
22690
22691
  import { exec } from "child_process";
22691
22692
  import { promisify } from "util";
22692
22693
  var import_config22, resolveProcessCredentials = async (profileName, profiles, logger) => {
@@ -22721,7 +22722,7 @@ var init_resolveProcessCredentials = __esm(() => {
22721
22722
  import_config22 = __toESM(require_config(), 1);
22722
22723
  });
22723
22724
 
22724
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
22725
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
22725
22726
  var import_config23, fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
22726
22727
  init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
22727
22728
  const profiles = await import_config23.parseKnownFiles(init);
@@ -22734,7 +22735,7 @@ var init_fromProcess = __esm(() => {
22734
22735
  import_config23 = __toESM(require_config(), 1);
22735
22736
  });
22736
22737
 
22737
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
22738
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
22738
22739
  var exports_dist_es6 = {};
22739
22740
  __export(exports_dist_es6, {
22740
22741
  fromProcess: () => fromProcess
@@ -22743,7 +22744,7 @@ var init_dist_es7 = __esm(() => {
22743
22744
  init_fromProcess();
22744
22745
  });
22745
22746
 
22746
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
22747
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
22747
22748
  var import_client13, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
22748
22749
  const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
22749
22750
  const credentials = await fromProcess2({
@@ -22756,7 +22757,7 @@ var init_resolveProcessCredentials2 = __esm(() => {
22756
22757
  import_client13 = __toESM(require_client2(), 1);
22757
22758
  });
22758
22759
 
22759
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
22760
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
22760
22761
  var import_client14, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
22761
22762
  const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
22762
22763
  return fromSSO2({
@@ -22778,7 +22779,7 @@ var init_resolveSsoCredentials = __esm(() => {
22778
22779
  import_client14 = __toESM(require_client2(), 1);
22779
22780
  });
22780
22781
 
22781
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
22782
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
22782
22783
  var import_client15, isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, resolveStaticCredentials = async (profile, options) => {
22783
22784
  options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
22784
22785
  const credentials = {
@@ -22794,7 +22795,7 @@ var init_resolveStaticCredentials = __esm(() => {
22794
22795
  import_client15 = __toESM(require_client2(), 1);
22795
22796
  });
22796
22797
 
22797
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
22798
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
22798
22799
  var fromWebToken = (init) => async (awsIdentityProperties) => {
22799
22800
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
22800
22801
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
@@ -22821,7 +22822,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
22821
22822
  });
22822
22823
  };
22823
22824
 
22824
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
22825
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
22825
22826
  import { readFileSync } from "fs";
22826
22827
  var import_client16, import_config24, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
22827
22828
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
@@ -22849,7 +22850,7 @@ var init_fromTokenFile = __esm(() => {
22849
22850
  import_config24 = __toESM(require_config(), 1);
22850
22851
  });
22851
22852
 
22852
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
22853
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
22853
22854
  var exports_dist_es7 = {};
22854
22855
  __export(exports_dist_es7, {
22855
22856
  fromWebToken: () => fromWebToken,
@@ -22859,7 +22860,7 @@ var init_dist_es8 = __esm(() => {
22859
22860
  init_fromTokenFile();
22860
22861
  });
22861
22862
 
22862
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
22863
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
22863
22864
  var import_client17, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
22864
22865
  const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
22865
22866
  const credentials = await fromTokenFile2({
@@ -22878,7 +22879,7 @@ var init_resolveWebIdentityCredentials = __esm(() => {
22878
22879
  import_client17 = __toESM(require_client2(), 1);
22879
22880
  });
22880
22881
 
22881
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
22882
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
22882
22883
  var import_config25, resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
22883
22884
  const data = profiles[profileName];
22884
22885
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
@@ -22914,7 +22915,7 @@ var init_resolveProfileData = __esm(() => {
22914
22915
  import_config25 = __toESM(require_config(), 1);
22915
22916
  });
22916
22917
 
22917
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
22918
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
22918
22919
  var import_config26, fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
22919
22920
  init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
22920
22921
  const profiles = await import_config26.parseKnownFiles(init);
@@ -22927,7 +22928,7 @@ var init_fromIni = __esm(() => {
22927
22928
  import_config26 = __toESM(require_config(), 1);
22928
22929
  });
22929
22930
 
22930
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
22931
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
22931
22932
  var exports_dist_es8 = {};
22932
22933
  __export(exports_dist_es8, {
22933
22934
  fromIni: () => fromIni
@@ -22943,8 +22944,12 @@ import { existsSync as existsSync14 } from "fs";
22943
22944
  import { homedir as homedir5 } from "os";
22944
22945
  import { join as join16 } from "path";
22945
22946
  import { createHmac as createHmac3, timingSafeEqual as timingSafeEqual2 } from "crypto";
22947
+ import { lookup as dnsLookup } from "dns/promises";
22948
+ import { isIP } from "net";
22946
22949
  import { randomUUID as randomUUID5 } from "crypto";
22947
22950
  import { spawn } from "child_process";
22951
+ import { request as nodeHttpRequest } from "http";
22952
+ import { request as nodeHttpsRequest } from "https";
22948
22953
  import { randomUUID as randomUUID22 } from "crypto";
22949
22954
  function getPathValue(input, path) {
22950
22955
  return path.split(".").reduce((value, part) => {
@@ -23287,6 +23292,177 @@ function signPayload(secret, timestamp, body) {
23287
23292
  const digest2 = createHmac3("sha256", secret).update(buildSignatureBase(timestamp, body)).digest("hex");
23288
23293
  return `sha256=${digest2}`;
23289
23294
  }
23295
+ function isPrivateAddress(address) {
23296
+ const normalized = stripZoneId(address);
23297
+ const version2 = isIP(normalized);
23298
+ if (version2 === 4) {
23299
+ const integer = ipv4ToInt(normalized);
23300
+ if (integer === undefined)
23301
+ return true;
23302
+ return IPV4_PRIVATE_RANGES.some(([low, high]) => integer >= low && integer <= high);
23303
+ }
23304
+ if (version2 === 6) {
23305
+ const groups = ipv6Groups(normalized);
23306
+ if (!groups)
23307
+ return true;
23308
+ for (const prefix of IPV6_SPECIAL_PREFIXES) {
23309
+ if (!ipv6MatchesPrefix(groups, prefix.groups, prefix.bits))
23310
+ continue;
23311
+ if (prefix.bits === 96 && groups[5] === 65535) {
23312
+ return isPrivateAddress(ipv4IntToString(groups[6] << 16 | groups[7]));
23313
+ }
23314
+ if (prefix.bits === 16 && groups[0] === 8194) {
23315
+ return isPrivateAddress(ipv4IntToString(groups[1] << 16 | groups[2]));
23316
+ }
23317
+ return true;
23318
+ }
23319
+ return false;
23320
+ }
23321
+ return true;
23322
+ }
23323
+ async function resolveWebhookTarget(url, policy = {}) {
23324
+ const hostname = normalizeHostname(url.hostname);
23325
+ const allowlist = (policy.allowPrivateHosts ?? []).map((entry) => normalizeHostname(entry.toLowerCase()));
23326
+ if (allowlist.includes(hostname)) {
23327
+ const version22 = isIP(hostname);
23328
+ if (version22 === 4 || version22 === 6) {
23329
+ return { hostname, addresses: [hostname] };
23330
+ }
23331
+ const lookup2 = policy.lookup ?? defaultTargetLookup;
23332
+ let resolved2;
23333
+ try {
23334
+ resolved2 = await lookup2(hostname);
23335
+ } catch {
23336
+ throw new Error(`Webhook target ${hostname} could not be resolved`);
23337
+ }
23338
+ if (!Array.isArray(resolved2) || resolved2.length === 0) {
23339
+ throw new Error(`Webhook target ${hostname} resolved to no addresses`);
23340
+ }
23341
+ const addresses = resolved2.map((entry) => normalizeHostname(entry.address));
23342
+ return { hostname, addresses };
23343
+ }
23344
+ const version2 = isIP(hostname);
23345
+ if (version2 === 4 || version2 === 6) {
23346
+ if (isPrivateAddress(hostname)) {
23347
+ throw new Error(`Webhook target ${hostname} is a private or special-use address`);
23348
+ }
23349
+ return { hostname, addresses: [hostname] };
23350
+ }
23351
+ const lookup = policy.lookup ?? defaultTargetLookup;
23352
+ let resolved;
23353
+ try {
23354
+ resolved = await lookup(hostname);
23355
+ } catch {
23356
+ throw new Error(`Webhook target ${hostname} could not be resolved`);
23357
+ }
23358
+ if (!Array.isArray(resolved) || resolved.length === 0) {
23359
+ throw new Error(`Webhook target ${hostname} resolved to no addresses`);
23360
+ }
23361
+ const allowed = [];
23362
+ for (const entry of resolved) {
23363
+ const address = normalizeHostname(entry.address);
23364
+ if (isPrivateAddress(address)) {
23365
+ if (allowlist.includes(address)) {
23366
+ allowed.push(address);
23367
+ continue;
23368
+ }
23369
+ throw new Error(`Webhook target ${hostname} resolves to private or special-use address ${address}`);
23370
+ }
23371
+ allowed.push(address);
23372
+ }
23373
+ if (allowed.length === 0) {
23374
+ throw new Error(`Webhook target ${hostname} resolved to no public addresses`);
23375
+ }
23376
+ return { hostname, addresses: allowed };
23377
+ }
23378
+ function normalizeMaxRedirects(value) {
23379
+ if (value === undefined)
23380
+ return DEFAULT_MAX_REDIRECTS;
23381
+ if (!Number.isInteger(value) || value < 0)
23382
+ throw new Error("webhookTargetPolicy.maxRedirects must be a non-negative integer");
23383
+ return value;
23384
+ }
23385
+ function normalizeHostname(hostname) {
23386
+ const lower = hostname.toLowerCase();
23387
+ if (lower.startsWith("[") && lower.endsWith("]"))
23388
+ return lower.slice(1, -1);
23389
+ return lower;
23390
+ }
23391
+ function stripZoneId(address) {
23392
+ const percent = address.indexOf("%");
23393
+ return percent === -1 ? address : address.slice(0, percent);
23394
+ }
23395
+ function ipv4ToInt(address) {
23396
+ const parts = address.split(".");
23397
+ if (parts.length !== 4)
23398
+ return;
23399
+ let value = 0;
23400
+ for (const part of parts) {
23401
+ if (!/^\d{1,3}$/.test(part))
23402
+ return;
23403
+ const octet = Number(part);
23404
+ if (octet > 255)
23405
+ return;
23406
+ value = value << 8 | octet;
23407
+ }
23408
+ return value >>> 0;
23409
+ }
23410
+ function ipv4IntToString(integer) {
23411
+ return [
23412
+ integer >>> 24 & 255,
23413
+ integer >>> 16 & 255,
23414
+ integer >>> 8 & 255,
23415
+ integer & 255
23416
+ ].join(".");
23417
+ }
23418
+ function ipv6Groups(address) {
23419
+ const raw = stripZoneId(address);
23420
+ const doubleColon = raw.indexOf("::");
23421
+ const headText = doubleColon === -1 ? raw : raw.slice(0, doubleColon);
23422
+ const tailText = doubleColon === -1 ? "" : raw.slice(doubleColon + 2);
23423
+ const parseGroups = (text) => {
23424
+ if (text === "")
23425
+ return [];
23426
+ const out = [];
23427
+ for (const part of text.split(":")) {
23428
+ if (part.includes(".")) {
23429
+ const v4 = ipv4ToInt(part);
23430
+ if (v4 === undefined)
23431
+ return;
23432
+ out.push(v4 >>> 16 & 65535, v4 & 65535);
23433
+ } else {
23434
+ if (!/^[0-9a-fA-F]{1,4}$/.test(part))
23435
+ return;
23436
+ out.push(parseInt(part, 16));
23437
+ }
23438
+ }
23439
+ return out;
23440
+ };
23441
+ const head = parseGroups(headText);
23442
+ if (!head)
23443
+ return;
23444
+ const tail = parseGroups(tailText);
23445
+ if (!tail)
23446
+ return;
23447
+ const total = head.length + tail.length;
23448
+ if (doubleColon === -1) {
23449
+ return total === 8 ? head : undefined;
23450
+ }
23451
+ if (total >= 8)
23452
+ return;
23453
+ return [...head, ...new Array(8 - total).fill(0), ...tail];
23454
+ }
23455
+ function ipv6MatchesPrefix(groups, prefixGroups, prefixBits) {
23456
+ let remaining = prefixBits;
23457
+ for (let index = 0;index < prefixGroups.length && remaining > 0; index += 1) {
23458
+ const take = Math.min(16, remaining);
23459
+ const mask = 65535 << 16 - take & 65535;
23460
+ if ((groups[index] & mask) !== (prefixGroups[index] & mask))
23461
+ return false;
23462
+ remaining -= take;
23463
+ }
23464
+ return true;
23465
+ }
23290
23466
  function now() {
23291
23467
  return new Date().toISOString();
23292
23468
  }
@@ -23317,9 +23493,18 @@ function buildWebhookRequest(event, channel, options = {}) {
23317
23493
  }
23318
23494
  return { body, headers };
23319
23495
  }
23496
+ function normalizeWebhookUrl(raw) {
23497
+ const url = new URL(raw);
23498
+ if (url.username !== "" || url.password !== "") {
23499
+ url.username = "";
23500
+ url.password = "";
23501
+ }
23502
+ return url.toString();
23503
+ }
23320
23504
  async function dispatchWebhook(event, channel, options = {}) {
23321
23505
  if (!channel.webhook)
23322
23506
  throw new Error(`Channel ${channel.id} has no webhook config`);
23507
+ const webhookUrl = normalizeWebhookUrl(channel.webhook.url);
23323
23508
  const startedAt = now();
23324
23509
  let secret = channel.webhook.secret;
23325
23510
  if (channel.webhook.secretRef) {
@@ -23336,10 +23521,14 @@ async function dispatchWebhook(event, channel, options = {}) {
23336
23521
  }
23337
23522
  const timestamp = (options.now?.() ?? new Date).toISOString();
23338
23523
  const { body, headers } = buildWebhookRequest(event, channel, { secret, timestamp });
23524
+ const validateTargets = options.webhookTargetPolicy !== undefined || options.fetchImpl === undefined;
23525
+ if (validateTargets) {
23526
+ return dispatchValidatedWebhook(event, channel, { body, headers, startedAt, options });
23527
+ }
23339
23528
  const controller = new AbortController;
23340
23529
  const timeout = setTimeout(() => controller.abort(), channel.webhook.timeoutMs ?? 15000);
23341
23530
  try {
23342
- const response = await (options.fetchImpl ?? fetch)(channel.webhook.url, {
23531
+ const response = await (options.fetchImpl ?? fetch)(webhookUrl, {
23343
23532
  method: "POST",
23344
23533
  headers,
23345
23534
  body,
@@ -23367,6 +23556,130 @@ async function dispatchWebhook(event, channel, options = {}) {
23367
23556
  clearTimeout(timeout);
23368
23557
  }
23369
23558
  }
23559
+ function isRedirectStatus(status) {
23560
+ return status === 301 || status === 302 || status === 303 || status === 307 || status === 308;
23561
+ }
23562
+ function redirectKeepsBody(status) {
23563
+ return status === 307 || status === 308;
23564
+ }
23565
+ async function pinnedNativeRequest(target, addresses, method, headers, body, signal, tls) {
23566
+ const isHttps = target.protocol === "https:";
23567
+ if (!isHttps && target.protocol !== "http:") {
23568
+ throw new Error(`Webhook target uses unsupported protocol ${target.protocol}`);
23569
+ }
23570
+ const defaultPort = isHttps ? 443 : 80;
23571
+ const port = target.port ? Number(target.port) : defaultPort;
23572
+ const requestOptions = {
23573
+ hostname: target.hostname,
23574
+ port,
23575
+ path: `${target.pathname}${target.search}`,
23576
+ method,
23577
+ headers,
23578
+ ...tls?.ca ? { ca: tls.ca } : {},
23579
+ lookup: (hostname, _options, callback) => {
23580
+ const entries = addresses.map((address) => ({
23581
+ address,
23582
+ family: address.includes(":") ? 6 : 4
23583
+ }));
23584
+ callback(null, entries);
23585
+ }
23586
+ };
23587
+ return new Promise((resolve2, reject) => {
23588
+ const request = isHttps ? nodeHttpsRequest(requestOptions, onResponse) : nodeHttpRequest(requestOptions, onResponse);
23589
+ const onAbort = () => {
23590
+ const error = new Error("The operation was aborted.");
23591
+ error.name = "AbortError";
23592
+ request.destroy(error);
23593
+ };
23594
+ if (signal.aborted)
23595
+ onAbort();
23596
+ else
23597
+ signal.addEventListener("abort", onAbort, { once: true });
23598
+ request.on("error", reject);
23599
+ if (body !== undefined)
23600
+ request.write(body);
23601
+ request.end();
23602
+ function onResponse(response) {
23603
+ const chunks = [];
23604
+ response.on("data", (chunk) => chunks.push(Buffer.from(chunk)));
23605
+ response.on("error", reject);
23606
+ response.on("end", () => {
23607
+ const headersRecord = {};
23608
+ for (const [name, value] of Object.entries(response.headers)) {
23609
+ if (typeof value === "string")
23610
+ headersRecord[name] = value;
23611
+ else if (Array.isArray(value))
23612
+ headersRecord[name] = value.join(", ");
23613
+ }
23614
+ resolve2(new Response(Buffer.concat(chunks), { status: response.statusCode ?? 200, headers: headersRecord }));
23615
+ });
23616
+ }
23617
+ });
23618
+ }
23619
+ async function dispatchValidatedWebhook(event, channel, input) {
23620
+ const { body, headers, startedAt, options } = input;
23621
+ const webhook = channel.webhook;
23622
+ if (!webhook)
23623
+ throw new Error(`Channel ${channel.id} has no webhook config`);
23624
+ const policy = options.webhookTargetPolicy ?? {};
23625
+ const maxRedirects = normalizeMaxRedirects(policy.maxRedirects);
23626
+ const controller = new AbortController;
23627
+ const timeout = setTimeout(() => controller.abort(), webhook.timeoutMs ?? 15000);
23628
+ try {
23629
+ let target = new URL(normalizeWebhookUrl(webhook.url));
23630
+ let requestHeaders = headers;
23631
+ let method = "POST";
23632
+ let requestBody = body;
23633
+ let redirectsFollowed = 0;
23634
+ for (;; ) {
23635
+ const resolved = await resolveWebhookTarget(target, policy).catch((error) => {
23636
+ throw new Error(`Webhook target rejected by SSRF guard: ${error.message}`);
23637
+ });
23638
+ const response = options.fetchImpl ? await options.fetchImpl(target, {
23639
+ method,
23640
+ headers: requestHeaders,
23641
+ body: requestBody,
23642
+ signal: controller.signal,
23643
+ redirect: "manual"
23644
+ }) : await pinnedNativeRequest(target, resolved.addresses, method, requestHeaders, requestBody, controller.signal, options.tls);
23645
+ const location = response.headers.get("location");
23646
+ if (isRedirectStatus(response.status) && location) {
23647
+ if (redirectsFollowed >= maxRedirects) {
23648
+ return failedAttempt(startedAt, `Webhook target exceeded ${maxRedirects} redirects`);
23649
+ }
23650
+ redirectsFollowed += 1;
23651
+ const next = new URL(location, target);
23652
+ target = next;
23653
+ if (!redirectKeepsBody(response.status)) {
23654
+ method = "GET";
23655
+ requestBody = undefined;
23656
+ requestHeaders = Object.fromEntries(Object.entries(requestHeaders).filter(([name]) => name.toLowerCase() !== "content-type" && name.toLowerCase() !== "content-length"));
23657
+ }
23658
+ continue;
23659
+ }
23660
+ const responseBody = truncate(await response.text());
23661
+ return {
23662
+ attempt: 1,
23663
+ status: response.ok ? "success" : "failed",
23664
+ startedAt,
23665
+ completedAt: now(),
23666
+ responseStatus: response.status,
23667
+ responseBody,
23668
+ error: response.ok ? undefined : `Webhook returned HTTP ${response.status}`
23669
+ };
23670
+ }
23671
+ } catch (error) {
23672
+ return {
23673
+ attempt: 1,
23674
+ status: "failed",
23675
+ startedAt,
23676
+ completedAt: now(),
23677
+ error: error instanceof Error ? error.message : String(error)
23678
+ };
23679
+ } finally {
23680
+ clearTimeout(timeout);
23681
+ }
23682
+ }
23370
23683
  function failedAttempt(startedAt, error) {
23371
23684
  return {
23372
23685
  attempt: 1,
@@ -23562,7 +23875,9 @@ class EventsClient {
23562
23875
  this.transportOptions = {
23563
23876
  fetchImpl: options.fetchImpl,
23564
23877
  secretResolver: options.secretResolver,
23565
- now: options.now
23878
+ now: options.now,
23879
+ tls: options.tls,
23880
+ webhookTargetPolicy: options.webhookTargetPolicy
23566
23881
  };
23567
23882
  this.catalog = options.catalog ?? defaultEventTypeCatalog;
23568
23883
  this.validateCatalogTypes = options.validateCatalogTypes ?? false;
@@ -23767,9 +24082,44 @@ function normalizeRetryPolicy(policy) {
23767
24082
  multiplier: Math.max(1, policy?.multiplier ?? 2)
23768
24083
  };
23769
24084
  }
23770
- var HASNA_EVENTS_DIR_ENV = "HASNA_EVENTS_DIR", HASNA_EVENTS_HOME_ENV = "HASNA_EVENTS_HOME", LOCAL_JSON_EVENT_CURSOR_PREFIX = "local-json-v1:", DEFAULT_EVENT_PAGE_LIMIT = 100, MAX_EVENT_PAGE_LIMIT = 1000, DEFAULT_SIGNATURE_TOLERANCE_MS, EventValidationError, defaultEventTypeCatalog, APP_EVENT_V1_MAX_DATA_BYTES;
24085
+ var HASNA_EVENTS_DIR_ENV = "HASNA_EVENTS_DIR", HASNA_EVENTS_HOME_ENV = "HASNA_EVENTS_HOME", LOCAL_JSON_EVENT_CURSOR_PREFIX = "local-json-v1:", DEFAULT_EVENT_PAGE_LIMIT = 100, MAX_EVENT_PAGE_LIMIT = 1000, DEFAULT_SIGNATURE_TOLERANCE_MS, DEFAULT_MAX_REDIRECTS = 5, IPV4_PRIVATE_RANGES, IPV6_SPECIAL_PREFIXES, defaultTargetLookup = async (hostname) => {
24086
+ return dnsLookup(hostname, { all: true, verbatim: false });
24087
+ }, EventValidationError, defaultEventTypeCatalog, APP_EVENT_V1_MAX_DATA_BYTES;
23771
24088
  var init_dist = __esm(() => {
23772
24089
  DEFAULT_SIGNATURE_TOLERANCE_MS = 5 * 60 * 1000;
24090
+ IPV4_PRIVATE_RANGES = [
24091
+ [0, 16777215],
24092
+ [167772160, 184549375],
24093
+ [1681915904, 1686110207],
24094
+ [2130706432, 2147483647],
24095
+ [2851995648, 2852061183],
24096
+ [2886729728, 2887778303],
24097
+ [3221225472, 3221225727],
24098
+ [3221225984, 3221226239],
24099
+ [3227017984, 3227018239],
24100
+ [3232235520, 3232301055],
24101
+ [3323068416, 3323199487],
24102
+ [3325256704, 3325256959],
24103
+ [3405803776, 3405804031],
24104
+ [3758096384, 4294967295]
24105
+ ];
24106
+ IPV6_SPECIAL_PREFIXES = [
24107
+ { groups: [0, 0, 0, 0, 0, 0, 0, 0], bits: 128 },
24108
+ { groups: [0, 0, 0, 0, 0, 0, 0, 1], bits: 128 },
24109
+ { groups: [0, 0, 0, 0, 0, 65535, 0, 0], bits: 96 },
24110
+ { groups: [100, 65435, 0, 0, 0, 0, 0, 0], bits: 96 },
24111
+ { groups: [256, 0, 0, 0, 0, 0, 0, 0], bits: 64 },
24112
+ { groups: [8193, 0, 0, 0, 0, 0, 0, 0], bits: 32 },
24113
+ { groups: [8193, 2, 0, 0, 0, 0, 0, 0], bits: 48 },
24114
+ { groups: [8193, 16, 0, 0, 0, 0, 0, 0], bits: 28 },
24115
+ { groups: [8193, 3512, 0, 0, 0, 0, 0, 0], bits: 32 },
24116
+ { groups: [8194, 0, 0, 0, 0, 0, 0, 0], bits: 16 },
24117
+ { groups: [16383, 0, 0, 0, 0, 0, 0, 0], bits: 20 },
24118
+ { groups: [64512, 0, 0, 0, 0, 0, 0, 0], bits: 7 },
24119
+ { groups: [65152, 0, 0, 0, 0, 0, 0, 0], bits: 10 },
24120
+ { groups: [65216, 0, 0, 0, 0, 0, 0, 0], bits: 10 },
24121
+ { groups: [65280, 0, 0, 0, 0, 0, 0, 0], bits: 8 }
24122
+ ];
23773
24123
  EventValidationError = class EventValidationError extends Error {
23774
24124
  eventType;
23775
24125
  issues;
@@ -24058,7 +24408,7 @@ function verifyBundleSignature(bytes, signature, key) {
24058
24408
  return expected.length === actual.length && timingSafeEqual(expected, actual);
24059
24409
  }
24060
24410
 
24061
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.26/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
24411
+ // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
24062
24412
  var { setFeature } = require_client2();
24063
24413
  var { HttpRequest } = require_protocols();
24064
24414
  var { isArrayBuffer, toUint8Array, createBufferedReadable, createChecksumStream } = require_serde();
@@ -24451,10 +24801,10 @@ var $NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = NODE_RESPONSE_CHECKSUM_V
24451
24801
  var $getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin;
24452
24802
  var $resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig;
24453
24803
 
24454
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
24804
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
24455
24805
  var import_client23 = __toESM(require_client2(), 1);
24456
24806
 
24457
- // ../../node_modules/.bun/@aws-sdk+middleware-sdk-s3@3.972.72/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
24807
+ // ../../node_modules/.bun/@aws-sdk+middleware-sdk-s3@3.972.74/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
24458
24808
  var { NoOpLogger, getSmithyContext } = require_client();
24459
24809
  var { HttpRequest: HttpRequest2, HttpResponse } = require_protocols();
24460
24810
  var { parseRfc7231DateTime } = require_serde();
@@ -25059,7 +25409,7 @@ var $getThrow200ExceptionsPlugin = getThrow200ExceptionsPlugin;
25059
25409
  var $getValidateBucketNamePlugin = getValidateBucketNamePlugin;
25060
25410
  var $resolveS3Config = resolveS3Config;
25061
25411
 
25062
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
25412
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
25063
25413
  var import_core = __toESM(require_dist_cjs2(), 1);
25064
25414
  var import_client24 = __toESM(require_client(), 1);
25065
25415
  var import_config29 = __toESM(require_config(), 1);
@@ -25069,17 +25419,17 @@ var import_protocols6 = __toESM(require_protocols(), 1);
25069
25419
  var import_retry4 = __toESM(require_retry(), 1);
25070
25420
  var import_schema2 = __toESM(require_schema(), 1);
25071
25421
 
25072
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
25422
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
25073
25423
  var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
25074
25424
  var import_signature_v4_multi_region = __toESM(require_dist_cjs4(), 1);
25075
25425
  var import_client2 = __toESM(require_client(), 1);
25076
25426
  var import_endpoints3 = __toESM(require_endpoints(), 1);
25077
25427
 
25078
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
25428
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
25079
25429
  var import_client = __toESM(require_client2(), 1);
25080
25430
  var import_endpoints2 = __toESM(require_endpoints(), 1);
25081
25431
 
25082
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
25432
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
25083
25433
  var import_endpoints = __toESM(require_endpoints(), 1);
25084
25434
  var aw = "ref";
25085
25435
  var ax = "argv";
@@ -27023,7 +27373,7 @@ var nodes = new Int32Array([
27023
27373
  ]);
27024
27374
  var bdd = import_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
27025
27375
 
27026
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
27376
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
27027
27377
  var cache = new import_endpoints2.EndpointCache({
27028
27378
  size: 50,
27029
27379
  params: [
@@ -27051,7 +27401,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
27051
27401
  };
27052
27402
  import_endpoints2.customEndpointFunctions.aws = import_client.awsEndpointFunctions;
27053
27403
 
27054
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
27404
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
27055
27405
  var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
27056
27406
  if (!input) {
27057
27407
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
@@ -27167,11 +27517,11 @@ var resolveHttpAuthSchemeConfig = (config) => {
27167
27517
  });
27168
27518
  };
27169
27519
 
27170
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
27520
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
27171
27521
  var import_client3 = __toESM(require_client(), 1);
27172
27522
  var import_endpoints4 = __toESM(require_endpoints(), 1);
27173
27523
 
27174
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
27524
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
27175
27525
  var resolveClientEndpointParameters = (options) => {
27176
27526
  return Object.assign(options, {
27177
27527
  useFipsEndpoint: options.useFipsEndpoint ?? false,
@@ -27197,7 +27547,7 @@ var commonParams = {
27197
27547
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27198
27548
  };
27199
27549
 
27200
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
27550
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
27201
27551
  var command = import_client3.makeBuilder(commonParams, "AmazonS3", "S3Client", import_endpoints4.getEndpointPlugin);
27202
27552
  var _ep0 = {
27203
27553
  Bucket: { type: "contextParams", name: "Bucket" },
@@ -27229,10 +27579,10 @@ var _mw11 = (Command, cs, config, o2) => [
27229
27579
  $getSsecPlugin(config)
27230
27580
  ];
27231
27581
 
27232
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
27582
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
27233
27583
  var import_schema = __toESM(require_schema(), 1);
27234
27584
 
27235
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
27585
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
27236
27586
  var import_client4 = __toESM(require_client(), 1);
27237
27587
  class S3ServiceException extends import_client4.ServiceException {
27238
27588
  constructor(options) {
@@ -27241,7 +27591,7 @@ class S3ServiceException extends import_client4.ServiceException {
27241
27591
  }
27242
27592
  }
27243
27593
 
27244
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
27594
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
27245
27595
  class NoSuchUpload extends S3ServiceException {
27246
27596
  name = "NoSuchUpload";
27247
27597
  $fault = "client";
@@ -27519,7 +27869,7 @@ class ObjectAlreadyInActiveTierError extends S3ServiceException {
27519
27869
  }
27520
27870
  }
27521
27871
 
27522
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
27872
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
27523
27873
  var _A = "Account";
27524
27874
  var _AAO = "AnalyticsAndOperator";
27525
27875
  var _AC = "AccelerateConfiguration";
@@ -32971,13 +33321,13 @@ var WriteGetObjectResponse$ = [
32971
33321
  () => __Unit
32972
33322
  ];
32973
33323
 
32974
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
33324
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
32975
33325
  class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
32976
33326
  }
32977
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/package.json
33327
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/package.json
32978
33328
  var package_default = {
32979
33329
  name: "@aws-sdk/client-s3",
32980
- version: "3.1106.0",
33330
+ version: "3.1112.0",
32981
33331
  description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
32982
33332
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
32983
33333
  license: "Apache-2.0",
@@ -33028,15 +33378,15 @@ var package_default = {
33028
33378
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
33029
33379
  "test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
33030
33380
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts",
33031
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
33381
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
33032
33382
  },
33033
33383
  dependencies: {
33034
- "@aws-sdk/checksums": "^3.1000.26",
33035
- "@aws-sdk/core": "^3.977.6",
33036
- "@aws-sdk/credential-provider-node": "^3.972.78",
33037
- "@aws-sdk/middleware-sdk-s3": "^3.972.72",
33038
- "@aws-sdk/signature-v4-multi-region": "^3.996.43",
33039
- "@aws-sdk/types": "^3.974.2",
33384
+ "@aws-sdk/checksums": "^3.1000.28",
33385
+ "@aws-sdk/core": "^3.977.8",
33386
+ "@aws-sdk/credential-provider-node": "^3.972.80",
33387
+ "@aws-sdk/middleware-sdk-s3": "^3.972.74",
33388
+ "@aws-sdk/signature-v4-multi-region": "^3.996.45",
33389
+ "@aws-sdk/types": "^3.974.4",
33040
33390
  "@smithy/core": "^3.31.1",
33041
33391
  "@smithy/fetch-http-handler": "^5.6.13",
33042
33392
  "@smithy/node-http-handler": "^4.9.13",
@@ -33044,14 +33394,14 @@ var package_default = {
33044
33394
  tslib: "^2.6.2"
33045
33395
  },
33046
33396
  devDependencies: {
33047
- "@aws-sdk/signature-v4-crt": "3.1106.0",
33397
+ "@aws-sdk/signature-v4-crt": "3.1112.0",
33048
33398
  "@smithy/snapshot-testing": "^2.2.16",
33049
33399
  "@tsconfig/node20": "20.1.8",
33050
33400
  "@types/node": "^20.14.8",
33051
33401
  concurrently: "7.0.0",
33052
33402
  "downlevel-dts": "0.10.1",
33053
33403
  premove: "4.0.0",
33054
- typescript: "~5.8.3",
33404
+ typescript: "~7.0.2",
33055
33405
  vitest: "^4.0.17"
33056
33406
  },
33057
33407
  engines: {
@@ -33059,15 +33409,15 @@ var package_default = {
33059
33409
  }
33060
33410
  };
33061
33411
 
33062
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33412
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33063
33413
  var import_client19 = __toESM(require_client2(), 1);
33064
33414
  var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
33065
33415
 
33066
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
33416
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
33067
33417
  init_dist_es();
33068
33418
  var import_config27 = __toESM(require_config(), 1);
33069
33419
 
33070
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
33420
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
33071
33421
  var import_config10 = __toESM(require_config(), 1);
33072
33422
  var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
33073
33423
  var remoteProvider = async (init) => {
@@ -33086,7 +33436,7 @@ var remoteProvider = async (init) => {
33086
33436
  return fromInstanceMetadata2(init);
33087
33437
  };
33088
33438
 
33089
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
33439
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
33090
33440
  function memoizeChain(providers, treatAsExpired) {
33091
33441
  const chain2 = internalCreateChain(providers);
33092
33442
  let activeLock;
@@ -33150,7 +33500,7 @@ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
33150
33500
  throw lastProviderError;
33151
33501
  };
33152
33502
 
33153
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
33503
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
33154
33504
  var multipleCredentialSourceWarningEmitted = false;
33155
33505
  var defaultProvider = (init = {}) => memoizeChain([
33156
33506
  async () => {
@@ -33216,7 +33566,7 @@ var defaultProvider = (init = {}) => memoizeChain([
33216
33566
  }
33217
33567
  ], credentialsTreatedAsExpired);
33218
33568
  var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
33219
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33569
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33220
33570
  var import_checksum2 = __toESM(require_checksum(), 1);
33221
33571
  var import_client20 = __toESM(require_client(), 1);
33222
33572
  var import_config28 = __toESM(require_config(), 1);
@@ -33225,7 +33575,7 @@ var import_retry3 = __toESM(require_retry(), 1);
33225
33575
  var import_serde4 = __toESM(require_serde(), 1);
33226
33576
  var import_node_http_handler2 = __toESM(require_dist_cjs6(), 1);
33227
33577
 
33228
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.26/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
33578
+ // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
33229
33579
  var { toUint8Array: toUint8Array2, concatBytes } = require_serde();
33230
33580
  var { createHmac: createHmac2, createHash: createHash3 } = __require("crypto");
33231
33581
  var { Sha256: Sha2562, Sha256Js, Sha256Node } = require_checksum();
@@ -33454,7 +33804,7 @@ var subtle = typeof digest === "function" && typeof sign2 === "function" && type
33454
33804
  var MAX_PENDING_BYTES = 8 * 1024 * 1024;
33455
33805
  var $Sha1 = Sha1Node;
33456
33806
 
33457
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
33807
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
33458
33808
  var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
33459
33809
  var import_signature_v4_multi_region2 = __toESM(require_dist_cjs4(), 1);
33460
33810
  var import_checksum = __toESM(require_checksum(), 1);
@@ -33506,7 +33856,7 @@ var getRuntimeConfig2 = (config) => {
33506
33856
  };
33507
33857
  };
33508
33858
 
33509
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33859
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
33510
33860
  var getRuntimeConfig3 = (config) => {
33511
33861
  import_client20.emitWarningIfUnsupportedVersion(process.version);
33512
33862
  const defaultsMode = import_config28.resolveDefaultsModeConfig(config);
@@ -33547,12 +33897,12 @@ var getRuntimeConfig3 = (config) => {
33547
33897
  };
33548
33898
  };
33549
33899
 
33550
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
33900
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
33551
33901
  var import_client21 = __toESM(require_client2(), 1);
33552
33902
  var import_client22 = __toESM(require_client(), 1);
33553
33903
  var import_protocols5 = __toESM(require_protocols(), 1);
33554
33904
 
33555
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
33905
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
33556
33906
  var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
33557
33907
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
33558
33908
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -33591,14 +33941,14 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
33591
33941
  };
33592
33942
  };
33593
33943
 
33594
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
33944
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
33595
33945
  var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
33596
33946
  const extensionConfiguration = Object.assign(import_client21.getAwsRegionExtensionConfiguration(runtimeConfig), import_client22.getDefaultExtensionConfiguration(runtimeConfig), import_protocols5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
33597
33947
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
33598
33948
  return Object.assign(runtimeConfig, import_client21.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client22.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
33599
33949
  };
33600
33950
 
33601
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
33951
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
33602
33952
  class S3Client extends import_client24.Client {
33603
33953
  config;
33604
33954
  constructor(...[configuration]) {
@@ -33643,15 +33993,15 @@ class S3Client extends import_client24.Client {
33643
33993
  }
33644
33994
  }
33645
33995
 
33646
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
33996
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
33647
33997
  class DeleteObjectCommand extends command(_ep0, _mw0, "DeleteObject", DeleteObject$) {
33648
33998
  }
33649
33999
 
33650
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
34000
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
33651
34001
  class GetObjectCommand extends command(_ep0, _mw7, "GetObject", GetObject$) {
33652
34002
  }
33653
34003
 
33654
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1106.0/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
34004
+ // ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
33655
34005
  class PutObjectCommand extends command(_ep0, _mw11, "PutObject", PutObject$) {
33656
34006
  }
33657
34007
 
@@ -45952,7 +46302,7 @@ function createReceiptService(store) {
45952
46302
  // src/sdk/execution/dispatchers/ecs.ts
45953
46303
  import { createHash as createHash11 } from "crypto";
45954
46304
 
45955
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
46305
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
45956
46306
  var import_client33 = __toESM(require_client2(), 1);
45957
46307
  var import_core2 = __toESM(require_dist_cjs2(), 1);
45958
46308
  var import_client34 = __toESM(require_client(), 1);
@@ -45962,7 +46312,7 @@ var import_protocols10 = __toESM(require_protocols(), 1);
45962
46312
  var import_retry6 = __toESM(require_retry(), 1);
45963
46313
  var import_schema4 = __toESM(require_schema(), 1);
45964
46314
 
45965
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthSchemeProvider.js
46315
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthSchemeProvider.js
45966
46316
  var import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
45967
46317
  var import_client25 = __toESM(require_client(), 1);
45968
46318
  var defaultECSHttpAuthSchemeParametersProvider = async (config, context, input) => {
@@ -46004,7 +46354,7 @@ var resolveHttpAuthSchemeConfig3 = (config) => {
46004
46354
  });
46005
46355
  };
46006
46356
 
46007
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/EndpointParameters.js
46357
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/EndpointParameters.js
46008
46358
  var resolveClientEndpointParameters3 = (options) => {
46009
46359
  return Object.assign(options, {
46010
46360
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -46018,10 +46368,10 @@ var commonParams3 = {
46018
46368
  Region: { type: "builtInParams", name: "region" },
46019
46369
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
46020
46370
  };
46021
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/package.json
46371
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/package.json
46022
46372
  var package_default2 = {
46023
46373
  name: "@aws-sdk/client-ecs",
46024
- version: "3.1106.0",
46374
+ version: "3.1112.0",
46025
46375
  description: "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
46026
46376
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecs",
46027
46377
  license: "Apache-2.0",
@@ -46066,12 +46416,12 @@ var package_default2 = {
46066
46416
  "generate:client": "node ../../scripts/generate-clients/single-service",
46067
46417
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
46068
46418
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
46069
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
46419
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
46070
46420
  },
46071
46421
  dependencies: {
46072
- "@aws-sdk/core": "^3.977.6",
46073
- "@aws-sdk/credential-provider-node": "^3.972.78",
46074
- "@aws-sdk/types": "^3.974.2",
46422
+ "@aws-sdk/core": "^3.977.8",
46423
+ "@aws-sdk/credential-provider-node": "^3.972.80",
46424
+ "@aws-sdk/types": "^3.974.4",
46075
46425
  "@smithy/core": "^3.31.1",
46076
46426
  "@smithy/fetch-http-handler": "^5.6.13",
46077
46427
  "@smithy/node-http-handler": "^4.9.13",
@@ -46084,14 +46434,14 @@ var package_default2 = {
46084
46434
  concurrently: "7.0.0",
46085
46435
  "downlevel-dts": "0.10.1",
46086
46436
  premove: "4.0.0",
46087
- typescript: "~5.8.3"
46437
+ typescript: "~7.0.2"
46088
46438
  },
46089
46439
  engines: {
46090
46440
  node: ">=20.0.0"
46091
46441
  }
46092
46442
  };
46093
46443
 
46094
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
46444
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
46095
46445
  var import_client29 = __toESM(require_client2(), 1);
46096
46446
  var import_httpAuthSchemes6 = __toESM(require_httpAuthSchemes(), 1);
46097
46447
  var import_client30 = __toESM(require_client(), 1);
@@ -46100,7 +46450,7 @@ var import_retry5 = __toESM(require_retry(), 1);
46100
46450
  var import_serde6 = __toESM(require_serde(), 1);
46101
46451
  var import_node_http_handler3 = __toESM(require_dist_cjs6(), 1);
46102
46452
 
46103
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
46453
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
46104
46454
  var import_httpAuthSchemes5 = __toESM(require_httpAuthSchemes(), 1);
46105
46455
  var import_protocols7 = __toESM(require_protocols2(), 1);
46106
46456
  var import_checksum3 = __toESM(require_checksum(), 1);
@@ -46108,11 +46458,11 @@ var import_client28 = __toESM(require_client(), 1);
46108
46458
  var import_protocols8 = __toESM(require_protocols(), 1);
46109
46459
  var import_serde5 = __toESM(require_serde(), 1);
46110
46460
 
46111
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
46461
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
46112
46462
  var import_client26 = __toESM(require_client2(), 1);
46113
46463
  var import_endpoints7 = __toESM(require_endpoints(), 1);
46114
46464
 
46115
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/bdd.js
46465
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/bdd.js
46116
46466
  var import_endpoints6 = __toESM(require_endpoints(), 1);
46117
46467
  var k3 = "ref";
46118
46468
  var a3 = -1;
@@ -46195,7 +46545,7 @@ var nodes3 = new Int32Array([
46195
46545
  ]);
46196
46546
  var bdd3 = import_endpoints6.BinaryDecisionDiagram.from(nodes3, root3, _data3.conditions, _data3.results);
46197
46547
 
46198
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
46548
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
46199
46549
  var cache3 = new import_endpoints7.EndpointCache({
46200
46550
  size: 50,
46201
46551
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
@@ -46208,10 +46558,10 @@ var defaultEndpointResolver3 = (endpointParams, context = {}) => {
46208
46558
  };
46209
46559
  import_endpoints7.customEndpointFunctions.aws = import_client26.awsEndpointFunctions;
46210
46560
 
46211
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
46561
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
46212
46562
  var import_schema3 = __toESM(require_schema(), 1);
46213
46563
 
46214
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/models/ECSServiceException.js
46564
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/models/ECSServiceException.js
46215
46565
  var import_client27 = __toESM(require_client(), 1);
46216
46566
  class ECSServiceException extends import_client27.ServiceException {
46217
46567
  constructor(options) {
@@ -46220,7 +46570,7 @@ class ECSServiceException extends import_client27.ServiceException {
46220
46570
  }
46221
46571
  }
46222
46572
 
46223
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/models/errors.js
46573
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/models/errors.js
46224
46574
  class AccessDeniedException extends ECSServiceException {
46225
46575
  name = "AccessDeniedException";
46226
46576
  $fault = "client";
@@ -46613,7 +46963,7 @@ class BlockedException extends ECSServiceException {
46613
46963
  }
46614
46964
  }
46615
46965
 
46616
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
46966
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
46617
46967
  var _A2 = "Attachment";
46618
46968
  var _ACR = "AcceleratorCountRequest";
46619
46969
  var _AD2 = "AttachmentDetails";
@@ -48999,7 +49349,7 @@ var StopTask$ = [
48999
49349
  () => StopTaskResponse$
49000
49350
  ];
49001
49351
 
49002
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
49352
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
49003
49353
  var getRuntimeConfig4 = (config) => {
49004
49354
  return {
49005
49355
  apiVersion: "2014-11-13",
@@ -49033,7 +49383,7 @@ var getRuntimeConfig4 = (config) => {
49033
49383
  };
49034
49384
  };
49035
49385
 
49036
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
49386
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
49037
49387
  var getRuntimeConfig5 = (config) => {
49038
49388
  import_client30.emitWarningIfUnsupportedVersion(process.version);
49039
49389
  const defaultsMode = import_config38.resolveDefaultsModeConfig(config);
@@ -49067,12 +49417,12 @@ var getRuntimeConfig5 = (config) => {
49067
49417
  };
49068
49418
  };
49069
49419
 
49070
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
49420
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
49071
49421
  var import_client31 = __toESM(require_client2(), 1);
49072
49422
  var import_client32 = __toESM(require_client(), 1);
49073
49423
  var import_protocols9 = __toESM(require_protocols(), 1);
49074
49424
 
49075
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthExtensionConfiguration.js
49425
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthExtensionConfiguration.js
49076
49426
  var getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
49077
49427
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
49078
49428
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -49111,14 +49461,14 @@ var resolveHttpAuthRuntimeConfig3 = (config) => {
49111
49461
  };
49112
49462
  };
49113
49463
 
49114
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
49464
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
49115
49465
  var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
49116
49466
  const extensionConfiguration = Object.assign(import_client31.getAwsRegionExtensionConfiguration(runtimeConfig), import_client32.getDefaultExtensionConfiguration(runtimeConfig), import_protocols9.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration3(runtimeConfig));
49117
49467
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
49118
49468
  return Object.assign(runtimeConfig, import_client31.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client32.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols9.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig3(extensionConfiguration));
49119
49469
  };
49120
49470
 
49121
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
49471
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
49122
49472
  class ECSClient extends import_client34.Client {
49123
49473
  config;
49124
49474
  constructor(...[configuration]) {
@@ -49154,26 +49504,26 @@ class ECSClient extends import_client34.Client {
49154
49504
  }
49155
49505
  }
49156
49506
 
49157
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/commandBuilder.js
49507
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/commandBuilder.js
49158
49508
  var import_client35 = __toESM(require_client(), 1);
49159
49509
  var import_endpoints9 = __toESM(require_endpoints(), 1);
49160
49510
  var command3 = import_client35.makeBuilder(commonParams3, "AmazonEC2ContainerServiceV20141113", "ECSClient", import_endpoints9.getEndpointPlugin);
49161
49511
  var _ep03 = {};
49162
49512
  var _mw03 = (Command, cs, config, o2) => [];
49163
49513
 
49164
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeTasksCommand.js
49514
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeTasksCommand.js
49165
49515
  class DescribeTasksCommand extends command3(_ep03, _mw03, "DescribeTasks", DescribeTasks$) {
49166
49516
  }
49167
49517
 
49168
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/ListTasksCommand.js
49518
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/ListTasksCommand.js
49169
49519
  class ListTasksCommand extends command3(_ep03, _mw03, "ListTasks", ListTasks$) {
49170
49520
  }
49171
49521
 
49172
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/RunTaskCommand.js
49522
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/RunTaskCommand.js
49173
49523
  class RunTaskCommand extends command3(_ep03, _mw03, "RunTask", RunTask$) {
49174
49524
  }
49175
49525
 
49176
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1106.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/StopTaskCommand.js
49526
+ // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1112.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/StopTaskCommand.js
49177
49527
  class StopTaskCommand extends command3(_ep03, _mw03, "StopTask", StopTask$) {
49178
49528
  }
49179
49529