diff --git a/.changeset/stable-session-reconnect.md b/.changeset/stable-session-reconnect.md deleted file mode 100644 index 3070854..0000000 --- a/.changeset/stable-session-reconnect.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"crosscode": patch ---- - -Stabilize the CLI session identity and tunnel URLs so a returning mobile client (e.g. after the PC sleeps or the network drops) can always reconnect instead of being stranded by a freshly generated QR/URL. - -- Persist `sessionToken` (opencode password + QR token) and `projectId` in `~/.crosscode/config.json` so they stay constant across CLI restarts. This makes the managed tunnel URL (`connect.crosscode.site/t/`) and the QR token stable. -- For free, unauthenticated users, use a persistent **named cloudflared tunnel** (`crosscode-`) which keeps a fixed `*.cfargotunnel.com` hostname across restarts and reconnects. Falls back to the ephemeral quick tunnel (URL still changes on restart) when `cloudflared tunnel login` hasn't been run. -- Print the QR code exactly once per identity; tunnel reconnects no longer regenerate it. -- Auto-restart a dropped named cloudflared tunnel without changing its URL. diff --git a/packages/crosscode/CHANGELOG.md b/packages/crosscode/CHANGELOG.md index c0011ae..caf6585 100644 --- a/packages/crosscode/CHANGELOG.md +++ b/packages/crosscode/CHANGELOG.md @@ -1,5 +1,16 @@ # crosscode +## 0.6.6 + +### Patch Changes + +- 1ab7502: Stabilize the CLI session identity and tunnel URLs so a returning mobile client (e.g. after the PC sleeps or the network drops) can always reconnect instead of being stranded by a freshly generated QR/URL. + + - Persist `sessionToken` (opencode password + QR token) and `projectId` in `~/.crosscode/config.json` so they stay constant across CLI restarts. This makes the managed tunnel URL (`connect.crosscode.site/t/`) and the QR token stable. + - For free, unauthenticated users, use a persistent **named cloudflared tunnel** (`crosscode-`) which keeps a fixed `*.cfargotunnel.com` hostname across restarts and reconnects. Falls back to the ephemeral quick tunnel (URL still changes on restart) when `cloudflared tunnel login` hasn't been run. + - Print the QR code exactly once per identity; tunnel reconnects no longer regenerate it. + - Auto-restart a dropped named cloudflared tunnel without changing its URL. + ## 0.6.5 ### Patch Changes diff --git a/packages/crosscode/package.json b/packages/crosscode/package.json index 548dca8..7ccae0d 100644 --- a/packages/crosscode/package.json +++ b/packages/crosscode/package.json @@ -8,7 +8,7 @@ "bin": { "crosscode": "./dist/cli.js" }, - "version": "0.6.5", + "version": "0.6.6", "description": "An OpenCode Remote Client CLI", "main": "./dist/index.js", "scripts": {