lv24-vigil 0.4.1 → 0.5.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 (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -63,6 +63,21 @@ vigil fix VGL-XXXXXXXXXX --apply # validated diff, never commits
63
63
 
64
64
  Exit codes: `0` clean, `1` error, `2` findings at or above `--fail-on`.
65
65
 
66
+ ## Before commit / before deploy
67
+
68
+ ```bash
69
+ vigil hook install # local pre-commit gate
70
+ vigil hook install --mode pre-push # or before push
71
+ vigil scan . --no-llm --fail-on high # manual gate, no key, no network
72
+ ```
73
+
74
+ The hook runs a deterministic changed-files scan and is marked
75
+ `# managed by lv24-vigil`; `--force` backs up a foreign hook instead of
76
+ clobbering it. GitHub Actions, GitLab CI, SARIF and the optional pre-check are
77
+ documented in
78
+ [Before commit / before deploy](https://github.com/LevapVeeskela/lv24-vigil#before-commit--before-deploy)
79
+ and [docs/ci.md](https://github.com/LevapVeeskela/lv24-vigil/blob/main/docs/ci.md).
80
+
66
81
  ## MCP server
67
82
 
68
83
  Claude Code, Claude Desktop and Cursor (`mcpServers` shape):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lv24-vigil",
3
- "version": "0.4.1",
3
+ "version": "0.5.1",
4
4
  "description": "Vigil — security audit for your code on your own model: 163 deterministic rules, LLM triage, fixes and an MCP server",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,12 +31,12 @@
31
31
  "bin"
32
32
  ],
33
33
  "optionalDependencies": {
34
- "@lv24/vigil-win32-x64": "0.4.1",
35
- "@lv24/vigil-win32-arm64": "0.4.1",
36
- "@lv24/vigil-darwin-x64": "0.4.1",
37
- "@lv24/vigil-darwin-arm64": "0.4.1",
38
- "@lv24/vigil-linux-x64": "0.4.1",
39
- "@lv24/vigil-linux-arm64": "0.4.1"
34
+ "@lv24/vigil-win32-x64": "0.5.1",
35
+ "@lv24/vigil-win32-arm64": "0.5.1",
36
+ "@lv24/vigil-darwin-x64": "0.5.1",
37
+ "@lv24/vigil-darwin-arm64": "0.5.1",
38
+ "@lv24/vigil-linux-x64": "0.5.1",
39
+ "@lv24/vigil-linux-arm64": "0.5.1"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"