dsh-codearts 1.2.14 → 1.4.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 +598 -515
- package/lib/auth-Ch0vYSAo.mjs +1287 -0
- package/lib/bin.mjs +3 -1
- package/lib/client/index.d.cts +30 -0
- package/lib/client/index.js +632 -178
- package/lib/index.d.mts +122 -4
- package/lib/index.mjs +591 -141
- package/lib/keeper-MHeAp_eV.mjs +215 -0
- package/lib/keeper-main.d.mts +1 -0
- package/lib/keeper-main.mjs +210 -0
- package/lib/{version-Msk-1m2n.mjs → upstream-CVtspzAv.mjs} +2 -1469
- package/lib/version-BjBwEMks.mjs +539 -0
- package/package.json +125 -125
package/lib/bin.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { i as codeartsAccountsPath, t as CodeArtsAccountStore } from "./auth-Ch0vYSAo.mjs";
|
|
3
|
+
import { F as isBenefitModel, s as fetchCallerIdentity } from "./upstream-CVtspzAv.mjs";
|
|
4
|
+
import { i as discoverModels, n as CodeArtsUsageTracker, r as codeartsUsagePath, t as CODEARTS_VERSION } from "./version-BjBwEMks.mjs";
|
|
3
5
|
import { existsSync, statSync } from "node:fs";
|
|
4
6
|
//#region src/bin.ts
|
|
5
7
|
/**
|
package/lib/client/index.d.cts
CHANGED
|
@@ -177,6 +177,8 @@ interface CodeArtsSettingsKey {
|
|
|
177
177
|
creditsDockPanelTitle: string;
|
|
178
178
|
creditsDockRefresh: string;
|
|
179
179
|
creditsDockRefreshing: string;
|
|
180
|
+
creditsDockSettings: string;
|
|
181
|
+
creditsDockSettingsFailed: string;
|
|
180
182
|
creditsDockNoTokens: string;
|
|
181
183
|
creditsDockEmpty: string;
|
|
182
184
|
creditsDockExpiring: string;
|
|
@@ -189,8 +191,26 @@ interface CodeArtsSettingsKey {
|
|
|
189
191
|
displayHint: string;
|
|
190
192
|
displayCreditsToggle: string;
|
|
191
193
|
displayQueueToggle: string;
|
|
194
|
+
displayModelDetailToggle: string;
|
|
195
|
+
displayAutoClaimTitle: string;
|
|
196
|
+
displayAutoClaimHint: string;
|
|
197
|
+
displayAutoClaimToggle: string;
|
|
198
|
+
displayKeeperTitle: string;
|
|
199
|
+
displayKeeperHint: string;
|
|
200
|
+
displayKeeperToggle: string;
|
|
201
|
+
displayKeeperRunning: string;
|
|
202
|
+
displayKeeperStarting: string;
|
|
203
|
+
displayKeeperDown: string;
|
|
204
|
+
displayKeeperStop: string;
|
|
205
|
+
displayKeeperStopping: string;
|
|
206
|
+
displayKeeperStopped: string;
|
|
207
|
+
displayKeeperStopFailed: string;
|
|
208
|
+
displayKeeperLog: string;
|
|
192
209
|
displayNotWritable: string;
|
|
193
210
|
displayFailed: string;
|
|
211
|
+
displaySettingsEntryTitle: string;
|
|
212
|
+
displaySettingsEntryHint: string;
|
|
213
|
+
displaySettingsEntryToggle: string;
|
|
194
214
|
displaySidebarTitle: string;
|
|
195
215
|
displaySidebarHint: string;
|
|
196
216
|
displaySidebarToggle: string;
|
|
@@ -201,6 +221,8 @@ interface CodeArtsSettingsKey {
|
|
|
201
221
|
claimPending: string;
|
|
202
222
|
claimAll: string;
|
|
203
223
|
claimHint: string;
|
|
224
|
+
/** 知道上游当前活动给多少分时用这条;{amount} 来自福利中心 delivery 的 benefitAmount。 */
|
|
225
|
+
claimHintAmount: string;
|
|
204
226
|
claimDone: string;
|
|
205
227
|
claimAlready: string;
|
|
206
228
|
claimUnavailable: string;
|
|
@@ -250,6 +272,14 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
|
|
|
250
272
|
children?: never;
|
|
251
273
|
};
|
|
252
274
|
};
|
|
275
|
+
/**
|
|
276
|
+
* 设置左侧那一列导航(宿主 ui-settings 声明)。用户找插件的第一反应就是这里
|
|
277
|
+
* (issue #7),而「内置插件 → 详情页」那条路径对第一次用的人基本等于找不到。
|
|
278
|
+
*/
|
|
279
|
+
'settings.section': {
|
|
280
|
+
kind: 'list';
|
|
281
|
+
scope: 'root';
|
|
282
|
+
};
|
|
253
283
|
}
|
|
254
284
|
}
|
|
255
285
|
declare const name = "dsh-codearts-client";
|