sniff-qa 0.7.0 → 0.8.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 (71) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/CHANGELOG.md +70 -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.0",
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,76 @@ 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.0] - 2026-09-02
11
+
12
+ Three capability additions (MCP tool gating, authenticated walks, assertion budgets), a Neon Noir
13
+ visual identity, a rewritten README with four refreshed translations, and an installer that
14
+ delegates to the Vercel skills CLI. The scanner's findings and their wording are unchanged.
15
+
16
+ ### Added
17
+
18
+ - **`--caps` for the MCP server.** Five capabilities (`scan`, `walk`, `discover`, `report`,
19
+ `install`) narrow the registered tool set and the unified `sniff` tool's `mode` enum. The default
20
+ grants all five, so an existing config keeps its exact tool list and registration order. Unknown or
21
+ empty lists exit 1 on stderr. Logic lives in `src/mcp/caps.ts`; 14 tests, three of which drive a
22
+ real MCP client over `InMemoryTransport` and assert the actual `tools/list` result.
23
+ - **`--storage-state <path>` for walking a logged-in app.** Threaded through `browserConfigSchema`,
24
+ the CLI flag, both crawl contexts, `BrowserRunner`, and the MCP walk. Cookie values, localStorage
25
+ values, JSON string leaves inside them, indexedDB strings, percent-encoded forms, and
26
+ `Authorization` header values are redacted from progress output, screenshot filenames, the returned
27
+ report, `saveResults`, and `saveReport`. Screenshot pixels are out of scope and stay unredacted.
28
+ 21 tests, including one that plants four tokens across a report and asserts each appears zero times
29
+ in the written HTML and JSON.
30
+ - **An `assert` block in `sniff.config`.** `maxCritical`, `maxHigh`, `maxMedium`, `maxLow`,
31
+ `maxInfo`, and `maxTotal` cap findings by severity. Additive only: it can turn a pass into a
32
+ failure, never the reverse, and an absent block behaves exactly as before. Enforced on the command
33
+ line by the walk, the public `sniff scan`, the browser mode, and discovery. 31 tests.
34
+ - **Neon Noir visual identity.** New `hero-dark.svg` and `hero-light.svg` for the README first
35
+ screen, `logo-mark.png` and `logo-mark-512.png` as a square mark, and a rebuilt 1280x640
36
+ `social-preview.png`. `demo.svg`, `features-dark.svg`, `features-light.svg`, `how-it-works.svg`,
37
+ `logo-dark.svg`, `logo-light.svg`, and `social-preview.svg` were rebuilt in the new palette.
38
+ - **New docs**: `docs/editors.md`, `docs/authenticated-walks.md`, `docs/assert-budgets.md`,
39
+ `docs/comparison.md`, and `docs/faq.md`.
40
+
41
+ ### Changed
42
+
43
+ - **`install.sh` delegates to the Vercel skills CLI** by default
44
+ (`npx --yes skills@1.5.23 add Aboudjem/sniff -a <agent> -y`). All 13 platform ids map to agent
45
+ codes that exist in the live supported-agents table, which also corrects four skills directories
46
+ the hand-maintained table had wrong. The clone-and-symlink path stays reachable as `--legacy` and
47
+ is selected automatically when `npx` is missing. `--update`, `--uninstall`, and `--no-mcp` work on
48
+ both paths.
49
+ - **README rewritten** from 452 lines to 180, to the plugin skeleton: one install block above the
50
+ first heading, one editor table in place of an eight-row matrix and seven per-editor `<details>`
51
+ blocks, and every image path absolute so it renders on npmjs.com. The comparison table, the metrics
52
+ history, and the long FAQ moved to `docs/comparison.md` and `docs/faq.md`.
53
+ - **All four translations** (`READMEs/zh-CN.md`, `ja.md`, `es.md`, `fr.md`) rewritten from the new
54
+ English source.
55
+ - **Plugin manifests** (`.claude-plugin`, `.cursor-plugin`, `.copilot-plugin`), `server.json`,
56
+ `package.json`, and `package-lock.json` all moved to 0.8.0 together. Previously `package.json` and
57
+ `server.json` sat at 0.7.1 while the three manifests read 0.7.0.
58
+ - **`skills/sniff-fix/SKILL.md` and `skills/sniff-report/SKILL.md`** now say in their bodies that
59
+ they are invoked by the `sniff` skill's own flow, that `user-invocable: false` is honored only by
60
+ Claude Code, and that other agents may surface them as standalone commands.
61
+
62
+ ### Removed
63
+
64
+ - `.github/assets/sniff-diagram.svg`. `how-it-works.svg` draws the same five-step flow, and its name
65
+ was dropped from the copy loop in `.github/workflows/deploy-pages.yml`.
66
+ - The Star History block, the three social badges, and the built-on credit list from the README
67
+ footer.
68
+
69
+ ### Fixed
70
+
71
+ - `READMEs/fr.md`: the French translation carried injected placeholder text and a corrupted install
72
+ command from an earlier machine-translation pass. All four translations are now generated from the
73
+ current English README, with code blocks, asset URLs, and commands verbatim.
74
+ - Em-dashes removed from `package.json`, `src/mcp/server.ts`, `src/mcp/handlers.ts`,
75
+ `src/cli/index.ts`, `src/cli/commands/crawl-command.ts`, `src/cli/commands/discover.ts`, and
76
+ `src/report/model.ts`.
77
+
8
78
  ## [0.7.0] - 2026-05-29
9
79
 
10
80
  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