@openclaw/tlon 2026.10.5-beta.4 → 2026.10.6

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.
@@ -1,5 +1,5 @@
1
1
  import { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "../runtime-api.js";
2
- import { t as tlonPlugin } from "./channel-Dfri5oOT.mjs";
2
+ import { t as tlonPlugin } from "./channel-cZo0ECaC.mjs";
3
3
  import { n as setTlonRuntime } from "./runtime-Ck3lNvST.mjs";
4
4
  import "../api.js";
5
5
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -94,7 +94,7 @@ function resolveTlonOutboundSessionRoute(params) {
94
94
  //#endregion
95
95
  //#region extensions/tlon/src/channel.ts
96
96
  const TLON_CHANNEL_ID = "tlon";
97
- const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-U0WASXdh.mjs"));
97
+ const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-BuDLFazV.mjs"));
98
98
  const tlonSetupWizardProxy = createTlonSetupWizardBase(async (params) => await (await loadTlonChannelRuntime()).tlonSetupWizard.finalize(params));
99
99
  const tlonConfigAdapter = createHybridChannelConfigAdapter({
100
100
  sectionKey: TLON_CHANNEL_ID,
@@ -1032,6 +1032,7 @@ var UrbitSSEClient = class {
1032
1032
  let buffer = "";
1033
1033
  let bufferBytes = 0;
1034
1034
  let pendingDelimiterNewline = false;
1035
+ let pendingCarriageReturn = false;
1035
1036
  const appendPending = (text) => {
1036
1037
  const previousCodeUnit = buffer.charCodeAt(buffer.length - 1);
1037
1038
  const firstCodeUnit = text.charCodeAt(0);
@@ -1041,7 +1042,11 @@ var UrbitSSEClient = class {
1041
1042
  buffer += text;
1042
1043
  bufferBytes = nextBytes;
1043
1044
  };
1044
- const consumeText = async (text) => {
1045
+ const consumeText = async (rawText) => {
1046
+ if (rawText.length === 0) return;
1047
+ const startsWithPendingLineFeed = pendingCarriageReturn && rawText.startsWith("\n");
1048
+ pendingCarriageReturn = rawText.endsWith("\r");
1049
+ const text = (startsWithPendingLineFeed ? rawText.slice(1) : rawText).replace(/\r\n?/g, "\n");
1045
1050
  let offset = 0;
1046
1051
  if (pendingDelimiterNewline && text.length > 0) {
1047
1052
  pendingDelimiterNewline = false;
@@ -1091,13 +1096,17 @@ var UrbitSSEClient = class {
1091
1096
  }
1092
1097
  }
1093
1098
  async processEvent(eventData) {
1094
- const lines = eventData.split("\n");
1095
- let data = null;
1099
+ const lines = eventData.split(/\r\n|\r|\n/);
1100
+ const dataLines = [];
1096
1101
  let eventId = null;
1097
1102
  for (const line of lines) {
1098
1103
  if (line.startsWith("id:")) eventId = parseUrbitSseEventId(line.slice(3).trim());
1099
- if (line.startsWith("data:")) data = line.slice(5).trim();
1104
+ if (line.startsWith("data:")) {
1105
+ const value = line.slice(5);
1106
+ dataLines.push(value.startsWith(" ") ? value.slice(1) : value);
1107
+ }
1100
1108
  }
1109
+ const data = dataLines.join("\n");
1101
1110
  if (!data) return;
1102
1111
  let parsed;
1103
1112
  try {
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "./runtime-api.js";
2
- import { t as tlonPlugin } from "./.setup/channel-Dfri5oOT.mjs";
2
+ import { t as tlonPlugin } from "./.setup/channel-cZo0ECaC.mjs";
3
3
  import { n as setTlonRuntime } from "./.setup/runtime-Ck3lNvST.mjs";
4
4
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -1,2 +1 @@
1
- import { t as tlonPlugin } from "./.setup/channel-Dfri5oOT.mjs";
2
- export { tlonPlugin };
1
+ export { t as tlonPlugin } from "./.setup/channel-cZo0ECaC.mjs";
@@ -1,2 +1 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-bInPRAQZ.mjs";
2
- export { legacyConfigRules, normalizeCompatibilityConfig };
1
+ export { t as legacyConfigRules, n as normalizeCompatibilityConfig } from "./.setup/doctor-contract-bInPRAQZ.mjs";
@@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url";
4
4
  var setup_entry_default = defineBundledChannelSetupEntry({
5
5
  importMetaUrl: import.meta.url,
6
6
  plugin: {
7
- specifier: fileURLToPath(new URL(".setup/api-B17eS900.mjs", import.meta.url).href),
7
+ specifier: fileURLToPath(new URL(".setup/api-D_HRM5yM.mjs", import.meta.url).href),
8
8
  exportName: "tlonPlugin"
9
9
  }
10
10
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tlon",
3
- "version": "2026.10.5-beta.4",
3
+ "version": "2026.10.6",
4
4
  "description": "OpenClaw Tlon/Urbit channel plugin for chat workflows.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "openclaw": "workspace:*"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.10.5-beta.4"
22
+ "openclaw": ">=2026.10.6"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -121,10 +121,10 @@
121
121
  "minHostVersion": ">=2026.4.10"
122
122
  },
123
123
  "compat": {
124
- "pluginApi": ">=2026.10.5-beta.4"
124
+ "pluginApi": ">=2026.10.6"
125
125
  },
126
126
  "build": {
127
- "openclawVersion": "2026.10.5-beta.4"
127
+ "openclawVersion": "2026.10.6"
128
128
  },
129
129
  "release": {
130
130
  "bundleRuntimeDependencies": false,