@vibecheck-ai/mcp 24.6.11 → 25.0.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.
- package/dist/{ErrorHandlingEngine-VAHVDVFG-3GDGRN3U.js → ErrorHandlingEngine-FG65SFRB-4NEANCMF.js} +1 -1
- package/dist/{PhantomDepEngine-HQEXAS25-TRVEXBMF.js → PhantomDepEngine-5O7Z7MDE-4A37GGL4.js} +1 -1
- package/dist/{chunk-G3FQJC2H.js → chunk-FMRX5OVJ.js} +1 -1
- package/dist/{chunk-QFDZMUGO.js → chunk-FRK2XZX5.js} +12 -3
- package/dist/{chunk-RNFMO5GH.js → chunk-WUHPSW7M.js} +2606 -337
- package/dist/dist-Y2Z46SBD.js +22 -0
- package/dist/index.js +3075 -3047
- package/package.json +16 -14
- package/LICENSE +0 -21
- package/dist/dist-OUJKMVTB.js +0 -22
package/dist/{ErrorHandlingEngine-VAHVDVFG-3GDGRN3U.js → ErrorHandlingEngine-FG65SFRB-4NEANCMF.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'module';
|
|
2
2
|
import { fileURLToPath } from 'url';
|
|
3
3
|
import { dirname } from 'path';
|
|
4
|
-
export { ErrorHandlingEngine } from './chunk-
|
|
4
|
+
export { ErrorHandlingEngine } from './chunk-FRK2XZX5.js';
|
|
5
5
|
import './chunk-RR5ETBSV.js';
|
|
6
6
|
import './chunk-NR36RTVO.js';
|
|
7
7
|
import './chunk-YWUMPN4Z.js';
|
package/dist/{PhantomDepEngine-HQEXAS25-TRVEXBMF.js → PhantomDepEngine-5O7Z7MDE-4A37GGL4.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'module';
|
|
2
2
|
import { fileURLToPath } from 'url';
|
|
3
3
|
import { dirname } from 'path';
|
|
4
|
-
export { PhantomDepEngine, _internals } from './chunk-
|
|
4
|
+
export { PhantomDepEngine, _internals } from './chunk-FMRX5OVJ.js';
|
|
5
5
|
import './chunk-NR36RTVO.js';
|
|
6
6
|
import './chunk-YWUMPN4Z.js';
|
|
7
7
|
|
|
@@ -1294,7 +1294,7 @@ var RegistryClient = class {
|
|
|
1294
1294
|
while (this._queue.length > 0 || this._inflightRequests.size > 0) {
|
|
1295
1295
|
const promises = Array.from(this._inflightRequests.values());
|
|
1296
1296
|
if (promises.length > 0) {
|
|
1297
|
-
await Promise.
|
|
1297
|
+
await Promise.allSettled(promises);
|
|
1298
1298
|
} else {
|
|
1299
1299
|
await new Promise((r) => setTimeout(r, 5));
|
|
1300
1300
|
}
|
|
@@ -212835,12 +212835,21 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
|
|
|
212835
212835
|
}
|
|
212836
212836
|
});
|
|
212837
212837
|
|
|
212838
|
-
// ../engines/dist/chunk-
|
|
212838
|
+
// ../engines/dist/chunk-6CJ7JRHG.js
|
|
212839
212839
|
var import_typescript = __toESM(require_typescript(), 1);
|
|
212840
212840
|
var RESOURCE_OPEN_RE = /createReadStream|createWriteStream|fs\.open|\.connect\s*\(|\.acquire\s*\(|transaction\s*\(|\.subscribe\s*\(|addEventListener|\.lock\s*\(|withLock/i;
|
|
212841
212841
|
var RESPONSE_OK_GUARD_RE = /\.ok\b|responseOk|assertOk|checkOk|ensureOk|throwIfNotOk|!response\.ok|status\s*(===|!==|>=|<=|>|<)|ok\s*\)/i;
|
|
212842
212842
|
var FETCH_HELPER_RE = /\b(safeFetch|httpFetch|apiFetch|fetchJson|fetchOk|requestJson|ky\.|axios\.|ofetch)\b/i;
|
|
212843
212843
|
var DETACHED_COMMENT_RE = /@(?:detach|detached|fire-and-forget|void-promise|ignore-rejection)\b|fire[\s-]and[\s-]forget|intentional(?:\s*:\s*)?fire[\s-]and[\s-]forget/i;
|
|
212844
|
+
var _sfLinesCache = /* @__PURE__ */ new WeakMap();
|
|
212845
|
+
function getSourceLines(sf) {
|
|
212846
|
+
let lines = _sfLinesCache.get(sf);
|
|
212847
|
+
if (!lines) {
|
|
212848
|
+
lines = sf.getFullText().split("\n");
|
|
212849
|
+
_sfLinesCache.set(sf, lines);
|
|
212850
|
+
}
|
|
212851
|
+
return lines;
|
|
212852
|
+
}
|
|
212844
212853
|
function classifyUri(uri) {
|
|
212845
212854
|
const u = uri.replace(/\\/g, "/");
|
|
212846
212855
|
if (/\.d\.ts$/i.test(u)) return { skipScan: true, softSurface: false, skipAsyncBoundary: true };
|
|
@@ -212967,7 +212976,7 @@ function catchClauseHasEmptyCatchSuppress(sf, c) {
|
|
|
212967
212976
|
}
|
|
212968
212977
|
}
|
|
212969
212978
|
const lc = sf.getLineAndCharacterOfPosition(catchStart);
|
|
212970
|
-
const lines =
|
|
212979
|
+
const lines = getSourceLines(sf);
|
|
212971
212980
|
for (let j = Math.max(0, lc.line - 3); j < lc.line; j++) {
|
|
212972
212981
|
const L = lines[j] ?? "";
|
|
212973
212982
|
if (/eslint-disable(-next-line)?/i.test(L) && /no-empty|empty-function/i.test(L)) return true;
|
|
@@ -213230,7 +213239,7 @@ var ErrorHandlingEngine = class extends BaseEngine {
|
|
|
213230
213239
|
const callee = inner.expression;
|
|
213231
213240
|
if (!import_typescript.default.isIdentifier(callee) || callee.text !== "fetch") return;
|
|
213232
213241
|
const lc = ctx.sf.getLineAndCharacterOfPosition(inner.getStart(ctx.sf));
|
|
213233
|
-
const lines = ctx.sf
|
|
213242
|
+
const lines = getSourceLines(ctx.sf);
|
|
213234
213243
|
for (let L = Math.max(0, lc.line - 3); L <= lc.line; L++) {
|
|
213235
213244
|
const row = lines[L] ?? "";
|
|
213236
213245
|
if (/@vibecheck-ignore(?:-ehn002|-err005)?\b/i.test(row)) return;
|