[BUG] /tasks teleport uses truncated session ID

Resolved 💬 3 comments Opened Jan 4, 2026 by j9o Closed Jan 8, 2026

Description

When using /tasks and pressing t to teleport to a session, the teleport fails because the session ID is truncated.

Environment

  • Claude Code version: 2.0.76
  • Terminal: iTerm2
  • OS: macOS

Steps to Reproduce

  1. Start a background task or remote session
  2. Run /tasks to see the task list
  3. The Session URL displays truncated (e.g., rsessio instead of full session_01PMa1tBUY4LE3vPrsdXJZJW)
  4. Press t to teleport
  5. Fails with: Teleport failed: Invalid session ID: rsessio

Expected Behavior

The full session ID should be preserved and passed to the teleport function, regardless of display truncation.

Workaround

Use the full teleport command directly:

claude --teleport session_XXXXX

(requires copying the full session ID when the task is first started)

Notes

  • Widening the terminal has no effect
  • The truncation appears to happen in the UI rendering, not just display

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗