@settlemint/sdk-mcp 2.5.2 → 2.5.3
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/mcp.js +43 -22
- package/dist/mcp.js.map +5 -5
- package/package.json +4 -4
package/dist/mcp.js
CHANGED
|
@@ -48220,7 +48220,7 @@ var coerce = {
|
|
|
48220
48220
|
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
48221
48221
|
};
|
|
48222
48222
|
var NEVER = INVALID;
|
|
48223
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
48223
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
48224
48224
|
var LATEST_PROTOCOL_VERSION = "2025-06-18";
|
|
48225
48225
|
var SUPPORTED_PROTOCOL_VERSIONS = [
|
|
48226
48226
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -48378,8 +48378,16 @@ var ResourceContentsSchema = exports_external.object({
|
|
|
48378
48378
|
var TextResourceContentsSchema = ResourceContentsSchema.extend({
|
|
48379
48379
|
text: exports_external.string()
|
|
48380
48380
|
});
|
|
48381
|
+
var Base64Schema = exports_external.string().refine((val) => {
|
|
48382
|
+
try {
|
|
48383
|
+
atob(val);
|
|
48384
|
+
return true;
|
|
48385
|
+
} catch (_a) {
|
|
48386
|
+
return false;
|
|
48387
|
+
}
|
|
48388
|
+
}, { message: "Invalid Base64 string" });
|
|
48381
48389
|
var BlobResourceContentsSchema = ResourceContentsSchema.extend({
|
|
48382
|
-
blob:
|
|
48390
|
+
blob: Base64Schema
|
|
48383
48391
|
});
|
|
48384
48392
|
var ResourceSchema = BaseMetadataSchema.extend({
|
|
48385
48393
|
uri: exports_external.string(),
|
|
@@ -48465,13 +48473,13 @@ var TextContentSchema = exports_external.object({
|
|
|
48465
48473
|
}).passthrough();
|
|
48466
48474
|
var ImageContentSchema = exports_external.object({
|
|
48467
48475
|
type: exports_external.literal("image"),
|
|
48468
|
-
data:
|
|
48476
|
+
data: Base64Schema,
|
|
48469
48477
|
mimeType: exports_external.string(),
|
|
48470
48478
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
48471
48479
|
}).passthrough();
|
|
48472
48480
|
var AudioContentSchema = exports_external.object({
|
|
48473
48481
|
type: exports_external.literal("audio"),
|
|
48474
|
-
data:
|
|
48482
|
+
data: Base64Schema,
|
|
48475
48483
|
mimeType: exports_external.string(),
|
|
48476
48484
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
48477
48485
|
}).passthrough();
|
|
@@ -48762,7 +48770,7 @@ class McpError extends Error {
|
|
|
48762
48770
|
}
|
|
48763
48771
|
}
|
|
48764
48772
|
|
|
48765
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
48773
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
48766
48774
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
48767
48775
|
|
|
48768
48776
|
class Protocol {
|
|
@@ -49102,7 +49110,7 @@ function mergeCapabilities(base, additional) {
|
|
|
49102
49110
|
}, { ...base });
|
|
49103
49111
|
}
|
|
49104
49112
|
|
|
49105
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
49113
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
49106
49114
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
49107
49115
|
|
|
49108
49116
|
class Server extends Protocol {
|
|
@@ -50518,7 +50526,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
50518
50526
|
}
|
|
50519
50527
|
return combined;
|
|
50520
50528
|
};
|
|
50521
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
50529
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
50522
50530
|
var McpZodTypeKind;
|
|
50523
50531
|
(function(McpZodTypeKind2) {
|
|
50524
50532
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
@@ -50571,7 +50579,7 @@ function processCreateParams2(params) {
|
|
|
50571
50579
|
return { errorMap: customMap, description };
|
|
50572
50580
|
}
|
|
50573
50581
|
|
|
50574
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
50582
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
50575
50583
|
class McpServer {
|
|
50576
50584
|
constructor(serverInfo, options) {
|
|
50577
50585
|
this._registeredResources = {};
|
|
@@ -51128,10 +51136,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
51128
51136
|
}
|
|
51129
51137
|
};
|
|
51130
51138
|
|
|
51131
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51139
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51132
51140
|
import process2 from "node:process";
|
|
51133
51141
|
|
|
51134
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51142
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
51135
51143
|
class ReadBuffer {
|
|
51136
51144
|
append(chunk) {
|
|
51137
51145
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -51161,7 +51169,7 @@ function serializeMessage(message) {
|
|
|
51161
51169
|
`;
|
|
51162
51170
|
}
|
|
51163
51171
|
|
|
51164
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51172
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51165
51173
|
class StdioServerTransport {
|
|
51166
51174
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
|
|
51167
51175
|
this._stdin = _stdin;
|
|
@@ -79757,7 +79765,7 @@ var portalQueries = (server, env3) => {
|
|
|
79757
79765
|
var package_default = {
|
|
79758
79766
|
name: "@settlemint/sdk-mcp",
|
|
79759
79767
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
79760
|
-
version: "2.5.
|
|
79768
|
+
version: "2.5.3",
|
|
79761
79769
|
type: "module",
|
|
79762
79770
|
private: false,
|
|
79763
79771
|
license: "FSL-1.1-MIT",
|
|
@@ -79799,9 +79807,9 @@ var package_default = {
|
|
|
79799
79807
|
"@commander-js/extra-typings": "14.0.0",
|
|
79800
79808
|
"@graphql-tools/load": "8.1.2",
|
|
79801
79809
|
"@graphql-tools/url-loader": "8.0.33",
|
|
79802
|
-
"@modelcontextprotocol/sdk": "1.
|
|
79803
|
-
"@settlemint/sdk-js": "2.5.
|
|
79804
|
-
"@settlemint/sdk-utils": "2.5.
|
|
79810
|
+
"@modelcontextprotocol/sdk": "1.17.0",
|
|
79811
|
+
"@settlemint/sdk-js": "2.5.3",
|
|
79812
|
+
"@settlemint/sdk-utils": "2.5.3",
|
|
79805
79813
|
commander: "14.0.0",
|
|
79806
79814
|
graphql: "16.11.0",
|
|
79807
79815
|
zod: "^4"
|
|
@@ -83470,6 +83478,18 @@ var MiddlewareFragment = graphql(`
|
|
|
83470
83478
|
... on HAGraphMiddleware {
|
|
83471
83479
|
specVersion
|
|
83472
83480
|
}
|
|
83481
|
+
... on HAGraphPostgresMiddleware {
|
|
83482
|
+
specVersion
|
|
83483
|
+
}
|
|
83484
|
+
}
|
|
83485
|
+
`);
|
|
83486
|
+
var SubgraphFragment = graphql(`
|
|
83487
|
+
fragment Subgraph on Subgraph {
|
|
83488
|
+
name
|
|
83489
|
+
graphqlQueryEndpoint {
|
|
83490
|
+
displayValue
|
|
83491
|
+
id
|
|
83492
|
+
}
|
|
83473
83493
|
}
|
|
83474
83494
|
`);
|
|
83475
83495
|
var getMiddlewares = graphql(`
|
|
@@ -83494,16 +83514,17 @@ var getGraphMiddlewareSubgraphs = graphql(`
|
|
|
83494
83514
|
...Middleware
|
|
83495
83515
|
... on HAGraphMiddleware {
|
|
83496
83516
|
subgraphs(noCache: $noCache) {
|
|
83497
|
-
|
|
83498
|
-
|
|
83499
|
-
|
|
83500
|
-
|
|
83501
|
-
|
|
83517
|
+
...Subgraph
|
|
83518
|
+
}
|
|
83519
|
+
}
|
|
83520
|
+
... on HAGraphPostgresMiddleware {
|
|
83521
|
+
subgraphs(noCache: $noCache) {
|
|
83522
|
+
...Subgraph
|
|
83502
83523
|
}
|
|
83503
83524
|
}
|
|
83504
83525
|
}
|
|
83505
83526
|
}
|
|
83506
|
-
`, [MiddlewareFragment]);
|
|
83527
|
+
`, [MiddlewareFragment, SubgraphFragment]);
|
|
83507
83528
|
var createMiddleware = graphql(`
|
|
83508
83529
|
mutation CreateMiddleware(
|
|
83509
83530
|
$applicationId: ID!
|
|
@@ -85777,4 +85798,4 @@ await main().catch((error41) => {
|
|
|
85777
85798
|
process.exit(1);
|
|
85778
85799
|
});
|
|
85779
85800
|
|
|
85780
|
-
//# debugId=
|
|
85801
|
+
//# debugId=D89A6D966F3DA36D64756E2164756E21
|