usebeeline 0.1.129 → 0.1.130

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.
@@ -44,13 +44,13 @@ async function withKernelLock(key, work, waitMs = 6e5) {
44
44
  }
45
45
  const remaining = deadline - Date.now();
46
46
  if (remaining <= 0)
47
- throw new Error("timed out waiting for Beeline installer owner");
47
+ throw new KernelLockBusyError();
48
48
  await new Promise((done, reject) => {
49
49
  const peer = createConnection2(address);
50
50
  peer.resume();
51
51
  const timer = setTimeout(() => {
52
52
  peer.destroy();
53
- reject(new Error("timed out waiting for Beeline installer owner"));
53
+ reject(new KernelLockBusyError());
54
54
  }, remaining);
55
55
  const finish = () => {
56
56
  clearTimeout(timer);
@@ -62,9 +62,15 @@ async function withKernelLock(key, work, waitMs = 6e5) {
62
62
  });
63
63
  }
64
64
  }
65
+ var KernelLockBusyError;
65
66
  var init_kernel_lock = __esm({
66
67
  "apps/body/dist/kernel-lock.js"() {
67
68
  "use strict";
69
+ KernelLockBusyError = class extends Error {
70
+ constructor() {
71
+ super("timed out waiting for Beeline installer owner");
72
+ }
73
+ };
68
74
  }
69
75
  });
70
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usebeeline",
3
- "version": "0.1.129",
3
+ "version": "0.1.130",
4
4
  "description": "Connect an AI coding agent to Beeline with one command.",
5
5
  "homepage": "https://usebeeline.app",
6
6
  "bugs": {