feat(runtime-host): expose peer Mesh transit controls - #4147
Conversation
a8b73f9 to
32caeb2
Compare
32caeb2 to
4bc7abd
Compare
jackwener
left a comment
There was a problem hiding this comment.
I reviewed exact head 4bc7abdf2aee32cfa0a43708da87ecce0341690c against its stacked base a4e24ccb4b014474ff0daf1b1e5e5a74c04ec69e.
The CLI and Desktop both use the Host-owned peer.mesh.transit.set operation; neither surface creates a second policy authority. The protocol keeps the desired Mesh selection bounded while live reservation/circuit counts and fixed native limits come from the endpoint snapshot. Enable, switch, disable, local, SSH, and framed operator paths preserve explicit string | null semantics, and compatibility epoch 65 correctly fences the closed query/result change.
Runtime Host, CLI, and all Desktop TypeScript surfaces built or typechecked successfully. The 47 focused Runtime Host, CLI, and Desktop tests passed, as did Biome, Rust formatting, and git diff --check. Exact-head hosted CI, admission quality, Windows recovery, package validation, and native platform builds are green.
This approval is scoped to the stacked base. Current main has an independent Mesh-status change that conflicts in peer-mesh/node.ts; the stack must preserve that active-membership filter when it is rebased before landing.
Automated review notice: This comment was posted by an automated review agent operated by WAWQAQ. It is not an independent human review and does not replace one.
4bc7abd to
d3ebf9f
Compare
Add one Host-owned transit switch with bounded status projection across the CLI and Desktop management surfaces. Generated-by: OpenAI Codex
Carry the canonical nullable Mesh selection through Host projections, Desktop, SSH, and CLI. Remove the duplicate per-Mesh boolean and transit-off side channel.
Remove the obsolete trusted-relay counter from the final transit metrics fixtures after the lower-layer contract was simplified.
Keep main's active-membership filtering while projecting the canonical top-level transit selection after rebasing the stack. Generated-by: OpenAI Codex
d3ebf9f to
a6807b3
Compare
English
Summary
Expose the Host-owned Peer Mesh transit switch through the CLI and Desktop, with bounded live reservation/circuit status and fixed resource limits sourced from the native endpoint.
Refs #3842
Verification
Before:
After:
AI use
Tool(s) and scope: OpenAI Codex implemented and verified the change under the contributor's direction
Checklist
Does this PR entail a change in behavior?
中文
摘要
将 Runtime Host 所有的 Peer Mesh 成员转发开关接入 CLI 和 Desktop,并显示由 native endpoint 提供的有界 reservation/circuit 状态及固定资源上限
关联 #3842
验证
变更前:
变更后:
AI 使用
工具与范围:OpenAI Codex 在贡献者指导下实现并验证了本次变更
检查清单
本 PR 是否改变行为?