[Feature Request] Add session_name field to statusLine JSON input for renamed sessions
Resolved 💬 3 comments Opened Jan 12, 2026 by bigbox216 Closed Mar 1, 2026
Bug Description
When users rename sessions with /rename, the custom name is not accessible to statusLine scripts. The JSON input only includes session_id, not the custom name.
Current behavior:
- User runs: /rename my-feature-work
- StatusLine JSON only has: "session_id": "b9ce07a4-..."
- StatusLine can't display the custom name
Requested: Add session_name field to statusLine JSON input:
{
"session_id": "b9ce07a4-...",
"session_name": "my-feature-work", // NEW
...
}
Use case: Display human-readable session names in statusLine that match what users set with /rename.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.5
- Feedback ID: f9749fa9-fa70-462e-8872-d875baeb6c62
Errors
[{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.172Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.174Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.175Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.195Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.229Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.230Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.231Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at validateHeaders (/$bunfs/root/claude:858:1013)\n at buildHeaders (/$bunfs/root/claude:858:8517)\n at async buildRequest (/$bunfs/root/claude:858:7583)\n at async makeRequest (/$bunfs/root/claude:858:3411)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-12T15:22:56.232Z"},{"error":"Error: Could
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗