dsh-mcviseron-plugin 0.6.3 → 0.6.4
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 +6 -0
- package/docs/release.md +5 -4
- package/lib/appearance.js +3 -0
- package/lib/auto-review-fix.js +3 -0
- package/lib/index.js +2 -0
- package/lib/restart.js +3 -0
- package/lib/task-guard.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
- Restart 组件支持 macOS/Linux(当前仅 Windows 桌面版)。
|
|
12
12
|
- 把定时巡检任务 prompt 更新为当前单条目架构。
|
|
13
13
|
|
|
14
|
+
## [0.6.4] - 2026-10-23
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **v0.6.3 重启后插件不加载**:宿主 bundle 内联的 CJS `nodemailer` 在 ESM 里触发 `Dynamic require of "events" is not supported`,导致整个 `lib/index.js` 导入失败。为所有 host bundle 注入 `createRequire(import.meta.url)` 的 `require` shim,并在 `build.mjs` 构建后实际 `import()` 一次 `lib/index.js` 作为回归门禁。v0.6.3 的 npm 包已发布且仍含此缺陷,本版覆盖。
|
|
19
|
+
|
|
14
20
|
## [0.6.3] - 2026-10-22
|
|
15
21
|
|
|
16
22
|
### Added
|
package/docs/release.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# 发布 dsh-mcviseron-plugin 到 npm
|
|
2
2
|
|
|
3
|
-
## 当前状态(2026-10-
|
|
3
|
+
## 当前状态(2026-10-23)
|
|
4
4
|
|
|
5
|
-
- 包名 **`dsh-mcviseron-plugin` 已发布 0.6.
|
|
5
|
+
- 包名 **`dsh-mcviseron-plugin` 已发布 0.6.3**;**v0.6.3 的 host bundle 导入缺陷由 v0.6.4 修复**。
|
|
6
6
|
- npm 账号 `mcviseron` 已恢复正常,可执行首次手动发布。
|
|
7
7
|
- 本机全局 registry 指向 npmmirror,发布时必须显式指定 `--registry=https://registry.npmjs.org/`。
|
|
8
8
|
- 首次发布 **v0.6.1 已手动完成**;从 **v0.6.2** 起由 `.github/workflows/publish.yml` 通过 OIDC Trusted Publishing 发布,tag 推送即发布。
|
|
9
|
+
- **不要安装 0.6.3**:该版本的 host bundle 在启动时触发 `Dynamic require of "events"`,插件会被 DSH 判为加载失败。
|
|
9
10
|
|
|
10
11
|
## 首次发布(账号解冻后)
|
|
11
12
|
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
|
|
49
50
|
```powershell
|
|
50
51
|
npm view dsh-mcviseron-plugin version dist-tags.latest --registry=https://registry.npmjs.org/
|
|
51
|
-
curl.exe -sI https://registry.npmjs.org/dsh-mcviseron-plugin/-/dsh-mcviseron-plugin-0.6.
|
|
52
|
+
curl.exe -sI https://registry.npmjs.org/dsh-mcviseron-plugin/-/dsh-mcviseron-plugin-0.6.4.tgz | Select-Object -First 1
|
|
52
53
|
curl.exe -X PUT "https://registry.npmmirror.com/-/package/dsh-mcviseron-plugin/syncs"
|
|
53
54
|
```
|
|
54
55
|
|
|
@@ -76,7 +77,7 @@ Trusted Publisher 绑定后,**推送 `v*` tag 即直接发布**,不再需要
|
|
|
76
77
|
|
|
77
78
|
> `workflow_dispatch` 默认只做 `npm pack --dry-run`;要发布当前 `main` 的版本,取消勾选 `dry-run` 再运行。
|
|
78
79
|
>
|
|
79
|
-
> v0.6.
|
|
80
|
+
> 从 v0.6.3 起 tag 推送直接发布;v0.6.4 覆盖 v0.6.3 的启动导入缺陷。
|
|
80
81
|
|
|
81
82
|
## 回滚与故障
|
|
82
83
|
|
package/lib/appearance.js
CHANGED
package/lib/auto-review-fix.js
CHANGED
package/lib/index.js
CHANGED
package/lib/restart.js
CHANGED
package/lib/task-guard.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcviseron-plugin",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "DeepSeek Harness (DSH) master plugin — one package hosting MCviseron's DSH components as separate bundle entries: a time-based light/dark Appearance schedule, an Auto-review fix (shutdown preset guard + Chinese approval-reason translation), and a todo plan guard that keeps multi-stage work advancing, and one-shot after-session restart/close actions with task-aware waiting.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|