@prefecthq/fastmcp-ts 1.2.0 → 1.3.0

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.
@@ -1172,7 +1172,7 @@ var init_version = __esm({
1172
1172
  async run({ args }) {
1173
1173
  if (args.json) setJsonMode(true);
1174
1174
  const data = {
1175
- fastmcp: "1.2.0",
1175
+ fastmcp: "1.3.0",
1176
1176
  "mcp-sdk": "2.0.0",
1177
1177
  node: process.version,
1178
1178
  platform: `${process.platform} ${process.arch}`
@@ -28404,6 +28404,20 @@ var init_handlers = __esm({
28404
28404
  }
28405
28405
  });
28406
28406
 
28407
+ // src/client/results.ts
28408
+ function normalizeCallToolResult(result) {
28409
+ return {
28410
+ ...result,
28411
+ structuredContent: result.structuredContent ?? null,
28412
+ isError: result.isError === true
28413
+ };
28414
+ }
28415
+ var init_results = __esm({
28416
+ "src/client/results.ts"() {
28417
+ "use strict";
28418
+ }
28419
+ });
28420
+
28407
28421
  // node_modules/isexe/windows.js
28408
28422
  var require_windows = __commonJS({
28409
28423
  "node_modules/isexe/windows.js"(exports2, module2) {
@@ -29317,6 +29331,7 @@ var init_multi_server = __esm({
29317
29331
  init_dist4();
29318
29332
  init_capabilities();
29319
29333
  init_handlers();
29334
+ init_results();
29320
29335
  init_transports();
29321
29336
  init_client();
29322
29337
  MultiServerClient = class _MultiServerClient {
@@ -29485,11 +29500,7 @@ var init_multi_server = __esm({
29485
29500
  { name: localName, arguments: args ?? {}, ...this._metaParamsFor(serverName) },
29486
29501
  sdkOptions
29487
29502
  );
29488
- return {
29489
- content: result.content,
29490
- structuredContent: result.structuredContent ?? null,
29491
- isError: result.isError === true
29492
- };
29503
+ return normalizeCallToolResult(result);
29493
29504
  }
29494
29505
  // -------------------------------------------------------------------------
29495
29506
  // Resources
@@ -29860,6 +29871,7 @@ var init_client = __esm({
29860
29871
  init_auth();
29861
29872
  init_capabilities();
29862
29873
  init_handlers();
29874
+ init_results();
29863
29875
  init_transports();
29864
29876
  init_multi_server();
29865
29877
  ToolCallError = class extends Error {
@@ -30133,11 +30145,7 @@ var init_client = __esm({
30133
30145
  const result = await this._reauthRetry(
30134
30146
  () => this._sdk().callTool({ name, arguments: args ?? {}, ...this._metaParams() }, sdkOptions)
30135
30147
  );
30136
- return {
30137
- content: result.content,
30138
- structuredContent: result.structuredContent ?? null,
30139
- isError: result.isError === true
30140
- };
30148
+ return normalizeCallToolResult(result);
30141
30149
  }
30142
30150
  // -------------------------------------------------------------------------
30143
30151
  // Resources (IResourcesClient)
@@ -33396,7 +33404,7 @@ var init_inspect = __esm({
33396
33404
  // only case Python's inspect supports); over --url/--command the
33397
33405
  // generation is unknowable from the wire.
33398
33406
  generation: mode.kind === "inprocess" ? 2 : null,
33399
- fastmcpVersion: "1.2.0",
33407
+ fastmcpVersion: "1.3.0",
33400
33408
  mcpVersion: "2.0.0",
33401
33409
  tools: tools2,
33402
33410
  prompts: prompts2,
@@ -46900,7 +46908,7 @@ init_format();
46900
46908
  var main = defineCommand({
46901
46909
  meta: {
46902
46910
  name: "fastmcp",
46903
- version: "1.2.0",
46911
+ version: "1.3.0",
46904
46912
  description: "FastMCP CLI \u2014 build, run, and manage MCP servers"
46905
46913
  },
46906
46914
  args: {