Inbox: `inboxLaunch.startIn: "herdr"`: start new agents as Herdr terminals

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

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

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

Đánh giá

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

Hướng nghiên cứu

Start by reading the existing inboxLaunch.startIn handling for "rex" and the code that launches Inbox agents. Trace how it builds the command and handles stopping or respawning sessions. Add "herdr" using the Herdr commands and labels described in the issue; done means launched agents appear in Herdr's agent list and can be stopped and resumed.

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

Mô tả

Problem

The Inbox starts a new Claude Code session with claude --bg. Claude's own supervisor hosts it. So a terminal
workspace such as the Herdr app does not see the session:

  • it is not in Herdr's agents list, so I do not see its status (working / blocked / idle);
  • Herdr's fuzzy switcher (cmd-p) cannot jump to it;
  • a Herdr chat UI (for example ChmaraX/herdr-chat) cannot open it.

Today I keep a claude agents tab open in Herdr as a workaround. It is a second list, apart from my other agents.

Request

inboxLaunch.startIn already has "rex". Please add "herdr", so the Inbox starts the agent as a normal Herdr
terminal. Herdr adopts any herdr-core terminal that has its labels:

hc run --keep --cwd <project> \
  --label herdr.space=<space id> --label herdr.tab=<tab id> \
  -- claude --name <thread> --settings <file> [--permission-mode ...]

Or through the app, which makes the tab: herdr-app do tab.new --name <thread> --argv '[...]' --focus false.

Then the agent shows in Herdr's agents list with its status, the switcher finds it, and a chat UI can open it.
Stop and respawn could map to hc kill <address> and a new run with --resume <session>.

Related: #3303 (show where an agent runs).

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

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 backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

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.