vigiles 8.0.0 → 9.1.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/README.md +152 -186
- package/dist/adoptability.d.ts +55 -0
- package/dist/adoptability.js +196 -0
- package/dist/audit-html.d.ts +20 -0
- package/dist/audit-html.js +61 -0
- package/dist/audit-prompts.d.ts +46 -0
- package/dist/audit-prompts.js +90 -0
- package/dist/audit-report.d.ts +107 -0
- package/dist/audit-report.js +72 -0
- package/dist/audit-report.template.html +125 -0
- package/dist/audit-score.d.ts +64 -0
- package/dist/audit-score.js +224 -0
- package/dist/cli-commands.d.ts +1 -1
- package/dist/cli-commands.js +1 -1
- package/dist/cli.js +476 -116
- package/dist/core/adopt.d.ts +28 -0
- package/dist/core/adopt.js +203 -0
- package/dist/core/inline.js +11 -1
- package/dist/core/types.d.ts +12 -0
- package/dist/dialect-drift.js +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/eval.js +1 -1
- package/dist/leaderboard.d.ts +32 -0
- package/dist/leaderboard.js +92 -44
- package/dist/optimize.d.ts +12 -5
- package/dist/optimize.js +27 -5
- package/dist/scan-behavioral.d.ts +8 -2
- package/dist/scan-behavioral.js +6 -4
- package/dist/scan-trigger-suggest.d.ts +68 -31
- package/dist/scan-trigger-suggest.js +66 -33
- package/dist/scan.d.ts +36 -11
- package/dist/scan.js +73 -15
- package/dist/score-explainer.d.ts +1 -1
- package/package.json +4 -2
- package/skills/test-harness/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vigiles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Lint & test the harness your AI agent runs on — verify the references in your CLAUDE.md / AGENTS.md and test that your hooks and skills actually work.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"dist/**/*.mjs",
|
|
56
56
|
"dist/**/*.d.ts",
|
|
57
57
|
"dist/**/*.d.mts",
|
|
58
|
+
"dist/audit-report.template.html",
|
|
58
59
|
"!dist/**/*.test.js",
|
|
59
60
|
"!dist/**/*.test.d.ts",
|
|
60
61
|
"action.yml",
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
"LICENSE"
|
|
67
68
|
],
|
|
68
69
|
"scripts": {
|
|
69
|
-
"build": "tsc",
|
|
70
|
+
"build": "tsc && node scripts/build-report.mjs",
|
|
71
|
+
"build:core": "tsc",
|
|
70
72
|
"test": "npm run build && vitest run",
|
|
71
73
|
"coverage": "npm run build && vitest run --coverage",
|
|
72
74
|
"lint": "eslint src/",
|
|
@@ -39,7 +39,7 @@ surface sorts into one of three buckets:
|
|
|
39
39
|
|
|
40
40
|
- **A — Free & deterministic** (no model, runs in CI on every commit): a hook's
|
|
41
41
|
block/allow decision (`runHook`), a tool-contract / "did NOT call the forbidden
|
|
42
|
-
tool" check, structural facts (`vigiles
|
|
42
|
+
tool" check, structural facts (`vigiles audit`), and **record-replay** of any tool
|
|
43
43
|
a skill shells out to (record the real result once, replay it via a PATH stub).
|
|
44
44
|
- **B — Model-gated, on your subscription** (real model, **no metered API**): does a
|
|
45
45
|
skill's description **fire** (`measureTriggerRate`, recall + precision) **and**
|