From bdfca5d43c188799361484876713d4229a508c14 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 22 Nov 2026 19:59:34 +0000 Subject: pkgs/claude-remote: reset and remove, for what claude.ai deletes Deleting a remote's session on claude.ai leaves the remote a link to it (bridge-pointer.json), which it then can't resume (404). reset NAME forgets the session: moves the link aside (bridge-pointer.json.old), and the remote starts with a new one, stopped and started again if it runs. remove NAME retires a remote: stops it, and moves its directory and Claude Code project to ~claude/remotes/.removed/NAME-DATE, worktrees in it repaired; its branches and trust stay; not for static ones. Then the old session and environment can go, on claude.ai. Both ask first (y/N), but with -f, as root, not from the remote itself, all or nothing like rename, whose take-back they share (its messages generalized). .removed is not worth a backup: in the rsync filter. --- configs/claude/rsync-filter | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs') diff --git a/configs/claude/rsync-filter b/configs/claude/rsync-filter index de10d47..fb689da 100644 --- a/configs/claude/rsync-filter +++ b/configs/claude/rsync-filter @@ -23,6 +23,9 @@ # each (which gets backed up, as a symlink). - /claude/tmp/ - /claude/remotes/*/tmp/ +# Remotes retired with claude-remote remove: kept there for a while, +# in case, but not worth a backup. +- /claude/remotes/.removed/ # A secret (the claude.ai login); log in again after a restore. - /claude/.claude/.credentials.json -- cgit v1.3.1