@larkup/cli 0.3.22 → 0.3.24

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.
Files changed (40) hide show
  1. package/dist/{chunk-MTXSOKLF.js → chunk-52FEKTCQ.js} +1069 -1028
  2. package/dist/{chunk-4Y7OLVDR.js → chunk-5VCEWBIF.js} +4 -4
  3. package/dist/{chunk-5YXDD2GC.js → chunk-7MWCEBXG.js} +139 -139
  4. package/dist/{chunk-YL567TPU.js → chunk-D4V74FXY.js} +4 -4
  5. package/dist/chunk-IYRX2FOU.js +515 -0
  6. package/dist/{event-streams-DE7Y6VJA.js → chunk-MA7PMBAQ.js} +31 -31
  7. package/dist/{chunk-TX2W2TDD.js → chunk-MSJ5HF3C.js} +3 -3
  8. package/dist/{chunk-VMIDDBSU.js → chunk-MXXWLVUQ.js} +3 -3
  9. package/dist/{chunk-5LXQQ3B5.js → chunk-OMUGJ6MM.js} +62 -61
  10. package/dist/{chunk-CQRTVM3R.js → chunk-RAMGCJ3D.js} +38 -35
  11. package/dist/{chunk-G4JLV4D2.js → chunk-TPHCE6EK.js} +44 -45
  12. package/dist/chunk-VFPIXPQD.js +126 -0
  13. package/dist/{chunk-5UNSW2YQ.js → chunk-VV5N6AER.js} +2 -2
  14. package/dist/{chunk-3HURSQNH.js → chunk-WXYQJAMD.js} +2 -2
  15. package/dist/{chunk-TEVXZRMI.js → chunk-WZJD24FL.js} +81 -70
  16. package/dist/{dist-es-64SQQSB2.js → dist-es-3EVRA57P.js} +8 -8
  17. package/dist/{dist-es-SM3XZOJI.js → dist-es-6NUJXRYS.js} +10 -10
  18. package/dist/{dist-es-WKOKSFRW.js → dist-es-A6GXGSOI.js} +8 -8
  19. package/dist/{dist-es-HOKTEA4H.js → dist-es-BNVRZPYQ.js} +22 -22
  20. package/dist/{dist-es-KLJ57YTV.js → dist-es-FBYK33UR.js} +2 -2
  21. package/dist/{dist-es-GCJ2YN2W.js → dist-es-JD3OKSCB.js} +13 -14
  22. package/dist/{dist-es-RSHHKZQR.js → dist-es-O2QZUQ4K.js} +224 -222
  23. package/dist/{dist-es-IBDQOMV4.js → dist-es-XSLSUFFE.js} +24 -31
  24. package/dist/{dist-es-I5PEXU6M.js → dist-es-YYRJPI37.js} +5 -5
  25. package/dist/{dist-es-EYJKNFZZ.js → dist-es-ZZIU2OSM.js} +9 -9
  26. package/dist/{event-streams-DO25HTN4.js → event-streams-5YVZPWZL.js} +3 -2
  27. package/dist/index.js +17 -17
  28. package/dist/{loadSso-RBMT5EPI.js → loadSso-HQ4CEKJL.js} +63 -67
  29. package/dist/{signin-S7FYOH5Y.js → signin-EGXTPMOE.js} +67 -71
  30. package/dist/{sso-oidc-YVLODDDB.js → sso-oidc-XLG4JOZS.js} +66 -70
  31. package/dist/{sts-R6CUYWGQ.js → sts-643ZZLFZ.js} +71 -75
  32. package/dist/{tool-loader-ZRVSMB4T.js → tool-loader-BOX7F5OA.js} +2 -2
  33. package/dist/{tool-registry-FLO7V4FK.js → tool-registry-X2BVIZJS.js} +1 -1
  34. package/package.json +12 -12
  35. package/dist/chunk-G542PEOG.js +0 -215
  36. package/dist/chunk-JKTTCUZ3.js +0 -653
  37. package/dist/chunk-M4T7TRRC.js +0 -2461
  38. package/dist/chunk-MEKWGOS5.js +0 -76
  39. package/dist/chunk-NMIRIGDS.js +0 -1445
  40. package/dist/chunk-SUBMQE2G.js +0 -1280
@@ -1,36 +1,29 @@
1
- import {
2
- TokenProviderError,
3
- getProfileName as getProfileName2,
4
- getSSOTokenFilepath,
5
- getSSOTokenFromFile as getSSOTokenFromFile2,
6
- loadSsoSessionData as loadSsoSessionData2,
7
- parseKnownFiles as parseKnownFiles2
8
- } from "./chunk-JKTTCUZ3.js";
9
1
  import {
10
2
  setCredentialFeature
11
- } from "./chunk-MTXSOKLF.js";
12
- import "./chunk-5LXQQ3B5.js";
3
+ } from "./chunk-52FEKTCQ.js";
4
+ import "./chunk-OMUGJ6MM.js";
13
5
  import {
14
6
  CredentialsProviderError,
7
+ TokenProviderError,
15
8
  getProfileName,
9
+ getSSOTokenFilepath,
16
10
  getSSOTokenFromFile,
17
11
  loadSsoSessionData,
18
12
  parseKnownFiles
19
- } from "./chunk-TEVXZRMI.js";
20
- import "./chunk-5YXDD2GC.js";
21
- import "./chunk-G542PEOG.js";
13
+ } from "./chunk-WZJD24FL.js";
14
+ import "./chunk-7MWCEBXG.js";
22
15
  import "./chunk-QGM4M3NI.js";
23
16
 
24
- // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
17
+ // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.28/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
25
18
  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");
26
19
 
27
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
20
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
28
21
  var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
29
22
  var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
30
23
 
31
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
24
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
32
25
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
33
- const { SSOOIDCClient } = await import("./sso-oidc-YVLODDDB.js");
26
+ const { SSOOIDCClient } = await import("./sso-oidc-XLG4JOZS.js");
34
27
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
35
28
  const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
36
29
  region: ssoRegion ?? init.clientConfig?.region,
@@ -40,9 +33,9 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
40
33
  return ssoOidcClient;
41
34
  };
42
35
 
43
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
36
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
44
37
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
45
- const { CreateTokenCommand } = await import("./sso-oidc-YVLODDDB.js");
38
+ const { CreateTokenCommand } = await import("./sso-oidc-XLG4JOZS.js");
46
39
  const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
47
40
  return ssoOidcClient.send(new CreateTokenCommand({
48
41
  clientId: ssoToken.clientId,
@@ -52,21 +45,21 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
52
45
  }));
53
46
  };
54
47
 
55
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
48
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
56
49
  var validateTokenExpiry = (token) => {
57
50
  if (token.expiration && token.expiration.getTime() < Date.now()) {
58
51
  throw new TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
59
52
  }
60
53
  };
61
54
 
62
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
55
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
63
56
  var validateTokenKey = (key, value, forRefresh = false) => {
64
57
  if (typeof value === "undefined") {
65
58
  throw new TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
66
59
  }
67
60
  };
68
61
 
69
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
62
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
70
63
  import { promises as fsPromises } from "fs";
71
64
  var { writeFile } = fsPromises;
72
65
  var writeSSOTokenToFile = (id, ssoToken) => {
@@ -75,13 +68,13 @@ var writeSSOTokenToFile = (id, ssoToken) => {
75
68
  return writeFile(tokenFilepath, tokenString);
76
69
  };
77
70
 
78
- // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
71
+ // ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1166.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
79
72
  var lastRefreshAttemptTimes = /* @__PURE__ */ new Map();
80
73
  var inFlightRefreshes = /* @__PURE__ */ new Map();
81
74
  var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
82
75
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
83
- const profiles = await parseKnownFiles2(init);
84
- const profileName = getProfileName2({
76
+ const profiles = await parseKnownFiles(init);
77
+ const profileName = getProfileName({
85
78
  profile: init.profile ?? callerClientConfig?.profile
86
79
  });
87
80
  const profile = profiles[profileName];
@@ -95,7 +88,7 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
95
88
  if (inFlightRefresh) {
96
89
  return await inFlightRefresh;
97
90
  }
98
- const ssoSessions = await loadSsoSessionData2(init);
91
+ const ssoSessions = await loadSsoSessionData(init);
99
92
  const ssoSession = ssoSessions[ssoSessionName];
100
93
  if (!ssoSession) {
101
94
  throw new TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);
@@ -109,7 +102,7 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
109
102
  const ssoRegion = ssoSession["sso_region"];
110
103
  let ssoToken;
111
104
  try {
112
- ssoToken = await getSSOTokenFromFile2(ssoSessionName);
105
+ ssoToken = await getSSOTokenFromFile(ssoSessionName);
113
106
  } catch (e) {
114
107
  throw new TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);
115
108
  }
@@ -168,7 +161,7 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
168
161
  }
169
162
  };
170
163
 
171
- // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
164
+ // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.28/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
172
165
  var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
173
166
  var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
174
167
  let token;
@@ -211,7 +204,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
211
204
  });
212
205
  }
213
206
  const { accessToken } = token;
214
- const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-RBMT5EPI.js");
207
+ const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-HQ4CEKJL.js");
215
208
  const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
216
209
  logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
217
210
  region: clientConfig?.region ?? ssoRegion,
@@ -253,7 +246,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
253
246
  return credentials;
254
247
  };
255
248
 
256
- // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
249
+ // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.28/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
257
250
  var validateSsoProfile = (profile, logger) => {
258
251
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
259
252
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
@@ -263,7 +256,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
263
256
  return profile;
264
257
  };
265
258
 
266
- // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
259
+ // ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.28/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
267
260
  var fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
268
261
  init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
269
262
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
@@ -6,11 +6,11 @@ import {
6
6
  ENV_SECRET,
7
7
  ENV_SESSION,
8
8
  fromEnv
9
- } from "./chunk-TX2W2TDD.js";
10
- import "./chunk-MTXSOKLF.js";
11
- import "./chunk-5LXQQ3B5.js";
12
- import "./chunk-TEVXZRMI.js";
13
- import "./chunk-5YXDD2GC.js";
9
+ } from "./chunk-MSJ5HF3C.js";
10
+ import "./chunk-52FEKTCQ.js";
11
+ import "./chunk-OMUGJ6MM.js";
12
+ import "./chunk-WZJD24FL.js";
13
+ import "./chunk-7MWCEBXG.js";
14
14
  import "./chunk-QGM4M3NI.js";
15
15
  export {
16
16
  ENV_ACCOUNT_ID,
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  formatUrl
3
- } from "./chunk-VMIDDBSU.js";
3
+ } from "./chunk-MXXWLVUQ.js";
4
4
  import {
5
5
  SignatureV4MultiRegion
6
- } from "./chunk-YL567TPU.js";
7
- import "./chunk-3HURSQNH.js";
6
+ } from "./chunk-D4V74FXY.js";
7
+ import "./chunk-WXYQJAMD.js";
8
8
  import {
9
9
  getEndpointFromInstructions
10
- } from "./chunk-5LXQQ3B5.js";
11
- import "./chunk-TEVXZRMI.js";
10
+ } from "./chunk-OMUGJ6MM.js";
11
+ import "./chunk-WZJD24FL.js";
12
12
  import {
13
13
  HttpRequest
14
- } from "./chunk-5YXDD2GC.js";
14
+ } from "./chunk-7MWCEBXG.js";
15
15
  import "./chunk-QGM4M3NI.js";
16
16
 
17
- // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js
17
+ // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1168.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js
18
18
  var UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
19
19
  var SHA256_HEADER = "X-Amz-Content-Sha256";
20
20
 
21
- // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js
21
+ // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1168.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js
22
22
  var S3RequestPresigner = class {
23
23
  signer;
24
24
  constructor(options) {
@@ -73,7 +73,7 @@ var S3RequestPresigner = class {
73
73
  }
74
74
  };
75
75
 
76
- // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js
76
+ // ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1168.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js
77
77
  var getSignedUrl = async (client, command, options = {}) => {
78
78
  let s3Presigner;
79
79
  let region;
@@ -17,8 +17,9 @@ import {
17
17
  iterableToReadableStream,
18
18
  readableStreamToIterable,
19
19
  resolveEventStreamSerdeConfig
20
- } from "./chunk-NMIRIGDS.js";
21
- import "./chunk-5YXDD2GC.js";
20
+ } from "./chunk-MA7PMBAQ.js";
21
+ import "./chunk-IYRX2FOU.js";
22
+ import "./chunk-7MWCEBXG.js";
22
23
  import "./chunk-QGM4M3NI.js";
23
24
  export {
24
25
  EventStreamCodec,
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  isToolInstalled,
7
7
  loadTool,
8
8
  uninstallTool
9
- } from "./chunk-4Y7OLVDR.js";
9
+ } from "./chunk-5VCEWBIF.js";
10
10
  import {
11
11
  DEFAULT_CONFIG,
12
12
  createProject,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  getAllTools,
30
30
  getToolById
31
- } from "./chunk-5UNSW2YQ.js";
31
+ } from "./chunk-VV5N6AER.js";
32
32
  import {
33
33
  __require
34
34
  } from "./chunk-QGM4M3NI.js";
@@ -39,7 +39,7 @@ import { Command } from "commander";
39
39
  // package.json
40
40
  var package_default = {
41
41
  name: "@larkup/cli",
42
- version: "0.3.22",
42
+ version: "0.3.24",
43
43
  engines: {
44
44
  node: ">=22"
45
45
  },
@@ -60,13 +60,13 @@ var package_default = {
60
60
  "type-check": "tsc --noEmit"
61
61
  },
62
62
  dependencies: {
63
- "@ai-sdk/cohere": "^4.0.76",
64
- "@ai-sdk/deepseek": "^3.0.80",
65
- "@ai-sdk/gateway": "^4.0.136",
66
- "@ai-sdk/google": "^4.0.112",
67
- "@ai-sdk/mistral": "^4.0.80",
68
- "@ai-sdk/openai": "^4.0.109",
69
- "@ai-sdk/openai-compatible": "^3.0.85",
63
+ "@ai-sdk/cohere": "^4.0.81",
64
+ "@ai-sdk/deepseek": "^3.0.84",
65
+ "@ai-sdk/gateway": "^4.0.143",
66
+ "@ai-sdk/google": "^4.0.118",
67
+ "@ai-sdk/mistral": "^4.0.84",
68
+ "@ai-sdk/openai": "^4.0.115",
69
+ "@ai-sdk/openai-compatible": "^3.0.90",
70
70
  "@clack/prompts": "^1.7.0",
71
71
  "@lancedb/lancedb": "^0.41.0",
72
72
  "@larkup/core": "workspace:*",
@@ -74,7 +74,7 @@ var package_default = {
74
74
  "@larkup/vector-stores": "workspace:*",
75
75
  "@napi-rs/canvas": "1.1.0",
76
76
  "@pinecone-database/pinecone": "^9.0.0",
77
- ai: "^7.0.163",
77
+ ai: "^7.0.170",
78
78
  "apache-arrow": "18.1.0",
79
79
  chalk: "^6.0.0",
80
80
  chromadb: "^3.5.0",
@@ -5089,7 +5089,7 @@ var S3StorageProvider = class {
5089
5089
  }
5090
5090
  async client() {
5091
5091
  if (!this._client) {
5092
- const { S3Client } = await import("./dist-es-RSHHKZQR.js");
5092
+ const { S3Client } = await import("./dist-es-O2QZUQ4K.js");
5093
5093
  this._client = new S3Client({
5094
5094
  region: this.region,
5095
5095
  ...this._credentials ? { credentials: this._credentials } : {}
@@ -5108,7 +5108,7 @@ var S3StorageProvider = class {
5108
5108
  return { bucket: withoutScheme.slice(0, slashIndex), key: withoutScheme.slice(slashIndex + 1) };
5109
5109
  }
5110
5110
  async store(key, data, mimeType) {
5111
- const { PutObjectCommand } = await import("./dist-es-RSHHKZQR.js");
5111
+ const { PutObjectCommand } = await import("./dist-es-O2QZUQ4K.js");
5112
5112
  const client = await this.client();
5113
5113
  const objectKey = this.objectKey(key);
5114
5114
  await client.send(
@@ -5126,7 +5126,7 @@ var S3StorageProvider = class {
5126
5126
  return this.store(key, await fs9.readFile(sourcePath), mimeType);
5127
5127
  }
5128
5128
  async retrieve(uri) {
5129
- const { GetObjectCommand } = await import("./dist-es-RSHHKZQR.js");
5129
+ const { GetObjectCommand } = await import("./dist-es-O2QZUQ4K.js");
5130
5130
  const { bucket, key } = this.parseUri(uri);
5131
5131
  const client = await this.client();
5132
5132
  const response = await client.send(new GetObjectCommand({ Bucket: bucket, Key: key }));
@@ -5142,8 +5142,8 @@ var S3StorageProvider = class {
5142
5142
  return void 0;
5143
5143
  }
5144
5144
  async getReadUrl(uri, expiresInSecs) {
5145
- const { GetObjectCommand } = await import("./dist-es-RSHHKZQR.js");
5146
- const { getSignedUrl } = await import("./dist-es-EYJKNFZZ.js");
5145
+ const { GetObjectCommand } = await import("./dist-es-O2QZUQ4K.js");
5146
+ const { getSignedUrl } = await import("./dist-es-ZZIU2OSM.js");
5147
5147
  const { bucket, key } = this.parseUri(uri);
5148
5148
  const client = await this.client();
5149
5149
  return getSignedUrl(client, new GetObjectCommand({ Bucket: bucket, Key: key }), {
@@ -5151,7 +5151,7 @@ var S3StorageProvider = class {
5151
5151
  });
5152
5152
  }
5153
5153
  async delete(uri) {
5154
- const { DeleteObjectCommand } = await import("./dist-es-RSHHKZQR.js");
5154
+ const { DeleteObjectCommand } = await import("./dist-es-O2QZUQ4K.js");
5155
5155
  const { bucket, key } = this.parseUri(uri);
5156
5156
  const client = await this.client();
5157
5157
  try {
@@ -1,91 +1,87 @@
1
1
  import {
2
- BinaryDecisionDiagram,
3
- Client,
4
- DEFAULT_RETRY_MODE,
5
- DefaultIdentityProviderConfig,
6
- EndpointCache,
7
- NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
8
- NODE_RETRY_MODE_CONFIG_OPTIONS,
9
- NoAuthSigner,
10
- NoOpLogger,
11
- ServiceException,
12
- customEndpointFunctions,
13
- decideEndpoint,
14
- emitWarningIfUnsupportedVersion as emitWarningIfUnsupportedVersion2,
15
- getDefaultExtensionConfiguration,
16
- getEndpointPlugin,
17
- getHttpAuthSchemeEndpointRuleSetPlugin,
18
- getHttpSigningPlugin,
19
- getRetryPlugin,
20
- loadConfigsForDefaultMode,
21
- makeBuilder,
22
- package_default,
23
- resolveDefaultRuntimeConfig,
24
- resolveEndpointConfig,
25
- resolveRetryConfig
26
- } from "./chunk-M4T7TRRC.js";
2
+ package_default
3
+ } from "./chunk-VFPIXPQD.js";
27
4
  import {
28
5
  AwsRestJsonProtocol,
29
6
  AwsSdkSigV4Signer,
30
7
  NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
31
8
  resolveAwsSdkSigV4Config
32
- } from "./chunk-CQRTVM3R.js";
33
- import "./chunk-3HURSQNH.js";
9
+ } from "./chunk-RAMGCJ3D.js";
10
+ import "./chunk-WXYQJAMD.js";
34
11
  import {
35
- getContentLengthPlugin,
36
- getHttpHandlerExtensionConfiguration,
37
- resolveHttpHandlerRuntimeConfig
38
- } from "./chunk-MEKWGOS5.js";
39
- import {
40
- NODE_REGION_CONFIG_FILE_OPTIONS,
41
- NODE_REGION_CONFIG_OPTIONS,
42
- NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
43
- NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
44
- loadConfig,
45
- resolveDefaultsModeConfig,
46
- resolveRegionConfig
47
- } from "./chunk-JKTTCUZ3.js";
12
+ Sha256Node
13
+ } from "./chunk-IYRX2FOU.js";
48
14
  import {
49
15
  NodeHttpHandler
50
- } from "./chunk-G4JLV4D2.js";
16
+ } from "./chunk-TPHCE6EK.js";
51
17
  import {
18
+ DEFAULT_RETRY_MODE,
19
+ DefaultIdentityProviderConfig,
52
20
  NODE_APP_ID_CONFIG_OPTIONS,
21
+ NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
22
+ NODE_RETRY_MODE_CONFIG_OPTIONS,
23
+ NoAuthSigner,
53
24
  awsEndpointFunctions,
54
25
  createDefaultUserAgentProvider,
55
26
  emitWarningIfUnsupportedVersion,
56
27
  getAwsRegionExtensionConfiguration,
57
28
  getDefaultSocketTimeout,
58
29
  getHostHeaderPlugin,
30
+ getHttpAuthSchemeEndpointRuleSetPlugin,
31
+ getHttpSigningPlugin,
59
32
  getLoggerPlugin,
60
33
  getRecursionDetectionPlugin,
34
+ getRetryPlugin,
61
35
  getUserAgentPlugin,
62
36
  resolveAwsRegionExtensionConfiguration,
63
37
  resolveHostHeaderConfig,
38
+ resolveRetryConfig,
64
39
  resolveUserAgentConfig
65
- } from "./chunk-MTXSOKLF.js";
66
- import "./chunk-5LXQQ3B5.js";
67
- import "./chunk-TEVXZRMI.js";
40
+ } from "./chunk-52FEKTCQ.js";
68
41
  import {
69
- streamCollector
70
- } from "./chunk-5YXDD2GC.js";
42
+ BinaryDecisionDiagram,
43
+ Client,
44
+ EndpointCache,
45
+ NoOpLogger,
46
+ ServiceException,
47
+ customEndpointFunctions,
48
+ decideEndpoint,
49
+ emitWarningIfUnsupportedVersion as emitWarningIfUnsupportedVersion2,
50
+ getDefaultExtensionConfiguration,
51
+ getEndpointPlugin,
52
+ loadConfigsForDefaultMode,
53
+ makeBuilder,
54
+ resolveDefaultRuntimeConfig,
55
+ resolveEndpointConfig
56
+ } from "./chunk-OMUGJ6MM.js";
57
+ import {
58
+ NODE_REGION_CONFIG_FILE_OPTIONS,
59
+ NODE_REGION_CONFIG_OPTIONS,
60
+ NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
61
+ NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
62
+ getContentLengthPlugin,
63
+ getHttpHandlerExtensionConfiguration,
64
+ loadConfig,
65
+ resolveDefaultsModeConfig,
66
+ resolveHttpHandlerRuntimeConfig,
67
+ resolveRegionConfig
68
+ } from "./chunk-WZJD24FL.js";
71
69
  import {
72
- Sha256Node,
73
70
  TypeRegistry,
74
71
  calculateBodyLength,
75
72
  fromBase64,
76
73
  fromUtf8,
77
74
  getSchemaSerdePlugin,
78
- toBase64,
79
- toUtf8
80
- } from "./chunk-SUBMQE2G.js";
81
- import {
82
75
  getSmithyContext,
83
76
  normalizeProvider,
84
- parseUrl
85
- } from "./chunk-G542PEOG.js";
77
+ parseUrl,
78
+ streamCollector,
79
+ toBase64,
80
+ toUtf8
81
+ } from "./chunk-7MWCEBXG.js";
86
82
  import "./chunk-QGM4M3NI.js";
87
83
 
88
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
84
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
89
85
  var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
90
86
  return {
91
87
  operation: getSmithyContext(context).operation,
@@ -136,7 +132,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
136
132
  });
137
133
  };
138
134
 
139
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
135
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
140
136
  var resolveClientEndpointParameters = (options) => {
141
137
  return Object.assign(options, {
142
138
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -151,7 +147,7 @@ var commonParams = {
151
147
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
152
148
  };
153
149
 
154
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js
150
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js
155
151
  var k = "ref";
156
152
  var a = -1;
157
153
  var b = true;
@@ -238,7 +234,7 @@ var nodes = new Int32Array([
238
234
  ]);
239
235
  var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
240
236
 
241
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
237
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
242
238
  var cache = new EndpointCache({
243
239
  size: 50,
244
240
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
@@ -251,7 +247,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
251
247
  };
252
248
  customEndpointFunctions.aws = awsEndpointFunctions;
253
249
 
254
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
250
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
255
251
  var SSOServiceException = class _SSOServiceException extends ServiceException {
256
252
  static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sso#SSOServiceException";
257
253
  constructor(options) {
@@ -260,7 +256,7 @@ var SSOServiceException = class _SSOServiceException extends ServiceException {
260
256
  }
261
257
  };
262
258
 
263
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
259
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
264
260
  var InvalidRequestException = class _InvalidRequestException extends SSOServiceException {
265
261
  static shapeId = "com.amazonaws.sso#InvalidRequestException";
266
262
  name = "InvalidRequestException";
@@ -314,7 +310,7 @@ var UnauthorizedException = class _UnauthorizedException extends SSOServiceExcep
314
310
  }
315
311
  };
316
312
 
317
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
313
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
318
314
  var _ATT = "AccessTokenType";
319
315
  var _GRC = "GetRoleCredentials";
320
316
  var _GRCR = "GetRoleCredentialsRequest";
@@ -427,7 +423,7 @@ var GetRoleCredentials$ = [
427
423
  () => GetRoleCredentialsResponse$
428
424
  ];
429
425
 
430
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
426
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
431
427
  var getRuntimeConfig = (config) => {
432
428
  return {
433
429
  apiVersion: "2019-06-10",
@@ -465,7 +461,7 @@ var getRuntimeConfig = (config) => {
465
461
  };
466
462
  };
467
463
 
468
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
464
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
469
465
  var getRuntimeConfig2 = (config) => {
470
466
  emitWarningIfUnsupportedVersion2(process.version);
471
467
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -499,7 +495,7 @@ var getRuntimeConfig2 = (config) => {
499
495
  };
500
496
  };
501
497
 
502
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
498
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
503
499
  var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
504
500
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
505
501
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -538,14 +534,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
538
534
  };
539
535
  };
540
536
 
541
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
537
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
542
538
  var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
543
539
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
544
540
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
545
541
  return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
546
542
  };
547
543
 
548
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
544
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
549
545
  var SSOClient = class extends Client {
550
546
  config;
551
547
  constructor(...[configuration]) {
@@ -581,12 +577,12 @@ var SSOClient = class extends Client {
581
577
  }
582
578
  };
583
579
 
584
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js
580
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js
585
581
  var command = makeBuilder(commonParams, "SWBPortalService", "SSOClient", getEndpointPlugin);
586
582
  var _ep0 = {};
587
583
  var _mw0 = (Command, cs, config, o) => [];
588
584
 
589
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.1/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
585
+ // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.3/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
590
586
  var GetRoleCredentialsCommand = class extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
591
587
  };
592
588
  export {