replicas-engine 0.1.143 → 0.1.145

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 (25) hide show
  1. package/dist/src/{chunk-XCFRYWEV.js → chunk-2Y7PD56W.js} +12 -12
  2. package/dist/src/{chunk-JFXVYYQY.js → chunk-5VUQ55WW.js} +19 -19
  3. package/dist/src/{chunk-NPXMDMPW.js → chunk-AAVVX4U5.js} +6 -6
  4. package/dist/src/{chunk-J3WZZOOL.js → chunk-BUG7ZAQW.js} +72 -355
  5. package/dist/src/{chunk-TY2FR253.js → chunk-SGITM26Q.js} +309 -22
  6. package/dist/src/{chunk-YDW6RZI2.js → chunk-ST5JVROM.js} +2 -2
  7. package/dist/src/{chunk-WCAERHFE.js → chunk-SWX24AGM.js} +1 -1
  8. package/dist/src/{chunk-7RS3TOFT.js → chunk-TU2SAX7Z.js} +1072 -1228
  9. package/dist/src/{chunk-MCYTXPBZ.js → chunk-WPAL27HA.js} +2 -2
  10. package/dist/src/{chunk-N2BGF5AZ.js → chunk-ZNARSMJG.js} +1 -1
  11. package/dist/src/{dist-es-UV765YRF.js → dist-es-BUG4C6LP.js} +18 -18
  12. package/dist/src/{dist-es-3LYC7DO3.js → dist-es-F6RG3S4O.js} +12 -14
  13. package/dist/src/{dist-es-KHBICPEM.js → dist-es-GGHPJZ3K.js} +19 -19
  14. package/dist/src/{dist-es-7DTYZ3KD.js → dist-es-GZBSW2H3.js} +27 -27
  15. package/dist/src/{dist-es-YWO2URNL.js → dist-es-JIV2SPEM.js} +7 -7
  16. package/dist/src/{dist-es-BNJQGHZR.js → dist-es-Q3YZVSCP.js} +7 -7
  17. package/dist/src/{dist-es-EVINFDC2.js → dist-es-YKS4LXBO.js} +3 -3
  18. package/dist/src/index.js +4 -109
  19. package/dist/src/{loadSso-ZRFAKENS.js → loadSso-3WFGTQV7.js} +109 -148
  20. package/dist/src/{signin-PNR24U2H.js → signin-RSKKVVIS.js} +123 -177
  21. package/dist/src/{sso-oidc-O55BGCVQ.js → sso-oidc-LBVW2ORP.js} +111 -150
  22. package/dist/src/{sts-MRC7OH6Z.js → sts-DKGAU6YE.js} +2911 -718
  23. package/package.json +1 -1
  24. package/dist/src/chunk-5V5ZNFZK.js +0 -178
  25. package/dist/src/event-streams-IFAW3KBX.js +0 -244
package/dist/src/index.js CHANGED
@@ -1053,8 +1053,7 @@ var SANDBOX_PATHS = {
1053
1053
  REPLICAS_FILES_DIR: "/home/ubuntu/.replicas/files",
1054
1054
  REPLICAS_FILES_DISPLAY_DIR: "~/.replicas/files",
1055
1055
  REPLICAS_RUNTIME_ENV_FILE: "/home/ubuntu/.replicas/runtime-env.sh",
1056
- REPLICAS_PREVIEW_PORTS_FILE: "/home/ubuntu/.replicas/preview-ports.json",
1057
- REPLICAS_MCPS_FILE: "/home/ubuntu/.replicas/mcps.json"
1056
+ REPLICAS_PREVIEW_PORTS_FILE: "/home/ubuntu/.replicas/preview-ports.json"
1058
1057
  };
1059
1058
 
1060
1059
  // ../shared/src/replicas-config.ts
@@ -1170,7 +1169,7 @@ function parseReplicasConfigString(content, filename) {
1170
1169
  }
1171
1170
 
1172
1171
  // ../shared/src/engine/environment.ts
1173
- var DAYTONA_SNAPSHOT_ID = "06-05-2026-royal-york-v2";
1172
+ var DAYTONA_SNAPSHOT_ID = "07-05-2026-royal-york-v2";
1174
1173
 
1175
1174
  // ../shared/src/engine/types.ts
1176
1175
  var DEFAULT_CHAT_TITLES = {
@@ -1194,12 +1193,6 @@ var AUDIT_LOG_ACTION = {
1194
1193
  };
1195
1194
  var AUDIT_LOG_ACTIONS = Object.values(AUDIT_LOG_ACTION);
1196
1195
 
1197
- // ../shared/src/routes/environment.ts
1198
- var RESERVED_MCP_NAME_PREFIXES = ["relay-", "replicas-"];
1199
- function isReservedMcpName(name) {
1200
- return RESERVED_MCP_NAME_PREFIXES.some((prefix) => name.startsWith(prefix));
1201
- }
1202
-
1203
1196
  // ../shared/src/object-store/types.ts
1204
1197
  var MEDIA_KIND = {
1205
1198
  IMAGE: "image",
@@ -2591,15 +2584,6 @@ var PromptStream = class {
2591
2584
  function isLinearThoughtEvent(event) {
2592
2585
  return event.content.type === "thought";
2593
2586
  }
2594
- function appendMcpAwareness(instructions, mcpServers) {
2595
- const names = Object.keys(mcpServers ?? {});
2596
- if (names.length === 0) return instructions;
2597
- const note = `MCP servers configured for this session: ${names.join(", ")}.
2598
- Their tools are exposed in your tool list under the \`mcp__<server>__*\` prefix (e.g. \`mcp__notion__search\`). When the user asks about MCPs, available integrations, or wants to use one of these tools, look at your existing tool list directly \u2014 do NOT run \`claude mcp list\` or any other shell command to enumerate them. That command checks Claude Code's local CLI config and will never see MCPs attached to this SDK session.`;
2599
- return instructions ? `${instructions}
2600
-
2601
- ${note}` : note;
2602
- }
2603
2587
  var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
2604
2588
  historyFile;
2605
2589
  sessionId = null;
@@ -2697,8 +2681,7 @@ var ClaudeManager = class _ClaudeManager extends CodingAgentManager {
2697
2681
  const promptStream = new PromptStream();
2698
2682
  promptStream.push(userMessage);
2699
2683
  this.activePromptStream = promptStream;
2700
- const baseInstructions = this.buildCombinedInstructions(customInstructions);
2701
- const combinedInstructions = appendMcpAwareness(baseInstructions, this.mcpServersConfig);
2684
+ const combinedInstructions = this.buildCombinedInstructions(customInstructions);
2702
2685
  const systemPrompt = this.systemPromptOverride ? this.systemPromptOverride(combinedInstructions) : {
2703
2686
  type: "preset",
2704
2687
  preset: "claude_code",
@@ -3894,92 +3877,6 @@ var KeepAliveService = class _KeepAliveService {
3894
3877
  };
3895
3878
  var keepAliveService = new KeepAliveService();
3896
3879
 
3897
- // src/services/mcp-store.ts
3898
- import { readFileSync as readFileSync2 } from "fs";
3899
- var STDIO_INHERITED_ENV_KEYS = ["PATH", "HOME", "USER", "SHELL", "LANG", "LC_ALL"];
3900
- var cache = {};
3901
- var initialized = false;
3902
- function buildStdioEnv(configEnv) {
3903
- const merged = {};
3904
- for (const key of STDIO_INHERITED_ENV_KEYS) {
3905
- const value = process.env[key];
3906
- if (value !== void 0) {
3907
- merged[key] = value;
3908
- }
3909
- }
3910
- Object.assign(merged, configEnv);
3911
- return merged;
3912
- }
3913
- function transformEntry(entry) {
3914
- if (entry.transport === "stdio" && "command" in entry.config) {
3915
- return {
3916
- type: "stdio",
3917
- command: entry.config.command,
3918
- args: entry.config.args,
3919
- env: buildStdioEnv(entry.config.env ?? {})
3920
- };
3921
- }
3922
- if (entry.transport === "http" && "url" in entry.config) {
3923
- return {
3924
- type: "http",
3925
- url: entry.config.url,
3926
- headers: entry.config.headers
3927
- };
3928
- }
3929
- if (entry.transport === "sse" && "url" in entry.config) {
3930
- return {
3931
- type: "sse",
3932
- url: entry.config.url,
3933
- headers: entry.config.headers
3934
- };
3935
- }
3936
- return null;
3937
- }
3938
- function initializeMcpStore(filePath = SANDBOX_PATHS.REPLICAS_MCPS_FILE) {
3939
- if (initialized) return;
3940
- initialized = true;
3941
- let raw;
3942
- try {
3943
- raw = readFileSync2(filePath, "utf-8");
3944
- } catch (error) {
3945
- const reason = error instanceof Error ? error.message : String(error);
3946
- if (error.code === "ENOENT") {
3947
- console.log(`[mcp_loaded] count=0 names=[] reason=no_file`);
3948
- } else {
3949
- console.warn(`[mcp_store_load_skipped] reason=${reason}`);
3950
- }
3951
- return;
3952
- }
3953
- let parsed;
3954
- try {
3955
- parsed = JSON.parse(raw);
3956
- } catch (error) {
3957
- const reason = error instanceof Error ? error.message : String(error);
3958
- console.warn(`[mcp_store_load_failed] reason=parse_error detail=${reason}`);
3959
- return;
3960
- }
3961
- const entries = parsed.mcpServers ?? {};
3962
- const result = {};
3963
- for (const [name, entry] of Object.entries(entries)) {
3964
- if (isReservedMcpName(name)) {
3965
- console.warn(`[mcp_name_reserved] name=${name} dropped`);
3966
- continue;
3967
- }
3968
- const transformed = transformEntry(entry);
3969
- if (!transformed) {
3970
- console.warn(`[mcp_transport_unknown] name=${name} transport=${entry.transport ?? "undefined"}`);
3971
- continue;
3972
- }
3973
- result[name] = transformed;
3974
- }
3975
- cache = result;
3976
- const names = Object.keys(cache);
3977
- console.log(`[mcp_loaded] count=${names.length} names=[${names.join(",")}]`);
3978
- }
3979
- function getMcpServers() {
3980
- return cache;
3981
- }
3982
-
3983
3880
  // src/services/chat/errors.ts
3984
3881
  var ChatNotFoundError = class extends Error {
3985
3882
  constructor(chatId) {
@@ -4216,8 +4113,7 @@ var ChatService = class {
4216
4113
  initialSessionId: persisted.providerSessionId,
4217
4114
  onSaveSessionId: saveSession,
4218
4115
  onTurnComplete: onProviderTurnComplete,
4219
- onEvent: onProviderEvent,
4220
- mcpServers: getMcpServers()
4116
+ onEvent: onProviderEvent
4221
4117
  });
4222
4118
  } else if (persisted.provider === "relay") {
4223
4119
  provider = new RelayManager({
@@ -5189,7 +5085,6 @@ process.on("unhandledRejection", (reason) => {
5189
5085
  engineLogger.flush().finally(() => process.exit(1));
5190
5086
  });
5191
5087
  await eventService.initialize();
5192
- initializeMcpStore();
5193
5088
  var READY_MESSAGE = "========= REPLICAS WORKSPACE READY ==========";
5194
5089
  var COMPLETION_MESSAGE = "========= REPLICAS WORKSPACE INITIALIZATION COMPLETE ==========";
5195
5090
  function checkActiveSSHSessions() {
@@ -1,9 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  AwsRestJsonProtocol
4
- } from "./chunk-J3WZZOOL.js";
4
+ } from "./chunk-BUG7ZAQW.js";
5
5
  import {
6
6
  AwsSdkSigV4Signer,
7
+ BinaryDecisionDiagram,
7
8
  Client,
8
9
  Command,
9
10
  DEFAULT_RETRY_MODE,
@@ -26,6 +27,7 @@ import {
26
27
  calculateBodyLength,
27
28
  createDefaultUserAgentProvider,
28
29
  customEndpointFunctions,
30
+ decideEndpoint,
29
31
  emitWarningIfUnsupportedVersion,
30
32
  emitWarningIfUnsupportedVersion2,
31
33
  getAwsRegionExtensionConfiguration,
@@ -49,36 +51,35 @@ import {
49
51
  resolveAwsSdkSigV4Config,
50
52
  resolveDefaultRuntimeConfig,
51
53
  resolveDefaultsModeConfig,
52
- resolveEndpoint,
53
54
  resolveEndpointConfig,
54
55
  resolveHostHeaderConfig,
55
56
  resolveHttpHandlerRuntimeConfig,
56
57
  resolveRegionConfig,
57
58
  resolveRetryConfig,
58
59
  resolveUserAgentConfig
59
- } from "./chunk-7RS3TOFT.js";
60
+ } from "./chunk-TU2SAX7Z.js";
60
61
  import {
61
62
  loadConfig,
62
63
  parseUrl
63
- } from "./chunk-XCFRYWEV.js";
64
- import "./chunk-MCYTXPBZ.js";
65
- import "./chunk-JFXVYYQY.js";
66
- import "./chunk-NPXMDMPW.js";
64
+ } from "./chunk-2Y7PD56W.js";
65
+ import "./chunk-WPAL27HA.js";
66
+ import "./chunk-AAVVX4U5.js";
67
67
  import {
68
68
  NodeHttpHandler,
69
69
  fromBase64,
70
70
  streamCollector,
71
71
  toBase64
72
- } from "./chunk-TY2FR253.js";
73
- import "./chunk-WCAERHFE.js";
72
+ } from "./chunk-SGITM26Q.js";
73
+ import "./chunk-SWX24AGM.js";
74
74
  import {
75
75
  fromUtf8,
76
76
  toUtf8
77
77
  } from "./chunk-ERL3EC7G.js";
78
- import "./chunk-N2BGF5AZ.js";
79
- import "./chunk-YDW6RZI2.js";
78
+ import "./chunk-5VUQ55WW.js";
79
+ import "./chunk-ZNARSMJG.js";
80
+ import "./chunk-ST5JVROM.js";
80
81
 
81
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
82
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
82
83
  var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
83
84
  return {
84
85
  operation: getSmithyContext(context).operation,
@@ -127,7 +128,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
127
128
  });
128
129
  };
129
130
 
130
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
131
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
131
132
  var resolveClientEndpointParameters = (options) => {
132
133
  return Object.assign(options, {
133
134
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -142,147 +143,107 @@ var commonParams = {
142
143
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
143
144
  };
144
145
 
145
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js
146
- var u = "required";
147
- var v = "fn";
148
- var w = "argv";
149
- var x = "ref";
150
- var a = true;
151
- var b = "isSet";
152
- var c = "booleanEquals";
153
- var d = "error";
154
- var e = "endpoint";
155
- var f = "tree";
156
- var g = "PartitionResult";
157
- var h = "getAttr";
158
- var i = { [u]: false, type: "string" };
159
- var j = { [u]: true, default: false, type: "boolean" };
160
- var k = { [x]: "Endpoint" };
161
- var l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] };
162
- var m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] };
163
- var n = {};
164
- var o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] };
165
- var p = { [x]: g };
166
- var q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] };
167
- var r = [l];
168
- var s = [m];
169
- var t = [{ [x]: "Region" }];
146
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js
147
+ var k = "ref";
148
+ var a = -1;
149
+ var b = true;
150
+ var c = "isSet";
151
+ var d = "PartitionResult";
152
+ var e = "booleanEquals";
153
+ var f = "getAttr";
154
+ var g = { [k]: "Endpoint" };
155
+ var h = { [k]: d };
156
+ var i = {};
157
+ var j = [{ [k]: "Region" }];
170
158
  var _data = {
171
- version: "1.0",
172
- parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
173
- rules: [
174
- {
175
- conditions: [{ [v]: b, [w]: [k] }],
176
- rules: [
177
- { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
178
- { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
179
- { endpoint: { url: k, properties: n, headers: n }, type: e }
180
- ],
181
- type: f
182
- },
183
- {
184
- conditions: [{ [v]: b, [w]: t }],
185
- rules: [
186
- {
187
- conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
188
- rules: [
189
- {
190
- conditions: [l, m],
191
- rules: [
192
- {
193
- conditions: [{ [v]: c, [w]: [a, o] }, q],
194
- rules: [
195
- {
196
- endpoint: {
197
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
198
- properties: n,
199
- headers: n
200
- },
201
- type: e
202
- }
203
- ],
204
- type: f
205
- },
206
- { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }
207
- ],
208
- type: f
209
- },
210
- {
211
- conditions: r,
212
- rules: [
213
- {
214
- conditions: [{ [v]: c, [w]: [o, a] }],
215
- rules: [
216
- {
217
- conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
218
- endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n, headers: n },
219
- type: e
220
- },
221
- {
222
- endpoint: {
223
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
224
- properties: n,
225
- headers: n
226
- },
227
- type: e
228
- }
229
- ],
230
- type: f
231
- },
232
- { error: "FIPS is enabled but this partition does not support FIPS", type: d }
233
- ],
234
- type: f
235
- },
236
- {
237
- conditions: s,
238
- rules: [
239
- {
240
- conditions: [q],
241
- rules: [
242
- {
243
- endpoint: {
244
- url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
245
- properties: n,
246
- headers: n
247
- },
248
- type: e
249
- }
250
- ],
251
- type: f
252
- },
253
- { error: "DualStack is enabled but this partition does not support DualStack", type: d }
254
- ],
255
- type: f
256
- },
257
- {
258
- endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
259
- type: e
260
- }
261
- ],
262
- type: f
263
- }
264
- ],
265
- type: f
266
- },
267
- { error: "Invalid Configuration: Missing Region", type: d }
159
+ conditions: [
160
+ [c, [g]],
161
+ [c, j],
162
+ ["aws.partition", j, d],
163
+ [e, [{ [k]: "UseFIPS" }, b]],
164
+ [e, [{ [k]: "UseDualStack" }, b]],
165
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
166
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
167
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
168
+ ],
169
+ results: [
170
+ [a],
171
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
172
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
173
+ [g, i],
174
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
175
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
176
+ ["https://portal.sso.{Region}.amazonaws.com", i],
177
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i],
178
+ [a, "FIPS is enabled but this partition does not support FIPS"],
179
+ ["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
180
+ [a, "DualStack is enabled but this partition does not support DualStack"],
181
+ ["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i],
182
+ [a, "Invalid Configuration: Missing Region"]
268
183
  ]
269
184
  };
270
- var ruleSet = _data;
185
+ var root = 2;
186
+ var r = 1e8;
187
+ var nodes = new Int32Array([
188
+ -1,
189
+ 1,
190
+ -1,
191
+ 0,
192
+ 13,
193
+ 3,
194
+ 1,
195
+ 4,
196
+ r + 12,
197
+ 2,
198
+ 5,
199
+ r + 12,
200
+ 3,
201
+ 8,
202
+ 6,
203
+ 4,
204
+ 7,
205
+ r + 11,
206
+ 5,
207
+ r + 9,
208
+ r + 10,
209
+ 4,
210
+ 11,
211
+ 9,
212
+ 6,
213
+ 10,
214
+ r + 8,
215
+ 7,
216
+ r + 6,
217
+ r + 7,
218
+ 5,
219
+ 12,
220
+ r + 5,
221
+ 6,
222
+ r + 4,
223
+ r + 5,
224
+ 3,
225
+ r + 1,
226
+ 14,
227
+ 4,
228
+ r + 2,
229
+ r + 3
230
+ ]);
231
+ var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
271
232
 
272
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
233
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
273
234
  var cache = new EndpointCache({
274
235
  size: 50,
275
236
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
276
237
  });
277
238
  var defaultEndpointResolver = (endpointParams, context = {}) => {
278
- return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
239
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
279
240
  endpointParams,
280
241
  logger: context.logger
281
242
  }));
282
243
  };
283
244
  customEndpointFunctions.aws = awsEndpointFunctions;
284
245
 
285
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
246
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
286
247
  var SSOServiceException = class _SSOServiceException extends ServiceException {
287
248
  constructor(options) {
288
249
  super(options);
@@ -290,7 +251,7 @@ var SSOServiceException = class _SSOServiceException extends ServiceException {
290
251
  }
291
252
  };
292
253
 
293
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
254
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
294
255
  var InvalidRequestException = class _InvalidRequestException extends SSOServiceException {
295
256
  name = "InvalidRequestException";
296
257
  $fault = "client";
@@ -340,7 +301,7 @@ var UnauthorizedException = class _UnauthorizedException extends SSOServiceExcep
340
301
  }
341
302
  };
342
303
 
343
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
304
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
344
305
  var _ATT = "AccessTokenType";
345
306
  var _GRC = "GetRoleCredentials";
346
307
  var _GRCR = "GetRoleCredentialsRequest";
@@ -426,7 +387,7 @@ var GetRoleCredentials$ = [
426
387
  () => GetRoleCredentialsResponse$
427
388
  ];
428
389
 
429
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
390
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
430
391
  var getRuntimeConfig = (config) => {
431
392
  return {
432
393
  apiVersion: "2019-06-10",
@@ -463,7 +424,7 @@ var getRuntimeConfig = (config) => {
463
424
  };
464
425
  };
465
426
 
466
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
427
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
467
428
  var getRuntimeConfig2 = (config) => {
468
429
  emitWarningIfUnsupportedVersion2(process.version);
469
430
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -497,7 +458,7 @@ var getRuntimeConfig2 = (config) => {
497
458
  };
498
459
  };
499
460
 
500
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
461
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
501
462
  var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
502
463
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
503
464
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -536,14 +497,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
536
497
  };
537
498
  };
538
499
 
539
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
500
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
540
501
  var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
541
502
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
542
503
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
543
504
  return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
544
505
  };
545
506
 
546
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
507
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
547
508
  var SSOClient = class extends Client {
548
509
  config;
549
510
  constructor(...[configuration]) {
@@ -579,8 +540,8 @@ var SSOClient = class extends Client {
579
540
  }
580
541
  };
581
542
 
582
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
583
- var GetRoleCredentialsCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
543
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
544
+ var GetRoleCredentialsCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
584
545
  return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
585
546
  }).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").sc(GetRoleCredentials$).build() {
586
547
  };