fix(install): the rename broke every install — stop guessing the tarball's top dir #61

Merged
dan-claude-bot merged 1 commit from fix/install-extract-dir into main 2026-07-15 00:39:39 +00:00

1 commit

Author SHA1 Message Date
ca2be71f88 fix(install): find THE extracted directory instead of guessing its name
The tarball's top dir is <repo>-<ref>, and the extractor globbed
claudebox-* — dead the moment the repo became heavy-duty/box: every
'curl install.sh | bash' and every drill died with 'could not find the
extracted source directory'. The archive has exactly one top-level
directory; take it whatever it is called, and let the existing bin/box
check judge whether it is the right tree. Survives the next rename too.

Verified against the live tarball: BOX_HOME/BOX_BIN scratch install from
heavy-duty/box@main lands and 'box --version' answers 0.5.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 00:38:51 +00:00