@settlemint/sdk-mcp 2.6.2-prf4fd4e0b → 2.6.2-prffbc8bb6
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 +45 -45
- package/dist/mcp.js.map +6 -6
- package/package.json +4 -4
package/dist/mcp.js
CHANGED
|
@@ -17550,7 +17550,7 @@ var require_main2 = __commonJS((exports, module) => {
|
|
|
17550
17550
|
};
|
|
17551
17551
|
});
|
|
17552
17552
|
|
|
17553
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
17553
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/error.js
|
|
17554
17554
|
var require_error = __commonJS((exports) => {
|
|
17555
17555
|
class CommanderError extends Error {
|
|
17556
17556
|
constructor(exitCode, code, message) {
|
|
@@ -17574,7 +17574,7 @@ var require_error = __commonJS((exports) => {
|
|
|
17574
17574
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
17575
17575
|
});
|
|
17576
17576
|
|
|
17577
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
17577
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/argument.js
|
|
17578
17578
|
var require_argument = __commonJS((exports) => {
|
|
17579
17579
|
var { InvalidArgumentError } = require_error();
|
|
17580
17580
|
|
|
@@ -17600,7 +17600,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
17600
17600
|
this._name = name;
|
|
17601
17601
|
break;
|
|
17602
17602
|
}
|
|
17603
|
-
if (this._name.
|
|
17603
|
+
if (this._name.endsWith("...")) {
|
|
17604
17604
|
this.variadic = true;
|
|
17605
17605
|
this._name = this._name.slice(0, -3);
|
|
17606
17606
|
}
|
|
@@ -17608,11 +17608,12 @@ var require_argument = __commonJS((exports) => {
|
|
|
17608
17608
|
name() {
|
|
17609
17609
|
return this._name;
|
|
17610
17610
|
}
|
|
17611
|
-
|
|
17611
|
+
_collectValue(value, previous) {
|
|
17612
17612
|
if (previous === this.defaultValue || !Array.isArray(previous)) {
|
|
17613
17613
|
return [value];
|
|
17614
17614
|
}
|
|
17615
|
-
|
|
17615
|
+
previous.push(value);
|
|
17616
|
+
return previous;
|
|
17616
17617
|
}
|
|
17617
17618
|
default(value, description) {
|
|
17618
17619
|
this.defaultValue = value;
|
|
@@ -17630,7 +17631,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
17630
17631
|
throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
|
|
17631
17632
|
}
|
|
17632
17633
|
if (this.variadic) {
|
|
17633
|
-
return this.
|
|
17634
|
+
return this._collectValue(arg, previous);
|
|
17634
17635
|
}
|
|
17635
17636
|
return arg;
|
|
17636
17637
|
};
|
|
@@ -17653,7 +17654,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
17653
17654
|
exports.humanReadableArgName = humanReadableArgName;
|
|
17654
17655
|
});
|
|
17655
17656
|
|
|
17656
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
17657
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/help.js
|
|
17657
17658
|
var require_help = __commonJS((exports) => {
|
|
17658
17659
|
var { humanReadableArgName } = require_argument();
|
|
17659
17660
|
|
|
@@ -18010,7 +18011,7 @@ ${itemIndentStr}`);
|
|
|
18010
18011
|
exports.stripColor = stripColor;
|
|
18011
18012
|
});
|
|
18012
18013
|
|
|
18013
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
18014
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/option.js
|
|
18014
18015
|
var require_option = __commonJS((exports) => {
|
|
18015
18016
|
var { InvalidArgumentError } = require_error();
|
|
18016
18017
|
|
|
@@ -18077,11 +18078,12 @@ var require_option = __commonJS((exports) => {
|
|
|
18077
18078
|
this.hidden = !!hide;
|
|
18078
18079
|
return this;
|
|
18079
18080
|
}
|
|
18080
|
-
|
|
18081
|
+
_collectValue(value, previous) {
|
|
18081
18082
|
if (previous === this.defaultValue || !Array.isArray(previous)) {
|
|
18082
18083
|
return [value];
|
|
18083
18084
|
}
|
|
18084
|
-
|
|
18085
|
+
previous.push(value);
|
|
18086
|
+
return previous;
|
|
18085
18087
|
}
|
|
18086
18088
|
choices(values) {
|
|
18087
18089
|
this.argChoices = values.slice();
|
|
@@ -18090,7 +18092,7 @@ var require_option = __commonJS((exports) => {
|
|
|
18090
18092
|
throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
|
|
18091
18093
|
}
|
|
18092
18094
|
if (this.variadic) {
|
|
18093
|
-
return this.
|
|
18095
|
+
return this._collectValue(arg, previous);
|
|
18094
18096
|
}
|
|
18095
18097
|
return arg;
|
|
18096
18098
|
};
|
|
@@ -18193,7 +18195,7 @@ var require_option = __commonJS((exports) => {
|
|
|
18193
18195
|
exports.DualOptions = DualOptions;
|
|
18194
18196
|
});
|
|
18195
18197
|
|
|
18196
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
18198
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/suggestSimilar.js
|
|
18197
18199
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
18198
18200
|
var maxDistance = 3;
|
|
18199
18201
|
function editDistance(a, b) {
|
|
@@ -18266,7 +18268,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
18266
18268
|
exports.suggestSimilar = suggestSimilar;
|
|
18267
18269
|
});
|
|
18268
18270
|
|
|
18269
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
18271
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/command.js
|
|
18270
18272
|
var require_command = __commonJS((exports) => {
|
|
18271
18273
|
var EventEmitter2 = __require("node:events").EventEmitter;
|
|
18272
18274
|
var childProcess = __require("node:child_process");
|
|
@@ -18396,7 +18398,10 @@ var require_command = __commonJS((exports) => {
|
|
|
18396
18398
|
configureOutput(configuration) {
|
|
18397
18399
|
if (configuration === undefined)
|
|
18398
18400
|
return this._outputConfiguration;
|
|
18399
|
-
this._outputConfiguration =
|
|
18401
|
+
this._outputConfiguration = {
|
|
18402
|
+
...this._outputConfiguration,
|
|
18403
|
+
...configuration
|
|
18404
|
+
};
|
|
18400
18405
|
return this;
|
|
18401
18406
|
}
|
|
18402
18407
|
showHelpAfterError(displayHelp = true) {
|
|
@@ -18445,7 +18450,7 @@ var require_command = __commonJS((exports) => {
|
|
|
18445
18450
|
}
|
|
18446
18451
|
addArgument(argument) {
|
|
18447
18452
|
const previousArgument = this.registeredArguments.slice(-1)[0];
|
|
18448
|
-
if (previousArgument
|
|
18453
|
+
if (previousArgument?.variadic) {
|
|
18449
18454
|
throw new Error(`only the last argument can be variadic '${previousArgument.name()}'`);
|
|
18450
18455
|
}
|
|
18451
18456
|
if (argument.required && argument.defaultValue !== undefined && argument.parseArg === undefined) {
|
|
@@ -18600,7 +18605,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
18600
18605
|
if (val !== null && option.parseArg) {
|
|
18601
18606
|
val = this._callParseArg(option, val, oldValue, invalidValueMessage);
|
|
18602
18607
|
} else if (val !== null && option.variadic) {
|
|
18603
|
-
val = option.
|
|
18608
|
+
val = option._collectValue(val, oldValue);
|
|
18604
18609
|
}
|
|
18605
18610
|
if (val == null) {
|
|
18606
18611
|
if (option.negate) {
|
|
@@ -18975,7 +18980,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
18975
18980
|
this.processedArgs = processedArgs;
|
|
18976
18981
|
}
|
|
18977
18982
|
_chainOrCall(promise3, fn) {
|
|
18978
|
-
if (promise3
|
|
18983
|
+
if (promise3?.then && typeof promise3.then === "function") {
|
|
18979
18984
|
return promise3.then(() => fn());
|
|
18980
18985
|
}
|
|
18981
18986
|
return fn();
|
|
@@ -19052,7 +19057,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19052
19057
|
promiseChain = this._chainOrCallHooks(promiseChain, "postAction");
|
|
19053
19058
|
return promiseChain;
|
|
19054
19059
|
}
|
|
19055
|
-
if (this.parent
|
|
19060
|
+
if (this.parent?.listenerCount(commandEvent)) {
|
|
19056
19061
|
checkForUnknownOptions();
|
|
19057
19062
|
this._processArguments();
|
|
19058
19063
|
this.parent.emit(commandEvent, operands, unknown3);
|
|
@@ -19114,11 +19119,10 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19114
19119
|
cmd._checkForConflictingLocalOptions();
|
|
19115
19120
|
});
|
|
19116
19121
|
}
|
|
19117
|
-
parseOptions(
|
|
19122
|
+
parseOptions(args) {
|
|
19118
19123
|
const operands = [];
|
|
19119
19124
|
const unknown3 = [];
|
|
19120
19125
|
let dest = operands;
|
|
19121
|
-
const args = argv.slice();
|
|
19122
19126
|
function maybeOption(arg) {
|
|
19123
19127
|
return arg.length > 1 && arg[0] === "-";
|
|
19124
19128
|
}
|
|
@@ -19128,12 +19132,15 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19128
19132
|
return !this._getCommandAndAncestors().some((cmd) => cmd.options.map((opt) => opt.short).some((short) => /^-\d$/.test(short)));
|
|
19129
19133
|
};
|
|
19130
19134
|
let activeVariadicOption = null;
|
|
19131
|
-
|
|
19132
|
-
|
|
19135
|
+
let activeGroup = null;
|
|
19136
|
+
let i = 0;
|
|
19137
|
+
while (i < args.length || activeGroup) {
|
|
19138
|
+
const arg = activeGroup ?? args[i++];
|
|
19139
|
+
activeGroup = null;
|
|
19133
19140
|
if (arg === "--") {
|
|
19134
19141
|
if (dest === unknown3)
|
|
19135
19142
|
dest.push(arg);
|
|
19136
|
-
dest.push(...args);
|
|
19143
|
+
dest.push(...args.slice(i));
|
|
19137
19144
|
break;
|
|
19138
19145
|
}
|
|
19139
19146
|
if (activeVariadicOption && (!maybeOption(arg) || negativeNumberArg(arg))) {
|
|
@@ -19145,14 +19152,14 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19145
19152
|
const option = this._findOption(arg);
|
|
19146
19153
|
if (option) {
|
|
19147
19154
|
if (option.required) {
|
|
19148
|
-
const value = args
|
|
19155
|
+
const value = args[i++];
|
|
19149
19156
|
if (value === undefined)
|
|
19150
19157
|
this.optionMissingArgument(option);
|
|
19151
19158
|
this.emit(`option:${option.name()}`, value);
|
|
19152
19159
|
} else if (option.optional) {
|
|
19153
19160
|
let value = null;
|
|
19154
|
-
if (args.length
|
|
19155
|
-
value = args
|
|
19161
|
+
if (i < args.length && (!maybeOption(args[i]) || negativeNumberArg(args[i]))) {
|
|
19162
|
+
value = args[i++];
|
|
19156
19163
|
}
|
|
19157
19164
|
this.emit(`option:${option.name()}`, value);
|
|
19158
19165
|
} else {
|
|
@@ -19169,7 +19176,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19169
19176
|
this.emit(`option:${option.name()}`, arg.slice(2));
|
|
19170
19177
|
} else {
|
|
19171
19178
|
this.emit(`option:${option.name()}`);
|
|
19172
|
-
|
|
19179
|
+
activeGroup = `-${arg.slice(2)}`;
|
|
19173
19180
|
}
|
|
19174
19181
|
continue;
|
|
19175
19182
|
}
|
|
@@ -19188,25 +19195,18 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19188
19195
|
if ((this._enablePositionalOptions || this._passThroughOptions) && operands.length === 0 && unknown3.length === 0) {
|
|
19189
19196
|
if (this._findCommand(arg)) {
|
|
19190
19197
|
operands.push(arg);
|
|
19191
|
-
|
|
19192
|
-
unknown3.push(...args);
|
|
19198
|
+
unknown3.push(...args.slice(i));
|
|
19193
19199
|
break;
|
|
19194
19200
|
} else if (this._getHelpCommand() && arg === this._getHelpCommand().name()) {
|
|
19195
|
-
operands.push(arg);
|
|
19196
|
-
if (args.length > 0)
|
|
19197
|
-
operands.push(...args);
|
|
19201
|
+
operands.push(arg, ...args.slice(i));
|
|
19198
19202
|
break;
|
|
19199
19203
|
} else if (this._defaultCommandName) {
|
|
19200
|
-
unknown3.push(arg);
|
|
19201
|
-
if (args.length > 0)
|
|
19202
|
-
unknown3.push(...args);
|
|
19204
|
+
unknown3.push(arg, ...args.slice(i));
|
|
19203
19205
|
break;
|
|
19204
19206
|
}
|
|
19205
19207
|
}
|
|
19206
19208
|
if (this._passThroughOptions) {
|
|
19207
|
-
dest.push(arg);
|
|
19208
|
-
if (args.length > 0)
|
|
19209
|
-
dest.push(...args);
|
|
19209
|
+
dest.push(arg, ...args.slice(i));
|
|
19210
19210
|
break;
|
|
19211
19211
|
}
|
|
19212
19212
|
dest.push(arg);
|
|
@@ -19623,7 +19623,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
19623
19623
|
exports.useColor = useColor;
|
|
19624
19624
|
});
|
|
19625
19625
|
|
|
19626
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
19626
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/index.js
|
|
19627
19627
|
var require_commander = __commonJS((exports) => {
|
|
19628
19628
|
var { Argument } = require_argument();
|
|
19629
19629
|
var { Command } = require_command();
|
|
@@ -69196,7 +69196,7 @@ var DotEnvSchema2 = exports_external2.object({
|
|
|
69196
69196
|
var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
|
|
69197
69197
|
var IdSchema2 = exports_external2.union([exports_external2.string().uuid(), exports_external2.string().regex(/^[0-9a-fA-F]{24}$/)]);
|
|
69198
69198
|
|
|
69199
|
-
// ../../node_modules/.bun/commander@14.0.
|
|
69199
|
+
// ../../node_modules/.bun/commander@14.0.1/node_modules/commander/esm.mjs
|
|
69200
69200
|
var import__2 = __toESM(require_commander(), 1);
|
|
69201
69201
|
var {
|
|
69202
69202
|
program,
|
|
@@ -82211,7 +82211,7 @@ var portalQueries = (server, env3) => {
|
|
|
82211
82211
|
var package_default = {
|
|
82212
82212
|
name: "@settlemint/sdk-mcp",
|
|
82213
82213
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
82214
|
-
version: "2.6.2-
|
|
82214
|
+
version: "2.6.2-prffbc8bb6",
|
|
82215
82215
|
type: "module",
|
|
82216
82216
|
private: false,
|
|
82217
82217
|
license: "FSL-1.1-MIT",
|
|
@@ -82254,9 +82254,9 @@ var package_default = {
|
|
|
82254
82254
|
"@graphql-tools/load": "8.1.2",
|
|
82255
82255
|
"@graphql-tools/url-loader": "9.0.0",
|
|
82256
82256
|
"@modelcontextprotocol/sdk": "1.18.0",
|
|
82257
|
-
"@settlemint/sdk-js": "2.6.2-
|
|
82258
|
-
"@settlemint/sdk-utils": "2.6.2-
|
|
82259
|
-
commander: "14.0.
|
|
82257
|
+
"@settlemint/sdk-js": "2.6.2-prffbc8bb6",
|
|
82258
|
+
"@settlemint/sdk-utils": "2.6.2-prffbc8bb6",
|
|
82259
|
+
commander: "14.0.1",
|
|
82260
82260
|
graphql: "16.11.0",
|
|
82261
82261
|
zod: "^4",
|
|
82262
82262
|
"zod-to-json-schema": "^3.23.0"
|
|
@@ -88324,4 +88324,4 @@ await main().catch((error44) => {
|
|
|
88324
88324
|
process.exit(1);
|
|
88325
88325
|
});
|
|
88326
88326
|
|
|
88327
|
-
//# debugId=
|
|
88327
|
+
//# debugId=649A4AD839309AF264756E2164756E21
|