Continue app-harness#16: MdhStatus carries the persisted UpdateState and
mqdh status [--json] shows channel, last check time, availability, latest
candidate and the last update error without triggering a network check.
DISTRIBUTION distinguishes this read-only view from the explicit update check;
the CLI test asserts the empty-install values and text line.
Verified locally: typecheck 5/5, cli test 6 pass, all downstream node tests
77 pass/3 skipped. No release/tag; E09 notification/reconciliation and real
Gitea feedback E2E remain UNVERIFIED.
cflmy
merged commit 7e2f1ac325 into main2026-12-01 09:43:49 +08:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
概述
app-harness#16切片:mqdh status [--json]增加持久化更新视图(channel、上次检查时间、是否可更新、最新候选、最后错误),只读持久化状态、不触网;显式mqdh update check仍是唯一刷新检查入口。交付
MdhStatus.update: UpdateState;MdhRuntime.status()返回updater.state()(读本地update.json,无网络)。statusJSON 输出update;文本新增update: channel=… checked=… available=… latest=… [error=…]。DISTRIBUTION.md§4 区分只读状态视图 vs 显式检查。cli.test.ts断言空安装的update.schema/channel/checked_at/latest与文本行。验证(本机,Linux x86_64 / glibc 2.43)
证据:
docs/mqdh/evidence/2026-11-30-status-update-view.md。边界
refs #16
合并结果
7e2f1ac325382604dad699336cc1cec26f4336ee;mqdh status [--json]增加只读持久化更新视图(channel/上次检查/可更新/最新候选/最后错误),不触网。docs/mqdh/evidence/2026-11-30-status-update-view.md。28df81e;下一次根变更时一并固定本提交。