@kenz1117/dsh-ui-usage-billing 1.8.2-alpha.2 → 1.8.2
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/README.en.md +4 -4
- package/README.md +4 -4
- package/lib/client.js +3 -3
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/usage-billing-settings.d.ts +19 -2
- package/package.json +63 -62
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Locale dictionaries for the usage billing surface. */
|
|
2
|
-
export type UsageBillingKey = 'title' | 'cost' | 'todayCost' | 'monthCost' | 'yearCost' | 'monthProjected' | 'monthProjectedHint' | 'liveTurn' | 'liveSession' | 'liveSessionSub' | 'calls' | 'cacheHitRate' | 'tokens' | 'inputTokens' | 'outputTokens' | 'avgCost' | 'kpiRange' | 'avgRangeToday' | 'avgRange7d' | 'avgRangeWeek' | 'avgRangeMonth' | 'avgRangeAll' | 'avgRangeCustom' | 'customRangeStart' | 'customRangeEnd' | 'trend' | 'trend7d' | 'trend30d' | 'trendMetric' | 'trendMetricCost' | 'trendMetricTokens' | 'pricingSearch' | 'bandPinHint' | 'trendEmpty' | 'trendTotal' | 'roundsUnit' | 'healthModelsLive' | 'healthVendorsDown' | 'healthVendorsUnavailable' | 'budget' | 'budgetRemain' | 'budgetAmount' | 'budgetSummary' | 'sessions' | 'sessionTitle' | 'lastActive' | 'sessionOverflow' | 'budgetTierBody' | 'models' | 'providerBilling' | 'channelUnknown' | 'directTag' | 'relayTag' | 'unknownTag' | 'unknownChannelHint' | 'planCountUnit' | 'actual' | 'pricing' | 'input' | 'output' | 'cacheHit' | 'peak' | 'offPeak' | 'flat' | 'band' | 'close' | 'footer' | 'footerCredit' | 'lastUpdated' | 'noData' | 'todayRate' | 'rateLive' | 'rateBuiltin' | 'pricingSyncedAt' | 'pricingSyncNow' | 'pricingSyncing' | 'promoBadge' | 'promoUntil' | 'promoOpenEnded' | 'pricingTip' | 'pricingUnit' | 'pricingNotes' | 'ubPeak' | 'ubOff' | 'ubStd' | 'peakBand' | 'pricingSource' | 'noteCache' | 'noteBand' | 'noteSource' | 'balance' | 'recharge' | 'rechargeHint' | 'balanceUnconfigured' | 'balanceUnauthorized' | 'balanceUnreachable' | 'uncatalogued' | 'estimatedPricing' | 'balanceDays' | 'balanceLowBody' | 'reconcileDrift' | 'reconcileDismiss' | 'subscriptionNotConfigured' | 'subscriptionUnauthorized' | 'subscriptionUnavailable' | 'subscriptionInvalid' | 'subscriptionRateLimited' | 'subscriptionSession' | 'subscriptionWeekly' | 'subscriptionMonthly' | 'subscriptionBilling' | 'subscriptionRemaining' | 'subscriptionExhausted' | 'subscriptionReset' | 'subscriptionNoApi' | 'floatWindow' | 'floatModeCombined' | 'floatModeSubscription' | 'floatMode' | 'floatTargets' | 'floatWindowHint' | 'floatPrimaryToday' | 'floatPrimaryWeek' | 'floatPrimaryMonth' | 'floatNoTargets' | 'floatNoTargetsHint' | 'cardDisplay' | 'cardDisplayHint' | 'cardMode' | 'cardModeFull' | 'cardModeCompact' | 'cardModeHidden' | 'cardModeHiddenHint' | 'cardModeFallback' | 'nativeSettingsNav' | 'nativeSettingsIntro' | 'nativeSettingsHiddenHint' | 'cardMetric' | 'cardMetricMoney' | 'cardMetricTokens' | 'cardSpan' | 'cardSpanDay' | 'cardSpanWeek' | 'cardSpanMonth' | 'cardDeltaBadge' | 'cardDeltaShow' | 'cardDeltaHide' | 'triggerMonthTokens' | 'triggerTodayTokens' | 'triggerWeekTokens' | 'subscriptionsStale' | 'balanceStaleNotice' | 'staleLedgerNotice' | 'staleSnapshotNotice' | 'unreadableNotice' | 'unreadableFormatNotice' | 'unreadableNoLedgerNotice' | 'tokenCacheWrite' | 'toolRank' | 'toolName' | 'userPrices' | 'userPricesHint' | 'userPriceSave' | 'userPriceModel' | 'userPriceSource' | 'userPriceSourceHint' | 'userPriceOffPeak' | 'userPriceNormal' | 'userPriceCurrency' | 'userPriceAdd' | 'userPriceRemoveSelected' | 'userPriceSelect' | 'sessionStaleBadge' | 'sessionUntitled' | 'sessionSubCost' | 'sessionSubCalls' | 'sessionSubRow' | 'heatmapLess' | 'heatmapMore' | 'currency' | 'currencyCny' | 'currencyUsd' | 'currencyEur' | 'language' | 'heatmap' | 'rounds' | 'roundsHint' | 'anomaly' | 'model' | 'thModel' | 'thInputMiss' | 'thInputHit' | 'costAbbr' | 'tabOverview' | 'tabTrends' | 'tabProviders' | 'tabPricing' | 'tabSettings' | 'budgetHint' | 'peakAlertHint' | 'peakAlertDescPeak' | 'peakAlertDescOff' | 'peakAlertDescPeakZhipu' | 'peakAlertDescOffZhipu' | 'peakAlertQueuePeak' | 'peakAlertQueueOff' | 'export' | 'exportCsvDay' | 'exportCsvSession' | 'exportJson' | 'peakShare' | 'peakSharePerCall' | 'offPeakSavings' | 'perfMax' | 'weekCost' | 'roleCost' | 'roleUser' | 'roleAssistant' | 'roleTool' | 'roleHint' | 'tierPeak' | 'tierOff' | 'tierToPeak' | 'tierToOff' | 'tierAlertEnterPeak' | 'tierAlertEnterOff' | 'tierAlertEnterPeakZhipu' | 'tierAlertEnterOffZhipu' | 'peakAlertTitlePeak' | 'peakAlertTitleOff' | 'peakAlert' | 'peakAlertLeadMin' | 'peakAlertPos' | 'peakAlertMode' | 'peakAlertPosCorner' | 'peakAlertPosCenter' | 'peakAlertModePeak' | 'peakAlertModeOff' | 'peakAlertModeBoth' | 'peakAlertWebNotify' | 'peakAlertPreview' | 'planTypeCode' | 'planTypeToken' | 'subscriptionFeePerMonth' | 'triggerToday' | 'triggerMonth' | 'subscriptionTag' | 'cellEstimateHint' | 'free' | 'perfSamples' | 'perfTtft' | 'perfP50' | 'perfP90' | 'perfTps' | 'perfLatency' | 'perfEstimated' | 'perfEmpty' | 'perfTpsUnit' | 'perfTitle' | 'perfHint' | 'perfAll' | 'perfChartEmpty' | 'heatmapYear' | 'heatmapHalf' | 'heatmapMonth' | 'metricCost' | 'metricTokens' | 'heatmapTotal' | 'activeDays' | 'streakDays' | 'subscriptionAutoDetect' | 'pluginAuthor' | 'pluginRepository' | 'pluginNpm' | 'pluginLicense' | 'tabToken' | 'tokenExport' | 'tokenExportCsv' | 'tokenReasoningShare' | 'tokenReasoningShort' | 'tokenIo' | 'tokenPeak' | 'densityLabel' | 'densityHint' | 'densityCompact' | 'densityDefault' | 'densityComfortable' | 'motionLabel' | 'motionHint' | 'motionOff' | 'motionSubtle' | 'motionRich' | 'settingsNavDisplayPref' | 'settingsNavBudget' | 'settingsNavAlert' | 'settingsNavDisplay' | 'settingsNavAdvanced' | 'settingsNavAbout' | 'settingsSearchPlaceholder' | 'settingsSearchEmpty' | 'sessionsViewAll' | 'sessionViewerSearch' | 'modelBudgetTitle' | 'modelBudgetHint' | 'modelBudgetBody' | 'modelBudgetPlaceholder' | 'moreWorksTitle' | 'adEngramName' | 'adEngramDesc' | 'adRainbowName' | 'adRainbowDesc' | 'kpiDescCacheHit' | 'kpiDescTokens' | 'kpiDescAvgCost' | 'kpiDescCalls' | 'kpiDescReasoning' | 'kpiDescIo' | 'kpiDescPeak' | 'healthDotLive' | 'healthDotFailed' | 'healthDotUnknown' | 'settingsSectionDisplay' | 'emptyHint' | 'tokenDaily' | 'tokenByModel' | 'tokenMiss' | 'tokenHit' | 'tokenOutput' | 'tokenViewStructure' | 'tokenViewModel' | 'tokenHitShort' | 'tokenMissShort' | 'tokenTotal' | 'tokenShare' | 'usageStatsTool' | 'usageStatsToolHint' | 'balanceGranted' | 'balanceTopped' | 'balanceDaily' | 'balanceDaysLong' | 'balanceDaysUnit' | 'popTodayModel' | 'popNoConsumption' | 'popTitle' | 'popDirectLead' | 'popSubLead' | 'unpricedHint' | 'searchEstimateHint' | 'siteListDisplay' | 'siteListDisplayHint' | 'liveCostBar' | 'liveCostBarHint' | 'liveCostBarPosition' | 'liveCostBarPosBelow' | 'liveCostBarPosAbove' | 'liveCostBarPosToolbar' | 'exportCsvSite' | 'panelRelayQuota' | 'relayBalance' | 'relayNoQuota' | 'relayWindowUsed' | 'relayKindNewApi' | 'relayKindSub2Api' | 'relayKindUnknown' | 'expandAll' | 'collapseAll' | 'todayOnly' | 'todayNoConsumption' | 'commandUsageLabel' | 'commandUsageDescription' | 'sessionOpen' | 'sessionOpenFailed' | 'sessionOpenUnavailable' | 'tabAgents' | 'tabQueue' | 'queueSubtitle' | 'queueUntilPeak' | 'queueUntilOffPeak' | 'queueUnsupportedTitle' | 'queueUnsupportedBody' | 'queueSafety' | 'queueWorkspace' | 'queueModel' | 'queueNoOptions' | 'queuePromptLabel' | 'queuePromptPlaceholder' | 'queuePrivacy' | 'queueEnqueue' | 'queueImport' | 'queueImportHint' | 'queueImported' | 'queueImportFormat' | 'queueImportTooLarge' | 'queueActive' | 'queueClearFinished' | 'queueEmpty' | 'queueLoading' | 'queueOpenSession' | 'queueRemoveQueued' | 'queueRemoveHistory' | 'queueStatusQueued' | 'queueStatusStarting' | 'queueStatusRunning' | 'queueStatusCompleted' | 'queueStatusFailed' | 'quickQueueToggle' | 'quickQueueEnqueue' | 'quickQueueEnqueueing' | 'quickQueueWaiting' | 'quickQueueClear' | 'quickQueueEnqueued' | 'quickQueueEmpty' | 'quickQueueBusy' | 'quickQueueAttachments' | 'quickQueueContext' | 'quickQueueRoute' | 'quickQueueDraftChanged' | 'quickQueueUnsupported' | 'quickQueueFailed' | 'agentsSummary' | 'agentsCount' | 'agentsDelegations' | 'agentsRoots' | 'agentsMostExpensive' | 'agentsChainTotal' | 'agentsNoData' | 'agentsSubagent' | 'agentsRoot';
|
|
2
|
+
export type UsageBillingKey = 'title' | 'cost' | 'todayCost' | 'monthCost' | 'yearCost' | 'monthProjected' | 'monthProjectedHint' | 'liveTurn' | 'liveSession' | 'liveSessionSub' | 'calls' | 'cacheHitRate' | 'tokens' | 'inputTokens' | 'outputTokens' | 'avgCost' | 'kpiRange' | 'avgRangeToday' | 'avgRange7d' | 'avgRangeWeek' | 'avgRangeMonth' | 'avgRangeAll' | 'avgRangeCustom' | 'customRangeStart' | 'customRangeEnd' | 'trend' | 'trend7d' | 'trend30d' | 'trendMetric' | 'trendMetricCost' | 'trendMetricTokens' | 'pricingSearch' | 'bandPinHint' | 'trendEmpty' | 'trendTotal' | 'roundsUnit' | 'healthModelsLive' | 'healthVendorsDown' | 'healthVendorsUnavailable' | 'budget' | 'budgetRemain' | 'budgetAmount' | 'budgetSummary' | 'sessions' | 'sessionTitle' | 'lastActive' | 'sessionOverflow' | 'budgetTierBody' | 'models' | 'providerBilling' | 'channelUnknown' | 'directTag' | 'relayTag' | 'unknownTag' | 'unknownChannelHint' | 'planCountUnit' | 'actual' | 'pricing' | 'input' | 'output' | 'cacheHit' | 'peak' | 'offPeak' | 'flat' | 'band' | 'close' | 'footer' | 'footerCredit' | 'lastUpdated' | 'noData' | 'todayRate' | 'rateLive' | 'rateBuiltin' | 'pricingSyncedAt' | 'pricingSyncNow' | 'pricingSyncing' | 'promoBadge' | 'promoUntil' | 'promoOpenEnded' | 'pricingTip' | 'pricingUnit' | 'pricingNotes' | 'ubPeak' | 'ubOff' | 'ubStd' | 'peakBand' | 'pricingSource' | 'noteCache' | 'noteBand' | 'noteSource' | 'balance' | 'recharge' | 'rechargeHint' | 'balanceUnconfigured' | 'balanceUnauthorized' | 'balanceUnreachable' | 'uncatalogued' | 'estimatedPricing' | 'balanceDays' | 'balanceLowBody' | 'reconcileDrift' | 'reconcileDismiss' | 'subscriptionNotConfigured' | 'subscriptionUnauthorized' | 'subscriptionUnavailable' | 'subscriptionInvalid' | 'subscriptionRateLimited' | 'subscriptionSession' | 'subscriptionWeekly' | 'subscriptionMonthly' | 'subscriptionBilling' | 'subscriptionRemaining' | 'subscriptionExhausted' | 'subscriptionReset' | 'subscriptionNoApi' | 'floatWindow' | 'floatModeCombined' | 'floatModeSubscription' | 'floatMode' | 'floatTargets' | 'floatWindowHint' | 'floatPrimaryToday' | 'floatPrimaryWeek' | 'floatPrimaryMonth' | 'floatNoTargets' | 'floatNoTargetsHint' | 'cardDisplay' | 'cardDisplayHint' | 'cardMode' | 'cardModeFull' | 'cardModeCompact' | 'cardModeHidden' | 'cardModeHiddenHint' | 'cardModeFallback' | 'nativeSettingsNav' | 'nativeSettingsIntro' | 'nativeSettingsHiddenHint' | 'cardMetric' | 'cardMetricMoney' | 'cardMetricTokens' | 'cardSpan' | 'cardSpanDay' | 'cardSpanWeek' | 'cardSpanMonth' | 'cardDeltaBadge' | 'cardDeltaShow' | 'cardDeltaHide' | 'triggerMonthTokens' | 'triggerTodayTokens' | 'triggerWeekTokens' | 'subscriptionsStale' | 'balanceStaleNotice' | 'staleLedgerNotice' | 'staleSnapshotNotice' | 'unreadableNotice' | 'unreadableFormatNotice' | 'unreadableNoLedgerNotice' | 'tokenCacheWrite' | 'toolRank' | 'toolName' | 'userPrices' | 'userPricesHint' | 'userPriceSave' | 'userPriceModel' | 'userPriceSource' | 'userPriceSourceHint' | 'userPriceOffPeak' | 'userPriceNormal' | 'userPriceCurrency' | 'userPriceAdd' | 'userPriceRemoveSelected' | 'userPriceSelect' | 'sessionStaleBadge' | 'sessionUntitled' | 'sessionSubCost' | 'sessionSubCalls' | 'sessionSubRow' | 'heatmapLess' | 'heatmapMore' | 'currency' | 'currencyCny' | 'currencyUsd' | 'currencyEur' | 'language' | 'heatmap' | 'rounds' | 'roundsHint' | 'anomaly' | 'model' | 'thModel' | 'thInputMiss' | 'thInputHit' | 'costAbbr' | 'tabOverview' | 'tabTrends' | 'tabProviders' | 'tabPricing' | 'tabSettings' | 'budgetHint' | 'peakAlertHint' | 'peakAlertDescPeak' | 'peakAlertDescOff' | 'peakAlertDescPeakZhipu' | 'peakAlertDescOffZhipu' | 'peakAlertQueuePeak' | 'peakAlertQueueOff' | 'export' | 'exportCsvDay' | 'exportCsvSession' | 'exportJson' | 'peakShare' | 'peakSharePerCall' | 'offPeakSavings' | 'perfMax' | 'weekCost' | 'roleCost' | 'roleUser' | 'roleAssistant' | 'roleTool' | 'roleHint' | 'tierPeak' | 'tierOff' | 'tierToPeak' | 'tierToOff' | 'tierAlertEnterPeak' | 'tierAlertEnterOff' | 'tierAlertEnterPeakZhipu' | 'tierAlertEnterOffZhipu' | 'peakAlertTitlePeak' | 'peakAlertTitleOff' | 'peakAlert' | 'peakAlertLeadMin' | 'peakAlertPos' | 'peakAlertMode' | 'peakAlertPosCorner' | 'peakAlertPosCenter' | 'peakAlertModePeak' | 'peakAlertModeOff' | 'peakAlertModeBoth' | 'peakAlertWebNotify' | 'peakAlertPreview' | 'planTypeCode' | 'planTypeToken' | 'subscriptionFeePerMonth' | 'triggerToday' | 'triggerMonth' | 'subscriptionTag' | 'cellEstimateHint' | 'free' | 'perfSamples' | 'perfTtft' | 'perfP50' | 'perfP90' | 'perfTps' | 'perfLatency' | 'perfEstimated' | 'perfEmpty' | 'perfTpsUnit' | 'perfTitle' | 'perfHint' | 'perfAll' | 'perfChartEmpty' | 'heatmapYear' | 'heatmapHalf' | 'heatmapMonth' | 'metricCost' | 'metricTokens' | 'heatmapTotal' | 'activeDays' | 'streakDays' | 'subscriptionAutoDetect' | 'pluginAuthor' | 'pluginRepository' | 'pluginNpm' | 'pluginLicense' | 'tabToken' | 'tokenExport' | 'tokenExportCsv' | 'tokenReasoningShare' | 'tokenReasoningShort' | 'tokenIo' | 'tokenPeak' | 'densityLabel' | 'densityHint' | 'densityCompact' | 'densityDefault' | 'densityComfortable' | 'motionLabel' | 'motionHint' | 'motionOff' | 'motionSubtle' | 'motionRich' | 'settingsNavDisplayPref' | 'settingsNavBudget' | 'settingsNavAlert' | 'settingsNavDisplay' | 'settingsNavAdvanced' | 'settingsNavAbout' | 'settingsSearchPlaceholder' | 'settingsSearchEmpty' | 'sessionsViewAll' | 'sessionViewerSearch' | 'modelBudgetTitle' | 'modelBudgetHint' | 'modelBudgetBody' | 'modelBudgetPlaceholder' | 'moreWorksTitle' | 'adEngramName' | 'adEngramDesc' | 'adRainbowName' | 'adRainbowDesc' | 'kpiDescCacheHit' | 'kpiDescTokens' | 'kpiDescAvgCost' | 'kpiDescCalls' | 'kpiDescReasoning' | 'kpiDescIo' | 'kpiDescPeak' | 'healthDotLive' | 'healthDotFailed' | 'healthDotUnknown' | 'settingsSectionDisplay' | 'emptyHint' | 'tokenDaily' | 'tokenByModel' | 'tokenMiss' | 'tokenHit' | 'tokenOutput' | 'tokenViewStructure' | 'tokenViewModel' | 'tokenHitShort' | 'tokenMissShort' | 'tokenTotal' | 'tokenShare' | 'usageStatsTool' | 'usageStatsToolHint' | 'balanceGranted' | 'balanceTopped' | 'balanceDaily' | 'balanceDaysLong' | 'balanceDaysUnit' | 'popTodayModel' | 'popNoConsumption' | 'popTitle' | 'popDirectLead' | 'popSubLead' | 'unpricedHint' | 'searchEstimateHint' | 'siteListDisplay' | 'siteListDisplayHint' | 'liveCostBar' | 'liveCostBarHint' | 'liveCostBarPosition' | 'liveCostBarPosBelow' | 'liveCostBarPosAbove' | 'liveCostBarPosToolbar' | 'exportCsvSite' | 'panelRelayQuota' | 'relayBalance' | 'relayNoQuota' | 'relayWindowUsed' | 'relayKindNewApi' | 'relayKindSub2Api' | 'relayKindUnknown' | 'expandAll' | 'collapseAll' | 'todayOnly' | 'todayNoConsumption' | 'commandUsageLabel' | 'commandUsageDescription' | 'sessionOpen' | 'sessionOpenFailed' | 'sessionOpenUnavailable' | 'tabAgents' | 'tabQueue' | 'queueSubtitle' | 'queueUntilPeak' | 'queueUntilOffPeak' | 'queueUnsupportedTitle' | 'queueUnsupportedBody' | 'queueSafety' | 'queueWorkspace' | 'queueModel' | 'queueNoOptions' | 'queuePromptLabel' | 'queuePromptPlaceholder' | 'queuePrivacy' | 'queueEnqueue' | 'queueImport' | 'queueImportHint' | 'queueImported' | 'queueImportFormat' | 'queueImportTooLarge' | 'queueActive' | 'queueClearFinished' | 'queueEmpty' | 'queueLoading' | 'queueOpenSession' | 'queueRemoveQueued' | 'queueRemoveHistory' | 'queueStatusQueued' | 'queueStatusStarting' | 'queueStatusRunning' | 'queueStatusCompleted' | 'queueStatusFailed' | 'quickQueueToggle' | 'quickQueueEntry' | 'quickQueueEntryHint' | 'quickQueueEnqueue' | 'quickQueueEnqueueing' | 'quickQueueWaiting' | 'quickQueueClear' | 'quickQueueEnqueued' | 'quickQueueEmpty' | 'quickQueueBusy' | 'quickQueueAttachments' | 'quickQueueContext' | 'quickQueueRoute' | 'quickQueueDraftChanged' | 'quickQueueUnsupported' | 'quickQueueFailed' | 'agentsSummary' | 'agentsCount' | 'agentsDelegations' | 'agentsRoots' | 'agentsMostExpensive' | 'agentsChainTotal' | 'agentsNoData' | 'agentsSubagent' | 'agentsRoot';
|
|
3
3
|
export declare const NS = "usageBilling";
|
|
4
4
|
export declare const zh: Record<UsageBillingKey, string>;
|
|
5
5
|
export declare const en: Record<UsageBillingKey, string>;
|
|
@@ -271,12 +271,29 @@ export interface QuickQueuePrefs {
|
|
|
271
271
|
enabled: boolean;
|
|
272
272
|
/** Clear only the exact enqueued draft revision after a successful mutation. */
|
|
273
273
|
clearAfterEnqueue: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Show the off-peak queue entry beside the composer at all (issue #114).
|
|
276
|
+
*
|
|
277
|
+
* Off hides the persistent switch *and* the enqueue controls; the queue page
|
|
278
|
+
* stays usable. Default true keeps the entry visible for everyone who never
|
|
279
|
+
* touched the setting.
|
|
280
|
+
*/
|
|
281
|
+
showEntry: boolean;
|
|
274
282
|
}
|
|
275
283
|
export declare const DEFAULT_QUICK_QUEUE_PREFS: QuickQueuePrefs;
|
|
276
284
|
export declare const QUICK_QUEUE_STORAGE_KEY = "dsh.ui-usage-billing.quick-queue";
|
|
277
285
|
export declare const QUICK_QUEUE_PREF_EVENT = "dsh.ui-usage-billing.quick-queue-pref";
|
|
278
286
|
/** Read composer queue preferences, failing closed on missing or malformed values. */
|
|
279
287
|
export declare function loadQuickQueuePrefs(): QuickQueuePrefs;
|
|
280
|
-
/**
|
|
281
|
-
|
|
288
|
+
/**
|
|
289
|
+
* Persist a composer queue preference patch and broadcast to the independent
|
|
290
|
+
* left/right composer React trees.
|
|
291
|
+
*
|
|
292
|
+
* The patch merges over a fresh read instead of overwriting the stored object:
|
|
293
|
+
* the composer switch and the settings page live in separate React trees, so a
|
|
294
|
+
* write built from a stale snapshot would silently roll back the other tree's
|
|
295
|
+
* field (issue #114 — settings page writes `showEntry`, composer writes
|
|
296
|
+
* `enabled`).
|
|
297
|
+
*/
|
|
298
|
+
export declare function saveQuickQueuePrefs(patch: Partial<QuickQueuePrefs>): void;
|
|
282
299
|
//# sourceMappingURL=usage-billing-settings.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenz1117/dsh-ui-usage-billing",
|
|
3
3
|
"description": "Usage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.",
|
|
4
|
-
"version": "1.8.2
|
|
4
|
+
"version": "1.8.2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
7
7
|
"deepseek",
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"0.2.1-rc.3": "compatible",
|
|
86
86
|
"0.2.1-rc.4": "compatible",
|
|
87
87
|
"0.2.1-rc.5": "compatible",
|
|
88
|
-
"0.2.2-alpha.2": "compatible"
|
|
88
|
+
"0.2.2-alpha.2": "compatible",
|
|
89
|
+
"0.2.2-alpha.3": "compatible"
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
92
|
},
|
|
@@ -134,67 +135,67 @@
|
|
|
134
135
|
"clsx": "^2.1.1"
|
|
135
136
|
},
|
|
136
137
|
"devDependencies": {
|
|
137
|
-
"@deepseek-ai/cordis": "4.0.6-alpha.
|
|
138
|
-
"@deepseek-ai/cordis-plugin-include": "1.0.11-alpha.
|
|
139
|
-
"@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.
|
|
140
|
-
"@deepseek-ai/cordis-plugin-group": "1.0.6-alpha.
|
|
141
|
-
"@deepseek-ai/dsh-agent": "0.2.2-alpha.
|
|
142
|
-
"@deepseek-ai/dsh-agent-default-model": "0.2.2-alpha.
|
|
143
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-alpha.
|
|
144
|
-
"@deepseek-ai/dsh-api-gateway": "0.2.2-alpha.
|
|
145
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.
|
|
146
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.
|
|
147
|
-
"@deepseek-ai/dsh-app-boot": "0.2.2-alpha.
|
|
148
|
-
"@deepseek-ai/dsh-atomic-write": "0.2.2-alpha.
|
|
149
|
-
"@deepseek-ai/dsh-attachment": "0.2.2-alpha.
|
|
150
|
-
"@deepseek-ai/dsh-client-connection": "0.2.2-alpha.
|
|
151
|
-
"@deepseek-ai/dsh-client-file-upload": "0.2.2-alpha.
|
|
152
|
-
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.
|
|
153
|
-
"@deepseek-ai/dsh-client-store": "0.2.2-alpha.
|
|
154
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-alpha.
|
|
155
|
-
"@deepseek-ai/dsh-client-ui-commands": "0.2.2-alpha.
|
|
156
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-alpha.
|
|
157
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-alpha.
|
|
158
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.
|
|
159
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.
|
|
160
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-alpha.
|
|
161
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.
|
|
162
|
-
"@deepseek-ai/dsh-commands": "0.2.2-alpha.
|
|
163
|
-
"@deepseek-ai/dsh-credentials": "0.2.2-alpha.
|
|
164
|
-
"@deepseek-ai/dsh-file-reference": "0.2.2-alpha.
|
|
165
|
-
"@deepseek-ai/dsh-fs": "0.2.2-alpha.
|
|
166
|
-
"@deepseek-ai/dsh-home-paths": "0.2.2-alpha.
|
|
167
|
-
"@deepseek-ai/dsh-host-webserver": "0.2.2-alpha.
|
|
138
|
+
"@deepseek-ai/cordis": "4.0.6-alpha.2",
|
|
139
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.11-alpha.2",
|
|
140
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.2",
|
|
141
|
+
"@deepseek-ai/cordis-plugin-group": "1.0.6-alpha.2",
|
|
142
|
+
"@deepseek-ai/dsh-agent": "0.2.2-alpha.3",
|
|
143
|
+
"@deepseek-ai/dsh-agent-default-model": "0.2.2-alpha.3",
|
|
144
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-alpha.3",
|
|
145
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.2-alpha.3",
|
|
146
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.3",
|
|
147
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.3",
|
|
148
|
+
"@deepseek-ai/dsh-app-boot": "0.2.2-alpha.3",
|
|
149
|
+
"@deepseek-ai/dsh-atomic-write": "0.2.2-alpha.3",
|
|
150
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-alpha.3",
|
|
151
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-alpha.3",
|
|
152
|
+
"@deepseek-ai/dsh-client-file-upload": "0.2.2-alpha.3",
|
|
153
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.3",
|
|
154
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-alpha.3",
|
|
155
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-alpha.3",
|
|
156
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.2.2-alpha.3",
|
|
157
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-alpha.3",
|
|
158
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-alpha.3",
|
|
159
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.3",
|
|
160
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.3",
|
|
161
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-alpha.3",
|
|
162
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.3",
|
|
163
|
+
"@deepseek-ai/dsh-commands": "0.2.2-alpha.3",
|
|
164
|
+
"@deepseek-ai/dsh-credentials": "0.2.2-alpha.3",
|
|
165
|
+
"@deepseek-ai/dsh-file-reference": "0.2.2-alpha.3",
|
|
166
|
+
"@deepseek-ai/dsh-fs": "0.2.2-alpha.3",
|
|
167
|
+
"@deepseek-ai/dsh-home-paths": "0.2.2-alpha.3",
|
|
168
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-alpha.3",
|
|
168
169
|
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
169
|
-
"@deepseek-ai/dsh-llm": "0.2.2-alpha.
|
|
170
|
-
"@deepseek-ai/dsh-native-command": "0.2.2-alpha.
|
|
171
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.2-alpha.
|
|
172
|
-
"@deepseek-ai/dsh-sandbox": "0.2.2-alpha.
|
|
173
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-alpha.
|
|
174
|
-
"@deepseek-ai/dsh-scope": "0.2.2-alpha.
|
|
175
|
-
"@deepseek-ai/dsh-session": "0.2.2-alpha.
|
|
176
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.2-alpha.
|
|
177
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-alpha.
|
|
178
|
-
"@deepseek-ai/dsh-session-query": "0.2.2-alpha.
|
|
179
|
-
"@deepseek-ai/dsh-session-title": "0.2.2-alpha.
|
|
180
|
-
"@deepseek-ai/dsh-settings": "0.2.2-alpha.
|
|
181
|
-
"@deepseek-ai/dsh-skill": "0.2.2-alpha.
|
|
182
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-alpha.
|
|
183
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-alpha.
|
|
184
|
-
"@deepseek-ai/dsh-tools": "0.2.2-alpha.
|
|
185
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.
|
|
186
|
-
"@deepseek-ai/dsh-typert-registry": "0.2.2-alpha.
|
|
187
|
-
"@deepseek-ai/dsh-user-approval": "0.2.2-alpha.
|
|
188
|
-
"@deepseek-ai/dsh-util-code-language": "0.2.2-alpha.
|
|
189
|
-
"@deepseek-ai/dsh-util-time": "0.2.2-alpha.
|
|
190
|
-
"@deepseek-ai/dsh-util-workspace-path": "0.2.2-alpha.
|
|
191
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-alpha.
|
|
192
|
-
"@deepseek-ai/dsh-workspace": "0.2.2-alpha.
|
|
193
|
-
"@deepseek-ai/dsh-compaction": "0.2.2-alpha.
|
|
194
|
-
"@deepseek-ai/dsh-launch-environment": "0.2.2-alpha.
|
|
195
|
-
"@deepseek-ai/dsh-storage": "0.2.2-alpha.
|
|
196
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.2-alpha.
|
|
197
|
-
"@deepseek-ai/dsh-tool-todo": "0.2.2-alpha.
|
|
170
|
+
"@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
|
|
171
|
+
"@deepseek-ai/dsh-native-command": "0.2.2-alpha.3",
|
|
172
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.2-alpha.3",
|
|
173
|
+
"@deepseek-ai/dsh-sandbox": "0.2.2-alpha.3",
|
|
174
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.2-alpha.3",
|
|
175
|
+
"@deepseek-ai/dsh-scope": "0.2.2-alpha.3",
|
|
176
|
+
"@deepseek-ai/dsh-session": "0.2.2-alpha.3",
|
|
177
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.2-alpha.3",
|
|
178
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-alpha.3",
|
|
179
|
+
"@deepseek-ai/dsh-session-query": "0.2.2-alpha.3",
|
|
180
|
+
"@deepseek-ai/dsh-session-title": "0.2.2-alpha.3",
|
|
181
|
+
"@deepseek-ai/dsh-settings": "0.2.2-alpha.3",
|
|
182
|
+
"@deepseek-ai/dsh-skill": "0.2.2-alpha.3",
|
|
183
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-alpha.3",
|
|
184
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-alpha.3",
|
|
185
|
+
"@deepseek-ai/dsh-tools": "0.2.2-alpha.3",
|
|
186
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.3",
|
|
187
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.2-alpha.3",
|
|
188
|
+
"@deepseek-ai/dsh-user-approval": "0.2.2-alpha.3",
|
|
189
|
+
"@deepseek-ai/dsh-util-code-language": "0.2.2-alpha.3",
|
|
190
|
+
"@deepseek-ai/dsh-util-time": "0.2.2-alpha.3",
|
|
191
|
+
"@deepseek-ai/dsh-util-workspace-path": "0.2.2-alpha.3",
|
|
192
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-alpha.3",
|
|
193
|
+
"@deepseek-ai/dsh-workspace": "0.2.2-alpha.3",
|
|
194
|
+
"@deepseek-ai/dsh-compaction": "0.2.2-alpha.3",
|
|
195
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.2-alpha.3",
|
|
196
|
+
"@deepseek-ai/dsh-storage": "0.2.2-alpha.3",
|
|
197
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-alpha.3",
|
|
198
|
+
"@deepseek-ai/dsh-tool-todo": "0.2.2-alpha.3",
|
|
198
199
|
"@deepseek-ai/schemastery": "3.18.6-alpha.1",
|
|
199
200
|
"@playwright/test": "^1.64.1",
|
|
200
201
|
"@shikijs/langs": "^4.3.1",
|