Repository navigation
Upgrading from 1.5.0
- The functional & design test is rewritten. Its findings are numbered (
F-01onwards), each says how to fix it and where (a file, the content, a setting, a plugin or the host), and a claim about a real person that the site gives no source for becomes an open question instead of a finding. The report lists every page it loaded, with its headings, links and images, read by kosh rather than copied by the model, and the status of each off-site link. - Pages nothing links to get noticed. The functional report lists the site's published pages the run never loaded or saw a link to, read from WordPress's REST API, then its sitemap. If neither can be read, the report says so instead of showing an empty list.
- Contrast is measured with axe-core, the engine behind most accessibility checkers, instead of kosh's own script. Text on a gradient gets the range of its contrast across the gradient. Text inside iframes isn't checked.
- kosh costs less in projects that don't use it. Its capture guard ran Node before every shell command and edit in every project. It now does a quick shell check and starts Node only when the call mentions a capture, a link record, a
.jsonlfile orkosh-reports. Ifnodeisn't on the hook's PATH (for example, when nvm loads it from.zshrc), only those calls are blocked, with a message saying why, instead of every call showingnode: command not found. - Correcting a report keeps its measurements. Copy the archived JSON back to
kosh-reports/data/, edit the text and run the report script again: the pages, inventory and link checks come back from the archived copy, and earlier copies are kept as-2,-3and so on instead of being overwritten. - Screenshots are saved with a path relative to your project,
kosh-reports/screenshots/<name>.png. Every test now says so, and so does the refusal when a test passes an absolute path. - A security fix in kosh's dependencies:
fast-uri3.1.9, used by the report validator.
What's Changed
- feat: measure functional-design's contrast with axe-core by @katodea in #82
- fix: say when an async __kosh call is left unawaited by @katodea in #83
- refactor: rewrite functional-design to the performance template by @katodea in #84
- chore: update fast-uri to version 3.1.9 in package-lock.json to fix vulnerability by @ecairol in #85
- chore(deps): bump @azure/msal-node and @azure/identity in /evals by @dependabot[bot] in #86
- chore(deps): bump fast-uri from 3.1.8 to 3.1.9 in /evals by @dependabot[bot] in #87
- chore(deps): bump qs from 6.16.0 to 6.17.1 in /evals by @dependabot[bot] in #88
- fix: keep capture data when correcting a rendered report by @katodea in #89
- feat: add __kosh.page and list published pages in the inventory by @katodea in #90
- fix: start the capture guard's Node process only for calls it can block by @ecairol in #91
- feat: list published pages a run never reached in the functional report by @katodea in #92
- chore: bump promptfoo to 0.126 and fix evals advisories by @katodea in #96
- fix: tell the model screenshot paths are relative to the project by @katodea in #99
- chore(deps): bump minimatch and eslint in /tests by @dependabot[bot] in #97
- chore: bump version to 1.6.0 by @katodea in #100
New Contributors
- @dependabot[bot] made their first contribution in #86
Full Changelog: v1.5.0...v1.6.0