usebeeline 0.1.35 → 0.1.36

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.
@@ -19004,12 +19004,9 @@ var MachineLink = class {
19004
19004
  if (!value || typeof value !== "object")
19005
19005
  return;
19006
19006
  const event = value;
19007
- if (event.type === "force-update" && typeof event.minVersion === "string") {
19008
- this.link.requireUpdate(event.minVersion);
19009
- return;
19010
- }
19011
- if (typeof event.agentId === "string") {
19012
- this.#channels.get(event.agentId)?.receive(event);
19007
+ if (event.type === "force-update") {
19008
+ if (typeof event.minVersion === "string")
19009
+ this.link.requireUpdate(event.minVersion);
19013
19010
  return;
19014
19011
  }
19015
19012
  if (event.type === "helper-release") {
@@ -19019,6 +19016,10 @@ var MachineLink = class {
19019
19016
  this.#broadcast(event);
19020
19017
  return;
19021
19018
  }
19019
+ if (typeof event.agentId === "string" && event.agentId.length > 0) {
19020
+ this.#channels.get(event.agentId)?.receive(event);
19021
+ return;
19022
+ }
19022
19023
  if (event.type !== "hello" && event.type !== "force-update")
19023
19024
  this.#logUnknown(event.type);
19024
19025
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usebeeline",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Connect an AI coding agent to Beeline with one command.",
5
5
  "homepage": "https://usebeeline.app",
6
6
  "bugs": {