@settlemint/sdk-mcp 2.6.2-pre143996f → 2.6.2-pre3a907e0

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 CHANGED
@@ -17285,7 +17285,7 @@ var require_main2 = __commonJS((exports, module) => {
17285
17285
  };
17286
17286
  });
17287
17287
 
17288
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/error.js
17288
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/error.js
17289
17289
  var require_error = __commonJS((exports) => {
17290
17290
  class CommanderError extends Error {
17291
17291
  constructor(exitCode, code, message) {
@@ -17309,7 +17309,7 @@ var require_error = __commonJS((exports) => {
17309
17309
  exports.InvalidArgumentError = InvalidArgumentError;
17310
17310
  });
17311
17311
 
17312
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/argument.js
17312
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/argument.js
17313
17313
  var require_argument = __commonJS((exports) => {
17314
17314
  var { InvalidArgumentError } = require_error();
17315
17315
 
@@ -17389,7 +17389,7 @@ var require_argument = __commonJS((exports) => {
17389
17389
  exports.humanReadableArgName = humanReadableArgName;
17390
17390
  });
17391
17391
 
17392
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/help.js
17392
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/help.js
17393
17393
  var require_help = __commonJS((exports) => {
17394
17394
  var { humanReadableArgName } = require_argument();
17395
17395
 
@@ -17746,7 +17746,7 @@ ${itemIndentStr}`);
17746
17746
  exports.stripColor = stripColor;
17747
17747
  });
17748
17748
 
17749
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/option.js
17749
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/option.js
17750
17750
  var require_option = __commonJS((exports) => {
17751
17751
  var { InvalidArgumentError } = require_error();
17752
17752
 
@@ -17930,7 +17930,7 @@ var require_option = __commonJS((exports) => {
17930
17930
  exports.DualOptions = DualOptions;
17931
17931
  });
17932
17932
 
17933
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/suggestSimilar.js
17933
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/suggestSimilar.js
17934
17934
  var require_suggestSimilar = __commonJS((exports) => {
17935
17935
  var maxDistance = 3;
17936
17936
  function editDistance(a, b) {
@@ -18003,7 +18003,7 @@ var require_suggestSimilar = __commonJS((exports) => {
18003
18003
  exports.suggestSimilar = suggestSimilar;
18004
18004
  });
18005
18005
 
18006
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/lib/command.js
18006
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/lib/command.js
18007
18007
  var require_command = __commonJS((exports) => {
18008
18008
  var EventEmitter2 = __require("node:events").EventEmitter;
18009
18009
  var childProcess = __require("node:child_process");
@@ -18862,7 +18862,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
18862
18862
  return arg.length > 1 && arg[0] === "-";
18863
18863
  }
18864
18864
  const negativeNumberArg = (arg) => {
18865
- if (!/^-\d*\.?\d+(e[+-]?\d+)?$/.test(arg))
18865
+ if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg))
18866
18866
  return false;
18867
18867
  return !this._getCommandAndAncestors().some((cmd) => cmd.options.map((opt) => opt.short).some((short) => /^-\d$/.test(short)));
18868
18868
  };
@@ -19358,7 +19358,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
19358
19358
  exports.useColor = useColor;
19359
19359
  });
19360
19360
 
19361
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/index.js
19361
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/index.js
19362
19362
  var require_commander = __commonJS((exports) => {
19363
19363
  var { Argument } = require_argument();
19364
19364
  var { Command } = require_command();
@@ -48170,7 +48170,7 @@ var coerce = {
48170
48170
  date: (arg) => ZodDate.create({ ...arg, coerce: true })
48171
48171
  };
48172
48172
  var NEVER = INVALID;
48173
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
48173
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
48174
48174
  var LATEST_PROTOCOL_VERSION = "2025-06-18";
48175
48175
  var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-03-26", "2024-11-05", "2024-10-07"];
48176
48176
  var JSONRPC_VERSION = "2.0";
@@ -48691,7 +48691,7 @@ class McpError extends Error {
48691
48691
  }
48692
48692
  }
48693
48693
 
48694
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
48694
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
48695
48695
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
48696
48696
 
48697
48697
  class Protocol {
@@ -49034,7 +49034,7 @@ function mergeCapabilities(base, additional) {
49034
49034
  }, { ...base });
49035
49035
  }
49036
49036
 
49037
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
49037
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
49038
49038
  var import_ajv = __toESM(require_ajv(), 1);
49039
49039
 
49040
49040
  class Server extends Protocol {
@@ -50472,7 +50472,7 @@ var zodToJsonSchema = (schema, options) => {
50472
50472
  }
50473
50473
  return combined;
50474
50474
  };
50475
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
50475
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
50476
50476
  var McpZodTypeKind;
50477
50477
  (function(McpZodTypeKind2) {
50478
50478
  McpZodTypeKind2["Completable"] = "McpCompletable";
@@ -50525,7 +50525,7 @@ function processCreateParams2(params) {
50525
50525
  return { errorMap: customMap, description };
50526
50526
  }
50527
50527
 
50528
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
50528
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
50529
50529
  class McpServer {
50530
50530
  constructor(serverInfo, options) {
50531
50531
  this._registeredResources = {};
@@ -50562,14 +50562,16 @@ class McpServer {
50562
50562
  title: tool.title,
50563
50563
  description: tool.description,
50564
50564
  inputSchema: tool.inputSchema ? zodToJsonSchema(tool.inputSchema, {
50565
- strictUnions: true
50565
+ strictUnions: true,
50566
+ pipeStrategy: "input"
50566
50567
  }) : EMPTY_OBJECT_JSON_SCHEMA,
50567
50568
  annotations: tool.annotations,
50568
50569
  _meta: tool._meta
50569
50570
  };
50570
50571
  if (tool.outputSchema) {
50571
50572
  toolDefinition.outputSchema = zodToJsonSchema(tool.outputSchema, {
50572
- strictUnions: true
50573
+ strictUnions: true,
50574
+ pipeStrategy: "output"
50573
50575
  });
50574
50576
  }
50575
50577
  return toolDefinition;
@@ -51091,10 +51093,10 @@ var EMPTY_COMPLETION_RESULT = {
51091
51093
  }
51092
51094
  };
51093
51095
 
51094
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
51096
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
51095
51097
  import process2 from "node:process";
51096
51098
 
51097
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
51099
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
51098
51100
  class ReadBuffer {
51099
51101
  append(chunk) {
51100
51102
  this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
@@ -51124,7 +51126,7 @@ function serializeMessage(message) {
51124
51126
  `;
51125
51127
  }
51126
51128
 
51127
- // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
51129
+ // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.20.2/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
51128
51130
  class StdioServerTransport {
51129
51131
  constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
51130
51132
  this._stdin = _stdin;
@@ -69434,7 +69436,7 @@ var DotEnvSchema2 = exports_external2.object({
69434
69436
  var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
69435
69437
  var IdSchema2 = exports_external2.union([exports_external2.string().uuid(), exports_external2.string().regex(/^[0-9a-fA-F]{24}$/)]);
69436
69438
 
69437
- // ../../node_modules/.bun/commander@14.0.1/node_modules/commander/esm.mjs
69439
+ // ../../node_modules/.bun/commander@14.0.2/node_modules/commander/esm.mjs
69438
69440
  var import__2 = __toESM(require_commander(), 1);
69439
69441
  var {
69440
69442
  program,
@@ -75186,19 +75188,19 @@ var $URL = ponyfills.URL;
75186
75188
  var $URLSearchParams = ponyfills.URLSearchParams;
75187
75189
 
75188
75190
  // ../../node_modules/.bun/@repeaterjs+repeater@3.0.6/node_modules/@repeaterjs/repeater/repeater.js
75189
- /*! *****************************************************************************
75190
- Copyright (c) Microsoft Corporation.
75191
-
75192
- Permission to use, copy, modify, and/or distribute this software for any
75193
- purpose with or without fee is hereby granted.
75194
-
75195
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
75196
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
75197
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
75198
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
75199
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
75200
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75201
- PERFORMANCE OF THIS SOFTWARE.
75191
+ /*! *****************************************************************************
75192
+ Copyright (c) Microsoft Corporation.
75193
+
75194
+ Permission to use, copy, modify, and/or distribute this software for any
75195
+ purpose with or without fee is hereby granted.
75196
+
75197
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
75198
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
75199
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
75200
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
75201
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
75202
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
75203
+ PERFORMANCE OF THIS SOFTWARE.
75202
75204
  ***************************************************************************** */
75203
75205
  var extendStatics = function(d, b) {
75204
75206
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -82511,7 +82513,7 @@ var portalQueries = (server, env3) => {
82511
82513
  var package_default = {
82512
82514
  name: "@settlemint/sdk-mcp",
82513
82515
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
82514
- version: "2.6.2-pre143996f",
82516
+ version: "2.6.2-pre3a907e0",
82515
82517
  type: "module",
82516
82518
  private: false,
82517
82519
  license: "FSL-1.1-MIT",
@@ -82553,10 +82555,10 @@ var package_default = {
82553
82555
  "@commander-js/extra-typings": "14.0.0",
82554
82556
  "@graphql-tools/load": "8.1.2",
82555
82557
  "@graphql-tools/url-loader": "9.0.0",
82556
- "@modelcontextprotocol/sdk": "1.20.0",
82557
- "@settlemint/sdk-js": "2.6.2-pre143996f",
82558
- "@settlemint/sdk-utils": "2.6.2-pre143996f",
82559
- commander: "14.0.1",
82558
+ "@modelcontextprotocol/sdk": "1.20.2",
82559
+ "@settlemint/sdk-js": "2.6.2-pre3a907e0",
82560
+ "@settlemint/sdk-utils": "2.6.2-pre3a907e0",
82561
+ commander: "14.0.2",
82560
82562
  graphql: "16.11.0",
82561
82563
  zod: "^4",
82562
82564
  "zod-to-json-schema": "^3.23.0"
@@ -88624,4 +88626,4 @@ await main().catch((error47) => {
88624
88626
  process.exit(1);
88625
88627
  });
88626
88628
 
88627
- //# debugId=F7B7626EED84199B64756E2164756E21
88629
+ //# debugId=F5F22D2AD54E768364756E2164756E21