Thinking Translate
Translates agent reasoning blocks with paragraph-stable display, smart language detection, persistent caching, bilingual view switching, and Vivid Activity slot integration.
Thinking Translate translates agent reasoning blocks into your chosen target language inside the Paseo timeline. It supports paragraph-stable translation display, smart language detection skipping, local persistent caching, Markdown rendering, and quick switching between translated, bilingual, and original views.
How it works
When enabled, Thinking Translate turns reasoning timeline items into translated views with translated, bilingual, and original modes. By default, collapsed reasoning blocks do not trigger upstream translation requests; they check the local cache silently and translate on demand when you expand them. During live reasoning, the default paragraph mode translates each completed paragraph once and displays it after completion so earlier lines never flicker or rewrite.
Translation requests run in the daemon subprocess rather than the client app. Identical concurrent requests are deduplicated, long reasoning blocks are split along paragraph boundaries, and completed translations are cached in memory and on disk so reopening a conversation displays cached translations without repeating upstream calls.
When Vivid Activity is installed, Thinking Translate respects its fold settings and thinking expansion behavior, and automatically integrates into Vivid Activity's reasoning body slot (paseo.vividActivity.reasoningBodySlot.v1) when supported so Vivid keeps native turn folding, headers, timings, and numbered step rails. Disabling Thinking Translate unregisters its transformer and slot provider immediately so Paseo or Vivid Activity renders reasoning natively.
Setup and requirements
Requires Paseo 0.17.1 or later. Works on desktop, web, iOS, and Android clients.
By default, Thinking Translate is enabled in automatic mode targeting the default OpenAI endpoint (https://api.openai.com/v1) with OPENAI_API_KEY. If the daemon environment already defines OPENAI_API_KEY, automatic translation can start immediately when a reasoning block is expanded without additional setup; otherwise, no upstream translation requests are sent until you configure credentials, switch providers, or disable automatic mode.
Open Settings > Plugins > Thinking Translate (or run /think-translate settings in the composer) to configure a translation backend:
- OpenAI-compatible endpoints (default): works with OpenAI, DeepSeek, OpenRouter, SiliconFlow (including
tencent/Hunyuan-MT-7Bwith adapted prompt formatting), Ollama, LM Studio, or any compatible proxy. Built-in presets fill the base URL, default model, and environment variable name. - Anthropic Messages API: sends requests to
/v1/messageswithx-api-key. - Google Gemini API: sends requests to the Gemini streaming endpoint with
x-goog-api-key. - Google Translate (free): uses the unofficial Google Translate GTX endpoint with no API key required for quick testing.
API keys are stored only on the daemon host in a local file with owner-only permissions (~/.paseo/plugin-data/paseo-thinking-translate/secrets.json), or read from a daemon environment variable bound to the approved endpoint. Each stored API key and daemon environment variable is strictly tied to its configured provider and normalized base URL: changing the endpoint never reuses a stored key or environment credential from another destination, and testing an unsaved destination never attaches an existing stored key or daemon environment variable (it either tests without a key for local loopback / Google Translate Free, or uses a credential explicitly entered for that destination). Raw keys are never written to shared plugin settings, returned to clients, or printed to logs. Loopback endpoints such as http://127.0.0.1:11434/v1 do not require an API key.
Capabilities and settings
- Enable thinking translation: turns translation on or off immediately across connected clients.
- Translation mode: automatic translation when expanded, or manual per-block translation.
- Target language: Simplified Chinese, Traditional Chinese, English, Japanese, Korean, French, German, and Spanish.
- Display timing (
streamStyle): paragraph-stable after completion (default), translate once after thinking completes, or live debounced tail streaming. - Skip same language: skips upstream calls when the reasoning text (ignoring fenced code blocks, inline code, URLs, and paths) is already in the target language.
- Display mode: choose translated, bilingual, or original as the default view, and override per reasoning block at any time.
- Expansion and folding: follow Vivid Activity or expand only the latest thinking block by default, keep collapsed blocks free of upstream requests unless enabled, and respect Vivid Activity turn folding.
- Quick controls: optional composer toggle, Command Center actions, and the
/think-translateslash command. - Cache management: inspect memory entries, disk entries, hit rate, and disk size, or clear the cache from settings.
Data handling and limits
When a translation runs (or when you click Test connection), the daemon sends the reasoning text (and, in live streaming mode, a short preceding context hint) to the translation endpoint you configured. Local translation cache entries are stored on the daemon host at ~/.paseo/plugin-data/paseo-thinking-translate/cache.json (0600).
To coordinate with Vivid Activity, the server reads ~/.paseo/config.json and ~/.paseo/plugin-settings/vivid-activity/display.json read-only, and queries the active agent's projected timeline through the Paseo SDK to identify folded turns. None of this local configuration or timeline metadata is sent to external services.
Only reasoning timeline items are affected; user prompts, assistant replies, and tool calls are not modified.


