Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(copy): refine interruption and app bar labels (#1608)
Call Whitede85cfe38d34
diff --git a/README_ZH.md b/README_ZH.mdindex a0e998c30..ccdf5fc61 100644--- a/README_ZH.md+++ b/README_ZH.md@@ -88,7 +88,7 @@ Windows 上推荐用 WSL,兼容性最好——见 [从零用 WSL 跑 Avibe](do当一张图胜过一段话,Agent 直接给你一个实时网页——流程图、仪表盘、diff、报告或小应用。你可以对元素或截图原位评论,Agent 也能在你指的位置回答或直接改好页面。-在 Chat 中点击**可视化**,即可把当前 Session 切换到它的 Show Page。将鼠标悬停在按钮上,可以改为在新的应用窗口或浏览器标签页中打开;也可以向下拖拽后松开,在指针位置放置一个新窗口,或拖到**应用**按钮上,把该 Show Page 固定到 Dock。+在 Chat 中点击**可视化**,即可把当前 Session 切换到它的 Show Page。将鼠标悬停在按钮上,可以改为在新的应用窗口或浏览器标签页中打开;也可以向下拖拽后松开,在指针位置放置一个新窗口,或拖到**应用**按钮上,把该 Show Page 固定到应用栏。<img src="assets/screenshots/v4/show-page-zh.png" alt="Show Page 审阅界面,包含原位评论与 Agent 页面内回复" />diff --git a/scripts/migration_release_guard.py b/scripts/migration_release_guard.pyindex b5b2f87be..31565dd49 100644--- a/scripts/migration_release_guard.py+++ b/scripts/migration_release_guard.py@@ -558,30 +558,7 @@ class DeclaredBodyEdit:reason: str-DECLARED_BODY_EDITS: tuple[DeclaredBodyEdit, ...] = (- DeclaredBodyEdit(- revision="20260725_0037",- body="d56e9ae949018bb1d0adc6edc1609d2f39052eb1bf70688add968c7304f4525a",- reason=(- "The revision backfilled media_object_references by regex-scanning every agent "- "message for media URLs. Only that scan is gone; the DDL and the precondition "- "20260819_0056 relies on to prove its replay repaired anything are untouched. "- "Removed because no forward revision can express the "- "removal: 20260819_0056 replays this body, so a later revision runs after the "- "scan it would have to prevent, and the rows the scan writes are byte-identical "- "to the ones media_service.register() writes when a second session reuses a "- "token, so nothing downstream can delete one without deleting the other. What "- "the divergence costs is bounded by the read path rather than argued: the table "- "only ever widens access, vibe/ui_server.py falls back to the media row's own "- "session and scope when the reference set is empty, and the owner short-circuit "- "returns before consulting it at all -- so a row the scan would have written is "- "at worst a 404 for a non-owner holding partial project access, never a leak. "- "The scan is also already inert wherever it can still run: a fresh install "- "crosses this revision with media_objects and messages empty, and a database "- "that already crossed it is stamped and never reruns it."- ),- ),-)+DECLARED_BODY_EDITS: tuple[DeclaredBodyEdit, ...] = ()def _declared_body_edits() -> dict[str, DeclaredBodyEdit]:diff --git a/tests/test_i18n_backend_keys.py b/tests/test_i18n_backend_keys.pyindex 26fca81b1..dd3db370c 100644--- a/tests/test_i18n_backend_keys.py+++ b/tests/test_i18n_backend_keys.py@@ -108,6 +108,44 @@ def test_every_run_settlement_reason_resolves(reason: str, key: str) -> None:assert resolved.strip()+ ("key", "language", "expected"),+ [+ (+ "harness.run.interrupted.restarted",+ "en",+ "[Avibe Harness] This run was interrupted during execution. Completed work is "+ "preserved. Trigger it again if the work still needs doing.",+ ),+ (+ "harness.run.interrupted.restarted",+ "zh",+ "[Avibe Harness] 本次 run 执行途中被中断。已执行的部分不会丢失,"+ "如果这项工作仍需完成,请重新触发。",+ ),+ (+ "harness.run.interrupted.orphaned",+ "en",+ "[Avibe Harness] Nothing is executing this run, most likely because the service "+ "restarted during execution. Completed work is preserved. Trigger it again if the "+ "work still needs doing.",+ ),+ (+ "harness.run.interrupted.orphaned",+ "zh",+ "[Avibe Harness] 本次 run 没有任何执行在推进它,通常是服务在它执行途中"+ "重启导致的。已执行的部分不会丢失,如果这项工作仍需完成,请重新触发。",+ ),+ ],+)+def test_interrupted_run_detail_copy_matches_product_language(+ key: str,+ language: str,+ expected: str,+) -> None:+ assert t(key, language) == expected++def test_sweep_reason_i18n_map_covers_every_store_sweep_reason() -> None:# ``SWEEP_I18N_KEYS`` spells its keys as literals so ``core.run_settlement``# stays dependency-free (see the comment there). This is the guard that makesdiff --git a/ui/src/i18n/terminology.test.ts b/ui/src/i18n/terminology.test.tsnew file mode 100644index 000000000..09ea27bb9--- /dev/null+++ b/ui/src/i18n/terminology.test.ts@@ -0,0 +1,9 @@+import { describe, expect, it } from 'vitest';++import zh from './zh.json';++describe('Chinese product terminology', () => {+ it('uses the localized app bar name throughout user-visible copy', () => {+ expect(JSON.stringify(zh)).not.toMatch(/\bDock\b/);+ });+});diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 028dc88a4..a70b8018b 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -210,7 +210,7 @@"icon": {"upload": "上传","replace": "更换",- "hint": "SVG、PNG、ICO、JPEG 或 WebP,最大 2 MiB。显示在 Dock 与应用库中。",+ "hint": "SVG、PNG、ICO、JPEG 或 WebP,最大 2 MiB。显示在应用栏与应用库中。","toast": {"updated": "应用图标已更新"}@@ -257,7 +257,7 @@},"apps": {"system": "系统",- "dock": "固定到 Dock",+ "dock": "固定到应用栏","undock": "取消固定","remove": "移出 App","reorder": "重新排序",@@ -1835,9 +1835,9 @@"newWindow": "新建窗口","showAllWindows": "显示所有窗口","openInNewTab": "在新标签页打开",- "unpin": "从 Dock 取消固定",- "syncedCaption": "与桌面 Dock 同步",- "emptyHint": "Dock 为空 · 打开应用库"+ "unpin": "从应用栏取消固定",+ "syncedCaption": "与桌面应用栏同步",+ "emptyHint": "应用栏为空 · 打开应用库"},"launcher": {"openLibrary": "打开应用库"@@ -1858,7 +1858,7 @@"label": "Show Page","missingTitle": "无法打开此应用","missingBody": "这个会话的 Show Page 已丢失或被归档,若会话恢复它可能会重新出现。",- "unpin": "从 Dock 取消固定"+ "unpin": "从应用栏取消固定"},"fileBrowser": {"label": "文件",@@ -3655,9 +3655,9 @@"availabilityOnline": "当前页面在线,关闭可下线页面不再提供访问。","availabilityOffline": "当前页面已下线,开启可恢复访问。","loadError": "无法加载这个 Show Page。",- "pinToDock": "固定到 Dock",- "pinToDockCaption": "作为应用从 Dock 打开",- "pinnedConfirm": "已固定 —「{{title}}」已在你的 Dock 中",+ "pinToDock": "固定到应用栏",+ "pinToDockCaption": "作为应用从应用栏打开",+ "pinnedConfirm": "已固定 —「{{title}}」已在你的应用栏中","addToHomeTitle": "添加到主屏幕","addToHomeBodySafari": "点此处在新页面中打开,再点「分享」 →「添加到主屏幕」。","addToHomeBodyPwa": "复制上方链接,在 Safari 中打开,再点分享 →「添加到主屏幕」。"diff --git a/vibe/i18n/en.json b/vibe/i18n/en.jsonindex c9cde8a12..258312566 100644--- a/vibe/i18n/en.json+++ b/vibe/i18n/en.json@@ -109,9 +109,9 @@"stopped": "[Avibe Harness] This run was stopped before the Agent produced a result, so it has no final result. Any output the Agent had already sent is still kept on the run.","refusedConcurrentTurn": "[Avibe Harness] This run was skipped because another turn was already in flight for the same session. A session runs one turn at a time; trigger it again once the current turn finishes.","backendRefresh": "[Avibe Harness] This run was interrupted because its Agent runtime was refreshed while the run was in flight, usually right after an Agent setting was saved. Nothing is wrong with the run itself — trigger it again.",- "restarted": "[Avibe Harness] This run was interrupted because the service shut down while it was in flight. The interrupted attempt was recorded and will not be replayed after restart. Trigger it again if the work still needs doing.",+ "restarted": "[Avibe Harness] This run was interrupted during execution. Completed work is preserved. Trigger it again if the work still needs doing.","interrupted": "[Avibe Harness] This run was interrupted while it was in flight. The interrupted attempt was recorded and was not requeued. Trigger it again if the work still needs doing.",- "orphaned": "[Avibe Harness] This run was left marked as running with nothing executing it, most likely because the service restarted while it was in flight. Any output it had already sent is still kept on the run. Run it again if the work still needs doing.",+ "orphaned": "[Avibe Harness] Nothing is executing this run, most likely because the service restarted during execution. Completed work is preserved. Trigger it again if the work still needs doing.","transportUnavailable": "[Avibe Harness] This run stayed queued because its chat platform never reconnected, so it was never delivered. Check the platform connection in Settings, then trigger it again.","queueHoldExpired": "[Avibe Harness] This run stayed queued behind its session's turn queue for too long and was never started. Check whether that session has a stuck turn, then trigger this run again."},@@ -902,7 +902,7 @@},"turn": {"interrupted": {- "serviceRestart": "\u26a0\ufe0f This turn was interrupted \u2014 the Avibe service restarted while it was still running, and its agent runtime could not be resumed. Nothing further will arrive for it. Send the request again if the work still needs doing."+ "serviceRestart": "\u26a0\ufe0f This turn was interrupted \u2014 the Avibe service restarted while it was still running. Send the request again if the work still needs doing."}},"runtime": {@@ -930,4 +930,4 @@"archiveCacheSkippedInspectionAction": "Check runtime directory permissions and the Avibe log; retry Doctor once fixed."}}-}\ No newline at end of file+}diff --git a/vibe/i18n/zh.json b/vibe/i18n/zh.jsonindex a55990d4f..0d095c9e8 100644--- a/vibe/i18n/zh.json+++ b/vibe/i18n/zh.json@@ -109,9 +109,9 @@"stopped": "[Avibe Harness] 本次 run 在 Agent 产出结果前被停止,因此没有最终结果。Agent 此前已经发出的输出仍会保留在这次 run 上。","refusedConcurrentTurn": "[Avibe Harness] 本次 run 被跳过:同一 session 已有另一个 turn 正在执行。一个 session 同时只运行一个 turn,请在当前 turn 结束后重新触发。","backendRefresh": "[Avibe Harness] 本次 run 执行途中,它所用的 Agent 运行时被刷新,因此被中断,通常发生在刚保存 Agent 设置之后。这次 run 本身没有问题,请重新触发。",- "restarted": "[Avibe Harness] 本次 run 执行途中服务已关闭,因此被中断。该次执行已被记录,服务重启后不会重放。如果这项工作仍需完成,请重新触发。",+ "restarted": "[Avibe Harness] 本次 run 执行途中被中断。已执行的部分不会丢失,如果这项工作仍需完成,请重新触发。","interrupted": "[Avibe Harness] 本次 run 在执行途中被中断。该次执行已被记录,不会重新排队。如果这项工作仍需完成,请重新触发。",- "orphaned": "[Avibe Harness] 本次 run 一直标记为 running,但已经没有任何执行在推进它,通常是服务在它执行途中重启导致的。它此前已经发出的输出仍会保留在这次 run 上。如果这项工作仍需完成,请重新运行。",+ "orphaned": "[Avibe Harness] 本次 run 没有任何执行在推进它,通常是服务在它执行途中重启导致的。已执行的部分不会丢失,如果这项工作仍需完成,请重新触发。","transportUnavailable": "[Avibe Harness] 本次 run 一直排队等待,因为它对应的聊天平台始终没有重新连接,消息也就无法送达。请在设置中检查该平台连接,然后重新触发。","queueHoldExpired": "[Avibe Harness] 本次 run 在所属 session 的 turn 队列后面排队过久,始终没有开始执行。请检查该 session 是否有卡住的 turn,然后重新触发这次 run。"},@@ -902,7 +902,7 @@},"turn": {"interrupted": {- "serviceRestart": "\u26a0\ufe0f \u672c\u8f6e\u6267\u884c\u88ab\u4e2d\u65ad\u2014\u2014Avibe \u670d\u52a1\u5728\u5b83\u8fd0\u884c\u671f\u95f4\u91cd\u542f\uff0c\u5176 Agent \u8fd0\u884c\u65f6\u65e0\u6cd5\u6062\u590d\u3002\u8fd9\u4e00\u8f6e\u4e0d\u4f1a\u518d\u6709\u4efb\u4f55\u540e\u7eed\u7ed3\u679c\u3002\u5982\u679c\u8fd9\u9879\u5de5\u4f5c\u4ecd\u7136\u9700\u8981\u5b8c\u6210\uff0c\u8bf7\u91cd\u65b0\u53d1\u9001\u8bf7\u6c42\u3002"+ "serviceRestart": "\u26a0\ufe0f \u672c\u8f6e\u6267\u884c\u88ab\u4e2d\u65ad\u2014\u2014Avibe \u670d\u52a1\u5728\u5b83\u8fd0\u884c\u671f\u95f4\u91cd\u542f\u3002\u5982\u679c\u8fd9\u9879\u5de5\u4f5c\u4ecd\u7136\u9700\u8981\u5b8c\u6210\uff0c\u8bf7\u91cd\u65b0\u53d1\u9001\u8bf7\u6c42\u3002"}},"runtime": {@@ -930,4 +930,4 @@"archiveCacheSkippedInspectionAction": "\u8bf7\u68c0\u67e5\u8fd0\u884c\u76ee\u5f55\u6743\u9650\u548c Avibe \u65e5\u5fd7\uff0c\u4fee\u590d\u540e\u91cd\u8bd5 Doctor\u3002"}}-}\ No newline at end of file+}