Skip to content

feat: add clear-herd CLI and cross-platform builds - #1

Merged
Adron merged 1 commit into
mainfrom
codex/clear-herd
Oct 14, 2026
Merged

Adron merged 1 commit into
mainfrom
codex/clear-herd

Conversation

@Adron

@Adron Adron commented Oct 14, 2026

Copy link
Copy Markdown
Member

Summary

Add a Go clear-herd CLI that uses Herdr's agent and pane commands to close supported agents, clear their panes, and print resume commands. Capture native session IDs before /clear starts a fresh conversation, and report per-pane errors when a resume command is unavailable.

Add Codex, Claude Code, and Cursor Agent defaults, configurable profiles for other agents, a read-only preview, tests, a six-target GitHub Actions artifact build, and a usage README.

Validation

  • go test ./... passed.
  • go vet ./... passed.
  • Local cross builds passed for darwin, linux, and windows on amd64 and arm64.
  • A live --dry-run reached the Herdr server and showed the expected missing-session-metadata errors. No live agents were closed during validation.

Operational notes

Herdr must expose a native session ID or the agent must print a resume command. Agents with an active approval prompt are skipped; other unsupported agent kinds need a profile. Live agent shutdown will need a controlled end-to-end trial after merge.

Control supported agents through Herdr panes, preserve native resume IDs, clear freed terminals, and report missing resume commands. Add six-target GitHub Actions builds and usage documentation.
@Adron
Adron merged commit 483e907 into main Oct 14, 2026
14 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