@eddyskywalker/dsh-chatgpt-subscription 0.3.9 → 0.5.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 +51 -1
- package/lib/client.js +959 -503
- package/lib/client.js.map +1 -1
- package/lib/index.js +5592 -3670
- package/lib/types/client/CodexSubscriptionSection.d.ts +1 -1
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
- package/lib/types/client/antigravity/AntigravitySection.d.ts.map +1 -1
- package/lib/types/client/antigravity/locales.d.ts +63 -153
- package/lib/types/client/antigravity/locales.d.ts.map +1 -1
- package/lib/types/client/antigravity/styles.d.ts.map +1 -1
- package/lib/types/client/api.d.ts +13 -1
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +1 -1
- package/lib/types/client/command-code/locales.d.ts +72 -201
- package/lib/types/client/command-code/locales.d.ts.map +1 -1
- package/lib/types/client/common/AccountPoolSection.d.ts +41 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -0
- package/lib/types/client/common/account-pool-labels.d.ts +43 -0
- package/lib/types/client/common/account-pool-labels.d.ts.map +1 -0
- package/lib/types/client/common/styles.d.ts +11 -0
- package/lib/types/client/common/styles.d.ts.map +1 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -1
- package/lib/types/client/kimi-code/locales.d.ts +69 -336
- package/lib/types/client/kimi-code/locales.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +49 -3
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/host/antigravity/account-pool.d.ts +60 -0
- package/lib/types/host/antigravity/account-pool.d.ts.map +1 -0
- package/lib/types/host/antigravity/adapter.d.ts +3 -1
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/antigravity/oauth.d.ts +1 -1
- package/lib/types/host/antigravity/oauth.d.ts.map +1 -1
- package/lib/types/host/antigravity/routes.d.ts +3 -2
- package/lib/types/host/antigravity/routes.d.ts.map +1 -1
- package/lib/types/host/antigravity/token-store.d.ts +3 -0
- package/lib/types/host/antigravity/token-store.d.ts.map +1 -1
- package/lib/types/host/codex-account-pool.d.ts +64 -0
- package/lib/types/host/codex-account-pool.d.ts.map +1 -0
- package/lib/types/host/command-code/account-pool.d.ts +60 -0
- package/lib/types/host/command-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/command-code/adapter.d.ts +11 -1
- package/lib/types/host/command-code/adapter.d.ts.map +1 -1
- package/lib/types/host/command-code/client.d.ts +17 -1
- package/lib/types/host/command-code/client.d.ts.map +1 -1
- package/lib/types/host/command-code/mapper.d.ts.map +1 -1
- package/lib/types/host/command-code/oauth.d.ts +4 -1
- package/lib/types/host/command-code/oauth.d.ts.map +1 -1
- package/lib/types/host/command-code/routes.d.ts +12 -3
- package/lib/types/host/command-code/routes.d.ts.map +1 -1
- package/lib/types/host/command-code/token-store.d.ts +3 -0
- package/lib/types/host/command-code/token-store.d.ts.map +1 -1
- package/lib/types/host/common/account-pool.d.ts +179 -0
- package/lib/types/host/common/account-pool.d.ts.map +1 -0
- package/lib/types/host/common/home.d.ts +8 -0
- package/lib/types/host/common/home.d.ts.map +1 -0
- package/lib/types/host/kimi-code/account-pool.d.ts +48 -0
- package/lib/types/host/kimi-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/kimi-code/adapter.d.ts +10 -1
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/client.d.ts +16 -0
- package/lib/types/host/kimi-code/client.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/kimi-code/oauth.d.ts +2 -0
- package/lib/types/host/kimi-code/oauth.d.ts.map +1 -1
- package/lib/types/host/kimi-code/routes.d.ts +11 -3
- package/lib/types/host/kimi-code/routes.d.ts.map +1 -1
- package/lib/types/host/kimi-code/token-store.d.ts +3 -0
- package/lib/types/host/kimi-code/token-store.d.ts.map +1 -1
- package/lib/types/host/model-catalog.d.ts.map +1 -1
- package/lib/types/host/oauth-service.d.ts +41 -2
- package/lib/types/host/oauth-service.d.ts.map +1 -1
- package/lib/types/host/preferences.d.ts.map +1 -1
- package/lib/types/host/preset-sync.d.ts +7 -1
- package/lib/types/host/preset-sync.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts +15 -0
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/routes.d.ts +2 -1
- package/lib/types/host/routes.d.ts.map +1 -1
- package/lib/types/host/token-store-windows.d.ts.map +1 -1
- package/lib/types/host/usage-service.d.ts +15 -0
- package/lib/types/host/usage-service.d.ts.map +1 -1
- package/lib/types/index.d.ts +6 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/account-pool-contracts.d.ts +47 -0
- package/lib/types/shared/account-pool-contracts.d.ts.map +1 -0
- package/lib/types/shared/antigravity-contracts.d.ts +12 -0
- package/lib/types/shared/antigravity-contracts.d.ts.map +1 -1
- package/lib/types/shared/command-code-contracts.d.ts +16 -0
- package/lib/types/shared/command-code-contracts.d.ts.map +1 -1
- package/lib/types/shared/contracts.d.ts +8 -0
- package/lib/types/shared/contracts.d.ts.map +1 -1
- package/lib/types/shared/kimi-code-contracts.d.ts +16 -0
- package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -1
- package/lib/types/shared/preferences.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots
|
|
|
2
2
|
import type { CredentialStorageDto, PluginStatusDto, QuotaWindowDto } from '../shared/contracts.ts';
|
|
3
3
|
import { NS } from './locales.ts';
|
|
4
4
|
type Props = PropsRuntime<'settings.section'> & PropsLocale<typeof NS>;
|
|
5
|
-
type BusyAction = 'login' | 'token' | 'quota' | 'reset-credit' | 'test' | 'logout' | 'preferences' | null;
|
|
5
|
+
type BusyAction = 'login' | 'token' | 'quota' | 'reset-credit' | 'test' | 'logout' | 'preferences' | 'set-primary' | 'delete' | 'clear-cooldown' | 'strategy' | null;
|
|
6
6
|
type Translate = Props['t'];
|
|
7
7
|
export declare function CodexSubscriptionSection({ t }: Props): React.JSX.Element;
|
|
8
8
|
export declare function storageLabel(storage: CredentialStorageDto | undefined, t: Translate): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyB,oBAAoB,EAAE,eAAe,EAAkB,cAAc,EAA8D,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyB,oBAAoB,EAAE,eAAe,EAAkB,cAAc,EAA8D,MAAM,wBAAwB,CAAA;AAKtM,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAGjC,KAAK,KAAK,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;AACtE,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAC9F,aAAa,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,GAAG,IAAI,CAAA;AACnE,KAAK,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;AAE3B,wBAAgB,wBAAwB,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAsgBxE;AAiBD,wBAAgB,YAAY,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAO5F;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAO7F;AAcD,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAAE,YAAY,EAAE,WAAW,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAUzN;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAczH;AAMD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAYpF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,SAA4B,GAAG,MAAM,GAAG,IAAI,CAGxG;AAoCD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAgBtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AntigravitySection.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/AntigravitySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AntigravitySection.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/AntigravitySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAW/D,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAiBD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIpD;AAuBD,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA0gBnG"}
|
|
@@ -5,6 +5,19 @@ export declare const zh: {
|
|
|
5
5
|
account: string;
|
|
6
6
|
signedIn: string;
|
|
7
7
|
signedOut: string;
|
|
8
|
+
accountPool: string;
|
|
9
|
+
addAccount: string;
|
|
10
|
+
primaryAccount: string;
|
|
11
|
+
activeAccount: string;
|
|
12
|
+
setPrimary: string;
|
|
13
|
+
deleteAccount: string;
|
|
14
|
+
cooling: string;
|
|
15
|
+
clearCooldown: string;
|
|
16
|
+
rotationStrategy: string;
|
|
17
|
+
strategySequential: string;
|
|
18
|
+
strategyRoundRobin: string;
|
|
19
|
+
strategySticky: string;
|
|
20
|
+
noAccounts: string;
|
|
8
21
|
plan: string;
|
|
9
22
|
accountId: string;
|
|
10
23
|
expires: string;
|
|
@@ -21,6 +34,7 @@ export declare const zh: {
|
|
|
21
34
|
connectionState: string;
|
|
22
35
|
connected: string;
|
|
23
36
|
untested: string;
|
|
37
|
+
enableProvider: string;
|
|
24
38
|
modelsHint: string;
|
|
25
39
|
selectAll: string;
|
|
26
40
|
unselectAll: string;
|
|
@@ -49,58 +63,14 @@ export declare const zh: {
|
|
|
49
63
|
loading: string;
|
|
50
64
|
loginFailed: string;
|
|
51
65
|
tokens: string;
|
|
66
|
+
accountCount: string;
|
|
67
|
+
cooldownLeft: string;
|
|
68
|
+
needsRelogin: string;
|
|
69
|
+
relogin: string;
|
|
70
|
+
email: string;
|
|
71
|
+
lastUsed: string;
|
|
52
72
|
};
|
|
53
|
-
export declare const en:
|
|
54
|
-
title: string;
|
|
55
|
-
pageDesc: string;
|
|
56
|
-
account: string;
|
|
57
|
-
signedIn: string;
|
|
58
|
-
signedOut: string;
|
|
59
|
-
plan: string;
|
|
60
|
-
accountId: string;
|
|
61
|
-
expires: string;
|
|
62
|
-
storage: string;
|
|
63
|
-
storageNotice: string;
|
|
64
|
-
signInAgain: string;
|
|
65
|
-
refreshToken: string;
|
|
66
|
-
signOut: string;
|
|
67
|
-
signIn: string;
|
|
68
|
-
signingIn: string;
|
|
69
|
-
connection: string;
|
|
70
|
-
provider: string;
|
|
71
|
-
providerValue: string;
|
|
72
|
-
connectionState: string;
|
|
73
|
-
connected: string;
|
|
74
|
-
untested: string;
|
|
75
|
-
modelsHint: string;
|
|
76
|
-
selectAll: string;
|
|
77
|
-
unselectAll: string;
|
|
78
|
-
enhanced: string;
|
|
79
|
-
defaultReasoningEffort: string;
|
|
80
|
-
defaultReasoningEffortHint: string;
|
|
81
|
-
defaultEffortAuto: string;
|
|
82
|
-
contextWindowSection: string;
|
|
83
|
-
contextWindowHint: string;
|
|
84
|
-
save: string;
|
|
85
|
-
saved: string;
|
|
86
|
-
saving: string;
|
|
87
|
-
quotaSection: string;
|
|
88
|
-
quotaDesc: string;
|
|
89
|
-
refreshQuota: string;
|
|
90
|
-
refreshingQuota: string;
|
|
91
|
-
quotaEmpty: string;
|
|
92
|
-
googleValidation: string;
|
|
93
|
-
resetPrefix: string;
|
|
94
|
-
resetUnavailable: string;
|
|
95
|
-
resetNow: string;
|
|
96
|
-
timeDayHour: string;
|
|
97
|
-
timeHourMin: string;
|
|
98
|
-
timeMin: string;
|
|
99
|
-
updatedAt: string;
|
|
100
|
-
loading: string;
|
|
101
|
-
loginFailed: string;
|
|
102
|
-
tokens: string;
|
|
103
|
-
};
|
|
73
|
+
export declare const en: Record<keyof typeof zh, string>;
|
|
104
74
|
export declare const dictionaries: {
|
|
105
75
|
zh: {
|
|
106
76
|
title: string;
|
|
@@ -108,6 +78,19 @@ export declare const dictionaries: {
|
|
|
108
78
|
account: string;
|
|
109
79
|
signedIn: string;
|
|
110
80
|
signedOut: string;
|
|
81
|
+
accountPool: string;
|
|
82
|
+
addAccount: string;
|
|
83
|
+
primaryAccount: string;
|
|
84
|
+
activeAccount: string;
|
|
85
|
+
setPrimary: string;
|
|
86
|
+
deleteAccount: string;
|
|
87
|
+
cooling: string;
|
|
88
|
+
clearCooldown: string;
|
|
89
|
+
rotationStrategy: string;
|
|
90
|
+
strategySequential: string;
|
|
91
|
+
strategyRoundRobin: string;
|
|
92
|
+
strategySticky: string;
|
|
93
|
+
noAccounts: string;
|
|
111
94
|
plan: string;
|
|
112
95
|
accountId: string;
|
|
113
96
|
expires: string;
|
|
@@ -124,6 +107,7 @@ export declare const dictionaries: {
|
|
|
124
107
|
connectionState: string;
|
|
125
108
|
connected: string;
|
|
126
109
|
untested: string;
|
|
110
|
+
enableProvider: string;
|
|
127
111
|
modelsHint: string;
|
|
128
112
|
selectAll: string;
|
|
129
113
|
unselectAll: string;
|
|
@@ -152,6 +136,12 @@ export declare const dictionaries: {
|
|
|
152
136
|
loading: string;
|
|
153
137
|
loginFailed: string;
|
|
154
138
|
tokens: string;
|
|
139
|
+
accountCount: string;
|
|
140
|
+
cooldownLeft: string;
|
|
141
|
+
needsRelogin: string;
|
|
142
|
+
relogin: string;
|
|
143
|
+
email: string;
|
|
144
|
+
lastUsed: string;
|
|
155
145
|
};
|
|
156
146
|
'zh-CN': {
|
|
157
147
|
title: string;
|
|
@@ -159,6 +149,19 @@ export declare const dictionaries: {
|
|
|
159
149
|
account: string;
|
|
160
150
|
signedIn: string;
|
|
161
151
|
signedOut: string;
|
|
152
|
+
accountPool: string;
|
|
153
|
+
addAccount: string;
|
|
154
|
+
primaryAccount: string;
|
|
155
|
+
activeAccount: string;
|
|
156
|
+
setPrimary: string;
|
|
157
|
+
deleteAccount: string;
|
|
158
|
+
cooling: string;
|
|
159
|
+
clearCooldown: string;
|
|
160
|
+
rotationStrategy: string;
|
|
161
|
+
strategySequential: string;
|
|
162
|
+
strategyRoundRobin: string;
|
|
163
|
+
strategySticky: string;
|
|
164
|
+
noAccounts: string;
|
|
162
165
|
plan: string;
|
|
163
166
|
accountId: string;
|
|
164
167
|
expires: string;
|
|
@@ -175,6 +178,7 @@ export declare const dictionaries: {
|
|
|
175
178
|
connectionState: string;
|
|
176
179
|
connected: string;
|
|
177
180
|
untested: string;
|
|
181
|
+
enableProvider: string;
|
|
178
182
|
modelsHint: string;
|
|
179
183
|
selectAll: string;
|
|
180
184
|
unselectAll: string;
|
|
@@ -203,108 +207,14 @@ export declare const dictionaries: {
|
|
|
203
207
|
loading: string;
|
|
204
208
|
loginFailed: string;
|
|
205
209
|
tokens: string;
|
|
210
|
+
accountCount: string;
|
|
211
|
+
cooldownLeft: string;
|
|
212
|
+
needsRelogin: string;
|
|
213
|
+
relogin: string;
|
|
214
|
+
email: string;
|
|
215
|
+
lastUsed: string;
|
|
206
216
|
};
|
|
207
|
-
en:
|
|
208
|
-
|
|
209
|
-
pageDesc: string;
|
|
210
|
-
account: string;
|
|
211
|
-
signedIn: string;
|
|
212
|
-
signedOut: string;
|
|
213
|
-
plan: string;
|
|
214
|
-
accountId: string;
|
|
215
|
-
expires: string;
|
|
216
|
-
storage: string;
|
|
217
|
-
storageNotice: string;
|
|
218
|
-
signInAgain: string;
|
|
219
|
-
refreshToken: string;
|
|
220
|
-
signOut: string;
|
|
221
|
-
signIn: string;
|
|
222
|
-
signingIn: string;
|
|
223
|
-
connection: string;
|
|
224
|
-
provider: string;
|
|
225
|
-
providerValue: string;
|
|
226
|
-
connectionState: string;
|
|
227
|
-
connected: string;
|
|
228
|
-
untested: string;
|
|
229
|
-
modelsHint: string;
|
|
230
|
-
selectAll: string;
|
|
231
|
-
unselectAll: string;
|
|
232
|
-
enhanced: string;
|
|
233
|
-
defaultReasoningEffort: string;
|
|
234
|
-
defaultReasoningEffortHint: string;
|
|
235
|
-
defaultEffortAuto: string;
|
|
236
|
-
contextWindowSection: string;
|
|
237
|
-
contextWindowHint: string;
|
|
238
|
-
save: string;
|
|
239
|
-
saved: string;
|
|
240
|
-
saving: string;
|
|
241
|
-
quotaSection: string;
|
|
242
|
-
quotaDesc: string;
|
|
243
|
-
refreshQuota: string;
|
|
244
|
-
refreshingQuota: string;
|
|
245
|
-
quotaEmpty: string;
|
|
246
|
-
googleValidation: string;
|
|
247
|
-
resetPrefix: string;
|
|
248
|
-
resetUnavailable: string;
|
|
249
|
-
resetNow: string;
|
|
250
|
-
timeDayHour: string;
|
|
251
|
-
timeHourMin: string;
|
|
252
|
-
timeMin: string;
|
|
253
|
-
updatedAt: string;
|
|
254
|
-
loading: string;
|
|
255
|
-
loginFailed: string;
|
|
256
|
-
tokens: string;
|
|
257
|
-
};
|
|
258
|
-
'en-US': {
|
|
259
|
-
title: string;
|
|
260
|
-
pageDesc: string;
|
|
261
|
-
account: string;
|
|
262
|
-
signedIn: string;
|
|
263
|
-
signedOut: string;
|
|
264
|
-
plan: string;
|
|
265
|
-
accountId: string;
|
|
266
|
-
expires: string;
|
|
267
|
-
storage: string;
|
|
268
|
-
storageNotice: string;
|
|
269
|
-
signInAgain: string;
|
|
270
|
-
refreshToken: string;
|
|
271
|
-
signOut: string;
|
|
272
|
-
signIn: string;
|
|
273
|
-
signingIn: string;
|
|
274
|
-
connection: string;
|
|
275
|
-
provider: string;
|
|
276
|
-
providerValue: string;
|
|
277
|
-
connectionState: string;
|
|
278
|
-
connected: string;
|
|
279
|
-
untested: string;
|
|
280
|
-
modelsHint: string;
|
|
281
|
-
selectAll: string;
|
|
282
|
-
unselectAll: string;
|
|
283
|
-
enhanced: string;
|
|
284
|
-
defaultReasoningEffort: string;
|
|
285
|
-
defaultReasoningEffortHint: string;
|
|
286
|
-
defaultEffortAuto: string;
|
|
287
|
-
contextWindowSection: string;
|
|
288
|
-
contextWindowHint: string;
|
|
289
|
-
save: string;
|
|
290
|
-
saved: string;
|
|
291
|
-
saving: string;
|
|
292
|
-
quotaSection: string;
|
|
293
|
-
quotaDesc: string;
|
|
294
|
-
refreshQuota: string;
|
|
295
|
-
refreshingQuota: string;
|
|
296
|
-
quotaEmpty: string;
|
|
297
|
-
googleValidation: string;
|
|
298
|
-
resetPrefix: string;
|
|
299
|
-
resetUnavailable: string;
|
|
300
|
-
resetNow: string;
|
|
301
|
-
timeDayHour: string;
|
|
302
|
-
timeHourMin: string;
|
|
303
|
-
timeMin: string;
|
|
304
|
-
updatedAt: string;
|
|
305
|
-
loading: string;
|
|
306
|
-
loginFailed: string;
|
|
307
|
-
tokens: string;
|
|
308
|
-
};
|
|
217
|
+
en: Record<"tokens" | "title" | "pageDesc" | "account" | "signedIn" | "signedOut" | "accountPool" | "addAccount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "clearCooldown" | "rotationStrategy" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "plan" | "accountId" | "expires" | "storage" | "storageNotice" | "signInAgain" | "refreshToken" | "signOut" | "signIn" | "signingIn" | "connection" | "provider" | "providerValue" | "connectionState" | "connected" | "untested" | "enableProvider" | "modelsHint" | "selectAll" | "unselectAll" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "save" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshQuota" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loading" | "loginFailed" | "accountCount" | "cooldownLeft" | "needsRelogin" | "relogin" | "email" | "lastUsed", string>;
|
|
218
|
+
'en-US': Record<"tokens" | "title" | "pageDesc" | "account" | "signedIn" | "signedOut" | "accountPool" | "addAccount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "clearCooldown" | "rotationStrategy" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "plan" | "accountId" | "expires" | "storage" | "storageNotice" | "signInAgain" | "refreshToken" | "signOut" | "signIn" | "signingIn" | "connection" | "provider" | "providerValue" | "connectionState" | "connected" | "untested" | "enableProvider" | "modelsHint" | "selectAll" | "unselectAll" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "save" | "saved" | "saving" | "quotaSection" | "quotaDesc" | "refreshQuota" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loading" | "loginFailed" | "accountCount" | "cooldownLeft" | "needsRelogin" | "relogin" | "email" | "lastUsed", string>;
|
|
309
219
|
};
|
|
310
220
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,oBAAoB,CAAA;AAI/C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEd,CAAA;AAED,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAiE9C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAA;AAExD,wBAAgB,wBAAwB,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mCAAmC,CAAA;AAExD,wBAAgB,wBAAwB,IAAI,IAAI,CA8E/C"}
|
|
@@ -5,9 +5,21 @@ export declare class SubscriptionApi {
|
|
|
5
5
|
cancelLogin(loginId: string): Promise<{
|
|
6
6
|
cancelled: boolean;
|
|
7
7
|
}>;
|
|
8
|
-
|
|
8
|
+
/** Sign out one pooled account; without an id, the active one. */
|
|
9
|
+
logout(accountId?: string): Promise<{
|
|
9
10
|
authenticated: false;
|
|
10
11
|
}>;
|
|
12
|
+
/**
|
|
13
|
+
* One account-pool action, returning the refreshed status.
|
|
14
|
+
*
|
|
15
|
+
* The host answers with the same envelope the status route uses, so the card
|
|
16
|
+
* never has to guess what the pool looks like after a change.
|
|
17
|
+
*/
|
|
18
|
+
accountAction(action: 'set-primary' | 'set-alias' | 'delete' | 'clear-cooldown' | 'strategy' | 'relogin', body?: {
|
|
19
|
+
accountId?: string;
|
|
20
|
+
alias?: string;
|
|
21
|
+
strategy?: string;
|
|
22
|
+
}): Promise<PluginStatusDto>;
|
|
11
23
|
refresh(): Promise<PluginStatusDto>;
|
|
12
24
|
refreshQuota(): Promise<QuotaStatusDto>;
|
|
13
25
|
useResetCredit(): Promise<QuotaStatusDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/client/api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,aAAa,EACb,aAAa,EACb,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,wBAAwB,CAAA;AAE/B,qBAAa,eAAe;IAC1B,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAIlC,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC;IAIpC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;IAI7D,MAAM,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/client/api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,aAAa,EACb,aAAa,EACb,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,wBAAwB,CAAA;AAE/B,qBAAa,eAAe;IAC1B,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAIlC,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC;IAIpC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;IAI7D,kEAAkE;IAClE,MAAM,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE,CAAC;IAI7D;;;;;OAKG;IACH,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,GAAG,SAAS,EAAE,IAAI,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAO,GAAG,OAAO,CAAC,eAAe,CAAC;IAIzM,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC;IAInC,YAAY,IAAI,OAAO,CAAC,cAAc,CAAC;IAIvC,cAAc,IAAI,OAAO,CAAC,cAAc,CAAC;IAIzC,cAAc,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAI5C,iBAAiB,CAAC,KAAK,EAAE,gCAAgC,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAI/F,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW;CAGrC;AAmBD,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,aAAa,GAAG,IAAI,CAOjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AA0B/D,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAiBD,wEAAwE;AACxE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIpD;AA8BD,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAgjBnG"}
|