feat(reasoning): persist opt-in machine translations
This commit is contained in:
1 parent
bf1c4e01ba
commit
cfc6be809c
116 files changed
+4506
-117
No files matched your search
@@ -51,6 +51,7 @@ export { REGION_BEGIN, REGION_END }
|
||||
*/
|
||||
export const SERVICE_PAGE: Record<string, string> = {
|
||||
translator: 'translation.md',
|
||||
cotTranslation: 'translation.md',
|
||||
speechToText: 'voice-input.md',
|
||||
speechController: 'voice-input.md',
|
||||
otel: 'otel.md',
|
||||
@@ -673,6 +674,8 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
|
||||
TranslationProvider: 'translation.md',
|
||||
TranslationRequest: 'translation.md',
|
||||
TranslationSpec: 'translation.md',
|
||||
CotTranslationPreferences: 'translation.md',
|
||||
CotTranslationSnapshot: 'translation.md',
|
||||
TranslationError: 'translation.md',
|
||||
TranslationErrorCode: 'translation.md',
|
||||
SpeechSpec: 'voice-input.md',
|
||||
|
||||
@@ -107,12 +107,20 @@ const GROUP_ORDER = [
|
||||
]
|
||||
|
||||
const SERVICE_ROLES: ServiceRole[] = [
|
||||
{
|
||||
key: 'cotTranslation',
|
||||
pkg: 'experimental-client-ui-cot-translation',
|
||||
title: 'Reasoning translation Remote',
|
||||
mode: 'service',
|
||||
note: 'Serves reasoning translations, reuses saved results, and joins ordinary Session activation for uncached inactive Sessions.',
|
||||
},
|
||||
{
|
||||
key: 'translator',
|
||||
pkg: 'experimental-translator',
|
||||
title: 'Anonymous text translation',
|
||||
mode: 'service',
|
||||
note: 'Resolves Google or Bing requests and bounds provider calls independently of Sessions.',
|
||||
consumers: ['experimental-client-ui-cot-translation'],
|
||||
note: 'Resolves Google or Bing requests and retains shared experimental records through the active Session writer.',
|
||||
},
|
||||
{
|
||||
key: 'hmr',
|
||||
|
||||
@@ -59,9 +59,11 @@ describe('release families', () => {
|
||||
'@deepseek-ai/dsh-experimental-claude-code-mods',
|
||||
'@deepseek-ai/dsh-experimental-client-ui-agent-team',
|
||||
'@deepseek-ai/dsh-experimental-client-ui-claude-code-mods',
|
||||
'@deepseek-ai/dsh-experimental-client-ui-cot-translation',
|
||||
'@deepseek-ai/dsh-experimental-client-ui-voice-input',
|
||||
'@deepseek-ai/dsh-experimental-computer-use-cua-driver-mcp',
|
||||
'@deepseek-ai/dsh-experimental-computer-use-cua-driver-native',
|
||||
'@deepseek-ai/dsh-experimental-cot-translation-bundle',
|
||||
'@deepseek-ai/dsh-experimental-inspector-profile',
|
||||
'@deepseek-ai/dsh-experimental-inspector',
|
||||
'@deepseek-ai/dsh-experimental-ptc-runtime-python',
|
||||
|
||||
@@ -45,7 +45,9 @@ 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/translator': { kind: 'none', reason: 'Translates consumer-owned text without contributing to model requests or Session logs.' },
|
||||
'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/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.' },
|
||||
|
||||
Reference in new issue
Block a user