fix: tab status indicator should not turn green until session is truly ready #157

Closed
opened 2026-02-24 11:00:54 -08:00 by hikari · 0 comments
Owner

Summary

The tab status indicator currently transitions from yellow (loading) to green (active) too early — before the session is actually ready for user interaction.

Current behaviour

The indicator turns green before the session is fully initialised, giving a false signal that the agent is ready when it may still be starting up.

Desired behaviour

The indicator should only turn green once the session is confirmed ready. The definition of "ready" should be:

  • Without greeting enabled: The agent has returned its session ID (i.e. the system init message with session_id has been received)
  • With greeting enabled: The agent has returned its greeting (i.e. the first assistant message has been received)

This ensures the green indicator accurately reflects that the agent is ready and waiting for user input, rather than just that the process has started.

References

  • Related to session initialisation flow in wsl_bridge.rs and session state management

This issue was created with help from Hikari~ 🌸

## Summary The tab status indicator currently transitions from yellow (loading) to green (active) too early — before the session is actually ready for user interaction. ## Current behaviour The indicator turns green before the session is fully initialised, giving a false signal that the agent is ready when it may still be starting up. ## Desired behaviour The indicator should only turn green once the session is confirmed ready. The definition of "ready" should be: - **Without greeting enabled**: The agent has returned its session ID (i.e. the `system` init message with `session_id` has been received) - **With greeting enabled**: The agent has returned its greeting (i.e. the first `assistant` message has been received) This ensures the green indicator accurately reflects that the agent is ready and waiting for user input, rather than just that the process has started. ## References - Related to session initialisation flow in `wsl_bridge.rs` and session state management ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-02-24 20:48:50 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#157