Files
extension/packages/browser/package.json
T
Hanzo AI 86bc401545
publish / publish (push) Failing after 32s
ci / build (push) Successful in 27s
ci / test (push) Successful in 28s
feat(consent): insights + opt-in training contribution, account-canonical
- shared/consent.ts: ONE consent value. Signed in → the Hanzo account is the
  source of truth (GET/PUT /v1/iam/consent); signed out → local, pushed on next
  sign-in. Two switches: anonymous usage insights (default on, no query text) +
  opt-in training contribution (share your own searches/answers; off until asked).
- Onboarding on new install (background onInstalled → onboarding.html) explicitly
  ASKS consent; settings toggles in the popup mirror the same value.
- Answer engine instrumented: anonymous answer_search/answer_shown events +
  contributeTrainingSample (no-op unless opted in). All fail-soft.
- release: browser-extension 1.9.36
2026-07-26 11:12:06 -07:00

52 lines
1.2 KiB
JSON

{
"name": "@hanzo/browser-extension",
"version": "1.9.36",
"description": "Hanzo AI Browser Extension",
"main": "dist/background.js",
"scripts": {
"build": "node src/build.js",
"watch": "node src/build.js --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test --config=e2e/playwright.config.ts",
"check:bundle-budget": "node scripts/check-bundle-budgets.mjs"
},
"dependencies": {
"@hanzo/ai": "^0.2.3",
"@hanzo/usage": "^0.1.6",
"@supabase/supabase-js": "^2.50.3",
"axios": "^1.10.0",
"chalk": "^4.1.2",
"commander": "^11.1.0",
"webextension-polyfill": "0.12.0",
"ws": "^8.18.3"
},
"devDependencies": {
"@playwright/test": "^1.52.0",
"@types/chrome": "^0.0.270",
"@types/firefox-webext-browser": "^120.0.0",
"@types/jsdom": "^21.1.7",
"@types/ws": "^8.18.1",
"esbuild": "^0.25.8",
"jsdom": "^26.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.8.3",
"vitest": "^3.2.6",
"ws": "^8.18.3"
},
"engines": {
"node": ">=18.0.0"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"src",
"images",
"manifest.json"
]
}