@aiwayds/dsh-opentui 0.13.1 → 0.15.0

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.15.0] - 2026-11-15
9
+
10
+ ### Added
11
+
12
+ - **Two-language UI: English and 简体中文.** A new `@dsh-opentui/i18n` leaf package carries a flat-JSON locale contract (tui-pi parity: `{param}` placeholders, whole-file strict validation, key-by-key user overrides under `$DSH_HOME/locales`), and every user-facing surface is migrated onto it — commands, panels, settings, dialogs, docks, hints, transcript. `zh-CN` is fully translated (technical terms and key caps stay in English); the language is fixed at boot from the unified `lang` config key (the legacy `hintsLocale` still resolves as a fallback), and an explicit `ja`/`ko` request degrades to `en` with a warning.
13
+ - **`/language` command.** The ask-style picker lists the installed languages with the current one marked and persists the choice behind a "restart to apply" notice (unchanged semantics on esc/no-answer/same-language, tui-pi parity); `/hints lang` and the settings language row write the same unified key.
14
+
15
+ ### Fixed
16
+
17
+ - **User locale overrides actually load.** `loadLocales` left the user-override directory undefined unless the caller passed it, so the `$DSH_HOME/locales` merge contract never ran on the real boot path — user files (and their strict-validation warnings) were silently skipped. The default now resolves `$DSH_HOME`, pinned by a boot-contract regression test.
18
+ - **The 61-btw render gap was a mock-keying artifact, not lost rows.** A Q2 request body embeds the Q1 marker and the e2e mock's first-match lookup re-served the first answer. The mock now keys by last match, an optional `DSH_OPENTUI_TRACE_FILE` traces the wire, and a settled-but-empty answer paints an `(empty answer)` placeholder so the signature is visible instead of absent.
19
+ - **Test/verify harnesses follow the locale-keyed copy.** The ui-matrix and agents-mount assertions and the 71/72 dependency gates matched hard-coded copy that i18n moved into locale files; they now assert the active-language copy and grep `t()` key names, so gate-dark no longer misreads a fresh bundle as stale.
20
+
21
+ ## [0.14.0] - 2026-11-14
22
+
23
+ ### Added
24
+
25
+ - **`/export` writes the session journal to JSONL.** The new slash command exports the active session's journal via the production sessionJournal seam (`session/page` pagination) to a JSONL file — default `~/Downloads/dsh-session-<id8>.jsonl`, an explicit `[path]` argument overrides it. The completion line reports the record count and absolute path and labels the output as the host journal format (no cross-client replay claim); no session or no face degrades to a notice instead of a crash.
26
+ - **Ask free-text answers.** Every ask question gains a `Type something.` sentinel row: selecting it switches to an inline input (Enter submits, Esc returns to the picker without declining the batch), the submission rides `Answer.custom` with strict option/custom mutual exclusion, and a `✎` marker tracks the typed answer through the review gate. Multi-question batches settle custom answers through the same review flow as picks.
27
+
28
+ ### Fixed
29
+
30
+ - **Skills uninstall no longer follows links outside the managed root.** Uninstall resolves the link's realpath and refuses targets outside the skills source root (batch rows fold as `external target (not ours)`); dangling or looping dead links stay removable, and untestable errno states (EACCES/EIO) fail safe by refusing, mirroring the install-side discipline.
31
+ - **Blank `agentsHome` is visible instead of silent.** A set-but-empty `DSH_AGENTS_HOME` or an empty `agentsHome` config key boots with a notice explaining the client falls back to `~/.agents` while the host resolves the empty value to the cwd, naming the fix for each leg (and both); the resolution itself stays defensive on the client.
32
+ - **Ask scenario navigation is row-aware.** The `60-ask-user` e2e scenario walks the picker by the highlighted row instead of a fixed step count, so the sentinel row's wrap shift can no longer flip which option a blind arrow press toggles.
33
+
8
34
  ## [0.13.1] - 2026-11-14
9
35
 
10
36
  ### Fixed