Changelog

Every dx release, newest first. dx update installs the latest; dx version shows the one you have.

0.15.1

Stops that clean up after themselves.

Security

  • dx update saved the installer it downloaded in the temp folder and ran it from there, and the installer installed a dx it found beside it without checking it. On a Linux machine with other users and no TMPDIR of your own, another user could have their own dx installed and run as you, even with the release keys pinned. The install command from dxcli.com had a similar gap under bash 4.4 and later: run in a folder that held certain files, it could install the dx there without checking it. dx update now runs the installer from a private folder of its own, and the installer uses the files beside it only when you run it as a file named install.sh, as from a release you unpacked, and only you can change them and their folder. Every dx update runs dxcli.com's current installer, so updating from an older dx is protected as well. Affected: the installer in dx 0.5.0 to 0.15.0, run by the install command under bash 4.4 and later, or by dx update in dx 0.7.4 to 0.15.0. Corrected 2026-12-02: this line first said the range began at dx 0.7.3. The install command was affected from dx 0.5.0; the range for dx update is unchanged.

Changed

  • install.sh from an unpacked release no longer installs its files when they, or their folder, belong to another user or can be changed by others. It says so and downloads the release instead. When only a few of its files can be changed by others, it also gives the chmod command that lets it use them next time.

Fixed

  • A --json command no longer leaves temporary files behind when dx is stopped just as it starts, or when its output and messages go to a program that exits before dx answers. On Windows, such a run now exits 141, the code for a closed pipe; it exited 1 before.
  • dx doctor no longer stops partway with an error when dx's run folder in ~/.dx can't be read. It runs every check, and --json gives its full answer.
  • When dx can't write to its run folder, or to the file in it where a fork is recorded, dx fork now stops with nothing changed, says which one and, except on Windows, gives the command that fixes it. Before, it could stop with only the shell's own error, after it had already added the clone to your sessions: dx sessions listed a clone that never started, and each try added another.
  • When there is no dx in ~/.dx, dx doctor no longer says the dx on your PATH isn't the one there.

0.15.0

Sync keeps the name, color and group set last.

Security

  • Under tmux, dx wake, dx open and dx fork --open open a session in a new window named after it. A session's name or folder, whether set on this machine, received from another device, or taken from a share or a .dxsession file, could make tmux run a command, because tmux read parts of both as its own formats. dx no longer passes the folder to tmux: the dx that runs in the new window changes to the folder itself. dx passes the name without the characters tmux reads as formats. Affected: dx wake from dx 0.8.1, dx open from 0.12.0, dx fork --open from 0.13.0, and --take-over and dx wake --from from 0.14.0, all through 0.14.1. A new Windows Terminal tab no longer gets the folder either.
  • The lines dx printed for you to paste when you received a session carried its name without safe quoting, so pasting one ran any command the name held, in any shell. In PowerShell and cmd, quoting the name would not have been enough. Affected: dx 0.10.0 to 0.14.1. Those lines now give the session's id, and the other lines dx prints for you to paste carry names as plain text.
  • A session row received from another device or from a share could put control characters on your terminal, and one such row could stop the session picker for every session. dx now drops control characters, including the C1 range, from what it shows and from the picker's data. The picker now hands back only a session id. Affected: received names from dx 0.10.0 to 0.14.1 (from 0.12.0, dx dropped ASCII control characters from names, but never the C1 range); the picker, through a share, from dx 0.10.0. dx also uses the newest version its update check cached only when it is a plain version number, so a damaged cache can't put control characters on your terminal either.
  • dx sync through a git repo now drops control characters, including the C1 range, from the lines git prints for a push before they reach your terminal or the sync log, and dx's own messages quote what the sync host said as plain text.
  • dx's commit hook trusted the .dx file committed in a repository. In a repo where you had run dx enable, the repo's .dx could make the hook run a script the repo shipped, or pass any flags to claude, at your next commit there. Agent names can now hold only letters, digits, - and _, so a name can't reach outside dx's own agents, and a repo's .dx passes no flags: those come only from your own environment. Affected: dx 0.2.0 to 0.14.1.
  • On a device with no sync target of its own, dx sync used the one named in the .dx file committed in the repository you were in. There, dx sync push could send your sessions and transcripts to a place the repo chose, and dx sync pull could bring what was there into your sessions. dx sync enable started auto-sync with that place, which did both. The sync target now comes only from your own settings. Affected: dx 0.5.7 to 0.14.1.
  • dx's commit hook started claude -p in the repository at each commit. According to Claude Code's documentation, a claude -p run shows no folder-trust prompt, yet uses the repository's own Claude settings, their hooks included, and connects its .mcp.json servers without asking. So in a repo where dx's commit hook was installed, those files could run a command at your next commit there. A repo's .dx could also pick any agent dx installs. dx now starts that session with --setting-sources user, so, according to the same documentation, it reads only your own Claude settings, and a repo's .dx can only narrow the agents this device runs. Affected: dx 0.1.0 to 0.14.1.

Added

  • dx honors CLAUDE_CONFIG_DIR, as Claude Code does. dx used to look only in ~/.claude. With the variable set, it missed that home's transcripts, and a session open there looked closed, so dx could start a second Claude on it. Now dx snap, dx resume, dx fork, dx open, dx wake, dx sessions and dx ui all work in that home, and the tabs dx opens and the commands it prints carry the variable. Only a full path counts: dx ignores any other value and says so where it starts Claude or finds no transcript.
  • --copy-in for dx resume, dx open and dx fork copies a session from another Claude home into this one, for good. The old copy stays as it was.
  • dx wake <group> reopens only that group's sessions: a repo's, or the ones you put together with dx group. dx wake <group> <n> reopens row n of that group's list. A session with the same name as the group still comes first, and a word that could be a session id (only hex digits and dashes, with at least four hex digits) is never read as a group. In both cases, dx wake --group <group> reaches the group. When the group's sessions closed too long ago for --since, dx says how many, and which --since reaches them all. With --json, dx wake gives the group as group.
  • dx doctor checks dx on this device in nine places and says what to fix: the hooks of the repo you are in, the install, Claude Code, Node.js, dx connect, auto-sync, the terminal dx wake opens tabs in, the worktrees dx made, and what dx left behind. Each line starts with ok, note (worth knowing, nothing to fix), fix (with the command that fixes it, when there is one) or skip (dx could not check), and the last line counts what to fix. It exits 0 whenever it ran, whatever it found, so a script reads dx doctor --json instead: healthy is true exactly when every check ran and none needs a fix, and findings[] has one item for each thing it found. It changes nothing except two things other commands also keep up to date: Claude Code's version, and the newest dx release, which it looks up at most once every 7 days (DX_NO_UPDATE_CHECK=1 turns that off).
  • dx sync through a git repo leaves out of each push any transcript whose gzipped copy is over 100 MB, GitHub's limit for one file, and names each one it leaves out. The session still syncs, without its transcript, and dx sync status counts what was left out. For a host with another limit, set sync_max_file=<bytes> in ~/.dx/config (0 means no limit).

Changed

  • dx name <session> and dx group <session> now print Name: … and Group: … instead of the value alone. A script can read the value from dx sessions --json, or from the name and group fields of dx name --json and dx group --json, which are unchanged.
  • If you have CLAUDE_CONFIG_DIR set and use dx sync or dx connect, they now work from that home instead of ~/.claude, with no new step from you. Sessions in that home start going to your other devices, transcripts included, and a session in ~/.claude still goes to them, without its transcript. Transcripts go from one home at a time: the home of the dx run that sends them. The sync daemon and the connect node keep the home they started with until they restart.
  • Your other devices now hear of a session open under any Claude home dx has recorded on this device, even when the node started without the variable and even when you never snapped the session. dx's own open check reads the same homes, so it won't start a second Claude on a session open in one of them. A home dx has never recorded isn't read.
  • A session recorded in one Claude home is no longer copied into another. dx resume, dx open and dx fork copy nothing, start nothing and exit 1, and say the two ways to go on: run it in its own home, or use --copy-in. dx wake skips the session and reopens the rest. --json gives skipped: "other_home". Sessions dx has no record of, from another device or from before this release, go on as they did.
  • A Claude home dx cannot read no longer counts as a home with nothing open. Before, dx could start a second Claude on a session open there. dx resume and dx open stop on a session recorded in that home, dx wake skips it, and --json gives skipped: "open_unknown". dx drop keeps a worktree while such a home might hold a Claude in it. If dx cannot read any home, dx wake reopens nothing and dx wake --list exits 1.
  • Given more than one target, dx wake used only the last one, so dx wake 1 3 reopened row 3 alone. It now takes one target, or a group and one row of it, and refuses anything more with exit 2.
  • dx sync through a git repo now keeps each transcript gzipped in the sync repo, as blobs/<id>.jsonl.gz, so a push sends less. Each device still keeps and reads its plain copy as before, and now also keeps the gzipped copy beside it in ~/.dx/data/blobs. A sync through a git repo now needs gzip, which macOS, Linux and Git for Windows come with. A folder or rsync target still gets plain copies.
  • A transcript pulled through a git repo now keeps the time it last changed on the device that pushed it. Before, it took the time of the pull, so a session pulled from another device looked active as of the pull.
  • Before a dx sync push sends anything, it now says what goes up: how many transcripts and their size gzipped, and that it can take a while when that is 10 MB or more. The lines git prints for the push now go to stderr instead of stdout, and git's progress meter no longer shows.
  • dx snap now works in a git repository with no commits yet. It records the session with its branch and no commit, and says how to record the commit later: after the repository's first commit, run dx snap there again with the session's id or name. If that snap can't record the commit, it says why and exits 1. Before, dx snap refused to snap in such a repository.
  • Agent names, in a repository's .dx and in DX_AGENTS, can hold only letters, digits, - and _. dx skips any other name, with a warning, and runs no agent if none is left. An agent's flags now come only from DX_<NAME>_ARGS in your environment, for example DX_CLAUDE_ARGS: the <name>_args= keys in a .dx are ignored, with a warning, and dx init no longer suggests claude_args= in a new .dx.
  • A repository's .dx no longer sets the sync target: its sync= is ignored, and dx says so when you have no sync target of your own. The target comes from what you give dx sync, from DX_SYNC, or from sync= in ~/.dx/config.
  • dx now starts the Claude session at each commit with --setting-sources user, so, according to Claude Code's documentation, a repository's .claude/ settings and .mcp.json no longer apply to it. With a claude too old to have that option, dx starts no session, and dx doctor says to run claude update.
  • The agents= line in a repository's .dx can now only narrow the agents this device runs (the ones DX_AGENTS names, or claude when it's unset), never add one. A name there must match one of them exactly, case included, and dx says so when it skips one.
  • dx color and dx group now record when you set a color or group. When a sync target, a paired device or a share brings in another one for the same session, the one set last wins. Clearing one with --clear counts as setting it, so a clear now reaches your other devices too. When your sync target is a folder or an rsync host, a push now merges in the colors and groups already there, as it does sessions and names. Before, the one that came in always won, so a color or group you set could be undone by your next dx sync pull, by your next push to a git sync repo, or by an older one from a paired device or in a share. A push to a folder or an rsync host copied this device's colors and groups over the target's, which took out of the target those another device had pushed there since this device's last pull. A clear never reached your other devices.

Fixed

  • dx no longer leaves a copy of its script in the temp folder when a command fails, is cancelled or is interrupted. Each copy is a dx-*.sh file of about 900 KB, in %TEMP% on Windows and in $TMPDIR or /tmp on Linux and macOS. Copies that earlier versions left there are safe to delete once no dx is running.
  • After Ctrl-C, the prompt comes back only once dx has finished, and dx exits with its own status. Before, the prompt could come back while dx, or a program it had started, was still running and printing, and the exit status said Ctrl-C even when dx had handled it.
  • dx snap in a project folder with no transcript exited without a word. It now says "no Claude sessions found for this repo."
  • A tab opened in Windows Terminal failed when dx's path had a space in it, as it does under any Windows user name with a space.
  • When dx cannot write in Claude's home, it says so and leaves no partial copy for Claude to take as the session.
  • Commands given --json now print their JSON object even when dx cannot write to its own folder (~/.dx). Before, they printed nothing on stdout, only an error, and exited 1. dx sessions --json was not affected.
  • A push the git host refused, as GitHub refuses a file over 100 MB, was taken for "remote moved" and uploaded a second time, and the sync daemon uploaded it again at every pull. Now it is sent once, and dx says what the host refused and why; when the host's limit is lower than dx's, it also gives the sync_max_file line that leaves such files out. The daemon doesn't try that push again until something changes on the device, and dx sync status shows the refusal. When the daemon's push fails another way, such as a host that hangs up, it waits longer before each new try, up to an hour.
  • A pull that meets a file whose name git won't write on this system, such as one with a .git part in it, now stops before it changes anything, names the file and says how to remove it. Before, it failed with git's and tar's own errors.
  • When the sync daemon pulled through a git repo and a write on this device failed while it copied or merged the pulled files, it went on as if the pull had worked: its next push replaced the sync repo's files with this device's, taking out what other devices had pushed since. If the merge failed partway through writing the session list, the daemon also kept the partly written list and pushed it, so sessions this device had not pushed yet could be lost for good. Now a pull that can't finish stops without leaving any file here partly written, the sync log says why, and the daemon doesn't push until a pull can finish.
  • dx sync status, dx sync enable and dx sync disable now check that the process named in the daemon's pid file is dx's own. Before, once the number in it belonged to another program (after a crash or a restart), status said the daemon was running, enable started nothing, and disable stopped that program. Now disable leaves that program alone and removes the file, and enable starts the daemon. When dx cannot tell whether the process is its daemon, status says it may be running, and enable and disable change nothing and say what to do. On Windows, dx connect status and dx connect stop check the rsntr node's pid file the same way. dx sync status also no longer prints what the pid file holds when that is not a process number.
  • One dx at a time now writes the session list, so a session that dx snap adds while another dx rewrites the list is no longer lost. Before, dx snap reported success and the session was missing from the list afterward. While another dx is writing the list, a snap or a commit waits a few seconds, then adds its session anyway. A command that changes the list or a session's color or group waits a few seconds too, and if the wait runs out, it stops with nothing changed and says so.
  • dx sync enable now starts the daemon when the dx in ~/.dx has no execute permission (a copy made without it), and when the path to dx's folder has an apostrophe in it. Before, it waited 15 seconds and gave up. dx doctor also says when dx has no execute permission, which makes the commit hook fail in every repository where dx is enabled, and gives the chmod +x command.
  • On a Mac, dx sync enable no longer fails when dx runs outside a login session, as when launchd starts it at boot. dx started the auto-sync daemon through nohup, and Apple's nohup stops before it runs anything when it can't detach from the console session, so enable waited 15 seconds and gave up. For the same reason, a background job that dx starts itself when Node.js can't, such as dx feedback's retry, never ran, even though dx said it was retrying. dx no longer uses nohup; everywhere else, these work as before.
  • A name you give a session with dx name now stays through the next sync pull when you gave it in the same second as the name it replaces, or over a name from a device whose clock runs ahead. Before, the pull put the sync target's name back in both cases, and your other devices got that name too.
  • When dx sync merges the sync target's session list into this device's, the more recent entry for a session now wins, and a tie still goes to the target's. Before, the target's entry always won, so when this device updated a session's entry after its last pull, the next pull or push put the older entry back, and the update never reached your other devices. Recording a commit with a later dx snap (above) is one such update.
  • On Windows, the log of a background worker that dx starts, such as dx feedback's retry, now gets everything the worker prints, an error included. Before, it got only the lines dx writes there on purpose, so a worker that stopped on an error left no word of why there.
  • dx connect no longer prints a Node.js stack trace when an answer from rsntr is cut short. It says in one line that the answer isn't JSON.
  • When your sync target is a folder or an rsync host, dx sync push and the auto-sync daemon now merge in the sessions and names already there before they push, as a push to a git sync repo does. Before, a push copied this device's session list over the target's, which took out of the target the sessions and names another device had pushed there since this device's last pull. The daemon's push did so even after its pull had failed to merge them. Now, when dx can't read or merge what's there, it leaves the target's session list as it was and says why. Two pushes to the same target at the same moment can still overwrite each other. A push to any other folder or host, given on the command line, still copies over what's there, and now says so.
  • dx sync push to a folder now exits 1 with an error when it can't copy a file there. Before, it said the push was complete, and that file at the target stayed as it was.
  • When a folder that this device has pushed to before isn't there, as when its drive or share isn't connected, dx sync push no longer makes a new one in its place and copies everything into it: it pushes nothing, exits 1, and says what to do. The same holds for a folder on an rsync host. A folder this device has never pushed to is still made at its first push.

Notes

  • If you sync through a git repo, update every device to 0.15 before the first sync push. Transcripts now travel gzipped in a git sync repo, and a device on an older dx gets no transcripts from it until it updates. Until an updated device pushes again, each push from an older device takes out of the repo every transcript that device does not hold, and puts back plain copies of the ones it does. No device loses a transcript it holds. The first push from 0.15 gzips every transcript once, so it takes longer than the ones after it.
  • A color or group set on a dx before 0.15 loses to one set on 0.15, even one set before it. An older dx records no time for the colors and groups it sets. Until a device updates, its resume picker shows a number after a group set on 0.15 and a number alone for one cleared on 0.15, and a clear sent to it from a paired device or in a share leaves its color or group as it was. A clear through a sync target reaches it.

0.14.1

Locks that let go.

Changed

  • On Windows, dx takes a lock without starting another process, which saves about 90 ms each time. Every send to and receive from your other devices takes at least one, and dx resume, dx open, dx fork and dx wake take one when they bring a session's copy up to date.

Fixed

  • dx sync enable no longer stays stuck after an enable was killed or crashed while it started auto-sync. That enable left its lock behind, and every enable after it printed "Another 'dx sync enable' is already starting — exiting." and enabled nothing, though it exited 0. dx now takes the lock over once the process that held it is gone.
  • After a dx command was killed or crashed while holding a lock, two dx commands that reached the lock at the same moment could both take it over and run at once. dx resume, dx open, dx fork or dx wake could then add a session's missing lines to its copy twice, and a dx feedback note that was waiting to be delivered could be delivered twice. Now one takes the lock over and the other waits.
  • A lock left by a dx command killed while it was taking the lock no longer stays held after the clock is set back. Before, it held until the clock caught up.

0.14.0

One place at a time.

Added

  • One place at a time. dx resume and dx open refuse a session that is already open on this device, whatever runs it (a terminal, a --bg or -p run, an IDE, the desktop app), and say to go to its tab or clone it with dx fork. A session open on another device, as far as dx knows, opens as a clone under a new id, and dx says why: "notes is open on laptop (heard from 2m ago); opened clone ef567890 here. To continue notes itself, close it on laptop first." --take-over on resume, open and wake continues the session itself instead.
  • dx wake --from <device> reopens here, as clones, the sessions that are open on another device. dx first asks that device for its latest, and waits up to 10 seconds for it. --list shows what is open there, --dry-run what would open, and --take-over continues each session itself instead of cloning it. For a session with no copy here yet, dx prints the command that sends it from that device.
  • --worktree on dx resume, dx open and dx fork: the session runs at its commit, in a git worktree of its own. dx makes the worktree from the checkout on this device that holds the session's repository: the folder you're in, the session's own folder, or else the folder you used most recently with that remote. It reuses a worktree it made before. The worktree goes under ~/.dx/worktrees/, on a dx/<name> branch, and a clone gets one of its own. The files .worktreeinclude lists are copied in, when they're ignored and untracked at that commit. --dry-run says what it would do and makes nothing. It needs git 2.17 or newer.
  • dx drop removes the session's worktree when nothing there would be lost: the worktree is clean, no Claude runs in it, and everything in it is pushed. Its ignored files go with it only when you say yes after dx lists them by the pattern that ignores them, or when that pattern is on your disposable list. A git repository nested inside it goes only with a yes of its own. By default dx asks first, and -y says yes for that one drop (never for a nested repository). When dx keeps a worktree, it says why and gives the command to remove it by hand. A drop that comes from another device never removes a worktree.
  • dx config lists dx's settings on this device and sets them:
    • open-elsewhere says what resume, open and wake do with a session that is open on another device: clone (the default), ask first, or refuse.
    • drop-worktree says what dx drop does with a worktree it could remove: ask first (the default), remove it always, or never.
    • dx config disposable --add '<pattern>' adds a .gitignore pattern whose files a drop may delete without asking: for this repo, or with --every-repo for all of them.

Changed

  • dx brings the copy here up to date before Claude starts. When dx holds a longer copy of the session that continues the one Claude will read (another folder's, or one that a sync or another device brought), it adds the missing lines first. When dx knows the copy here is behind, or has gone separate ways from another device's, it doesn't open the session under its own id unasked: resume and open say why and give the ways out (wait for the lines, clone it, or --take-over), and dx wake skips it. A clone starts from the copy here as it is.
  • A take-over says whether the copy here is current, measured against every device the session is open on: "The copy here has everything laptop and tablet last reported." or "The copy here is missing the last 4 KB of what tablet last reported." When the copy is known to be behind, --take-over asks first, naming the device that is furthest ahead; -y answers yes, and with no one to ask it exits 5. Your devices now tell each other how long each open session's transcript is, so dx can say.
  • With --json, a take-over's took_over names the device its behind_bytes is measured against, in behind_from.
  • When another device's lines for a session can't join the copy here, dx says so when you open it: it asks for them and waits, names the lines that stay on the other device, or tells you how to go on with them there.
  • A quiet device gets a session's details once, and again only when they or where it's open change.
  • dx snap and a clone now keep 40 characters of a commit's hash, not 7. dx log, the picker, dx ui and dx's messages still show 7.

Fixed

  • A session you took over and closed on one device now sends its last lines to your other devices, even when no push carried them while it was open.
  • A session running in the background (claude --bg or -p), in an IDE or in the desktop app now counts as open on its device: another device opens it as a clone instead of under its own id, and dx sessions --json shows it in open.here. dx wake still reopens only sessions that ran in a terminal.
  • dx wake no longer reopens a session that is still running on this device in the background, in an IDE or in the desktop app.
  • On Ubuntu 26.04, and on other systems whose coreutils are uutils, two dx commands at once could both take the same lock, so a session's copy could get the same lines twice. dx now claims a lock with a marker file that only one process can create, whatever mkdir reports.
  • A clone started more than a day after dx fork --open printed its line no longer loses its claim: the cleanup of day-old tab batches had deleted the pending claims along with them.
  • On Windows, dx sync no longer converts line endings. With Git for Windows' default setting (core.autocrlf=true), a sync pull wrote transcripts and dx's lists back with CRLF line endings, so a copy synced in no longer matched the one Claude writes. The sync repo now converts nothing, and the next sync removes the CRs an earlier one left. Nothing in a transcript changes but those CRs.
  • On Windows, dx gets every argument as you typed it. Before, a value with *, ?, [ ], { } or a leading ~ in it was expanded against the files in the current folder or your home folder, single quotes and some backslashes were dropped, and a value starting with @ was replaced by the words in the file it named: dx group <id> '~' stored your home folder's path, and dx name <id> @notes stored what the file notes says.

Notes

  • Update all your devices. dx 0.14 keeps 40 characters of a commit's hash, which a device on 0.13 shows in full, and the protections for a session's last lines need 0.14 on both devices. When the other device still runs 0.13, dx names its version and says to run dx update there.
  • release-keys: the same two keys now also allow a second signature namespace; no key was added or removed.

0.13.1

Names stay names.

Security

  • dx ui's page shows every name as text. A session name, folder, branch, agent or device name with a quote in it, from this machine, another device or a share, could slip code into the page, which ran when you opened it, with every transcript on the page in reach. dx now escapes quotes too, and the page carries a Content-Security-Policy: only its own script runs, and it loads nothing. A page built by an older dx stays as it was until you run dx ui again.

0.13.0

Scripts can rely on dx.

Added

  • dx fork <session> --open starts the clone in a new terminal tab and returns, as dx open opens a session. dx makes the clone's id first, so it says which session the clone is, and --json gives it as clone_id. It needs Claude Code 2.0.73 or newer. A clone gets its own row as it starts, and once it has run it counts as yours: listed like a snap, and never pruned by dx tidy.

Changed

  • dx send says what it queued for each device ("Queued … for …", never "Sent") and exits 1 when it couldn't queue the session for any device. With --json, each device it aimed at gets a results[] item: what was queued, or why not.
  • dx connect join says how many sessions it queued and for which devices, and when they arrive, and names a device that refused some. It says nothing when there's nothing to queue; before, it said "Sent 0 sessions.".

Fixed

  • Two devices, or two friends, with one name no longer let dx pick one silently. dx send, dx connect forget, dx share and dx share forget exit 4 and list both, and forget nothing. An id prefix now needs 4 characters, in any case.
  • When dx couldn't read the list of running processes (a busy machine can refuse a new process), dx wake treated every open session as closed and could reopen one that was still open. It now says it couldn't tell what's open, reopens nothing and exits 1, and the open-session list keeps its last good state.
  • A session lookup whose list couldn't be read no longer says "no session matching": the verb says the list couldn't be read and exits 1.
  • dx color <group> no longer says a group has no claimed sessions, or doesn't exist, when listing its sessions failed (a busy machine can refuse a new process). It says the listing failed, changes nothing and exits 1.
  • A device dx has never heard from gets a session's details first, like one not heard from in a day, and the transcript goes with the next push after it has answered. A new pairing's first push still sends everything.
  • A tab dx opens from inside a Claude Code session no longer inherits its markers, which had turned transcript saving off.
  • dx fork my notes now exits 2 and shows the quoted form, dx fork 'my notes', as dx open does. Before, it quietly forked the session "notes".

Notes

  • Scripts can rely on dx. From this release, dx sessions --json (contract 1.0), the exit codes and the no-question rule (--no-input) are stable: a breaking change to any of them is announced here at least one minor release and 30 days ahead. The --json results of the other verbs stay dx's own and may change in any release. Every field, code and rule is in the scripting reference.

0.12.2

Now on ARM Linux.

Added

  • dx installs on Linux on ARM (arm64): Docker and dev containers on Apple Silicon, ARM cloud servers and Raspberry Pis running a 64-bit OS. The documented install failed there before, because no ARM Linux build was made.

Changed

  • dx connect now runs rsntr 0.3.0. dx update moves the rsntr that dx installed to it: a checked download, then one restart of the node. A device set to LAN only stays on rsntr 0.2.1, because 0.3.0 can't do LAN-only between machines yet.
  • On a machine dx has no build for, the installer says so before it downloads anything, and names the builds there are. Windows on ARM installs the x64 build, which Windows 11 runs under emulation.

Fixed

  • On Windows, sending a session no longer stops the node for a moment (rsntr 0.3.0).
  • With rsntr 0.3.0, dx connect forget and dx share forget now also cancel the messages still waiting for that device or friend.
  • The folder that holds a device's connect key is now readable only by you on macOS and Linux.
  • After dx update, a running auto-sync restarts on the new dx; before, it kept running the old one until it was restarted.
  • dx connect join and dx receive try a knock again when it couldn't dial (a node that has just started), up to three times. When the other device won't take another knock from this one yet (it takes one a minute), they now say so ("Try again in a minute") instead of "could not reach".
  • On Windows, connect.log no longer has dx's lines overwritten by rsntr's own output. The serving rsntr now writes to ~/.dx/log/rsntr.log.
  • A message that a device made earlier but delivered later, after a newer one had arrived, was skipped for good. dx now reads messages in the order they arrive.
  • A session or message that arrived while dx was already receiving one no longer waits for the next message or an auto-sync tick. Windows with rsntr 0.3.0 hit this most.
  • dx sync disable stops auto-sync for real. A release's dx runs the script as a child, and disable stopped only that parent while the sync loop kept running. dx update stops a running daemon's loop everywhere, and on Linux, WSL and Windows also the loops an earlier dx sync disable left running. On macOS such a leftover loop keeps running until you stop it: ps -A -o pid,command | grep '[s]ync daemon', then kill <pid>.

0.12.1

Hooks where git runs them.

Fixed

  • dx enable puts the hook where git runs it. It works in a linked worktree or a submodule (both failed with "Not a directory"), and a repository's worktrees all share its hook. With core.hooksPath set, it no longer writes a hook git never runs: it names that folder, prints the two lines to add to its post-commit, and exits 1. dx disable cleans both folders. dx enable also makes the hooks folder when it is missing, and refuses a dx folder whose path holds a quote, $, a backtick or a line break.
  • A repo you removed dx from stays quiet. dx's hook line now does nothing once dx is gone. Before, a repo that dx was removed from without dx disable printed "No such file or directory" on every commit. A commit updates an older dx's line to the new form, and dx enable says when it updated one.
  • A session you dropped could come back when another device sent it with its id in other capitals, and a dropped session that someone shared back could be dropped again at the next sync. A drop now holds however the id is spelled.
  • On a file system that tells capitals apart, such as Linux's: dx drop, dx tidy and a drop from another device now remove a session's transcript copy however its id is spelled, a sync pull no longer brings a dropped session's copy back, and a session that comes from two devices keeps a single copy.
  • A name not yet marked, that dx 0.11 wrote with gawk 5.3 on another device (the awk Git for Windows ships), is recognized as dx's own: the session's title replaces it, as it does any name dx chose. A name that 0.12.0 already marked as a person's keeps that mark.

Changed

  • The Uninstall steps, in the README and on dxcli.com's docs page, say to run dx disable in each repo first, then remove the files, and what happens to a repo you miss.

0.12.0

Name a session; it sticks.

Added

  • dx sessions lists every session, newest first, with what dx knows about it. dx sessions --json prints all of it as one JSON document for scripts and tools, the way dx itself reads it: sessions, groups, devices and contacts; which sessions are open here and on your other devices, and which dx wake can reopen (when last seen, before the last reboot or not, whether its folder still exists); where each session's transcript is, how big it is and when it last changed; and where dx ui's page is and which sessions it lists. --here <folder> adds which sessions belong to that folder. --scan rescans first; without it the answer is as of the last scan, whose time the document gives. --transcripts also counts each transcript's messages and finds when it started; counts are kept, so a later run reads only what was added. --here, --scan and --transcripts work only with --json, and --json needs Node.js; the list for people does not.
  • Name a session from the command line. dx name <session> <name> (alias dx rename) gives a session a name, dx name <session> shows it, and --clear removes it here.
  • Open a session in a new terminal tab: dx open <session>. It opens where the session last ran, or in the folder --cwd names, and dx returns at once, so scripts can use it; --json says whether a tab opened, and gives the command to paste when none could. It uses dx wake's terminals (tmux, Windows Terminal, iTerm2, Terminal.app; in VS Code's terminal and anywhere else it prints the command), or the one --terminal names.
  • Exit codes a script can rely on: 0 ok (a no-op too), 1 error, 2 usage, 3 not found, 4 ambiguous, 5 needs a person, 6 cancelled.
  • --no-input (right after dx or after the verb) and DX_NO_INPUT=1: never ask. DX_INTERACTIVE=1 asks even when the terminal reports a pipe.
  • --json on the commands that change something: snap, drop, color, group, wake, tidy, send and receive print one object on stdout. It implies --no-input.
  • --help (or -h) on every command: its usage, exit 0, nothing else runs. dx help <command> shows the same.
  • dx ui --no-open builds the page without a browser, dx ui --out <path> writes it elsewhere, and dx ui --json gives page_path, built_at and sessions (the rows the page lists).
  • dx resume -y also answers the "commit outside this history" question. dx sync setup takes -y and a URL.
  • dxcli.com has a changelog page (dxcli.com/changelog.html, built from this file) and a privacy policy (dxcli.com/privacy.html), which every page links to.

Changed

  • A session target matches whole, never as a substring. dx resume, fork, drop, send, share, color and group take a session by its number in the list (resume and fork), its full uuid, a prefix of at least 4 of its hex characters, or its name — exactly, else ignoring the case of A–Z. They used to take the first session whose id merely contained what you typed, so dx drop 3 removed whichever session's id held a 3. A target that fits several sessions is now an error that lists them; a prefix shorter than 4 characters is read as a name.
  • A name sticks. A name you give with dx name or in the picker (Ctrl+R), and a /rename in Claude, is replaced only by a later /rename: never by a re-snap, by a /rename made before it, or by a device on an older dx. Names you gave in the picker before 0.12.0 stick too: the first snap after the upgrade keeps any name dx didn't make itself. When a re-snap keeps your name over a different /rename title, it says so and prints the dx name command that switches to the title. A name made only of hex digits and dashes is refused, so it can't be mistaken for a session id.
  • dx finds a folder's Claude sessions by Claude's own rule. Claude names a project folder by turning every character but letters and digits into "-" (and shortens a very long name with a hash); dx turned only ":", "/", "\" and "_". Any folder with a dot, a space or another character in its path — every .claude/worktrees/* checkout — got the wrong name: a plain dx snap there found nothing, and dx resume linked transcripts into a folder Claude never reads.
  • Resume and fork link the newest copy of a transcript into a folder that has none: the newest under any Claude project folder, else the copy dx keeps from another device — not whichever one a directory listing returned first. A copy already in the folder is still never replaced.
  • dx resume, dx fork and dx open follow a Claude projects folder that is a link. A transcript copy that dx keeps as a link is not followed (dx keeps them as regular files).
  • Edits from a device that has the session open apply here. A rename, color or group change made on another device to a session that is open there is meant to take the session over; the receiving side never read that the session was open, and silently refused it.
  • One row per session. Every write to sessions.tsv and its sidecar files keeps a single row per session, and a rewrite folds away duplicates an older device or a hand edit left behind. A session keeps its newest row, and stays snapped when any of its rows was a snap — a sync or another device can no longer turn it back into an auto. In the sidecar files the last row wins, as it already did for the picker and the viewer. A commit hook that runs several agents records one session, under the first of them.
  • Usage errors exit 2, not found 3 and ambiguous 4; previously they exited 1. An unknown sub-command of dx sync, dx connect or dx _admin printed its usage and exited 0; it now exits 2 with the usage on stderr. Cancelled (n at any prompt, Esc in the picker) is exit 6, previously 0 everywhere. A question with nobody to answer is exit 5; previously it was 1 at snap, resume, fork and sync setup, and 0 at tidy, wake and share.
  • dx asks nothing without a terminal: it says which flag answers instead. The picker needs a console.
  • dx help, -h and --help change nothing. An unknown command prints the help to stderr and exits 2; an unknown argument to dx ui (it was silently ignored), or an unknown flag or extra argument to dx sync setup, is a usage error (exit 2) too.
  • dx log shows one line per session. A session that a person named on another device is now in the default list, because it already counts as claimed (the resume picker always listed it). -t auto and -t live filter by the session's type. Rows with a broken id or time are hidden. --uuids prints ids in lowercase, as dx sessions --json does, and --group and --device ignore the case of A–Z only, as finding a session by name does.
  • dx color --group colours the sessions the group lists, including a session named on another device. On a group whose sessions are all unclaimed it says so, and how to list them (exit 3).
  • dx tidy never removes a session whose newest row it does not recognize, and decides per session: an older snap row keeps a session.
  • dx connect list counts sessions, not rows. dx connect now sends the transcript of a session whose id is stored in capitals (it sent only the session's details before), and sends a session spelled two ways once.
  • dx sync bundles transcripts from one listing of the whole store, keeps each copy's modification time, and no longer makes a second copy of a transcript whose id is spelled differently.
  • A session's /rename title, first message and folder are read in full: a quote in a title no longer cuts it short.
  • Names, group labels and the open sessions a device reports are stored without control characters, and cut by character instead of by byte. Names and group labels are also stored as valid UTF-8: a broken byte sequence is dropped. After the update, a device may receive once more the details of sessions whose name or row holds non-ASCII characters.
  • A session's name in a message never carries a control character, even a name an older version stored.
  • Messages name a session by the first 8 characters of its id, as dx name does. The full id stays in commands and in --json. The help and every command's usage fit an 80-column terminal.
  • dx fork says what a fork is: the copy remembers everything so far, then goes its own way. It never made a git branch, and its help no longer says so.
  • dx ui opens its page through dx's shared page opener: from WSL that is the Windows browser, and when no opener works dx says where the page is instead of failing. The page is written private to its owner (0600).
  • dx ui's count is "Snapped or named": the sessions you snapped or gave a name, which dx log lists by default.
  • dx init writes a .dx for Claude Code only, and notes that hook scripts for other tools exist but are untested and unsupported.
  • dx update's "what's new" link opens this page on dxcli.com. It pointed at a release page on GitHub that most people could not open.
  • The copyright line in dx version and the LICENSE name Axiom DX Labs, LLC.

Fixed

  • dx connect and dx wake work with the awk Debian 12 and Ubuntu 22.04 install by default. That awk (mawk 1.3.4) has no {n} repeat count in a pattern, so dx never recognized a device, a transcript, a session open on another device or one to reopen: connect sent nothing and wake found nothing. A second mawk quirk would then have made every push send each session's details again; that is fixed too.
  • dx runs with busybox awk (Alpine and other small systems). busybox read a few lines of dx as calls to functions that do not exist ("Call to undefined function"): the resume and fork lists and device sync failed, and dx connect pair, join and dx feedback printed the error.
  • A name, group label or folder path whose bytes are not UTF-8 no longer breaks dx on a Mac. macOS's awk stops at such bytes when it matches a pattern, so dx log came out empty and device sync stopped; gawk cut the row short. dx log columns now line up on every system.
  • dx feedback works in the bash every Mac ships (3.2). It stopped with "unbound variable" before sending, so a note could not be sent from a stock Mac, and a title with an accent, a dash or the ellipsis of a long first line reached the maintainer as bytes that are not UTF-8.
  • A device you pair or join gets your sessions right away, even while another send is running. dx skipped its own send when one was already going, and the one going had not heard of the new device, so the sessions waited for some later push. Pairing now waits for it (and says so after two seconds), and tells you when the sessions have to follow later; joining no longer says "Sent N sessions" when it sent nothing.
  • A device whose sync hook had been switched off, or whose hook setup failed, could silently stop receiving from your other devices. dx now turns the hook back on, checks that it took, and says so if it can't.
  • dx ui no longer leaves out the chat of a session whose folder has a dot or a space in its path.
  • dx reads a store file saved with Windows line endings or a BOM.
  • dx tidy no longer stops on a commit with a regex character in it.
  • dx wake on macOS read the wrong number for the last boot.

Notes

  • dx sessions --json and the --json results are dx's own JSON: dx's own tools read them, and they may change until 0.13.
  • docs/CONTRACT.md describes dx from a script: the dx sessions --json document, the exit codes, the --json results and the rule that dx never asks a question without a terminal.

0.11.13

Fewer places to trust.

Changed

  • dx connect install checks rsntr against a hash pinned inside dx. It used to fetch the expected hash from the same GitHub release as the download, so anyone who could replace the release's files could replace both. The hashes of the five rsntr 0.2.1 files are now in dx itself, covered by the signed dx release, and a file that doesn't match is refused before anything is unpacked. DX_RSNTR_SHA256 names a different hash to expect, for a mirror that holds another build.
  • dxcli.com and dx ui no longer load fonts from Google. Inter and JetBrains Mono (SIL Open Font License) are served from dxcli.com's own files, and the dx ui page embeds them, so neither page asks any other host for anything, and Google no longer sees your IP address when you open them. The pages look the same.
  • The key fingerprints are published on a second site. The README, the docs page and SECURITY.md point to axiomdxlab.com/security, so a first install can be checked against something other than dxcli.com.

0.11.12

Releases are signed, and the installer checks them.

Added

  • The installer checks what it downloads. install.sh fetches SHA256SUMS from the same site and stops, before it unpacks anything, if the tarball doesn't match its line in the list, so a corrupt or truncated download can't install. DX_SKIP_VERIFY=1 skips the check, for a mirror that doesn't carry the list.
  • Releases are signed. SHA256SUMS has an OpenSSH signature, SHA256SUMS.sig, from one of two keys listed in release-keys, which now ships in every tarball. An install keeps those keys as ~/.dx/release-keys. From then on the installer and dx update take a release only if its list carries a good signature from one of them, so a taken-over dxcli.com can't get a swapped installer or tarball past an install that has the keys. dx update also checks the installer against the signed list before it runs it.
  • Verify a release by hand. The README and the docs page ("Verify a release") give both keys, their fingerprints and the ssh-keygen -Y verify commands. The very first install still trusts dxcli.com once, because there are no keys to check against yet; verify the release yourself to avoid that.

Changed

  • Once keys are pinned, dx update and the installer need ssh-keygen (OpenSSH 8.0 or newer). Git for Windows, macOS and current Linux have it. Without it dx update says so and stops; DX_SKIP_VERIFY=1 goes ahead anyway.

0.11.11

Fork any session by name, snapped or not.

Changed

  • dx fork <name> and dx resume <name> find a session you never snapped. They only looked among your snaps, so dx fork dx-soc2 said "no session matching" for a Claude session that dx snap dx-soc2 found a second later. When no snap matches, they now look through Claude's sessions the way dx snap <name> does (this folder first, then every folder), show what they found, and ask Snap it and fork it? [Y/n]. Enter snaps it and carries on; -y skips the question; with no terminal to ask, dx prints the dx fork -y … command instead. A session from another folder is recorded as that folder's, the same as dx snap records it, and a name shared by sessions in different folders is listed for you to pick by uuid, never guessed.
  • A session you snapped and later renamed in Claude is found by its new name, without asking.
  • Your first dx resume <name> or dx fork <name> works before you have snapped anything.

Fixed

  • Sessions the commit hook starts no longer inherit git's hook environment. Git runs hooks with GIT_DIR, GIT_INDEX_FILE and the commit's author and date set, and an agent session started from the hook kept them: its git commands acted on the committing repo whatever folder it was in, and its own commits carried that commit's author and date.
  • dx update links the release notes at their new home, github.com/Axiom-DX-Labs/dx.

0.11.10

A note to the maintainer, in one command.

Added

  • dx feedback <note> — tell the maintainer something in one command: no account, nothing to install, no form. dx bug <note> and dx idea <note> say which kind it is; bare dx feedback asks for one line; dx feedback < notes.md sends a longer note. Along with the note go the dx version, OS, bash and Claude Code versions and the terminal — the line printed before sending is exactly what is attached; never paths, names or sessions. --bare sends the note alone, --dry-run shows the whole issue and sends nothing.
  • It always lands somewhere. The note goes to a small relay (feedback.dxcli.com) that files it as an issue in the dx repo. If the relay cannot be reached it waits in ~/.dx/feedback/outbox/ and a detached worker retries for a few minutes. The next bare dx says when a note went through and gives waiting ones another try; dx feedback --retry sends them on demand.
  • Limits: a note can be up to 16 KiB, and one address can send six notes per ten minutes. Nothing is sent unless you run dx feedback.

0.11.9

Call a group what you call it.

Added

  • dx project, dx tenant, dx herd and dx bucket are aliases for dx group, and so are the plurals (dx groups, dx projects, dx tenants). Bare, they list the groups.
  • The flags take the same words. In dx log, --project and --tenant work as --group, --projects and --tenants as --groups, and --by-project and --by-tenant as -g. dx color takes --project and --tenant for --group. A missing value now names the flag you typed.

0.11.8

A maintenance release.

Unchanged

  • Every command works as it did in 0.11.7: internal changes only.

0.11.7

The session viewer knows your session names.

Changed

  • dx ui shows and finds sessions by name. Every row and chat view was titled by its git branch, and the search box never looked at names, so a session you knew by its name (the one dx log and the picker show) could not be found by it. A named session is now titled by its name with the branch beside it, and typing part of the name finds it. Unnamed sessions look as before.

0.11.6

The session viewer loads every history again.

  • Fixed: dx ui came up blank. The viewer inlines your sessions into a script block, and a browser ends a script at the first "</script" it meets — even inside a transcript that quotes HTML. Such a history showed an empty list, a syntax error in the console, and fragments of transcripts spilled across the page. The data now goes out with every "<" escaped, which reads back as the identical text.

0.11.5

A quieter install and update.

Changed

  • The install is a handful of lines. It says what it is downloading, where it put it, and ends with one line: ready. run 'dx' to get started. The detail that used to scroll past (platform detection, a temp "Source" folder, "Files copied", "Directory ready") is behind DX_VERBOSE=1. If ~/.local/bin is not on your PATH or Node is missing, the warnings come before the last line and it says "almost there" instead of "Done!", because dx would not run yet. The PATH hint names the right profile file for your shell.
  • dx update says what it is doing, then the result, in the style of herdr update:

    checking for updates...
    already up to date (0.11.5)

    An update prints updating 0.11.4 to 0.11.5... and updated. what's new: <link>. The installer no longer repeats its own ceremony inside an update, and no longer tells someone who just ran dx update to run dx update anytime. dx update --verbose shows the installer's detail.

  • Version numbers in these messages drop the leading v, to match dx version.

Fixed

  • dx update 0.0.1, a version that does not exist, printed a wall of gzip and tar errors. It now says that version is not available for your platform. An installer that cannot be reached says could not reach dxcli.com. dx 0.11.4 is unchanged.

Notes

  • Anything that parses the old ==> lines of the installer should use DX_VERBOSE=1 for the detail, or dx version for the version.

0.11.4

Windows receives again, and sends faster.

Fixed

  • Windows stopped applying what its other devices sent, from 0.10.1 until now. The receive that the node's hook starts in the background was run through bash whenever dx had no .exe. An install can hold the compiled program under both names, bash refuses to run it, and the receive died the instant it started. So did the share-knock worker. Other devices showed as "seen days ago", their sessions and presence never arrived, and a new friend's dx share only worked while its terminal stayed open. dx now decides by what the file is, not what it is called. If your Windows device is behind, run dx update, then dx connect _recv once to apply what is waiting.
  • One attachment that cannot be fetched no longer freezes everything behind it. Receive stopped at such a message and every later one, presence and renames included, waited for as long as the sender stayed unreachable. It is still held back, but only for three passes over ten minutes. Then it is dropped, the rest flows, and the sender is asked, at most once an hour per session, for a fresh full copy. A dropped copy is never applied late over something newer.

Faster

  • Sending to several devices on Windows pauses the node once, not once per device. Importing an attachment there means stopping the node and starting it again, about 9 seconds per send. A push now does that once, and again only after every 20 sends so a big backlog never keeps the node down for long. Ctrl-C brings the node back first. Each send also skips a helper start it did not need.
  • A device not heard from for a day gets only the small record. Its transcripts used to pile up in an outbox that expires, and each one cost a node pause. The full copy follows once the device is heard from again. dx send <session> <device> always sends everything. DX_CONNECT_OFFLINE_AFTER sets the limit in seconds and 0 turns it off.
  • dx connect join and dx connect pair show what they are doing. They used to go silent while sending your sessions to the new device. They now say how many and show a counter.

Notes

  • DX_CONNECT_DEFER_TRIES and DX_CONNECT_DEFER_SECS change those limits; the bookkeeping lives in ~/.dx/connect/deferred.tsv.

0.11.3

Resume opens fast on Windows.

  • dx resume, dx fork and dx drop open their picker in about a second on Windows (measured 27s → 0.9s on a 296-session store). Deciding which sessions belong to the current folder ran as a bash loop that started several processes per session — about 50ms each on Git Bash — and the same loop existed in five places. It is now one awk pass applying the same four matching rules, and the open-sessions refresh no longer blocks the picker on a terminal (scripts still get a settled ledger).
  • Fixed: a " or \ in a branch name made the picker fail to start, and rows missing a session id showed up as blank picker entries.

0.11.2

Snap a session from any folder.

  • dx snap <name> works from any folder. If no session in the current folder matches the name or uuid, dx looks through every folder Claude has sessions in, shows where it found one, and snaps it after a yes — Enter accepts, -y skips the question, and with no terminal to ask dx won't snap it and prints the dx snap -y … command instead (a snap also goes to your paired devices). The snap records that folder's repo, branch and commit, as if you had run it there; a session whose folder was deleted is recorded by path, and one started in a subfolder of the current repo needs no confirmation.
  • dx never guesses between folders: the same name on different sessions in different folders is listed for you to pick by uuid. A session dx resume linked into several folders counts once, as its newest copy.
  • Fixed: a snap target found in the folder's path snapped an arbitrary session. The uuid-fragment match ran over each transcript's full path, so dx snap dx inside ~/…/dx (or dx snap .) matched every session and silently snapped whichever sorted first. Fragments now match session ids only, literally; an id fragment several sessions share is an error listing them, unless one session's exact name settles it.

0.11.1

One color for a whole project.

  • dx color --group <group> <color> colors every session in a group at once. Each member gets its own color, so dx wake, replication to your devices, dx share and .dxsession bundles behave exactly as for a session colored by hand. --clear clears them all; dx color --group <group> lists the members and their colors. Membership is what dx log -g shows (snaps and claimed autos); a session added to the group later is not recolored until you run it again.
  • Plain dx color <name> <color> also accepts a group name when no session matches it — a session always wins a name clash, and --group forces the group. A miss on both now says no session or group matching.
  • dx log --uuids prints just the uuids of the listed sessions, one per line, honoring every filter — for scripting.

0.11.0

Sessions by project.

  • dx group <session> <group> — put a session in a project group. Every session already belongs to one: by default the repo it was snapped in (the same name dx log shows under REPO), so twenty sessions fall into six projects with no setup; a label moves a session elsewhere — two repos into one project, or one repo split into several. dx group <session> shows its group, --clear returns it to its repo's group, and bare dx group lists every group with counts.
  • dx log -g groups the listing under one header per group, newest activity first; --group <g> shows one group (case-insensitive); --groups prints one line per group with its session count and last activity. All combine with -t, -r and -n.
  • Wherever names and colors go, groups go too. groups.tsv merges with dx sync, replicates to your devices over dx connect, rides along with dx send, dx share and .dxsession bundles, and dx drop / dx tidy clean it up. The resume picker shows a #group badge on labelled sessions and searches by group. Grouping an auto session claims it, like naming or coloring it.

0.10.1

Share works from Windows.

Fixed

  • dx share and whole-session sends from a Windows machine never left it. rsntr 0.2.1 has no control socket on Windows, so sending a transcript as an attachment (chat send --file) found the blob store locked by dx's own serving node and failed. dx share still said "sending…" and waited ten minutes for an acknowledgement that could not come, and the same failure silently kept whole sessions from replicating from Windows to your other devices. dx now pauses its node for the import (a couple of seconds offline; peers retry on their own) and starts it again — one pause per attachment.
  • A failed send is reported. dx share prints ✗ could not send to <friend>: <reason> and the retry command — the friend is a contact by then, so no new code is needed. dx share <session> <friend> exits 1 with the reason. rsntr's error text is on its stdout, which dx used to discard; connect.log now keeps it.
  • dx connect status on Windows reported the node as not running while it was.
  • A friend who received from you before can redeem a new share string. Their node is admitted by yours, so a second knock is answered on the spot and never reached the owner: dx receive waited five minutes and dx share ten, with nothing in between. The code now travels as a message when the knock comes back pre-admitted, and the sharer redeems it the same way.
  • A transcript from a peer that restarted meanwhile now arrives. When the sender's node came back on new ports (a Windows sender does that for every attachment; LAN-only mode has no relay to find it again), the receiver kept dialing the old address, and the hello that carried the new one waited behind the very message it was needed for. A blob that cannot be fetched now looks ahead for the peer's newer ticket and tries once more before deferring.
  • Windows: a brand-new device received nothing until its node was restarted. Hooks registered after the node started were not seen by it; a fresh node now gets its hooks before it starts.
  • Windows: a dropped session's transcript that another process had open at that moment is now deleted after a short retry rather than left behind.

Notes

  • Windows: a share knock that arrives through the node's hook is handled by a detached dx connect _knocks worker, since pausing the node cannot happen inside its own hook. docs/rsntr-feedback.md describes what an rsntr-side fix would look like.

0.10.0

A session for a friend.

Added

  • dx share <session> — hand one session to someone else who has dx. It prints a share string (good for 24 hours, once); your friend runs dx receive <string> and gets the session with its transcript, then dx resume continues it as their own fork: the received transcript stays as received, their continuation gets its own id, and sharing back never collides. Before anything leaves, dx shows what goes (name, size, messages, repo) and asks — a transcript can quote file contents and secrets.
  • Contacts. The first share pairs you as contacts; later shares are dx share <session> alice, no code. A contact is never a device: no introductions, no presence, no replication, and nothing they send but a share is ever applied here. dx share list, dx share forget <who>.
  • dx share <session> --file writes a .dxsession bundle (row, name, color, transcript) for email, chat or a USB stick; dx receive <file> imports it. No node needed on either side.
  • A received session is yours: it replicates to your own devices, dx log and the picker show who shared it, and the prompt mentions new arrivals once.
  • Share is for people, not for your own devices — those already get every session. dx receive refuses a string from one of your paired devices on the spot and points at dx send, instead of waiting in silence and leaving a stray contact behind; dx share says the same on screen if such a device knocks.
  • Fixed: dx share on Linux and WSL printed a stat filesystem report and an integer expression expected error before the confirmation prompt. Finding the newest transcript tried BSD stat -f first, which on GNU systems means filesystem-stat; it now uses stat -c first and falls back to BSD on macOS.

Notes

  • Wire: a share message from a contact carries the row and the transcript as a verified attachment; the receiver answers share-ack, which is what dx share waits for. Share codes are single use with a 24-hour life; the node hook handles the knock, so dx share does not have to stay open.

0.9.0

Your devices, connected.

Added

  • dx connect — pair your own devices into a network; every snap, rename, color and drop then replicates to all of them, peer to peer, with no repo or account in the middle. The transport is rsntr: an encrypted QUIC node per device (iroh), which dx connect install downloads for your platform, sha256-verified, into ~/.dx/bin. Pairing is one paste: dx connect pair on a device you already have prints a string, dx connect join <string> on the new one — and every device already in the network is introduced to it automatically. dx connect lists devices (online/offline, last seen, sessions, what is open where); name, forget, status and stop do what they say.
  • Live mirroring. Sessions open on a device are mirrored to the others as they grow — whole lines only, small tails inline, big ones as verified attachments — and show as type live until they are snapped. dx resume of a session from another device works like a synced one, and the device where a session is open owns it while it is open.
  • dx send <session> [device] — push one session now, to one device or to all; --full resends from scratch.
  • Presence. dx connect shows which sessions are open on each device right now.
  • Device-aware surfaces. dx log gains a DEVICE column once a session from another device exists, plus --device <name> and -t live; the resume picker shows an @device badge and searches by it; dx ui gets a Device filter and reads synced transcripts from blobs/, so a session from another device opens in the viewer.
  • The sync daemon carries peers. dx sync enable now runs on paired devices alone — a git target stays optional; dx sync status counts them. Each push cycle sends what changed, each pull tick receives and reports presence. Without the daemon, dx snap, dx drop, dx color and dx send push on the spot, and the rsntr message hook receives the instant something lands, with no dx process running.

Notes

  • rsntr is at 0.2.1 and can only serve detached on unix: Windows (Git Bash) is best-effort in this release — dx runs the node as a foreground child and polls for messages on daemon ticks.
  • ~/.dx/node holds this device's private key: never copy it to another machine, never put it in a synced folder (dx refuses iCloud/Dropbox/OneDrive paths). It is not part of dx sync.
  • ~/.dx/data/origin.tsv (which device a session came from) is a uuid sidecar like names.tsv, so sessions.tsv keeps its 8 columns. rsntr 0.2.1 has no blob garbage collection: the sending node's store keeps every full session copy it ever sent.
  • The design, the wire format and the ownership rule are in docs/CONNECT.md.

0.8.4

Snap by name.

  • dx snap <name> snaps a session by the name you gave it with /rename — the same name Claude prints in claude --resume "<name>" when a session exits. A uuid (or any fragment of one) still matches first; then names, case-insensitively: an exact name wins (the newest session if several share it), a partial name is accepted only when it matches a single session, and an ambiguous partial name lists the candidates instead of guessing.
  • A target that matches nothing now says so explicitly: no session matching '<target>' found (by uuid or name).

0.8.3

Snap-first views.

  • dx log shows your own snaps by default. The per-commit auto sessions the hook records are behind -t auto; -t all shows everything. New TYPE and NAME columns, and REPO/BRANCH now mean what they say: auto sessions record the real branch at commit time, non-git sessions show <path> (folder) with - for commit and branch, and old auto rows that stored the commit slug in the branch field display it under NAME instead.
  • The resume picker opens on your snaps too. Ctrl+T cycles snaps → all types → autos; the footer counts what's hidden. Naming an auto session (Ctrl+R in the picker) or coloring it (dx color) claims it — it then counts as one of yours. A search that matches nothing in the current lens quietly widens to all types, so filtering never dead-ends.
  • dx tidy --older-than 90d prunes old auto sessions — rows, names, colors, and synced blobs, each tombstoned so a later sync can't resurrect them. Snaps and claimed autos are never candidates, and Claude's transcripts under ~/.claude are never touched. --dry-run previews, -y skips the prompt.
  • Auto sessions now keep their commit slug as the session name and record the real branch in the branch column.

0.8.2.1

Non-git snap fixed on Windows.

  • Fixed: session commands in a non-git folder on Windows. On Git Bash, dx snap (and resume, fork, drop, log -r) in a folder that isn't a git repo always failed with no Claude sessions found for this repo. — dx keyed the folder by its MSYS path (/c/Users/...) while Claude Code, a Windows process, keys its project dir by the Windows path (C:/Users/...). The folder identity now uses the Windows form. macOS, Linux and WSL are unchanged.
  • Fixed: silent exit when a snap target matches nothing. dx snap <target> with a target that matches no session exited with no output at all; it now prints no session matching '<target>' found.

0.8.2

Session colors.

  • dx color <session> <color> — pin a tab color to a session (a palette name like blue/tan, or #rrggbb); dx color <session> shows it, --clear removes it, bare dx color lists the palette and every colored session. Colors live in ~/.dx/data/colors.tsv (uuid → hex) and sync across devices with the same union merge as session names; dx drop cleans them up.
  • dx wake reopens colored sessions colored. Windows Terminal tabs get --tabColor; iTerm2 tabs get the color via iTerm's OSC 6 sequence from inside the tab. Terminal.app has no tab colors. Colors you set through the terminal's own UI are not captured — pin them through dx and they survive wakes, reboots, and machines.
  • Only a strictly validated lowercase #rrggbb is ever stored, and it is re-validated at every point of use before reaching an argv or an escape sequence.

0.8.1.2

Build provenance in the banner.

  • Packaged builds stamp the short commit hash into dx version — dx 0.8.1.2 (wake) [abc1234] — so a bug report pins the exact commit an install was built from. Display-only: nothing parses it, and the version machinery is unaffected. Dev checkouts show no ref (honest: they aren't a published build); a "+" suffix marks a build from a dirty tree.

0.8.1.1

Four-segment versions.

  • Versions may now carry an optional fourth segment (X.Y.Z.W) for small same-patch respins. Unlike the retired "build N" suffix — which dx update could not see, so rebuilds needed --force — the fourth segment is part of the version proper: dx update treats 0.8.1 -> 0.8.1.1 as a normal forward update, and the weekly update nudge announces it. No parser changes were needed: the version machinery (update, nudge, installer, build script) already accepted dotted tails; this release just starts using them. The version string drops the build suffix: dx 0.8.1.1 (wake).
  • dx update now says how to reinstall the same version. The "already up to date" no-op mentions dx update --force, so the escape hatch is discoverable at the moment it's needed.
  • Supersedes 0.8.1 build 2 and carries its wake-tab transcript relink.

0.8.1 build 2

Wake relinks transcripts before resuming.

  • dx wake tabs no longer fail with "No conversation found" for sessions whose recorded folder differs from their launch folder. Claude scopes --resume <id> to the current folder's transcripts, but a session started in folder A that moved into a worktree (e.g. a Claude-harness worktree under .claude/worktrees/) records the worktree as its cwd — so the transcript lives under A's project dir and the resume died in the freshly opened tab. _wake-tab now relinks the transcript into the recorded folder's project dir before launching claude — the same find-and-copy dx resume has always done — covering moved sessions, harness worktrees, and synced-in sessions alike. Found live on macOS during the 0.8.1 release verification; the hold-open-on-failure tab is what made it visible.

0.8.1

Your sessions survive the reboot.

Added

  • dx wake — reopen the Claude Code sessions that were open before a reboot, a crash, or an accidentally closed tab. Each one comes back in its own terminal tab, in its own folder, resumed where you left off. Alias: dx restore.
  • Session ledger — dx now remembers which sessions are open while it runs. It reads Claude Code's process registry (~/.claude/sessions/) and records the live, interactive ones to ~/.dx/run/live-sessions.tsv. The scan is cheap and silent, and happens on every commit (via the dx hook), on bare dx, on dx snap / dx resume / dx fork, on each sync-daemon tick, and on demand with dx wake --scan.
  • Terminal adapters — dx wake opens tabs using whatever you're in: tmux, Windows Terminal (all tabs in one atomic launch), iTerm2, or macOS Terminal. Inside VS Code — which can't be scripted to open terminal tabs — and anywhere else, it prints ready-to-paste commands instead. Force one with --terminal <t> or DX_TERMINAL.
  • Wake flags — -y/--yes to reopen everything without asking, --list to look without touching, --dry-run to see the exact commands, --since <dur> to widen or narrow the window (default 72h), dx wake <n> to reopen just one.
  • Post-reboot hint — once per boot, dx mentions how many sessions are waiting to be reopened.

Changed

  • The sync daemon refreshes the session ledger on each pull tick, so with dx sync enable running the list is never more than ~30s stale.

Notes

  • dx wake reopens sessions, not window layout — tabs and their conversations come back; pane geometry and scrollback do not.
  • The ledger lives under ~/.dx/run/ and is never synced — your project paths and session names stay on the machine that recorded them.

0.8.0 build 2

Snap anywhere, plus a critical installer fix.

  • install.sh no longer silently aborts on macOS/Linux. detect_platform's last line was a bare [ "$os" = "windows" ] && BIN_NAME="dx.exe"; on any non-Windows host the test is false, so under set -euo pipefail the &&-list returns 1, and as the function's final command that becomes its exit status — aborting the whole installer with zero output and nothing downloaded. Every 0.8.0 build 1 curl -fsSL https://dxcli.com/install.sh | bash on macOS/Linux was a silent no-op. It's now an if-statement, so the non-Windows path always returns 0.
  • install.sh local installs exit 0 again. Same set -e class, in the EXIT trap: cleanup()'s only line — [ -n "${CLEANUP_DIR:-}" ] && rm -rf … — returns 1 when nothing was downloaded, and a failing EXIT trap overrides the script's exit status. bash install.sh from a checkout or extracted tarball (README methods #2/#3) exited 1 right after printing "Done!", breaking anything that checks the exit code. curl | bash was unaffected (the download path sets CLEANUP_DIR). cleanup now ends with return 0.
  • dx snap / resume / fork / drop / log -r / ui now work outside a git repo. A session taken in a plain (non-git) folder is keyed by its absolute path — the same identity Claude Code uses for ~/.claude/projects/<mangled-path> — with empty commit/branch/remote in sessions.tsv. resume/drop scope to the folder by exact path (plus the existing JSONL-in-project-dir fallback); fork forks the session without cutting a branch and says so; log -r filters to the folder. Behavior inside a git repo is unchanged. enable / disable / init still require git — hooks are meaningless without it. Because these rows carry empty middle columns, every while read over sessions.tsv now goes through a \x1f reflow first — tab is IFS whitespace, so consecutive tabs would otherwise collapse and shift every later field (uuid into the agent column, etc). And dx snap refuses a folder path containing a literal tab or newline rather than write a corrupt TSV row.

0.8.0

Continuous sync.

Added

  • dx sync enable — start a background daemon that watches ~/.dx/data/ and ~/.claude/projects/ and pushes changes to the configured sync target. Defaults: 10s push debounce, 30s pull interval, overridable via --push-debounce N and --pull-interval N. Intervals are persisted to ~/.dx/run/sync.conf.
  • dx sync disable and dx sync status — stop and inspect the daemon. Status shows PID, target, last push/pull timestamps, configured intervals, and last error.
  • dx sync trigger — tell the running daemon to do an immediate push+pull, bypassing debounce and interval. Silent no-op if no daemon is running, so it's safe to wire into git hooks unconditionally.
  • Hook integration — dx enable now installs both a post-commit hook (existing behavior: auto-snap sessions on commit) and a pre-push hook. Both nudge the auto-sync daemon via dx sync trigger so your latest commit and its session ride along with the very next sync cycle instead of waiting for debounce. dx disable removes both hooks. Pre-existing hook content is preserved.
  • Aliases — dx watch / dx unwatch / dx watch-status and dx auto-sync on|off|status all dispatch to the same handlers.
  • Squash-push transport — the daemon force-pushes a single orphan commit per cycle so the sync repo never grows beyond one commit. Manual dx sync push is unchanged. Periodic git gc --prune=now every 50 pushes keeps the local clone small.
  • Cross-platform file watcher — inotifywait on Linux, fswatch on macOS, pure-bash polling fallback on Git-Bash / MSYS / Linux-without-inotify-tools / macOS-without-fswatch.
  • DX_WATCHER env var forces a specific watcher (inotify, fswatch, or poll) regardless of what's on PATH — useful for testing and for opting out of native watchers on a system where they misbehave.

Changed

  • Constants moved together near the top of the script; BLOBS_DIR is no longer defined mid-file.
  • New state directories ~/.dx/log/ and ~/.dx/run/ are created on demand and safe to delete at any time.

Fixed

  • dx resume / dx fork with an all-digit UUID prefix (e.g. dx resume 1111 for session 1111abcd-…) no longer misreads the argument as a list index and fails — index resolution falls back to prefix and name matching before giving up.
  • Cold-start dx resume <session> on a fresh device no longer exits silently when ~/.claude/projects doesn't exist yet — the session is restored from synced blobs as intended.

0.7.5

Quiet update nudge.

Added

  • Tip in install.sh. A single trailing line — Tip: run 'dx update' anytime to pull the latest release. — now follows the existing "Done!" message at the end of every install. Pure discovery, no state file, no network call.
  • Update availability nudge at the bottom of dx (no args) and dx version. Parses ${DX_VERSION:-X.Y.Z} out of https://dxcli.com/install.sh (the same trick dx update uses — no separate /latest endpoint, no Render rewrite-rule exception), at most once every 7 days. Caches the result in $DX_HOME/.latest-known plus a $DX_HOME/.last-update-check timestamp. When a newer version is published, prints one line to stderr:

    dx 0.7.6 is available — run 'dx update' to install

    Silent on every failure mode: no curl on PATH, network error, malformed response (a strict semver-shape [0-9]*.[0-9]*.[0-9]* check drops HTML / error pages / truncated downloads), current already ≥ latest (sort -V handles preview/dev installs correctly).

  • DX_NO_UPDATE_CHECK=1 env var disables the check entirely. DX_INSTALL_URL being set also skips it (preview installs shouldn't be told the production version is "available").

Why it's quiet by design

The git post-commit hook (dx hook-run), the snap/resume/fork/drop flows, and the table/sync commands (dx log, dx sync, dx ui) all skip the check by design — it only appears on the two attentive-but-non-task surfaces where a single trailing line is on-topic.

Build 2 — resume / fork / hop stop failing with Argument list too long

  • The interactive picker was handed the entire sessions JSON as a node command-line argument. Once you'd accumulated enough snaps, the blob exceeded the OS ARG_MAX limit and the picker launch died with node: Argument list too long (E2BIG) — dx resume (and the fork / hop aliases that share the picker) printed the error and cancelled before the picker could open. The sessions JSON is now written to a temp file and the path is passed instead, so the size of your session history no longer matters. picker.js accepts either an inline JSON array (backward compatible) or a path to a file holding it.

0.7.4

In-place update.

Added

  • dx update — re-runs the official installer in place so you can upgrade without remembering the curl one-liner. UX patterns synthesized from a survey of brew, gh, rustup, deno, bun, uv, mise, and atuin:
    • No-op short-circuit. If you're already on the latest published version, dx update exits with dx is already up to date (v0.7.4) — no wasted download. Reuses the version embedded in install.sh as the source of truth, so no separate /latest endpoint is needed and preview installers carry their own version naturally.
    • Version delta in the framing. A forward update prints Updating dx: v0.7.3 -> v0.7.4... so you see exactly what's about to change.
    • Pin / downgrade. dx update 0.7.2 (also dx update v0.7.2) installs that exact version. Useful for pre-1.0 rollback. The framing flips to Installing dx v0.7.2 (current: v0.7.4)... so the intent reads as install-this-specific-version, not "newer is better".
    • --force / -f bypasses the no-op short-circuit to repair a broken install.
    • Release-notes link. After a successful forward update against the production source, prints release notes: https://github.com/ghgugle/dx/releases/tag/v0.7.4 on its own line. Suppressed for pinned versions and preview installs.
    • Pairs naturally with dx _admin preview <N> from 0.7.3: try a PR preview build, then dx update back to the official release.
  • DX_INSTALL_URL env var overrides the installer source (default https://dxcli.com/install.sh). Useful for installs from a Render preview, and used internally by the test suite to mock the installer without hitting the network.

Build 2 — install.sh stops deleting the new dx.exe on Windows

  • install.sh's Windows cleanup was deleting the binary it had just written. On MSYS, when only dx.exe exists, rm -f dx auto-resolves to dx.exe — so the cleanup intended for the stale extensionless shim from pre-0.7.3 installs was actually shooting the freshly-installed binary in the foot. link_binary then crashed with cp: cannot stat $DX_HOME/dx.exe and set -e aborted, leaving which dx pointing at the old version. Both rm -f calls ($DX_HOME/dx and $BIN_DIR/dx) are now find -maxdepth 1 -type f -name "dx" -delete, which matches filenames literally and never auto-resolves. The first Windows install from 0.7.4 build 1 worked because a real stale dx still existed; every subsequent upgrade silently failed. Build 2 fixes it.

0.7.3

Install builds from deployment previews.

Added

  • dx _admin preview <N> (alias preview-<N>) — install the dx build from a Render PR preview deploy. Resolves https://dx-pr-<N>.onrender.com, then runs that preview's install.sh with DX_BASE_URL pointed back at it, so the install pulls exactly that PR's build with no dxcli.com round-trip and no Render dashboard config. --dry-run prints the resolved command without installing.
  • DX_BASE_URL in install.sh — overrides the tarball download base (default https://dxcli.com), so installs can target a preview or mirror.

Fixed

  • Windows install replaces dx.exe correctly. install.sh was copying $src/dx everywhere, but the Windows tarball ships dx.exe. MSYS quietly auto-resolved the source-side filename, so ~/.dx/dx.exe was getting written — but link_binary then propagated the stale extensionless ~/.dx/dx from prior installs onto ~/.local/bin/dx, and which dx returned the old version even after a "successful" upgrade. install.sh now picks the right binary name per platform (dx vs dx.exe) for every cp/chmod/exists-check, and deletes stale extensionless shims left behind by older installs.

Notes

  • _admin is a hidden developer/maintainer namespace, omitted from the main help output.
  • Provider URL resolution is factored out so non-Render preview hosts can be added later — see ROADMAP.md.

0.7.2

Resume finds sessions opened in a different repo.

Fixed

  • dx resume / dx fork / dx drop now match by JSONL existence when the row's stored repo doesn't match the cwd. If you open a session in repo B that was originally auto-snapped in repo A (Claude writes the JSONL into B's project dir on claude --resume), dx now surfaces that session as "current" in B. Previously the row's stored remote was checked against B's remote, didn't match, and dx reported "no sessions found for this repo" — while dx snap in the same folder happily said "already snapped". One symptom, two commands giving opposite answers; the JSONL existence check resolves it.

Unchanged

  • The existing match priority — git remote URL → cwd basename — is preserved. JSONL existence is a tertiary fallback, so on a clean install where every session is in its original repo, nothing about resume changes.

0.7.1

Resume sessions across repos.

Added

  • dx resume -a / --all — open the picker (or resolve a numeric index) across every saved session, not just sessions from the current repo. Use this to pick up a Claude conversation started in repo A while working inside repo B. The picker opens pre-toggled to all-projects mode; Ctrl+A still toggles it back.
  • dx fork -a / --all — same flag on dx fork for parity. Branch any saved session into a fresh one without first switching directories.

Changed

  • When the picker has no current-repo matches, the error message now suggests dx resume -a (or dx fork -a) instead of stopping cold.

0.7.0

Session forking.

Added

  • dx fork [id] — branch any saved session into a fresh one without touching the original. Wraps claude --resume <uuid> --fork-session, so the original UUID stays intact and Claude assigns a new ID to the fork. Reuses the same picker, numeric-index, and partial-UUID resolution as dx resume.
  • dx branch — alias for dx fork.

0.6.0

Internet-based session sync via private git repo.

Added

  • dx sync setup — one-step sync configuration. Auto-detects the gh CLI, creates or reuses a private <user>/dx-sessions GitHub repo, and writes the target to $DX_HOME/config. Falls back to a prompted git URL for users without gh.
  • Git-repo transport for dx sync push|pull — treats a private git repo as a free, store-and-forward relay across devices. Reuses the existing TSV union-merge and tombstone logic; git is only the transport. Supports HTTPS and SSH URLs on GitHub, GitLab, Bitbucket, Codeberg, and any self-hosted git.
  • Global sync config — sync=<url> in $DX_HOME/config, checked between DX_SYNC env var and per-repo .dx, so the relay is configured once per device.

Changed

  • dx sync push on a divergent target now fetches and re-integrates remote changes before pushing, retrying once on non-fast-forward rejection.
  • Legacy local-path and rsync targets continue to work unchanged.

0.5.7

Compiled binary distribution.

Changed

  • Binary build — dx ships as a compiled Go binary with XOR-encoded bash script, protecting source from casual inspection
  • Per-platform tarballs — dx-0.5.7-linux-amd64.tar.gz, darwin-arm64, darwin-amd64, windows-amd64
  • dx hook-run — post-commit hook logic merged into dx as a subcommand; dx-hook.sh is now a backward-compat shim
  • JS minification — picker.js and build-data.js minified with esbuild in release builds
  • Remote URL normalization — dx resume and dx log now match sessions across SSH and HTTPS clones of the same repo (e.g. git@github.com:user/repo and https://github.com/user/repo)
  • Resume picker order — newest sessions shown first in interactive picker

0.5.6

Session management.

Added

  • dx drop [uuid] — remove a snapped session from sessions.tsv and names.tsv without touching the original Claude session files. Supports interactive picker or direct UUID lookup.

0.5.5

Cross-device session sync, public website, curl-pipe installer.

Added

  • dx sync push|pull — sync sessions and JSONL blobs to a local path (USB, NAS, shared folder) or rsync remote. Renames and updates from the push side take precedence on merge.
  • Resume from synced blobs — dx resume checks ~/.dx/data/blobs/ for JSONL files pulled via sync when not found in Claude projects
  • curl-pipe install — curl -fsSL https://dxcli.com/install.sh | bash downloads the tarball and installs automatically
  • Public website at dxcli.com — docs page, download button, no private repo references
  • build-public.sh — assembles the public/ deploy folder with site files and release tarball

Changed

  • Install URLs updated from GitHub to dxcli.com
  • DX_SYNC env var or sync= in .dx config for default sync target
  • Copyright notice added to dx version output and site footer

0.5.0

Cross-folder and cross-OS session resume, redesigned installer.

Added

  • Cross-folder resume — dx resume now works when resuming a session from a different clone of the same repo. The session file is automatically copied into the current project's Claude directory.
  • Cross-OS resume (WSL ↔ Windows) — sessions created on Windows can be resumed from WSL and vice versa. Handles the path mismatch between C:\Users\... and /mnt/c/Users/... project directories.

Changed

  • Installer redesign — styled ==> output with platform detection, version display, and structured progress messages
  • Remote install — curl | bash now downloads tarball from GitHub releases with SHA-256 checksum verification (supports sha256sum, shasum, and openssl)
  • Windows binary linking — installer uses cp instead of ln -s on MINGW where symlinks are unreliable for Windows programs
  • Git-clone migration — installer auto-converts old git-clone installs to file-based installs

0.4.0

Resume picker UX improvements.

Changed

  • Session viewer redesigned from table to card layout with search and filter dropdown
  • Ctrl+C double-tap safety check in resume picker
  • Minimalistic search icon in resume picker
  • hop/zap aliases for dx resume, entity renamed to "snap" in picker
  • Responsive search, lighter focus styling, search footer in picker

0.3.0

Session viewer, snap/resume, chat history, and interactive picker.

Added

  • dx snap — save your current interactive Claude session (aliases: dx slap, dx yoink)
  • dx resume — resume a saved session from any checkout of the same repo
    • Interactive TUI picker with search, arrow-key navigation, and scroll
    • Ctrl+R to rename sessions with custom display names (persisted in ~/.dx/data/names.tsv)
    • Ctrl+A to toggle between current repo and all projects
    • Ctrl+B to toggle branch — shows current branch badge and folder paths per session
    • hop and zap aliases for dx resume
    • Entity renamed to "snap" in picker UI ("Resume Snap", "No matching snaps.")
    • Session detail line shows canonical repo name, commit, agent, type, and uuid
    • Lists sessions by number, matches repos by git remote URL
    • Warns if session's commit is ahead of current HEAD
  • dx ui — opens a local session viewer in your browser
    • Stats bar: total sessions, unique repos, snap count, agent breakdown
    • Filterable by repo, agent, and type (snap/auto)
    • Sortable columns with clickable headers
    • Click any session with a chat icon to view the full Claude conversation
    • Chat detail view with user/assistant messages, thinking blocks, tool calls
    • claude --resume <uuid> shown for easy copy
    • Responsive design matching the dx site style
  • app/template.html — self-contained HTML/CSS/JS template for the session viewer
  • app/build-data.js — Node script that reads sessions.tsv + Claude JSONL files, outputs JSON
  • Session type tracking: snap (manual) vs auto (post-commit hook)
  • Git remote URL stored in sessions.tsv for cross-folder repo matching
  • dx log (existing) — show recent agent sessions in terminal
  • Canonical repo identity — sessions from different folders of the same repo (same remote URL) now group under one name in UI and stats
  • Folder path shown as tooltip in UI table and as detail line in resume picker

Changed

  • sessions.tsv format extended with two new columns: type (snap/auto) and remote URL
  • install.sh copies app/ directory (template + build script) to ~/.dx/app/
  • install.sh creates ~/.dx/data/ directory on install
  • Post-commit hook now records session type as auto and includes git remote URL

How it works

  • dx snap finds the most recently modified Claude JSONL in ~/.claude/projects/<project>/ and records it
  • dx ui uses Node to parse sessions.tsv + Claude JSONL files, injects the data into an HTML template, and opens the result
  • dx resume matches sessions to the current repo by git remote URL (or basename fallback), then runs claude --resume <uuid>

0.2.0

Multi-agent support and Entire-style install.

Added

  • Multi-agent architecture: Claude Code, plus hook scripts for other coding tools
  • Modular agent extensions (agents/<name>.sh) with dx_agent_run contract
  • .dx config file for per-repo agent selection and args
  • DX_AGENTS and DX_<AGENT>_ARGS environment variable overrides
  • dx CLI with enable, disable, init subcommands
  • One-liner install: curl -fsSL .../install.sh | bash
  • Custom agent support — drop a .sh file in agents/

Changed

  • Renamed from claude-session-fork to dx
  • install.sh is now a global bootstrap (installs to ~/.dx, links CLI to PATH)
  • Per-repo setup via dx enable / dx disable instead of bash install.sh
  • Config parsing is generic — any <name>_args= maps to DX_<NAME>_ARGS

Removed

  • claude-session-fork.sh (backward compat handled by install migration)

Migration

  • Repos with the old # claude-session-fork hook guard are auto-migrated on dx enable

0.1.0

Initial release.

  • Git post-commit hook creating Claude Code sessions per commit
  • Deterministic UUID session IDs from commit hashes
  • Slug generation from commit messages
  • install.sh for per-repo hook installation