@vibedev-si/dsh-vibedev 0.3.10 → 0.3.11

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 CHANGED
@@ -98,6 +98,23 @@
98
98
 
99
99
  这是独立账号插件更新,无需重新打包桌面版。首次从桌面内置的账号插件升级时,需要完全退出并重新启动 VibeDev 一次(包括托盘);之后修改并保存该 TTL 设置即时用于后续请求,不需要再重启。
100
100
 
101
+ ## 生成进度(0.3.11)
102
+
103
+ 网关在视频、音频任务的查询回包(以及提交回包)里给出进度信息时,插件会读取并转交给影视工作台和对话 Agent:
104
+
105
+ | 网关字段 | 插件的处理 |
106
+ | --- | --- |
107
+ | `timing.phase` | 归一为 `pending_submit / queued / generating / archiving / done`;兼容 `submitting`、`waiting`、`running`、`processing`、`in_progress`、`uploading`、`finalizing`、`completed`、`succeeded` 等别名 |
108
+ | `timing.estimated_remaining_seconds`、`remaining_p90_seconds` | 以收到回包的本机时间为起点,换算成预计完成时刻 `estimatedCompletionAt`、`p90CompletionAt` |
109
+ | `timing.started_at`、`phase_started_at` | 按 `server_time` 与本机时间的差值换算到本机时钟;没有 `server_time` 时按零偏差 |
110
+ | `timing.estimate_source`、`confidence`、`progress` | 原样保留;`progress` 接受 0–1,大于 1 且不超过 100 时按百分比换算 |
111
+ | `queue` | 排队位置 `position`,或只知道范围时的 `position_min`、`position_max` |
112
+ | `next_poll_after_seconds` | 下次查询的间隔,限制在 2–30 秒;没有时沿用原来的查询节奏 |
113
+
114
+ 任一字段类型不对、为负数或是不认识的取值,只丢弃该字段,任务照常进行。`vibedevMedia` 的任务视图新增 `stage`(`submitting / queued / generating / saving`)、`timing`、`queue`;任务结束(完成、失败、丢失)后不再带这三项。`media_tasks` 和后台任务的结果文字会写出阶段、排队位置和粗略的剩余时间(“不到 1 分钟”“约 N 分钟”,超过预计时写“比预计慢”;网关标为低可信度的估算不写)。
115
+
116
+ 网关没有这些字段时,插件的查询节奏、记录和文字输出都和 0.3.10 一样。这是独立的账号插件更新,不需要重新打包桌面版。
117
+
101
118
  ## 网页搜索
102
119
 
103
120
  插件注册了一个网页搜索提供方 `vibedev-gateway`,用你的 VibeDev 登录调用网关的搜索。注册不等于启用:DeepSeek Harness 默认仍用自己的搜索;想改用 VibeDev 的,在配置文件里把 `web` 一行的 `searchProvider` 设为 `vibedev-gateway`(VibeDev 应用默认就是这样)。搜索本身不收费,但余额为零时网关会拒绝所有请求,包括搜索。
@@ -229,6 +246,8 @@ Everything is paid from your VibeDev balance; the DeepSeek account stays DeepSee
229
246
 
230
247
  **Claude prompt cache lifetime (0.3.10)**: on Plugins → VibeDev Account & Models, the separate Claude prompt caching section offers Default, 5 minutes and 1 hour. Save stages this as the live `claudeCacheTtl` setting (`default`, `5m`, `1h`). Default preserves the 0.3.9 request: existing ephemeral markers omit `ttl`; it does not disable caching. Explicit choices add `ttl: "5m"` or `ttl: "1h"` only to existing Anthropic cache breakpoints for Claude over Messages, in both the VibeDev and Relay groups. No new breakpoint is created. Tool inputs, JSON schemas, historical messages, thinking signatures, exact model IDs and non-Anthropic caching are unchanged. Saved changes apply to future requests; a prepared or started request and its credential-renewal retry keep the captured choice. Unsaved changes are discarded when the page closes. Model and gateway support for standard Anthropic `cache_control.ttl` is required, including correct forwarding and billing; no new catalog field is needed. The lifetime requests retention rather than guaranteeing a hit. One-hour writes may cost more; usage and actual charges come from the gateway, with no local repricing. A rejected lifetime keeps the original request error, with no silent fallback or resubmission at a shorter TTL; select Default or 5 minutes in settings. This is a plugin-only update. Upgrading the application's built-in account plugin requires one complete app restart (including the tray); subsequent TTL saves do not require a restart.
231
248
 
249
+ **Generation progress (0.3.11)**: when a video or audio task answer (polls, and the submission's answer) carries progress facts, the plugin reads them and hands them to the film workbench and the agent. `timing.phase` is normalized to `pending_submit`, `queued`, `generating`, `archiving` or `done`, accepting the aliases `submitting`, `waiting`, `running`, `processing`, `in_progress`, `uploading`, `finalizing`, `completed` and `succeeded`. `estimated_remaining_seconds` and `remaining_p90_seconds` become the completion times `estimatedCompletionAt` and `p90CompletionAt`, anchored to the local time the answer arrived; `started_at` and `phase_started_at` are moved onto the local clock by the difference to `server_time` (none when it is missing). `estimate_source`, `confidence` and `progress` are kept (`progress` 0–1, a value above 1 up to 100 read as a percentage); `queue` gives `position`, or `position_min`/`position_max` when only a range is known; `next_poll_after_seconds` sets the next query, kept within 2–30 s, and without it the usual rhythm applies. A field of the wrong type, a negative number or an unknown value is dropped on its own and never fails the task. `vibedevMedia` task views gain `stage` (`submitting`, `queued`, `generating`, `saving`), `timing` (epoch milliseconds on the local clock) and `queue`; finished tasks (completed, failed, lost) carry none of them. `media_tasks` and background job results state the stage, queue position and coarse time left ("under 1 min", "about N min", "slower than estimated" once the estimate has passed; low-confidence estimates are not stated), in English with the Chinese wording. Without these fields, polling, records and text are exactly as in 0.3.10. Plugin-only update; the desktop app is not rebuilt.
250
+
232
251
  **Web search**: the plugin registers the web search provider `vibedev-gateway`, signed in with your VibeDev account. Registering does not select it: DeepSeek Harness keeps its own search unless the profile sets `searchProvider: vibedev-gateway` on the `web` row (the VibeDev app does). Searching is free, but the gateway refuses every request, searches included, while the balance is zero.
233
252
 
234
253
  **Media tools**: `image_generate`, `video_generate` (runs as a background job), `audio_generate` (music, a podcast or speech), `audio_transcribe` (a multipart file upload; languages and limits as each model declares), `media_models`, `media_tasks` and `media_account`. Reference images, videos and audio, and first and last frames, can each be a workspace path, an http(s) link, or `chat:1` for the most recent matching file you attached. A request the model cannot serve is refused before anything is uploaded or charged.
@@ -1,4 +1,4 @@
1
- THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.3.10
1
+ THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.3.11
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.d.ts CHANGED
@@ -26,6 +26,7 @@ import { type ClaudeCacheTtl } from './llm/cache-ttl.js';
26
26
  export { MediaError } from './gateway/errors.js';
27
27
  export { MediaHostService } from './service.js';
28
28
  export type { HostTarget, MediaOutputView, MediaTaskView } from './service.js';
29
+ export type { TaskPhase, TaskQueue, TaskStage, TaskTiming } from './tasks/progress.js';
29
30
  export type { AudioForm, AudioFormField, AudioMakeKind, AudioRequest } from './audio/request.js';
30
31
  export type { AudioQuote, Bilingual, VideoLegacyEstimate, VideoQuote, VideoQuoteReason, VideoQuoteRequest, VideoQuoteRule, VideoQuoteUnavailable, VideoTokenEstimate, } from './pricing.js';
31
32
  export type { ImageRequest } from './tools/image.js';