Skip to content

Releases

github-v0.1.0

Choose a tag to compare

@luongnv89 luongnv89 released this 25 Nov 09:30

0.1.0 (2026-11-25)

The first public release of the GitHub panel for Rex, ported from herdr-github 0.4.0. It also brings the panel up to date with herdr-github's unreleased changes after 0.4.0 (luongnv89/herdr-github#18, #20, #25).

Added

  • The panel for Rex, ported from herdr-github 0.4.0: the repo's open pull requests (or merge requests) and issues from gh or glab, in a pane on the right of the tab.
  • rex-github.lua: a github_panel action for init.lua that opens the panel beside the focused pane or closes it. The panel is the block labelled rex-github, so nothing is kept on disk to find it again.
  • The panel follows the focused pane of its tab through rex api call, and reads that pane's folder from its foreground program.
  • install.js: adds the panel and a key (cmd+shift+g, or the first free fallback) to init.lua, checks the result with rex config check, puts the old file back if the check fails, and reloads the config. --remove takes it out again.
  • Import mcc profiles into the profile list (#63). When mcc is installed (found through $MCC_BIN when it is the full path of an executable file, else the PATH, or ~/.local/bin, ~/.cargo/bin, /opt/homebrew/bin and /usr/local/bin), the settings' Profiles tab shows + Import in the header (in a pane 32 columns or wider, so ⚙ Settings stays whole) and i imports: the panel lists mcc's Claude Code profiles from mcc usage --json-v2, without Devin's, tagging mcc's default and the ones imported already. Space (or Mark) marks profiles and a marks every one not imported yet, so several import at once, saved in one write; one that fails is named with its reason and stays marked, while the others are saved. Enter or Import (Import N with N marked) adds, for each, a Claude Code via mcc run profile named mcc <name> that starts that mcc profile with mcc run --profile <name> --, with the model and effortLevel of its own settings.json, in the folder mcc env -q --shell bash <name> names; a value it can't hold, such as opus[1m], is left at the harness default, which still starts the profile's own. It can then be assigned or chosen in the profile menu like any other; Resolve and Review look for its skills in its own folder, and Test checks that mcc finds it. Without mcc, the settings are as before. Imported profiles are kept in the profiles file as version 7, written only while a profile has one, so a file without them drops back to the lowest version that holds the rest, byte for byte. A panel or herdr-github from before version 7 shows such a file read only, so it never drops an imported profile by saving; an older panel can still start an imported profile, but as a plain mcc run -- with the repo's mcc profile, so update every panel that uses the file together. Resolve, Review and Test now also find mcc off a thin PATH, in those folders.
  • Button labels of your own for Resolve, Review and Auto-pilot, so a button says what your prompt does. The settings' Buttons tab shows each button as it reads (Resolve #N, ☑ Auto-pilot) beside its prompt, and its editor's Label field sets it (see #70 below); empty, Use default or ctrl-r on that field brings back the button's own name. The label goes on each issue's Resolve #N button, each pull request's Review #N and the header's ☑ Auto-pilot. It also goes in the profile menu's title, the notice on leaving Auto-pilot, and the names the settings give the action. The prompt, profile and pane label (resolve-12) don't change, and neither do ▶ Start and the key hints. A label is up to 24 characters on one line, with no backslash or control characters, and no invisible characters. Labels are kept in the profiles file as version 6, written only while a button has one, so a file without them drops back to the lowest version that holds the rest, byte for byte. A panel or herdr-github from before version 6 shows such a file read only.
  • Launch arguments of your own on an agent profile (#48). The profile form has an Args field: flags typed on one line, separated by spaces, such as --dangerously-skip-permissions for Claude Code or -c model_reasoning_effort=high for Codex. They are passed to the harness as they are, each one word with no shell, after the profile's model and thinking flags and before the prompt (before Devin's -- and OpenCode's --prompt). Clear the field to remove them. A word can't be -- on its own or hold a backslash or a control character, and a profile holds up to 16 words of up to 200 characters; a word that can't be used shows why under the field. Args longer than the pane show their end while you type in them, after a "…", so what you type and what backspace takes stay in view; the same goes for Name and Id. Test doesn't check them, and says they are checked only when the agent starts. A profile without them starts exactly as before. They are kept in the profiles file as version 5, written only while a profile has some, so a file without them drops back to the lowest version that holds the rest, byte for byte; a panel or herdr-github from before version 5 shows such a file read only.
  • A Devin harness for agent profiles, for Cognition's Devin CLI. Resolve, Review and Auto-pilot start devin -- <prompt> in the new pane, or devin --model M -- <prompt> with a model; the prompt follows --, since Devin reads a word before it as a path to open in Devin Desktop. The form offers Devin's current families (swe-2, claude-opus-5.5, …), and + adds any family, alias or model devin models list prints. It doesn't offer adaptive, which routes each request to a model Devin picks, such as swe-2-max, rather than the one the profile names (#49). A Devin profile takes no thinking level: it is part of the model's name, as in claude-opus-5-5-high. The profile form's Test runs devin --version and, with a model, devin models list --process-model in-process, and checks the model is listed. The panel also recognises a pane running devin as your agent, and looks for the IDD skills in Devin's own folders too (~/.config/devin/skills, ~/.config/cognition/skills, a repo's .cognition/skills). herdr-github doesn't have this harness yet, so it, and a panel from before this, shows a profiles file with a Devin profile read only.
  • A Test button in the profile form, and ctrl-t, to check that a profile works before you save it or start an agent with it (#43). It runs, in the repo's folder, the harness's command with --version, for mcc also mcc env -q --shell bash, and with a model pi --list-models, opencode models or devin models list --process-model in-process, each stopped after 15 seconds, and never with a prompt. The settings then say in green what passed, or in red the first check that failed and why: not on your PATH, a command that failed or didn't answer, no mcc account for the repo, or a model Pi, OpenCode or Devin doesn't list. A field the profile can't take shows its reason under it. Testing saves nothing, adds no model and opens no pane; a result goes once you change the harness, model or thinking level, and one that comes back after you changed them, or left the form, isn't shown. The form's key hints say ^T test.
  • A setting to choose whether merging a pull request deletes its branch (#39). The settings have an After a merge row on their Merging tab: Delete the branch, the default, or Keep the branch; e, enter or its Change button switches it, and it's kept in ~/.local/state/rex-github/merge, so it stays after a restart. In the mode that deletes, once GitHub says the pull request merged, the panel deletes its branch on GitHub with gh api -X DELETE (and then tidies your checkout: see #41 below). It keeps a fork's branch, the branch merged into and the repo's default branch, and says why; in a repo that deletes merged branches itself, it leaves that to GitHub. A branch already gone counts as deleted, and a delete that fails is said in red without undoing the merge. On GitLab, glab mr merge gets --remove-source-branch. A merge that fails, waits for checks or a queue, or can't be read deletes nothing. The Merge question now names the mode, as in (squash, then delete its branch).
  • Back on an up-to-date main after a merge that deletes the branch (#41). Once the forge says the pull request merged, the panel runs git in the repo's folder: on the merged branch with nothing uncommitted, git switch to the repo's default branch; on the default branch, git pull --ff-only --prune, else git fetch --prune; and git branch -D for the merged branch's local copy, only while it isn't checked out and its tip is still the commit that merged. The merge's notice adds each step, as in Merged #12 and deleted its branch b12; switched to main; pulled main; deleted the local b12. On the merged branch with uncommitted changes, or with no default branch known (GitLab, where no local branch is deleted either), the checkout stays where it is and the notice says why; a default branch with uncommitted changes isn't pulled; a step that fails is said in red with git's fatal: or error: lin...
Read more