Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
macOS BLOCKER: pkg install cannot extract ANY tarball — passes GNU-only --warning=no-unknown-keyword to BSD tar
adom-wiki pkg install fails for every package on macOS. Reproduced just now on macOS with adom-wiki from PATH:
$ HOME=/tmp/pkgtest adom-wiki pkg install adom/adom-desktop
tar: Option --warning=no-unknown-keyword is not supported
Usage:
List: tar -tf <archive-filename>
...
{ "error": "failed to extract tarball for adom/[email protected]" }
CAUSE: the extract step shells out to tar with --warning=no-unknown-keyword, which is a GNU tar option. macOS ships BSD tar (libarchive) as /usr/bin/tar, which rejects unknown long options outright rather than ignoring them, so extraction aborts before it starts. The download itself is fine — only extraction fails.
IMPACT: this is a full blocker, not a nuisance. No package can be installed on any Mac: not adom/adom-desktop (the CLI + core skills), not any bridge's skills pkg, not adom/hero-studio. It also breaks the documented recovery paths that tell a user to run pkg install — including the hero-studio install that the new-page publish flow now requires (see issue #297), so the two interact: a mac user hitting the first-create hero gate is told to install hero-studio, and that install cannot succeed either.
WORKAROUND (confirmed by another team member): brew install gnu-tar then prepend /opt/homebrew/opt/gnu-tar/libexec/gnubin to PATH so tar resolves to GNU tar. That is not acceptable as a permanent requirement — it makes every Mac user install a Homebrew package before they can use the CLI at all.
SUGGESTED FIXES, cheapest first:
- DROP the flag. It only suppresses a warning about unknown pax keywords; extraction works without it on both tars.
- Feature-detect: probe
tar --versionfor 'bsdtar' (or just try without the flag) and only pass GNU-only options to GNU tar. - Extract in-process with a tar library instead of shelling out, which removes the platform dependency entirely.
Reported by ABE (native-browser bridge) and independently reproduced by AD. Related: #297 (new-page publish gate), which a mac user cannot currently work around because the prescribed tool is itself uninstallable on mac.