remote: --host redial loses keyboard focus and dumps ssh stderr over alt-screen TUI
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read cmd/codeaf/chatv3_host.go, tracing the redial lifecycle, focus handoff, and stderr tail-writer plumbing. Reproduce a reconnect in --host mode and verify that existing focus returns without an extra Enter and that SSH diagnostics do not paint over the raw alternate-screen TUI.
索引モデルが issue の本文から書いたものです。
説明
Summary
During remote SSH reconnects in --host mode, the client loses keyboard ownership and unbuffered SSH stderr corrupts the full-screen terminal buffer.
Items & Observed Behavior
- Loss of keyboard focus on redial: When an SSH link redials, the reconnecting client is treated as a new session arrival, displaying
"typing from another window now"and requiring an extraEnterkeypress to reclaim input focus. - Terminal corruption from SSH stderr: Network drop/reconnect diagnostics from the underlying
sshprocess write directly to stderr while the terminal is in alternate-screen raw mode, painting error text over the TUI frame.
Expected Behavior
- Reconnecting to an existing host session must seamlessly restore keyboard input without requiring manual reclamation if no other client took focus.
- SSH stderr during redial must be buffered or redirected to session logs, never printed raw to the terminal while in raw/alternate screen mode.
Root Cause / Location
cmd/codeaf/chatv3_host.go: Redial lifecycle, focus handoff logic, and stderr tail writer plumbing during reconnect.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 35分
- マージ済み PR(30日)
- 752
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Agent-Field/CodeAF#1592 ·
メンテナーはふだん 1 日以内に返信
-
area:headless bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1566 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
area:tests bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
siderolabs/terraform-provider-talos#414 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
JuliaComputing/jh#63 · コメント 1 件 ·
-
area/proxy kind/bug priority/backlog triage/accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lexfrei/cloudflare-tunnel-gateway-controller#840 ·
メンテナーはふだん 1 日以内に返信
-
Priority: Normal Type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/cloudflared#1747 ·