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(doctor): report memory and office readiness (#1788)
rkrkrkk4ddfc013c2c6
diff --git a/tests/scenarios/INDEX.yaml b/tests/scenarios/INDEX.yamlindex ec3eb3088..1d95cd485 100644--- a/tests/scenarios/INDEX.yaml+++ b/tests/scenarios/INDEX.yaml@@ -86,6 +86,7 @@ capabilities:- tests/scenario_harness/memory_im_attachments.pyunit_or_contract_tests:- tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.py+ - tests/test_vibe_cli.py- tests/test_memory_admission.py- tests/test_memory_im_attachments.py- tests/test_inbound_attachments.py@@ -102,6 +103,7 @@ capabilities:scenario_tests:- tests/test_ui_memory_routes.pyunit_or_contract_tests:+ - tests/test_vibe_cli.py- tests/test_memory_wake.py- tests/test_memory_supervisor.py- tests/test_memory_confined_filesystem.pydiff --git a/tests/scenarios/memory_im_attachment_capture/catalog.yaml b/tests/scenarios/memory_im_attachment_capture/catalog.yamlindex b196722aa..e396fd3df 100644--- a/tests/scenarios/memory_im_attachment_capture/catalog.yaml+++ b/tests/scenarios/memory_im_attachment_capture/catalog.yaml@@ -5,6 +5,7 @@ capability:canonical_tests:- tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.py- tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py+ - tests/test_vibe_cli.py- tests/test_memory_admission.py- tests/test_memory_im_attachments.py- tests/test_inbound_attachments.py@@ -111,3 +112,12 @@ scenarios:layer: scenariodelivery_slice: 9test: tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py::test_cancelled_unproven_pin_cleanup_disables_only_attachment_intake+ - id: MEMORY-IM-ATTACH-014+ name: Doctor reports sidecar-visible Office attachment readiness+ status: covered+ kind: observability+ layer: scenario+ delivery_slice: 10+ test: tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py::test_doctor_reports_office_attachment_readiness_from_sidecar_probe+ related_tests:+ - tests/test_memory_modality.py::test_office_probe_uses_sidecar_path_and_macos_fallbackdiff --git a/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.py b/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.pyindex 6a80d22ce..0294cffce 100644--- a/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.py+++ b/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_catalog.py@@ -70,6 +70,7 @@ def test_memory_im_attachment_catalog_is_indexed_and_locks_the_approved_contract("MEMORY-IM-ATTACH-011", "degradation", 7),("MEMORY-IM-ATTACH-012", "boundary", 8),("MEMORY-IM-ATTACH-013", "degradation", 9),+ ("MEMORY-IM-ATTACH-014", "observability", 10),],)def test_memory_im_attachment_covered_scenario_contract(@@ -97,6 +98,7 @@ def test_memory_im_attachment_covered_scenario_contract("MEMORY-IM-ATTACH-011","MEMORY-IM-ATTACH-012","MEMORY-IM-ATTACH-013",+ "MEMORY-IM-ATTACH-014",}assert rows[scenario_id]["status"] == "covered"assert rows[scenario_id]["kind"] == kinddiff --git a/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py b/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.pyindex 8a720ba93..fa3ba6887 100644--- a/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py+++ b/tests/scenarios/memory_im_attachment_capture/test_memory_im_attachment_capture_scenarios.py@@ -554,3 +554,38 @@ def test_enabled_platform_attachment_fact_reaches_memory_admission(assert facts.is_ordinary_attachment is Trueassert admission.admits_attachment_turn(facts) is True+++ ("available", "expected_status", "expected_capability_status"),+ [+ pytest.param(True, "pass", "ready", id="ready"),+ pytest.param(False, "warn", "missing", id="missing"),+ ],+)+def test_doctor_reports_office_attachment_readiness_from_sidecar_probe(+ monkeypatch,+ available: bool,+ expected_status: str,+ expected_capability_status: str,+) -> None:+ """Scenario: MEMORY-IM-ATTACH-014."""++ monkeypatch.setattr(+ "core.memory.modality.office_conversion_available",+ lambda: available,+ )++ items = cli._office_attachment_doctor_items()++ assert items == [+ {+ "status": expected_status,+ "message": items[0]["message"],+ "code": f"dependencies.office-attachments.{expected_capability_status}",+ "capability_status": expected_capability_status,+ }+ ]+ assert "Office" in items[0]["message"]+ assert "action" not in items[0]+ assert "repair" not in items[0]diff --git a/tests/scenarios/memory_repair/catalog.yaml b/tests/scenarios/memory_repair/catalog.yamlindex 8fcaa050e..193712fe5 100644--- a/tests/scenarios/memory_repair/catalog.yaml+++ b/tests/scenarios/memory_repair/catalog.yaml@@ -3,6 +3,7 @@ capability:id: memory_repairname: Unified non-destructive Wake and destructive Memory Repaircanonical_tests:+ - tests/test_vibe_cli.py- tests/test_ui_memory_routes.py- tests/test_memory_wake.py- tests/test_memory_supervisor.py@@ -204,3 +205,25 @@ scenarios:then: Scope identity, provider-root identity, and project rows surviveexpected_outputs:- Stable identities and projects with a new data epoch+ - id: MEMORY-RUNTIME-001+ name: Doctor projects managed runtime truth and repairs through the controller+ status: covered+ kind: observability+ layer: contract+ test: tests/test_vibe_cli.py::test_managed_dependencies_doctor_reports_memory_runtime_states+ related_tests:+ - tests/test_vibe_cli.py::test_memory_runtime_doctor_repair_uses_controller_ipc+ - tests/test_vibe_cli.py::test_memory_runtime_doctor_repair_preserves_controller_failure+ - tests/test_vibe_cli.py::test_doctor_localizes_bounded_memory_runtime_preparation_reasons+ actor: Avibe operator+ trigger: Doctor inspects or repairs Memory Runtime+ conditions:+ - Runtime status is read from the shared disk-truthful dependency owner+ - Artifact mutation remains owned by the running controller lifecycle+ given: Memory Runtime is ready, missing, failed, or unsupported+ when: Doctor reports readiness or runs the explicit runtime repair target+ then: Severity follows required state and supported repair crosses internal IPC+ expected_outputs:+ - Ready, missing, error, or unsupported status with the retained reason+ - No repair offer for an unsupported platform+ - Controller-owned artifact installation for supported repairdiff --git a/tests/test_vibe_cli.py b/tests/test_vibe_cli.pyindex d71c85346..4eca75710 100644--- a/tests/test_vibe_cli.py+++ b/tests/test_vibe_cli.py@@ -1775,6 +1775,26 @@ def test_doctor_repair_dry_run_does_not_probe_runtime(monkeypatch):assert result["results"][0]["status"] == "planned"+def test_memory_runtime_doctor_repair_dry_run_does_not_reach_controller(monkeypatch):+ monkeypatch.setattr(+ "vibe.internal_client.memory_install_runtime_sync",+ lambda: (_ for _ in ()).throw(+ AssertionError("dry-run must not reach the controller")+ ),+ )++ result = cli._repair_doctor_targets(["memory-runtime"], dry_run=True)++ assert result["ok"] is True+ assert result["results"] == [+ {+ "target": "memory-runtime",+ "status": "planned",+ "message": result["results"][0]["message"],+ }+ ]++def test_show_runtime_doctor_fast_mode_reports_local_state_without_network(monkeypatch):status = {"provider": "manifest-cache",@@ -1891,6 +1911,104 @@ def test_managed_dependencies_doctor_uses_one_status_contract(monkeypatch):assert next(item for item in items if item.get("code") == "dependencies.node.not_ready")["status"] == "fail"+ (+ "dependency_status",+ "installed",+ "required",+ "reason",+ "expected_severity",+ "expected_repair",+ ),+ [+ pytest.param("ready", True, False, None, "pass", False, id="ready"),+ pytest.param(+ "missing",+ False,+ False,+ "memory_runtime_missing",+ "warn",+ True,+ id="optional-missing",+ ),+ pytest.param(+ "error",+ False,+ False,+ "memory_runtime_install_failed",+ "warn",+ True,+ id="optional-error",+ ),+ pytest.param(+ "error",+ False,+ True,+ "memory_runtime_install_failed",+ "fail",+ True,+ id="required-error",+ ),+ pytest.param(+ "unsupported",+ False,+ True,+ "memory_runtime_unsupported",+ "fail",+ False,+ id="required-unsupported",+ ),+ ],+)+def test_managed_dependencies_doctor_reports_memory_runtime_states(+ monkeypatch,+ dependency_status,+ installed,+ required,+ reason,+ expected_severity,+ expected_repair,+):+ """MEMORY-RUNTIME-001: Doctor projects the disk-truthful runtime contract."""++ monkeypatch.setattr(+ cli.api,+ "dependencies_status",+ lambda **_kwargs: {+ "deps": [+ {+ "id": "memory-runtime",+ "required": required,+ "installed": installed,+ "status": dependency_status,+ "reason": reason,+ },+ {+ "id": "git-runtime",+ "required": False,+ "installed": True,+ "status": "ready",+ },+ ]+ },+ )++ items = cli._managed_dependencies_doctor_items(deep=True)++ runtime_item = next(+ item+ for item in items+ if item.get("code") == f"dependencies.memory-runtime.{dependency_status}"+ )+ assert runtime_item["status"] == expected_severity+ assert runtime_item["dependency_status"] == dependency_status+ assert runtime_item.get("dependency_reason") == reason+ assert runtime_item["dependency_required"] is required+ assert (runtime_item.get("repair") or {}).get("target") == (+ "memory-runtime" if expected_repair else None+ )++def test_managed_dependencies_doctor_suppresses_unsupported_askill_repair(monkeypatch):monkeypatch.setattr(cli.api,@@ -2071,6 +2189,87 @@ def test_repair_managed_dependency_preserves_structured_download_error():assert result["download_error"] == error+def test_memory_runtime_doctor_repair_uses_controller_ipc(monkeypatch):+ calls = []++ def install_runtime():+ calls.append(True)+ return {"status_code": 200, "body": {"ok": True}}++ monkeypatch.setattr(+ "vibe.internal_client.memory_install_runtime_sync",+ install_runtime,+ )++ result = cli._repair_memory_runtime()++ assert calls == [True]+ assert result["target"] == "memory-runtime"+ assert result["status"] == "repaired"+++def test_memory_runtime_doctor_repair_preserves_controller_failure(monkeypatch):+ download_error = {"kind": "timeout", "attempts": 2}+ monkeypatch.setattr(+ "vibe.internal_client.memory_install_runtime_sync",+ lambda: {+ "status_code": 200,+ "body": {+ "ok": False,+ "reason": "memory_runtime_install_failed",+ "download_error": download_error,+ },+ },+ )++ result = cli._repair_memory_runtime()++ assert result["status"] == "failed"+ assert result["reason"] == "memory_runtime_install_failed"+ assert result["download_error"] == download_error+++ "reason",+ [+ "memory_runtime_preparation_import_timeout",+ "memory_runtime_preparation_import_failed",+ "memory_runtime_preparation_scrubber_timeout",+ "memory_runtime_preparation_scrubber_failed",+ "memory_runtime_preparation_sync_contract_failed",+ "memory_runtime_preparation_failed",+ ],+)[email protected]("language", ["en", "zh"])+def test_doctor_localizes_bounded_memory_runtime_preparation_reasons(reason, language):+ projected = cli._doctor_memory_reason(reason, language)++ assert projected != reason+ assert projected != "unknown error"+++ ("language", "expected"),+ [+ (+ "en",+ "Memory is running. Turn it off in Settings > Memory before repairing the runtime.",+ ),+ (+ "zh",+ "记忆功能正在运行。请先在「设置 > 记忆」中关闭记忆,再修复运行时。",+ ),+ ],+)+def test_doctor_localizes_stopped_memory_repair_prerequisite(language, expected):+ projected = cli._doctor_memory_reason(+ "memory_runtime_install_requires_stopped_memory",+ language,+ )++ assert projected == expected++def test_show_runtime_doctor_deep_mode_distinguishes_missing_release_asset(monkeypatch):archive_url = ("https://github.com/avibe-bot/avibe/releases/download/"@@ -3341,7 +3540,7 @@ def test_doctor_parser_accepts_show_runtime_repair_target():def test_doctor_parser_accepts_managed_dependency_repair_targets():parser = cli.build_parser()- for target in ("askill", "avault", "git-runtime", "tmux"):+ for target in ("askill", "avault", "git-runtime", "memory-runtime", "tmux"):args = parser.parse_args(["doctor", "repair", target, "--yes"])assert args.doctor_repair_targets == [target]assert args.yes is Truediff --git a/vibe/cli.py b/vibe/cli.pyindex 2a1b2b0e3..c9b4cc7d2 100644--- a/vibe/cli.py+++ b/vibe/cli.py@@ -128,6 +128,7 @@ DOCTOR_REPAIR_TARGETS = ("askill","avault","git-runtime",+ "memory-runtime","show-runtime","tmux",)@@ -141,6 +142,7 @@ DOCTOR_REPAIR_DRY_RUN_I18N_KEYS = {"askill": "doctor.repair.dryAskill","avault": "doctor.repair.dryAvault","git-runtime": "doctor.repair.dryGitRuntime",+ "memory-runtime": "doctor.repair.dryMemoryRuntime","show-runtime": "doctor.repair.dryShowRuntime","tmux": "doctor.repair.dryTmux",}@@ -549,6 +551,15 @@ _MEMORY_CLI_REASON_I18N_KEYS = {"memory_reconfigure_failed": "memory.cli.reason.reconfigureFailed","memory_operation_in_progress": "memory.cli.reason.operationInProgress",}+_DOCTOR_MEMORY_REASON_I18N_KEYS = {+ "memory_runtime_install_requires_stopped_memory": "memory.cli.reason.runtimeInstallRequiresStoppedMemory",+ "memory_runtime_preparation_import_timeout": "memory.cli.reason.runtimePreparationImportTimeout",+ "memory_runtime_preparation_import_failed": "memory.cli.reason.runtimePreparationImportFailed",+ "memory_runtime_preparation_scrubber_timeout": "memory.cli.reason.runtimePreparationScrubberTimeout",+ "memory_runtime_preparation_scrubber_failed": "memory.cli.reason.runtimePreparationScrubberFailed",+ "memory_runtime_preparation_sync_contract_failed": "memory.cli.reason.runtimePreparationSyncContractFailed",+ "memory_runtime_preparation_failed": "memory.cli.reason.runtimePreparationFailed",+}def _memory_cli_label(@@ -11075,21 +11086,23 @@ def _add_dependency_download_failure(def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:from core.dependency_network import probe_url+ language = _configured_cli_language()labels = {"askill": "askill","avault": "avault","tmux": "tmux runtime","git-runtime": "Git Runtime",+ "memory-runtime": i18n_t("doctor.value.memoryRuntime", language),"node": "Node.js",}repair_targets = {"askill": "askill","avault": "avault","git-runtime": "git-runtime",+ "memory-runtime": "memory-runtime","tmux": "tmux",}items: list[dict] = []- language = _configured_cli_language()try:dependencies = list(api.dependencies_status(offline=True).get("deps") or [])from core.git_runtime import git_runtime_status@@ -11128,6 +11141,14 @@ def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:status = str(dependency.get("status") or "missing")ready = bool(dependency.get("installed")) and status == "ready"version = dependency.get("version")+ memory_details = (+ {+ "dependency_reason": dependency.get("reason"),+ "dependency_required": bool(dependency.get("required")),+ }+ if dependency_id == "memory-runtime"+ else {}+ )if ready:if dependency_id == "git-runtime" and dependency.get("source") == "system":_add_doctor_item(@@ -11147,6 +11168,8 @@ def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:version=version,),code=f"dependencies.{dependency_id}.ready",+ dependency_status=status if dependency_id == "memory-runtime" else None,+ **memory_details,)continue@@ -11163,13 +11186,19 @@ def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:continuedependency_reason = str(dependency.get("reason") or "")- if dependency_reason.endswith("_platform_unsupported"):+ if status == "unsupported" or dependency_reason.endswith("_platform_unsupported"):_add_doctor_item(items,severity,i18n_t("doctor.item.dependencyPlatformUnsupported", language, label=label),i18n_t("doctor.action.dependencyPlatformUnsupported", language),- code=f"dependencies.{dependency_id}.platform_unsupported",+ code=(+ f"dependencies.{dependency_id}.unsupported"+ if dependency_id == "memory-runtime"+ else f"dependencies.{dependency_id}.platform_unsupported"+ ),+ dependency_status=status if dependency_id == "memory-runtime" else None,+ **memory_details,)continue@@ -11210,13 +11239,32 @@ def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:_add_doctor_item(items,severity,- i18n_t("doctor.item.dependencyNotReady", language, label=label),+ (+ i18n_t(+ (+ "doctor.item.memoryRuntimeMissing"+ if status == "missing"+ else "doctor.item.memoryRuntimeError"+ ),+ language,+ reason=_doctor_memory_reason(dependency_reason, language),+ )+ if dependency_id == "memory-runtime"+ else i18n_t("doctor.item.dependencyNotReady", language, label=label)+ ),i18n_t("doctor.action.dependencyNotReady", language, retry=retry_action),- code=f"dependencies.{dependency_id}.not_ready",+ code=(+ f"dependencies.{dependency_id}.{status}"+ if dependency_id == "memory-runtime"+ else f"dependencies.{dependency_id}.not_ready"+ ),repair_target=repair_target,repair_risk="low",dependency_status=status,+ **memory_details,)+ if dependency_id == "memory-runtime":+ continueif not deep:continue@@ -11277,6 +11325,30 @@ def _managed_dependencies_doctor_items(*, deep: bool = False) -> list[dict]:return items+def _office_attachment_doctor_items() -> list[dict]:+ from core.memory.modality import office_conversion_available++ language = _configured_cli_language()+ available = office_conversion_available()+ capability_status = "ready" if available else "missing"+ items: list[dict] = []+ _add_doctor_item(+ items,+ "pass" if available else "warn",+ i18n_t(+ (+ "doctor.item.officeAttachmentsReady"+ if available+ else "doctor.item.officeAttachmentsMissing"+ ),+ language,+ ),+ code=f"dependencies.office-attachments.{capability_status}",+ capability_status=capability_status,+ )+ return items++def _show_runtime_install(payload: dict) -> dict:install = payload.get("install")return install if isinstance(install, dict) else {}@@ -12012,6 +12084,7 @@ def _doctor(*, deep: bool = False):dependency_items = [*_managed_dependencies_doctor_items(deep=deep),*_show_runtime_doctor_items(deep=deep),+ *_office_attachment_doctor_items(),]for item in dependency_items:status = item.get("status")@@ -12388,6 +12461,17 @@ def _doctor_display_value(value: object, category: str, language: str) -> str:return i18n_t(key, language) if key else i18n_t("doctor.value.unknown", language)+def _doctor_memory_reason(reason: object, language: str) -> str:+ reason_code = reason.strip() if isinstance(reason, str) else ""+ key = _DOCTOR_MEMORY_REASON_I18N_KEYS.get(+ reason_code,+ _MEMORY_CLI_REASON_I18N_KEYS.get(reason_code),+ )+ if key:+ return i18n_t(key, language)+ return reason_code or i18n_t("doctor.value.unknownError", language)++def _doctor_managed_reason_key(reason: str) -> str | None:projections = DOCTOR_DISPLAY_PROJECTIONSkey = projections["repair_reason"].get(reason)@@ -12841,6 +12925,54 @@ def _repair_tmux(*, dry_run: bool = False) -> dict:return _repair_managed_dependency("tmux", ensure_tmux_installed, dry_run=dry_run)+def _repair_memory_runtime(*, dry_run: bool = False) -> dict:+ target = "memory-runtime"+ language = _configured_cli_language()+ if dry_run:+ return _doctor_repair_result(+ target,+ "planned",+ i18n_t(DOCTOR_REPAIR_DRY_RUN_I18N_KEYS[target], language),+ )++ try:+ from vibe import internal_client++ response = internal_client.memory_install_runtime_sync()+ except Exception as exc: # noqa: BLE001+ return _doctor_repair_result(+ target,+ "failed",+ i18n_t("doctor.repair.memoryRuntimeControllerUnavailable", language, reason=exc),+ reason="memory_runtime_install_failed",+ )++ payload = response.get("body") if isinstance(response.get("body"), dict) else {}+ reason = str(payload.get("reason") or "memory_runtime_install_failed")+ download_error = (+ payload.get("download_error")+ if isinstance(payload.get("download_error"), dict)+ else None+ )+ if response.get("status_code") == 200 and payload.get("ok") is True:+ return _doctor_repair_result(+ target,+ "repaired",+ i18n_t("doctor.repair.memoryRuntimeReady", language),+ )+ return _doctor_repair_result(+ target,+ "failed",+ i18n_t(+ "doctor.repair.memoryRuntimeFailed",+ language,+ reason=_doctor_memory_reason(reason, language),+ ),+ reason=reason,+ download_error=download_error,+ )++def _repair_git_runtime(*, dry_run: bool = False) -> dict:from core.git_runtime import GitRuntimeManager@@ -13065,6 +13197,7 @@ def _repair_doctor_targets(targets: list[str], *, dry_run: bool = False, deep: b"askill": _repair_askill,"avault": _repair_avault,"git-runtime": _repair_git_runtime,+ "memory-runtime": _repair_memory_runtime,"show-runtime": _repair_show_runtime,"tmux": _repair_tmux,}diff --git a/vibe/i18n/en.json b/vibe/i18n/en.jsonindex fbea52a59..acfe8ac9f 100644--- a/vibe/i18n/en.json+++ b/vibe/i18n/en.json@@ -799,6 +799,13 @@"runtimeMissing": "Memory runtime missing","runtimeUnsupported": "Memory runtime unsupported","runtimeInstallFailed": "Memory runtime installation failed",+ "runtimeInstallRequiresStoppedMemory": "Memory is running. Turn it off in Settings > Memory before repairing the runtime.",+ "runtimePreparationImportTimeout": "Memory runtime import readiness check timed out",+ "runtimePreparationImportFailed": "Memory runtime import readiness check failed",+ "runtimePreparationScrubberTimeout": "Memory runtime error-scrubber readiness check timed out",+ "runtimePreparationScrubberFailed": "Memory runtime error-scrubber readiness check failed",+ "runtimePreparationSyncContractFailed": "Memory runtime sync contract verification failed",+ "runtimePreparationFailed": "Memory runtime preparation failed","reconcileFailed": "Memory reconciliation failed","wakeFailed": "Memory wake failed without deleting data","runtimeBusy": "Memory could not stop safely",@@ -1028,6 +1035,7 @@"unknown": "unknown","unknownError": "unknown error","missing": "missing",+ "memoryRuntime": "Memory Runtime","currentPlatform": "this platform","selectedDependencyUrl": "the selected dependency URL","tunnelStateHealthy": "healthy",@@ -1125,6 +1133,10 @@"dependencyPlatformUnsupported": "{label} is not published for this platform","dependencyArchiveUrlUnsupported": "{label} archive URL uses an unsupported scheme: {url}","dependencyNotReady": "{label} is not ready",+ "memoryRuntimeMissing": "Memory Runtime is missing: {reason}",+ "memoryRuntimeError": "Memory Runtime failed readiness: {reason}",+ "officeAttachmentsReady": "Office attachment capture is ready through LibreOffice (soffice)",+ "officeAttachmentsMissing": "LibreOffice (soffice) is missing; Word, Excel, PowerPoint, iWork, ODF, and RTF attachments cannot be captured by Memory","dependencyReachable": "{label} download endpoint is reachable: {url}","dependencyProbeUnsupported": "{label} server does not support a body-free probe","dependencyProbeUnavailable": "{label} archive could not be resolved",@@ -1310,6 +1322,10 @@"dependencyReadyDefault": "Dependency is ready.","dependencyResultFailed": "{target} repair failed: {detail}","dependencyException": "{target} installer failed: {error}",+ "dryMemoryRuntime": "Would ask the running Avibe controller to install or repair Memory Runtime.",+ "memoryRuntimeReady": "Memory Runtime was installed or repaired through the running Avibe controller.",+ "memoryRuntimeFailed": "Memory Runtime repair failed: {reason}",+ "memoryRuntimeControllerUnavailable": "The running Avibe controller could not be reached for Memory Runtime repair: {reason}","dependencyDownloadHttp": "Dependency download returned HTTP {status} after {attempts} attempts.","dependencyDownloadDns": "Dependency host DNS lookup failed after {attempts} attempts.","dependencyDownloadTls": "Dependency TLS verification failed.",diff --git a/vibe/i18n/zh.json b/vibe/i18n/zh.jsonindex c0cd29e9f..f816a5c6d 100644--- a/vibe/i18n/zh.json+++ b/vibe/i18n/zh.json@@ -799,6 +799,13 @@"runtimeMissing": "记忆运行时缺失","runtimeUnsupported": "记忆运行时不受支持","runtimeInstallFailed": "记忆运行时安装失败",+ "runtimeInstallRequiresStoppedMemory": "记忆功能正在运行。请先在「设置 > 记忆」中关闭记忆,再修复运行时。",+ "runtimePreparationImportTimeout": "记忆运行时导入就绪检查超时",+ "runtimePreparationImportFailed": "记忆运行时导入就绪检查失败",+ "runtimePreparationScrubberTimeout": "记忆运行时错误脱敏器就绪检查超时",+ "runtimePreparationScrubberFailed": "记忆运行时错误脱敏器就绪检查失败",+ "runtimePreparationSyncContractFailed": "记忆运行时同步契约验证失败",+ "runtimePreparationFailed": "记忆运行时准备失败","reconcileFailed": "记忆协调失败","wakeFailed": "记忆唤醒失败,未删除数据","runtimeBusy": "记忆无法安全停止",@@ -1028,6 +1035,7 @@"unknown": "未知","unknownError": "未知错误","missing": "缺失",+ "memoryRuntime": "Memory Runtime","currentPlatform": "当前平台","selectedDependencyUrl": "所选依赖 URL","tunnelStateHealthy": "健康",@@ -1125,6 +1133,10 @@"dependencyPlatformUnsupported": "该平台未发布 {label}","dependencyArchiveUrlUnsupported": "{label} 归档 URL 使用不支持的协议:{url}","dependencyNotReady": "{label} 尚未就绪",+ "memoryRuntimeMissing": "Memory Runtime 缺失:{reason}",+ "memoryRuntimeError": "Memory Runtime 就绪检查失败:{reason}",+ "officeAttachmentsReady": "已通过 LibreOffice(soffice)启用 Office 附件记忆采集",+ "officeAttachmentsMissing": "缺少 LibreOffice(soffice);Memory 无法采集 Word、Excel、PowerPoint、iWork、ODF 和 RTF 附件","dependencyReachable": "{label} 下载端点可访问:{url}","dependencyProbeUnsupported": "{label} 服务不支持无请求体探测","dependencyProbeUnavailable": "无法解析 {label} 归档",@@ -1310,6 +1322,10 @@"dependencyReadyDefault": "依赖已就绪。","dependencyResultFailed": "{target} 修复失败:{detail}","dependencyException": "{target} 安装器失败:{error}",+ "dryMemoryRuntime": "将请求正在运行的 Avibe 控制器安装或修复 Memory Runtime。",+ "memoryRuntimeReady": "已通过正在运行的 Avibe 控制器安装或修复 Memory Runtime。",+ "memoryRuntimeFailed": "Memory Runtime 修复失败:{reason}",+ "memoryRuntimeControllerUnavailable": "无法连接正在运行的 Avibe 控制器来修复 Memory Runtime:{reason}","dependencyDownloadHttp": "依赖下载经过 {attempts} 次尝试后返回 HTTP {status}。","dependencyDownloadDns": "依赖主机经过 {attempts} 次尝试后 DNS 查询失败。","dependencyDownloadTls": "依赖下载的 TLS 校验失败。",