@ampless/mcp-server 1.0.0-alpha.11 → 1.0.0-alpha.13
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/README.ja.md +1 -1
- package/README.md +1 -1
- package/dist/{chunk-IW52OUIR.js → chunk-6HZB2ZCT.js} +13 -13
- package/dist/{chunk-6OXXSXKN.js → chunk-7JQMGUAU.js} +9 -9
- package/dist/{chunk-3NCQATCK.js → chunk-ERHOBKHD.js} +7 -501
- package/dist/{chunk-YHHXORQ4.js → chunk-ETWWJEHN.js} +17 -17
- package/dist/{chunk-A4YPJIDF.js → chunk-FLMNALC3.js} +3 -3
- package/dist/{chunk-QBXY5RRO.js → chunk-FM7TW5TD.js} +1 -2
- package/dist/chunk-LD7M476A.js +502 -0
- package/dist/{chunk-ISXSZYT4.js → chunk-OBZN5IWW.js} +32 -32
- package/dist/{chunk-UMEQ5ALV.js → chunk-Q4OVSLY4.js} +2 -2
- package/dist/{chunk-5PA6IP7O.js → chunk-SPCUAJQT.js} +1 -1
- package/dist/{chunk-CVNCRUML.js → chunk-USNYVOYF.js} +114 -47
- package/dist/chunk-YR5GD2D7.js +165 -0
- package/dist/{dist-es-J4X5E4TX.js → dist-es-2B6UPU6D.js} +22 -22
- package/dist/{dist-es-PRQWND46.js → dist-es-4QBVIVDD.js} +3 -3
- package/dist/{dist-es-3P7CNKGV.js → dist-es-DAQMEDLM.js} +8 -8
- package/dist/{dist-es-OI6XP2CN.js → dist-es-DWVRWSTC.js} +6 -6
- package/dist/{dist-es-OKPWYZO7.js → dist-es-H7Y5BZEG.js} +16 -16
- package/dist/{dist-es-T6J3WJJK.js → dist-es-QZOTLLWC.js} +1 -1
- package/dist/{dist-es-OO5RVJZO.js → dist-es-S3US4EVE.js} +6 -6
- package/dist/{event-streams-WFL2DK34.js → event-streams-IEZDQ3X3.js} +2 -1
- package/dist/event-streams-R54SMYED.js +891 -0
- package/dist/index.js +119 -116
- package/dist/{loadSso-C2Y2WOQK.js → loadSso-B4NUZPX5.js} +21 -20
- package/dist/{signin-IY5CLTYR.js → signin-BEDHRSJ2.js} +23 -22
- package/dist/{sso-oidc-KZTDOR7Y.js → sso-oidc-UXLRODTA.js} +23 -22
- package/dist/{sts-2UABQZ6D.js → sts-3BBU2O3O.js} +29 -28
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
SignatureV4MultiRegion,
|
|
4
|
-
XmlShapeDeserializer
|
|
5
|
-
} from "./chunk-IW52OUIR.js";
|
|
6
2
|
import {
|
|
7
3
|
NoAuthSigner,
|
|
8
4
|
package_default
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7JQMGUAU.js";
|
|
6
|
+
import {
|
|
7
|
+
SignatureV4MultiRegion,
|
|
8
|
+
XmlShapeDeserializer
|
|
9
|
+
} from "./chunk-6HZB2ZCT.js";
|
|
10
10
|
import {
|
|
11
11
|
AwsSdkSigV4ASigner,
|
|
12
12
|
AwsSdkSigV4Signer,
|
|
@@ -21,10 +21,11 @@ import {
|
|
|
21
21
|
resolveAwsSdkSigV4AConfig,
|
|
22
22
|
resolveAwsSdkSigV4Config,
|
|
23
23
|
streamCollector
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-USNYVOYF.js";
|
|
25
|
+
import "./chunk-YR5GD2D7.js";
|
|
25
26
|
import {
|
|
26
27
|
NodeHttpHandler
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SPCUAJQT.js";
|
|
28
29
|
import {
|
|
29
30
|
DEFAULT_RETRY_MODE,
|
|
30
31
|
NODE_APP_ID_CONFIG_OPTIONS,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
resolveUserAgentConfig,
|
|
46
47
|
setCredentialFeature,
|
|
47
48
|
stsRegionDefaultResolver
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OBZN5IWW.js";
|
|
49
50
|
import {
|
|
50
51
|
BinaryDecisionDiagram,
|
|
51
52
|
Client,
|
|
@@ -83,7 +84,7 @@ import {
|
|
|
83
84
|
resolveHttpHandlerRuntimeConfig,
|
|
84
85
|
resolveParams,
|
|
85
86
|
resolveRegionConfig
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FM7TW5TD.js";
|
|
87
88
|
import {
|
|
88
89
|
Hash,
|
|
89
90
|
NumericValue,
|
|
@@ -97,7 +98,7 @@ import {
|
|
|
97
98
|
} from "./chunk-IKXKDSVH.js";
|
|
98
99
|
import "./chunk-LMMQX4CK.js";
|
|
99
100
|
|
|
100
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
101
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
|
|
101
102
|
var q = "ref";
|
|
102
103
|
var a = -1;
|
|
103
104
|
var b = true;
|
|
@@ -260,7 +261,7 @@ var nodes = new Int32Array([
|
|
|
260
261
|
]);
|
|
261
262
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
262
263
|
|
|
263
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
264
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
|
|
264
265
|
var cache = new EndpointCache({
|
|
265
266
|
size: 50,
|
|
266
267
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
@@ -273,7 +274,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
273
274
|
};
|
|
274
275
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
275
276
|
|
|
276
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
277
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
277
278
|
var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
278
279
|
if (!input) {
|
|
279
280
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
@@ -400,7 +401,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
400
401
|
});
|
|
401
402
|
};
|
|
402
403
|
|
|
403
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
404
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
404
405
|
var resolveClientEndpointParameters = (options) => {
|
|
405
406
|
return Object.assign(options, {
|
|
406
407
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -417,7 +418,7 @@ var commonParams = {
|
|
|
417
418
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
418
419
|
};
|
|
419
420
|
|
|
420
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.974.
|
|
421
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.974.13/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js
|
|
421
422
|
var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
422
423
|
settings;
|
|
423
424
|
buffer;
|
|
@@ -587,7 +588,7 @@ var QueryShapeSerializer = class extends SerdeContextConfig {
|
|
|
587
588
|
}
|
|
588
589
|
};
|
|
589
590
|
|
|
590
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.974.
|
|
591
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.974.13/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js
|
|
591
592
|
var AwsQueryProtocol = class extends RpcProtocol {
|
|
592
593
|
options;
|
|
593
594
|
serializer;
|
|
@@ -717,7 +718,7 @@ var AwsQueryProtocol = class extends RpcProtocol {
|
|
|
717
718
|
}
|
|
718
719
|
};
|
|
719
720
|
|
|
720
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
721
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
721
722
|
var STSServiceException = class _STSServiceException extends ServiceException {
|
|
722
723
|
constructor(options) {
|
|
723
724
|
super(options);
|
|
@@ -725,7 +726,7 @@ var STSServiceException = class _STSServiceException extends ServiceException {
|
|
|
725
726
|
}
|
|
726
727
|
};
|
|
727
728
|
|
|
728
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
729
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
|
|
729
730
|
var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
|
|
730
731
|
name = "ExpiredTokenException";
|
|
731
732
|
$fault = "client";
|
|
@@ -812,7 +813,7 @@ var IDPCommunicationErrorException = class _IDPCommunicationErrorException exten
|
|
|
812
813
|
}
|
|
813
814
|
};
|
|
814
815
|
|
|
815
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
816
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
|
|
816
817
|
var _A = "Arn";
|
|
817
818
|
var _AKI = "AccessKeyId";
|
|
818
819
|
var _AR = "AssumeRole";
|
|
@@ -1003,7 +1004,7 @@ var AssumeRoleWithWebIdentity$ = [
|
|
|
1003
1004
|
() => AssumeRoleWithWebIdentityResponse$
|
|
1004
1005
|
];
|
|
1005
1006
|
|
|
1006
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1007
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
|
|
1007
1008
|
var getRuntimeConfig = (config) => {
|
|
1008
1009
|
return {
|
|
1009
1010
|
apiVersion: "2011-06-15",
|
|
@@ -1047,7 +1048,7 @@ var getRuntimeConfig = (config) => {
|
|
|
1047
1048
|
};
|
|
1048
1049
|
};
|
|
1049
1050
|
|
|
1050
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1051
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
|
|
1051
1052
|
var getRuntimeConfig2 = (config) => {
|
|
1052
1053
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
1053
1054
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1099,7 +1100,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
1099
1100
|
};
|
|
1100
1101
|
};
|
|
1101
1102
|
|
|
1102
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1103
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
1103
1104
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
1104
1105
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
1105
1106
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -1138,14 +1139,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
1138
1139
|
};
|
|
1139
1140
|
};
|
|
1140
1141
|
|
|
1141
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1142
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
1142
1143
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
1143
1144
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
1144
1145
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
1145
1146
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
1146
1147
|
};
|
|
1147
1148
|
|
|
1148
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1149
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
|
|
1149
1150
|
var STSClient = class extends Client {
|
|
1150
1151
|
config;
|
|
1151
1152
|
constructor(...[configuration]) {
|
|
@@ -1182,19 +1183,19 @@ var STSClient = class extends Client {
|
|
|
1182
1183
|
}
|
|
1183
1184
|
};
|
|
1184
1185
|
|
|
1185
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1186
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
1186
1187
|
var AssumeRoleCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
1187
1188
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
1188
1189
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {
|
|
1189
1190
|
};
|
|
1190
1191
|
|
|
1191
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1192
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
|
|
1192
1193
|
var AssumeRoleWithWebIdentityCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
1193
1194
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
1194
1195
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {
|
|
1195
1196
|
};
|
|
1196
1197
|
|
|
1197
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1198
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
|
|
1198
1199
|
var commands = {
|
|
1199
1200
|
AssumeRoleCommand,
|
|
1200
1201
|
AssumeRoleWithWebIdentityCommand
|
|
@@ -1203,7 +1204,7 @@ var STS = class extends STSClient {
|
|
|
1203
1204
|
};
|
|
1204
1205
|
createAggregatedClient(commands, STS);
|
|
1205
1206
|
|
|
1206
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1207
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
|
|
1207
1208
|
var getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
1208
1209
|
if (typeof assumedRoleUser?.Arn === "string") {
|
|
1209
1210
|
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
@@ -1303,7 +1304,7 @@ var isH2 = (requestHandler) => {
|
|
|
1303
1304
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
1304
1305
|
};
|
|
1305
1306
|
|
|
1306
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
1307
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.11/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
|
|
1307
1308
|
var getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
1308
1309
|
if (!customizations)
|
|
1309
1310
|
return baseCtor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/mcp-server",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.13",
|
|
4
4
|
"description": "MCP server for ampless — lets AI agents (Claude Desktop, Cursor, Claude Code) read and write posts and media via AppSync",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"homepage": "https://github.com/heavymoons/ampless/tree/main/packages/mcp-server#readme",
|
|
33
33
|
"bugs": "https://github.com/heavymoons/ampless/issues",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
36
|
-
"@aws-sdk/client-s3": "^3.
|
|
37
|
-
"amazon-cognito-identity-js": "^6.3.
|
|
38
|
-
"fflate": "^0.8.
|
|
39
|
-
"ampless": "1.0.0-alpha.
|
|
35
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
36
|
+
"@aws-sdk/client-s3": "^3.1053.0",
|
|
37
|
+
"amazon-cognito-identity-js": "^6.3.16",
|
|
38
|
+
"fflate": "^0.8.3",
|
|
39
|
+
"ampless": "1.0.0-alpha.12"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"ampless",
|