dsh-context-compression-improved 0.8.0-beta.2 → 0.8.0-beta.3

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.
@@ -1,170 +1,199 @@
1
- .settingsSection {
2
- display: flex;
3
- max-width: 720px;
4
- flex-direction: column;
5
- gap: 12px;
6
- color: var(--dsw-alias-label-primary);
7
- }
8
-
9
- .settingsTitle {
10
- margin: 0;
11
- color: var(--dsw-alias-label-primary);
12
- font-size: 16px;
13
- font-weight: 500;
14
- line-height: 24px;
15
- }
16
-
17
- .settingsDescription {
18
- margin: 0;
19
- color: var(--dsw-alias-label-tertiary);
20
- font-size: 14px;
21
- line-height: 22px;
22
- }
23
-
24
- .root {
25
- width: 100%;
26
- }
27
-
28
- .profileGrid {
29
- display: grid;
30
- grid-template-columns: repeat(2, minmax(0, 1fr));
31
- gap: 10px;
32
- }
33
-
34
- .profileCard {
35
- min-height: 112px;
36
- display: flex;
37
- flex-direction: column;
38
- gap: 8px;
39
- padding: 14px;
40
- border: 1px solid var(--dsw-alias-border-l2);
41
- border-radius: 10px;
42
- background: transparent;
43
- color: var(--dsw-alias-label-primary);
44
- cursor: pointer;
45
- text-align: left;
46
- }
47
-
48
- .profileCard:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); }
49
- .profileCard[aria-pressed="true"] { border-color: var(--dsw-alias-label-primary); }
50
- .profileCard:active:not(:disabled) { transform: scale(.99); }
51
- .profileCard:disabled { cursor: default; opacity: .6; }
52
- .profileCard:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
53
- .profileCardTop { display: flex; align-items: center; gap: 8px; }
54
- .profileCardTitle { font-size: 14px; font-weight: 500; line-height: 20px; }
55
- .profileCurrent { padding: 1px 6px; border-radius: 999px; background: var(--dsw-alias-label-primary); color: var(--dsw-alias-bg-base); font-size: 10px; line-height: 14px; }
56
- .profileCardDetail { color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 18px; }
57
-
58
- .button {
59
- width: 100%;
60
- min-height: 34px;
61
- display: flex;
62
- align-items: center;
63
- gap: 8px;
64
- padding: 6px 8px;
65
- border: 1px solid var(--dsw-alias-border-l2);
66
- border-radius: 10px;
67
- background: transparent;
68
- color: var(--dsw-alias-label-primary);
69
- cursor: pointer;
70
- text-align: left;
71
- }
72
-
73
- .button:hover { background: var(--dsw-alias-interactive-bg-hover); }
74
- .button:disabled { cursor: default; opacity: .6; }
75
-
76
- .copy { flex: 1; min-width: 0; }
77
- .label { font-size: 11px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
78
- .value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 17px; }
79
- .chevron { flex: none; color: var(--dsw-alias-label-secondary); }
80
-
81
- .menuCopy { display: flex; min-width: 220px; flex-direction: column; gap: 2px; }
82
- .menuTitle { font-size: 13px; line-height: 17px; }
83
- .menuDetail { max-width: 290px; white-space: normal; font-size: 11px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
84
-
85
- .error {
86
- padding: 4px 8px 0;
87
- color: var(--dsw-alias-state-error-primary);
88
- font-size: 11px;
89
- line-height: 15px;
90
- }
91
-
92
- .unavailable {
93
- padding: 4px 8px 0;
94
- color: var(--dsw-alias-label-tertiary);
95
- font-size: 11px;
96
- line-height: 15px;
97
- }
98
-
99
- .settingsHint {
100
- padding: 4px 8px 0;
101
- color: var(--dsw-alias-label-secondary);
102
- font-size: 11px;
103
- line-height: 15px;
104
- }
105
-
106
- .pricing {
107
- padding: 4px 8px 0;
108
- color: var(--dsw-alias-label-tertiary);
109
- font-size: 11px;
110
- line-height: 15px;
111
- }
112
-
113
- .custom {
114
- margin-top: 16px;
115
- padding: 16px 0 0;
116
- border-top: 1px solid var(--dsw-alias-border-l2);
117
- }
118
-
119
- .customTitle { margin: 0 0 6px; font-size: 13px; line-height: 17px; }
120
- .customNote { margin: 4px 0; color: var(--dsw-alias-label-tertiary); font-size: 11px; line-height: 15px; }
121
-
122
- .stage {
123
- margin: 12px 0 0;
124
- padding: 12px 0 0;
125
- border: 0;
126
- border-top: 1px solid var(--dsw-alias-border-l2);
127
- }
128
-
129
- .stageToggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; }
130
- .fieldGrid { display: grid; grid-template-columns: 1fr; gap: 8px; }
131
- .field { display: flex; min-width: 0; flex-direction: column; gap: 4px; margin-top: 8px; color: var(--dsw-alias-label-secondary); font-size: 11px; line-height: 15px; }
132
- .field input, .field select {
133
- width: 100%;
134
- min-width: 0;
135
- min-height: 30px;
136
- box-sizing: border-box;
137
- padding: 4px 6px;
138
- border: 1px solid var(--dsw-alias-border-l2);
139
- border-radius: 7px;
140
- background: var(--dsw-alias-bg-base);
141
- color: var(--dsw-alias-label-primary);
142
- }
143
- .field input:focus-visible, .field select:focus-visible, .actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
144
- .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
145
- .actions button { min-height: 30px; padding: 4px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 7px; background: transparent; color: var(--dsw-alias-label-primary); }
146
- .actions button:active:not(:disabled) { transform: scale(.98); }
147
- .actions button:disabled { opacity: .6; }
148
-
149
- @media (max-width: 560px) {
150
- .profileGrid { grid-template-columns: 1fr; }
151
- }
152
-
153
- .autoCompact {
154
- margin-top: 24px;
155
- padding: 16px;
156
- border: 1px solid rgba(128, 128, 128, 0.35);
157
- border-radius: 8px;
158
- }
159
-
160
- .autoCompactTitle {
161
- margin: 0 0 8px;
162
- font-size: 15px;
163
- font-weight: 600;
164
- }
165
-
166
- .autoCompactRisk {
167
- margin: 8px 0 0;
168
- font-size: 12px;
169
- opacity: 0.9;
170
- }
1
+ .settingsSection {
2
+ display: flex;
3
+ max-width: 720px;
4
+ flex-direction: column;
5
+ gap: 12px;
6
+ color: var(--dsw-alias-label-primary);
7
+ }
8
+
9
+ .settingsTitle {
10
+ margin: 0;
11
+ color: var(--dsw-alias-label-primary);
12
+ font-size: 16px;
13
+ font-weight: 500;
14
+ line-height: 24px;
15
+ }
16
+
17
+ .settingsDescription {
18
+ margin: 0;
19
+ color: var(--dsw-alias-label-tertiary);
20
+ font-size: 14px;
21
+ line-height: 22px;
22
+ }
23
+
24
+ .root {
25
+ width: 100%;
26
+ }
27
+
28
+ .profileGrid {
29
+ display: grid;
30
+ grid-template-columns: repeat(2, minmax(0, 1fr));
31
+ gap: 10px;
32
+ }
33
+
34
+ .profileCard {
35
+ min-height: 112px;
36
+ display: flex;
37
+ flex-direction: column;
38
+ gap: 8px;
39
+ padding: 14px;
40
+ border: 1px solid var(--dsw-alias-border-l2);
41
+ border-radius: 10px;
42
+ background: transparent;
43
+ color: var(--dsw-alias-label-primary);
44
+ cursor: pointer;
45
+ text-align: left;
46
+ }
47
+
48
+ .profileCard:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); }
49
+ .profileCard[aria-pressed="true"] { border-color: var(--dsw-alias-label-primary); }
50
+ .profileCard:active:not(:disabled) { transform: scale(.99); }
51
+ .profileCard:disabled { cursor: default; opacity: .6; }
52
+ .profileCard:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
53
+ .profileCardTop { display: flex; align-items: center; gap: 8px; }
54
+ .profileCardTitle { font-size: 14px; font-weight: 500; line-height: 20px; }
55
+ .profileCurrent { padding: 1px 6px; border-radius: 999px; background: var(--dsw-alias-label-primary); color: var(--dsw-alias-bg-base); font-size: 10px; line-height: 14px; }
56
+ .profileCardDetail { color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 18px; }
57
+
58
+ .button {
59
+ width: 100%;
60
+ min-height: 34px;
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 8px;
64
+ padding: 6px 8px;
65
+ border: 1px solid var(--dsw-alias-border-l2);
66
+ border-radius: 10px;
67
+ background: transparent;
68
+ color: var(--dsw-alias-label-primary);
69
+ cursor: pointer;
70
+ text-align: left;
71
+ }
72
+
73
+ .button:hover { background: var(--dsw-alias-interactive-bg-hover); }
74
+ .button:disabled { cursor: default; opacity: .6; }
75
+
76
+ .copy { flex: 1; min-width: 0; }
77
+ .label { font-size: 11px; line-height: 14px; color: var(--dsw-alias-label-tertiary); }
78
+ .value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 17px; }
79
+ .chevron { flex: none; color: var(--dsw-alias-label-secondary); }
80
+
81
+ .menuCopy { display: flex; min-width: 220px; flex-direction: column; gap: 2px; }
82
+ .menuTitle { font-size: 13px; line-height: 17px; }
83
+ .menuDetail { max-width: 290px; white-space: normal; font-size: 11px; line-height: 15px; color: var(--dsw-alias-label-tertiary); }
84
+
85
+ .error {
86
+ padding: 4px 8px 0;
87
+ color: var(--dsw-alias-state-error-primary);
88
+ font-size: 11px;
89
+ line-height: 15px;
90
+ }
91
+
92
+ .unavailable {
93
+ padding: 4px 8px 0;
94
+ color: var(--dsw-alias-label-tertiary);
95
+ font-size: 11px;
96
+ line-height: 15px;
97
+ }
98
+
99
+ .settingsHint {
100
+ padding: 4px 8px 0;
101
+ color: var(--dsw-alias-label-secondary);
102
+ font-size: 11px;
103
+ line-height: 15px;
104
+ }
105
+
106
+ .pricing {
107
+ padding: 4px 8px 0;
108
+ color: var(--dsw-alias-label-tertiary);
109
+ font-size: 11px;
110
+ line-height: 15px;
111
+ }
112
+
113
+ .custom {
114
+ margin-top: 16px;
115
+ padding: 16px 0 0;
116
+ border-top: 1px solid var(--dsw-alias-border-l2);
117
+ }
118
+
119
+ .customTitle { margin: 0 0 6px; font-size: 13px; line-height: 17px; }
120
+ .customNote { margin: 4px 0; color: var(--dsw-alias-label-tertiary); font-size: 11px; line-height: 15px; }
121
+
122
+ .stage {
123
+ margin: 12px 0 0;
124
+ padding: 12px 0 0;
125
+ border: 0;
126
+ border-top: 1px solid var(--dsw-alias-border-l2);
127
+ }
128
+
129
+ .stageToggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; }
130
+ .fieldGrid { display: grid; grid-template-columns: 1fr; gap: 8px; }
131
+ .field { display: flex; min-width: 0; flex-direction: column; gap: 4px; margin-top: 8px; color: var(--dsw-alias-label-secondary); font-size: 11px; line-height: 15px; }
132
+ .field input, .field select {
133
+ width: 100%;
134
+ min-width: 0;
135
+ min-height: 30px;
136
+ box-sizing: border-box;
137
+ padding: 4px 6px;
138
+ border: 1px solid var(--dsw-alias-border-l2);
139
+ border-radius: 7px;
140
+ background: var(--dsw-alias-bg-base);
141
+ color: var(--dsw-alias-label-primary);
142
+ }
143
+ .field input:focus-visible, .field select:focus-visible, .actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
144
+ .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
145
+ .actions button { min-height: 30px; padding: 4px 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 7px; background: transparent; color: var(--dsw-alias-label-primary); }
146
+ .actions button:active:not(:disabled) { transform: scale(.98); }
147
+ .actions button:disabled { opacity: .6; }
148
+
149
+ @media (max-width: 560px) {
150
+ .profileGrid { grid-template-columns: 1fr; }
151
+ }
152
+
153
+ .autoCompact {
154
+ margin-top: 24px;
155
+ padding: 16px;
156
+ border: 1px solid rgba(128, 128, 128, 0.35);
157
+ border-radius: 8px;
158
+ }
159
+
160
+ .autoCompactTitle {
161
+ margin: 0 0 8px;
162
+ font-size: 15px;
163
+ font-weight: 600;
164
+ }
165
+
166
+ .autoCompactRisk {
167
+ margin: 8px 0 0;
168
+ font-size: 12px;
169
+ opacity: 0.9;
170
+ }
171
+
172
+ .savingsCard {
173
+ margin-top: 14px;
174
+ padding: 10px 12px;
175
+ border: 1px solid rgba(255, 255, 255, 0.1);
176
+ border-radius: 8px;
177
+ display: flex;
178
+ flex-direction: column;
179
+ gap: 4px;
180
+ }
181
+
182
+ .savingsRow {
183
+ display: flex;
184
+ justify-content: space-between;
185
+ align-items: baseline;
186
+ gap: 12px;
187
+ }
188
+
189
+ .savingsNetPositive strong { color: #30d158; }
190
+ .savingsNetNegative strong { color: #ff9f0a; }
191
+ .savingsMuted { opacity: 0.66; font-size: 0.92em; }
192
+
193
+ .savingsBreakdown {
194
+ border-top: 1px solid rgba(255, 255, 255, 0.08);
195
+ margin-top: 4px;
196
+ padding-top: 4px;
197
+ }
198
+
199
+ .savingsNote { opacity: 0.5; font-size: 0.85em; margin-top: 4px; }
@@ -95,4 +95,19 @@ export const de = {
95
95
  'custom.save': 'Eigene Strategie speichern',
96
96
  'custom.reset': 'Eigene Strategie zurücksetzen',
97
97
  'custom.invalid': 'Werte der eigenen Strategie sind ungültig.',
98
+ 'savings.title': 'Einsparungen (dieser Prozess)',
99
+ 'savings.netExact': 'Netto gespeichert (exakte Basis)',
100
+ 'savings.netEstimated': 'Netto gespeichert (geschätzte Basis)',
101
+ 'savings.gross': 'Brutto gespeichert (bei Veröffentlichung)',
102
+ 'savings.offsets': 'Abschläge (komprimiert, später vollständig gelesen)',
103
+ 'savings.empty': 'Noch keine Komprimierung — Nettoeinsparungen erscheinen nach der ersten Reduktion.',
104
+ 'savings.basisExact': 'exakt',
105
+ 'savings.basisEstimated': 'geschätzt',
106
+ 'savings.basisNote': 'Basen werden getrennt ausgewiesen, nie gemischt: exakt = DeepSeek-Tokenizer; geschätzt = chars/4. Erst Skelett, dann Volltext zählt als negative Einsparung (Netto kann unter null fallen).',
107
+ 'savings.requests': 'Requests',
108
+ 'savings.cacheHit': 'Cache hit rate',
109
+ 'savings.actualCost': 'Actual cost (official prices)',
110
+ 'savings.savedMoney': 'Estimated saved cost (input price)',
111
+ 'savings.perSession': 'Session',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const es = {
95
95
  'custom.save': 'Guardar la política personalizada',
96
96
  'custom.reset': 'Restablecer la política personalizada',
97
97
  'custom.invalid': 'Los valores de la política personalizada no son válidos.',
98
+ 'savings.title': 'Ahorro (este proceso)',
99
+ 'savings.netExact': 'Ahorro neto (base exacta)',
100
+ 'savings.netEstimated': 'Ahorro neto (base estimada)',
101
+ 'savings.gross': 'Ahorro bruto (al publicar)',
102
+ 'savings.offsets': 'Compensaciones (contenido comprimido y luego releído completo)',
103
+ 'savings.empty': 'Aún sin compresión: el ahorro neto aparece tras la primera reducción.',
104
+ 'savings.basisExact': 'exacta',
105
+ 'savings.basisEstimated': 'estimada',
106
+ 'savings.basisNote': 'Las bases se informan por separado, nunca mezcladas: exacta = tokenizador DeepSeek; estimada = chars/4. Esqueleto seguido de lectura completa cuenta como ahorro negativo (el neto puede ser negativo).',
107
+ 'savings.requests': 'Anfragen',
108
+ 'savings.cacheHit': 'Cache-Trefferquote',
109
+ 'savings.actualCost': 'Tatsächliche Kosten (offizielle Preise)',
110
+ 'savings.savedMoney': 'Geschätzte Einsparung (Eingabepreis)',
111
+ 'savings.perSession': 'Sitzung',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const fr = {
95
95
  'custom.save': 'Enregistrer la stratégie personnalisée',
96
96
  'custom.reset': 'Réinitialiser la stratégie personnalisée',
97
97
  'custom.invalid': 'Valeurs de la stratégie personnalisée invalides.',
98
+ 'savings.title': 'Économies (ce processus)',
99
+ 'savings.netExact': 'Économie nette (base exacte)',
100
+ 'savings.netEstimated': 'Économie nette (base estimée)',
101
+ 'savings.gross': 'Économie brute (à la publication)',
102
+ 'savings.offsets': 'Compensations (contenu compressé puis relu intégralement)',
103
+ 'savings.empty': 'Aucune compression pour l’instant — l’économie nette apparaît après la première réduction.',
104
+ 'savings.basisExact': 'exacte',
105
+ 'savings.basisEstimated': 'estimée',
106
+ 'savings.basisNote': 'Les bases sont présentées séparément, jamais mélangées : exacte = tokenizer DeepSeek ; estimée = chars/4. Un squelette suivi d’une lecture complète compte comme économie négative (le net peut être négatif).',
107
+ 'savings.requests': 'Solicitudes',
108
+ 'savings.cacheHit': 'Tasa de aciertos de caché',
109
+ 'savings.actualCost': 'Coste real (precios oficiales)',
110
+ 'savings.savedMoney': 'Ahorro estimado (precio de entrada)',
111
+ 'savings.perSession': 'Sesión',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const it = {
95
95
  'custom.save': 'Salva la politica personalizzata',
96
96
  'custom.reset': 'Reimposta la politica personalizzata',
97
97
  'custom.invalid': 'I valori della politica personalizzata non sono validi.',
98
+ 'savings.title': 'Risparmi (questo processo)',
99
+ 'savings.netExact': 'Risparmio netto (base esatta)',
100
+ 'savings.netEstimated': 'Risparmio netto (base stimata)',
101
+ 'savings.gross': 'Risparmio lordo (alla pubblicazione)',
102
+ 'savings.offsets': 'Compensazioni (contenuto compresso e poi riletto per intero)',
103
+ 'savings.empty': 'Nessuna compressione — il risparmio netto appare dopo la prima riduzione.',
104
+ 'savings.basisExact': 'esatta',
105
+ 'savings.basisEstimated': 'stimata',
106
+ 'savings.basisNote': 'Le basi sono riportate separatamente, mai miste: esatta = tokenizer DeepSeek; stimata = chars/4. Uno scheletro seguito dalla lettura completa conta come risparmio negativo (il netto può scendere sotto zero).',
107
+ 'savings.requests': 'Requêtes',
108
+ 'savings.cacheHit': 'Taux de cache',
109
+ 'savings.actualCost': 'Coût réel (tarifs officiels)',
110
+ 'savings.savedMoney': 'Économie estimée (prix d’entrée)',
111
+ 'savings.perSession': 'Session',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const ja = {
95
95
  'custom.save': 'カスタムポリシーを保存',
96
96
  'custom.reset': 'カスタムポリシーをリセット',
97
97
  'custom.invalid': 'カスタムポリシーの値が不正です。',
98
+ 'savings.title': '節約統計(このプロセス)',
99
+ 'savings.netExact': '純節約(正確口径)',
100
+ 'savings.netEstimated': '純節約(推定口径)',
101
+ 'savings.gross': '総節約(圧縮確定時)',
102
+ 'savings.offsets': '相殺(圧縮後に全文再読)',
103
+ 'savings.empty': 'まだ圧縮がありません。最初の削減後に純節約が表示されます。',
104
+ 'savings.basisExact': '正確',
105
+ 'savings.basisEstimated': '推定',
106
+ 'savings.basisNote': '口径は分列し混算しません:正確 = DeepSeek トークナイザー、推定 = chars/4。スケルトン後に全文を読むと負の節約として計上されます(純額はマイナスになり得ます)。',
107
+ 'savings.requests': 'Richieste',
108
+ 'savings.cacheHit': 'Tasso di cache',
109
+ 'savings.actualCost': 'Costo reale (prezzi ufficiali)',
110
+ 'savings.savedMoney': 'Risparmio stimato (prezzo di input)',
111
+ 'savings.perSession': 'Sessione',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const ko = {
95
95
  'custom.save': '커스텀 정책 저장',
96
96
  'custom.reset': '커스텀 정책 초기화',
97
97
  'custom.invalid': '커스텀 정책 값이 올바르지 않습니다.',
98
+ 'savings.title': '절감 통계(이 프로세스)',
99
+ 'savings.netExact': '순 절감(정확 기준)',
100
+ 'savings.netEstimated': '순 절감(추정 기준)',
101
+ 'savings.gross': '총 절감(게시 시점)',
102
+ 'savings.offsets': '상쇄(압축 후 전체 재판돈)',
103
+ 'savings.empty': '아직 압축이 없습니다. 첫 번째 축소 후 순 절감이 표시됩니다.',
104
+ 'savings.basisExact': '정확',
105
+ 'savings.basisEstimated': '추정',
106
+ 'savings.basisNote': '기준은 분리 표기하며 혼합하지 않습니다: 정확 = DeepSeek 토크나이저, 추정 = chars/4. 스켈레톤 후 전체 판독은 음의 절감으로 계산됩니다(순액은 마이너스 가능).',
107
+ 'savings.requests': 'リクエスト数',
108
+ 'savings.cacheHit': 'キャッシュ ヒット率',
109
+ 'savings.actualCost': '実際コスト(公式価格)',
110
+ 'savings.savedMoney': '推定節約額(入力価格)',
111
+ 'savings.perSession': 'セッション',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>
@@ -95,4 +95,19 @@ export const ru = {
95
95
  'custom.save': 'Сохранить пользовательскую стратегию',
96
96
  'custom.reset': 'Сбросить пользовательскую стратегию',
97
97
  'custom.invalid': 'Значения пользовательской стратегии недопустимы.',
98
+ 'savings.title': 'Экономия (этот процесс)',
99
+ 'savings.netExact': 'Чистая экономия (точная база)',
100
+ 'savings.netEstimated': 'Чистая экономия (оценочная база)',
101
+ 'savings.gross': 'Валовая экономия (при публикации)',
102
+ 'savings.offsets': 'Компенсации (сжатый контент затем прочитан полностью)',
103
+ 'savings.empty': 'Сжатия пока не было — чистая экономия появится после первого сокращения.',
104
+ 'savings.basisExact': 'точно',
105
+ 'savings.basisEstimated': 'оценка',
106
+ 'savings.basisNote': 'Базы приводятся раздельно и не смешиваются: точно = токенизатор DeepSeek; оценка = chars/4. Скелет с последующим полным чтением учитывается как отрицательная экономия (чистая может уйти в минус).',
107
+ 'savings.requests': '요청 수',
108
+ 'savings.cacheHit': '캐시 적중률',
109
+ 'savings.actualCost': '실제 비용(공식 가격)',
110
+ 'savings.savedMoney': '추정 절감액(입력 가격)',
111
+ 'savings.perSession': '세션',
112
+
98
113
  } satisfies Record<ContextCompressionLocaleKey, string>