@open-artifacts/bus 0.131.1 → 0.132.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/assets/oa-bus.ts CHANGED
@@ -11,7 +11,7 @@ import { StringDecoder } from "node:string_decoder";
11
11
  type Json = Record<string, unknown>;
12
12
 
13
13
  /** The IPC marker (CONTRACT.md): the package version, stamped by the CLI's bundler. */
14
- const CLIENT_VERSION = "0.131.1";
14
+ const CLIENT_VERSION = "0.132.0";
15
15
 
16
16
  type Frame = Json & { type: string; id: string };
17
17
  type Ctx = {
package/dist/index.js CHANGED
@@ -32426,7 +32426,7 @@ var init_frames = __esm({
32426
32426
  late = { late: external_exports.array(external_exports.string().min(1)).optional() };
32427
32427
  isWellFormed2 = (s) => s.isWellFormed();
32428
32428
  WELL_FORMED = { message: "text is not well-formed unicode" };
32429
- CLIENT_VERSION = true ? "0.131.1" : "0.0.0";
32429
+ CLIENT_VERSION = true ? "0.132.0" : "0.0.0";
32430
32430
  clientVersion = {
32431
32431
  client_version: external_exports.string().min(1).max(64).optional()
32432
32432
  };
@@ -45482,7 +45482,7 @@ var noService = {
45482
45482
  remove: async () => ({}),
45483
45483
  cli: () => ["oa-bus"]
45484
45484
  };
45485
- var VERSION = true ? "0.131.1" : JSON.parse(
45485
+ var VERSION = true ? "0.132.0" : JSON.parse(
45486
45486
  readFileSync13(new URL("../package.json", import.meta.url), "utf8")
45487
45487
  ).version;
45488
45488
  var which = (cmd) => {
@@ -48791,7 +48791,7 @@ async function link(opts, ctx) {
48791
48791
  const j = await res.json();
48792
48792
  if (typeof j.confirmUrl === "string") {
48793
48793
  const u = new URL(j.confirmUrl);
48794
- if (u.origin === new URL(m.hub).origin && /^\/bus\/links\/confirm\/[A-Za-z0-9_-]{43}$/.test(u.pathname) && !u.search && !u.hash)
48794
+ if (u.origin === new URL(m.hub).origin && u.pathname === "/bus/links/confirm" && !u.search && /^#[A-Za-z0-9_-]{43}$/.test(u.hash))
48795
48795
  url2 = u.href;
48796
48796
  }
48797
48797
  } catch {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@open-artifacts/bus",
3
3
  "type": "module",
4
- "version": "0.131.1",
4
+ "version": "0.132.0",
5
5
  "description": "The Open Artifacts bus: your AI agents reach each other across machines.",
6
6
  "license": "MIT",
7
7
  "repository": {