@leanmcp/core 0.1.1 → 0.1.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/index.js CHANGED
@@ -634,7 +634,7 @@ var MCPServer = class {
634
634
  }
635
635
  }
636
636
  try {
637
- const meta = request.params.arguments?._meta;
637
+ const meta = request.params._meta;
638
638
  const result = await tool.method.call(tool.instance, request.params.arguments, meta);
639
639
  let formattedResult = result;
640
640
  if (methodMeta.renderFormat === "markdown" && typeof result === "string") {
@@ -890,7 +890,7 @@ var MCPServerRuntime = class {
890
890
  }
891
891
  }
892
892
  try {
893
- const meta = request.params.arguments?._meta;
893
+ const meta = request.params._meta;
894
894
  const result = await tool.method.call(tool.instance, request.params.arguments, meta);
895
895
  if (result && typeof result === "object" && result.type === "elicitation") {
896
896
  return {
package/dist/index.mjs CHANGED
@@ -577,7 +577,7 @@ var MCPServer = class {
577
577
  }
578
578
  }
579
579
  try {
580
- const meta = request.params.arguments?._meta;
580
+ const meta = request.params._meta;
581
581
  const result = await tool.method.call(tool.instance, request.params.arguments, meta);
582
582
  let formattedResult = result;
583
583
  if (methodMeta.renderFormat === "markdown" && typeof result === "string") {
@@ -833,7 +833,7 @@ var MCPServerRuntime = class {
833
833
  }
834
834
  }
835
835
  try {
836
- const meta = request.params.arguments?._meta;
836
+ const meta = request.params._meta;
837
837
  const result = await tool.method.call(tool.instance, request.params.arguments, meta);
838
838
  if (result && typeof result === "object" && result.type === "elicitation") {
839
839
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanmcp/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Core library implementing decorators, reflection, and MCP runtime server",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",