@hanzo/browser-extension 1.9.55 → 1.9.59

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.
Files changed (60) hide show
  1. package/README.md +11 -0
  2. package/chrome/background.js +527 -0
  3. package/chrome/content-script.js +550 -0
  4. package/{src → chrome}/manifest.json +2 -12
  5. package/{src → chrome}/newtab.css +2 -2
  6. package/chrome/newtab.js +230 -0
  7. package/chrome/onboarding.js +31 -0
  8. package/chrome/page.js +35 -0
  9. package/{src → chrome}/popup.css +2 -2
  10. package/{src → chrome}/popup.html +8 -0
  11. package/chrome/popup.js +48 -0
  12. package/{src → chrome}/sidebar.css +7 -7
  13. package/chrome/sidebar.js +291 -0
  14. package/firefox/ai-worker.js +571 -0
  15. package/firefox/background.js +235 -0
  16. package/firefox/callback.html +17 -0
  17. package/firefox/content-script.js +550 -0
  18. package/firefox/icon128.png +0 -0
  19. package/firefox/icon16.png +0 -0
  20. package/firefox/icon48.png +0 -0
  21. package/{src/manifest-firefox.json → firefox/manifest.json} +2 -3
  22. package/firefox/newtab.css +543 -0
  23. package/firefox/newtab.html +13 -0
  24. package/firefox/newtab.js +230 -0
  25. package/firefox/onboarding.css +78 -0
  26. package/firefox/onboarding.html +45 -0
  27. package/firefox/onboarding.js +31 -0
  28. package/firefox/page.js +35 -0
  29. package/firefox/popup.css +761 -0
  30. package/firefox/popup.html +413 -0
  31. package/firefox/popup.js +48 -0
  32. package/firefox/sidebar.css +1350 -0
  33. package/firefox/sidebar.html +388 -0
  34. package/firefox/sidebar.js +291 -0
  35. package/package.json +4 -52
  36. package/manifest.json +0 -34
  37. package/src/Chat.tsx +0 -164
  38. package/src/answer/AnswerEngine.tsx +0 -410
  39. package/src/answer/Mark.tsx +0 -14
  40. package/src/answer/Rail.tsx +0 -95
  41. package/src/answer/Stories.tsx +0 -27
  42. package/src/answer/Toolbar.tsx +0 -93
  43. package/src/answer/WidgetView.tsx +0 -136
  44. package/src/icon128.png +0 -0
  45. package/src/icon16.png +0 -0
  46. package/src/icon32.png +0 -0
  47. package/src/icon48.png +0 -0
  48. package/src/package.json +0 -41
  49. package/src/safari/SafariWebExtensionHandler.swift +0 -153
  50. package/src/shared/Prose.tsx +0 -29
  51. package/src/webgpu.d.ts +0 -131
  52. /package/{src → chrome}/ai-worker.js +0 -0
  53. /package/{src → chrome}/callback.html +0 -0
  54. /package/{images → chrome}/icon128.png +0 -0
  55. /package/{images → chrome}/icon16.png +0 -0
  56. /package/{images → chrome}/icon48.png +0 -0
  57. /package/{src → chrome}/newtab.html +0 -0
  58. /package/{src → chrome}/onboarding.css +0 -0
  59. /package/{src → chrome}/onboarding.html +0 -0
  60. /package/{src → chrome}/sidebar.html +0 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @hanzo/browser-extension
2
+
3
+ The Hanzo AI browser extension, built: the same directories the Chrome Web Store
4
+ and Firefox Add-ons get, and both manifests carry this package's version.
5
+
6
+ - `chrome/`: open `chrome://extensions`, turn on Developer mode, choose Load
7
+ unpacked and select the directory.
8
+ - `firefox/`: open `about:debugging#/runtime/this-firefox`, choose Load
9
+ Temporary Add-on and select `firefox/manifest.json`.
10
+
11
+ Source: https://github.com/hanzoai/extension/tree/main/packages/browser