Repository navigation
English
Runtime page and acceptance-hardening release. It redesigns the Console Runtime page
and closes the security, CLI and test-isolation gaps found during the v0.3.4 acceptance
pass. The 29-tool MCP surface, graph/event/sync formats, host adapters and stored data
are unchanged; there is no migration.
Added
- Runtime page redesign — one four-cell status band (service / mode / model source /
version), a single-column recall-trace ledger, and a stable section title with
aria-labelledbyand stablearia-controlsids for expanded trace details. - Cleaner page boundaries — the duplicated memory timeline, filters, internal-object
toggle, object detail, archive/delete actions and/admin/api/memoriesreads are removed
from Runtime. Memory browsing stays on the Memories page.
Changed
- Runtime now uses the same page shell as Memories and Audit: existing
h2, toolbar,
.btn/.btn-crt,.crt-tagand.btn-smallprimitives, with runtime-scoped CSS only. - The Runtime warning line is shown only for degraded, failed, error or disabled states;
deterministic empty/loading/error states replace the old timeline. - Community documentation and roadmap links were refreshed for the v0.3.4 line.
Security
- DSH route authentication —
GET /mebular/embed-info,
POST /mebular/runtime/installandPOST /mebular/runtime/upgradenow apply DSH's
nativectx.connection.requestRejection()after the loopback check. Host/Origin and the
signed browser session are required; missing or broken connection guards fail closed and
the routes are not registered. - Home-path minimization —
service.unitPathis no longer exposed in
/mebular/embed-info; the existing documentedprofile,provider,serviceand
daemonUrlfields remain.
Fixed
mebular serve --help— now prints the serve usage and exits 0 before reading
config, writing heartbeat, taking the store lock or binding a port;-hbehaves the
same, including while another daemon holds the lock.- Acceptance test isolation — the OpenCode plugin suite uses a hermetic temporary home
and no longer reads the developer's real~/.mebular; the DSHmanaged-cli-missing
scenario suppresses the host App provider with a test-only switch and uses a per-scenario
MEBULAR_SERVICE_HOME, so it genuinely reachesdownload_required. - DSH version matrix —
currentnow tracks0.2.2-rc.1; the minimum remains
0.2.1-rc.2.
Verification
- Full Jest: 3416 passed, 1 skipped.
- DSH E2E minimum and latest: 9/9 scenarios, 212/212 checks each.
- DSH E2E negative control: passed; the intentionally broken plugin is still rejected.
verify:dsh-plugin: 214/214 checks.- ESLint and
node --checkon the changed files: clean. - The release branch reruns the same gate before publishing; desktop packages remain
unsigned.
中文
Runtime 页面重构与验收收口版本。本版重构 Console Runtime 页面,并修复 v0.3.4 全量验收发现的安全、CLI 与测试隔离问题。29 个 MCP 工具、图/事件/同步格式、宿主适配器与已有数据均不变,无需迁移。
新增
- Runtime 页面重构 — 合并为一个四格状态带(服务 / 模式 / 模型来源 / 版本),按单列展示 Recall Trace,并补齐稳定的
aria-labelledby与aria-controls。 - 页面边界收敛 — Runtime 中重复的记忆时间线、筛选、内部对象开关、详情、归档/删除与
/admin/api/memories读取已移除;记忆浏览继续留在「记忆」页。
变更
- Runtime 与「记忆」「审计」页面共用现有页面壳:沿用
h2、工具栏、.btn/.btn-crt、.crt-tag、.btn-small,只保留 Runtime 局部 CSS。 - Runtime 警告行只在 degraded / failed / error / disabled 时显示;空态、加载态与错误态均为确定性渲染。
- 社区文档与路线图链接同步到 v0.3.4 线。
安全
- DSH 路由鉴权 —
GET /mebular/embed-info、POST /mebular/runtime/install、POST /mebular/runtime/upgrade在 loopback 检查之后使用 DSH 原生ctx.connection.requestRejection()。要求正确的 Host/Origin 与已签名的浏览器会话;connection 守卫缺失或异常时失败关闭,不注册路由。 - home 路径最小化 —
/mebular/embed-info不再暴露service.unitPath;现有已文档化的profile、provider、service和daemonUrl字段保留。
修复
mebular serve --help— 在读取配置、写 heartbeat、抢 store lock、绑定端口之前打印用法并退出 0;-h行为一致,包括已有 daemon 占锁时。- 验收测试隔离 — OpenCode 插件套件使用 hermetic 临时 home,不再读取真实
~/.mebular;DSHmanaged-cli-missing场景用 test-only 开关屏蔽宿主 App provider,并使用每场景独立的MEBULAR_SERVICE_HOME,真正走到download_required。 - DSH 版本矩阵 —
current更新到0.2.2-rc.1;minimum 保持0.2.1-rc.2。
验证
- 全量 Jest:3416 passed, 1 skipped。
- DSH E2E minimum / latest:各 9/9 场景、212/212 检查。
- DSH E2E negative control:通过,故意破坏的插件仍被正确判红。
verify:dsh-plugin:214/214 检查。- 变更文件 ESLint 与
node --check:通过。 - release 分支重新执行同一门禁后才发布;桌面安装包仍为 unsigned。