@hasna/skills 0.2.0 → 0.2.1
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 +25120 -14201
- package/bin/mcp.js +13520 -2794
- package/bin/server.js +138 -128
- package/bin/worker.js +122 -122
- package/dist/admin-contract.d.ts +887 -5832
- package/dist/admin-contract.js +13914 -3611
- package/dist/cli/commands/publish.d.ts +14 -0
- package/dist/index.js +14228 -3909
- package/dist/lib/portable-skills-files.d.ts +9 -0
- package/dist/lib/portable-skills.d.ts +2 -2
- package/dist/lib/remote-client.d.ts +1 -1
- package/dist/sdk/index.js +14172 -3859
- package/dist/sdk/runs.d.ts +19 -101
- package/dist/server/artifact-storage.d.ts +11 -0
- package/dist/server/skills-api.d.ts +13 -2
- package/package.json +1 -1
package/bin/worker.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
|
-
//
|
|
50
|
+
// 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
|
-
//
|
|
141
|
+
// 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
|
-
//
|
|
308
|
+
// 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) => {
|
|
@@ -974,7 +974,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
974
974
|
exports.translateTraits = translateTraits;
|
|
975
975
|
});
|
|
976
976
|
|
|
977
|
-
//
|
|
977
|
+
// node_modules/@smithy/core/dist-cjs/submodules/client/index.js
|
|
978
978
|
var require_client = __commonJS((exports) => {
|
|
979
979
|
var { getSmithyContext, normalizeProvider } = require_transport();
|
|
980
980
|
exports.getSmithyContext = getSmithyContext;
|
|
@@ -2043,7 +2043,7 @@ var require_client = __commonJS((exports) => {
|
|
|
2043
2043
|
exports.withBaseException = withBaseException;
|
|
2044
2044
|
});
|
|
2045
2045
|
|
|
2046
|
-
//
|
|
2046
|
+
// node_modules/@smithy/core/dist-cjs/submodules/config/index.js
|
|
2047
2047
|
var require_config = __commonJS((exports) => {
|
|
2048
2048
|
var { homedir } = __require("os");
|
|
2049
2049
|
var { sep, join } = __require("path");
|
|
@@ -2738,7 +2738,7 @@ var require_config = __commonJS((exports) => {
|
|
|
2738
2738
|
exports.resolveRegionConfig = resolveRegionConfig;
|
|
2739
2739
|
});
|
|
2740
2740
|
|
|
2741
|
-
//
|
|
2741
|
+
// node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
|
|
2742
2742
|
var require_endpoints = __commonJS((exports) => {
|
|
2743
2743
|
var { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require_config();
|
|
2744
2744
|
var { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require_transport();
|
|
@@ -3550,7 +3550,7 @@ var require_endpoints = __commonJS((exports) => {
|
|
|
3550
3550
|
exports.resolveParams = resolveParams;
|
|
3551
3551
|
});
|
|
3552
3552
|
|
|
3553
|
-
//
|
|
3553
|
+
// node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
|
|
3554
3554
|
var require_serde = __commonJS((exports) => {
|
|
3555
3555
|
var { createHmac, createHash, getRandomValues } = __require("crypto");
|
|
3556
3556
|
var { ReadStream, lstatSync, fstatSync } = __require("fs");
|
|
@@ -5188,7 +5188,7 @@ ${value}\r
|
|
|
5188
5188
|
exports.v4 = v4;
|
|
5189
5189
|
});
|
|
5190
5190
|
|
|
5191
|
-
//
|
|
5191
|
+
// node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
|
|
5192
5192
|
var require_checksum = __commonJS((exports) => {
|
|
5193
5193
|
var { createReadStream } = __require("fs");
|
|
5194
5194
|
var { Writable } = __require("stream");
|
|
@@ -5804,7 +5804,7 @@ var require_checksum = __commonJS((exports) => {
|
|
|
5804
5804
|
exports.readableStreamHasher = readableStreamHasher;
|
|
5805
5805
|
});
|
|
5806
5806
|
|
|
5807
|
-
//
|
|
5807
|
+
// node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
|
|
5808
5808
|
var require_event_streams = __commonJS((exports) => {
|
|
5809
5809
|
var { Crc32 } = require_checksum();
|
|
5810
5810
|
var { toHex, fromHex, toUtf8, fromUtf8 } = require_serde();
|
|
@@ -6687,7 +6687,7 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
6687
6687
|
exports.universalEventStreamSerdeProvider = eventStreamSerdeProvider$1;
|
|
6688
6688
|
});
|
|
6689
6689
|
|
|
6690
|
-
//
|
|
6690
|
+
// node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
|
|
6691
6691
|
var require_protocols = __commonJS((exports) => {
|
|
6692
6692
|
var { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require_serde();
|
|
6693
6693
|
var { TypeRegistry, NormalizedSchema, translateTraits } = require_schema();
|
|
@@ -7677,7 +7677,7 @@ var require_protocols = __commonJS((exports) => {
|
|
|
7677
7677
|
exports.resolvedPath = resolvedPath;
|
|
7678
7678
|
});
|
|
7679
7679
|
|
|
7680
|
-
//
|
|
7680
|
+
// node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
|
|
7681
7681
|
var require_retry = __commonJS((exports) => {
|
|
7682
7682
|
var { Readable } = __require("stream");
|
|
7683
7683
|
var { NoOpLogger, normalizeProvider } = require_client();
|
|
@@ -8474,7 +8474,7 @@ var require_retry = __commonJS((exports) => {
|
|
|
8474
8474
|
exports.retryMiddlewareOptions = retryMiddlewareOptions;
|
|
8475
8475
|
});
|
|
8476
8476
|
|
|
8477
|
-
//
|
|
8477
|
+
// node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js
|
|
8478
8478
|
var require_invoke_store = __commonJS((exports) => {
|
|
8479
8479
|
var PROTECTED_KEYS = {
|
|
8480
8480
|
REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"),
|
|
@@ -8603,7 +8603,7 @@ var require_invoke_store = __commonJS((exports) => {
|
|
|
8603
8603
|
exports.InvokeStoreBase = InvokeStoreBase;
|
|
8604
8604
|
});
|
|
8605
8605
|
|
|
8606
|
-
//
|
|
8606
|
+
// node_modules/@smithy/core/dist-cjs/index.js
|
|
8607
8607
|
var require_dist_cjs2 = __commonJS((exports) => {
|
|
8608
8608
|
var { getSmithyContext } = require_transport();
|
|
8609
8609
|
exports.getSmithyContext = getSmithyContext;
|
|
@@ -8929,7 +8929,7 @@ var require_dist_cjs2 = __commonJS((exports) => {
|
|
|
8929
8929
|
exports.setFeature = setFeature;
|
|
8930
8930
|
});
|
|
8931
8931
|
|
|
8932
|
-
//
|
|
8932
|
+
// node_modules/bowser/es5.js
|
|
8933
8933
|
var require_es5 = __commonJS((exports, module) => {
|
|
8934
8934
|
(function(e, t) {
|
|
8935
8935
|
typeof exports == "object" && typeof module == "object" ? module.exports = t() : typeof define == "function" && define.amd ? define([], t) : typeof exports == "object" ? exports.bowser = t() : e.bowser = t();
|
|
@@ -9769,7 +9769,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
9769
9769
|
});
|
|
9770
9770
|
});
|
|
9771
9771
|
|
|
9772
|
-
//
|
|
9772
|
+
// node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
|
|
9773
9773
|
var require_client2 = __commonJS((exports) => {
|
|
9774
9774
|
var { Retry, RETRY_MODES } = require_retry();
|
|
9775
9775
|
var { HttpRequest, parseUrl } = require_protocols();
|
|
@@ -10707,7 +10707,7 @@ More information can be found at: https://a.co/c895JFp`);
|
|
|
10707
10707
|
exports.userAgentMiddleware = userAgentMiddleware;
|
|
10708
10708
|
});
|
|
10709
10709
|
|
|
10710
|
-
//
|
|
10710
|
+
// node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
|
|
10711
10711
|
var require_crc = __commonJS((exports) => {
|
|
10712
10712
|
var { Crc32, Crc32Js, Crc32Node } = require_checksum();
|
|
10713
10713
|
exports.Crc32 = Crc32;
|
|
@@ -10864,7 +10864,7 @@ var require_crc = __commonJS((exports) => {
|
|
|
10864
10864
|
exports.crc64NvmeCrtContainer = crc64NvmeCrtContainer;
|
|
10865
10865
|
});
|
|
10866
10866
|
|
|
10867
|
-
//
|
|
10867
|
+
// node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
10868
10868
|
var require_dist_cjs3 = __commonJS((exports) => {
|
|
10869
10869
|
var { fromUtf8, fromHex, toHex, toUint8Array: toUint8Array2, isArrayBuffer: isArrayBuffer2 } = require_serde();
|
|
10870
10870
|
var { normalizeProvider: normalizeProvider2 } = require_client();
|
|
@@ -11404,7 +11404,7 @@ ${toHex(hashedRequest)}`;
|
|
|
11404
11404
|
exports.signatureV4aContainer = signatureV4aContainer;
|
|
11405
11405
|
});
|
|
11406
11406
|
|
|
11407
|
-
//
|
|
11407
|
+
// node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
|
|
11408
11408
|
var require_dist_cjs4 = __commonJS((exports) => {
|
|
11409
11409
|
var { SignatureV4, signatureV4aContainer } = require_dist_cjs3();
|
|
11410
11410
|
var signatureV4CrtContainer = {
|
|
@@ -11536,7 +11536,7 @@ var require_dist_cjs4 = __commonJS((exports) => {
|
|
|
11536
11536
|
exports.signatureV4CrtContainer = signatureV4CrtContainer;
|
|
11537
11537
|
});
|
|
11538
11538
|
|
|
11539
|
-
//
|
|
11539
|
+
// node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
|
|
11540
11540
|
var require_util = __commonJS((exports) => {
|
|
11541
11541
|
var { buildQueryString } = require_protocols();
|
|
11542
11542
|
var validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
|
|
@@ -11594,7 +11594,7 @@ var require_util = __commonJS((exports) => {
|
|
|
11594
11594
|
exports.validate = validate;
|
|
11595
11595
|
});
|
|
11596
11596
|
|
|
11597
|
-
//
|
|
11597
|
+
// node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
|
|
11598
11598
|
var require_cbor = __commonJS((exports) => {
|
|
11599
11599
|
var { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require_serde();
|
|
11600
11600
|
var { HttpRequest: HttpRequest2, collectBody, SerdeContext, RpcProtocol } = require_protocols();
|
|
@@ -13962,7 +13962,7 @@ var require_cbor = __commonJS((exports) => {
|
|
|
13962
13962
|
exports.tagSymbol = tagSymbol;
|
|
13963
13963
|
});
|
|
13964
13964
|
|
|
13965
|
-
//
|
|
13965
|
+
// node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
|
|
13966
13966
|
var require_dist_cjs5 = __commonJS((exports) => {
|
|
13967
13967
|
var ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
13968
13968
|
var ATTR_ESCAPE_MAP = {
|
|
@@ -14330,7 +14330,7 @@ var require_dist_cjs5 = __commonJS((exports) => {
|
|
|
14330
14330
|
exports.parseXML = parseXML;
|
|
14331
14331
|
});
|
|
14332
14332
|
|
|
14333
|
-
//
|
|
14333
|
+
// node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
|
|
14334
14334
|
var require_protocols2 = __commonJS((exports) => {
|
|
14335
14335
|
var { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require_cbor();
|
|
14336
14336
|
var { TypeRegistry, NormalizedSchema, deref } = require_schema();
|
|
@@ -17171,7 +17171,7 @@ var require_protocols2 = __commonJS((exports) => {
|
|
|
17171
17171
|
exports.parseXmlErrorBody = parseXmlErrorBody;
|
|
17172
17172
|
});
|
|
17173
17173
|
|
|
17174
|
-
//
|
|
17174
|
+
// node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
|
|
17175
17175
|
var require_httpAuthSchemes = __commonJS((exports) => {
|
|
17176
17176
|
var { ProviderError, booleanSelector: booleanSelector2, SelectorType: SelectorType3, loadConfig } = require_config();
|
|
17177
17177
|
var { setCredentialFeature } = require_client2();
|
|
@@ -17501,7 +17501,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
|
|
|
17501
17501
|
exports.validateSigningProperties = validateSigningProperties;
|
|
17502
17502
|
});
|
|
17503
17503
|
|
|
17504
|
-
//
|
|
17504
|
+
// node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
17505
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 () => {
|
|
17506
17506
|
init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
|
|
17507
17507
|
const accessKeyId = process.env[ENV_KEY];
|
|
@@ -17529,7 +17529,7 @@ var init_fromEnv = __esm(() => {
|
|
|
17529
17529
|
import_config = __toESM(require_config(), 1);
|
|
17530
17530
|
});
|
|
17531
17531
|
|
|
17532
|
-
//
|
|
17532
|
+
// node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
|
|
17533
17533
|
var exports_dist_es = {};
|
|
17534
17534
|
__export(exports_dist_es, {
|
|
17535
17535
|
fromEnv: () => fromEnv,
|
|
@@ -17544,7 +17544,7 @@ var init_dist_es = __esm(() => {
|
|
|
17544
17544
|
init_fromEnv();
|
|
17545
17545
|
});
|
|
17546
17546
|
|
|
17547
|
-
//
|
|
17547
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|
|
17548
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) => ({
|
|
17549
17549
|
accessKeyId: creds.AccessKeyId,
|
|
17550
17550
|
secretAccessKey: creds.SecretAccessKey,
|
|
@@ -17553,14 +17553,14 @@ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && type
|
|
|
17553
17553
|
...creds.AccountId && { accountId: creds.AccountId }
|
|
17554
17554
|
});
|
|
17555
17555
|
|
|
17556
|
-
//
|
|
17556
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
|
|
17557
17557
|
var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
|
|
17558
17558
|
|
|
17559
|
-
//
|
|
17559
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
|
|
17560
17560
|
import node_http from "http";
|
|
17561
17561
|
var init_node_http = () => {};
|
|
17562
17562
|
|
|
17563
|
-
//
|
|
17563
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
|
|
17564
17564
|
function httpRequest(options) {
|
|
17565
17565
|
return new Promise((resolve, reject) => {
|
|
17566
17566
|
const req = node_http.request({
|
|
@@ -17600,7 +17600,7 @@ var init_httpRequest = __esm(() => {
|
|
|
17600
17600
|
import_config2 = __toESM(require_config(), 1);
|
|
17601
17601
|
});
|
|
17602
17602
|
|
|
17603
|
-
//
|
|
17603
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
|
|
17604
17604
|
var retry = (toRetry, maxRetries) => {
|
|
17605
17605
|
let promise = toRetry();
|
|
17606
17606
|
for (let i2 = 0;i2 < maxRetries; i2++) {
|
|
@@ -17609,7 +17609,7 @@ var retry = (toRetry, maxRetries) => {
|
|
|
17609
17609
|
return promise;
|
|
17610
17610
|
};
|
|
17611
17611
|
|
|
17612
|
-
//
|
|
17612
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
|
|
17613
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 = {}) => {
|
|
17614
17614
|
const { timeout, maxRetries } = providerConfigFromInit(init);
|
|
17615
17615
|
return () => retry(async () => {
|
|
@@ -17679,7 +17679,7 @@ var init_fromContainerMetadata = __esm(() => {
|
|
|
17679
17679
|
GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
|
|
17680
17680
|
});
|
|
17681
17681
|
|
|
17682
|
-
//
|
|
17682
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
|
|
17683
17683
|
var import_config4, InstanceMetadataV1FallbackError;
|
|
17684
17684
|
var init_InstanceMetadataV1FallbackError = __esm(() => {
|
|
17685
17685
|
import_config4 = __toESM(require_config(), 1);
|
|
@@ -17694,7 +17694,7 @@ var init_InstanceMetadataV1FallbackError = __esm(() => {
|
|
|
17694
17694
|
};
|
|
17695
17695
|
});
|
|
17696
17696
|
|
|
17697
|
-
//
|
|
17697
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
|
|
17698
17698
|
var Endpoint;
|
|
17699
17699
|
var init_Endpoint = __esm(() => {
|
|
17700
17700
|
(function(Endpoint2) {
|
|
@@ -17703,7 +17703,7 @@ var init_Endpoint = __esm(() => {
|
|
|
17703
17703
|
})(Endpoint || (Endpoint = {}));
|
|
17704
17704
|
});
|
|
17705
17705
|
|
|
17706
|
-
//
|
|
17706
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
|
|
17707
17707
|
var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
|
|
17708
17708
|
var init_EndpointConfigOptions = __esm(() => {
|
|
17709
17709
|
ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -17713,7 +17713,7 @@ var init_EndpointConfigOptions = __esm(() => {
|
|
|
17713
17713
|
};
|
|
17714
17714
|
});
|
|
17715
17715
|
|
|
17716
|
-
//
|
|
17716
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
|
|
17717
17717
|
var EndpointMode;
|
|
17718
17718
|
var init_EndpointMode = __esm(() => {
|
|
17719
17719
|
(function(EndpointMode2) {
|
|
@@ -17722,7 +17722,7 @@ var init_EndpointMode = __esm(() => {
|
|
|
17722
17722
|
})(EndpointMode || (EndpointMode = {}));
|
|
17723
17723
|
});
|
|
17724
17724
|
|
|
17725
|
-
//
|
|
17725
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
|
|
17726
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;
|
|
17727
17727
|
var init_EndpointModeConfigOptions = __esm(() => {
|
|
17728
17728
|
init_EndpointMode();
|
|
@@ -17733,7 +17733,7 @@ var init_EndpointModeConfigOptions = __esm(() => {
|
|
|
17733
17733
|
};
|
|
17734
17734
|
});
|
|
17735
17735
|
|
|
17736
|
-
//
|
|
17736
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
|
|
17737
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 () => {
|
|
17738
17738
|
const endpointMode = await import_config5.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
|
|
17739
17739
|
switch (endpointMode) {
|
|
@@ -17754,7 +17754,7 @@ var init_getInstanceMetadataEndpoint = __esm(() => {
|
|
|
17754
17754
|
import_protocols = __toESM(require_protocols(), 1);
|
|
17755
17755
|
});
|
|
17756
17756
|
|
|
17757
|
-
//
|
|
17757
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
|
|
17758
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) => {
|
|
17759
17759
|
const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
|
|
17760
17760
|
const newExpiration = new Date(Date.now() + refreshInterval * 1000);
|
|
@@ -17772,7 +17772,7 @@ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
|
|
|
17772
17772
|
STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
|
|
17773
17773
|
});
|
|
17774
17774
|
|
|
17775
|
-
//
|
|
17775
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
|
|
17776
17776
|
var staticStabilityProvider = (provider, options = {}) => {
|
|
17777
17777
|
const logger = options?.logger || console;
|
|
17778
17778
|
let pastCredentials;
|
|
@@ -17799,7 +17799,7 @@ var init_staticStabilityProvider = __esm(() => {
|
|
|
17799
17799
|
init_getExtendedInstanceMetadataCredentials();
|
|
17800
17800
|
});
|
|
17801
17801
|
|
|
17802
|
-
//
|
|
17802
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
|
|
17803
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 = {}) => {
|
|
17804
17804
|
let disableFetchToken = false;
|
|
17805
17805
|
const { logger, profile } = init;
|
|
@@ -17919,7 +17919,7 @@ var init_fromInstanceMetadata = __esm(() => {
|
|
|
17919
17919
|
import_config6 = __toESM(require_config(), 1);
|
|
17920
17920
|
});
|
|
17921
17921
|
|
|
17922
|
-
//
|
|
17922
|
+
// node_modules/@smithy/credential-provider-imds/dist-es/index.js
|
|
17923
17923
|
var exports_dist_es2 = {};
|
|
17924
17924
|
__export(exports_dist_es2, {
|
|
17925
17925
|
providerConfigFromInit: () => providerConfigFromInit,
|
|
@@ -17942,7 +17942,7 @@ var init_dist_es2 = __esm(() => {
|
|
|
17942
17942
|
init_Endpoint();
|
|
17943
17943
|
});
|
|
17944
17944
|
|
|
17945
|
-
//
|
|
17945
|
+
// node_modules/@smithy/node-http-handler/dist-cjs/index.js
|
|
17946
17946
|
var require_dist_cjs6 = __commonJS((exports) => {
|
|
17947
17947
|
var { buildQueryString, HttpResponse: HttpResponse2 } = require_protocols();
|
|
17948
17948
|
var node_https = __require("https");
|
|
@@ -18756,7 +18756,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
18756
18756
|
exports.NodeHttpHandler = NodeHttpHandler;
|
|
18757
18757
|
});
|
|
18758
18758
|
|
|
18759
|
-
//
|
|
18759
|
+
// node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
|
|
18760
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) => {
|
|
18761
18761
|
if (url.protocol === "https:") {
|
|
18762
18762
|
return;
|
|
@@ -18790,7 +18790,7 @@ var init_checkUrl = __esm(() => {
|
|
|
18790
18790
|
import_config7 = __toESM(require_config(), 1);
|
|
18791
18791
|
});
|
|
18792
18792
|
|
|
18793
|
-
//
|
|
18793
|
+
// node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
|
|
18794
18794
|
function createGetRequest(url) {
|
|
18795
18795
|
return new import_protocols2.HttpRequest({
|
|
18796
18796
|
protocol: url.protocol,
|
|
@@ -18839,7 +18839,7 @@ var init_requestHelpers = __esm(() => {
|
|
|
18839
18839
|
import_serde2 = __toESM(require_serde(), 1);
|
|
18840
18840
|
});
|
|
18841
18841
|
|
|
18842
|
-
//
|
|
18842
|
+
// node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
|
|
18843
18843
|
var retryWrapper = (toRetry, maxRetries, delayMs) => {
|
|
18844
18844
|
return async () => {
|
|
18845
18845
|
for (let i2 = 0;i2 < maxRetries; ++i2) {
|
|
@@ -18853,7 +18853,7 @@ var retryWrapper = (toRetry, maxRetries, delayMs) => {
|
|
|
18853
18853
|
};
|
|
18854
18854
|
};
|
|
18855
18855
|
|
|
18856
|
-
//
|
|
18856
|
+
// node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
18857
18857
|
import fs from "fs/promises";
|
|
18858
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 = {}) => {
|
|
18859
18859
|
options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
|
|
@@ -18919,7 +18919,7 @@ var init_fromHttp = __esm(() => {
|
|
|
18919
18919
|
import_node_http_handler = __toESM(require_dist_cjs6(), 1);
|
|
18920
18920
|
});
|
|
18921
18921
|
|
|
18922
|
-
//
|
|
18922
|
+
// node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
|
|
18923
18923
|
var exports_dist_es3 = {};
|
|
18924
18924
|
__export(exports_dist_es3, {
|
|
18925
18925
|
fromHttp: () => fromHttp
|
|
@@ -18928,16 +18928,16 @@ var init_dist_es3 = __esm(() => {
|
|
|
18928
18928
|
init_fromHttp();
|
|
18929
18929
|
});
|
|
18930
18930
|
|
|
18931
|
-
//
|
|
18931
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
|
|
18932
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");
|
|
18933
18933
|
|
|
18934
|
-
//
|
|
18934
|
+
// node_modules/@aws-sdk/token-providers/dist-es/constants.js
|
|
18935
18935
|
var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
18936
18936
|
var init_constants = __esm(() => {
|
|
18937
18937
|
EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
18938
18938
|
});
|
|
18939
18939
|
|
|
18940
|
-
//
|
|
18940
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
|
|
18941
18941
|
var require_sso_oidc = __commonJS((exports) => {
|
|
18942
18942
|
var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
|
|
18943
18943
|
var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
|
|
@@ -19692,7 +19692,7 @@ var require_sso_oidc = __commonJS((exports) => {
|
|
|
19692
19692
|
exports.errorTypeRegistries = errorTypeRegistries2;
|
|
19693
19693
|
});
|
|
19694
19694
|
|
|
19695
|
-
//
|
|
19695
|
+
// node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
19696
19696
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
19697
19697
|
const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
|
|
19698
19698
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
@@ -19704,7 +19704,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
19704
19704
|
return ssoOidcClient;
|
|
19705
19705
|
};
|
|
19706
19706
|
|
|
19707
|
-
//
|
|
19707
|
+
// node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
19708
19708
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
19709
19709
|
const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
|
|
19710
19710
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
@@ -19717,7 +19717,7 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
|
|
|
19717
19717
|
};
|
|
19718
19718
|
var init_getNewSsoOidcToken = () => {};
|
|
19719
19719
|
|
|
19720
|
-
//
|
|
19720
|
+
// node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
|
|
19721
19721
|
var import_config11, validateTokenExpiry = (token) => {
|
|
19722
19722
|
if (token.expiration && token.expiration.getTime() < Date.now()) {
|
|
19723
19723
|
throw new import_config11.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
|
|
@@ -19728,7 +19728,7 @@ var init_validateTokenExpiry = __esm(() => {
|
|
|
19728
19728
|
import_config11 = __toESM(require_config(), 1);
|
|
19729
19729
|
});
|
|
19730
19730
|
|
|
19731
|
-
//
|
|
19731
|
+
// node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
|
|
19732
19732
|
var import_config12, validateTokenKey = (key, value, forRefresh = false) => {
|
|
19733
19733
|
if (typeof value === "undefined") {
|
|
19734
19734
|
throw new import_config12.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
|
|
@@ -19739,7 +19739,7 @@ var init_validateTokenKey = __esm(() => {
|
|
|
19739
19739
|
import_config12 = __toESM(require_config(), 1);
|
|
19740
19740
|
});
|
|
19741
19741
|
|
|
19742
|
-
//
|
|
19742
|
+
// node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
|
|
19743
19743
|
import { promises as fsPromises } from "fs";
|
|
19744
19744
|
var import_config13, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
|
|
19745
19745
|
const tokenFilepath = import_config13.getSSOTokenFilepath(id);
|
|
@@ -19751,7 +19751,7 @@ var init_writeSSOTokenToFile = __esm(() => {
|
|
|
19751
19751
|
({ writeFile } = fsPromises);
|
|
19752
19752
|
});
|
|
19753
19753
|
|
|
19754
|
-
//
|
|
19754
|
+
// node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
|
|
19755
19755
|
var import_config14, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
19756
19756
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
19757
19757
|
const profiles = await import_config14.parseKnownFiles(init);
|
|
@@ -19830,12 +19830,12 @@ var init_fromSso = __esm(() => {
|
|
|
19830
19830
|
lastRefreshAttemptTime = new Date(0);
|
|
19831
19831
|
});
|
|
19832
19832
|
|
|
19833
|
-
//
|
|
19833
|
+
// node_modules/@aws-sdk/token-providers/dist-es/index.js
|
|
19834
19834
|
var init_dist_es4 = __esm(() => {
|
|
19835
19835
|
init_fromSso();
|
|
19836
19836
|
});
|
|
19837
19837
|
|
|
19838
|
-
//
|
|
19838
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
|
|
19839
19839
|
function createAwsAuthSigv4HttpAuthOption2(authParameters) {
|
|
19840
19840
|
return {
|
|
19841
19841
|
schemeId: "aws.auth#sigv4",
|
|
@@ -20283,7 +20283,7 @@ var init_sso = __esm(() => {
|
|
|
20283
20283
|
$SSOClient = SSOClient;
|
|
20284
20284
|
});
|
|
20285
20285
|
|
|
20286
|
-
//
|
|
20286
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
|
|
20287
20287
|
var exports_loadSso = {};
|
|
20288
20288
|
__export(exports_loadSso, {
|
|
20289
20289
|
SSOClient: () => $SSOClient,
|
|
@@ -20293,7 +20293,7 @@ var init_loadSso = __esm(() => {
|
|
|
20293
20293
|
init_sso();
|
|
20294
20294
|
});
|
|
20295
20295
|
|
|
20296
|
-
//
|
|
20296
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
|
|
20297
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 }) => {
|
|
20298
20298
|
let token;
|
|
20299
20299
|
const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
|
|
@@ -20382,7 +20382,7 @@ var init_resolveSSOCredentials = __esm(() => {
|
|
|
20382
20382
|
import_config15 = __toESM(require_config(), 1);
|
|
20383
20383
|
});
|
|
20384
20384
|
|
|
20385
|
-
//
|
|
20385
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
|
|
20386
20386
|
var import_config16, validateSsoProfile = (profile, logger) => {
|
|
20387
20387
|
const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
|
|
20388
20388
|
if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
|
|
@@ -20395,7 +20395,7 @@ var init_validateSsoProfile = __esm(() => {
|
|
|
20395
20395
|
import_config16 = __toESM(require_config(), 1);
|
|
20396
20396
|
});
|
|
20397
20397
|
|
|
20398
|
-
//
|
|
20398
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
|
|
20399
20399
|
var import_config17, fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
20400
20400
|
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
|
20401
20401
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
@@ -20477,7 +20477,7 @@ var init_fromSSO = __esm(() => {
|
|
|
20477
20477
|
import_config17 = __toESM(require_config(), 1);
|
|
20478
20478
|
});
|
|
20479
20479
|
|
|
20480
|
-
//
|
|
20480
|
+
// node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
|
|
20481
20481
|
var exports_dist_es4 = {};
|
|
20482
20482
|
__export(exports_dist_es4, {
|
|
20483
20483
|
validateSsoProfile: () => validateSsoProfile,
|
|
@@ -20489,7 +20489,7 @@ var init_dist_es5 = __esm(() => {
|
|
|
20489
20489
|
init_validateSsoProfile();
|
|
20490
20490
|
});
|
|
20491
20491
|
|
|
20492
|
-
//
|
|
20492
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
20493
20493
|
var import_client8, import_config18, resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
20494
20494
|
const sourceProvidersMap = {
|
|
20495
20495
|
EcsContainer: async (options) => {
|
|
@@ -20520,7 +20520,7 @@ var init_resolveCredentialSource = __esm(() => {
|
|
|
20520
20520
|
import_config18 = __toESM(require_config(), 1);
|
|
20521
20521
|
});
|
|
20522
20522
|
|
|
20523
|
-
//
|
|
20523
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
20524
20524
|
var require_sts = __commonJS((exports) => {
|
|
20525
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();
|
|
20526
20526
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -21542,7 +21542,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
21542
21542
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
21543
21543
|
});
|
|
21544
21544
|
|
|
21545
|
-
//
|
|
21545
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
21546
21546
|
var import_client9, import_config19, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
21547
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 }));
|
|
21548
21548
|
}, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
|
|
@@ -21610,7 +21610,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
|
|
|
21610
21610
|
import_config19 = __toESM(require_config(), 1);
|
|
21611
21611
|
});
|
|
21612
21612
|
|
|
21613
|
-
//
|
|
21613
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
|
|
21614
21614
|
var require_signin = __commonJS((exports) => {
|
|
21615
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();
|
|
21616
21616
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -22342,7 +22342,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
22342
22342
|
exports.errorTypeRegistries = errorTypeRegistries3;
|
|
22343
22343
|
});
|
|
22344
22344
|
|
|
22345
|
-
//
|
|
22345
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
22346
22346
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
22347
22347
|
import { promises as fs2 } from "fs";
|
|
22348
22348
|
import { homedir } from "os";
|
|
@@ -22606,7 +22606,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
|
|
|
22606
22606
|
};
|
|
22607
22607
|
});
|
|
22608
22608
|
|
|
22609
|
-
//
|
|
22609
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
22610
22610
|
var import_client10, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
22611
22611
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
22612
22612
|
const profiles = await import_config21.parseKnownFiles(init || {});
|
|
@@ -22630,7 +22630,7 @@ var init_fromLoginCredentials = __esm(() => {
|
|
|
22630
22630
|
import_config21 = __toESM(require_config(), 1);
|
|
22631
22631
|
});
|
|
22632
22632
|
|
|
22633
|
-
//
|
|
22633
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
|
|
22634
22634
|
var exports_dist_es5 = {};
|
|
22635
22635
|
__export(exports_dist_es5, {
|
|
22636
22636
|
fromLoginCredentials: () => fromLoginCredentials
|
|
@@ -22639,7 +22639,7 @@ var init_dist_es6 = __esm(() => {
|
|
|
22639
22639
|
init_fromLoginCredentials();
|
|
22640
22640
|
});
|
|
22641
22641
|
|
|
22642
|
-
//
|
|
22642
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
22643
22643
|
var import_client11, isLoginProfile = (data) => {
|
|
22644
22644
|
return Boolean(data && data.login_session);
|
|
22645
22645
|
}, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
@@ -22654,7 +22654,7 @@ var init_resolveLoginCredentials = __esm(() => {
|
|
|
22654
22654
|
import_client11 = __toESM(require_client2(), 1);
|
|
22655
22655
|
});
|
|
22656
22656
|
|
|
22657
|
-
//
|
|
22657
|
+
// node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
|
|
22658
22658
|
var import_client12, getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
22659
22659
|
if (data.Version !== 1) {
|
|
22660
22660
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
@@ -22688,7 +22688,7 @@ var init_getValidatedProcessCredentials = __esm(() => {
|
|
|
22688
22688
|
import_client12 = __toESM(require_client2(), 1);
|
|
22689
22689
|
});
|
|
22690
22690
|
|
|
22691
|
-
//
|
|
22691
|
+
// node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
22692
22692
|
import { exec } from "child_process";
|
|
22693
22693
|
import { promisify } from "util";
|
|
22694
22694
|
var import_config22, resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
@@ -22723,7 +22723,7 @@ var init_resolveProcessCredentials = __esm(() => {
|
|
|
22723
22723
|
import_config22 = __toESM(require_config(), 1);
|
|
22724
22724
|
});
|
|
22725
22725
|
|
|
22726
|
-
//
|
|
22726
|
+
// node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
|
|
22727
22727
|
var import_config23, fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
22728
22728
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
22729
22729
|
const profiles = await import_config23.parseKnownFiles(init);
|
|
@@ -22736,7 +22736,7 @@ var init_fromProcess = __esm(() => {
|
|
|
22736
22736
|
import_config23 = __toESM(require_config(), 1);
|
|
22737
22737
|
});
|
|
22738
22738
|
|
|
22739
|
-
//
|
|
22739
|
+
// node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
|
|
22740
22740
|
var exports_dist_es6 = {};
|
|
22741
22741
|
__export(exports_dist_es6, {
|
|
22742
22742
|
fromProcess: () => fromProcess
|
|
@@ -22745,7 +22745,7 @@ var init_dist_es7 = __esm(() => {
|
|
|
22745
22745
|
init_fromProcess();
|
|
22746
22746
|
});
|
|
22747
22747
|
|
|
22748
|
-
//
|
|
22748
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
22749
22749
|
var import_client13, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
|
|
22750
22750
|
const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
|
|
22751
22751
|
const credentials = await fromProcess2({
|
|
@@ -22758,7 +22758,7 @@ var init_resolveProcessCredentials2 = __esm(() => {
|
|
|
22758
22758
|
import_client13 = __toESM(require_client2(), 1);
|
|
22759
22759
|
});
|
|
22760
22760
|
|
|
22761
|
-
//
|
|
22761
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
22762
22762
|
var import_client14, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
22763
22763
|
const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
|
|
22764
22764
|
return fromSSO2({
|
|
@@ -22780,7 +22780,7 @@ var init_resolveSsoCredentials = __esm(() => {
|
|
|
22780
22780
|
import_client14 = __toESM(require_client2(), 1);
|
|
22781
22781
|
});
|
|
22782
22782
|
|
|
22783
|
-
//
|
|
22783
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
22784
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) => {
|
|
22785
22785
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
22786
22786
|
const credentials = {
|
|
@@ -22796,7 +22796,7 @@ var init_resolveStaticCredentials = __esm(() => {
|
|
|
22796
22796
|
import_client15 = __toESM(require_client2(), 1);
|
|
22797
22797
|
});
|
|
22798
22798
|
|
|
22799
|
-
//
|
|
22799
|
+
// node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
|
|
22800
22800
|
var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
22801
22801
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
22802
22802
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
@@ -22823,7 +22823,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
22823
22823
|
});
|
|
22824
22824
|
};
|
|
22825
22825
|
|
|
22826
|
-
//
|
|
22826
|
+
// node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
22827
22827
|
import { readFileSync } from "fs";
|
|
22828
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) => {
|
|
22829
22829
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
@@ -22851,7 +22851,7 @@ var init_fromTokenFile = __esm(() => {
|
|
|
22851
22851
|
import_config24 = __toESM(require_config(), 1);
|
|
22852
22852
|
});
|
|
22853
22853
|
|
|
22854
|
-
//
|
|
22854
|
+
// node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
|
|
22855
22855
|
var exports_dist_es7 = {};
|
|
22856
22856
|
__export(exports_dist_es7, {
|
|
22857
22857
|
fromWebToken: () => fromWebToken,
|
|
@@ -22861,7 +22861,7 @@ var init_dist_es8 = __esm(() => {
|
|
|
22861
22861
|
init_fromTokenFile();
|
|
22862
22862
|
});
|
|
22863
22863
|
|
|
22864
|
-
//
|
|
22864
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
22865
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) => {
|
|
22866
22866
|
const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
|
|
22867
22867
|
const credentials = await fromTokenFile2({
|
|
@@ -22880,7 +22880,7 @@ var init_resolveWebIdentityCredentials = __esm(() => {
|
|
|
22880
22880
|
import_client17 = __toESM(require_client2(), 1);
|
|
22881
22881
|
});
|
|
22882
22882
|
|
|
22883
|
-
//
|
|
22883
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
22884
22884
|
var import_config25, resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
22885
22885
|
const data = profiles[profileName];
|
|
22886
22886
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
@@ -22916,7 +22916,7 @@ var init_resolveProfileData = __esm(() => {
|
|
|
22916
22916
|
import_config25 = __toESM(require_config(), 1);
|
|
22917
22917
|
});
|
|
22918
22918
|
|
|
22919
|
-
//
|
|
22919
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
22920
22920
|
var import_config26, fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
22921
22921
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
22922
22922
|
const profiles = await import_config26.parseKnownFiles(init);
|
|
@@ -22929,7 +22929,7 @@ var init_fromIni = __esm(() => {
|
|
|
22929
22929
|
import_config26 = __toESM(require_config(), 1);
|
|
22930
22930
|
});
|
|
22931
22931
|
|
|
22932
|
-
//
|
|
22932
|
+
// node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
|
|
22933
22933
|
var exports_dist_es8 = {};
|
|
22934
22934
|
__export(exports_dist_es8, {
|
|
22935
22935
|
fromIni: () => fromIni
|
|
@@ -22943,7 +22943,7 @@ import { randomUUID as randomUUID4 } from "crypto";
|
|
|
22943
22943
|
// package.json
|
|
22944
22944
|
var package_default = {
|
|
22945
22945
|
name: "@hasna/skills",
|
|
22946
|
-
version: "0.2.
|
|
22946
|
+
version: "0.2.1",
|
|
22947
22947
|
description: "Skills library for AI coding agents",
|
|
22948
22948
|
type: "module",
|
|
22949
22949
|
bin: {
|
|
@@ -23191,7 +23191,7 @@ function ownBytes(view) {
|
|
|
23191
23191
|
return out;
|
|
23192
23192
|
}
|
|
23193
23193
|
|
|
23194
|
-
//
|
|
23194
|
+
// node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
|
|
23195
23195
|
var { setFeature } = require_client2();
|
|
23196
23196
|
var { HttpRequest } = require_protocols();
|
|
23197
23197
|
var { isArrayBuffer, toUint8Array, createBufferedReadable, createChecksumStream } = require_serde();
|
|
@@ -23584,10 +23584,10 @@ var $NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = NODE_RESPONSE_CHECKSUM_V
|
|
|
23584
23584
|
var $getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin;
|
|
23585
23585
|
var $resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig;
|
|
23586
23586
|
|
|
23587
|
-
//
|
|
23587
|
+
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
23588
23588
|
var import_client23 = __toESM(require_client2(), 1);
|
|
23589
23589
|
|
|
23590
|
-
//
|
|
23590
|
+
// node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
|
|
23591
23591
|
var { NoOpLogger, getSmithyContext } = require_client();
|
|
23592
23592
|
var { HttpRequest: HttpRequest2, HttpResponse } = require_protocols();
|
|
23593
23593
|
var { parseRfc7231DateTime } = require_serde();
|
|
@@ -24192,7 +24192,7 @@ var $getThrow200ExceptionsPlugin = getThrow200ExceptionsPlugin;
|
|
|
24192
24192
|
var $getValidateBucketNamePlugin = getValidateBucketNamePlugin;
|
|
24193
24193
|
var $resolveS3Config = resolveS3Config;
|
|
24194
24194
|
|
|
24195
|
-
//
|
|
24195
|
+
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
24196
24196
|
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
24197
24197
|
var import_client24 = __toESM(require_client(), 1);
|
|
24198
24198
|
var import_config29 = __toESM(require_config(), 1);
|
|
@@ -24202,17 +24202,17 @@ var import_protocols6 = __toESM(require_protocols(), 1);
|
|
|
24202
24202
|
var import_retry4 = __toESM(require_retry(), 1);
|
|
24203
24203
|
var import_schema2 = __toESM(require_schema(), 1);
|
|
24204
24204
|
|
|
24205
|
-
//
|
|
24205
|
+
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
24206
24206
|
var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
24207
24207
|
var import_signature_v4_multi_region = __toESM(require_dist_cjs4(), 1);
|
|
24208
24208
|
var import_client2 = __toESM(require_client(), 1);
|
|
24209
24209
|
var import_endpoints3 = __toESM(require_endpoints(), 1);
|
|
24210
24210
|
|
|
24211
|
-
//
|
|
24211
|
+
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
|
|
24212
24212
|
var import_client = __toESM(require_client2(), 1);
|
|
24213
24213
|
var import_endpoints2 = __toESM(require_endpoints(), 1);
|
|
24214
24214
|
|
|
24215
|
-
//
|
|
24215
|
+
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
|
|
24216
24216
|
var import_endpoints = __toESM(require_endpoints(), 1);
|
|
24217
24217
|
var aw = "ref";
|
|
24218
24218
|
var ax = "argv";
|
|
@@ -26156,7 +26156,7 @@ var nodes = new Int32Array([
|
|
|
26156
26156
|
]);
|
|
26157
26157
|
var bdd = import_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
26158
26158
|
|
|
26159
|
-
//
|
|
26159
|
+
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
|
|
26160
26160
|
var cache = new import_endpoints2.EndpointCache({
|
|
26161
26161
|
size: 50,
|
|
26162
26162
|
params: [
|
|
@@ -26184,7 +26184,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
26184
26184
|
};
|
|
26185
26185
|
import_endpoints2.customEndpointFunctions.aws = import_client.awsEndpointFunctions;
|
|
26186
26186
|
|
|
26187
|
-
//
|
|
26187
|
+
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
26188
26188
|
var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
26189
26189
|
if (!input) {
|
|
26190
26190
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
@@ -26300,11 +26300,11 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
26300
26300
|
});
|
|
26301
26301
|
};
|
|
26302
26302
|
|
|
26303
|
-
//
|
|
26303
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
26304
26304
|
var import_client3 = __toESM(require_client(), 1);
|
|
26305
26305
|
var import_endpoints4 = __toESM(require_endpoints(), 1);
|
|
26306
26306
|
|
|
26307
|
-
//
|
|
26307
|
+
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
|
|
26308
26308
|
var resolveClientEndpointParameters = (options) => {
|
|
26309
26309
|
return Object.assign(options, {
|
|
26310
26310
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
@@ -26330,7 +26330,7 @@ var commonParams = {
|
|
|
26330
26330
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
26331
26331
|
};
|
|
26332
26332
|
|
|
26333
|
-
//
|
|
26333
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
26334
26334
|
var command = import_client3.makeBuilder(commonParams, "AmazonS3", "S3Client", import_endpoints4.getEndpointPlugin);
|
|
26335
26335
|
var _ep0 = {
|
|
26336
26336
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -26362,10 +26362,10 @@ var _mw11 = (Command, cs, config, o2) => [
|
|
|
26362
26362
|
$getSsecPlugin(config)
|
|
26363
26363
|
];
|
|
26364
26364
|
|
|
26365
|
-
//
|
|
26365
|
+
// node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
|
|
26366
26366
|
var import_schema = __toESM(require_schema(), 1);
|
|
26367
26367
|
|
|
26368
|
-
//
|
|
26368
|
+
// node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
|
|
26369
26369
|
var import_client4 = __toESM(require_client(), 1);
|
|
26370
26370
|
class S3ServiceException extends import_client4.ServiceException {
|
|
26371
26371
|
constructor(options) {
|
|
@@ -26374,7 +26374,7 @@ class S3ServiceException extends import_client4.ServiceException {
|
|
|
26374
26374
|
}
|
|
26375
26375
|
}
|
|
26376
26376
|
|
|
26377
|
-
//
|
|
26377
|
+
// node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
|
|
26378
26378
|
class NoSuchUpload extends S3ServiceException {
|
|
26379
26379
|
name = "NoSuchUpload";
|
|
26380
26380
|
$fault = "client";
|
|
@@ -26652,7 +26652,7 @@ class ObjectAlreadyInActiveTierError extends S3ServiceException {
|
|
|
26652
26652
|
}
|
|
26653
26653
|
}
|
|
26654
26654
|
|
|
26655
|
-
//
|
|
26655
|
+
// node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
|
|
26656
26656
|
var _A = "Account";
|
|
26657
26657
|
var _AAO = "AnalyticsAndOperator";
|
|
26658
26658
|
var _AC = "AccelerateConfiguration";
|
|
@@ -32104,13 +32104,13 @@ var WriteGetObjectResponse$ = [
|
|
|
32104
32104
|
() => __Unit
|
|
32105
32105
|
];
|
|
32106
32106
|
|
|
32107
|
-
//
|
|
32107
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
|
|
32108
32108
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
32109
32109
|
}
|
|
32110
|
-
//
|
|
32110
|
+
// node_modules/@aws-sdk/client-s3/package.json
|
|
32111
32111
|
var package_default2 = {
|
|
32112
32112
|
name: "@aws-sdk/client-s3",
|
|
32113
|
-
version: "3.
|
|
32113
|
+
version: "3.1113.0",
|
|
32114
32114
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
32115
32115
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
32116
32116
|
license: "Apache-2.0",
|
|
@@ -32177,7 +32177,7 @@ var package_default2 = {
|
|
|
32177
32177
|
tslib: "^2.6.2"
|
|
32178
32178
|
},
|
|
32179
32179
|
devDependencies: {
|
|
32180
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
32180
|
+
"@aws-sdk/signature-v4-crt": "3.1113.0",
|
|
32181
32181
|
"@smithy/snapshot-testing": "^2.2.16",
|
|
32182
32182
|
"@tsconfig/node20": "20.1.8",
|
|
32183
32183
|
"@types/node": "^20.14.8",
|
|
@@ -32192,15 +32192,15 @@ var package_default2 = {
|
|
|
32192
32192
|
}
|
|
32193
32193
|
};
|
|
32194
32194
|
|
|
32195
|
-
//
|
|
32195
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32196
32196
|
var import_client19 = __toESM(require_client2(), 1);
|
|
32197
32197
|
var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
32198
32198
|
|
|
32199
|
-
//
|
|
32199
|
+
// node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
32200
32200
|
init_dist_es();
|
|
32201
32201
|
var import_config27 = __toESM(require_config(), 1);
|
|
32202
32202
|
|
|
32203
|
-
//
|
|
32203
|
+
// node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
32204
32204
|
var import_config10 = __toESM(require_config(), 1);
|
|
32205
32205
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
32206
32206
|
var remoteProvider = async (init) => {
|
|
@@ -32219,7 +32219,7 @@ var remoteProvider = async (init) => {
|
|
|
32219
32219
|
return fromInstanceMetadata2(init);
|
|
32220
32220
|
};
|
|
32221
32221
|
|
|
32222
|
-
//
|
|
32222
|
+
// node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
|
|
32223
32223
|
function memoizeChain(providers, treatAsExpired) {
|
|
32224
32224
|
const chain2 = internalCreateChain(providers);
|
|
32225
32225
|
let activeLock;
|
|
@@ -32283,7 +32283,7 @@ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
|
|
|
32283
32283
|
throw lastProviderError;
|
|
32284
32284
|
};
|
|
32285
32285
|
|
|
32286
|
-
//
|
|
32286
|
+
// node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
32287
32287
|
var multipleCredentialSourceWarningEmitted = false;
|
|
32288
32288
|
var defaultProvider = (init = {}) => memoizeChain([
|
|
32289
32289
|
async () => {
|
|
@@ -32349,7 +32349,7 @@ var defaultProvider = (init = {}) => memoizeChain([
|
|
|
32349
32349
|
}
|
|
32350
32350
|
], credentialsTreatedAsExpired);
|
|
32351
32351
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
32352
|
-
//
|
|
32352
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32353
32353
|
var import_checksum2 = __toESM(require_checksum(), 1);
|
|
32354
32354
|
var import_client20 = __toESM(require_client(), 1);
|
|
32355
32355
|
var import_config28 = __toESM(require_config(), 1);
|
|
@@ -32358,7 +32358,7 @@ var import_retry3 = __toESM(require_retry(), 1);
|
|
|
32358
32358
|
var import_serde4 = __toESM(require_serde(), 1);
|
|
32359
32359
|
var import_node_http_handler2 = __toESM(require_dist_cjs6(), 1);
|
|
32360
32360
|
|
|
32361
|
-
//
|
|
32361
|
+
// node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
|
|
32362
32362
|
var { toUint8Array: toUint8Array2, concatBytes } = require_serde();
|
|
32363
32363
|
var { createHmac, createHash: createHash2 } = __require("crypto");
|
|
32364
32364
|
var { Sha256: Sha2562, Sha256Js, Sha256Node } = require_checksum();
|
|
@@ -32587,7 +32587,7 @@ var subtle = typeof digest === "function" && typeof sign2 === "function" && type
|
|
|
32587
32587
|
var MAX_PENDING_BYTES = 8 * 1024 * 1024;
|
|
32588
32588
|
var $Sha1 = Sha1Node;
|
|
32589
32589
|
|
|
32590
|
-
//
|
|
32590
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
|
|
32591
32591
|
var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
32592
32592
|
var import_signature_v4_multi_region2 = __toESM(require_dist_cjs4(), 1);
|
|
32593
32593
|
var import_checksum = __toESM(require_checksum(), 1);
|
|
@@ -32639,7 +32639,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
32639
32639
|
};
|
|
32640
32640
|
};
|
|
32641
32641
|
|
|
32642
|
-
//
|
|
32642
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
32643
32643
|
var getRuntimeConfig3 = (config) => {
|
|
32644
32644
|
import_client20.emitWarningIfUnsupportedVersion(process.version);
|
|
32645
32645
|
const defaultsMode = import_config28.resolveDefaultsModeConfig(config);
|
|
@@ -32680,12 +32680,12 @@ var getRuntimeConfig3 = (config) => {
|
|
|
32680
32680
|
};
|
|
32681
32681
|
};
|
|
32682
32682
|
|
|
32683
|
-
//
|
|
32683
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
32684
32684
|
var import_client21 = __toESM(require_client2(), 1);
|
|
32685
32685
|
var import_client22 = __toESM(require_client(), 1);
|
|
32686
32686
|
var import_protocols5 = __toESM(require_protocols(), 1);
|
|
32687
32687
|
|
|
32688
|
-
//
|
|
32688
|
+
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
32689
32689
|
var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
|
|
32690
32690
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
32691
32691
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -32724,14 +32724,14 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
|
|
|
32724
32724
|
};
|
|
32725
32725
|
};
|
|
32726
32726
|
|
|
32727
|
-
//
|
|
32727
|
+
// node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
32728
32728
|
var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
|
|
32729
32729
|
const extensionConfiguration = Object.assign(import_client21.getAwsRegionExtensionConfiguration(runtimeConfig), import_client22.getDefaultExtensionConfiguration(runtimeConfig), import_protocols5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
|
|
32730
32730
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
32731
32731
|
return Object.assign(runtimeConfig, import_client21.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client22.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
|
|
32732
32732
|
};
|
|
32733
32733
|
|
|
32734
|
-
//
|
|
32734
|
+
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
32735
32735
|
class S3Client extends import_client24.Client {
|
|
32736
32736
|
config;
|
|
32737
32737
|
constructor(...[configuration]) {
|
|
@@ -32776,15 +32776,15 @@ class S3Client extends import_client24.Client {
|
|
|
32776
32776
|
}
|
|
32777
32777
|
}
|
|
32778
32778
|
|
|
32779
|
-
//
|
|
32779
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
|
|
32780
32780
|
class DeleteObjectCommand extends command(_ep0, _mw0, "DeleteObject", DeleteObject$) {
|
|
32781
32781
|
}
|
|
32782
32782
|
|
|
32783
|
-
//
|
|
32783
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
|
|
32784
32784
|
class GetObjectCommand extends command(_ep0, _mw7, "GetObject", GetObject$) {
|
|
32785
32785
|
}
|
|
32786
32786
|
|
|
32787
|
-
//
|
|
32787
|
+
// node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
|
|
32788
32788
|
class PutObjectCommand extends command(_ep0, _mw11, "PutObject", PutObject$) {
|
|
32789
32789
|
}
|
|
32790
32790
|
|