iuaiti/dsh-provider-perchai
Registers Perch AI as a dsh model provider: sign-in through Perch's own OAuth flow, session stored under the DSH home, requests routed through Perch's hosted-model gateway.
It adds a provider route and signs you in with the same Supabase PKCE flow the official Perch login CLI uses, so the browser hand-off behaves the way Perch users expect. Two model sources are chosen in the settings panel: the account's own hosted models, metered by Perch, and whatever else the account exposes. If you already pay for Perch, this is the shortest path to using it from dsh without an API key.
Install
dsh plugin --profile web add github:iuaiti/dsh-provider-perchaiThe Web-profile line from the README. It also documents the manual route — copying the package into the Web profile's node_modules and adding an entry to that profile's patch file — which is what you need if you are pinning a build. Restart dsh afterwards.
Compatibility
Perch has no OpenAI-compatible endpoint, so hosted model access runs through its own gateway gated by a per-turn ticket; the plugin implements that rather than pretending the gateway is something it is not. Configuration is environment variables for the gateway base URL, the app URL serving the CLI auth config, the web app used for browser sign-in, and the loopback callback port, which defaults to 51121. Perch AI is a separate product with its own accounts and plans — the plugin only uses the account you sign in with.
Details
- Repo: iuaiti/dsh-provider-perchai
- Category: Models & Providers
- Stars: 0
- Version: installed from the repo's default branch
Alternatives
sagmans/dsh-provider-extra · minglu6/dsh-provider-qoder · KEVINCHEN625/dsh-provider-manager