sniff-qa 0.7.0 → 0.8.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 (71) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/CHANGELOG.md +98 -0
  3. package/NOTICE +1 -1
  4. package/README.md +109 -380
  5. package/dist/assert-budget-NBF3JYM7.js +9 -0
  6. package/dist/caps-G3ZGJI7B.js +21 -0
  7. package/dist/caps-G3ZGJI7B.js.map +1 -0
  8. package/dist/{chunk-LJYT4MD5.js → chunk-7ZOFYET5.js} +18 -97
  9. package/dist/chunk-7ZOFYET5.js.map +1 -0
  10. package/dist/chunk-EGANHIIE.js +91 -0
  11. package/dist/chunk-EGANHIIE.js.map +1 -0
  12. package/dist/chunk-GV27IOMC.js +106 -0
  13. package/dist/chunk-GV27IOMC.js.map +1 -0
  14. package/dist/chunk-GX36BPK7.js +161 -0
  15. package/dist/chunk-GX36BPK7.js.map +1 -0
  16. package/dist/chunk-NG2IGCAK.js +45 -0
  17. package/dist/chunk-NG2IGCAK.js.map +1 -0
  18. package/dist/cli/index.js +27 -16
  19. package/dist/cli/index.js.map +1 -1
  20. package/dist/crawl-ZXZRF4Q7.js +15 -0
  21. package/dist/crawl-ZXZRF4Q7.js.map +1 -0
  22. package/dist/crawl-command-RDWGHZC4.js +76 -0
  23. package/dist/crawl-command-RDWGHZC4.js.map +1 -0
  24. package/dist/{discover-Q363YJ5X.js → discover-QKGMYPHK.js} +15 -7
  25. package/dist/discover-QKGMYPHK.js.map +1 -0
  26. package/dist/{domain-NNL2PPRK.js → domain-UQ34YE4B.js} +1 -1
  27. package/dist/index.d.ts +15 -0
  28. package/dist/index.js +6 -2
  29. package/dist/index.js.map +1 -1
  30. package/dist/{loader-UG2XADG7.js → loader-Z2DUGG5Z.js} +18 -2
  31. package/dist/loader-Z2DUGG5Z.js.map +1 -0
  32. package/dist/mcp/server.d.ts +20 -1
  33. package/dist/mcp/server.js +37 -28
  34. package/dist/mcp/server.js.map +1 -1
  35. package/dist/{model-2DTSAX7T.js → model-SP6HJN6J.js} +4 -2
  36. package/dist/model-SP6HJN6J.js.map +1 -0
  37. package/dist/{persistence-RHUFBQAY.js → persistence-XLFJ5EY4.js} +6 -2
  38. package/dist/persistence-XLFJ5EY4.js.map +1 -0
  39. package/dist/{quality-run-LLBZZI7X.js → quality-run-YAURB242.js} +6 -5
  40. package/dist/{quality-run-LLBZZI7X.js.map → quality-run-YAURB242.js.map} +1 -1
  41. package/dist/redaction-CHAIVPCF.js +30 -0
  42. package/dist/redaction-CHAIVPCF.js.map +1 -0
  43. package/dist/{repo-analyzer-WK5WP7NT.js → repo-analyzer-4OURSITY.js} +1 -1
  44. package/dist/{report-IKRVVIW4.js → report-7FQFH4HW.js} +3 -3
  45. package/dist/{runner-HFJDHS2I.js → runner-QHSYX7J2.js} +1 -1
  46. package/dist/{runner-II7BPB63.js → runner-RDVVIGBU.js} +7 -2
  47. package/dist/runner-RDVVIGBU.js.map +1 -0
  48. package/dist/{unified-67Z6YA64.js → unified-YSOTPG5B.js} +12 -10
  49. package/dist/{unified-67Z6YA64.js.map → unified-YSOTPG5B.js.map} +1 -1
  50. package/dist/{update-baselines-UCAW3SDN.js → update-baselines-JYKUUIZG.js} +2 -2
  51. package/dist/write-report-6RJWN54I.js +31 -0
  52. package/dist/write-report-6RJWN54I.js.map +1 -0
  53. package/package.json +5 -4
  54. package/skills/sniff/SKILL.md +10 -10
  55. package/skills/sniff-fix/SKILL.md +3 -0
  56. package/skills/sniff-report/SKILL.md +3 -0
  57. package/dist/chunk-LJYT4MD5.js.map +0 -1
  58. package/dist/crawl-666NLYDC.js +0 -11
  59. package/dist/crawl-command-3OB4IUBU.js +0 -54
  60. package/dist/crawl-command-3OB4IUBU.js.map +0 -1
  61. package/dist/discover-Q363YJ5X.js.map +0 -1
  62. package/dist/loader-UG2XADG7.js.map +0 -1
  63. package/dist/model-2DTSAX7T.js.map +0 -1
  64. package/dist/persistence-RHUFBQAY.js.map +0 -1
  65. package/dist/runner-II7BPB63.js.map +0 -1
  66. /package/dist/{crawl-666NLYDC.js.map → assert-budget-NBF3JYM7.js.map} +0 -0
  67. /package/dist/{domain-NNL2PPRK.js.map → domain-UQ34YE4B.js.map} +0 -0
  68. /package/dist/{repo-analyzer-WK5WP7NT.js.map → repo-analyzer-4OURSITY.js.map} +0 -0
  69. /package/dist/{report-IKRVVIW4.js.map → report-7FQFH4HW.js.map} +0 -0
  70. /package/dist/{runner-HFJDHS2I.js.map → runner-QHSYX7J2.js.map} +0 -0
  71. /package/dist/{update-baselines-UCAW3SDN.js.map → update-baselines-JYKUUIZG.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "sniff",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "Autonomous QA scanner via sniff-qa: walks your running app in a real browser and reports real bugs (broken pages/links, console/network errors, broken forms, state-loss, empty/placeholder data, bad loading/error states, responsive + a11y) with reproduction proof, severity, confidence, and a fix. No API key.",
5
5
  "author": {
6
- "name": "Adam Boudj",
6
+ "name": "Adam Boudjemaa",
7
7
  "url": "https://github.com/Aboudjem/sniff"
8
8
  },
9
9
  "homepage": "https://github.com/Aboudjem/sniff",
package/CHANGELOG.md CHANGED
@@ -5,6 +5,104 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [0.8.1] - 2026-09-03
11
+
12
+ A motion identity, and the literal synthwave scenery removed. No behaviour changes.
13
+
14
+ ### Changed
15
+
16
+ - **Every asset is rebuilt around one principle:** the whole mark is drawn once as a muted track,
17
+ and a single bright element travels over it, so no frame of the loop is an incomplete logo and
18
+ the reduced-motion resting frame is the finished mark. This plugin's motion is
19
+ a loupe scanning a field of code, with the line under the lens lit and one flaw flaring.
20
+ - **The scenery is gone.** No sun disc, no horizon line, no perspective grid and no band cuts in
21
+ any tracked SVG. The palette, the soft dual-tone wash, the restrained glow and the mono eyebrows
22
+ stay.
23
+ - **Zero SMIL.** Every animation is now CSS, gradient colour drift included, so the
24
+ `prefers-reduced-motion` guard reaches all of it. Verified by phase offset in a single page load,
25
+ not by two renders at different virtual-time budgets, which gives a false negative.
26
+ - **More vibrant, still readable.** The ground is lifted off near-black and tinted with this
27
+ plugin's own hue, every gradient drifts between two accents, and every text fill was re-measured
28
+ against the ground it actually ships on. Tightest pair in this repo: 4.61:1.
29
+
30
+ ### Added
31
+
32
+ - `.github/assets/logo-mark-animated.svg` and `.github/assets/logo-mark-animated-light.svg`, a 256x256 animated mark on a
33
+ rounded tile, under 6 KB each, with dark and light variants.
34
+ - `logo-mark.png`, `logo-mark-512.png` and `social-preview.png` are now headless-Chrome renders of
35
+ the mark's reduced-motion resting frame, so the raster is reproducible from the vector by one
36
+ command and cannot drift from it.
37
+
38
+ ## [0.8.0] - 2026-09-02
39
+
40
+ Three capability additions (MCP tool gating, authenticated walks, assertion budgets), a Neon Noir
41
+ visual identity, a rewritten README with four refreshed translations, and an installer that
42
+ delegates to the Vercel skills CLI. The scanner's findings and their wording are unchanged.
43
+
44
+ ### Added
45
+
46
+ - **`--caps` for the MCP server.** Five capabilities (`scan`, `walk`, `discover`, `report`,
47
+ `install`) narrow the registered tool set and the unified `sniff` tool's `mode` enum. The default
48
+ grants all five, so an existing config keeps its exact tool list and registration order. Unknown or
49
+ empty lists exit 1 on stderr. Logic lives in `src/mcp/caps.ts`; 14 tests, three of which drive a
50
+ real MCP client over `InMemoryTransport` and assert the actual `tools/list` result.
51
+ - **`--storage-state <path>` for walking a logged-in app.** Threaded through `browserConfigSchema`,
52
+ the CLI flag, both crawl contexts, `BrowserRunner`, and the MCP walk. Cookie values, localStorage
53
+ values, JSON string leaves inside them, indexedDB strings, percent-encoded forms, and
54
+ `Authorization` header values are redacted from progress output, screenshot filenames, the returned
55
+ report, `saveResults`, and `saveReport`. Screenshot pixels are out of scope and stay unredacted.
56
+ 21 tests, including one that plants four tokens across a report and asserts each appears zero times
57
+ in the written HTML and JSON.
58
+ - **An `assert` block in `sniff.config`.** `maxCritical`, `maxHigh`, `maxMedium`, `maxLow`,
59
+ `maxInfo`, and `maxTotal` cap findings by severity. Additive only: it can turn a pass into a
60
+ failure, never the reverse, and an absent block behaves exactly as before. Enforced on the command
61
+ line by the walk, the public `sniff scan`, the browser mode, and discovery. 31 tests.
62
+ - **Neon Noir visual identity.** New `hero-dark.svg` and `hero-light.svg` for the README first
63
+ screen, `logo-mark.png` and `logo-mark-512.png` as a square mark, and a rebuilt 1280x640
64
+ `social-preview.png`. `demo.svg`, `features-dark.svg`, `features-light.svg`, `how-it-works.svg`,
65
+ `logo-dark.svg`, `logo-light.svg`, and `social-preview.svg` were rebuilt in the new palette.
66
+ - **New docs**: `docs/editors.md`, `docs/authenticated-walks.md`, `docs/assert-budgets.md`,
67
+ `docs/comparison.md`, and `docs/faq.md`.
68
+
69
+ ### Changed
70
+
71
+ - **`install.sh` delegates to the Vercel skills CLI** by default
72
+ (`npx --yes skills@1.5.23 add Aboudjem/sniff -a <agent> -y`). All 13 platform ids map to agent
73
+ codes that exist in the live supported-agents table, which also corrects four skills directories
74
+ the hand-maintained table had wrong. The clone-and-symlink path stays reachable as `--legacy` and
75
+ is selected automatically when `npx` is missing. `--update`, `--uninstall`, and `--no-mcp` work on
76
+ both paths.
77
+ - **README rewritten** from 452 lines to 180, to the plugin skeleton: one install block above the
78
+ first heading, one editor table in place of an eight-row matrix and seven per-editor `<details>`
79
+ blocks, and every image path absolute so it renders on npmjs.com. The comparison table, the metrics
80
+ history, and the long FAQ moved to `docs/comparison.md` and `docs/faq.md`.
81
+ - **All four translations** (`READMEs/zh-CN.md`, `ja.md`, `es.md`, `fr.md`) rewritten from the new
82
+ English source.
83
+ - **Plugin manifests** (`.claude-plugin`, `.cursor-plugin`, `.copilot-plugin`), `server.json`,
84
+ `package.json`, and `package-lock.json` all moved to 0.8.0 together. Previously `package.json` and
85
+ `server.json` sat at 0.7.1 while the three manifests read 0.7.0.
86
+ - **`skills/sniff-fix/SKILL.md` and `skills/sniff-report/SKILL.md`** now say in their bodies that
87
+ they are invoked by the `sniff` skill's own flow, that `user-invocable: false` is honored only by
88
+ Claude Code, and that other agents may surface them as standalone commands.
89
+
90
+ ### Removed
91
+
92
+ - `.github/assets/sniff-diagram.svg`. `how-it-works.svg` draws the same five-step flow, and its name
93
+ was dropped from the copy loop in `.github/workflows/deploy-pages.yml`.
94
+ - The Star History block, the three social badges, and the built-on credit list from the README
95
+ footer.
96
+
97
+ ### Fixed
98
+
99
+ - `READMEs/fr.md`: the French translation carried injected placeholder text and a corrupted install
100
+ command from an earlier machine-translation pass. All four translations are now generated from the
101
+ current English README, with code blocks, asset URLs, and commands verbatim.
102
+ - Em-dashes removed from `package.json`, `src/mcp/server.ts`, `src/mcp/handlers.ts`,
103
+ `src/cli/index.ts`, `src/cli/commands/crawl-command.ts`, `src/cli/commands/discover.ts`, and
104
+ `src/report/model.ts`.
105
+
8
106
  ## [0.7.0] - 2026-05-29
9
107
 
10
108
  Portability and discoverability layer: a multi-CLI installer, auto-discovery manifests, a GitHub Pages demo, and localized READMEs, on top of the earlier documentation polish. No change to the scanner engine or its findings.
package/NOTICE CHANGED
@@ -5,7 +5,7 @@ This product includes software developed by Adam Boudj.
5
5
 
6
6
  If you use Sniff in your project, a mention or attribution is appreciated:
7
7
  - In your README, docs, or project credits
8
- - "QA powered by Sniff (https://github.com/adamboudj/sniff)"
8
+ - "QA powered by Sniff (https://github.com/Aboudjem/sniff)"
9
9
 
10
10
  Third-party licenses:
11
11
  - Playwright (Apache-2.0) - https://playwright.dev