dsh-thinking-levels 4.5.0 → 4.7.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 +52 -0
- package/README.md +3 -1
- package/dsh.plugin.json +1 -1
- package/lib/auto-schedule-projection.d.ts +164 -6
- package/lib/auto-schedule-projection.js +252 -19
- package/lib/billing-projection.d.ts +7 -7
- package/lib/client.js +1473 -176
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +12 -0
- package/lib/index.js +34 -0
- package/lib/plugin-records.d.ts +85 -0
- package/lib/plugin-records.js +181 -0
- package/lib/strict-step-schedule.d.ts +2 -0
- package/lib/strict-step-schedule.js +1 -0
- package/lib/thinking-level.d.ts +38 -0
- package/lib/thinking-level.js +58 -16
- package/package.json +155 -155
|
@@ -128,9 +128,9 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
128
128
|
USD: "USD";
|
|
129
129
|
}>;
|
|
130
130
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
131
|
+
flat: "flat";
|
|
131
132
|
peak: "peak";
|
|
132
133
|
offPeak: "offPeak";
|
|
133
|
-
flat: "flat";
|
|
134
134
|
}>>;
|
|
135
135
|
source: z.ZodEnum<{
|
|
136
136
|
off: "off";
|
|
@@ -211,7 +211,7 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
211
211
|
miss: number;
|
|
212
212
|
output: number;
|
|
213
213
|
currency: "CNY" | "USD";
|
|
214
|
-
tier: "
|
|
214
|
+
tier: "flat" | "peak" | "offPeak" | null;
|
|
215
215
|
source: "off" | "custom" | "estimate" | "cn" | "global" | "catalog-miss";
|
|
216
216
|
priced: boolean;
|
|
217
217
|
estimated: boolean;
|
|
@@ -288,7 +288,7 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
288
288
|
miss: number;
|
|
289
289
|
output: number;
|
|
290
290
|
currency: "CNY" | "USD";
|
|
291
|
-
tier: "
|
|
291
|
+
tier: "flat" | "peak" | "offPeak" | null;
|
|
292
292
|
source: "off" | "custom" | "estimate" | "cn" | "global" | "catalog-miss";
|
|
293
293
|
priced: boolean;
|
|
294
294
|
estimated: boolean;
|
|
@@ -364,7 +364,7 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
364
364
|
miss: number;
|
|
365
365
|
output: number;
|
|
366
366
|
currency: "CNY" | "USD";
|
|
367
|
-
tier: "
|
|
367
|
+
tier: "flat" | "peak" | "offPeak" | null;
|
|
368
368
|
source: "off" | "custom" | "estimate" | "cn" | "global" | "catalog-miss";
|
|
369
369
|
priced: boolean;
|
|
370
370
|
estimated: boolean;
|
|
@@ -451,9 +451,9 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
451
451
|
matchedModel: z.ZodNullable<z.ZodString>;
|
|
452
452
|
modelMatched: z.ZodBoolean;
|
|
453
453
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
454
|
+
flat: "flat";
|
|
454
455
|
peak: "peak";
|
|
455
456
|
offPeak: "offPeak";
|
|
456
|
-
flat: "flat";
|
|
457
457
|
}>>;
|
|
458
458
|
unitPricePerM: z.ZodNullable<z.ZodNumber>;
|
|
459
459
|
turn: z.ZodNullable<z.ZodNumber>;
|
|
@@ -513,7 +513,7 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
513
513
|
miss: number;
|
|
514
514
|
output: number;
|
|
515
515
|
currency: "CNY" | "USD";
|
|
516
|
-
tier: "
|
|
516
|
+
tier: "flat" | "peak" | "offPeak" | null;
|
|
517
517
|
source: "off" | "custom" | "estimate" | "cn" | "global" | "catalog-miss";
|
|
518
518
|
priced: boolean;
|
|
519
519
|
estimated: boolean;
|
|
@@ -638,7 +638,7 @@ export declare function buildBillingDefinition(getPricing: () => PricingSnapshot
|
|
|
638
638
|
provider: string | null;
|
|
639
639
|
matchedModel: string | null;
|
|
640
640
|
modelMatched: boolean;
|
|
641
|
-
tier: "
|
|
641
|
+
tier: "flat" | "peak" | "offPeak" | null;
|
|
642
642
|
/** @deprecated 目录化后请以 priceRow 三价目位为准;保留一代 = 当前行缓存命中价。 */
|
|
643
643
|
unitPricePerM: number | null;
|
|
644
644
|
turn: number;
|