CommandCodeAI / CommandCodeAI/command-code

Bug: Skill autocomplete only works at the beginning of the prompt

オープン
#367 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

p2
主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Summary

Skill autocomplete currently only works when / is typed at the very beginning of the prompt.

After selecting one skill, typing another / later in the same prompt does not trigger skill suggestions anymore.

Additionally, typing / anywhere after normal text also does not trigger autocomplete.

Expected Behavior

Skill suggestions should appear whenever / is typed, not only when it is the first character of the prompt.

This would greatly improve UX when chaining multiple skills in a single prompt.

Actual Behavior
  • No autocomplete suggestions appear
  • The full skill name must be typed manually

Also:

Typing:

please use /skill-a

does not trigger autocomplete either.

Image Image Image
Steps to reproduce the issue
  1. Open the CLI
  2. Type:
/skill-a
  1. Select a suggested skill
  2. Continue typing:
 /skill-b
Command Code Version

0.25.7

Operating System

Windows

Terminal/IDE

Power shell

Shell

No response

Additional context

No response

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

記載された手順に従って CLI で問題を再現します。通常のテキストの後にスラッシュを入力する場合と、最初の skill を選択した後に 2 つ目の skill を入力する場合を含めます。skill のオートコンプリートのエントリポイントを追跡し、Windows PowerShell で、連続した skill を含め、入力したすべてのスラッシュに対して候補が表示されることを確認します。

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

評価

領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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