kwikqa 0.6.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.
- package/CHANGELOG.md +21 -0
- package/README.md +20 -8
- package/dist/kwikqa.mjs +143 -143
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
What's new in each release of the KwikQA CLI.
|
|
4
4
|
|
|
5
|
+
## 0.8.0 — 2026-11-17
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- 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.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
- 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.
|
|
15
|
+
|
|
16
|
+
## 0.7.0 — 2026-11-16
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Result counts name the usage sessions behind each analysis and fix, as SHA-256 hashes of their session and retry tickets, so KwikQA can count its model cost by kind of failure. The KwikQA service already keeps the same hashes with each request; the tickets themselves are never sent.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Result counts name each failure group's symptom. A group formed on a locator, a shared-code line, or a network endpoint used to report none, which is most of them. Run records keep each group's symptom from record version 1.5.
|
|
25
|
+
|
|
5
26
|
## 0.6.0 — 2026-11-15
|
|
6
27
|
|
|
7
28
|
### Added
|
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
|
|
43
|
+
- Node.js 22 (22.23.5 or later), 24 (24.22.3 or later), or 26 (26.13.1 or later): the long-term support releases, each tested in CI
|
|
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
|
|
349
|
-
|
|
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
|
-
- **
|
|
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
|
|
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
|
|
@@ -384,8 +387,10 @@ many changed hunks a request carries. `--no-changes` on `analyze` and `fix` leav
|
|
|
384
387
|
validation, and fix pull request as codes and counts, so KwikQA can see which kinds of failure it
|
|
385
388
|
diagnoses and repairs well: the outcome and reason codes, the test framework, the CI system, the
|
|
386
389
|
symptom, owner, cause, and evidence grade, the kind of file a fix changed, and how many groups,
|
|
387
|
-
tests, files, and lines
|
|
388
|
-
|
|
390
|
+
tests, files, and lines; and for an analysis or a fix, SHA-256 hashes of the usage sessions and
|
|
391
|
+
retry tickets that covered its model requests, which the service already keeps with each request,
|
|
392
|
+
so KwikQA can count its model cost by kind of failure. Never test names, file paths, error text,
|
|
393
|
+
evidence, source, the tickets themselves, or the model's words. It's on by default: turn it off at https://kwikqa.com/dashboard/account/ (a
|
|
389
394
|
company's admins can for everyone), or for one run or CI job with `KWIKQA_RESULTS=off`.
|
|
390
395
|
`--local` reports nothing, and `npx kwikqa status` says whether it's on.
|
|
391
396
|
|
|
@@ -412,6 +417,7 @@ report. It holds no error text or evidence; the report does.
|
|
|
412
417
|
permissions:
|
|
413
418
|
contents: read
|
|
414
419
|
pull-requests: write # only for the comment
|
|
420
|
+
id-token: write # proves which repository the job runs for
|
|
415
421
|
steps:
|
|
416
422
|
- uses: actions/checkout@v7
|
|
417
423
|
- run: npx playwright test
|
|
@@ -442,6 +448,11 @@ steps:
|
|
|
442
448
|
- **Never the cause of a failed build.** A comment or summary that can't be published is reported
|
|
443
449
|
in the log and skipped; the exit code is the analysis's. Without a KwikQA token, or past your
|
|
444
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.
|
|
445
456
|
|
|
446
457
|
### Fix pull requests
|
|
447
458
|
|
|
@@ -462,6 +473,7 @@ commit that changed your app (`fetchDepth: 0` on Azure Pipelines, `GIT_DEPTH: "0
|
|
|
462
473
|
permissions:
|
|
463
474
|
contents: write # for the fix branch
|
|
464
475
|
pull-requests: write # for the comment and the fix pull request
|
|
476
|
+
id-token: write # proves which repository the job runs for
|
|
465
477
|
steps:
|
|
466
478
|
- uses: actions/checkout@v7
|
|
467
479
|
with:
|
|
@@ -653,7 +665,7 @@ The `exit 1` keeps the job failed: KwikQA exits with the analysis's code, which
|
|
|
653
665
|
### Jenkins
|
|
654
666
|
|
|
655
667
|
In a Pipeline, run `kwikqa ci` when the tests fail, with its tokens bound only around it. The agent
|
|
656
|
-
needs Node.js
|
|
668
|
+
needs Node.js 22 (22.23.5 or later), 24 (24.22.3 or later), or 26 (26.13.1 or later).
|
|
657
669
|
|
|
658
670
|
```groovy
|
|
659
671
|
stage('e2e') {
|