Files
t3code/docs/reference
Theo BrowneandClaude Opus 5 36fe3b31a3 Fix review findings in dev sharing
- `auth pairing url` resolved the state directory with the same flag
  heuristic the command exists to hide, so without --dev-url it read
  `userdata` while `bun run dev` writes to `dev`. It then minted into the
  wrong database and printed a URL the live server rejects with
  `invalid_credential`. It now searches both state directories and issues
  against whichever one the running server actually uses.
- A server killed with SIGKILL leaves `server-runtime.json` behind, and
  that was taken as proof it was still up. Verify the recorded pid is
  alive before minting.
- `--dry-run --share` replaced and then tore down the port's existing
  tailscale mapping. Dry run now returns before the share block.

deriveServerPaths takes an optional explicit stateDir for callers that
have already located a running server and must target it exactly.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-07-24 17:15:38 -07:00
..
2026-07-24 17:15:38 -07:00