feat(translator): add opt-in native DeepSeek Flash translation

This commit is contained in:
Tianyi Cui committed 2026-10-06 15:38:24 +08:00
1 parent cfc6be809c
commit b98b76c9a5
56 files changed
+2611 -191

No files matched your search

@@ -45,9 +45,8 @@ const NO_MODEL_EXPERIENCE_SECTION: Readonly<Record<string, string>> = {
* blocks. A package moves on or off this list with its context behavior.
*/
const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/experimental/client-ui-cot-translation': { kind: 'indirect', reason: 'Uncached inactive Sessions join normal controller activation; preset startup hooks own any model-visible context.' },
'packages/experimental/cot-translation-bundle': { kind: 'indirect', reason: 'The GUI consumer joins normal Session activation for uncached translations; the Session preset owns any model-visible context.' },
'packages/experimental/translator': { kind: 'none', reason: 'Translates consumer-owned text and optionally persists ignorable experimental records without changing model history.' },
'packages/experimental/client-ui-cot-translation': { kind: 'indirect', reason: 'The translator owns optional paid queries; normal Session activation delegates startup context to the preset.' },
'packages/experimental/cot-translation-bundle': { kind: 'indirect', reason: 'The GUI consumer delegates paid query prompts to the translator and normal activation context to the Session preset.' },
'packages/client/product-analytics': { kind: 'none', reason: 'Desktop analytics observes selected interactions without contributing model context or Session events.' },
'packages/experimental/speech-to-text': { kind: 'none', reason: 'Routes transient recognition without adding model requests or Session events.' },
'packages/experimental/api-speech-to-text': { kind: 'none', reason: 'Transports audio and preparation state; ordinary user submission owns model-visible text.' },