@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/README.md +43 -0
- package/cli.js +233 -0
- package/content-script.js +550 -0
- package/manifest.json +57 -7
- package/package.json +33 -43
- package/LICENSE +0 -12
- package/images/icon128.png +0 -0
- package/images/icon16.png +0 -0
- package/images/icon48.png +0 -0
- package/src/ai-worker.js +0 -571
- package/src/answer/AnswerEngine.tsx +0 -561
- package/src/callback.html +0 -17
- package/src/chat-widget.tsx +0 -96
- package/src/gui-primitives.tsx +0 -116
- package/src/icon128.png +0 -0
- package/src/icon16.png +0 -0
- package/src/icon32.png +0 -0
- package/src/icon48.png +0 -0
- package/src/manifest-firefox.json +0 -85
- package/src/manifest.json +0 -81
- package/src/newtab.css +0 -277
- package/src/newtab.html +0 -13
- package/src/onboarding.css +0 -78
- package/src/onboarding.html +0 -45
- package/src/package.json +0 -41
- package/src/popup.css +0 -761
- package/src/popup.html +0 -409
- package/src/popup.js +0 -196
- package/src/sidebar.css +0 -1792
- package/src/sidebar.html +0 -463
- package/src/sidebar.js +0 -885
- package/src/webgpu.d.ts +0 -131
package/src/onboarding.html
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>Welcome to Hanzo</title>
|
|
7
|
-
<link rel="stylesheet" href="onboarding.css" />
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<main class="card">
|
|
11
|
-
<div class="brand">Hanzo</div>
|
|
12
|
-
<h1>Welcome to Hanzo AI</h1>
|
|
13
|
-
<p class="lede">
|
|
14
|
-
Search, research and browse with Hanzo's own models. Before you start,
|
|
15
|
-
choose what you'd like to share — you can change this anytime in settings
|
|
16
|
-
or on your Hanzo account.
|
|
17
|
-
</p>
|
|
18
|
-
|
|
19
|
-
<label class="row">
|
|
20
|
-
<input type="checkbox" id="ob-insights" checked />
|
|
21
|
-
<span class="switch"></span>
|
|
22
|
-
<span class="text">
|
|
23
|
-
<strong>Anonymous usage insights</strong>
|
|
24
|
-
<small>Helps us improve Hanzo. No search text, no personal data — just a random per-install id.</small>
|
|
25
|
-
</span>
|
|
26
|
-
</label>
|
|
27
|
-
|
|
28
|
-
<label class="row">
|
|
29
|
-
<input type="checkbox" id="ob-training" />
|
|
30
|
-
<span class="switch"></span>
|
|
31
|
-
<span class="text">
|
|
32
|
-
<strong>Contribute to training Hanzo's open models</strong>
|
|
33
|
-
<small>Share your own searches & answers so Hanzo's open models get better. Opt in — off unless you turn it on.</small>
|
|
34
|
-
</span>
|
|
35
|
-
</label>
|
|
36
|
-
|
|
37
|
-
<button id="ob-continue" class="cta">Get started</button>
|
|
38
|
-
<p class="fine">
|
|
39
|
-
Signed in? These choices save to your Hanzo account and stay in sync
|
|
40
|
-
everywhere. <a href="https://hanzo.ai/privacy" target="_blank" rel="noopener">Privacy</a>
|
|
41
|
-
</p>
|
|
42
|
-
</main>
|
|
43
|
-
<script src="onboarding.js"></script>
|
|
44
|
-
</body>
|
|
45
|
-
</html>
|
package/src/package.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hanzo/browser-extension",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Browser extension for click-to-code navigation with MCP integration",
|
|
5
|
-
"main": "cli.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"hanzo-browser-server": "./cli.js"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"start": "node cli.js"
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
"cli.js",
|
|
14
|
-
"browser-extension-server.js",
|
|
15
|
-
"content-script.js",
|
|
16
|
-
"manifest.json",
|
|
17
|
-
"README.md"
|
|
18
|
-
],
|
|
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"
|
|
40
|
-
}
|
|
41
|
-
}
|