Skip to content

Keep herdr behind one terminal_host module - #24

Merged
dgsienko merged 3 commits into
mainfrom
terminal-host
Oct 23, 2026
Merged

dgsienko merged 3 commits into
mainfrom
terminal-host

Conversation

@dgsienko

Copy link
Copy Markdown
Owner

Everything that talks to herdr now lives in diffui/server/terminal_host.py (renamed from herdr.py). The rest of the code imports it under neutral names and never sees herdr's agent dicts:

  • repo_agent_statuses() returns status strings for last turn
  • agent_pane_name() returns the agent's name for the prompt dialog
  • paste_to_agent_pane(), report_status(), clear_status() and available()

The /api/agent/prompt field herdr_agent is now pane_agent, renamed in the server, TUI and web UI together. UI copy names herdr only where the user needs to know it's required (the last turn hint). Behavior is unchanged.

There's no interface or registry, because herdr is the only host. Supporting another one means replacing this module's internals and changing the import in its five callers.

@dgsienko
dgsienko merged commit fd33fbb into main Oct 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant