@vibecheck-ai/mcp 26.0.0 → 26.0.1
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/analytics-P4AUZXCQ.js +36 -0
- package/dist/{chunk-RPSVX4GS.js → chunk-PXXM6OHD.js} +196 -209
- package/dist/{dist-74DHDHNJ.js → dist-ZTADJLYH.js} +1 -1
- package/dist/index.js +3295 -3235
- package/package.json +18 -9
- package/dist/analytics-HY3UUAAZ.js +0 -135
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createRequire } from 'module';
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
3
|
+
import { dirname } from 'path';
|
|
4
|
+
import './chunk-YWUMPN4Z.js';
|
|
5
|
+
import 'fs';
|
|
6
|
+
import 'os';
|
|
7
|
+
import 'crypto';
|
|
8
|
+
|
|
9
|
+
createRequire(import.meta.url);
|
|
10
|
+
const __filename$1 = fileURLToPath(import.meta.url);
|
|
11
|
+
dirname(__filename$1);
|
|
12
|
+
var initialized = false;
|
|
13
|
+
function isTelemetryDisabled() {
|
|
14
|
+
return process.env.VIBECHECK_NO_TELEMETRY === "1" || process.env.VIBECHECK_NO_TELEMETRY === "true" || process.env.DO_NOT_TRACK === "1" || process.env.DO_NOT_TRACK === "true";
|
|
15
|
+
}
|
|
16
|
+
async function initAnalytics(version) {
|
|
17
|
+
if (initialized) return;
|
|
18
|
+
initialized = true;
|
|
19
|
+
if (isTelemetryDisabled() || true) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function trackToolCall(toolName, extra = {}) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
function trackToolResult(toolName, success, durationMs, extra = {}) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
function trackError(context, err, extra = {}) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
async function shutdownAnalytics() {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { initAnalytics, shutdownAnalytics, trackError, trackToolCall, trackToolResult };
|