@openclaw/tlon 2026.5.14-beta.2 → 2026.5.16-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-Dwt2AVOl.js";
2
+ import { t as tlonPlugin } from "./channel-C6eXIdMW.js";
3
3
  import { n as setTlonRuntime } from "./runtime-5FiW9E50.js";
4
4
  export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -1,5 +1,5 @@
1
1
  import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-W99wMbar.js";
2
- import { a as tlonSetupAdapter, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, l as listTlonAccountIds, m as parseTlonTarget, n as createTlonSetupWizardBase, u as resolveTlonAccount } from "./setup-core-Iz3tcug-.js";
2
+ import { a as tlonSetupAdapter, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, l as listTlonAccountIds, m as parseTlonTarget, n as createTlonSetupWizardBase, u as resolveTlonAccount } from "./setup-core-BZfmWHIK.js";
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";
@@ -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-DgMKIRME.js"));
88
+ const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-dWX3jYIm.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-Dwt2AVOl.js";
1
+ import { t as tlonPlugin } from "./channel-C6eXIdMW.js";
2
2
  export { tlonPlugin };
@@ -1,7 +1,7 @@
1
1
  import { n as createDedupeCache, s as createLoggerBackedRuntime } from "./runtime-api-DTk5tYUa.js";
2
- import { c as validateUrbitBaseUrl, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, m as parseTlonTarget, p as parseChannelNest, s as normalizeUrbitHostname, u as resolveTlonAccount } from "./setup-core-Iz3tcug-.js";
2
+ import { c as validateUrbitBaseUrl, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, m as parseTlonTarget, p as parseChannelNest, s as normalizeUrbitHostname, u as resolveTlonAccount } from "./setup-core-BZfmWHIK.js";
3
3
  import { t as getTlonRuntime } from "./runtime-5FiW9E50.js";
4
- import { t as tlonSetupWizard } from "./setup-surface-D5V1YP-e.js";
4
+ import { t as tlonSetupWizard } from "./setup-surface-DTMxbcrG.js";
5
5
  import { fetchWithSsrFGuard, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
6
6
  import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-message";
7
7
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
package/dist/setup-api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as tlonSetupAdapter } from "./setup-core-Iz3tcug-.js";
2
- import { t as tlonSetupWizard } from "./setup-surface-D5V1YP-e.js";
1
+ import { a as tlonSetupAdapter } from "./setup-core-BZfmWHIK.js";
2
+ import { t as tlonSetupWizard } from "./setup-surface-DTMxbcrG.js";
3
3
  export { tlonSetupAdapter, tlonSetupWizard };
@@ -1,5 +1,5 @@
1
1
  import { hasLegacyFlatAllowPrivateNetworkAlias, isBlockedHostnameOrIp, isPrivateNetworkOptInEnabled } from "openclaw/plugin-sdk/ssrf-runtime";
2
- import { DEFAULT_ACCOUNT_ID, createSetupInputPresenceValidator, formatDocsLink, normalizeAccountId, patchScopedAccountConfig, prepareScopedSetupConfig } from "openclaw/plugin-sdk/setup";
2
+ import { DEFAULT_ACCOUNT_ID, createSetupInputPresenceValidator, createSetupTranslator, formatDocsLink, normalizeAccountId, patchScopedAccountConfig, prepareScopedSetupConfig } from "openclaw/plugin-sdk/setup";
3
3
  import { normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, listCombinedAccountIds, normalizeAccountId as normalizeAccountId$1, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
5
5
  //#region extensions/tlon/src/targets.ts
@@ -230,6 +230,7 @@ function isBlockedUrbitHostname(hostname) {
230
230
  }
231
231
  //#endregion
232
232
  //#region extensions/tlon/src/setup-core.ts
233
+ const t = createSetupTranslator();
233
234
  function tlonChannelId() {
234
235
  return "tlon";
235
236
  }
@@ -240,10 +241,10 @@ function createTlonSetupWizardBase(params) {
240
241
  return {
241
242
  channel: tlonChannelId(),
242
243
  status: {
243
- configuredLabel: "configured",
244
- unconfiguredLabel: "needs setup",
245
- configuredHint: "configured",
246
- unconfiguredHint: "urbit messenger",
244
+ configuredLabel: t("wizard.channels.statusConfigured"),
245
+ unconfiguredLabel: t("wizard.channels.statusNeedsSetup"),
246
+ configuredHint: t("wizard.channels.statusConfigured"),
247
+ unconfiguredHint: t("wizard.channels.statusUrbitMessenger"),
247
248
  configuredScore: 1,
248
249
  unconfiguredScore: 4,
249
250
  resolveConfigured: ({ cfg, accountId }) => params.resolveConfigured({
@@ -257,12 +258,12 @@ function createTlonSetupWizardBase(params) {
257
258
  }) ?? []
258
259
  },
259
260
  introNote: {
260
- title: "Tlon setup",
261
+ title: t("wizard.tlon.setupTitle"),
261
262
  lines: [
262
- "You need your Urbit ship URL and login code.",
263
- "Example URL: https://your-ship-host",
264
- "Example ship: ~sampel-palnet",
265
- "If your ship URL is on a private network (LAN/localhost), you must explicitly allow it during setup.",
263
+ t("wizard.tlon.helpNeedsUrlCode"),
264
+ t("wizard.tlon.helpExampleUrl"),
265
+ t("wizard.tlon.helpExampleShip"),
266
+ t("wizard.tlon.helpPrivateNetwork"),
266
267
  `Docs: ${formatDocsLink("/channels/tlon", "channels/tlon")}`
267
268
  ]
268
269
  },
@@ -270,7 +271,7 @@ function createTlonSetupWizardBase(params) {
270
271
  textInputs: [
271
272
  {
272
273
  inputKey: "ship",
273
- message: "Ship name",
274
+ message: t("wizard.tlon.shipPrompt"),
274
275
  placeholder: "~sampel-palnet",
275
276
  currentValue: ({ cfg, accountId }) => resolveTlonAccount(cfg, accountId).ship ?? void 0,
276
277
  validate: ({ value }) => normalizeStringifiedOptionalString(value) ? void 0 : "Required",
@@ -283,7 +284,7 @@ function createTlonSetupWizardBase(params) {
283
284
  },
284
285
  {
285
286
  inputKey: "url",
286
- message: "Ship URL",
287
+ message: t("wizard.tlon.shipUrlPrompt"),
287
288
  placeholder: "https://your-ship-host",
288
289
  currentValue: ({ cfg, accountId }) => resolveTlonAccount(cfg, accountId).url ?? void 0,
289
290
  validate: ({ value }) => {
@@ -299,7 +300,7 @@ function createTlonSetupWizardBase(params) {
299
300
  },
300
301
  {
301
302
  inputKey: "code",
302
- message: "Login code",
303
+ message: t("wizard.tlon.loginCodePrompt"),
303
304
  placeholder: "lidlut-tabwed-pillex-ridrup",
304
305
  currentValue: ({ cfg, accountId }) => resolveTlonAccount(cfg, accountId).code ?? void 0,
305
306
  validate: ({ value }) => normalizeStringifiedOptionalString(value) ? void 0 : "Required",
@@ -1,5 +1,7 @@
1
- import { c as validateUrbitBaseUrl, f as normalizeShip, i as resolveTlonSetupStatusLines, n as createTlonSetupWizardBase, o as isBlockedUrbitHostname, r as resolveTlonSetupConfigured, t as applyTlonSetupConfig, u as resolveTlonAccount } from "./setup-core-Iz3tcug-.js";
1
+ import { c as validateUrbitBaseUrl, f as normalizeShip, i as resolveTlonSetupStatusLines, n as createTlonSetupWizardBase, o as isBlockedUrbitHostname, r as resolveTlonSetupConfigured, t as applyTlonSetupConfig, u as resolveTlonAccount } from "./setup-core-BZfmWHIK.js";
2
+ import { createSetupTranslator } from "openclaw/plugin-sdk/setup-runtime";
2
3
  //#region extensions/tlon/src/setup-surface.ts
4
+ const t = createSetupTranslator();
3
5
  function parseList(value) {
4
6
  return value.split(/[\n,;]+/g).map((entry) => entry.trim()).filter(Boolean);
5
7
  }
@@ -14,7 +16,7 @@ const tlonSetupWizard = createTlonSetupWizardBase({
14
16
  let dangerouslyAllowPrivateNetwork = resolved.dangerouslyAllowPrivateNetwork ?? false;
15
17
  if (isBlockedUrbitHostname(validatedUrl.hostname)) {
16
18
  dangerouslyAllowPrivateNetwork = await prompter.confirm({
17
- message: "Ship URL looks like a private/internal host. Allow private network access? (SSRF risk)",
19
+ message: t("wizard.tlon.privateNetworkPrompt"),
18
20
  initialValue: dangerouslyAllowPrivateNetwork
19
21
  });
20
22
  if (!dangerouslyAllowPrivateNetwork) throw new Error("Refusing private/internal ship URL without explicit network opt-in");
@@ -26,11 +28,11 @@ const tlonSetupWizard = createTlonSetupWizardBase({
26
28
  });
27
29
  const currentGroups = resolved.groupChannels;
28
30
  if (await prompter.confirm({
29
- message: "Add group channels manually? (optional)",
31
+ message: t("wizard.tlon.addGroupsPrompt"),
30
32
  initialValue: currentGroups.length > 0
31
33
  })) {
32
34
  const entry = await prompter.text({
33
- message: "Group channels (comma-separated)",
35
+ message: t("wizard.tlon.groupChannelsPrompt"),
34
36
  placeholder: "chat/~host-ship/general, chat/~host-ship/support",
35
37
  initialValue: currentGroups.join(", ") || void 0
36
38
  });
@@ -42,11 +44,11 @@ const tlonSetupWizard = createTlonSetupWizardBase({
42
44
  }
43
45
  const currentAllowlist = resolved.dmAllowlist;
44
46
  if (await prompter.confirm({
45
- message: "Restrict DMs with an allowlist?",
47
+ message: t("wizard.tlon.restrictDmsPrompt"),
46
48
  initialValue: currentAllowlist.length > 0
47
49
  })) {
48
50
  const entry = await prompter.text({
49
- message: "DM allowlist (comma-separated ship names)",
51
+ message: t("wizard.tlon.dmAllowlistPrompt"),
50
52
  placeholder: "~zod, ~nec",
51
53
  initialValue: currentAllowlist.join(", ") || void 0
52
54
  });
@@ -57,7 +59,7 @@ const tlonSetupWizard = createTlonSetupWizardBase({
57
59
  });
58
60
  }
59
61
  const autoDiscoverChannels = await prompter.confirm({
60
- message: "Enable auto-discovery of group channels?",
62
+ message: t("wizard.tlon.autoDiscoveryPrompt"),
61
63
  initialValue: resolved.autoDiscoverChannels ?? true
62
64
  });
63
65
  next = applyTlonSetupConfig({
package/dist/test-api.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as tlonPlugin } from "./channel-Dwt2AVOl.js";
1
+ import { t as tlonPlugin } from "./channel-C6eXIdMW.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.2",
3
+ "version": "2026.5.16-beta.2",
4
4
  "description": "OpenClaw Tlon/Urbit channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "openclaw": "workspace:*"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.5.14-beta.2"
22
+ "openclaw": ">=2026.5.16-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.2"
76
+ "pluginApi": ">=2026.5.16-beta.2"
77
77
  },
78
78
  "build": {
79
- "openclawVersion": "2026.5.14-beta.2"
79
+ "openclawVersion": "2026.5.16-beta.2"
80
80
  },
81
81
  "release": {
82
82
  "publishToClawHub": true,