| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For each repository the VM has (ssh claude: ~/src, but for symlinks,
i.e. third parties' in src/tmp), claude-inbox fetches its checkout here
(in $CLAUDE_INBOX_SRC, default ~/sync/src) from the remote claude, and
lists the branches there with something master doesn't have, compared
by content (git cherry), so rebased ones count as merged: with their
owner (the remote, by the branch's prefix, checked against the VM's
~/remotes, or tv, without one), what to do (review: it's new, on top of
master; rebase: master moved on, the remote's turn; done: master has
it all, to delete; yours: tv's own), what changed since show or take
(*), and whether master needs pushing (or, unexpectedly, the VM's has
something master doesn't). --by-remote groups by owner. show REPO
BRANCH shows master..BRANCH, with patches, show REPO BRANCH --diff=WHAT
the diff to it from WHAT (any branch or commit; by default, the local
branch of its name without the remote's prefix: B, for REMOTE/B), and
show REPO all branches, as a graph; take REPO BRANCH fast-forwards master
to it and pushes master to claude, or with -f (before or after the
arguments) renames master to abandoned/master-DATE, checks out BRANCH
as master (with the old one's upstream), and pushes that like push -f;
push REPO pushes master (with -f, a rewritten one, as long as claude's
is still the one last fetched: --force-with-lease). With bash
completion. A package for the host, of the claude facet's tools (the
name may still change, as it might serve hermes, too).
|
|
|
claude-remote list (the default) shows the remotes, static, dynamic,
with a unit loaded, or with a directory, with their kind, state, and
whether they trust their directory yet; inspect NAME shows a remote's
unit, directory, trust, claude.ai session (bridge-pointer.json), and
the last lines of its terminal; start, stop and restart NAME go through
systemctl (a remote started here is dynamic: it lasts until stopped
here), and start points to attach while the remote doesn't trust its
directory; attach [NAME] opens its terminal (it's claude-attach, which
is gone); log NAME shows its journal. Which remotes are static, it
asks systemd (multi-user.target's wants), so changing them doesn't
change it. A package (pkgs/claude-remote.nix), with bash completion of
the commands and the remotes' names.
|