dsh-chrome-use 0.9.0 → 0.9.2
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/CHANGELOG.md +12 -0
- package/README.md +62 -81
- package/docs/test-results.md +1 -1
- package/extension/manifest.json +1 -1
- package/extension/popup.css +3 -2
- package/extension/popup.html +4 -2
- package/package.json +1 -1
- package/src/client.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
版本号遵循语义化版本。格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/)。
|
|
4
4
|
扩展版本和 Harness 插件版本始终一起发布,数字保持一致。
|
|
5
5
|
|
|
6
|
+
## [0.9.2] - 2026-11-12
|
|
7
|
+
|
|
8
|
+
### 文档
|
|
9
|
+
|
|
10
|
+
- README 精简为「安装」和「多个 Harness 同时连接」两部分,去掉能力清单等后面的章节,并在下面补一版英文 README。
|
|
11
|
+
|
|
12
|
+
## [0.9.1] - 2026-11-12
|
|
13
|
+
|
|
14
|
+
### 变更
|
|
15
|
+
|
|
16
|
+
- 弹窗把 Star 提示移到标题下方、分隔线上方,打开就能看到;底部只保留「本机连接 · 不上传到插件作者的服务器」。
|
|
17
|
+
|
|
6
18
|
## [0.9.0] - 2026-11-12
|
|
7
19
|
|
|
8
20
|
### 新增
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
让 DeepSeek Harness 读取、操作和调试本机 Google Chrome。
|
|
4
4
|
|
|
5
|
+
同一个扩展和数据通道也能给 Codex、OpenCode、Workbody 等其他 Harness 使用:本包面向 DeepSeek Harness,其他 Harness 通过独立 JSON 运行器接入同一个 bridge,权限、端口和标签页规则完全一样。
|
|
6
|
+
|
|
5
7
|
## 安装
|
|
6
8
|
|
|
7
9
|
> **先装 Harness 插件,再装 Chrome 扩展,最后配对。** 插件有三种装法,选一种,命令直接复制。
|
|
@@ -72,113 +74,92 @@ DSH_CHROME_USE_PORT=18793 DSH_CHROME_USE_NAME=Codex dsh
|
|
|
72
74
|
|
|
73
75
|
多个 Harness 之间还可以在后台互相留言:`chrome_send_message` 广播或按端口定向发送,`chrome_messages` 读取,对方会在下一次工具调用的结果里看到未读提示。这是异步留言板,不会打断正在执行的操作,也不会显示在扩展弹窗里。细节和限制见 [Harness 之间的留言板](docs/agent-messaging.md)。
|
|
74
76
|
|
|
75
|
-
### 5. Codex、OpenCode 和其他 Harness
|
|
77
|
+
### 5. Codex、OpenCode、Workbody 和其他 Harness
|
|
76
78
|
|
|
77
79
|
本包是 DSH/Cordis 插件。`package.json` 没有 MCP 入口,也没有命令行入口;把 npm 包装进 Codex 或 OpenCode,不会自动出现 `chrome_*` 工具。
|
|
78
80
|
|
|
79
|
-
|
|
81
|
+
不过扩展本身不挑 Harness:任何能连上 bridge 的客户端,都能操作同一个 Chrome。Codex、OpenCode、Workbody 这类 Harness 用独立 JSON 运行器启动同一个 bridge 即可,配对、端口、标签页租约和留言规则都和 DeepSeek Harness 一样,多个 Harness 还能同时连。具体步骤见 [独立 JSON 运行器](docs/standalone-runner.md)。
|
|
82
|
+
|
|
83
|
+
---
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
# dsh-chrome-use
|
|
82
86
|
|
|
83
|
-
|
|
87
|
+
Let DeepSeek Harness read, operate and debug the Google Chrome on your machine.
|
|
84
88
|
|
|
85
|
-
|
|
89
|
+
The same extension and data channel also work for Codex, OpenCode, Workbody and other harnesses: this package targets DeepSeek Harness, and other harnesses attach to the same bridge through the standalone JSON runner, with identical permissions, ports and tab rules.
|
|
86
90
|
|
|
87
|
-
|
|
91
|
+
## Install
|
|
88
92
|
|
|
89
|
-
|
|
90
|
-
- **关(后台静默)**:只在 Chrome 自己的窗口里把目标标签页切为当前标签页,不抢焦点,在别的软件里打字不会被打断;代价是窗口被最小化或完全遮挡时操作会返回 `PAGE_HIDDEN`,不会偷偷弹窗。
|
|
93
|
+
> **Install the Harness plugin first, then the Chrome extension, then pair them.** The plugin can be installed in three ways; pick one and copy the command.
|
|
91
94
|
|
|
92
|
-
|
|
95
|
+
### 1. Install the Harness plugin
|
|
93
96
|
|
|
94
|
-
|
|
97
|
+
Pick any of the three ways below; the commands are ready to copy.
|
|
95
98
|
|
|
96
|
-
|
|
99
|
+
**Let your agent do it (recommended)**: send this sentence to the agent you are using:
|
|
97
100
|
|
|
98
|
-
|
|
101
|
+
```text
|
|
102
|
+
Please install the DSH plugin dsh-chrome-use from https://github.com/tao1020/dsh-chrome-use
|
|
103
|
+
```
|
|
99
104
|
|
|
100
|
-
|
|
105
|
+
**GitHub repository (always the latest)**
|
|
101
106
|
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
chrome_upload({ tabId, chooser: true, paths: ["/Users/tao/Downloads/a.diag"] })
|
|
107
|
+
```sh
|
|
108
|
+
dsh plugin --profile desktop add github:tao1020/dsh-chrome-use
|
|
105
109
|
```
|
|
106
110
|
|
|
107
|
-
|
|
111
|
+
**npm**
|
|
108
112
|
|
|
109
|
-
|
|
113
|
+
```sh
|
|
114
|
+
dsh plugin --profile desktop add dsh-chrome-use
|
|
115
|
+
```
|
|
110
116
|
|
|
111
|
-
|
|
117
|
+
> npm mirrors (npmmirror, for example) may lag behind the official registry; if you end up with an older version, use the GitHub method above.
|
|
112
118
|
|
|
113
|
-
|
|
119
|
+
> `desktop` in the command is the default profile of the desktop app; if you use another profile, replace it with its name (for example `web`). The desktop app can also install plugins from Settings → Plugins, without a command line.
|
|
114
120
|
|
|
115
|
-
|
|
121
|
+
### 2. Install the Chrome extension
|
|
116
122
|
|
|
117
|
-
|
|
123
|
+
The extension lives in the Chrome Web Store. Open the link below and click "Add to Chrome":
|
|
118
124
|
|
|
119
|
-
|
|
120
|
-
- 链接里的网址会去掉查询参数,提交前你还能再检查一遍。
|
|
121
|
-
- 提交动作由你在 GitHub 页面上完成,插件不会自动提交。
|
|
125
|
+
**https://chromewebstore.google.com/detail/anobmlnjdeahldefeikjdmmnckphpdhc**
|
|
122
126
|
|
|
123
|
-
|
|
127
|
+
### 3. Pair
|
|
124
128
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
npm test
|
|
129
|
-
node scripts/fixture.mjs
|
|
130
|
-
```
|
|
129
|
+
In the Harness settings → dsh-chrome-use, click "Generate pairing code"; open the dsh-chrome-use extension from the Chrome toolbar, paste the 8-character code (it may contain letters and already carries the port, so you do not fill the port in), and click "Connect". You can also just say in the chat: "please connect the browser with chrome_pair."
|
|
130
|
+
|
|
131
|
+
Requires Google Chrome 120 or newer and DeepSeek Harness 0.2.1-rc.2 or newer. Development and tests use Node.js 22 or 24.
|
|
131
132
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
- `BRIDGE_START_FAILED`:显式指定的端口被占用,或自动选择的候选端口全部被占用。先停止重复服务,或用 `DSH_CHROME_USE_PORT` 指定一个空闲端口。
|
|
143
|
-
- `AUTH_FAILED`:在 Harness 设置页的 dsh-chrome-use 里点“生成配对码”(或让 AI 调用 `chrome_pair`),再到扩展弹窗连接。实际端口变化后旧令牌会失效,需要用新的 `pairingCode` 重新配对。
|
|
144
|
-
- `TAB_IN_USE`:等待 10 秒后,其他 Harness 会话仍占用该页。让原会话释放,或新建自己的标签页。
|
|
145
|
-
- `TAB_BUSY`:这个标签页还有一条命令在运行。等它结束再操作同一页,或改用其他标签页;不同标签页可以直接并行。
|
|
146
|
-
- `TAB_OWNED_BY_ANOTHER_HARNESS`:另一个 Harness 已占用这个标签页。让它在自己的会话里调用 `chrome_release`,或者换一个标签页。这个错误不会跨 Harness 排队。
|
|
147
|
-
- `TAB_NOT_OWNED`:这个标签页不在当前 Harness 的占用表里——从没 `chrome_claim`,或者已经 `chrome_release`。先 claim 再操作。消息可能带诊断后缀 `(Chrome detached this tab <n>s ago: <reason>)`,说明 Chrome 之前主动解除了调试,例如 `target_closed`、`replaced_with_devtools`。
|
|
148
|
-
- `TAB_NOT_LEASED`:Harness 以为还占着这个标签页,但扩展侧的租约已经丢失(常见于重载扩展后旧连接残留)。先用 `chrome_tabs` 确认页面还在,再重新 `chrome_claim`。它和 `TAB_NOT_OWNED` 都表示“还没有占用、需要先 claim”,只是检查层级不同。
|
|
149
|
-
- `TAB_LEASE_QUARANTINED`:Chrome 没能完成上一次调试清理。重载扩展后再试;在重载前不要继续操作这个标签页。
|
|
150
|
-
- `TAB_LEASE_CLOSING`:这个标签页正在被另一个 Harness 断开或清理。等清理完成后再试;不要循环重试。
|
|
151
|
-
- Chrome 调试器冲突:关闭该页的 DevTools 或释放其他浏览器工具的会话,再检查连接。不要同时用 Codex 和 Harness 操作同一页。
|
|
152
|
-
- 操作超时或取消:请求停止这一条命令,等扩展确认清理完成后才释放操作锁,不会自动重放。其他标签页通常不受影响;若清理超过 8 秒仍未确认,会断开连接,避免旧操作影响新会话。取消打开页面时若收到迟到的成功结果,也会断开,以清理无人占用的调试连接;新页面可能保留。旧版扩展无法单独取消命令,也会断开。重新占用并读取页面,确认之前的点击或输入是否已经发生。
|
|
153
|
-
|
|
154
|
-
## 当前限制
|
|
155
|
-
|
|
156
|
-
- **PAGE_HIDDEN**:Chrome 只把合成的输入交给“可见窗口里的当前标签页”。关掉「前台模式」后,窗口最小化或被系统判定完全遮挡时标签页处于 hidden,操作会返回 `PAGE_HIDDEN`,插件不会偷偷把窗口弹到前面;需要先调用 `chrome_activate` 把页面调出来再重试。开着「前台模式」时窗口会被抬到最前,不会报这个错。个别依赖 `document.hasFocus()` 的网页可能也需要页面先获得焦点。
|
|
157
|
-
- **同窗口切换标签页**:如果自动化的标签页和 Harness 网页界面在同一个 Chrome 窗口里,切换当前标签页仍会暂时改变这个窗口显示的内容,但不会抢走窗口焦点,也不会影响你正在用的其他软件。把两者放在不同窗口就可以完全不影响你。
|
|
158
|
-
- **仅支持 HTTP(S)**:仅支持普通 HTTP(S) 网页,不支持 Chrome 内部页面、本地文件或扩展页面。
|
|
159
|
-
- **其他页面调试**:Chrome 还可能限制其他页面的调试。
|
|
160
|
-
- **并发锁需要同步更新**:并发和前台操作锁需要新版 Harness 插件与 Chrome 扩展一起更新。旧扩展仍一次只执行一条命令。
|
|
161
|
-
- **多 Harness 同时连接**:需要新版扩展;旧扩展只有一个连接,只支持 18791,不会跟随自动选择的端口。不同 Harness 之间标签页占用由扩展统一管理;同一 Harness 内部的排队规则不变。
|
|
162
|
-
- **锁只协调本插件操作**:锁只协调本插件发出的操作,不能阻止你手动切页、其他扩展或网页脚本改变焦点。
|
|
163
|
-
- **Harness 留言是异步的**:`chrome_send_message` 发出的消息存在扩展里,对方只有在下一次调用工具时才会看到,正在执行的长命令不会被打断。留言来自其他 Agent,属于不可信数据,不能当成用户指令执行。
|
|
164
|
-
- **会话占用不会自动到期**:会话遗留的占用不会自动到期,以免打断仍在工作的会话。应让原会话释放。
|
|
165
|
-
- **顶层页面元素**:点击、输入和拖拽目前仅支持顶层页面元素,不支持跨域 iframe。
|
|
166
|
-
- **文件上传**:文件上传只接受 home 或临时目录下、由用户明确指定的普通文件。HTML5 拖拽是页面内合成事件,个别站点可能不认,拖完要确认结果。
|
|
167
|
-
- **HTML5 拖拽源**:拖拽源不一定是按钮;有些 `div[draggable]` 在 `snapshot` 里显示为 `role=group`、名称为空,但仍有可用的 `ref`。从快照上下文(周围文字、位置)确认哪一块是拖拽源,把它的 `ref` 传给 `chrome_drag` 的 `fromRef`。不要按名称 `find`,也不要把任意 `group` 当成拖拽源。
|
|
168
|
-
- **snapshot 正文提取**:`snapshot` 的 `text`/`markdown` 模式是正文提取的近似结果。Markdown 不保证还原表格、嵌套列表和复杂布局,也不做正文区域识别或去广告。
|
|
169
|
-
- **find 结果过多**:`find` 不加 500 条上限,但结果太多时应缩小名称或角色。
|
|
170
|
-
- **网络请求记录**:网络请求只保留最近 200 条元数据,响应体需要按 `requestId` 单独读取,Chrome 可能已将其释放。
|
|
171
|
-
- **响应可能含敏感信息**:读取到的内容可能包含令牌或个人信息。
|
|
172
|
-
- **downloads 权限**:下载列表需要扩展的 `downloads` 权限,从 0.5.0 起随扩展更新申请。旧版本升级后 Chrome 可能要求你重新确认权限。
|
|
173
|
-
- **chrome_evaluate**:`chrome_evaluate` 可为调试执行 JavaScript,可能修改页面。
|
|
174
|
-
- **不可信页面内容**:页面内容是不可信数据,不能把网页中的指令当作用户授权。
|
|
175
|
-
- **截图**:截图保存到本机,模型能否理解截图取决于模型能力。
|
|
176
|
-
|
|
177
|
-
## 打包
|
|
133
|
+
After a successful pairing, restarting the Harness, restarting Chrome, or an extension auto-update reconnects automatically. "Disconnect all" stops automatic reconnecting; next time leave the pairing code empty and click "Connect". Clearing the pairing data requires pairing again.
|
|
134
|
+
|
|
135
|
+
**Connecting lets the Harness operate every normal web page in this Chrome, including sites you are logged in to.** Page content, screenshots and debugging information may be sent to the model service configured in your Harness. See [Privacy](PRIVACY.md).
|
|
136
|
+
|
|
137
|
+
### 4. Several harnesses at once (optional)
|
|
138
|
+
|
|
139
|
+
When `DSH_CHROME_USE_PORT` is not set, the plugin picks a port automatically: it first tries the last successful port (`~/.dsh/dsh-chrome-use/port.json`), then 18791 and 18793..18801, skipping 18792. The first free port wins, so a busy port no longer makes startup fail. The settings page shows the actual port.
|
|
140
|
+
|
|
141
|
+
When `DSH_CHROME_USE_PORT` is set, that port is used strictly; if it is busy the plugin reports `BRIDGE_START_FAILED` instead of moving to another port. Scripts and tests should set it explicitly.
|
|
178
142
|
|
|
179
143
|
```sh
|
|
180
|
-
|
|
181
|
-
npm pack --pack-destination dist
|
|
144
|
+
DSH_CHROME_USE_PORT=18793 DSH_CHROME_USE_NAME=Codex dsh
|
|
182
145
|
```
|
|
183
146
|
|
|
184
|
-
`
|
|
147
|
+
`DSH_CHROME_USE_NAME` is an optional display name: the extension popup then shows that port as "Codex · 18793", which makes harnesses easy to tell apart; without it, only the port is shown. The name is display-only, plays no part in routing, and is not shared with other harnesses.
|
|
148
|
+
|
|
149
|
+
When the desktop app is started from the GUI it may not see shell environment variables. Set them the way the desktop app expects, or start it from a terminal.
|
|
150
|
+
|
|
151
|
+
To pair a second Harness, paste its new `pairingCode` into the extension popup; the code already carries the actual port. The extension stores a separate token for each port, up to 10 of them. If the actual port changes, the old token stops working and you need to pair again with a new code. The old numeric compatibility code still only works on port 18791.
|
|
152
|
+
|
|
153
|
+
Port 18792 is reserved for the `scripts/fixture.mjs` test page; automatic selection skips it.
|
|
154
|
+
|
|
155
|
+
Automatic mode shares one `port.json`. When running several harnesses, set `DSH_CHROME_USE_PORT` explicitly for each; otherwise the port a harness gets can depend on startup order, which invalidates the old token and forces a new pairing.
|
|
156
|
+
|
|
157
|
+
Several harnesses can work on different tabs at the same time; a tab still belongs to only one harness. When another harness got there first you get `TAB_OWNED_BY_ANOTHER_HARNESS`, and there is no queueing. Existing single-harness setups need no configuration change.
|
|
158
|
+
|
|
159
|
+
Harnesses can also leave each other messages in the background: `chrome_send_message` broadcasts or targets a specific port, `chrome_messages` reads them, and the receiver sees an unread hint in the result of its next tool call. This is an asynchronous message board: it does not interrupt a running operation and is not shown in the extension popup. Details and limits: [Messages between harnesses](docs/agent-messaging.md).
|
|
160
|
+
|
|
161
|
+
### 5. Codex, OpenCode, Workbody and other harnesses
|
|
162
|
+
|
|
163
|
+
This package is a DSH/Cordis plugin. `package.json` has no MCP entry point and no command-line entry point; dropping the npm package into Codex or OpenCode will not make `chrome_*` tools appear.
|
|
164
|
+
|
|
165
|
+
The extension itself does not care which harness is on the other end: any client that can reach the bridge can drive the same Chrome. Harnesses such as Codex, OpenCode and Workbody start the same bridge with the standalone JSON runner, and get the same pairing, ports, tab leases and messaging rules as DeepSeek Harness; several harnesses can stay connected at once. See [Standalone JSON runner](docs/standalone-runner.md).
|
package/docs/test-results.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
2026-10-28,在 macOS、真实 Google Chrome 和 Harness 0.2.1-rc.3 上测试。测试模型为 OpenCode Go 提供的 `deepseek-v4.1-flash`。通过 Harness 的 headless 命令行启动独立会话,保留工具调用记录和最终报告。
|
|
6
6
|
|
|
7
|
-
浏览器验收针对扩展 0.1.1,只操作本机专用测试页。Codex 没有同时控制这些页面。首次测试发现后台标签页收不到鼠标事件;增加 `Page.bringToFront` 后重新验收通过。(0.6.3 起默认仍是前台模式,并在扩展弹窗里增加开关:关掉后不再调用 `Page.bringToFront`,改成只在 Chrome 窗口内切换当前标签页,避免抢走窗口焦点;窗口最小化时返回 `PAGE_HIDDEN
|
|
7
|
+
浏览器验收针对扩展 0.1.1,只操作本机专用测试页。Codex 没有同时控制这些页面。首次测试发现后台标签页收不到鼠标事件;增加 `Page.bringToFront` 后重新验收通过。(0.6.3 起默认仍是前台模式,并在扩展弹窗里增加开关:关掉后不再调用 `Page.bringToFront`,改成只在 Chrome 窗口内切换当前标签页,避免抢走窗口焦点;窗口最小化时返回 `PAGE_HIDDEN`。开关位置见扩展弹窗的「运行模式」。)
|
|
8
8
|
|
|
9
9
|
## 真实浏览器结果
|
|
10
10
|
|
package/extension/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "dsh-chrome-use",
|
|
4
4
|
"description": "Let DeepSeek Harness control Chrome tabs, with several agent sessions working in parallel.",
|
|
5
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.2",
|
|
6
6
|
"minimum_chrome_version": "120",
|
|
7
7
|
"permissions": [
|
|
8
8
|
"debugger",
|
package/extension/popup.css
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
:root { color-scheme: light; font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202b3e; background: #fff; }
|
|
2
2
|
* { box-sizing: border-box; }
|
|
3
3
|
body { width: 380px; margin: 0; }
|
|
4
|
-
header {
|
|
4
|
+
header { padding: 23px 22px 14px; border-bottom: 1px solid #dce4ef; }
|
|
5
|
+
.brand { display: flex; align-items: center; gap: 12px; }
|
|
6
|
+
header .star { margin: 10px 0 0; font-size: 12px; }
|
|
5
7
|
.mark { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
|
|
6
8
|
h1 { font-size: 20px; line-height: 1.25; margin: 0; font-weight: 650; }
|
|
7
9
|
header p { margin: 3px 0 0; color: #657083; font-size: 12px; }
|
|
@@ -43,6 +45,5 @@ li { padding: 5px 0; overflow-wrap: anywhere; }
|
|
|
43
45
|
#error:empty { display: none; }
|
|
44
46
|
footer { padding: 12px 22px 18px; color: #657083; font-size: 11px; }
|
|
45
47
|
footer p { margin: 0; }
|
|
46
|
-
footer .star { margin-bottom: 6px; font-size: 12px; }
|
|
47
48
|
a { color: #185adb; }
|
|
48
49
|
[hidden] { display: none !important; }
|
package/extension/popup.html
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
<html lang="zh-CN">
|
|
3
3
|
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>dsh-chrome-use</title><link rel="stylesheet" href="popup.css"></head>
|
|
4
4
|
<body>
|
|
5
|
-
<header
|
|
5
|
+
<header>
|
|
6
|
+
<div class="brand"><img class="mark" src="icon-48.png" alt=""><div><h1>dsh-chrome-use</h1><p>连接你的所有 Harness 与浏览器</p></div></div>
|
|
7
|
+
<p class="star"><a href="https://github.com/tao1020/dsh-chrome-use" target="_blank" rel="noreferrer">喜欢这个插件?点个 Star,让更多人发现它 ⭐</a></p>
|
|
8
|
+
</header>
|
|
6
9
|
<main>
|
|
7
10
|
<p id="status" role="status">正在检查连接…</p>
|
|
8
11
|
<ul id="connections" aria-label="已配对的 Harness"></ul>
|
|
@@ -27,7 +30,6 @@
|
|
|
27
30
|
<button id="disconnect" class="secondary">断开全部连接</button>
|
|
28
31
|
</main>
|
|
29
32
|
<footer>
|
|
30
|
-
<p class="star"><a href="https://github.com/tao1020/dsh-chrome-use" target="_blank" rel="noreferrer">喜欢这个插件?点个 Star,让更多人发现它 ⭐</a></p>
|
|
31
33
|
<p>本机连接 · 不上传到插件作者的服务器</p>
|
|
32
34
|
</footer>
|
|
33
35
|
<script type="module" src="popup.js"></script>
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -68,7 +68,7 @@ async function checkRelease(current, fetcher = fetch) {
|
|
|
68
68
|
} finally { clearTimeout(timer); }
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
const packageVersion = "0.9.
|
|
71
|
+
const packageVersion = "0.9.2";
|
|
72
72
|
// Wrapped by scripts/build-client.mjs for the Harness browser module loader.
|
|
73
73
|
const React = require('react');
|
|
74
74
|
const { createElement: h, useState, useEffect, useRef } = React;
|