@eddyskywalker/dsh-chatgpt-subscription 0.6.8 → 0.8.0-alpha.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/CHANGELOG.md +48 -0
- package/README.md +20 -7
- package/lib/client.js +43 -11
- package/lib/client.js.map +1 -1
- package/lib/index.js +4092 -2751
- package/lib/types/client/antigravity/locales.d.ts +2 -2
- package/lib/types/client/command-code/locales.d.ts +2 -2
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/kimi-code/locales.d.ts +2 -2
- package/lib/types/client/locales.d.ts +5 -5
- package/lib/types/host/agent-preset.d.ts +113 -0
- package/lib/types/host/agent-preset.d.ts.map +1 -0
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts +2 -2
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/antigravity/token-store.d.ts +1 -2
- package/lib/types/host/antigravity/token-store.d.ts.map +1 -1
- package/lib/types/host/codex-images.d.ts.map +1 -1
- package/lib/types/host/codex-search.d.ts.map +1 -1
- package/lib/types/host/command-code/adapter.d.ts.map +1 -1
- package/lib/types/host/command-code/mapper.d.ts +2 -2
- package/lib/types/host/command-code/mapper.d.ts.map +1 -1
- package/lib/types/host/command-code/token-store.d.ts +4 -5
- package/lib/types/host/command-code/token-store.d.ts.map +1 -1
- package/lib/types/host/common/account-pool.d.ts +66 -0
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/file-preferences.d.ts +49 -0
- package/lib/types/host/common/file-preferences.d.ts.map +1 -0
- package/lib/types/host/common/legacy-preferences.d.ts +29 -0
- package/lib/types/host/common/legacy-preferences.d.ts.map +1 -0
- package/lib/types/host/common/llm-compat.d.ts +92 -0
- package/lib/types/host/common/llm-compat.d.ts.map +1 -0
- package/lib/types/host/common/settings-compat.d.ts +55 -0
- package/lib/types/host/common/settings-compat.d.ts.map +1 -0
- package/lib/types/host/compaction-patch.d.ts +17 -0
- package/lib/types/host/compaction-patch.d.ts.map +1 -0
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/client.d.ts +9 -0
- package/lib/types/host/kimi-code/client.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts +2 -2
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/kimi-code/token-store.d.ts +4 -5
- package/lib/types/host/kimi-code/token-store.d.ts.map +1 -1
- package/lib/types/host/kimi-code/video-tool.d.ts.map +1 -1
- package/lib/types/host/oauth-service.d.ts +53 -1
- package/lib/types/host/oauth-service.d.ts.map +1 -1
- package/lib/types/host/preferences.d.ts +16 -2
- package/lib/types/host/preferences.d.ts.map +1 -1
- package/lib/types/host/preset-sync.d.ts +29 -1
- package/lib/types/host/preset-sync.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts +1 -1
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/responses-mapper.d.ts +1 -1
- package/lib/types/host/responses-mapper.d.ts.map +1 -1
- package/lib/types/host/search-provider-switcher.d.ts.map +1 -1
- package/lib/types/host/subagent-model-authorization.d.ts +5 -4
- package/lib/types/host/subagent-model-authorization.d.ts.map +1 -1
- package/lib/types/host/token-store-macos.d.ts +7 -0
- package/lib/types/host/token-store-macos.d.ts.map +1 -1
- package/lib/types/host/usage-service.d.ts +8 -0
- package/lib/types/host/usage-service.d.ts.map +1 -1
- package/lib/types/host/workbuddy/account-pool.d.ts +30 -0
- package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -1
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/host/workbuddy/client.d.ts +17 -0
- package/lib/types/host/workbuddy/client.d.ts.map +1 -1
- package/lib/types/host/workbuddy/identity.d.ts +71 -0
- package/lib/types/host/workbuddy/identity.d.ts.map +1 -0
- package/lib/types/host/workbuddy/mapper.d.ts +2 -2
- package/lib/types/host/workbuddy/mapper.d.ts.map +1 -1
- package/lib/types/host/workbuddy/oauth.d.ts +9 -0
- package/lib/types/host/workbuddy/oauth.d.ts.map +1 -1
- package/lib/types/host/workbuddy/routes.d.ts.map +1 -1
- package/lib/types/host/workbuddy/token-store.d.ts +30 -5
- package/lib/types/host/workbuddy/token-store.d.ts.map +1 -1
- package/lib/types/host/workbuddy/types.d.ts +9 -0
- package/lib/types/host/workbuddy/types.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/contracts.d.ts +2 -0
- package/lib/types/shared/contracts.d.ts.map +1 -1
- package/lib/types/shared/model-catalog.d.ts +43 -7
- package/lib/types/shared/model-catalog.d.ts.map +1 -1
- package/lib/types/shared/preferences.d.ts.map +1 -1
- package/package.json +32 -30
|
@@ -214,7 +214,7 @@ export declare const dictionaries: {
|
|
|
214
214
|
email: string;
|
|
215
215
|
lastUsed: string;
|
|
216
216
|
};
|
|
217
|
-
en: Record<"
|
|
218
|
-
'en-US': Record<"
|
|
217
|
+
en: Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
218
|
+
'en-US': Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
219
219
|
};
|
|
220
220
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -265,8 +265,8 @@ export declare const dictionaries: {
|
|
|
265
265
|
readonly lastUsed: string;
|
|
266
266
|
readonly accountId: string;
|
|
267
267
|
};
|
|
268
|
-
en: Record<"
|
|
269
|
-
'en-US': Record<"
|
|
268
|
+
en: Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "testConnection" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "keyName" | "organization" | "planUnknown" | "subscription" | "renews" | "authenticatedAt" | "cancelSignIn" | "openSignInPage" | "apiKeySection" | "apiKeyHint" | "apiKeyPlaceholder" | "apiKeySave" | "apiKeySaving" | "apiKeySaved" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "wireAnthropic" | "wireOpenai" | "quotaCredits" | "quotaUnlimited", string>;
|
|
269
|
+
'en-US': Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "testConnection" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "keyName" | "organization" | "planUnknown" | "subscription" | "renews" | "authenticatedAt" | "cancelSignIn" | "openSignInPage" | "apiKeySection" | "apiKeyHint" | "apiKeyPlaceholder" | "apiKeySave" | "apiKeySaving" | "apiKeySaved" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "wireAnthropic" | "wireOpenai" | "quotaCredits" | "quotaUnlimited", string>;
|
|
270
270
|
};
|
|
271
271
|
export type CommandCodeLocaleKey = keyof typeof zh;
|
|
272
272
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAenE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAgB/D,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,0BAA0B,EAAE,SAAS,CAAA;QACrC,iBAAiB,EAAE,GAAG,CAAA;QACtB,kBAAkB,EAAE,GAAG,CAAA;QACvB,eAAe,EAAE,GAAG,CAAA;QACpB,eAAe,EAAE,GAAG,CAAA;KACrB;CACF;AAED,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAenE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAgB/D,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,0BAA0B,EAAE,SAAS,CAAA;QACrC,iBAAiB,EAAE,GAAG,CAAA;QACtB,kBAAkB,EAAE,GAAG,CAAA;QACvB,eAAe,EAAE,GAAG,CAAA;QACpB,eAAe,EAAE,GAAG,CAAA;KACrB;CACF;AAED,eAAO,MAAM,MAAM,UAQlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI,CA8I9C"}
|
|
@@ -418,8 +418,8 @@ export declare const dictionaries: {
|
|
|
418
418
|
readonly lastUsed: string;
|
|
419
419
|
readonly accountId: string;
|
|
420
420
|
};
|
|
421
|
-
en: Record<"
|
|
422
|
-
'en-US': Record<"
|
|
421
|
+
en: Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "testConnection" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "authenticatedAt" | "cancelSignIn" | "openSignInPage" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "wireAnthropic" | "wireOpenai" | "quotaUnlimited" | "nickname" | "region" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "copied" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "testSuccess" | "testFailed" | "capVideo" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortLow" | "effortHigh" | "effortMax" | "effortNone" | "contextWindowPlan" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheOutput" | "cacheRequests" | "cacheHint" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftTools" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaPlan" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "resetAt" | "requests", string>;
|
|
422
|
+
'en-US': Record<"account" | "storage" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "testConnection" | "enableProvider" | "selectAll" | "unselectAll" | "modelsHint" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed" | "pageDesc" | "signingIn" | "providerValue" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "authenticatedAt" | "cancelSignIn" | "openSignInPage" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "wireAnthropic" | "wireOpenai" | "quotaUnlimited" | "nickname" | "region" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "deviceCodeHint" | "copyCode" | "copied" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "testSuccess" | "testFailed" | "capVideo" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortLow" | "effortHigh" | "effortMax" | "effortNone" | "contextWindowPlan" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheOutput" | "cacheRequests" | "cacheHint" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftTools" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaPlan" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "resetAt" | "requests", string>;
|
|
423
423
|
};
|
|
424
424
|
export type KimiCodeLocaleKey = keyof typeof zh;
|
|
425
425
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -76,9 +76,9 @@ export declare const zh: {
|
|
|
76
76
|
readonly searchProviderCodex: "ChatGPT(代理隧道)";
|
|
77
77
|
readonly providerDefault: "使用 Provider 默认值";
|
|
78
78
|
readonly contextWindows: "模型上下文窗口";
|
|
79
|
-
readonly contextWindowsHint: "
|
|
79
|
+
readonly contextWindowsHint: "GPT-6 系列默认 384K(最高 872K),GPT-5.6 系列默认 272K(最高 1M)。该值用于 DSH 的压缩与溢出判断,可输入 872K、512K 等容量。";
|
|
80
80
|
readonly contextWindow: "上下文窗口";
|
|
81
|
-
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(6
|
|
81
|
+
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(GPT-6 系列为 872K,GPT-5.6 系列为 1M);可使用 K 或 M 后缀。";
|
|
82
82
|
readonly saveContextWindow: "保存上下文窗口";
|
|
83
83
|
readonly save: "保存";
|
|
84
84
|
readonly tokens: "tokens";
|
|
@@ -227,9 +227,9 @@ export declare const dictionaries: {
|
|
|
227
227
|
readonly searchProviderCodex: "ChatGPT(代理隧道)";
|
|
228
228
|
readonly providerDefault: "使用 Provider 默认值";
|
|
229
229
|
readonly contextWindows: "模型上下文窗口";
|
|
230
|
-
readonly contextWindowsHint: "
|
|
230
|
+
readonly contextWindowsHint: "GPT-6 系列默认 384K(最高 872K),GPT-5.6 系列默认 272K(最高 1M)。该值用于 DSH 的压缩与溢出判断,可输入 872K、512K 等容量。";
|
|
231
231
|
readonly contextWindow: "上下文窗口";
|
|
232
|
-
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(6
|
|
232
|
+
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(GPT-6 系列为 872K,GPT-5.6 系列为 1M);可使用 K 或 M 后缀。";
|
|
233
233
|
readonly saveContextWindow: "保存上下文窗口";
|
|
234
234
|
readonly save: "保存";
|
|
235
235
|
readonly tokens: "tokens";
|
|
@@ -298,6 +298,6 @@ export declare const dictionaries: {
|
|
|
298
298
|
readonly email: string;
|
|
299
299
|
readonly lastUsed: string;
|
|
300
300
|
};
|
|
301
|
-
en: Record<"
|
|
301
|
+
en: Record<"quota" | "account" | "storage" | "rotationStrategy" | "stale" | "pending" | "accountId" | "relogin" | "tokens" | "title" | "hubTitle" | "intro" | "signedOut" | "signedIn" | "plan" | "expires" | "storageWindows" | "storageMacKeychain" | "storageLinuxFile" | "storageMemory" | "storageUnavailable" | "securityWindows" | "securityMacKeychain" | "securityLinuxFile" | "securityMemory" | "securityUnavailable" | "signIn" | "signInAgain" | "cancel" | "signOut" | "refreshToken" | "popupBlocked" | "continueLogin" | "loading" | "connection" | "provider" | "connectionState" | "connected" | "untested" | "testConnection" | "testing" | "latency" | "enableProvider" | "selectAll" | "unselectAll" | "models" | "modelsHint" | "proxySettings" | "proxyMode" | "proxyModeHint" | "proxyModeAuto" | "proxyModeCustom" | "proxyModeDirect" | "customProxyUrl" | "customProxyUrlHint" | "customProxyUrlPlaceholder" | "saveProxyUrl" | "proxyDetected" | "proxyDetectedEffective" | "proxyNoneDetected" | "proxyDirectHint" | "enhancements" | "fastMode" | "fastModeHint" | "outputVerbosity" | "outputVerbosityHint" | "verbosityLow" | "verbosityMedium" | "verbosityHigh" | "reasoningSummary" | "reasoningSummaryHint" | "summaryAuto" | "summaryConcise" | "summaryDetailed" | "summaryNone" | "searchProvider" | "searchProviderHint" | "searchProviderDsh" | "searchProviderCodex" | "providerDefault" | "contextWindows" | "contextWindowsHint" | "contextWindow" | "contextWindowInvalid" | "saveContextWindow" | "save" | "quickQuota" | "quickQuotaHint" | "quotaIntro" | "refreshQuota" | "refreshing" | "noQuota" | "quotaSignedOut" | "updated" | "primary" | "secondary" | "limitWindow" | "used" | "remaining" | "available" | "unavailable" | "unlimited" | "credits" | "monthlySpend" | "resetCredits" | "resetCreditExpires" | "useResetCredit" | "usingResetCredit" | "useResetCreditConfirm" | "resetCreditUsed" | "spendControlReached" | "limit" | "exhausted" | "resets" | "quickQuotaLabel" | "quickQuotaLoading" | "imageToolRunning" | "imageToolDone" | "imageToolFailed" | "image" | "openImage" | "openNamedImage" | "imageLoading" | "imageLoadFailed" | "imagePreviewClose" | "imagePreviewOpenOriginal" | "retry" | "unknown" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "storageNotice" | "email" | "lastUsed", string>;
|
|
302
302
|
};
|
|
303
303
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `dispatch` agent preset as a runtime declaration.
|
|
3
|
+
*
|
|
4
|
+
* Harness 0.1.7 registers agent presets from a plugin row
|
|
5
|
+
* (`@deepseek-ai/dsh-agent-preset`, whose class calls
|
|
6
|
+
* `ctx.agentPresets.register(config)`) and stopped reading the harness-home
|
|
7
|
+
* `<dshHome>/.agent-presets` directory altogether, so on that generation the
|
|
8
|
+
* file copy `src/host/preset-sync.ts` performs is invisible work. Shipping the
|
|
9
|
+
* row in this plugin's own bundle patch instead is not an option: the package
|
|
10
|
+
* does not exist on the older generations this plugin still supports, and an
|
|
11
|
+
* unresolved non-disabled entry makes 0.1.5/0.1.6's `assertEntriesLoaded` refuse
|
|
12
|
+
* to boot the host. The declaration is therefore created here, at runtime, and
|
|
13
|
+
* only after probing that the running installation has both the row package and
|
|
14
|
+
* a usable `agentPresets` service.
|
|
15
|
+
*
|
|
16
|
+
* `presets/dispatch/` stays the shipped form of the preset: the YAML there is
|
|
17
|
+
* what {@link DISPATCH_PRESET} transcribes, and it is also what every older
|
|
18
|
+
* generation receives as files. A row edit belongs in both places.
|
|
19
|
+
*
|
|
20
|
+
* Nothing here imports `@deepseek-ai/dsh-agent-preset` or
|
|
21
|
+
* `@deepseek-ai/dsh-agent-preset-registry`, not even as a type: neither package
|
|
22
|
+
* exists on the generations this plugin still supports, and one build and one
|
|
23
|
+
* bundle are shared across all of them.
|
|
24
|
+
* @module dsh-chatgpt-subscription/agent-preset
|
|
25
|
+
*/
|
|
26
|
+
/** The row package whose presence marks a harness that takes presets from a row. */
|
|
27
|
+
export declare const PRESET_REGISTRY_PACKAGE = "@deepseek-ai/dsh-agent-preset";
|
|
28
|
+
/** The id the `dispatch` preset is selectable under. */
|
|
29
|
+
export declare const DISPATCH_PRESET_ID = "dispatch";
|
|
30
|
+
/**
|
|
31
|
+
* One plugin row of a preset declaration: the Loader's own entry shape, minus
|
|
32
|
+
* the expression form `disabled` takes in YAML.
|
|
33
|
+
*/
|
|
34
|
+
export interface PresetRow {
|
|
35
|
+
/** Row id inside the mounted preset tree. */
|
|
36
|
+
id: string;
|
|
37
|
+
/** Module specifier the row mounts. */
|
|
38
|
+
name: string;
|
|
39
|
+
/** Config for the row's plugin; for a group row, its nested rows. */
|
|
40
|
+
config?: unknown;
|
|
41
|
+
/** Whether the row owns a nested entry list. */
|
|
42
|
+
group?: boolean;
|
|
43
|
+
/** Whether the Loader starts the row. */
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** Service names the row isolates, each mapped to its realm label. */
|
|
46
|
+
isolate?: Record<string, true | string>;
|
|
47
|
+
}
|
|
48
|
+
/** A preset as the harness's registry accepts one. */
|
|
49
|
+
export interface PresetDefinition {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly name?: string;
|
|
52
|
+
readonly description?: string;
|
|
53
|
+
readonly order?: number;
|
|
54
|
+
readonly plugins: readonly PresetRow[];
|
|
55
|
+
}
|
|
56
|
+
/** The `agentPresets` service, as far as this declaration reads it. */
|
|
57
|
+
export interface AgentPresetRegistry {
|
|
58
|
+
/**
|
|
59
|
+
* Register one definition and mount its rows in a fresh scope.
|
|
60
|
+
* @param definition - identity, display fields, and the rows to mount.
|
|
61
|
+
* @returns the disposer that retires the definition and collects the scope.
|
|
62
|
+
*/
|
|
63
|
+
register(definition: PresetDefinition): Promise<() => Promise<void>>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The plugin-context surface the preset wiring reads: the service lookup, the
|
|
67
|
+
* effect seam that owns the registration's disposer, and the logger.
|
|
68
|
+
*/
|
|
69
|
+
export interface PresetHost {
|
|
70
|
+
/** Read a service without declaring an injection — here `agentPresets`. */
|
|
71
|
+
get(name: string): unknown;
|
|
72
|
+
/** Register a disposer that runs when this plugin unloads. */
|
|
73
|
+
effect(execute: () => Promise<() => Promise<void>>, label?: string): unknown;
|
|
74
|
+
/** The plugin logger. */
|
|
75
|
+
logger: {
|
|
76
|
+
info(message: string): void;
|
|
77
|
+
warn(message: string): void;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/** Whether a bare specifier resolves in the running installation. */
|
|
81
|
+
export type SpecifierResolver = (specifier: string) => boolean;
|
|
82
|
+
/** What a runtime declaration attempt reported. */
|
|
83
|
+
export type PresetInstall = 'registered' | 'legacy';
|
|
84
|
+
/**
|
|
85
|
+
* The `dispatch` (调度模式) preset: identity from `presets/dispatch/preset.yml`,
|
|
86
|
+
* rows transcribed from `presets/dispatch/agent.cordis.yml` in the same order.
|
|
87
|
+
*
|
|
88
|
+
* The transcription carries harness 0.1.7's package names — the workflow row
|
|
89
|
+
* mounts `@deepseek-ai/dsh-workflow-ptc`, the spelling 0.1.6 renamed the package
|
|
90
|
+
* to — because this definition only ever reaches a harness that has the row
|
|
91
|
+
* mechanism. `disabled` values are real booleans: the YAML `!!js` form exists
|
|
92
|
+
* for text the Loader evaluates, and nothing evaluates this.
|
|
93
|
+
*/
|
|
94
|
+
export declare const DISPATCH_PRESET: PresetDefinition;
|
|
95
|
+
/**
|
|
96
|
+
* Declare `dispatch` to the running harness, when the harness has the mechanism.
|
|
97
|
+
*
|
|
98
|
+
* Both halves of the probe matter: the row package is what makes a declarative
|
|
99
|
+
* preset possible at all on a given generation, and the service is what a
|
|
100
|
+
* harness shipping that package provides. A generation with either half missing
|
|
101
|
+
* — every release before 0.1.7 — is reported as `'legacy'`, and the caller keeps
|
|
102
|
+
* copying the bundled tree into the discovery root.
|
|
103
|
+
*
|
|
104
|
+
* Registration is asynchronous, so the report describes the decision rather
|
|
105
|
+
* than its outcome: the effect owns the await, a failure is logged there, and
|
|
106
|
+
* neither the probe nor the effect is allowed to throw at the caller.
|
|
107
|
+
* @param host - plugin context: service lookup, effect seam, and logger.
|
|
108
|
+
* @param resolves - whether a bare specifier resolves in this installation.
|
|
109
|
+
* @returns `'registered'` when this call took the preset, `'legacy'` when the
|
|
110
|
+
* caller still has to copy the bundled tree into the discovery root.
|
|
111
|
+
*/
|
|
112
|
+
export declare function installDispatchPreset(host: PresetHost, resolves?: SpecifierResolver): PresetInstall;
|
|
113
|
+
//# sourceMappingURL=agent-preset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-preset.d.ts","sourceRoot":"","sources":["../../../src/host/agent-preset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAIH,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,kCAAkC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AA;QAC3B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KAC5B,CAAA;CACF;AAED,qEAAqE;AACrE,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAA;AAE9D,mDAAmD;AACnD,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,QAAQ,CAAA;AAEnD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,gBA6O7B,CAAA;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,UAAU,EAChB,QAAQ,GAAE,iBAAoC,GAC7C,aAAa,CAuBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAU7B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,KAAK,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAG/G,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAU7B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,KAAK,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAG/G,OAA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O,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;YAwBpD,aAAa;CAuI7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type OutboundContentBlock, type GenerateOptions, type StreamChunk } from '../common/llm-compat.ts';
|
|
2
2
|
import type { AttachmentStore } from '@deepseek-ai/dsh-attachment';
|
|
3
3
|
import { type AntigravityModelDef } from './types.ts';
|
|
4
4
|
export declare function sanitizeToolCallId(id: string, fallbackName: string): string;
|
|
@@ -61,7 +61,7 @@ export declare function getMaxOutputTokens(modelId: string, runtimeModel: string
|
|
|
61
61
|
export declare function progressExplanationInstruction(tools: GenerateOptions['tools']): string | undefined;
|
|
62
62
|
export declare function buildRequest(options: GenerateOptions, model: AntigravityModelDef, projectId: string, runtimeModel: string, effort?: string, images?: ResolvedRequestImages): Record<string, unknown>;
|
|
63
63
|
export interface StreamState {
|
|
64
|
-
blocks:
|
|
64
|
+
blocks: OutboundContentBlock[];
|
|
65
65
|
replayBlocks: Array<{
|
|
66
66
|
parts: Array<Record<string, unknown>>;
|
|
67
67
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/mapper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;AAEtF,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAA;AAyBnB,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAI3E;AAkBD,8EAA8E;AAC9E,M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AE,CAmB7D"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SettingsProvider } from '@deepseek-ai/dsh-settings';
|
|
2
1
|
import type { CredentialStore } from '../token-store.ts';
|
|
3
2
|
export declare const ANTIGRAVITY_PREFERENCES_NAMESPACE = "dsh-antigravity";
|
|
4
3
|
export interface AntigravityCredentials {
|
|
@@ -32,7 +31,7 @@ export interface AntigravityPreferenceStore {
|
|
|
32
31
|
defaultReasoningEffort?: 'low' | 'medium' | 'high' | null;
|
|
33
32
|
}): Promise<AntigravityModelSettings>;
|
|
34
33
|
}
|
|
35
|
-
export declare function registerAntigravityPreferenceStore(settings?:
|
|
34
|
+
export declare function registerAntigravityPreferenceStore(settings?: unknown, fallbackStore?: FileModelSettingsStore): AntigravityPreferenceStore;
|
|
36
35
|
export declare function dshHomeDir(): string;
|
|
37
36
|
export declare function credentialPath(): string;
|
|
38
37
|
export declare function modelSettingsPath(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-store.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/token-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"token-store.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/token-store.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,eAAO,MAAM,iCAAiC,oBAAoB,CAAA;AAElE,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,EA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AAI,MAAM;IAMd,OAAO,CAAC,SAAS;YAWH,YAAY;YAUZ,YAAY;IAO1B,IAAI,IAAI,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC;IA8B9C,KAAK,CAAC,WAAW,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAOxB;AAED,qBAAa,sBAAsB;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,SAAsB;IAE3D,IAAI,IAAI,MAAM;IAIR,IAAI,IAAI,OAAO,CAAC,wBAAwB,CAAC;IA4CzC,KAAK,CAAC,QAAQ,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAOxD,cAAc,CAAC,KAAK,EAAE;QAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;QAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC/C,sBAAsB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAA;KAC1D,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAsB/B,kBAAkB,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAIhF,gBAAgB,CACpB,aAAa,EAAE,uBAAuB,EAAE,EACxC,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAUrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex-images.d.ts","sourceRoot":"","sources":["../../../src/host/codex-images.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"codex-images.d.ts","sourceRoot":"","sources":["../../../src/host/codex-images.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;AAWtF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAIjD,KAAK,SAAS,GAAG,OAAO,KAAK,CAAA;AAE7B,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,SAAS,CAAA;CACpB;AAiBD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,qBAA0B,mDA6GpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex-search.d.ts","sourceRoot":"","sources":["../../../src/host/codex-search.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codex-search.d.ts","sourceRoot":"","sources":["../../../src/host/codex-search.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,iBAAiB,EAAqE,MAAM,sBAAsB,CAAA;AAM1I,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAIjD,KAAK,SAAS,GAAG,OAAO,KAAK,CAAA;AAE7B,MAAM,WAAW,0BAA0B;IACzC,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,MAAM,CAAA;CACzB;AAID,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,YAAY,EACnB,OAAO,GAAE,0BAA+B,GACvC,iBAAiB,CA8BnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,iBAAiB,EAEjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,M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QAAQ,CAAC,WAAW,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAd1B;;;;;;;OAOG;IACH,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;gBAGxC,KAAK,sBAA4B,EACjC,aAAa,yBAA+B,EAC5C,WAAW,CAAC,EAAE,0BAA0B,YAAA,EACxC,OAAO,GAAE,yBAA8B,EACxD,WAAW,CAAC,EAAE,sBAAsB;IAMtC,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe;IAI/C,mBAAmB,IAAI,mBAAmB;IAI1C,mBAAmB,IAAI,SAAS;IAIhC,OAAO,CAAC,QAAQ;IAIhB;;;OAGG;YACW,OAAO;IAYrB,OAAO,CAAC,gBAAgB;IAUlB,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC;IAgB/D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA0BpG,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAO/F,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;YAgBpD,aAAa;CA0K7B"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://commandcode.ai/blog/command-code-provider-api
|
|
10
10
|
*/
|
|
11
|
-
import { type
|
|
11
|
+
import { type OutboundContentBlock, type GenerateOptions, type StreamChunk } from '../common/llm-compat.ts';
|
|
12
12
|
import type { AttachmentStore } from '@deepseek-ai/dsh-attachment';
|
|
13
13
|
import type { CommandCodeWire } from '../../shared/command-code-contracts.ts';
|
|
14
14
|
/** Attachment seam this route needs: verified bytes for one durable image. */
|
|
@@ -65,7 +65,7 @@ interface PendingToolCall {
|
|
|
65
65
|
}
|
|
66
66
|
export interface CommandCodeStreamState {
|
|
67
67
|
wire: CommandCodeWire;
|
|
68
|
-
blocks:
|
|
68
|
+
blocks: OutboundContentBlock[];
|
|
69
69
|
current: {
|
|
70
70
|
index: number;
|
|
71
71
|
type: 'text' | 'reasoning';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAGL,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;AAGtF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AA8B7E,8EAA8E;AAC9E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,CAAA;AAEtE,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9E;IAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;CAAE,CAAA;AAEpC,qFAAqF;AACrF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;AAI7E;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,QAAmB,CAAA;AAwDvD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,GA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,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC3E,2DAA2D;IAC3D,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;IACvC,wDAAwD;IACxD,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,GAAG,sBAAsB,CAoB/E;AAoCD,6DAA6D;AAC7D,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAAE,CAkElG;AAsDD,qDAAqD;AACrD,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAAE,CAgKrG;AAmBD,uEAAuE;AACvE,wBAAgB,WAAW,CAAC,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAAE,CAOxE;AAED,kEAAkE;AAClE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,sBAAsB,GAAG,IAAI,CAIxE"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SettingsProvider } from '@deepseek-ai/dsh-settings';
|
|
2
1
|
import type { CommandCodeApiEnv, CommandCodeReasoningEffort } from '../../shared/command-code-contracts.ts';
|
|
3
2
|
import type { CredentialStore } from '../token-store.ts';
|
|
4
3
|
export declare const COMMAND_CODE_PREFERENCES_NAMESPACE = "dsh-command-code";
|
|
@@ -48,11 +47,11 @@ export interface CommandCodePreferenceStore {
|
|
|
48
47
|
}): Promise<CommandCodeModelSettings>;
|
|
49
48
|
}
|
|
50
49
|
/**
|
|
51
|
-
* Bind the model selection to the DSH settings document
|
|
52
|
-
*
|
|
53
|
-
*
|
|
50
|
+
* Bind the model selection to the DSH settings document when the harness still
|
|
51
|
+
* offers one, and to the JSON file beside it otherwise: a harness without the
|
|
52
|
+
* register seam (0.1.7, and a headless test) reads that file back on boot.
|
|
54
53
|
*/
|
|
55
|
-
export declare function registerCommandCodePreferenceStore(settings?:
|
|
54
|
+
export declare function registerCommandCodePreferenceStore(settings?: unknown, fallbackStore?: FileModelSettingsStore): CommandCodePreferenceStore;
|
|
56
55
|
export declare function credentialPath(): string;
|
|
57
56
|
export declare function modelSettingsPath(): string;
|
|
58
57
|
export declare function parseCommandCodeCredentials(value: unknown): CommandCodeCredentials;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-store.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/token-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"token-store.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/token-store.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAA;AAG3G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAOxD,eAAO,MAAM,kCAAkC,qBAAqB,CAAA;AAEpE,YAAY,EAAE,0BAA0B,EAAE,CAAA;AAO1C;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,oFAAoF;IACpF,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM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,IAAI,GAAG,iBAAiB,CAE9F"}
|
|
@@ -134,7 +134,31 @@ export declare class AccountPoolCore<TCredentials, TAccount extends PoolAccountS
|
|
|
134
134
|
protected readonly hooks: AccountPoolHooks<TCredentials, TAccount, TSummary>;
|
|
135
135
|
private readonly filePath;
|
|
136
136
|
private readonly backend;
|
|
137
|
+
/**
|
|
138
|
+
* Bumped by every write that can move which account serves a request.
|
|
139
|
+
*
|
|
140
|
+
* Reading it costs nothing — unlike {@link read}, which decrypts the pool file
|
|
141
|
+
* (a DPAPI unprotect through a spawned `powershell.exe` on Windows, ~200 ms).
|
|
142
|
+
* A cache that must not report one account's data under another account's name
|
|
143
|
+
* can therefore invalidate on identity change without paying a credential read
|
|
144
|
+
* to discover it.
|
|
145
|
+
*/
|
|
146
|
+
private identityRevision;
|
|
137
147
|
constructor(hooks: AccountPoolHooks<TCredentials, TAccount, TSummary>);
|
|
148
|
+
/**
|
|
149
|
+
* A cheap, in-memory revision of the pool's serving identity.
|
|
150
|
+
*
|
|
151
|
+
* Compared against a previously observed value to detect an account change
|
|
152
|
+
* without decrypting the pool file. Every mutating write advances it, because
|
|
153
|
+
* which account a request resolves to depends on more than membership:
|
|
154
|
+
* eligibility reads `authStatus` and `cooldownUntil`, and the rotation
|
|
155
|
+
* strategy reads `isPrimary`, `activeAccountId` and `lastUsedAt`. All of
|
|
156
|
+
* those are written through {@link write}, so bumping it there covers every
|
|
157
|
+
* one of them without having to enumerate them per mutator.
|
|
158
|
+
* Over-invalidating only costs one credential read, while under-invalidating
|
|
159
|
+
* would report one account's usage under another account's name.
|
|
160
|
+
*/
|
|
161
|
+
currentIdentityRevision(): number;
|
|
138
162
|
/** Human description of where this pool's credentials live. */
|
|
139
163
|
path(): string;
|
|
140
164
|
private serialize;
|
|
@@ -180,6 +204,48 @@ export declare class AccountPoolCore<TCredentials, TAccount extends PoolAccountS
|
|
|
180
204
|
/** Whether an account may serve a request right now. */
|
|
181
205
|
protected isEligible(account: TAccount, now: number, triedAccountIds?: ReadonlySet<string>): boolean;
|
|
182
206
|
hasAnotherAvailableAccount(triedAccountIds: ReadonlySet<string>): Promise<boolean>;
|
|
207
|
+
/**
|
|
208
|
+
* Read one account's credential for work that is *not* a metered model
|
|
209
|
+
* request, without letting rotation state stand in the way.
|
|
210
|
+
*
|
|
211
|
+
* There are two different questions, and conflating them broke both:
|
|
212
|
+
*
|
|
213
|
+
* - "which account should serve this request?" — a routing decision, answered
|
|
214
|
+
* by {@link getEffectiveAccount} through cooldowns, auth status and the
|
|
215
|
+
* rotation strategy.
|
|
216
|
+
* - "may I have a usable ChatGPT credential?" — a credential question, asked
|
|
217
|
+
* by the web search, web fetch and image tools.
|
|
218
|
+
*
|
|
219
|
+
* A spent Codex rate-limit window says nothing about the other ChatGPT
|
|
220
|
+
* endpoints: search, fetch and image generation are not metered against it and
|
|
221
|
+
* keep working with the very same token. Routing those tools through
|
|
222
|
+
* {@link getEffectiveAccount} made one exhausted window fail all of them —
|
|
223
|
+
* and reported it as "credentials are required", which sent people looking for
|
|
224
|
+
* a sign-in problem they did not have.
|
|
225
|
+
*
|
|
226
|
+
* A credential that is *known* to be unusable is still refused (a rejected
|
|
227
|
+
* refresh token, an account the upstream already rejected at sign-in); only
|
|
228
|
+
* cooldowns — which are rotation bookkeeping — are ignored.
|
|
229
|
+
*
|
|
230
|
+
* @param fetchFn - fetch used if the credential is close to expiry.
|
|
231
|
+
*/
|
|
232
|
+
getCredentialAccount(fetchFn?: typeof fetch): Promise<{
|
|
233
|
+
account: TAccount;
|
|
234
|
+
credentials: TCredentials;
|
|
235
|
+
}>;
|
|
236
|
+
/** Whether one account's credential must be refreshed before it is handed out. */
|
|
237
|
+
private shouldRefreshCredential;
|
|
238
|
+
/**
|
|
239
|
+
* Whether an account's stored credential is known to be unusable.
|
|
240
|
+
*
|
|
241
|
+
* Rotation bookkeeping — cooldowns, the tried set — is deliberately absent:
|
|
242
|
+
* those describe routing, not the credential.
|
|
243
|
+
*/
|
|
244
|
+
protected isCredentialUsable(account: TAccount): boolean;
|
|
245
|
+
/** The account a rotation strategy picks out of an already-eligible set. */
|
|
246
|
+
private selectAccount;
|
|
247
|
+
/** The error every-account-unavailable raises, including the shortest wait. */
|
|
248
|
+
private allUnavailableError;
|
|
183
249
|
/**
|
|
184
250
|
* Pick the account for the next request, refreshing its credential when it is
|
|
185
251
|
* about to expire.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-pool.d.ts","sourceRoot":"","sources":["../../../../src/host/common/account-pool.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAIxD,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,wCAAwC,CAAA;AAE/C,wEAAwE;AACxE,eAAO,MAAM,sBAAsB,QAAS,CAAA;AAK5C,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,KAAK,CAAA;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB,CAAC,YAAY;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,YAAY,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,4EAA4E;AAC5E,MAAM,WAAW,QAAQ,CAAC,QAAQ;IAChC,OAAO,EAAE,CAAC,CAAA;IACV,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,EAAE,uBAAuB,CAAA;IACzC,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACrB;AAED,8EAA8E;AAC9E,MAAM,WAAW,gBAAgB,CA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