Skip to content

Add Codex session manager for cross-instance sync and trash#324

Merged
jlcodes99 merged 1 commit intojlcodes99:mainfrom
GiZGY:codex/session-manager
Mar 27, 2026
Merged

Add Codex session manager for cross-instance sync and trash#324
jlcodes99 merged 1 commit intojlcodes99:mainfrom
GiZGY:codex/session-manager

Conversation

@GiZGY
Copy link
Contributor

@GiZGY GiZGY commented Mar 26, 2026

Summary

This PR adds a dedicated Codex session management workspace for multi-instance workflows.

Users can now:

  • browse Codex sessions across all managed instances from a standalone Sessions tab
  • sync missing sessions and threads across instances with one click
  • move selected sessions to Trash for safer cleanup
  • manage sessions in a grouped, collapsible layout closer to Codex's native thread list

What changed

  • added a standalone Sessions tab under Codex account management
  • added backend commands to:
    • list sessions across Codex instances
    • sync missing threads and sessions across instances
    • move selected sessions to Trash across instances
  • added frontend store, service, and types for Codex session management
  • added grouped session UI by working directory
  • kept groups collapsed by default so users expand manually
  • fixed session-page refresh overlap and expansion-state reset issues
  • added localized UI copy for the new session management flow

Scope

This PR is intentionally scoped to Codex multi-instance and session management only.
No non-Codex platform business logic was changed.

Validation

Ran locally:

  • npm install
  • npm run typecheck
  • node scripts/check_locales.cjs
  • cargo check

Manual checks on macOS:

  • Sessions tab renders correctly
  • session groups stay collapsed by default
  • expanding or collapsing one group no longer re-expands others unexpectedly
  • sync action writes missing sessions into other instances
  • move-to-trash action removes selected sessions from the manager list

Notes

  • Running target instances may still require restart before Codex itself reflects updated session or thread data.
  • Screenshot for this PR should use the masked session-manager view from local validation.

@GiZGY
Copy link
Contributor Author

GiZGY commented Mar 26, 2026

Snipaste_2026-03-27_01-46-46

@jlcodes99 jlcodes99 merged commit b93ce0c into jlcodes99:main Mar 27, 2026
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.

2 participants