@1presence/bridge 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -249,6 +249,10 @@ function connect(auth, retryDelay = 1000) {
249
249
  (0, auth_1.clearAuth)();
250
250
  process.exit(1);
251
251
  }
252
+ if (code === 4003) {
253
+ console.error('Local Claude Code is not enabled for your account. To request access, email hello@1presence.com.');
254
+ process.exit(1);
255
+ }
252
256
  const delay = Math.min(retryDelay, 30_000);
253
257
  console.log(`Bridge disconnected (${code}). Reconnecting in ${delay / 1000}s…`);
254
258
  setTimeout(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1presence/bridge",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Run 1Presence on your Mac and use your Claude.ai Pro subscription from any device",
5
5
  "bin": {
6
6
  "1presence-bridge": "dist/index.js"