@openclaw/tlon 2026.5.14-beta.1 → 2026.5.14-beta.2

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/api.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as ssrfPolicyFromAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as ssrfPolicyFromDangerouslyAllowPrivateNetwork, r as fetchWithSsrFGuard, s as createLoggerBackedRuntime, t as SsrFBlockedError } from "./runtime-api-DTk5tYUa.js";
2
- import { t as tlonPlugin } from "./channel-BFBQps9q.js";
2
+ import { t as tlonPlugin } from "./channel-Dwt2AVOl.js";
3
3
  import { n as setTlonRuntime } from "./runtime-5FiW9E50.js";
4
4
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -85,7 +85,7 @@ function resolveTlonOutboundSessionRoute(params) {
85
85
  //#endregion
86
86
  //#region extensions/tlon/src/channel.ts
87
87
  const TLON_CHANNEL_ID = "tlon";
88
- const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-ApLAuk_p.js"));
88
+ const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DgMKIRME.js"));
89
89
  const tlonSetupWizardProxy = createTlonSetupWizardBase({
90
90
  resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
91
91
  cfg,
@@ -1,2 +1,2 @@
1
- import { t as tlonPlugin } from "./channel-BFBQps9q.js";
1
+ import { t as tlonPlugin } from "./channel-Dwt2AVOl.js";
2
2
  export { tlonPlugin };
@@ -706,7 +706,11 @@ async function scryUrbitPath(deps, params) {
706
706
  });
707
707
  try {
708
708
  if (!response.ok) throw new Error(`Scry failed: ${response.status} for path ${params.path}`);
709
- return await response.json();
709
+ try {
710
+ return await response.json();
711
+ } catch (cause) {
712
+ throw new Error(`Urbit scry response was malformed JSON for path ${params.path}`, { cause });
713
+ }
710
714
  } finally {
711
715
  await release();
712
716
  }
@@ -752,6 +756,13 @@ async function ensureUrbitChannelOpen(deps, params) {
752
756
  }
753
757
  //#endregion
754
758
  //#region extensions/tlon/src/urbit/sse-client.ts
759
+ function parseUrbitSsePayload(data) {
760
+ try {
761
+ return JSON.parse(data);
762
+ } catch (cause) {
763
+ throw new Error("Tlon Urbit SSE event was malformed JSON", { cause });
764
+ }
765
+ }
755
766
  var UrbitSSEClient = class {
756
767
  constructor(url, cookie, options = {}) {
757
768
  this.subscriptions = [];
@@ -920,7 +931,7 @@ var UrbitSSEClient = class {
920
931
  }
921
932
  }
922
933
  try {
923
- const parsed = JSON.parse(data);
934
+ const parsed = parseUrbitSsePayload(data);
924
935
  if (parsed.response === "quit") {
925
936
  if (parsed.id) {
926
937
  const handlers = this.eventHandlers.get(parsed.id);
package/dist/test-api.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as tlonPlugin } from "./channel-BFBQps9q.js";
1
+ import { t as tlonPlugin } from "./channel-Dwt2AVOl.js";
2
2
  export { tlonPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tlon",
3
- "version": "2026.5.14-beta.1",
3
+ "version": "2026.5.14-beta.2",
4
4
  "description": "OpenClaw Tlon/Urbit channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,9 +8,9 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@aws-sdk/client-s3": "3.1045.0",
12
- "@aws-sdk/s3-request-presigner": "3.1045.0",
13
- "@tloncorp/tlon-skill": "0.3.6",
11
+ "@aws-sdk/client-s3": "3.1047.0",
12
+ "@aws-sdk/s3-request-presigner": "3.1047.0",
13
+ "@tloncorp/tlon-skill": "0.4.0",
14
14
  "@urbit/aura": "3.0.0",
15
15
  "zod": "4.4.3"
16
16
  },
@@ -19,7 +19,7 @@
19
19
  "openclaw": "workspace:*"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.5.14-beta.1"
22
+ "openclaw": ">=2026.5.14-beta.2"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -73,10 +73,10 @@
73
73
  "minHostVersion": ">=2026.4.10"
74
74
  },
75
75
  "compat": {
76
- "pluginApi": ">=2026.5.14-beta.1"
76
+ "pluginApi": ">=2026.5.14-beta.2"
77
77
  },
78
78
  "build": {
79
- "openclawVersion": "2026.5.14-beta.1"
79
+ "openclawVersion": "2026.5.14-beta.2"
80
80
  },
81
81
  "release": {
82
82
  "publishToClawHub": true,