Skip to content

Rename 'claudes' command to 'sessions' for multi-executor support#330

Merged
bborn merged 1 commit intomainfrom
task/804-ty-cli-claude-command-needs-updating
Jan 31, 2026
Merged

Rename 'claudes' command to 'sessions' for multi-executor support#330
bborn merged 1 commit intomainfrom
task/804-ty-cli-claude-command-needs-updating

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 31, 2026

Summary

  • Renames ty claudes command to ty sessions (with backwards-compatible hidden alias)
  • Updates session listing to show executor name (claude, codex, gemini, etc.) for each task
  • Updates cleanup function to detect and clean up processes from all executors

Test plan

  • Build compiles without errors
  • All tests pass
  • ty sessions lists all running sessions with executor names
  • ty sessions cleanup works for all executor types
  • ty claudes still works as deprecated alias for backwards compatibility

🤖 Generated with Claude Code

…support

Updates the CLI to reflect support for multiple executors (claude, codex,
gemini, openclaw, opencode, pi):

- Rename `ty claudes` to `ty sessions` (with backwards-compatible alias)
- Update `listSessions()` to show executor name for each task
- Update `cleanupOrphanedSessions()` to detect all executor processes
- Update `getAgentMemoryByTaskID()` to track memory for all executors
- Rename `killClaudeSession()` to `killSession()` for consistency
- Update all related comments and user-facing messages to use generic
  "agent" terminology instead of "Claude" where appropriate

The sessions list now shows which executor each task is using:
  task-734  gemini    9MB     ...
  task-712  claude    132MB   ...

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit f682017 into main Jan 31, 2026
3 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