dsh-codearts 1.2.13 → 1.3.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 +88 -0
- package/lib/auth-CF9XHMX-.mjs +1008 -0
- package/lib/bin.mjs +3 -1
- package/lib/client/index.d.cts +19 -1
- package/lib/client/index.js +308 -117
- package/lib/index.d.mts +63 -1
- package/lib/index.mjs +474 -77
- package/lib/keeper-P4FkDUEd.mjs +215 -0
- package/lib/keeper-main.d.mts +1 -0
- package/lib/keeper-main.mjs +199 -0
- package/lib/{version-E5iTxpWh.mjs → upstream-CVtspzAv.mjs} +19 -1473
- package/lib/version-CJTTrulR.mjs +539 -0
- package/package.json +1 -1
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-CF9XHMX-.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-CJTTrulR.mjs";
|
|
3
5
|
import { existsSync, statSync } from "node:fs";
|
|
4
6
|
//#region src/bin.ts
|
|
5
7
|
/**
|
package/lib/client/index.d.cts
CHANGED
|
@@ -128,7 +128,10 @@ interface CodeArtsSettingsKey {
|
|
|
128
128
|
doctorHintDshHome: string;
|
|
129
129
|
doctorHintPiAi: string;
|
|
130
130
|
doctorHintOther: string;
|
|
131
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* 趋势两张图的标题与悬停提示(本月每日 / 今天逐小时)。
|
|
133
|
+
* 键名里的 Week 是历史遗留:那张图铺的是 `TREND_DAYS` = 35 天(5 周),不是 7 天。
|
|
134
|
+
*/
|
|
132
135
|
usageTrendWeek: string;
|
|
133
136
|
usageTrendHour: string;
|
|
134
137
|
usageTrendHint: string;
|
|
@@ -186,6 +189,21 @@ interface CodeArtsSettingsKey {
|
|
|
186
189
|
displayHint: string;
|
|
187
190
|
displayCreditsToggle: string;
|
|
188
191
|
displayQueueToggle: string;
|
|
192
|
+
displayModelDetailToggle: string;
|
|
193
|
+
displayAutoClaimTitle: string;
|
|
194
|
+
displayAutoClaimHint: string;
|
|
195
|
+
displayAutoClaimToggle: string;
|
|
196
|
+
displayKeeperTitle: string;
|
|
197
|
+
displayKeeperHint: string;
|
|
198
|
+
displayKeeperToggle: string;
|
|
199
|
+
displayKeeperRunning: string;
|
|
200
|
+
displayKeeperStarting: string;
|
|
201
|
+
displayKeeperDown: string;
|
|
202
|
+
displayKeeperStop: string;
|
|
203
|
+
displayKeeperStopping: string;
|
|
204
|
+
displayKeeperStopped: string;
|
|
205
|
+
displayKeeperStopFailed: string;
|
|
206
|
+
displayKeeperLog: string;
|
|
189
207
|
displayNotWritable: string;
|
|
190
208
|
displayFailed: string;
|
|
191
209
|
displaySidebarTitle: string;
|