Repository navigation
fix: SSH-less plugin install — try.sh HTTPS default + failure hint - #24
Merged
Merged
Conversation
Plugin marketplace installs hand an owner/repo shorthand to the agent CLI, and the CLI picks the clone protocol: claude expands it to SSH with no fallback, so a machine without SSH keys can't install the plugin (codex and qodercli degrade on their own, in opposite orders). - try.sh: default the install source to the explicit HTTPS URL when piped from the network (zero-setup success for new users); local checkouts keep path sourcing, ORBIT_SOURCE still overrides. - install.sh: when a plugin install fails with a shorthand source, hint the explicit-HTTPS retry (curl form — the typical victim has no local checkout). No default change, no auto-retry: SSH users keep SSH. - README/USAGE: document ORBIT_SOURCE as the no-SSH-key escape hatch. Signed-off-by: zheng-weihao <zheng-weihao@outlook.com>
zheng-weihao
force-pushed
the
fix/install-https-escape-hatch
branch
from
July 29, 2026 17:27
a21fa2f to
037de5d
Compare
…eps the shorthand Signed-off-by: zheng-weihao <zheng-weihao@outlook.com>
… (codex prefers HTTPS) Signed-off-by: zheng-weihao <zheng-weihao@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
install.shpasses anowner/reposhorthand straight to each agent CLI'smarketplace add, and the CLI picks the clone protocol. Measured on a clean machine (no~/.sshkey):Orbit owns this: handing the protocol choice to external CLIs bets that every CLI implements degradation. They don't.
Fix (layered — SSH default untouched)
ORBIT_SOURCE=https://github.com/orbcli/orbit.git, overridable). New users all take this path; zero-setup success wins. Local checkouts keeppathsourcing so dogfooding still picks up local edits.ORBIT_SOURCEas the no-SSH-key escape hatch.Accepted side effect: with a URL source, orbit.sh itself arrives via shallow clone instead of single-file curl (a few seconds slower). Right trade for a one-shot demo script.
Test
shellcheckclean on both scripts;bats tests/220/220.