@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/bin/index.js +373 -18
- package/bin/mcp.js +8 -4
- package/bin/server.js +198 -193
- package/bin/worker.js +191 -190
- package/dist/admin-contract.d.ts +6189 -0
- package/dist/admin-contract.js +4451 -0
- package/dist/index.js +7 -3
- package/dist/sdk/index.js +573 -223
- package/dist/sdk/runs.d.ts +8 -8
- package/package.json +7 -3
package/bin/server.js
CHANGED
|
@@ -47,7 +47,7 @@ var __export = (target, all) => {
|
|
|
47
47
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
48
48
|
var __require = import.meta.require;
|
|
49
49
|
|
|
50
|
-
// ../../node_modules/.bun/@smithy+types@4.
|
|
50
|
+
// ../../node_modules/.bun/@smithy+types@4.17.2/node_modules/@smithy/types/dist-cjs/index.js
|
|
51
51
|
var require_dist_cjs = __commonJS((exports) => {
|
|
52
52
|
var HttpAuthLocation;
|
|
53
53
|
(function(HttpAuthLocation2) {
|
|
@@ -138,7 +138,7 @@ var require_dist_cjs = __commonJS((exports) => {
|
|
|
138
138
|
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
141
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
|
|
142
142
|
var require_transport = __commonJS((exports) => {
|
|
143
143
|
var { SMITHY_CONTEXT_KEY } = require_dist_cjs();
|
|
144
144
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
@@ -305,7 +305,7 @@ var require_transport = __commonJS((exports) => {
|
|
|
305
305
|
exports.toEndpointV1 = toEndpointV1;
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
308
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
|
|
309
309
|
var require_schema = __commonJS((exports) => {
|
|
310
310
|
var { getSmithyContext, HttpResponse, toEndpointV1 } = require_transport();
|
|
311
311
|
var deref = (schemaRef) => {
|
|
@@ -438,8 +438,6 @@ var require_schema = __commonJS((exports) => {
|
|
|
438
438
|
|
|
439
439
|
class ListSchema extends Schema {
|
|
440
440
|
static symbol = Symbol.for("@smithy/lis");
|
|
441
|
-
name;
|
|
442
|
-
traits;
|
|
443
441
|
valueSchema;
|
|
444
442
|
symbol = ListSchema.symbol;
|
|
445
443
|
}
|
|
@@ -452,8 +450,6 @@ var require_schema = __commonJS((exports) => {
|
|
|
452
450
|
|
|
453
451
|
class MapSchema extends Schema {
|
|
454
452
|
static symbol = Symbol.for("@smithy/map");
|
|
455
|
-
name;
|
|
456
|
-
traits;
|
|
457
453
|
keySchema;
|
|
458
454
|
valueSchema;
|
|
459
455
|
symbol = MapSchema.symbol;
|
|
@@ -468,8 +464,6 @@ var require_schema = __commonJS((exports) => {
|
|
|
468
464
|
|
|
469
465
|
class OperationSchema extends Schema {
|
|
470
466
|
static symbol = Symbol.for("@smithy/ope");
|
|
471
|
-
name;
|
|
472
|
-
traits;
|
|
473
467
|
input;
|
|
474
468
|
output;
|
|
475
469
|
symbol = OperationSchema.symbol;
|
|
@@ -484,8 +478,6 @@ var require_schema = __commonJS((exports) => {
|
|
|
484
478
|
|
|
485
479
|
class StructureSchema extends Schema {
|
|
486
480
|
static symbol = Symbol.for("@smithy/str");
|
|
487
|
-
name;
|
|
488
|
-
traits;
|
|
489
481
|
memberNames;
|
|
490
482
|
memberList;
|
|
491
483
|
symbol = StructureSchema.symbol;
|
|
@@ -820,9 +812,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
820
812
|
|
|
821
813
|
class SimpleSchema extends Schema {
|
|
822
814
|
static symbol = Symbol.for("@smithy/sim");
|
|
823
|
-
name;
|
|
824
815
|
schemaRef;
|
|
825
|
-
traits;
|
|
826
816
|
symbol = SimpleSchema.symbol;
|
|
827
817
|
}
|
|
828
818
|
var sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema, {
|
|
@@ -984,7 +974,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
984
974
|
exports.translateTraits = translateTraits;
|
|
985
975
|
});
|
|
986
976
|
|
|
987
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
977
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
|
|
988
978
|
var require_client = __commonJS((exports) => {
|
|
989
979
|
var { getSmithyContext, normalizeProvider } = require_transport();
|
|
990
980
|
exports.getSmithyContext = getSmithyContext;
|
|
@@ -2053,7 +2043,7 @@ var require_client = __commonJS((exports) => {
|
|
|
2053
2043
|
exports.withBaseException = withBaseException;
|
|
2054
2044
|
});
|
|
2055
2045
|
|
|
2056
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
2046
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
|
|
2057
2047
|
var require_config = __commonJS((exports) => {
|
|
2058
2048
|
var { homedir } = __require("os");
|
|
2059
2049
|
var { sep, join } = __require("path");
|
|
@@ -2748,7 +2738,7 @@ var require_config = __commonJS((exports) => {
|
|
|
2748
2738
|
exports.resolveRegionConfig = resolveRegionConfig;
|
|
2749
2739
|
});
|
|
2750
2740
|
|
|
2751
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
2741
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
|
|
2752
2742
|
var require_endpoints = __commonJS((exports) => {
|
|
2753
2743
|
var { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require_config();
|
|
2754
2744
|
var { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require_transport();
|
|
@@ -3560,7 +3550,7 @@ var require_endpoints = __commonJS((exports) => {
|
|
|
3560
3550
|
exports.resolveParams = resolveParams;
|
|
3561
3551
|
});
|
|
3562
3552
|
|
|
3563
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
3553
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
|
|
3564
3554
|
var require_serde = __commonJS((exports) => {
|
|
3565
3555
|
var { createHmac: createHmac2, createHash, getRandomValues } = __require("crypto");
|
|
3566
3556
|
var { ReadStream, lstatSync, fstatSync } = __require("fs");
|
|
@@ -5198,7 +5188,7 @@ ${value}\r
|
|
|
5198
5188
|
exports.v4 = v4;
|
|
5199
5189
|
});
|
|
5200
5190
|
|
|
5201
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
5191
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
|
|
5202
5192
|
var require_checksum = __commonJS((exports) => {
|
|
5203
5193
|
var { createReadStream } = __require("fs");
|
|
5204
5194
|
var { Writable } = __require("stream");
|
|
@@ -5814,7 +5804,7 @@ var require_checksum = __commonJS((exports) => {
|
|
|
5814
5804
|
exports.readableStreamHasher = readableStreamHasher;
|
|
5815
5805
|
});
|
|
5816
5806
|
|
|
5817
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
5807
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
|
|
5818
5808
|
var require_event_streams = __commonJS((exports) => {
|
|
5819
5809
|
var { Crc32 } = require_checksum();
|
|
5820
5810
|
var { toHex, fromHex, toUtf8, fromUtf8 } = require_serde();
|
|
@@ -5889,27 +5879,27 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
5889
5879
|
formatHeaderValue(header) {
|
|
5890
5880
|
switch (header.type) {
|
|
5891
5881
|
case "boolean":
|
|
5892
|
-
return Uint8Array.from([header.value ?
|
|
5882
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
5893
5883
|
case "byte":
|
|
5894
|
-
return Uint8Array.from([
|
|
5884
|
+
return Uint8Array.from([2, header.value]);
|
|
5895
5885
|
case "short":
|
|
5896
5886
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
5897
|
-
shortView.setUint8(0,
|
|
5887
|
+
shortView.setUint8(0, 3);
|
|
5898
5888
|
shortView.setInt16(1, header.value, false);
|
|
5899
5889
|
return new Uint8Array(shortView.buffer);
|
|
5900
5890
|
case "integer":
|
|
5901
5891
|
const intView = new DataView(new ArrayBuffer(5));
|
|
5902
|
-
intView.setUint8(0,
|
|
5892
|
+
intView.setUint8(0, 4);
|
|
5903
5893
|
intView.setInt32(1, header.value, false);
|
|
5904
5894
|
return new Uint8Array(intView.buffer);
|
|
5905
5895
|
case "long":
|
|
5906
5896
|
const longBytes = new Uint8Array(9);
|
|
5907
|
-
longBytes[0] =
|
|
5897
|
+
longBytes[0] = 5;
|
|
5908
5898
|
longBytes.set(header.value.bytes, 1);
|
|
5909
5899
|
return longBytes;
|
|
5910
5900
|
case "binary":
|
|
5911
5901
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
5912
|
-
binView.setUint8(0,
|
|
5902
|
+
binView.setUint8(0, 6);
|
|
5913
5903
|
binView.setUint16(1, header.value.byteLength, false);
|
|
5914
5904
|
const binBytes = new Uint8Array(binView.buffer);
|
|
5915
5905
|
binBytes.set(header.value, 3);
|
|
@@ -5917,14 +5907,14 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
5917
5907
|
case "string":
|
|
5918
5908
|
const utf8Bytes = this.fromUtf8(header.value);
|
|
5919
5909
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
5920
|
-
strView.setUint8(0,
|
|
5910
|
+
strView.setUint8(0, 7);
|
|
5921
5911
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
5922
5912
|
const strBytes = new Uint8Array(strView.buffer);
|
|
5923
5913
|
strBytes.set(utf8Bytes, 3);
|
|
5924
5914
|
return strBytes;
|
|
5925
5915
|
case "timestamp":
|
|
5926
5916
|
const tsBytes = new Uint8Array(9);
|
|
5927
|
-
tsBytes[0] =
|
|
5917
|
+
tsBytes[0] = 8;
|
|
5928
5918
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
5929
5919
|
return tsBytes;
|
|
5930
5920
|
case "uuid":
|
|
@@ -5932,7 +5922,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
5932
5922
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
5933
5923
|
}
|
|
5934
5924
|
const uuidBytes = new Uint8Array(17);
|
|
5935
|
-
uuidBytes[0] =
|
|
5925
|
+
uuidBytes[0] = 9;
|
|
5936
5926
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
5937
5927
|
return uuidBytes;
|
|
5938
5928
|
}
|
|
@@ -5945,46 +5935,46 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
5945
5935
|
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
5946
5936
|
position += nameLength;
|
|
5947
5937
|
switch (headers.getUint8(position++)) {
|
|
5948
|
-
case
|
|
5938
|
+
case 0:
|
|
5949
5939
|
out[name] = {
|
|
5950
5940
|
type: BOOLEAN_TAG,
|
|
5951
5941
|
value: true
|
|
5952
5942
|
};
|
|
5953
5943
|
break;
|
|
5954
|
-
case
|
|
5944
|
+
case 1:
|
|
5955
5945
|
out[name] = {
|
|
5956
5946
|
type: BOOLEAN_TAG,
|
|
5957
5947
|
value: false
|
|
5958
5948
|
};
|
|
5959
5949
|
break;
|
|
5960
|
-
case
|
|
5950
|
+
case 2:
|
|
5961
5951
|
out[name] = {
|
|
5962
5952
|
type: BYTE_TAG,
|
|
5963
5953
|
value: headers.getInt8(position++)
|
|
5964
5954
|
};
|
|
5965
5955
|
break;
|
|
5966
|
-
case
|
|
5956
|
+
case 3:
|
|
5967
5957
|
out[name] = {
|
|
5968
5958
|
type: SHORT_TAG,
|
|
5969
5959
|
value: headers.getInt16(position, false)
|
|
5970
5960
|
};
|
|
5971
5961
|
position += 2;
|
|
5972
5962
|
break;
|
|
5973
|
-
case
|
|
5963
|
+
case 4:
|
|
5974
5964
|
out[name] = {
|
|
5975
5965
|
type: INT_TAG,
|
|
5976
5966
|
value: headers.getInt32(position, false)
|
|
5977
5967
|
};
|
|
5978
5968
|
position += 4;
|
|
5979
5969
|
break;
|
|
5980
|
-
case
|
|
5970
|
+
case 5:
|
|
5981
5971
|
out[name] = {
|
|
5982
5972
|
type: LONG_TAG,
|
|
5983
5973
|
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
5984
5974
|
};
|
|
5985
5975
|
position += 8;
|
|
5986
5976
|
break;
|
|
5987
|
-
case
|
|
5977
|
+
case 6:
|
|
5988
5978
|
const binaryLength = headers.getUint16(position, false);
|
|
5989
5979
|
position += 2;
|
|
5990
5980
|
out[name] = {
|
|
@@ -5993,7 +5983,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
5993
5983
|
};
|
|
5994
5984
|
position += binaryLength;
|
|
5995
5985
|
break;
|
|
5996
|
-
case
|
|
5986
|
+
case 7:
|
|
5997
5987
|
const stringLength = headers.getUint16(position, false);
|
|
5998
5988
|
position += 2;
|
|
5999
5989
|
out[name] = {
|
|
@@ -6002,14 +5992,14 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6002
5992
|
};
|
|
6003
5993
|
position += stringLength;
|
|
6004
5994
|
break;
|
|
6005
|
-
case
|
|
5995
|
+
case 8:
|
|
6006
5996
|
out[name] = {
|
|
6007
5997
|
type: TIMESTAMP_TAG,
|
|
6008
5998
|
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
6009
5999
|
};
|
|
6010
6000
|
position += 8;
|
|
6011
6001
|
break;
|
|
6012
|
-
case
|
|
6002
|
+
case 9:
|
|
6013
6003
|
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
6014
6004
|
position += 16;
|
|
6015
6005
|
out[name] = {
|
|
@@ -6432,7 +6422,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6432
6422
|
this.defaultContentType = defaultContentType;
|
|
6433
6423
|
this.compositeErrorRegistry = compositeErrorRegistry;
|
|
6434
6424
|
}
|
|
6435
|
-
async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
|
|
6425
|
+
async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType }) {
|
|
6436
6426
|
const marshaller = this.marshaller;
|
|
6437
6427
|
const eventStreamMember = requestSchema.getEventStreamMember();
|
|
6438
6428
|
const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
|
|
@@ -6443,7 +6433,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6443
6433
|
async* [Symbol.asyncIterator]() {
|
|
6444
6434
|
if (initialRequest) {
|
|
6445
6435
|
const headers = {
|
|
6446
|
-
":event-type": { type: "string", value: "initial-request" },
|
|
6436
|
+
":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
|
|
6447
6437
|
":message-type": { type: "string", value: "event" },
|
|
6448
6438
|
":content-type": { type: "string", value: defaultContentType }
|
|
6449
6439
|
};
|
|
@@ -6487,7 +6477,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6487
6477
|
};
|
|
6488
6478
|
});
|
|
6489
6479
|
}
|
|
6490
|
-
async deserializeEventStream({ response, responseSchema, initialResponseContainer }) {
|
|
6480
|
+
async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType }) {
|
|
6491
6481
|
const marshaller = this.marshaller;
|
|
6492
6482
|
const eventStreamMember = responseSchema.getEventStreamMember();
|
|
6493
6483
|
const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
|
|
@@ -6502,7 +6492,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6502
6492
|
}
|
|
6503
6493
|
}
|
|
6504
6494
|
const body = event[unionMember].body;
|
|
6505
|
-
if (unionMember === "initial-response") {
|
|
6495
|
+
if (unionMember === (initialMessageType ?? "initial-response")) {
|
|
6506
6496
|
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
6507
6497
|
delete dataObject[eventStreamMember];
|
|
6508
6498
|
return {
|
|
@@ -6697,7 +6687,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6697
6687
|
exports.universalEventStreamSerdeProvider = eventStreamSerdeProvider$1;
|
|
6698
6688
|
});
|
|
6699
6689
|
|
|
6700
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
6690
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
|
|
6701
6691
|
var require_protocols = __commonJS((exports) => {
|
|
6702
6692
|
var { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require_serde();
|
|
6703
6693
|
var { TypeRegistry, NormalizedSchema, translateTraits } = require_schema();
|
|
@@ -7170,10 +7160,9 @@ var require_protocols = __commonJS((exports) => {
|
|
|
7170
7160
|
if (eventStreamMember) {
|
|
7171
7161
|
if (input[eventStreamMember]) {
|
|
7172
7162
|
const initialRequest = {};
|
|
7173
|
-
for (const [memberName
|
|
7174
|
-
if (memberName !== eventStreamMember && input[memberName]) {
|
|
7175
|
-
|
|
7176
|
-
initialRequest[memberName] = serializer.flush();
|
|
7163
|
+
for (const [memberName] of ns.structIterator()) {
|
|
7164
|
+
if (memberName !== eventStreamMember && input[memberName] != null) {
|
|
7165
|
+
initialRequest[memberName] = input[memberName];
|
|
7177
7166
|
}
|
|
7178
7167
|
}
|
|
7179
7168
|
payload = await this.serializeEventStream({
|
|
@@ -7582,24 +7571,27 @@ var require_protocols = __commonJS((exports) => {
|
|
|
7582
7571
|
}
|
|
7583
7572
|
}
|
|
7584
7573
|
var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
7574
|
+
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
7575
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
|
|
7576
|
+
}
|
|
7585
7577
|
return {
|
|
7586
7578
|
setHttpHandler(handler) {
|
|
7587
|
-
runtimeConfig.
|
|
7579
|
+
runtimeConfig.requestHandler = handler;
|
|
7588
7580
|
},
|
|
7589
7581
|
httpHandler() {
|
|
7590
|
-
return runtimeConfig.
|
|
7582
|
+
return runtimeConfig.requestHandler;
|
|
7591
7583
|
},
|
|
7592
7584
|
updateHttpClientConfig(key, value) {
|
|
7593
|
-
runtimeConfig.
|
|
7585
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
|
|
7594
7586
|
},
|
|
7595
7587
|
httpHandlerConfigs() {
|
|
7596
|
-
return runtimeConfig.
|
|
7588
|
+
return runtimeConfig.requestHandler.httpHandlerConfigs();
|
|
7597
7589
|
}
|
|
7598
7590
|
};
|
|
7599
7591
|
};
|
|
7600
7592
|
var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
7601
7593
|
return {
|
|
7602
|
-
|
|
7594
|
+
requestHandler: httpHandlerExtensionConfiguration.httpHandler()
|
|
7603
7595
|
};
|
|
7604
7596
|
};
|
|
7605
7597
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
@@ -7611,10 +7603,12 @@ var require_protocols = __commonJS((exports) => {
|
|
|
7611
7603
|
if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) {
|
|
7612
7604
|
try {
|
|
7613
7605
|
const length = bodyLengthChecker(body);
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7606
|
+
if (length != null) {
|
|
7607
|
+
request.headers = {
|
|
7608
|
+
...request.headers,
|
|
7609
|
+
[CONTENT_LENGTH_HEADER]: String(length)
|
|
7610
|
+
};
|
|
7611
|
+
}
|
|
7618
7612
|
} catch (ignored) {}
|
|
7619
7613
|
}
|
|
7620
7614
|
}
|
|
@@ -7683,7 +7677,7 @@ var require_protocols = __commonJS((exports) => {
|
|
|
7683
7677
|
exports.resolvedPath = resolvedPath;
|
|
7684
7678
|
});
|
|
7685
7679
|
|
|
7686
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
7680
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
|
|
7687
7681
|
var require_retry = __commonJS((exports) => {
|
|
7688
7682
|
var { Readable } = __require("stream");
|
|
7689
7683
|
var { NoOpLogger, normalizeProvider } = require_client();
|
|
@@ -8609,7 +8603,7 @@ var require_invoke_store = __commonJS((exports) => {
|
|
|
8609
8603
|
exports.InvokeStoreBase = InvokeStoreBase;
|
|
8610
8604
|
});
|
|
8611
8605
|
|
|
8612
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
8606
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/index.js
|
|
8613
8607
|
var require_dist_cjs2 = __commonJS((exports) => {
|
|
8614
8608
|
var { getSmithyContext } = require_transport();
|
|
8615
8609
|
exports.getSmithyContext = getSmithyContext;
|
|
@@ -9775,7 +9769,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
9775
9769
|
});
|
|
9776
9770
|
});
|
|
9777
9771
|
|
|
9778
|
-
// ../../node_modules/.bun/@aws-sdk+core@3.977.
|
|
9772
|
+
// ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
|
|
9779
9773
|
var require_client2 = __commonJS((exports) => {
|
|
9780
9774
|
var { Retry, RETRY_MODES } = require_retry();
|
|
9781
9775
|
var { HttpRequest, parseUrl } = require_protocols();
|
|
@@ -10713,7 +10707,7 @@ More information can be found at: https://a.co/c895JFp`);
|
|
|
10713
10707
|
exports.userAgentMiddleware = userAgentMiddleware;
|
|
10714
10708
|
});
|
|
10715
10709
|
|
|
10716
|
-
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.
|
|
10710
|
+
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
|
|
10717
10711
|
var require_crc = __commonJS((exports) => {
|
|
10718
10712
|
var { Crc32, Crc32Js, Crc32Node } = require_checksum();
|
|
10719
10713
|
exports.Crc32 = Crc32;
|
|
@@ -10870,7 +10864,7 @@ var require_crc = __commonJS((exports) => {
|
|
|
10870
10864
|
exports.crc64NvmeCrtContainer = crc64NvmeCrtContainer;
|
|
10871
10865
|
});
|
|
10872
10866
|
|
|
10873
|
-
// ../../node_modules/.bun/@smithy+signature-v4@5.
|
|
10867
|
+
// ../../node_modules/.bun/@smithy+signature-v4@5.7.2/node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
10874
10868
|
var require_dist_cjs3 = __commonJS((exports) => {
|
|
10875
10869
|
var { fromUtf8, fromHex, toHex, toUint8Array: toUint8Array2, isArrayBuffer: isArrayBuffer2 } = require_serde();
|
|
10876
10870
|
var { normalizeProvider: normalizeProvider2 } = require_client();
|
|
@@ -10894,27 +10888,27 @@ var require_dist_cjs3 = __commonJS((exports) => {
|
|
|
10894
10888
|
formatHeaderValue(header) {
|
|
10895
10889
|
switch (header.type) {
|
|
10896
10890
|
case "boolean":
|
|
10897
|
-
return Uint8Array.from([header.value ?
|
|
10891
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
10898
10892
|
case "byte":
|
|
10899
|
-
return Uint8Array.from([
|
|
10893
|
+
return Uint8Array.from([2, header.value]);
|
|
10900
10894
|
case "short":
|
|
10901
10895
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
10902
|
-
shortView.setUint8(0,
|
|
10896
|
+
shortView.setUint8(0, 3);
|
|
10903
10897
|
shortView.setInt16(1, header.value, false);
|
|
10904
10898
|
return new Uint8Array(shortView.buffer);
|
|
10905
10899
|
case "integer":
|
|
10906
10900
|
const intView = new DataView(new ArrayBuffer(5));
|
|
10907
|
-
intView.setUint8(0,
|
|
10901
|
+
intView.setUint8(0, 4);
|
|
10908
10902
|
intView.setInt32(1, header.value, false);
|
|
10909
10903
|
return new Uint8Array(intView.buffer);
|
|
10910
10904
|
case "long":
|
|
10911
10905
|
const longBytes = new Uint8Array(9);
|
|
10912
|
-
longBytes[0] =
|
|
10906
|
+
longBytes[0] = 5;
|
|
10913
10907
|
longBytes.set(header.value.bytes, 1);
|
|
10914
10908
|
return longBytes;
|
|
10915
10909
|
case "binary":
|
|
10916
10910
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
10917
|
-
binView.setUint8(0,
|
|
10911
|
+
binView.setUint8(0, 6);
|
|
10918
10912
|
binView.setUint16(1, header.value.byteLength, false);
|
|
10919
10913
|
const binBytes = new Uint8Array(binView.buffer);
|
|
10920
10914
|
binBytes.set(header.value, 3);
|
|
@@ -10922,14 +10916,14 @@ var require_dist_cjs3 = __commonJS((exports) => {
|
|
|
10922
10916
|
case "string":
|
|
10923
10917
|
const utf8Bytes = fromUtf8(header.value);
|
|
10924
10918
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
10925
|
-
strView.setUint8(0,
|
|
10919
|
+
strView.setUint8(0, 7);
|
|
10926
10920
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
10927
10921
|
const strBytes = new Uint8Array(strView.buffer);
|
|
10928
10922
|
strBytes.set(utf8Bytes, 3);
|
|
10929
10923
|
return strBytes;
|
|
10930
10924
|
case "timestamp":
|
|
10931
10925
|
const tsBytes = new Uint8Array(9);
|
|
10932
|
-
tsBytes[0] =
|
|
10926
|
+
tsBytes[0] = 8;
|
|
10933
10927
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
10934
10928
|
return tsBytes;
|
|
10935
10929
|
case "uuid":
|
|
@@ -10937,7 +10931,7 @@ var require_dist_cjs3 = __commonJS((exports) => {
|
|
|
10937
10931
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
10938
10932
|
}
|
|
10939
10933
|
const uuidBytes = new Uint8Array(17);
|
|
10940
|
-
uuidBytes[0] =
|
|
10934
|
+
uuidBytes[0] = 9;
|
|
10941
10935
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
10942
10936
|
return uuidBytes;
|
|
10943
10937
|
}
|
|
@@ -11410,7 +11404,7 @@ ${toHex(hashedRequest)}`;
|
|
|
11410
11404
|
exports.signatureV4aContainer = signatureV4aContainer;
|
|
11411
11405
|
});
|
|
11412
11406
|
|
|
11413
|
-
// ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.
|
|
11407
|
+
// ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.45/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
|
|
11414
11408
|
var require_dist_cjs4 = __commonJS((exports) => {
|
|
11415
11409
|
var { SignatureV4, signatureV4aContainer } = require_dist_cjs3();
|
|
11416
11410
|
var signatureV4CrtContainer = {
|
|
@@ -11542,7 +11536,7 @@ var require_dist_cjs4 = __commonJS((exports) => {
|
|
|
11542
11536
|
exports.signatureV4CrtContainer = signatureV4CrtContainer;
|
|
11543
11537
|
});
|
|
11544
11538
|
|
|
11545
|
-
// ../../node_modules/.bun/@aws-sdk+core@3.977.
|
|
11539
|
+
// ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
|
|
11546
11540
|
var require_util = __commonJS((exports) => {
|
|
11547
11541
|
var { buildQueryString } = require_protocols();
|
|
11548
11542
|
var validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
|
|
@@ -11600,7 +11594,7 @@ var require_util = __commonJS((exports) => {
|
|
|
11600
11594
|
exports.validate = validate;
|
|
11601
11595
|
});
|
|
11602
11596
|
|
|
11603
|
-
// ../../node_modules/.bun/@smithy+core@3.
|
|
11597
|
+
// ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
|
|
11604
11598
|
var require_cbor = __commonJS((exports) => {
|
|
11605
11599
|
var { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require_serde();
|
|
11606
11600
|
var { HttpRequest: HttpRequest2, collectBody, SerdeContext, RpcProtocol } = require_protocols();
|
|
@@ -13694,9 +13688,9 @@ var require_cbor = __commonJS((exports) => {
|
|
|
13694
13688
|
this.serializer.write(15, {});
|
|
13695
13689
|
request.body = this.serializer.flush();
|
|
13696
13690
|
}
|
|
13697
|
-
|
|
13691
|
+
if (request.body instanceof Uint8Array) {
|
|
13698
13692
|
request.headers["content-length"] = String(request.body.byteLength);
|
|
13699
|
-
}
|
|
13693
|
+
}
|
|
13700
13694
|
}
|
|
13701
13695
|
const { service, operation } = getSmithyContext(context);
|
|
13702
13696
|
const path = `/service/${service}/operation/${operation}`;
|
|
@@ -13968,7 +13962,7 @@ var require_cbor = __commonJS((exports) => {
|
|
|
13968
13962
|
exports.tagSymbol = tagSymbol;
|
|
13969
13963
|
});
|
|
13970
13964
|
|
|
13971
|
-
// ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.
|
|
13965
|
+
// ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.39/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
|
|
13972
13966
|
var require_dist_cjs5 = __commonJS((exports) => {
|
|
13973
13967
|
var ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
13974
13968
|
var ATTR_ESCAPE_MAP = {
|
|
@@ -14336,7 +14330,7 @@ var require_dist_cjs5 = __commonJS((exports) => {
|
|
|
14336
14330
|
exports.parseXML = parseXML;
|
|
14337
14331
|
});
|
|
14338
14332
|
|
|
14339
|
-
// ../../node_modules/.bun/@aws-sdk+core@3.977.
|
|
14333
|
+
// ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
|
|
14340
14334
|
var require_protocols2 = __commonJS((exports) => {
|
|
14341
14335
|
var { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require_cbor();
|
|
14342
14336
|
var { TypeRegistry, NormalizedSchema, deref } = require_schema();
|
|
@@ -17177,7 +17171,7 @@ var require_protocols2 = __commonJS((exports) => {
|
|
|
17177
17171
|
exports.parseXmlErrorBody = parseXmlErrorBody;
|
|
17178
17172
|
});
|
|
17179
17173
|
|
|
17180
|
-
// ../../node_modules/.bun/@aws-sdk+core@3.977.
|
|
17174
|
+
// ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
|
|
17181
17175
|
var require_httpAuthSchemes = __commonJS((exports) => {
|
|
17182
17176
|
var { ProviderError, booleanSelector: booleanSelector2, SelectorType: SelectorType3, loadConfig } = require_config();
|
|
17183
17177
|
var { setCredentialFeature } = require_client2();
|
|
@@ -17507,7 +17501,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
|
|
|
17507
17501
|
exports.validateSigningProperties = validateSigningProperties;
|
|
17508
17502
|
});
|
|
17509
17503
|
|
|
17510
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.
|
|
17504
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
17511
17505
|
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 () => {
|
|
17512
17506
|
init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
|
|
17513
17507
|
const accessKeyId = process.env[ENV_KEY];
|
|
@@ -17535,7 +17529,7 @@ var init_fromEnv = __esm(() => {
|
|
|
17535
17529
|
import_config = __toESM(require_config(), 1);
|
|
17536
17530
|
});
|
|
17537
17531
|
|
|
17538
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.
|
|
17532
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
|
|
17539
17533
|
var exports_dist_es = {};
|
|
17540
17534
|
__export(exports_dist_es, {
|
|
17541
17535
|
fromEnv: () => fromEnv,
|
|
@@ -17550,7 +17544,7 @@ var init_dist_es = __esm(() => {
|
|
|
17550
17544
|
init_fromEnv();
|
|
17551
17545
|
});
|
|
17552
17546
|
|
|
17553
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17547
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|
|
17554
17548
|
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) => ({
|
|
17555
17549
|
accessKeyId: creds.AccessKeyId,
|
|
17556
17550
|
secretAccessKey: creds.SecretAccessKey,
|
|
@@ -17559,14 +17553,14 @@ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && type
|
|
|
17559
17553
|
...creds.AccountId && { accountId: creds.AccountId }
|
|
17560
17554
|
});
|
|
17561
17555
|
|
|
17562
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17556
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
|
|
17563
17557
|
var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
|
|
17564
17558
|
|
|
17565
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17559
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
|
|
17566
17560
|
import node_http from "http";
|
|
17567
17561
|
var init_node_http = () => {};
|
|
17568
17562
|
|
|
17569
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17563
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
|
|
17570
17564
|
function httpRequest(options) {
|
|
17571
17565
|
return new Promise((resolve, reject) => {
|
|
17572
17566
|
const req = node_http.request({
|
|
@@ -17606,7 +17600,7 @@ var init_httpRequest = __esm(() => {
|
|
|
17606
17600
|
import_config2 = __toESM(require_config(), 1);
|
|
17607
17601
|
});
|
|
17608
17602
|
|
|
17609
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17603
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
|
|
17610
17604
|
var retry = (toRetry, maxRetries) => {
|
|
17611
17605
|
let promise = toRetry();
|
|
17612
17606
|
for (let i2 = 0;i2 < maxRetries; i2++) {
|
|
@@ -17615,7 +17609,7 @@ var retry = (toRetry, maxRetries) => {
|
|
|
17615
17609
|
return promise;
|
|
17616
17610
|
};
|
|
17617
17611
|
|
|
17618
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17612
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
|
|
17619
17613
|
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 = {}) => {
|
|
17620
17614
|
const { timeout, maxRetries } = providerConfigFromInit(init);
|
|
17621
17615
|
return () => retry(async () => {
|
|
@@ -17685,7 +17679,7 @@ var init_fromContainerMetadata = __esm(() => {
|
|
|
17685
17679
|
GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
|
|
17686
17680
|
});
|
|
17687
17681
|
|
|
17688
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17682
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
|
|
17689
17683
|
var import_config4, InstanceMetadataV1FallbackError;
|
|
17690
17684
|
var init_InstanceMetadataV1FallbackError = __esm(() => {
|
|
17691
17685
|
import_config4 = __toESM(require_config(), 1);
|
|
@@ -17700,7 +17694,7 @@ var init_InstanceMetadataV1FallbackError = __esm(() => {
|
|
|
17700
17694
|
};
|
|
17701
17695
|
});
|
|
17702
17696
|
|
|
17703
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17697
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
|
|
17704
17698
|
var Endpoint;
|
|
17705
17699
|
var init_Endpoint = __esm(() => {
|
|
17706
17700
|
(function(Endpoint2) {
|
|
@@ -17709,7 +17703,7 @@ var init_Endpoint = __esm(() => {
|
|
|
17709
17703
|
})(Endpoint || (Endpoint = {}));
|
|
17710
17704
|
});
|
|
17711
17705
|
|
|
17712
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17706
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
|
|
17713
17707
|
var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
|
|
17714
17708
|
var init_EndpointConfigOptions = __esm(() => {
|
|
17715
17709
|
ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -17719,7 +17713,7 @@ var init_EndpointConfigOptions = __esm(() => {
|
|
|
17719
17713
|
};
|
|
17720
17714
|
});
|
|
17721
17715
|
|
|
17722
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17716
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
|
|
17723
17717
|
var EndpointMode;
|
|
17724
17718
|
var init_EndpointMode = __esm(() => {
|
|
17725
17719
|
(function(EndpointMode2) {
|
|
@@ -17728,7 +17722,7 @@ var init_EndpointMode = __esm(() => {
|
|
|
17728
17722
|
})(EndpointMode || (EndpointMode = {}));
|
|
17729
17723
|
});
|
|
17730
17724
|
|
|
17731
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17725
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
|
|
17732
17726
|
var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode", ENDPOINT_MODE_CONFIG_OPTIONS;
|
|
17733
17727
|
var init_EndpointModeConfigOptions = __esm(() => {
|
|
17734
17728
|
init_EndpointMode();
|
|
@@ -17739,7 +17733,7 @@ var init_EndpointModeConfigOptions = __esm(() => {
|
|
|
17739
17733
|
};
|
|
17740
17734
|
});
|
|
17741
17735
|
|
|
17742
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17736
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
|
|
17743
17737
|
var import_config5, import_protocols, getInstanceMetadataEndpoint = async () => import_protocols.parseUrl(await getFromEndpointConfig() || await getFromEndpointModeConfig()), getFromEndpointConfig = async () => import_config5.loadConfig(ENDPOINT_CONFIG_OPTIONS)(), getFromEndpointModeConfig = async () => {
|
|
17744
17738
|
const endpointMode = await import_config5.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
|
|
17745
17739
|
switch (endpointMode) {
|
|
@@ -17760,7 +17754,7 @@ var init_getInstanceMetadataEndpoint = __esm(() => {
|
|
|
17760
17754
|
import_protocols = __toESM(require_protocols(), 1);
|
|
17761
17755
|
});
|
|
17762
17756
|
|
|
17763
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17757
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
|
|
17764
17758
|
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) => {
|
|
17765
17759
|
const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
|
|
17766
17760
|
const newExpiration = new Date(Date.now() + refreshInterval * 1000);
|
|
@@ -17778,7 +17772,7 @@ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
|
|
|
17778
17772
|
STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
|
|
17779
17773
|
});
|
|
17780
17774
|
|
|
17781
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17775
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
|
|
17782
17776
|
var staticStabilityProvider = (provider, options = {}) => {
|
|
17783
17777
|
const logger = options?.logger || console;
|
|
17784
17778
|
let pastCredentials;
|
|
@@ -17805,7 +17799,7 @@ var init_staticStabilityProvider = __esm(() => {
|
|
|
17805
17799
|
init_getExtendedInstanceMetadataCredentials();
|
|
17806
17800
|
});
|
|
17807
17801
|
|
|
17808
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17802
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
|
|
17809
17803
|
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 = {}) => {
|
|
17810
17804
|
let disableFetchToken = false;
|
|
17811
17805
|
const { logger, profile } = init;
|
|
@@ -17925,7 +17919,7 @@ var init_fromInstanceMetadata = __esm(() => {
|
|
|
17925
17919
|
import_config6 = __toESM(require_config(), 1);
|
|
17926
17920
|
});
|
|
17927
17921
|
|
|
17928
|
-
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.
|
|
17922
|
+
// ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/index.js
|
|
17929
17923
|
var exports_dist_es2 = {};
|
|
17930
17924
|
__export(exports_dist_es2, {
|
|
17931
17925
|
providerConfigFromInit: () => providerConfigFromInit,
|
|
@@ -17948,7 +17942,7 @@ var init_dist_es2 = __esm(() => {
|
|
|
17948
17942
|
init_Endpoint();
|
|
17949
17943
|
});
|
|
17950
17944
|
|
|
17951
|
-
// ../../node_modules/.bun/@smithy+node-http-handler@4.
|
|
17945
|
+
// ../../node_modules/.bun/@smithy+node-http-handler@4.11.2/node_modules/@smithy/node-http-handler/dist-cjs/index.js
|
|
17952
17946
|
var require_dist_cjs6 = __commonJS((exports) => {
|
|
17953
17947
|
var { buildQueryString, HttpResponse: HttpResponse2 } = require_protocols();
|
|
17954
17948
|
var node_https = __require("https");
|
|
@@ -18195,6 +18189,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18195
18189
|
this.config = await this.configProvider;
|
|
18196
18190
|
}
|
|
18197
18191
|
const config = this.config;
|
|
18192
|
+
const logger = config.logger;
|
|
18198
18193
|
const isSSL = request.protocol === "https:";
|
|
18199
18194
|
if (!isSSL && !this.config.httpAgent) {
|
|
18200
18195
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -18238,7 +18233,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18238
18233
|
});
|
|
18239
18234
|
}
|
|
18240
18235
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
18241
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
18236
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
18242
18237
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
18243
18238
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
18244
18239
|
let auth = undefined;
|
|
@@ -18302,7 +18297,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18302
18297
|
}
|
|
18303
18298
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
18304
18299
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
18305
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
18300
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
18306
18301
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
18307
18302
|
const httpAgent = nodeHttpsOptions.agent;
|
|
18308
18303
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -18320,6 +18315,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18320
18315
|
updateHttpClientConfig(key, value) {
|
|
18321
18316
|
this.config = undefined;
|
|
18322
18317
|
this.configProvider = this.configProvider.then((config) => {
|
|
18318
|
+
if (key === Symbol.for("logger")) {
|
|
18319
|
+
return {
|
|
18320
|
+
...config,
|
|
18321
|
+
logger: config.logger ?? value
|
|
18322
|
+
};
|
|
18323
|
+
}
|
|
18323
18324
|
return {
|
|
18324
18325
|
...config,
|
|
18325
18326
|
[key]: value
|
|
@@ -18755,7 +18756,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18755
18756
|
exports.NodeHttpHandler = NodeHttpHandler;
|
|
18756
18757
|
});
|
|
18757
18758
|
|
|
18758
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.
|
|
18759
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
|
|
18759
18760
|
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) => {
|
|
18760
18761
|
if (url.protocol === "https:") {
|
|
18761
18762
|
return;
|
|
@@ -18789,7 +18790,7 @@ var init_checkUrl = __esm(() => {
|
|
|
18789
18790
|
import_config7 = __toESM(require_config(), 1);
|
|
18790
18791
|
});
|
|
18791
18792
|
|
|
18792
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.
|
|
18793
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
|
|
18793
18794
|
function createGetRequest(url) {
|
|
18794
18795
|
return new import_protocols2.HttpRequest({
|
|
18795
18796
|
protocol: url.protocol,
|
|
@@ -18838,7 +18839,7 @@ var init_requestHelpers = __esm(() => {
|
|
|
18838
18839
|
import_serde2 = __toESM(require_serde(), 1);
|
|
18839
18840
|
});
|
|
18840
18841
|
|
|
18841
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.
|
|
18842
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
|
|
18842
18843
|
var retryWrapper = (toRetry, maxRetries, delayMs) => {
|
|
18843
18844
|
return async () => {
|
|
18844
18845
|
for (let i2 = 0;i2 < maxRetries; ++i2) {
|
|
@@ -18852,7 +18853,7 @@ var retryWrapper = (toRetry, maxRetries, delayMs) => {
|
|
|
18852
18853
|
};
|
|
18853
18854
|
};
|
|
18854
18855
|
|
|
18855
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.
|
|
18856
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
18856
18857
|
import fs from "fs/promises";
|
|
18857
18858
|
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 = {}) => {
|
|
18858
18859
|
options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
|
|
@@ -18918,7 +18919,7 @@ var init_fromHttp = __esm(() => {
|
|
|
18918
18919
|
import_node_http_handler = __toESM(require_dist_cjs6(), 1);
|
|
18919
18920
|
});
|
|
18920
18921
|
|
|
18921
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.
|
|
18922
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
|
|
18922
18923
|
var exports_dist_es3 = {};
|
|
18923
18924
|
__export(exports_dist_es3, {
|
|
18924
18925
|
fromHttp: () => fromHttp
|
|
@@ -18927,16 +18928,16 @@ var init_dist_es3 = __esm(() => {
|
|
|
18927
18928
|
init_fromHttp();
|
|
18928
18929
|
});
|
|
18929
18930
|
|
|
18930
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
18931
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
|
|
18931
18932
|
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");
|
|
18932
18933
|
|
|
18933
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
18934
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
|
|
18934
18935
|
var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
18935
18936
|
var init_constants = __esm(() => {
|
|
18936
18937
|
EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
18937
18938
|
});
|
|
18938
18939
|
|
|
18939
|
-
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
18940
|
+
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
|
|
18940
18941
|
var require_sso_oidc = __commonJS((exports) => {
|
|
18941
18942
|
var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
|
|
18942
18943
|
var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
|
|
@@ -19014,7 +19015,7 @@ var require_sso_oidc = __commonJS((exports) => {
|
|
|
19014
19015
|
Region: { type: "builtInParams", name: "region" },
|
|
19015
19016
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
19016
19017
|
};
|
|
19017
|
-
var version = "3.997.
|
|
19018
|
+
var version = "3.997.42";
|
|
19018
19019
|
var packageInfo = {
|
|
19019
19020
|
version
|
|
19020
19021
|
};
|
|
@@ -19691,7 +19692,7 @@ var require_sso_oidc = __commonJS((exports) => {
|
|
|
19691
19692
|
exports.errorTypeRegistries = errorTypeRegistries2;
|
|
19692
19693
|
});
|
|
19693
19694
|
|
|
19694
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19695
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
19695
19696
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
19696
19697
|
const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
|
|
19697
19698
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
@@ -19703,7 +19704,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
19703
19704
|
return ssoOidcClient;
|
|
19704
19705
|
};
|
|
19705
19706
|
|
|
19706
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19707
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
19707
19708
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
19708
19709
|
const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
|
|
19709
19710
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
@@ -19716,7 +19717,7 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
|
|
|
19716
19717
|
};
|
|
19717
19718
|
var init_getNewSsoOidcToken = () => {};
|
|
19718
19719
|
|
|
19719
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19720
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
|
|
19720
19721
|
var import_config11, validateTokenExpiry = (token) => {
|
|
19721
19722
|
if (token.expiration && token.expiration.getTime() < Date.now()) {
|
|
19722
19723
|
throw new import_config11.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
|
|
@@ -19727,7 +19728,7 @@ var init_validateTokenExpiry = __esm(() => {
|
|
|
19727
19728
|
import_config11 = __toESM(require_config(), 1);
|
|
19728
19729
|
});
|
|
19729
19730
|
|
|
19730
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19731
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
|
|
19731
19732
|
var import_config12, validateTokenKey = (key, value, forRefresh = false) => {
|
|
19732
19733
|
if (typeof value === "undefined") {
|
|
19733
19734
|
throw new import_config12.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
|
|
@@ -19738,7 +19739,7 @@ var init_validateTokenKey = __esm(() => {
|
|
|
19738
19739
|
import_config12 = __toESM(require_config(), 1);
|
|
19739
19740
|
});
|
|
19740
19741
|
|
|
19741
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19742
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
|
|
19742
19743
|
import { promises as fsPromises } from "fs";
|
|
19743
19744
|
var import_config13, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
|
|
19744
19745
|
const tokenFilepath = import_config13.getSSOTokenFilepath(id);
|
|
@@ -19750,7 +19751,7 @@ var init_writeSSOTokenToFile = __esm(() => {
|
|
|
19750
19751
|
({ writeFile } = fsPromises);
|
|
19751
19752
|
});
|
|
19752
19753
|
|
|
19753
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19754
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
|
|
19754
19755
|
var import_config14, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
19755
19756
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
19756
19757
|
const profiles = await import_config14.parseKnownFiles(init);
|
|
@@ -19829,12 +19830,12 @@ var init_fromSso = __esm(() => {
|
|
|
19829
19830
|
lastRefreshAttemptTime = new Date(0);
|
|
19830
19831
|
});
|
|
19831
19832
|
|
|
19832
|
-
// ../../node_modules/.bun/@aws-sdk+token-providers@3.
|
|
19833
|
+
// ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
|
|
19833
19834
|
var init_dist_es4 = __esm(() => {
|
|
19834
19835
|
init_fromSso();
|
|
19835
19836
|
});
|
|
19836
19837
|
|
|
19837
|
-
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
19838
|
+
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
|
|
19838
19839
|
function createAwsAuthSigv4HttpAuthOption2(authParameters) {
|
|
19839
19840
|
return {
|
|
19840
19841
|
schemeId: "aws.auth#sigv4",
|
|
@@ -19885,7 +19886,7 @@ var awsEndpointFunctions2, emitWarningIfUnsupportedVersion$1, createDefaultUserA
|
|
|
19885
19886
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
19886
19887
|
defaultSigningName: "awsssoportal"
|
|
19887
19888
|
});
|
|
19888
|
-
}, commonParams2, version = "3.997.
|
|
19889
|
+
}, 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 = {}) => {
|
|
19889
19890
|
return cache2.get(endpointParams, () => decideEndpoint2(bdd2, {
|
|
19890
19891
|
endpointParams,
|
|
19891
19892
|
logger: context.logger
|
|
@@ -20282,7 +20283,7 @@ var init_sso = __esm(() => {
|
|
|
20282
20283
|
$SSOClient = SSOClient;
|
|
20283
20284
|
});
|
|
20284
20285
|
|
|
20285
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
20286
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
|
|
20286
20287
|
var exports_loadSso = {};
|
|
20287
20288
|
__export(exports_loadSso, {
|
|
20288
20289
|
SSOClient: () => $SSOClient,
|
|
@@ -20292,7 +20293,7 @@ var init_loadSso = __esm(() => {
|
|
|
20292
20293
|
init_sso();
|
|
20293
20294
|
});
|
|
20294
20295
|
|
|
20295
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
20296
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
|
|
20296
20297
|
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 }) => {
|
|
20297
20298
|
let token;
|
|
20298
20299
|
const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
|
|
@@ -20381,7 +20382,7 @@ var init_resolveSSOCredentials = __esm(() => {
|
|
|
20381
20382
|
import_config15 = __toESM(require_config(), 1);
|
|
20382
20383
|
});
|
|
20383
20384
|
|
|
20384
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
20385
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
|
|
20385
20386
|
var import_config16, validateSsoProfile = (profile, logger) => {
|
|
20386
20387
|
const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
|
|
20387
20388
|
if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
|
|
@@ -20394,7 +20395,7 @@ var init_validateSsoProfile = __esm(() => {
|
|
|
20394
20395
|
import_config16 = __toESM(require_config(), 1);
|
|
20395
20396
|
});
|
|
20396
20397
|
|
|
20397
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
20398
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
|
|
20398
20399
|
var import_config17, fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
20399
20400
|
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
|
20400
20401
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
@@ -20476,7 +20477,7 @@ var init_fromSSO = __esm(() => {
|
|
|
20476
20477
|
import_config17 = __toESM(require_config(), 1);
|
|
20477
20478
|
});
|
|
20478
20479
|
|
|
20479
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.
|
|
20480
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
|
|
20480
20481
|
var exports_dist_es4 = {};
|
|
20481
20482
|
__export(exports_dist_es4, {
|
|
20482
20483
|
validateSsoProfile: () => validateSsoProfile,
|
|
@@ -20488,7 +20489,7 @@ var init_dist_es5 = __esm(() => {
|
|
|
20488
20489
|
init_validateSsoProfile();
|
|
20489
20490
|
});
|
|
20490
20491
|
|
|
20491
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
20492
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
20492
20493
|
var import_client8, import_config18, resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
20493
20494
|
const sourceProvidersMap = {
|
|
20494
20495
|
EcsContainer: async (options) => {
|
|
@@ -20519,7 +20520,7 @@ var init_resolveCredentialSource = __esm(() => {
|
|
|
20519
20520
|
import_config18 = __toESM(require_config(), 1);
|
|
20520
20521
|
});
|
|
20521
20522
|
|
|
20522
|
-
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
20523
|
+
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
20523
20524
|
var require_sts = __commonJS((exports) => {
|
|
20524
20525
|
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();
|
|
20525
20526
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -20850,7 +20851,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
20850
20851
|
Region: { type: "builtInParams", name: "region" },
|
|
20851
20852
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
20852
20853
|
};
|
|
20853
|
-
var version2 = "3.997.
|
|
20854
|
+
var version2 = "3.997.42";
|
|
20854
20855
|
var packageInfo2 = {
|
|
20855
20856
|
version: version2
|
|
20856
20857
|
};
|
|
@@ -21541,7 +21542,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
21541
21542
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
21542
21543
|
});
|
|
21543
21544
|
|
|
21544
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
21545
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
21545
21546
|
var import_client9, import_config19, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
21546
21547
|
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 }));
|
|
21547
21548
|
}, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
|
|
@@ -21609,7 +21610,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
|
|
|
21609
21610
|
import_config19 = __toESM(require_config(), 1);
|
|
21610
21611
|
});
|
|
21611
21612
|
|
|
21612
|
-
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
21613
|
+
// ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
|
|
21613
21614
|
var require_signin = __commonJS((exports) => {
|
|
21614
21615
|
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();
|
|
21615
21616
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -21687,7 +21688,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
21687
21688
|
Region: { type: "builtInParams", name: "region" },
|
|
21688
21689
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
21689
21690
|
};
|
|
21690
|
-
var version2 = "3.997.
|
|
21691
|
+
var version2 = "3.997.42";
|
|
21691
21692
|
var packageInfo2 = {
|
|
21692
21693
|
version: version2
|
|
21693
21694
|
};
|
|
@@ -22341,7 +22342,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
22341
22342
|
exports.errorTypeRegistries = errorTypeRegistries3;
|
|
22342
22343
|
});
|
|
22343
22344
|
|
|
22344
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
22345
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
22345
22346
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
22346
22347
|
import { promises as fs2 } from "fs";
|
|
22347
22348
|
import { homedir } from "os";
|
|
@@ -22605,7 +22606,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
|
|
|
22605
22606
|
};
|
|
22606
22607
|
});
|
|
22607
22608
|
|
|
22608
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
22609
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
22609
22610
|
var import_client10, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
22610
22611
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
22611
22612
|
const profiles = await import_config21.parseKnownFiles(init || {});
|
|
@@ -22629,7 +22630,7 @@ var init_fromLoginCredentials = __esm(() => {
|
|
|
22629
22630
|
import_config21 = __toESM(require_config(), 1);
|
|
22630
22631
|
});
|
|
22631
22632
|
|
|
22632
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
22633
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
|
|
22633
22634
|
var exports_dist_es5 = {};
|
|
22634
22635
|
__export(exports_dist_es5, {
|
|
22635
22636
|
fromLoginCredentials: () => fromLoginCredentials
|
|
@@ -22638,7 +22639,7 @@ var init_dist_es6 = __esm(() => {
|
|
|
22638
22639
|
init_fromLoginCredentials();
|
|
22639
22640
|
});
|
|
22640
22641
|
|
|
22641
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22642
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
22642
22643
|
var import_client11, isLoginProfile = (data) => {
|
|
22643
22644
|
return Boolean(data && data.login_session);
|
|
22644
22645
|
}, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
@@ -22653,7 +22654,7 @@ var init_resolveLoginCredentials = __esm(() => {
|
|
|
22653
22654
|
import_client11 = __toESM(require_client2(), 1);
|
|
22654
22655
|
});
|
|
22655
22656
|
|
|
22656
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
22657
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
|
|
22657
22658
|
var import_client12, getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
22658
22659
|
if (data.Version !== 1) {
|
|
22659
22660
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
@@ -22687,7 +22688,7 @@ var init_getValidatedProcessCredentials = __esm(() => {
|
|
|
22687
22688
|
import_client12 = __toESM(require_client2(), 1);
|
|
22688
22689
|
});
|
|
22689
22690
|
|
|
22690
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
22691
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
22691
22692
|
import { exec } from "child_process";
|
|
22692
22693
|
import { promisify } from "util";
|
|
22693
22694
|
var import_config22, resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
@@ -22722,7 +22723,7 @@ var init_resolveProcessCredentials = __esm(() => {
|
|
|
22722
22723
|
import_config22 = __toESM(require_config(), 1);
|
|
22723
22724
|
});
|
|
22724
22725
|
|
|
22725
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
22726
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
|
|
22726
22727
|
var import_config23, fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
22727
22728
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
22728
22729
|
const profiles = await import_config23.parseKnownFiles(init);
|
|
@@ -22735,7 +22736,7 @@ var init_fromProcess = __esm(() => {
|
|
|
22735
22736
|
import_config23 = __toESM(require_config(), 1);
|
|
22736
22737
|
});
|
|
22737
22738
|
|
|
22738
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
22739
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
|
|
22739
22740
|
var exports_dist_es6 = {};
|
|
22740
22741
|
__export(exports_dist_es6, {
|
|
22741
22742
|
fromProcess: () => fromProcess
|
|
@@ -22744,7 +22745,7 @@ var init_dist_es7 = __esm(() => {
|
|
|
22744
22745
|
init_fromProcess();
|
|
22745
22746
|
});
|
|
22746
22747
|
|
|
22747
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22748
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
22748
22749
|
var import_client13, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
|
|
22749
22750
|
const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
|
|
22750
22751
|
const credentials = await fromProcess2({
|
|
@@ -22757,7 +22758,7 @@ var init_resolveProcessCredentials2 = __esm(() => {
|
|
|
22757
22758
|
import_client13 = __toESM(require_client2(), 1);
|
|
22758
22759
|
});
|
|
22759
22760
|
|
|
22760
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22761
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
22761
22762
|
var import_client14, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
22762
22763
|
const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
|
|
22763
22764
|
return fromSSO2({
|
|
@@ -22779,7 +22780,7 @@ var init_resolveSsoCredentials = __esm(() => {
|
|
|
22779
22780
|
import_client14 = __toESM(require_client2(), 1);
|
|
22780
22781
|
});
|
|
22781
22782
|
|
|
22782
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22783
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
22783
22784
|
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) => {
|
|
22784
22785
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
22785
22786
|
const credentials = {
|
|
@@ -22795,7 +22796,7 @@ var init_resolveStaticCredentials = __esm(() => {
|
|
|
22795
22796
|
import_client15 = __toESM(require_client2(), 1);
|
|
22796
22797
|
});
|
|
22797
22798
|
|
|
22798
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.
|
|
22799
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
|
|
22799
22800
|
var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
22800
22801
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
22801
22802
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
@@ -22822,7 +22823,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
22822
22823
|
});
|
|
22823
22824
|
};
|
|
22824
22825
|
|
|
22825
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.
|
|
22826
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
22826
22827
|
import { readFileSync } from "fs";
|
|
22827
22828
|
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) => {
|
|
22828
22829
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
@@ -22850,7 +22851,7 @@ var init_fromTokenFile = __esm(() => {
|
|
|
22850
22851
|
import_config24 = __toESM(require_config(), 1);
|
|
22851
22852
|
});
|
|
22852
22853
|
|
|
22853
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.
|
|
22854
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
|
|
22854
22855
|
var exports_dist_es7 = {};
|
|
22855
22856
|
__export(exports_dist_es7, {
|
|
22856
22857
|
fromWebToken: () => fromWebToken,
|
|
@@ -22860,7 +22861,7 @@ var init_dist_es8 = __esm(() => {
|
|
|
22860
22861
|
init_fromTokenFile();
|
|
22861
22862
|
});
|
|
22862
22863
|
|
|
22863
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22864
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
22864
22865
|
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) => {
|
|
22865
22866
|
const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
|
|
22866
22867
|
const credentials = await fromTokenFile2({
|
|
@@ -22879,7 +22880,7 @@ var init_resolveWebIdentityCredentials = __esm(() => {
|
|
|
22879
22880
|
import_client17 = __toESM(require_client2(), 1);
|
|
22880
22881
|
});
|
|
22881
22882
|
|
|
22882
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22883
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
22883
22884
|
var import_config25, resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
22884
22885
|
const data = profiles[profileName];
|
|
22885
22886
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
@@ -22915,7 +22916,7 @@ var init_resolveProfileData = __esm(() => {
|
|
|
22915
22916
|
import_config25 = __toESM(require_config(), 1);
|
|
22916
22917
|
});
|
|
22917
22918
|
|
|
22918
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22919
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
22919
22920
|
var import_config26, fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
22920
22921
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
22921
22922
|
const profiles = await import_config26.parseKnownFiles(init);
|
|
@@ -22928,7 +22929,7 @@ var init_fromIni = __esm(() => {
|
|
|
22928
22929
|
import_config26 = __toESM(require_config(), 1);
|
|
22929
22930
|
});
|
|
22930
22931
|
|
|
22931
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.
|
|
22932
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
|
|
22932
22933
|
var exports_dist_es8 = {};
|
|
22933
22934
|
__export(exports_dist_es8, {
|
|
22934
22935
|
fromIni: () => fromIni
|
|
@@ -22939,7 +22940,7 @@ var init_dist_es9 = __esm(() => {
|
|
|
22939
22940
|
// package.json
|
|
22940
22941
|
var package_default = {
|
|
22941
22942
|
name: "@hasna/skills",
|
|
22942
|
-
version: "0.1.
|
|
22943
|
+
version: "0.1.69",
|
|
22943
22944
|
description: "Skills library for AI coding agents",
|
|
22944
22945
|
type: "module",
|
|
22945
22946
|
bin: {
|
|
@@ -22961,6 +22962,10 @@ var package_default = {
|
|
|
22961
22962
|
"./sdk": {
|
|
22962
22963
|
import: "./dist/sdk/index.js",
|
|
22963
22964
|
types: "./dist/sdk/index.d.ts"
|
|
22965
|
+
},
|
|
22966
|
+
"./admin-contract": {
|
|
22967
|
+
import: "./dist/admin-contract.js",
|
|
22968
|
+
types: "./dist/admin-contract.d.ts"
|
|
22964
22969
|
}
|
|
22965
22970
|
},
|
|
22966
22971
|
files: [
|
|
@@ -22979,8 +22984,8 @@ var package_default = {
|
|
|
22979
22984
|
types: "./dist/index.d.ts",
|
|
22980
22985
|
scripts: {
|
|
22981
22986
|
clean: "rm -rf bin/ dist/",
|
|
22982
|
-
build: "bun run clean && bun build ./src/cli/index.tsx --outdir ./bin --target bun && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
22983
|
-
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
22987
|
+
build: "bun run clean && bun build ./src/cli/index.tsx --outdir ./bin --target bun && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
22988
|
+
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
22984
22989
|
test: "bun test --timeout 30000",
|
|
22985
22990
|
dev: "bun run ./src/cli/index.tsx",
|
|
22986
22991
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
@@ -23193,7 +23198,7 @@ function signBundleBytes(bytes, key) {
|
|
|
23193
23198
|
return `${SIGNATURE_PREFIX}${createHmac("sha256", key).update(bytes).digest("hex")}`;
|
|
23194
23199
|
}
|
|
23195
23200
|
|
|
23196
|
-
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.
|
|
23201
|
+
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
|
|
23197
23202
|
var { setFeature } = require_client2();
|
|
23198
23203
|
var { HttpRequest } = require_protocols();
|
|
23199
23204
|
var { isArrayBuffer, toUint8Array, createBufferedReadable, createChecksumStream } = require_serde();
|
|
@@ -23586,10 +23591,10 @@ var $NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = NODE_RESPONSE_CHECKSUM_V
|
|
|
23586
23591
|
var $getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin;
|
|
23587
23592
|
var $resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig;
|
|
23588
23593
|
|
|
23589
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
23594
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
23590
23595
|
var import_client23 = __toESM(require_client2(), 1);
|
|
23591
23596
|
|
|
23592
|
-
// ../../node_modules/.bun/@aws-sdk+middleware-sdk-s3@3.972.
|
|
23597
|
+
// ../../node_modules/.bun/@aws-sdk+middleware-sdk-s3@3.972.74/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
|
|
23593
23598
|
var { NoOpLogger, getSmithyContext } = require_client();
|
|
23594
23599
|
var { HttpRequest: HttpRequest2, HttpResponse } = require_protocols();
|
|
23595
23600
|
var { parseRfc7231DateTime } = require_serde();
|
|
@@ -24194,7 +24199,7 @@ var $getThrow200ExceptionsPlugin = getThrow200ExceptionsPlugin;
|
|
|
24194
24199
|
var $getValidateBucketNamePlugin = getValidateBucketNamePlugin;
|
|
24195
24200
|
var $resolveS3Config = resolveS3Config;
|
|
24196
24201
|
|
|
24197
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
24202
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
24198
24203
|
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
24199
24204
|
var import_client24 = __toESM(require_client(), 1);
|
|
24200
24205
|
var import_config29 = __toESM(require_config(), 1);
|
|
@@ -24204,17 +24209,17 @@ var import_protocols6 = __toESM(require_protocols(), 1);
|
|
|
24204
24209
|
var import_retry4 = __toESM(require_retry(), 1);
|
|
24205
24210
|
var import_schema2 = __toESM(require_schema(), 1);
|
|
24206
24211
|
|
|
24207
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
24212
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
24208
24213
|
var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
24209
24214
|
var import_signature_v4_multi_region = __toESM(require_dist_cjs4(), 1);
|
|
24210
24215
|
var import_client2 = __toESM(require_client(), 1);
|
|
24211
24216
|
var import_endpoints3 = __toESM(require_endpoints(), 1);
|
|
24212
24217
|
|
|
24213
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
24218
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
|
|
24214
24219
|
var import_client = __toESM(require_client2(), 1);
|
|
24215
24220
|
var import_endpoints2 = __toESM(require_endpoints(), 1);
|
|
24216
24221
|
|
|
24217
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
24222
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
|
|
24218
24223
|
var import_endpoints = __toESM(require_endpoints(), 1);
|
|
24219
24224
|
var aw = "ref";
|
|
24220
24225
|
var ax = "argv";
|
|
@@ -26158,7 +26163,7 @@ var nodes = new Int32Array([
|
|
|
26158
26163
|
]);
|
|
26159
26164
|
var bdd = import_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
26160
26165
|
|
|
26161
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26166
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
|
|
26162
26167
|
var cache = new import_endpoints2.EndpointCache({
|
|
26163
26168
|
size: 50,
|
|
26164
26169
|
params: [
|
|
@@ -26186,7 +26191,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
26186
26191
|
};
|
|
26187
26192
|
import_endpoints2.customEndpointFunctions.aws = import_client.awsEndpointFunctions;
|
|
26188
26193
|
|
|
26189
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26194
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
26190
26195
|
var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
26191
26196
|
if (!input) {
|
|
26192
26197
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
@@ -26302,11 +26307,11 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
26302
26307
|
});
|
|
26303
26308
|
};
|
|
26304
26309
|
|
|
26305
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26310
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
26306
26311
|
var import_client3 = __toESM(require_client(), 1);
|
|
26307
26312
|
var import_endpoints4 = __toESM(require_endpoints(), 1);
|
|
26308
26313
|
|
|
26309
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26314
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
|
|
26310
26315
|
var resolveClientEndpointParameters = (options) => {
|
|
26311
26316
|
return Object.assign(options, {
|
|
26312
26317
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
@@ -26332,7 +26337,7 @@ var commonParams = {
|
|
|
26332
26337
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
26333
26338
|
};
|
|
26334
26339
|
|
|
26335
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26340
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
26336
26341
|
var command = import_client3.makeBuilder(commonParams, "AmazonS3", "S3Client", import_endpoints4.getEndpointPlugin);
|
|
26337
26342
|
var _ep0 = {
|
|
26338
26343
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -26364,10 +26369,10 @@ var _mw11 = (Command, cs, config, o2) => [
|
|
|
26364
26369
|
$getSsecPlugin(config)
|
|
26365
26370
|
];
|
|
26366
26371
|
|
|
26367
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26372
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
|
|
26368
26373
|
var import_schema = __toESM(require_schema(), 1);
|
|
26369
26374
|
|
|
26370
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26375
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
|
|
26371
26376
|
var import_client4 = __toESM(require_client(), 1);
|
|
26372
26377
|
class S3ServiceException extends import_client4.ServiceException {
|
|
26373
26378
|
constructor(options) {
|
|
@@ -26376,7 +26381,7 @@ class S3ServiceException extends import_client4.ServiceException {
|
|
|
26376
26381
|
}
|
|
26377
26382
|
}
|
|
26378
26383
|
|
|
26379
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26384
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
|
|
26380
26385
|
class NoSuchUpload extends S3ServiceException {
|
|
26381
26386
|
name = "NoSuchUpload";
|
|
26382
26387
|
$fault = "client";
|
|
@@ -26654,7 +26659,7 @@ class ObjectAlreadyInActiveTierError extends S3ServiceException {
|
|
|
26654
26659
|
}
|
|
26655
26660
|
}
|
|
26656
26661
|
|
|
26657
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
26662
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
|
|
26658
26663
|
var _A = "Account";
|
|
26659
26664
|
var _AAO = "AnalyticsAndOperator";
|
|
26660
26665
|
var _AC = "AccelerateConfiguration";
|
|
@@ -32106,13 +32111,13 @@ var WriteGetObjectResponse$ = [
|
|
|
32106
32111
|
() => __Unit
|
|
32107
32112
|
];
|
|
32108
32113
|
|
|
32109
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32114
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
|
|
32110
32115
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
32111
32116
|
}
|
|
32112
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32117
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/package.json
|
|
32113
32118
|
var package_default2 = {
|
|
32114
32119
|
name: "@aws-sdk/client-s3",
|
|
32115
|
-
version: "3.
|
|
32120
|
+
version: "3.1112.0",
|
|
32116
32121
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
32117
32122
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
32118
32123
|
license: "Apache-2.0",
|
|
@@ -32163,15 +32168,15 @@ var package_default2 = {
|
|
|
32163
32168
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
32164
32169
|
"test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
|
|
32165
32170
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts",
|
|
32166
|
-
"test:index": "tsc
|
|
32171
|
+
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
32167
32172
|
},
|
|
32168
32173
|
dependencies: {
|
|
32169
|
-
"@aws-sdk/checksums": "^3.1000.
|
|
32170
|
-
"@aws-sdk/core": "^3.977.
|
|
32171
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32172
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
32173
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
32174
|
-
"@aws-sdk/types": "^3.974.
|
|
32174
|
+
"@aws-sdk/checksums": "^3.1000.28",
|
|
32175
|
+
"@aws-sdk/core": "^3.977.8",
|
|
32176
|
+
"@aws-sdk/credential-provider-node": "^3.972.80",
|
|
32177
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.74",
|
|
32178
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.45",
|
|
32179
|
+
"@aws-sdk/types": "^3.974.4",
|
|
32175
32180
|
"@smithy/core": "^3.31.1",
|
|
32176
32181
|
"@smithy/fetch-http-handler": "^5.6.13",
|
|
32177
32182
|
"@smithy/node-http-handler": "^4.9.13",
|
|
@@ -32179,14 +32184,14 @@ var package_default2 = {
|
|
|
32179
32184
|
tslib: "^2.6.2"
|
|
32180
32185
|
},
|
|
32181
32186
|
devDependencies: {
|
|
32182
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
32187
|
+
"@aws-sdk/signature-v4-crt": "3.1112.0",
|
|
32183
32188
|
"@smithy/snapshot-testing": "^2.2.16",
|
|
32184
32189
|
"@tsconfig/node20": "20.1.8",
|
|
32185
32190
|
"@types/node": "^20.14.8",
|
|
32186
32191
|
concurrently: "7.0.0",
|
|
32187
32192
|
"downlevel-dts": "0.10.1",
|
|
32188
32193
|
premove: "4.0.0",
|
|
32189
|
-
typescript: "~
|
|
32194
|
+
typescript: "~7.0.2",
|
|
32190
32195
|
vitest: "^4.0.17"
|
|
32191
32196
|
},
|
|
32192
32197
|
engines: {
|
|
@@ -32194,15 +32199,15 @@ var package_default2 = {
|
|
|
32194
32199
|
}
|
|
32195
32200
|
};
|
|
32196
32201
|
|
|
32197
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32202
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32198
32203
|
var import_client19 = __toESM(require_client2(), 1);
|
|
32199
32204
|
var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
32200
32205
|
|
|
32201
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.
|
|
32206
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
32202
32207
|
init_dist_es();
|
|
32203
32208
|
var import_config27 = __toESM(require_config(), 1);
|
|
32204
32209
|
|
|
32205
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.
|
|
32210
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
32206
32211
|
var import_config10 = __toESM(require_config(), 1);
|
|
32207
32212
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
32208
32213
|
var remoteProvider = async (init) => {
|
|
@@ -32221,7 +32226,7 @@ var remoteProvider = async (init) => {
|
|
|
32221
32226
|
return fromInstanceMetadata2(init);
|
|
32222
32227
|
};
|
|
32223
32228
|
|
|
32224
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.
|
|
32229
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
|
|
32225
32230
|
function memoizeChain(providers, treatAsExpired) {
|
|
32226
32231
|
const chain2 = internalCreateChain(providers);
|
|
32227
32232
|
let activeLock;
|
|
@@ -32285,7 +32290,7 @@ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
|
|
|
32285
32290
|
throw lastProviderError;
|
|
32286
32291
|
};
|
|
32287
32292
|
|
|
32288
|
-
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.
|
|
32293
|
+
// ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
32289
32294
|
var multipleCredentialSourceWarningEmitted = false;
|
|
32290
32295
|
var defaultProvider = (init = {}) => memoizeChain([
|
|
32291
32296
|
async () => {
|
|
@@ -32351,7 +32356,7 @@ var defaultProvider = (init = {}) => memoizeChain([
|
|
|
32351
32356
|
}
|
|
32352
32357
|
], credentialsTreatedAsExpired);
|
|
32353
32358
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
32354
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32359
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32355
32360
|
var import_checksum2 = __toESM(require_checksum(), 1);
|
|
32356
32361
|
var import_client20 = __toESM(require_client(), 1);
|
|
32357
32362
|
var import_config28 = __toESM(require_config(), 1);
|
|
@@ -32360,7 +32365,7 @@ var import_retry3 = __toESM(require_retry(), 1);
|
|
|
32360
32365
|
var import_serde4 = __toESM(require_serde(), 1);
|
|
32361
32366
|
var import_node_http_handler2 = __toESM(require_dist_cjs6(), 1);
|
|
32362
32367
|
|
|
32363
|
-
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.
|
|
32368
|
+
// ../../node_modules/.bun/@aws-sdk+checksums@3.1000.28/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
|
|
32364
32369
|
var { toUint8Array: toUint8Array2, concatBytes } = require_serde();
|
|
32365
32370
|
var { createHmac: createHmac2, createHash: createHash2 } = __require("crypto");
|
|
32366
32371
|
var { Sha256: Sha2562, Sha256Js, Sha256Node } = require_checksum();
|
|
@@ -32589,7 +32594,7 @@ var subtle = typeof digest === "function" && typeof sign2 === "function" && type
|
|
|
32589
32594
|
var MAX_PENDING_BYTES = 8 * 1024 * 1024;
|
|
32590
32595
|
var $Sha1 = Sha1Node;
|
|
32591
32596
|
|
|
32592
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32597
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
|
|
32593
32598
|
var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
32594
32599
|
var import_signature_v4_multi_region2 = __toESM(require_dist_cjs4(), 1);
|
|
32595
32600
|
var import_checksum = __toESM(require_checksum(), 1);
|
|
@@ -32641,7 +32646,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
32641
32646
|
};
|
|
32642
32647
|
};
|
|
32643
32648
|
|
|
32644
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32649
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32645
32650
|
var getRuntimeConfig3 = (config) => {
|
|
32646
32651
|
import_client20.emitWarningIfUnsupportedVersion(process.version);
|
|
32647
32652
|
const defaultsMode = import_config28.resolveDefaultsModeConfig(config);
|
|
@@ -32682,12 +32687,12 @@ var getRuntimeConfig3 = (config) => {
|
|
|
32682
32687
|
};
|
|
32683
32688
|
};
|
|
32684
32689
|
|
|
32685
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32690
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
32686
32691
|
var import_client21 = __toESM(require_client2(), 1);
|
|
32687
32692
|
var import_client22 = __toESM(require_client(), 1);
|
|
32688
32693
|
var import_protocols5 = __toESM(require_protocols(), 1);
|
|
32689
32694
|
|
|
32690
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32695
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
32691
32696
|
var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
|
|
32692
32697
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
32693
32698
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -32726,14 +32731,14 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
|
|
|
32726
32731
|
};
|
|
32727
32732
|
};
|
|
32728
32733
|
|
|
32729
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32734
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
32730
32735
|
var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
|
|
32731
32736
|
const extensionConfiguration = Object.assign(import_client21.getAwsRegionExtensionConfiguration(runtimeConfig), import_client22.getDefaultExtensionConfiguration(runtimeConfig), import_protocols5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
|
|
32732
32737
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
32733
32738
|
return Object.assign(runtimeConfig, import_client21.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client22.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
|
|
32734
32739
|
};
|
|
32735
32740
|
|
|
32736
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32741
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
32737
32742
|
class S3Client extends import_client24.Client {
|
|
32738
32743
|
config;
|
|
32739
32744
|
constructor(...[configuration]) {
|
|
@@ -32778,15 +32783,15 @@ class S3Client extends import_client24.Client {
|
|
|
32778
32783
|
}
|
|
32779
32784
|
}
|
|
32780
32785
|
|
|
32781
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32786
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
|
|
32782
32787
|
class DeleteObjectCommand extends command(_ep0, _mw0, "DeleteObject", DeleteObject$) {
|
|
32783
32788
|
}
|
|
32784
32789
|
|
|
32785
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32790
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
|
|
32786
32791
|
class GetObjectCommand extends command(_ep0, _mw7, "GetObject", GetObject$) {
|
|
32787
32792
|
}
|
|
32788
32793
|
|
|
32789
|
-
// ../../node_modules/.bun/@aws-sdk+client-s3@3.
|
|
32794
|
+
// ../../node_modules/.bun/@aws-sdk+client-s3@3.1112.0/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
|
|
32790
32795
|
class PutObjectCommand extends command(_ep0, _mw11, "PutObject", PutObject$) {
|
|
32791
32796
|
}
|
|
32792
32797
|
|