ghagga-core 3.5.0 → 3.6.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.
Files changed (2) hide show
  1. package/README.md +11 -11
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -17,28 +17,28 @@ import { reviewPipeline, DEFAULT_SETTINGS } from '@ghagga/core';
17
17
 
18
18
  const result = await reviewPipeline({
19
19
  diff: '...unified diff string...',
20
- mode: 'simple', // simple | workflow | consensus | diagnostic | fan-out | hybrid-4r
21
- provider: 'gateway', // gateway | cli-bridge | ollama
20
+ mode: 'simple', // simple | workflow | consensus | diagnostic | fan-out | hybrid-4r
21
+ provider: 'gateway', // gateway | cli-bridge | ollama
22
22
  model: 'auto',
23
23
  apiKey: process.env.GHAGGA_API_KEY!,
24
24
  settings: DEFAULT_SETTINGS,
25
25
  });
26
26
 
27
- console.log(result.status); // 'PASSED' | 'FAILED' | 'NEEDS_HUMAN_REVIEW'
27
+ console.log(result.status); // 'PASSED' | 'FAILED' | 'NEEDS_HUMAN_REVIEW'
28
28
  console.log(result.summary);
29
29
  console.log(result.findings);
30
30
  ```
31
31
 
32
32
  ## Review Modes
33
33
 
34
- | Mode | LLM Calls | Best For |
35
- |------|-----------|----------|
36
- | **simple** | 1 | Small PRs, quick feedback |
37
- | **workflow** | 6 | Thorough review with 5 specialist agents + synthesis |
38
- | **consensus** | 3 | Three stances plus an algorithmic vote. A split vote is `INCONCLUSIVE` |
39
- | **diagnostic** | varies | Ranked hypotheses with verification steps |
40
- | **fan-out** | ~5 | Parallel lenses, merged by severity |
41
- | **hybrid-4r** | ~5 | Fan-out with `pinLensesToFirst` forced on |
34
+ | Mode | LLM Calls | Best For |
35
+ | -------------- | --------- | ---------------------------------------------------------------------- |
36
+ | **simple** | 1 | Small PRs, quick feedback |
37
+ | **workflow** | 6 | Thorough review with 5 specialist agents + synthesis |
38
+ | **consensus** | 3 | Three stances plus an algorithmic vote. A split vote is `INCONCLUSIVE` |
39
+ | **diagnostic** | varies | Ranked hypotheses with verification steps |
40
+ | **fan-out** | ~5 | Parallel lenses, merged by severity |
41
+ | **hybrid-4r** | ~5 | Fan-out with `pinLensesToFirst` forced on |
42
42
 
43
43
  ## Providers
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghagga-core",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Core review engine for GHAGGA — AI-powered multi-agent code reviewer",
@@ -40,23 +40,23 @@
40
40
  "README.md"
41
41
  ],
42
42
  "dependencies": {
43
- "@ai-sdk/openai": "^4.0.75",
44
- "@ai-sdk/openai-compatible": "^3.0.55",
45
- "@bufbuild/protobuf": "^2.15.0",
46
- "@cursorless/tree-sitter-wasms": "^0.10.0",
43
+ "@ai-sdk/openai": "^4.0.99",
44
+ "@ai-sdk/openai-compatible": "^3.0.75",
45
+ "@bufbuild/protobuf": "^2.16.0",
46
+ "@cursorless/tree-sitter-wasms": "^0.12.0",
47
47
  "@scip-code/scip": "^0.10.0",
48
- "ai": "^7.0.114",
48
+ "ai": "^7.0.148",
49
49
  "fts5-sql-bundle": "^1.0.2",
50
50
  "minimatch": "^10.2.6",
51
- "web-tree-sitter": "^0.27.0",
52
- "zod": "^4.6.2"
51
+ "web-tree-sitter": "^0.27.1",
52
+ "zod": "^4.6.7"
53
53
  },
54
54
  "devDependencies": {
55
- "@stryker-mutator/core": "^10.0.0",
56
- "@stryker-mutator/vitest-runner": "^10.0.0",
55
+ "@stryker-mutator/core": "^10.1.1",
56
+ "@stryker-mutator/vitest-runner": "^10.1.1",
57
57
  "@types/node": "^26.6.1",
58
58
  "typescript": "^7.0.2",
59
- "vitest": "^5.0.1"
59
+ "vitest": "^5.0.5"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsc && node scripts/copy-assets.mjs",