Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b672917
fix(macos): disable memory controls without capability instead of hid…
bloodf Oct 13, 2026
9aa25b6
Merge remote-tracking branch 'origin/main' into roadmap/p3/ship101-ma…
bloodf Oct 14, 2026
2a54889
fix(macos): localize native memory forms and verify translated controls
bloodf Oct 14, 2026
7d7d56f
Merge commit '755ecf12' into roadmap/p3/ship101-macos-memory
bloodf Oct 14, 2026
423dd35
fix(macos): translate negotiated memory features and error surfaces
bloodf Oct 14, 2026
e835c85
fix(l10n): recognize native memory form translation keys
bloodf Oct 19, 2026
923126c
fix(l10n): distinguish Swift labels from source samples
bloodf Oct 19, 2026
21da450
fix(l10n): audit finite client labels and remove obsolete translations
bloodf Oct 19, 2026
fb6f88f
Merge commit '4760281f2b9cb24eec4438a473e7226cd4e3980c' into HEAD
bloodf Oct 19, 2026
20c7959
test: isolate storage fixture admission parents
bloodf Oct 19, 2026
306e606
fix(desktop): run Solid consumers in Chromium
bloodf Oct 14, 2026
7b1fdaa
test(desktop): isolate note fixture language
bloodf Oct 14, 2026
fb20dda
test(desktop): bound setup and clean failed browser startup
bloodf Oct 19, 2026
9f83055
ci: execute desktop Go fixtures without test-result cache
bloodf Oct 19, 2026
2b7cc9a
fix(ci): build relay before Unix revocation tests
bloodf Oct 19, 2026
7a17a54
Merge main and restore current localization coverage for #344
bloodf Nov 4, 2026
0c39503
chore(tooling): propagate reviewed Beans AI tooling
bloodf Nov 6, 2026
df6f088
Merge main and adapt memory localization checks to Node and Vitest
bloodf Nov 7, 2026
4b4bc24
fix(l10n): preserve skill comparison count placeholders
bloodf Nov 7, 2026
ebeec24
fix(l10n): scan indexed memory health label types
bloodf Nov 7, 2026
7f9e293
Merge live main and translate discovered memory health statuses
bloodf Nov 7, 2026
439907e
Merge main into macOS memory localization fix
bloodf Nov 7, 2026
3ba103a
Merge main and retire superseded desktop label-map scanner
bloodf Nov 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Sparkle update. [desktop/CHANGELOG.md](desktop/CHANGELOG.md) retains legacy desk

## [Unreleased]

- Localization checks now recognize native memory form-helper labels. Phone search and diagnostics expose render-time translation keys, and obsolete search/provider/input translations are removed.
- The macOS custom-provider sheet shrinks again after a connection-check error clears.
- Skills mounted checks follow the shared browser-consumer module names while retaining all assertions and driver source binding.

Expand Down
9 changes: 3 additions & 6 deletions desktop/src/l10n/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export const zh: Record<string, string> = {
"Enter Full Screen": "进入全屏幕",
"enter send newline keyboard chats": "回车 发送 换行 键盘 聊天 enter send newline keyboard chats",
"Enter sends the message": "按 Enter 键发送消息",
"Enter the base URL to load the server’s models.": "输入基础 URL 后即可加载服务器的模型。",
"Enter this code at %@, then come back.": "请在 %@ 输入此代码,然后回到这里。",
"Environment": "环境变量",
"erase remove wipe relay data identity": "抹除 移除 清除 中继 数据 身份 删除账户",
Expand Down Expand Up @@ -699,7 +698,6 @@ export const zh: Record<string, string> = {
"Scroll to Latest": "滚动到最新消息",
"Scroll to latest (%@)": "滚动到最新 (%@)",
"Search": "搜索",
"Search actions, chats, messages, and settings": "搜索操作、聊天、消息和设置",
"Search or add a model ID": "搜索或添加模型 ID",
"Search plugins and bots": "搜索插件和智能体",
"Searching files": "正在搜索文件",
Expand Down Expand Up @@ -853,7 +851,6 @@ export const zh: Record<string, string> = {
"Turn %@ off": "关闭 %@",
"Turn %@ on": "开启 %@",
"Type": "类型",
"Type your answer": "输入你的回答",
"unassigned": "未分配",
"Undo": "撤销",
"Unknown Device": "未知设备",
Expand Down Expand Up @@ -1181,8 +1178,8 @@ export const zh: Record<string, string> = {
"Label and digest come from the Runner. Not authenticated provenance, and no update replaces the original copy.": "标签和摘要来自 Runner。不是经过认证的来源证明,也没有更新会替换原始副本。",
"Compare source with copy…": "比较源与副本…",
"Compare on %@, copy %@ against the selected source. Read-only.": "在 %1$@ 上比较副本 %2$@ 与所选源。只读。",
"%@ only in the source.": "仅存在于源中的 %1$d 项。",
"%@ only in the copy.": "仅存在于副本中的 %1$d 项。",
"%@ differ between source and copy.": "源与副本之间有 %1$d 项不同。",
"%@ only in the source.": "仅存在于源中的 %@ 项。",
"%@ only in the copy.": "仅存在于副本中的 %@ 项。",
"%@ differ between source and copy.": "源与副本之间有 %@ 项不同。",
"Nothing was changed and nothing is enabled here. Applying a difference needs its own confirmed action.": "此处未做任何更改,也未启用任何功能。应用差异需要另行确认的操作。",
};
2 changes: 2 additions & 0 deletions docs/architecture/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ The apps speak English and Simplified Chinese, and the key of every string is it
- **Windows and Linux app** (`desktop/src/l10n`): `L("New Bot…")`, `L("%@ is working…", name)`, and `Lc("Pairing", "device state")`, with the macOS app's keys, over `zh.ts`. Settings › General › App Language saves the pick in the app's preferences, and every window builds its page again on the route it is on (`App.tsx` keys the router on `languageKey`), so the windows, their sizes, and the selection stay. The menu bar's words come from the page, so a new language gives it new words too. The opt-in native shell (`BEANS_NATIVE=1`) uses `desktop/l10n` with the same English keys for chrome, settings and onboarding controls; memory-note strings still go through `native_language.go` until that surface moves onto the shared table.
- **What the CLI words stays as it arrives**, with one exception: a routine's `schedule_text` ("Weekdays at 9:00 AM") is rebuilt in Chinese by `Format.schedule` in the macOS app and `scheduleText` on the phone. Notices, permission summaries, and the demo data are English.
- `pnpm run l10n` (`scripts/l10n.ts`) reads every `L("…")`, `Lc("…", "…")`, and `t("…")` in the three apps' sources and reports a string with no translation, a translation nothing uses, and a translation that takes different values than its key; `--merge <file.json>…` adds `{ "English": "中文" }` files to the tables first.

Phone search categories and diagnostics status translate explicit finite keys during rendering. Diagnostics keeps the English status key in state so a language change rewords the current status. Desktop memory status and operation functions expose literal translation keys to the audit. Obsolete entries are removed when their source label is replaced.
8 changes: 7 additions & 1 deletion docs/architecture/memory-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Recall budgets validate the core bounds: 1–5,000 ms, 1–32,768 response bytes

## Capabilities and status

Controls consume negotiated capabilities, not a backend-name matrix. Advanced actions require both the feature and its exact verb in `advanced_actions`; absent or empty action lists hide them. Vector document editing uses `memory_edit` / `edit` with only `document_id` and `text`; advanced document deletion is unavailable. Health preserves `ready`, `degraded`, `setup_required`, the optional reason and the deletion-pending flag. Opening the bot sheet reads local configuration and operation metadata, not remote Health. Service checks are explicit; action refreshes update an already checked status.
Controls consume negotiated capabilities, not a backend-name matrix. The macOS bot sheet disables a control whose capability is absent and keeps it visible (Reflect and provider controls included). Advanced actions require both the feature and its exact verb in `advanced_actions`; absent or empty action lists hide them. Vector document editing uses `memory_edit` / `edit` with only `document_id` and `text`; advanced document deletion is unavailable. Health preserves `ready`, `degraded`, `setup_required`, the optional reason and the deletion-pending flag. Opening the bot sheet reads local configuration and operation metadata, not remote Health. Service checks are explicit; action refreshes update an already checked status.

Operation state remains queued, submitted, processing, completed, failed or delivery_unknown. Only completed means stored. Pending deletion is not verified erasure. The helpers retain core-issued operation IDs and deletion epochs without issuing automatic retries, retain, reflect or deletion requests.

Expand All @@ -59,4 +59,10 @@ Native note labels, generic error keys, budget/count sentences and conflict conf

`pnpm --dir desktop exec vitest run src/model/memoryService.test.ts src/model/memorySetup.test.ts` exercises consent transitions, secret/options patches, bounded requests, masked status and exact setup approvals with fixture transports. `macos/Tests/MemoryServiceDraft.swift` and `macos/Tests/MemorySetupDraft.swift` are isolated Foundation executables compiled with their memory model sources, without a full application build. Fixture verification performs no remote retain, reflect, asset acquisition or DDL.

The macOS memory forms resolve their shared helper labels, action titles, consent warnings and formatted target descriptions through the Simplified Chinese string table. `sh macos/Tests/run-memory-ui.sh` compiles the production AppKit controllers with isolated transports, then checks translated disabled-action discoverability, query-field keyboard focus and accessibility titles. `BEANS_MEMORY_UI_IMAGE` optionally writes a controller rendering for inspection. This fixture does not establish installed-app navigation, complete keyboard traversal or assistive-technology acceptance.

Negotiated advanced-feature menus localize presentation without changing the selected wire feature or verb. The native fixture also checks OpenViking binding-field labels, the memory-service entry title and local validation/consent/setup error presentation in Chinese. Local CPU and whole-bank confirmation fragments use the same language lookup.

`desktop/src/ui/sheets/memoryLayout.browser-check.js` checks mounted production sheets in an offline browser fixture. After scrolling or focusing a target, `assertMemorySheetLayout(fieldLabels, actionLabels)` verifies viewport containment and center-point hit ownership for controls and visible header/footer regions. The fixture checks last fields at maximum body scroll and keyboard access to footer actions without sending service requests.

The localization scanner recognizes literal labels, choices and placeholders passed to the known native memory form helpers. Tuple descriptors and finite error/action labels expose explicit `L` literals; identifiers used as protocol values retain their exact displayed strings. Unrelated strings and commented-out helper calls do not satisfy a translation entry. Desktop memory status and operation functions expose literal translation keys.
Loading
Loading