@openclaw/tlon 2026.6.11-beta.2 → 2026.6.33
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-C5wXFh-q.js";
|
|
2
|
-
import { t as tlonPlugin } from "./channel-
|
|
2
|
+
import { t as tlonPlugin } from "./channel-BVGTPvoo.js";
|
|
3
3
|
import { n as setTlonRuntime } from "./runtime-Ck3lNvST.js";
|
|
4
4
|
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
|
|
@@ -84,7 +84,7 @@ function resolveTlonOutboundSessionRoute(params) {
|
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region extensions/tlon/src/channel.ts
|
|
86
86
|
const TLON_CHANNEL_ID = "tlon";
|
|
87
|
-
const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
87
|
+
const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DVgx3HzG.js"));
|
|
88
88
|
const tlonSetupWizardProxy = createTlonSetupWizardBase({
|
|
89
89
|
resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
|
|
90
90
|
cfg,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as tlonPlugin } from "./channel-
|
|
1
|
+
import { t as tlonPlugin } from "./channel-BVGTPvoo.js";
|
|
2
2
|
export { tlonPlugin };
|
|
@@ -6,6 +6,7 @@ import { fetchWithSsrFGuard, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from
|
|
|
6
6
|
import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
|
|
7
7
|
import { asFiniteNumber, normalizeLowercaseStringOrEmpty, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
8
|
import crypto, { randomBytes, randomUUID } from "node:crypto";
|
|
9
|
+
import { readResponseTextLimited } from "openclaw/plugin-sdk/provider-http";
|
|
9
10
|
import { da, scot } from "@urbit/aura";
|
|
10
11
|
import { Readable } from "node:stream";
|
|
11
12
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
@@ -667,6 +668,7 @@ async function putUrbitChannel(deps, params) {
|
|
|
667
668
|
auditContext: params.auditContext
|
|
668
669
|
});
|
|
669
670
|
}
|
|
671
|
+
const TLON_ERROR_BODY_LIMIT_BYTES = 16 * 1024;
|
|
670
672
|
async function pokeUrbitChannel(deps, params) {
|
|
671
673
|
const pokeId = Date.now();
|
|
672
674
|
const { response, release } = await putUrbitChannel(deps, {
|
|
@@ -682,7 +684,7 @@ async function pokeUrbitChannel(deps, params) {
|
|
|
682
684
|
});
|
|
683
685
|
try {
|
|
684
686
|
if (!response.ok && response.status !== 204) {
|
|
685
|
-
const errorText = await response
|
|
687
|
+
const errorText = await readResponseTextLimited(response, TLON_ERROR_BODY_LIMIT_BYTES).catch(() => "");
|
|
686
688
|
throw new Error(`Poke failed: ${response.status}${errorText ? ` - ${errorText}` : ""}`);
|
|
687
689
|
}
|
|
688
690
|
return pokeId;
|
|
@@ -838,7 +840,7 @@ var UrbitSSEClient = class {
|
|
|
838
840
|
});
|
|
839
841
|
try {
|
|
840
842
|
if (!response.ok && response.status !== 204) {
|
|
841
|
-
const errorText = await response
|
|
843
|
+
const errorText = await readResponseTextLimited(response, 16 * 1024).catch(() => "");
|
|
842
844
|
throw new Error(`Subscribe failed: ${response.status}${errorText ? ` - ${errorText}` : ""}`);
|
|
843
845
|
}
|
|
844
846
|
} finally {
|
|
@@ -3478,7 +3480,7 @@ async function createHttpPokeApi(params) {
|
|
|
3478
3480
|
});
|
|
3479
3481
|
try {
|
|
3480
3482
|
if (!response.ok && response.status !== 204) {
|
|
3481
|
-
const errorText = await response
|
|
3483
|
+
const errorText = await readResponseTextLimited(response, 16 * 1024);
|
|
3482
3484
|
throw new Error(`Poke failed: ${response.status} - ${errorText}`);
|
|
3483
3485
|
}
|
|
3484
3486
|
return pokeId;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/tlon",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.33",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/tlon",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.33",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@aws-sdk/client-s3": "3.1056.0",
|
|
12
12
|
"@aws-sdk/s3-request-presigner": "3.1056.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"zod": "4.4.3"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"openclaw": ">=2026.6.
|
|
18
|
+
"openclaw": ">=2026.6.33"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
21
21
|
"openclaw": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/tlon",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.33",
|
|
4
4
|
"description": "OpenClaw Tlon/Urbit channel plugin for chat workflows.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
19
|
-
"openclaw": "
|
|
19
|
+
"openclaw": "workspace:*"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.6.
|
|
22
|
+
"openclaw": ">=2026.6.33"
|
|
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.6.
|
|
76
|
+
"pluginApi": ">=2026.6.33"
|
|
77
77
|
},
|
|
78
78
|
"build": {
|
|
79
|
-
"openclawVersion": "2026.6.
|
|
79
|
+
"openclawVersion": "2026.6.33"
|
|
80
80
|
},
|
|
81
81
|
"release": {
|
|
82
82
|
"bundleRuntimeDependencies": false,
|