@eddyskywalker/dsh-chatgpt-subscription 0.31.0 → 0.32.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 +34 -0
- package/README.md +64 -1
- package/lib/client.js +29654 -1099
- package/lib/client.js.map +1 -1
- package/lib/index.js +7163 -1484
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +20 -0
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
- package/lib/types/client/cline-pass/ClinePassSection.d.ts +17 -0
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +1 -0
- package/lib/types/client/cline-pass/api.d.ts +84 -0
- package/lib/types/client/cline-pass/api.d.ts.map +1 -0
- package/lib/types/client/cline-pass/locales.d.ts +1025 -0
- package/lib/types/client/cline-pass/locales.d.ts.map +1 -0
- package/lib/types/client/cline-pass/styles.d.ts +7 -0
- package/lib/types/client/cline-pass/styles.d.ts.map +1 -0
- package/lib/types/client/hub/brand-icons.d.ts +2 -2
- package/lib/types/client/hub/brand-icons.d.ts.map +1 -1
- package/lib/types/client/hub/providers.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +2 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/mermaid/renderer.d.ts +23 -0
- package/lib/types/client/mermaid/renderer.d.ts.map +1 -1
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +31 -14
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -1
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-contract.d.ts +36 -0
- package/lib/types/client/minimax-code/video-contract.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-slots.d.ts +58 -5
- package/lib/types/client/minimax-code/video-slots.d.ts.map +1 -1
- package/lib/types/client/progress-updates/markdown-lite.d.ts +19 -6
- package/lib/types/client/progress-updates/markdown-lite.d.ts.map +1 -1
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/cline-pass/account-pool.d.ts +63 -0
- package/lib/types/host/cline-pass/account-pool.d.ts.map +1 -0
- package/lib/types/host/cline-pass/adapter.d.ts +49 -0
- package/lib/types/host/cline-pass/adapter.d.ts.map +1 -0
- package/lib/types/host/cline-pass/catalog.d.ts +49 -0
- package/lib/types/host/cline-pass/catalog.d.ts.map +1 -0
- package/lib/types/host/cline-pass/client.d.ts +118 -0
- package/lib/types/host/cline-pass/client.d.ts.map +1 -0
- package/lib/types/host/cline-pass/engine.d.ts +223 -0
- package/lib/types/host/cline-pass/engine.d.ts.map +1 -0
- package/lib/types/host/cline-pass/line.d.ts +55 -0
- package/lib/types/host/cline-pass/line.d.ts.map +1 -0
- package/lib/types/host/cline-pass/mapper.d.ts +112 -0
- package/lib/types/host/cline-pass/mapper.d.ts.map +1 -0
- package/lib/types/host/cline-pass/oauth.d.ts +134 -0
- package/lib/types/host/cline-pass/oauth.d.ts.map +1 -0
- package/lib/types/host/cline-pass/protocol.d.ts +186 -0
- package/lib/types/host/cline-pass/protocol.d.ts.map +1 -0
- package/lib/types/host/cline-pass/routes.d.ts +71 -0
- package/lib/types/host/cline-pass/routes.d.ts.map +1 -0
- package/lib/types/host/cline-pass/store.d.ts +97 -0
- package/lib/types/host/cline-pass/store.d.ts.map +1 -0
- package/lib/types/host/cline-pass/token-store.d.ts +168 -0
- package/lib/types/host/cline-pass/token-store.d.ts.map +1 -0
- package/lib/types/host/cline-pass/tools.d.ts +21 -0
- package/lib/types/host/cline-pass/tools.d.ts.map +1 -0
- package/lib/types/host/cline-pass/types.d.ts +168 -0
- package/lib/types/host/cline-pass/types.d.ts.map +1 -0
- package/lib/types/host/common/model-request-control.d.ts +1 -1
- package/lib/types/host/common/model-request-control.d.ts.map +1 -1
- package/lib/types/host/common/request-diagnostics.d.ts +1 -1
- package/lib/types/host/common/request-diagnostics.d.ts.map +1 -1
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/cline-pass-contracts.d.ts +267 -0
- package/lib/types/shared/cline-pass-contracts.d.ts.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import type { AccountRotationStrategy, PoolAccountQuotaDto, PoolAccountSummaryDto } from './account-pool-contracts.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Wire contracts for the Cline Pass line's settings API.
|
|
4
|
+
*
|
|
5
|
+
* The line is API-key based: there is no OAuth flow, no token expiry, and no
|
|
6
|
+
* per-account identity beyond the key and the alias a user gives it. What the
|
|
7
|
+
* card does render beyond the shared account facts is the routing observation
|
|
8
|
+
* this plugin makes about each model (pipeline, discovered channels, per-channel
|
|
9
|
+
* verdicts) and the per-model pin the user stores. None of it is a credential.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CLINE_PASS_PROVIDER_ID = "cline-pass";
|
|
12
|
+
export declare const CLINE_PASS_PROVIDER_NAME = "Cline Pass";
|
|
13
|
+
export declare const CLINE_PASS_ROUTE_PREFIX = "/cline-pass/api";
|
|
14
|
+
/** Authentication UI surface for this line: a pasted static key. */
|
|
15
|
+
export type ClinePassPinMode = 'strict' | 'preferred';
|
|
16
|
+
/** One channel availability verdict, as the card renders it. */
|
|
17
|
+
export interface ClinePassChannelVerdictDto {
|
|
18
|
+
upstream: string;
|
|
19
|
+
/** `ok` answered, `limited` refused with a rate limit, `bad` refused the pin,
|
|
20
|
+
* `auth` rejected the key, `not-adopted` answered from another channel,
|
|
21
|
+
* `unknown` could not be judged. */
|
|
22
|
+
status: 'ok' | 'limited' | 'bad' | 'auth' | 'not-adopted' | 'unknown';
|
|
23
|
+
ms: number;
|
|
24
|
+
note: string;
|
|
25
|
+
/** Unix milliseconds the verdict was recorded. */
|
|
26
|
+
checkedAt: number;
|
|
27
|
+
}
|
|
28
|
+
/** One model as the card renders it: published facts plus live observations. */
|
|
29
|
+
export interface ClinePassModelDto {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
/** One-line capability summary built on the host for ModelChecklist. */
|
|
33
|
+
hint?: string;
|
|
34
|
+
contextWindow: number;
|
|
35
|
+
/** The published/default window, before the user's override. */
|
|
36
|
+
defaultContextWindow: number;
|
|
37
|
+
maxTokens: number;
|
|
38
|
+
reasoning: boolean;
|
|
39
|
+
input: string[];
|
|
40
|
+
/** Whether the route advertises this model to the picker. */
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
/** `direct` (OpenRouter spelling) or `planner` (Vercel AI Gateway), once probed. */
|
|
43
|
+
pipeline: string;
|
|
44
|
+
pinnable: boolean;
|
|
45
|
+
/** Ordered pin as stored, primary first. Empty means automatic routing. */
|
|
46
|
+
pinned: string[];
|
|
47
|
+
excluded: string[];
|
|
48
|
+
pinMode: ClinePassPinMode;
|
|
49
|
+
sort: string;
|
|
50
|
+
/** Discovered channels, highest confidence first. */
|
|
51
|
+
upstreams: string[];
|
|
52
|
+
upstreamStatus: ClinePassChannelVerdictDto[];
|
|
53
|
+
lastProvider: string;
|
|
54
|
+
lastMs: number;
|
|
55
|
+
probedAt: number;
|
|
56
|
+
validatedAt: number;
|
|
57
|
+
/** Stored context-window override, absent when the published window applies. */
|
|
58
|
+
contextWindowOverride?: number;
|
|
59
|
+
}
|
|
60
|
+
/** One account's official quota windows, read from Cline Pass itself. */
|
|
61
|
+
export interface ClinePassUsageWindowDto {
|
|
62
|
+
/** Gateway spelling: `five_hour`, `weekly`, `monthly`. */
|
|
63
|
+
type: string;
|
|
64
|
+
label: string;
|
|
65
|
+
percentUsed: number;
|
|
66
|
+
/** ISO instant the window resets, as the gateway sent it; empty when absent. */
|
|
67
|
+
resetsAt: string;
|
|
68
|
+
}
|
|
69
|
+
/** One account's latest quota reading. */
|
|
70
|
+
export interface ClinePassUsageAccountDto {
|
|
71
|
+
accountId: string;
|
|
72
|
+
alias: string;
|
|
73
|
+
ok: boolean;
|
|
74
|
+
windows: ClinePassUsageWindowDto[];
|
|
75
|
+
error: string;
|
|
76
|
+
fetchedAt: number;
|
|
77
|
+
}
|
|
78
|
+
/** Latest quota snapshot, one entry per enabled account. Never a live call. */
|
|
79
|
+
export interface ClinePassUsageDto {
|
|
80
|
+
accounts: ClinePassUsageAccountDto[];
|
|
81
|
+
fetchedAt: number;
|
|
82
|
+
}
|
|
83
|
+
/** One pooled account as the shared card renders it. Never carries a secret. */
|
|
84
|
+
export interface ClinePassAccountSummaryDto extends PoolAccountSummaryDto {
|
|
85
|
+
/** How this account signed in; absent on a legacy row. */
|
|
86
|
+
authKind?: 'oauth' | 'api-key';
|
|
87
|
+
}
|
|
88
|
+
/** State of the device-code sign-in flow, as the card renders it. */
|
|
89
|
+
export interface ClinePassLoginFlowDto {
|
|
90
|
+
id: string;
|
|
91
|
+
status: 'idle' | 'pending' | 'complete' | 'failed' | 'cancelled';
|
|
92
|
+
/** Short code the user enters at `verificationUri`. */
|
|
93
|
+
userCode: string;
|
|
94
|
+
verificationUri: string;
|
|
95
|
+
/** Unix milliseconds the device code expires. */
|
|
96
|
+
expiresAt: number;
|
|
97
|
+
/** Seconds between polls, as WorkOS asked. */
|
|
98
|
+
intervalSeconds: number;
|
|
99
|
+
error: string;
|
|
100
|
+
/** Account label once the flow completes. */
|
|
101
|
+
accountAlias: string;
|
|
102
|
+
}
|
|
103
|
+
export interface ClinePassPoolStatusDto {
|
|
104
|
+
accounts: ClinePassAccountSummaryDto[];
|
|
105
|
+
activeAccountId?: string;
|
|
106
|
+
rotationStrategy: AccountRotationStrategy;
|
|
107
|
+
}
|
|
108
|
+
/** Everything the settings card renders for the Cline Pass tab. */
|
|
109
|
+
export interface ClinePassWebStatus {
|
|
110
|
+
/** Whether the line serves its route and appears in the picker at all. */
|
|
111
|
+
enabled: boolean;
|
|
112
|
+
providerId: string;
|
|
113
|
+
baseURL: string;
|
|
114
|
+
/** Whether this plugin currently owns the route. */
|
|
115
|
+
serving: boolean;
|
|
116
|
+
/** Why another adapter owns the route, or null while this plugin owns it. */
|
|
117
|
+
conflict: string | null;
|
|
118
|
+
/** Whether the `cline_pass_*` management tools are registered (needs restart). */
|
|
119
|
+
exposeTools: boolean;
|
|
120
|
+
/** Whether at least one account can currently serve a request. */
|
|
121
|
+
usable: boolean;
|
|
122
|
+
/** Alias of `usable`, named for the shared composer badge's contract. */
|
|
123
|
+
authenticated: boolean;
|
|
124
|
+
pool: ClinePassPoolStatusDto;
|
|
125
|
+
models: ClinePassModelDto[];
|
|
126
|
+
/** Distinct from an empty catalog: 'never synced' and 'synced, empty' differ. */
|
|
127
|
+
catalogSynced: boolean;
|
|
128
|
+
catalogCount: number;
|
|
129
|
+
usage: ClinePassUsageDto | null;
|
|
130
|
+
historySize: number;
|
|
131
|
+
/** Latest device-code flow in this process, or null when none was started. */
|
|
132
|
+
login: ClinePassLoginFlowDto | null;
|
|
133
|
+
settings: ClinePassSettingsDto;
|
|
134
|
+
}
|
|
135
|
+
/** The line-level knobs the advanced block edits. */
|
|
136
|
+
export interface ClinePassSettingsDto {
|
|
137
|
+
baseURL: string;
|
|
138
|
+
defaultContextWindow: number;
|
|
139
|
+
defaultMaxTokens: number;
|
|
140
|
+
maxConcurrentRequests: number;
|
|
141
|
+
streamIdleTimeoutMs: number;
|
|
142
|
+
historyLimit: number;
|
|
143
|
+
exposeCatalog: boolean;
|
|
144
|
+
pinSpelling: string;
|
|
145
|
+
}
|
|
146
|
+
/** A settings patch; only the keys present change. */
|
|
147
|
+
export interface ClinePassSettingsUpdateDto {
|
|
148
|
+
enabled?: boolean;
|
|
149
|
+
baseURL?: string;
|
|
150
|
+
defaultContextWindow?: number;
|
|
151
|
+
defaultMaxTokens?: number;
|
|
152
|
+
maxConcurrentRequests?: number;
|
|
153
|
+
streamIdleTimeoutMs?: number;
|
|
154
|
+
historyLimit?: number;
|
|
155
|
+
exposeCatalog?: boolean;
|
|
156
|
+
pinSpelling?: string;
|
|
157
|
+
exposeTools?: boolean;
|
|
158
|
+
}
|
|
159
|
+
/** Outcome of probing one model's routing pipeline and channel list. */
|
|
160
|
+
export interface ClinePassProbeResultDto {
|
|
161
|
+
ok: boolean;
|
|
162
|
+
model: string;
|
|
163
|
+
error: string;
|
|
164
|
+
ms: number;
|
|
165
|
+
pipeline: string;
|
|
166
|
+
pinnable: boolean;
|
|
167
|
+
canonicalSlug: string;
|
|
168
|
+
lastProvider: string;
|
|
169
|
+
upstreams: string[];
|
|
170
|
+
availableProviders: string[];
|
|
171
|
+
tier0: string[];
|
|
172
|
+
}
|
|
173
|
+
/** Outcome of testing every known channel of one model. */
|
|
174
|
+
export interface ClinePassValidateResultDto {
|
|
175
|
+
ok: boolean;
|
|
176
|
+
model: string;
|
|
177
|
+
error: string;
|
|
178
|
+
summary: {
|
|
179
|
+
ok: number;
|
|
180
|
+
limited: number;
|
|
181
|
+
bad: number;
|
|
182
|
+
auth: number;
|
|
183
|
+
unknown: number;
|
|
184
|
+
};
|
|
185
|
+
upstreams: string[];
|
|
186
|
+
results: {
|
|
187
|
+
upstream: string;
|
|
188
|
+
status: string;
|
|
189
|
+
ms: number;
|
|
190
|
+
note: string;
|
|
191
|
+
}[];
|
|
192
|
+
}
|
|
193
|
+
/** One failover attempt, as the test result reports it. */
|
|
194
|
+
export interface ClinePassAttemptTraceDto {
|
|
195
|
+
upstream: string;
|
|
196
|
+
status: number;
|
|
197
|
+
ms: number;
|
|
198
|
+
note: string;
|
|
199
|
+
}
|
|
200
|
+
/** Outcome of one small real request sent through a pin. */
|
|
201
|
+
export interface ClinePassTestResultDto {
|
|
202
|
+
ok: boolean;
|
|
203
|
+
model: string;
|
|
204
|
+
error: string;
|
|
205
|
+
ms: number;
|
|
206
|
+
targets: string[];
|
|
207
|
+
excluded: string[];
|
|
208
|
+
actual: string;
|
|
209
|
+
actualName: string;
|
|
210
|
+
pipeline: string;
|
|
211
|
+
pinnable: boolean;
|
|
212
|
+
canonicalSlug: string;
|
|
213
|
+
account: string;
|
|
214
|
+
content: string;
|
|
215
|
+
adopted: boolean;
|
|
216
|
+
adherence: string;
|
|
217
|
+
plan: string;
|
|
218
|
+
warnings: string[];
|
|
219
|
+
trace: ClinePassAttemptTraceDto[];
|
|
220
|
+
}
|
|
221
|
+
/** One row of the in-process request history. */
|
|
222
|
+
export interface ClinePassHistoryRowDto {
|
|
223
|
+
ts: number;
|
|
224
|
+
model: string;
|
|
225
|
+
provider: string;
|
|
226
|
+
canonical: string;
|
|
227
|
+
account: string;
|
|
228
|
+
ms: number;
|
|
229
|
+
ttfb: number;
|
|
230
|
+
ttft: number;
|
|
231
|
+
stream: boolean;
|
|
232
|
+
effort: string;
|
|
233
|
+
usageReported: boolean;
|
|
234
|
+
usage: {
|
|
235
|
+
inputTokens: number;
|
|
236
|
+
outputTokens: number;
|
|
237
|
+
cacheReadTokens: number;
|
|
238
|
+
reasoningTokens: number;
|
|
239
|
+
};
|
|
240
|
+
error: string;
|
|
241
|
+
attempts: string[];
|
|
242
|
+
adherence: string;
|
|
243
|
+
warnings: string[];
|
|
244
|
+
}
|
|
245
|
+
/** Outcome of checking one API key with a single small request. */
|
|
246
|
+
export interface ClinePassAuthResult {
|
|
247
|
+
ok: boolean;
|
|
248
|
+
authorized: boolean;
|
|
249
|
+
ms: number;
|
|
250
|
+
error: string;
|
|
251
|
+
}
|
|
252
|
+
/** Actions the accounts endpoint accepts. */
|
|
253
|
+
export type ClinePassAccountAction = 'add' | 'test' | 'set-primary' | 'set-alias' | 'delete' | 'clear-cooldown' | 'strategy';
|
|
254
|
+
/** Whether a submitted pin mode names one of the two accepted modes. */
|
|
255
|
+
export declare function isClinePassPinMode(value: unknown): value is ClinePassPinMode;
|
|
256
|
+
/** Human label for the gateway's quota-window spelling. */
|
|
257
|
+
export declare function clinePassWindowLabel(type: string): string;
|
|
258
|
+
/** Window length in minutes for the shared AccountQuota formatter. */
|
|
259
|
+
export declare function clinePassWindowDurationMins(type: string): number | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* Project one account's Cline Pass usage reading into the shared
|
|
262
|
+
* {@link PoolAccountQuotaDto} shape that AccountPoolSection renders inside the
|
|
263
|
+
* account row. A failed reading returns undefined so the card does not draw
|
|
264
|
+
* fabricated zero bars.
|
|
265
|
+
*/
|
|
266
|
+
export declare function clinePassAccountQuota(reading: ClinePassUsageAccountDto | undefined): PoolAccountQuotaDto | undefined;
|
|
267
|
+
//# sourceMappingURL=cline-pass-contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cline-pass-contracts.d.ts","sourceRoot":"","sources":["../../../src/shared/cline-pass-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EACvB,mBAAmB,EAEnB,qBAAqB,EACtB,MAAM,6BAA6B,CAAA;AAEpC;;;;;;;;GAQG;AAEH,eAAO,MAAM,sBAAsB,eAAe,CAAA;AAClD,eAAO,MAAM,wBAAwB,eAAe,CAAA;AACpD,eAAO,MAAM,uBAAuB,oBAAoB,CAAA;AAExD,oEAAoE;AACpE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,WAAW,CAAA;AAErD,gEAAgE;AAChE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAA;IAChB;;wCAEoC;IACpC,MAAM,EAAE,IAAI,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,aAAa,GAAG,SAAS,CAAA;IACrE,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,gFAAgF;AAChF,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,gEAAgE;IAChE,oBAAoB,EAAE,MAAM,CAAA;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE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AAS,GAAG,mBAAmB,GAAG,SAAS,CAiBpH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eddyskywalker/dsh-chatgpt-subscription",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"author": {
|
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
"typecheck": "tsc -b --pretty false && tsc -p test/tsconfig.json --pretty false && tsc -p scripts/tsconfig.json --pretty false"
|
|
142
142
|
},
|
|
143
143
|
"dependencies": {
|
|
144
|
+
"katex": "^0.18.7",
|
|
144
145
|
"mermaid": "^11.17.2",
|
|
145
146
|
"undici": "^8.10.0",
|
|
146
147
|
"zod": "4.4.3"
|