Repository navigation
0.26.0.1
The release 0.26.0.0 meant to be on macOS: its Apple Silicon build ran
out of memory, because the nix build compiled every hbs2 library twice.
That is fixed, and the build is about twice as fast everywhere.
It also brings the forge to the browser. hbs2-hub native-host serves
the hbs2-hub browser extension,
which shows a repository's hbs2 issues and pull requests in its GitHub
pages and can file, comment on, propose and merge them. Merging is the
new hbs2-hub pr land, which does in one step what a maintainer did
by hand: merge, push, record, publish.
Added
-
hbs2-hub native-host: the forge for a browser extension (PEP-24).
Thehub mcptools over the browsers' native messaging, so the
hbs2-hub browser extension
can show and write a repository's issues and pull requests on its
GitHub pages. Each tool runs a verb of this binary, ashub mcp
does. A call for a repository runs in the clone named by
git config --global hbs2-hub.<repo-key>.clone <path>, or, for a read,
in a cache clone under~/.cache/hbs2-hub/repos; a write never runs in
the cache.--installwrites a launcher and the host manifest for
Firefox, Chrome and Chromium, allowing only the extension to start it;
--uninstallremoves them;--read-onlyoffers no tool that writes. -
hbs2-hub issue list --jsonandpr list --jsonprint theindex
document (PEP-24): per thread its number, kind, id, title, status,
applied labels, author, comment count and folded times. The
issue_listandpr_listMCP tools return it as structured content. -
hbs2-hub pr land: merge a pull request in one step. It merges
the staged proposal into its target branch with a merge commit,
computed bygit merge-treewithout touching the working tree, pushes
the branch to the hbs23 remote (never forced) and tooriginwhen
that is a different remote, fast-forwards the local branch, records the
merge in canon, and publishes canon. A conflict, a target branch that
moved, or a signer that may not bless canon stops it before anything
is pushed.--dry-runcomputes the merge and stops. The merge commit
is signed whencommit.gpgsignsays so. -
Writing from the browser extension (PEP-24 phases 2 and 3). The
MCP toolsissue_new,pr_newandpr_land;status --local,
which asks no remote, and acloneobject in the status document
(the branch checked out, the remote's HEAD branch, the local branches).
native-hostsigns letters as the identityhbs2-hub identity init
wrote togit config --global.
Fixed
-
The nix build makes each library once. The shipped outputs linked
against a second copy of every hbs2 library, built with its test suite,
haddock and profiling, sonix build,nix profile installand the
release jobs compiled the tree about twice; the 0.26.0.0 macOS build ran
out of memory and never finished. -
hbs2-hub publishandsyncuse the clone's hbs23:// remote, the
one--repois read from, instead of the remote namedorigin. In a
clone kept on GitHub, withoriginpointing there,publishpushed
canon to GitHub andsyncfetched it back from there.--remote
still wins; with no hbs23 remote the default isorigin, as before. -
hbs2-hub pr show --number <n>in a clone (and the other read verbs
in their flag form) no longer fails with "no flag claimed": the
repository filled in from the clone goes in as--repowhen the line
is in flag form, and in front only when it is positional. -
inbox acceptof a pull request you sent yourself, from the clone
its branch is in, still refuses (the bundle brings no commits this
clone lacks), and now says how to accept it: from a fresh clone
without the branch.