Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/stable-session-reconnect.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/crosscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/<projectId>`) and the QR token stable.
- For free, unauthenticated users, use a persistent **named cloudflared tunnel** (`crosscode-<projectId>`) 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
Expand Down
2 changes: 1 addition & 1 deletion packages/crosscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading