Extension 0.5.0: first-run consent, unfret host, dev server #1
Loading…
Reference in a new issue
No description provided.
Delete branch "release-0.5.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extension 0.5.0: the first-run consent screen for the Chrome Web Store, the unfret host, the dev server and the audit fixes.
Consent screen ("Purple Nickel")
unfret.kroshtan.com. No account data. URLs aren't stored, nothing is sold, there are no affiliate links, and price observations are kept anonymously for 90 days.{consent: {version: 1}}instorage.local. Analyse stays disabled until then, and the background also refuses to analyse without consent. About & privacy reopens the card, which links to https://unfret.kroshtan.com/privacy (live, served by the backend).Hosts and dev server
update_urland releasecodebaseall move tounfret.kroshtan.com.https://dev.unfret.kroshtan.com/*is an optional host permission, with a "Use the dev server" button in the options. Its sign-in relay is registered at runtime (scripting.registerContentScripts), and the CSP allows it.permissionsandhost_permissionsare identical;optional_host_permissionsadds the dev host, which has no install warning; the relay content script's match moves from the veridex host to the unfret host, so the single-site warning names the new host.veridex.kroshtan.com, which no longer resolves, so they can't auto-update. Those users need to install 0.5.0 once.Fixes
Release
make releasebuilt, with the existing key,veridex-0.5.0.crx(IDkpllgmbgfmnlpnmkibmhflkafhilckfe, unchanged),updates.xml(codebase on unfret), the store zipveridex-chrome-0.5.0.zipandSHA256SUMS. The artifacts go to the backend'sstatic/extensionin a backend PR.Tests
typecheck, eslint and prettier are clean. vitest: 115 passed. Smoke (headless Chromium): 9 passed.
🤖 Generated with Claude Code
https://claude.ai/code/session_014HgVKRqhxEZCM6yP8io6fk
- First-run consent screen in the popup (nl/en): what Veridex does; what is sent, only on Analyse (product facts and cleaned visible text to unfret.kroshtan.com; addresses not stored, nothing sold, no affiliate links, anonymous price observations kept 90 days); paying (Solana wallet, prepaid checks, a trial if eligible). "I agree" stores {consent: {version}} in storage.local; Analyse is disabled until then, the background refuses to analyse without it, and "About & privacy" reopens it. Links to https://unfret.kroshtan.com/privacy. - Hosts: API, sign-in relay, update_url and release codebase on unfret.kroshtan.com (the veridex host is gone). The dev deployment (https://dev.unfret.kroshtan.com) is an optional host permission with a "Use the dev server" button; its sign-in relay is registered at runtime, so no new install warning. Required permissions are unchanged. - Fixes: a double click no longer starts (and charges) two analyses (in-flight set synchronously in the popup and the background); countdowns are watched 1.2 s while the text is cleaned; uploaded text capped at 24,000 characters; Shopify compare-at bound to the variant on show, integers always cents (matches the backend); the options page is translated (nl/en). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HgVKRqhxEZCM6yP8io6fk