@vibedev-si/dsh-vibedev 0.8.0 → 0.8.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/README.md +25 -7
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/lib/index.js +2 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,19 +10,28 @@
|
|
|
10
10
|
|
|
11
11
|
本插件由 `dsh-media` 改名而来,见下面的「从 dsh-media 升级」。
|
|
12
12
|
|
|
13
|
+
## 0.8.1 用户可见更新
|
|
14
|
+
|
|
15
|
+
回复输出到一半时,网关到上游模型服务的连接断开、超时或上游临时出错(5xx、限流),现在和输出开始之前一样按退避自动重试,不再停下来显示「回复暂时中断,已收到的内容已保留。请确认后继续。」(0.6.0 到 0.8.0 会这样)。重试会把这一步从头重新生成:已经显示的半截会清掉,对话里出现一行重试提示和失败原因;这一轮里之前已经完成的步骤和工具结果都保留。所有重试都失败时,对话里显示真实的失败原因。
|
|
16
|
+
|
|
17
|
+
网关注明无法确认上游是否已经执行、不要自动重发的失败(`SESSION_EXECUTION_UNCONFIRMED`)不会自动重试,以免重复执行、重复扣费。旧版网关用 503 返回这种失败,以前会被当作服务端错误自动重发。
|
|
18
|
+
|
|
13
19
|
## 0.8.0 用户可见更新
|
|
14
20
|
|
|
15
21
|
侧边栏的「VibeDev」现在只有账户页面,不再有「插件」分区。浏览、安装和更新插件请到侧边栏的「插件」页,已安装的插件在那里更新。在 VibeDev 应用里,VibeDev 出品的插件列在「发现」里;在 DeepSeek Harness 里按包名安装。
|
|
16
22
|
|
|
17
|
-
本插件不再附带 VibeDev 生态。0.
|
|
23
|
+
本插件不再附带 VibeDev 生态。0.5.0 到 0.7.3 的安装包里带有一份生态 0.2.0,并在没有单独安装生态时自动启用它;从 0.8.0 起,安装本插件只安装本插件。你单独安装过的生态仍然可用:它不再出现在 VibeDev 页面里,而是回到自己的侧栏入口「VibeDev 生态」,也可以在「插件」页卸载。
|
|
24
|
+
|
|
25
|
+
从 0.5.0 到 0.7.3 升级时,请在「插件」页更新本插件。如果是通过旧版本附带的那份生态来更新的,更新完成后这份生态会一起消失,因为 0.8.0 不再附带它;这是预期结果,之后在「插件」页管理插件。
|
|
18
26
|
|
|
19
27
|
登录、充值、用量和影视工作台里的账户入口不变。
|
|
20
28
|
|
|
21
|
-
在列出搜索和抓取提供方的设置页里,本插件的提供方显示为「VibeDev」,不再显示内部标识 `vibedev-gateway
|
|
29
|
+
在列出搜索和抓取提供方的设置页里,本插件的提供方显示为「VibeDev」,不再显示内部标识 `vibedev-gateway`。这需要 DeepSeek Harness 0.2.2-rc.2 或更新的宿主;更早的宿主仍显示内部标识。
|
|
22
30
|
|
|
23
31
|
**给其他插件的作者**:浏览器端的 `vibedevCenter` 服务和 `vibedev.center.section` 插槽已移除,不能再往 VibeDev 页面里挂分区。Host 端打开账户页面的 `vibedevMedia.openAccountCenter({ page })` 不变。
|
|
24
32
|
|
|
25
33
|
## 0.7.3 用户可见更新
|
|
34
|
+
|
|
26
35
|
「消息」页和账户中心其他页面一样居中显示,宽窗口里不再贴着左边。
|
|
27
36
|
|
|
28
37
|
VibeDev 开着时发布的 `popup` 公告,现在会在下一次读取消息时弹出:每 5 分钟读一次,窗口回到前台时也会读,不用等下次重启。仍然是一次启动最多弹一次:关掉一条后,之后的 `popup` 公告留到下次启动。
|
|
@@ -178,7 +187,7 @@ VibeDev 开着时发布的 `popup` 公告,现在会在下一次读取消息时
|
|
|
178
187
|
- 分组和倍率只影响显示:请求、历史记录和模型选择使用网关下发的完整模型 ID,不会去掉 `relay-` 或倍率后缀。不同倍率和无倍率的同名模型保持独立;价格和扣费仍以网关为准,插件不会按名称再乘一次倍率。中转模型保留目录声明的上下文、图片输入和推理档位,并按原模型族选择协议。原来已保存的普通路由与中转模型选择仍可解析。
|
|
179
188
|
- 没登录就用了 VibeDev 的模型,或登录已失效时,对话里会提示到侧边栏或设置里登录;余额不足时会提示并给出充值链接。这些提示和 DeepSeek 账号的登录、充值提示是分开的。
|
|
180
189
|
- 访问令牌过期时插件会自动续期并重发请求,不会重复输出。
|
|
181
|
-
- 网关到上游模型服务的连接中途断开(例如 `upstream_http2_stream_error`、上游响应流被中断)属于可恢复的传输故障,会和超时、5xx
|
|
190
|
+
- 网关到上游模型服务的连接中途断开(例如 `upstream_http2_stream_error`、上游响应流被中断)属于可恢复的传输故障,会和超时、5xx、限流一样按退避自动重试,不再直接判定成一次不可重试的失败;回复已经输出一部分时也一样(0.8.1 起)。重试会重新发起该次请求,已经输出的内容不会续写。网关注明不要自动重发的失败(`SESSION_EXECUTION_UNCONFIRMED`)不重试。
|
|
182
191
|
- 0.3.7 起,网关新上架或下架的模型不用退出重新登录就能看到:指针停在侧边栏的 VibeDev 账号行上打开余额卡片、打开账号菜单(显示的余额超过 10 秒时),以及点「刷新」或打开「设置 → VibeDev 账号」时,插件在重新读取余额的同时也重新读取模型列表,最多每分钟一次;余额照常立刻显示,不等模型列表。模型有变化时,选择器里的「VibeDev」组和设置页的「N 个模型」随即更新。没人操作时,仍按原来的方式在启动、登录或切换账号时以及每 30 分钟(`catalogRefreshMinutes`)读取一次,不会定时轮询。
|
|
183
192
|
|
|
184
193
|
## Claude 提示词缓存(0.3.10)
|
|
@@ -310,7 +319,7 @@ VibeDev 开着时发布的 `popup` 公告,现在会在下一次读取消息时
|
|
|
310
319
|
## 从 dsh-media 升级
|
|
311
320
|
|
|
312
321
|
- 先在插件页停用 `dsh-media`,再安装 `@vibedev-si/dsh-vibedev`,然后卸载 `dsh-media`,完全退出再打开应用。两个不能同时启用:它们注册同名的工具,后加载的那个会启动失败。
|
|
313
|
-
- 以前由 VibeDev
|
|
322
|
+
- 以前由 VibeDev 插件中心代做「一键切换」。本插件不再附带插件中心,所以现在按上面的顺序手动做。
|
|
314
323
|
- 登录状态、进行中的视频和音频任务都会保留,不用重新登录。插件页里的媒体设置(花费确认、保存目录、默认模型)会回到默认值,需要的话重新设一下。
|
|
315
324
|
|
|
316
325
|
## 隐私
|
|
@@ -359,19 +368,28 @@ npm run build
|
|
|
359
368
|
|
|
360
369
|
## English
|
|
361
370
|
|
|
371
|
+
### What changes in 0.8.1
|
|
372
|
+
|
|
373
|
+
When the connection from the gateway to the upstream model service breaks, times out, or the upstream fails temporarily (5xx, rate limit) after a reply has started, the request is now retried with backoff, as it is before any output, instead of stopping with 「回复暂时中断,已收到的内容已保留。请确认后继续。」 as releases 0.6.0 to 0.8.0 did. A retry generates that step again from its beginning: the partial reply on screen is cleared and the conversation shows a retry row with the failure reason; earlier steps of the turn and their tool results stay. When every retry fails, the conversation shows the real failure reason.
|
|
374
|
+
|
|
375
|
+
A failure the gateway marks as an execution it cannot confirm and must not resubmit automatically (`SESSION_EXECUTION_UNCONFIRMED`) is never retried automatically, so the execution and its charge are not repeated. An older gateway answered it with 503, which used to be resent as a server failure.
|
|
376
|
+
|
|
362
377
|
### What changes in 0.8.0
|
|
363
378
|
|
|
364
379
|
The VibeDev sidebar entry now holds the account pages only; its Plugins section is gone. Browse, install and update plugins on the sidebar's Plugins page, where installed plugins update. In the VibeDev app, VibeDev's own plugins are listed under Discover; in DeepSeek Harness they are installed by package name.
|
|
365
380
|
|
|
366
|
-
This plugin no longer brings the VibeDev Ecosystem with it. Releases 0.
|
|
381
|
+
This plugin no longer brings the VibeDev Ecosystem with it. Releases 0.5.0 to 0.7.3 carried a copy of Ecosystem 0.2.0 and switched it on when no separately installed ecosystem was present; from 0.8.0, installing this plugin installs this plugin alone. An ecosystem you installed yourself keeps working: it no longer appears inside the VibeDev page and returns to its own sidebar entry, VibeDev Ecosystem. It can be removed on the Plugins page.
|
|
382
|
+
|
|
383
|
+
When updating from 0.5.0 to 0.7.3, update this plugin on the Plugins page. If you update through the ecosystem copy that the older release brought with it, that copy is gone once the update finishes, because 0.8.0 no longer brings it; this is the expected result, and plugins are managed on the Plugins page from then on.
|
|
367
384
|
|
|
368
385
|
Sign-in, top-up, usage and the account entries in the film workbench are unchanged.
|
|
369
386
|
|
|
370
|
-
On a settings page that lists search and fetch providers, this plugin's providers appear as "VibeDev" instead of the internal id `vibedev-gateway`.
|
|
387
|
+
On a settings page that lists search and fetch providers, this plugin's providers appear as "VibeDev" instead of the internal id `vibedev-gateway`. This needs a host of DeepSeek Harness 0.2.2-rc.2 or later; an earlier host still shows the id.
|
|
371
388
|
|
|
372
389
|
**For authors of other plugins**: the browser-side `vibedevCenter` service and the `vibedev.center.section` slot are removed, so a section can no longer be mounted into the VibeDev page. The Host-side `vibedevMedia.openAccountCenter({ page })` that opens an account page is unchanged.
|
|
373
390
|
|
|
374
391
|
### What changes in 0.7.3
|
|
392
|
+
|
|
375
393
|
The Messages page is centred like the other account-center pages instead of hugging the left edge of a wide window.
|
|
376
394
|
|
|
377
395
|
A `popup` announcement published while VibeDev is open now pops on the next read of the mailbox — every five minutes, and whenever the window comes back — instead of waiting for the next launch. It still interrupts at most once per launch: after one is closed, any further `popup` message waits for the next launch.
|
|
@@ -532,7 +550,7 @@ For explicit joint acceptance, run node scripts/verify-fetch-joint.mjs with one
|
|
|
532
550
|
|
|
533
551
|
**Settings**: open "VibeDev Account & Models" on the Plugins page for the spending confirmation, the output folder and the default media models. `displayName`, `relayDisplayName` (the relay group label, default 中转), `preferredModels`, `openBrowserOnSignIn`, `catalogRefreshMinutes`, `client` (the client name sent with the sign-in, default `vibedev-plugin`), `primary` (show the account as the app's main account; off by default, on in the VibeDev app) and `gatewayFetch` (register the gateway fetch provider `vibedev-gateway`; off by default, and the `web` row's `fetchProvider` still selects it) are set in the profile's `cordis.patch.yml` row `dsh-vibedev`.
|
|
534
552
|
|
|
535
|
-
**Upgrading from dsh-media**: disable `dsh-media` first, install `@vibedev-si/dsh-vibedev`, uninstall `dsh-media` and restart the app fully. The VibeDev Plugin Center used to do this switch for you;
|
|
553
|
+
**Upgrading from dsh-media**: disable `dsh-media` first, install `@vibedev-si/dsh-vibedev`, uninstall `dsh-media` and restart the app fully. The VibeDev Plugin Center used to do this switch for you; this plugin no longer brings it, so the steps are now done by hand. The two cannot both be enabled: they register the same tool names, and whichever loads second fails to start. The sign-in and running video and audio tasks carry over; the media settings go back to their defaults.
|
|
536
554
|
|
|
537
555
|
**Privacy**: prompts and reference media are sent to the VibeDev gateway, which forwards them to the model provider. The plugin's own sign-in is kept in the DeepSeek Harness credential store, and task records under `dsh-media/` in the DeepSeek Harness data folder (the former name, kept so an upgrade loses nothing).
|
|
538
556
|
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.8.
|
|
1
|
+
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.8.1
|
|
2
2
|
|
|
3
3
|
This package bundles code from the projects below. Each is used under the licence that
|
|
4
4
|
follows its name; the licence texts are reproduced as the projects ship them.
|
package/lib/index.js
CHANGED
|
@@ -6170,6 +6170,7 @@ function classifyPiAiError(message) {
|
|
|
6170
6170
|
if (/\b429\b|rate.?limit/i.test(message)) return "RATE_LIMIT";
|
|
6171
6171
|
if (/\b413\b|failed to buffer the request body:\s*length limit exceeded|payload too large|request body too large/i.test(message)) return "INVALID_REQUEST";
|
|
6172
6172
|
if (/\b400\b|invalid.?request/i.test(message)) return "INVALID_REQUEST";
|
|
6173
|
+
if (/\bdo not (?:automatically )?resubmit\b/i.test(message) || /"retryable"\s*:\s*false/.test(message) && !/"submission_state"\s*:\s*"not_submitted"/.test(message)) return "PI_AI_ERROR";
|
|
6173
6174
|
if (/\b5\d\d\b/.test(message)) return "SERVER";
|
|
6174
6175
|
if (/\btime(?:d)?\s*out\b|timeout/i.test(message)) return "TIMEOUT";
|
|
6175
6176
|
if (/stream ended (?:before|without)\b/i.test(message)) return "TRANSPORT";
|
|
@@ -6745,7 +6746,6 @@ var GatewayAdapter = class extends LlmAdapter {
|
|
|
6745
6746
|
return;
|
|
6746
6747
|
}
|
|
6747
6748
|
const chunk = result.value;
|
|
6748
|
-
const hadOutput = yielded;
|
|
6749
6749
|
if (!yielded) {
|
|
6750
6750
|
if (chunk.type === "usage") {
|
|
6751
6751
|
held.push(chunk);
|
|
@@ -6760,18 +6760,7 @@ var GatewayAdapter = class extends LlmAdapter {
|
|
|
6760
6760
|
for (const early of held.splice(0)) yield early;
|
|
6761
6761
|
yielded = true;
|
|
6762
6762
|
}
|
|
6763
|
-
|
|
6764
|
-
yield hadOutput && mapped.type === "finish" && mapped.reason.kind === "error" && /^(?:TRANSPORT|TIMEOUT|SERVER|RATE_LIMIT|STREAM_CLOSED)$/.test(mapped.reason.failure.code) ? {
|
|
6765
|
-
...mapped,
|
|
6766
|
-
reason: {
|
|
6767
|
-
...mapped.reason,
|
|
6768
|
-
failure: {
|
|
6769
|
-
...mapped.reason.failure,
|
|
6770
|
-
code: "VIBEDEV_STREAM_INTERRUPTED",
|
|
6771
|
-
message: "回复暂时中断,已收到的内容已保留。请确认后继续。"
|
|
6772
|
-
}
|
|
6773
|
-
}
|
|
6774
|
-
} : mapped;
|
|
6763
|
+
yield this.accountFailure(chunk, response, snapshot.origin);
|
|
6775
6764
|
}
|
|
6776
6765
|
} finally {
|
|
6777
6766
|
if (!exhausted) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibedev-si/dsh-vibedev",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "VibeDev 账号与模型:在 DeepSeek Harness 里登录 VibeDev,与 DeepSeek 账号并存,使用 VibeDev 网关的模型(Claude、GPT 等),并生成图片、视频、音乐和播客 · VibeDev account and models for DeepSeek Harness: sign in to VibeDev next to the DeepSeek account and use the VibeDev gateway's models (Claude, GPT and more), plus image, video, music and podcast generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|