@ampless/mcp-server 0.2.0-alpha.0 → 0.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bowser-WRHMEFK3.js +2822 -0
- package/dist/chunk-3NCQATCK.js +1385 -0
- package/dist/chunk-5PA6IP7O.js +435 -0
- package/dist/{chunk-27JGNXJE.js → chunk-6OXXSXKN.js} +8 -37
- package/dist/{chunk-YDYRXGHR.js → chunk-A4YPJIDF.js} +3 -3
- package/dist/chunk-CVNCRUML.js +1355 -0
- package/dist/chunk-IKXKDSVH.js +1414 -0
- package/dist/chunk-ISXSZYT4.js +1375 -0
- package/dist/{chunk-GSC7CBT2.js → chunk-IW52OUIR.js} +117 -1025
- package/dist/chunk-QBXY5RRO.js +3559 -0
- package/dist/chunk-UMEQ5ALV.js +14 -0
- package/dist/{chunk-OLRXGK7L.js → chunk-YHHXORQ4.js} +48 -32
- package/dist/{dist-es-J7V6TEWZ.js → dist-es-3P7CNKGV.js} +15 -16
- package/dist/{dist-es-6QUIY4X7.js → dist-es-NAMW5ZZ4.js} +21 -31
- package/dist/{dist-es-MQG4P6NF.js → dist-es-OI6XP2CN.js} +9 -10
- package/dist/{dist-es-W5H6GQXM.js → dist-es-OO5RVJZO.js} +10 -11
- package/dist/{dist-es-NGSDZSP2.js → dist-es-PRQWND46.js} +4 -3
- package/dist/{dist-es-2HK4JUU7.js → dist-es-T6J3WJJK.js} +32 -36
- package/dist/{dist-es-OYHIBJO3.js → dist-es-ZP52SD4G.js} +27 -32
- package/dist/event-streams-WFL2DK34.js +43 -0
- package/dist/index.js +2061 -2633
- package/dist/{loadSso-3FWOSWL4.js → loadSso-C2Y2WOQK.js} +56 -58
- package/dist/{signin-EATRRDTG.js → signin-IY5CLTYR.js} +59 -63
- package/dist/{sso-oidc-5GRHV5HA.js → sso-oidc-KZTDOR7Y.js} +59 -63
- package/dist/{sts-IMPWC7YM.js → sts-2UABQZ6D.js} +625 -740
- package/package.json +3 -3
- package/dist/chunk-44FZZOIP.js +0 -14
- package/dist/chunk-72G5HA35.js +0 -62
- package/dist/chunk-B57O737J.js +0 -52
- package/dist/chunk-E6YHJFDU.js +0 -44
- package/dist/chunk-FCBONYCH.js +0 -6008
- package/dist/chunk-GBNV7FEX.js +0 -164
- package/dist/chunk-MQF5MXOW.js +0 -1040
- package/dist/chunk-NZ2AQICN.js +0 -29
- package/dist/chunk-YVOTBVHL.js +0 -243
- package/dist/chunk-ZB7FTU7J.js +0 -39
- package/dist/event-streams-6T3GMAVH.js +0 -253
|
@@ -1,90 +1,86 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
createAggregatedClient
|
|
4
|
-
} from "./chunk-B57O737J.js";
|
|
5
2
|
import {
|
|
6
3
|
AwsRestJsonProtocol
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YHHXORQ4.js";
|
|
8
5
|
import {
|
|
9
6
|
NoAuthSigner,
|
|
10
7
|
package_default
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6OXXSXKN.js";
|
|
9
|
+
import "./chunk-UMEQ5ALV.js";
|
|
12
10
|
import {
|
|
13
11
|
AwsSdkSigV4Signer,
|
|
12
|
+
DefaultIdentityProviderConfig,
|
|
13
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
14
|
+
getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
15
|
+
getHttpSigningPlugin,
|
|
16
|
+
getSchemaSerdePlugin,
|
|
17
|
+
resolveAwsSdkSigV4Config,
|
|
18
|
+
streamCollector
|
|
19
|
+
} from "./chunk-CVNCRUML.js";
|
|
20
|
+
import {
|
|
21
|
+
NodeHttpHandler
|
|
22
|
+
} from "./chunk-5PA6IP7O.js";
|
|
23
|
+
import {
|
|
24
|
+
DEFAULT_RETRY_MODE,
|
|
25
|
+
NODE_APP_ID_CONFIG_OPTIONS,
|
|
26
|
+
NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
27
|
+
NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
28
|
+
awsEndpointFunctions,
|
|
29
|
+
createDefaultUserAgentProvider,
|
|
30
|
+
emitWarningIfUnsupportedVersion,
|
|
31
|
+
getAwsRegionExtensionConfiguration,
|
|
32
|
+
getHostHeaderPlugin,
|
|
33
|
+
getLoggerPlugin,
|
|
34
|
+
getRecursionDetectionPlugin,
|
|
35
|
+
getRetryPlugin,
|
|
36
|
+
getUserAgentPlugin,
|
|
37
|
+
resolveAwsRegionExtensionConfiguration,
|
|
38
|
+
resolveHostHeaderConfig,
|
|
39
|
+
resolveRetryConfig,
|
|
40
|
+
resolveUserAgentConfig
|
|
41
|
+
} from "./chunk-ISXSZYT4.js";
|
|
42
|
+
import {
|
|
14
43
|
BinaryDecisionDiagram,
|
|
15
44
|
Client,
|
|
16
45
|
Command,
|
|
17
|
-
DEFAULT_RETRY_MODE,
|
|
18
|
-
DefaultIdentityProviderConfig,
|
|
19
46
|
EndpointCache,
|
|
20
|
-
Hash,
|
|
21
|
-
NODE_APP_ID_CONFIG_OPTIONS,
|
|
22
|
-
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
23
|
-
NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
24
47
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
25
48
|
NODE_REGION_CONFIG_OPTIONS,
|
|
26
|
-
NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
27
49
|
NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
28
50
|
NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
29
51
|
NoOpLogger,
|
|
30
52
|
ServiceException,
|
|
31
53
|
TypeRegistry,
|
|
32
|
-
|
|
33
|
-
calculateBodyLength,
|
|
34
|
-
createDefaultUserAgentProvider,
|
|
54
|
+
createAggregatedClient,
|
|
35
55
|
customEndpointFunctions,
|
|
36
56
|
decideEndpoint,
|
|
37
|
-
emitWarningIfUnsupportedVersion,
|
|
38
|
-
emitWarningIfUnsupportedVersion2,
|
|
39
|
-
getAwsRegionExtensionConfiguration,
|
|
57
|
+
emitWarningIfUnsupportedVersion as emitWarningIfUnsupportedVersion2,
|
|
40
58
|
getContentLengthPlugin,
|
|
41
59
|
getDefaultExtensionConfiguration,
|
|
42
60
|
getEndpointPlugin,
|
|
43
|
-
getHostHeaderPlugin,
|
|
44
|
-
getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
45
61
|
getHttpHandlerExtensionConfiguration,
|
|
46
|
-
getHttpSigningPlugin,
|
|
47
|
-
getLoggerPlugin,
|
|
48
|
-
getRecursionDetectionPlugin,
|
|
49
|
-
getRetryPlugin,
|
|
50
|
-
getSchemaSerdePlugin,
|
|
51
62
|
getSmithyContext,
|
|
52
|
-
|
|
63
|
+
loadConfig,
|
|
53
64
|
loadConfigsForDefaultMode,
|
|
54
65
|
normalizeProvider,
|
|
55
|
-
|
|
56
|
-
resolveAwsSdkSigV4Config,
|
|
66
|
+
parseUrl,
|
|
57
67
|
resolveDefaultRuntimeConfig,
|
|
58
68
|
resolveDefaultsModeConfig,
|
|
59
69
|
resolveEndpointConfig,
|
|
60
|
-
resolveHostHeaderConfig,
|
|
61
70
|
resolveHttpHandlerRuntimeConfig,
|
|
62
|
-
resolveRegionConfig
|
|
63
|
-
|
|
64
|
-
resolveUserAgentConfig
|
|
65
|
-
} from "./chunk-FCBONYCH.js";
|
|
66
|
-
import {
|
|
67
|
-
loadConfig,
|
|
68
|
-
parseUrl
|
|
69
|
-
} from "./chunk-GBNV7FEX.js";
|
|
70
|
-
import "./chunk-NZ2AQICN.js";
|
|
71
|
+
resolveRegionConfig
|
|
72
|
+
} from "./chunk-QBXY5RRO.js";
|
|
71
73
|
import {
|
|
72
|
-
|
|
74
|
+
Hash,
|
|
75
|
+
calculateBodyLength,
|
|
73
76
|
fromBase64,
|
|
74
|
-
streamCollector,
|
|
75
|
-
toBase64
|
|
76
|
-
} from "./chunk-MQF5MXOW.js";
|
|
77
|
-
import "./chunk-72G5HA35.js";
|
|
78
|
-
import {
|
|
79
77
|
fromUtf8,
|
|
78
|
+
toBase64,
|
|
80
79
|
toUtf8
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-YVOTBVHL.js";
|
|
83
|
-
import "./chunk-44FZZOIP.js";
|
|
84
|
-
import "./chunk-ZB7FTU7J.js";
|
|
80
|
+
} from "./chunk-IKXKDSVH.js";
|
|
85
81
|
import "./chunk-LMMQX4CK.js";
|
|
86
82
|
|
|
87
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
83
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
88
84
|
var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
89
85
|
return {
|
|
90
86
|
operation: getSmithyContext(context).operation,
|
|
@@ -133,7 +129,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
133
129
|
});
|
|
134
130
|
};
|
|
135
131
|
|
|
136
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
132
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
|
|
137
133
|
var resolveClientEndpointParameters = (options) => {
|
|
138
134
|
return Object.assign(options, {
|
|
139
135
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -148,7 +144,7 @@ var commonParams = {
|
|
|
148
144
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
149
145
|
};
|
|
150
146
|
|
|
151
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
147
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js
|
|
152
148
|
var k = "ref";
|
|
153
149
|
var a = -1;
|
|
154
150
|
var b = true;
|
|
@@ -235,7 +231,7 @@ var nodes = new Int32Array([
|
|
|
235
231
|
]);
|
|
236
232
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
237
233
|
|
|
238
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
234
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
|
|
239
235
|
var cache = new EndpointCache({
|
|
240
236
|
size: 50,
|
|
241
237
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
@@ -248,7 +244,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
248
244
|
};
|
|
249
245
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
250
246
|
|
|
251
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
247
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
|
|
252
248
|
var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
|
|
253
249
|
constructor(options) {
|
|
254
250
|
super(options);
|
|
@@ -256,7 +252,7 @@ var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceExce
|
|
|
256
252
|
}
|
|
257
253
|
};
|
|
258
254
|
|
|
259
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
255
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
|
|
260
256
|
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
261
257
|
name = "AccessDeniedException";
|
|
262
258
|
$fault = "client";
|
|
@@ -438,7 +434,7 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
|
|
|
438
434
|
}
|
|
439
435
|
};
|
|
440
436
|
|
|
441
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
437
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
|
|
442
438
|
var _ADE = "AccessDeniedException";
|
|
443
439
|
var _APE = "AuthorizationPendingException";
|
|
444
440
|
var _AT = "AccessToken";
|
|
@@ -574,7 +570,7 @@ var CreateToken$ = [
|
|
|
574
570
|
() => CreateTokenResponse$
|
|
575
571
|
];
|
|
576
572
|
|
|
577
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
573
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
|
|
578
574
|
var getRuntimeConfig = (config) => {
|
|
579
575
|
return {
|
|
580
576
|
apiVersion: "2019-06-10",
|
|
@@ -611,7 +607,7 @@ var getRuntimeConfig = (config) => {
|
|
|
611
607
|
};
|
|
612
608
|
};
|
|
613
609
|
|
|
614
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
610
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
|
|
615
611
|
var getRuntimeConfig2 = (config) => {
|
|
616
612
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
617
613
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -645,7 +641,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
645
641
|
};
|
|
646
642
|
};
|
|
647
643
|
|
|
648
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
644
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
|
|
649
645
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
650
646
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
651
647
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -684,14 +680,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
684
680
|
};
|
|
685
681
|
};
|
|
686
682
|
|
|
687
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
683
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
|
|
688
684
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
689
685
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
690
686
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
691
687
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
692
688
|
};
|
|
693
689
|
|
|
694
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
690
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
|
|
695
691
|
var SSOOIDCClient = class extends Client {
|
|
696
692
|
config;
|
|
697
693
|
constructor(...[configuration]) {
|
|
@@ -727,13 +723,13 @@ var SSOOIDCClient = class extends Client {
|
|
|
727
723
|
}
|
|
728
724
|
};
|
|
729
725
|
|
|
730
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
726
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
|
|
731
727
|
var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
|
|
732
728
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
733
729
|
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken$).build() {
|
|
734
730
|
};
|
|
735
731
|
|
|
736
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
732
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
|
|
737
733
|
var commands = {
|
|
738
734
|
CreateTokenCommand
|
|
739
735
|
};
|
|
@@ -741,7 +737,7 @@ var SSOOIDC = class extends SSOOIDCClient {
|
|
|
741
737
|
};
|
|
742
738
|
createAggregatedClient(commands, SSOOIDC);
|
|
743
739
|
|
|
744
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
740
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.9/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
|
|
745
741
|
var AccessDeniedExceptionReason = {
|
|
746
742
|
KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
|
|
747
743
|
};
|