@rigour-labs/core 5.1.0 → 5.1.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.
package/dist/gates/runner.js
CHANGED
|
@@ -219,7 +219,7 @@ export class GateRunner {
|
|
|
219
219
|
enabled: true,
|
|
220
220
|
tier: deepTier,
|
|
221
221
|
model: isLocalDeepExecution
|
|
222
|
-
? (deepOptions.pro ? 'Qwen2.5-Coder-1.5B' : '
|
|
222
|
+
? (deepOptions.pro ? 'Qwen2.5-Coder-1.5B' : 'Qwen2.5-Coder-0.5B')
|
|
223
223
|
: (deepOptions.modelName || deepOptions.provider || 'cloud'),
|
|
224
224
|
total_ms: Date.now() - deepSetupStart,
|
|
225
225
|
findings_count: deepFailures.length,
|
|
@@ -35,7 +35,7 @@ describe('GateRunner deep stats execution mode', () => {
|
|
|
35
35
|
pro: false,
|
|
36
36
|
});
|
|
37
37
|
expect(report.stats.deep?.tier).toBe('lite');
|
|
38
|
-
expect(report.stats.deep?.model).toBe('
|
|
38
|
+
expect(report.stats.deep?.model).toBe('Qwen2.5-Coder-0.5B');
|
|
39
39
|
});
|
|
40
40
|
it('reports local deep tier when provider=local and pro=true', async () => {
|
|
41
41
|
vi.spyOn(DeepAnalysisGate.prototype, 'run').mockResolvedValue([]);
|
package/dist/inference/index.js
CHANGED
|
@@ -19,7 +19,7 @@ export function createProvider(options) {
|
|
|
19
19
|
}
|
|
20
20
|
// Default: local sidecar
|
|
21
21
|
// deep = Qwen2.5-Coder-1.5B (full power, company-hosted)
|
|
22
|
-
// lite =
|
|
22
|
+
// lite = Qwen2.5-Coder-0.5B (lightweight, default CLI sidecar)
|
|
23
23
|
const tier = options.pro ? 'deep' : 'lite';
|
|
24
24
|
return new SidecarProvider(tier);
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigour-labs/core",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "Deterministic quality gate engine for AI-generated code. AST analysis, drift detection, and Fix Packet generation across TypeScript, JavaScript, Python, Go, Ruby, and C#.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rigour.run",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"@xenova/transformers": "^2.17.2",
|
|
60
60
|
"sqlite3": "^5.1.7",
|
|
61
61
|
"openai": "^4.104.0",
|
|
62
|
-
"@rigour-labs/brain-darwin-arm64": "5.1.
|
|
63
|
-
"@rigour-labs/brain-darwin-x64": "5.1.
|
|
64
|
-
"@rigour-labs/brain-
|
|
65
|
-
"@rigour-labs/brain-
|
|
66
|
-
"@rigour-labs/brain-linux-x64": "5.1.
|
|
62
|
+
"@rigour-labs/brain-darwin-arm64": "5.1.1",
|
|
63
|
+
"@rigour-labs/brain-darwin-x64": "5.1.1",
|
|
64
|
+
"@rigour-labs/brain-linux-arm64": "5.1.1",
|
|
65
|
+
"@rigour-labs/brain-win-x64": "5.1.1",
|
|
66
|
+
"@rigour-labs/brain-linux-x64": "5.1.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/fs-extra": "^11.0.4",
|