Uh oh!
There was an error while loading. Please reload this page.
feat(cli): add Runtime Host-backed TUI client adapter - #1676
Closed
M4n5ter wants to merge 2 commits into
Closed
Conversation
M4n5terforce-pushed
the
feat/runtime-host-tui-client-adapter
branch
from
August 2, 2026 17:49
49fecbe to
7093f0aCompareM4n5ter
commented
Aug 8, 2026
MemberAuthor
EnglishThis early adapter-only draft has been superseded by the subsequent Runtime Host TUI slices and the atomic production cutover in #2420. The current implementation includes the TUI transcript, multi-client convergence, and production ownership behavior through the newer architecture. Closing this stale draft in favor of the landed implementation. 简体中文这个早期仅包含 adapter 的 draft 已被后续 Runtime Host TUI slices,以及 #2420 的原子 production cutover 取代。当前实现已经通过更新后的架构包含 TUI transcript、多 client convergence 与 production ownership 行为。 因此关闭这个已过时的 draft,以已经合入的实现为准。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English
Summary
Add a Runtime Host-backed TUI adapter and an isolated executable harness, allowing the CLI to act as an independent client of shared Session authority.
The adapter maps TUI operations onto Runtime Host protocols, projects durable transcripts and live observations into the existing CLI model, and preserves local TUI behavior while another client is driving the same Session.
Shared Session behavior
Runtime Host transcript and replay
Boundaries
Validation
openrouter/freescenario verified mid-stream joining from the replayed start through the live terminal frame.Part of #1167 and #853.
中文
概要
新增基于 Runtime Host 的 TUI 适配器和隔离的可执行测试入口,使 CLI 可以作为共享 Session 权威状态的独立客户端运行。
该适配器把 TUI 操作映射到 Runtime Host 协议,将持久 transcript 和实时 observation 投影到现有 CLI 模型;当另一个客户端正在驱动同一 Session 时,也能保持本地 TUI 行为一致。
共享 Session 行为
Runtime Host transcript 与回放
边界
验证
openrouter/free的真实三 TUI 场景验证了执行中途加入:从回放起点连续显示到实时终止帧。属于 #1167 和 #853 的一部分。