summaryrefslogtreecommitdiffstats
path: root/configs/claude.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-21 19:03:22 +0000
committertv <tv@krebsco.de>2026-11-21 21:28:56 +0000
commit8f95e2e528fa486cceb97e0336eb7946276cdc5f (patch)
tree510ae7b620a0b7b79a22eb5d0ab042459722f863 /configs/claude.nix
parentd0327b65df5ee88eb19e1714287ff18655c1018e (diff)
pkgs/claude-inbox: for the host, what in the claude VM needs attention
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).
Diffstat (limited to 'configs/claude.nix')
0 files changed, 0 insertions, 0 deletions