gennady 0.7.0 → 0.7.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.
Files changed (23) hide show
  1. package/dist/chunks/_commonjsHelpers-DaMA6jEr.js +8 -0
  2. package/dist/chunks/{devtools-B-7ugZhF.js → devtools-CPZ0IUNM.js} +1 -1
  3. package/dist/chunks/{index-CaahtXiM.js → index-BCqnKvNZ.js} +2 -2
  4. package/dist/chunks/{index-BeL1Zcbg.js → index-BLsDffzZ.js} +1 -1
  5. package/dist/chunks/{index-CVR66voe.js → index-Bq4d25CK.js} +17 -16
  6. package/dist/chunks/{index-D1qsi0Uc.js → index-BrSutH7l.js} +3 -3
  7. package/dist/chunks/{index-UbHoePfr.js → index-BsD-J44e.js} +1 -1
  8. package/dist/chunks/{index-g1LXlp77.js → index-BzBhCTHq.js} +2 -2
  9. package/dist/chunks/{index-DU6jD7SS.js → index-CAWs-GED.js} +1 -1
  10. package/dist/chunks/{index-CXuhZzS3.js → index-CFd_iufb.js} +1 -1
  11. package/dist/chunks/{services-CaLOhuLV.js → index-DAU6h0aT.js} +132 -2843
  12. package/dist/chunks/{index-DJpVmyp2.js → index-Db09OODV.js} +2 -2
  13. package/dist/chunks/{index-CiEM-8nJ.js → index-Dc44ukmL.js} +2 -2
  14. package/dist/chunks/{index-zBnnuvLA.js → index-DeYzAoxF.js} +7 -6
  15. package/dist/chunks/{index-D9ceRUyB.js → index-O5kqC9i_.js} +2 -2
  16. package/dist/chunks/{index-KxSZKmZn.js → index-TX0TmKeu.js} +2 -2
  17. package/dist/chunks/{run-review-command.logic-DpkRoEi8.js → run-review-command.logic-CwxYeLby.js} +2 -2
  18. package/dist/chunks/services-Dnk3nB2x.js +2732 -0
  19. package/dist/chunks/{shared-Bjy30TeM.js → shared-COpFaV-w.js} +1 -1
  20. package/dist/gennady.js +14 -14
  21. package/dist/index.js +5 -5
  22. package/dist/services/dbc/linter/implementations/ts/dbc-ts-ast-adapter.d.ts +3 -2
  23. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function l(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ export {
6
+ o as c,
7
+ l as g
8
+ };
@@ -1,4 +1,4 @@
1
- import { g as l } from "./services-CaLOhuLV.js";
1
+ import { g as l } from "./_commonjsHelpers-DaMA6jEr.js";
2
2
  var n, s;
3
3
  function u() {
4
4
  return s || (s = 1, n = function() {
@@ -1,5 +1,5 @@
1
- import { p as j, s as e, g as x } from "./shared-Bjy30TeM.js";
2
- import { p as T, A as E } from "./index-CiEM-8nJ.js";
1
+ import { p as j, s as e, g as x } from "./shared-COpFaV-w.js";
2
+ import { p as T, A as E } from "./index-Dc44ukmL.js";
3
3
  import { readdirSync as G, readFileSync as P } from "node:fs";
4
4
  import { join as h, dirname as k } from "node:path";
5
5
  import { fileURLToPath as N } from "node:url";
@@ -1,4 +1,4 @@
1
- import { p as s, r as e } from "./run-review-command.logic-DpkRoEi8.js";
1
+ import { p as s, r as e } from "./run-review-command.logic-CwxYeLby.js";
2
2
  const r = s(process.argv), o = await e({
3
3
  mode: "issues",
4
4
  args: r
@@ -1,15 +1,16 @@
1
1
  import { PassThrough as h0, Stream as ky } from "node:stream";
2
2
  import $A, { env as _Q, cwd as kh } from "node:process";
3
- import { g as jE, d as Ss, l as Ei, C as Wy, O as Py, f as $y, o as tS } from "./services-CaLOhuLV.js";
4
- import AS from "assert";
5
- import eS from "events";
6
- import { execFileSync as nS } from "node:child_process";
3
+ import { g as jE, c as Ss } from "./_commonjsHelpers-DaMA6jEr.js";
4
+ import Wy from "assert";
5
+ import Py from "events";
6
+ import { execFileSync as $y } from "node:child_process";
7
7
  import * as m0 from "node:fs";
8
8
  import wE from "node:fs";
9
- import aS from "node:tty";
10
- import lS from "node:os";
9
+ import tS from "node:tty";
10
+ import AS from "node:os";
11
11
  import { EventEmitter as Wh } from "node:events";
12
- import uS from "module";
12
+ import eS from "module";
13
+ import { l as Ei, C as nS, O as aS, e as lS, o as uS } from "./services-Dnk3nB2x.js";
13
14
  import "node:path";
14
15
  import "node:sqlite";
15
16
  var FB = { exports: {} }, CA = {};
@@ -1327,7 +1328,7 @@ const yd = (l, u) => {
1327
1328
  }, CS = pl + "K", BS = pl + "2K", R0 = pl + "2J", IS = () => {
1328
1329
  if (FE || !fS)
1329
1330
  return !1;
1330
- const l = lS.release().split("."), u = Number(l[0]), s = Number(l[2] ?? 0);
1331
+ const l = AS.release().split("."), u = Number(l[0]), s = Number(l[2] ?? 0);
1331
1332
  return u < 10 || u === 10 && s < 10586;
1332
1333
  }, QS = IS() ? `${R0}${pl}0f` : `${R0}${pl}3J${pl}H`, dS = pl + "?1049h", pS = pl + "?1049l", N0 = (l) => l in _Q && _Q[l] !== "0" && _Q[l] !== "false", Ph = N0("CI") || N0("CONTINUOUS_INTEGRATION"), hS = (l) => {
1333
1334
  const u = /* @__PURE__ */ new Set();
@@ -1394,7 +1395,7 @@ function SS() {
1394
1395
  };
1395
1396
  };
1396
1397
  else {
1397
- var s = AS, E = yS(), r = /^win/i.test(l.platform), d = eS;
1398
+ var s = Wy, E = yS(), r = /^win/i.test(l.platform), d = Py;
1398
1399
  typeof d != "function" && (d = d.EventEmitter);
1399
1400
  var p;
1400
1401
  l.__signal_exit_emitter__ ? p = l.__signal_exit_emitter__ : (p = l.__signal_exit_emitter__ = new d(), p.count = 0, p.emitted = {}), p.infinite || (p.setMaxListeners(1 / 0), p.infinite = !0), vs.exports = function(w, lt) {
@@ -3136,7 +3137,7 @@ function fd(l, u, s) {
3136
3137
  `).map((E) => yv(mv(E), u, s)).join(`
3137
3138
  `);
3138
3139
  }
3139
- const mm = 80, ym = 24, gd = (l, u, { shell: s, env: E } = {}) => nS(l, u, {
3140
+ const mm = 80, ym = 24, gd = (l, u, { shell: s, env: E } = {}) => $y(l, u, {
3140
3141
  encoding: "utf8",
3141
3142
  stdio: ["ignore", "pipe", "ignore"],
3142
3143
  timeout: 500,
@@ -3178,7 +3179,7 @@ function vv() {
3178
3179
  }
3179
3180
  const X0 = () => {
3180
3181
  try {
3181
- const l = $A.platform === "darwin" ? wE.constants.O_EVTONLY | wE.constants.O_NONBLOCK : wE.constants.O_NONBLOCK, { columns: u, rows: s } = aS.WriteStream(wE.openSync("/dev/tty", l));
3182
+ const l = $A.platform === "darwin" ? wE.constants.O_EVTONLY | wE.constants.O_NONBLOCK : wE.constants.O_NONBLOCK, { columns: u, rows: s } = tS.WriteStream(wE.openSync("/dev/tty", l));
3182
3183
  return { columns: u, rows: s };
3183
3184
  } catch {
3184
3185
  }
@@ -23400,7 +23401,7 @@ if ($A.env.DEV === "true") {
23400
23401
  import.meta.resolve("react-devtools-core"), l = !0;
23401
23402
  } catch {
23402
23403
  }
23403
- l && await import("./devtools-B-7ugZhF.js");
23404
+ l && await import("./devtools-CPZ0IUNM.js");
23404
23405
  }
23405
23406
  const Ch = (l, u) => {
23406
23407
  if (l === u)
@@ -24929,7 +24930,7 @@ function BR() {
24929
24930
  if (Jh) return id;
24930
24931
  Jh = 1;
24931
24932
  const l = CR(), u = typeof process == "object" && process && typeof process.cwd == "function" ? process.cwd() : ".", s = [].concat(
24932
- uS.builtinModules,
24933
+ eS.builtinModules,
24933
24934
  "bootstrap_node",
24934
24935
  "node"
24935
24936
  ).map((M) => new RegExp(`(?:\\((?:node:)?${M}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${M}(?:\\.js)?:\\d+:\\d+$)`));
@@ -26325,8 +26326,8 @@ const WR = (l) => {
26325
26326
  }, [u.isActive, r, d]);
26326
26327
  }, eN = () => Mt.useContext(Td), nN = () => Mt.useContext(Od);
26327
26328
  function aN(l) {
26328
- const u = $y();
26329
- return Ei.debug("[createProviders] [idle → registering]"), l?.claude !== !1 && (u.register("claude", new Wy()), Ei.debug("[createProviders] [registering → claude_registered]")), l?.opencode !== !1 && (u.register("opencode", new Py()), Ei.debug("[createProviders] [registering → opencode_registered]")), Ei.info(
26329
+ const u = lS();
26330
+ return Ei.debug("[createProviders] [idle → registering]"), l?.claude !== !1 && (u.register("claude", new nS()), Ei.debug("[createProviders] [registering → claude_registered]")), l?.opencode !== !1 && (u.register("opencode", new aS()), Ei.debug("[createProviders] [registering → opencode_registered]")), Ei.info(
26330
26331
  `[createProviders] [registering → ready] claude=${l?.claude !== !1} opencode=${l?.opencode !== !1}`
26331
26332
  ), u;
26332
26333
  }
@@ -26955,7 +26956,7 @@ async function SN(l) {
26955
26956
  }
26956
26957
  const r = process.stderr.write.bind(process.stderr);
26957
26958
  process.stderr.write = (() => !0);
26958
- const d = tS(E, { interval: u.interval }), p = sN(d, { limit: u.limit });
26959
+ const d = uS(E, { interval: u.interval }), p = sN(d, { limit: u.limit });
26959
26960
  xR(YA.createElement(dN, { stateManager: p, view: u.view })), process.on("exit", () => {
26960
26961
  process.stderr.write = r;
26961
26962
  });
@@ -2,9 +2,9 @@ import u from "node:fs";
2
2
  import S from "node:os";
3
3
  import v from "node:path";
4
4
  import { execSync as P } from "node:child_process";
5
- import { p as d, A as E } from "./index-CiEM-8nJ.js";
6
- import { g as H, s as t, x as D, p as F } from "./shared-Bjy30TeM.js";
7
- import { l as N } from "./services-CaLOhuLV.js";
5
+ import { p as d, A as E } from "./index-Dc44ukmL.js";
6
+ import { g as H, s as t, x as D, p as F } from "./shared-COpFaV-w.js";
7
+ import { l as N } from "./services-Dnk3nB2x.js";
8
8
  class U {
9
9
  /** @purpose Configuration with defaults for mode, prompts, timeout. */
10
10
  init;
@@ -1,4 +1,4 @@
1
- import { p as D, e as o, b as M, a as H, d as B, l as U, f as O, h as k, s as F } from "./shared-Bjy30TeM.js";
1
+ import { p as D, e as o, b as M, a as H, d as B, l as U, f as O, h as k, s as F } from "./shared-COpFaV-w.js";
2
2
  import a from "node:fs";
3
3
  import P from "node:path";
4
4
  function C(e) {
@@ -1,6 +1,6 @@
1
- import { p as $, s as e, a as k } from "./shared-Bjy30TeM.js";
1
+ import { p as $, s as e, a as k } from "./shared-COpFaV-w.js";
2
2
  import I from "node:fs";
3
- import { V as S } from "./services-CaLOhuLV.js";
3
+ import { V as S } from "./services-Dnk3nB2x.js";
4
4
  async function m(r = {}) {
5
5
  const l = r.project, a = r.iid, f = !!r.dryRun, B = r.stdinJsonArray;
6
6
  if (!l)
@@ -1,4 +1,4 @@
1
- import { p as e, r } from "./run-review-command.logic-DpkRoEi8.js";
1
+ import { p as e, r } from "./run-review-command.logic-CwxYeLby.js";
2
2
  const s = e(process.argv), o = await r({
3
3
  mode: "verify",
4
4
  args: s
@@ -1,7 +1,7 @@
1
1
  import { readFileSync as As } from "node:fs";
2
2
  import { fileURLToPath as Wu } from "node:url";
3
3
  import { performance as It } from "node:perf_hooks";
4
- import { l as ze } from "./services-CaLOhuLV.js";
4
+ import { l as ze } from "./services-Dnk3nB2x.js";
5
5
  var $s = "vercel.ai.error", Hu = Symbol.for($s), br, wr, J = class Rs extends (wr = Error, br = Hu, wr) {
6
6
  /**
7
7
  * Creates an AI SDK Error.