@vibedev-si/dsh-vibedev 0.11.6 → 0.13.0
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 +53 -3
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/client/client.account-center.js +6 -1
- package/client/client.js +101 -3
- package/lib/account/index.d.ts +2 -0
- package/lib/audio/request.d.ts +3 -2
- package/lib/auth/login.d.ts +58 -0
- package/lib/auth/remote-callback.d.ts +34 -0
- package/lib/auth/sign-in-state.d.ts +8 -2
- package/lib/gateway/catalog.d.ts +55 -3
- package/lib/gateway/paid-path.d.ts +1 -1
- package/lib/index.d.ts +9 -0
- package/lib/index.js +1771 -313
- package/lib/llm/adapter.d.ts +3 -0
- package/lib/llm/context.d.ts +2 -0
- package/lib/llm/file-placement.d.ts +31 -0
- package/lib/llm/native-files.d.ts +4 -14
- package/lib/llm/verified-files.d.ts +63 -0
- package/lib/pricing.d.ts +48 -10
- package/lib/runtime.d.ts +14 -3
- package/lib/speech/availability.d.ts +39 -0
- package/lib/speech/gateway.d.ts +69 -0
- package/lib/speech/host.d.ts +131 -0
- package/lib/speech/index.d.ts +37 -0
- package/lib/speech/recognition.d.ts +40 -0
- package/lib/speech/sign-in.d.ts +34 -0
- package/lib/speech/synthesis.d.ts +38 -0
- package/lib/speech/wave.d.ts +33 -0
- package/package.json +11 -1
package/lib/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export { GATEWAY_FETCH_PROVIDER_ID as FETCH_PROVIDER_ID } from './fetch/wiring.j
|
|
|
52
52
|
export { GatewayFetchProvider, NegotiatedGatewayFetchProvider, readGatewayFetchCapability } from './fetch/provider.js';
|
|
53
53
|
export type { GatewayFetchCapability, GatewayFetchOptions, GatewayExtractionResult, NegotiatedGatewayFetchOptions } from './fetch/provider.js';
|
|
54
54
|
export { INSUFFICIENT_BALANCE_CODE, SIGN_IN_REQUIRED_CODE, VIBEDEV_ROUTE, VIBEDEV_RELAY_ROUTE } from './llm/index.js';
|
|
55
|
+
export { RECOGNITION_PROVIDER_ID, SYNTHESIS_PROVIDER_ID, VIBEDEV_SIGN_IN_SERVICE, type VibeDevSignIn } from './speech/index.js';
|
|
55
56
|
/** The package version, sent in the `User-Agent` the gateway attributes plugin traffic by. */
|
|
56
57
|
export declare const version: string;
|
|
57
58
|
export declare const name = "dsh-vibedev";
|
|
@@ -67,6 +68,12 @@ export interface Config {
|
|
|
67
68
|
preferredModels: string[];
|
|
68
69
|
/** Open the system browser when a sign-in starts (off: the page opens the link itself). */
|
|
69
70
|
openBrowserOnSignIn: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* A cloud host reached through the VibeDev remote entry: its public origin, such as `https://<host id>.h.vibedev.studio`.
|
|
73
|
+
* Set, sign-in returns to this host's `/api/dsh-vibedev/sign-in/callback` (with the remote entry's assertion) and the
|
|
74
|
+
* user's own browser opens the sign-in link; empty, the desktop's loopback sign-in. Only an explicit value turns it on.
|
|
75
|
+
*/
|
|
76
|
+
remoteSignInBaseUrl: string;
|
|
70
77
|
/**
|
|
71
78
|
* Minutes between catalog reads while the app runs: the fallback that keeps the pickers current when nobody opens
|
|
72
79
|
* the balance card, the account menu or Settings (each of those reads the catalog too, at most once a minute).
|
|
@@ -124,6 +131,7 @@ export declare const Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
|
124
131
|
claudeCacheTtl: Schema<"default" | "5m" | "1h", "default" | "5m" | "1h", "volatile-defined">;
|
|
125
132
|
preferredModels: Schema<string[], string[], "defined">;
|
|
126
133
|
openBrowserOnSignIn: Schema<boolean, boolean, "defined">;
|
|
134
|
+
remoteSignInBaseUrl: Schema<string, string, "defined">;
|
|
127
135
|
catalogRefreshMinutes: Schema<number, number, "defined">;
|
|
128
136
|
resendWindowMs: Schema<number, number, "defined">;
|
|
129
137
|
submitAttempts: Schema<number, number, "defined">;
|
|
@@ -156,6 +164,7 @@ export declare const Config: Schema<Schemastery.ObjectS<NoInfer<{
|
|
|
156
164
|
claudeCacheTtl: Schema<"default" | "5m" | "1h", "default" | "5m" | "1h", "volatile-defined">;
|
|
157
165
|
preferredModels: Schema<string[], string[], "defined">;
|
|
158
166
|
openBrowserOnSignIn: Schema<boolean, boolean, "defined">;
|
|
167
|
+
remoteSignInBaseUrl: Schema<string, string, "defined">;
|
|
159
168
|
catalogRefreshMinutes: Schema<number, number, "defined">;
|
|
160
169
|
resendWindowMs: Schema<number, number, "defined">;
|
|
161
170
|
submitAttempts: Schema<number, number, "defined">;
|