@vibedev-si/dsh-vibedev 0.3.4 → 0.3.5
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 +11 -0
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/client/client.js +720 -73
- package/lib/account/index.d.ts +21 -6
- package/lib/account/latency.d.ts +81 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +214 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,14 @@
|
|
|
37
37
|
|
|
38
38
|
「设置 → VibeDev 账号」里能看到当前账号、余额和 VibeDev 模型的数量,可以充值、查看用量明细、退出登录。登录会自动续期;退出后 VibeDev 的模型会从选择器里消失,DeepSeek 账号不受影响。
|
|
39
39
|
|
|
40
|
+
0.3.5 起,指针在侧边栏的 VibeDev 账号行上停留约半秒,会弹出余额卡片:
|
|
41
|
+
|
|
42
|
+
- **可用、冻结中、合计**:金额和 VibeDev 网关控制台的写法一致(两位小数,加千分位,例如 `¥99,976,091.91`)。视频、批量生图等任务提交时先把预估金额从可用余额转为「冻结中」,任务结束后结算;只有存在冻结金额时才显示这一行。
|
|
43
|
+
- **更新时间**:「12 秒前更新」,旁边有「刷新」。读取失败时写明「读取失败,显示的是 3 分钟前的余额」,不会把旧余额当成最新的。打开卡片或账号菜单时,如果显示的余额是 10 秒以前读到的,会重新读取一次。
|
|
44
|
+
- **网络延迟**:从本机到 VibeDev 网关的网络往返(例如「网络延迟 162 ms · 正常」:低于 150 ms 很快,150–300 ms 正常,300–800 ms 较慢,800 ms 以上很慢;连不上时写明超时、网络错误或 HTTP 状态),可以「重新测速」。测的是网络,不是模型的速度。只在打开卡片且上次测速已超过一分钟、或点「重新测速」时测量,不会定时运行。
|
|
45
|
+
|
|
46
|
+
侧边栏那一行改用简短写法:一万以上写成「¥9,997.6万」「¥1.23亿」(英文界面为 K / M / B),只舍不入;菜单和设置页仍显示完整金额。
|
|
47
|
+
|
|
40
48
|
0.2.3 起修复了重启后再次要求登录的问题:启动时凭据服务未就绪或临时读取失败,会在服务就绪后恢复,不把空结果永久缓存;正常关闭应用保留登录。过去写到本地备用文件的会话在宿主凭据服务可用后迁入,宿主已有记录优先,显式退出会清理备用会话。VibeDev 应用内置的插件需要随应用升级到修复版;单独安装在 DeepSeek Harness 中的插件可直接升级。
|
|
41
49
|
|
|
42
50
|
0.2.5 起撤回了 0.2.4 加在「设置 → VibeDev 账号」页尾的「创作工具」推荐行:那一行属于插件之间的推荐位,放在设置页会影响观感,等重新设计后再考虑。撤销只涉及这一处界面,账号、余额、模型列表、登录与已保存的剧本分镜作品都不受影响。
|
|
@@ -99,6 +107,7 @@
|
|
|
99
107
|
- 视频和音频只在成功时扣费,失败和取消的任务不扣。视频提交后无法取消。
|
|
100
108
|
- 同一次操作只会生成一次:提交没有得到确认时,会用同一个请求键向网关确认结果;查询或下载失败只会重新查询、刷新链接,不会重新提交。结果已经生成、但费用还在结算(`settlement_pending`)时,结果照常保存,不会重新生成。
|
|
101
109
|
- 余额在每次付费请求结束后(对话回复、生成、转写)马上重新读取,侧栏和设置页几秒内就能看到扣费后的余额。
|
|
110
|
+
- 视频、批量生图任务提交时,网关先把预估金额从可用余额转为冻结金额,任务结束后结算。余额卡片分别显示可用、冻结中与合计,设置页在有冻结金额时多显示一行;冻结金额的变化也会让页面及时更新。
|
|
102
111
|
- 插件设置里的「每次付费生成前先询问」默认关闭。打开后,每次付费的媒体请求之前都会先弹出确认,并显示预估金额。
|
|
103
112
|
|
|
104
113
|
## 设置
|
|
@@ -166,6 +175,8 @@ Everything is paid from your VibeDev balance; the DeepSeek account stays DeepSee
|
|
|
166
175
|
|
|
167
176
|
**Balance without the wait (0.3.2)**: the balance is read again right after a paid request ends (a chat reply, a generation, a transcription) and the account pages hear it through a long poll, so a charge shows within seconds instead of after up to two minutes. A page that already has a balance is answered at once while a newer one is read behind it; reads after charges are at least five seconds apart.
|
|
168
177
|
|
|
178
|
+
**Balance card (0.3.5)**: resting the pointer on the sidebar's VibeDev account row for half a second opens a card with the available balance, the amount on hold (a video or batch-image task holds its estimate from submission until it settles; shown only while something is held) and the total, written as the gateway console writes them (`Number(x).toFixed(2)` with thousands separators: `¥99,976,091.91`); when that balance was read, with Refresh — a read that fails says so and how old the balance shown is, never passing it off as fresh; and the network latency from the app to the VibeDev gateway (from the Host, the median of four timed `GET /health` requests after a warm-up one: under 150 ms fast, 150–300 normal, 300–800 slow, then very slow, or unreachable with the reason), with Test again — network distance, not model speed. Opening the card or the row's menu reads the balance again when the one shown is more than 10 s old; the latency is measured when the card opens and the last measurement is more than a minute old, or on request, never on a timer. The sidebar row shortens large balances (`¥9,997.6万`, `¥1.23亿`; `¥99.97M`, `¥12.34K` in English, cut rather than rounded up); the menu and Settings keep the full amount, and Settings adds a line for a hold. The account route gains `balance.frozen`, `readAt` and `readFailedAt` (a change in the hold wakes the long poll like a change in the balance), and `POST /api/dsh-vibedev/latency` (`?fresh=1` measures within the minute a result is kept) answers `medianMs`, `samplesMs`, `warmupMs` and `measuredAt`, or `error: { kind: 'timeout' | 'network' | 'http', status }`.
|
|
179
|
+
|
|
169
180
|
**Models**: the list comes from the VibeDev gateway for your account, so nothing is listed before you sign in; models appear right after, without a restart. Using a VibeDev model while signed out, or after the sign-in has ended, asks you to sign in; a used-up balance says so with the top-up link. These messages are separate from the DeepSeek account's. An expired access token is renewed and the request sent again, without repeating any output.
|
|
170
181
|
|
|
171
182
|
**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.
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.3.
|
|
1
|
+
THIRD-PARTY NOTICES · @vibedev-si/dsh-vibedev 0.3.5
|
|
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.
|