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
@@ -3,7 +3,7 @@ import u, { mkdirSync as F, readFileSync as $, existsSync as M } from "node:fs";
3
3
  import m, { resolve as d, dirname as G, join as P } from "node:path";
4
4
  import { platform as b, homedir as k } from "node:os";
5
5
  import { fileURLToPath as T } from "node:url";
6
- import { l as w } from "./services-CaLOhuLV.js";
6
+ import { l as w } from "./services-Dnk3nB2x.js";
7
7
  const I = 864e5, W = 3e3, U = "update-check-worker.ts", H = "update-check-cache.json";
8
8
  function V(r) {
9
9
  return b() === "win32" ? d(process.env.LOCALAPPDATA ?? d(k(), "AppData", "Local"), "gennady") : b() === "darwin" ? d(k(), "Library", "Caches", "gennady") : d(k(), ".cache", "gennady");
package/dist/gennady.js CHANGED
@@ -1,47 +1,47 @@
1
1
  #!/usr/bin/env node
2
- import { c as e } from "./chunks/shared-Bjy30TeM.js";
2
+ import { c as e } from "./chunks/shared-COpFaV-w.js";
3
3
  import "node:fs";
4
4
  import "node:path";
5
5
  import "node:url";
6
- const i = "0.7.0", t = /* @__PURE__ */ new Set(["help", "--help", "-h"]), a = process.argv[2];
6
+ const i = "0.7.1", t = /* @__PURE__ */ new Set(["help", "--help", "-h"]), a = process.argv[2];
7
7
  (!a || t.has(a)) && (await import("./chunks/help.cmd-B_G7EWzF.js"), process.exit(0));
8
8
  e({ name: "gennady", version: i });
9
9
  switch (a) {
10
10
  case "cat":
11
- await import("./chunks/index-zBnnuvLA.js");
11
+ await import("./chunks/index-DeYzAoxF.js");
12
12
  break;
13
13
  case "review":
14
- await import("./chunks/index-CaahtXiM.js");
14
+ await import("./chunks/index-BCqnKvNZ.js");
15
15
  break;
16
16
  case "vcs-reply":
17
- await import("./chunks/index-g1LXlp77.js");
17
+ await import("./chunks/index-BzBhCTHq.js");
18
18
  break;
19
19
  case "review-verify":
20
- await import("./chunks/index-DU6jD7SS.js");
20
+ await import("./chunks/index-CAWs-GED.js");
21
21
  break;
22
22
  case "review-issues":
23
- await import("./chunks/index-BeL1Zcbg.js");
23
+ await import("./chunks/index-BLsDffzZ.js");
24
24
  break;
25
25
  case "resolve-conflicts":
26
- await import("./chunks/index-UbHoePfr.js");
26
+ await import("./chunks/index-BsD-J44e.js");
27
27
  break;
28
28
  case "commit":
29
- await import("./chunks/index-D1qsi0Uc.js");
29
+ await import("./chunks/index-BrSutH7l.js");
30
30
  break;
31
31
  case "remote-console":
32
- await import("./chunks/index-D9ceRUyB.js");
32
+ await import("./chunks/index-O5kqC9i_.js");
33
33
  break;
34
34
  case "lint":
35
- await import("./chunks/index-KxSZKmZn.js");
35
+ await import("./chunks/index-TX0TmKeu.js");
36
36
  break;
37
37
  case "alt-opinion":
38
- await import("./chunks/index-CXuhZzS3.js");
38
+ await import("./chunks/index-CFd_iufb.js");
39
39
  break;
40
40
  case "agent-mon":
41
- await import("./chunks/index-CVR66voe.js");
41
+ await import("./chunks/index-Bq4d25CK.js");
42
42
  break;
43
43
  case "sync":
44
- await import("./chunks/index-DJpVmyp2.js");
44
+ await import("./chunks/index-Db09OODV.js");
45
45
  break;
46
46
  default:
47
47
  await import("./chunks/help.cmd-B_G7EWzF.js"), process.exit(0);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { u, r as m } from "./chunks/shared-Bjy30TeM.js";
2
- import { G as y, i as d, j as A, k as R, m as f } from "./chunks/shared-Bjy30TeM.js";
3
- import { R as C, h as O, r as T, i as L, c as $ } from "./chunks/services-CaLOhuLV.js";
1
+ import { u, r as m } from "./chunks/shared-COpFaV-w.js";
2
+ import { G as y, i as d, j as A, k as f, m as R } from "./chunks/shared-COpFaV-w.js";
3
+ import { R as C, f as O, r as T, g as L, c as $ } from "./chunks/services-Dnk3nB2x.js";
4
4
  class h {
5
5
  /**
6
6
  * @purpose Create an instance with default settings (Ollama local).
@@ -175,10 +175,10 @@ export {
175
175
  O as connectRemoteConsoleClient,
176
176
  d as getProgrammingLanguage,
177
177
  A as getSysLang,
178
- R as parseGitDiff,
178
+ f as parseGitDiff,
179
179
  T as remoteConsoleClient,
180
180
  L as serializeRemoteConsoleArg,
181
181
  $ as startRemoteConsoleServer,
182
- f as unguard,
182
+ R as unguard,
183
183
  u as unguardOrThrow
184
184
  };
@@ -1,4 +1,4 @@
1
- import Parser from 'tree-sitter';
1
+ import type { default as Parser } from 'tree-sitter';
2
2
  import type { SyntaxNode } from 'tree-sitter';
3
3
  import type { DbcAstAdapter, DbcExportedEntity, DbcMember, DbcParamInfo, DbcParseResult, DbcSignatureInfo } from '../../dbc-ast-adapter.types.js';
4
4
  /** @purpose In-memory representation of JSDoc contract info before attaching to entities. */
@@ -26,9 +26,10 @@ export declare class DbcTsAstAdapter implements DbcAstAdapter {
26
26
  parseFile(filePath: string, content?: string): Promise<DbcParseResult>;
27
27
  /**
28
28
  * @purpose Lazy-initializes the tree-sitter Parser with the TypeScript grammar.
29
+ * Uses dynamic import so tree-sitter is only loaded when the adapter is actually used.
29
30
  * @returns Configured Parser instance.
30
31
  */
31
- protected _initializeParser(): Parser;
32
+ protected _initializeParser(): Promise<Parser>;
32
33
  /**
33
34
  * @purpose Walks the root AST node and extracts all exported entities,
34
35
  * skipping re-exports.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gennady",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "author": "Konstantin Lebedev <ibnrubaxa@gmail.com>",
5
5
  "description": "Gennady — General Extensible Neural Network Adaptive Data Yntelligence",
6
6
  "keywords": [