Add the experimental v2 session store to interactive fx - #1073
Merged
Merged
Conversation
fazxes
added this pull request to stack #1084
September 28, 2026 17:58
fazxes
removed this pull request from stack #1084
September 28, 2026 18:00
fazxes
added this pull request to stack #1085
September 28, 2026 18:39
fazxes
force-pushed
the
fazxes/sessions-v2-interactive
branch
2 times, most recently
from
September 28, 2026 21:11
b8d6545 to
42c5870
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-interactive
branch
from
September 29, 2026 04:24
03c9eff to
8465ba0
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-interactive
branch
from
September 29, 2026 05:41
8465ba0 to
639691a
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-interactive
branch
from
September 30, 2026 22:11
639691a to
6fddfe4
Compare
fazxes
marked this pull request as ready for review
October 1, 2026 01:01
- Honor --sessions-v2 and FX_SESSIONS_V2=1 in interactive fx: new sessions are saved as an append-only log in ~/.fx/sessions/v2/<id>/. - Resume v2 sessions with -c, --resume last, --resume <id> and the -r picker. - List v2 sessions in the session picker, and keep titles set with /rename. - Save each finished exchange while a turn runs. After a crash the turn comes back interrupted, and -c continues the session. - Keep images, fetched pages and command output for v2 sessions in ~/.fx/session-files/<id>/. - Show fx --sessions-v2 --resume <id> in the exit hint, and keep the flag when fx relaunches after an upgrade. - Leave subagents off in interactive fx while the flag is on. - List --sessions-v2 in fx --help.
- With FX_SESSIONS_V2=1, picking a session that another fx has open shows "This session is open in another fx" right away, as the v1 picker does, instead of freezing the app for two seconds first. - Other resumes still wait up to two seconds for the session to be released.
fazxes
force-pushed
the
fazxes/sessions-v2-interactive
branch
from
October 1, 2026 01:03
6fddfe4 to
ca01d68
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--sessions-v2andFX_SESSIONS_V2=1in interactivefx: new sessions are saved as an append-only log in~/.fx/sessions/v2/<id>/.-c,--resume last,--resume <id>and the-rpicker./rename.-ccontinues the session.~/.fx/session-files/<id>/.fx --sessions-v2 --resume <id>in the exit hint, and keep the flag when fx relaunches after an upgrade.--sessions-v2infx --help.Stacked on #1072.