Skip to content

feat: 后台面板选中导航 + BridgeClient 停止接线 + ReadPassword 密文框 - #457

Merged
liuqihonggit merged 2 commits into
mainfrom
w1
Oct 22, 2026
Merged

liuqihonggit merged 2 commits into
mainfrom
w1

Conversation

@liuqihonggit

Copy link
Copy Markdown
Owner

Summary

  • 面板选中导航:Shift+Down 进入(与 Shift+Up 消息导航对称);↑↓/kj 移动(跳终态条目+窗口跟随);Enter 查看任务四元组;x 停止选中;Esc 退出;选中行 ❯ 前缀高亮(对齐 ModelPicker 先例)
  • BridgeClient 停止接线:IReplEngine.StopBackgroundTask DIM 默认实现 + BridgeClient 发 stop_task 请求(对齐 Interrupt 发送形态)+ BridgeEngine/CommandPickerEngine 透传 + Demo --bridge 模式接线;Host 统一走 session.Client 多态(进程内/bridge 两路径零分流)
  • ReadPassword 密文框(TASK065 F2b 遗留收口):复用 CommandDialogCoordinator prompt 输入框全部件,仅加 IsPassword 形态维度(InputRequestKind 唯一数据源 + PasswordMask 掩码渲染 + 同步阻塞桥对齐 Confirm 先例)
  • 主代理 debug 3 处:BridgeClient 三处 _stdin 漏改(测试构造 null 进程解引用)+ IsEngineAlive null 安全

Test plan

  • NativeTui.Tests 1648 全绿(新增:面板导航 8 + BridgeClient 3 + CommandDialog 密文 7 等)
  • NativeTui.Host.Tests 111×2 连绿 + host.tests 引擎域 35 + Host --selftest 真跑 EXIT=0

… D=Shift+Down 进入面板选中态(分派链 cursorNav 后 suggestion 前——轻量模态对齐 _cursorNav 形态,与 Shift+Up 对称;选中行 ❯ 前缀+suggestion 色对齐 RenderModelListRow 先例;Enter 查看四元组消息首版非全屏详情;MoveSelection 到头停对齐 ModelPicker;窗口跟随 FollowWindowToSelection+TickEvict 钳制); E=IReplEngine.StopBackgroundTask DIM 默认实现(SimulatedEngine+全部测试 fake 零改动)+BridgeClient 发 stop_task(对齐 Interrupt 发送形态)+BridgeEngine/CommandPickerEngine 透传+Demo --bridge 接线(架构修正发现:BridgeClient 非 IReplEngine,BridgeEngine 才是适配器,Host 走 session.Client 多态)+ReadPassword 复用 CommandDialog prompt 全部件仅加 IsPassword 形态维度(InputRequestKind 唯一数据源,掩码渲染 PasswordMask.Of,同步阻塞桥对齐 Confirm 先例); 主代理 debug 3 处:BridgeClient 三处 _process.StandardInput 漏改 _stdin(测试构造 null 进程解引用)+IsEngineAlive null 安全(测试构造恒活)
@liuqihonggit
liuqihonggit enabled auto-merge (squash) October 22, 2026 17:02
@liuqihonggit
liuqihonggit merged commit 826cf49 into main Oct 22, 2026
@liuqihonggit
liuqihonggit deleted the w1 branch October 22, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant