dsh-claude-style 0.21.6-dev.68 → 0.21.7-dev.69

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.
@@ -341,11 +341,11 @@ var PREFS = {
341
341
  inlineCodeColor: { type: "choice", values: INLINE_CODE_COLORS, default: INLINE_CODE_COLOR_PALETTE },
342
342
  motion: { type: "choice", values: MOTION_MODES, default: MOTION_SYSTEM },
343
343
  statusMotion: { type: "choice", values: STATUS_MOTIONS, default: STATUS_MOTION_SWEEP },
344
- /** The two legacy words: `precise` is on and `simple` off. */
345
- statusDetail: { type: "boolean", default: true, legacy: { precise: true, simple: false } },
344
+ /** The legacy word `simple` is off. */
345
+ statusDetail: { type: "boolean", default: true, legacy: { simple: false } },
346
346
  collapseFooter: { type: "boolean", default: true },
347
- /** A legacy boolean maps to every popover or none. */
348
- autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { true: AUTO_POPOVER_ALL, false: AUTO_POPOVER_OFF } },
347
+ /** The legacy boolean `false` maps to no popover. */
348
+ autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { false: AUTO_POPOVER_OFF } },
349
349
  composerScope: { type: "choice", values: COMPOSER_SCOPES, default: COMPOSER_SCOPE_ALL },
350
350
  /** Whether the host's question card is redrawn and moved to the end of the conversation; off leaves it in the composer as the host draws it. */
351
351
  questionCard: { type: "boolean", default: true },
@@ -398,15 +398,15 @@ var PREFS = {
398
398
  statsFooterCache: { type: "boolean", default: true },
399
399
  statsFooterCost: { type: "boolean", default: true },
400
400
  statsFooterTotal: { type: "boolean", default: true },
401
- /** How the footer's token figures read: the grouped whole numbers, or K/M/B/T units with one decimal place. */
402
- statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_DIGITS },
401
+ /** How the statistics line and details rail write token figures. */
402
+ statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_UNITS },
403
403
  /** Which official price table the session's cost follows, or off for no figure at all. */
404
404
  billingCurrency: { type: "choice", values: BILLING_CHOICES, default: CURRENCY_CNY },
405
405
  /** Custom `model|input|cacheRead|output` rows per million tokens; blank buckets inherit official rates. */
406
406
  billingTable: { type: "list", default: [], max: PRICE_ROWS_MAX, entryMax: 256, drop: [] },
407
407
  workspaceView: { type: "boolean", default: true },
408
408
  sidebarSearch: { type: "boolean", default: true },
409
- searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE, legacy: { overlay: SEARCH_STYLE_STANDALONE } },
409
+ searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE },
410
410
  /** Whether resting the pointer on the collapsed sidebar's toggle or the window's left edge opens the sidebar over the page. */
411
411
  sidebarPeek: { type: "boolean", default: true },
412
412
  /** Whether the panel list carries the More menu's hidden entries and its Edit sidebar dialog. */
@@ -423,11 +423,12 @@ var PREFS = {
423
423
  /** Whether a message the reader sent carries edit and retract beside its copy button (features/message-actions). */
424
424
  messageActions: { type: "boolean", default: true },
425
425
  viewTabs: { type: "boolean", default: true },
426
+ hideToolbarOutsideConversation: { type: "boolean", default: true },
426
427
  headerBand: { type: "boolean", default: true },
427
- /** Whether the conversation offers its own session details rail (D102). */
428
+ /** Whether the conversation offers its own session details rail (D106). */
428
429
  sessionPanel: { type: "boolean", default: true },
429
- /** The legacy choices all mean on except `off`. */
430
- chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false, enhanced: true, redraw: true } },
430
+ /** The legacy choice `off` means off. */
431
+ chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false } },
431
432
  chatWait: { type: "boolean", default: true },
432
433
  chatSend: { type: "boolean", default: true },
433
434
  chatReveal: { type: "choice", values: CHAT_REVEAL_MODES, default: CHAT_REVEAL_ON },
@@ -426,11 +426,11 @@ var PREFS = {
426
426
  inlineCodeColor: { type: "choice", values: INLINE_CODE_COLORS, default: INLINE_CODE_COLOR_PALETTE },
427
427
  motion: { type: "choice", values: MOTION_MODES, default: MOTION_SYSTEM },
428
428
  statusMotion: { type: "choice", values: STATUS_MOTIONS, default: STATUS_MOTION_SWEEP },
429
- /** The two legacy words: `precise` is on and `simple` off. */
430
- statusDetail: { type: "boolean", default: true, legacy: { precise: true, simple: false } },
429
+ /** The legacy word `simple` is off. */
430
+ statusDetail: { type: "boolean", default: true, legacy: { simple: false } },
431
431
  collapseFooter: { type: "boolean", default: true },
432
- /** A legacy boolean maps to every popover or none. */
433
- autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { true: AUTO_POPOVER_ALL, false: AUTO_POPOVER_OFF } },
432
+ /** The legacy boolean `false` maps to no popover. */
433
+ autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { false: AUTO_POPOVER_OFF } },
434
434
  composerScope: { type: "choice", values: COMPOSER_SCOPES, default: COMPOSER_SCOPE_ALL },
435
435
  /** Whether the host's question card is redrawn and moved to the end of the conversation; off leaves it in the composer as the host draws it. */
436
436
  questionCard: { type: "boolean", default: true },
@@ -483,15 +483,15 @@ var PREFS = {
483
483
  statsFooterCache: { type: "boolean", default: true },
484
484
  statsFooterCost: { type: "boolean", default: true },
485
485
  statsFooterTotal: { type: "boolean", default: true },
486
- /** How the footer's token figures read: the grouped whole numbers, or K/M/B/T units with one decimal place. */
487
- statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_DIGITS },
486
+ /** How the statistics line and details rail write token figures. */
487
+ statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_UNITS },
488
488
  /** Which official price table the session's cost follows, or off for no figure at all. */
489
489
  billingCurrency: { type: "choice", values: BILLING_CHOICES, default: CURRENCY_CNY },
490
490
  /** Custom `model|input|cacheRead|output` rows per million tokens; blank buckets inherit official rates. */
491
491
  billingTable: { type: "list", default: [], max: PRICE_ROWS_MAX, entryMax: 256, drop: [] },
492
492
  workspaceView: { type: "boolean", default: true },
493
493
  sidebarSearch: { type: "boolean", default: true },
494
- searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE, legacy: { overlay: SEARCH_STYLE_STANDALONE } },
494
+ searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE },
495
495
  /** Whether resting the pointer on the collapsed sidebar's toggle or the window's left edge opens the sidebar over the page. */
496
496
  sidebarPeek: { type: "boolean", default: true },
497
497
  /** Whether the panel list carries the More menu's hidden entries and its Edit sidebar dialog. */
@@ -508,11 +508,12 @@ var PREFS = {
508
508
  /** Whether a message the reader sent carries edit and retract beside its copy button (features/message-actions). */
509
509
  messageActions: { type: "boolean", default: true },
510
510
  viewTabs: { type: "boolean", default: true },
511
+ hideToolbarOutsideConversation: { type: "boolean", default: true },
511
512
  headerBand: { type: "boolean", default: true },
512
- /** Whether the conversation offers its own session details rail (D102). */
513
+ /** Whether the conversation offers its own session details rail (D106). */
513
514
  sessionPanel: { type: "boolean", default: true },
514
- /** The legacy choices all mean on except `off`. */
515
- chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false, enhanced: true, redraw: true } },
515
+ /** The legacy choice `off` means off. */
516
+ chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false } },
516
517
  chatWait: { type: "boolean", default: true },
517
518
  chatSend: { type: "boolean", default: true },
518
519
  chatReveal: { type: "choice", values: CHAT_REVEAL_MODES, default: CHAT_REVEAL_ON },
@@ -26,17 +26,13 @@ async function readEvents(ctx, packageName, sessionId, label) {
26
26
  const query = ctx.get("sessionQuery");
27
27
  if (query === null || query === void 0) return null;
28
28
  try {
29
- if (typeof query.observeSession === "function") {
30
- const observation = await query.observeSession(sessionId, { projectionMode: "none" });
31
- try {
32
- return eventsOf(observation.events);
33
- } finally {
34
- releaseObservation(observation);
35
- }
29
+ if (typeof query.observeSession !== "function") return null;
30
+ const observation = await query.observeSession(sessionId, { projectionMode: "none" });
31
+ try {
32
+ return eventsOf(observation.events);
33
+ } finally {
34
+ releaseObservation(observation);
36
35
  }
37
- if (typeof query.readSession !== "function") return null;
38
- const snapshot = await query.readSession(sessionId);
39
- return eventsOf(snapshot?.events);
40
36
  } catch (error) {
41
37
  if (unreadableLog(error) === null) throw error;
42
38
  reportUnreadable(ctx, packageName, error, sessionId, label);
@@ -182,17 +182,13 @@ async function readEvents(ctx, packageName, sessionId, label) {
182
182
  const query = ctx.get("sessionQuery");
183
183
  if (query === null || query === void 0) return null;
184
184
  try {
185
- if (typeof query.observeSession === "function") {
186
- const observation = await query.observeSession(sessionId, { projectionMode: "none" });
187
- try {
188
- return eventsOf(observation.events);
189
- } finally {
190
- releaseObservation(observation);
191
- }
185
+ if (typeof query.observeSession !== "function") return null;
186
+ const observation = await query.observeSession(sessionId, { projectionMode: "none" });
187
+ try {
188
+ return eventsOf(observation.events);
189
+ } finally {
190
+ releaseObservation(observation);
192
191
  }
193
- if (typeof query.readSession !== "function") return null;
194
- const snapshot = await query.readSession(sessionId);
195
- return eventsOf(snapshot?.events);
196
192
  } catch (error) {
197
193
  if (unreadableLog(error) === null) throw error;
198
194
  reportUnreadable(ctx, packageName, error, sessionId, label);
@@ -35,17 +35,13 @@ async function readEvents(ctx, packageName, sessionId, label) {
35
35
  const query = ctx.get("sessionQuery");
36
36
  if (query === null || query === void 0) return null;
37
37
  try {
38
- if (typeof query.observeSession === "function") {
39
- const observation = await query.observeSession(sessionId, { projectionMode: "none" });
40
- try {
41
- return eventsOf(observation.events);
42
- } finally {
43
- releaseObservation(observation);
44
- }
38
+ if (typeof query.observeSession !== "function") return null;
39
+ const observation = await query.observeSession(sessionId, { projectionMode: "none" });
40
+ try {
41
+ return eventsOf(observation.events);
42
+ } finally {
43
+ releaseObservation(observation);
45
44
  }
46
- if (typeof query.readSession !== "function") return null;
47
- const snapshot = await query.readSession(sessionId);
48
- return eventsOf(snapshot?.events);
49
45
  } catch (error) {
50
46
  if (unreadableLog(error) === null) throw error;
51
47
  reportUnreadable(ctx, packageName, error, sessionId, label);
@@ -209,11 +209,11 @@ var PREFS = {
209
209
  inlineCodeColor: { type: "choice", values: INLINE_CODE_COLORS, default: INLINE_CODE_COLOR_PALETTE },
210
210
  motion: { type: "choice", values: MOTION_MODES, default: MOTION_SYSTEM },
211
211
  statusMotion: { type: "choice", values: STATUS_MOTIONS, default: STATUS_MOTION_SWEEP },
212
- /** The two legacy words: `precise` is on and `simple` off. */
213
- statusDetail: { type: "boolean", default: true, legacy: { precise: true, simple: false } },
212
+ /** The legacy word `simple` is off. */
213
+ statusDetail: { type: "boolean", default: true, legacy: { simple: false } },
214
214
  collapseFooter: { type: "boolean", default: true },
215
- /** A legacy boolean maps to every popover or none. */
216
- autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { true: AUTO_POPOVER_ALL, false: AUTO_POPOVER_OFF } },
215
+ /** The legacy boolean `false` maps to no popover. */
216
+ autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { false: AUTO_POPOVER_OFF } },
217
217
  composerScope: { type: "choice", values: COMPOSER_SCOPES, default: COMPOSER_SCOPE_ALL },
218
218
  /** Whether the host's question card is redrawn and moved to the end of the conversation; off leaves it in the composer as the host draws it. */
219
219
  questionCard: { type: "boolean", default: true },
@@ -266,15 +266,15 @@ var PREFS = {
266
266
  statsFooterCache: { type: "boolean", default: true },
267
267
  statsFooterCost: { type: "boolean", default: true },
268
268
  statsFooterTotal: { type: "boolean", default: true },
269
- /** How the footer's token figures read: the grouped whole numbers, or K/M/B/T units with one decimal place. */
270
- statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_DIGITS },
269
+ /** How the statistics line and details rail write token figures. */
270
+ statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_UNITS },
271
271
  /** Which official price table the session's cost follows, or off for no figure at all. */
272
272
  billingCurrency: { type: "choice", values: BILLING_CHOICES, default: CURRENCY_CNY },
273
273
  /** Custom `model|input|cacheRead|output` rows per million tokens; blank buckets inherit official rates. */
274
274
  billingTable: { type: "list", default: [], max: PRICE_ROWS_MAX, entryMax: 256, drop: [] },
275
275
  workspaceView: { type: "boolean", default: true },
276
276
  sidebarSearch: { type: "boolean", default: true },
277
- searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE, legacy: { overlay: SEARCH_STYLE_STANDALONE } },
277
+ searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE },
278
278
  /** Whether resting the pointer on the collapsed sidebar's toggle or the window's left edge opens the sidebar over the page. */
279
279
  sidebarPeek: { type: "boolean", default: true },
280
280
  /** Whether the panel list carries the More menu's hidden entries and its Edit sidebar dialog. */
@@ -291,11 +291,12 @@ var PREFS = {
291
291
  /** Whether a message the reader sent carries edit and retract beside its copy button (features/message-actions). */
292
292
  messageActions: { type: "boolean", default: true },
293
293
  viewTabs: { type: "boolean", default: true },
294
+ hideToolbarOutsideConversation: { type: "boolean", default: true },
294
295
  headerBand: { type: "boolean", default: true },
295
- /** Whether the conversation offers its own session details rail (D102). */
296
+ /** Whether the conversation offers its own session details rail (D106). */
296
297
  sessionPanel: { type: "boolean", default: true },
297
- /** The legacy choices all mean on except `off`. */
298
- chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false, enhanced: true, redraw: true } },
298
+ /** The legacy choice `off` means off. */
299
+ chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false } },
299
300
  chatWait: { type: "boolean", default: true },
300
301
  chatSend: { type: "boolean", default: true },
301
302
  chatReveal: { type: "choice", values: CHAT_REVEAL_MODES, default: CHAT_REVEAL_ON },
package/lib/host/usage.js CHANGED
@@ -209,11 +209,11 @@ var PREFS = {
209
209
  inlineCodeColor: { type: "choice", values: INLINE_CODE_COLORS, default: INLINE_CODE_COLOR_PALETTE },
210
210
  motion: { type: "choice", values: MOTION_MODES, default: MOTION_SYSTEM },
211
211
  statusMotion: { type: "choice", values: STATUS_MOTIONS, default: STATUS_MOTION_SWEEP },
212
- /** The two legacy words: `precise` is on and `simple` off. */
213
- statusDetail: { type: "boolean", default: true, legacy: { precise: true, simple: false } },
212
+ /** The legacy word `simple` is off. */
213
+ statusDetail: { type: "boolean", default: true, legacy: { simple: false } },
214
214
  collapseFooter: { type: "boolean", default: true },
215
- /** A legacy boolean maps to every popover or none. */
216
- autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { true: AUTO_POPOVER_ALL, false: AUTO_POPOVER_OFF } },
215
+ /** The legacy boolean `false` maps to no popover. */
216
+ autoPopover: { type: "choice", values: AUTO_POPOVER_SCOPES, default: AUTO_POPOVER_ALL, legacy: { false: AUTO_POPOVER_OFF } },
217
217
  composerScope: { type: "choice", values: COMPOSER_SCOPES, default: COMPOSER_SCOPE_ALL },
218
218
  /** Whether the host's question card is redrawn and moved to the end of the conversation; off leaves it in the composer as the host draws it. */
219
219
  questionCard: { type: "boolean", default: true },
@@ -266,15 +266,15 @@ var PREFS = {
266
266
  statsFooterCache: { type: "boolean", default: true },
267
267
  statsFooterCost: { type: "boolean", default: true },
268
268
  statsFooterTotal: { type: "boolean", default: true },
269
- /** How the footer's token figures read: the grouped whole numbers, or K/M/B/T units with one decimal place. */
270
- statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_DIGITS },
269
+ /** How the statistics line and details rail write token figures. */
270
+ statsFooterTokenFormat: { type: "choice", values: FOOTER_TOKEN_FORMATS, default: FOOTER_TOKEN_UNITS },
271
271
  /** Which official price table the session's cost follows, or off for no figure at all. */
272
272
  billingCurrency: { type: "choice", values: BILLING_CHOICES, default: CURRENCY_CNY },
273
273
  /** Custom `model|input|cacheRead|output` rows per million tokens; blank buckets inherit official rates. */
274
274
  billingTable: { type: "list", default: [], max: PRICE_ROWS_MAX, entryMax: 256, drop: [] },
275
275
  workspaceView: { type: "boolean", default: true },
276
276
  sidebarSearch: { type: "boolean", default: true },
277
- searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE, legacy: { overlay: SEARCH_STYLE_STANDALONE } },
277
+ searchStyle: { type: "choice", values: SEARCH_STYLES, default: SEARCH_STYLE_STANDALONE },
278
278
  /** Whether resting the pointer on the collapsed sidebar's toggle or the window's left edge opens the sidebar over the page. */
279
279
  sidebarPeek: { type: "boolean", default: true },
280
280
  /** Whether the panel list carries the More menu's hidden entries and its Edit sidebar dialog. */
@@ -291,11 +291,12 @@ var PREFS = {
291
291
  /** Whether a message the reader sent carries edit and retract beside its copy button (features/message-actions). */
292
292
  messageActions: { type: "boolean", default: true },
293
293
  viewTabs: { type: "boolean", default: true },
294
+ hideToolbarOutsideConversation: { type: "boolean", default: true },
294
295
  headerBand: { type: "boolean", default: true },
295
- /** Whether the conversation offers its own session details rail (D102). */
296
+ /** Whether the conversation offers its own session details rail (D106). */
296
297
  sessionPanel: { type: "boolean", default: true },
297
- /** The legacy choices all mean on except `off`. */
298
- chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false, enhanced: true, redraw: true } },
298
+ /** The legacy choice `off` means off. */
299
+ chatAnimations: { type: "boolean", default: true, legacy: { [CHAT_ANIMATIONS_OFF]: false } },
299
300
  chatWait: { type: "boolean", default: true },
300
301
  chatSend: { type: "boolean", default: true },
301
302
  chatReveal: { type: "choice", values: CHAT_REVEAL_MODES, default: CHAT_REVEAL_ON },
@@ -347,17 +348,13 @@ async function readEvents(ctx, packageName, sessionId, label) {
347
348
  const query = ctx.get("sessionQuery");
348
349
  if (query === null || query === void 0) return null;
349
350
  try {
350
- if (typeof query.observeSession === "function") {
351
- const observation = await query.observeSession(sessionId, { projectionMode: "none" });
352
- try {
353
- return eventsOf(observation.events);
354
- } finally {
355
- releaseObservation(observation);
356
- }
351
+ if (typeof query.observeSession !== "function") return null;
352
+ const observation = await query.observeSession(sessionId, { projectionMode: "none" });
353
+ try {
354
+ return eventsOf(observation.events);
355
+ } finally {
356
+ releaseObservation(observation);
357
357
  }
358
- if (typeof query.readSession !== "function") return null;
359
- const snapshot = await query.readSession(sessionId);
360
- return eventsOf(snapshot?.events);
361
358
  } catch (error) {
362
359
  if (unreadableLog(error) === null) throw error;
363
360
  reportUnreadable(ctx, packageName, error, sessionId, label);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "updatedAt": "2026-11-10",
3
+ "updatedAt": "2026-11-19",
4
4
  "defaultProfile": "deepseek-v4",
5
5
  "profiles": [
6
6
  {
@@ -296,8 +296,8 @@
296
296
  "shortName": "BAI",
297
297
  "title": "B.AI DeepSeek Flash pricing clock",
298
298
  "subtitle": "B.AI Flash campaign hours in your local time",
299
- "kicker": "V4.1 Flash · 60% of the applicable reference rate",
300
- "policyNote": "From Oct 4 at 10:00 SGT, API usage costs 60% of the applicable peak or off-peak reference price. Chat always uses the off-peak base. No published end date.",
299
+ "kicker": "V4.1 Flash · 50% of the applicable reference rate",
300
+ "policyNote": "Current published offer: 50% of the applicable peak or off-peak API reference price. Chat uses the off-peak base. Confirmed November 19; B.AI does not publish the rate changeover or offer end. The clock switches at the audit timestamp, not a verified billing cutoff.",
301
301
  "schedule": {
302
302
  "timeZone": "Asia/Shanghai",
303
303
  "peakDays": [1, 2, 3, 4, 5],
@@ -398,12 +398,31 @@
398
398
  "windows": [
399
399
  { "start": "09:00", "end": "12:00" },
400
400
  { "start": "14:00", "end": "18:00" }
401
- ]
401
+ ],
402
+ "endAt": "2026-11-19T09:53:27+01:00"
402
403
  },
403
404
  {
404
405
  "period": "campaign60OffPeak",
405
406
  "startAt": "2026-10-04T10:00:00+08:00",
406
407
  "days": [0, 1, 2, 3, 4, 5, 6],
408
+ "windows": [
409
+ { "start": "00:00", "end": "00:00", "allDay": true }
410
+ ],
411
+ "endAt": "2026-11-19T09:53:27+01:00"
412
+ },
413
+ {
414
+ "period": "campaign50Peak",
415
+ "startAt": "2026-11-19T09:53:27+01:00",
416
+ "days": [1, 2, 3, 4, 5],
417
+ "windows": [
418
+ { "start": "09:00", "end": "12:00" },
419
+ { "start": "14:00", "end": "18:00" }
420
+ ]
421
+ },
422
+ {
423
+ "period": "campaign50OffPeak",
424
+ "startAt": "2026-11-19T09:53:27+01:00",
425
+ "days": [0, 1, 2, 3, 4, 5, 6],
407
426
  "windows": [
408
427
  { "start": "00:00", "end": "00:00", "allDay": true }
409
428
  ]
@@ -413,7 +432,7 @@
413
432
  "offDayName": "Weekend",
414
433
  "sourceTitle": "Busy hours (Beijing time):",
415
434
  "sourceWindows": "09:00–12:00 · 14:00–18:00",
416
- "sourceNote": "B.AI V4.1 Flash campaign: 10% from Sep 12, 2026 10:00 to Sep 25 15:00; 30% from Sep 25 15:00 to Oct 4 10:00; 60% from Oct 4, 2026 10:00 SGT (UTC+8) · each discount applies to the applicable peak or off-peak reference price · API peak hours are weekdays 09:00–12:00 and 14:00–18:00 Beijing; weekends and Chinese public holidays are off-peak · Chat uses the off-peak base all day · no published end date for the 60% offer; platform settlement controls"
435
+ "sourceNote": "Current published offer: 50% of the applicable peak or off-peak API reference price. Chat uses the off-peak base. Confirmed November 19; B.AI does not publish the rate changeover or offer end. The clock switches at the audit timestamp, not a verified billing cutoff."
417
436
  },
418
437
  "periods": {
419
438
  "peak": {
@@ -455,6 +474,20 @@
455
474
  "badge": "0.6× off-peak",
456
475
  "detail": "60% of the off-peak reference price; half the campaign peak price",
457
476
  "tone": "special"
477
+ },
478
+ "campaign50Peak": {
479
+ "name": "Flash campaign · peak",
480
+ "status": "B.AI Flash campaign uses the peak reference rate now",
481
+ "badge": "0.5× peak",
482
+ "detail": "50% of the applicable reference price; exact changeover and end unpublished.",
483
+ "tone": "special"
484
+ },
485
+ "campaign50OffPeak": {
486
+ "name": "Flash campaign · off-peak",
487
+ "status": "B.AI Flash campaign uses the off-peak reference rate now",
488
+ "badge": "0.5× off-peak",
489
+ "detail": "50% of the applicable reference price; exact changeover and end unpublished.",
490
+ "tone": "special"
458
491
  }
459
492
  },
460
493
  "source": "https://docs.b.ai/llmservice/promotions-and-pricing-notices/",
@@ -1327,8 +1360,8 @@
1327
1360
  "temporary": true,
1328
1361
  "title": "B.AI GLM Flash campaign clock",
1329
1362
  "subtitle": "B.AI GLM campaign rates in your local time",
1330
- "kicker": "GLM-5.3-Flash · 30% off the standard reference rate",
1331
- "policyNote": "The campaign changes from 30% to 70% of the standard reference price on Oct 4 at 10:00 SGT (UTC+8). This is a 30% discount, not 70% off. No published end date.",
1363
+ "kicker": "GLM-5.3-Flash · 40% off the standard reference rate",
1364
+ "policyNote": "Current published offer: 60% of the standard reference price for eligible API and Chat usage. Confirmed November 19; B.AI does not publish the rate changeover or offer end. The clock switches at the audit timestamp, not a verified billing cutoff.",
1332
1365
  "schedule": {
1333
1366
  "timeZone": "Asia/Shanghai",
1334
1367
  "peakDays": [0, 1, 2, 3, 4, 5, 6],
@@ -1352,12 +1385,21 @@
1352
1385
  "period": "campaign70",
1353
1386
  "startAt": "2026-10-04T10:00:00+08:00",
1354
1387
  "days": [0, 1, 2, 3, 4, 5, 6],
1388
+ "windows": [
1389
+ { "start": "00:00", "end": "00:00", "allDay": true }
1390
+ ],
1391
+ "endAt": "2026-11-19T09:53:27+01:00"
1392
+ },
1393
+ {
1394
+ "period": "campaign60",
1395
+ "startAt": "2026-11-19T09:53:27+01:00",
1396
+ "days": [0, 1, 2, 3, 4, 5, 6],
1355
1397
  "windows": [
1356
1398
  { "start": "00:00", "end": "00:00", "allDay": true }
1357
1399
  ]
1358
1400
  }
1359
1401
  ],
1360
- "sourceNote": "Eligible B.AI API and Chat GLM-5.3-Flash usage costs 30% of the standard reference price from Sep 25, 2026 15:00 until Oct 4, 2026 10:00 SGT (UTC+8), then 70% of the standard reference price · the new offer is 30% off, not 70% off · platform settlement controls · no published end date for the 70% offer"
1402
+ "sourceNote": "Current published offer: 60% of the standard reference price for eligible API and Chat usage. Confirmed November 19; B.AI does not publish the rate changeover or offer end. The clock switches at the audit timestamp, not a verified billing cutoff."
1361
1403
  },
1362
1404
  "periods": {
1363
1405
  "peak": {
@@ -1385,6 +1427,13 @@
1385
1427
  "badge": "0.7× base",
1386
1428
  "detail": "70% of the standard reference price (30% off); no published end date",
1387
1429
  "tone": "special"
1430
+ },
1431
+ "campaign60": {
1432
+ "name": "Campaign · 60%",
1433
+ "status": "B.AI campaign rate is active now",
1434
+ "badge": "0.6× base",
1435
+ "detail": "60% of the applicable reference price; exact changeover and end unpublished.",
1436
+ "tone": "special"
1388
1437
  }
1389
1438
  },
1390
1439
  "source": "https://docs.b.ai/llmservice/promotions-and-pricing-notices/",
@@ -1659,19 +1708,19 @@
1659
1708
  "shortName": "Q",
1660
1709
  "temporary": true,
1661
1710
  "title": "Qoder Qwen3.8-Max Service Account clock",
1662
- "policyNote": "Service Accounts only. Night discount: 01:00–07:00 Beijing daily. No published end date.",
1711
+ "policyNote": "Service Accounts only. Night discount: 22:00–08:00 Beijing daily, matching other accounts. Qoder does not date the change from the previously documented 01:00–07:00 window. No published end date.",
1663
1712
  "subtitle": "Service Account credit rates in your local time",
1664
- "kicker": "Service Account · 60% fewer Credits from 01:00–07:00 Beijing",
1713
+ "kicker": "Service Account · 60% fewer Credits from 22:00–08:00 Beijing",
1665
1714
  "schedule": {
1666
1715
  "timeZone": "Asia/Shanghai",
1667
1716
  "peakDays": [0, 1, 2, 3, 4, 5, 6],
1668
1717
  "peakWindows": [
1669
- { "start": "07:00", "end": "01:00" }
1718
+ { "start": "08:00", "end": "22:00" }
1670
1719
  ],
1671
1720
  "windowName": "standard-rate",
1672
1721
  "sourceTitle": "Standard-rate hours (Beijing):",
1673
- "sourceWindows": "07:00–01:00 next day",
1674
- "sourceNote": "Qoder Service Accounts only · daily 01:00–07:00 Beijing off-peak, including weekends and public holidays · the same model multipliers apply as on other products, which instead use 22:00–08:00 · no published effective date for the Service Account window and no published end date"
1722
+ "sourceWindows": "08:00–22:00",
1723
+ "sourceNote": "Qoder Service Accounts only · daily 22:00–08:00 Beijing off-peak, including weekends and public holidays · matches the same schedule and model multipliers as other products · no published effective date for the Service Account window and no published end date"
1675
1724
  },
1676
1725
  "periods": {
1677
1726
  "peak": {
@@ -1946,8 +1995,8 @@
1946
1995
  "shortName": "Q",
1947
1996
  "title": "Qoder CN Flash Service Account clock",
1948
1997
  "subtitle": "Service Account credit rates in your local time",
1949
- "kicker": "Service Accounts · 0.04× credits from 01:00–07:00 Beijing",
1950
- "policyNote": "Service Accounts only. Night discount: 01:00–07:00 Beijing daily, 0.04× credits versus 0.1× otherwise. Pro Trial and paying users with available Credits. Flash night program starts Nov 7, 2026 at 00:00 Beijing; no separate Service Account effective instant or end date is published. Historical individual-account free access is not applied here.",
1998
+ "kicker": "Service Accounts · 0.04× credits from 22:00–08:00 Beijing",
1999
+ "policyNote": "Service Accounts only. Night discount: 22:00–08:00 Beijing daily, 0.04× credits versus 0.1× otherwise. Pro Trial and paying users with available Credits. Flash night program starts Nov 7, 2026 at 00:00 Beijing; no separate Service Account effective instant or end date is published. Historical individual-account free access is not applied here. Qoder does not date the change from 01:00–07:00; the clock uses the November 19 audit boundary, not an official cutoff.",
1951
2000
  "schedule": {
1952
2001
  "timeZone": "Asia/Shanghai",
1953
2002
  "peakDays": [0, 1, 2, 3, 4, 5, 6],
@@ -1956,16 +2005,25 @@
1956
2005
  ],
1957
2006
  "windowName": "standard-rate",
1958
2007
  "sourceTitle": "Standard-rate hours (Beijing):",
1959
- "sourceWindows": "07:00–01:00 next day",
1960
- "sourceNote": "Service Accounts only. Night discount: 01:00–07:00 Beijing daily, 0.04× credits versus 0.1× otherwise. Pro Trial and paying users with available Credits. Flash night program starts Nov 7, 2026 at 00:00 Beijing; no separate Service Account effective instant or end date is published. Historical individual-account free access is not applied here.",
2008
+ "sourceWindows": "08:00–22:00",
2009
+ "sourceNote": "Service Accounts only. Night discount: 22:00–08:00 Beijing daily, 0.04× credits versus 0.1× otherwise. Pro Trial and paying users with available Credits. Flash night program starts Nov 7, 2026 at 00:00 Beijing; no separate Service Account effective instant or end date is published. Historical individual-account free access is not applied here. Qoder does not date the change from 01:00–07:00; the clock uses the November 19 audit boundary, not an official cutoff.",
1961
2010
  "overrides": [
1962
2011
  {
1963
2012
  "period": "offPeak",
1964
2013
  "startAt": "2026-11-07T00:00:00+08:00",
2014
+ "endAt": "2026-11-19T09:00:00Z",
1965
2015
  "days": [0, 1, 2, 3, 4, 5, 6],
1966
2016
  "windows": [
1967
2017
  { "start": "01:00", "end": "07:00" }
1968
2018
  ]
2019
+ },
2020
+ {
2021
+ "period": "offPeak",
2022
+ "startAt": "2026-11-19T09:00:00Z",
2023
+ "days": [0, 1, 2, 3, 4, 5, 6],
2024
+ "windows": [
2025
+ { "start": "22:00", "end": "08:00" }
2026
+ ]
1969
2027
  }
1970
2028
  ]
1971
2029
  },
@@ -2207,7 +2265,7 @@
2207
2265
  "title": "OpenRouter MiniMax Flash route pricing clock",
2208
2266
  "subtitle": "Route-specific API pricing in your local time",
2209
2267
  "kicker": "50% off token prices during daily off-peak hours",
2210
- "policyNote": "Applies only to model minimax/minimax-m3.1-flash on endpoint minimax; not other OpenRouter providers or the model vendor’s direct API. Pin provider.only to [\"minimax\"] and set provider.allow_fallbacks=false. Default routing or fallbacks can select differently priced providers. Daily UTC off-peak 15:00–01:00 next day; all other hours peak, including weekends/holidays. Endpoint metadata gives inclusive starts and exclusive ends, with no utc_days restriction. USD per 1M tokens: peak input/cache/output 0.15/0.015/0.6; off-peak 0.075/0.0075/0.3. These are token rates, not total account charges; billing-time boundary semantics and effective/end dates are not published by this metadata. Check current endpoint pricing and actual usage charges.",
2268
+ "policyNote": "Applies only to models minimax/minimax-m3.1-flash and minimax/minimax-m3.1-flash-20261019 on endpoint minimax; not other OpenRouter providers or the model vendor’s direct API. Pin provider.only to [\"minimax\"] and set provider.allow_fallbacks=false. Default routing or fallbacks can select differently priced providers. Daily UTC off-peak 15:00–01:00 next day; all other hours peak, including weekends/holidays. Endpoint metadata gives inclusive starts and exclusive ends, with no utc_days restriction. USD per 1M tokens: peak input/cache/output 0.15/0.015/0.6; off-peak 0.075/0.0075/0.3. These are token rates, not total account charges; billing-time boundary semantics and effective/end dates are not published by this metadata. Check current endpoint pricing and actual usage charges.",
2211
2269
  "routing": {
2212
2270
  "only": [
2213
2271
  "minimax"