dsh-plugin-browser4agent 0.0.0-stage → 0.1.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mantou132
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,55 @@
1
- # Temporary Holding Version
1
+ # dsh-plugin-browser4agent
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Zero-config browser automation plugin for [DeepSeek Harness (`dsh`)](https://github.com/deepseek-ai/deepseek-harness), powered by [Browser4Agent](https://github.com/mantou132/browser4agent).
4
+
5
+ Let DeepSeek Harness use your **real, logged-in browser** (Chrome, Edge, or Firefox) — existing tabs, cookies, site-specific Page Tools, and Chromium DevTools Protocol (CDP) debugging, all running locally with no cloud relay.
6
+
7
+ ## Zero-Click Setup
8
+
9
+ Install the plugin and open **Settings → Browser4Agent** — local setup runs automatically in the background on startup:
10
+
11
+ 1. Finds an existing `browser4agent` CLI or downloads the latest verified release binary into your local app data directory.
12
+ 2. Runs `browser4agent --setup skills` non-interactively to register Native Messaging Hosts (Chrome, Chrome Canary, Chromium, Edge, Firefox, Vivaldi) and install `~/.agents/skills/browser4agent/SKILL.md` (discovered automatically by DeepSeek Harness).
13
+ 3. Automatically detects whether the browser extension is connected; if not, highlights the store links (Chrome Web Store, Edge Add-ons, Firefox Add-ons) and switches to **Ready** automatically as soon as the extension connects.
14
+
15
+ ## Install
16
+
17
+ ### DeepSeek Harness Web / CLI
18
+
19
+ ```bash
20
+ dsh plugin --profile web add dsh-plugin-browser4agent
21
+ dsh web
22
+ ```
23
+
24
+ ### DeepSeek Harness Desktop
25
+
26
+ Open **Settings → Plugins**, install `dsh-plugin-browser4agent`, then open **Settings → Browser4Agent** to install the browser extension — readiness updates automatically.
27
+
28
+ ## Browser Extensions
29
+
30
+ - [Chrome Web Store](https://chromewebstore.google.com/detail/cddjomjjojijahpjngcfebapepdecaff)
31
+ - [Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/kgofhkkibnooojbchfppjblmajdcboib)
32
+ - [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/browser4agent@xianqiao.wang)
33
+ - [Manual Download (GitHub Releases)](https://github.com/mantou132/browser4agent/releases/latest)
34
+
35
+ ---
36
+
37
+ ## 中文说明
38
+
39
+ [Browser4Agent](https://github.com/mantou132/browser4agent) 的 DeepSeek Harness (`dsh`) 零配置浏览器自动化插件。
40
+
41
+ 安装启用后会在后台**自动完成全部本地初始化**(无需手动敲命令):
42
+ - 自动检测或从 GitHub Releases 下载校验后的 `browser4agent` CLI;
43
+ - 自动执行 `browser4agent --setup skills`,注册各浏览器的 Native Messaging Host,并写入 DSH 自动识别的 `~/.agents/skills/browser4agent/SKILL.md`;
44
+ - 打开 DSH 的 **设置 → Browser4Agent 浏览器** 会自动检测扩展连接状态:未安装时引导前往 Chrome / Edge / Firefox 商店安装,装好后自动识别并切换为**已就绪**。
45
+
46
+ ### 安装
47
+
48
+ ```bash
49
+ dsh plugin --profile web add dsh-plugin-browser4agent
50
+ dsh web
51
+ ```
52
+
53
+ ## License
54
+
55
+ MIT
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: browser4agent
3
+ name: dsh-plugin-browser4agent
package/icon.svg ADDED
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
2
+ <rect width="64" height="64" rx="16" fill="#18181B"/>
3
+ <rect x="11" y="14" width="42" height="36" rx="7" stroke="#FAFAFA" stroke-width="3"/>
4
+ <path d="M11 24H53" stroke="#FAFAFA" stroke-width="2.6"/>
5
+ <circle cx="18" cy="19" r="1.6" fill="#60A5FA"/>
6
+ <circle cx="24" cy="19" r="1.6" fill="#FAFAFA" fill-opacity="0.7"/>
7
+ <path d="M25 32L31 37L25 42" stroke="#60A5FA" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M34 42H41" stroke="#60A5FA" stroke-width="3" stroke-linecap="round"/>
9
+ </svg>