@hanzo/browser-extension 1.9.36 → 1.9.49

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/manifest.json CHANGED
@@ -1,28 +1,46 @@
1
1
  {
2
2
  "manifest_version": 3,
3
- "name": "Hanzo AI Dev Assistant",
4
- "version": "1.0.0",
5
- "description": "Click-to-code navigation with source-map support",
3
+ "name": "Hanzo AI",
4
+ "version": "1.9.49",
5
+ "description": "AI answer engine, search, and dev assistant — Hanzo AI in a new tab, address-bar search, source-cited answers, realtime news, WebGPU AI, and MCP.",
6
+ "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxfXGh0lPUT5m04GKfjUwrLsV6pLaK3VcZuFRPogqAir2tzyLYnQPRtHynue9yvDyguIVnlkwvcwfDOYZrvH76zbw4s6onPBG8HqTKO6LQ9K3kdO1qBBkMMjdOgULQ1MrWThEbpU7NSTiwLYpEta/jAvrKRCAeKIlQE8p6htZmPy9aRUZuae66JgLcAlzD2vviX9sVB1asFABJVswL1RgZ55/8IzZaUrFjzOo9OHK4hmEOtudzkML+5silsAYdC+1BZugph2x94ai17YmZTCL1XyUa5Ke4q80cj+i9rOTgzhZs+mruyhL/AvNVOXilsgqCdNqSz77naWzC3pVGbxOewIDAQAB",
6
7
  "permissions": [
7
8
  "activeTab",
9
+ "identity",
8
10
  "storage",
9
11
  "tabs",
10
12
  "webNavigation",
13
+ "scripting",
14
+ "cookies",
11
15
  "debugger",
12
- "scripting"
16
+ "alarms",
17
+ "nativeMessaging"
13
18
  ],
14
19
  "host_permissions": [
15
20
  "http://localhost/*",
16
21
  "https://localhost/*",
22
+ "https://claude.ai/*",
23
+ "https://chatgpt.com/*",
17
24
  "<all_urls>"
18
25
  ],
26
+ "content_security_policy": {
27
+ "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
28
+ },
19
29
  "content_scripts": [
20
30
  {
21
- "matches": ["<all_urls>"],
22
- "js": ["content-script.js"],
31
+ "matches": [
32
+ "<all_urls>"
33
+ ],
34
+ "js": [
35
+ "content-script.js"
36
+ ],
23
37
  "run_at": "document_idle"
24
38
  }
25
39
  ],
40
+ "background": {
41
+ "service_worker": "background.js",
42
+ "type": "module"
43
+ },
26
44
  "action": {
27
45
  "default_popup": "popup.html",
28
46
  "default_icon": {
@@ -30,5 +48,37 @@
30
48
  "48": "icon48.png",
31
49
  "128": "icon128.png"
32
50
  }
33
- }
51
+ },
52
+ "icons": {
53
+ "16": "icon16.png",
54
+ "48": "icon48.png",
55
+ "128": "icon128.png"
56
+ },
57
+ "omnibox": {
58
+ "keyword": "hanzo"
59
+ },
60
+ "chrome_url_overrides": {
61
+ "newtab": "newtab.html"
62
+ },
63
+ "chrome_settings_overrides": {
64
+ "search_provider": {
65
+ "name": "Hanzo",
66
+ "keyword": "hanzo",
67
+ "search_url": "https://hanzo.chat/?q={searchTerms}",
68
+ "favicon_url": "https://hanzo.ai/favicon.ico",
69
+ "encoding": "UTF-8",
70
+ "is_default": true
71
+ }
72
+ },
73
+ "web_accessible_resources": [
74
+ {
75
+ "resources": [
76
+ "ai-worker.js",
77
+ "models/*"
78
+ ],
79
+ "matches": [
80
+ "<all_urls>"
81
+ ]
82
+ }
83
+ ]
34
84
  }
package/package.json CHANGED
@@ -1,51 +1,41 @@
1
1
  {
2
2
  "name": "@hanzo/browser-extension",
3
- "version": "1.9.36",
4
- "description": "Hanzo AI Browser Extension",
5
- "main": "dist/background.js",
6
- "dependencies": {
7
- "@hanzo/ai": "^0.2.3",
8
- "@hanzo/usage": "^0.1.6",
9
- "@supabase/supabase-js": "^2.50.3",
10
- "axios": "^1.10.0",
11
- "chalk": "^4.1.2",
12
- "commander": "^11.1.0",
13
- "webextension-polyfill": "0.12.0",
14
- "ws": "^8.18.3"
15
- },
16
- "devDependencies": {
17
- "@playwright/test": "^1.52.0",
18
- "@types/chrome": "^0.0.270",
19
- "@types/firefox-webext-browser": "^120.0.0",
20
- "@types/jsdom": "^21.1.7",
21
- "@types/ws": "^8.18.1",
22
- "esbuild": "^0.25.8",
23
- "jsdom": "^26.1.0",
24
- "react": "^18.3.1",
25
- "react-dom": "^18.3.1",
26
- "typescript": "^5.8.3",
27
- "vitest": "^3.2.6",
28
- "ws": "^8.18.3"
3
+ "version": "1.9.49",
4
+ "description": "Browser extension for click-to-code navigation with MCP integration",
5
+ "main": "cli.js",
6
+ "bin": {
7
+ "hanzo-browser-server": "./cli.js"
29
8
  },
30
- "engines": {
31
- "node": ">=18.0.0"
32
- },
33
- "license": "MIT",
34
- "publishConfig": {
35
- "access": "public"
9
+ "scripts": {
10
+ "start": "node cli.js"
36
11
  },
37
12
  "files": [
38
- "dist",
39
- "src",
40
- "images",
41
- "manifest.json"
13
+ "cli.js",
14
+ "browser-extension-server.js",
15
+ "content-script.js",
16
+ "manifest.json",
17
+ "README.md"
42
18
  ],
43
- "scripts": {
44
- "build": "node src/build.js",
45
- "watch": "node src/build.js --watch",
46
- "test": "vitest run",
47
- "test:watch": "vitest",
48
- "test:e2e": "playwright test --config=e2e/playwright.config.ts",
49
- "check:bundle-budget": "node scripts/check-bundle-budgets.mjs"
19
+ "keywords": [
20
+ "mcp",
21
+ "browser",
22
+ "devtools",
23
+ "source-maps",
24
+ "react",
25
+ "vue",
26
+ "developer-tools"
27
+ ],
28
+ "dependencies": {
29
+ "ws": "^8.18.0",
30
+ "commander": "^11.0.0",
31
+ "chalk": "^5.3.0"
32
+ },
33
+ "devDependencies": {
34
+ "@types/ws": "^8.5.0",
35
+ "typescript": "^5.0.0",
36
+ "esbuild": "^0.25.0"
37
+ },
38
+ "peerDependencies": {
39
+ "@modelcontextprotocol/sdk": "^1.0.0"
50
40
  }
51
41
  }
package/LICENSE DELETED
@@ -1,12 +0,0 @@
1
- Copyright 2025 Hanzo Industries Inc
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
9
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
10
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
11
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
12
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file
package/images/icon16.png DELETED
Binary file
package/images/icon48.png DELETED
Binary file