@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.
- package/build/bin-standalone.js +5 -3
- package/build/bin-standalone.js.map +2 -2
- package/build/cjs/index.cjs +5 -3
- package/build/cjs/index.cjs.map +2 -2
- package/build/dts/wix-mcp-server.d.ts.map +1 -1
- package/build/dts/wix-mcp-server.js +5 -3
- package/build/dts/wix-mcp-server.js.map +1 -1
- package/build/esm/index.js +5 -3
- package/build/esm/index.js.map +2 -2
- package/package.json +3 -3
package/build/bin-standalone.js
CHANGED
|
@@ -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
|
}
|