You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# v0.8.5 — Multi-Language Support & Pi SDK Upgrade
## Features
- **Multi-language support (i18n)** — The entire UI is now localized. Ships with **English**, **Spanish (es)**, **Simplified Chinese (zh-Hans)**, and **Japanese (ja)** — over 1,050 translated strings covering every page, menu, toast, tooltip, and dialog. Switch languages in Settings > Appearance. Session titles and AI responses also follow the selected language.
- **Pi SDK upgrade (0.56.2 → 0.66.1)** — Major upgrade spanning multiple upstream releases. Models like **GLM 5**, **GLM 5.1**, and **Minimax 2.7** should now work thanks to upstream fixes. Also picks up: Bedrock throttling no longer misidentified as context overflow, Anthropic HTTP 413 detection for compaction/retry, Z.ai tool streaming support, OpenAI streaming fixes, and bash output truncation fix. (Fixes#503, addresses #513)
## Improvements
- **Canonical locale registry** — Adding a new language is now a single-file change. The registry auto-derives all language codes, display names, i18n resources, and date-fns locales.
- **Unified language setting** — Removed the duplicate free-text "Language" field from Preferences. The Appearance language dropdown is now the single source of truth for both UI language and AI response language.
- **i18n developer tooling** — Pre-commit hook catches hardcoded English strings in staged `.tsx` files. Locale parity test ensures all translations stay in sync. `localize-agents` skill automates adding new languages.
## Bug Fixes
- **Session messages lost after PC wake** — After sleep/wake, if the server subprocess died, session messages were lost and the content area appeared empty. Fixed with retry logic, lazy-loading fallback, and active session message re-fetch.
## Known Limitations
- **Headless server responses are in English** — When using the WebUI connected to a remote headless server, the UI is fully localized (based on browser language), but the AI agent still responds in English. Session titles are also generated in English. Per-client language support for the headless server will be added in a future release.
## Breaking Changes
- The free-text "Language" field in Preferences has been removed. Use the language dropdown in Settings > Appearance instead. Existing `preferences.json` files with a `language` field are safely ignored.
# v0.8.5 — Multi-Language Support & Pi SDK Upgrade
2
+
3
+
## Features
4
+
-**Multi-language support (i18n)** — The entire UI is now localized. Ships with **English**, **Spanish (es)**, **Simplified Chinese (zh-Hans)**, and **Japanese (ja)** — over 1,050 translated strings covering every page, menu, toast, tooltip, and dialog. Switch languages in Settings > Appearance. Session titles and AI responses also follow the selected language.
5
+
-**Pi SDK upgrade (0.56.2 → 0.66.1)** — Major upgrade spanning multiple upstream releases. Models like **GLM 5**, **GLM 5.1**, and **Minimax 2.7** should now work thanks to upstream fixes. Also picks up: Bedrock throttling no longer misidentified as context overflow, Anthropic HTTP 413 detection for compaction/retry, Z.ai tool streaming support, OpenAI streaming fixes, and bash output truncation fix. (Fixes #503, addresses #513)
6
+
7
+
## Improvements
8
+
-**Canonical locale registry** — Adding a new language is now a single-file change. The registry auto-derives all language codes, display names, i18n resources, and date-fns locales.
9
+
-**Unified language setting** — Removed the duplicate free-text "Language" field from Preferences. The Appearance language dropdown is now the single source of truth for both UI language and AI response language.
10
+
-**i18n developer tooling** — Pre-commit hook catches hardcoded English strings in staged `.tsx` files. Locale parity test ensures all translations stay in sync. `localize-agents` skill automates adding new languages.
11
+
12
+
## Bug Fixes
13
+
-**Session messages lost after PC wake** — After sleep/wake, if the server subprocess died, session messages were lost and the content area appeared empty. Fixed with retry logic, lazy-loading fallback, and active session message re-fetch.
14
+
15
+
## Known Limitations
16
+
-**Headless server responses are in English** — When using the WebUI connected to a remote headless server, the UI is fully localized (based on browser language), but the AI agent still responds in English. Session titles are also generated in English. Per-client language support for the headless server will be added in a future release.
17
+
18
+
## Breaking Changes
19
+
- The free-text "Language" field in Preferences has been removed. Use the language dropdown in Settings > Appearance instead. Existing `preferences.json` files with a `language` field are safely ignored.
@@ -213,14 +214,14 @@ export async function rebuildMenu(): Promise<void> {
213
214
},
214
215
{type: 'separator'asconst},
215
216
{
216
-
label: 'Reset to Defaults...',
217
+
label: i18n.t("menu.resetToDefaults"),
217
218
click: async()=>{
218
219
const{ dialog }=awaitimport('electron')
219
220
awaitdialog.showMessageBox({
220
221
type: 'info',
221
-
message: 'Reset to Defaults',
222
-
detail: 'To reset Craft Agent to defaults, quit the app and run:\n\nbun run fresh-start\n\nThis will delete all configuration, credentials, workspaces, and sessions.',
223
-
buttons: ['OK']
222
+
message: i18n.t("menu.resetToDefaultsTitle"),
223
+
detail: i18n.t("menu.resetToDefaultsDetail"),
224
+
buttons: [i18n.t("common.ok")]
224
225
})
225
226
}
226
227
}
@@ -229,14 +230,14 @@ export async function rebuildMenu(): Promise<void> {
0 commit comments