@lolkda/dsh-chrome-devtools-mcp 0.3.0 → 0.3.1
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 +8 -0
- package/README.md +10 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
- 设置页新增“启动 Chrome”卡片,使用相对路径 `.\chrome.exe` 启动远程调试。
|
|
6
|
+
- 提供 PowerShell、CMD 命令和复制按钮,不硬编码 Chrome 安装路径。
|
|
7
|
+
- 修正 SSH 用户名说明,明确为 DSH 主机账号,不是 Windows 登录用户。
|
|
8
|
+
- 新增 GitHub Actions CI 和 npm trusted publishing(OIDC)发布工作流。
|
|
9
|
+
- 安装说明改为 npm 包 `@lolkda/dsh-chrome-devtools-mcp`。
|
|
10
|
+
|
|
3
11
|
## 0.3.0
|
|
4
12
|
|
|
5
13
|
- 新增设置弹窗左侧“Chrome DevTools”页面。
|
package/README.md
CHANGED
|
@@ -17,7 +17,13 @@
|
|
|
17
17
|
## 安装
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
dsh plugin --profile web add
|
|
20
|
+
dsh plugin --profile web add @lolkda/dsh-chrome-devtools-mcp@0.3.1
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
也可以从本地 tarball 安装:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
dsh plugin --profile web add file:/path/to/lolkda-dsh-chrome-devtools-mcp-0.3.1.tgz
|
|
21
27
|
```
|
|
22
28
|
|
|
23
29
|
安装前请删除 profile 里手工写的 `chrome-devtools-mcp` 插入块,避免同一个 `id` 冲突。安装后重启 DSH。
|
|
@@ -138,13 +144,13 @@ Environment: 留空
|
|
|
138
144
|
npm logout
|
|
139
145
|
```
|
|
140
146
|
|
|
141
|
-
并在包设置里选择“Require 2FA and disallow tokens”。之后的版本通过 GitHub Release 和 OIDC 发布;`0.3.0`
|
|
147
|
+
并在包设置里选择“Require 2FA and disallow tokens”。之后的版本通过 GitHub Release 和 OIDC 发布;`0.3.0` 已通过本地 token 发布;`0.3.1` 开始通过 OIDC 发布。工作流遇到已存在的版本会自动跳过。
|
|
142
148
|
|
|
143
149
|
发布 tag 必须与 `package.json` 的版本一致,例如:
|
|
144
150
|
|
|
145
151
|
```bash
|
|
146
|
-
git tag v0.3.
|
|
147
|
-
git push origin v0.3.
|
|
152
|
+
git tag v0.3.1
|
|
153
|
+
git push origin v0.3.1
|
|
148
154
|
```
|
|
149
155
|
|
|
150
156
|
然后在 GitHub 创建 Release,工作流会执行测试并发布到 npm。
|