Chris Scott b9d8d18124 fix(device-pairing): refuse to mint pairing codes from an address that cannot pair
A loopback origin in production or plain HTTP on a public address still
minted a code and showed a browser QR no other device could use.

- one availability rule decides untrusted, loopback and public plain-HTTP
  origins; POST /api/device-pairing/links checks it before minting
- GET /api/device-pairing/availability reports the rule for the page origin
  without minting
- Connect a device disables "Show QR code" and explains the fix when the
  address cannot pair
- private-network plain HTTP keeps the browser QR; the app QR still needs
  the toggle
2026-10-24 19:26:21 -04:00
2025-11-23 22:17:21 -05:00

OpenCode Manager

A self-hosted command center for OpenCode. Sessions, git, terminal, and schedules in one web app, on your desktop and your phone.

opencodemanager.app · Docs · Releases

License Stars Latest Release PRs Welcome

The same OpenCode Manager session on a laptop and a phone

Quick Start

Requires Docker with Compose v2.

curl -fsSL https://opencodemanager.app/install | sh

The installer starts OpenCode Manager on http://localhost:5003 and asks before sharing anything from your machine. Re-run it to update. On first launch you create an admin account.

Requirements, Compose and source installs, and every feature are covered at opencodemanager.app:

Development

This repository is a pnpm workspace: backend/ (Bun + Hono), frontend/ (React + Vite), shared/ (schemas and types) and ocm-cli/ (the ocm CLI).

pnpm install
pnpm dev
pnpm lint
pnpm typecheck
pnpm test

See the Development Guide for setup, scripts, database notes and testing.

License

MIT

Languages
TypeScript 99.5%
Shell 0.3%
CSS 0.1%