tui3: slash command completion inserts bare command prefix into prompt instead of navigating
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
internal/tui3/input.go から始め、Enter で /task、/redo、または /workspace を選択するときに使用されるオートコンプリートハンドラーに焦点を当てます。インタラクティブチャットでパレット選択を再現し、プレフィックスを挿入するのか、実行イベントをディスパッチするのかを追跡します。これらのアクション専用またはナビゲーションコマンドが、プロンプトにコマンドプレフィックスを残さず、直ちに実行されるかビューを開けば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
Selecting /task, /redo, or /workspace from the / command list with Enter inserts the command string with a trailing space into the text box instead of opening the view, causing typed text to become an accidental paid task brief.
Observed Behavior
Pressing / opens the palette. Scrolling to /task and hitting Enter writes /task into the active input line. Typing subsequent text and pressing Enter submits the text as a /task <brief> command, spinning up a paid background task worker.
Expected Behavior
Selecting an action-only or place-navigation command (/task, /redo, /workspace) from the palette should execute or navigate immediately rather than leaving an open command prefix in the draft prompt.
Reproduction Steps
- In an interactive chat, type
/. - Select
/taskfrom the completion list and pressEnter. - Observe that
/taskremains in the prompt. - Type any message and press
Enter. A paid task run starts.
Root Cause / Location
Autocomplete handler in internal/tui3/input.go treats /task as an inline prefix insertion rather than dispatching a command execution event.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 37分
- マージ済み PR(30日)
- 755
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず 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 名 ·
メンテナーはふだん 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 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
priority/4/normal status/needs-triage type/bug/unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
authelia/authelia#13292 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
blinklabs-io/actions#138 ·
メンテナーはふだん 1 日以内に返信
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpointオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信