New task from selected terminal text

Đang mở
#356 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
67/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
TypeScript
Star
1k
Fork
144
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của johannesjo/parallel-code

Tất cả issue của johannesjo/parallel-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.