@openclaw/tlon 2026.9.4 → 2026.9.5

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.
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2
+ <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 5h16M8 5v14M16 5v14M4 19h16M5 10h14M5 14h14" />
3
+ </svg>
Binary file
@@ -0,0 +1,5 @@
1
+ import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./runtime-api-BXVe40nS.mjs";
2
+ import { t as tlonPlugin } from "./channel-Be-mBRh3.mjs";
3
+ import { n as setTlonRuntime } from "./runtime-Ck3lNvST.mjs";
4
+ import "../api.js";
5
+ export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -1,5 +1,5 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CZ8OWBXt.js";
2
- import { d as resolveTlonAccount, f as formatTargetHint, g as resolveTlonOutboundTarget, h as parseTlonTarget, n as createTlonSetupWizardBase, o as tlonSetupContract, p as normalizeShip, u as listTlonAccountIds } from "./setup-core-Ny4-ZMK0.js";
1
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CZ8OWBXt.mjs";
2
+ import { d as resolveTlonAccount, f as formatTargetHint, g as resolveTlonOutboundTarget, h as parseTlonTarget, n as createTlonSetupWizardBase, o as tlonSetupContract, p as normalizeShip, u as listTlonAccountIds } from "./setup-core-Ny4-ZMK0.mjs";
3
3
  import { buildChannelOutboundSessionRoute } from "openclaw/plugin-sdk/core";
4
4
  import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
5
5
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
@@ -95,7 +95,7 @@ function resolveTlonOutboundSessionRoute(params) {
95
95
  //#endregion
96
96
  //#region extensions/tlon/src/channel.ts
97
97
  const TLON_CHANNEL_ID = "tlon";
98
- const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-Dt6D-3_j.js"));
98
+ const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DUlwDRmR.mjs"));
99
99
  const tlonSetupWizardProxy = createTlonSetupWizardBase({
100
100
  resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
101
101
  cfg,
@@ -1,7 +1,7 @@
1
- import { n as createDedupeCache, o as createLoggerBackedRuntime } from "./runtime-api-BXVe40nS.js";
2
- import { c as normalizeUrbitHostname, d as resolveTlonAccount, f as formatTargetHint, h as parseTlonTarget, l as validateUrbitBaseUrl, m as parseChannelNest, p as normalizeShip } from "./setup-core-Ny4-ZMK0.js";
3
- import { t as getTlonRuntime } from "./runtime-Ck3lNvST.js";
4
- import { t as tlonSetupWizard } from "./setup-surface-Bf6uwW8f.js";
1
+ import { n as createDedupeCache, o as createLoggerBackedRuntime } from "./runtime-api-BXVe40nS.mjs";
2
+ import { c as normalizeUrbitHostname, d as resolveTlonAccount, f as formatTargetHint, h as parseTlonTarget, l as validateUrbitBaseUrl, m as parseChannelNest, p as normalizeShip } from "./setup-core-Ny4-ZMK0.mjs";
3
+ import { t as getTlonRuntime } from "./runtime-Ck3lNvST.mjs";
4
+ import { t as tlonSetupWizard } from "./setup-surface-C4uWCLAo.mjs";
5
5
  import { fetchWithSsrFGuard, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
6
6
  import { bindIngressLifecycleToReplyOptions, createChannelIngressError, createChannelIngressMonitor, createMessageReceiptFromOutboundResults, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
7
7
  import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
@@ -20,13 +20,11 @@ import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
20
20
  import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
21
21
  import { resolveChannelImplicitMentions, resolveStableChannelMessageIngress } from "openclaw/plugin-sdk/channel-ingress-runtime";
22
22
  import { isRecord } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
23
- import { mkdir, writeFile } from "node:fs/promises";
24
- import * as path from "node:path";
25
- import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
26
23
  import { MAX_IMAGE_BYTES, readRemoteMediaBuffer, saveRemoteMedia } from "openclaw/plugin-sdk/media-runtime";
24
+ import { bufferToBlobPart } from "openclaw/plugin-sdk/blob-runtime";
27
25
  import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
28
26
  import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
29
- import { bufferToBlobPart } from "openclaw/plugin-sdk/blob-runtime";
27
+ import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
30
28
  //#region extensions/tlon/src/settings.ts
31
29
  /**
32
30
  * Settings Store integration for hot-reloading Tlon plugin config.
@@ -288,6 +286,7 @@ async function urbitFetch(params) {
288
286
  const guarded = await fetchWithSsrFGuard({
289
287
  url,
290
288
  fetchImpl: params.fetchImpl,
289
+ beforeRequest: params.beforeRequest,
291
290
  init: params.init,
292
291
  timeoutMs: params.timeoutMs,
293
292
  maxRedirects: params.maxRedirects,
@@ -320,6 +319,7 @@ async function authenticate(url, code, options = {}) {
320
319
  ssrfPolicy: options.ssrfPolicy,
321
320
  lookupFn: options.lookupFn,
322
321
  fetchImpl: options.fetchImpl,
322
+ beforeRequest: options.beforeRequest,
323
323
  timeoutMs: options.timeoutMs ?? 15e3,
324
324
  maxRedirects: 3,
325
325
  auditContext: "tlon-urbit-login"
@@ -927,6 +927,7 @@ async function scryUrbitPath(deps, params) {
927
927
  ssrfPolicy: deps.ssrfPolicy,
928
928
  lookupFn: deps.lookupFn,
929
929
  fetchImpl: deps.fetchImpl,
930
+ beforeRequest: deps.beforeRequest,
930
931
  timeoutMs: 3e4,
931
932
  auditContext: params.auditContext
932
933
  });
@@ -2481,66 +2482,39 @@ function extractImageBlocks(content) {
2481
2482
  * Download a media file from URL to local storage.
2482
2483
  * Returns the local path where the file was saved.
2483
2484
  */
2484
- async function downloadMedia(url, mediaDir, maxBytes) {
2485
+ async function downloadMedia(url, maxBytes) {
2485
2486
  try {
2486
2487
  const parsedUrl = new URL(url);
2487
2488
  if (parsedUrl.protocol !== "http:" && parsedUrl.protocol !== "https:") {
2488
2489
  console.warn(`[tlon-media] Rejected non-http(s) URL: ${url}`);
2489
2490
  return null;
2490
2491
  }
2491
- const fetchOptions = {
2492
+ const saved = await saveRemoteMedia({
2492
2493
  url,
2493
2494
  maxBytes: Math.min(maxBytes ?? MAX_IMAGE_BYTES, MAX_IMAGE_BYTES),
2494
2495
  ...TLON_MEDIA_FETCH_TIMEOUTS,
2495
2496
  ssrfPolicy: void 0,
2496
2497
  requestInit: { method: "GET" }
2497
- };
2498
- if (!mediaDir) {
2499
- const saved = await saveRemoteMedia(fetchOptions);
2500
- return {
2501
- localPath: saved.path,
2502
- contentType: saved.contentType ?? "application/octet-stream"
2503
- };
2504
- }
2505
- const fetched = await readRemoteMediaBuffer(fetchOptions);
2506
- await mkdir(mediaDir, { recursive: true });
2507
- const ext = getExtensionFromFileName(fetched.fileName) || getExtensionFromContentType(fetched.contentType ?? "") || getExtensionFromUrl(url) || "bin";
2508
- const localPath = path.join(mediaDir, `${randomUUID()}.${ext}`);
2509
- await writeFile(localPath, fetched.buffer);
2498
+ });
2510
2499
  return {
2511
- localPath,
2512
- contentType: fetched.contentType ?? "application/octet-stream"
2500
+ localPath: saved.path,
2501
+ contentType: saved.contentType ?? "application/octet-stream"
2513
2502
  };
2514
2503
  } catch (error) {
2515
2504
  console.error(`[tlon-media] Error downloading ${url}: ${formatErrorMessage(error)}`);
2516
2505
  return null;
2517
2506
  }
2518
2507
  }
2519
- function getExtensionFromFileName(fileName) {
2520
- if (!fileName) return null;
2521
- return path.extname(fileName).replace(/^\./, "") || null;
2522
- }
2523
- function getExtensionFromContentType(contentType) {
2524
- return extensionForMime(contentType)?.replace(/^\./u, "") ?? null;
2525
- }
2526
- function getExtensionFromUrl(url) {
2527
- try {
2528
- const match = new URL(url).pathname.match(/\.([a-z0-9]+)$/i);
2529
- return match ? normalizeLowercaseStringOrEmpty(match[1]) : null;
2530
- } catch {
2531
- return null;
2532
- }
2533
- }
2534
2508
  /**
2535
2509
  * Download all images from a message and return attachment metadata.
2536
2510
  * Format matches OpenClaw's expected attachment structure.
2537
2511
  */
2538
- async function downloadMessageImages(content, mediaDir, maxBytes) {
2512
+ async function downloadMessageImages(content, maxBytes) {
2539
2513
  const { images, unavailableCount: overCapCount } = extractImageBlocks(content);
2540
2514
  const attachments = [];
2541
2515
  let unavailableCount = overCapCount;
2542
2516
  for (const image of images) {
2543
- const downloaded = await downloadMedia(image.url, mediaDir, maxBytes);
2517
+ const downloaded = await downloadMedia(image.url, maxBytes);
2544
2518
  if (downloaded) attachments.push({
2545
2519
  path: downloaded.localPath,
2546
2520
  contentType: downloaded.contentType
@@ -2834,7 +2808,7 @@ async function monitorTlonProvider(opts = {}) {
2834
2808
  let attachments = [];
2835
2809
  let unavailableMediaCount = 0;
2836
2810
  if (messageContent) try {
2837
- ({attachments, unavailableCount: unavailableMediaCount} = await downloadMessageImages(messageContent, void 0, account.mediaMaxBytes));
2811
+ ({attachments, unavailableCount: unavailableMediaCount} = await downloadMessageImages(messageContent, account.mediaMaxBytes));
2838
2812
  if (attachments.length > 0) runtime.log?.(`[tlon] Downloaded ${attachments.length} image(s) from message`);
2839
2813
  } catch (error) {
2840
2814
  runtime.log?.(`[tlon] Failed to download images: ${formatErrorMessage(error)}`);
@@ -3700,7 +3674,6 @@ const MEMEX_UPLOAD_RESPONSE_MAX_BYTES = 65536;
3700
3674
  const TLON_MEMEX_UPLOAD_URL_TIMEOUT_MS = 3e4;
3701
3675
  /** Total deadline for Memex and custom S3 PUTs, including DNS and the full upload. */
3702
3676
  const TLON_UPLOAD_TIMEOUT_MS = 3e5;
3703
- let currentClientConfig = null;
3704
3677
  async function releaseUploadResponse(guarded) {
3705
3678
  if (!guarded) return;
3706
3679
  try {
@@ -3709,16 +3682,6 @@ async function releaseUploadResponse(guarded) {
3709
3682
  await guarded.release();
3710
3683
  }
3711
3684
  }
3712
- function configureClient(params) {
3713
- currentClientConfig = {
3714
- ...params,
3715
- shipName: params.shipName.replace(/^~/, "")
3716
- };
3717
- }
3718
- function requireClientConfig() {
3719
- if (!currentClientConfig) throw new Error("Tlon client not configured");
3720
- return currentClientConfig;
3721
- }
3722
3685
  function getExtensionFromMimeType(mimeType) {
3723
3686
  return extensionForMime(mimeType) || ".jpg";
3724
3687
  }
@@ -3779,13 +3742,17 @@ function sanitizeFileName(fileName) {
3779
3742
  return fileName.split(/[/\\]/).pop() || fileName;
3780
3743
  }
3781
3744
  async function getAuthCookie(config) {
3782
- return await authenticate(config.shipUrl, await config.getCode(), { ssrfPolicy: ssrfPolicyFromDangerouslyAllowPrivateNetwork(config.dangerouslyAllowPrivateNetwork) });
3745
+ return await authenticate(config.shipUrl, await config.getCode(), {
3746
+ ssrfPolicy: ssrfPolicyFromDangerouslyAllowPrivateNetwork(config.dangerouslyAllowPrivateNetwork),
3747
+ beforeRequest: config.assertDirectAdapterHandoff
3748
+ });
3783
3749
  }
3784
3750
  async function scryJson(config, cookie, path) {
3785
3751
  return await scryUrbitPath({
3786
3752
  baseUrl: config.shipUrl,
3787
3753
  cookie,
3788
- ssrfPolicy: ssrfPolicyFromDangerouslyAllowPrivateNetwork(config.dangerouslyAllowPrivateNetwork)
3754
+ ssrfPolicy: ssrfPolicyFromDangerouslyAllowPrivateNetwork(config.dangerouslyAllowPrivateNetwork),
3755
+ beforeRequest: config.assertDirectAdapterHandoff
3789
3756
  }, {
3790
3757
  path,
3791
3758
  auditContext: "tlon-storage-scry"
@@ -3825,7 +3792,8 @@ async function getMemexUploadUrl(params) {
3825
3792
  auditContext: "tlon-memex-upload-url",
3826
3793
  capture: false,
3827
3794
  maxRedirects: 0,
3828
- timeoutMs: TLON_MEMEX_UPLOAD_URL_TIMEOUT_MS
3795
+ timeoutMs: TLON_MEMEX_UPLOAD_URL_TIMEOUT_MS,
3796
+ beforeRequest: params.config.assertDirectAdapterHandoff
3829
3797
  });
3830
3798
  if (!guarded.response.ok) throw new Error(`Memex upload request failed: ${guarded.response.status}`);
3831
3799
  const data = await readProviderJsonResponse(guarded.response, "Memex upload", { maxBytes: MEMEX_UPLOAD_RESPONSE_MAX_BYTES });
@@ -3838,8 +3806,11 @@ async function getMemexUploadUrl(params) {
3838
3806
  await releaseUploadResponse(guarded);
3839
3807
  }
3840
3808
  }
3841
- async function uploadFile(params) {
3842
- const config = requireClientConfig();
3809
+ async function uploadFile(params, clientConfig) {
3810
+ const config = {
3811
+ ...clientConfig,
3812
+ shipName: clientConfig.shipName.replace(/^~/, "")
3813
+ };
3843
3814
  const cookie = await getAuthCookie(config);
3844
3815
  const privateNetworkPolicy = ssrfPolicyFromDangerouslyAllowPrivateNetwork(config.dangerouslyAllowPrivateNetwork);
3845
3816
  const [storageConfig, credentials] = await Promise.all([getStorageConfiguration(config, cookie), getStorageCredentials(config, cookie)]);
@@ -3871,7 +3842,8 @@ async function uploadFile(params) {
3871
3842
  auditContext: "tlon-memex-upload",
3872
3843
  capture: false,
3873
3844
  maxRedirects: 0,
3874
- timeoutMs: TLON_UPLOAD_TIMEOUT_MS
3845
+ timeoutMs: TLON_UPLOAD_TIMEOUT_MS,
3846
+ beforeRequest: config.assertDirectAdapterHandoff
3875
3847
  });
3876
3848
  assertTrustedMemexUploadUrl(guarded.finalUrl, "Memex final upload URL");
3877
3849
  if (!guarded.response.ok) throw new Error(`Upload failed: ${guarded.response.status}`);
@@ -3916,7 +3888,8 @@ async function uploadFile(params) {
3916
3888
  capture: false,
3917
3889
  maxRedirects: 0,
3918
3890
  policy: privateNetworkPolicy,
3919
- timeoutMs: TLON_UPLOAD_TIMEOUT_MS
3891
+ timeoutMs: TLON_UPLOAD_TIMEOUT_MS,
3892
+ beforeRequest: config.assertDirectAdapterHandoff
3920
3893
  });
3921
3894
  if (!guarded.response.ok) throw new Error(`Upload failed: ${guarded.response.status}`);
3922
3895
  } finally {
@@ -3932,11 +3905,19 @@ async function uploadFile(params) {
3932
3905
  /**
3933
3906
  * Fetch an image from a URL and upload it to Tlon storage.
3934
3907
  * Falls back to the original URL on error, but only after a bounded download when a cap is set.
3935
- *
3936
- * Note: configureClient must be called before using this function.
3937
3908
  */
3938
- async function uploadImageFromUrl(imageUrl, maxBytes) {
3909
+ async function uploadImageFromUrl(imageUrl, clientConfig, maxBytes) {
3939
3910
  let sourceSizeVerified = false;
3911
+ const assertCurrent = clientConfig.assertDirectAdapterHandoff;
3912
+ let authorityRejection;
3913
+ const beforeRequest = assertCurrent ? () => {
3914
+ try {
3915
+ return assertCurrent();
3916
+ } catch (error) {
3917
+ authorityRejection ??= { error };
3918
+ throw error;
3919
+ }
3920
+ } : void 0;
3940
3921
  try {
3941
3922
  const url = new URL(imageUrl);
3942
3923
  if (url.protocol !== "http:" && url.protocol !== "https:") throw new Error("Tlon image URL must use HTTP or HTTPS");
@@ -3945,6 +3926,7 @@ async function uploadImageFromUrl(imageUrl, maxBytes) {
3945
3926
  maxBytes: Math.min(maxBytes ?? MAX_IMAGE_BYTES, MAX_IMAGE_BYTES),
3946
3927
  ...TLON_MEDIA_FETCH_TIMEOUTS,
3947
3928
  ssrfPolicy: void 0,
3929
+ beforeRequest,
3948
3930
  requestInit: { method: "GET" }
3949
3931
  });
3950
3932
  sourceSizeVerified = true;
@@ -3953,8 +3935,13 @@ async function uploadImageFromUrl(imageUrl, maxBytes) {
3953
3935
  blob: new Blob([bufferToBlobPart(fetched.buffer)], { type: contentType }),
3954
3936
  fileName: new URL(imageUrl).pathname.split("/").pop() || `upload-${Date.now()}.png`,
3955
3937
  contentType
3938
+ }, {
3939
+ ...clientConfig,
3940
+ assertDirectAdapterHandoff: beforeRequest
3956
3941
  })).url;
3957
3942
  } catch (err) {
3943
+ if (authorityRejection) throw authorityRejection.error;
3944
+ assertCurrent?.();
3958
3945
  if (maxBytes !== void 0 && !sourceSizeVerified) throw err;
3959
3946
  console.warn(`[tlon] Failed to upload image, using original URL: ${String(err)}`);
3960
3947
  return imageUrl;
@@ -3964,7 +3951,10 @@ async function uploadImageFromUrl(imageUrl, maxBytes) {
3964
3951
  //#region extensions/tlon/src/channel.runtime.ts
3965
3952
  async function createHttpPokeApi(params) {
3966
3953
  const ssrfPolicy = ssrfPolicyFromDangerouslyAllowPrivateNetwork(params.dangerouslyAllowPrivateNetwork);
3967
- const cookie = await authenticate(params.url, params.code, { ssrfPolicy });
3954
+ const cookie = await authenticate(params.url, params.code, {
3955
+ ssrfPolicy,
3956
+ beforeRequest: params.assertDirectAdapterHandoff
3957
+ });
3968
3958
  const channelPath = `/~/channel/${`${Math.floor(Date.now() / 1e3)}-${crypto.randomUUID()}`}`;
3969
3959
  const shipName = params.ship.replace(/^~/, "");
3970
3960
  return { poke: async (pokeParams) => {
@@ -3977,6 +3967,8 @@ async function createHttpPokeApi(params) {
3977
3967
  mark: pokeParams.mark,
3978
3968
  json: pokeParams.json
3979
3969
  };
3970
+ params.assertDirectAdapterHandoff?.();
3971
+ await params.onPlatformSendDispatch?.();
3980
3972
  const { response, release } = await urbitFetch({
3981
3973
  baseUrl: params.url,
3982
3974
  path: channelPath,
@@ -3989,7 +3981,8 @@ async function createHttpPokeApi(params) {
3989
3981
  body: JSON.stringify([pokeData])
3990
3982
  },
3991
3983
  ssrfPolicy,
3992
- auditContext: "tlon-poke"
3984
+ auditContext: "tlon-poke",
3985
+ beforeRequest: params.assertDirectAdapterHandoff
3993
3986
  });
3994
3987
  try {
3995
3988
  if (!response.ok && response.status !== 204) {
@@ -4023,7 +4016,7 @@ function resolveReplyId(replyToId, threadId) {
4023
4016
  return replyToId ?? threadId ? String(replyToId ?? threadId) : void 0;
4024
4017
  }
4025
4018
  async function sendTlonOutbound(params, kind) {
4026
- const { cfg, to, text, accountId, replyToId, threadId } = params;
4019
+ const { cfg, to, text, accountId, replyToId, threadId, assertDirectAdapterHandoff } = params;
4027
4020
  const { account, parsed } = resolveOutboundContext({
4028
4021
  cfg,
4029
4022
  accountId,
@@ -4032,20 +4025,22 @@ async function sendTlonOutbound(params, kind) {
4032
4025
  let uploadedUrl;
4033
4026
  if (kind === "media") {
4034
4027
  const { mediaUrl } = params;
4035
- configureClient({
4028
+ uploadedUrl = mediaUrl ? await uploadImageFromUrl(mediaUrl, {
4036
4029
  shipUrl: account.url,
4037
- shipName: account.ship.replace(/^~/, ""),
4030
+ shipName: account.ship,
4038
4031
  verbose: false,
4039
4032
  getCode: async () => account.code,
4040
- dangerouslyAllowPrivateNetwork: account.dangerouslyAllowPrivateNetwork ?? void 0
4041
- });
4042
- uploadedUrl = mediaUrl ? await uploadImageFromUrl(mediaUrl, account.mediaMaxBytes) : void 0;
4033
+ dangerouslyAllowPrivateNetwork: account.dangerouslyAllowPrivateNetwork ?? void 0,
4034
+ assertDirectAdapterHandoff
4035
+ }, account.mediaMaxBytes) : void 0;
4043
4036
  }
4044
4037
  const api = await createHttpPokeApi({
4045
4038
  url: account.url,
4046
4039
  ship: account.ship,
4047
4040
  code: account.code,
4048
- dangerouslyAllowPrivateNetwork: account.dangerouslyAllowPrivateNetwork ?? void 0
4041
+ dangerouslyAllowPrivateNetwork: account.dangerouslyAllowPrivateNetwork ?? void 0,
4042
+ assertDirectAdapterHandoff,
4043
+ onPlatformSendDispatch: params.onPlatformSendDispatch
4049
4044
  });
4050
4045
  const fromShip = normalizeShip(account.ship);
4051
4046
  const story = kind === "media" ? buildMediaStory(text, uploadedUrl) : markdownToStory(text);
@@ -1,4 +1,4 @@
1
- import { d as resolveTlonAccount, i as resolveTlonSetupStatusLines, l as validateUrbitBaseUrl, n as createTlonSetupWizardBase, p as normalizeShip, r as resolveTlonSetupConfigured, s as isBlockedUrbitHostname, t as applyTlonSetupConfig } from "./setup-core-Ny4-ZMK0.js";
1
+ import { d as resolveTlonAccount, i as resolveTlonSetupStatusLines, l as validateUrbitBaseUrl, n as createTlonSetupWizardBase, p as normalizeShip, r as resolveTlonSetupConfigured, s as isBlockedUrbitHostname, t as applyTlonSetupConfig } from "./setup-core-Ny4-ZMK0.mjs";
2
2
  import { normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { createSetupTranslator } from "openclaw/plugin-sdk/setup-runtime";
4
4
  //#region extensions/tlon/src/setup-surface.ts
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./runtime-api-BXVe40nS.js";
2
- import { t as tlonPlugin } from "./channel-CbhSVuV_.js";
3
- import { n as setTlonRuntime } from "./runtime-Ck3lNvST.js";
1
+ import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./.setup/runtime-api-BXVe40nS.mjs";
2
+ import { t as tlonPlugin } from "./.setup/channel-Be-mBRh3.mjs";
3
+ import { n as setTlonRuntime } from "./.setup/runtime-Ck3lNvST.mjs";
4
4
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -1,2 +1,2 @@
1
- import { t as tlonPlugin } from "./channel-CbhSVuV_.js";
1
+ import { t as tlonPlugin } from "./.setup/channel-Be-mBRh3.mjs";
2
2
  export { tlonPlugin };
@@ -1,2 +1,2 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CZ8OWBXt.js";
1
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./.setup/doctor-contract-CZ8OWBXt.mjs";
2
2
  export { legacyConfigRules, normalizeCompatibilityConfig };
@@ -1,2 +1,2 @@
1
- import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./runtime-api-BXVe40nS.js";
1
+ import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./.setup/runtime-api-BXVe40nS.mjs";
2
2
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, ssrfPolicyFromDangerouslyAllowPrivateNetwork };
package/dist/setup-api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as tlonSetupAdapter } from "./setup-core-Ny4-ZMK0.js";
2
- import { t as tlonSetupWizard } from "./setup-surface-Bf6uwW8f.js";
1
+ import { a as tlonSetupAdapter } from "./.setup/setup-core-Ny4-ZMK0.mjs";
2
+ import { t as tlonSetupWizard } from "./.setup/setup-surface-C4uWCLAo.mjs";
3
3
  export { tlonSetupAdapter, tlonSetupWizard };
@@ -1,9 +1,10 @@
1
1
  import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
2
+ import { fileURLToPath } from "node:url";
2
3
  //#region extensions/tlon/setup-entry.ts
3
4
  var setup_entry_default = defineBundledChannelSetupEntry({
4
5
  importMetaUrl: import.meta.url,
5
6
  plugin: {
6
- specifier: "./api.js",
7
+ specifier: fileURLToPath(new URL(".setup/api-EriBxR0s.mjs", import.meta.url).href),
7
8
  exportName: "tlonPlugin"
8
9
  }
9
10
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tlon",
3
- "version": "2026.9.4",
3
+ "version": "2026.9.5",
4
4
  "description": "OpenClaw Tlon/Urbit channel plugin for chat workflows.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,18 +8,18 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@aws-sdk/client-s3": "3.1121.0",
12
- "@aws-sdk/s3-request-presigner": "3.1121.0",
11
+ "@aws-sdk/client-s3": "3.1128.0",
12
+ "@aws-sdk/s3-request-presigner": "3.1128.0",
13
13
  "@tloncorp/tlon-skill": "0.5.0",
14
14
  "@urbit/aura": "3.0.0",
15
- "zod": "4.4.3"
15
+ "zod": "4.5.4"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@openclaw/plugin-sdk": "workspace:*",
19
19
  "openclaw": "workspace:*"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.9.4"
22
+ "openclaw": ">=2026.9.5"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -115,15 +115,16 @@
115
115
  }
116
116
  },
117
117
  "install": {
118
+ "clawhubSpec": "clawhub:@openclaw/tlon",
118
119
  "npmSpec": "@openclaw/tlon",
119
120
  "defaultChoice": "npm",
120
121
  "minHostVersion": ">=2026.4.10"
121
122
  },
122
123
  "compat": {
123
- "pluginApi": ">=2026.9.4"
124
+ "pluginApi": ">=2026.9.5"
124
125
  },
125
126
  "build": {
126
- "openclawVersion": "2026.9.4"
127
+ "openclawVersion": "2026.9.5"
127
128
  },
128
129
  "release": {
129
130
  "bundleRuntimeDependencies": false,
@@ -138,6 +139,8 @@
138
139
  "files": [
139
140
  "dist/**",
140
141
  "openclaw.plugin.json",
141
- "README.md"
142
+ "README.md",
143
+ "assets/icon.png",
144
+ "assets/activity.svg"
142
145
  ]
143
146
  }