@nugehs/gate 0.1.1 → 0.2.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.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/adapters/aiglare.js +11 -0
- package/src/adapters/tieline.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@nugehs/gate` are documented here.
|
|
4
4
|
|
|
5
|
+
## [0.2.0] - 2026-06-14
|
|
6
|
+
|
|
7
|
+
- Findings now carry `file` and `line` where the underlying tool provides a
|
|
8
|
+
location (aiglare surfaces, tieline drift), so editor clients can place
|
|
9
|
+
diagnostics on the exact line. bouncer (missing-control absences) and repoctx
|
|
10
|
+
(repo-level checks) remain location-free by nature.
|
|
11
|
+
- Ships the VS Code / Cursor extension (`clients/vscode`) — unified verdict in
|
|
12
|
+
the status bar, an Explorer panel, and inline squiggles from the above.
|
|
13
|
+
|
|
5
14
|
## [0.1.1] - 2026-06-13
|
|
6
15
|
|
|
7
16
|
Release-automation validation; no changes to the published CLI/library.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nugehs/gate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"mcpName": "io.github.nugehs/gate",
|
|
5
5
|
"description": "gate — one ship/no-ship verdict from aiglare, bouncer, tieline & repoctx. The unified merge gate for the nugehs toolchain: run four deterministic checks, get one normalized verdict.",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"url": "https://github.com/nugehs/gate",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.2.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
14
|
"identifier": "@nugehs/gate",
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.2.0",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
package/src/adapters/aiglare.js
CHANGED
|
@@ -11,6 +11,15 @@ import { STATUS } from '../verdict.js';
|
|
|
11
11
|
|
|
12
12
|
const isBlocking = (s) => s.severity === 'red' && s.sink === 'side-effectful';
|
|
13
13
|
|
|
14
|
+
// aiglare puts line numbers in evidence strings like "file.ts:13 a.create()".
|
|
15
|
+
function firstEvidenceLine(evidence) {
|
|
16
|
+
for (const e of evidence ?? []) {
|
|
17
|
+
const m = /:(\d+)\b/.exec(e);
|
|
18
|
+
if (m) return Number(m[1]);
|
|
19
|
+
}
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
|
|
14
23
|
export default {
|
|
15
24
|
tool: 'aiglare',
|
|
16
25
|
pkg: '@nugehs/aiglare',
|
|
@@ -60,6 +69,8 @@ export default {
|
|
|
60
69
|
severity: 'red',
|
|
61
70
|
title: x.file,
|
|
62
71
|
sink: x.sink,
|
|
72
|
+
file: x.file, // relative to repo root
|
|
73
|
+
line: firstEvidenceLine(x.evidence),
|
|
63
74
|
})),
|
|
64
75
|
};
|
|
65
76
|
},
|
package/src/adapters/tieline.js
CHANGED