Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tui3: slash command completion inserts bare command prefix into prompt instead of navigating

クローズ 初心者向け
#1,548 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

internal/tui3/input.go から始め、Enter で /task、/redo、または /workspace を選択するときに使用されるオートコンプリートハンドラーに焦点を当てます。インタラクティブチャットでパレット選択を再現し、プレフィックスを挿入するのか、実行イベントをディスパッチするのかを追跡します。これらのアクション専用またはナビゲーションコマンドが、プロンプトにコマンドプレフィックスを残さず、直ちに実行されるかビューを開けば完了です。

索引モデルが issue の本文から書いたものです。

説明

area:chat bug sev:critical
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
  1. In an interactive chat, type /.
  2. Select /task from the completion list and press Enter.
  3. Observe that /task remains in the prompt.
  4. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。