vigiles 5.0.0 → 5.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.
Files changed (38) hide show
  1. package/README.md +82 -116
  2. package/dist/adapters/claude-code/agent-runtime.d.ts +10 -0
  3. package/dist/adapters/claude-code/agent-runtime.js +15 -29
  4. package/dist/adapters/claude-code/dialect.js +18 -2
  5. package/dist/adapters/codex/eval.d.ts +94 -0
  6. package/dist/adapters/codex/eval.js +227 -0
  7. package/dist/cli.js +464 -8
  8. package/dist/codex.d.ts +1 -0
  9. package/dist/codex.js +3 -0
  10. package/dist/core/compile.js +8 -36
  11. package/dist/core/description-overlap.d.ts +27 -0
  12. package/dist/core/description-overlap.js +53 -0
  13. package/dist/core/dialect.d.ts +8 -0
  14. package/dist/core/frontmatter-read.d.ts +25 -0
  15. package/dist/core/frontmatter-read.js +138 -0
  16. package/dist/core/hook-events.d.ts +34 -0
  17. package/dist/core/hook-events.js +48 -0
  18. package/dist/core/mcp-config.d.ts +20 -0
  19. package/dist/core/mcp-config.js +40 -0
  20. package/dist/core/mcp-hook.d.ts +35 -0
  21. package/dist/core/mcp-hook.js +70 -0
  22. package/dist/core/mcp-tool.d.ts +50 -0
  23. package/dist/core/mcp-tool.js +61 -0
  24. package/dist/core/tool-contract.d.ts +68 -0
  25. package/dist/core/tool-contract.js +113 -0
  26. package/dist/core/types.d.ts +89 -0
  27. package/dist/core/validate.js +22 -0
  28. package/dist/eval.d.ts +69 -13
  29. package/dist/eval.js +106 -51
  30. package/dist/leaderboard.js +61 -3
  31. package/dist/plugin-loader.d.ts +1 -0
  32. package/dist/plugin-loader.js +71 -18
  33. package/dist/scan-behavioral.d.ts +73 -0
  34. package/dist/scan-behavioral.js +150 -0
  35. package/dist/scan.d.ts +126 -1
  36. package/dist/scan.js +559 -40
  37. package/package.json +27 -4
  38. package/skills/migrate-to-spec/SKILL.md +0 -2
package/package.json CHANGED
@@ -1,7 +1,32 @@
1
1
  {
2
2
  "name": "vigiles",
3
- "version": "5.0.0",
4
- "description": "Compile .spec.ts files to instruction files (CLAUDE.md, AGENTS.md) with linter cross-referencing",
3
+ "version": "5.1.0",
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
+ "keywords": [
6
+ "claude-code",
7
+ "codex",
8
+ "agents",
9
+ "agentic",
10
+ "ai",
11
+ "llm",
12
+ "harness",
13
+ "hooks",
14
+ "skills",
15
+ "claude",
16
+ "agents-md",
17
+ "eval",
18
+ "testing",
19
+ "linter"
20
+ ],
21
+ "homepage": "https://github.com/zernie/vigiles#readme",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/zernie/vigiles.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/zernie/vigiles/issues"
28
+ },
29
+ "license": "MIT",
5
30
  "bin": {
6
31
  "vigiles": "dist/cli.js"
7
32
  },
@@ -46,7 +71,6 @@
46
71
  "lint": "eslint src/",
47
72
  "fmt": "prettier --write .",
48
73
  "fmt:check": "prettier --check .",
49
- "demo": "npm run build && bash examples/demo/run.sh",
50
74
  "test:unit": "npm run build && vitest run --project unit",
51
75
  "test:integration": "npm run build && vitest run --project integration",
52
76
  "test:e2e": "npm run build && vitest run --project e2e",
@@ -56,7 +80,6 @@
56
80
  "test:vitest": "npm run build && vitest run --project runners",
57
81
  "test:jest": "npm run build && jest",
58
82
  "test:types": "npm run build && tsc --noEmit -p test/types/tsconfig.json",
59
- "demo:plugin": "npm run build && node examples/plugin-test-demo.mjs",
60
83
  "api:report": "npm run build && node scripts/api-extractor.mjs --local",
61
84
  "api:check": "npm run build && node scripts/api-extractor.mjs",
62
85
  "docs:api": "npm run api:report && api-documenter markdown -i temp -o api-reference"
@@ -46,8 +46,6 @@ import {
46
46
  claude,
47
47
  enforce,
48
48
  guidance,
49
- check,
50
- every,
51
49
  file,
52
50
  cmd,
53
51
  ref,