Skip to content

feat(hermes): always pass --tui when launching hermes#28

Open
aksOps wants to merge 1 commit into
mainfrom
worktree-hermes-tui-default
Open

feat(hermes): always pass --tui when launching hermes#28
aksOps wants to merge 1 commit into
mainfrom
worktree-hermes-tui-default

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented May 16, 2026

Summary

  • BuildCommand now injects --tui into every hermes invocation it produces: fresh spawns, resume-by-id, resume--c, and both resume fallbacks. ctm only ever drives hermes through its TUI surface, so callers no longer need to remember the flag.
  • Covers all three call sites (internal/session/spawn.go, both branches in cmd/attach.go) because they all route through BuildCommand.

Test plan

  • go build -tags sqlite_fts5 ./...
  • go test -tags sqlite_fts5 ./... — 417/417 across 20 packages
  • go vet ./...
  • Smoke: spawn a new hermes session via ctm new / ctm yolo and confirm hermes comes up in TUI mode

🤖 Generated with Claude Code

ctm only ever drives hermes through its TUI surface; bake --tui into
BuildCommand so every spawn (new/yolo/yolo!/safe/resume) and every
resume fallback gets it without callers having to remember.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

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