dsh-podwave 0.11.25 → 0.11.27
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 +22 -0
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/screenshot-detail.png +0 -0
- package/package.json +4 -1
- package/src/host.js +2 -2
- package/src/transcribe.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.11.27 — 2026-11-16
|
|
2
|
+
|
|
3
|
+
重新发布一版,让 `latest` 落在一个明确未被弃用的版本上;顺带给 npm 包页面补上 Issues 入口。
|
|
4
|
+
|
|
5
|
+
- **为什么要发这一版**:0.11.26 在 npm 上被误标成弃用 —— 本意是只弃用带个人信息的旧版本,结果网页上的「Deprecate package」把全部 32 个版本一并打上 `Package no longer supported.`,连 `latest` 也在内,包页因此挂着一条红色横幅。
|
|
6
|
+
- **旧版本为什么删不掉**:`npm unpublish` 在两条政策之间被堵死 —— bypass-2FA 的 granular token 执行该操作会报 `Granular access tokens that bypass two-factor authentication may not perform this action`,而普通 web token 又要求 6 位 OTP,账号当前只注册了安全密钥、产生不了 OTP。已在 https://www.npmjs.com/support 提交工单,请求官方删除 30 个含个人信息的版本并清掉 0.11.26 的弃用标记。
|
|
7
|
+
- 这一版**没有功能改动**,代码与 0.11.26 一致,只有版本号变化和下面这一条字段补充。
|
|
8
|
+
- `package.json` 补 `bugs` 字段,npm 包页侧栏会显示 Issues 链接,指向本仓库的 issue 列表。
|
|
9
|
+
|
|
10
|
+
## 0.11.26 — 2026-11-16
|
|
11
|
+
|
|
12
|
+
发布物清理个人隐私,并修掉 Windows CI 里 `windows-runtime` 那个跑红的 job。
|
|
13
|
+
|
|
14
|
+
- **截图全部重做**:删掉 10 张没人引用的截图(`screenshot.png`、`screenshot-setup.png`、`screenshot-player-detail.png`、`screenshot-dark.png`、`screenshot-light.png`、`screenshot-collapsed.png`、`screenshot-tasks.png`、`screenshot-xyz.png`、`screenshot-xyz-public.png`、`screenshot-0.2.png`),保留的 7 张裁掉 DSH 侧栏(`screenshot-live.png` 侧栏本来就收起了,无需裁)。之前的截图泄露了 DSH 侧栏里的会话标题、工作区名、账号昵称与头像,其中 `screenshot-setup.png` 和 `screenshot-player-detail.png` 还带着真实的 `/Users/<用户名>` 路径。**这些图此前已随公开仓库和 npm 包分发过**,本次连 git 历史一起重写清除(旧截图文件从全部 70 个提交、65 个 tag 里彻底移除,含 `/Users/<用户名>` 路径的 `docs/ARCHITECTURE.md` 历史版本也一并替换成占位)。
|
|
15
|
+
- 保留的截图统一重新导出为真 PNG:其中 `screenshot-detail.png`、`screenshot-notes.png` 之前后缀是 `.png`、内容其实是 JPEG(顺带解决了小字发糊)。
|
|
16
|
+
- `docs/ARCHITECTURE.md`、`docs/RELEASING.md` 里的本机绝对路径改成 `<本仓库路径>`、`<DSH profile>` 占位。
|
|
17
|
+
- 新增 `test/privacy.test.mjs`(5 个用例):源码与文档里不得出现具体本机家目录(`/Users/<名字>`、`/home/<名字>`、`C:\Users\<名字>`,`tom`/`someone` 等明显占位除外)、文档引用的图必须存在、`docs/` 不得留没人引用的截图、`screenshots.json` 条目必须存在、随包分发的截图必须是真 PNG(校验文件头)。
|
|
18
|
+
- 修 Windows CI 的 `windows-runtime` job:模型默认目录改到项目/工作区下的 `models/` 之后,workflow 仍写死 `$env:USERPROFILE\.podwave\models\...`,模型下到了新位置、sherpa 去老位置找,报 `Load model ... failed. File doesn't exist`。现在改为用 `node --input-type=module` 调 `modelsDir()` 现算路径。同两处写死已修:`test/ci/llama-check.mjs` 改用 `modelsDir()`,`src/transcribe.js` 的「模型未下载」提示不再点名 `~/.podwave/models`。
|
|
19
|
+
- 新增 `test/ci-model-path.test.mjs`(4 个用例)守住模型路径不再被写死。
|
|
20
|
+
- 顺带修掉 `api/health` 返回的版本号落后一版(一直是 `0.11.24`)。
|
|
21
|
+
- 测试总数 120(117 通过、3 个 Windows 专用跳过)。
|
|
22
|
+
|
|
1
23
|
## 0.11.25 — 2026-11-16
|
|
2
24
|
|
|
3
25
|
发布包补齐 DSH 插件展示元数据:装上之后在插件列表里显示中文名和图标,详情页有自己的介绍和配图。
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -135,4 +135,4 @@ library.js(媒体库) state.js(播放进度/文件夹)
|
|
|
135
135
|
1. `npm run build` 生成 `dist/client.js`。
|
|
136
136
|
2. 更新 `package.json`、`CHANGELOG.md`、README。
|
|
137
137
|
3. `npm pack` 产物校验后 `git commit` → `git tag vX.Y.Z` → `gh release create vX.Y.Z dsh-podwave-X.Y.Z.tgz`。
|
|
138
|
-
4. 桌面端:`plugin_manager` remove + install `file
|
|
138
|
+
4. 桌面端:`plugin_manager` remove + install `file:<本仓库路径>`(或刷新 DSH)。
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-podwave",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.27",
|
|
4
4
|
"description": "DeepSeek Harness 插件:本地优先的播客播放器 + 转写 + 双语字幕 + 字幕翻译。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/host.js",
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
"url": "git+https://github.com/Watchcats211/dsh-podwave.git"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/Watchcats211/dsh-podwave#readme",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Watchcats211/dsh-podwave/issues"
|
|
45
|
+
},
|
|
43
46
|
"scripts": {
|
|
44
47
|
"build": "node build.mjs",
|
|
45
48
|
"prepack": "npm run build",
|
package/src/host.js
CHANGED
|
@@ -509,7 +509,7 @@ async function route(ctx, req, res) {
|
|
|
509
509
|
return json(res, 200, {
|
|
510
510
|
ok: true,
|
|
511
511
|
generatedAt: new Date().toISOString(),
|
|
512
|
-
version: '0.11.
|
|
512
|
+
version: '0.11.27',
|
|
513
513
|
platform,
|
|
514
514
|
engine: recommendEngine(platform),
|
|
515
515
|
paths: {
|
|
@@ -538,7 +538,7 @@ async function route(ctx, req, res) {
|
|
|
538
538
|
}
|
|
539
539
|
if ((method === 'GET' || method === 'HEAD') && routePath === 'api/health') {
|
|
540
540
|
await mediaReady
|
|
541
|
-
return json(res, 200, { ok: true, app: 'podwave', version: '0.11.
|
|
541
|
+
return json(res, 200, { ok: true, app: 'podwave', version: '0.11.27', mediaBase, transcribe: runtimeInfo(), diarize: diarizeInfo(), translate: publicConfig() })
|
|
542
542
|
}
|
|
543
543
|
if (method === 'GET' && routePath === 'api/state') {
|
|
544
544
|
const state = getState()
|
package/src/transcribe.js
CHANGED
|
@@ -1047,7 +1047,7 @@ function buildSegments(raw, words) {
|
|
|
1047
1047
|
export async function startTranscription(episode, { force = false, resume = false } = {}) {
|
|
1048
1048
|
const info = runtimeInfo()
|
|
1049
1049
|
if (!info.installed) throw Object.assign(new Error('转写运行环境未安装(~/.podwave/runtime)'), { status: 503 })
|
|
1050
|
-
if (!info.modelReady) throw Object.assign(new Error('
|
|
1050
|
+
if (!info.modelReady) throw Object.assign(new Error('转写模型未下载,请在设置里安装或检查模型目录'), { status: 503 })
|
|
1051
1051
|
|
|
1052
1052
|
const key = jobId(episode.id)
|
|
1053
1053
|
const currentJob = getJob(key)
|