@aiwayds/dsh-opentui 0.16.0 → 0.17.1
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 +24 -0
- package/dist/client/index.js +128 -13
- package/dist/locales/en.json +2 -0
- package/dist/locales/zh-CN.json +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ 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.17.1] - 2026-11-15
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Numeric activity gears clamp to the same two-thirds terminal budget as `all`.** Each block now gets `min(N, budget/2)` with `budget = floor(rows * 2/3) - 2`, so a 10-line gear can no longer crowd out the transcript on short terminals; 52-row terminals are unaffected (gear 10 still renders 10 lines).
|
|
13
|
+
- **Settings write path hardening.** The nested-key write now falls back to the merged view's `session` slice when the profile snapshot is missing, so a bare `{session: {…}}` patch can no longer drop sibling `session` keys; boot replay rejects an out-of-contract stored value silently (fail-open, no stderr before the first paint); the settings row displays the normalized (effective) value; and a non-contract gear write is rejected with `settings.error.invalidGear` instead of landing in the profile.
|
|
14
|
+
- Note: 0.17.0 was never published to npm — `latest` skips it and points at 0.17.1.
|
|
15
|
+
|
|
16
|
+
## [0.17.0] - 2026-11-15
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **Configurable activity panel height.** The `/settings` TUI-specific section gains an `activityPanelHeight` row (dsh-tui-pi parity: `1` / `5` / `7` / `10` / `all`, plus `default`). Numeric gears cap each think and tool block at N lines independently; `all` drops the per-block cap and clamps the whole frame at two-thirds of the terminal rows (the transcript keeps its one-third floor), trimming the longer block's oldest lines first when the two blocks together exceed the budget. Short terminals keep the compact two-row rule bar, where the gear is inert, and the unset gear is byte-for-byte the previous graded sizing. The choice lives in the profile config's `session.activity_panel_height` key: the settings row applies it live, boot replays it before the first paint, `default` unsets the key, and an invalid stored value warns while the default sizing keeps running.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- **The settings write no longer clobbers sibling `session` keys.** `configSave` merges top-level keys shallowly, so writing the nested panel-height gear now merges the profile's current `session` slice into the patch instead of replacing the whole section.
|
|
25
|
+
|
|
26
|
+
## [0.16.1] - 2026-11-15
|
|
27
|
+
|
|
28
|
+
### Internal
|
|
29
|
+
|
|
30
|
+
- **Screenshot text-leak gate for the `ui` test tier.** Boots the real client in both languages across eleven surfaces and fails on any painted run resolving exactly against a locale key (the `overlay.widgets.frameTitle` class of leaks); a packed-artifact pass repeats the scan on the installed `npm pack` tarball in red and green states, and a unit canary pins the scanner itself. The UI matrix's busy-ladder scenes now follow the double-Esc stop contract, and the harness pins its scratch language to `en`. No shipped code changed in this release.
|
|
31
|
+
|
|
8
32
|
## [0.16.0] - 2026-11-15
|
|
9
33
|
|
|
10
34
|
### Added
|
package/dist/client/index.js
CHANGED
|
@@ -32444,6 +32444,9 @@ var init_config = __esm(() => {
|
|
|
32444
32444
|
}),
|
|
32445
32445
|
permissions: optional2(Literals(["prompt", "autoaccept"])).annotate({
|
|
32446
32446
|
description: "Prompt for permission requests or accept them automatically"
|
|
32447
|
+
}),
|
|
32448
|
+
activity_panel_height: optional2(Literals(["1", "5", "7", "10", "all"])).annotate({
|
|
32449
|
+
description: "Activity panel height gear (U4): lines per think and tool block; 'all' grows the blocks freely while the whole frame never exceeds 2/3 of the terminal rows"
|
|
32447
32450
|
})
|
|
32448
32451
|
})).annotate({
|
|
32449
32452
|
description: "Session transcript presentation settings"
|
|
@@ -47007,6 +47010,50 @@ function dockLineCap(terminalRows) {
|
|
|
47007
47010
|
return 2;
|
|
47008
47011
|
return DOCK_WIDGET_MAX_LINES;
|
|
47009
47012
|
}
|
|
47013
|
+
function activityPanelHeightFromConfig(value) {
|
|
47014
|
+
return typeof value === "string" && ACTIVITY_PANEL_GEARS.includes(value) ? value : undefined;
|
|
47015
|
+
}
|
|
47016
|
+
function applyActivityPanelConfig(config) {
|
|
47017
|
+
try {
|
|
47018
|
+
const session = config?.session;
|
|
47019
|
+
const stored = typeof session === "object" && session !== null ? session.activity_panel_height : undefined;
|
|
47020
|
+
if (stored === undefined || stored === null)
|
|
47021
|
+
return;
|
|
47022
|
+
const gear = activityPanelHeightFromConfig(stored);
|
|
47023
|
+
if (gear !== undefined)
|
|
47024
|
+
setActivityPanelGear(gear);
|
|
47025
|
+
} catch {}
|
|
47026
|
+
}
|
|
47027
|
+
function activityPanelCapSpec(gear, terminalRows) {
|
|
47028
|
+
if (gear === undefined)
|
|
47029
|
+
return {
|
|
47030
|
+
maxLines: dockLineCap(terminalRows)
|
|
47031
|
+
};
|
|
47032
|
+
if (terminalRows !== undefined && terminalRows <= COMPOSER_COMPACT_TERMINAL_ROWS) {
|
|
47033
|
+
return {
|
|
47034
|
+
maxLines: dockLineCap(terminalRows)
|
|
47035
|
+
};
|
|
47036
|
+
}
|
|
47037
|
+
if (gear === "all") {
|
|
47038
|
+
if (terminalRows === undefined)
|
|
47039
|
+
return {
|
|
47040
|
+
maxLines: PANEL_UNBOUNDED_LINES
|
|
47041
|
+
};
|
|
47042
|
+
return {
|
|
47043
|
+
maxLines: PANEL_UNBOUNDED_LINES,
|
|
47044
|
+
totalMaxLines: Math.max(1, Math.floor(terminalRows * 2 / 3) - 2)
|
|
47045
|
+
};
|
|
47046
|
+
}
|
|
47047
|
+
const cap = Number(gear);
|
|
47048
|
+
if (terminalRows === undefined)
|
|
47049
|
+
return {
|
|
47050
|
+
maxLines: cap
|
|
47051
|
+
};
|
|
47052
|
+
const halfBudget = Math.floor(Math.max(1, Math.floor(terminalRows * 2 / 3) - 2) / 2);
|
|
47053
|
+
return {
|
|
47054
|
+
maxLines: Math.min(cap, halfBudget)
|
|
47055
|
+
};
|
|
47056
|
+
}
|
|
47010
47057
|
function skinNoticeFadeProgress(elapsedMs, ttlMs) {
|
|
47011
47058
|
return Math.max(0, Math.min(1, (elapsedMs - (ttlMs - SKIN_NOTICE_FADE_MS)) / SKIN_NOTICE_FADE_MS));
|
|
47012
47059
|
}
|
|
@@ -47275,6 +47322,15 @@ function dockBlocks(rows, options = {}) {
|
|
|
47275
47322
|
fadeOutAt: row.status !== "running" ? skinStopAt(row) : undefined
|
|
47276
47323
|
});
|
|
47277
47324
|
}
|
|
47325
|
+
const totalCap = options.totalMaxLines !== undefined ? Math.max(1, Math.floor(options.totalMaxLines)) : undefined;
|
|
47326
|
+
if (totalCap !== undefined) {
|
|
47327
|
+
while (think.length + toolLines.length > totalCap && think.length + toolLines.length > 0) {
|
|
47328
|
+
const longer = think.length >= toolLines.length ? think : toolLines;
|
|
47329
|
+
if (longer.length === 0)
|
|
47330
|
+
break;
|
|
47331
|
+
longer.shift();
|
|
47332
|
+
}
|
|
47333
|
+
}
|
|
47278
47334
|
return {
|
|
47279
47335
|
think,
|
|
47280
47336
|
tool: toolLines,
|
|
@@ -47501,9 +47557,13 @@ function WidgetsDock(props) {
|
|
|
47501
47557
|
createEffect(() => activityFrameLatch.push(turnActive()));
|
|
47502
47558
|
onCleanup(activityFrameLatch.dispose);
|
|
47503
47559
|
const frame = () => activityFrameMode(dimensions().height);
|
|
47504
|
-
const
|
|
47560
|
+
const capSpec = () => activityPanelCapSpec(activityPanelGear(), dimensions().height);
|
|
47561
|
+
const lineCap = () => capSpec().maxLines;
|
|
47505
47562
|
const frameBlocks = () => activityBlocks(props.rows, {
|
|
47506
|
-
maxLines: lineCap()
|
|
47563
|
+
maxLines: lineCap(),
|
|
47564
|
+
...capSpec().totalMaxLines !== undefined ? {
|
|
47565
|
+
totalMaxLines: capSpec().totalMaxLines
|
|
47566
|
+
} : {}
|
|
47507
47567
|
});
|
|
47508
47568
|
const frameHeight = () => 2 + frameBlocks().think.length + frameBlocks().tool.length;
|
|
47509
47569
|
const accentFg = (accent) => dockAccentColor(theme, accent);
|
|
@@ -47558,6 +47618,9 @@ function WidgetsDock(props) {
|
|
|
47558
47618
|
},
|
|
47559
47619
|
get maxLines() {
|
|
47560
47620
|
return lineCap();
|
|
47621
|
+
},
|
|
47622
|
+
get totalMaxLines() {
|
|
47623
|
+
return capSpec().totalMaxLines;
|
|
47561
47624
|
}
|
|
47562
47625
|
});
|
|
47563
47626
|
},
|
|
@@ -47623,6 +47686,12 @@ function WidgetsDock(props) {
|
|
|
47623
47686
|
})();
|
|
47624
47687
|
}
|
|
47625
47688
|
function FlatDock(props) {
|
|
47689
|
+
const dockOptions = () => ({
|
|
47690
|
+
maxLines: props.maxLines,
|
|
47691
|
+
...props.totalMaxLines !== undefined ? {
|
|
47692
|
+
totalMaxLines: props.totalMaxLines
|
|
47693
|
+
} : {}
|
|
47694
|
+
});
|
|
47626
47695
|
return (() => {
|
|
47627
47696
|
var _el$6 = createElement("box");
|
|
47628
47697
|
setProp(_el$6, "flexShrink", 0);
|
|
@@ -47631,15 +47700,11 @@ function FlatDock(props) {
|
|
|
47631
47700
|
setProp(_el$6, "paddingLeft", 3);
|
|
47632
47701
|
insert(_el$6, createComponent2(For, {
|
|
47633
47702
|
get each() {
|
|
47634
|
-
return dockLines(props.rows,
|
|
47635
|
-
maxLines: props.maxLines
|
|
47636
|
-
});
|
|
47703
|
+
return dockLines(props.rows, dockOptions());
|
|
47637
47704
|
},
|
|
47638
47705
|
children: (line) => dockLineNode(line, props.width, props.skinCtx, props.fgFor, props.accentFg)
|
|
47639
47706
|
}));
|
|
47640
|
-
effect((_$p) => setProp(_el$6, "height", dockLines(props.rows,
|
|
47641
|
-
maxLines: props.maxLines
|
|
47642
|
-
}).length, _$p));
|
|
47707
|
+
effect((_$p) => setProp(_el$6, "height", dockLines(props.rows, dockOptions()).length, _$p));
|
|
47643
47708
|
return _el$6;
|
|
47644
47709
|
})();
|
|
47645
47710
|
}
|
|
@@ -47679,7 +47744,7 @@ function dockLineNode(line, width, ctx, fgFor, accentFg) {
|
|
|
47679
47744
|
return _el$8;
|
|
47680
47745
|
})();
|
|
47681
47746
|
}
|
|
47682
|
-
var SKIN_FADE_IN_MS = 400, SKIN_NOTICE_FADE_MS = 500, SKIN_PULSE_MS = 1200, SKIN_PULSE_CYCLES = 3, SKIN_PULSE_DIM = 0.45, SKIN_FAINT_MIX = 0.78, LINE_FIRST_SEEN_MAX = 512, lineFirstSeen, dockSpin, setDockSpin, TODO_MAX_ROWS = 5, TABLE_SEP = " \u2502 ", TODO_TOOL_NAMES, ACTIVITY_FRAME_BORDER_FALLBACK = "#7aa2f7", ACTIVITY_FRAME_MIN_CONTRAST = 6, ACTIVITY_BLUE_STEPS, BLUE_HUE_MIN = 190, BLUE_HUE_MAX = 250, BLUE_MIN_SATURATION = 0.25, AUTO_POLE_LIGHT = "#ffffff", AUTO_POLE_DARK = "#000000", DOCK_ACCENT_STEPS, DOCK_ACCENT_HUES, DOCK_ACCENT_FALLBACK, ACTIVITY_FRAME_DEFER_MS = 60, activityFrameLatch;
|
|
47747
|
+
var SKIN_FADE_IN_MS = 400, SKIN_NOTICE_FADE_MS = 500, SKIN_PULSE_MS = 1200, SKIN_PULSE_CYCLES = 3, SKIN_PULSE_DIM = 0.45, SKIN_FAINT_MIX = 0.78, ACTIVITY_PANEL_GEARS, PANEL_UNBOUNDED_LINES = 1e6, activityPanelGear, setActivityPanelGear, LINE_FIRST_SEEN_MAX = 512, lineFirstSeen, dockSpin, setDockSpin, TODO_MAX_ROWS = 5, TABLE_SEP = " \u2502 ", TODO_TOOL_NAMES, ACTIVITY_FRAME_BORDER_FALLBACK = "#7aa2f7", ACTIVITY_FRAME_MIN_CONTRAST = 6, ACTIVITY_BLUE_STEPS, BLUE_HUE_MIN = 190, BLUE_HUE_MAX = 250, BLUE_MIN_SATURATION = 0.25, AUTO_POLE_LIGHT = "#ffffff", AUTO_POLE_DARK = "#000000", DOCK_ACCENT_STEPS, DOCK_ACCENT_HUES, DOCK_ACCENT_FALLBACK, ACTIVITY_FRAME_DEFER_MS = 60, activityFrameLatch;
|
|
47683
47748
|
var init_widgets_dock = __esm(() => {
|
|
47684
47749
|
init_index_bun();
|
|
47685
47750
|
init_index_bun();
|
|
@@ -47699,6 +47764,8 @@ var init_widgets_dock = __esm(() => {
|
|
|
47699
47764
|
init_semantic();
|
|
47700
47765
|
init_dock_visibility();
|
|
47701
47766
|
init_powerline();
|
|
47767
|
+
ACTIVITY_PANEL_GEARS = ["1", "5", "7", "10", "all"];
|
|
47768
|
+
[activityPanelGear, setActivityPanelGear] = createSignal(undefined);
|
|
47702
47769
|
lineFirstSeen = new Map;
|
|
47703
47770
|
[dockSpin, setDockSpin] = createSignal(0);
|
|
47704
47771
|
TODO_TOOL_NAMES = new Set(["todowrite", "todo_write"]);
|
|
@@ -55907,6 +55974,18 @@ function buildLocalItems(input) {
|
|
|
55907
55974
|
via: "config",
|
|
55908
55975
|
key: "cacheHitMode"
|
|
55909
55976
|
}
|
|
55977
|
+
}, {
|
|
55978
|
+
...base,
|
|
55979
|
+
id: "activityPanelHeight",
|
|
55980
|
+
label: t("settings.row.activityPanelHeight"),
|
|
55981
|
+
value: activityPanelHeightFromConfig(merged.session?.activity_panel_height) ?? "default",
|
|
55982
|
+
source: "config.json \xB7 session.activity_panel_height",
|
|
55983
|
+
kind: "enum",
|
|
55984
|
+
options: ["default", "1", "5", "7", "10", "all"],
|
|
55985
|
+
write: {
|
|
55986
|
+
via: "config",
|
|
55987
|
+
key: "session.activity_panel_height"
|
|
55988
|
+
}
|
|
55910
55989
|
}, {
|
|
55911
55990
|
...base,
|
|
55912
55991
|
id: "retentionDays",
|
|
@@ -56116,7 +56195,7 @@ function presetEnumFromSchema(schema) {
|
|
|
56116
56195
|
return [];
|
|
56117
56196
|
return Object.keys(presets.dict);
|
|
56118
56197
|
}
|
|
56119
|
-
function planLocalWrite(item, raw, hints) {
|
|
56198
|
+
function planLocalWrite(item, raw, hints, session) {
|
|
56120
56199
|
if (item.write?.via !== "config")
|
|
56121
56200
|
return {
|
|
56122
56201
|
ok: false,
|
|
@@ -56144,6 +56223,28 @@ function planLocalWrite(item, raw, hints) {
|
|
|
56144
56223
|
applied: on
|
|
56145
56224
|
};
|
|
56146
56225
|
}
|
|
56226
|
+
if (key === "session.activity_panel_height") {
|
|
56227
|
+
const text = String(raw);
|
|
56228
|
+
const gear = text === "" || text === "default" ? undefined : activityPanelHeightFromConfig(text);
|
|
56229
|
+
if (text !== "" && text !== "default" && gear === undefined) {
|
|
56230
|
+
return {
|
|
56231
|
+
ok: false,
|
|
56232
|
+
error: t("settings.error.invalidGear", {
|
|
56233
|
+
value: text
|
|
56234
|
+
})
|
|
56235
|
+
};
|
|
56236
|
+
}
|
|
56237
|
+
return {
|
|
56238
|
+
ok: true,
|
|
56239
|
+
patch: {
|
|
56240
|
+
session: {
|
|
56241
|
+
...session ?? {},
|
|
56242
|
+
activity_panel_height: gear
|
|
56243
|
+
}
|
|
56244
|
+
},
|
|
56245
|
+
applied: gear
|
|
56246
|
+
};
|
|
56247
|
+
}
|
|
56147
56248
|
if (item.kind === "toggle") {
|
|
56148
56249
|
const on = typeof raw === "boolean" ? raw : raw === "on" || raw === "true";
|
|
56149
56250
|
return {
|
|
@@ -56444,6 +56545,9 @@ function applySettingsLive(item, applied, hints, themes) {
|
|
|
56444
56545
|
case "lang":
|
|
56445
56546
|
setHintsLocale(String(applied));
|
|
56446
56547
|
break;
|
|
56548
|
+
case "session.activity_panel_height":
|
|
56549
|
+
setActivityPanelGear(applied === undefined ? undefined : activityPanelHeightFromConfig(applied));
|
|
56550
|
+
break;
|
|
56447
56551
|
case "theme":
|
|
56448
56552
|
themes?.set(String(applied), {
|
|
56449
56553
|
persist: false
|
|
@@ -56474,6 +56578,7 @@ var init_settings_panel = __esm(() => {
|
|
|
56474
56578
|
init_string_width();
|
|
56475
56579
|
init_motion();
|
|
56476
56580
|
init_hints_line();
|
|
56581
|
+
init_widgets_dock();
|
|
56477
56582
|
HOST_SETTINGS_WHITELIST = [{
|
|
56478
56583
|
id: "subagent.maxActiveSubagents",
|
|
56479
56584
|
ns: "subagent",
|
|
@@ -56502,7 +56607,7 @@ var init_settings_panel = __esm(() => {
|
|
|
56502
56607
|
kind: "toggle"
|
|
56503
56608
|
}];
|
|
56504
56609
|
HIDDEN_NAMESPACES = new Set([...HOST_SETTINGS_WHITELIST.map((spec) => spec.ns), "dsh-tui"]);
|
|
56505
|
-
LOCAL_SETTING_IDS = ["theme", "themeMode", "workspaceThemeMode", "motion", ...FOOTER_HINT_IDS.map((id) => `footerHints.${id}`), "lang", "cacheHitMode", "retentionDays", "maxRounds", "maxRoundsGrace"];
|
|
56610
|
+
LOCAL_SETTING_IDS = ["theme", "themeMode", "workspaceThemeMode", "motion", ...FOOTER_HINT_IDS.map((id) => `footerHints.${id}`), "lang", "cacheHitMode", "activityPanelHeight", "retentionDays", "maxRounds", "maxRoundsGrace"];
|
|
56506
56611
|
[bridgeOpen4, setBridgeOpen4] = createSignal(undefined);
|
|
56507
56612
|
[panelOpen5, setPanelOpen5] = createSignal(false);
|
|
56508
56613
|
settingsPanelOpen = panelOpen5;
|
|
@@ -59206,7 +59311,7 @@ var init_subagents_viewer = __esm(() => {
|
|
|
59206
59311
|
import { TextAttributes as TextAttributes12 } from "@opentui/core";
|
|
59207
59312
|
function resolveVersion() {
|
|
59208
59313
|
try {
|
|
59209
|
-
return "0.
|
|
59314
|
+
return "0.17.1";
|
|
59210
59315
|
} catch {
|
|
59211
59316
|
return "dev";
|
|
59212
59317
|
}
|
|
@@ -59469,7 +59574,12 @@ async function writeSetting(row, value, deps) {
|
|
|
59469
59574
|
error: t("settings.error.localNotWritable")
|
|
59470
59575
|
};
|
|
59471
59576
|
const hints = footerHintsFromConfig(deps.merged.footerHints) ?? DEFAULT_FOOTER_HINTS;
|
|
59472
|
-
const
|
|
59577
|
+
const profileSession = deps.profile?.session;
|
|
59578
|
+
const mergedSession = deps.merged.session;
|
|
59579
|
+
const sessionSlice = typeof profileSession === "object" && profileSession !== null ? profileSession : typeof mergedSession === "object" && mergedSession !== null ? {
|
|
59580
|
+
...mergedSession
|
|
59581
|
+
} : undefined;
|
|
59582
|
+
const plan = planLocalWrite(row, value, hints, sessionSlice);
|
|
59473
59583
|
if (!plan.ok)
|
|
59474
59584
|
return {
|
|
59475
59585
|
ok: false,
|
|
@@ -59751,6 +59861,9 @@ function SettingsModalBody(props) {
|
|
|
59751
59861
|
themes: props.themes
|
|
59752
59862
|
} : {},
|
|
59753
59863
|
merged: merged(),
|
|
59864
|
+
...profile() !== undefined ? {
|
|
59865
|
+
profile: profile()
|
|
59866
|
+
} : {},
|
|
59754
59867
|
...document() !== undefined ? {
|
|
59755
59868
|
document: document()
|
|
59756
59869
|
} : {},
|
|
@@ -62363,6 +62476,7 @@ async function bootClientV2(options = {}) {
|
|
|
62363
62476
|
const themeModeLock = shared.themeModeFromConfig(session);
|
|
62364
62477
|
setMotionTier(resolveMotionPreference(process.env[shared.ENV_MOTION], shared.motionFromConfig(session)));
|
|
62365
62478
|
applyHintsConfig(seam.configLoad?.());
|
|
62479
|
+
applyActivityPanelConfig(seam.configLoad?.());
|
|
62366
62480
|
applyI18nConfig(seam.configLoad?.());
|
|
62367
62481
|
let shutdownPromise = null;
|
|
62368
62482
|
const shutdown = () => {
|
|
@@ -62474,6 +62588,7 @@ var init_v2_entry = __esm(() => {
|
|
|
62474
62588
|
init_lastrequest_dock();
|
|
62475
62589
|
init_notices_dock();
|
|
62476
62590
|
init_hints_line();
|
|
62591
|
+
init_widgets_dock();
|
|
62477
62592
|
init_src();
|
|
62478
62593
|
init_i18n();
|
|
62479
62594
|
init_search_overlay();
|
package/dist/locales/en.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"settings.error.notHost": "not a host setting",
|
|
146
146
|
"settings.error.unknownHintSegment": "unknown hint segment \"{segment}\"",
|
|
147
147
|
"settings.error.emptyValue": "value must not be empty",
|
|
148
|
+
"settings.error.invalidGear": "invalid activity panel gear \"{value}\" (default, 1, 5, 7, 10, all)",
|
|
148
149
|
"settings.error.expectedInteger": "expected an integer, got \"{value}\"",
|
|
149
150
|
"settings.error.integerOutOfRange": "integer out of range: {value}",
|
|
150
151
|
"settings.error.min": "must be >= {min}",
|
|
@@ -214,6 +215,7 @@
|
|
|
214
215
|
"settings.row.performanceUsage": "Performance & usage",
|
|
215
216
|
"settings.row.performanceUsageNote": "N/A — this TUI has no performance/usage view",
|
|
216
217
|
"settings.row.currentVersion": "Current version",
|
|
218
|
+
"settings.row.activityPanelHeight": "Activity panel height",
|
|
217
219
|
"settings.jump.open": "Open {command}",
|
|
218
220
|
"settings.jump.modelsNote": "the provider / API key / model-list page stays with /model in v1",
|
|
219
221
|
"settings.jump.pluginsNote": "the plugin list and toggling live in the /plugins panel: enter/space toggles, d uninstalls (confirmed), i installs; some changes need a host restart",
|
package/dist/locales/zh-CN.json
CHANGED
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"settings.error.notHost": "不是 host 设置",
|
|
146
146
|
"settings.error.unknownHintSegment": "未知提示段 \"{segment}\"",
|
|
147
147
|
"settings.error.emptyValue": "值不能为空",
|
|
148
|
+
"settings.error.invalidGear": "无效的 activity 面板档位 \"{value}\"(default、1、5、7、10、all)",
|
|
148
149
|
"settings.error.expectedInteger": "应为整数,收到 \"{value}\"",
|
|
149
150
|
"settings.error.integerOutOfRange": "整数超出范围:{value}",
|
|
150
151
|
"settings.error.min": "必须 >= {min}",
|
|
@@ -214,6 +215,7 @@
|
|
|
214
215
|
"settings.row.performanceUsage": "性能与用量",
|
|
215
216
|
"settings.row.performanceUsageNote": "不适用 — 本 TUI 没有性能/用量视图",
|
|
216
217
|
"settings.row.currentVersion": "当前版本",
|
|
218
|
+
"settings.row.activityPanelHeight": "活动面板高度",
|
|
217
219
|
"settings.jump.open": "打开 {command}",
|
|
218
220
|
"settings.jump.modelsNote": "provider / API 密钥 / 模型列表页在 v1 中仍由 /model 负责",
|
|
219
221
|
"settings.jump.pluginsNote": "plugin 列表和开关在 /plugins 面板:enter/space 切换,d 卸载(需确认),i 安装;部分变更需重启 host",
|