vibecop 0.4.1 → 0.4.2

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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -6
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -22847,12 +22847,12 @@ import { execSync } from "node:child_process";
22847
22847
  import { existsSync as existsSync6, mkdirSync, readFileSync as readFileSync7, writeFileSync } from "node:fs";
22848
22848
  import { join as join7 } from "node:path";
22849
22849
  function resolveContextScript() {
22850
- const fromDist = new URL("../dist/context.js", import.meta.url);
22851
- try {
22852
- const { existsSync: existsSync7 } = __require("node:fs");
22853
- if (existsSync7(fromDist))
22854
- return fromDist.pathname;
22855
- } catch {}
22850
+ const sibling = new URL("./context.js", import.meta.url);
22851
+ if (existsSync6(sibling))
22852
+ return sibling.pathname;
22853
+ const fromSource = new URL("../dist/context.js", import.meta.url);
22854
+ if (existsSync6(fromSource))
22855
+ return fromSource.pathname;
22856
22856
  const { resolve: resolve4 } = __require("node:path");
22857
22857
  return resolve4("dist/context.js");
22858
22858
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibecop",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "AI code quality toolkit — deterministic linter for the AI coding era",
5
5
  "type": "module",
6
6
  "bin": {