@wix/mcp 1.0.15 → 1.0.16

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.
@@ -16425,6 +16425,7 @@ var WixMcpServer = class extends McpServer {
16425
16425
  } finally {
16426
16426
  const endTime = performance.now();
16427
16427
  const duration = Math.round(endTime - startTime);
16428
+ const clientName = this.server.getClientVersion()?.name;
16428
16429
  if (!isDevEnvironment) {
16429
16430
  if (this.getUserId) {
16430
16431
  const userId = this.getUserId();
@@ -16434,14 +16435,15 @@ var WixMcpServer = class extends McpServer {
16434
16435
  }
16435
16436
  this.biLogger.report(
16436
16437
  (0, import_v2.wixMcpRequestSrc39Evid1607)({
16438
+ clientName,
16439
+ duration,
16440
+ errorBody,
16437
16441
  toolInvocationId,
16438
16442
  toolName,
16439
16443
  params: JSON.stringify(argsBeforeExtra),
16440
16444
  origin: this.nodeEnv,
16441
- duration,
16442
16445
  sessionId: this.sessionId,
16443
- executionResult: toolSucceeded ? "Success" : "Error",
16444
- errorBody
16446
+ executionResult: toolSucceeded ? "Success" : "Error"
16445
16447
  })
16446
16448
  );
16447
16449
  }