Skip to content

Start and close sessions on herdr-core-only machines #99

Closed

Description

@drafter-max

On a machine that runs only herdr-core (Herdr Desktop), with no classic herdr and no Shepherdr, the phone can watch and answer sessions but can't start or close them.

Starting: the + menu's Terminal needs a classic herdr workspace or Shepherdr (NewTerminal.can() in Spaces.kt; its comment says "herdr-core alone opens no terminal for the phone"). So there's no way to open a new shell or start a new agent in a herdr-core space.

Closing: the agent sheet only offers Details, Open terminal, Activity timeline and Browse the code. "Close pane", "Close tab" and "Close workspace" appear only for classic herdr sessions (ManageSheets.kt, the HcMapping.address(target) == null branch).

herdr-core already has both halves: hc run starts a terminal (with a program or a shell, in a folder) and hc kill <t> ends one. Supporting them would let a herdr-core-only machine be managed from the phone without going back to the desktop: a new terminal or agent from the + menu (or New › Agent), and Close on a herdr-core terminal.

App v0.1.520.

Activity

  1. changed the title [-]Close herdr-core sessions from the phone[/-] [+]Start and close sessions on herdr-core-only machines[/+] on Nov 7, 2026
  2. added a commit that references this issue on Nov 8, 2026
    f1e9b5e
  3. makefunstuff commented on Nov 8, 2026

    @makefunstuff
    Owner

    Thank you, @drafter-max, for such a clear report: pointing straight at NewTerminal.can() and the close branch made this quick to fix. 🙏

    Fixed in #123: on a machine that runs only Herdr Desktop (herdr-core), the phone can now start a shell from a space's ⋯ › New › Terminal (hc run), start an agent from Start work › Agent now, and close a terminal with Close terminal (hc kill, after asking). It's in the next build after v0.1.586.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions