@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.
- package/dist/index.js +4 -0
- 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 () => {
|