@mars-sea/dsh-commandcode-provider 0.11.10 → 0.11.12
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/CHANGELOG.md +16 -0
- package/README.md +20 -17
- package/README.zh-CN.md +14 -17
- package/lib/client.js +225 -182
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +53 -84
- package/lib/index.js +307 -364
- package/lib/index.js.map +1 -1
- package/package.json +40 -48
package/lib/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import z from "@deepseek-ai/schemastery";
|
|
2
|
-
import { GenerateOptions, LlmAdapter, LlmImageRequestPricing, LlmModelInfo, LlmProviderInfo, LlmResolvedModelInfo,
|
|
2
|
+
import { GenerateOptions, LlmAdapter, LlmImageRequestPricing, LlmModelInfo, LlmProviderInfo, LlmResolvedModelInfo, ResolvedRetryPolicy, StreamChunk, projectOffloadedImages, requiredImageOffload } from "@deepseek-ai/dsh-llm";
|
|
3
3
|
import { CredentialRef } from "@deepseek-ai/dsh-credentials";
|
|
4
4
|
import { TypertRemoteService, TypertSchema } from "@deepseek-ai/dsh-typert-protocol";
|
|
5
5
|
import { WebRuntime, WebSearchProvider, WebSearchRequest, WebSearchResult } from "@deepseek-ai/dsh-web";
|
|
6
6
|
import { Context } from "@deepseek-ai/cordis";
|
|
7
|
-
import { AttachmentStore
|
|
7
|
+
import { AttachmentStore } from "@deepseek-ai/dsh-attachment";
|
|
8
8
|
import { CommandDefinition } from "@deepseek-ai/dsh-commands";
|
|
9
9
|
//#region src/adapter.d.ts
|
|
10
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
10
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.65.0";
|
|
11
11
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
12
12
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
13
13
|
declare const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|
|
@@ -22,26 +22,20 @@ declare const DEFAULT_STREAM_IDLE_TIMEOUT_MS = 300000;
|
|
|
22
22
|
declare function projectSlugFromPath(pathName: string): string;
|
|
23
23
|
/** Read a usable Command Code credential from the official CLI auth file. */
|
|
24
24
|
declare function resolveAuthFileApiKey(): string | undefined;
|
|
25
|
-
/** One occurrence's exact request-version byte length, as the core counter wants it. */
|
|
26
|
-
type ImageVersionBytes = (block: {
|
|
27
|
-
attachment: ImageAttachmentRef;
|
|
28
|
-
}) => number;
|
|
29
25
|
/**
|
|
30
|
-
* The
|
|
26
|
+
* The engine's durable-offload contract, as one object.
|
|
31
27
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
28
|
+
* Both members are required together: a half-populated policy would either lose
|
|
29
|
+
* the surface's marks (re-sending evicted images as pixels) or lose the count
|
|
30
|
+
* (silently sending an over-budget body), and neither is worth a partial
|
|
31
|
+
* opt-in. The defaults are the engine's own helpers; the object exists so tests
|
|
32
|
+
* can substitute a counting stub.
|
|
37
33
|
*/
|
|
38
|
-
interface
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
/** ≥0.1.6: how many more leading retained occurrences must be offloaded. */
|
|
44
|
-
requiredImageOffload?: (messages: readonly Message[], budget: Record<string, unknown>, versionBytes: ImageVersionBytes) => number;
|
|
34
|
+
interface SurfaceImagePolicy {
|
|
35
|
+
/** Render the surface's durable offload marks as placeholder text. */
|
|
36
|
+
projectOffloadedImages: typeof projectOffloadedImages;
|
|
37
|
+
/** How many more leading retained occurrences must be offloaded. */
|
|
38
|
+
requiredImageOffload: typeof requiredImageOffload;
|
|
45
39
|
}
|
|
46
40
|
/** Connection facts resolved fresh per request by the plugin entry. */
|
|
47
41
|
interface CommandCodeConnectionOptions {
|
|
@@ -175,12 +169,11 @@ interface CommandCodeAdapterDeps<C extends CommandCodeConnectionOptions = Comman
|
|
|
175
169
|
/** Resolve the optional durable attachment service for image input (tests); defaults to none. */
|
|
176
170
|
resolveAttachments?: ResolveAttachments;
|
|
177
171
|
/**
|
|
178
|
-
* Request-image policy override (tests); defaults to the
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* still compiles against the 0.1.2 peers.
|
|
172
|
+
* Request-image policy override (tests); defaults to the engine's own
|
|
173
|
+
* `projectOffloadedImages`/`requiredImageOffload`. Injecting a stub is how a
|
|
174
|
+
* test observes the budget rungs a 413 walks.
|
|
182
175
|
*/
|
|
183
|
-
imageOffload?:
|
|
176
|
+
imageOffload?: SurfaceImagePolicy;
|
|
184
177
|
}
|
|
185
178
|
/** Account identity from `/alpha/whoami`. */
|
|
186
179
|
interface CommandCodeAccount {
|
|
@@ -259,7 +252,7 @@ interface CommandCodePlan {
|
|
|
259
252
|
* at all, so the degraded per-endpoint view would hide the root cause behind
|
|
260
253
|
* a generic "partial data" note). Undefined for partial failures.
|
|
261
254
|
*/
|
|
262
|
-
type UsageBlockReason = 'invalid-key' | 'service-unavailable' | 'network';
|
|
255
|
+
type UsageBlockReason = 'invalid-key' | 'service-unavailable' | 'invalid-response' | 'network';
|
|
263
256
|
/** Everything the usage endpoints report, fetched together. */
|
|
264
257
|
interface CommandCodeUsageReport {
|
|
265
258
|
account?: CommandCodeAccount;
|
|
@@ -271,8 +264,9 @@ interface CommandCodeUsageReport {
|
|
|
271
264
|
/**
|
|
272
265
|
* The single reason every endpoint failed, when they all did: `invalid-key`
|
|
273
266
|
* (every call rejected with 401 — the stored key is wrong or expired),
|
|
274
|
-
* `service-unavailable` (every call answered 5xx),
|
|
275
|
-
*
|
|
267
|
+
* `service-unavailable` (every call answered 5xx), `invalid-response`
|
|
268
|
+
* (every call answered but its body was not usable JSON), or `network`
|
|
269
|
+
* (no HTTP response at all). Undefined when any endpoint succeeded.
|
|
276
270
|
*/
|
|
277
271
|
blocked?: UsageBlockReason;
|
|
278
272
|
}
|
|
@@ -281,13 +275,9 @@ declare class CommandCodeAdapter<C extends CommandCodeConnectionOptions = Comman
|
|
|
281
275
|
private catalog;
|
|
282
276
|
private readonly fetchImpl;
|
|
283
277
|
private readonly resolveAttachments;
|
|
284
|
-
/** The engine's request-image policy, resolved once (tests may inject one). */
|
|
285
|
-
private readonly imagePolicy;
|
|
286
278
|
/**
|
|
287
|
-
* The
|
|
288
|
-
*
|
|
289
|
-
* speaks cannot change while it runs, and resolving here keeps every request
|
|
290
|
-
* on the same branch (see {@link surfaceImagePolicy}).
|
|
279
|
+
* The durable-offload contract, resolved once (tests may inject a stub). The
|
|
280
|
+
* contract cannot change while the process runs.
|
|
291
281
|
*/
|
|
292
282
|
private readonly surfaceOffload;
|
|
293
283
|
private readonly billingAccess;
|
|
@@ -348,8 +338,8 @@ declare class CommandCodeAdapter<C extends CommandCodeConnectionOptions = Comman
|
|
|
348
338
|
* Fetch one account endpoint and parse its JSON body. Returns the HTTP
|
|
349
339
|
* status alongside the parsed record so each caller applies its own
|
|
350
340
|
* failure accounting: the billing probe fails open silently, the usage
|
|
351
|
-
* report books failures per endpoint. Non-2xx and
|
|
352
|
-
* back without a record; only a
|
|
341
|
+
* report books failures per endpoint. Non-2xx and invalid JSON bodies come
|
|
342
|
+
* back without a record; only a fetch failure propagates to the caller.
|
|
353
343
|
*
|
|
354
344
|
* `timeoutMs` is the caller's budget for this one request. The default is the
|
|
355
345
|
* CATALOG probe's short cap, which fits the picker's fail-open reads; the
|
|
@@ -789,7 +779,7 @@ declare const KNOWN_EFFORTS: Readonly<Record<string, readonly string[]>>;
|
|
|
789
779
|
declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
790
780
|
/**
|
|
791
781
|
* Models WITHOUT a zero-data-retention upstream, per the official CLI's own
|
|
792
|
-
* registry (`command-code@1.
|
|
782
|
+
* registry (`command-code@1.65.0` `dist/cli.mjs`: `modelSupportsZdr(id)` is
|
|
793
783
|
* exactly `!nonZdrSet.has(canonicalize(id))`, and `knownModelSupportsZdr`
|
|
794
784
|
* carries the same membership in the sibling route table — the union is this
|
|
795
785
|
* set). The official docs (commandcode.ai/docs/resources/zdr) put it in prose
|
|
@@ -815,9 +805,12 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
815
805
|
* is the snapshot of the exclusion set and nothing more. The 1.62.0 → 1.64.0
|
|
816
806
|
* diff of that union is EMPTY: both anchors were extracted from both bundles
|
|
817
807
|
* during the 2026-09-23 check and each carries the same 20 members — which is
|
|
818
|
-
* how rare a change here is expected to be.
|
|
819
|
-
*
|
|
820
|
-
*
|
|
808
|
+
* how rare a change here is expected to be. The 1.64.0 → 1.65.0 diff (2026-09-24)
|
|
809
|
+
* is the counterexample that proves the check still runs: exactly one member
|
|
810
|
+
* joins (`stealth/space-bunny-alpha`), and it is in both anchors. `meituan/
|
|
811
|
+
* LongCat-2.0` is the one member the two anchors disagree about (it is in
|
|
812
|
+
* `modelSupportsZdr`'s set in both releases and in neither `knownModelSupportsZdr`
|
|
813
|
+
* set), so the union is
|
|
821
814
|
* what this table follows; reading only the sibling route table would drop it.
|
|
822
815
|
*/
|
|
823
816
|
declare const KNOWN_NON_ZDR_MODELS: ReadonlySet<string>;
|
|
@@ -882,7 +875,11 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
|
882
875
|
* and 1.60.0 added `stepfun/Step-5-Preview` (Go); command-code@1.62.0 added the
|
|
883
876
|
* MiMo V2.6 family — `xiaomi/mimo-v2.6-flash` + `xiaomi/mimo-v2.6-pro` (Go) and
|
|
884
877
|
* `xiaomi/mimo-v2.6-pro-ultraspeed` (GOAT) — so the 1.58.0 -> 1.62.0 window's
|
|
885
|
-
* only tier changes are additions and the superset chain still holds.
|
|
878
|
+
* only tier changes are additions and the superset chain still holds. The
|
|
879
|
+
* 1.62.0 -> 1.65.0 window continues the pattern: 1.64.0 added
|
|
880
|
+
* `claude-opus-5-5` (Provider/Max), `gpt-6-sol` (Pro) and `gpt-6-luna` (Go),
|
|
881
|
+
* and 1.65.0 added `stealth/space-bunny-alpha` (Go, every tier) — additions
|
|
882
|
+
* only, no tier moves.
|
|
886
883
|
*
|
|
887
884
|
* The Provider API exposes no plan metadata, so this snapshot is the source of
|
|
888
885
|
* truth for the picker's plan annotation — it answers "which plan do I need to
|
|
@@ -1284,7 +1281,7 @@ declare const loginStatusSchema: TypertSchema<CommandCodeLoginStatus>;
|
|
|
1284
1281
|
*/
|
|
1285
1282
|
interface LoginFlowFacade {
|
|
1286
1283
|
/** Start (or rejoin) an attempt; rejects when it cannot start at all. */
|
|
1287
|
-
begin(): Promise<CommandCodeLoginStatus>;
|
|
1284
|
+
begin(targetRef?: string): Promise<CommandCodeLoginStatus>;
|
|
1288
1285
|
/** The current attempt's status. */
|
|
1289
1286
|
status(): CommandCodeLoginStatus;
|
|
1290
1287
|
/** Cancel a waiting attempt. */
|
|
@@ -1361,7 +1358,7 @@ declare class CommandCodeUsageService<C extends CommandCodeConnectionOptions = C
|
|
|
1361
1358
|
* (no free loopback port, disposed plugin); the Gateway folds the throw
|
|
1362
1359
|
* into the failure branch the page renders.
|
|
1363
1360
|
*/
|
|
1364
|
-
loginBegin(): Promise<CommandCodeLoginStatus>;
|
|
1361
|
+
loginBegin(targetRef?: string): Promise<CommandCodeLoginStatus>;
|
|
1365
1362
|
/** Poll a login attempt's status. */
|
|
1366
1363
|
loginStatus(): Promise<CommandCodeLoginStatus>;
|
|
1367
1364
|
/** Cancel a waiting attempt; returns the post-cancel status. */
|
|
@@ -1422,7 +1419,9 @@ interface CommandCodeLoginFlowDeps {
|
|
|
1422
1419
|
* Receives the validated credentials after a successful login. Rejecting
|
|
1423
1420
|
* fails the attempt with `unavailable`.
|
|
1424
1421
|
*/
|
|
1425
|
-
storeKey(credentials: CommandCodeLoginCredentials): Promise<void>;
|
|
1422
|
+
storeKey(credentials: CommandCodeLoginCredentials, targetRef?: string): Promise<void>;
|
|
1423
|
+
/** Reject an account target that is not a saved slot before opening Studio. */
|
|
1424
|
+
validateTargetRef?(targetRef: string | undefined): void;
|
|
1426
1425
|
}
|
|
1427
1426
|
/** Compose the Studio authorization URL (pure, exported for tests). */
|
|
1428
1427
|
declare function buildCommandAuthUrl(options: {
|
|
@@ -1471,6 +1470,8 @@ declare class CommandCodeLoginFlow {
|
|
|
1471
1470
|
* the port window so browser login dies until the Host restarts.
|
|
1472
1471
|
*/
|
|
1473
1472
|
private starting;
|
|
1473
|
+
/** A live attempt's destination; different rows may not rejoin it. */
|
|
1474
|
+
private targetRef;
|
|
1474
1475
|
/** A `cancel()` that arrived while a start was still binding (see {@link CommandCodeLoginFlow.cancel}). */
|
|
1475
1476
|
private cancelPending;
|
|
1476
1477
|
private disposed;
|
|
@@ -1484,7 +1485,7 @@ declare class CommandCodeLoginFlow {
|
|
|
1484
1485
|
* `waiting` carrying the Studio URL once the loopback server is up.
|
|
1485
1486
|
* Rejects only when the flow cannot start at all (no free port, disposed).
|
|
1486
1487
|
*/
|
|
1487
|
-
begin(): Promise<CommandCodeLoginStatus>;
|
|
1488
|
+
begin(targetRef?: string): Promise<CommandCodeLoginStatus>;
|
|
1488
1489
|
/**
|
|
1489
1490
|
* The binding half of {@link CommandCodeLoginFlow.begin}: one attempt, one
|
|
1490
1491
|
* server, one published `waiting` status. Callers reach it only through
|
|
@@ -1547,21 +1548,6 @@ declare const COMMANDCODE_SEARCH_PROVIDER_ID = "commandcode";
|
|
|
1547
1548
|
* modsearch even with Command Code search turned off (issue #26).
|
|
1548
1549
|
*/
|
|
1549
1550
|
declare const DEFAULT_WEB_SEARCH_PROVIDER_ID = "deepseek-official";
|
|
1550
|
-
/**
|
|
1551
|
-
* Point the web seam's search selection at this plugin's provider (`commandcode`).
|
|
1552
|
-
* Sets the runtime field; the next search call honours it because `search()`
|
|
1553
|
-
* re-reads `searchProviderId` each time. Returns the prior id (or undefined).
|
|
1554
|
-
* Never throws: a hardened/frozen runtime shape must not break the
|
|
1555
|
-
* settings-save path that calls this — the provider simply stays
|
|
1556
|
-
* registered-but-unselected (the boot-time `searchProvider: commandcode`
|
|
1557
|
-
* cordis patch is the durable alternative).
|
|
1558
|
-
*
|
|
1559
|
-
* @deprecated Prefer {@link applyCommandCodeSearchSelection}: this overload
|
|
1560
|
-
* always overwrites the displaced backend with the factory default on
|
|
1561
|
-
* disable, so turning Command Code search off silences whichever provider
|
|
1562
|
-
* was selected before (e.g. modsearch) instead of restoring it (issue #26).
|
|
1563
|
-
*/
|
|
1564
|
-
declare function selectCommandCodeSearchProvider(web: WebRuntime, enable: boolean): string | undefined;
|
|
1565
1551
|
/**
|
|
1566
1552
|
* Tracked web-search selection state for one mounted `WebRuntime`.
|
|
1567
1553
|
*
|
|
@@ -1974,34 +1960,17 @@ interface Config {
|
|
|
1974
1960
|
lang?: string;
|
|
1975
1961
|
}
|
|
1976
1962
|
/**
|
|
1977
|
-
* The
|
|
1978
|
-
*
|
|
1963
|
+
* The Config schema: every field volatile except the composition-only `apiKey`
|
|
1964
|
+
* secret.
|
|
1979
1965
|
*
|
|
1980
1966
|
* dsh 0.1.7's settings forms are projected from the schema's `meta.volatile`
|
|
1981
1967
|
* nodes, so an unmarked field would be invisible to AND unwritable from the
|
|
1982
|
-
* settings page and refused by form-edit path validation — and
|
|
1983
|
-
*
|
|
1984
|
-
*
|
|
1985
|
-
*
|
|
1986
|
-
* that are not re-derived per read). The mark is inert on engines whose
|
|
1987
|
-
* schemastery predates `.volatile()`.
|
|
1968
|
+
* settings page and refused by form-edit path validation — and the loader
|
|
1969
|
+
* hands `apply()` a live reference per marked field, committing later writes
|
|
1970
|
+
* without remounting this fiber (the `loader/volatile-update` listener at the
|
|
1971
|
+
* bottom of `apply` covers the facts that are not re-derived per read).
|
|
1988
1972
|
*/
|
|
1989
1973
|
declare const Config: z<Config>;
|
|
1990
|
-
/**
|
|
1991
|
-
* The ≤0.1.6-generation registration schema: the same fields, NO volatile
|
|
1992
|
-
* marks.
|
|
1993
|
-
*
|
|
1994
|
-
* The legacy `installSection(owner, ns, schema, entry, hooks)` re-validates the
|
|
1995
|
-
* `entry` it is handed (`register()` → `resolve()` → `schema(mergeLayers(base,
|
|
1996
|
-
* section))`) and its `describe()` structuredClones that same `entry`. Since
|
|
1997
|
-
* schemastery ≥3.18.3 creates references at parse time on EVERY generation —
|
|
1998
|
-
* `dsh-settings` through 0.1.6 declares `schemastery: ^3.18.2`, so old engines
|
|
1999
|
-
* freshly installed today resolve 3.18.3 — a marked schema plus the raw
|
|
2000
|
-
* reference-carrying `config` is a boot-time `ValidationError` there. This
|
|
2001
|
-
* schema is therefore unmarked, and `apply` pairs it with
|
|
2002
|
-
* `unwrapVolatileConfig(config)`.
|
|
2003
|
-
*/
|
|
2004
|
-
declare const LegacySettingsSchema: z<Config>;
|
|
2005
1974
|
/** One resolution's complete request facts: connection plus credential reference. */
|
|
2006
1975
|
interface ResolvedCommandCodeOptions extends CommandCodeConnectionOptions {
|
|
2007
1976
|
apiKeyEnv: CredentialRef;
|
|
@@ -2015,5 +1984,5 @@ interface ResolvedCommandCodeOptions extends CommandCodeConnectionOptions {
|
|
|
2015
1984
|
declare function resolveAdapterOptions(config: Config): ResolvedCommandCodeOptions;
|
|
2016
1985
|
declare function apply(ctx: Context, config: Config): void;
|
|
2017
1986
|
//#endregion
|
|
2018
|
-
export { ACTIVE_ACCOUNT_AUTO, type ApiKeyValidation, BILLING_ACCESS_TTL_MS, COMMANDCODE_SEARCH_PROVIDER_ID, COMMAND_CODE_CLI_VERSION, type CommandCodeAccountConfig, CommandCodeAccountPool, type CommandCodeAccountSlot, type CommandCodeAccountState, type CommandCodeAccountUsage, type CommandCodeAccountsReport, CommandCodeAdapter, type CommandCodeAdapterDeps, type CommandCodeBillingAccess, type CommandCodeCommandDeps, type CommandCodeConnectionOptions, type CommandCodeLoginCredentials, type CommandCodeLoginFailureReason, CommandCodeLoginFlow, type CommandCodeLoginFlowDeps, type CommandCodeLoginStatus, type CommandCodeModelAccountRule, CommandCodeSearchProvider, type CommandCodeSearchProviderDeps, type CommandCodeSearchSelection, type CommandCodeTuiSettingsDeps, type CommandCodeUsageDeps, type CommandCodeUsageReport, CommandCodeUsageService, Config, DEFAULT_API_BASE, DEFAULT_GENERATE_MAX_TOKENS, DEFAULT_MAX_OUTPUT_TOKENS, DEFAULT_MODELS_CACHE_PATH, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_WEB_SEARCH_PROVIDER_ID, KNOWN_DEALS, KNOWN_EFFORTS, KNOWN_IMAGE_MODELS, KNOWN_NON_ZDR_MODELS, KNOWN_PEAK_PRICING, KNOWN_PLANS, KNOWN_SUBSCRIPTION_PLANS, KNOWN_THINKING_MODELS, LANG_AUTO, LOGIN_ALLOWED_ORIGINS, LOGIN_BEGIN_ENDPOINT, LOGIN_BODY_LIMIT_BYTES, LOGIN_CANCEL_ENDPOINT, LOGIN_MAX_PORT_ATTEMPTS, LOGIN_START_PORT, LOGIN_STATUS_ENDPOINT, LOGIN_TIMEOUT_MS,
|
|
1987
|
+
export { ACTIVE_ACCOUNT_AUTO, type ApiKeyValidation, BILLING_ACCESS_TTL_MS, COMMANDCODE_SEARCH_PROVIDER_ID, COMMAND_CODE_CLI_VERSION, type CommandCodeAccountConfig, CommandCodeAccountPool, type CommandCodeAccountSlot, type CommandCodeAccountState, type CommandCodeAccountUsage, type CommandCodeAccountsReport, CommandCodeAdapter, type CommandCodeAdapterDeps, type CommandCodeBillingAccess, type CommandCodeCommandDeps, type CommandCodeConnectionOptions, type CommandCodeLoginCredentials, type CommandCodeLoginFailureReason, CommandCodeLoginFlow, type CommandCodeLoginFlowDeps, type CommandCodeLoginStatus, type CommandCodeModelAccountRule, CommandCodeSearchProvider, type CommandCodeSearchProviderDeps, type CommandCodeSearchSelection, type CommandCodeTuiSettingsDeps, type CommandCodeUsageDeps, type CommandCodeUsageReport, CommandCodeUsageService, Config, DEFAULT_API_BASE, DEFAULT_GENERATE_MAX_TOKENS, DEFAULT_MAX_OUTPUT_TOKENS, DEFAULT_MODELS_CACHE_PATH, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_WEB_SEARCH_PROVIDER_ID, KNOWN_DEALS, KNOWN_EFFORTS, KNOWN_IMAGE_MODELS, KNOWN_NON_ZDR_MODELS, KNOWN_PEAK_PRICING, KNOWN_PLANS, KNOWN_SUBSCRIPTION_PLANS, KNOWN_THINKING_MODELS, LANG_AUTO, LOGIN_ALLOWED_ORIGINS, LOGIN_BEGIN_ENDPOINT, LOGIN_BODY_LIMIT_BYTES, LOGIN_CANCEL_ENDPOINT, LOGIN_MAX_PORT_ATTEMPTS, LOGIN_START_PORT, LOGIN_STATUS_ENDPOINT, LOGIN_TIMEOUT_MS, type LoginFlowFacade, PLAN_LABELS, PLAN_ORDER, PROVIDER, type ResolveAttachments, ResolvedCommandCodeOptions, type TuiSettingsField, type TuiSettingsFieldOption, type TuiSettingsFieldWrite, type TuiSettingsGroup, type TuiSettingsSection, type TuiSettingsSectionsService, USAGE_REPORT_ENDPOINT, accountUsable, apply, applyCommandCodeSearchSelection, applyCommandCodeTuiSettings, applyCommands, applyUsageRemote, buildCommandAuthUrl, buildCommandCodeTuiSection, capabilityDescription, commandCodeSearchSelection, commandDefinition, compareByPlan, dealLabel, formatContext, inject, loginStatusSchema, matchModelRule, modelVisibleInPlan, name, parseLoginStatus, peakPricingLabel, peakPricingState, planLabel, projectSlugFromPath, resolveAdapterOptions, resolveAuthFileApiKey, selectAccountForModel, selectActiveAccount, studioBaseForApiBase, subscriptionPlanInfo, supportsZeroDataRetention, usageReportSchema, validateCommandApiKey };
|
|
2019
1988
|
//# sourceMappingURL=index.d.ts.map
|