New task from selected terminal text

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react, typescript

調査の方向性

Start in TerminalSelectionMenu.tsx and trace how “Ask another agent…” opens its dialog, then find the New Task dialog and how it receives its prompt and project. Add “New task from selection…” with the selected text and current task’s project prefilled while leaving the task running. Done when the dialog opens with both defaults and the prompt remains editable.

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

説明

What are you trying to do?

While reading an agent's output in a task's terminal, I often spot something that deserves its own task: a follow-up the agent mentions, a bug it noticed on the way, a refactoring it suggests but should not do in this task. Today I select the text, copy it, open a new task and paste it in. Right-clicking the selection only offers Copy, Ask another agent… and Second opinion…, and none of them starts a new task.

What would help?

A New task from selection… entry in the terminal selection menu (TerminalSelectionMenu.tsx), next to Ask another agent…. It would open the New Task dialog with:

  • the selected text pre-filled as the prompt, so I can edit it before starting,
  • the current task's project selected by default.

The current task keeps running untouched, the same way Ask another agent… leaves it alone.

What do you do today instead?

Copy, open the New Task dialog, paste.

Contributing
  • I'd like to work on this myself.

I'm willing to open a PR for this. Happy to adjust the approach first if you'd rather see it somewhere else (another label, the same entry in the diff viewer, or a keyboard shortcut).


Drafted with Claude Code (Opus 5.5).

主要言語
TypeScript
スター
1k
フォーク
144
平均マージ
4日 19時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

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

johannesjo/parallel-code のほかの issue

johannesjo/parallel-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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