@vibedev-si/dsh-vibedev 0.3.5 → 0.3.7
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 +35 -4
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/client/client.js +619 -13
- package/lib/account/index.d.ts +39 -3
- package/lib/{anthropic-messages-KOS0z8Fy.js → anthropic-messages-BgIfgjNt.js} +11 -11
- package/lib/audio/request.d.ts +5 -0
- package/lib/feedback/client-info.d.ts +51 -0
- package/lib/feedback/index.d.ts +46 -0
- package/lib/feedback/observe.d.ts +43 -0
- package/lib/feedback/queue.d.ts +110 -0
- package/lib/feedback/recent-errors.d.ts +59 -0
- package/lib/feedback/routes.d.ts +31 -0
- package/lib/feedback/uploader.d.ts +131 -0
- package/lib/feedback/wire.d.ts +128 -0
- package/lib/gateway/assets.d.ts +38 -5
- package/lib/gateway/catalog.d.ts +11 -0
- package/lib/gateway/errors.d.ts +10 -3
- package/lib/gateway/http.d.ts +12 -0
- package/lib/index.d.ts +5 -1
- package/lib/index.js +1842 -375
- package/lib/llm/index.d.ts +6 -2
- package/lib/{node-vkDR3GtK.js → node-Br-0fshF.js} +2 -2
- package/lib/{node-Cujw_a4_.js → node-D58f7Ea6.js} +5 -5
- package/lib/video/plan.d.ts +17 -2
- package/package.json +4 -1
package/lib/llm/index.d.ts
CHANGED
|
@@ -6,8 +6,12 @@
|
|
|
6
6
|
* The catalog comes from the gateway (`GET /v1/models`) with the credential
|
|
7
7
|
* requests use, so nothing is listed before a sign-in: the catalog is per
|
|
8
8
|
* account. It is read at start, on every sign-in, sign-out or account change,
|
|
9
|
-
* and every `catalogRefreshMinutes
|
|
10
|
-
*
|
|
9
|
+
* and every `catalogRefreshMinutes` (30 by default) — what keeps the pickers
|
|
10
|
+
* current when nobody opens anything — and, at most once a minute, when an
|
|
11
|
+
* account page reads the account fresh (the balance card or the account menu
|
|
12
|
+
* opening on a balance older than 10 s, 刷新, Settings opening; see
|
|
13
|
+
* account/index.ts). A changed catalog republishes the route so pickers update
|
|
14
|
+
* without a restart.
|
|
11
15
|
*
|
|
12
16
|
* Inside the VibeDev app the host account already serves these models on the
|
|
13
17
|
* app's own account channel; when the credential comes from the host account
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as __exportAll } from "./transform-messages-Csvf2ItW.js";
|
|
2
2
|
import * as fs from "node:fs";
|
|
3
|
-
import * as crypto from "node:crypto";
|
|
4
3
|
import * as path from "node:path";
|
|
4
|
+
import * as crypto from "node:crypto";
|
|
5
5
|
import * as stream from "node:stream";
|
|
6
6
|
import * as child_process from "node:child_process";
|
|
7
7
|
import * as util from "node:util";
|
|
@@ -22,4 +22,4 @@ var node_exports = /* @__PURE__ */ __exportAll({
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { path as a, node_exports as i, crypto as n, stream as o, fs as r, util as s, child_process as t };
|
|
24
24
|
|
|
25
|
-
//# sourceMappingURL=node-
|
|
25
|
+
//# sourceMappingURL=node-Br-0fshF.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as path$1, n as crypto$1, o as stream, r as fs$3, s as util, t as child_process } from "./node-
|
|
2
|
-
import { a as checkMemorySyncInterval, c as decodeUTF8, d as AnthropicError, f as __classPrivateFieldGet, l as encodeUTF8, n as promiseWithResolvers, o as isStatus, p as __classPrivateFieldSet, s as loggerFor, u as ToolError } from "./anthropic-messages-
|
|
1
|
+
import { a as path$1, n as crypto$1, o as stream, r as fs$3, s as util, t as child_process } from "./node-Br-0fshF.js";
|
|
2
|
+
import { a as checkMemorySyncInterval, c as decodeUTF8, d as AnthropicError, f as __classPrivateFieldGet, l as encodeUTF8, n as promiseWithResolvers, o as isStatus, p as __classPrivateFieldSet, s as loggerFor, u as ToolError } from "./anthropic-messages-BgIfgjNt.js";
|
|
3
3
|
import * as fssync from "node:fs";
|
|
4
|
-
import * as crypto from "node:crypto";
|
|
5
|
-
import * as fs from "node:fs/promises";
|
|
6
4
|
import * as path from "node:path";
|
|
5
|
+
import * as fs from "node:fs/promises";
|
|
6
|
+
import * as crypto from "node:crypto";
|
|
7
7
|
import * as cp from "node:child_process";
|
|
8
8
|
import * as readline from "node:readline";
|
|
9
9
|
//#region node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs
|
|
@@ -2400,4 +2400,4 @@ async function findRg() {
|
|
|
2400
2400
|
//#endregion
|
|
2401
2401
|
export { MEMORY_FLUSH_TIMEOUT_MS, SessionMemoryError, SessionMemoryStores, betaAgentToolset20260401, setupSkills };
|
|
2402
2402
|
|
|
2403
|
-
//# sourceMappingURL=node-
|
|
2403
|
+
//# sourceMappingURL=node-D58f7Ea6.js.map
|
package/lib/video/plan.d.ts
CHANGED
|
@@ -77,16 +77,31 @@ export declare function checkReferenceFile(model: MediaModel, input: VideoInput,
|
|
|
77
77
|
* @returns the limit in bytes.
|
|
78
78
|
*/
|
|
79
79
|
export declare function referenceByteLimit(model: MediaModel, input: VideoInput): number;
|
|
80
|
+
/**
|
|
81
|
+
* The longest a reference video may be in a mode: the limit the catalog declares, else the longest video the model
|
|
82
|
+
* makes in that mode (from its durations). The production lanes declare no per-clip limit (0), and their providers
|
|
83
|
+
* refuse a reference clip longer than the longest output, so a 15.2 s clip on a 15 s lane would fail upstream.
|
|
84
|
+
* @param model - the video model.
|
|
85
|
+
* @param constraint - the chosen mode's declaration, whose durations come before the model's.
|
|
86
|
+
* @returns the limit and whether the catalog declared it, or undefined when nothing bounds the clips.
|
|
87
|
+
*/
|
|
88
|
+
export declare function referenceVideoLimit(model: MediaModel, constraint?: VideoModeConstraint): {
|
|
89
|
+
readonly seconds: number;
|
|
90
|
+
readonly declared: boolean;
|
|
91
|
+
} | undefined;
|
|
80
92
|
/**
|
|
81
93
|
* Check the measured lengths of the reference media once the gateway has
|
|
82
94
|
* measured them. A reference's OWN length is what is checked — never the
|
|
83
|
-
* requested output duration —
|
|
95
|
+
* requested output duration — against the limits that model declares; a
|
|
96
|
+
* reference video on a model that declares no per-clip limit is held to the
|
|
97
|
+
* longest video the model makes in the chosen mode ({@link referenceVideoLimit}).
|
|
84
98
|
* @param model - the video model.
|
|
85
99
|
* @param videos - the uploaded reference videos, in order.
|
|
86
100
|
* @param audios - the uploaded reference audios, in order.
|
|
101
|
+
* @param plan - the checked plan: its mode decides the limit a model without a declared one gets.
|
|
87
102
|
* @throws {@link MediaError} when a clip or the total is outside the model's limits.
|
|
88
103
|
*/
|
|
89
|
-
export declare function checkReferenceDurations(model: MediaModel, videos: readonly ReferenceMedia[], audios?: readonly ReferenceMedia[]): void;
|
|
104
|
+
export declare function checkReferenceDurations(model: MediaModel, videos: readonly ReferenceMedia[], audios?: readonly ReferenceMedia[], plan?: Pick<VideoPlan, 'mode' | 'constraint'>): void;
|
|
90
105
|
/**
|
|
91
106
|
* The `/v1/videos` body for a plan whose inputs are uploaded. The gateway reads
|
|
92
107
|
* one vocabulary and translates it per provider.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibedev-si/dsh-vibedev",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
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",
|
|
@@ -101,12 +101,15 @@
|
|
|
101
101
|
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
102
102
|
"@deepseek-ai/dsh-client-store": "^0.2.0-rc.2",
|
|
103
103
|
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.0-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-command-feedback": "0.2.0-rc.2",
|
|
104
105
|
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
105
106
|
"@deepseek-ai/dsh-deepseek-account": "0.2.0-rc.2",
|
|
106
107
|
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
107
108
|
"@deepseek-ai/dsh-jobs": "0.2.0-rc.2",
|
|
108
109
|
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-message-feedback": "0.2.0-rc.2",
|
|
109
111
|
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
112
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
|
|
110
113
|
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
111
114
|
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
112
115
|
"@deepseek-ai/dsh-timeout": "0.2.0-rc.2",
|