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

Open
#3,726 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 1m
Merged PRs (30d)
756

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.