Skip to content

Conversation

@anntnzrb
Copy link
Contributor

Summary

Changes

When using -c flag:

  1. session.list() is now loaded in the blocking phase (instead of non-blocking)
  2. The continue effect triggers at "partial" status (instead of waiting for "complete")

This ensures the session data is available immediately, so navigation to the resumed session happens before the dashboard ever renders.

Testing

  1. Start opencode, create a session with messages
  2. Exit
  3. Run opencode -c
  4. Session should appear directly without dashboard flash

When using 'opencode -c' to resume a session, the session list is now
loaded in the blocking phase instead of non-blocking. This eliminates
the confusing flash of the dashboard before the resumed session appears.

The continue effect now triggers at 'partial' status since the session
data is already available at that point.
@rekram1-node
Copy link
Collaborator

/review

rekram1-node and others added 3 commits December 19, 2025 14:38
- Move useArgs() to init top-level for safer SolidJS hook pattern
- Use spread syntax instead of .push() to avoid mutation
@rekram1-node rekram1-node merged commit 34eb03f into anomalyco:dev Dec 20, 2025
2 checks passed
rekram1-node added a commit that referenced this pull request Dec 27, 2025
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
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.

opencode -c shows dashboard before resuming session

2 participants