kwikqa 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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  What's new in each release of the KwikQA CLI.
4
4
 
5
+ ## 0.8.1 — 2026-11-17
6
+
7
+ ### Changed
8
+
9
+ - KwikQA supports every release of the Node.js 22, 24, and 26 long-term support lines, and later versions (`^22.0.0 || ^24.0.0 || >=26.0.0`). 0.8.0 asked for each line's November 2026 security release, so a Node.js one patch behind, like the one GitHub's Ubuntu runners had that day, got npm's `EBADENGINE` warning, and npm's `engine-strict` setting refused to install KwikQA on it. CI now tests the first and the latest release of each line. Keeping Node.js up to date with its security releases is still recommended.
10
+
11
+ ## 0.8.0 — 2026-11-17
12
+
13
+ ### Added
14
+
15
+ - In CI, each request that says which repository the job runs for also carries the job's signed identity token, when the CI system gives one: on GitHub Actions with `permissions: id-token: write`, and on GitLab with `id_tokens: { KWIKQA_ID_TOKEN: { aud: "https://kwikqa.com" } }`. The KwikQA service verifies it, so it can trust the repository and the person who triggered a pull request's run. The token is asked for again before it expires, and isn't stored. Without one, requests go as before.
16
+
17
+ ### Changed
18
+
19
+ - Redaction also recognizes credentials by their shape, under any name: JWTs, `Bearer` and `Basic` credentials, AWS access keys, GitHub, GitLab, Slack, npm, Stripe, and Google keys, OpenAI, Anthropic, and OpenRouter keys, KwikQA's own tokens, private keys, Slack and Teams webhook URLs, and passwords in connection strings. It applies to every part of the evidence packet, including header values, URLs, and page elements, and to validation output. Values assigned to more names are masked too, such as `API_KEY`, `access_key`, `private_key`, and `session_id`. The preview counts each kind it masked.
20
+ - KwikQA supports the Node.js long-term support releases: 22 (22.23.5 or later), 24 (24.22.3 or later), and 26 (26.13.1 or later), and CI tests each. It supported 20.11 or later before. Node.js 20 reached its end of life in April 2026, and each line's minimum is its November 2026 security release. On another version, npm warns that the engine is unsupported (`EBADENGINE`); KwikQA still runs there, but isn't tested on it.
21
+
5
22
  ## 0.7.0 — 2026-11-16
6
23
 
7
24
  ### Changed
package/README.md CHANGED
@@ -40,7 +40,7 @@ Using pnpm, Yarn, or Bun? See [Package managers and monorepos](#package-managers
40
40
 
41
41
  ## Requirements
42
42
 
43
- - Node.js 20.11 or later
43
+ - Node.js 22, 24, 26, or later: any release of the long-term support lines, each tested in CI at its first and latest release
44
44
  - Playwright Test, Cypress, or WebdriverIO (Mocha or Jasmine) installed in your project with npm,
45
45
  pnpm, Yarn, or Bun. KwikQA runs your project's own copy and never installs packages or browsers.
46
46
  - A git repository
@@ -345,8 +345,11 @@ only. It contains selected report fields, trace events or the Cypress and Webdri
345
345
  the elements around each failed locator, the accessibility snapshot of the page at the failure,
346
346
  short source excerpts, and recent code changes that mention the failure. Secrets,
347
347
  credentials, password fields, and sensitive fields are removed from that packet before you see the
348
- preview. Redaction recognizes credentials, not every kind of personal data: names or email
349
- addresses in your test data can still appear in page text, so test with data you may share.
348
+ preview: values assigned to names such as `password`, `token`, or `API_KEY`, and credentials
349
+ recognized by their format under any name, such as JWTs, `Bearer` tokens, cloud and API keys,
350
+ private keys, and passwords in connection strings. Redaction recognizes credentials, not every kind
351
+ of personal data: names or email addresses in your test data can still appear in page text, so test
352
+ with data you may share.
350
353
  Screenshots and videos are described by size and dimensions only; their pixels are never sent. Full
351
354
  files, full diffs, and your whole repository are never sent.
352
355
 
@@ -360,14 +363,14 @@ uncommitted changes are listed too. Author names, emails, commit bodies, and doc
360
363
  never read. The preview says how
361
364
  many changed hunks a request carries. `--no-changes` on `analyze` and `fix` leaves them out.
362
365
 
363
- - **Free, Pro, Team:** the redacted packet goes to the KwikQA service, which forwards it unchanged to
366
+ - **Hobby, Pro, Teams, Enterprise:** the redacted packet goes to the KwikQA service, which forwards it unchanged to
364
367
  OpenRouter and the model endpoint shown in the preview. Requests go only to endpoints with a
365
368
  zero-data-retention policy (Claude on Google Cloud Vertex AI, GPT on Microsoft Azure): the
366
369
  service refuses a request that doesn't ask for that, and OpenRouter refuses rather than route it
367
370
  to an endpoint that would keep it. The service keeps only account, usage, token, and cost
368
371
  metadata, a hash of the request, and the result counts below. It never stores your evidence, your source, or the model's
369
372
  answer, which it holds in memory until your CLI collects it, for at most 15 minutes.
370
- - **BYOK, BYOK Team, BYOK Enterprise:** the packet goes from your machine directly to your
373
+ - **BYOK, BYOK Teams, BYOK Enterprise:** the packet goes from your machine directly to your
371
374
  endpoint, under your account there and its data-retention settings, and the preview names the
372
375
  endpoint. On OpenRouter, KwikQA's default routes ask for zero data retention; a route you set with
373
376
  `KWIKQA_DIAGNOSIS_MODEL` or `KWIKQA_REPAIR_MODEL` does not. The CLI reports only the request's
@@ -414,6 +417,7 @@ report. It holds no error text or evidence; the report does.
414
417
  permissions:
415
418
  contents: read
416
419
  pull-requests: write # only for the comment
420
+ id-token: write # proves which repository the job runs for
417
421
  steps:
418
422
  - uses: actions/checkout@v7
419
423
  - run: npx playwright test
@@ -444,6 +448,11 @@ steps:
444
448
  - **Never the cause of a failed build.** A comment or summary that can't be published is reported
445
449
  in the log and skipped; the exit code is the analysis's. Without a KwikQA token, or past your
446
450
  plan's limit, the run is analyzed locally and the summary says why it wasn't diagnosed.
451
+ - **Job identity.** Each request from a CI job says which repository it runs for. With
452
+ `id-token: write`, KwikQA also sends the job's identity token, which GitHub signs, so the service
453
+ can verify the repository and the person who triggered a pull request's run. On GitLab.com,
454
+ declare it in the job that runs KwikQA:
455
+ `id_tokens: { KWIKQA_ID_TOKEN: { aud: "https://kwikqa.com" } }`. The token isn't stored.
447
456
 
448
457
  ### Fix pull requests
449
458
 
@@ -464,6 +473,7 @@ commit that changed your app (`fetchDepth: 0` on Azure Pipelines, `GIT_DEPTH: "0
464
473
  permissions:
465
474
  contents: write # for the fix branch
466
475
  pull-requests: write # for the comment and the fix pull request
476
+ id-token: write # proves which repository the job runs for
467
477
  steps:
468
478
  - uses: actions/checkout@v7
469
479
  with:
@@ -655,7 +665,7 @@ The `exit 1` keeps the job failed: KwikQA exits with the analysis's code, which
655
665
  ### Jenkins
656
666
 
657
667
  In a Pipeline, run `kwikqa ci` when the tests fail, with its tokens bound only around it. The agent
658
- needs Node.js 20.11 or later.
668
+ needs Node.js 22, 24, 26, or later.
659
669
 
660
670
  ```groovy
661
671
  stage('e2e') {